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 TypeMethodDescriptionSpecifies 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.ByteStringDeprecated.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.ByteStringDeprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated.floatPercentage of tasks that are routed to the Ramping Version instead of the Current Version.com.google.protobuf.TimestampLast time versioning information of this Task Queue changed.com.google.protobuf.TimestampOrBuilderLast time versioning information of this Task Queue changed.booleanSpecifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.booleanWhen ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.booleanLast time versioning information of this Task Queue changed.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=43Deprecated. Use `current_deployment_version`.
string current_version = 1 [deprecated = true];- Returns:
- The currentVersion.
-
getCurrentVersionBytes
Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=43Deprecated. 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.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=52Deprecated. Use `ramping_deployment_version`.
string ramping_version = 2 [deprecated = true];- Returns:
- The rampingVersion.
-
getRampingVersionBytes
Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=52Deprecated. 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;
-