Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface TokenNftInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
TokenNftInfo,TokenNftInfo.Builder
@Generated
public interface TokenNftInfoOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* The current owner of the NFT* The effective consensus timestamp at which the NFT was mintedcom.google.protobuf.ByteString* The ledger ID of the network that generated this response.com.google.protobuf.ByteString* Represents the unique metadata of the NFTgetNftID()* A non-fungible/unique token (NFT) identifier.* If an allowance is granted for the NFT, its corresponding spender accountboolean* The current owner of the NFTboolean* The effective consensus timestamp at which the NFT was mintedbooleanhasNftID()* A non-fungible/unique token (NFT) identifier.boolean* If an allowance is granted for the NFT, its corresponding spender accountMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasNftID
boolean hasNftID()* A non-fungible/unique token (NFT) identifier. <p> This SHALL match the NFT requested.<br/>
.proto.NftID nftID = 1;- Returns:
- Whether the nftID field is set.
-
getNftID
NftID getNftID()* A non-fungible/unique token (NFT) identifier. <p> This SHALL match the NFT requested.<br/>
.proto.NftID nftID = 1;- Returns:
- The nftID.
-
hasAccountID
boolean hasAccountID()* The current owner of the NFT
.proto.AccountID accountID = 2;- Returns:
- Whether the accountID field is set.
-
getAccountID
AccountID getAccountID()* The current owner of the NFT
.proto.AccountID accountID = 2;- Returns:
- The accountID.
-
hasCreationTime
boolean hasCreationTime()* The effective consensus timestamp at which the NFT was minted
.proto.Timestamp creationTime = 3;- Returns:
- Whether the creationTime field is set.
-
getCreationTime
Timestamp getCreationTime()* The effective consensus timestamp at which the NFT was minted
.proto.Timestamp creationTime = 3;- Returns:
- The creationTime.
-
getMetadata
com.google.protobuf.ByteString getMetadata()* Represents the unique metadata of the NFT
bytes metadata = 4;- Returns:
- The metadata.
-
getLedgerId
com.google.protobuf.ByteString getLedgerId()* The ledger ID of the network that generated this response. <p> This value SHALL identify the distributed ledger that responded to this query.
bytes ledger_id = 5;- Returns:
- The ledgerId.
-
hasSpenderId
boolean hasSpenderId()* If an allowance is granted for the NFT, its corresponding spender account
.proto.AccountID spender_id = 6;- Returns:
- Whether the spenderId field is set.
-
getSpenderId
AccountID getSpenderId()* If an allowance is granted for the NFT, its corresponding spender account
.proto.AccountID spender_id = 6;- Returns:
- The spenderId.
-