Interface TokenUpdateNftsTransactionBodyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
TokenUpdateNftsTransactionBody, TokenUpdateNftsTransactionBody.Builder

@Generated public interface TokenUpdateNftsTransactionBodyOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.BytesValue
    * A new value for the metadata.
    long
    getSerialNumbers(int index)
    * A list of serial numbers to be updated.
    int
    * A list of serial numbers to be updated.
    * A list of serial numbers to be updated.
    * A token identifier.<br/> This is the token type (i.e.
    boolean
    * A new value for the metadata.
    boolean
    * A token identifier.<br/> This is the token type (i.e.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasToken

      boolean hasToken()
       *
       A token identifier.<br/>
       This is the token type (i.e. collection) for which to update NFTs.
       <p>
       This field is REQUIRED.<br/>
       The identified token MUST exist, MUST NOT be paused, MUST have the type
       non-fungible/unique, and MUST have a valid `metadata_key`.
       
      .proto.TokenID token = 1;
      Returns:
      Whether the token field is set.
    • getToken

      TokenID getToken()
       *
       A token identifier.<br/>
       This is the token type (i.e. collection) for which to update NFTs.
       <p>
       This field is REQUIRED.<br/>
       The identified token MUST exist, MUST NOT be paused, MUST have the type
       non-fungible/unique, and MUST have a valid `metadata_key`.
       
      .proto.TokenID token = 1;
      Returns:
      The token.
    • getSerialNumbersList

      List<Long> getSerialNumbersList()
       *
       A list of serial numbers to be updated.
       <p>
       This field is REQUIRED.<br/>
       This list MUST have at least one(1) entry.<br/>
       This list MUST NOT have more than ten(10) entries.
       
      repeated int64 serial_numbers = 2;
      Returns:
      A list containing the serialNumbers.
    • getSerialNumbersCount

      int getSerialNumbersCount()
       *
       A list of serial numbers to be updated.
       <p>
       This field is REQUIRED.<br/>
       This list MUST have at least one(1) entry.<br/>
       This list MUST NOT have more than ten(10) entries.
       
      repeated int64 serial_numbers = 2;
      Returns:
      The count of serialNumbers.
    • getSerialNumbers

      long getSerialNumbers(int index)
       *
       A list of serial numbers to be updated.
       <p>
       This field is REQUIRED.<br/>
       This list MUST have at least one(1) entry.<br/>
       This list MUST NOT have more than ten(10) entries.
       
      repeated int64 serial_numbers = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The serialNumbers at the given index.
    • hasMetadata

      boolean hasMetadata()
       *
       A new value for the metadata.
       <p>
       If this field is not set, the metadata SHALL NOT change.<br/>
       This value, if set, MUST NOT exceed 100 bytes.
       
      .google.protobuf.BytesValue metadata = 3;
      Returns:
      Whether the metadata field is set.
    • getMetadata

      com.google.protobuf.BytesValue getMetadata()
       *
       A new value for the metadata.
       <p>
       If this field is not set, the metadata SHALL NOT change.<br/>
       This value, if set, MUST NOT exceed 100 bytes.
       
      .google.protobuf.BytesValue metadata = 3;
      Returns:
      The metadata.