Class CryptoGetStakersResponse.Builder

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

public static final class CryptoGetStakersResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<CryptoGetStakersResponse,CryptoGetStakersResponse.Builder> implements CryptoGetStakersResponseOrBuilder
 *
 Response when the client sends the node CryptoGetStakersQuery
 
Protobuf type proto.CryptoGetStakersResponse
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
    * List of accounts proxy staking to this account, and the amount each is currently proxy staking
    * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
    * List of accounts proxy staking to this account, and the amount each is currently proxy staking
    boolean
    * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
    boolean
    * List of accounts proxy staking to this account, and the amount each is currently proxy staking
    * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
    * List of accounts proxy staking to this account, and the amount each is currently proxy staking
    * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
    * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
    * List of accounts proxy staking to this account, and the amount each is currently proxy staking
    * List of accounts proxy staking to this account, and the amount each is currently proxy staking

    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()
       *
       The standard response information for queries.<br/>
       This includes the values requested in the `QueryHeader`
       (cost, state proof, both, or neither).
       
      .proto.ResponseHeader header = 1;
      Specified by:
      hasHeader in interface CryptoGetStakersResponseOrBuilder
      Returns:
      Whether the header field is set.
    • getHeader

      public ResponseHeader getHeader()
       *
       The standard response information for queries.<br/>
       This includes the values requested in the `QueryHeader`
       (cost, state proof, both, or neither).
       
      .proto.ResponseHeader header = 1;
      Specified by:
      getHeader in interface CryptoGetStakersResponseOrBuilder
      Returns:
      The header.
    • setHeader

       *
       The standard response information for queries.<br/>
       This includes the values requested in the `QueryHeader`
       (cost, state proof, both, or neither).
       
      .proto.ResponseHeader header = 1;
    • setHeader

      public CryptoGetStakersResponse.Builder setHeader(ResponseHeader.Builder builderForValue)
       *
       The standard response information for queries.<br/>
       This includes the values requested in the `QueryHeader`
       (cost, state proof, both, or neither).
       
      .proto.ResponseHeader header = 1;
    • mergeHeader

       *
       The standard response information for queries.<br/>
       This includes the values requested in the `QueryHeader`
       (cost, state proof, both, or neither).
       
      .proto.ResponseHeader header = 1;
    • clearHeader

      public CryptoGetStakersResponse.Builder clearHeader()
       *
       The standard response information for queries.<br/>
       This includes the values requested in the `QueryHeader`
       (cost, state proof, both, or neither).
       
      .proto.ResponseHeader header = 1;
    • hasStakers

      public boolean hasStakers()
       *
       List of accounts proxy staking to this account, and the amount each is
       currently proxy staking
       
      .proto.AllProxyStakers stakers = 3;
      Specified by:
      hasStakers in interface CryptoGetStakersResponseOrBuilder
      Returns:
      Whether the stakers field is set.
    • getStakers

      public AllProxyStakers getStakers()
       *
       List of accounts proxy staking to this account, and the amount each is
       currently proxy staking
       
      .proto.AllProxyStakers stakers = 3;
      Specified by:
      getStakers in interface CryptoGetStakersResponseOrBuilder
      Returns:
      The stakers.
    • setStakers

       *
       List of accounts proxy staking to this account, and the amount each is
       currently proxy staking
       
      .proto.AllProxyStakers stakers = 3;
    • setStakers

      public CryptoGetStakersResponse.Builder setStakers(AllProxyStakers.Builder builderForValue)
       *
       List of accounts proxy staking to this account, and the amount each is
       currently proxy staking
       
      .proto.AllProxyStakers stakers = 3;
    • mergeStakers

       *
       List of accounts proxy staking to this account, and the amount each is
       currently proxy staking
       
      .proto.AllProxyStakers stakers = 3;
    • clearStakers

      public CryptoGetStakersResponse.Builder clearStakers()
       *
       List of accounts proxy staking to this account, and the amount each is
       currently proxy staking
       
      .proto.AllProxyStakers stakers = 3;