Class RoutingConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RoutingConfig.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<RoutingConfig.Builder>
io.temporal.api.deployment.v1.RoutingConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RoutingConfigOrBuilder,Cloneable
- Enclosing class:
RoutingConfig
public static final class RoutingConfig.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<RoutingConfig.Builder>
implements RoutingConfigOrBuilder
Protobuf type
temporal.api.deployment.v1.RoutingConfig-
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.deployment.v1.RoutingConfig.current_version is deprecated.Last time current version was changed.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.deployment.v1.RoutingConfig.ramping_version is deprecated.Last time ramping version was changed.Percentage of tasks that are routed to the Ramping Version instead of the Current Version.Last time ramping version percentage was changed.Monotonically increasing value which is incremented on every mutation to any field of this message to achieve eventual consistency between task queues and their partitions.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.deployment.v1.RoutingConfig.current_version is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.deployment.v1.RoutingConfig.current_version is deprecated.com.google.protobuf.TimestampLast time current version was changed.com.google.protobuf.Timestamp.BuilderLast time current version was changed.com.google.protobuf.TimestampOrBuilderLast time current version was changed.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.deployment.v1.RoutingConfig.ramping_version is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.deployment.v1.RoutingConfig.ramping_version is deprecated.com.google.protobuf.TimestampLast time ramping version was changed.com.google.protobuf.Timestamp.BuilderLast time ramping version was changed.com.google.protobuf.TimestampOrBuilderLast time ramping version was changed.floatPercentage of tasks that are routed to the Ramping Version instead of the Current Version.com.google.protobuf.TimestampLast time ramping version percentage was changed.com.google.protobuf.Timestamp.BuilderLast time ramping version percentage was changed.com.google.protobuf.TimestampOrBuilderLast time ramping version percentage was changed.longMonotonically increasing value which is incremented on every mutation to any field of this message to achieve eventual consistency between task queues and their partitions.booleanSpecifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.booleanLast time current version was changed.booleanWhen ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.booleanLast time ramping version was changed.booleanLast time ramping version percentage was changed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanSpecifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows.mergeCurrentVersionChangedTime(com.google.protobuf.Timestamp value) Last time current version was changed.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(RoutingConfig other) When ramp percentage is non-zero, that portion of traffic is shifted from the Current Version to the Ramping Version.mergeRampingVersionChangedTime(com.google.protobuf.Timestamp value) Last time ramping version was changed.mergeRampingVersionPercentageChangedTime(com.google.protobuf.Timestamp value) Last time ramping version percentage was changed.final RoutingConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.deployment.v1.RoutingConfig.current_version is deprecated.setCurrentVersionBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.deployment.v1.RoutingConfig.current_version is deprecated.setCurrentVersionChangedTime(com.google.protobuf.Timestamp value) Last time current version was changed.setCurrentVersionChangedTime(com.google.protobuf.Timestamp.Builder builderForValue) Last time current version was changed.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.deployment.v1.RoutingConfig.ramping_version is deprecated.setRampingVersionBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.deployment.v1.RoutingConfig.ramping_version is deprecated.setRampingVersionChangedTime(com.google.protobuf.Timestamp value) Last time ramping version was changed.setRampingVersionChangedTime(com.google.protobuf.Timestamp.Builder builderForValue) Last time ramping version was changed.setRampingVersionPercentage(float value) Percentage of tasks that are routed to the Ramping Version instead of the Current Version.setRampingVersionPercentageChangedTime(com.google.protobuf.Timestamp value) Last time ramping version percentage was changed.setRampingVersionPercentageChangedTime(com.google.protobuf.Timestamp.Builder builderForValue) Last time ramping version percentage was changed.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRevisionNumber(long value) Monotonically increasing value which is incremented on every mutation to any field of this message to achieve eventual consistency between task queues and their partitions.final RoutingConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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<RoutingConfig.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<RoutingConfig.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<RoutingConfig.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<RoutingConfig.Builder>
-
setField
public RoutingConfig.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<RoutingConfig.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RoutingConfig.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RoutingConfig.Builder>
-
setRepeatedField
public RoutingConfig.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<RoutingConfig.Builder>
-
addRepeatedField
public RoutingConfig.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<RoutingConfig.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RoutingConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RoutingConfig.Builder>
-
mergeFrom
public RoutingConfig.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<RoutingConfig.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 means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to 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 interfaceRoutingConfigOrBuilder- 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 means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to 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 interfaceRoutingConfigOrBuilder- Returns:
- The currentDeploymentVersion.
-
setCurrentDeploymentVersion
Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows. Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to 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 RoutingConfig.Builder setCurrentDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue) Specifies which Deployment Version should receive new workflow executions and tasks of existing unversioned or AutoUpgrade workflows. Nil value means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to 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 means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to 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 means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to 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 means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to 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 means no Version in this Deployment (except Ramping Version, if present) receives traffic other than tasks of previously Pinned workflows. In absence of a Current Version, remaining traffic after any ramp (if set) goes to 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 interfaceRoutingConfigOrBuilder
-
getCurrentVersion
Deprecated.temporal.api.deployment.v1.RoutingConfig.current_version is deprecated. See temporal/api/deployment/v1/message.proto;l=306Deprecated. Use `current_deployment_version`.
string current_version = 1 [deprecated = true];- Specified by:
getCurrentVersionin interfaceRoutingConfigOrBuilder- Returns:
- The currentVersion.
-
getCurrentVersionBytes
Deprecated.temporal.api.deployment.v1.RoutingConfig.current_version is deprecated. See temporal/api/deployment/v1/message.proto;l=306Deprecated. Use `current_deployment_version`.
string current_version = 1 [deprecated = true];- Specified by:
getCurrentVersionBytesin interfaceRoutingConfigOrBuilder- Returns:
- The bytes for currentVersion.
-
setCurrentVersion
Deprecated.temporal.api.deployment.v1.RoutingConfig.current_version is deprecated. See temporal/api/deployment/v1/message.proto;l=306Deprecated. 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.deployment.v1.RoutingConfig.current_version is deprecated. See temporal/api/deployment/v1/message.proto;l=306Deprecated. Use `current_deployment_version`.
string current_version = 1 [deprecated = true];- Returns:
- This builder for chaining.
-
setCurrentVersionBytes
@Deprecated public RoutingConfig.Builder setCurrentVersionBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.deployment.v1.RoutingConfig.current_version is deprecated. See temporal/api/deployment/v1/message.proto;l=306Deprecated. 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 interfaceRoutingConfigOrBuilder- 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 interfaceRoutingConfigOrBuilder- 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 RoutingConfig.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 interfaceRoutingConfigOrBuilder
-
getRampingVersion
Deprecated.temporal.api.deployment.v1.RoutingConfig.ramping_version is deprecated. See temporal/api/deployment/v1/message.proto;l=315Deprecated. Use `ramping_deployment_version`.
string ramping_version = 2 [deprecated = true];- Specified by:
getRampingVersionin interfaceRoutingConfigOrBuilder- Returns:
- The rampingVersion.
-
getRampingVersionBytes
Deprecated.temporal.api.deployment.v1.RoutingConfig.ramping_version is deprecated. See temporal/api/deployment/v1/message.proto;l=315Deprecated. Use `ramping_deployment_version`.
string ramping_version = 2 [deprecated = true];- Specified by:
getRampingVersionBytesin interfaceRoutingConfigOrBuilder- Returns:
- The bytes for rampingVersion.
-
setRampingVersion
Deprecated.temporal.api.deployment.v1.RoutingConfig.ramping_version is deprecated. See temporal/api/deployment/v1/message.proto;l=315Deprecated. 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.deployment.v1.RoutingConfig.ramping_version is deprecated. See temporal/api/deployment/v1/message.proto;l=315Deprecated. Use `ramping_deployment_version`.
string ramping_version = 2 [deprecated = true];- Returns:
- This builder for chaining.
-
setRampingVersionBytes
@Deprecated public RoutingConfig.Builder setRampingVersionBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.deployment.v1.RoutingConfig.ramping_version is deprecated. See temporal/api/deployment/v1/message.proto;l=315Deprecated. 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 interfaceRoutingConfigOrBuilder- 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.
-
hasCurrentVersionChangedTime
public boolean hasCurrentVersionChangedTime()Last time current version was changed.
.google.protobuf.Timestamp current_version_changed_time = 4;- Specified by:
hasCurrentVersionChangedTimein interfaceRoutingConfigOrBuilder- Returns:
- Whether the currentVersionChangedTime field is set.
-
getCurrentVersionChangedTime
public com.google.protobuf.Timestamp getCurrentVersionChangedTime()Last time current version was changed.
.google.protobuf.Timestamp current_version_changed_time = 4;- Specified by:
getCurrentVersionChangedTimein interfaceRoutingConfigOrBuilder- Returns:
- The currentVersionChangedTime.
-
setCurrentVersionChangedTime
Last time current version was changed.
.google.protobuf.Timestamp current_version_changed_time = 4; -
setCurrentVersionChangedTime
public RoutingConfig.Builder setCurrentVersionChangedTime(com.google.protobuf.Timestamp.Builder builderForValue) Last time current version was changed.
.google.protobuf.Timestamp current_version_changed_time = 4; -
mergeCurrentVersionChangedTime
Last time current version was changed.
.google.protobuf.Timestamp current_version_changed_time = 4; -
clearCurrentVersionChangedTime
Last time current version was changed.
.google.protobuf.Timestamp current_version_changed_time = 4; -
getCurrentVersionChangedTimeBuilder
public com.google.protobuf.Timestamp.Builder getCurrentVersionChangedTimeBuilder()Last time current version was changed.
.google.protobuf.Timestamp current_version_changed_time = 4; -
getCurrentVersionChangedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCurrentVersionChangedTimeOrBuilder()Last time current version was changed.
.google.protobuf.Timestamp current_version_changed_time = 4;- Specified by:
getCurrentVersionChangedTimeOrBuilderin interfaceRoutingConfigOrBuilder
-
hasRampingVersionChangedTime
public boolean hasRampingVersionChangedTime()Last time ramping version was changed. Not updated if only the ramp percentage changes.
.google.protobuf.Timestamp ramping_version_changed_time = 5;- Specified by:
hasRampingVersionChangedTimein interfaceRoutingConfigOrBuilder- Returns:
- Whether the rampingVersionChangedTime field is set.
-
getRampingVersionChangedTime
public 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;- Specified by:
getRampingVersionChangedTimein interfaceRoutingConfigOrBuilder- Returns:
- The rampingVersionChangedTime.
-
setRampingVersionChangedTime
Last time ramping version was changed. Not updated if only the ramp percentage changes.
.google.protobuf.Timestamp ramping_version_changed_time = 5; -
setRampingVersionChangedTime
public RoutingConfig.Builder setRampingVersionChangedTime(com.google.protobuf.Timestamp.Builder builderForValue) Last time ramping version was changed. Not updated if only the ramp percentage changes.
.google.protobuf.Timestamp ramping_version_changed_time = 5; -
mergeRampingVersionChangedTime
Last time ramping version was changed. Not updated if only the ramp percentage changes.
.google.protobuf.Timestamp ramping_version_changed_time = 5; -
clearRampingVersionChangedTime
Last time ramping version was changed. Not updated if only the ramp percentage changes.
.google.protobuf.Timestamp ramping_version_changed_time = 5; -
getRampingVersionChangedTimeBuilder
public com.google.protobuf.Timestamp.Builder getRampingVersionChangedTimeBuilder()Last time ramping version was changed. Not updated if only the ramp percentage changes.
.google.protobuf.Timestamp ramping_version_changed_time = 5; -
getRampingVersionChangedTimeOrBuilder
public 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;- Specified by:
getRampingVersionChangedTimeOrBuilderin interfaceRoutingConfigOrBuilder
-
hasRampingVersionPercentageChangedTime
public 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;- Specified by:
hasRampingVersionPercentageChangedTimein interfaceRoutingConfigOrBuilder- Returns:
- Whether the rampingVersionPercentageChangedTime field is set.
-
getRampingVersionPercentageChangedTime
public 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;- Specified by:
getRampingVersionPercentageChangedTimein interfaceRoutingConfigOrBuilder- Returns:
- The rampingVersionPercentageChangedTime.
-
setRampingVersionPercentageChangedTime
public RoutingConfig.Builder setRampingVersionPercentageChangedTime(com.google.protobuf.Timestamp value) 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; -
setRampingVersionPercentageChangedTime
public RoutingConfig.Builder setRampingVersionPercentageChangedTime(com.google.protobuf.Timestamp.Builder builderForValue) 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; -
mergeRampingVersionPercentageChangedTime
public RoutingConfig.Builder mergeRampingVersionPercentageChangedTime(com.google.protobuf.Timestamp value) 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; -
clearRampingVersionPercentageChangedTime
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; -
getRampingVersionPercentageChangedTimeBuilder
public com.google.protobuf.Timestamp.Builder getRampingVersionPercentageChangedTimeBuilder()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; -
getRampingVersionPercentageChangedTimeOrBuilder
public 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;- Specified by:
getRampingVersionPercentageChangedTimeOrBuilderin interfaceRoutingConfigOrBuilder
-
getRevisionNumber
public long getRevisionNumber()Monotonically increasing value which is incremented on every mutation to any field of this message to achieve eventual consistency between task queues and their partitions.
int64 revision_number = 10;- Specified by:
getRevisionNumberin interfaceRoutingConfigOrBuilder- Returns:
- The revisionNumber.
-
setRevisionNumber
Monotonically increasing value which is incremented on every mutation to any field of this message to achieve eventual consistency between task queues and their partitions.
int64 revision_number = 10;- Parameters:
value- The revisionNumber to set.- Returns:
- This builder for chaining.
-
clearRevisionNumber
Monotonically increasing value which is incremented on every mutation to any field of this message to achieve eventual consistency between task queues and their partitions.
int64 revision_number = 10;- Returns:
- This builder for chaining.
-
setUnknownFields
public final RoutingConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RoutingConfig.Builder>
-
mergeUnknownFields
public final RoutingConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RoutingConfig.Builder>
-