java.lang.Object
com.google.protobuf.AbstractMessageLite<TokenNftInfo,TokenNftInfo.Builder>
com.google.protobuf.GeneratedMessageLite<TokenNftInfo,TokenNftInfo.Builder>
com.hedera.hashgraph.sdk.proto.TokenNftInfo
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,TokenNftInfoOrBuilder
@Generated
public final class TokenNftInfo
extends com.google.protobuf.GeneratedMessageLite<TokenNftInfo,TokenNftInfo.Builder>
implements TokenNftInfoOrBuilder
* Information for one non-fungible/unique token (NFT).Protobuf type
proto.TokenNftInfo-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Information for one non-fungible/unique token (NFT).Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) * The current owner of the NFT* The effective consensus timestamp at which the NFT was mintedstatic TokenNftInfocom.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 accountstatic TokenNftInfo.Builderstatic TokenNftInfo.BuildernewBuilder(TokenNftInfo prototype) static TokenNftInfoparseDelimitedFrom(InputStream input) static TokenNftInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TokenNftInfoparseFrom(byte[] data) static TokenNftInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TokenNftInfoparseFrom(com.google.protobuf.ByteString data) static TokenNftInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TokenNftInfoparseFrom(com.google.protobuf.CodedInputStream input) static TokenNftInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TokenNftInfoparseFrom(InputStream input) static TokenNftInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TokenNftInfoparseFrom(ByteBuffer data) static TokenNftInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TokenNftInfo> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
NFTID_FIELD_NUMBER
public static final int NFTID_FIELD_NUMBER- See Also:
-
ACCOUNTID_FIELD_NUMBER
public static final int ACCOUNTID_FIELD_NUMBER- See Also:
-
CREATIONTIME_FIELD_NUMBER
public static final int CREATIONTIME_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
LEDGER_ID_FIELD_NUMBER
public static final int LEDGER_ID_FIELD_NUMBER- See Also:
-
SPENDER_ID_FIELD_NUMBER
public static final int SPENDER_ID_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasNftID
public boolean hasNftID()* A non-fungible/unique token (NFT) identifier. <p> This SHALL match the NFT requested.<br/>
.proto.NftID nftID = 1;- Specified by:
hasNftIDin interfaceTokenNftInfoOrBuilder- Returns:
- Whether the nftID field is set.
-
getNftID
* A non-fungible/unique token (NFT) identifier. <p> This SHALL match the NFT requested.<br/>
.proto.NftID nftID = 1;- Specified by:
getNftIDin interfaceTokenNftInfoOrBuilder- Returns:
- The nftID.
-
hasAccountID
public boolean hasAccountID()* The current owner of the NFT
.proto.AccountID accountID = 2;- Specified by:
hasAccountIDin interfaceTokenNftInfoOrBuilder- Returns:
- Whether the accountID field is set.
-
getAccountID
* The current owner of the NFT
.proto.AccountID accountID = 2;- Specified by:
getAccountIDin interfaceTokenNftInfoOrBuilder- Returns:
- The accountID.
-
hasCreationTime
public boolean hasCreationTime()* The effective consensus timestamp at which the NFT was minted
.proto.Timestamp creationTime = 3;- Specified by:
hasCreationTimein interfaceTokenNftInfoOrBuilder- Returns:
- Whether the creationTime field is set.
-
getCreationTime
* The effective consensus timestamp at which the NFT was minted
.proto.Timestamp creationTime = 3;- Specified by:
getCreationTimein interfaceTokenNftInfoOrBuilder- Returns:
- The creationTime.
-
getMetadata
public com.google.protobuf.ByteString getMetadata()* Represents the unique metadata of the NFT
bytes metadata = 4;- Specified by:
getMetadatain interfaceTokenNftInfoOrBuilder- Returns:
- The metadata.
-
getLedgerId
public 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;- Specified by:
getLedgerIdin interfaceTokenNftInfoOrBuilder- Returns:
- The ledgerId.
-
hasSpenderId
public boolean hasSpenderId()* If an allowance is granted for the NFT, its corresponding spender account
.proto.AccountID spender_id = 6;- Specified by:
hasSpenderIdin interfaceTokenNftInfoOrBuilder- Returns:
- Whether the spenderId field is set.
-
getSpenderId
* If an allowance is granted for the NFT, its corresponding spender account
.proto.AccountID spender_id = 6;- Specified by:
getSpenderIdin interfaceTokenNftInfoOrBuilder- Returns:
- The spenderId.
-
parseFrom
public static TokenNftInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TokenNftInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TokenNftInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TokenNftInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TokenNftInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TokenNftInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TokenNftInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TokenNftInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TokenNftInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<TokenNftInfo,TokenNftInfo.Builder>
-
getDefaultInstance
-
parser
-