Interface VersioningOverride.PinnedOverrideOrBuilder

    • 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;