Package io.temporal.api.deployment.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCurrentVersion()Always present.com.google.protobuf.ByteStringgetCurrentVersionBytes()Always present.com.google.protobuf.TimestampgetCurrentVersionChangedTime()Last time current version was changed.com.google.protobuf.TimestampOrBuildergetCurrentVersionChangedTimeOrBuilder()Last time current version was changed.java.lang.StringgetRampingVersion()When present, it means the traffic is being shifted from the Current Version to the Ramping Version.com.google.protobuf.ByteStringgetRampingVersionBytes()When present, it means the traffic is being shifted from the Current Version to the Ramping Version.com.google.protobuf.TimestampgetRampingVersionChangedTime()Last time ramping version was changed.com.google.protobuf.TimestampOrBuildergetRampingVersionChangedTimeOrBuilder()Last time ramping version was changed.floatgetRampingVersionPercentage()Percentage of tasks that are routed to the Ramping Version instead of the Current Version.com.google.protobuf.TimestampgetRampingVersionPercentageChangedTime()Last time ramping version percentage was changed.com.google.protobuf.TimestampOrBuildergetRampingVersionPercentageChangedTimeOrBuilder()Last time ramping version percentage was changed.booleanhasCurrentVersionChangedTime()Last time current version was changed.booleanhasRampingVersionChangedTime()Last time ramping version was changed.booleanhasRampingVersionPercentageChangedTime()Last time ramping version percentage was changed.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCurrentVersion
java.lang.String getCurrentVersion()
Always present. Specifies which Deployment Version should should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows. Can be one of the following: - A Deployment Version identifier in the form "<deployment_name>.<build_id>". - Or, the "__unversioned__" special value, to represent 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 a ramp is set (see `ramping_version`.)
string current_version = 1;- Returns:
- The currentVersion.
-
getCurrentVersionBytes
com.google.protobuf.ByteString getCurrentVersionBytes()
Always present. Specifies which Deployment Version should should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows. Can be one of the following: - A Deployment Version identifier in the form "<deployment_name>.<build_id>". - Or, the "__unversioned__" special value, to represent 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 a ramp is set (see `ramping_version`.)
string current_version = 1;- Returns:
- The bytes for currentVersion.
-
getRampingVersion
java.lang.String getRampingVersion()
When present, it means the traffic is being shifted from the Current Version to the Ramping Version. Must always be different from Current Version. Can be one of the following: - A Deployment Version identifier in the form "<deployment_name>.<build_id>". - Or, the "__unversioned__" special value, to represent 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.
string ramping_version = 2;- Returns:
- The rampingVersion.
-
getRampingVersionBytes
com.google.protobuf.ByteString getRampingVersionBytes()
When present, it means the traffic is being shifted from the Current Version to the Ramping Version. Must always be different from Current Version. Can be one of the following: - A Deployment Version identifier in the form "<deployment_name>.<build_id>". - Or, the "__unversioned__" special value, to represent 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.
string ramping_version = 2;- 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.
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;
-
-