Interface InheritedAutoUpgradeInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InheritedAutoUpgradeInfo,InheritedAutoUpgradeInfo.Builder
@Generated(value="protoc",
comments="annotations:InheritedAutoUpgradeInfoOrBuilder.java.pb.meta")
public interface InheritedAutoUpgradeInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionExperimental.intExperimental.longThe revision number of the source deployment version of the parent/previous workflow.The source deployment version of the parent/previous workflow.The source deployment version of the parent/previous workflow.booleanThe source deployment version of the parent/previous workflow.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasSourceDeploymentVersion
boolean hasSourceDeploymentVersion()The source deployment version of the parent/previous workflow.
.temporal.api.deployment.v1.WorkerDeploymentVersion source_deployment_version = 1;- Returns:
- Whether the sourceDeploymentVersion field is set.
-
getSourceDeploymentVersion
WorkerDeploymentVersion getSourceDeploymentVersion()The source deployment version of the parent/previous workflow.
.temporal.api.deployment.v1.WorkerDeploymentVersion source_deployment_version = 1;- Returns:
- The sourceDeploymentVersion.
-
getSourceDeploymentVersionOrBuilder
WorkerDeploymentVersionOrBuilder getSourceDeploymentVersionOrBuilder()The source deployment version of the parent/previous workflow.
.temporal.api.deployment.v1.WorkerDeploymentVersion source_deployment_version = 1; -
getSourceDeploymentRevisionNumber
long getSourceDeploymentRevisionNumber()The revision number of the source deployment version of the parent/previous workflow.
int64 source_deployment_revision_number = 2;- Returns:
- The sourceDeploymentRevisionNumber.
-
getContinueAsNewInitialVersioningBehaviorValue
int getContinueAsNewInitialVersioningBehaviorValue()Experimental. If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior specified in that command. Only used for the initial task of this run and the initial task of any retries of this run. Not passed to children or to future continue-as-new. Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade, a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility with history events generated during that time, know that an UNSPECIFIED value here is equivalent to AutoUpgrade value if the InheritedAutoUpgradeInfo is non-empty.
.temporal.api.enums.v1.ContinueAsNewVersioningBehavior continue_as_new_initial_versioning_behavior = 3;- Returns:
- The enum numeric value on the wire for continueAsNewInitialVersioningBehavior.
-
getContinueAsNewInitialVersioningBehavior
ContinueAsNewVersioningBehavior getContinueAsNewInitialVersioningBehavior()Experimental. If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior specified in that command. Only used for the initial task of this run and the initial task of any retries of this run. Not passed to children or to future continue-as-new. Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade, a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility with history events generated during that time, know that an UNSPECIFIED value here is equivalent to AutoUpgrade value if the InheritedAutoUpgradeInfo is non-empty.
.temporal.api.enums.v1.ContinueAsNewVersioningBehavior continue_as_new_initial_versioning_behavior = 3;- Returns:
- The continueAsNewInitialVersioningBehavior.
-