Class EvmHookSlotKey.Builder

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

public static final class EvmHookSlotKey.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<EvmHookSlotKey,EvmHookSlotKey.Builder> implements EvmHookSlotKeyOrBuilder
 *
 The key of an EVM hook's storage slot.

 For each EVM hook, its storage is a mapping of 256-bit keys (or "words")
 to 256-bit values.
 
Protobuf type com.hedera.hapi.node.state.hooks.EvmHookSlotKey
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * The id of the EVM hook that owns this slot.
    * The EVM key of this slot.
    * The id of the EVM hook that owns this slot.
    com.google.protobuf.ByteString
    * The EVM key of this slot.
    boolean
    * The id of the EVM hook that owns this slot.
    * The id of the EVM hook that owns this slot.
    * The id of the EVM hook that owns this slot.
    setHookId(HookId.Builder builderForValue)
    * The id of the EVM hook that owns this slot.
    setKey(com.google.protobuf.ByteString value)
    * The EVM key of this slot.

    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

    • hasHookId

      public boolean hasHookId()
       *
       The id of the EVM hook that owns this slot.
       
      .proto.HookId hook_id = 1;
      Specified by:
      hasHookId in interface EvmHookSlotKeyOrBuilder
      Returns:
      Whether the hookId field is set.
    • getHookId

      public HookId getHookId()
       *
       The id of the EVM hook that owns this slot.
       
      .proto.HookId hook_id = 1;
      Specified by:
      getHookId in interface EvmHookSlotKeyOrBuilder
      Returns:
      The hookId.
    • setHookId

      public EvmHookSlotKey.Builder setHookId(HookId value)
       *
       The id of the EVM hook that owns this slot.
       
      .proto.HookId hook_id = 1;
    • setHookId

      public EvmHookSlotKey.Builder setHookId(HookId.Builder builderForValue)
       *
       The id of the EVM hook that owns this slot.
       
      .proto.HookId hook_id = 1;
    • mergeHookId

      public EvmHookSlotKey.Builder mergeHookId(HookId value)
       *
       The id of the EVM hook that owns this slot.
       
      .proto.HookId hook_id = 1;
    • clearHookId

      public EvmHookSlotKey.Builder clearHookId()
       *
       The id of the EVM hook that owns this slot.
       
      .proto.HookId hook_id = 1;
    • getKey

      public com.google.protobuf.ByteString getKey()
       *
       The EVM key of this slot. Must be the minimal bytes representation
       (no leading zeros).
       
      bytes key = 2;
      Specified by:
      getKey in interface EvmHookSlotKeyOrBuilder
      Returns:
      The key.
    • setKey

      public EvmHookSlotKey.Builder setKey(com.google.protobuf.ByteString value)
       *
       The EVM key of this slot. Must be the minimal bytes representation
       (no leading zeros).
       
      bytes key = 2;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      public EvmHookSlotKey.Builder clearKey()
       *
       The EVM key of this slot. Must be the minimal bytes representation
       (no leading zeros).
       
      bytes key = 2;
      Returns:
      This builder for chaining.