Class GetWorkerTaskReachabilityRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetWorkerTaskReachabilityRequest.Builder>
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,Cloneable
- Enclosing class:
GetWorkerTaskReachabilityRequest
public static final class GetWorkerTaskReachabilityRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
implements GetWorkerTaskReachabilityRequestOrBuilder
[cleanup-wv-pre-release] Deprecated. Use `DescribeTaskQueue`.Protobuf type
temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllBuildIds(Iterable<String> values) Build ids to retrieve reachability for.addAllTaskQueues(Iterable<String> values) Task queues to retrieve reachability for.addBuildIds(String value) Build ids to retrieve reachability for.addBuildIdsBytes(com.google.protobuf.ByteString value) Build ids to retrieve reachability for.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTaskQueues(String value) Task queues to retrieve reachability for.addTaskQueuesBytes(com.google.protobuf.ByteString value) Task queues to retrieve reachability for.build()clear()Build ids to retrieve reachability for.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) string namespace = 1;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Type of reachability to query for.Task queues to retrieve reachability for.clone()getBuildIds(int index) Build ids to retrieve reachability for.com.google.protobuf.ByteStringgetBuildIdsBytes(int index) Build ids to retrieve reachability for.intBuild ids to retrieve reachability for.com.google.protobuf.ProtocolStringListBuild ids to retrieve reachability for.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorstring namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;Type of reachability to query for.intType of reachability to query for.getTaskQueues(int index) Task queues to retrieve reachability for.com.google.protobuf.ByteStringgetTaskQueuesBytes(int index) Task queues to retrieve reachability for.intTask queues to retrieve reachability for.com.google.protobuf.ProtocolStringListTask queues to retrieve reachability for.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) setBuildIds(int index, String value) Build ids to retrieve reachability for.setNamespace(String value) string namespace = 1;setNamespaceBytes(com.google.protobuf.ByteString value) string namespace = 1;setReachability(TaskReachability value) Type of reachability to query for.setReachabilityValue(int value) Type of reachability to query for.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTaskQueues(int index, String value) Task queues to retrieve reachability for.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<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
- 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<GetWorkerTaskReachabilityRequest.Builder>
-
setField
public GetWorkerTaskReachabilityRequest.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<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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetWorkerTaskReachabilityRequest.Builder>
-
mergeFrom
-
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 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:
IOException
-
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
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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>
-