Class Protocol
- java.lang.Object
-
- dev.restate.generated.service.protocol.Protocol
-
public final class Protocol extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProtocol.AwakeableEntryMessageKind: Completable JournalEntry Type: 0x0C00 + 3 Awakeables are addressed by an identifier exposed to the user.static interfaceProtocol.AwakeableEntryMessageOrBuilderstatic classProtocol.BackgroundInvokeEntryMessageKind: Non-Completable JournalEntry Type: 0x0C00 + 2static interfaceProtocol.BackgroundInvokeEntryMessageOrBuilderstatic classProtocol.ClearStateEntryMessageKind: Non-Completable JournalEntry Type: 0x0800 + 2static interfaceProtocol.ClearStateEntryMessageOrBuilderstatic classProtocol.CompleteAwakeableEntryMessageKind: Non-Completable JournalEntry Type: 0x0C00 + 4static interfaceProtocol.CompleteAwakeableEntryMessageOrBuilderstatic classProtocol.CompletionMessageType: 0x0000 + 1 Note: Acks to custom messages will have the `empty` field filled.static interfaceProtocol.CompletionMessageOrBuilderstatic classProtocol.ErrorMessageType: 0x0000 + 3static interfaceProtocol.ErrorMessageOrBuilderstatic classProtocol.FailureThis failure object carries user visible errors, e.g.static interfaceProtocol.FailureOrBuilderstatic classProtocol.GetStateEntryMessageKind: Completable JournalEntry Type: 0x0800 + 0static interfaceProtocol.GetStateEntryMessageOrBuilderstatic classProtocol.InvokeEntryMessageKind: Completable JournalEntry Type: 0x0C00 + 1static interfaceProtocol.InvokeEntryMessageOrBuilderstatic classProtocol.OutputStreamEntryMessageKind: Non-Completable JournalEntry Type: 0x0400 + 1static interfaceProtocol.OutputStreamEntryMessageOrBuilderstatic classProtocol.PollInputStreamEntryMessageKind: Completable JournalEntry Type: 0x0400 + 0static interfaceProtocol.PollInputStreamEntryMessageOrBuilderstatic classProtocol.SetStateEntryMessageKind: Non-Completable JournalEntry Type: 0x0800 + 1static interfaceProtocol.SetStateEntryMessageOrBuilderstatic classProtocol.SleepEntryMessageKind: Completable JournalEntry Type: 0x0C00 + 0static interfaceProtocol.SleepEntryMessageOrBuilderstatic classProtocol.StartMessageType: 0x0000 + 0static interfaceProtocol.StartMessageOrBuilderstatic classProtocol.SuspensionMessageType: 0x0000 + 2 Implementations MUST send this message when suspending an invocation.static interfaceProtocol.SuspensionMessageOrBuilder
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.protobuf.Descriptors.FileDescriptorgetDescriptor()static voidregisterAllExtensions(com.google.protobuf.ExtensionRegistry registry)static voidregisterAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
-
-
-
Method Detail
-
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()
-
-