java.lang.Object
com.google.protobuf.AbstractMessageLite<PendingAirdropId,PendingAirdropId.Builder>
com.google.protobuf.GeneratedMessageLite<PendingAirdropId,PendingAirdropId.Builder>
com.hedera.hashgraph.sdk.proto.PendingAirdropId
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,PendingAirdropIdOrBuilder
@Generated
public final class PendingAirdropId
extends com.google.protobuf.GeneratedMessageLite<PendingAirdropId,PendingAirdropId.Builder>
implements PendingAirdropIdOrBuilder
* A unique, composite, identifier for a pending airdrop. Each pending airdrop SHALL be uniquely identified by a `PendingAirdropId`.<br/> A `PendingAirdropId` SHALL be recorded when created and MUST be provided in any transaction that would modify that pending airdrop (such as a `claimAirdrop` or `cancelAirdrop`).Protobuf type
proto.PendingAirdropId-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A unique, composite, identifier for a pending airdrop.static enumNested 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields 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) static PendingAirdropId* A token identifier.<br/> This is the type of token for a fungible/common token airdrop.* The id of a single NFT<br/> This is the type of token for a non-fungible/unique token airdrop and consists of a Token ID and serial number.* A receiving account.* A sending account.boolean* A token identifier.<br/> This is the type of token for a fungible/common token airdrop.boolean* The id of a single NFT<br/> This is the type of token for a non-fungible/unique token airdrop and consists of a Token ID and serial number.boolean* A receiving account.boolean* A sending account.static PendingAirdropId.Builderstatic PendingAirdropId.BuildernewBuilder(PendingAirdropId prototype) static PendingAirdropIdparseDelimitedFrom(InputStream input) static PendingAirdropIdparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PendingAirdropIdparseFrom(byte[] data) static PendingAirdropIdparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PendingAirdropIdparseFrom(com.google.protobuf.ByteString data) static PendingAirdropIdparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PendingAirdropIdparseFrom(com.google.protobuf.CodedInputStream input) static PendingAirdropIdparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PendingAirdropIdparseFrom(InputStream input) static PendingAirdropIdparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PendingAirdropIdparseFrom(ByteBuffer data) static PendingAirdropIdparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PendingAirdropId> 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
-
SENDER_ID_FIELD_NUMBER
public static final int SENDER_ID_FIELD_NUMBER- See Also:
-
RECEIVER_ID_FIELD_NUMBER
public static final int RECEIVER_ID_FIELD_NUMBER- See Also:
-
FUNGIBLE_TOKEN_TYPE_FIELD_NUMBER
public static final int FUNGIBLE_TOKEN_TYPE_FIELD_NUMBER- See Also:
-
NON_FUNGIBLE_TOKEN_FIELD_NUMBER
public static final int NON_FUNGIBLE_TOKEN_FIELD_NUMBER- See Also:
-
-
Method Details
-
getTokenReferenceCase
- Specified by:
getTokenReferenceCasein interfacePendingAirdropIdOrBuilder
-
hasSenderId
public boolean hasSenderId()* A sending account. <p> This is the account that initiated, and SHALL fund, this pending airdrop.<br/> This field is REQUIRED.
.proto.AccountID sender_id = 1;- Specified by:
hasSenderIdin interfacePendingAirdropIdOrBuilder- Returns:
- Whether the senderId field is set.
-
getSenderId
* A sending account. <p> This is the account that initiated, and SHALL fund, this pending airdrop.<br/> This field is REQUIRED.
.proto.AccountID sender_id = 1;- Specified by:
getSenderIdin interfacePendingAirdropIdOrBuilder- Returns:
- The senderId.
-
hasReceiverId
public boolean hasReceiverId()* A receiving account. <p> This is the ID of the account that SHALL receive the airdrop.<br/> This field is REQUIRED.
.proto.AccountID receiver_id = 2;- Specified by:
hasReceiverIdin interfacePendingAirdropIdOrBuilder- Returns:
- Whether the receiverId field is set.
-
getReceiverId
* A receiving account. <p> This is the ID of the account that SHALL receive the airdrop.<br/> This field is REQUIRED.
.proto.AccountID receiver_id = 2;- Specified by:
getReceiverIdin interfacePendingAirdropIdOrBuilder- Returns:
- The receiverId.
-
hasFungibleTokenType
public boolean hasFungibleTokenType()* A token identifier.<br/> This is the type of token for a fungible/common token airdrop. <p> This field is REQUIRED for a fungible/common token and MUST NOT be used for a non-fungible/unique token.
.proto.TokenID fungible_token_type = 3;- Specified by:
hasFungibleTokenTypein interfacePendingAirdropIdOrBuilder- Returns:
- Whether the fungibleTokenType field is set.
-
getFungibleTokenType
* A token identifier.<br/> This is the type of token for a fungible/common token airdrop. <p> This field is REQUIRED for a fungible/common token and MUST NOT be used for a non-fungible/unique token.
.proto.TokenID fungible_token_type = 3;- Specified by:
getFungibleTokenTypein interfacePendingAirdropIdOrBuilder- Returns:
- The fungibleTokenType.
-
hasNonFungibleToken
public boolean hasNonFungibleToken()* The id of a single NFT<br/> This is the type of token for a non-fungible/unique token airdrop and consists of a Token ID and serial number. <p> This field is REQUIRED for a non-fungible/unique token and MUST NOT be used for a fungible/common token.
.proto.NftID non_fungible_token = 4;- Specified by:
hasNonFungibleTokenin interfacePendingAirdropIdOrBuilder- Returns:
- Whether the nonFungibleToken field is set.
-
getNonFungibleToken
* The id of a single NFT<br/> This is the type of token for a non-fungible/unique token airdrop and consists of a Token ID and serial number. <p> This field is REQUIRED for a non-fungible/unique token and MUST NOT be used for a fungible/common token.
.proto.NftID non_fungible_token = 4;- Specified by:
getNonFungibleTokenin interfacePendingAirdropIdOrBuilder- Returns:
- The nonFungibleToken.
-
parseFrom
public static PendingAirdropId parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PendingAirdropId parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PendingAirdropId parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PendingAirdropId parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PendingAirdropId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PendingAirdropId parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PendingAirdropId parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PendingAirdropId parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PendingAirdropId parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PendingAirdropId parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<PendingAirdropId,PendingAirdropId.Builder>
-
getDefaultInstance
-
parser
-