Class TaskQueueVersioningInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TaskQueueVersioningInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder>
io.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TaskQueueVersioningInfoOrBuilder,Cloneable
- Enclosing class:
TaskQueueVersioningInfo
public static final class TaskQueueVersioningInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder>
implements TaskQueueVersioningInfoOrBuilder
Protobuf type
temporal.api.taskqueue.v1.TaskQueueVersioningInfo-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()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.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 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.Percentage of tasks that are routed to the Ramping Version instead of the Current Version.Last time versioning information of this Task Queue changed.clone()Specifies 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.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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorWhen 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.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.Timestamp.BuilderLast 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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanSpecifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(TaskQueueVersioningInfo other) When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUpdateTime(com.google.protobuf.Timestamp value) Last time versioning information of this Task Queue changed.Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.setCurrentDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue) Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.setCurrentVersion(String value) Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated.setCurrentVersionBytes(com.google.protobuf.ByteString value) Deprecated.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.setRampingDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue) When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.setRampingVersion(String value) Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated.setRampingVersionBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated.setRampingVersionPercentage(float value) Percentage of tasks that are routed to the Ramping Version instead of the Current Version.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdateTime(com.google.protobuf.Timestamp value) Last time versioning information of this Task Queue changed.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Last time versioning information of this Task Queue changed.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder>
-
setField
public TaskQueueVersioningInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder>
-
clearField
public TaskQueueVersioningInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder>
-
clearOneof
public TaskQueueVersioningInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder>
-
setRepeatedField
public TaskQueueVersioningInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder>
-
addRepeatedField
public TaskQueueVersioningInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TaskQueueVersioningInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder>
-
mergeFrom
public TaskQueueVersioningInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TaskQueueVersioningInfo.Builder>- Throws:
IOException
-
hasCurrentDeploymentVersion
public 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;- Specified by:
hasCurrentDeploymentVersionin interfaceTaskQueueVersioningInfoOrBuilder- Returns:
- Whether the currentDeploymentVersion field is set.
-
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;- Specified by:
getCurrentDeploymentVersionin interfaceTaskQueueVersioningInfoOrBuilder- Returns:
- The currentDeploymentVersion.
-
setCurrentDeploymentVersion
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; -
setCurrentDeploymentVersion
public TaskQueueVersioningInfo.Builder setCurrentDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue) 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; -
mergeCurrentDeploymentVersion
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; -
clearCurrentDeploymentVersion
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; -
getCurrentDeploymentVersionBuilder
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; -
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;- Specified by:
getCurrentDeploymentVersionOrBuilderin interfaceTaskQueueVersioningInfoOrBuilder
-
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];- Specified by:
getCurrentVersionin interfaceTaskQueueVersioningInfoOrBuilder- 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];- Specified by:
getCurrentVersionBytesin interfaceTaskQueueVersioningInfoOrBuilder- Returns:
- The bytes for currentVersion.
-
setCurrentVersion
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];- Parameters:
value- The currentVersion to set.- Returns:
- This builder for chaining.
-
clearCurrentVersion
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:
- This builder for chaining.
-
setCurrentVersionBytes
@Deprecated public TaskQueueVersioningInfo.Builder setCurrentVersionBytes(com.google.protobuf.ByteString value) 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];- Parameters:
value- The bytes for currentVersion to set.- Returns:
- This builder for chaining.
-
hasRampingDeploymentVersion
public 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;- Specified by:
hasRampingDeploymentVersionin interfaceTaskQueueVersioningInfoOrBuilder- Returns:
- Whether the rampingDeploymentVersion field is set.
-
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;- Specified by:
getRampingDeploymentVersionin interfaceTaskQueueVersioningInfoOrBuilder- Returns:
- The rampingDeploymentVersion.
-
setRampingDeploymentVersion
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; -
setRampingDeploymentVersion
public TaskQueueVersioningInfo.Builder setRampingDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue) 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; -
mergeRampingDeploymentVersion
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; -
clearRampingDeploymentVersion
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; -
getRampingDeploymentVersionBuilder
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; -
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;- Specified by:
getRampingDeploymentVersionOrBuilderin interfaceTaskQueueVersioningInfoOrBuilder
-
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];- Specified by:
getRampingVersionin interfaceTaskQueueVersioningInfoOrBuilder- 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];- Specified by:
getRampingVersionBytesin interfaceTaskQueueVersioningInfoOrBuilder- Returns:
- The bytes for rampingVersion.
-
setRampingVersion
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];- Parameters:
value- The rampingVersion to set.- Returns:
- This builder for chaining.
-
clearRampingVersion
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:
- This builder for chaining.
-
setRampingVersionBytes
@Deprecated public TaskQueueVersioningInfo.Builder setRampingVersionBytes(com.google.protobuf.ByteString value) 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];- Parameters:
value- The bytes for rampingVersion to set.- Returns:
- This builder for chaining.
-
getRampingVersionPercentage
public 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;- Specified by:
getRampingVersionPercentagein interfaceTaskQueueVersioningInfoOrBuilder- Returns:
- The rampingVersionPercentage.
-
setRampingVersionPercentage
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;- Parameters:
value- The rampingVersionPercentage to set.- Returns:
- This builder for chaining.
-
clearRampingVersionPercentage
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:
- This builder for chaining.
-
hasUpdateTime
public boolean hasUpdateTime()Last time versioning information of this Task Queue changed.
.google.protobuf.Timestamp update_time = 4;- Specified by:
hasUpdateTimein interfaceTaskQueueVersioningInfoOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Last time versioning information of this Task Queue changed.
.google.protobuf.Timestamp update_time = 4;- Specified by:
getUpdateTimein interfaceTaskQueueVersioningInfoOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Last time versioning information of this Task Queue changed.
.google.protobuf.Timestamp update_time = 4; -
setUpdateTime
public TaskQueueVersioningInfo.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Last time versioning information of this Task Queue changed.
.google.protobuf.Timestamp update_time = 4; -
mergeUpdateTime
Last time versioning information of this Task Queue changed.
.google.protobuf.Timestamp update_time = 4; -
clearUpdateTime
Last time versioning information of this Task Queue changed.
.google.protobuf.Timestamp update_time = 4; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Last time versioning information of this Task Queue changed.
.google.protobuf.Timestamp update_time = 4; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Last time versioning information of this Task Queue changed.
.google.protobuf.Timestamp update_time = 4;- Specified by:
getUpdateTimeOrBuilderin interfaceTaskQueueVersioningInfoOrBuilder
-
setUnknownFields
public final TaskQueueVersioningInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder>
-
mergeUnknownFields
public final TaskQueueVersioningInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder>
-