Class TokenGetNftInfoQuery.Builder

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

public static final class TokenGetNftInfoQuery.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<TokenGetNftInfoQuery,TokenGetNftInfoQuery.Builder> implements TokenGetNftInfoQueryOrBuilder
 *
 Applicable only to tokens of type NON_FUNGIBLE_UNIQUE. Gets info on a NFT for a given TokenID (of
 type NON_FUNGIBLE_UNIQUE) and serial number
 
Protobuf type proto.TokenGetNftInfoQuery
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * 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).
    * A non-fungible/unique token (NFT) identifier.
    * 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).
    * A non-fungible/unique token (NFT) identifier.
    boolean
    * 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).
    boolean
    * A non-fungible/unique token (NFT) identifier.
    * 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).
    * A non-fungible/unique token (NFT) identifier.
    * 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).
    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).
    setNftID(NftID value)
    * A non-fungible/unique token (NFT) identifier.
    setNftID(NftID.Builder builderForValue)
    * A non-fungible/unique token (NFT) identifier.

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • 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 TokenGetNftInfoQueryOrBuilder
      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 TokenGetNftInfoQueryOrBuilder
      Returns:
      The header.
    • setHeader

      public TokenGetNftInfoQuery.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 TokenGetNftInfoQuery.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 TokenGetNftInfoQuery.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 TokenGetNftInfoQuery.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;
    • hasNftID

      public boolean hasNftID()
       *
       A non-fungible/unique token (NFT) identifier.
       <p>
       This SHALL identify the NFT to query.<br/>
       The identified NFT MUST exist, and MUST NOT be deleted.
       
      .proto.NftID nftID = 2;
      Specified by:
      hasNftID in interface TokenGetNftInfoQueryOrBuilder
      Returns:
      Whether the nftID field is set.
    • getNftID

      public NftID getNftID()
       *
       A non-fungible/unique token (NFT) identifier.
       <p>
       This SHALL identify the NFT to query.<br/>
       The identified NFT MUST exist, and MUST NOT be deleted.
       
      .proto.NftID nftID = 2;
      Specified by:
      getNftID in interface TokenGetNftInfoQueryOrBuilder
      Returns:
      The nftID.
    • setNftID

      public TokenGetNftInfoQuery.Builder setNftID(NftID value)
       *
       A non-fungible/unique token (NFT) identifier.
       <p>
       This SHALL identify the NFT to query.<br/>
       The identified NFT MUST exist, and MUST NOT be deleted.
       
      .proto.NftID nftID = 2;
    • setNftID

      public TokenGetNftInfoQuery.Builder setNftID(NftID.Builder builderForValue)
       *
       A non-fungible/unique token (NFT) identifier.
       <p>
       This SHALL identify the NFT to query.<br/>
       The identified NFT MUST exist, and MUST NOT be deleted.
       
      .proto.NftID nftID = 2;
    • mergeNftID

      public TokenGetNftInfoQuery.Builder mergeNftID(NftID value)
       *
       A non-fungible/unique token (NFT) identifier.
       <p>
       This SHALL identify the NFT to query.<br/>
       The identified NFT MUST exist, and MUST NOT be deleted.
       
      .proto.NftID nftID = 2;
    • clearNftID

      public TokenGetNftInfoQuery.Builder clearNftID()
       *
       A non-fungible/unique token (NFT) identifier.
       <p>
       This SHALL identify the NFT to query.<br/>
       The identified NFT MUST exist, and MUST NOT be deleted.
       
      .proto.NftID nftID = 2;