Package io.temporal.api.workflow.v1
Interface VersioningOverrideOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VersioningOverride,VersioningOverride.Builder
@Generated(value="protoc", comments="annotations:VersioningOverrideOrBuilder.java.pb.meta") public interface VersioningOverrideOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleangetAutoUpgrade()Send the next workflow task to the Current Deployment Version of its Task Queue when the next workflow task is dispatched.VersioningBehaviorgetBehavior()Deprecated.temporal.api.workflow.v1.VersioningOverride.behavior is deprecated.intgetBehaviorValue()Deprecated.temporal.api.workflow.v1.VersioningOverride.behavior is deprecated.DeploymentgetDeployment()Deprecated.temporal.api.workflow.v1.VersioningOverride.deployment is deprecated.DeploymentOrBuildergetDeploymentOrBuilder()Deprecated.VersioningOverride.OverrideCasegetOverrideCase()VersioningOverride.PinnedOverridegetPinned()Send the next workflow task to the Version specified in the override.VersioningOverride.PinnedOverrideOrBuildergetPinnedOrBuilder()Send the next workflow task to the Version specified in the override.java.lang.StringgetPinnedVersion()Deprecated.temporal.api.workflow.v1.VersioningOverride.pinned_version is deprecated.com.google.protobuf.ByteStringgetPinnedVersionBytes()Deprecated.temporal.api.workflow.v1.VersioningOverride.pinned_version is deprecated.booleanhasAutoUpgrade()Send the next workflow task to the Current Deployment Version of its Task Queue when the next workflow task is dispatched.booleanhasDeployment()Deprecated.temporal.api.workflow.v1.VersioningOverride.deployment is deprecated.booleanhasPinned()Send the next workflow task to the Version specified in the override.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPinned
boolean hasPinned()
Send the next workflow task to the Version specified in the override.
.temporal.api.workflow.v1.VersioningOverride.PinnedOverride pinned = 3;- Returns:
- Whether the pinned field is set.
-
getPinned
VersioningOverride.PinnedOverride getPinned()
Send the next workflow task to the Version specified in the override.
.temporal.api.workflow.v1.VersioningOverride.PinnedOverride pinned = 3;- Returns:
- The pinned.
-
getPinnedOrBuilder
VersioningOverride.PinnedOverrideOrBuilder getPinnedOrBuilder()
Send the next workflow task to the Version specified in the override.
.temporal.api.workflow.v1.VersioningOverride.PinnedOverride pinned = 3;
-
hasAutoUpgrade
boolean hasAutoUpgrade()
Send the next workflow task to the Current Deployment Version of its Task Queue when the next workflow task is dispatched.
bool auto_upgrade = 4;- Returns:
- Whether the autoUpgrade field is set.
-
getAutoUpgrade
boolean getAutoUpgrade()
Send the next workflow task to the Current Deployment Version of its Task Queue when the next workflow task is dispatched.
bool auto_upgrade = 4;- Returns:
- The autoUpgrade.
-
getBehaviorValue
@Deprecated int getBehaviorValue()
Deprecated.temporal.api.workflow.v1.VersioningOverride.behavior is deprecated. See temporal/api/workflow/v1/message.proto;l=551Required. Deprecated. Use `override`.
.temporal.api.enums.v1.VersioningBehavior behavior = 1 [deprecated = true];- Returns:
- The enum numeric value on the wire for behavior.
-
getBehavior
@Deprecated VersioningBehavior getBehavior()
Deprecated.temporal.api.workflow.v1.VersioningOverride.behavior is deprecated. See temporal/api/workflow/v1/message.proto;l=551Required. Deprecated. Use `override`.
.temporal.api.enums.v1.VersioningBehavior behavior = 1 [deprecated = true];- Returns:
- The behavior.
-
hasDeployment
@Deprecated boolean hasDeployment()
Deprecated.temporal.api.workflow.v1.VersioningOverride.deployment is deprecated. See temporal/api/workflow/v1/message.proto;l=556Required if behavior is `PINNED`. Must be null if behavior is `AUTO_UPGRADE`. Identifies the worker deployment to pin the workflow to. Deprecated. Use `override.pinned.version`.
.temporal.api.deployment.v1.Deployment deployment = 2 [deprecated = true];- Returns:
- Whether the deployment field is set.
-
getDeployment
@Deprecated Deployment getDeployment()
Deprecated.temporal.api.workflow.v1.VersioningOverride.deployment is deprecated. See temporal/api/workflow/v1/message.proto;l=556Required if behavior is `PINNED`. Must be null if behavior is `AUTO_UPGRADE`. Identifies the worker deployment to pin the workflow to. Deprecated. Use `override.pinned.version`.
.temporal.api.deployment.v1.Deployment deployment = 2 [deprecated = true];- Returns:
- The deployment.
-
getDeploymentOrBuilder
@Deprecated DeploymentOrBuilder getDeploymentOrBuilder()
Deprecated.Required if behavior is `PINNED`. Must be null if behavior is `AUTO_UPGRADE`. Identifies the worker deployment to pin the workflow to. Deprecated. Use `override.pinned.version`.
.temporal.api.deployment.v1.Deployment deployment = 2 [deprecated = true];
-
getPinnedVersion
@Deprecated java.lang.String getPinnedVersion()
Deprecated.temporal.api.workflow.v1.VersioningOverride.pinned_version is deprecated. See temporal/api/workflow/v1/message.proto;l=562Required if behavior is `PINNED`. Must be absent if behavior is not `PINNED`. Identifies the worker deployment version to pin the workflow to, in the format "<deployment_name>.<build_id>". Deprecated. Use `override.pinned.version`.
string pinned_version = 9 [deprecated = true];- Returns:
- The pinnedVersion.
-
getPinnedVersionBytes
@Deprecated com.google.protobuf.ByteString getPinnedVersionBytes()
Deprecated.temporal.api.workflow.v1.VersioningOverride.pinned_version is deprecated. See temporal/api/workflow/v1/message.proto;l=562Required if behavior is `PINNED`. Must be absent if behavior is not `PINNED`. Identifies the worker deployment version to pin the workflow to, in the format "<deployment_name>.<build_id>". Deprecated. Use `override.pinned.version`.
string pinned_version = 9 [deprecated = true];- Returns:
- The bytes for pinnedVersion.
-
getOverrideCase
VersioningOverride.OverrideCase getOverrideCase()
-
-