Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
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 TypeMethodDescription* 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).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).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).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).setSolidityID(String value) * 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, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
hasHeaderin interfaceGetBySolidityIDQueryOrBuilder- Returns:
- Whether the header field is set.
-
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:
getHeaderin interfaceGetBySolidityIDQueryOrBuilder- Returns:
- The header.
-
setHeader
* 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
* 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
* 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
* 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
* A contract ID in the format used by Solidity. <p> This field is REQUIRED.
string solidityID = 2;- Specified by:
getSolidityIDin interfaceGetBySolidityIDQueryOrBuilder- 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:
getSolidityIDBytesin interfaceGetBySolidityIDQueryOrBuilder- Returns:
- The bytes for solidityID.
-
setSolidityID
* 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
* A contract ID in the format used by Solidity. <p> This field is REQUIRED.
string solidityID = 2;- Returns:
- This builder for chaining.
-
setSolidityIDBytes
* 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.
-