Package io.temporal.api.taskqueue.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCurrentVersion()Always present.com.google.protobuf.ByteStringgetCurrentVersionBytes()Always present.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.floatgetRampingVersionPercentage()Percentage of tasks that are routed to the Ramping Version instead of the Current Version.com.google.protobuf.TimestampgetUpdateTime()Last time versioning information of this Task Queue changed.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Last time versioning information of this Task Queue changed.booleanhasUpdateTime()Last time versioning information of this Task Queue 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 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 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.
-
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;
-
-