Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
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 TypeMethodDescription* The call data for the call.<br/>clearGas()* 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/>longgetGas()* The gas available for the call.<br/>longgetValue()* 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, 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
-
getGas
public long getGas()* The gas available for the call.<br/>
uint64 gas = 1;- Specified by:
getGasin interfaceInternalCallContextOrBuilder- Returns:
- The gas.
-
setGas
* The gas available for the call.<br/>
uint64 gas = 1;- Parameters:
value- The gas to set.- Returns:
- This builder for chaining.
-
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:
getValuein interfaceInternalCallContextOrBuilder- Returns:
- The value.
-
setValue
* The value sent with the call.<br/>
uint64 value = 2;- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
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:
getCallDatain interfaceInternalCallContextOrBuilder- Returns:
- The callData.
-
setCallData
* The call data for the call.<br/>
bytes call_data = 3;- Parameters:
value- The callData to set.- Returns:
- This builder for chaining.
-
clearCallData
* The call data for the call.<br/>
bytes call_data = 3;- Returns:
- This builder for chaining.
-