Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class ContractCallLocalResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ContractCallLocalResponse,ContractCallLocalResponse.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ContractCallLocalResponse,ContractCallLocalResponse.Builder>
com.hedera.hashgraph.sdk.proto.ContractCallLocalResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ContractCallLocalResponseOrBuilder,Cloneable
- Enclosing class:
ContractCallLocalResponse
public static final class ContractCallLocalResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ContractCallLocalResponse,ContractCallLocalResponse.Builder>
implements ContractCallLocalResponseOrBuilder
* The response returned by a `ContractCallLocalQuery` transaction.Protobuf type
proto.ContractCallLocalResponse-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The result(s) returned by the function call, if successful.* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).* The result(s) returned by the function call, if successful.* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).boolean* The result(s) returned by the function call, if successful.boolean* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).* The result(s) returned by the function call, if successful.mergeHeader(ResponseHeader value) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).* The result(s) returned by the function call, if successful.setFunctionResult(ContractFunctionResult.Builder builderForValue) * The result(s) returned by the function call, if successful.setHeader(ResponseHeader value) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).setHeader(ResponseHeader.Builder builderForValue) * The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (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, 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()* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1;- Specified by:
hasHeaderin interfaceContractCallLocalResponseOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1;- Specified by:
getHeaderin interfaceContractCallLocalResponseOrBuilder- Returns:
- The header.
-
setHeader
* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1; -
setHeader
* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1; -
mergeHeader
* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1; -
clearHeader
* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1; -
hasFunctionResult
public boolean hasFunctionResult()* The result(s) returned by the function call, if successful. <p> If the call failed this value SHALL be unset.
.proto.ContractFunctionResult functionResult = 2;- Specified by:
hasFunctionResultin interfaceContractCallLocalResponseOrBuilder- Returns:
- Whether the functionResult field is set.
-
getFunctionResult
* The result(s) returned by the function call, if successful. <p> If the call failed this value SHALL be unset.
.proto.ContractFunctionResult functionResult = 2;- Specified by:
getFunctionResultin interfaceContractCallLocalResponseOrBuilder- Returns:
- The functionResult.
-
setFunctionResult
* The result(s) returned by the function call, if successful. <p> If the call failed this value SHALL be unset.
.proto.ContractFunctionResult functionResult = 2; -
setFunctionResult
public ContractCallLocalResponse.Builder setFunctionResult(ContractFunctionResult.Builder builderForValue) * The result(s) returned by the function call, if successful. <p> If the call failed this value SHALL be unset.
.proto.ContractFunctionResult functionResult = 2; -
mergeFunctionResult
* The result(s) returned by the function call, if successful. <p> If the call failed this value SHALL be unset.
.proto.ContractFunctionResult functionResult = 2; -
clearFunctionResult
* The result(s) returned by the function call, if successful. <p> If the call failed this value SHALL be unset.
.proto.ContractFunctionResult functionResult = 2;
-