Class DescribeTaskQueueResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeTaskQueueResponse.Builder>
      • internalGetMutableMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection​(int number)
        Overrides:
        internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeTaskQueueResponse.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeTaskQueueResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeTaskQueueResponse.Builder>
      • getDefaultInstanceForType

        public DescribeTaskQueueResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public DescribeTaskQueueResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DescribeTaskQueueResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setField

        public DescribeTaskQueueResponse.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeTaskQueueResponse.Builder>
      • setRepeatedField

        public DescribeTaskQueueResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeTaskQueueResponse.Builder>
      • addRepeatedField

        public DescribeTaskQueueResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeTaskQueueResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeTaskQueueResponse.Builder>
      • mergeFrom

        public DescribeTaskQueueResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DescribeTaskQueueResponse.Builder>
        Throws:
        java.io.IOException
      • getPollersList

        public java.util.List<PollerInfo> getPollersList()
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
        Specified by:
        getPollersList in interface DescribeTaskQueueResponseOrBuilder
      • getPollersCount

        public int getPollersCount()
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
        Specified by:
        getPollersCount in interface DescribeTaskQueueResponseOrBuilder
      • getPollers

        public PollerInfo getPollers​(int index)
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
        Specified by:
        getPollers in interface DescribeTaskQueueResponseOrBuilder
      • setPollers

        public DescribeTaskQueueResponse.Builder setPollers​(int index,
                                                            PollerInfo value)
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
      • setPollers

        public DescribeTaskQueueResponse.Builder setPollers​(int index,
                                                            PollerInfo.Builder builderForValue)
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
      • addPollers

        public DescribeTaskQueueResponse.Builder addPollers​(PollerInfo value)
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
      • addPollers

        public DescribeTaskQueueResponse.Builder addPollers​(int index,
                                                            PollerInfo value)
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
      • addPollers

        public DescribeTaskQueueResponse.Builder addPollers​(PollerInfo.Builder builderForValue)
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
      • addPollers

        public DescribeTaskQueueResponse.Builder addPollers​(int index,
                                                            PollerInfo.Builder builderForValue)
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
      • addAllPollers

        public DescribeTaskQueueResponse.Builder addAllPollers​(java.lang.Iterable<? extends PollerInfo> values)
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
      • clearPollers

        public DescribeTaskQueueResponse.Builder clearPollers()
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
      • removePollers

        public DescribeTaskQueueResponse.Builder removePollers​(int index)
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
      • getPollersBuilder

        public PollerInfo.Builder getPollersBuilder​(int index)
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
      • addPollersBuilder

        public PollerInfo.Builder addPollersBuilder()
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
      • addPollersBuilder

        public PollerInfo.Builder addPollersBuilder​(int index)
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
      • getPollersBuilderList

        public java.util.List<PollerInfo.Builder> getPollersBuilderList()
         Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.
         Not set in `ENHANCED` mode.
         
        repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 1;
      • hasTaskQueueStatus

        public boolean hasTaskQueueStatus()
         Deprecated. Not set in `ENHANCED` mode.
         
        .temporal.api.taskqueue.v1.TaskQueueStatus task_queue_status = 2;
        Specified by:
        hasTaskQueueStatus in interface DescribeTaskQueueResponseOrBuilder
        Returns:
        Whether the taskQueueStatus field is set.
      • clearTaskQueueStatus

        public DescribeTaskQueueResponse.Builder clearTaskQueueStatus()
         Deprecated. Not set in `ENHANCED` mode.
         
        .temporal.api.taskqueue.v1.TaskQueueStatus task_queue_status = 2;
      • getTaskQueueStatusBuilder

        public TaskQueueStatus.Builder getTaskQueueStatusBuilder()
         Deprecated. Not set in `ENHANCED` mode.
         
        .temporal.api.taskqueue.v1.TaskQueueStatus task_queue_status = 2;
      • containsVersionsInfo

        public boolean containsVersionsInfo​(java.lang.String key)
         This map contains Task Queue information for each Build ID. Empty string as key value means unversioned.
         Only set in `ENHANCED` mode.
         
        map<string, .temporal.api.taskqueue.v1.TaskQueueVersionInfo> versions_info = 3;
        Specified by:
        containsVersionsInfo in interface DescribeTaskQueueResponseOrBuilder
      • getVersionsInfoMap

        public java.util.Map<java.lang.String,​TaskQueueVersionInfo> getVersionsInfoMap()
         This map contains Task Queue information for each Build ID. Empty string as key value means unversioned.
         Only set in `ENHANCED` mode.
         
        map<string, .temporal.api.taskqueue.v1.TaskQueueVersionInfo> versions_info = 3;
        Specified by:
        getVersionsInfoMap in interface DescribeTaskQueueResponseOrBuilder
      • getVersionsInfoOrThrow

        public TaskQueueVersionInfo getVersionsInfoOrThrow​(java.lang.String key)
         This map contains Task Queue information for each Build ID. Empty string as key value means unversioned.
         Only set in `ENHANCED` mode.
         
        map<string, .temporal.api.taskqueue.v1.TaskQueueVersionInfo> versions_info = 3;
        Specified by:
        getVersionsInfoOrThrow in interface DescribeTaskQueueResponseOrBuilder
      • removeVersionsInfo

        public DescribeTaskQueueResponse.Builder removeVersionsInfo​(java.lang.String key)
         This map contains Task Queue information for each Build ID. Empty string as key value means unversioned.
         Only set in `ENHANCED` mode.
         
        map<string, .temporal.api.taskqueue.v1.TaskQueueVersionInfo> versions_info = 3;
      • getMutableVersionsInfo

        @Deprecated
        public java.util.Map<java.lang.String,​TaskQueueVersionInfo> getMutableVersionsInfo()
        Deprecated.
        Use alternate mutation accessors instead.
      • putVersionsInfo

        public DescribeTaskQueueResponse.Builder putVersionsInfo​(java.lang.String key,
                                                                 TaskQueueVersionInfo value)
         This map contains Task Queue information for each Build ID. Empty string as key value means unversioned.
         Only set in `ENHANCED` mode.
         
        map<string, .temporal.api.taskqueue.v1.TaskQueueVersionInfo> versions_info = 3;
      • putAllVersionsInfo

        public DescribeTaskQueueResponse.Builder putAllVersionsInfo​(java.util.Map<java.lang.String,​TaskQueueVersionInfo> values)
         This map contains Task Queue information for each Build ID. Empty string as key value means unversioned.
         Only set in `ENHANCED` mode.
         
        map<string, .temporal.api.taskqueue.v1.TaskQueueVersionInfo> versions_info = 3;
      • putVersionsInfoBuilderIfAbsent

        public TaskQueueVersionInfo.Builder putVersionsInfoBuilderIfAbsent​(java.lang.String key)
         This map contains Task Queue information for each Build ID. Empty string as key value means unversioned.
         Only set in `ENHANCED` mode.
         
        map<string, .temporal.api.taskqueue.v1.TaskQueueVersionInfo> versions_info = 3;
      • hasVersioningInfo

        public boolean hasVersioningInfo()
         Specifies which Worker Deployment Version(s) Server routes this Task Queue's tasks to.
         When not present, it means the tasks are routed to Unversioned workers (workers with
         UNVERSIONED or unspecified WorkerVersioningMode.)
         Task Queue Versioning info is updated indirectly by calling SetWorkerDeploymentCurrentVersion
         and SetWorkerDeploymentRampingVersion on Worker Deployments.
         Note: This information is not relevant to Pinned workflow executions and their activities as
         they are always routed to their Pinned Deployment Version. However, new workflow executions
         are typically not Pinned until they complete their first task (unless they are started with
         a Pinned VersioningOverride or are Child Workflows of a Pinned parent).
         
        .temporal.api.taskqueue.v1.TaskQueueVersioningInfo versioning_info = 4;
        Specified by:
        hasVersioningInfo in interface DescribeTaskQueueResponseOrBuilder
        Returns:
        Whether the versioningInfo field is set.
      • getVersioningInfo

        public TaskQueueVersioningInfo getVersioningInfo()
         Specifies which Worker Deployment Version(s) Server routes this Task Queue's tasks to.
         When not present, it means the tasks are routed to Unversioned workers (workers with
         UNVERSIONED or unspecified WorkerVersioningMode.)
         Task Queue Versioning info is updated indirectly by calling SetWorkerDeploymentCurrentVersion
         and SetWorkerDeploymentRampingVersion on Worker Deployments.
         Note: This information is not relevant to Pinned workflow executions and their activities as
         they are always routed to their Pinned Deployment Version. However, new workflow executions
         are typically not Pinned until they complete their first task (unless they are started with
         a Pinned VersioningOverride or are Child Workflows of a Pinned parent).
         
        .temporal.api.taskqueue.v1.TaskQueueVersioningInfo versioning_info = 4;
        Specified by:
        getVersioningInfo in interface DescribeTaskQueueResponseOrBuilder
        Returns:
        The versioningInfo.
      • setVersioningInfo

        public DescribeTaskQueueResponse.Builder setVersioningInfo​(TaskQueueVersioningInfo value)
         Specifies which Worker Deployment Version(s) Server routes this Task Queue's tasks to.
         When not present, it means the tasks are routed to Unversioned workers (workers with
         UNVERSIONED or unspecified WorkerVersioningMode.)
         Task Queue Versioning info is updated indirectly by calling SetWorkerDeploymentCurrentVersion
         and SetWorkerDeploymentRampingVersion on Worker Deployments.
         Note: This information is not relevant to Pinned workflow executions and their activities as
         they are always routed to their Pinned Deployment Version. However, new workflow executions
         are typically not Pinned until they complete their first task (unless they are started with
         a Pinned VersioningOverride or are Child Workflows of a Pinned parent).
         
        .temporal.api.taskqueue.v1.TaskQueueVersioningInfo versioning_info = 4;
      • setVersioningInfo

        public DescribeTaskQueueResponse.Builder setVersioningInfo​(TaskQueueVersioningInfo.Builder builderForValue)
         Specifies which Worker Deployment Version(s) Server routes this Task Queue's tasks to.
         When not present, it means the tasks are routed to Unversioned workers (workers with
         UNVERSIONED or unspecified WorkerVersioningMode.)
         Task Queue Versioning info is updated indirectly by calling SetWorkerDeploymentCurrentVersion
         and SetWorkerDeploymentRampingVersion on Worker Deployments.
         Note: This information is not relevant to Pinned workflow executions and their activities as
         they are always routed to their Pinned Deployment Version. However, new workflow executions
         are typically not Pinned until they complete their first task (unless they are started with
         a Pinned VersioningOverride or are Child Workflows of a Pinned parent).
         
        .temporal.api.taskqueue.v1.TaskQueueVersioningInfo versioning_info = 4;
      • mergeVersioningInfo

        public DescribeTaskQueueResponse.Builder mergeVersioningInfo​(TaskQueueVersioningInfo value)
         Specifies which Worker Deployment Version(s) Server routes this Task Queue's tasks to.
         When not present, it means the tasks are routed to Unversioned workers (workers with
         UNVERSIONED or unspecified WorkerVersioningMode.)
         Task Queue Versioning info is updated indirectly by calling SetWorkerDeploymentCurrentVersion
         and SetWorkerDeploymentRampingVersion on Worker Deployments.
         Note: This information is not relevant to Pinned workflow executions and their activities as
         they are always routed to their Pinned Deployment Version. However, new workflow executions
         are typically not Pinned until they complete their first task (unless they are started with
         a Pinned VersioningOverride or are Child Workflows of a Pinned parent).
         
        .temporal.api.taskqueue.v1.TaskQueueVersioningInfo versioning_info = 4;
      • clearVersioningInfo

        public DescribeTaskQueueResponse.Builder clearVersioningInfo()
         Specifies which Worker Deployment Version(s) Server routes this Task Queue's tasks to.
         When not present, it means the tasks are routed to Unversioned workers (workers with
         UNVERSIONED or unspecified WorkerVersioningMode.)
         Task Queue Versioning info is updated indirectly by calling SetWorkerDeploymentCurrentVersion
         and SetWorkerDeploymentRampingVersion on Worker Deployments.
         Note: This information is not relevant to Pinned workflow executions and their activities as
         they are always routed to their Pinned Deployment Version. However, new workflow executions
         are typically not Pinned until they complete their first task (unless they are started with
         a Pinned VersioningOverride or are Child Workflows of a Pinned parent).
         
        .temporal.api.taskqueue.v1.TaskQueueVersioningInfo versioning_info = 4;
      • getVersioningInfoBuilder

        public TaskQueueVersioningInfo.Builder getVersioningInfoBuilder()
         Specifies which Worker Deployment Version(s) Server routes this Task Queue's tasks to.
         When not present, it means the tasks are routed to Unversioned workers (workers with
         UNVERSIONED or unspecified WorkerVersioningMode.)
         Task Queue Versioning info is updated indirectly by calling SetWorkerDeploymentCurrentVersion
         and SetWorkerDeploymentRampingVersion on Worker Deployments.
         Note: This information is not relevant to Pinned workflow executions and their activities as
         they are always routed to their Pinned Deployment Version. However, new workflow executions
         are typically not Pinned until they complete their first task (unless they are started with
         a Pinned VersioningOverride or are Child Workflows of a Pinned parent).
         
        .temporal.api.taskqueue.v1.TaskQueueVersioningInfo versioning_info = 4;
      • getVersioningInfoOrBuilder

        public TaskQueueVersioningInfoOrBuilder getVersioningInfoOrBuilder()
         Specifies which Worker Deployment Version(s) Server routes this Task Queue's tasks to.
         When not present, it means the tasks are routed to Unversioned workers (workers with
         UNVERSIONED or unspecified WorkerVersioningMode.)
         Task Queue Versioning info is updated indirectly by calling SetWorkerDeploymentCurrentVersion
         and SetWorkerDeploymentRampingVersion on Worker Deployments.
         Note: This information is not relevant to Pinned workflow executions and their activities as
         they are always routed to their Pinned Deployment Version. However, new workflow executions
         are typically not Pinned until they complete their first task (unless they are started with
         a Pinned VersioningOverride or are Child Workflows of a Pinned parent).
         
        .temporal.api.taskqueue.v1.TaskQueueVersioningInfo versioning_info = 4;
        Specified by:
        getVersioningInfoOrBuilder in interface DescribeTaskQueueResponseOrBuilder
      • setUnknownFields

        public final DescribeTaskQueueResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeTaskQueueResponse.Builder>
      • mergeUnknownFields

        public final DescribeTaskQueueResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeTaskQueueResponse.Builder>