Interface RoutingConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    RoutingConfig, RoutingConfig.Builder

    @Generated(value="protoc",
               comments="annotations:RoutingConfigOrBuilder.java.pb.meta")
    public interface RoutingConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasCurrentDeploymentVersion

        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;
        Returns:
        Whether the currentDeploymentVersion field is set.
      • getCurrentDeploymentVersion

        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;
        Returns:
        The currentDeploymentVersion.
      • getCurrentDeploymentVersionOrBuilder

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

        @Deprecated
        java.lang.String getCurrentVersion()
        Deprecated.
        temporal.api.deployment.v1.RoutingConfig.current_version is deprecated. See temporal/api/deployment/v1/message.proto;l=258
         Deprecated. Use `current_deployment_version`.
         
        string current_version = 1 [deprecated = true];
        Returns:
        The currentVersion.
      • getCurrentVersionBytes

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

        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;
        Returns:
        Whether the rampingDeploymentVersion field is set.
      • getRampingDeploymentVersion

        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;
        Returns:
        The rampingDeploymentVersion.
      • getRampingDeploymentVersionOrBuilder

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

        @Deprecated
        java.lang.String getRampingVersion()
        Deprecated.
        temporal.api.deployment.v1.RoutingConfig.ramping_version is deprecated. See temporal/api/deployment/v1/message.proto;l=267
         Deprecated. Use `ramping_deployment_version`.
         
        string ramping_version = 2 [deprecated = true];
        Returns:
        The rampingVersion.
      • getRampingVersionBytes

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

        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;
        Returns:
        The rampingVersionPercentage.
      • hasCurrentVersionChangedTime

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

        com.google.protobuf.Timestamp getCurrentVersionChangedTime()
         Last time current version was changed.
         
        .google.protobuf.Timestamp current_version_changed_time = 4;
        Returns:
        The currentVersionChangedTime.
      • getCurrentVersionChangedTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCurrentVersionChangedTimeOrBuilder()
         Last time current version was changed.
         
        .google.protobuf.Timestamp current_version_changed_time = 4;
      • hasRampingVersionChangedTime

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

        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;
        Returns:
        The rampingVersionChangedTime.
      • getRampingVersionChangedTimeOrBuilder

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

        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;
        Returns:
        Whether the rampingVersionPercentageChangedTime field is set.
      • getRampingVersionPercentageChangedTime

        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;
        Returns:
        The rampingVersionPercentageChangedTime.
      • getRampingVersionPercentageChangedTimeOrBuilder

        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;