Class Protocol.StartMessage.Builder

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

public static final class Protocol.StartMessage.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protocol.StartMessage.Builder> implements Protocol.StartMessageOrBuilder
 Type: 0x0000 + 0
 
Protobuf type dev.restate.service.protocol.StartMessage
  • 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.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.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.Builder>
    • getDefaultInstanceForType

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

      public Protocol.StartMessage 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 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.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.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.Builder>
    • mergeFrom

      public Protocol.StartMessage.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.Builder>
      Throws:
      IOException
    • getId

      public com.google.protobuf.ByteString getId()
       Unique id of the invocation. This id is unique across invocations and won't change when replaying the journal.
       
      bytes id = 1;
      Specified by:
      getId in interface Protocol.StartMessageOrBuilder
      Returns:
      The id.
    • setId

      public Protocol.StartMessage.Builder setId(com.google.protobuf.ByteString value)
       Unique id of the invocation. This id is unique across invocations and won't change when replaying the journal.
       
      bytes id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

       Unique id of the invocation. This id is unique across invocations and won't change when replaying the journal.
       
      bytes id = 1;
      Returns:
      This builder for chaining.
    • getDebugId

      public String getDebugId()
       Invocation id that can be used for logging.
       The user can use this id to address this invocation in admin and status introspection apis.
       
      string debug_id = 2;
      Specified by:
      getDebugId in interface Protocol.StartMessageOrBuilder
      Returns:
      The debugId.
    • getDebugIdBytes

      public com.google.protobuf.ByteString getDebugIdBytes()
       Invocation id that can be used for logging.
       The user can use this id to address this invocation in admin and status introspection apis.
       
      string debug_id = 2;
      Specified by:
      getDebugIdBytes in interface Protocol.StartMessageOrBuilder
      Returns:
      The bytes for debugId.
    • setDebugId

      public Protocol.StartMessage.Builder setDebugId(String value)
       Invocation id that can be used for logging.
       The user can use this id to address this invocation in admin and status introspection apis.
       
      string debug_id = 2;
      Parameters:
      value - The debugId to set.
      Returns:
      This builder for chaining.
    • clearDebugId

      public Protocol.StartMessage.Builder clearDebugId()
       Invocation id that can be used for logging.
       The user can use this id to address this invocation in admin and status introspection apis.
       
      string debug_id = 2;
      Returns:
      This builder for chaining.
    • setDebugIdBytes

      public Protocol.StartMessage.Builder setDebugIdBytes(com.google.protobuf.ByteString value)
       Invocation id that can be used for logging.
       The user can use this id to address this invocation in admin and status introspection apis.
       
      string debug_id = 2;
      Parameters:
      value - The bytes for debugId to set.
      Returns:
      This builder for chaining.
    • getKnownEntries

      public int getKnownEntries()
      uint32 known_entries = 3;
      Specified by:
      getKnownEntries in interface Protocol.StartMessageOrBuilder
      Returns:
      The knownEntries.
    • setKnownEntries

      public Protocol.StartMessage.Builder setKnownEntries(int value)
      uint32 known_entries = 3;
      Parameters:
      value - The knownEntries to set.
      Returns:
      This builder for chaining.
    • clearKnownEntries

      public Protocol.StartMessage.Builder clearKnownEntries()
      uint32 known_entries = 3;
      Returns:
      This builder for chaining.
    • getStateMapList

      public List<Protocol.StartMessage.StateEntry> getStateMapList()
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
      Specified by:
      getStateMapList in interface Protocol.StartMessageOrBuilder
    • getStateMapCount

      public int getStateMapCount()
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
      Specified by:
      getStateMapCount in interface Protocol.StartMessageOrBuilder
    • getStateMap

      public Protocol.StartMessage.StateEntry getStateMap(int index)
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
      Specified by:
      getStateMap in interface Protocol.StartMessageOrBuilder
    • setStateMap

      public Protocol.StartMessage.Builder setStateMap(int index, Protocol.StartMessage.StateEntry value)
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • setStateMap

      public Protocol.StartMessage.Builder setStateMap(int index, Protocol.StartMessage.StateEntry.Builder builderForValue)
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • addStateMap

       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • addStateMap

      public Protocol.StartMessage.Builder addStateMap(int index, Protocol.StartMessage.StateEntry value)
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • addStateMap

       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • addStateMap

      public Protocol.StartMessage.Builder addStateMap(int index, Protocol.StartMessage.StateEntry.Builder builderForValue)
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • addAllStateMap

      public Protocol.StartMessage.Builder addAllStateMap(Iterable<? extends Protocol.StartMessage.StateEntry> values)
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • clearStateMap

      public Protocol.StartMessage.Builder clearStateMap()
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • removeStateMap

      public Protocol.StartMessage.Builder removeStateMap(int index)
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • getStateMapBuilder

      public Protocol.StartMessage.StateEntry.Builder getStateMapBuilder(int index)
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • getStateMapOrBuilder

      public Protocol.StartMessage.StateEntryOrBuilder getStateMapOrBuilder(int index)
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
      Specified by:
      getStateMapOrBuilder in interface Protocol.StartMessageOrBuilder
    • getStateMapOrBuilderList

      public List<? extends Protocol.StartMessage.StateEntryOrBuilder> getStateMapOrBuilderList()
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
      Specified by:
      getStateMapOrBuilderList in interface Protocol.StartMessageOrBuilder
    • addStateMapBuilder

      public Protocol.StartMessage.StateEntry.Builder addStateMapBuilder()
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • addStateMapBuilder

      public Protocol.StartMessage.StateEntry.Builder addStateMapBuilder(int index)
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • getStateMapBuilderList

      public List<Protocol.StartMessage.StateEntry.Builder> getStateMapBuilderList()
       protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
       
      repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
    • getPartialState

      public boolean getPartialState()
      bool partial_state = 5;
      Specified by:
      getPartialState in interface Protocol.StartMessageOrBuilder
      Returns:
      The partialState.
    • setPartialState

      public Protocol.StartMessage.Builder setPartialState(boolean value)
      bool partial_state = 5;
      Parameters:
      value - The partialState to set.
      Returns:
      This builder for chaining.
    • clearPartialState

      public Protocol.StartMessage.Builder clearPartialState()
      bool partial_state = 5;
      Returns:
      This builder for chaining.
    • getKey

      public String getKey()
       If this invocation has a key associated (e.g. for objects and workflows), then this key is filled in. Empty otherwise.
       
      string key = 6;
      Specified by:
      getKey in interface Protocol.StartMessageOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
       If this invocation has a key associated (e.g. for objects and workflows), then this key is filled in. Empty otherwise.
       
      string key = 6;
      Specified by:
      getKeyBytes in interface Protocol.StartMessageOrBuilder
      Returns:
      The bytes for key.
    • setKey

      public Protocol.StartMessage.Builder setKey(String value)
       If this invocation has a key associated (e.g. for objects and workflows), then this key is filled in. Empty otherwise.
       
      string key = 6;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      public Protocol.StartMessage.Builder clearKey()
       If this invocation has a key associated (e.g. for objects and workflows), then this key is filled in. Empty otherwise.
       
      string key = 6;
      Returns:
      This builder for chaining.
    • setKeyBytes

      public Protocol.StartMessage.Builder setKeyBytes(com.google.protobuf.ByteString value)
       If this invocation has a key associated (e.g. for objects and workflows), then this key is filled in. Empty otherwise.
       
      string key = 6;
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.