Class OrchestratorService.GetWorkItemsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.GetWorkItemsRequest.Builder>
io.dapr.durabletask.implementation.protobuf.OrchestratorService.GetWorkItemsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OrchestratorService.GetWorkItemsRequestOrBuilder,Cloneable
- Enclosing class:
- OrchestratorService.GetWorkItemsRequest
public static final class OrchestratorService.GetWorkItemsRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.GetWorkItemsRequest.Builder>
implements OrchestratorService.GetWorkItemsRequestOrBuilder
Protobuf type
GetWorkItemsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllCapabilities(Iterable<? extends OrchestratorService.WorkerCapability> values) repeated .WorkerCapability capabilities = 10;addAllCapabilitiesValue(Iterable<Integer> values) repeated .WorkerCapability capabilities = 10;repeated .WorkerCapability capabilities = 10;addCapabilitiesValue(int value) repeated .WorkerCapability capabilities = 10;addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()repeated .WorkerCapability capabilities = 10;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) int32 maxConcurrentActivityWorkItems = 2;int32 maxConcurrentEntityWorkItems = 3;int32 maxConcurrentOrchestrationWorkItems = 1;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()getCapabilities(int index) repeated .WorkerCapability capabilities = 10;intrepeated .WorkerCapability capabilities = 10;repeated .WorkerCapability capabilities = 10;intgetCapabilitiesValue(int index) repeated .WorkerCapability capabilities = 10;repeated .WorkerCapability capabilities = 10;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorintint32 maxConcurrentActivityWorkItems = 2;intint32 maxConcurrentEntityWorkItems = 3;intint32 maxConcurrentOrchestrationWorkItems = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCapabilities(int index, OrchestratorService.WorkerCapability value) repeated .WorkerCapability capabilities = 10;setCapabilitiesValue(int index, int value) repeated .WorkerCapability capabilities = 10;setMaxConcurrentActivityWorkItems(int value) int32 maxConcurrentActivityWorkItems = 2;setMaxConcurrentEntityWorkItems(int value) int32 maxConcurrentEntityWorkItems = 3;setMaxConcurrentOrchestrationWorkItems(int value) int32 maxConcurrentOrchestrationWorkItems = 1;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.GetWorkItemsRequest.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.GetWorkItemsRequest.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.GetWorkItemsRequest.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.GetWorkItemsRequest.Builder>
-
setField
public OrchestratorService.GetWorkItemsRequest.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.GetWorkItemsRequest.Builder>
-
clearField
public OrchestratorService.GetWorkItemsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.GetWorkItemsRequest.Builder>
-
clearOneof
public OrchestratorService.GetWorkItemsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.GetWorkItemsRequest.Builder>
-
setRepeatedField
public OrchestratorService.GetWorkItemsRequest.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.GetWorkItemsRequest.Builder>
-
addRepeatedField
public OrchestratorService.GetWorkItemsRequest.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.GetWorkItemsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OrchestratorService.GetWorkItemsRequest.Builder>
-
mergeFrom
public OrchestratorService.GetWorkItemsRequest.Builder mergeFrom(OrchestratorService.GetWorkItemsRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.GetWorkItemsRequest.Builder>
-
mergeFrom
public OrchestratorService.GetWorkItemsRequest.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.GetWorkItemsRequest.Builder>- Throws:
IOException
-
getMaxConcurrentOrchestrationWorkItems
public int getMaxConcurrentOrchestrationWorkItems()int32 maxConcurrentOrchestrationWorkItems = 1;- Specified by:
getMaxConcurrentOrchestrationWorkItemsin interfaceOrchestratorService.GetWorkItemsRequestOrBuilder- Returns:
- The maxConcurrentOrchestrationWorkItems.
-
setMaxConcurrentOrchestrationWorkItems
public OrchestratorService.GetWorkItemsRequest.Builder setMaxConcurrentOrchestrationWorkItems(int value) int32 maxConcurrentOrchestrationWorkItems = 1;- Parameters:
value- The maxConcurrentOrchestrationWorkItems to set.- Returns:
- This builder for chaining.
-
clearMaxConcurrentOrchestrationWorkItems
int32 maxConcurrentOrchestrationWorkItems = 1;- Returns:
- This builder for chaining.
-
getMaxConcurrentActivityWorkItems
public int getMaxConcurrentActivityWorkItems()int32 maxConcurrentActivityWorkItems = 2;- Specified by:
getMaxConcurrentActivityWorkItemsin interfaceOrchestratorService.GetWorkItemsRequestOrBuilder- Returns:
- The maxConcurrentActivityWorkItems.
-
setMaxConcurrentActivityWorkItems
int32 maxConcurrentActivityWorkItems = 2;- Parameters:
value- The maxConcurrentActivityWorkItems to set.- Returns:
- This builder for chaining.
-
clearMaxConcurrentActivityWorkItems
int32 maxConcurrentActivityWorkItems = 2;- Returns:
- This builder for chaining.
-
getMaxConcurrentEntityWorkItems
public int getMaxConcurrentEntityWorkItems()int32 maxConcurrentEntityWorkItems = 3;- Specified by:
getMaxConcurrentEntityWorkItemsin interfaceOrchestratorService.GetWorkItemsRequestOrBuilder- Returns:
- The maxConcurrentEntityWorkItems.
-
setMaxConcurrentEntityWorkItems
int32 maxConcurrentEntityWorkItems = 3;- Parameters:
value- The maxConcurrentEntityWorkItems to set.- Returns:
- This builder for chaining.
-
clearMaxConcurrentEntityWorkItems
int32 maxConcurrentEntityWorkItems = 3;- Returns:
- This builder for chaining.
-
getCapabilitiesList
repeated .WorkerCapability capabilities = 10;- Specified by:
getCapabilitiesListin interfaceOrchestratorService.GetWorkItemsRequestOrBuilder- Returns:
- A list containing the capabilities.
-
getCapabilitiesCount
public int getCapabilitiesCount()repeated .WorkerCapability capabilities = 10;- Specified by:
getCapabilitiesCountin interfaceOrchestratorService.GetWorkItemsRequestOrBuilder- Returns:
- The count of capabilities.
-
getCapabilities
repeated .WorkerCapability capabilities = 10;- Specified by:
getCapabilitiesin interfaceOrchestratorService.GetWorkItemsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The capabilities at the given index.
-
setCapabilities
public OrchestratorService.GetWorkItemsRequest.Builder setCapabilities(int index, OrchestratorService.WorkerCapability value) repeated .WorkerCapability capabilities = 10;- Parameters:
index- The index to set the value at.value- The capabilities to set.- Returns:
- This builder for chaining.
-
addCapabilities
public OrchestratorService.GetWorkItemsRequest.Builder addCapabilities(OrchestratorService.WorkerCapability value) repeated .WorkerCapability capabilities = 10;- Parameters:
value- The capabilities to add.- Returns:
- This builder for chaining.
-
addAllCapabilities
public OrchestratorService.GetWorkItemsRequest.Builder addAllCapabilities(Iterable<? extends OrchestratorService.WorkerCapability> values) repeated .WorkerCapability capabilities = 10;- Parameters:
values- The capabilities to add.- Returns:
- This builder for chaining.
-
clearCapabilities
repeated .WorkerCapability capabilities = 10;- Returns:
- This builder for chaining.
-
getCapabilitiesValueList
repeated .WorkerCapability capabilities = 10;- Specified by:
getCapabilitiesValueListin interfaceOrchestratorService.GetWorkItemsRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for capabilities.
-
getCapabilitiesValue
public int getCapabilitiesValue(int index) repeated .WorkerCapability capabilities = 10;- Specified by:
getCapabilitiesValuein interfaceOrchestratorService.GetWorkItemsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of capabilities at the given index.
-
setCapabilitiesValue
repeated .WorkerCapability capabilities = 10;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for capabilities to set.- Returns:
- This builder for chaining.
-
addCapabilitiesValue
repeated .WorkerCapability capabilities = 10;- Parameters:
value- The enum numeric value on the wire for capabilities to add.- Returns:
- This builder for chaining.
-
addAllCapabilitiesValue
public OrchestratorService.GetWorkItemsRequest.Builder addAllCapabilitiesValue(Iterable<Integer> values) repeated .WorkerCapability capabilities = 10;- Parameters:
values- The enum numeric values on the wire for capabilities to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final OrchestratorService.GetWorkItemsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.GetWorkItemsRequest.Builder>
-
mergeUnknownFields
public final OrchestratorService.GetWorkItemsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OrchestratorService.GetWorkItemsRequest.Builder>
-