Class Protocol.SuspensionMessage.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.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 typedev.restate.service.protocol.SuspensionMessage
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Protocol.SuspensionMessage.BuilderaddAllEntryIndexes(java.lang.Iterable<? extends java.lang.Integer> values)This list represents any of the entry_index the invocation is waiting on to progress.Protocol.SuspensionMessage.BuilderaddEntryIndexes(int value)This list represents any of the entry_index the invocation is waiting on to progress.Protocol.SuspensionMessagebuild()Protocol.SuspensionMessagebuildPartial()Protocol.SuspensionMessage.Builderclear()Protocol.SuspensionMessage.BuilderclearEntryIndexes()This list represents any of the entry_index the invocation is waiting on to progress.Protocol.SuspensionMessagegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetEntryIndexes(int index)This list represents any of the entry_index the invocation is waiting on to progress.intgetEntryIndexesCount()This list represents any of the entry_index the invocation is waiting on to progress.java.util.List<java.lang.Integer>getEntryIndexesList()This list represents any of the entry_index the invocation is waiting on to progress.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Protocol.SuspensionMessage.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Protocol.SuspensionMessage.BuildermergeFrom(com.google.protobuf.Message other)Protocol.SuspensionMessage.BuildermergeFrom(Protocol.SuspensionMessage other)Protocol.SuspensionMessage.BuildersetEntryIndexes(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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Protocol.SuspensionMessage.Builder>
-
clear
public Protocol.SuspensionMessage.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Protocol.SuspensionMessage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Protocol.SuspensionMessage.Builder>
-
getDefaultInstanceForType
public Protocol.SuspensionMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Protocol.SuspensionMessage build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Protocol.SuspensionMessage buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Protocol.SuspensionMessage.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Protocol.SuspensionMessage.Builder>
-
mergeFrom
public Protocol.SuspensionMessage.Builder mergeFrom(Protocol.SuspensionMessage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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 java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Protocol.SuspensionMessage.Builder>- Throws:
java.io.IOException
-
getEntryIndexesList
public java.util.List<java.lang.Integer> 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:
getEntryIndexesListin 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:
getEntryIndexesCountin 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:
getEntryIndexesin interfaceProtocol.SuspensionMessageOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The entryIndexes at the given index.
-
setEntryIndexes
public Protocol.SuspensionMessage.Builder setEntryIndexes(int index, int value)
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
public Protocol.SuspensionMessage.Builder addEntryIndexes(int value)
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
public Protocol.SuspensionMessage.Builder addAllEntryIndexes(java.lang.Iterable<? extends java.lang.Integer> values)
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
public Protocol.SuspensionMessage.Builder 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.
-
-