Class GetWorkerTaskReachabilityRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
- io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GetWorkerTaskReachabilityRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- GetWorkerTaskReachabilityRequest
public static final class GetWorkerTaskReachabilityRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder> implements GetWorkerTaskReachabilityRequestOrBuilder
Protobuf typetemporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetWorkerTaskReachabilityRequest.BuilderaddAllBuildIds(java.lang.Iterable<java.lang.String> values)Build ids to retrieve reachability for.GetWorkerTaskReachabilityRequest.BuilderaddAllTaskQueues(java.lang.Iterable<java.lang.String> values)Task queues to retrieve reachability for.GetWorkerTaskReachabilityRequest.BuilderaddBuildIds(java.lang.String value)Build ids to retrieve reachability for.GetWorkerTaskReachabilityRequest.BuilderaddBuildIdsBytes(com.google.protobuf.ByteString value)Build ids to retrieve reachability for.GetWorkerTaskReachabilityRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)GetWorkerTaskReachabilityRequest.BuilderaddTaskQueues(java.lang.String value)Task queues to retrieve reachability for.GetWorkerTaskReachabilityRequest.BuilderaddTaskQueuesBytes(com.google.protobuf.ByteString value)Task queues to retrieve reachability for.GetWorkerTaskReachabilityRequestbuild()GetWorkerTaskReachabilityRequestbuildPartial()GetWorkerTaskReachabilityRequest.Builderclear()GetWorkerTaskReachabilityRequest.BuilderclearBuildIds()Build ids to retrieve reachability for.GetWorkerTaskReachabilityRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GetWorkerTaskReachabilityRequest.BuilderclearNamespace()string namespace = 1;GetWorkerTaskReachabilityRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GetWorkerTaskReachabilityRequest.BuilderclearReachability()Type of reachability to query for.GetWorkerTaskReachabilityRequest.BuilderclearTaskQueues()Task queues to retrieve reachability for.GetWorkerTaskReachabilityRequest.Builderclone()java.lang.StringgetBuildIds(int index)Build ids to retrieve reachability for.com.google.protobuf.ByteStringgetBuildIdsBytes(int index)Build ids to retrieve reachability for.intgetBuildIdsCount()Build ids to retrieve reachability for.com.google.protobuf.ProtocolStringListgetBuildIdsList()Build ids to retrieve reachability for.GetWorkerTaskReachabilityRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetNamespace()string namespace = 1;com.google.protobuf.ByteStringgetNamespaceBytes()string namespace = 1;TaskReachabilitygetReachability()Type of reachability to query for.intgetReachabilityValue()Type of reachability to query for.java.lang.StringgetTaskQueues(int index)Task queues to retrieve reachability for.com.google.protobuf.ByteStringgetTaskQueuesBytes(int index)Task queues to retrieve reachability for.intgetTaskQueuesCount()Task queues to retrieve reachability for.com.google.protobuf.ProtocolStringListgetTaskQueuesList()Task queues to retrieve reachability for.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GetWorkerTaskReachabilityRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GetWorkerTaskReachabilityRequest.BuildermergeFrom(com.google.protobuf.Message other)GetWorkerTaskReachabilityRequest.BuildermergeFrom(GetWorkerTaskReachabilityRequest other)GetWorkerTaskReachabilityRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GetWorkerTaskReachabilityRequest.BuildersetBuildIds(int index, java.lang.String value)Build ids to retrieve reachability for.GetWorkerTaskReachabilityRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)GetWorkerTaskReachabilityRequest.BuildersetNamespace(java.lang.String value)string namespace = 1;GetWorkerTaskReachabilityRequest.BuildersetNamespaceBytes(com.google.protobuf.ByteString value)string namespace = 1;GetWorkerTaskReachabilityRequest.BuildersetReachability(TaskReachability value)Type of reachability to query for.GetWorkerTaskReachabilityRequest.BuildersetReachabilityValue(int value)Type of reachability to query for.GetWorkerTaskReachabilityRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)GetWorkerTaskReachabilityRequest.BuildersetTaskQueues(int index, java.lang.String value)Task queues to retrieve reachability for.GetWorkerTaskReachabilityRequest.BuildersetUnknownFields(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
clear
public GetWorkerTaskReachabilityRequest.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<GetWorkerTaskReachabilityRequest.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<GetWorkerTaskReachabilityRequest.Builder>
-
getDefaultInstanceForType
public GetWorkerTaskReachabilityRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetWorkerTaskReachabilityRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetWorkerTaskReachabilityRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetWorkerTaskReachabilityRequest.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<GetWorkerTaskReachabilityRequest.Builder>
-
setField
public GetWorkerTaskReachabilityRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
clearField
public GetWorkerTaskReachabilityRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
clearOneof
public GetWorkerTaskReachabilityRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
setRepeatedField
public GetWorkerTaskReachabilityRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
addRepeatedField
public GetWorkerTaskReachabilityRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
mergeFrom
public GetWorkerTaskReachabilityRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
mergeFrom
public GetWorkerTaskReachabilityRequest.Builder mergeFrom(GetWorkerTaskReachabilityRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
mergeFrom
public GetWorkerTaskReachabilityRequest.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<GetWorkerTaskReachabilityRequest.Builder>- Throws:
java.io.IOException
-
getNamespace
public java.lang.String getNamespace()
string namespace = 1;- Specified by:
getNamespacein interfaceGetWorkerTaskReachabilityRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceGetWorkerTaskReachabilityRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
public GetWorkerTaskReachabilityRequest.Builder setNamespace(java.lang.String value)
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public GetWorkerTaskReachabilityRequest.Builder clearNamespace()
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public GetWorkerTaskReachabilityRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getBuildIdsList
public com.google.protobuf.ProtocolStringList getBuildIdsList()
Build ids to retrieve reachability for. An empty string will be interpreted as an unversioned worker. The number of build ids that can be queried in a single API call is limited. Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityQueryBuildIds` with the caveat that this call can strain the visibility store.
repeated string build_ids = 2;- Specified by:
getBuildIdsListin interfaceGetWorkerTaskReachabilityRequestOrBuilder- Returns:
- A list containing the buildIds.
-
getBuildIdsCount
public int getBuildIdsCount()
Build ids to retrieve reachability for. An empty string will be interpreted as an unversioned worker. The number of build ids that can be queried in a single API call is limited. Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityQueryBuildIds` with the caveat that this call can strain the visibility store.
repeated string build_ids = 2;- Specified by:
getBuildIdsCountin interfaceGetWorkerTaskReachabilityRequestOrBuilder- Returns:
- The count of buildIds.
-
getBuildIds
public java.lang.String getBuildIds(int index)
Build ids to retrieve reachability for. An empty string will be interpreted as an unversioned worker. The number of build ids that can be queried in a single API call is limited. Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityQueryBuildIds` with the caveat that this call can strain the visibility store.
repeated string build_ids = 2;- Specified by:
getBuildIdsin interfaceGetWorkerTaskReachabilityRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The buildIds at the given index.
-
getBuildIdsBytes
public com.google.protobuf.ByteString getBuildIdsBytes(int index)
Build ids to retrieve reachability for. An empty string will be interpreted as an unversioned worker. The number of build ids that can be queried in a single API call is limited. Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityQueryBuildIds` with the caveat that this call can strain the visibility store.
repeated string build_ids = 2;- Specified by:
getBuildIdsBytesin interfaceGetWorkerTaskReachabilityRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the buildIds at the given index.
-
setBuildIds
public GetWorkerTaskReachabilityRequest.Builder setBuildIds(int index, java.lang.String value)
Build ids to retrieve reachability for. An empty string will be interpreted as an unversioned worker. The number of build ids that can be queried in a single API call is limited. Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityQueryBuildIds` with the caveat that this call can strain the visibility store.
repeated string build_ids = 2;- Parameters:
index- The index to set the value at.value- The buildIds to set.- Returns:
- This builder for chaining.
-
addBuildIds
public GetWorkerTaskReachabilityRequest.Builder addBuildIds(java.lang.String value)
Build ids to retrieve reachability for. An empty string will be interpreted as an unversioned worker. The number of build ids that can be queried in a single API call is limited. Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityQueryBuildIds` with the caveat that this call can strain the visibility store.
repeated string build_ids = 2;- Parameters:
value- The buildIds to add.- Returns:
- This builder for chaining.
-
addAllBuildIds
public GetWorkerTaskReachabilityRequest.Builder addAllBuildIds(java.lang.Iterable<java.lang.String> values)
Build ids to retrieve reachability for. An empty string will be interpreted as an unversioned worker. The number of build ids that can be queried in a single API call is limited. Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityQueryBuildIds` with the caveat that this call can strain the visibility store.
repeated string build_ids = 2;- Parameters:
values- The buildIds to add.- Returns:
- This builder for chaining.
-
clearBuildIds
public GetWorkerTaskReachabilityRequest.Builder clearBuildIds()
Build ids to retrieve reachability for. An empty string will be interpreted as an unversioned worker. The number of build ids that can be queried in a single API call is limited. Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityQueryBuildIds` with the caveat that this call can strain the visibility store.
repeated string build_ids = 2;- Returns:
- This builder for chaining.
-
addBuildIdsBytes
public GetWorkerTaskReachabilityRequest.Builder addBuildIdsBytes(com.google.protobuf.ByteString value)
Build ids to retrieve reachability for. An empty string will be interpreted as an unversioned worker. The number of build ids that can be queried in a single API call is limited. Open source users can adjust this limit by setting the server's dynamic config value for `limit.reachabilityQueryBuildIds` with the caveat that this call can strain the visibility store.
repeated string build_ids = 2;- Parameters:
value- The bytes of the buildIds to add.- Returns:
- This builder for chaining.
-
getTaskQueuesList
public com.google.protobuf.ProtocolStringList getTaskQueuesList()
Task queues to retrieve reachability for. Leave this empty to query for all task queues associated with given build ids in the namespace. Must specify at least one task queue if querying for an unversioned worker. The number of task queues that the server will fetch reachability information for is limited. See the `GetWorkerTaskReachabilityResponse` documentation for more information.
repeated string task_queues = 3;- Specified by:
getTaskQueuesListin interfaceGetWorkerTaskReachabilityRequestOrBuilder- Returns:
- A list containing the taskQueues.
-
getTaskQueuesCount
public int getTaskQueuesCount()
Task queues to retrieve reachability for. Leave this empty to query for all task queues associated with given build ids in the namespace. Must specify at least one task queue if querying for an unversioned worker. The number of task queues that the server will fetch reachability information for is limited. See the `GetWorkerTaskReachabilityResponse` documentation for more information.
repeated string task_queues = 3;- Specified by:
getTaskQueuesCountin interfaceGetWorkerTaskReachabilityRequestOrBuilder- Returns:
- The count of taskQueues.
-
getTaskQueues
public java.lang.String getTaskQueues(int index)
Task queues to retrieve reachability for. Leave this empty to query for all task queues associated with given build ids in the namespace. Must specify at least one task queue if querying for an unversioned worker. The number of task queues that the server will fetch reachability information for is limited. See the `GetWorkerTaskReachabilityResponse` documentation for more information.
repeated string task_queues = 3;- Specified by:
getTaskQueuesin interfaceGetWorkerTaskReachabilityRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The taskQueues at the given index.
-
getTaskQueuesBytes
public com.google.protobuf.ByteString getTaskQueuesBytes(int index)
Task queues to retrieve reachability for. Leave this empty to query for all task queues associated with given build ids in the namespace. Must specify at least one task queue if querying for an unversioned worker. The number of task queues that the server will fetch reachability information for is limited. See the `GetWorkerTaskReachabilityResponse` documentation for more information.
repeated string task_queues = 3;- Specified by:
getTaskQueuesBytesin interfaceGetWorkerTaskReachabilityRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the taskQueues at the given index.
-
setTaskQueues
public GetWorkerTaskReachabilityRequest.Builder setTaskQueues(int index, java.lang.String value)
Task queues to retrieve reachability for. Leave this empty to query for all task queues associated with given build ids in the namespace. Must specify at least one task queue if querying for an unversioned worker. The number of task queues that the server will fetch reachability information for is limited. See the `GetWorkerTaskReachabilityResponse` documentation for more information.
repeated string task_queues = 3;- Parameters:
index- The index to set the value at.value- The taskQueues to set.- Returns:
- This builder for chaining.
-
addTaskQueues
public GetWorkerTaskReachabilityRequest.Builder addTaskQueues(java.lang.String value)
Task queues to retrieve reachability for. Leave this empty to query for all task queues associated with given build ids in the namespace. Must specify at least one task queue if querying for an unversioned worker. The number of task queues that the server will fetch reachability information for is limited. See the `GetWorkerTaskReachabilityResponse` documentation for more information.
repeated string task_queues = 3;- Parameters:
value- The taskQueues to add.- Returns:
- This builder for chaining.
-
addAllTaskQueues
public GetWorkerTaskReachabilityRequest.Builder addAllTaskQueues(java.lang.Iterable<java.lang.String> values)
Task queues to retrieve reachability for. Leave this empty to query for all task queues associated with given build ids in the namespace. Must specify at least one task queue if querying for an unversioned worker. The number of task queues that the server will fetch reachability information for is limited. See the `GetWorkerTaskReachabilityResponse` documentation for more information.
repeated string task_queues = 3;- Parameters:
values- The taskQueues to add.- Returns:
- This builder for chaining.
-
clearTaskQueues
public GetWorkerTaskReachabilityRequest.Builder clearTaskQueues()
Task queues to retrieve reachability for. Leave this empty to query for all task queues associated with given build ids in the namespace. Must specify at least one task queue if querying for an unversioned worker. The number of task queues that the server will fetch reachability information for is limited. See the `GetWorkerTaskReachabilityResponse` documentation for more information.
repeated string task_queues = 3;- Returns:
- This builder for chaining.
-
addTaskQueuesBytes
public GetWorkerTaskReachabilityRequest.Builder addTaskQueuesBytes(com.google.protobuf.ByteString value)
Task queues to retrieve reachability for. Leave this empty to query for all task queues associated with given build ids in the namespace. Must specify at least one task queue if querying for an unversioned worker. The number of task queues that the server will fetch reachability information for is limited. See the `GetWorkerTaskReachabilityResponse` documentation for more information.
repeated string task_queues = 3;- Parameters:
value- The bytes of the taskQueues to add.- Returns:
- This builder for chaining.
-
getReachabilityValue
public int getReachabilityValue()
Type of reachability to query for. `TASK_REACHABILITY_NEW_WORKFLOWS` is always returned in the response. Use `TASK_REACHABILITY_EXISTING_WORKFLOWS` if your application needs to respond to queries on closed workflows. Otherwise, use `TASK_REACHABILITY_OPEN_WORKFLOWS`. Default is `TASK_REACHABILITY_EXISTING_WORKFLOWS` if left unspecified. See the TaskReachability docstring for information about each enum variant.
.temporal.api.enums.v1.TaskReachability reachability = 4;- Specified by:
getReachabilityValuein interfaceGetWorkerTaskReachabilityRequestOrBuilder- Returns:
- The enum numeric value on the wire for reachability.
-
setReachabilityValue
public GetWorkerTaskReachabilityRequest.Builder setReachabilityValue(int value)
Type of reachability to query for. `TASK_REACHABILITY_NEW_WORKFLOWS` is always returned in the response. Use `TASK_REACHABILITY_EXISTING_WORKFLOWS` if your application needs to respond to queries on closed workflows. Otherwise, use `TASK_REACHABILITY_OPEN_WORKFLOWS`. Default is `TASK_REACHABILITY_EXISTING_WORKFLOWS` if left unspecified. See the TaskReachability docstring for information about each enum variant.
.temporal.api.enums.v1.TaskReachability reachability = 4;- Parameters:
value- The enum numeric value on the wire for reachability to set.- Returns:
- This builder for chaining.
-
getReachability
public TaskReachability getReachability()
Type of reachability to query for. `TASK_REACHABILITY_NEW_WORKFLOWS` is always returned in the response. Use `TASK_REACHABILITY_EXISTING_WORKFLOWS` if your application needs to respond to queries on closed workflows. Otherwise, use `TASK_REACHABILITY_OPEN_WORKFLOWS`. Default is `TASK_REACHABILITY_EXISTING_WORKFLOWS` if left unspecified. See the TaskReachability docstring for information about each enum variant.
.temporal.api.enums.v1.TaskReachability reachability = 4;- Specified by:
getReachabilityin interfaceGetWorkerTaskReachabilityRequestOrBuilder- Returns:
- The reachability.
-
setReachability
public GetWorkerTaskReachabilityRequest.Builder setReachability(TaskReachability value)
Type of reachability to query for. `TASK_REACHABILITY_NEW_WORKFLOWS` is always returned in the response. Use `TASK_REACHABILITY_EXISTING_WORKFLOWS` if your application needs to respond to queries on closed workflows. Otherwise, use `TASK_REACHABILITY_OPEN_WORKFLOWS`. Default is `TASK_REACHABILITY_EXISTING_WORKFLOWS` if left unspecified. See the TaskReachability docstring for information about each enum variant.
.temporal.api.enums.v1.TaskReachability reachability = 4;- Parameters:
value- The reachability to set.- Returns:
- This builder for chaining.
-
clearReachability
public GetWorkerTaskReachabilityRequest.Builder clearReachability()
Type of reachability to query for. `TASK_REACHABILITY_NEW_WORKFLOWS` is always returned in the response. Use `TASK_REACHABILITY_EXISTING_WORKFLOWS` if your application needs to respond to queries on closed workflows. Otherwise, use `TASK_REACHABILITY_OPEN_WORKFLOWS`. Default is `TASK_REACHABILITY_EXISTING_WORKFLOWS` if left unspecified. See the TaskReachability docstring for information about each enum variant.
.temporal.api.enums.v1.TaskReachability reachability = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final GetWorkerTaskReachabilityRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
mergeUnknownFields
public final GetWorkerTaskReachabilityRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
-