Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class AccountPendingAirdrop.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<AccountPendingAirdrop,AccountPendingAirdrop.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<AccountPendingAirdrop,AccountPendingAirdrop.Builder>
com.hedera.hashgraph.sdk.proto.AccountPendingAirdrop.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,AccountPendingAirdropOrBuilder,Cloneable
- Enclosing class:
AccountPendingAirdrop
public static final class AccountPendingAirdrop.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AccountPendingAirdrop,AccountPendingAirdrop.Builder>
implements AccountPendingAirdropOrBuilder
* A node within a doubly linked list of pending airdrop references.<br/> This internal state message forms the entries in a doubly-linked list of references to pending airdrop entries that are "owed" by a particular account as "sender". Each entry in this list MUST refer to an existing pending airdrop.<br/> The pending airdrop MUST NOT be claimed.<br/> The pending airdrop MUST NOT be canceled.<br/> The pending airdrop `sender` account's `head_pending_airdrop_id` field MUST match the `pending_airdrop_id` field in this message.Protobuf type
proto.AccountPendingAirdrop-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* A pending airdrop identifier.<br/> <p> This field SHALL identify the specific pending airdrop that follows this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".* An amount of fungible tokens to be sent for this pending airdrop.* A pending airdrop identifier.* A pending airdrop identifier.<br/> <p> This field SHALL identify the specific pending airdrop that follows this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".* An amount of fungible tokens to be sent for this pending airdrop.* A pending airdrop identifier.boolean* A pending airdrop identifier.<br/> <p> This field SHALL identify the specific pending airdrop that follows this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".boolean* An amount of fungible tokens to be sent for this pending airdrop.boolean* A pending airdrop identifier.mergeNextAirdrop(PendingAirdropId value) * A pending airdrop identifier.<br/> <p> This field SHALL identify the specific pending airdrop that follows this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".* An amount of fungible tokens to be sent for this pending airdrop.* A pending airdrop identifier.setNextAirdrop(PendingAirdropId value) * A pending airdrop identifier.<br/> <p> This field SHALL identify the specific pending airdrop that follows this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".setNextAirdrop(PendingAirdropId.Builder builderForValue) * A pending airdrop identifier.<br/> <p> This field SHALL identify the specific pending airdrop that follows this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".* An amount of fungible tokens to be sent for this pending airdrop.setPendingAirdropValue(PendingAirdropValue.Builder builderForValue) * An amount of fungible tokens to be sent for this pending airdrop.* A pending airdrop identifier.setPreviousAirdrop(PendingAirdropId.Builder builderForValue) * A pending airdrop identifier.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
-
hasPendingAirdropValue
public boolean hasPendingAirdropValue()* An amount of fungible tokens to be sent for this pending airdrop. <p> This field SHALL NOT be set for non-fungible/unique tokens.
.proto.PendingAirdropValue pending_airdrop_value = 1;- Specified by:
hasPendingAirdropValuein interfaceAccountPendingAirdropOrBuilder- Returns:
- Whether the pendingAirdropValue field is set.
-
getPendingAirdropValue
* An amount of fungible tokens to be sent for this pending airdrop. <p> This field SHALL NOT be set for non-fungible/unique tokens.
.proto.PendingAirdropValue pending_airdrop_value = 1;- Specified by:
getPendingAirdropValuein interfaceAccountPendingAirdropOrBuilder- Returns:
- The pendingAirdropValue.
-
setPendingAirdropValue
* An amount of fungible tokens to be sent for this pending airdrop. <p> This field SHALL NOT be set for non-fungible/unique tokens.
.proto.PendingAirdropValue pending_airdrop_value = 1; -
setPendingAirdropValue
public AccountPendingAirdrop.Builder setPendingAirdropValue(PendingAirdropValue.Builder builderForValue) * An amount of fungible tokens to be sent for this pending airdrop. <p> This field SHALL NOT be set for non-fungible/unique tokens.
.proto.PendingAirdropValue pending_airdrop_value = 1; -
mergePendingAirdropValue
* An amount of fungible tokens to be sent for this pending airdrop. <p> This field SHALL NOT be set for non-fungible/unique tokens.
.proto.PendingAirdropValue pending_airdrop_value = 1; -
clearPendingAirdropValue
* An amount of fungible tokens to be sent for this pending airdrop. <p> This field SHALL NOT be set for non-fungible/unique tokens.
.proto.PendingAirdropValue pending_airdrop_value = 1; -
hasPreviousAirdrop
public boolean hasPreviousAirdrop()* A pending airdrop identifier. <p> This field SHALL identify the specific pending airdrop that precedes this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".
.proto.PendingAirdropId previous_airdrop = 2;- Specified by:
hasPreviousAirdropin interfaceAccountPendingAirdropOrBuilder- Returns:
- Whether the previousAirdrop field is set.
-
getPreviousAirdrop
* A pending airdrop identifier. <p> This field SHALL identify the specific pending airdrop that precedes this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".
.proto.PendingAirdropId previous_airdrop = 2;- Specified by:
getPreviousAirdropin interfaceAccountPendingAirdropOrBuilder- Returns:
- The previousAirdrop.
-
setPreviousAirdrop
* A pending airdrop identifier. <p> This field SHALL identify the specific pending airdrop that precedes this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".
.proto.PendingAirdropId previous_airdrop = 2; -
setPreviousAirdrop
* A pending airdrop identifier. <p> This field SHALL identify the specific pending airdrop that precedes this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".
.proto.PendingAirdropId previous_airdrop = 2; -
mergePreviousAirdrop
* A pending airdrop identifier. <p> This field SHALL identify the specific pending airdrop that precedes this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".
.proto.PendingAirdropId previous_airdrop = 2; -
clearPreviousAirdrop
* A pending airdrop identifier. <p> This field SHALL identify the specific pending airdrop that precedes this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".
.proto.PendingAirdropId previous_airdrop = 2; -
hasNextAirdrop
public boolean hasNextAirdrop()* A pending airdrop identifier.<br/> <p> This field SHALL identify the specific pending airdrop that follows this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".
.proto.PendingAirdropId next_airdrop = 3;- Specified by:
hasNextAirdropin interfaceAccountPendingAirdropOrBuilder- Returns:
- Whether the nextAirdrop field is set.
-
getNextAirdrop
* A pending airdrop identifier.<br/> <p> This field SHALL identify the specific pending airdrop that follows this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".
.proto.PendingAirdropId next_airdrop = 3;- Specified by:
getNextAirdropin interfaceAccountPendingAirdropOrBuilder- Returns:
- The nextAirdrop.
-
setNextAirdrop
* A pending airdrop identifier.<br/> <p> This field SHALL identify the specific pending airdrop that follows this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".
.proto.PendingAirdropId next_airdrop = 3; -
setNextAirdrop
* A pending airdrop identifier.<br/> <p> This field SHALL identify the specific pending airdrop that follows this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".
.proto.PendingAirdropId next_airdrop = 3; -
mergeNextAirdrop
* A pending airdrop identifier.<br/> <p> This field SHALL identify the specific pending airdrop that follows this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".
.proto.PendingAirdropId next_airdrop = 3; -
clearNextAirdrop
* A pending airdrop identifier.<br/> <p> This field SHALL identify the specific pending airdrop that follows this position within the doubly linked list of pending airdrops "owed" by the sending account associated with this account airdrop "list".<br/> This SHALL match `pending_airdrop_id` if this is the only entry in the "list".
.proto.PendingAirdropId next_airdrop = 3;
-