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

    Modifier and Type
    Method
    Description
    Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED.
    int
    Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED.
    Specifies the Worker Deployment Version to pin this workflow to.
    Specifies the Worker Deployment Version to pin this workflow to.
    boolean
    Specifies the Worker Deployment Version to pin this workflow to.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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

       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

       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;