Package io.temporal.api.schedule.v1
Class ScheduleInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ScheduleInfo.Builder>
-
- io.temporal.api.schedule.v1.ScheduleInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ScheduleInfoOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ScheduleInfo
public static final class ScheduleInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ScheduleInfo.Builder> implements ScheduleInfoOrBuilder
Protobuf typetemporal.api.schedule.v1.ScheduleInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ScheduleInfo.Builder
addAllFutureActionTimes(java.lang.Iterable<? extends com.google.protobuf.Timestamp> values)
Next ten scheduled action times.ScheduleInfo.Builder
addAllRecentActions(java.lang.Iterable<? extends ScheduleActionResult> values)
Most recent ten actual action times (including manual triggers).ScheduleInfo.Builder
addAllRunningWorkflows(java.lang.Iterable<? extends WorkflowExecution> values)
Currently-running workflows started by this schedule.ScheduleInfo.Builder
addFutureActionTimes(int index, com.google.protobuf.Timestamp value)
Next ten scheduled action times.ScheduleInfo.Builder
addFutureActionTimes(int index, com.google.protobuf.Timestamp.Builder builderForValue)
Next ten scheduled action times.ScheduleInfo.Builder
addFutureActionTimes(com.google.protobuf.Timestamp value)
Next ten scheduled action times.ScheduleInfo.Builder
addFutureActionTimes(com.google.protobuf.Timestamp.Builder builderForValue)
Next ten scheduled action times.com.google.protobuf.Timestamp.Builder
addFutureActionTimesBuilder()
Next ten scheduled action times.com.google.protobuf.Timestamp.Builder
addFutureActionTimesBuilder(int index)
Next ten scheduled action times.ScheduleInfo.Builder
addRecentActions(int index, ScheduleActionResult value)
Most recent ten actual action times (including manual triggers).ScheduleInfo.Builder
addRecentActions(int index, ScheduleActionResult.Builder builderForValue)
Most recent ten actual action times (including manual triggers).ScheduleInfo.Builder
addRecentActions(ScheduleActionResult value)
Most recent ten actual action times (including manual triggers).ScheduleInfo.Builder
addRecentActions(ScheduleActionResult.Builder builderForValue)
Most recent ten actual action times (including manual triggers).ScheduleActionResult.Builder
addRecentActionsBuilder()
Most recent ten actual action times (including manual triggers).ScheduleActionResult.Builder
addRecentActionsBuilder(int index)
Most recent ten actual action times (including manual triggers).ScheduleInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ScheduleInfo.Builder
addRunningWorkflows(int index, WorkflowExecution value)
Currently-running workflows started by this schedule.ScheduleInfo.Builder
addRunningWorkflows(int index, WorkflowExecution.Builder builderForValue)
Currently-running workflows started by this schedule.ScheduleInfo.Builder
addRunningWorkflows(WorkflowExecution value)
Currently-running workflows started by this schedule.ScheduleInfo.Builder
addRunningWorkflows(WorkflowExecution.Builder builderForValue)
Currently-running workflows started by this schedule.WorkflowExecution.Builder
addRunningWorkflowsBuilder()
Currently-running workflows started by this schedule.WorkflowExecution.Builder
addRunningWorkflowsBuilder(int index)
Currently-running workflows started by this schedule.ScheduleInfo
build()
ScheduleInfo
buildPartial()
ScheduleInfo.Builder
clear()
ScheduleInfo.Builder
clearActionCount()
Number of actions taken so far.ScheduleInfo.Builder
clearCreateTime()
Timestamps of schedule creation and last update.ScheduleInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ScheduleInfo.Builder
clearFutureActionTimes()
Next ten scheduled action times.ScheduleInfo.Builder
clearInvalidScheduleError()
Deprecated.ScheduleInfo.Builder
clearMissedCatchupWindow()
Number of times a scheduled action was skipped due to missing the catchup window.ScheduleInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ScheduleInfo.Builder
clearOverlapSkipped()
Number of skipped actions due to overlap.ScheduleInfo.Builder
clearRecentActions()
Most recent ten actual action times (including manual triggers).ScheduleInfo.Builder
clearRunningWorkflows()
Currently-running workflows started by this schedule.ScheduleInfo.Builder
clearUpdateTime()
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
ScheduleInfo.Builder
clone()
long
getActionCount()
Number of actions taken so far.com.google.protobuf.Timestamp
getCreateTime()
Timestamps of schedule creation and last update.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Timestamps of schedule creation and last update.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Timestamps of schedule creation and last update.ScheduleInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getFutureActionTimes(int index)
Next ten scheduled action times.com.google.protobuf.Timestamp.Builder
getFutureActionTimesBuilder(int index)
Next ten scheduled action times.java.util.List<com.google.protobuf.Timestamp.Builder>
getFutureActionTimesBuilderList()
Next ten scheduled action times.int
getFutureActionTimesCount()
Next ten scheduled action times.java.util.List<com.google.protobuf.Timestamp>
getFutureActionTimesList()
Next ten scheduled action times.com.google.protobuf.TimestampOrBuilder
getFutureActionTimesOrBuilder(int index)
Next ten scheduled action times.java.util.List<? extends com.google.protobuf.TimestampOrBuilder>
getFutureActionTimesOrBuilderList()
Next ten scheduled action times.java.lang.String
getInvalidScheduleError()
Deprecated.com.google.protobuf.ByteString
getInvalidScheduleErrorBytes()
Deprecated.long
getMissedCatchupWindow()
Number of times a scheduled action was skipped due to missing the catchup window.long
getOverlapSkipped()
Number of skipped actions due to overlap.ScheduleActionResult
getRecentActions(int index)
Most recent ten actual action times (including manual triggers).ScheduleActionResult.Builder
getRecentActionsBuilder(int index)
Most recent ten actual action times (including manual triggers).java.util.List<ScheduleActionResult.Builder>
getRecentActionsBuilderList()
Most recent ten actual action times (including manual triggers).int
getRecentActionsCount()
Most recent ten actual action times (including manual triggers).java.util.List<ScheduleActionResult>
getRecentActionsList()
Most recent ten actual action times (including manual triggers).ScheduleActionResultOrBuilder
getRecentActionsOrBuilder(int index)
Most recent ten actual action times (including manual triggers).java.util.List<? extends ScheduleActionResultOrBuilder>
getRecentActionsOrBuilderList()
Most recent ten actual action times (including manual triggers).WorkflowExecution
getRunningWorkflows(int index)
Currently-running workflows started by this schedule.WorkflowExecution.Builder
getRunningWorkflowsBuilder(int index)
Currently-running workflows started by this schedule.java.util.List<WorkflowExecution.Builder>
getRunningWorkflowsBuilderList()
Currently-running workflows started by this schedule.int
getRunningWorkflowsCount()
Currently-running workflows started by this schedule.java.util.List<WorkflowExecution>
getRunningWorkflowsList()
Currently-running workflows started by this schedule.WorkflowExecutionOrBuilder
getRunningWorkflowsOrBuilder(int index)
Currently-running workflows started by this schedule.java.util.List<? extends WorkflowExecutionOrBuilder>
getRunningWorkflowsOrBuilderList()
Currently-running workflows started by this schedule.com.google.protobuf.Timestamp
getUpdateTime()
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
boolean
hasCreateTime()
Timestamps of schedule creation and last update.boolean
hasUpdateTime()
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ScheduleInfo.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Timestamps of schedule creation and last update.ScheduleInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ScheduleInfo.Builder
mergeFrom(com.google.protobuf.Message other)
ScheduleInfo.Builder
mergeFrom(ScheduleInfo other)
ScheduleInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ScheduleInfo.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
ScheduleInfo.Builder
removeFutureActionTimes(int index)
Next ten scheduled action times.ScheduleInfo.Builder
removeRecentActions(int index)
Most recent ten actual action times (including manual triggers).ScheduleInfo.Builder
removeRunningWorkflows(int index)
Currently-running workflows started by this schedule.ScheduleInfo.Builder
setActionCount(long value)
Number of actions taken so far.ScheduleInfo.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Timestamps of schedule creation and last update.ScheduleInfo.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamps of schedule creation and last update.ScheduleInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ScheduleInfo.Builder
setFutureActionTimes(int index, com.google.protobuf.Timestamp value)
Next ten scheduled action times.ScheduleInfo.Builder
setFutureActionTimes(int index, com.google.protobuf.Timestamp.Builder builderForValue)
Next ten scheduled action times.ScheduleInfo.Builder
setInvalidScheduleError(java.lang.String value)
Deprecated.ScheduleInfo.Builder
setInvalidScheduleErrorBytes(com.google.protobuf.ByteString value)
Deprecated.ScheduleInfo.Builder
setMissedCatchupWindow(long value)
Number of times a scheduled action was skipped due to missing the catchup window.ScheduleInfo.Builder
setOverlapSkipped(long value)
Number of skipped actions due to overlap.ScheduleInfo.Builder
setRecentActions(int index, ScheduleActionResult value)
Most recent ten actual action times (including manual triggers).ScheduleInfo.Builder
setRecentActions(int index, ScheduleActionResult.Builder builderForValue)
Most recent ten actual action times (including manual triggers).ScheduleInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ScheduleInfo.Builder
setRunningWorkflows(int index, WorkflowExecution value)
Currently-running workflows started by this schedule.ScheduleInfo.Builder
setRunningWorkflows(int index, WorkflowExecution.Builder builderForValue)
Currently-running workflows started by this schedule.ScheduleInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ScheduleInfo.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
ScheduleInfo.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleInfo.Builder>
-
clear
public ScheduleInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleInfo.Builder>
-
getDefaultInstanceForType
public ScheduleInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ScheduleInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ScheduleInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ScheduleInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleInfo.Builder>
-
setField
public ScheduleInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleInfo.Builder>
-
clearField
public ScheduleInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleInfo.Builder>
-
clearOneof
public ScheduleInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleInfo.Builder>
-
setRepeatedField
public ScheduleInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleInfo.Builder>
-
addRepeatedField
public ScheduleInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleInfo.Builder>
-
mergeFrom
public ScheduleInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ScheduleInfo.Builder>
-
mergeFrom
public ScheduleInfo.Builder mergeFrom(ScheduleInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleInfo.Builder>
-
mergeFrom
public ScheduleInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ScheduleInfo.Builder>
- Throws:
java.io.IOException
-
getActionCount
public long getActionCount()
Number of actions taken so far.
int64 action_count = 1;
- Specified by:
getActionCount
in interfaceScheduleInfoOrBuilder
- Returns:
- The actionCount.
-
setActionCount
public ScheduleInfo.Builder setActionCount(long value)
Number of actions taken so far.
int64 action_count = 1;
- Parameters:
value
- The actionCount to set.- Returns:
- This builder for chaining.
-
clearActionCount
public ScheduleInfo.Builder clearActionCount()
Number of actions taken so far.
int64 action_count = 1;
- Returns:
- This builder for chaining.
-
getMissedCatchupWindow
public long getMissedCatchupWindow()
Number of times a scheduled action was skipped due to missing the catchup window.
int64 missed_catchup_window = 2;
- Specified by:
getMissedCatchupWindow
in interfaceScheduleInfoOrBuilder
- Returns:
- The missedCatchupWindow.
-
setMissedCatchupWindow
public ScheduleInfo.Builder setMissedCatchupWindow(long value)
Number of times a scheduled action was skipped due to missing the catchup window.
int64 missed_catchup_window = 2;
- Parameters:
value
- The missedCatchupWindow to set.- Returns:
- This builder for chaining.
-
clearMissedCatchupWindow
public ScheduleInfo.Builder clearMissedCatchupWindow()
Number of times a scheduled action was skipped due to missing the catchup window.
int64 missed_catchup_window = 2;
- Returns:
- This builder for chaining.
-
getOverlapSkipped
public long getOverlapSkipped()
Number of skipped actions due to overlap.
int64 overlap_skipped = 3;
- Specified by:
getOverlapSkipped
in interfaceScheduleInfoOrBuilder
- Returns:
- The overlapSkipped.
-
setOverlapSkipped
public ScheduleInfo.Builder setOverlapSkipped(long value)
Number of skipped actions due to overlap.
int64 overlap_skipped = 3;
- Parameters:
value
- The overlapSkipped to set.- Returns:
- This builder for chaining.
-
clearOverlapSkipped
public ScheduleInfo.Builder clearOverlapSkipped()
Number of skipped actions due to overlap.
int64 overlap_skipped = 3;
- Returns:
- This builder for chaining.
-
getRunningWorkflowsList
public java.util.List<WorkflowExecution> getRunningWorkflowsList()
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
- Specified by:
getRunningWorkflowsList
in interfaceScheduleInfoOrBuilder
-
getRunningWorkflowsCount
public int getRunningWorkflowsCount()
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
- Specified by:
getRunningWorkflowsCount
in interfaceScheduleInfoOrBuilder
-
getRunningWorkflows
public WorkflowExecution getRunningWorkflows(int index)
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
- Specified by:
getRunningWorkflows
in interfaceScheduleInfoOrBuilder
-
setRunningWorkflows
public ScheduleInfo.Builder setRunningWorkflows(int index, WorkflowExecution value)
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
-
setRunningWorkflows
public ScheduleInfo.Builder setRunningWorkflows(int index, WorkflowExecution.Builder builderForValue)
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
-
addRunningWorkflows
public ScheduleInfo.Builder addRunningWorkflows(WorkflowExecution value)
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
-
addRunningWorkflows
public ScheduleInfo.Builder addRunningWorkflows(int index, WorkflowExecution value)
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
-
addRunningWorkflows
public ScheduleInfo.Builder addRunningWorkflows(WorkflowExecution.Builder builderForValue)
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
-
addRunningWorkflows
public ScheduleInfo.Builder addRunningWorkflows(int index, WorkflowExecution.Builder builderForValue)
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
-
addAllRunningWorkflows
public ScheduleInfo.Builder addAllRunningWorkflows(java.lang.Iterable<? extends WorkflowExecution> values)
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
-
clearRunningWorkflows
public ScheduleInfo.Builder clearRunningWorkflows()
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
-
removeRunningWorkflows
public ScheduleInfo.Builder removeRunningWorkflows(int index)
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
-
getRunningWorkflowsBuilder
public WorkflowExecution.Builder getRunningWorkflowsBuilder(int index)
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
-
getRunningWorkflowsOrBuilder
public WorkflowExecutionOrBuilder getRunningWorkflowsOrBuilder(int index)
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
- Specified by:
getRunningWorkflowsOrBuilder
in interfaceScheduleInfoOrBuilder
-
getRunningWorkflowsOrBuilderList
public java.util.List<? extends WorkflowExecutionOrBuilder> getRunningWorkflowsOrBuilderList()
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
- Specified by:
getRunningWorkflowsOrBuilderList
in interfaceScheduleInfoOrBuilder
-
addRunningWorkflowsBuilder
public WorkflowExecution.Builder addRunningWorkflowsBuilder()
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
-
addRunningWorkflowsBuilder
public WorkflowExecution.Builder addRunningWorkflowsBuilder(int index)
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
-
getRunningWorkflowsBuilderList
public java.util.List<WorkflowExecution.Builder> getRunningWorkflowsBuilderList()
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.) Note that the run_ids in here are the original execution run ids as started by the schedule. If the workflows retried, did continue-as-new, or were reset, they might still be running but with a different run_id.
repeated .temporal.api.common.v1.WorkflowExecution running_workflows = 9;
-
getRecentActionsList
public java.util.List<ScheduleActionResult> getRecentActionsList()
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
- Specified by:
getRecentActionsList
in interfaceScheduleInfoOrBuilder
-
getRecentActionsCount
public int getRecentActionsCount()
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
- Specified by:
getRecentActionsCount
in interfaceScheduleInfoOrBuilder
-
getRecentActions
public ScheduleActionResult getRecentActions(int index)
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
- Specified by:
getRecentActions
in interfaceScheduleInfoOrBuilder
-
setRecentActions
public ScheduleInfo.Builder setRecentActions(int index, ScheduleActionResult value)
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
-
setRecentActions
public ScheduleInfo.Builder setRecentActions(int index, ScheduleActionResult.Builder builderForValue)
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
-
addRecentActions
public ScheduleInfo.Builder addRecentActions(ScheduleActionResult value)
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
-
addRecentActions
public ScheduleInfo.Builder addRecentActions(int index, ScheduleActionResult value)
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
-
addRecentActions
public ScheduleInfo.Builder addRecentActions(ScheduleActionResult.Builder builderForValue)
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
-
addRecentActions
public ScheduleInfo.Builder addRecentActions(int index, ScheduleActionResult.Builder builderForValue)
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
-
addAllRecentActions
public ScheduleInfo.Builder addAllRecentActions(java.lang.Iterable<? extends ScheduleActionResult> values)
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
-
clearRecentActions
public ScheduleInfo.Builder clearRecentActions()
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
-
removeRecentActions
public ScheduleInfo.Builder removeRecentActions(int index)
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
-
getRecentActionsBuilder
public ScheduleActionResult.Builder getRecentActionsBuilder(int index)
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
-
getRecentActionsOrBuilder
public ScheduleActionResultOrBuilder getRecentActionsOrBuilder(int index)
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
- Specified by:
getRecentActionsOrBuilder
in interfaceScheduleInfoOrBuilder
-
getRecentActionsOrBuilderList
public java.util.List<? extends ScheduleActionResultOrBuilder> getRecentActionsOrBuilderList()
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
- Specified by:
getRecentActionsOrBuilderList
in interfaceScheduleInfoOrBuilder
-
addRecentActionsBuilder
public ScheduleActionResult.Builder addRecentActionsBuilder()
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
-
addRecentActionsBuilder
public ScheduleActionResult.Builder addRecentActionsBuilder(int index)
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
-
getRecentActionsBuilderList
public java.util.List<ScheduleActionResult.Builder> getRecentActionsBuilderList()
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;
-
getFutureActionTimesList
public java.util.List<com.google.protobuf.Timestamp> getFutureActionTimesList()
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
- Specified by:
getFutureActionTimesList
in interfaceScheduleInfoOrBuilder
-
getFutureActionTimesCount
public int getFutureActionTimesCount()
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
- Specified by:
getFutureActionTimesCount
in interfaceScheduleInfoOrBuilder
-
getFutureActionTimes
public com.google.protobuf.Timestamp getFutureActionTimes(int index)
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
- Specified by:
getFutureActionTimes
in interfaceScheduleInfoOrBuilder
-
setFutureActionTimes
public ScheduleInfo.Builder setFutureActionTimes(int index, com.google.protobuf.Timestamp value)
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
-
setFutureActionTimes
public ScheduleInfo.Builder setFutureActionTimes(int index, com.google.protobuf.Timestamp.Builder builderForValue)
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
-
addFutureActionTimes
public ScheduleInfo.Builder addFutureActionTimes(com.google.protobuf.Timestamp value)
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
-
addFutureActionTimes
public ScheduleInfo.Builder addFutureActionTimes(int index, com.google.protobuf.Timestamp value)
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
-
addFutureActionTimes
public ScheduleInfo.Builder addFutureActionTimes(com.google.protobuf.Timestamp.Builder builderForValue)
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
-
addFutureActionTimes
public ScheduleInfo.Builder addFutureActionTimes(int index, com.google.protobuf.Timestamp.Builder builderForValue)
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
-
addAllFutureActionTimes
public ScheduleInfo.Builder addAllFutureActionTimes(java.lang.Iterable<? extends com.google.protobuf.Timestamp> values)
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
-
clearFutureActionTimes
public ScheduleInfo.Builder clearFutureActionTimes()
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
-
removeFutureActionTimes
public ScheduleInfo.Builder removeFutureActionTimes(int index)
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
-
getFutureActionTimesBuilder
public com.google.protobuf.Timestamp.Builder getFutureActionTimesBuilder(int index)
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
-
getFutureActionTimesOrBuilder
public com.google.protobuf.TimestampOrBuilder getFutureActionTimesOrBuilder(int index)
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
- Specified by:
getFutureActionTimesOrBuilder
in interfaceScheduleInfoOrBuilder
-
getFutureActionTimesOrBuilderList
public java.util.List<? extends com.google.protobuf.TimestampOrBuilder> getFutureActionTimesOrBuilderList()
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
- Specified by:
getFutureActionTimesOrBuilderList
in interfaceScheduleInfoOrBuilder
-
addFutureActionTimesBuilder
public com.google.protobuf.Timestamp.Builder addFutureActionTimesBuilder()
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
-
addFutureActionTimesBuilder
public com.google.protobuf.Timestamp.Builder addFutureActionTimesBuilder(int index)
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
-
getFutureActionTimesBuilderList
public java.util.List<com.google.protobuf.Timestamp.Builder> getFutureActionTimesBuilderList()
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5 [(.gogoproto.stdtime) = true];
-
hasCreateTime
public boolean hasCreateTime()
Timestamps of schedule creation and last update.
.google.protobuf.Timestamp create_time = 6 [(.gogoproto.stdtime) = true];
- Specified by:
hasCreateTime
in interfaceScheduleInfoOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Timestamps of schedule creation and last update.
.google.protobuf.Timestamp create_time = 6 [(.gogoproto.stdtime) = true];
- Specified by:
getCreateTime
in interfaceScheduleInfoOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public ScheduleInfo.Builder setCreateTime(com.google.protobuf.Timestamp value)
Timestamps of schedule creation and last update.
.google.protobuf.Timestamp create_time = 6 [(.gogoproto.stdtime) = true];
-
setCreateTime
public ScheduleInfo.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamps of schedule creation and last update.
.google.protobuf.Timestamp create_time = 6 [(.gogoproto.stdtime) = true];
-
mergeCreateTime
public ScheduleInfo.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Timestamps of schedule creation and last update.
.google.protobuf.Timestamp create_time = 6 [(.gogoproto.stdtime) = true];
-
clearCreateTime
public ScheduleInfo.Builder clearCreateTime()
Timestamps of schedule creation and last update.
.google.protobuf.Timestamp create_time = 6 [(.gogoproto.stdtime) = true];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Timestamps of schedule creation and last update.
.google.protobuf.Timestamp create_time = 6 [(.gogoproto.stdtime) = true];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Timestamps of schedule creation and last update.
.google.protobuf.Timestamp create_time = 6 [(.gogoproto.stdtime) = true];
- Specified by:
getCreateTimeOrBuilder
in interfaceScheduleInfoOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
- Specified by:
hasUpdateTime
in interfaceScheduleInfoOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
- Specified by:
getUpdateTime
in interfaceScheduleInfoOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public ScheduleInfo.Builder setUpdateTime(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
-
setUpdateTime
public ScheduleInfo.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
-
mergeUpdateTime
public ScheduleInfo.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
-
clearUpdateTime
public ScheduleInfo.Builder clearUpdateTime()
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
.google.protobuf.Timestamp update_time = 7 [(.gogoproto.stdtime) = true];
- Specified by:
getUpdateTimeOrBuilder
in interfaceScheduleInfoOrBuilder
-
getInvalidScheduleError
@Deprecated public java.lang.String getInvalidScheduleError()
Deprecated.string invalid_schedule_error = 8 [deprecated = true];
- Specified by:
getInvalidScheduleError
in interfaceScheduleInfoOrBuilder
- Returns:
- The invalidScheduleError.
-
getInvalidScheduleErrorBytes
@Deprecated public com.google.protobuf.ByteString getInvalidScheduleErrorBytes()
Deprecated.string invalid_schedule_error = 8 [deprecated = true];
- Specified by:
getInvalidScheduleErrorBytes
in interfaceScheduleInfoOrBuilder
- Returns:
- The bytes for invalidScheduleError.
-
setInvalidScheduleError
@Deprecated public ScheduleInfo.Builder setInvalidScheduleError(java.lang.String value)
Deprecated.string invalid_schedule_error = 8 [deprecated = true];
- Parameters:
value
- The invalidScheduleError to set.- Returns:
- This builder for chaining.
-
clearInvalidScheduleError
@Deprecated public ScheduleInfo.Builder clearInvalidScheduleError()
Deprecated.string invalid_schedule_error = 8 [deprecated = true];
- Returns:
- This builder for chaining.
-
setInvalidScheduleErrorBytes
@Deprecated public ScheduleInfo.Builder setInvalidScheduleErrorBytes(com.google.protobuf.ByteString value)
Deprecated.string invalid_schedule_error = 8 [deprecated = true];
- Parameters:
value
- The bytes for invalidScheduleError to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ScheduleInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleInfo.Builder>
-
mergeUnknownFields
public final ScheduleInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScheduleInfo.Builder>
-
-