Class WorkflowExecutionOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WorkflowExecutionOptions.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionOptions.Builder>
io.temporal.api.workflow.v1.WorkflowExecutionOptions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkflowExecutionOptionsOrBuilder,Cloneable
- Enclosing class:
WorkflowExecutionOptions
public static final class WorkflowExecutionOptions.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionOptions.Builder>
implements WorkflowExecutionOptionsOrBuilder
Protobuf type
temporal.api.workflow.v1.WorkflowExecutionOptions-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) If set, overrides the workflow's priority sent by the SDK.The time-skipping configuration for this workflow execution.If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf set, overrides the workflow's priority sent by the SDK.If set, overrides the workflow's priority sent by the SDK.If set, overrides the workflow's priority sent by the SDK.The time-skipping configuration for this workflow execution.The time-skipping configuration for this workflow execution.The time-skipping configuration for this workflow execution.If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.booleanIf set, overrides the workflow's priority sent by the SDK.booleanThe time-skipping configuration for this workflow execution.booleanIf set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePriority(Priority value) If set, overrides the workflow's priority sent by the SDK.The time-skipping configuration for this workflow execution.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.setPriority(Priority value) If set, overrides the workflow's priority sent by the SDK.setPriority(Priority.Builder builderForValue) If set, overrides the workflow's priority sent by the SDK.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The time-skipping configuration for this workflow execution.setTimeSkippingConfig(TimeSkippingConfig.Builder builderForValue) The time-skipping configuration for this workflow execution.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.setVersioningOverride(VersioningOverride.Builder builderForValue) If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionOptions.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionOptions.Builder>
-
setField
public WorkflowExecutionOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionOptions.Builder>
-
clearField
public WorkflowExecutionOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionOptions.Builder>
-
clearOneof
public WorkflowExecutionOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionOptions.Builder>
-
setRepeatedField
public WorkflowExecutionOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionOptions.Builder>
-
addRepeatedField
public WorkflowExecutionOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionOptions.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionOptions.Builder>
-
mergeFrom
public WorkflowExecutionOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionOptions.Builder>- Throws:
IOException
-
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:
hasVersioningOverridein interfaceWorkflowExecutionOptionsOrBuilder- Returns:
- Whether the versioningOverride field is set.
-
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:
getVersioningOverridein interfaceWorkflowExecutionOptionsOrBuilder- Returns:
- The versioningOverride.
-
setVersioningOverride
If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 1; -
setVersioningOverride
public WorkflowExecutionOptions.Builder setVersioningOverride(VersioningOverride.Builder builderForValue) If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 1; -
mergeVersioningOverride
If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 1; -
clearVersioningOverride
If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 1; -
getVersioningOverrideBuilder
If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
.temporal.api.workflow.v1.VersioningOverride versioning_override = 1; -
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:
getVersioningOverrideOrBuilderin interfaceWorkflowExecutionOptionsOrBuilder
-
hasPriority
public boolean hasPriority()If set, overrides the workflow's priority sent by the SDK.
.temporal.api.common.v1.Priority priority = 2;- Specified by:
hasPriorityin interfaceWorkflowExecutionOptionsOrBuilder- Returns:
- Whether the priority field is set.
-
getPriority
If set, overrides the workflow's priority sent by the SDK.
.temporal.api.common.v1.Priority priority = 2;- Specified by:
getPriorityin interfaceWorkflowExecutionOptionsOrBuilder- Returns:
- The priority.
-
setPriority
If set, overrides the workflow's priority sent by the SDK.
.temporal.api.common.v1.Priority priority = 2; -
setPriority
If set, overrides the workflow's priority sent by the SDK.
.temporal.api.common.v1.Priority priority = 2; -
mergePriority
If set, overrides the workflow's priority sent by the SDK.
.temporal.api.common.v1.Priority priority = 2; -
clearPriority
If set, overrides the workflow's priority sent by the SDK.
.temporal.api.common.v1.Priority priority = 2; -
getPriorityBuilder
If set, overrides the workflow's priority sent by the SDK.
.temporal.api.common.v1.Priority priority = 2; -
getPriorityOrBuilder
If set, overrides the workflow's priority sent by the SDK.
.temporal.api.common.v1.Priority priority = 2;- Specified by:
getPriorityOrBuilderin interfaceWorkflowExecutionOptionsOrBuilder
-
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:
hasTimeSkippingConfigin interfaceWorkflowExecutionOptionsOrBuilder- Returns:
- Whether the timeSkippingConfig field is set.
-
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:
getTimeSkippingConfigin interfaceWorkflowExecutionOptionsOrBuilder- Returns:
- The timeSkippingConfig.
-
setTimeSkippingConfig
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; -
setTimeSkippingConfig
public WorkflowExecutionOptions.Builder setTimeSkippingConfig(TimeSkippingConfig.Builder builderForValue) 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; -
mergeTimeSkippingConfig
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; -
clearTimeSkippingConfig
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; -
getTimeSkippingConfigBuilder
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; -
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:
getTimeSkippingConfigOrBuilderin interfaceWorkflowExecutionOptionsOrBuilder
-
setUnknownFields
public final WorkflowExecutionOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionOptions.Builder>
-
mergeUnknownFields
public final WorkflowExecutionOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionOptions.Builder>
-