Class Protocol.SuspensionMessage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Protocol.SuspensionMessage.Builder>
com.google.protobuf.GeneratedMessage.Builder<Protocol.SuspensionMessage.Builder>
dev.restate.generated.service.protocol.Protocol.SuspensionMessage.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Protocol.SuspensionMessageOrBuilder
,Cloneable
- Enclosing class:
Protocol.SuspensionMessage
public static final class Protocol.SuspensionMessage.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Protocol.SuspensionMessage.Builder>
implements Protocol.SuspensionMessageOrBuilder
Type: 0x0000 + 2 Implementations MUST send this message when suspending an invocation.Protobuf type
dev.restate.service.protocol.SuspensionMessage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllEntryIndexes
(Iterable<? extends Integer> values) This list represents any of the entry_index the invocation is waiting on to progress.addEntryIndexes
(int value) This list represents any of the entry_index the invocation is waiting on to progress.build()
clear()
This list represents any of the entry_index the invocation is waiting on to progress.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
getEntryIndexes
(int index) This list represents any of the entry_index the invocation is waiting on to progress.int
This list represents any of the entry_index the invocation is waiting on to progress.This list represents any of the entry_index the invocation is waiting on to progress.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) setEntryIndexes
(int index, int value) This list represents any of the entry_index the invocation is waiting on to progress.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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Protocol.SuspensionMessage.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Protocol.SuspensionMessage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Protocol.SuspensionMessage.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Protocol.SuspensionMessage.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Protocol.SuspensionMessage.Builder>
-
mergeFrom
public Protocol.SuspensionMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Protocol.SuspensionMessage.Builder>
- Throws:
IOException
-
getEntryIndexesList
This list represents any of the entry_index the invocation is waiting on to progress. The runtime will resume the invocation as soon as one of the given entry_index is completed. This list MUST not be empty. False positive, entry_indexes is a valid plural of entry_indices. https://learn.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/i/index-indexes-indices
repeated uint32 entry_indexes = 1;
- Specified by:
getEntryIndexesList
in interfaceProtocol.SuspensionMessageOrBuilder
- Returns:
- A list containing the entryIndexes.
-
getEntryIndexesCount
public int getEntryIndexesCount()This list represents any of the entry_index the invocation is waiting on to progress. The runtime will resume the invocation as soon as one of the given entry_index is completed. This list MUST not be empty. False positive, entry_indexes is a valid plural of entry_indices. https://learn.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/i/index-indexes-indices
repeated uint32 entry_indexes = 1;
- Specified by:
getEntryIndexesCount
in interfaceProtocol.SuspensionMessageOrBuilder
- Returns:
- The count of entryIndexes.
-
getEntryIndexes
public int getEntryIndexes(int index) This list represents any of the entry_index the invocation is waiting on to progress. The runtime will resume the invocation as soon as one of the given entry_index is completed. This list MUST not be empty. False positive, entry_indexes is a valid plural of entry_indices. https://learn.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/i/index-indexes-indices
repeated uint32 entry_indexes = 1;
- Specified by:
getEntryIndexes
in interfaceProtocol.SuspensionMessageOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The entryIndexes at the given index.
-
setEntryIndexes
This list represents any of the entry_index the invocation is waiting on to progress. The runtime will resume the invocation as soon as one of the given entry_index is completed. This list MUST not be empty. False positive, entry_indexes is a valid plural of entry_indices. https://learn.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/i/index-indexes-indices
repeated uint32 entry_indexes = 1;
- Parameters:
index
- The index to set the value at.value
- The entryIndexes to set.- Returns:
- This builder for chaining.
-
addEntryIndexes
This list represents any of the entry_index the invocation is waiting on to progress. The runtime will resume the invocation as soon as one of the given entry_index is completed. This list MUST not be empty. False positive, entry_indexes is a valid plural of entry_indices. https://learn.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/i/index-indexes-indices
repeated uint32 entry_indexes = 1;
- Parameters:
value
- The entryIndexes to add.- Returns:
- This builder for chaining.
-
addAllEntryIndexes
This list represents any of the entry_index the invocation is waiting on to progress. The runtime will resume the invocation as soon as one of the given entry_index is completed. This list MUST not be empty. False positive, entry_indexes is a valid plural of entry_indices. https://learn.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/i/index-indexes-indices
repeated uint32 entry_indexes = 1;
- Parameters:
values
- The entryIndexes to add.- Returns:
- This builder for chaining.
-
clearEntryIndexes
This list represents any of the entry_index the invocation is waiting on to progress. The runtime will resume the invocation as soon as one of the given entry_index is completed. This list MUST not be empty. False positive, entry_indexes is a valid plural of entry_indices. https://learn.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/i/index-indexes-indices
repeated uint32 entry_indexes = 1;
- Returns:
- This builder for chaining.
-