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 Modifier and Type Method Description VersioningBehaviorgetBehavior()Required.intgetBehaviorValue()Required.DeploymentgetDeployment()Required if behavior is `PINNED`.DeploymentOrBuildergetDeploymentOrBuilder()Required if behavior is `PINNED`.booleanhasDeployment()Required if behavior is `PINNED`.-
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()
Required.
.temporal.api.enums.v1.VersioningBehavior behavior = 1;- Returns:
- The enum numeric value on the wire for behavior.
-
getBehavior
VersioningBehavior getBehavior()
Required.
.temporal.api.enums.v1.VersioningBehavior behavior = 1;- Returns:
- The behavior.
-
hasDeployment
boolean hasDeployment()
Required if behavior is `PINNED`. Must be null if behavior is `AUTO_UPGRADE`. Identifies the worker deployment to pin the workflow to.
.temporal.api.deployment.v1.Deployment deployment = 2;- Returns:
- Whether the deployment field is set.
-
getDeployment
Deployment getDeployment()
Required if behavior is `PINNED`. Must be null if behavior is `AUTO_UPGRADE`. Identifies the worker deployment to pin the workflow to.
.temporal.api.deployment.v1.Deployment deployment = 2;- Returns:
- The deployment.
-
getDeploymentOrBuilder
DeploymentOrBuilder getDeploymentOrBuilder()
Required if behavior is `PINNED`. Must be null if behavior is `AUTO_UPGRADE`. Identifies the worker deployment to pin the workflow to.
.temporal.api.deployment.v1.Deployment deployment = 2;
-
-