Class CryptoGetStakersQuery.Builder

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

public static final class CryptoGetStakersQuery.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<CryptoGetStakersQuery,CryptoGetStakersQuery.Builder> implements CryptoGetStakersQueryOrBuilder
 *
 Get all the accounts that are proxy staking to this account. For each of
 them, give the amount currently staked. This was never implemented.
 
Protobuf type proto.CryptoGetStakersQuery
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * The Account ID for which the records should be retrieved
    * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
    * The Account ID for which the records should be retrieved
    * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
    boolean
    * The Account ID for which the records should be retrieved
    boolean
    * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
    * The Account ID for which the records should be retrieved
    * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
    * The Account ID for which the records should be retrieved
    * The Account ID for which the records should be retrieved
    * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
    setHeader(QueryHeader.Builder builderForValue)
    * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).

    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

    • hasHeader

      public boolean hasHeader()
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       
      .proto.QueryHeader header = 1;
      Specified by:
      hasHeader in interface CryptoGetStakersQueryOrBuilder
      Returns:
      Whether the header field is set.
    • getHeader

      public QueryHeader getHeader()
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       
      .proto.QueryHeader header = 1;
      Specified by:
      getHeader in interface CryptoGetStakersQueryOrBuilder
      Returns:
      The header.
    • setHeader

      public CryptoGetStakersQuery.Builder setHeader(QueryHeader value)
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       
      .proto.QueryHeader header = 1;
    • setHeader

      public CryptoGetStakersQuery.Builder setHeader(QueryHeader.Builder builderForValue)
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       
      .proto.QueryHeader header = 1;
    • mergeHeader

      public CryptoGetStakersQuery.Builder mergeHeader(QueryHeader value)
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       
      .proto.QueryHeader header = 1;
    • clearHeader

      public CryptoGetStakersQuery.Builder clearHeader()
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       
      .proto.QueryHeader header = 1;
    • hasAccountID

      public boolean hasAccountID()
       *
       The Account ID for which the records should be retrieved
       
      .proto.AccountID accountID = 2;
      Specified by:
      hasAccountID in interface CryptoGetStakersQueryOrBuilder
      Returns:
      Whether the accountID field is set.
    • getAccountID

      public AccountID getAccountID()
       *
       The Account ID for which the records should be retrieved
       
      .proto.AccountID accountID = 2;
      Specified by:
      getAccountID in interface CryptoGetStakersQueryOrBuilder
      Returns:
      The accountID.
    • setAccountID

      public CryptoGetStakersQuery.Builder setAccountID(AccountID value)
       *
       The Account ID for which the records should be retrieved
       
      .proto.AccountID accountID = 2;
    • setAccountID

      public CryptoGetStakersQuery.Builder setAccountID(AccountID.Builder builderForValue)
       *
       The Account ID for which the records should be retrieved
       
      .proto.AccountID accountID = 2;
    • mergeAccountID

      public CryptoGetStakersQuery.Builder mergeAccountID(AccountID value)
       *
       The Account ID for which the records should be retrieved
       
      .proto.AccountID accountID = 2;
    • clearAccountID

      public CryptoGetStakersQuery.Builder clearAccountID()
       *
       The Account ID for which the records should be retrieved
       
      .proto.AccountID accountID = 2;