Class CryptoGetLiveHashQuery.Builder

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

public static final class CryptoGetLiveHashQuery.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<CryptoGetLiveHashQuery,CryptoGetLiveHashQuery.Builder> implements CryptoGetLiveHashQueryOrBuilder
 *
 Request detail for a specific live hash associated to a specific account.
 
Protobuf type proto.CryptoGetLiveHashQuery
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * An account ID.<br/> The network SHALL return live hash information for this account, if successful.
    * The specific SHA-384 live hash to inspect
    * 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.<br/> The network SHALL return live hash information for this account, if successful.
    com.google.protobuf.ByteString
    * The specific SHA-384 live hash to inspect
    * 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.<br/> The network SHALL return live hash information for this account, if successful.
    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.<br/> The network SHALL return live hash information for this account, if successful.
    * 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.<br/> The network SHALL return live hash information for this account, if successful.
    * An account ID.<br/> The network SHALL return live hash information for this account, if successful.
    setHash(com.google.protobuf.ByteString value)
    * The specific SHA-384 live hash to inspect
    * 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 CryptoGetLiveHashQueryOrBuilder
      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 CryptoGetLiveHashQueryOrBuilder
      Returns:
      The header.
    • setHeader

      public CryptoGetLiveHashQuery.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 CryptoGetLiveHashQuery.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 CryptoGetLiveHashQuery.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 CryptoGetLiveHashQuery.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.<br/>
       The network SHALL return live hash information for this account,
       if successful.
       
      .proto.AccountID accountID = 2;
      Specified by:
      hasAccountID in interface CryptoGetLiveHashQueryOrBuilder
      Returns:
      Whether the accountID field is set.
    • getAccountID

      public AccountID getAccountID()
       *
       An account ID.<br/>
       The network SHALL return live hash information for this account,
       if successful.
       
      .proto.AccountID accountID = 2;
      Specified by:
      getAccountID in interface CryptoGetLiveHashQueryOrBuilder
      Returns:
      The accountID.
    • setAccountID

      public CryptoGetLiveHashQuery.Builder setAccountID(AccountID value)
       *
       An account ID.<br/>
       The network SHALL return live hash information for this account,
       if successful.
       
      .proto.AccountID accountID = 2;
    • setAccountID

      public CryptoGetLiveHashQuery.Builder setAccountID(AccountID.Builder builderForValue)
       *
       An account ID.<br/>
       The network SHALL return live hash information for this account,
       if successful.
       
      .proto.AccountID accountID = 2;
    • mergeAccountID

      public CryptoGetLiveHashQuery.Builder mergeAccountID(AccountID value)
       *
       An account ID.<br/>
       The network SHALL return live hash information for this account,
       if successful.
       
      .proto.AccountID accountID = 2;
    • clearAccountID

      public CryptoGetLiveHashQuery.Builder clearAccountID()
       *
       An account ID.<br/>
       The network SHALL return live hash information for this account,
       if successful.
       
      .proto.AccountID accountID = 2;
    • getHash

      public com.google.protobuf.ByteString getHash()
       *
       The specific SHA-384 live hash to inspect
       
      bytes hash = 3;
      Specified by:
      getHash in interface CryptoGetLiveHashQueryOrBuilder
      Returns:
      The hash.
    • setHash

      public CryptoGetLiveHashQuery.Builder setHash(com.google.protobuf.ByteString value)
       *
       The specific SHA-384 live hash to inspect
       
      bytes hash = 3;
      Parameters:
      value - The hash to set.
      Returns:
      This builder for chaining.
    • clearHash

      public CryptoGetLiveHashQuery.Builder clearHash()
       *
       The specific SHA-384 live hash to inspect
       
      bytes hash = 3;
      Returns:
      This builder for chaining.