Class WorkerDeploymentVersionInfo.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkerDeploymentVersionInfoOrBuilder, java.lang.Cloneable
    Enclosing class:
    WorkerDeploymentVersionInfo

    public static final class WorkerDeploymentVersionInfo.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentVersionInfo.Builder>
    implements WorkerDeploymentVersionInfoOrBuilder
     A Worker Deployment Version (Version, for short) represents all workers of the same 
     code and config within a Deployment. Workers of the same Version are expected to 
     behave exactly the same so when executions move between them there are no 
     non-determinism issues.
     Worker Deployment Versions are created in Temporal server automatically when 
     their first poller arrives to the server.
     Experimental. Worker Deployments are experimental and might significantly change in the future.
     
    Protobuf type temporal.api.deployment.v1.WorkerDeploymentVersionInfo
    • Method Detail

      • getDescriptor

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

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

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

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

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

        public WorkerDeploymentVersionInfo.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<WorkerDeploymentVersionInfo.Builder>
      • addRepeatedField

        public WorkerDeploymentVersionInfo.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<WorkerDeploymentVersionInfo.Builder>
      • isInitialized

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

        public WorkerDeploymentVersionInfo.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<WorkerDeploymentVersionInfo.Builder>
        Throws:
        java.io.IOException
      • getVersion

        @Deprecated
        public java.lang.String getVersion()
        Deprecated.
        temporal.api.deployment.v1.WorkerDeploymentVersionInfo.version is deprecated. See temporal/api/deployment/v1/message.proto;l=97
         Deprecated. Use `deployment_version`.
         
        string version = 1 [deprecated = true];
        Specified by:
        getVersion in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        The version.
      • getVersionBytes

        @Deprecated
        public com.google.protobuf.ByteString getVersionBytes()
        Deprecated.
        temporal.api.deployment.v1.WorkerDeploymentVersionInfo.version is deprecated. See temporal/api/deployment/v1/message.proto;l=97
         Deprecated. Use `deployment_version`.
         
        string version = 1 [deprecated = true];
        Specified by:
        getVersionBytes in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        The bytes for version.
      • setVersion

        @Deprecated
        public WorkerDeploymentVersionInfo.Builder setVersion​(java.lang.String value)
        Deprecated.
        temporal.api.deployment.v1.WorkerDeploymentVersionInfo.version is deprecated. See temporal/api/deployment/v1/message.proto;l=97
         Deprecated. Use `deployment_version`.
         
        string version = 1 [deprecated = true];
        Parameters:
        value - The version to set.
        Returns:
        This builder for chaining.
      • clearVersion

        @Deprecated
        public WorkerDeploymentVersionInfo.Builder clearVersion()
        Deprecated.
        temporal.api.deployment.v1.WorkerDeploymentVersionInfo.version is deprecated. See temporal/api/deployment/v1/message.proto;l=97
         Deprecated. Use `deployment_version`.
         
        string version = 1 [deprecated = true];
        Returns:
        This builder for chaining.
      • setVersionBytes

        @Deprecated
        public WorkerDeploymentVersionInfo.Builder setVersionBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        temporal.api.deployment.v1.WorkerDeploymentVersionInfo.version is deprecated. See temporal/api/deployment/v1/message.proto;l=97
         Deprecated. Use `deployment_version`.
         
        string version = 1 [deprecated = true];
        Parameters:
        value - The bytes for version to set.
        Returns:
        This builder for chaining.
      • getStatusValue

        public int getStatusValue()
         The status of the Worker Deployment Version.
         
        .temporal.api.enums.v1.WorkerDeploymentVersionStatus status = 14;
        Specified by:
        getStatusValue in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • setStatusValue

        public WorkerDeploymentVersionInfo.Builder setStatusValue​(int value)
         The status of the Worker Deployment Version.
         
        .temporal.api.enums.v1.WorkerDeploymentVersionStatus status = 14;
        Parameters:
        value - The enum numeric value on the wire for status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public WorkerDeploymentVersionInfo.Builder clearStatus()
         The status of the Worker Deployment Version.
         
        .temporal.api.enums.v1.WorkerDeploymentVersionStatus status = 14;
        Returns:
        This builder for chaining.
      • hasDeploymentVersion

        public boolean hasDeploymentVersion()
         Required.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;
        Specified by:
        hasDeploymentVersion in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        Whether the deploymentVersion field is set.
      • clearDeploymentVersion

        public WorkerDeploymentVersionInfo.Builder clearDeploymentVersion()
         Required.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;
      • getDeploymentVersionBuilder

        public WorkerDeploymentVersion.Builder getDeploymentVersionBuilder()
         Required.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;
      • setDeploymentName

        public WorkerDeploymentVersionInfo.Builder setDeploymentName​(java.lang.String value)
        string deployment_name = 2;
        Parameters:
        value - The deploymentName to set.
        Returns:
        This builder for chaining.
      • setDeploymentNameBytes

        public WorkerDeploymentVersionInfo.Builder setDeploymentNameBytes​(com.google.protobuf.ByteString value)
        string deployment_name = 2;
        Parameters:
        value - The bytes for deploymentName to set.
        Returns:
        This builder for chaining.
      • setCreateTime

        public WorkerDeploymentVersionInfo.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
        .google.protobuf.Timestamp create_time = 3;
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
        .google.protobuf.Timestamp create_time = 3;
      • hasRoutingChangedTime

        public boolean hasRoutingChangedTime()
         Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
         
        .google.protobuf.Timestamp routing_changed_time = 4;
        Specified by:
        hasRoutingChangedTime in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        Whether the routingChangedTime field is set.
      • getRoutingChangedTime

        public com.google.protobuf.Timestamp getRoutingChangedTime()
         Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
         
        .google.protobuf.Timestamp routing_changed_time = 4;
        Specified by:
        getRoutingChangedTime in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        The routingChangedTime.
      • setRoutingChangedTime

        public WorkerDeploymentVersionInfo.Builder setRoutingChangedTime​(com.google.protobuf.Timestamp value)
         Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
         
        .google.protobuf.Timestamp routing_changed_time = 4;
      • setRoutingChangedTime

        public WorkerDeploymentVersionInfo.Builder setRoutingChangedTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
         
        .google.protobuf.Timestamp routing_changed_time = 4;
      • mergeRoutingChangedTime

        public WorkerDeploymentVersionInfo.Builder mergeRoutingChangedTime​(com.google.protobuf.Timestamp value)
         Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
         
        .google.protobuf.Timestamp routing_changed_time = 4;
      • clearRoutingChangedTime

        public WorkerDeploymentVersionInfo.Builder clearRoutingChangedTime()
         Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
         
        .google.protobuf.Timestamp routing_changed_time = 4;
      • getRoutingChangedTimeBuilder

        public com.google.protobuf.Timestamp.Builder getRoutingChangedTimeBuilder()
         Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
         
        .google.protobuf.Timestamp routing_changed_time = 4;
      • getRoutingChangedTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getRoutingChangedTimeOrBuilder()
         Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.
         
        .google.protobuf.Timestamp routing_changed_time = 4;
        Specified by:
        getRoutingChangedTimeOrBuilder in interface WorkerDeploymentVersionInfoOrBuilder
      • hasCurrentSinceTime

        public boolean hasCurrentSinceTime()
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not current.
         
        .google.protobuf.Timestamp current_since_time = 5;
        Specified by:
        hasCurrentSinceTime in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        Whether the currentSinceTime field is set.
      • getCurrentSinceTime

        public com.google.protobuf.Timestamp getCurrentSinceTime()
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not current.
         
        .google.protobuf.Timestamp current_since_time = 5;
        Specified by:
        getCurrentSinceTime in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        The currentSinceTime.
      • setCurrentSinceTime

        public WorkerDeploymentVersionInfo.Builder setCurrentSinceTime​(com.google.protobuf.Timestamp value)
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not current.
         
        .google.protobuf.Timestamp current_since_time = 5;
      • setCurrentSinceTime

        public WorkerDeploymentVersionInfo.Builder setCurrentSinceTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not current.
         
        .google.protobuf.Timestamp current_since_time = 5;
      • mergeCurrentSinceTime

        public WorkerDeploymentVersionInfo.Builder mergeCurrentSinceTime​(com.google.protobuf.Timestamp value)
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not current.
         
        .google.protobuf.Timestamp current_since_time = 5;
      • clearCurrentSinceTime

        public WorkerDeploymentVersionInfo.Builder clearCurrentSinceTime()
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not current.
         
        .google.protobuf.Timestamp current_since_time = 5;
      • getCurrentSinceTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCurrentSinceTimeBuilder()
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not current.
         
        .google.protobuf.Timestamp current_since_time = 5;
      • getCurrentSinceTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCurrentSinceTimeOrBuilder()
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not current.
         
        .google.protobuf.Timestamp current_since_time = 5;
        Specified by:
        getCurrentSinceTimeOrBuilder in interface WorkerDeploymentVersionInfoOrBuilder
      • hasRampingSinceTime

        public boolean hasRampingSinceTime()
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not ramping. Updated when the version first starts ramping, not on each ramp change.
         
        .google.protobuf.Timestamp ramping_since_time = 6;
        Specified by:
        hasRampingSinceTime in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        Whether the rampingSinceTime field is set.
      • getRampingSinceTime

        public com.google.protobuf.Timestamp getRampingSinceTime()
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not ramping. Updated when the version first starts ramping, not on each ramp change.
         
        .google.protobuf.Timestamp ramping_since_time = 6;
        Specified by:
        getRampingSinceTime in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        The rampingSinceTime.
      • setRampingSinceTime

        public WorkerDeploymentVersionInfo.Builder setRampingSinceTime​(com.google.protobuf.Timestamp value)
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not ramping. Updated when the version first starts ramping, not on each ramp change.
         
        .google.protobuf.Timestamp ramping_since_time = 6;
      • setRampingSinceTime

        public WorkerDeploymentVersionInfo.Builder setRampingSinceTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not ramping. Updated when the version first starts ramping, not on each ramp change.
         
        .google.protobuf.Timestamp ramping_since_time = 6;
      • mergeRampingSinceTime

        public WorkerDeploymentVersionInfo.Builder mergeRampingSinceTime​(com.google.protobuf.Timestamp value)
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not ramping. Updated when the version first starts ramping, not on each ramp change.
         
        .google.protobuf.Timestamp ramping_since_time = 6;
      • clearRampingSinceTime

        public WorkerDeploymentVersionInfo.Builder clearRampingSinceTime()
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not ramping. Updated when the version first starts ramping, not on each ramp change.
         
        .google.protobuf.Timestamp ramping_since_time = 6;
      • getRampingSinceTimeBuilder

        public com.google.protobuf.Timestamp.Builder getRampingSinceTimeBuilder()
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not ramping. Updated when the version first starts ramping, not on each ramp change.
         
        .google.protobuf.Timestamp ramping_since_time = 6;
      • getRampingSinceTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getRampingSinceTimeOrBuilder()
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)
         Unset if not ramping. Updated when the version first starts ramping, not on each ramp change.
         
        .google.protobuf.Timestamp ramping_since_time = 6;
        Specified by:
        getRampingSinceTimeOrBuilder in interface WorkerDeploymentVersionInfoOrBuilder
      • hasFirstActivationTime

        public boolean hasFirstActivationTime()
         Timestamp when this version first became current or ramping.
         
        .google.protobuf.Timestamp first_activation_time = 12;
        Specified by:
        hasFirstActivationTime in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        Whether the firstActivationTime field is set.
      • getFirstActivationTime

        public com.google.protobuf.Timestamp getFirstActivationTime()
         Timestamp when this version first became current or ramping.
         
        .google.protobuf.Timestamp first_activation_time = 12;
        Specified by:
        getFirstActivationTime in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        The firstActivationTime.
      • setFirstActivationTime

        public WorkerDeploymentVersionInfo.Builder setFirstActivationTime​(com.google.protobuf.Timestamp value)
         Timestamp when this version first became current or ramping.
         
        .google.protobuf.Timestamp first_activation_time = 12;
      • setFirstActivationTime

        public WorkerDeploymentVersionInfo.Builder setFirstActivationTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Timestamp when this version first became current or ramping.
         
        .google.protobuf.Timestamp first_activation_time = 12;
      • mergeFirstActivationTime

        public WorkerDeploymentVersionInfo.Builder mergeFirstActivationTime​(com.google.protobuf.Timestamp value)
         Timestamp when this version first became current or ramping.
         
        .google.protobuf.Timestamp first_activation_time = 12;
      • clearFirstActivationTime

        public WorkerDeploymentVersionInfo.Builder clearFirstActivationTime()
         Timestamp when this version first became current or ramping.
         
        .google.protobuf.Timestamp first_activation_time = 12;
      • getFirstActivationTimeBuilder

        public com.google.protobuf.Timestamp.Builder getFirstActivationTimeBuilder()
         Timestamp when this version first became current or ramping.
         
        .google.protobuf.Timestamp first_activation_time = 12;
      • hasLastDeactivationTime

        public boolean hasLastDeactivationTime()
         Timestamp when this version last stopped being current or ramping.
         
        .google.protobuf.Timestamp last_deactivation_time = 13;
        Specified by:
        hasLastDeactivationTime in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        Whether the lastDeactivationTime field is set.
      • getLastDeactivationTime

        public com.google.protobuf.Timestamp getLastDeactivationTime()
         Timestamp when this version last stopped being current or ramping.
         
        .google.protobuf.Timestamp last_deactivation_time = 13;
        Specified by:
        getLastDeactivationTime in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        The lastDeactivationTime.
      • setLastDeactivationTime

        public WorkerDeploymentVersionInfo.Builder setLastDeactivationTime​(com.google.protobuf.Timestamp value)
         Timestamp when this version last stopped being current or ramping.
         
        .google.protobuf.Timestamp last_deactivation_time = 13;
      • setLastDeactivationTime

        public WorkerDeploymentVersionInfo.Builder setLastDeactivationTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Timestamp when this version last stopped being current or ramping.
         
        .google.protobuf.Timestamp last_deactivation_time = 13;
      • mergeLastDeactivationTime

        public WorkerDeploymentVersionInfo.Builder mergeLastDeactivationTime​(com.google.protobuf.Timestamp value)
         Timestamp when this version last stopped being current or ramping.
         
        .google.protobuf.Timestamp last_deactivation_time = 13;
      • clearLastDeactivationTime

        public WorkerDeploymentVersionInfo.Builder clearLastDeactivationTime()
         Timestamp when this version last stopped being current or ramping.
         
        .google.protobuf.Timestamp last_deactivation_time = 13;
      • getLastDeactivationTimeBuilder

        public com.google.protobuf.Timestamp.Builder getLastDeactivationTimeBuilder()
         Timestamp when this version last stopped being current or ramping.
         
        .google.protobuf.Timestamp last_deactivation_time = 13;
      • getRampPercentage

        public float getRampPercentage()
         Range: [0, 100]. Must be zero if the version is not ramping (i.e. `ramping_since_time` is nil).
         Can be in the range [0, 100] if the version is ramping.
         
        float ramp_percentage = 7;
        Specified by:
        getRampPercentage in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        The rampPercentage.
      • setRampPercentage

        public WorkerDeploymentVersionInfo.Builder setRampPercentage​(float value)
         Range: [0, 100]. Must be zero if the version is not ramping (i.e. `ramping_since_time` is nil).
         Can be in the range [0, 100] if the version is ramping.
         
        float ramp_percentage = 7;
        Parameters:
        value - The rampPercentage to set.
        Returns:
        This builder for chaining.
      • clearRampPercentage

        public WorkerDeploymentVersionInfo.Builder clearRampPercentage()
         Range: [0, 100]. Must be zero if the version is not ramping (i.e. `ramping_since_time` is nil).
         Can be in the range [0, 100] if the version is ramping.
         
        float ramp_percentage = 7;
        Returns:
        This builder for chaining.
      • getTaskQueueInfosCount

        public int getTaskQueueInfosCount()
         All the Task Queues that have ever polled from this Deployment version.
         Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
         
        repeated .temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo task_queue_infos = 8;
        Specified by:
        getTaskQueueInfosCount in interface WorkerDeploymentVersionInfoOrBuilder
      • setTaskQueueInfos

        public WorkerDeploymentVersionInfo.Builder setTaskQueueInfos​(int index,
                                                                     WorkerDeploymentVersionInfo.VersionTaskQueueInfo value)
         All the Task Queues that have ever polled from this Deployment version.
         Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
         
        repeated .temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo task_queue_infos = 8;
      • addTaskQueueInfos

        public WorkerDeploymentVersionInfo.Builder addTaskQueueInfos​(int index,
                                                                     WorkerDeploymentVersionInfo.VersionTaskQueueInfo value)
         All the Task Queues that have ever polled from this Deployment version.
         Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
         
        repeated .temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo task_queue_infos = 8;
      • addAllTaskQueueInfos

        public WorkerDeploymentVersionInfo.Builder addAllTaskQueueInfos​(java.lang.Iterable<? extends WorkerDeploymentVersionInfo.VersionTaskQueueInfo> values)
         All the Task Queues that have ever polled from this Deployment version.
         Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
         
        repeated .temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo task_queue_infos = 8;
      • clearTaskQueueInfos

        public WorkerDeploymentVersionInfo.Builder clearTaskQueueInfos()
         All the Task Queues that have ever polled from this Deployment version.
         Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
         
        repeated .temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo task_queue_infos = 8;
      • removeTaskQueueInfos

        public WorkerDeploymentVersionInfo.Builder removeTaskQueueInfos​(int index)
         All the Task Queues that have ever polled from this Deployment version.
         Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
         
        repeated .temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo task_queue_infos = 8;
      • getTaskQueueInfosBuilder

        public WorkerDeploymentVersionInfo.VersionTaskQueueInfo.Builder getTaskQueueInfosBuilder​(int index)
         All the Task Queues that have ever polled from this Deployment version.
         Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
         
        repeated .temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo task_queue_infos = 8;
      • addTaskQueueInfosBuilder

        public WorkerDeploymentVersionInfo.VersionTaskQueueInfo.Builder addTaskQueueInfosBuilder()
         All the Task Queues that have ever polled from this Deployment version.
         Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
         
        repeated .temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo task_queue_infos = 8;
      • addTaskQueueInfosBuilder

        public WorkerDeploymentVersionInfo.VersionTaskQueueInfo.Builder addTaskQueueInfosBuilder​(int index)
         All the Task Queues that have ever polled from this Deployment version.
         Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
         
        repeated .temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo task_queue_infos = 8;
      • getTaskQueueInfosBuilderList

        public java.util.List<WorkerDeploymentVersionInfo.VersionTaskQueueInfo.Builder> getTaskQueueInfosBuilderList()
         All the Task Queues that have ever polled from this Deployment version.
         Deprecated. Use `version_task_queues` in DescribeWorkerDeploymentVersionResponse instead.
         
        repeated .temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo task_queue_infos = 8;
      • hasDrainageInfo

        public boolean hasDrainageInfo()
         Helps user determine when it is safe to decommission the workers of this
         Version. Not present when version is current or ramping.
         Current limitations:
         - Not supported for Unversioned mode.
         - Periodically refreshed, may have delays up to few minutes (consult the
           last_checked_time value).
         - Refreshed only when version is not current or ramping AND the status is not
           "drained" yet.
         - Once the status is changed to "drained", it is not changed until the Version
           becomes Current or Ramping again, at which time the drainage info is cleared.
           This means if the Version is "drained" but new workflows are sent to it via
           Pinned Versioning Override, the status does not account for those Pinned-override
           executions and remains "drained".
         
        .temporal.api.deployment.v1.VersionDrainageInfo drainage_info = 9;
        Specified by:
        hasDrainageInfo in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        Whether the drainageInfo field is set.
      • getDrainageInfo

        public VersionDrainageInfo getDrainageInfo()
         Helps user determine when it is safe to decommission the workers of this
         Version. Not present when version is current or ramping.
         Current limitations:
         - Not supported for Unversioned mode.
         - Periodically refreshed, may have delays up to few minutes (consult the
           last_checked_time value).
         - Refreshed only when version is not current or ramping AND the status is not
           "drained" yet.
         - Once the status is changed to "drained", it is not changed until the Version
           becomes Current or Ramping again, at which time the drainage info is cleared.
           This means if the Version is "drained" but new workflows are sent to it via
           Pinned Versioning Override, the status does not account for those Pinned-override
           executions and remains "drained".
         
        .temporal.api.deployment.v1.VersionDrainageInfo drainage_info = 9;
        Specified by:
        getDrainageInfo in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        The drainageInfo.
      • setDrainageInfo

        public WorkerDeploymentVersionInfo.Builder setDrainageInfo​(VersionDrainageInfo value)
         Helps user determine when it is safe to decommission the workers of this
         Version. Not present when version is current or ramping.
         Current limitations:
         - Not supported for Unversioned mode.
         - Periodically refreshed, may have delays up to few minutes (consult the
           last_checked_time value).
         - Refreshed only when version is not current or ramping AND the status is not
           "drained" yet.
         - Once the status is changed to "drained", it is not changed until the Version
           becomes Current or Ramping again, at which time the drainage info is cleared.
           This means if the Version is "drained" but new workflows are sent to it via
           Pinned Versioning Override, the status does not account for those Pinned-override
           executions and remains "drained".
         
        .temporal.api.deployment.v1.VersionDrainageInfo drainage_info = 9;
      • setDrainageInfo

        public WorkerDeploymentVersionInfo.Builder setDrainageInfo​(VersionDrainageInfo.Builder builderForValue)
         Helps user determine when it is safe to decommission the workers of this
         Version. Not present when version is current or ramping.
         Current limitations:
         - Not supported for Unversioned mode.
         - Periodically refreshed, may have delays up to few minutes (consult the
           last_checked_time value).
         - Refreshed only when version is not current or ramping AND the status is not
           "drained" yet.
         - Once the status is changed to "drained", it is not changed until the Version
           becomes Current or Ramping again, at which time the drainage info is cleared.
           This means if the Version is "drained" but new workflows are sent to it via
           Pinned Versioning Override, the status does not account for those Pinned-override
           executions and remains "drained".
         
        .temporal.api.deployment.v1.VersionDrainageInfo drainage_info = 9;
      • mergeDrainageInfo

        public WorkerDeploymentVersionInfo.Builder mergeDrainageInfo​(VersionDrainageInfo value)
         Helps user determine when it is safe to decommission the workers of this
         Version. Not present when version is current or ramping.
         Current limitations:
         - Not supported for Unversioned mode.
         - Periodically refreshed, may have delays up to few minutes (consult the
           last_checked_time value).
         - Refreshed only when version is not current or ramping AND the status is not
           "drained" yet.
         - Once the status is changed to "drained", it is not changed until the Version
           becomes Current or Ramping again, at which time the drainage info is cleared.
           This means if the Version is "drained" but new workflows are sent to it via
           Pinned Versioning Override, the status does not account for those Pinned-override
           executions and remains "drained".
         
        .temporal.api.deployment.v1.VersionDrainageInfo drainage_info = 9;
      • clearDrainageInfo

        public WorkerDeploymentVersionInfo.Builder clearDrainageInfo()
         Helps user determine when it is safe to decommission the workers of this
         Version. Not present when version is current or ramping.
         Current limitations:
         - Not supported for Unversioned mode.
         - Periodically refreshed, may have delays up to few minutes (consult the
           last_checked_time value).
         - Refreshed only when version is not current or ramping AND the status is not
           "drained" yet.
         - Once the status is changed to "drained", it is not changed until the Version
           becomes Current or Ramping again, at which time the drainage info is cleared.
           This means if the Version is "drained" but new workflows are sent to it via
           Pinned Versioning Override, the status does not account for those Pinned-override
           executions and remains "drained".
         
        .temporal.api.deployment.v1.VersionDrainageInfo drainage_info = 9;
      • getDrainageInfoBuilder

        public VersionDrainageInfo.Builder getDrainageInfoBuilder()
         Helps user determine when it is safe to decommission the workers of this
         Version. Not present when version is current or ramping.
         Current limitations:
         - Not supported for Unversioned mode.
         - Periodically refreshed, may have delays up to few minutes (consult the
           last_checked_time value).
         - Refreshed only when version is not current or ramping AND the status is not
           "drained" yet.
         - Once the status is changed to "drained", it is not changed until the Version
           becomes Current or Ramping again, at which time the drainage info is cleared.
           This means if the Version is "drained" but new workflows are sent to it via
           Pinned Versioning Override, the status does not account for those Pinned-override
           executions and remains "drained".
         
        .temporal.api.deployment.v1.VersionDrainageInfo drainage_info = 9;
      • getDrainageInfoOrBuilder

        public VersionDrainageInfoOrBuilder getDrainageInfoOrBuilder()
         Helps user determine when it is safe to decommission the workers of this
         Version. Not present when version is current or ramping.
         Current limitations:
         - Not supported for Unversioned mode.
         - Periodically refreshed, may have delays up to few minutes (consult the
           last_checked_time value).
         - Refreshed only when version is not current or ramping AND the status is not
           "drained" yet.
         - Once the status is changed to "drained", it is not changed until the Version
           becomes Current or Ramping again, at which time the drainage info is cleared.
           This means if the Version is "drained" but new workflows are sent to it via
           Pinned Versioning Override, the status does not account for those Pinned-override
           executions and remains "drained".
         
        .temporal.api.deployment.v1.VersionDrainageInfo drainage_info = 9;
        Specified by:
        getDrainageInfoOrBuilder in interface WorkerDeploymentVersionInfoOrBuilder
      • hasMetadata

        public boolean hasMetadata()
         Arbitrary user-provided metadata attached to this version.
         
        .temporal.api.deployment.v1.VersionMetadata metadata = 10;
        Specified by:
        hasMetadata in interface WorkerDeploymentVersionInfoOrBuilder
        Returns:
        Whether the metadata field is set.
      • clearMetadata

        public WorkerDeploymentVersionInfo.Builder clearMetadata()
         Arbitrary user-provided metadata attached to this version.
         
        .temporal.api.deployment.v1.VersionMetadata metadata = 10;
      • getMetadataBuilder

        public VersionMetadata.Builder getMetadataBuilder()
         Arbitrary user-provided metadata attached to this version.
         
        .temporal.api.deployment.v1.VersionMetadata metadata = 10;
      • mergeUnknownFields

        public final WorkerDeploymentVersionInfo.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<WorkerDeploymentVersionInfo.Builder>