Interface SetWorkerDeploymentRampingVersionResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SetWorkerDeploymentRampingVersionResponse,SetWorkerDeploymentRampingVersionResponse.Builder
@Generated(value="protoc", comments="annotations:SetWorkerDeploymentRampingVersionResponseOrBuilder.java.pb.meta") public interface SetWorkerDeploymentRampingVersionResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description com.google.protobuf.ByteStringgetConflictToken()This value is returned so that it can be optionally passed to APIs that write to the Worker Deployment state to ensure that the state did not change between this API call and a future write.WorkerDeploymentVersiongetPreviousDeploymentVersion()Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse.previous_deployment_version is deprecated.WorkerDeploymentVersionOrBuildergetPreviousDeploymentVersionOrBuilder()Deprecated.floatgetPreviousPercentage()Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse.previous_percentage is deprecated.java.lang.StringgetPreviousVersion()Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse.previous_version is deprecated.com.google.protobuf.ByteStringgetPreviousVersionBytes()Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse.previous_version is deprecated.booleanhasPreviousDeploymentVersion()Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse.previous_deployment_version is deprecated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getConflictToken
com.google.protobuf.ByteString getConflictToken()
This value is returned so that it can be optionally passed to APIs that write to the Worker Deployment state to ensure that the state did not change between this API call and a future write.
bytes conflict_token = 1;- Returns:
- The conflictToken.
-
getPreviousVersion
@Deprecated java.lang.String getPreviousVersion()
Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse.previous_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2327Deprecated. Use `previous_deployment_version`.
string previous_version = 2 [deprecated = true];- Returns:
- The previousVersion.
-
getPreviousVersionBytes
@Deprecated com.google.protobuf.ByteString getPreviousVersionBytes()
Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse.previous_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2327Deprecated. Use `previous_deployment_version`.
string previous_version = 2 [deprecated = true];- Returns:
- The bytes for previousVersion.
-
hasPreviousDeploymentVersion
@Deprecated boolean hasPreviousDeploymentVersion()
Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse.previous_deployment_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2333The version that was ramping before executing this operation. Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the Ramping version info before calling this API. By passing the `conflict_token` got from the `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls.
.temporal.api.deployment.v1.WorkerDeploymentVersion previous_deployment_version = 4 [deprecated = true];- Returns:
- Whether the previousDeploymentVersion field is set.
-
getPreviousDeploymentVersion
@Deprecated WorkerDeploymentVersion getPreviousDeploymentVersion()
Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse.previous_deployment_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2333The version that was ramping before executing this operation. Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the Ramping version info before calling this API. By passing the `conflict_token` got from the `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls.
.temporal.api.deployment.v1.WorkerDeploymentVersion previous_deployment_version = 4 [deprecated = true];- Returns:
- The previousDeploymentVersion.
-
getPreviousDeploymentVersionOrBuilder
@Deprecated WorkerDeploymentVersionOrBuilder getPreviousDeploymentVersionOrBuilder()
Deprecated.The version that was ramping before executing this operation. Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the Ramping version info before calling this API. By passing the `conflict_token` got from the `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls.
.temporal.api.deployment.v1.WorkerDeploymentVersion previous_deployment_version = 4 [deprecated = true];
-
getPreviousPercentage
@Deprecated float getPreviousPercentage()
Deprecated.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse.previous_percentage is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2339The ramping version percentage before executing this operation. Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the Ramping version info before calling this API. By passing the `conflict_token` got from the `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes between the two calls.
float previous_percentage = 3 [deprecated = true];- Returns:
- The previousPercentage.
-
-