Class TokenCancelAirdropTransactionBody

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

@Generated public final class TokenCancelAirdropTransactionBody extends com.google.protobuf.GeneratedMessageLite<TokenCancelAirdropTransactionBody,TokenCancelAirdropTransactionBody.Builder> implements TokenCancelAirdropTransactionBodyOrBuilder
 *
 Token cancel airdrop<br/>
 Remove one or more pending airdrops from state on behalf of the
 sender(s) for each airdrop.

 Each pending airdrop canceled SHALL be removed from state and
 SHALL NOT be available to claim.<br/>
 Each cancellation SHALL be represented in the transaction body and
 SHALL NOT be restated in the record file.<br/>
 All cancellations MUST succeed for this transaction to succeed.

 ### Block Stream Effects
 None
 
Protobuf type proto.TokenCancelAirdropTransactionBody
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    * Token cancel airdrop<br/> Remove one or more pending airdrops from state on behalf of the sender(s) for each airdrop.

    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
     

    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)
     
     
    getPendingAirdrops(int index)
    * A list of one or more pending airdrop identifiers.<br/> This list declares the set of pending airdrop entries that the client wishes to cancel; on success all listed pending airdrop entries will be removed.
    int
    * A list of one or more pending airdrop identifiers.<br/> This list declares the set of pending airdrop entries that the client wishes to cancel; on success all listed pending airdrop entries will be removed.
    * A list of one or more pending airdrop identifiers.<br/> This list declares the set of pending airdrop entries that the client wishes to cancel; on success all listed pending airdrop entries will be removed.
    * A list of one or more pending airdrop identifiers.<br/> This list declares the set of pending airdrop entries that the client wishes to cancel; on success all listed pending airdrop entries will be removed.
    * A list of one or more pending airdrop identifiers.<br/> This list declares the set of pending airdrop entries that the client wishes to cancel; on success all listed pending airdrop entries will be removed.
     
     
     
    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<TokenCancelAirdropTransactionBody>
     

    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

    • PENDING_AIRDROPS_FIELD_NUMBER

      public static final int PENDING_AIRDROPS_FIELD_NUMBER
      See Also:
  • Method Details

    • getPendingAirdropsList

      public List<PendingAirdropId> getPendingAirdropsList()
       *
       A list of one or more pending airdrop identifiers.<br/>
       This list declares the set of pending airdrop entries that the client
       wishes to cancel; on success all listed pending airdrop entries
       will be removed.
       <p>
       This transaction MUST be signed by the account identified by a
       `sender_id` for each entry in this list.<br/>
       This list MUST NOT have any duplicate entries.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
      Specified by:
      getPendingAirdropsList in interface TokenCancelAirdropTransactionBodyOrBuilder
    • getPendingAirdropsOrBuilderList

      public List<? extends PendingAirdropIdOrBuilder> getPendingAirdropsOrBuilderList()
       *
       A list of one or more pending airdrop identifiers.<br/>
       This list declares the set of pending airdrop entries that the client
       wishes to cancel; on success all listed pending airdrop entries
       will be removed.
       <p>
       This transaction MUST be signed by the account identified by a
       `sender_id` for each entry in this list.<br/>
       This list MUST NOT have any duplicate entries.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
    • getPendingAirdropsCount

      public int getPendingAirdropsCount()
       *
       A list of one or more pending airdrop identifiers.<br/>
       This list declares the set of pending airdrop entries that the client
       wishes to cancel; on success all listed pending airdrop entries
       will be removed.
       <p>
       This transaction MUST be signed by the account identified by a
       `sender_id` for each entry in this list.<br/>
       This list MUST NOT have any duplicate entries.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
      Specified by:
      getPendingAirdropsCount in interface TokenCancelAirdropTransactionBodyOrBuilder
    • getPendingAirdrops

      public PendingAirdropId getPendingAirdrops(int index)
       *
       A list of one or more pending airdrop identifiers.<br/>
       This list declares the set of pending airdrop entries that the client
       wishes to cancel; on success all listed pending airdrop entries
       will be removed.
       <p>
       This transaction MUST be signed by the account identified by a
       `sender_id` for each entry in this list.<br/>
       This list MUST NOT have any duplicate entries.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
      Specified by:
      getPendingAirdrops in interface TokenCancelAirdropTransactionBodyOrBuilder
    • getPendingAirdropsOrBuilder

      public PendingAirdropIdOrBuilder getPendingAirdropsOrBuilder(int index)
       *
       A list of one or more pending airdrop identifiers.<br/>
       This list declares the set of pending airdrop entries that the client
       wishes to cancel; on success all listed pending airdrop entries
       will be removed.
       <p>
       This transaction MUST be signed by the account identified by a
       `sender_id` for each entry in this list.<br/>
       This list MUST NOT have any duplicate entries.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static TokenCancelAirdropTransactionBody.Builder newBuilder()
    • newBuilder

    • dynamicMethod

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

      public static TokenCancelAirdropTransactionBody getDefaultInstance()
    • parser

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