Interface SchedulePoliciesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SchedulePolicies,SchedulePolicies.Builder
@Generated(value="protoc",
comments="annotations:SchedulePoliciesOrBuilder.java.pb.meta")
public interface SchedulePoliciesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationPolicy for catchups: If the Temporal server misses an action due to one or more components being down, and comes back up, the action will be run if the scheduled time is within this window from the current time.com.google.protobuf.DurationOrBuilderPolicy for catchups: If the Temporal server misses an action due to one or more components being down, and comes back up, the action will be run if the scheduled time is within this window from the current time.booleanIf true, and the action would start a workflow, a timestamp will not be appended to the scheduled workflow id.Policy for overlaps.intPolicy for overlaps.booleanIf true, and a workflow run fails or times out, turn on "paused".booleanPolicy for catchups: If the Temporal server misses an action due to one or more components being down, and comes back up, the action will be run if the scheduled time is within this window from the current time.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
-
getOverlapPolicyValue
int getOverlapPolicyValue()Policy for overlaps. Note that this can be changed after a schedule has taken some actions, and some changes might produce unintuitive results. In general, the later policy overrides the earlier policy.
.temporal.api.enums.v1.ScheduleOverlapPolicy overlap_policy = 1;- Returns:
- The enum numeric value on the wire for overlapPolicy.
-
getOverlapPolicy
ScheduleOverlapPolicy getOverlapPolicy()Policy for overlaps. Note that this can be changed after a schedule has taken some actions, and some changes might produce unintuitive results. In general, the later policy overrides the earlier policy.
.temporal.api.enums.v1.ScheduleOverlapPolicy overlap_policy = 1;- Returns:
- The overlapPolicy.
-
hasCatchupWindow
boolean hasCatchupWindow()Policy for catchups: If the Temporal server misses an action due to one or more components being down, and comes back up, the action will be run if the scheduled time is within this window from the current time. This value defaults to one year, and can't be less than 10 seconds.
.google.protobuf.Duration catchup_window = 2;- Returns:
- Whether the catchupWindow field is set.
-
getCatchupWindow
com.google.protobuf.Duration getCatchupWindow()Policy for catchups: If the Temporal server misses an action due to one or more components being down, and comes back up, the action will be run if the scheduled time is within this window from the current time. This value defaults to one year, and can't be less than 10 seconds.
.google.protobuf.Duration catchup_window = 2;- Returns:
- The catchupWindow.
-
getCatchupWindowOrBuilder
com.google.protobuf.DurationOrBuilder getCatchupWindowOrBuilder()Policy for catchups: If the Temporal server misses an action due to one or more components being down, and comes back up, the action will be run if the scheduled time is within this window from the current time. This value defaults to one year, and can't be less than 10 seconds.
.google.protobuf.Duration catchup_window = 2; -
getPauseOnFailure
boolean getPauseOnFailure()If true, and a workflow run fails or times out, turn on "paused". This applies after retry policies: the full chain of retries must fail to trigger a pause here.
bool pause_on_failure = 3;- Returns:
- The pauseOnFailure.
-
getKeepOriginalWorkflowId
boolean getKeepOriginalWorkflowId()If true, and the action would start a workflow, a timestamp will not be appended to the scheduled workflow id.
bool keep_original_workflow_id = 4;- Returns:
- The keepOriginalWorkflowId.
-