Package io.temporal.api.taskqueue.v1
Class TaskQueueVersioningInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.Cloneable
- Enclosing class:
- TaskQueueVersioningInfo
public static final class TaskQueueVersioningInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder> implements TaskQueueVersioningInfoOrBuilder
Experimental. Worker Deployments are experimental and might significantly change in the future.
Protobuf typetemporal.api.taskqueue.v1.TaskQueueVersioningInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TaskQueueVersioningInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TaskQueueVersioningInfobuild()TaskQueueVersioningInfobuildPartial()TaskQueueVersioningInfo.Builderclear()TaskQueueVersioningInfo.BuilderclearCurrentDeploymentVersion()Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.TaskQueueVersioningInfo.BuilderclearCurrentVersion()Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated.TaskQueueVersioningInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TaskQueueVersioningInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TaskQueueVersioningInfo.BuilderclearRampingDeploymentVersion()When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.TaskQueueVersioningInfo.BuilderclearRampingVersion()Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated.TaskQueueVersioningInfo.BuilderclearRampingVersionPercentage()Percentage of tasks that are routed to the Ramping Version instead of the Current Version.TaskQueueVersioningInfo.BuilderclearUpdateTime()Last time versioning information of this Task Queue changed.TaskQueueVersioningInfo.Builderclone()WorkerDeploymentVersiongetCurrentDeploymentVersion()Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.WorkerDeploymentVersion.BuildergetCurrentDeploymentVersionBuilder()Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.WorkerDeploymentVersionOrBuildergetCurrentDeploymentVersionOrBuilder()Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.java.lang.StringgetCurrentVersion()Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated.com.google.protobuf.ByteStringgetCurrentVersionBytes()Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated.TaskQueueVersioningInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()WorkerDeploymentVersiongetRampingDeploymentVersion()When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.WorkerDeploymentVersion.BuildergetRampingDeploymentVersionBuilder()When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.WorkerDeploymentVersionOrBuildergetRampingDeploymentVersionOrBuilder()When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.java.lang.StringgetRampingVersion()Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated.com.google.protobuf.ByteStringgetRampingVersionBytes()Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated.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.Timestamp.BuildergetUpdateTimeBuilder()Last time versioning information of this Task Queue changed.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Last time versioning information of this Task Queue changed.booleanhasCurrentDeploymentVersion()Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.booleanhasRampingDeploymentVersion()When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.booleanhasUpdateTime()Last time versioning information of this Task Queue changed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TaskQueueVersioningInfo.BuildermergeCurrentDeploymentVersion(WorkerDeploymentVersion value)Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.TaskQueueVersioningInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TaskQueueVersioningInfo.BuildermergeFrom(com.google.protobuf.Message other)TaskQueueVersioningInfo.BuildermergeFrom(TaskQueueVersioningInfo other)TaskQueueVersioningInfo.BuildermergeRampingDeploymentVersion(WorkerDeploymentVersion value)When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.TaskQueueVersioningInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TaskQueueVersioningInfo.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Last time versioning information of this Task Queue changed.TaskQueueVersioningInfo.BuildersetCurrentDeploymentVersion(WorkerDeploymentVersion value)Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.TaskQueueVersioningInfo.BuildersetCurrentDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue)Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.TaskQueueVersioningInfo.BuildersetCurrentVersion(java.lang.String value)Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated.TaskQueueVersioningInfo.BuildersetCurrentVersionBytes(com.google.protobuf.ByteString value)Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated.TaskQueueVersioningInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TaskQueueVersioningInfo.BuildersetRampingDeploymentVersion(WorkerDeploymentVersion value)When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.TaskQueueVersioningInfo.BuildersetRampingDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue)When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.TaskQueueVersioningInfo.BuildersetRampingVersion(java.lang.String value)Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated.TaskQueueVersioningInfo.BuildersetRampingVersionBytes(com.google.protobuf.ByteString value)Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated.TaskQueueVersioningInfo.BuildersetRampingVersionPercentage(float value)Percentage of tasks that are routed to the Ramping Version instead of the Current Version.TaskQueueVersioningInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)TaskQueueVersioningInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TaskQueueVersioningInfo.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Last time versioning information of this Task Queue changed.TaskQueueVersioningInfo.BuildersetUpdateTime(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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public TaskQueueVersioningInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TaskQueueVersioningInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TaskQueueVersioningInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TaskQueueVersioningInfo.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersioningInfo.Builder>
-
mergeFrom
public TaskQueueVersioningInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TaskQueueVersioningInfo.Builder>
-
mergeFrom
public TaskQueueVersioningInfo.Builder mergeFrom(TaskQueueVersioningInfo other)
-
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 java.io.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:
java.io.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
public WorkerDeploymentVersion 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
public TaskQueueVersioningInfo.Builder setCurrentDeploymentVersion(WorkerDeploymentVersion value)
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
public TaskQueueVersioningInfo.Builder mergeCurrentDeploymentVersion(WorkerDeploymentVersion value)
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
public TaskQueueVersioningInfo.Builder 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
public WorkerDeploymentVersion.Builder 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
public WorkerDeploymentVersionOrBuilder 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 public java.lang.String getCurrentVersion()
Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=44Deprecated. Use `current_deployment_version`.
string current_version = 1 [deprecated = true];- Specified by:
getCurrentVersionin interfaceTaskQueueVersioningInfoOrBuilder- Returns:
- The currentVersion.
-
getCurrentVersionBytes
@Deprecated public com.google.protobuf.ByteString getCurrentVersionBytes()
Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=44Deprecated. Use `current_deployment_version`.
string current_version = 1 [deprecated = true];- Specified by:
getCurrentVersionBytesin interfaceTaskQueueVersioningInfoOrBuilder- Returns:
- The bytes for currentVersion.
-
setCurrentVersion
@Deprecated public TaskQueueVersioningInfo.Builder setCurrentVersion(java.lang.String value)
Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=44Deprecated. Use `current_deployment_version`.
string current_version = 1 [deprecated = true];- Parameters:
value- The currentVersion to set.- Returns:
- This builder for chaining.
-
clearCurrentVersion
@Deprecated public TaskQueueVersioningInfo.Builder clearCurrentVersion()
Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.current_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=44Deprecated. 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=44Deprecated. 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
public 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;- Specified by:
getRampingDeploymentVersionin interfaceTaskQueueVersioningInfoOrBuilder- Returns:
- The rampingDeploymentVersion.
-
setRampingDeploymentVersion
public TaskQueueVersioningInfo.Builder setRampingDeploymentVersion(WorkerDeploymentVersion value)
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
public TaskQueueVersioningInfo.Builder mergeRampingDeploymentVersion(WorkerDeploymentVersion value)
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
public TaskQueueVersioningInfo.Builder 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
public WorkerDeploymentVersion.Builder 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
public 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;- Specified by:
getRampingDeploymentVersionOrBuilderin interfaceTaskQueueVersioningInfoOrBuilder
-
getRampingVersion
@Deprecated public java.lang.String getRampingVersion()
Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=53Deprecated. Use `ramping_deployment_version`.
string ramping_version = 2 [deprecated = true];- Specified by:
getRampingVersionin interfaceTaskQueueVersioningInfoOrBuilder- Returns:
- The rampingVersion.
-
getRampingVersionBytes
@Deprecated public com.google.protobuf.ByteString getRampingVersionBytes()
Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=53Deprecated. Use `ramping_deployment_version`.
string ramping_version = 2 [deprecated = true];- Specified by:
getRampingVersionBytesin interfaceTaskQueueVersioningInfoOrBuilder- Returns:
- The bytes for rampingVersion.
-
setRampingVersion
@Deprecated public TaskQueueVersioningInfo.Builder setRampingVersion(java.lang.String value)
Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=53Deprecated. Use `ramping_deployment_version`.
string ramping_version = 2 [deprecated = true];- Parameters:
value- The rampingVersion to set.- Returns:
- This builder for chaining.
-
clearRampingVersion
@Deprecated public TaskQueueVersioningInfo.Builder clearRampingVersion()
Deprecated.temporal.api.taskqueue.v1.TaskQueueVersioningInfo.ramping_version is deprecated. See temporal/api/taskqueue/v1/message.proto;l=53Deprecated. 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=53Deprecated. 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
public TaskQueueVersioningInfo.Builder setRampingVersionPercentage(float value)
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
public TaskQueueVersioningInfo.Builder 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
public TaskQueueVersioningInfo.Builder setUpdateTime(com.google.protobuf.Timestamp value)
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
public TaskQueueVersioningInfo.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Last time versioning information of this Task Queue changed.
.google.protobuf.Timestamp update_time = 4;
-
clearUpdateTime
public TaskQueueVersioningInfo.Builder 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>
-
-