Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class PendingAirdropRecord.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<PendingAirdropRecord,PendingAirdropRecord.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<PendingAirdropRecord,PendingAirdropRecord.Builder>
com.hedera.hashgraph.sdk.proto.PendingAirdropRecord.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,PendingAirdropRecordOrBuilder,Cloneable
- Enclosing class:
PendingAirdropRecord
public static final class PendingAirdropRecord.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<PendingAirdropRecord,PendingAirdropRecord.Builder>
implements PendingAirdropRecordOrBuilder
* A record of a new pending airdrop.Protobuf type
proto.PendingAirdropRecord-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* A unique, composite, identifier for a pending airdrop.* A single pending airdrop amount.* A unique, composite, identifier for a pending airdrop.* A single pending airdrop amount.boolean* A unique, composite, identifier for a pending airdrop.boolean* A single pending airdrop amount.* A unique, composite, identifier for a pending airdrop.* A single pending airdrop amount.* A unique, composite, identifier for a pending airdrop.setPendingAirdropId(PendingAirdropId.Builder builderForValue) * A unique, composite, identifier for a pending airdrop.* A single pending airdrop amount.setPendingAirdropValue(PendingAirdropValue.Builder builderForValue) * A single pending airdrop amount.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
-
hasPendingAirdropId
public boolean hasPendingAirdropId()* A unique, composite, identifier for a pending airdrop. <p> This field is REQUIRED.
.proto.PendingAirdropId pending_airdrop_id = 1;- Specified by:
hasPendingAirdropIdin interfacePendingAirdropRecordOrBuilder- Returns:
- Whether the pendingAirdropId field is set.
-
getPendingAirdropId
* A unique, composite, identifier for a pending airdrop. <p> This field is REQUIRED.
.proto.PendingAirdropId pending_airdrop_id = 1;- Specified by:
getPendingAirdropIdin interfacePendingAirdropRecordOrBuilder- Returns:
- The pendingAirdropId.
-
setPendingAirdropId
* A unique, composite, identifier for a pending airdrop. <p> This field is REQUIRED.
.proto.PendingAirdropId pending_airdrop_id = 1; -
setPendingAirdropId
* A unique, composite, identifier for a pending airdrop. <p> This field is REQUIRED.
.proto.PendingAirdropId pending_airdrop_id = 1; -
mergePendingAirdropId
* A unique, composite, identifier for a pending airdrop. <p> This field is REQUIRED.
.proto.PendingAirdropId pending_airdrop_id = 1; -
clearPendingAirdropId
* A unique, composite, identifier for a pending airdrop. <p> This field is REQUIRED.
.proto.PendingAirdropId pending_airdrop_id = 1; -
hasPendingAirdropValue
public boolean hasPendingAirdropValue()* A single pending airdrop amount. <p> If the pending airdrop is for a fungible/common token this field is REQUIRED and SHALL be the current amount of tokens offered.<br/> If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT be set.
.proto.PendingAirdropValue pending_airdrop_value = 2;- Specified by:
hasPendingAirdropValuein interfacePendingAirdropRecordOrBuilder- Returns:
- Whether the pendingAirdropValue field is set.
-
getPendingAirdropValue
* A single pending airdrop amount. <p> If the pending airdrop is for a fungible/common token this field is REQUIRED and SHALL be the current amount of tokens offered.<br/> If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT be set.
.proto.PendingAirdropValue pending_airdrop_value = 2;- Specified by:
getPendingAirdropValuein interfacePendingAirdropRecordOrBuilder- Returns:
- The pendingAirdropValue.
-
setPendingAirdropValue
* A single pending airdrop amount. <p> If the pending airdrop is for a fungible/common token this field is REQUIRED and SHALL be the current amount of tokens offered.<br/> If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT be set.
.proto.PendingAirdropValue pending_airdrop_value = 2; -
setPendingAirdropValue
public PendingAirdropRecord.Builder setPendingAirdropValue(PendingAirdropValue.Builder builderForValue) * A single pending airdrop amount. <p> If the pending airdrop is for a fungible/common token this field is REQUIRED and SHALL be the current amount of tokens offered.<br/> If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT be set.
.proto.PendingAirdropValue pending_airdrop_value = 2; -
mergePendingAirdropValue
* A single pending airdrop amount. <p> If the pending airdrop is for a fungible/common token this field is REQUIRED and SHALL be the current amount of tokens offered.<br/> If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT be set.
.proto.PendingAirdropValue pending_airdrop_value = 2; -
clearPendingAirdropValue
* A single pending airdrop amount. <p> If the pending airdrop is for a fungible/common token this field is REQUIRED and SHALL be the current amount of tokens offered.<br/> If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT be set.
.proto.PendingAirdropValue pending_airdrop_value = 2;
-