Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class PendingAirdropId.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<PendingAirdropId,PendingAirdropId.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<PendingAirdropId,PendingAirdropId.Builder>
com.hedera.hashgraph.sdk.proto.PendingAirdropId.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,PendingAirdropIdOrBuilder,Cloneable
- Enclosing class:
PendingAirdropId
public static final class PendingAirdropId.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* 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.* 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.mergeFungibleTokenType(TokenID value) * A token identifier.<br/> This is the type of token for a fungible/common token airdrop.mergeNonFungibleToken(NftID value) * 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.mergeReceiverId(AccountID value) * A receiving account.mergeSenderId(AccountID value) * A sending account.setFungibleTokenType(TokenID value) * A token identifier.<br/> This is the type of token for a fungible/common token airdrop.setFungibleTokenType(TokenID.Builder builderForValue) * A token identifier.<br/> This is the type of token for a fungible/common token airdrop.setNonFungibleToken(NftID value) * 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.setNonFungibleToken(NftID.Builder builderForValue) * 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.setReceiverId(AccountID value) * A receiving account.setReceiverId(AccountID.Builder builderForValue) * A receiving account.setSenderId(AccountID value) * A sending account.setSenderId(AccountID.Builder builderForValue) * A sending account.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
-
getTokenReferenceCase
- Specified by:
getTokenReferenceCasein interfacePendingAirdropIdOrBuilder
-
clearTokenReference
-
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.
-
setSenderId
* 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; -
setSenderId
* 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; -
mergeSenderId
* 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; -
clearSenderId
* 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; -
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.
-
setReceiverId
* 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; -
setReceiverId
* 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; -
mergeReceiverId
* 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; -
clearReceiverId
* 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; -
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.
-
setFungibleTokenType
* 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; -
setFungibleTokenType
* 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; -
mergeFungibleTokenType
* 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; -
clearFungibleTokenType
* 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; -
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.
-
setNonFungibleToken
* 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; -
setNonFungibleToken
* 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; -
mergeNonFungibleToken
* 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; -
clearNonFungibleToken
* 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;
-