Class CryptoGetInfoQuery.Builder

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

public static final class CryptoGetInfoQuery.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<CryptoGetInfoQuery,CryptoGetInfoQuery.Builder> implements CryptoGetInfoQueryOrBuilder
 *
 A query to read information for an account.

 The returned information SHALL include balance.<br/>
 The returned information SHALL NOT include allowances.<br/>
 The returned information SHALL NOT include token relationships.<br/>
 The returned information SHALL NOT include account records.
 
Protobuf type proto.CryptoGetInfoQuery
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * The account ID for which information is requested
    * 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 information is requested
    * 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 information is requested
    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 information is requested
    * 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 information is requested
    * The account ID for which information is requested
    * 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 CryptoGetInfoQueryOrBuilder
      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 CryptoGetInfoQueryOrBuilder
      Returns:
      The header.
    • setHeader

      public CryptoGetInfoQuery.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 CryptoGetInfoQuery.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 CryptoGetInfoQuery.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 CryptoGetInfoQuery.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 information is requested
       
      .proto.AccountID accountID = 2;
      Specified by:
      hasAccountID in interface CryptoGetInfoQueryOrBuilder
      Returns:
      Whether the accountID field is set.
    • getAccountID

      public AccountID getAccountID()
       *
       The account ID for which information is requested
       
      .proto.AccountID accountID = 2;
      Specified by:
      getAccountID in interface CryptoGetInfoQueryOrBuilder
      Returns:
      The accountID.
    • setAccountID

      public CryptoGetInfoQuery.Builder setAccountID(AccountID value)
       *
       The account ID for which information is requested
       
      .proto.AccountID accountID = 2;
    • setAccountID

      public CryptoGetInfoQuery.Builder setAccountID(AccountID.Builder builderForValue)
       *
       The account ID for which information is requested
       
      .proto.AccountID accountID = 2;
    • mergeAccountID

      public CryptoGetInfoQuery.Builder mergeAccountID(AccountID value)
       *
       The account ID for which information is requested
       
      .proto.AccountID accountID = 2;
    • clearAccountID

      public CryptoGetInfoQuery.Builder clearAccountID()
       *
       The account ID for which information is requested
       
      .proto.AccountID accountID = 2;