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

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

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

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

      public AccountPendingAirdrop.Builder 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:
      hasPreviousAirdrop in interface AccountPendingAirdropOrBuilder
      Returns:
      Whether the previousAirdrop field is set.
    • getPreviousAirdrop

      public PendingAirdropId 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:
      getPreviousAirdrop in interface AccountPendingAirdropOrBuilder
      Returns:
      The previousAirdrop.
    • setPreviousAirdrop

      public AccountPendingAirdrop.Builder setPreviousAirdrop(PendingAirdropId value)
       *
       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

      public AccountPendingAirdrop.Builder setPreviousAirdrop(PendingAirdropId.Builder builderForValue)
       *
       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

      public AccountPendingAirdrop.Builder mergePreviousAirdrop(PendingAirdropId value)
       *
       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

      public AccountPendingAirdrop.Builder 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:
      hasNextAirdrop in interface AccountPendingAirdropOrBuilder
      Returns:
      Whether the nextAirdrop field is set.
    • getNextAirdrop

      public PendingAirdropId 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:
      getNextAirdrop in interface AccountPendingAirdropOrBuilder
      Returns:
      The nextAirdrop.
    • setNextAirdrop

      public AccountPendingAirdrop.Builder 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".
       
      .proto.PendingAirdropId next_airdrop = 3;
    • setNextAirdrop

      public AccountPendingAirdrop.Builder 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".
       
      .proto.PendingAirdropId next_airdrop = 3;
    • mergeNextAirdrop

      public AccountPendingAirdrop.Builder 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".
       
      .proto.PendingAirdropId next_airdrop = 3;
    • clearNextAirdrop

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