Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
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 numberProtobuf type
proto.TokenGetNftInfoQuery-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* 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).getNftID()* 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).booleanhasNftID()* A non-fungible/unique token (NFT) identifier.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).mergeNftID(NftID value) * A non-fungible/unique token (NFT) identifier.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).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).* 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, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
hasHeaderin interfaceTokenGetNftInfoQueryOrBuilder- Returns:
- Whether the header field is set.
-
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:
getHeaderin interfaceTokenGetNftInfoQueryOrBuilder- Returns:
- The header.
-
setHeader
* 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
* 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
* 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
* 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:
hasNftIDin interfaceTokenGetNftInfoQueryOrBuilder- Returns:
- Whether the nftID field is set.
-
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:
getNftIDin interfaceTokenGetNftInfoQueryOrBuilder- Returns:
- The nftID.
-
setNftID
* 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
* 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
* 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
* 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;
-