Class TokenGetNftInfosQuery.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TokenGetNftInfosQuery,TokenGetNftInfosQuery.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TokenGetNftInfosQuery,TokenGetNftInfosQuery.Builder>
com.hedera.hashgraph.sdk.proto.TokenGetNftInfosQuery.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, TokenGetNftInfosQueryOrBuilder, Cloneable
Enclosing class:
TokenGetNftInfosQuery

public static final class TokenGetNftInfosQuery.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<TokenGetNftInfosQuery,TokenGetNftInfosQuery.Builder> implements TokenGetNftInfosQueryOrBuilder
 *
 Deleted and unsupported.

 This query is not implemented and any query of this type submitted
 SHALL return a `NOT_SUPPORTED` response code.
 
Protobuf type proto.TokenGetNftInfosQuery
  • Method Details

    • hasHeader

      public boolean hasHeader()
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       
      .proto.QueryHeader header = 1;
      Specified by:
      hasHeader in interface TokenGetNftInfosQueryOrBuilder
      Returns:
      Whether the header field is set.
    • getHeader

      public QueryHeader getHeader()
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       
      .proto.QueryHeader header = 1;
      Specified by:
      getHeader in interface TokenGetNftInfosQueryOrBuilder
      Returns:
      The header.
    • setHeader

      public TokenGetNftInfosQuery.Builder setHeader(QueryHeader value)
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       
      .proto.QueryHeader header = 1;
    • setHeader

      public TokenGetNftInfosQuery.Builder setHeader(QueryHeader.Builder builderForValue)
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       
      .proto.QueryHeader header = 1;
    • mergeHeader

      public TokenGetNftInfosQuery.Builder mergeHeader(QueryHeader value)
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       
      .proto.QueryHeader header = 1;
    • clearHeader

      public TokenGetNftInfosQuery.Builder clearHeader()
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       
      .proto.QueryHeader header = 1;
    • hasTokenID

      public boolean hasTokenID()
       *
       A token identifier.
       <p>
       This SHALL identify the token to query.<br/>
       The identified token MUST exist, MUST NOT be deleted, and MUST be
       a non-fungible/unique type.
       
      .proto.TokenID tokenID = 2;
      Specified by:
      hasTokenID in interface TokenGetNftInfosQueryOrBuilder
      Returns:
      Whether the tokenID field is set.
    • getTokenID

      public TokenID getTokenID()
       *
       A token identifier.
       <p>
       This SHALL identify the token to query.<br/>
       The identified token MUST exist, MUST NOT be deleted, and MUST be
       a non-fungible/unique type.
       
      .proto.TokenID tokenID = 2;
      Specified by:
      getTokenID in interface TokenGetNftInfosQueryOrBuilder
      Returns:
      The tokenID.
    • setTokenID

      public TokenGetNftInfosQuery.Builder setTokenID(TokenID value)
       *
       A token identifier.
       <p>
       This SHALL identify the token to query.<br/>
       The identified token MUST exist, MUST NOT be deleted, and MUST be
       a non-fungible/unique type.
       
      .proto.TokenID tokenID = 2;
    • setTokenID

      public TokenGetNftInfosQuery.Builder setTokenID(TokenID.Builder builderForValue)
       *
       A token identifier.
       <p>
       This SHALL identify the token to query.<br/>
       The identified token MUST exist, MUST NOT be deleted, and MUST be
       a non-fungible/unique type.
       
      .proto.TokenID tokenID = 2;
    • mergeTokenID

      public TokenGetNftInfosQuery.Builder mergeTokenID(TokenID value)
       *
       A token identifier.
       <p>
       This SHALL identify the token to query.<br/>
       The identified token MUST exist, MUST NOT be deleted, and MUST be
       a non-fungible/unique type.
       
      .proto.TokenID tokenID = 2;
    • clearTokenID

      public TokenGetNftInfosQuery.Builder clearTokenID()
       *
       A token identifier.
       <p>
       This SHALL identify the token to query.<br/>
       The identified token MUST exist, MUST NOT be deleted, and MUST be
       a non-fungible/unique type.
       
      .proto.TokenID tokenID = 2;
    • getStart

      public long getStart()
       *
       Specifies the start index (inclusive) of the range of NFTs to query for.
       Value must be in the range [0; mintedNFTs-1]
       
      int64 start = 3;
      Specified by:
      getStart in interface TokenGetNftInfosQueryOrBuilder
      Returns:
      The start.
    • setStart

      public TokenGetNftInfosQuery.Builder setStart(long value)
       *
       Specifies the start index (inclusive) of the range of NFTs to query for.
       Value must be in the range [0; mintedNFTs-1]
       
      int64 start = 3;
      Parameters:
      value - The start to set.
      Returns:
      This builder for chaining.
    • clearStart

      public TokenGetNftInfosQuery.Builder clearStart()
       *
       Specifies the start index (inclusive) of the range of NFTs to query for.
       Value must be in the range [0; mintedNFTs-1]
       
      int64 start = 3;
      Returns:
      This builder for chaining.
    • getEnd

      public long getEnd()
       *
       Specifies the end index (exclusive) of the range of NFTs to query for.
       Value must be in the range (start; mintedNFTs]
       
      int64 end = 4;
      Specified by:
      getEnd in interface TokenGetNftInfosQueryOrBuilder
      Returns:
      The end.
    • setEnd

      public TokenGetNftInfosQuery.Builder setEnd(long value)
       *
       Specifies the end index (exclusive) of the range of NFTs to query for.
       Value must be in the range (start; mintedNFTs]
       
      int64 end = 4;
      Parameters:
      value - The end to set.
      Returns:
      This builder for chaining.
    • clearEnd

      public TokenGetNftInfosQuery.Builder clearEnd()
       *
       Specifies the end index (exclusive) of the range of NFTs to query for.
       Value must be in the range (start; mintedNFTs]
       
      int64 end = 4;
      Returns:
      This builder for chaining.