Class Protocol
java.lang.Object
dev.restate.sdk.core.generated.protocol.Protocol
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCompletable: Yes Fallible: Yes Type: 0x0400 + 12static interfacestatic final classNotification for AttachInvocationCommandMessage Type: 0x8000 + 12static interfacestatic enumProtobuf enumdev.restate.service.protocol.BuiltInSignalstatic final classCompletable: Yes (two notifications: one with invocation id, then one with the actual result) Fallible: Yes Type: 0x0400 + Dstatic interfacestatic final classNotification for CallCommandMessage Type: 0x8000 + Dstatic interfacestatic final classNotification for CallCommandMessage and OneWayCallCommandMessage Type: 0x8000 + Estatic interfacestatic final classCompletable: No Fallible: No Type: 0x0400 + 5static interfacestatic final classCompletable: No Fallible: No Type: 0x0400 + 4static interfacestatic final classType: 0x0000 + 4static interfacestatic final classWe have this for backward compatibility, because we need to parse both old and new awakeable id.static interfacestatic final classCompletable: Yes Fallible: No Type: 0x0400 + Bstatic interfacestatic final classNotification for CompletePromiseCommandMessage Type: 0x8000 + Bstatic interfacestatic final classType: 0x0000 + 3 Implementations MUST send this message when the invocation lifecycle ends.static interfacestatic final classType: 0x0000 + 2static interfacestatic final classThis failure object carries user visible errors, e.g.static interfacestatic final classCompletable: No Fallible: No Type: 0x0400 + 7static interfacestatic final classCompletable: No Fallible: No Type: 0x0400 + 8static interfacestatic final classCompletable: Yes Fallible: Yes Type: 0x0400 + 13static interfacestatic final classNotification for GetInvocationOutputCommandMessage Type: 0x8000 + 13static interfacestatic final classCompletable: Yes Fallible: No Type: 0x0400 + 2static interfacestatic final classNotification for GetLazyStateCommandMessage Type: 0x8000 + 2static interfacestatic final classCompletable: Yes Fallible: No Type: 0x0400 + 6static interfacestatic final classNotification for GetLazyStateKeysCommandMessage Type: 0x8000 + 6static interfacestatic final classCompletable: Yes Fallible: No Type: 0x0400 + 9static interfacestatic final classNotification for GetPromiseCommandMessage Type: 0x8000 + 9static interfacestatic final classProtobuf typedev.restate.service.protocol.Headerstatic interfacestatic final classProtobuf typedev.restate.service.protocol.IdempotentRequestTargetstatic interfacestatic final classCompletable: No Fallible: No Type: 0x0400 + 0static interfacestatic final classA notification message follows the following duck-type:static interfacestatic final classCompletable: Yes (only one notification with invocation id) Fallible: Yes Type: 0x0400 + Estatic interfacestatic final classCompletable: No Fallible: No Type: 0x0400 + 1static interfacestatic final classCompletable: Yes Fallible: No Type: 0x0400 + Astatic interfacestatic final classNotification for PeekPromiseCommandMessage Type: 0x8000 + Astatic interfacestatic final classThis is a special control message to propose ctx.run completions to the runtime.static interfacestatic final classProposals for Run completions are sent through ProposeRunCompletionMessage Completable: Yes Fallible: No Type: 0x0400 + 11static interfacestatic final classNotification for RunCommandMessage Type: 0x8000 + 11static interfacestatic final classCompletable: No Fallible: Yes Type: 0x04000 + 10static interfacestatic enumService protocol version.static final classCompletable: No Fallible: No Type: 0x0400 + 3static interfacestatic final classNotification message for signals Type: 0xFBFFstatic interfacestatic final classCompletable: Yes Fallible: No Type: 0x0400 + Cstatic interfacestatic final classNotification for SleepCommandMessage Type: 0x8000 + Cstatic interfacestatic final classType: 0x0000 + 0static interfacestatic final classProtobuf typedev.restate.service.protocol.StateKeysstatic interfacestatic final classType: 0x0000 + 1 Implementations MUST send this message when suspending an invocation.static interfacestatic final classProtobuf typedev.restate.service.protocol.Valuestatic interfacestatic final classProtobuf typedev.restate.service.protocol.Voidstatic interfacestatic final classProtobuf typedev.restate.service.protocol.WorkflowTargetstatic interface -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.protobuf.Descriptors.FileDescriptorstatic voidregisterAllExtensions(com.google.protobuf.ExtensionRegistry registry) static voidregisterAllExtensions(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()
-