Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class TokenClaimAirdropTransactionBody
java.lang.Object
com.google.protobuf.AbstractMessageLite<TokenClaimAirdropTransactionBody,TokenClaimAirdropTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite<TokenClaimAirdropTransactionBody,TokenClaimAirdropTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.TokenClaimAirdropTransactionBody
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,TokenClaimAirdropTransactionBodyOrBuilder
@Generated
public final class TokenClaimAirdropTransactionBody
extends com.google.protobuf.GeneratedMessageLite<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-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Token claim airdrop<br/> Complete one or more pending transfers on behalf of the recipient(s) for an 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
FieldsFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) 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.getPendingAirdropsOrBuilder(int index) * A list of one or more pending airdrop identifiers.List<? extends PendingAirdropIdOrBuilder> * A list of one or more pending airdrop identifiers.newBuilder(TokenClaimAirdropTransactionBody prototype) parseDelimitedFrom(InputStream input) 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) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TokenClaimAirdropTransactionBody> parser()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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
* 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
-
getPendingAirdropsOrBuilderList
* 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; -
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
-
getPendingAirdropsOrBuilder
* 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; -
parseFrom
public static TokenClaimAirdropTransactionBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TokenClaimAirdropTransactionBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TokenClaimAirdropTransactionBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TokenClaimAirdropTransactionBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TokenClaimAirdropTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TokenClaimAirdropTransactionBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TokenClaimAirdropTransactionBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static TokenClaimAirdropTransactionBody parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static TokenClaimAirdropTransactionBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TokenClaimAirdropTransactionBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TokenClaimAirdropTransactionBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static TokenClaimAirdropTransactionBody.Builder newBuilder(TokenClaimAirdropTransactionBody prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<TokenClaimAirdropTransactionBody,TokenClaimAirdropTransactionBody.Builder>
-
getDefaultInstance
-
parser
-