Class GetAccountDetailsQuery.Builder

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

public static final class GetAccountDetailsQuery.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<GetAccountDetailsQuery,GetAccountDetailsQuery.Builder> implements GetAccountDetailsQueryOrBuilder
 *
 Request detail information about an account.

 The returned information SHALL include balance and allowances.<br/>
 The returned information SHALL NOT include a list of account records.

 #### Important
 This query is a _privileged_ query. Only "system" accounts SHALL be
 permitted to submit this query.
 
Protobuf type proto.GetAccountDetailsQuery
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.
    * 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).
    * An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.
    * 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
    * An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.
    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).
    * An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.
    * 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).
    * An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.
    * An account ID for which information is requested <p> This value SHALL identify the account to be queried.<br/> This value MUST identify a valid account.<br/> This field is REQUIRED.
    * 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 GetAccountDetailsQueryOrBuilder
      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 GetAccountDetailsQueryOrBuilder
      Returns:
      The header.
    • setHeader

      public GetAccountDetailsQuery.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 GetAccountDetailsQuery.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 GetAccountDetailsQuery.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 GetAccountDetailsQuery.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()
       *
       An account ID for which information is requested
       <p>
       This value SHALL identify the account to be queried.<br/>
       This value MUST identify a valid account.<br/>
       This field is REQUIRED.
       
      .proto.AccountID account_id = 2;
      Specified by:
      hasAccountId in interface GetAccountDetailsQueryOrBuilder
      Returns:
      Whether the accountId field is set.
    • getAccountId

      public AccountID getAccountId()
       *
       An account ID for which information is requested
       <p>
       This value SHALL identify the account to be queried.<br/>
       This value MUST identify a valid account.<br/>
       This field is REQUIRED.
       
      .proto.AccountID account_id = 2;
      Specified by:
      getAccountId in interface GetAccountDetailsQueryOrBuilder
      Returns:
      The accountId.
    • setAccountId

      public GetAccountDetailsQuery.Builder setAccountId(AccountID value)
       *
       An account ID for which information is requested
       <p>
       This value SHALL identify the account to be queried.<br/>
       This value MUST identify a valid account.<br/>
       This field is REQUIRED.
       
      .proto.AccountID account_id = 2;
    • setAccountId

      public GetAccountDetailsQuery.Builder setAccountId(AccountID.Builder builderForValue)
       *
       An account ID for which information is requested
       <p>
       This value SHALL identify the account to be queried.<br/>
       This value MUST identify a valid account.<br/>
       This field is REQUIRED.
       
      .proto.AccountID account_id = 2;
    • mergeAccountId

      public GetAccountDetailsQuery.Builder mergeAccountId(AccountID value)
       *
       An account ID for which information is requested
       <p>
       This value SHALL identify the account to be queried.<br/>
       This value MUST identify a valid account.<br/>
       This field is REQUIRED.
       
      .proto.AccountID account_id = 2;
    • clearAccountId

      public GetAccountDetailsQuery.Builder clearAccountId()
       *
       An account ID for which information is requested
       <p>
       This value SHALL identify the account to be queried.<br/>
       This value MUST identify a valid account.<br/>
       This field is REQUIRED.
       
      .proto.AccountID account_id = 2;