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 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.deployment.v1.RoutingConfig.current_version is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.deployment.v1.RoutingConfig.current_version is deprecated.com.google.protobuf.TimestampLast time current version was changed.com.google.protobuf.TimestampOrBuilderLast time current version was changed.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.deployment.v1.RoutingConfig.ramping_version is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.deployment.v1.RoutingConfig.ramping_version is deprecated.com.google.protobuf.TimestampLast time ramping version was changed.com.google.protobuf.TimestampOrBuilderLast time ramping version was changed.floatPercentage of tasks that are routed to the Ramping Version instead of the Current Version.com.google.protobuf.TimestampLast time ramping version percentage was changed.com.google.protobuf.TimestampOrBuilderLast time ramping version percentage was changed.longMonotonically increasing value which is incremented on every mutation to any field of this message to achieve eventual consistency between task queues and their partitions.booleanSpecifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.booleanLast time current version was changed.booleanWhen ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.booleanLast time ramping version was changed.booleanLast time ramping version percentage was 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 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.temporal.api.deployment.v1.RoutingConfig.current_version is deprecated. See temporal/api/deployment/v1/message.proto;l=306Deprecated. Use `current_deployment_version`.
string current_version = 1 [deprecated = true];- Returns:
- The currentVersion.
-
getCurrentVersionBytes
Deprecated.temporal.api.deployment.v1.RoutingConfig.current_version is deprecated. See temporal/api/deployment/v1/message.proto;l=306Deprecated. 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.deployment.v1.RoutingConfig.ramping_version is deprecated. See temporal/api/deployment/v1/message.proto;l=315Deprecated. Use `ramping_deployment_version`.
string ramping_version = 2 [deprecated = true];- Returns:
- The rampingVersion.
-
getRampingVersionBytes
Deprecated.temporal.api.deployment.v1.RoutingConfig.ramping_version is deprecated. See temporal/api/deployment/v1/message.proto;l=315Deprecated. 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; -
getRevisionNumber
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;- Returns:
- The revisionNumber.
-