Class TokenNftInfo

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 Classes
    Modifier and Type
    Class
    Description
    static 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(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 minted
     
    com.google.protobuf.ByteString
    * The ledger ID of the network that generated this response.
    com.google.protobuf.ByteString
    * Represents the unique metadata of the NFT
    * A non-fungible/unique token (NFT) identifier.
    * If an allowance is granted for the NFT, its corresponding spender account
    boolean
    * The current owner of the NFT
    boolean
    * The effective consensus timestamp at which the NFT was minted
    boolean
    * A non-fungible/unique token (NFT) identifier.
    boolean
    * If an allowance is granted for the NFT, its corresponding spender account
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<TokenNftInfo>
     

    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, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

  • 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:
      hasNftID in interface TokenNftInfoOrBuilder
      Returns:
      Whether the nftID field is set.
    • getNftID

      public NftID getNftID()
       *
       A non-fungible/unique token (NFT) identifier.
       <p>
       This SHALL match the NFT requested.<br/>
       
      .proto.NftID nftID = 1;
      Specified by:
      getNftID in interface TokenNftInfoOrBuilder
      Returns:
      The nftID.
    • hasAccountID

      public boolean hasAccountID()
       *
       The current owner of the NFT
       
      .proto.AccountID accountID = 2;
      Specified by:
      hasAccountID in interface TokenNftInfoOrBuilder
      Returns:
      Whether the accountID field is set.
    • getAccountID

      public AccountID getAccountID()
       *
       The current owner of the NFT
       
      .proto.AccountID accountID = 2;
      Specified by:
      getAccountID in interface TokenNftInfoOrBuilder
      Returns:
      The accountID.
    • hasCreationTime

      public boolean hasCreationTime()
       *
       The effective consensus timestamp at which the NFT was minted
       
      .proto.Timestamp creationTime = 3;
      Specified by:
      hasCreationTime in interface TokenNftInfoOrBuilder
      Returns:
      Whether the creationTime field is set.
    • getCreationTime

      public Timestamp getCreationTime()
       *
       The effective consensus timestamp at which the NFT was minted
       
      .proto.Timestamp creationTime = 3;
      Specified by:
      getCreationTime in interface TokenNftInfoOrBuilder
      Returns:
      The creationTime.
    • getMetadata

      public com.google.protobuf.ByteString getMetadata()
       *
       Represents the unique metadata of the NFT
       
      bytes metadata = 4;
      Specified by:
      getMetadata in interface TokenNftInfoOrBuilder
      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:
      getLedgerId in interface TokenNftInfoOrBuilder
      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:
      hasSpenderId in interface TokenNftInfoOrBuilder
      Returns:
      Whether the spenderId field is set.
    • getSpenderId

      public AccountID getSpenderId()
       *
       If an allowance is granted for the NFT, its corresponding spender account
       
      .proto.AccountID spender_id = 6;
      Specified by:
      getSpenderId in interface TokenNftInfoOrBuilder
      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

      public static TokenNftInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TokenNftInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TokenNftInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TokenNftInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TokenNftInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TokenNftInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static TokenNftInfo.Builder newBuilder()
    • newBuilder

      public static TokenNftInfo.Builder newBuilder(TokenNftInfo prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<TokenNftInfo,TokenNftInfo.Builder>
    • getDefaultInstance

      public static TokenNftInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TokenNftInfo> parser()