Class TokenCancelAirdropTransactionBody.Builder

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

public static final class TokenCancelAirdropTransactionBody.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<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
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * 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.
    addPendingAirdrops(int index, PendingAirdropId.Builder builderForValue)
    * 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.
    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.
    setPendingAirdrops(int index, PendingAirdropId.Builder builderForValue)
    * 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.

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • 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
    • 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
    • setPendingAirdrops

      public TokenCancelAirdropTransactionBody.Builder setPendingAirdrops(int index, PendingAirdropId value)
       *
       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;
    • setPendingAirdrops

      public TokenCancelAirdropTransactionBody.Builder setPendingAirdrops(int index, PendingAirdropId.Builder builderForValue)
       *
       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;
    • addPendingAirdrops

       *
       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;
    • addPendingAirdrops

      public TokenCancelAirdropTransactionBody.Builder addPendingAirdrops(int index, PendingAirdropId value)
       *
       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;
    • addPendingAirdrops

      public TokenCancelAirdropTransactionBody.Builder addPendingAirdrops(PendingAirdropId.Builder builderForValue)
       *
       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;
    • addPendingAirdrops

      public TokenCancelAirdropTransactionBody.Builder addPendingAirdrops(int index, PendingAirdropId.Builder builderForValue)
       *
       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;
    • addAllPendingAirdrops

      public TokenCancelAirdropTransactionBody.Builder addAllPendingAirdrops(Iterable<? extends PendingAirdropId> values)
       *
       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;
    • clearPendingAirdrops

      public TokenCancelAirdropTransactionBody.Builder clearPendingAirdrops()
       *
       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;
    • removePendingAirdrops

      public TokenCancelAirdropTransactionBody.Builder removePendingAirdrops(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;