Package io.temporal.api.workflow.v1
Interface VersioningOverride.PinnedOverrideOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VersioningOverride.PinnedOverride,VersioningOverride.PinnedOverride.Builder
- Enclosing class:
- VersioningOverride
public static interface VersioningOverride.PinnedOverrideOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VersioningOverride.PinnedOverrideBehaviorgetBehavior()Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED.intgetBehaviorValue()Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED.WorkerDeploymentVersiongetVersion()Specifies the Worker Deployment Version to pin this workflow to.WorkerDeploymentVersionOrBuildergetVersionOrBuilder()Specifies the Worker Deployment Version to pin this workflow to.booleanhasVersion()Specifies the Worker Deployment Version to pin this workflow to.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getBehaviorValue
int getBehaviorValue()
Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED. See `PinnedOverrideBehavior` for details.
.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior behavior = 1;- Returns:
- The enum numeric value on the wire for behavior.
-
getBehavior
VersioningOverride.PinnedOverrideBehavior getBehavior()
Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED. See `PinnedOverrideBehavior` for details.
.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior behavior = 1;- Returns:
- The behavior.
-
hasVersion
boolean hasVersion()
Specifies the Worker Deployment Version to pin this workflow to. Required if the target workflow is not already pinned to a version. If omitted and the target workflow is already pinned, the effective pinned version will be the existing pinned version. If omitted and the target workflow is not pinned, the override request will be rejected with a PreconditionFailed error.
.temporal.api.deployment.v1.WorkerDeploymentVersion version = 2;- Returns:
- Whether the version field is set.
-
getVersion
WorkerDeploymentVersion getVersion()
Specifies the Worker Deployment Version to pin this workflow to. Required if the target workflow is not already pinned to a version. If omitted and the target workflow is already pinned, the effective pinned version will be the existing pinned version. If omitted and the target workflow is not pinned, the override request will be rejected with a PreconditionFailed error.
.temporal.api.deployment.v1.WorkerDeploymentVersion version = 2;- Returns:
- The version.
-
getVersionOrBuilder
WorkerDeploymentVersionOrBuilder getVersionOrBuilder()
Specifies the Worker Deployment Version to pin this workflow to. Required if the target workflow is not already pinned to a version. If omitted and the target workflow is already pinned, the effective pinned version will be the existing pinned version. If omitted and the target workflow is not pinned, the override request will be rejected with a PreconditionFailed error.
.temporal.api.deployment.v1.WorkerDeploymentVersion version = 2;
-
-