Class ScheduleActionResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ScheduleActionResult.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ScheduleActionResult.Builder>
io.temporal.api.schedule.v1.ScheduleActionResult.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ScheduleActionResultOrBuilder,Cloneable
- Enclosing class:
ScheduleActionResult
public static final class ScheduleActionResult.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ScheduleActionResult.Builder>
implements ScheduleActionResultOrBuilder
Protobuf type
temporal.api.schedule.v1.ScheduleActionResult-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Time that the action was taken (real time).clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Time that the action was taken (according to the schedule, including jitter).If action was start_workflow:If the action was start_workflow, this field will reflect an eventually-consistent view of the started workflow's status.clone()com.google.protobuf.TimestampTime that the action was taken (real time).com.google.protobuf.Timestamp.BuilderTime that the action was taken (real time).com.google.protobuf.TimestampOrBuilderTime that the action was taken (real time).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampTime that the action was taken (according to the schedule, including jitter).com.google.protobuf.Timestamp.BuilderTime that the action was taken (according to the schedule, including jitter).com.google.protobuf.TimestampOrBuilderTime that the action was taken (according to the schedule, including jitter).If action was start_workflow:If action was start_workflow:If action was start_workflow:If the action was start_workflow, this field will reflect an eventually-consistent view of the started workflow's status.intIf the action was start_workflow, this field will reflect an eventually-consistent view of the started workflow's status.booleanTime that the action was taken (real time).booleanTime that the action was taken (according to the schedule, including jitter).booleanIf action was start_workflow:protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeActualTime(com.google.protobuf.Timestamp value) Time that the action was taken (real time).mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ScheduleActionResult other) mergeScheduleTime(com.google.protobuf.Timestamp value) Time that the action was taken (according to the schedule, including jitter).If action was start_workflow:mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setActualTime(com.google.protobuf.Timestamp value) Time that the action was taken (real time).setActualTime(com.google.protobuf.Timestamp.Builder builderForValue) Time that the action was taken (real time).setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setScheduleTime(com.google.protobuf.Timestamp value) Time that the action was taken (according to the schedule, including jitter).setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) Time that the action was taken (according to the schedule, including jitter).If action was start_workflow:setStartWorkflowResult(WorkflowExecution.Builder builderForValue) If action was start_workflow:If the action was start_workflow, this field will reflect an eventually-consistent view of the started workflow's status.setStartWorkflowStatusValue(int value) If the action was start_workflow, this field will reflect an eventually-consistent view of the started workflow's status.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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<ScheduleActionResult.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<ScheduleActionResult.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<ScheduleActionResult.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<ScheduleActionResult.Builder>
-
setField
public ScheduleActionResult.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<ScheduleActionResult.Builder>
-
clearField
public ScheduleActionResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActionResult.Builder>
-
clearOneof
public ScheduleActionResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActionResult.Builder>
-
setRepeatedField
public ScheduleActionResult.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<ScheduleActionResult.Builder>
-
addRepeatedField
public ScheduleActionResult.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<ScheduleActionResult.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ScheduleActionResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActionResult.Builder>
-
mergeFrom
public ScheduleActionResult.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<ScheduleActionResult.Builder>- Throws:
IOException
-
hasScheduleTime
public boolean hasScheduleTime()Time that the action was taken (according to the schedule, including jitter).
.google.protobuf.Timestamp schedule_time = 1;- Specified by:
hasScheduleTimein interfaceScheduleActionResultOrBuilder- Returns:
- Whether the scheduleTime field is set.
-
getScheduleTime
public com.google.protobuf.Timestamp getScheduleTime()Time that the action was taken (according to the schedule, including jitter).
.google.protobuf.Timestamp schedule_time = 1;- Specified by:
getScheduleTimein interfaceScheduleActionResultOrBuilder- Returns:
- The scheduleTime.
-
setScheduleTime
Time that the action was taken (according to the schedule, including jitter).
.google.protobuf.Timestamp schedule_time = 1; -
setScheduleTime
public ScheduleActionResult.Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) Time that the action was taken (according to the schedule, including jitter).
.google.protobuf.Timestamp schedule_time = 1; -
mergeScheduleTime
Time that the action was taken (according to the schedule, including jitter).
.google.protobuf.Timestamp schedule_time = 1; -
clearScheduleTime
Time that the action was taken (according to the schedule, including jitter).
.google.protobuf.Timestamp schedule_time = 1; -
getScheduleTimeBuilder
public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder()Time that the action was taken (according to the schedule, including jitter).
.google.protobuf.Timestamp schedule_time = 1; -
getScheduleTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder()Time that the action was taken (according to the schedule, including jitter).
.google.protobuf.Timestamp schedule_time = 1;- Specified by:
getScheduleTimeOrBuilderin interfaceScheduleActionResultOrBuilder
-
hasActualTime
public boolean hasActualTime()Time that the action was taken (real time).
.google.protobuf.Timestamp actual_time = 2;- Specified by:
hasActualTimein interfaceScheduleActionResultOrBuilder- Returns:
- Whether the actualTime field is set.
-
getActualTime
public com.google.protobuf.Timestamp getActualTime()Time that the action was taken (real time).
.google.protobuf.Timestamp actual_time = 2;- Specified by:
getActualTimein interfaceScheduleActionResultOrBuilder- Returns:
- The actualTime.
-
setActualTime
Time that the action was taken (real time).
.google.protobuf.Timestamp actual_time = 2; -
setActualTime
public ScheduleActionResult.Builder setActualTime(com.google.protobuf.Timestamp.Builder builderForValue) Time that the action was taken (real time).
.google.protobuf.Timestamp actual_time = 2; -
mergeActualTime
Time that the action was taken (real time).
.google.protobuf.Timestamp actual_time = 2; -
clearActualTime
Time that the action was taken (real time).
.google.protobuf.Timestamp actual_time = 2; -
getActualTimeBuilder
public com.google.protobuf.Timestamp.Builder getActualTimeBuilder()Time that the action was taken (real time).
.google.protobuf.Timestamp actual_time = 2; -
getActualTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getActualTimeOrBuilder()Time that the action was taken (real time).
.google.protobuf.Timestamp actual_time = 2;- Specified by:
getActualTimeOrBuilderin interfaceScheduleActionResultOrBuilder
-
hasStartWorkflowResult
public boolean hasStartWorkflowResult()If action was start_workflow:
.temporal.api.common.v1.WorkflowExecution start_workflow_result = 11;- Specified by:
hasStartWorkflowResultin interfaceScheduleActionResultOrBuilder- Returns:
- Whether the startWorkflowResult field is set.
-
getStartWorkflowResult
If action was start_workflow:
.temporal.api.common.v1.WorkflowExecution start_workflow_result = 11;- Specified by:
getStartWorkflowResultin interfaceScheduleActionResultOrBuilder- Returns:
- The startWorkflowResult.
-
setStartWorkflowResult
If action was start_workflow:
.temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; -
setStartWorkflowResult
public ScheduleActionResult.Builder setStartWorkflowResult(WorkflowExecution.Builder builderForValue) If action was start_workflow:
.temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; -
mergeStartWorkflowResult
If action was start_workflow:
.temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; -
clearStartWorkflowResult
If action was start_workflow:
.temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; -
getStartWorkflowResultBuilder
If action was start_workflow:
.temporal.api.common.v1.WorkflowExecution start_workflow_result = 11; -
getStartWorkflowResultOrBuilder
If action was start_workflow:
.temporal.api.common.v1.WorkflowExecution start_workflow_result = 11;- Specified by:
getStartWorkflowResultOrBuilderin interfaceScheduleActionResultOrBuilder
-
getStartWorkflowStatusValue
public int getStartWorkflowStatusValue()If the action was start_workflow, this field will reflect an eventually-consistent view of the started workflow's status.
.temporal.api.enums.v1.WorkflowExecutionStatus start_workflow_status = 12;- Specified by:
getStartWorkflowStatusValuein interfaceScheduleActionResultOrBuilder- Returns:
- The enum numeric value on the wire for startWorkflowStatus.
-
setStartWorkflowStatusValue
If the action was start_workflow, this field will reflect an eventually-consistent view of the started workflow's status.
.temporal.api.enums.v1.WorkflowExecutionStatus start_workflow_status = 12;- Parameters:
value- The enum numeric value on the wire for startWorkflowStatus to set.- Returns:
- This builder for chaining.
-
getStartWorkflowStatus
If the action was start_workflow, this field will reflect an eventually-consistent view of the started workflow's status.
.temporal.api.enums.v1.WorkflowExecutionStatus start_workflow_status = 12;- Specified by:
getStartWorkflowStatusin interfaceScheduleActionResultOrBuilder- Returns:
- The startWorkflowStatus.
-
setStartWorkflowStatus
If the action was start_workflow, this field will reflect an eventually-consistent view of the started workflow's status.
.temporal.api.enums.v1.WorkflowExecutionStatus start_workflow_status = 12;- Parameters:
value- The startWorkflowStatus to set.- Returns:
- This builder for chaining.
-
clearStartWorkflowStatus
If the action was start_workflow, this field will reflect an eventually-consistent view of the started workflow's status.
.temporal.api.enums.v1.WorkflowExecutionStatus start_workflow_status = 12;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ScheduleActionResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActionResult.Builder>
-
mergeUnknownFields
public final ScheduleActionResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleActionResult.Builder>
-