Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class EvmTransactionResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<EvmTransactionResult,EvmTransactionResult.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<EvmTransactionResult,EvmTransactionResult.Builder>
com.hedera.hashgraph.sdk.proto.EvmTransactionResult.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,EvmTransactionResultOrBuilder,Cloneable
- Enclosing class:
EvmTransactionResult
public static final class EvmTransactionResult.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<EvmTransactionResult,EvmTransactionResult.Builder>
implements EvmTransactionResultOrBuilder
* Results of executing a EVM transaction.<br/>Protobuf type
proto.EvmTransactionResult-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllContractNonces(Iterable<? extends ContractNonceInfo> values) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.addContractNonces(int index, ContractNonceInfo value) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.addContractNonces(int index, ContractNonceInfo.Builder builderForValue) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.addContractNonces(ContractNonceInfo.Builder builderForValue) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.* The Hedera id of the contract receiving the call.<br/>* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.* Any error message produced by the contract call.* If set, the id of the executed hook.* EVM gas used.* If not already externalized in a transaction body, the context of the internal call producing this result.* Result data from the function call.* The Hedera id of the caller.<br/>* In an EthereumTransaction, the nonce of the signer account at the end of the transaction.<br/>* The Hedera id of the contract receiving the call.<br/>getContractNonces(int index) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.int* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.* Any error message produced by the contract call.com.google.protobuf.ByteString* Any error message produced by the contract call.* If set, the id of the executed hook.long* EVM gas used.* If not already externalized in a transaction body, the context of the internal call producing this result.com.google.protobuf.ByteString* Result data from the function call.* The Hedera id of the caller.<br/>com.google.protobuf.Int64Value* In an EthereumTransaction, the nonce of the signer account at the end of the transaction.<br/>boolean* The Hedera id of the contract receiving the call.<br/>boolean* If set, the id of the executed hook.boolean* If not already externalized in a transaction body, the context of the internal call producing this result.boolean* The Hedera id of the caller.<br/>boolean* In an EthereumTransaction, the nonce of the signer account at the end of the transaction.<br/>mergeContractId(ContractID value) * The Hedera id of the contract receiving the call.<br/>mergeExecutedHookId(HookId value) * If set, the id of the executed hook.* If not already externalized in a transaction body, the context of the internal call producing this result.mergeSenderId(AccountID value) * The Hedera id of the caller.<br/>mergeSignerNonce(com.google.protobuf.Int64Value value) * In an EthereumTransaction, the nonce of the signer account at the end of the transaction.<br/>removeContractNonces(int index) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.setContractId(ContractID value) * The Hedera id of the contract receiving the call.<br/>setContractId(ContractID.Builder builderForValue) * The Hedera id of the contract receiving the call.<br/>setContractNonces(int index, ContractNonceInfo value) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.setContractNonces(int index, ContractNonceInfo.Builder builderForValue) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call.setErrorMessage(String value) * Any error message produced by the contract call.setErrorMessageBytes(com.google.protobuf.ByteString value) * Any error message produced by the contract call.setExecutedHookId(HookId value) * If set, the id of the executed hook.setExecutedHookId(HookId.Builder builderForValue) * If set, the id of the executed hook.setGasUsed(long value) * EVM gas used.* If not already externalized in a transaction body, the context of the internal call producing this result.setInternalCallContext(InternalCallContext.Builder builderForValue) * If not already externalized in a transaction body, the context of the internal call producing this result.setResultData(com.google.protobuf.ByteString value) * Result data from the function call.setSenderId(AccountID value) * The Hedera id of the caller.<br/>setSenderId(AccountID.Builder builderForValue) * The Hedera id of the caller.<br/>setSignerNonce(com.google.protobuf.Int64Value value) * In an EthereumTransaction, the nonce of the signer account at the end of the transaction.<br/>setSignerNonce(com.google.protobuf.Int64Value.Builder builderForValue) * In an EthereumTransaction, the nonce of the signer account at the end of the transaction.<br/>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
-
hasSenderId
public boolean hasSenderId()* The Hedera id of the caller.<br/>
.proto.AccountID sender_id = 1;- Specified by:
hasSenderIdin interfaceEvmTransactionResultOrBuilder- Returns:
- Whether the senderId field is set.
-
getSenderId
* The Hedera id of the caller.<br/>
.proto.AccountID sender_id = 1;- Specified by:
getSenderIdin interfaceEvmTransactionResultOrBuilder- Returns:
- The senderId.
-
setSenderId
* The Hedera id of the caller.<br/>
.proto.AccountID sender_id = 1; -
setSenderId
* The Hedera id of the caller.<br/>
.proto.AccountID sender_id = 1; -
mergeSenderId
* The Hedera id of the caller.<br/>
.proto.AccountID sender_id = 1; -
clearSenderId
* The Hedera id of the caller.<br/>
.proto.AccountID sender_id = 1; -
hasContractId
public boolean hasContractId()* The Hedera id of the contract receiving the call.<br/>
.proto.ContractID contract_id = 2;- Specified by:
hasContractIdin interfaceEvmTransactionResultOrBuilder- Returns:
- Whether the contractId field is set.
-
getContractId
* The Hedera id of the contract receiving the call.<br/>
.proto.ContractID contract_id = 2;- Specified by:
getContractIdin interfaceEvmTransactionResultOrBuilder- Returns:
- The contractId.
-
setContractId
* The Hedera id of the contract receiving the call.<br/>
.proto.ContractID contract_id = 2; -
setContractId
* The Hedera id of the contract receiving the call.<br/>
.proto.ContractID contract_id = 2; -
mergeContractId
* The Hedera id of the contract receiving the call.<br/>
.proto.ContractID contract_id = 2; -
clearContractId
* The Hedera id of the contract receiving the call.<br/>
.proto.ContractID contract_id = 2; -
getResultData
public com.google.protobuf.ByteString getResultData()* Result data from the function call.
bytes result_data = 3;- Specified by:
getResultDatain interfaceEvmTransactionResultOrBuilder- Returns:
- The resultData.
-
setResultData
* Result data from the function call.
bytes result_data = 3;- Parameters:
value- The resultData to set.- Returns:
- This builder for chaining.
-
clearResultData
* Result data from the function call.
bytes result_data = 3;- Returns:
- This builder for chaining.
-
getErrorMessage
* Any error message produced by the contract call. Max size of 100 bytes. <p> This SHALL be unset if the contract call succeeded.
string error_message = 4;- Specified by:
getErrorMessagein interfaceEvmTransactionResultOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()* Any error message produced by the contract call. Max size of 100 bytes. <p> This SHALL be unset if the contract call succeeded.
string error_message = 4;- Specified by:
getErrorMessageBytesin interfaceEvmTransactionResultOrBuilder- Returns:
- The bytes for errorMessage.
-
setErrorMessage
* Any error message produced by the contract call. Max size of 100 bytes. <p> This SHALL be unset if the contract call succeeded.
string error_message = 4;- Parameters:
value- The errorMessage to set.- Returns:
- This builder for chaining.
-
clearErrorMessage
* Any error message produced by the contract call. Max size of 100 bytes. <p> This SHALL be unset if the contract call succeeded.
string error_message = 4;- Returns:
- This builder for chaining.
-
setErrorMessageBytes
* Any error message produced by the contract call. Max size of 100 bytes. <p> This SHALL be unset if the contract call succeeded.
string error_message = 4;- Parameters:
value- The bytes for errorMessage to set.- Returns:
- This builder for chaining.
-
getGasUsed
public long getGasUsed()* EVM gas used.
uint64 gas_used = 5;- Specified by:
getGasUsedin interfaceEvmTransactionResultOrBuilder- Returns:
- The gasUsed.
-
setGasUsed
* EVM gas used.
uint64 gas_used = 5;- Parameters:
value- The gasUsed to set.- Returns:
- This builder for chaining.
-
clearGasUsed
* EVM gas used.
uint64 gas_used = 5;- Returns:
- This builder for chaining.
-
hasInternalCallContext
public boolean hasInternalCallContext()* If not already externalized in a transaction body, the context of the internal call producing this result.
.proto.InternalCallContext internal_call_context = 6;- Specified by:
hasInternalCallContextin interfaceEvmTransactionResultOrBuilder- Returns:
- Whether the internalCallContext field is set.
-
getInternalCallContext
* If not already externalized in a transaction body, the context of the internal call producing this result.
.proto.InternalCallContext internal_call_context = 6;- Specified by:
getInternalCallContextin interfaceEvmTransactionResultOrBuilder- Returns:
- The internalCallContext.
-
setInternalCallContext
* If not already externalized in a transaction body, the context of the internal call producing this result.
.proto.InternalCallContext internal_call_context = 6; -
setInternalCallContext
public EvmTransactionResult.Builder setInternalCallContext(InternalCallContext.Builder builderForValue) * If not already externalized in a transaction body, the context of the internal call producing this result.
.proto.InternalCallContext internal_call_context = 6; -
mergeInternalCallContext
* If not already externalized in a transaction body, the context of the internal call producing this result.
.proto.InternalCallContext internal_call_context = 6; -
clearInternalCallContext
* If not already externalized in a transaction body, the context of the internal call producing this result.
.proto.InternalCallContext internal_call_context = 6; -
hasExecutedHookId
public boolean hasExecutedHookId()* If set, the id of the executed hook.
.proto.HookId executed_hook_id = 7;- Specified by:
hasExecutedHookIdin interfaceEvmTransactionResultOrBuilder- Returns:
- Whether the executedHookId field is set.
-
getExecutedHookId
* If set, the id of the executed hook.
.proto.HookId executed_hook_id = 7;- Specified by:
getExecutedHookIdin interfaceEvmTransactionResultOrBuilder- Returns:
- The executedHookId.
-
setExecutedHookId
* If set, the id of the executed hook.
.proto.HookId executed_hook_id = 7; -
setExecutedHookId
* If set, the id of the executed hook.
.proto.HookId executed_hook_id = 7; -
mergeExecutedHookId
* If set, the id of the executed hook.
.proto.HookId executed_hook_id = 7; -
clearExecutedHookId
* If set, the id of the executed hook.
.proto.HookId executed_hook_id = 7; -
getContractNoncesList
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 8;- Specified by:
getContractNoncesListin interfaceEvmTransactionResultOrBuilder
-
getContractNoncesCount
public int getContractNoncesCount()* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 8;- Specified by:
getContractNoncesCountin interfaceEvmTransactionResultOrBuilder
-
getContractNonces
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 8;- Specified by:
getContractNoncesin interfaceEvmTransactionResultOrBuilder
-
setContractNonces
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 8; -
setContractNonces
public EvmTransactionResult.Builder setContractNonces(int index, ContractNonceInfo.Builder builderForValue) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 8; -
addContractNonces
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 8; -
addContractNonces
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 8; -
addContractNonces
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 8; -
addContractNonces
public EvmTransactionResult.Builder addContractNonces(int index, ContractNonceInfo.Builder builderForValue) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 8; -
addAllContractNonces
public EvmTransactionResult.Builder addAllContractNonces(Iterable<? extends ContractNonceInfo> values) * A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 8; -
clearContractNonces
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 8; -
removeContractNonces
* A list of contract account nonce values.<br/> This list SHALL contain a nonce value for each contract account modified as a result of this contract call. These nonce values SHALL be the value after the contract call is completed.
repeated .proto.ContractNonceInfo contract_nonces = 8; -
hasSignerNonce
public boolean hasSignerNonce()* In an EthereumTransaction, the nonce of the signer account at the end of the transaction.<br/>
.google.protobuf.Int64Value signer_nonce = 9;- Specified by:
hasSignerNoncein interfaceEvmTransactionResultOrBuilder- Returns:
- Whether the signerNonce field is set.
-
getSignerNonce
public com.google.protobuf.Int64Value getSignerNonce()* In an EthereumTransaction, the nonce of the signer account at the end of the transaction.<br/>
.google.protobuf.Int64Value signer_nonce = 9;- Specified by:
getSignerNoncein interfaceEvmTransactionResultOrBuilder- Returns:
- The signerNonce.
-
setSignerNonce
* In an EthereumTransaction, the nonce of the signer account at the end of the transaction.<br/>
.google.protobuf.Int64Value signer_nonce = 9; -
setSignerNonce
public EvmTransactionResult.Builder setSignerNonce(com.google.protobuf.Int64Value.Builder builderForValue) * In an EthereumTransaction, the nonce of the signer account at the end of the transaction.<br/>
.google.protobuf.Int64Value signer_nonce = 9; -
mergeSignerNonce
* In an EthereumTransaction, the nonce of the signer account at the end of the transaction.<br/>
.google.protobuf.Int64Value signer_nonce = 9; -
clearSignerNonce
* In an EthereumTransaction, the nonce of the signer account at the end of the transaction.<br/>
.google.protobuf.Int64Value signer_nonce = 9;
-