Class DescribeTaskQueueResponse

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DescribeTaskQueueResponseOrBuilder, java.io.Serializable

    @Generated(value="protoc",
               comments="annotations:DescribeTaskQueueResponse.java.pb.meta")
    public final class DescribeTaskQueueResponse
    extends com.google.protobuf.GeneratedMessageV3
    implements DescribeTaskQueueResponseOrBuilder
    Protobuf type temporal.api.workflowservice.v1.DescribeTaskQueueResponse
    See Also:
    Serialized Form
    • Field Detail

      • TASK_QUEUE_STATUS_FIELD_NUMBER

        public static final int TASK_QUEUE_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VERSIONS_INFO_FIELD_NUMBER

        public static final int VERSIONS_INFO_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VERSIONING_INFO_FIELD_NUMBER

        public static final int VERSIONING_INFO_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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
      • 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.
      • 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static DescribeTaskQueueResponse parseFrom​(java.nio.ByteBuffer data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DescribeTaskQueueResponse parseFrom​(java.nio.ByteBuffer data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DescribeTaskQueueResponse parseFrom​(com.google.protobuf.ByteString data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DescribeTaskQueueResponse parseFrom​(com.google.protobuf.ByteString data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DescribeTaskQueueResponse parseFrom​(byte[] data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DescribeTaskQueueResponse parseFrom​(byte[] data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DescribeTaskQueueResponse parseFrom​(java.io.InputStream input)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static DescribeTaskQueueResponse parseFrom​(java.io.InputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static DescribeTaskQueueResponse parseDelimitedFrom​(java.io.InputStream input)
                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static DescribeTaskQueueResponse parseDelimitedFrom​(java.io.InputStream input,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static DescribeTaskQueueResponse parseFrom​(com.google.protobuf.CodedInputStream input)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static DescribeTaskQueueResponse parseFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

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

        protected DescribeTaskQueueResponse.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<DescribeTaskQueueResponse> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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