Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllPendingAirdrops(Iterable<? extends PendingAirdropId> values) * A list of one or more pending airdrop identifiers.addPendingAirdrops(int index, PendingAirdropId value) * A list of one or more pending airdrop identifiers.addPendingAirdrops(int index, PendingAirdropId.Builder builderForValue) * A list of one or more pending airdrop identifiers.* A list of one or more pending airdrop identifiers.addPendingAirdrops(PendingAirdropId.Builder builderForValue) * A list of one or more pending airdrop identifiers.* A list of one or more pending airdrop identifiers.getPendingAirdrops(int index) * A list of one or more pending airdrop identifiers.int* A list of one or more pending airdrop identifiers.* A list of one or more pending airdrop identifiers.removePendingAirdrops(int index) * A list of one or more pending airdrop identifiers.setPendingAirdrops(int index, PendingAirdropId value) * A list of one or more pending airdrop identifiers.setPendingAirdrops(int index, PendingAirdropId.Builder builderForValue) * A list of one or more pending airdrop identifiers.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
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:
getPendingAirdropsListin interfaceTokenClaimAirdropTransactionBodyOrBuilder
-
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:
getPendingAirdropsCountin interfaceTokenClaimAirdropTransactionBodyOrBuilder
-
getPendingAirdrops
* 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:
getPendingAirdropsin interfaceTokenClaimAirdropTransactionBodyOrBuilder
-
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
* 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
* 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;
-