Class GetAccountDetailsResponse.Builder

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

public static final class GetAccountDetailsResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<GetAccountDetailsResponse,GetAccountDetailsResponse.Builder> implements GetAccountDetailsResponseOrBuilder
 *
 A response to a `GetAccountDetailsQuery`.

 This SHALL contain the account details if requested and successful.
 
Protobuf type proto.GetAccountDetailsResponse
  • 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 GetAccountDetailsResponseOrBuilder
      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 GetAccountDetailsResponseOrBuilder
      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 GetAccountDetailsResponse.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 GetAccountDetailsResponse.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;
    • hasAccountDetails

      public boolean hasAccountDetails()
       *
       Details of the account.
       <p>
       A state proof MAY be generated for this field.
       
      .proto.GetAccountDetailsResponse.AccountDetails account_details = 2;
      Specified by:
      hasAccountDetails in interface GetAccountDetailsResponseOrBuilder
      Returns:
      Whether the accountDetails field is set.
    • getAccountDetails

      public GetAccountDetailsResponse.AccountDetails getAccountDetails()
       *
       Details of the account.
       <p>
       A state proof MAY be generated for this field.
       
      .proto.GetAccountDetailsResponse.AccountDetails account_details = 2;
      Specified by:
      getAccountDetails in interface GetAccountDetailsResponseOrBuilder
      Returns:
      The accountDetails.
    • setAccountDetails

       *
       Details of the account.
       <p>
       A state proof MAY be generated for this field.
       
      .proto.GetAccountDetailsResponse.AccountDetails account_details = 2;
    • setAccountDetails

       *
       Details of the account.
       <p>
       A state proof MAY be generated for this field.
       
      .proto.GetAccountDetailsResponse.AccountDetails account_details = 2;
    • mergeAccountDetails

       *
       Details of the account.
       <p>
       A state proof MAY be generated for this field.
       
      .proto.GetAccountDetailsResponse.AccountDetails account_details = 2;
    • clearAccountDetails

      public GetAccountDetailsResponse.Builder clearAccountDetails()
       *
       Details of the account.
       <p>
       A state proof MAY be generated for this field.
       
      .proto.GetAccountDetailsResponse.AccountDetails account_details = 2;