Interface TaskQueueVersioningInfoOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.
    Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.
    Deprecated.
    temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated.
    When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.
    When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.
    Deprecated.
    temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated.
    float
    Percentage of tasks that are routed to the Ramping Version instead of the Current Version.
    com.google.protobuf.Timestamp
    Last time versioning information of this Task Queue changed.
    com.google.protobuf.TimestampOrBuilder
    Last time versioning information of this Task Queue changed.
    boolean
    Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.
    boolean
    When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.
    boolean
    Last time versioning information of this Task Queue changed.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasCurrentDeploymentVersion

      boolean hasCurrentDeploymentVersion()
       Specifies which Deployment Version should receive new workflow executions and tasks of
       existing unversioned or AutoUpgrade workflows.
       Nil value represents all the 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 represents all the 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 represents all the 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 String getCurrentVersion()
      Deprecated.
      temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=43
       Deprecated. Use `current_deployment_version`.
       
      string current_version = 1 [deprecated = true];
      Returns:
      The currentVersion.
    • getCurrentVersionBytes

      @Deprecated com.google.protobuf.ByteString getCurrentVersionBytes()
      Deprecated.
      temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=43
       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 String getRampingVersion()
      Deprecated.
      temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=52
       Deprecated. Use `ramping_deployment_version`.
       
      string ramping_version = 2 [deprecated = true];
      Returns:
      The rampingVersion.
    • getRampingVersionBytes

      @Deprecated com.google.protobuf.ByteString getRampingVersionBytes()
      Deprecated.
      temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=52
       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.
    • hasUpdateTime

      boolean hasUpdateTime()
       Last time versioning information of this Task Queue changed.
       
      .google.protobuf.Timestamp update_time = 4;
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Last time versioning information of this Task Queue changed.
       
      .google.protobuf.Timestamp update_time = 4;
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Last time versioning information of this Task Queue changed.
       
      .google.protobuf.Timestamp update_time = 4;