Class InternalCallContext.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<InternalCallContext,InternalCallContext.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<InternalCallContext,InternalCallContext.Builder>
com.hedera.hashgraph.sdk.proto.InternalCallContext.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, InternalCallContextOrBuilder, Cloneable
Enclosing class:
InternalCallContext

public static final class InternalCallContext.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<InternalCallContext,InternalCallContext.Builder> implements InternalCallContextOrBuilder
 *
 Context of an internal call in an EVM transaction that is not otherwise externalized.<br/>
 This message does not say anything about whether an EVM transaction is itself a logical
 transaction in a Hiero transactional unit. It simply provides context on an internal
 message call within an EVM transaction.
 
Protobuf type proto.InternalCallContext
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * The call data for the call.<br/>
    * The gas available for the call.<br/>
    * The value sent with the call.<br/>
    com.google.protobuf.ByteString
    * The call data for the call.<br/>
    long
    * The gas available for the call.<br/>
    long
    * The value sent with the call.<br/>
    setCallData(com.google.protobuf.ByteString value)
    * The call data for the call.<br/>
    setGas(long value)
    * The gas available for the call.<br/>
    setValue(long value)
    * The value sent with the call.<br/>

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getGas

      public long getGas()
       *
       The gas available for the call.<br/>
       
      uint64 gas = 1;
      Specified by:
      getGas in interface InternalCallContextOrBuilder
      Returns:
      The gas.
    • setGas

      public InternalCallContext.Builder setGas(long value)
       *
       The gas available for the call.<br/>
       
      uint64 gas = 1;
      Parameters:
      value - The gas to set.
      Returns:
      This builder for chaining.
    • clearGas

      public InternalCallContext.Builder clearGas()
       *
       The gas available for the call.<br/>
       
      uint64 gas = 1;
      Returns:
      This builder for chaining.
    • getValue

      public long getValue()
       *
       The value sent with the call.<br/>
       
      uint64 value = 2;
      Specified by:
      getValue in interface InternalCallContextOrBuilder
      Returns:
      The value.
    • setValue

      public InternalCallContext.Builder setValue(long value)
       *
       The value sent with the call.<br/>
       
      uint64 value = 2;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public InternalCallContext.Builder clearValue()
       *
       The value sent with the call.<br/>
       
      uint64 value = 2;
      Returns:
      This builder for chaining.
    • getCallData

      public com.google.protobuf.ByteString getCallData()
       *
       The call data for the call.<br/>
       
      bytes call_data = 3;
      Specified by:
      getCallData in interface InternalCallContextOrBuilder
      Returns:
      The callData.
    • setCallData

      public InternalCallContext.Builder setCallData(com.google.protobuf.ByteString value)
       *
       The call data for the call.<br/>
       
      bytes call_data = 3;
      Parameters:
      value - The callData to set.
      Returns:
      This builder for chaining.
    • clearCallData

      public InternalCallContext.Builder clearCallData()
       *
       The call data for the call.<br/>
       
      bytes call_data = 3;
      Returns:
      This builder for chaining.