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,java.lang.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 typedev.restate.service.protocol.StartMessage
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Protocol.StartMessage.BuilderaddAllStateMap(java.lang.Iterable<? extends Protocol.StartMessage.StateEntry> values)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDProtocol.StartMessage.BuilderaddStateMap(int index, Protocol.StartMessage.StateEntry value)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDProtocol.StartMessage.BuilderaddStateMap(int index, Protocol.StartMessage.StateEntry.Builder builderForValue)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDProtocol.StartMessage.BuilderaddStateMap(Protocol.StartMessage.StateEntry value)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDProtocol.StartMessage.BuilderaddStateMap(Protocol.StartMessage.StateEntry.Builder builderForValue)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDProtocol.StartMessage.StateEntry.BuilderaddStateMapBuilder()protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDProtocol.StartMessage.StateEntry.BuilderaddStateMapBuilder(int index)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDProtocol.StartMessagebuild()Protocol.StartMessagebuildPartial()Protocol.StartMessage.Builderclear()Protocol.StartMessage.BuilderclearDebugId()Invocation id that can be used for logging.Protocol.StartMessage.BuilderclearId()Unique id of the invocation.Protocol.StartMessage.BuilderclearKey()If this invocation has a key associated (e.g.Protocol.StartMessage.BuilderclearKnownEntries()uint32 known_entries = 3;Protocol.StartMessage.BuilderclearPartialState()bool partial_state = 5;Protocol.StartMessage.BuilderclearStateMap()protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDjava.lang.StringgetDebugId()Invocation id that can be used for logging.com.google.protobuf.ByteStringgetDebugIdBytes()Invocation id that can be used for logging.Protocol.StartMessagegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.ByteStringgetId()Unique id of the invocation.java.lang.StringgetKey()If this invocation has a key associated (e.g.com.google.protobuf.ByteStringgetKeyBytes()If this invocation has a key associated (e.g.intgetKnownEntries()uint32 known_entries = 3;booleangetPartialState()bool partial_state = 5;Protocol.StartMessage.StateEntrygetStateMap(int index)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDProtocol.StartMessage.StateEntry.BuildergetStateMapBuilder(int index)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDjava.util.List<Protocol.StartMessage.StateEntry.Builder>getStateMapBuilderList()protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDintgetStateMapCount()protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDjava.util.List<Protocol.StartMessage.StateEntry>getStateMapList()protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDProtocol.StartMessage.StateEntryOrBuildergetStateMapOrBuilder(int index)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDjava.util.List<? extends Protocol.StartMessage.StateEntryOrBuilder>getStateMapOrBuilderList()protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Protocol.StartMessage.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Protocol.StartMessage.BuildermergeFrom(com.google.protobuf.Message other)Protocol.StartMessage.BuildermergeFrom(Protocol.StartMessage other)Protocol.StartMessage.BuilderremoveStateMap(int index)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDProtocol.StartMessage.BuildersetDebugId(java.lang.String value)Invocation id that can be used for logging.Protocol.StartMessage.BuildersetDebugIdBytes(com.google.protobuf.ByteString value)Invocation id that can be used for logging.Protocol.StartMessage.BuildersetId(com.google.protobuf.ByteString value)Unique id of the invocation.Protocol.StartMessage.BuildersetKey(java.lang.String value)If this invocation has a key associated (e.g.Protocol.StartMessage.BuildersetKeyBytes(com.google.protobuf.ByteString value)If this invocation has a key associated (e.g.Protocol.StartMessage.BuildersetKnownEntries(int value)uint32 known_entries = 3;Protocol.StartMessage.BuildersetPartialState(boolean value)bool partial_state = 5;Protocol.StartMessage.BuildersetStateMap(int index, Protocol.StartMessage.StateEntry value)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDProtocol.StartMessage.BuildersetStateMap(int index, Protocol.StartMessage.StateEntry.Builder builderForValue)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Protocol.StartMessage.Builder>
-
clear
public Protocol.StartMessage.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Protocol.StartMessage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Protocol.StartMessage.Builder>
-
getDefaultInstanceForType
public Protocol.StartMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Protocol.StartMessage build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Protocol.StartMessage buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Protocol.StartMessage.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Protocol.StartMessage.Builder>
-
mergeFrom
public Protocol.StartMessage.Builder mergeFrom(Protocol.StartMessage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Protocol.StartMessage.Builder>
-
mergeFrom
public Protocol.StartMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Protocol.StartMessage.Builder>- Throws:
java.io.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:
getIdin interfaceProtocol.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
public Protocol.StartMessage.Builder 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 java.lang.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:
getDebugIdin interfaceProtocol.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:
getDebugIdBytesin interfaceProtocol.StartMessageOrBuilder- Returns:
- The bytes for debugId.
-
setDebugId
public Protocol.StartMessage.Builder setDebugId(java.lang.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:
getKnownEntriesin interfaceProtocol.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 java.util.List<Protocol.StartMessage.StateEntry> getStateMapList()
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;- Specified by:
getStateMapListin interfaceProtocol.StartMessageOrBuilder
-
getStateMapCount
public int getStateMapCount()
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;- Specified by:
getStateMapCountin interfaceProtocol.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:
getStateMapin interfaceProtocol.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
public Protocol.StartMessage.Builder addStateMap(Protocol.StartMessage.StateEntry value)
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
public Protocol.StartMessage.Builder addStateMap(Protocol.StartMessage.StateEntry.Builder builderForValue)
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(java.lang.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:
getStateMapOrBuilderin interfaceProtocol.StartMessageOrBuilder
-
getStateMapOrBuilderList
public java.util.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:
getStateMapOrBuilderListin interfaceProtocol.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 java.util.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:
getPartialStatein interfaceProtocol.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 java.lang.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:
getKeyin interfaceProtocol.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:
getKeyBytesin interfaceProtocol.StartMessageOrBuilder- Returns:
- The bytes for key.
-
setKey
public Protocol.StartMessage.Builder setKey(java.lang.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.
-
-