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.Builder
addAllBuildIds(java.lang.Iterable<java.lang.String> values)
Build ids to retrieve reachability for.GetWorkerTaskReachabilityRequest.Builder
addAllTaskQueues(java.lang.Iterable<java.lang.String> values)
Task queues to retrieve reachability for.GetWorkerTaskReachabilityRequest.Builder
addBuildIds(java.lang.String value)
Build ids to retrieve reachability for.GetWorkerTaskReachabilityRequest.Builder
addBuildIdsBytes(com.google.protobuf.ByteString value)
Build ids to retrieve reachability for.GetWorkerTaskReachabilityRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
GetWorkerTaskReachabilityRequest.Builder
addTaskQueues(java.lang.String value)
Task queues to retrieve reachability for.GetWorkerTaskReachabilityRequest.Builder
addTaskQueuesBytes(com.google.protobuf.ByteString value)
Task queues to retrieve reachability for.GetWorkerTaskReachabilityRequest
build()
GetWorkerTaskReachabilityRequest
buildPartial()
GetWorkerTaskReachabilityRequest.Builder
clear()
GetWorkerTaskReachabilityRequest.Builder
clearBuildIds()
Build ids to retrieve reachability for.GetWorkerTaskReachabilityRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GetWorkerTaskReachabilityRequest.Builder
clearNamespace()
string namespace = 1;
GetWorkerTaskReachabilityRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GetWorkerTaskReachabilityRequest.Builder
clearReachability()
Type of reachability to query for.GetWorkerTaskReachabilityRequest.Builder
clearTaskQueues()
Task queues to retrieve reachability for.GetWorkerTaskReachabilityRequest.Builder
clone()
java.lang.String
getBuildIds(int index)
Build ids to retrieve reachability for.com.google.protobuf.ByteString
getBuildIdsBytes(int index)
Build ids to retrieve reachability for.int
getBuildIdsCount()
Build ids to retrieve reachability for.com.google.protobuf.ProtocolStringList
getBuildIdsList()
Build ids to retrieve reachability for.GetWorkerTaskReachabilityRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getNamespace()
string namespace = 1;
com.google.protobuf.ByteString
getNamespaceBytes()
string namespace = 1;
TaskReachability
getReachability()
Type of reachability to query for.int
getReachabilityValue()
Type of reachability to query for.java.lang.String
getTaskQueues(int index)
Task queues to retrieve reachability for.com.google.protobuf.ByteString
getTaskQueuesBytes(int index)
Task queues to retrieve reachability for.int
getTaskQueuesCount()
Task queues to retrieve reachability for.com.google.protobuf.ProtocolStringList
getTaskQueuesList()
Task queues to retrieve reachability for.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GetWorkerTaskReachabilityRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GetWorkerTaskReachabilityRequest.Builder
mergeFrom(com.google.protobuf.Message other)
GetWorkerTaskReachabilityRequest.Builder
mergeFrom(GetWorkerTaskReachabilityRequest other)
GetWorkerTaskReachabilityRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GetWorkerTaskReachabilityRequest.Builder
setBuildIds(int index, java.lang.String value)
Build ids to retrieve reachability for.GetWorkerTaskReachabilityRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
GetWorkerTaskReachabilityRequest.Builder
setNamespace(java.lang.String value)
string namespace = 1;
GetWorkerTaskReachabilityRequest.Builder
setNamespaceBytes(com.google.protobuf.ByteString value)
string namespace = 1;
GetWorkerTaskReachabilityRequest.Builder
setReachability(TaskReachability value)
Type of reachability to query for.GetWorkerTaskReachabilityRequest.Builder
setReachabilityValue(int value)
Type of reachability to query for.GetWorkerTaskReachabilityRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
GetWorkerTaskReachabilityRequest.Builder
setTaskQueues(int index, java.lang.String value)
Task queues to retrieve reachability for.GetWorkerTaskReachabilityRequest.Builder
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, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
clear
public GetWorkerTaskReachabilityRequest.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.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.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.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
getDefaultInstanceForType
public GetWorkerTaskReachabilityRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetWorkerTaskReachabilityRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetWorkerTaskReachabilityRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetWorkerTaskReachabilityRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
setField
public GetWorkerTaskReachabilityRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
clearField
public GetWorkerTaskReachabilityRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
clearOneof
public GetWorkerTaskReachabilityRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
addRepeatedField
public GetWorkerTaskReachabilityRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
mergeFrom
public GetWorkerTaskReachabilityRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
mergeFrom
public GetWorkerTaskReachabilityRequest.Builder mergeFrom(GetWorkerTaskReachabilityRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetWorkerTaskReachabilityRequest.Builder>
- Throws:
java.io.IOException
-
getNamespace
public java.lang.String getNamespace()
string namespace = 1;
- Specified by:
getNamespace
in interfaceGetWorkerTaskReachabilityRequestOrBuilder
- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
string namespace = 1;
- Specified by:
getNamespaceBytes
in 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:
getBuildIdsList
in 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:
getBuildIdsCount
in 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:
getBuildIds
in 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:
getBuildIdsBytes
in 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:
getTaskQueuesList
in 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:
getTaskQueuesCount
in 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:
getTaskQueues
in 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:
getTaskQueuesBytes
in 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:
getReachabilityValue
in 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:
getReachability
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
mergeUnknownFields
public final GetWorkerTaskReachabilityRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
-