Class WorkerDeploymentVersionInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WorkerDeploymentVersionInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentVersionInfo.Builder>
io.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkerDeploymentVersionInfoOrBuilder, 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.
 
Protobuf type temporal.api.deployment.v1.WorkerDeploymentVersionInfo
  • Method Details

    • 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>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear 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

      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
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentVersionInfo.Builder>
    • setField

      public WorkerDeploymentVersionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentVersionInfo.Builder>
    • clearField

      public WorkerDeploymentVersionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentVersionInfo.Builder>
    • clearOneof

      public WorkerDeploymentVersionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentVersionInfo.Builder>
    • setRepeatedField

      public WorkerDeploymentVersionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, 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, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentVersionInfo.Builder>
    • mergeFrom

      public WorkerDeploymentVersionInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkerDeploymentVersionInfo.Builder>
    • mergeFrom

    • 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 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:
      IOException
    • getVersion

      @Deprecated public 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.
      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.
      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.
    • getStatus

      public WorkerDeploymentVersionStatus getStatus()
       The status of the Worker Deployment Version.
       
      .temporal.api.enums.v1.WorkerDeploymentVersionStatus status = 14;
      Specified by:
      getStatus in interface WorkerDeploymentVersionInfoOrBuilder
      Returns:
      The status.
    • setStatus

       The status of the Worker Deployment Version.
       
      .temporal.api.enums.v1.WorkerDeploymentVersionStatus status = 14;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • 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.
    • getDeploymentVersion

      public WorkerDeploymentVersion getDeploymentVersion()
       Required.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;
      Specified by:
      getDeploymentVersion in interface WorkerDeploymentVersionInfoOrBuilder
      Returns:
      The deploymentVersion.
    • setDeploymentVersion

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

      public WorkerDeploymentVersionInfo.Builder setDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue)
       Required.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;
    • mergeDeploymentVersion

      public WorkerDeploymentVersionInfo.Builder mergeDeploymentVersion(WorkerDeploymentVersion value)
       Required.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;
    • 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;
    • getDeploymentVersionOrBuilder

      public WorkerDeploymentVersionOrBuilder getDeploymentVersionOrBuilder()
       Required.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 11;
      Specified by:
      getDeploymentVersionOrBuilder in interface WorkerDeploymentVersionInfoOrBuilder
    • getDeploymentName

      public String getDeploymentName()
       Deprecated. User deployment_version.deployment_name.
       
      string deployment_name = 2;
      Specified by:
      getDeploymentName in interface WorkerDeploymentVersionInfoOrBuilder
      Returns:
      The deploymentName.
    • getDeploymentNameBytes

      public com.google.protobuf.ByteString getDeploymentNameBytes()
       Deprecated. User deployment_version.deployment_name.
       
      string deployment_name = 2;
      Specified by:
      getDeploymentNameBytes in interface WorkerDeploymentVersionInfoOrBuilder
      Returns:
      The bytes for deploymentName.
    • setDeploymentName

      public WorkerDeploymentVersionInfo.Builder setDeploymentName(String value)
       Deprecated. User deployment_version.deployment_name.
       
      string deployment_name = 2;
      Parameters:
      value - The deploymentName to set.
      Returns:
      This builder for chaining.
    • clearDeploymentName

      public WorkerDeploymentVersionInfo.Builder clearDeploymentName()
       Deprecated. User deployment_version.deployment_name.
       
      string deployment_name = 2;
      Returns:
      This builder for chaining.
    • setDeploymentNameBytes

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

      public boolean hasCreateTime()
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      hasCreateTime in interface WorkerDeploymentVersionInfoOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      getCreateTime in interface WorkerDeploymentVersionInfoOrBuilder
      Returns:
      The createTime.
    • setCreateTime

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

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

      public WorkerDeploymentVersionInfo.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp create_time = 3;
    • clearCreateTime

      public WorkerDeploymentVersionInfo.Builder clearCreateTime()
      .google.protobuf.Timestamp create_time = 3;
    • getCreateTimeBuilder

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

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      getCreateTimeOrBuilder in interface WorkerDeploymentVersionInfoOrBuilder
    • 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;
    • getFirstActivationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getFirstActivationTimeOrBuilder()
       Timestamp when this version first became current or ramping.
       
      .google.protobuf.Timestamp first_activation_time = 12;
      Specified by:
      getFirstActivationTimeOrBuilder in interface WorkerDeploymentVersionInfoOrBuilder
    • hasLastCurrentTime

      public boolean hasLastCurrentTime()
       Timestamp when this version last became current.
       Can be used to determine whether a version has ever been Current.
       
      .google.protobuf.Timestamp last_current_time = 15;
      Specified by:
      hasLastCurrentTime in interface WorkerDeploymentVersionInfoOrBuilder
      Returns:
      Whether the lastCurrentTime field is set.
    • getLastCurrentTime

      public com.google.protobuf.Timestamp getLastCurrentTime()
       Timestamp when this version last became current.
       Can be used to determine whether a version has ever been Current.
       
      .google.protobuf.Timestamp last_current_time = 15;
      Specified by:
      getLastCurrentTime in interface WorkerDeploymentVersionInfoOrBuilder
      Returns:
      The lastCurrentTime.
    • setLastCurrentTime

      public WorkerDeploymentVersionInfo.Builder setLastCurrentTime(com.google.protobuf.Timestamp value)
       Timestamp when this version last became current.
       Can be used to determine whether a version has ever been Current.
       
      .google.protobuf.Timestamp last_current_time = 15;
    • setLastCurrentTime

      public WorkerDeploymentVersionInfo.Builder setLastCurrentTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when this version last became current.
       Can be used to determine whether a version has ever been Current.
       
      .google.protobuf.Timestamp last_current_time = 15;
    • mergeLastCurrentTime

      public WorkerDeploymentVersionInfo.Builder mergeLastCurrentTime(com.google.protobuf.Timestamp value)
       Timestamp when this version last became current.
       Can be used to determine whether a version has ever been Current.
       
      .google.protobuf.Timestamp last_current_time = 15;
    • clearLastCurrentTime

      public WorkerDeploymentVersionInfo.Builder clearLastCurrentTime()
       Timestamp when this version last became current.
       Can be used to determine whether a version has ever been Current.
       
      .google.protobuf.Timestamp last_current_time = 15;
    • getLastCurrentTimeBuilder

      public com.google.protobuf.Timestamp.Builder getLastCurrentTimeBuilder()
       Timestamp when this version last became current.
       Can be used to determine whether a version has ever been Current.
       
      .google.protobuf.Timestamp last_current_time = 15;
    • getLastCurrentTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastCurrentTimeOrBuilder()
       Timestamp when this version last became current.
       Can be used to determine whether a version has ever been Current.
       
      .google.protobuf.Timestamp last_current_time = 15;
      Specified by:
      getLastCurrentTimeOrBuilder in interface WorkerDeploymentVersionInfoOrBuilder
    • hasLastDeactivationTime

      public boolean hasLastDeactivationTime()
       Timestamp when this version last stopped being current or ramping.
       Cleared if the version becomes current or ramping again.
       
      .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.
       Cleared if the version becomes current or ramping again.
       
      .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.
       Cleared if the version becomes current or ramping again.
       
      .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.
       Cleared if the version becomes current or ramping again.
       
      .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.
       Cleared if the version becomes current or ramping again.
       
      .google.protobuf.Timestamp last_deactivation_time = 13;
    • clearLastDeactivationTime

      public WorkerDeploymentVersionInfo.Builder clearLastDeactivationTime()
       Timestamp when this version last stopped being current or ramping.
       Cleared if the version becomes current or ramping again.
       
      .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.
       Cleared if the version becomes current or ramping again.
       
      .google.protobuf.Timestamp last_deactivation_time = 13;
    • getLastDeactivationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastDeactivationTimeOrBuilder()
       Timestamp when this version last stopped being current or ramping.
       Cleared if the version becomes current or ramping again.
       
      .google.protobuf.Timestamp last_deactivation_time = 13;
      Specified by:
      getLastDeactivationTimeOrBuilder in interface WorkerDeploymentVersionInfoOrBuilder
    • 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.
    • getTaskQueueInfosList

      public List<WorkerDeploymentVersionInfo.VersionTaskQueueInfo> getTaskQueueInfosList()
       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:
      getTaskQueueInfosList in interface WorkerDeploymentVersionInfoOrBuilder
    • 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
    • getTaskQueueInfos

      public WorkerDeploymentVersionInfo.VersionTaskQueueInfo getTaskQueueInfos(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;
      Specified by:
      getTaskQueueInfos in interface WorkerDeploymentVersionInfoOrBuilder
    • setTaskQueueInfos

       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;
    • setTaskQueueInfos

       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

       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

       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

       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

       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

       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;
    • getTaskQueueInfosOrBuilder

      public WorkerDeploymentVersionInfo.VersionTaskQueueInfoOrBuilder getTaskQueueInfosOrBuilder(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;
      Specified by:
      getTaskQueueInfosOrBuilder in interface WorkerDeploymentVersionInfoOrBuilder
    • getTaskQueueInfosOrBuilderList

      public List<? extends WorkerDeploymentVersionInfo.VersionTaskQueueInfoOrBuilder> getTaskQueueInfosOrBuilderList()
       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:
      getTaskQueueInfosOrBuilderList in interface WorkerDeploymentVersionInfoOrBuilder
    • 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 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

       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.
    • getMetadata

      public VersionMetadata getMetadata()
       Arbitrary user-provided metadata attached to this version.
       
      .temporal.api.deployment.v1.VersionMetadata metadata = 10;
      Specified by:
      getMetadata in interface WorkerDeploymentVersionInfoOrBuilder
      Returns:
      The metadata.
    • setMetadata

       Arbitrary user-provided metadata attached to this version.
       
      .temporal.api.deployment.v1.VersionMetadata metadata = 10;
    • setMetadata

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

       Arbitrary user-provided metadata attached to this version.
       
      .temporal.api.deployment.v1.VersionMetadata metadata = 10;
    • 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;
    • getMetadataOrBuilder

      public VersionMetadataOrBuilder getMetadataOrBuilder()
       Arbitrary user-provided metadata attached to this version.
       
      .temporal.api.deployment.v1.VersionMetadata metadata = 10;
      Specified by:
      getMetadataOrBuilder in interface WorkerDeploymentVersionInfoOrBuilder
    • hasComputeConfig

      public boolean hasComputeConfig()
       Optional. Contains the new worker compute configuration for the Worker
       Deployment. Used for worker scale management.
       
      .temporal.api.compute.v1.ComputeConfig compute_config = 16;
      Specified by:
      hasComputeConfig in interface WorkerDeploymentVersionInfoOrBuilder
      Returns:
      Whether the computeConfig field is set.
    • getComputeConfig

      public ComputeConfig getComputeConfig()
       Optional. Contains the new worker compute configuration for the Worker
       Deployment. Used for worker scale management.
       
      .temporal.api.compute.v1.ComputeConfig compute_config = 16;
      Specified by:
      getComputeConfig in interface WorkerDeploymentVersionInfoOrBuilder
      Returns:
      The computeConfig.
    • setComputeConfig

      public WorkerDeploymentVersionInfo.Builder setComputeConfig(ComputeConfig value)
       Optional. Contains the new worker compute configuration for the Worker
       Deployment. Used for worker scale management.
       
      .temporal.api.compute.v1.ComputeConfig compute_config = 16;
    • setComputeConfig

      public WorkerDeploymentVersionInfo.Builder setComputeConfig(ComputeConfig.Builder builderForValue)
       Optional. Contains the new worker compute configuration for the Worker
       Deployment. Used for worker scale management.
       
      .temporal.api.compute.v1.ComputeConfig compute_config = 16;
    • mergeComputeConfig

      public WorkerDeploymentVersionInfo.Builder mergeComputeConfig(ComputeConfig value)
       Optional. Contains the new worker compute configuration for the Worker
       Deployment. Used for worker scale management.
       
      .temporal.api.compute.v1.ComputeConfig compute_config = 16;
    • clearComputeConfig

      public WorkerDeploymentVersionInfo.Builder clearComputeConfig()
       Optional. Contains the new worker compute configuration for the Worker
       Deployment. Used for worker scale management.
       
      .temporal.api.compute.v1.ComputeConfig compute_config = 16;
    • getComputeConfigBuilder

      public ComputeConfig.Builder getComputeConfigBuilder()
       Optional. Contains the new worker compute configuration for the Worker
       Deployment. Used for worker scale management.
       
      .temporal.api.compute.v1.ComputeConfig compute_config = 16;
    • getComputeConfigOrBuilder

      public ComputeConfigOrBuilder getComputeConfigOrBuilder()
       Optional. Contains the new worker compute configuration for the Worker
       Deployment. Used for worker scale management.
       
      .temporal.api.compute.v1.ComputeConfig compute_config = 16;
      Specified by:
      getComputeConfigOrBuilder in interface WorkerDeploymentVersionInfoOrBuilder
    • getLastModifierIdentity

      public String getLastModifierIdentity()
       Identity of the last client who modified the configuration of this Version.
       As of now, this field only covers changes through the following APIs:
       - `CreateWorkerDeploymentVersion`
       - `UpdateWorkerDeploymentVersionComputeConfig`
       - `UpdateWorkerDeploymentVersionMetadata`
       
      string last_modifier_identity = 17;
      Specified by:
      getLastModifierIdentity in interface WorkerDeploymentVersionInfoOrBuilder
      Returns:
      The lastModifierIdentity.
    • getLastModifierIdentityBytes

      public com.google.protobuf.ByteString getLastModifierIdentityBytes()
       Identity of the last client who modified the configuration of this Version.
       As of now, this field only covers changes through the following APIs:
       - `CreateWorkerDeploymentVersion`
       - `UpdateWorkerDeploymentVersionComputeConfig`
       - `UpdateWorkerDeploymentVersionMetadata`
       
      string last_modifier_identity = 17;
      Specified by:
      getLastModifierIdentityBytes in interface WorkerDeploymentVersionInfoOrBuilder
      Returns:
      The bytes for lastModifierIdentity.
    • setLastModifierIdentity

      public WorkerDeploymentVersionInfo.Builder setLastModifierIdentity(String value)
       Identity of the last client who modified the configuration of this Version.
       As of now, this field only covers changes through the following APIs:
       - `CreateWorkerDeploymentVersion`
       - `UpdateWorkerDeploymentVersionComputeConfig`
       - `UpdateWorkerDeploymentVersionMetadata`
       
      string last_modifier_identity = 17;
      Parameters:
      value - The lastModifierIdentity to set.
      Returns:
      This builder for chaining.
    • clearLastModifierIdentity

      public WorkerDeploymentVersionInfo.Builder clearLastModifierIdentity()
       Identity of the last client who modified the configuration of this Version.
       As of now, this field only covers changes through the following APIs:
       - `CreateWorkerDeploymentVersion`
       - `UpdateWorkerDeploymentVersionComputeConfig`
       - `UpdateWorkerDeploymentVersionMetadata`
       
      string last_modifier_identity = 17;
      Returns:
      This builder for chaining.
    • setLastModifierIdentityBytes

      public WorkerDeploymentVersionInfo.Builder setLastModifierIdentityBytes(com.google.protobuf.ByteString value)
       Identity of the last client who modified the configuration of this Version.
       As of now, this field only covers changes through the following APIs:
       - `CreateWorkerDeploymentVersion`
       - `UpdateWorkerDeploymentVersionComputeConfig`
       - `UpdateWorkerDeploymentVersionMetadata`
       
      string last_modifier_identity = 17;
      Parameters:
      value - The bytes for lastModifierIdentity to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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