Class EvmHookStorageSlot.Builder

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

public static final class EvmHookStorageSlot.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<EvmHookStorageSlot,EvmHookStorageSlot.Builder> implements EvmHookStorageSlotOrBuilder
 *
 A slot in the storage of an EVM hook.
 
Protobuf type com.hedera.hapi.node.hooks.EvmHookStorageSlot
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * The key of the slot.
    * If the slot is present and non-zero, its value.
    com.google.protobuf.ByteString
    * The key of the slot.
    com.google.protobuf.ByteString
    * If the slot is present and non-zero, its value.
    setKey(com.google.protobuf.ByteString value)
    * The key of the slot.
    setValue(com.google.protobuf.ByteString value)
    * If the slot is present and non-zero, its value.

    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

    • getKey

      public com.google.protobuf.ByteString getKey()
       *
       The key of the slot. Must use a minimal byte representation (no
       leading zeros); may not exceed 32 bytes in length.
       
      bytes key = 1;
      Specified by:
      getKey in interface EvmHookStorageSlotOrBuilder
      Returns:
      The key.
    • setKey

      public EvmHookStorageSlot.Builder setKey(com.google.protobuf.ByteString value)
       *
       The key of the slot. Must use a minimal byte representation (no
       leading zeros); may not exceed 32 bytes in length.
       
      bytes key = 1;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      public EvmHookStorageSlot.Builder clearKey()
       *
       The key of the slot. Must use a minimal byte representation (no
       leading zeros); may not exceed 32 bytes in length.
       
      bytes key = 1;
      Returns:
      This builder for chaining.
    • getValue

      public com.google.protobuf.ByteString getValue()
       *
       If the slot is present and non-zero, its value. Must use a minimal
       byte representation (no leading zeros); may not exceed 32 bytes in
       length Leaving this field empty in an update removes the slot from
       storage.
       
      bytes value = 2;
      Specified by:
      getValue in interface EvmHookStorageSlotOrBuilder
      Returns:
      The value.
    • setValue

      public EvmHookStorageSlot.Builder setValue(com.google.protobuf.ByteString value)
       *
       If the slot is present and non-zero, its value. Must use a minimal
       byte representation (no leading zeros); may not exceed 32 bytes in
       length Leaving this field empty in an update removes the slot from
       storage.
       
      bytes value = 2;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public EvmHookStorageSlot.Builder clearValue()
       *
       If the slot is present and non-zero, its value. Must use a minimal
       byte representation (no leading zeros); may not exceed 32 bytes in
       length Leaving this field empty in an update removes the slot from
       storage.
       
      bytes value = 2;
      Returns:
      This builder for chaining.