Interface Protocol.StartMessageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Protocol.StartMessage
,Protocol.StartMessage.Builder
- Enclosing class:
- Protocol
public static interface Protocol.StartMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionInvocation id that can be used for logging.com.google.protobuf.ByteString
Invocation id that can be used for logging.com.google.protobuf.ByteString
getId()
Unique id of the invocation.getKey()
If this invocation has a key associated (e.g.com.google.protobuf.ByteString
If this invocation has a key associated (e.g.int
uint32 known_entries = 3;
boolean
bool partial_state = 5;
getStateMap
(int index) protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDint
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDprotolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDgetStateMapOrBuilder
(int index) protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDList<? extends Protocol.StartMessage.StateEntryOrBuilder>
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
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;
- Returns:
- The id.
-
getDebugId
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;
- Returns:
- The debugId.
-
getDebugIdBytes
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;
- Returns:
- The bytes for debugId.
-
getKnownEntries
int getKnownEntries()uint32 known_entries = 3;
- Returns:
- The knownEntries.
-
getStateMapList
List<Protocol.StartMessage.StateEntry> getStateMapList()protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
-
getStateMap
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
-
getStateMapCount
int getStateMapCount()protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
-
getStateMapOrBuilderList
List<? extends Protocol.StartMessage.StateEntryOrBuilder> getStateMapOrBuilderList()protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
-
getStateMapOrBuilder
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated .dev.restate.service.protocol.StartMessage.StateEntry state_map = 4;
-
getPartialState
boolean getPartialState()bool partial_state = 5;
- Returns:
- The partialState.
-
getKey
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;
- Returns:
- The key.
-
getKeyBytes
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;
- Returns:
- The bytes for key.
-