Class Protocol.StartMessage.StateEntry.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Protocol.StartMessage.StateEntry.Builder>
com.google.protobuf.GeneratedMessage.Builder<Protocol.StartMessage.StateEntry.Builder>
dev.restate.generated.service.protocol.Protocol.StartMessage.StateEntry.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Protocol.StartMessage.StateEntryOrBuilder, Cloneable
Enclosing class:
Protocol.StartMessage.StateEntry

public static final class Protocol.StartMessage.StateEntry.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protocol.StartMessage.StateEntry.Builder> implements Protocol.StartMessage.StateEntryOrBuilder
Protobuf type dev.restate.service.protocol.StartMessage.StateEntry
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Protocol.StartMessage.StateEntry.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Protocol.StartMessage.StateEntry.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Protocol.StartMessage.StateEntry.Builder>
    • getDefaultInstanceForType

      public Protocol.StartMessage.StateEntry getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Protocol.StartMessage.StateEntry buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Protocol.StartMessage.StateEntry.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protocol.StartMessage.StateEntry.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Protocol.StartMessage.StateEntry.Builder>
    • mergeFrom

      public Protocol.StartMessage.StateEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Protocol.StartMessage.StateEntry.Builder>
      Throws:
      IOException
    • getKey

      public com.google.protobuf.ByteString getKey()
      bytes key = 1;
      Specified by:
      getKey in interface Protocol.StartMessage.StateEntryOrBuilder
      Returns:
      The key.
    • setKey

      public Protocol.StartMessage.StateEntry.Builder setKey(com.google.protobuf.ByteString value)
      bytes key = 1;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      bytes key = 1;
      Returns:
      This builder for chaining.
    • getValue

      public com.google.protobuf.ByteString getValue()
       If value is an empty byte array,
       then it means the value is empty and not "missing" (e.g. empty string).
       
      bytes value = 2;
      Specified by:
      getValue in interface Protocol.StartMessage.StateEntryOrBuilder
      Returns:
      The value.
    • setValue

      public Protocol.StartMessage.StateEntry.Builder setValue(com.google.protobuf.ByteString value)
       If value is an empty byte array,
       then it means the value is empty and not "missing" (e.g. empty string).
       
      bytes value = 2;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

       If value is an empty byte array,
       then it means the value is empty and not "missing" (e.g. empty string).
       
      bytes value = 2;
      Returns:
      This builder for chaining.