Class Protocol
java.lang.Object
dev.restate.sdk.core.generated.protocol.Protocol
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Completable: Yes Fallible: Yes Type: 0x0400 + 12static interface
static final class
Notification for AttachInvocationCommandMessage Type: 0x8000 + 12static interface
static enum
Protobuf enumdev.restate.service.protocol.BuiltInSignal
static final class
Completable: Yes (two notifications: one with invocation id, then one with the actual result) Fallible: Yes Type: 0x0400 + Dstatic interface
static final class
Notification for CallCommandMessage Type: 0x8000 + Dstatic interface
static final class
Notification for CallCommandMessage and OneWayCallCommandMessage Type: 0x8000 + Estatic interface
static final class
Completable: No Fallible: No Type: 0x0400 + 5static interface
static final class
Completable: No Fallible: No Type: 0x0400 + 4static interface
static final class
Type: 0x0000 + 4static interface
static final class
We have this for backward compatibility, because we need to parse both old and new awakeable id.static interface
static final class
Completable: Yes Fallible: No Type: 0x0400 + Bstatic interface
static final class
Notification for CompletePromiseCommandMessage Type: 0x8000 + Bstatic interface
static final class
Type: 0x0000 + 3 Implementations MUST send this message when the invocation lifecycle ends.static interface
static final class
Type: 0x0000 + 2static interface
static final class
This failure object carries user visible errors, e.g.static interface
static final class
Completable: No Fallible: No Type: 0x0400 + 7static interface
static final class
Completable: No Fallible: No Type: 0x0400 + 8static interface
static final class
Completable: Yes Fallible: Yes Type: 0x0400 + 13static interface
static final class
Notification for GetInvocationOutputCommandMessage Type: 0x8000 + 13static interface
static final class
Completable: Yes Fallible: No Type: 0x0400 + 2static interface
static final class
Notification for GetLazyStateCommandMessage Type: 0x8000 + 2static interface
static final class
Completable: Yes Fallible: No Type: 0x0400 + 6static interface
static final class
Notification for GetLazyStateKeysCommandMessage Type: 0x8000 + 6static interface
static final class
Completable: Yes Fallible: No Type: 0x0400 + 9static interface
static final class
Notification for GetPromiseCommandMessage Type: 0x8000 + 9static interface
static final class
Protobuf typedev.restate.service.protocol.Header
static interface
static final class
Protobuf typedev.restate.service.protocol.IdempotentRequestTarget
static interface
static final class
Completable: No Fallible: No Type: 0x0400 + 0static interface
static final class
A notification message follows the following duck-type:static interface
static final class
Completable: Yes (only one notification with invocation id) Fallible: Yes Type: 0x0400 + Estatic interface
static final class
Completable: No Fallible: No Type: 0x0400 + 1static interface
static final class
Completable: Yes Fallible: No Type: 0x0400 + Astatic interface
static final class
Notification for PeekPromiseCommandMessage Type: 0x8000 + Astatic interface
static final class
This is a special control message to propose ctx.run completions to the runtime.static interface
static final class
Proposals for Run completions are sent through ProposeRunCompletionMessage Completable: Yes Fallible: No Type: 0x0400 + 11static interface
static final class
Notification for RunCommandMessage Type: 0x8000 + 11static interface
static final class
Completable: No Fallible: Yes Type: 0x04000 + 10static interface
static enum
Service protocol version.static final class
Completable: No Fallible: No Type: 0x0400 + 3static interface
static final class
Notification message for signals Type: 0xFBFFstatic interface
static final class
Completable: Yes Fallible: No Type: 0x0400 + Cstatic interface
static final class
Notification for SleepCommandMessage Type: 0x8000 + Cstatic interface
static final class
Type: 0x0000 + 0static interface
static final class
Protobuf typedev.restate.service.protocol.StateKeys
static interface
static final class
Type: 0x0000 + 1 Implementations MUST send this message when suspending an invocation.static interface
static final class
Protobuf typedev.restate.service.protocol.Value
static interface
static final class
Protobuf typedev.restate.service.protocol.Void
static interface
static final class
Protobuf typedev.restate.service.protocol.WorkflowTarget
static interface
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.protobuf.Descriptors.FileDescriptor
static void
registerAllExtensions
(com.google.protobuf.ExtensionRegistry registry) static void
registerAllExtensions
(com.google.protobuf.ExtensionRegistryLite registry)
-
Method Details
-
registerAllExtensions
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) -
registerAllExtensions
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) -
getDescriptor
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()
-