Class ScheduleInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.schedule.v1.ScheduleInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ScheduleInfoOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:ScheduleInfo.java.pb.meta")
public final class ScheduleInfo
extends com.google.protobuf.GeneratedMessageV3
implements ScheduleInfoOrBuilder
Protobuf type
temporal.api.schedule.v1.ScheduleInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetemporal.api.schedule.v1.ScheduleInfoNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongNumber of actions taken so far.longNumber of dropped actions due to buffer limit.longNumber of actions in the buffer.com.google.protobuf.TimestampTimestamps of schedule creation and last update.com.google.protobuf.TimestampOrBuilderTimestamps of schedule creation and last update.static ScheduleInfostatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampgetFutureActionTimes(int index) Next ten scheduled action times.intNext ten scheduled action times.List<com.google.protobuf.Timestamp> Next ten scheduled action times.com.google.protobuf.TimestampOrBuildergetFutureActionTimesOrBuilder(int index) Next ten scheduled action times.List<? extends com.google.protobuf.TimestampOrBuilder> Next ten scheduled action times.Deprecated.temporal.api.schedule.v1.ScheduleInfo.invalid_schedule_error is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.schedule.v1.ScheduleInfo.invalid_schedule_error is deprecated.longNumber of times a scheduled action was skipped due to missing the catchup window.longNumber of skipped actions due to overlap.com.google.protobuf.Parser<ScheduleInfo> getRecentActions(int index) Most recent ten actual action times (including manual triggers).intMost recent ten actual action times (including manual triggers).Most recent ten actual action times (including manual triggers).getRecentActionsOrBuilder(int index) Most recent ten actual action times (including manual triggers).List<? extends ScheduleActionResultOrBuilder> Most recent ten actual action times (including manual triggers).getRunningWorkflows(int index) Currently-running workflows started by this schedule.intCurrently-running workflows started by this schedule.Currently-running workflows started by this schedule.getRunningWorkflowsOrBuilder(int index) Currently-running workflows started by this schedule.List<? extends WorkflowExecutionOrBuilder> Currently-running workflows started by this schedule.intlongSize of the schedule's internal state (including payloads) in bytes.com.google.protobuf.Timestamp.google.protobuf.Timestamp update_time = 7;com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp update_time = 7;booleanTimestamps of schedule creation and last update.inthashCode()boolean.google.protobuf.Timestamp update_time = 7;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ScheduleInfo.Builderstatic ScheduleInfo.BuildernewBuilder(ScheduleInfo prototype) protected ScheduleInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ScheduleInfoparseDelimitedFrom(InputStream input) static ScheduleInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ScheduleInfoparseFrom(byte[] data) static ScheduleInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ScheduleInfoparseFrom(com.google.protobuf.ByteString data) static ScheduleInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ScheduleInfoparseFrom(com.google.protobuf.CodedInputStream input) static ScheduleInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ScheduleInfoparseFrom(InputStream input) static ScheduleInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ScheduleInfoparseFrom(ByteBuffer data) static ScheduleInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ScheduleInfo> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ACTION_COUNT_FIELD_NUMBER
public static final int ACTION_COUNT_FIELD_NUMBER- See Also:
-
MISSED_CATCHUP_WINDOW_FIELD_NUMBER
public static final int MISSED_CATCHUP_WINDOW_FIELD_NUMBER- See Also:
-
OVERLAP_SKIPPED_FIELD_NUMBER
public static final int OVERLAP_SKIPPED_FIELD_NUMBER- See Also:
-
BUFFER_DROPPED_FIELD_NUMBER
public static final int BUFFER_DROPPED_FIELD_NUMBER- See Also:
-
BUFFER_SIZE_FIELD_NUMBER
public static final int BUFFER_SIZE_FIELD_NUMBER- See Also:
-
RUNNING_WORKFLOWS_FIELD_NUMBER
public static final int RUNNING_WORKFLOWS_FIELD_NUMBER- See Also:
-
RECENT_ACTIONS_FIELD_NUMBER
public static final int RECENT_ACTIONS_FIELD_NUMBER- See Also:
-
FUTURE_ACTION_TIMES_FIELD_NUMBER
public static final int FUTURE_ACTION_TIMES_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
INVALID_SCHEDULE_ERROR_FIELD_NUMBER
public static final int INVALID_SCHEDULE_ERROR_FIELD_NUMBER- See Also:
-
STATE_SIZE_BYTES_FIELD_NUMBER
public static final int STATE_SIZE_BYTES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getActionCount
public long getActionCount()Number of actions taken so far.
int64 action_count = 1;- Specified by:
getActionCountin interfaceScheduleInfoOrBuilder- Returns:
- The actionCount.
-
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:
getMissedCatchupWindowin interfaceScheduleInfoOrBuilder- Returns:
- The missedCatchupWindow.
-
getOverlapSkipped
public long getOverlapSkipped()Number of skipped actions due to overlap.
int64 overlap_skipped = 3;- Specified by:
getOverlapSkippedin interfaceScheduleInfoOrBuilder- Returns:
- The overlapSkipped.
-
getBufferDropped
public long getBufferDropped()Number of dropped actions due to buffer limit.
int64 buffer_dropped = 10;- Specified by:
getBufferDroppedin interfaceScheduleInfoOrBuilder- Returns:
- The bufferDropped.
-
getBufferSize
public long getBufferSize()Number of actions in the buffer. The buffer holds the actions that cannot be immediately triggered (due to the overlap policy). These actions can be a result of the normal schedule or a backfill.
int64 buffer_size = 11;- Specified by:
getBufferSizein interfaceScheduleInfoOrBuilder- Returns:
- The bufferSize.
-
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:
getRunningWorkflowsListin interfaceScheduleInfoOrBuilder
-
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:
getRunningWorkflowsOrBuilderListin 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:
getRunningWorkflowsCountin interfaceScheduleInfoOrBuilder
-
getRunningWorkflows
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:
getRunningWorkflowsin interfaceScheduleInfoOrBuilder
-
getRunningWorkflowsOrBuilder
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:
getRunningWorkflowsOrBuilderin interfaceScheduleInfoOrBuilder
-
getRecentActionsList
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;- Specified by:
getRecentActionsListin interfaceScheduleInfoOrBuilder
-
getRecentActionsOrBuilderList
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;- Specified by:
getRecentActionsOrBuilderListin 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:
getRecentActionsCountin interfaceScheduleInfoOrBuilder
-
getRecentActions
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;- Specified by:
getRecentActionsin interfaceScheduleInfoOrBuilder
-
getRecentActionsOrBuilder
Most recent ten actual action times (including manual triggers).
repeated .temporal.api.schedule.v1.ScheduleActionResult recent_actions = 4;- Specified by:
getRecentActionsOrBuilderin interfaceScheduleInfoOrBuilder
-
getFutureActionTimesList
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5;- Specified by:
getFutureActionTimesListin interfaceScheduleInfoOrBuilder
-
getFutureActionTimesOrBuilderList
Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5;- Specified by:
getFutureActionTimesOrBuilderListin interfaceScheduleInfoOrBuilder
-
getFutureActionTimesCount
public int getFutureActionTimesCount()Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5;- Specified by:
getFutureActionTimesCountin interfaceScheduleInfoOrBuilder
-
getFutureActionTimes
public com.google.protobuf.Timestamp getFutureActionTimes(int index) Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5;- Specified by:
getFutureActionTimesin interfaceScheduleInfoOrBuilder
-
getFutureActionTimesOrBuilder
public com.google.protobuf.TimestampOrBuilder getFutureActionTimesOrBuilder(int index) Next ten scheduled action times.
repeated .google.protobuf.Timestamp future_action_times = 5;- Specified by:
getFutureActionTimesOrBuilderin interfaceScheduleInfoOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Timestamps of schedule creation and last update.
.google.protobuf.Timestamp create_time = 6;- Specified by:
hasCreateTimein 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;- Specified by:
getCreateTimein interfaceScheduleInfoOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Timestamps of schedule creation and last update.
.google.protobuf.Timestamp create_time = 6;- Specified by:
getCreateTimeOrBuilderin interfaceScheduleInfoOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime().google.protobuf.Timestamp update_time = 7;- Specified by:
hasUpdateTimein interfaceScheduleInfoOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime().google.protobuf.Timestamp update_time = 7;- Specified by:
getUpdateTimein interfaceScheduleInfoOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder().google.protobuf.Timestamp update_time = 7;- Specified by:
getUpdateTimeOrBuilderin interfaceScheduleInfoOrBuilder
-
getInvalidScheduleError
Deprecated.temporal.api.schedule.v1.ScheduleInfo.invalid_schedule_error is deprecated. See temporal/api/schedule/v1/message.proto;l=350Deprecated.
string invalid_schedule_error = 8 [deprecated = true];- Specified by:
getInvalidScheduleErrorin interfaceScheduleInfoOrBuilder- Returns:
- The invalidScheduleError.
-
getInvalidScheduleErrorBytes
Deprecated.temporal.api.schedule.v1.ScheduleInfo.invalid_schedule_error is deprecated. See temporal/api/schedule/v1/message.proto;l=350Deprecated.
string invalid_schedule_error = 8 [deprecated = true];- Specified by:
getInvalidScheduleErrorBytesin interfaceScheduleInfoOrBuilder- Returns:
- The bytes for invalidScheduleError.
-
getStateSizeBytes
public long getStateSizeBytes()Size of the schedule's internal state (including payloads) in bytes.
int64 state_size_bytes = 12;- Specified by:
getStateSizeBytesin interfaceScheduleInfoOrBuilder- Returns:
- The stateSizeBytes.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ScheduleInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScheduleInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScheduleInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScheduleInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScheduleInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ScheduleInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ScheduleInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ScheduleInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ScheduleInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ScheduleInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-