Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
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 NoneProtobuf type
proto.TokenCancelAirdropTransactionBody-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic 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
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.<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.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.List<? extends PendingAirdropIdOrBuilder> * 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.newBuilder(TokenCancelAirdropTransactionBody 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<TokenCancelAirdropTransactionBody> 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.<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:
getPendingAirdropsListin interfaceTokenCancelAirdropTransactionBodyOrBuilder
-
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:
getPendingAirdropsCountin interfaceTokenCancelAirdropTransactionBodyOrBuilder
-
getPendingAirdrops
* 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:
getPendingAirdropsin interfaceTokenCancelAirdropTransactionBodyOrBuilder
-
getPendingAirdropsOrBuilder
* 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
- 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
-
newBuilder
public static TokenCancelAirdropTransactionBody.Builder newBuilder(TokenCancelAirdropTransactionBody prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<TokenCancelAirdropTransactionBody,TokenCancelAirdropTransactionBody.Builder>
-
getDefaultInstance
-
parser
-