Class WorkerDeploymentInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WorkerDeploymentInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentInfo.Builder>
io.temporal.api.deployment.v1.WorkerDeploymentInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkerDeploymentInfoOrBuilder, Cloneable
Enclosing class:
WorkerDeploymentInfo

public static final class WorkerDeploymentInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkerDeploymentInfo.Builder> implements WorkerDeploymentInfoOrBuilder
 A Worker Deployment (Deployment, for short) represents all workers serving
 a shared set of Task Queues. Typically, a Deployment represents one service or
 application.
 A Deployment contains multiple Deployment Versions, each representing a different
 version of workers. (see documentation of WorkerDeploymentVersionInfo)
 Deployment records are created in Temporal server automatically when their
 first poller arrives to the server.
 
Protobuf type temporal.api.deployment.v1.WorkerDeploymentInfo
  • 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<WorkerDeploymentInfo.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<WorkerDeploymentInfo.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<WorkerDeploymentInfo.Builder>
    • getDefaultInstanceForType

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

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

      public WorkerDeploymentInfo 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<WorkerDeploymentInfo.Builder>
    • setField

      public WorkerDeploymentInfo.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<WorkerDeploymentInfo.Builder>
    • clearField

      public WorkerDeploymentInfo.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<WorkerDeploymentInfo.Builder>
    • clearOneof

      public WorkerDeploymentInfo.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<WorkerDeploymentInfo.Builder>
    • setRepeatedField

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

      public WorkerDeploymentInfo.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<WorkerDeploymentInfo.Builder>
    • mergeFrom

      public WorkerDeploymentInfo.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<WorkerDeploymentInfo.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<WorkerDeploymentInfo.Builder>
    • mergeFrom

      public WorkerDeploymentInfo.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<WorkerDeploymentInfo.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifies a Worker Deployment. Must be unique within the namespace.
       
      string name = 1;
      Specified by:
      getName in interface WorkerDeploymentInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifies a Worker Deployment. Must be unique within the namespace.
       
      string name = 1;
      Specified by:
      getNameBytes in interface WorkerDeploymentInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public WorkerDeploymentInfo.Builder setName(String value)
       Identifies a Worker Deployment. Must be unique within the namespace.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public WorkerDeploymentInfo.Builder clearName()
       Identifies a Worker Deployment. Must be unique within the namespace.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public WorkerDeploymentInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifies a Worker Deployment. Must be unique within the namespace.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getVersionSummariesList

      public List<WorkerDeploymentInfo.WorkerDeploymentVersionSummary> getVersionSummariesList()
       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
      Specified by:
      getVersionSummariesList in interface WorkerDeploymentInfoOrBuilder
    • getVersionSummariesCount

      public int getVersionSummariesCount()
       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
      Specified by:
      getVersionSummariesCount in interface WorkerDeploymentInfoOrBuilder
    • getVersionSummaries

      public WorkerDeploymentInfo.WorkerDeploymentVersionSummary getVersionSummaries(int index)
       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
      Specified by:
      getVersionSummaries in interface WorkerDeploymentInfoOrBuilder
    • setVersionSummaries

       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
    • setVersionSummaries

      public WorkerDeploymentInfo.Builder setVersionSummaries(int index, WorkerDeploymentInfo.WorkerDeploymentVersionSummary.Builder builderForValue)
       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
    • addVersionSummaries

       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
    • addVersionSummaries

       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
    • addVersionSummaries

       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
    • addVersionSummaries

      public WorkerDeploymentInfo.Builder addVersionSummaries(int index, WorkerDeploymentInfo.WorkerDeploymentVersionSummary.Builder builderForValue)
       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
    • addAllVersionSummaries

       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
    • clearVersionSummaries

      public WorkerDeploymentInfo.Builder clearVersionSummaries()
       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
    • removeVersionSummaries

      public WorkerDeploymentInfo.Builder removeVersionSummaries(int index)
       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
    • getVersionSummariesBuilder

      public WorkerDeploymentInfo.WorkerDeploymentVersionSummary.Builder getVersionSummariesBuilder(int index)
       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
    • getVersionSummariesOrBuilder

      public WorkerDeploymentInfo.WorkerDeploymentVersionSummaryOrBuilder getVersionSummariesOrBuilder(int index)
       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
      Specified by:
      getVersionSummariesOrBuilder in interface WorkerDeploymentInfoOrBuilder
    • getVersionSummariesOrBuilderList

      public List<? extends WorkerDeploymentInfo.WorkerDeploymentVersionSummaryOrBuilder> getVersionSummariesOrBuilderList()
       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
      Specified by:
      getVersionSummariesOrBuilderList in interface WorkerDeploymentInfoOrBuilder
    • addVersionSummariesBuilder

       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
    • addVersionSummariesBuilder

      public WorkerDeploymentInfo.WorkerDeploymentVersionSummary.Builder addVersionSummariesBuilder(int index)
       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
    • getVersionSummariesBuilderList

      public List<WorkerDeploymentInfo.WorkerDeploymentVersionSummary.Builder> getVersionSummariesBuilderList()
       Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be
       cleaned up automatically if all the following conditions meet:
       - It does not receive new executions (is not current or ramping)
       - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status)
       - It is drained (see WorkerDeploymentVersionInfo.drainage_status)
       
      repeated .temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary version_summaries = 2;
    • hasCreateTime

      public boolean hasCreateTime()
      .google.protobuf.Timestamp create_time = 3;
      Specified by:
      hasCreateTime in interface WorkerDeploymentInfoOrBuilder
      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 WorkerDeploymentInfoOrBuilder
      Returns:
      The createTime.
    • setCreateTime

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

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

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

      public WorkerDeploymentInfo.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 WorkerDeploymentInfoOrBuilder
    • hasRoutingConfig

      public boolean hasRoutingConfig()
      .temporal.api.deployment.v1.RoutingConfig routing_config = 4;
      Specified by:
      hasRoutingConfig in interface WorkerDeploymentInfoOrBuilder
      Returns:
      Whether the routingConfig field is set.
    • getRoutingConfig

      public RoutingConfig getRoutingConfig()
      .temporal.api.deployment.v1.RoutingConfig routing_config = 4;
      Specified by:
      getRoutingConfig in interface WorkerDeploymentInfoOrBuilder
      Returns:
      The routingConfig.
    • setRoutingConfig

      public WorkerDeploymentInfo.Builder setRoutingConfig(RoutingConfig value)
      .temporal.api.deployment.v1.RoutingConfig routing_config = 4;
    • setRoutingConfig

      public WorkerDeploymentInfo.Builder setRoutingConfig(RoutingConfig.Builder builderForValue)
      .temporal.api.deployment.v1.RoutingConfig routing_config = 4;
    • mergeRoutingConfig

      public WorkerDeploymentInfo.Builder mergeRoutingConfig(RoutingConfig value)
      .temporal.api.deployment.v1.RoutingConfig routing_config = 4;
    • clearRoutingConfig

      public WorkerDeploymentInfo.Builder clearRoutingConfig()
      .temporal.api.deployment.v1.RoutingConfig routing_config = 4;
    • getRoutingConfigBuilder

      public RoutingConfig.Builder getRoutingConfigBuilder()
      .temporal.api.deployment.v1.RoutingConfig routing_config = 4;
    • getRoutingConfigOrBuilder

      public RoutingConfigOrBuilder getRoutingConfigOrBuilder()
      .temporal.api.deployment.v1.RoutingConfig routing_config = 4;
      Specified by:
      getRoutingConfigOrBuilder in interface WorkerDeploymentInfoOrBuilder
    • getLastModifierIdentity

      public String getLastModifierIdentity()
       Identity of the last client who modified the configuration of this Deployment. Set to the
       `identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and
       `SetWorkerDeploymentRampingVersion`.
       
      string last_modifier_identity = 5;
      Specified by:
      getLastModifierIdentity in interface WorkerDeploymentInfoOrBuilder
      Returns:
      The lastModifierIdentity.
    • getLastModifierIdentityBytes

      public com.google.protobuf.ByteString getLastModifierIdentityBytes()
       Identity of the last client who modified the configuration of this Deployment. Set to the
       `identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and
       `SetWorkerDeploymentRampingVersion`.
       
      string last_modifier_identity = 5;
      Specified by:
      getLastModifierIdentityBytes in interface WorkerDeploymentInfoOrBuilder
      Returns:
      The bytes for lastModifierIdentity.
    • setLastModifierIdentity

      public WorkerDeploymentInfo.Builder setLastModifierIdentity(String value)
       Identity of the last client who modified the configuration of this Deployment. Set to the
       `identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and
       `SetWorkerDeploymentRampingVersion`.
       
      string last_modifier_identity = 5;
      Parameters:
      value - The lastModifierIdentity to set.
      Returns:
      This builder for chaining.
    • clearLastModifierIdentity

      public WorkerDeploymentInfo.Builder clearLastModifierIdentity()
       Identity of the last client who modified the configuration of this Deployment. Set to the
       `identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and
       `SetWorkerDeploymentRampingVersion`.
       
      string last_modifier_identity = 5;
      Returns:
      This builder for chaining.
    • setLastModifierIdentityBytes

      public WorkerDeploymentInfo.Builder setLastModifierIdentityBytes(com.google.protobuf.ByteString value)
       Identity of the last client who modified the configuration of this Deployment. Set to the
       `identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and
       `SetWorkerDeploymentRampingVersion`.
       
      string last_modifier_identity = 5;
      Parameters:
      value - The bytes for lastModifierIdentity to set.
      Returns:
      This builder for chaining.
    • getManagerIdentity

      public String getManagerIdentity()
       Identity of the client that has the exclusive right to make changes to this Worker Deployment.
       Empty by default.
       If this is set, clients whose identity does not match `manager_identity` will not be able to make changes
       to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed.
       
      string manager_identity = 6;
      Specified by:
      getManagerIdentity in interface WorkerDeploymentInfoOrBuilder
      Returns:
      The managerIdentity.
    • getManagerIdentityBytes

      public com.google.protobuf.ByteString getManagerIdentityBytes()
       Identity of the client that has the exclusive right to make changes to this Worker Deployment.
       Empty by default.
       If this is set, clients whose identity does not match `manager_identity` will not be able to make changes
       to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed.
       
      string manager_identity = 6;
      Specified by:
      getManagerIdentityBytes in interface WorkerDeploymentInfoOrBuilder
      Returns:
      The bytes for managerIdentity.
    • setManagerIdentity

      public WorkerDeploymentInfo.Builder setManagerIdentity(String value)
       Identity of the client that has the exclusive right to make changes to this Worker Deployment.
       Empty by default.
       If this is set, clients whose identity does not match `manager_identity` will not be able to make changes
       to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed.
       
      string manager_identity = 6;
      Parameters:
      value - The managerIdentity to set.
      Returns:
      This builder for chaining.
    • clearManagerIdentity

      public WorkerDeploymentInfo.Builder clearManagerIdentity()
       Identity of the client that has the exclusive right to make changes to this Worker Deployment.
       Empty by default.
       If this is set, clients whose identity does not match `manager_identity` will not be able to make changes
       to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed.
       
      string manager_identity = 6;
      Returns:
      This builder for chaining.
    • setManagerIdentityBytes

      public WorkerDeploymentInfo.Builder setManagerIdentityBytes(com.google.protobuf.ByteString value)
       Identity of the client that has the exclusive right to make changes to this Worker Deployment.
       Empty by default.
       If this is set, clients whose identity does not match `manager_identity` will not be able to make changes
       to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed.
       
      string manager_identity = 6;
      Parameters:
      value - The bytes for managerIdentity to set.
      Returns:
      This builder for chaining.
    • getRoutingConfigUpdateStateValue

      public int getRoutingConfigUpdateStateValue()
       Indicates whether the routing_config has been fully propagated to all
       relevant task queues and their partitions.
       
      .temporal.api.enums.v1.RoutingConfigUpdateState routing_config_update_state = 7;
      Specified by:
      getRoutingConfigUpdateStateValue in interface WorkerDeploymentInfoOrBuilder
      Returns:
      The enum numeric value on the wire for routingConfigUpdateState.
    • setRoutingConfigUpdateStateValue

      public WorkerDeploymentInfo.Builder setRoutingConfigUpdateStateValue(int value)
       Indicates whether the routing_config has been fully propagated to all
       relevant task queues and their partitions.
       
      .temporal.api.enums.v1.RoutingConfigUpdateState routing_config_update_state = 7;
      Parameters:
      value - The enum numeric value on the wire for routingConfigUpdateState to set.
      Returns:
      This builder for chaining.
    • getRoutingConfigUpdateState

      public RoutingConfigUpdateState getRoutingConfigUpdateState()
       Indicates whether the routing_config has been fully propagated to all
       relevant task queues and their partitions.
       
      .temporal.api.enums.v1.RoutingConfigUpdateState routing_config_update_state = 7;
      Specified by:
      getRoutingConfigUpdateState in interface WorkerDeploymentInfoOrBuilder
      Returns:
      The routingConfigUpdateState.
    • setRoutingConfigUpdateState

      public WorkerDeploymentInfo.Builder setRoutingConfigUpdateState(RoutingConfigUpdateState value)
       Indicates whether the routing_config has been fully propagated to all
       relevant task queues and their partitions.
       
      .temporal.api.enums.v1.RoutingConfigUpdateState routing_config_update_state = 7;
      Parameters:
      value - The routingConfigUpdateState to set.
      Returns:
      This builder for chaining.
    • clearRoutingConfigUpdateState

      public WorkerDeploymentInfo.Builder clearRoutingConfigUpdateState()
       Indicates whether the routing_config has been fully propagated to all
       relevant task queues and their partitions.
       
      .temporal.api.enums.v1.RoutingConfigUpdateState routing_config_update_state = 7;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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