Class PendingAirdropId

java.lang.Object
com.google.protobuf.AbstractMessageLite<PendingAirdropId,PendingAirdropId.Builder>
com.google.protobuf.GeneratedMessageLite<PendingAirdropId,PendingAirdropId.Builder>
com.hedera.hashgraph.sdk.proto.PendingAirdropId
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, PendingAirdropIdOrBuilder

@Generated public final class PendingAirdropId extends com.google.protobuf.GeneratedMessageLite<PendingAirdropId,PendingAirdropId.Builder> implements PendingAirdropIdOrBuilder
 *
 A unique, composite, identifier for a pending airdrop.

 Each pending airdrop SHALL be uniquely identified by
 a `PendingAirdropId`.<br/>
 A `PendingAirdropId` SHALL be recorded when created and MUST be provided in
 any transaction that would modify that pending airdrop
 (such as a `claimAirdrop` or `cancelAirdrop`).
 
Protobuf type proto.PendingAirdropId
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    * A unique, composite, identifier for a pending airdrop.
    static enum 
     

    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
     

    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)
     
     
    * A token identifier.<br/> This is the type of token for a fungible/common token airdrop.
    * The id of a single NFT<br/> This is the type of token for a non-fungible/unique token airdrop and consists of a Token ID and serial number.
    * A receiving account.
    * A sending account.
     
    boolean
    * A token identifier.<br/> This is the type of token for a fungible/common token airdrop.
    boolean
    * The id of a single NFT<br/> This is the type of token for a non-fungible/unique token airdrop and consists of a Token ID and serial number.
    boolean
    * A receiving account.
    boolean
    * A sending 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<PendingAirdropId>
     

    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

    • SENDER_ID_FIELD_NUMBER

      public static final int SENDER_ID_FIELD_NUMBER
      See Also:
    • RECEIVER_ID_FIELD_NUMBER

      public static final int RECEIVER_ID_FIELD_NUMBER
      See Also:
    • FUNGIBLE_TOKEN_TYPE_FIELD_NUMBER

      public static final int FUNGIBLE_TOKEN_TYPE_FIELD_NUMBER
      See Also:
    • NON_FUNGIBLE_TOKEN_FIELD_NUMBER

      public static final int NON_FUNGIBLE_TOKEN_FIELD_NUMBER
      See Also:
  • Method Details

    • getTokenReferenceCase

      public PendingAirdropId.TokenReferenceCase getTokenReferenceCase()
      Specified by:
      getTokenReferenceCase in interface PendingAirdropIdOrBuilder
    • hasSenderId

      public boolean hasSenderId()
       *
       A sending account.
       <p>
       This is the account that initiated, and SHALL fund,
       this pending airdrop.<br/>
       This field is REQUIRED.
       
      .proto.AccountID sender_id = 1;
      Specified by:
      hasSenderId in interface PendingAirdropIdOrBuilder
      Returns:
      Whether the senderId field is set.
    • getSenderId

      public AccountID getSenderId()
       *
       A sending account.
       <p>
       This is the account that initiated, and SHALL fund,
       this pending airdrop.<br/>
       This field is REQUIRED.
       
      .proto.AccountID sender_id = 1;
      Specified by:
      getSenderId in interface PendingAirdropIdOrBuilder
      Returns:
      The senderId.
    • hasReceiverId

      public boolean hasReceiverId()
       *
       A receiving account.
       <p>
       This is the ID of the account that SHALL receive the airdrop.<br/>
       This field is REQUIRED.
       
      .proto.AccountID receiver_id = 2;
      Specified by:
      hasReceiverId in interface PendingAirdropIdOrBuilder
      Returns:
      Whether the receiverId field is set.
    • getReceiverId

      public AccountID getReceiverId()
       *
       A receiving account.
       <p>
       This is the ID of the account that SHALL receive the airdrop.<br/>
       This field is REQUIRED.
       
      .proto.AccountID receiver_id = 2;
      Specified by:
      getReceiverId in interface PendingAirdropIdOrBuilder
      Returns:
      The receiverId.
    • hasFungibleTokenType

      public boolean hasFungibleTokenType()
       *
       A token identifier.<br/>
       This is the type of token for a fungible/common token airdrop.
       <p>
       This field is REQUIRED for a fungible/common token and MUST NOT
       be used for a non-fungible/unique token.
       
      .proto.TokenID fungible_token_type = 3;
      Specified by:
      hasFungibleTokenType in interface PendingAirdropIdOrBuilder
      Returns:
      Whether the fungibleTokenType field is set.
    • getFungibleTokenType

      public TokenID getFungibleTokenType()
       *
       A token identifier.<br/>
       This is the type of token for a fungible/common token airdrop.
       <p>
       This field is REQUIRED for a fungible/common token and MUST NOT
       be used for a non-fungible/unique token.
       
      .proto.TokenID fungible_token_type = 3;
      Specified by:
      getFungibleTokenType in interface PendingAirdropIdOrBuilder
      Returns:
      The fungibleTokenType.
    • hasNonFungibleToken

      public boolean hasNonFungibleToken()
       *
       The id of a single NFT<br/>
       This is the type of token for a non-fungible/unique token airdrop
       and consists of a Token ID and serial number.
       <p>
       This field is REQUIRED for a non-fungible/unique token and
       MUST NOT be used for a fungible/common token.
       
      .proto.NftID non_fungible_token = 4;
      Specified by:
      hasNonFungibleToken in interface PendingAirdropIdOrBuilder
      Returns:
      Whether the nonFungibleToken field is set.
    • getNonFungibleToken

      public NftID getNonFungibleToken()
       *
       The id of a single NFT<br/>
       This is the type of token for a non-fungible/unique token airdrop
       and consists of a Token ID and serial number.
       <p>
       This field is REQUIRED for a non-fungible/unique token and
       MUST NOT be used for a fungible/common token.
       
      .proto.NftID non_fungible_token = 4;
      Specified by:
      getNonFungibleToken in interface PendingAirdropIdOrBuilder
      Returns:
      The nonFungibleToken.
    • parseFrom

      public static PendingAirdropId parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PendingAirdropId parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PendingAirdropId parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PendingAirdropId parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PendingAirdropId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PendingAirdropId parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

      public static PendingAirdropId.Builder newBuilder()
    • newBuilder

      public static PendingAirdropId.Builder newBuilder(PendingAirdropId 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<PendingAirdropId,PendingAirdropId.Builder>
    • getDefaultInstance

      public static PendingAirdropId getDefaultInstance()
    • parser

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