Class EvmTransactionResult

java.lang.Object
com.google.protobuf.AbstractMessageLite<EvmTransactionResult,EvmTransactionResult.Builder>
com.google.protobuf.GeneratedMessageLite<EvmTransactionResult,EvmTransactionResult.Builder>
com.hedera.hashgraph.sdk.proto.EvmTransactionResult
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, EvmTransactionResultOrBuilder

@Generated public final class EvmTransactionResult extends com.google.protobuf.GeneratedMessageLite<EvmTransactionResult,EvmTransactionResult.Builder> implements EvmTransactionResultOrBuilder
 *
 Results of executing a EVM transaction.<br/>
 
Protobuf type proto.EvmTransactionResult
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    * Results of executing a EVM transaction.<br/>

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

    com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
    * 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.
    * 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/>
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<EvmTransactionResult>
     

    Methods inherited from class com.google.protobuf.GeneratedMessageLite

    createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

    • SENDER_ID_FIELD_NUMBER

      public static final int SENDER_ID_FIELD_NUMBER
      See Also:
    • CONTRACT_ID_FIELD_NUMBER

      public static final int CONTRACT_ID_FIELD_NUMBER
      See Also:
    • RESULT_DATA_FIELD_NUMBER

      public static final int RESULT_DATA_FIELD_NUMBER
      See Also:
    • ERROR_MESSAGE_FIELD_NUMBER

      public static final int ERROR_MESSAGE_FIELD_NUMBER
      See Also:
    • GAS_USED_FIELD_NUMBER

      public static final int GAS_USED_FIELD_NUMBER
      See Also:
    • INTERNAL_CALL_CONTEXT_FIELD_NUMBER

      public static final int INTERNAL_CALL_CONTEXT_FIELD_NUMBER
      See Also:
    • EXECUTED_HOOK_ID_FIELD_NUMBER

      public static final int EXECUTED_HOOK_ID_FIELD_NUMBER
      See Also:
    • CONTRACT_NONCES_FIELD_NUMBER

      public static final int CONTRACT_NONCES_FIELD_NUMBER
      See Also:
    • SIGNER_NONCE_FIELD_NUMBER

      public static final int SIGNER_NONCE_FIELD_NUMBER
      See Also:
  • Method Details

    • hasSenderId

      public boolean hasSenderId()
       *
       The Hedera id of the caller.<br/>
       
      .proto.AccountID sender_id = 1;
      Specified by:
      hasSenderId in interface EvmTransactionResultOrBuilder
      Returns:
      Whether the senderId field is set.
    • getSenderId

      public AccountID getSenderId()
       *
       The Hedera id of the caller.<br/>
       
      .proto.AccountID sender_id = 1;
      Specified by:
      getSenderId in interface EvmTransactionResultOrBuilder
      Returns:
      The senderId.
    • hasContractId

      public boolean hasContractId()
       *
       The Hedera id of the contract receiving the call.<br/>
       
      .proto.ContractID contract_id = 2;
      Specified by:
      hasContractId in interface EvmTransactionResultOrBuilder
      Returns:
      Whether the contractId field is set.
    • getContractId

      public ContractID getContractId()
       *
       The Hedera id of the contract receiving the call.<br/>
       
      .proto.ContractID contract_id = 2;
      Specified by:
      getContractId in interface EvmTransactionResultOrBuilder
      Returns:
      The contractId.
    • getResultData

      public com.google.protobuf.ByteString getResultData()
       *
       Result data from the function call.
       
      bytes result_data = 3;
      Specified by:
      getResultData in interface EvmTransactionResultOrBuilder
      Returns:
      The resultData.
    • getErrorMessage

      public String 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:
      getErrorMessage in interface EvmTransactionResultOrBuilder
      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:
      getErrorMessageBytes in interface EvmTransactionResultOrBuilder
      Returns:
      The bytes for errorMessage.
    • getGasUsed

      public long getGasUsed()
       *
       EVM gas used.
       
      uint64 gas_used = 5;
      Specified by:
      getGasUsed in interface EvmTransactionResultOrBuilder
      Returns:
      The gasUsed.
    • 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:
      hasInternalCallContext in interface EvmTransactionResultOrBuilder
      Returns:
      Whether the internalCallContext field is set.
    • getInternalCallContext

      public InternalCallContext 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:
      getInternalCallContext in interface EvmTransactionResultOrBuilder
      Returns:
      The internalCallContext.
    • hasExecutedHookId

      public boolean hasExecutedHookId()
       *
       If set, the id of the executed hook.
       
      .proto.HookId executed_hook_id = 7;
      Specified by:
      hasExecutedHookId in interface EvmTransactionResultOrBuilder
      Returns:
      Whether the executedHookId field is set.
    • getExecutedHookId

      public HookId getExecutedHookId()
       *
       If set, the id of the executed hook.
       
      .proto.HookId executed_hook_id = 7;
      Specified by:
      getExecutedHookId in interface EvmTransactionResultOrBuilder
      Returns:
      The executedHookId.
    • getContractNoncesList

      public List<ContractNonceInfo> 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:
      getContractNoncesList in interface EvmTransactionResultOrBuilder
    • getContractNoncesOrBuilderList

      public List<? extends ContractNonceInfoOrBuilder> getContractNoncesOrBuilderList()
       *
       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;
    • 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:
      getContractNoncesCount in interface EvmTransactionResultOrBuilder
    • getContractNonces

      public ContractNonceInfo 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. These nonce values SHALL be the value
       after the contract call is completed.
       
      repeated .proto.ContractNonceInfo contract_nonces = 8;
      Specified by:
      getContractNonces in interface EvmTransactionResultOrBuilder
    • getContractNoncesOrBuilder

      public ContractNonceInfoOrBuilder getContractNoncesOrBuilder(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. 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:
      hasSignerNonce in interface EvmTransactionResultOrBuilder
      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:
      getSignerNonce in interface EvmTransactionResultOrBuilder
      Returns:
      The signerNonce.
    • parseFrom

      public static EvmTransactionResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EvmTransactionResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EvmTransactionResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EvmTransactionResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EvmTransactionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EvmTransactionResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EvmTransactionResult parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EvmTransactionResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EvmTransactionResult parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EvmTransactionResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EvmTransactionResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EvmTransactionResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static EvmTransactionResult.Builder newBuilder()
    • newBuilder

      public static EvmTransactionResult.Builder newBuilder(EvmTransactionResult prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<EvmTransactionResult,EvmTransactionResult.Builder>
    • getDefaultInstance

      public static EvmTransactionResult getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<EvmTransactionResult> parser()