java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<GetByKeyQuery,GetByKeyQuery.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<GetByKeyQuery,GetByKeyQuery.Builder>
com.hedera.hashgraph.sdk.proto.GetByKeyQuery.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,GetByKeyQueryOrBuilder,Cloneable
- Enclosing class:
GetByKeyQuery
public static final class GetByKeyQuery.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<GetByKeyQuery,GetByKeyQuery.Builder>
implements GetByKeyQueryOrBuilder
* Query all accounts, claims, files, and smart contract instances whose associated keys include the given Key. > This query is no longer supported.Protobuf type
proto.GetByKeyQuery-
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).clearKey()* The key to search for.* 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).getKey()* The key to search for.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).booleanhasKey()* The key to search for.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).* The key to search for.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).* The key to search for.setKey(Key.Builder builderForValue) * The key to search for.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 interfaceGetByKeyQueryOrBuilder- 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 interfaceGetByKeyQueryOrBuilder- 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; -
hasKey
public boolean hasKey()* The key to search for. It MUST NOT contain a contractID nor a ThresholdKey.
.proto.Key key = 2;- Specified by:
hasKeyin interfaceGetByKeyQueryOrBuilder- Returns:
- Whether the key field is set.
-
getKey
* The key to search for. It MUST NOT contain a contractID nor a ThresholdKey.
.proto.Key key = 2;- Specified by:
getKeyin interfaceGetByKeyQueryOrBuilder- Returns:
- The key.
-
setKey
* The key to search for. It MUST NOT contain a contractID nor a ThresholdKey.
.proto.Key key = 2; -
setKey
* The key to search for. It MUST NOT contain a contractID nor a ThresholdKey.
.proto.Key key = 2; -
mergeKey
* The key to search for. It MUST NOT contain a contractID nor a ThresholdKey.
.proto.Key key = 2; -
clearKey
* The key to search for. It MUST NOT contain a contractID nor a ThresholdKey.
.proto.Key key = 2;
-