Class WorkflowExecutionOptions

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflow.v1.WorkflowExecutionOptions
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkflowExecutionOptionsOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:WorkflowExecutionOptions.java.pb.meta") public final class WorkflowExecutionOptions extends com.google.protobuf.GeneratedMessageV3 implements WorkflowExecutionOptionsOrBuilder
Protobuf type temporal.api.workflow.v1.WorkflowExecutionOptions
See Also:
  • Field Details

    • VERSIONING_OVERRIDE_FIELD_NUMBER

      public static final int VERSIONING_OVERRIDE_FIELD_NUMBER
      See Also:
    • PRIORITY_FIELD_NUMBER

      public static final int PRIORITY_FIELD_NUMBER
      See Also:
    • TIME_SKIPPING_CONFIG_FIELD_NUMBER

      public static final int TIME_SKIPPING_CONFIG_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasVersioningOverride

      public boolean hasVersioningOverride()
       If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
       
      .temporal.api.workflow.v1.VersioningOverride versioning_override = 1;
      Specified by:
      hasVersioningOverride in interface WorkflowExecutionOptionsOrBuilder
      Returns:
      Whether the versioningOverride field is set.
    • getVersioningOverride

      public VersioningOverride getVersioningOverride()
       If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
       
      .temporal.api.workflow.v1.VersioningOverride versioning_override = 1;
      Specified by:
      getVersioningOverride in interface WorkflowExecutionOptionsOrBuilder
      Returns:
      The versioningOverride.
    • getVersioningOverrideOrBuilder

      public VersioningOverrideOrBuilder getVersioningOverrideOrBuilder()
       If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
       
      .temporal.api.workflow.v1.VersioningOverride versioning_override = 1;
      Specified by:
      getVersioningOverrideOrBuilder in interface WorkflowExecutionOptionsOrBuilder
    • hasPriority

      public boolean hasPriority()
       If set, overrides the workflow's priority sent by the SDK.
       
      .temporal.api.common.v1.Priority priority = 2;
      Specified by:
      hasPriority in interface WorkflowExecutionOptionsOrBuilder
      Returns:
      Whether the priority field is set.
    • getPriority

      public Priority getPriority()
       If set, overrides the workflow's priority sent by the SDK.
       
      .temporal.api.common.v1.Priority priority = 2;
      Specified by:
      getPriority in interface WorkflowExecutionOptionsOrBuilder
      Returns:
      The priority.
    • getPriorityOrBuilder

      public PriorityOrBuilder getPriorityOrBuilder()
       If set, overrides the workflow's priority sent by the SDK.
       
      .temporal.api.common.v1.Priority priority = 2;
      Specified by:
      getPriorityOrBuilder in interface WorkflowExecutionOptionsOrBuilder
    • hasTimeSkippingConfig

      public boolean hasTimeSkippingConfig()
       The time-skipping configuration for this workflow execution.
       When `fast_forward` is set, time will be fast-forwarded to a future point relative
       to the current workflow timestamp. Each call takes effect, even if
       `fast_forward` is set to the same duration, since the target time is recalculated
       from the current timestamp on every call.
      
       This field must be updated as a whole; updating individual sub-fields is not supported.
       When setting the update mask in `UpdateWorkflowExecutionOptionsRequest`, 
       `BatchOperationUpdateWorkflowExecutionOptions`, etc., use a mask that covers the entire field.
       
      .temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 3;
      Specified by:
      hasTimeSkippingConfig in interface WorkflowExecutionOptionsOrBuilder
      Returns:
      Whether the timeSkippingConfig field is set.
    • getTimeSkippingConfig

      public TimeSkippingConfig getTimeSkippingConfig()
       The time-skipping configuration for this workflow execution.
       When `fast_forward` is set, time will be fast-forwarded to a future point relative
       to the current workflow timestamp. Each call takes effect, even if
       `fast_forward` is set to the same duration, since the target time is recalculated
       from the current timestamp on every call.
      
       This field must be updated as a whole; updating individual sub-fields is not supported.
       When setting the update mask in `UpdateWorkflowExecutionOptionsRequest`, 
       `BatchOperationUpdateWorkflowExecutionOptions`, etc., use a mask that covers the entire field.
       
      .temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 3;
      Specified by:
      getTimeSkippingConfig in interface WorkflowExecutionOptionsOrBuilder
      Returns:
      The timeSkippingConfig.
    • getTimeSkippingConfigOrBuilder

      public TimeSkippingConfigOrBuilder getTimeSkippingConfigOrBuilder()
       The time-skipping configuration for this workflow execution.
       When `fast_forward` is set, time will be fast-forwarded to a future point relative
       to the current workflow timestamp. Each call takes effect, even if
       `fast_forward` is set to the same duration, since the target time is recalculated
       from the current timestamp on every call.
      
       This field must be updated as a whole; updating individual sub-fields is not supported.
       When setting the update mask in `UpdateWorkflowExecutionOptionsRequest`, 
       `BatchOperationUpdateWorkflowExecutionOptions`, etc., use a mask that covers the entire field.
       
      .temporal.api.common.v1.TimeSkippingConfig time_skipping_config = 3;
      Specified by:
      getTimeSkippingConfigOrBuilder in interface WorkflowExecutionOptionsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static WorkflowExecutionOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WorkflowExecutionOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WorkflowExecutionOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WorkflowExecutionOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WorkflowExecutionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WorkflowExecutionOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WorkflowExecutionOptions parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static WorkflowExecutionOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static WorkflowExecutionOptions parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static WorkflowExecutionOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static WorkflowExecutionOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static WorkflowExecutionOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public WorkflowExecutionOptions.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static WorkflowExecutionOptions.Builder newBuilder()
    • newBuilder

      public static WorkflowExecutionOptions.Builder newBuilder(WorkflowExecutionOptions prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected WorkflowExecutionOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static WorkflowExecutionOptions getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<WorkflowExecutionOptions> parser()
    • getParserForType

      public com.google.protobuf.Parser<WorkflowExecutionOptions> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public WorkflowExecutionOptions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder