Class OrchestratorService.OrchestratorResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.OrchestratorResponse.Builder>
io.dapr.durabletask.implementation.protobuf.OrchestratorService.OrchestratorResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OrchestratorService.OrchestratorResponseOrBuilder,Cloneable
- Enclosing class:
- OrchestratorService.OrchestratorResponse
public static final class OrchestratorService.OrchestratorResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.OrchestratorResponse.Builder>
implements OrchestratorService.OrchestratorResponseOrBuilder
Protobuf type
OrchestratorResponse-
Method Summary
Modifier and TypeMethodDescriptionaddActions(int index, OrchestratorService.OrchestratorAction value) repeated .OrchestratorAction actions = 2;addActions(int index, OrchestratorService.OrchestratorAction.Builder builderForValue) repeated .OrchestratorAction actions = 2;repeated .OrchestratorAction actions = 2;addActions(OrchestratorService.OrchestratorAction.Builder builderForValue) repeated .OrchestratorAction actions = 2;repeated .OrchestratorAction actions = 2;addActionsBuilder(int index) repeated .OrchestratorAction actions = 2;addAllActions(Iterable<? extends OrchestratorService.OrchestratorAction> values) repeated .OrchestratorAction actions = 2;addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()repeated .OrchestratorAction actions = 2;string completionToken = 4;.google.protobuf.StringValue customStatus = 3;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) string instanceId = 1;The number of work item events that were processed by the orchestrator.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional .OrchestrationVersion version = 6;clone()getActions(int index) repeated .OrchestratorAction actions = 2;getActionsBuilder(int index) repeated .OrchestratorAction actions = 2;repeated .OrchestratorAction actions = 2;intrepeated .OrchestratorAction actions = 2;repeated .OrchestratorAction actions = 2;getActionsOrBuilder(int index) repeated .OrchestratorAction actions = 2;repeated .OrchestratorAction actions = 2;string completionToken = 4;com.google.protobuf.ByteStringstring completionToken = 4;com.google.protobuf.StringValue.google.protobuf.StringValue customStatus = 3;com.google.protobuf.StringValue.Builder.google.protobuf.StringValue customStatus = 3;com.google.protobuf.StringValueOrBuilder.google.protobuf.StringValue customStatus = 3;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorstring instanceId = 1;com.google.protobuf.ByteStringstring instanceId = 1;com.google.protobuf.Int32ValueThe number of work item events that were processed by the orchestrator.com.google.protobuf.Int32Value.BuilderThe number of work item events that were processed by the orchestrator.com.google.protobuf.Int32ValueOrBuilderThe number of work item events that were processed by the orchestrator.optional .OrchestrationVersion version = 6;optional .OrchestrationVersion version = 6;optional .OrchestrationVersion version = 6;boolean.google.protobuf.StringValue customStatus = 3;booleanThe number of work item events that were processed by the orchestrator.booleanoptional .OrchestrationVersion version = 6;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCustomStatus(com.google.protobuf.StringValue value) .google.protobuf.StringValue customStatus = 3;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeNumEventsProcessed(com.google.protobuf.Int32Value value) The number of work item events that were processed by the orchestrator.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) optional .OrchestrationVersion version = 6;removeActions(int index) repeated .OrchestratorAction actions = 2;setActions(int index, OrchestratorService.OrchestratorAction value) repeated .OrchestratorAction actions = 2;setActions(int index, OrchestratorService.OrchestratorAction.Builder builderForValue) repeated .OrchestratorAction actions = 2;setCompletionToken(String value) string completionToken = 4;setCompletionTokenBytes(com.google.protobuf.ByteString value) string completionToken = 4;setCustomStatus(com.google.protobuf.StringValue value) .google.protobuf.StringValue customStatus = 3;setCustomStatus(com.google.protobuf.StringValue.Builder builderForValue) .google.protobuf.StringValue customStatus = 3;setInstanceId(String value) string instanceId = 1;setInstanceIdBytes(com.google.protobuf.ByteString value) string instanceId = 1;setNumEventsProcessed(com.google.protobuf.Int32Value value) The number of work item events that were processed by the orchestrator.setNumEventsProcessed(com.google.protobuf.Int32Value.Builder builderForValue) The number of work item events that were processed by the orchestrator.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) optional .OrchestrationVersion version = 6;setVersion(OrchestratorService.OrchestrationVersion.Builder builderForValue) optional .OrchestrationVersion version = 6;Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.OrchestratorResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.OrchestratorResponse.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.GeneratedMessageV3.Builder<OrchestratorService.OrchestratorResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.OrchestratorResponse.Builder>
-
setField
public OrchestratorService.OrchestratorResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.OrchestratorResponse.Builder>
-
clearField
public OrchestratorService.OrchestratorResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.OrchestratorResponse.Builder>
-
clearOneof
public OrchestratorService.OrchestratorResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.OrchestratorResponse.Builder>
-
setRepeatedField
public OrchestratorService.OrchestratorResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.OrchestratorResponse.Builder>
-
addRepeatedField
public OrchestratorService.OrchestratorResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.OrchestratorResponse.Builder>
-
mergeFrom
public OrchestratorService.OrchestratorResponse.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OrchestratorService.OrchestratorResponse.Builder>
-
mergeFrom
public OrchestratorService.OrchestratorResponse.Builder mergeFrom(OrchestratorService.OrchestratorResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.OrchestratorResponse.Builder>
-
mergeFrom
public OrchestratorService.OrchestratorResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OrchestratorService.OrchestratorResponse.Builder>- Throws:
IOException
-
getInstanceId
string instanceId = 1;- Specified by:
getInstanceIdin interfaceOrchestratorService.OrchestratorResponseOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()string instanceId = 1;- Specified by:
getInstanceIdBytesin interfaceOrchestratorService.OrchestratorResponseOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
string instanceId = 1;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
string instanceId = 1;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
public OrchestratorService.OrchestratorResponse.Builder setInstanceIdBytes(com.google.protobuf.ByteString value) string instanceId = 1;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
getActionsList
repeated .OrchestratorAction actions = 2;- Specified by:
getActionsListin interfaceOrchestratorService.OrchestratorResponseOrBuilder
-
getActionsCount
public int getActionsCount()repeated .OrchestratorAction actions = 2;- Specified by:
getActionsCountin interfaceOrchestratorService.OrchestratorResponseOrBuilder
-
getActions
repeated .OrchestratorAction actions = 2;- Specified by:
getActionsin interfaceOrchestratorService.OrchestratorResponseOrBuilder
-
setActions
public OrchestratorService.OrchestratorResponse.Builder setActions(int index, OrchestratorService.OrchestratorAction value) repeated .OrchestratorAction actions = 2; -
setActions
public OrchestratorService.OrchestratorResponse.Builder setActions(int index, OrchestratorService.OrchestratorAction.Builder builderForValue) repeated .OrchestratorAction actions = 2; -
addActions
public OrchestratorService.OrchestratorResponse.Builder addActions(OrchestratorService.OrchestratorAction value) repeated .OrchestratorAction actions = 2; -
addActions
public OrchestratorService.OrchestratorResponse.Builder addActions(int index, OrchestratorService.OrchestratorAction value) repeated .OrchestratorAction actions = 2; -
addActions
public OrchestratorService.OrchestratorResponse.Builder addActions(OrchestratorService.OrchestratorAction.Builder builderForValue) repeated .OrchestratorAction actions = 2; -
addActions
public OrchestratorService.OrchestratorResponse.Builder addActions(int index, OrchestratorService.OrchestratorAction.Builder builderForValue) repeated .OrchestratorAction actions = 2; -
addAllActions
public OrchestratorService.OrchestratorResponse.Builder addAllActions(Iterable<? extends OrchestratorService.OrchestratorAction> values) repeated .OrchestratorAction actions = 2; -
clearActions
repeated .OrchestratorAction actions = 2; -
removeActions
repeated .OrchestratorAction actions = 2; -
getActionsBuilder
repeated .OrchestratorAction actions = 2; -
getActionsOrBuilder
repeated .OrchestratorAction actions = 2;- Specified by:
getActionsOrBuilderin interfaceOrchestratorService.OrchestratorResponseOrBuilder
-
getActionsOrBuilderList
repeated .OrchestratorAction actions = 2;- Specified by:
getActionsOrBuilderListin interfaceOrchestratorService.OrchestratorResponseOrBuilder
-
addActionsBuilder
repeated .OrchestratorAction actions = 2; -
addActionsBuilder
repeated .OrchestratorAction actions = 2; -
getActionsBuilderList
repeated .OrchestratorAction actions = 2; -
hasCustomStatus
public boolean hasCustomStatus().google.protobuf.StringValue customStatus = 3;- Specified by:
hasCustomStatusin interfaceOrchestratorService.OrchestratorResponseOrBuilder- Returns:
- Whether the customStatus field is set.
-
getCustomStatus
public com.google.protobuf.StringValue getCustomStatus().google.protobuf.StringValue customStatus = 3;- Specified by:
getCustomStatusin interfaceOrchestratorService.OrchestratorResponseOrBuilder- Returns:
- The customStatus.
-
setCustomStatus
public OrchestratorService.OrchestratorResponse.Builder setCustomStatus(com.google.protobuf.StringValue value) .google.protobuf.StringValue customStatus = 3; -
setCustomStatus
public OrchestratorService.OrchestratorResponse.Builder setCustomStatus(com.google.protobuf.StringValue.Builder builderForValue) .google.protobuf.StringValue customStatus = 3; -
mergeCustomStatus
public OrchestratorService.OrchestratorResponse.Builder mergeCustomStatus(com.google.protobuf.StringValue value) .google.protobuf.StringValue customStatus = 3; -
clearCustomStatus
.google.protobuf.StringValue customStatus = 3; -
getCustomStatusBuilder
public com.google.protobuf.StringValue.Builder getCustomStatusBuilder().google.protobuf.StringValue customStatus = 3; -
getCustomStatusOrBuilder
public com.google.protobuf.StringValueOrBuilder getCustomStatusOrBuilder().google.protobuf.StringValue customStatus = 3;- Specified by:
getCustomStatusOrBuilderin interfaceOrchestratorService.OrchestratorResponseOrBuilder
-
getCompletionToken
string completionToken = 4;- Specified by:
getCompletionTokenin interfaceOrchestratorService.OrchestratorResponseOrBuilder- Returns:
- The completionToken.
-
getCompletionTokenBytes
public com.google.protobuf.ByteString getCompletionTokenBytes()string completionToken = 4;- Specified by:
getCompletionTokenBytesin interfaceOrchestratorService.OrchestratorResponseOrBuilder- Returns:
- The bytes for completionToken.
-
setCompletionToken
string completionToken = 4;- Parameters:
value- The completionToken to set.- Returns:
- This builder for chaining.
-
clearCompletionToken
string completionToken = 4;- Returns:
- This builder for chaining.
-
setCompletionTokenBytes
public OrchestratorService.OrchestratorResponse.Builder setCompletionTokenBytes(com.google.protobuf.ByteString value) string completionToken = 4;- Parameters:
value- The bytes for completionToken to set.- Returns:
- This builder for chaining.
-
hasNumEventsProcessed
public boolean hasNumEventsProcessed()The number of work item events that were processed by the orchestrator. This field is optional. If not set, the service should assume that the orchestrator processed all events.
.google.protobuf.Int32Value numEventsProcessed = 5;- Specified by:
hasNumEventsProcessedin interfaceOrchestratorService.OrchestratorResponseOrBuilder- Returns:
- Whether the numEventsProcessed field is set.
-
getNumEventsProcessed
public com.google.protobuf.Int32Value getNumEventsProcessed()The number of work item events that were processed by the orchestrator. This field is optional. If not set, the service should assume that the orchestrator processed all events.
.google.protobuf.Int32Value numEventsProcessed = 5;- Specified by:
getNumEventsProcessedin interfaceOrchestratorService.OrchestratorResponseOrBuilder- Returns:
- The numEventsProcessed.
-
setNumEventsProcessed
public OrchestratorService.OrchestratorResponse.Builder setNumEventsProcessed(com.google.protobuf.Int32Value value) The number of work item events that were processed by the orchestrator. This field is optional. If not set, the service should assume that the orchestrator processed all events.
.google.protobuf.Int32Value numEventsProcessed = 5; -
setNumEventsProcessed
public OrchestratorService.OrchestratorResponse.Builder setNumEventsProcessed(com.google.protobuf.Int32Value.Builder builderForValue) The number of work item events that were processed by the orchestrator. This field is optional. If not set, the service should assume that the orchestrator processed all events.
.google.protobuf.Int32Value numEventsProcessed = 5; -
mergeNumEventsProcessed
public OrchestratorService.OrchestratorResponse.Builder mergeNumEventsProcessed(com.google.protobuf.Int32Value value) The number of work item events that were processed by the orchestrator. This field is optional. If not set, the service should assume that the orchestrator processed all events.
.google.protobuf.Int32Value numEventsProcessed = 5; -
clearNumEventsProcessed
The number of work item events that were processed by the orchestrator. This field is optional. If not set, the service should assume that the orchestrator processed all events.
.google.protobuf.Int32Value numEventsProcessed = 5; -
getNumEventsProcessedBuilder
public com.google.protobuf.Int32Value.Builder getNumEventsProcessedBuilder()The number of work item events that were processed by the orchestrator. This field is optional. If not set, the service should assume that the orchestrator processed all events.
.google.protobuf.Int32Value numEventsProcessed = 5; -
getNumEventsProcessedOrBuilder
public com.google.protobuf.Int32ValueOrBuilder getNumEventsProcessedOrBuilder()The number of work item events that were processed by the orchestrator. This field is optional. If not set, the service should assume that the orchestrator processed all events.
.google.protobuf.Int32Value numEventsProcessed = 5;- Specified by:
getNumEventsProcessedOrBuilderin interfaceOrchestratorService.OrchestratorResponseOrBuilder
-
hasVersion
public boolean hasVersion()optional .OrchestrationVersion version = 6;- Specified by:
hasVersionin interfaceOrchestratorService.OrchestratorResponseOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
optional .OrchestrationVersion version = 6;- Specified by:
getVersionin interfaceOrchestratorService.OrchestratorResponseOrBuilder- Returns:
- The version.
-
setVersion
public OrchestratorService.OrchestratorResponse.Builder setVersion(OrchestratorService.OrchestrationVersion value) optional .OrchestrationVersion version = 6; -
setVersion
public OrchestratorService.OrchestratorResponse.Builder setVersion(OrchestratorService.OrchestrationVersion.Builder builderForValue) optional .OrchestrationVersion version = 6; -
mergeVersion
public OrchestratorService.OrchestratorResponse.Builder mergeVersion(OrchestratorService.OrchestrationVersion value) optional .OrchestrationVersion version = 6; -
clearVersion
optional .OrchestrationVersion version = 6; -
getVersionBuilder
optional .OrchestrationVersion version = 6; -
getVersionOrBuilder
optional .OrchestrationVersion version = 6;- Specified by:
getVersionOrBuilderin interfaceOrchestratorService.OrchestratorResponseOrBuilder
-
setUnknownFields
public final OrchestratorService.OrchestratorResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.OrchestratorResponse.Builder>
-
mergeUnknownFields
public final OrchestratorService.OrchestratorResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.OrchestratorResponse.Builder>
-