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
  • 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:
      hasPendingAirdropId in interface PendingAirdropRecordOrBuilder
      Returns:
      Whether the pendingAirdropId field is set.
    • getPendingAirdropId

      public PendingAirdropId getPendingAirdropId()
       *
       A unique, composite, identifier for a pending airdrop.
       <p>
       This field is REQUIRED.
       
      .proto.PendingAirdropId pending_airdrop_id = 1;
      Specified by:
      getPendingAirdropId in interface PendingAirdropRecordOrBuilder
      Returns:
      The pendingAirdropId.
    • setPendingAirdropId

      public PendingAirdropRecord.Builder setPendingAirdropId(PendingAirdropId value)
       *
       A unique, composite, identifier for a pending airdrop.
       <p>
       This field is REQUIRED.
       
      .proto.PendingAirdropId pending_airdrop_id = 1;
    • setPendingAirdropId

      public PendingAirdropRecord.Builder setPendingAirdropId(PendingAirdropId.Builder builderForValue)
       *
       A unique, composite, identifier for a pending airdrop.
       <p>
       This field is REQUIRED.
       
      .proto.PendingAirdropId pending_airdrop_id = 1;
    • mergePendingAirdropId

      public PendingAirdropRecord.Builder mergePendingAirdropId(PendingAirdropId value)
       *
       A unique, composite, identifier for a pending airdrop.
       <p>
       This field is REQUIRED.
       
      .proto.PendingAirdropId pending_airdrop_id = 1;
    • clearPendingAirdropId

      public PendingAirdropRecord.Builder 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:
      hasPendingAirdropValue in interface PendingAirdropRecordOrBuilder
      Returns:
      Whether the pendingAirdropValue field is set.
    • getPendingAirdropValue

      public PendingAirdropValue 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:
      getPendingAirdropValue in interface PendingAirdropRecordOrBuilder
      Returns:
      The pendingAirdropValue.
    • setPendingAirdropValue

      public PendingAirdropRecord.Builder setPendingAirdropValue(PendingAirdropValue value)
       *
       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

      public PendingAirdropRecord.Builder mergePendingAirdropValue(PendingAirdropValue value)
       *
       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

      public PendingAirdropRecord.Builder 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;