Class RoutingConfig.Builder

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

public static final class RoutingConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RoutingConfig.Builder> implements RoutingConfigOrBuilder
Protobuf type temporal.api.deployment.v1.RoutingConfig
  • 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<RoutingConfig.Builder>
    • clear

      public RoutingConfig.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<RoutingConfig.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<RoutingConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public RoutingConfig.Builder mergeFrom(RoutingConfig other)
    • isInitialized

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

      public RoutingConfig.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<RoutingConfig.Builder>
      Throws:
      IOException
    • hasCurrentDeploymentVersion

      public boolean hasCurrentDeploymentVersion()
       Specifies which Deployment Version should receive new workflow executions and tasks of
       existing unversioned or AutoUpgrade workflows.
       Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set)  goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.).
       Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage
       is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`).
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion current_deployment_version = 7;
      Specified by:
      hasCurrentDeploymentVersion in interface RoutingConfigOrBuilder
      Returns:
      Whether the currentDeploymentVersion field is set.
    • getCurrentDeploymentVersion

      public WorkerDeploymentVersion getCurrentDeploymentVersion()
       Specifies which Deployment Version should receive new workflow executions and tasks of
       existing unversioned or AutoUpgrade workflows.
       Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set)  goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.).
       Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage
       is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`).
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion current_deployment_version = 7;
      Specified by:
      getCurrentDeploymentVersion in interface RoutingConfigOrBuilder
      Returns:
      The currentDeploymentVersion.
    • setCurrentDeploymentVersion

      public RoutingConfig.Builder setCurrentDeploymentVersion(WorkerDeploymentVersion value)
       Specifies which Deployment Version should receive new workflow executions and tasks of
       existing unversioned or AutoUpgrade workflows.
       Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set)  goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.).
       Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage
       is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`).
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion current_deployment_version = 7;
    • setCurrentDeploymentVersion

      public RoutingConfig.Builder setCurrentDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue)
       Specifies which Deployment Version should receive new workflow executions and tasks of
       existing unversioned or AutoUpgrade workflows.
       Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set)  goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.).
       Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage
       is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`).
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion current_deployment_version = 7;
    • mergeCurrentDeploymentVersion

      public RoutingConfig.Builder mergeCurrentDeploymentVersion(WorkerDeploymentVersion value)
       Specifies which Deployment Version should receive new workflow executions and tasks of
       existing unversioned or AutoUpgrade workflows.
       Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set)  goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.).
       Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage
       is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`).
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion current_deployment_version = 7;
    • clearCurrentDeploymentVersion

      public RoutingConfig.Builder clearCurrentDeploymentVersion()
       Specifies which Deployment Version should receive new workflow executions and tasks of
       existing unversioned or AutoUpgrade workflows.
       Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set)  goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.).
       Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage
       is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`).
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion current_deployment_version = 7;
    • getCurrentDeploymentVersionBuilder

      public WorkerDeploymentVersion.Builder getCurrentDeploymentVersionBuilder()
       Specifies which Deployment Version should receive new workflow executions and tasks of
       existing unversioned or AutoUpgrade workflows.
       Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set)  goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.).
       Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage
       is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`).
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion current_deployment_version = 7;
    • getCurrentDeploymentVersionOrBuilder

      public WorkerDeploymentVersionOrBuilder getCurrentDeploymentVersionOrBuilder()
       Specifies which Deployment Version should receive new workflow executions and tasks of
       existing unversioned or AutoUpgrade workflows.
       Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set)  goes to unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.).
       Note: Current Version is overridden by the Ramping Version for a portion of traffic when ramp percentage
       is non-zero (see `ramping_deployment_version` and `ramping_version_percentage`).
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion current_deployment_version = 7;
      Specified by:
      getCurrentDeploymentVersionOrBuilder in interface RoutingConfigOrBuilder
    • getCurrentVersion

      @Deprecated public String getCurrentVersion()
      Deprecated.
      temporal.api.deployment.v1.RoutingConfig.current_version is deprecated. See temporal/api/deployment/v1/message.proto;l=306
       Deprecated. Use `current_deployment_version`.
       
      string current_version = 1 [deprecated = true];
      Specified by:
      getCurrentVersion in interface RoutingConfigOrBuilder
      Returns:
      The currentVersion.
    • getCurrentVersionBytes

      @Deprecated public com.google.protobuf.ByteString getCurrentVersionBytes()
      Deprecated.
      temporal.api.deployment.v1.RoutingConfig.current_version is deprecated. See temporal/api/deployment/v1/message.proto;l=306
       Deprecated. Use `current_deployment_version`.
       
      string current_version = 1 [deprecated = true];
      Specified by:
      getCurrentVersionBytes in interface RoutingConfigOrBuilder
      Returns:
      The bytes for currentVersion.
    • setCurrentVersion

      @Deprecated public RoutingConfig.Builder setCurrentVersion(String value)
      Deprecated.
      temporal.api.deployment.v1.RoutingConfig.current_version is deprecated. See temporal/api/deployment/v1/message.proto;l=306
       Deprecated. Use `current_deployment_version`.
       
      string current_version = 1 [deprecated = true];
      Parameters:
      value - The currentVersion to set.
      Returns:
      This builder for chaining.
    • clearCurrentVersion

      @Deprecated public RoutingConfig.Builder clearCurrentVersion()
      Deprecated.
      temporal.api.deployment.v1.RoutingConfig.current_version is deprecated. See temporal/api/deployment/v1/message.proto;l=306
       Deprecated. Use `current_deployment_version`.
       
      string current_version = 1 [deprecated = true];
      Returns:
      This builder for chaining.
    • setCurrentVersionBytes

      @Deprecated public RoutingConfig.Builder setCurrentVersionBytes(com.google.protobuf.ByteString value)
      Deprecated.
      temporal.api.deployment.v1.RoutingConfig.current_version is deprecated. See temporal/api/deployment/v1/message.proto;l=306
       Deprecated. Use `current_deployment_version`.
       
      string current_version = 1 [deprecated = true];
      Parameters:
      value - The bytes for currentVersion to set.
      Returns:
      This builder for chaining.
    • hasRampingDeploymentVersion

      public boolean hasRampingDeploymentVersion()
       When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.
       Must always be different from `current_deployment_version` unless both are nil.
       Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)
       Note that it is possible to ramp from one Version to another Version, or from unversioned
       workers to a particular Version, or from a particular Version to unversioned workers.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion ramping_deployment_version = 9;
      Specified by:
      hasRampingDeploymentVersion in interface RoutingConfigOrBuilder
      Returns:
      Whether the rampingDeploymentVersion field is set.
    • getRampingDeploymentVersion

      public WorkerDeploymentVersion getRampingDeploymentVersion()
       When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.
       Must always be different from `current_deployment_version` unless both are nil.
       Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)
       Note that it is possible to ramp from one Version to another Version, or from unversioned
       workers to a particular Version, or from a particular Version to unversioned workers.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion ramping_deployment_version = 9;
      Specified by:
      getRampingDeploymentVersion in interface RoutingConfigOrBuilder
      Returns:
      The rampingDeploymentVersion.
    • setRampingDeploymentVersion

      public RoutingConfig.Builder setRampingDeploymentVersion(WorkerDeploymentVersion value)
       When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.
       Must always be different from `current_deployment_version` unless both are nil.
       Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)
       Note that it is possible to ramp from one Version to another Version, or from unversioned
       workers to a particular Version, or from a particular Version to unversioned workers.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion ramping_deployment_version = 9;
    • setRampingDeploymentVersion

      public RoutingConfig.Builder setRampingDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue)
       When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.
       Must always be different from `current_deployment_version` unless both are nil.
       Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)
       Note that it is possible to ramp from one Version to another Version, or from unversioned
       workers to a particular Version, or from a particular Version to unversioned workers.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion ramping_deployment_version = 9;
    • mergeRampingDeploymentVersion

      public RoutingConfig.Builder mergeRampingDeploymentVersion(WorkerDeploymentVersion value)
       When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.
       Must always be different from `current_deployment_version` unless both are nil.
       Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)
       Note that it is possible to ramp from one Version to another Version, or from unversioned
       workers to a particular Version, or from a particular Version to unversioned workers.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion ramping_deployment_version = 9;
    • clearRampingDeploymentVersion

      public RoutingConfig.Builder clearRampingDeploymentVersion()
       When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.
       Must always be different from `current_deployment_version` unless both are nil.
       Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)
       Note that it is possible to ramp from one Version to another Version, or from unversioned
       workers to a particular Version, or from a particular Version to unversioned workers.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion ramping_deployment_version = 9;
    • getRampingDeploymentVersionBuilder

      public WorkerDeploymentVersion.Builder getRampingDeploymentVersionBuilder()
       When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.
       Must always be different from `current_deployment_version` unless both are nil.
       Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)
       Note that it is possible to ramp from one Version to another Version, or from unversioned
       workers to a particular Version, or from a particular Version to unversioned workers.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion ramping_deployment_version = 9;
    • getRampingDeploymentVersionOrBuilder

      public WorkerDeploymentVersionOrBuilder getRampingDeploymentVersionOrBuilder()
       When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.
       Must always be different from `current_deployment_version` unless both are nil.
       Nil value represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)
       Note that it is possible to ramp from one Version to another Version, or from unversioned
       workers to a particular Version, or from a particular Version to unversioned workers.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion ramping_deployment_version = 9;
      Specified by:
      getRampingDeploymentVersionOrBuilder in interface RoutingConfigOrBuilder
    • getRampingVersion

      @Deprecated public String getRampingVersion()
      Deprecated.
      temporal.api.deployment.v1.RoutingConfig.ramping_version is deprecated. See temporal/api/deployment/v1/message.proto;l=315
       Deprecated. Use `ramping_deployment_version`.
       
      string ramping_version = 2 [deprecated = true];
      Specified by:
      getRampingVersion in interface RoutingConfigOrBuilder
      Returns:
      The rampingVersion.
    • getRampingVersionBytes

      @Deprecated public com.google.protobuf.ByteString getRampingVersionBytes()
      Deprecated.
      temporal.api.deployment.v1.RoutingConfig.ramping_version is deprecated. See temporal/api/deployment/v1/message.proto;l=315
       Deprecated. Use `ramping_deployment_version`.
       
      string ramping_version = 2 [deprecated = true];
      Specified by:
      getRampingVersionBytes in interface RoutingConfigOrBuilder
      Returns:
      The bytes for rampingVersion.
    • setRampingVersion

      @Deprecated public RoutingConfig.Builder setRampingVersion(String value)
      Deprecated.
      temporal.api.deployment.v1.RoutingConfig.ramping_version is deprecated. See temporal/api/deployment/v1/message.proto;l=315
       Deprecated. Use `ramping_deployment_version`.
       
      string ramping_version = 2 [deprecated = true];
      Parameters:
      value - The rampingVersion to set.
      Returns:
      This builder for chaining.
    • clearRampingVersion

      @Deprecated public RoutingConfig.Builder clearRampingVersion()
      Deprecated.
      temporal.api.deployment.v1.RoutingConfig.ramping_version is deprecated. See temporal/api/deployment/v1/message.proto;l=315
       Deprecated. Use `ramping_deployment_version`.
       
      string ramping_version = 2 [deprecated = true];
      Returns:
      This builder for chaining.
    • setRampingVersionBytes

      @Deprecated public RoutingConfig.Builder setRampingVersionBytes(com.google.protobuf.ByteString value)
      Deprecated.
      temporal.api.deployment.v1.RoutingConfig.ramping_version is deprecated. See temporal/api/deployment/v1/message.proto;l=315
       Deprecated. Use `ramping_deployment_version`.
       
      string ramping_version = 2 [deprecated = true];
      Parameters:
      value - The bytes for rampingVersion to set.
      Returns:
      This builder for chaining.
    • getRampingVersionPercentage

      public float getRampingVersionPercentage()
       Percentage of tasks that are routed to the Ramping Version instead of the Current Version.
       Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but
       not yet "promoted" to be the Current Version, likely due to pending validations.
       A 0% value means the Ramping Version is receiving no traffic.
       
      float ramping_version_percentage = 3;
      Specified by:
      getRampingVersionPercentage in interface RoutingConfigOrBuilder
      Returns:
      The rampingVersionPercentage.
    • setRampingVersionPercentage

      public RoutingConfig.Builder setRampingVersionPercentage(float value)
       Percentage of tasks that are routed to the Ramping Version instead of the Current Version.
       Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but
       not yet "promoted" to be the Current Version, likely due to pending validations.
       A 0% value means the Ramping Version is receiving no traffic.
       
      float ramping_version_percentage = 3;
      Parameters:
      value - The rampingVersionPercentage to set.
      Returns:
      This builder for chaining.
    • clearRampingVersionPercentage

      public RoutingConfig.Builder clearRampingVersionPercentage()
       Percentage of tasks that are routed to the Ramping Version instead of the Current Version.
       Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but
       not yet "promoted" to be the Current Version, likely due to pending validations.
       A 0% value means the Ramping Version is receiving no traffic.
       
      float ramping_version_percentage = 3;
      Returns:
      This builder for chaining.
    • hasCurrentVersionChangedTime

      public boolean hasCurrentVersionChangedTime()
       Last time current version was changed.
       
      .google.protobuf.Timestamp current_version_changed_time = 4;
      Specified by:
      hasCurrentVersionChangedTime in interface RoutingConfigOrBuilder
      Returns:
      Whether the currentVersionChangedTime field is set.
    • getCurrentVersionChangedTime

      public com.google.protobuf.Timestamp getCurrentVersionChangedTime()
       Last time current version was changed.
       
      .google.protobuf.Timestamp current_version_changed_time = 4;
      Specified by:
      getCurrentVersionChangedTime in interface RoutingConfigOrBuilder
      Returns:
      The currentVersionChangedTime.
    • setCurrentVersionChangedTime

      public RoutingConfig.Builder setCurrentVersionChangedTime(com.google.protobuf.Timestamp value)
       Last time current version was changed.
       
      .google.protobuf.Timestamp current_version_changed_time = 4;
    • setCurrentVersionChangedTime

      public RoutingConfig.Builder setCurrentVersionChangedTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Last time current version was changed.
       
      .google.protobuf.Timestamp current_version_changed_time = 4;
    • mergeCurrentVersionChangedTime

      public RoutingConfig.Builder mergeCurrentVersionChangedTime(com.google.protobuf.Timestamp value)
       Last time current version was changed.
       
      .google.protobuf.Timestamp current_version_changed_time = 4;
    • clearCurrentVersionChangedTime

      public RoutingConfig.Builder clearCurrentVersionChangedTime()
       Last time current version was changed.
       
      .google.protobuf.Timestamp current_version_changed_time = 4;
    • getCurrentVersionChangedTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCurrentVersionChangedTimeBuilder()
       Last time current version was changed.
       
      .google.protobuf.Timestamp current_version_changed_time = 4;
    • getCurrentVersionChangedTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCurrentVersionChangedTimeOrBuilder()
       Last time current version was changed.
       
      .google.protobuf.Timestamp current_version_changed_time = 4;
      Specified by:
      getCurrentVersionChangedTimeOrBuilder in interface RoutingConfigOrBuilder
    • hasRampingVersionChangedTime

      public boolean hasRampingVersionChangedTime()
       Last time ramping version was changed. Not updated if only the ramp percentage changes.
       
      .google.protobuf.Timestamp ramping_version_changed_time = 5;
      Specified by:
      hasRampingVersionChangedTime in interface RoutingConfigOrBuilder
      Returns:
      Whether the rampingVersionChangedTime field is set.
    • getRampingVersionChangedTime

      public com.google.protobuf.Timestamp getRampingVersionChangedTime()
       Last time ramping version was changed. Not updated if only the ramp percentage changes.
       
      .google.protobuf.Timestamp ramping_version_changed_time = 5;
      Specified by:
      getRampingVersionChangedTime in interface RoutingConfigOrBuilder
      Returns:
      The rampingVersionChangedTime.
    • setRampingVersionChangedTime

      public RoutingConfig.Builder setRampingVersionChangedTime(com.google.protobuf.Timestamp value)
       Last time ramping version was changed. Not updated if only the ramp percentage changes.
       
      .google.protobuf.Timestamp ramping_version_changed_time = 5;
    • setRampingVersionChangedTime

      public RoutingConfig.Builder setRampingVersionChangedTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Last time ramping version was changed. Not updated if only the ramp percentage changes.
       
      .google.protobuf.Timestamp ramping_version_changed_time = 5;
    • mergeRampingVersionChangedTime

      public RoutingConfig.Builder mergeRampingVersionChangedTime(com.google.protobuf.Timestamp value)
       Last time ramping version was changed. Not updated if only the ramp percentage changes.
       
      .google.protobuf.Timestamp ramping_version_changed_time = 5;
    • clearRampingVersionChangedTime

      public RoutingConfig.Builder clearRampingVersionChangedTime()
       Last time ramping version was changed. Not updated if only the ramp percentage changes.
       
      .google.protobuf.Timestamp ramping_version_changed_time = 5;
    • getRampingVersionChangedTimeBuilder

      public com.google.protobuf.Timestamp.Builder getRampingVersionChangedTimeBuilder()
       Last time ramping version was changed. Not updated if only the ramp percentage changes.
       
      .google.protobuf.Timestamp ramping_version_changed_time = 5;
    • getRampingVersionChangedTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getRampingVersionChangedTimeOrBuilder()
       Last time ramping version was changed. Not updated if only the ramp percentage changes.
       
      .google.protobuf.Timestamp ramping_version_changed_time = 5;
      Specified by:
      getRampingVersionChangedTimeOrBuilder in interface RoutingConfigOrBuilder
    • hasRampingVersionPercentageChangedTime

      public boolean hasRampingVersionPercentageChangedTime()
       Last time ramping version percentage was changed.
       If ramping version is changed, this is also updated, even if the percentage stays the same.
       
      .google.protobuf.Timestamp ramping_version_percentage_changed_time = 6;
      Specified by:
      hasRampingVersionPercentageChangedTime in interface RoutingConfigOrBuilder
      Returns:
      Whether the rampingVersionPercentageChangedTime field is set.
    • getRampingVersionPercentageChangedTime

      public com.google.protobuf.Timestamp getRampingVersionPercentageChangedTime()
       Last time ramping version percentage was changed.
       If ramping version is changed, this is also updated, even if the percentage stays the same.
       
      .google.protobuf.Timestamp ramping_version_percentage_changed_time = 6;
      Specified by:
      getRampingVersionPercentageChangedTime in interface RoutingConfigOrBuilder
      Returns:
      The rampingVersionPercentageChangedTime.
    • setRampingVersionPercentageChangedTime

      public RoutingConfig.Builder setRampingVersionPercentageChangedTime(com.google.protobuf.Timestamp value)
       Last time ramping version percentage was changed.
       If ramping version is changed, this is also updated, even if the percentage stays the same.
       
      .google.protobuf.Timestamp ramping_version_percentage_changed_time = 6;
    • setRampingVersionPercentageChangedTime

      public RoutingConfig.Builder setRampingVersionPercentageChangedTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Last time ramping version percentage was changed.
       If ramping version is changed, this is also updated, even if the percentage stays the same.
       
      .google.protobuf.Timestamp ramping_version_percentage_changed_time = 6;
    • mergeRampingVersionPercentageChangedTime

      public RoutingConfig.Builder mergeRampingVersionPercentageChangedTime(com.google.protobuf.Timestamp value)
       Last time ramping version percentage was changed.
       If ramping version is changed, this is also updated, even if the percentage stays the same.
       
      .google.protobuf.Timestamp ramping_version_percentage_changed_time = 6;
    • clearRampingVersionPercentageChangedTime

      public RoutingConfig.Builder clearRampingVersionPercentageChangedTime()
       Last time ramping version percentage was changed.
       If ramping version is changed, this is also updated, even if the percentage stays the same.
       
      .google.protobuf.Timestamp ramping_version_percentage_changed_time = 6;
    • getRampingVersionPercentageChangedTimeBuilder

      public com.google.protobuf.Timestamp.Builder getRampingVersionPercentageChangedTimeBuilder()
       Last time ramping version percentage was changed.
       If ramping version is changed, this is also updated, even if the percentage stays the same.
       
      .google.protobuf.Timestamp ramping_version_percentage_changed_time = 6;
    • getRampingVersionPercentageChangedTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getRampingVersionPercentageChangedTimeOrBuilder()
       Last time ramping version percentage was changed.
       If ramping version is changed, this is also updated, even if the percentage stays the same.
       
      .google.protobuf.Timestamp ramping_version_percentage_changed_time = 6;
      Specified by:
      getRampingVersionPercentageChangedTimeOrBuilder in interface RoutingConfigOrBuilder
    • getRevisionNumber

      public long getRevisionNumber()
       Monotonically increasing value which is incremented on every mutation
       to any field of this message to achieve eventual consistency between task queues and their partitions.
       
      int64 revision_number = 10;
      Specified by:
      getRevisionNumber in interface RoutingConfigOrBuilder
      Returns:
      The revisionNumber.
    • setRevisionNumber

      public RoutingConfig.Builder setRevisionNumber(long value)
       Monotonically increasing value which is incremented on every mutation
       to any field of this message to achieve eventual consistency between task queues and their partitions.
       
      int64 revision_number = 10;
      Parameters:
      value - The revisionNumber to set.
      Returns:
      This builder for chaining.
    • clearRevisionNumber

      public RoutingConfig.Builder clearRevisionNumber()
       Monotonically increasing value which is incremented on every mutation
       to any field of this message to achieve eventual consistency between task queues and their partitions.
       
      int64 revision_number = 10;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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