Class GetBySolidityIDQuery.Builder

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

public static final class GetBySolidityIDQuery.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<GetBySolidityIDQuery,GetBySolidityIDQuery.Builder> implements GetBySolidityIDQueryOrBuilder
 *
 Query to read Contract, Account, and File identifiers for a smart
 contract given a Solidity identifier.
 
Protobuf type proto.GetBySolidityIDQuery
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * 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).
    * A contract ID in the format used by Solidity.
    * 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).
    * A contract ID in the format used by Solidity.
    com.google.protobuf.ByteString
    * A contract ID in the format used by Solidity.
    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).
    * 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).
    * 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).
    * A contract ID in the format used by Solidity.
    setSolidityIDBytes(com.google.protobuf.ByteString value)
    * A contract ID in the format used by Solidity.

    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 GetBySolidityIDQueryOrBuilder
      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 GetBySolidityIDQueryOrBuilder
      Returns:
      The header.
    • setHeader

      public GetBySolidityIDQuery.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 GetBySolidityIDQuery.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 GetBySolidityIDQuery.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 GetBySolidityIDQuery.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;
    • getSolidityID

      public String getSolidityID()
       *
       A contract ID in the format used by Solidity.
       <p>
       This field is REQUIRED.
       
      string solidityID = 2;
      Specified by:
      getSolidityID in interface GetBySolidityIDQueryOrBuilder
      Returns:
      The solidityID.
    • getSolidityIDBytes

      public com.google.protobuf.ByteString getSolidityIDBytes()
       *
       A contract ID in the format used by Solidity.
       <p>
       This field is REQUIRED.
       
      string solidityID = 2;
      Specified by:
      getSolidityIDBytes in interface GetBySolidityIDQueryOrBuilder
      Returns:
      The bytes for solidityID.
    • setSolidityID

      public GetBySolidityIDQuery.Builder setSolidityID(String value)
       *
       A contract ID in the format used by Solidity.
       <p>
       This field is REQUIRED.
       
      string solidityID = 2;
      Parameters:
      value - The solidityID to set.
      Returns:
      This builder for chaining.
    • clearSolidityID

      public GetBySolidityIDQuery.Builder clearSolidityID()
       *
       A contract ID in the format used by Solidity.
       <p>
       This field is REQUIRED.
       
      string solidityID = 2;
      Returns:
      This builder for chaining.
    • setSolidityIDBytes

      public GetBySolidityIDQuery.Builder setSolidityIDBytes(com.google.protobuf.ByteString value)
       *
       A contract ID in the format used by Solidity.
       <p>
       This field is REQUIRED.
       
      string solidityID = 2;
      Parameters:
      value - The bytes for solidityID to set.
      Returns:
      This builder for chaining.