Class TokenClaimAirdropTransactionBody.Builder

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

public static final class TokenClaimAirdropTransactionBody.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<TokenClaimAirdropTransactionBody,TokenClaimAirdropTransactionBody.Builder> implements TokenClaimAirdropTransactionBodyOrBuilder
 *
 Token claim airdrop<br/>
 Complete one or more pending transfers on behalf of the
 recipient(s) for an airdrop.

 The sender MUST have sufficient balance to fulfill the airdrop at the
 time of claim. If the sender does not have sufficient balance, the
 claim SHALL fail.<br/>
 Each pending airdrop successfully claimed SHALL be removed from state and
 SHALL NOT be available to claim again.<br/>
 Each claim SHALL be represented in the transaction body and
 SHALL NOT be restated in the record file.<br/>
 All claims MUST succeed for this transaction to succeed.

 ### Block Stream Effects
 The completed transfers SHALL be present in the transfer list.
 
Protobuf type proto.TokenClaimAirdropTransactionBody
  • Method Details

    • getPendingAirdropsList

      public List<PendingAirdropId> getPendingAirdropsList()
       *
       A list of one or more pending airdrop identifiers.
       <p>
       This transaction MUST be signed by the account identified by
       the `receiver_id` for each entry in this list.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.<br/>
       This list MUST NOT have any duplicate entries.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
      Specified by:
      getPendingAirdropsList in interface TokenClaimAirdropTransactionBodyOrBuilder
    • getPendingAirdropsCount

      public int getPendingAirdropsCount()
       *
       A list of one or more pending airdrop identifiers.
       <p>
       This transaction MUST be signed by the account identified by
       the `receiver_id` for each entry in this list.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.<br/>
       This list MUST NOT have any duplicate entries.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
      Specified by:
      getPendingAirdropsCount in interface TokenClaimAirdropTransactionBodyOrBuilder
    • getPendingAirdrops

      public PendingAirdropId getPendingAirdrops(int index)
       *
       A list of one or more pending airdrop identifiers.
       <p>
       This transaction MUST be signed by the account identified by
       the `receiver_id` for each entry in this list.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.<br/>
       This list MUST NOT have any duplicate entries.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
      Specified by:
      getPendingAirdrops in interface TokenClaimAirdropTransactionBodyOrBuilder
    • setPendingAirdrops

      public TokenClaimAirdropTransactionBody.Builder setPendingAirdrops(int index, PendingAirdropId value)
       *
       A list of one or more pending airdrop identifiers.
       <p>
       This transaction MUST be signed by the account identified by
       the `receiver_id` for each entry in this list.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.<br/>
       This list MUST NOT have any duplicate entries.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
    • setPendingAirdrops

      public TokenClaimAirdropTransactionBody.Builder setPendingAirdrops(int index, PendingAirdropId.Builder builderForValue)
       *
       A list of one or more pending airdrop identifiers.
       <p>
       This transaction MUST be signed by the account identified by
       the `receiver_id` for each entry in this list.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.<br/>
       This list MUST NOT have any duplicate entries.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
    • addPendingAirdrops

       *
       A list of one or more pending airdrop identifiers.
       <p>
       This transaction MUST be signed by the account identified by
       the `receiver_id` for each entry in this list.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.<br/>
       This list MUST NOT have any duplicate entries.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
    • addPendingAirdrops

      public TokenClaimAirdropTransactionBody.Builder addPendingAirdrops(int index, PendingAirdropId value)
       *
       A list of one or more pending airdrop identifiers.
       <p>
       This transaction MUST be signed by the account identified by
       the `receiver_id` for each entry in this list.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.<br/>
       This list MUST NOT have any duplicate entries.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
    • addPendingAirdrops

      public TokenClaimAirdropTransactionBody.Builder addPendingAirdrops(PendingAirdropId.Builder builderForValue)
       *
       A list of one or more pending airdrop identifiers.
       <p>
       This transaction MUST be signed by the account identified by
       the `receiver_id` for each entry in this list.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.<br/>
       This list MUST NOT have any duplicate entries.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
    • addPendingAirdrops

      public TokenClaimAirdropTransactionBody.Builder addPendingAirdrops(int index, PendingAirdropId.Builder builderForValue)
       *
       A list of one or more pending airdrop identifiers.
       <p>
       This transaction MUST be signed by the account identified by
       the `receiver_id` for each entry in this list.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.<br/>
       This list MUST NOT have any duplicate entries.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
    • addAllPendingAirdrops

      public TokenClaimAirdropTransactionBody.Builder addAllPendingAirdrops(Iterable<? extends PendingAirdropId> values)
       *
       A list of one or more pending airdrop identifiers.
       <p>
       This transaction MUST be signed by the account identified by
       the `receiver_id` for each entry in this list.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.<br/>
       This list MUST NOT have any duplicate entries.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
    • clearPendingAirdrops

      public TokenClaimAirdropTransactionBody.Builder clearPendingAirdrops()
       *
       A list of one or more pending airdrop identifiers.
       <p>
       This transaction MUST be signed by the account identified by
       the `receiver_id` for each entry in this list.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.<br/>
       This list MUST NOT have any duplicate entries.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;
    • removePendingAirdrops

      public TokenClaimAirdropTransactionBody.Builder removePendingAirdrops(int index)
       *
       A list of one or more pending airdrop identifiers.
       <p>
       This transaction MUST be signed by the account identified by
       the `receiver_id` for each entry in this list.<br/>
       This list MUST contain between 1 and 10 entries, inclusive.<br/>
       This list MUST NOT have any duplicate entries.
       
      repeated .proto.PendingAirdropId pending_airdrops = 1;