Class ProxyStaker.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ProxyStaker,ProxyStaker.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ProxyStaker,ProxyStaker.Builder>
com.hedera.hashgraph.sdk.proto.ProxyStaker.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, ProxyStakerOrBuilder, Cloneable
Enclosing class:
ProxyStaker

public static final class ProxyStaker.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ProxyStaker,ProxyStaker.Builder> implements ProxyStakerOrBuilder
 *
 information about a single account that is proxy staking
 
Protobuf type proto.ProxyStaker
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * The Account ID that is proxy staking
    * The number of hbars that are currently proxy staked
    * The Account ID that is proxy staking
    long
    * The number of hbars that are currently proxy staked
    boolean
    * The Account ID that is proxy staking
    * The Account ID that is proxy staking
    * The Account ID that is proxy staking
    * The Account ID that is proxy staking
    setAmount(long value)
    * The number of hbars that are currently proxy staked

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasAccountID

      public boolean hasAccountID()
       *
       The Account ID that is proxy staking
       
      .proto.AccountID accountID = 1;
      Specified by:
      hasAccountID in interface ProxyStakerOrBuilder
      Returns:
      Whether the accountID field is set.
    • getAccountID

      public AccountID getAccountID()
       *
       The Account ID that is proxy staking
       
      .proto.AccountID accountID = 1;
      Specified by:
      getAccountID in interface ProxyStakerOrBuilder
      Returns:
      The accountID.
    • setAccountID

      public ProxyStaker.Builder setAccountID(AccountID value)
       *
       The Account ID that is proxy staking
       
      .proto.AccountID accountID = 1;
    • setAccountID

      public ProxyStaker.Builder setAccountID(AccountID.Builder builderForValue)
       *
       The Account ID that is proxy staking
       
      .proto.AccountID accountID = 1;
    • mergeAccountID

      public ProxyStaker.Builder mergeAccountID(AccountID value)
       *
       The Account ID that is proxy staking
       
      .proto.AccountID accountID = 1;
    • clearAccountID

      public ProxyStaker.Builder clearAccountID()
       *
       The Account ID that is proxy staking
       
      .proto.AccountID accountID = 1;
    • getAmount

      public long getAmount()
       *
       The number of hbars that are currently proxy staked
       
      int64 amount = 2;
      Specified by:
      getAmount in interface ProxyStakerOrBuilder
      Returns:
      The amount.
    • setAmount

      public ProxyStaker.Builder setAmount(long value)
       *
       The number of hbars that are currently proxy staked
       
      int64 amount = 2;
      Parameters:
      value - The amount to set.
      Returns:
      This builder for chaining.
    • clearAmount

      public ProxyStaker.Builder clearAmount()
       *
       The number of hbars that are currently proxy staked
       
      int64 amount = 2;
      Returns:
      This builder for chaining.