Class ActivityExecutionListInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.activity.v1.ActivityExecutionListInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ActivityExecutionListInfoOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:ActivityExecutionListInfo.java.pb.meta")
public final class ActivityExecutionListInfo
extends com.google.protobuf.GeneratedMessageV3
implements ActivityExecutionListInfoOrBuilder
Limited activity information returned in the list response. When adding fields here, ensure that it is also present in ActivityExecutionInfo (note that it may already be present in ActivityExecutionInfo but not at the top-level).Protobuf type
temporal.api.activity.v1.ActivityExecutionListInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classLimited activity information returned in the list response.Nested 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 TypeMethodDescriptionbooleanA unique identifier of this activity within its namespace along with run ID (below).com.google.protobuf.ByteStringA unique identifier of this activity within its namespace along with run ID (below).The type of the activity, a string that maps to a registered activity on a worker.The type of the activity, a string that maps to a registered activity on a worker.com.google.protobuf.TimestampIf the activity is in a terminal status, this field represents the time the activity transitioned to that status.com.google.protobuf.TimestampOrBuilderIf the activity is in a terminal status, this field represents the time the activity transitioned to that status.static ActivityExecutionListInfostatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationThe difference between close time and scheduled time.com.google.protobuf.DurationOrBuilderThe difference between close time and scheduled time.com.google.protobuf.TimestampThe time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`.com.google.protobuf.TimestampOrBuilderThe time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`.com.google.protobuf.Parser<ActivityExecutionListInfo> getRunId()The run ID of the standalone activity.com.google.protobuf.ByteStringThe run ID of the standalone activity.com.google.protobuf.TimestampTime the activity was originally scheduled via a StartActivityExecution request.com.google.protobuf.TimestampOrBuilderTime the activity was originally scheduled via a StartActivityExecution request.Search attributes from the start request.Search attributes from the start request.intlongUpdated once on scheduled and once on terminal status.longUpdated on terminal status.Only scheduled and terminal statuses appear here.intOnly scheduled and terminal statuses appear here.The task queue this activity was scheduled on when it was originally started, updated on activity options update.com.google.protobuf.ByteStringThe task queue this activity was scheduled on when it was originally started, updated on activity options update.booleanThe type of the activity, a string that maps to a registered activity on a worker.booleanIf the activity is in a terminal status, this field represents the time the activity transitioned to that status.booleanThe difference between close time and scheduled time.booleanThe time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`.inthashCode()booleanTime the activity was originally scheduled via a StartActivityExecution request.booleanSearch attributes from the start request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(ActivityExecutionListInfo prototype) protected ActivityExecutionListInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ActivityExecutionListInfoparseDelimitedFrom(InputStream input) static ActivityExecutionListInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActivityExecutionListInfoparseFrom(byte[] data) static ActivityExecutionListInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActivityExecutionListInfoparseFrom(com.google.protobuf.ByteString data) static ActivityExecutionListInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActivityExecutionListInfoparseFrom(com.google.protobuf.CodedInputStream input) static ActivityExecutionListInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActivityExecutionListInfoparseFrom(InputStream input) static ActivityExecutionListInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActivityExecutionListInfoparseFrom(ByteBuffer data) static ActivityExecutionListInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ActivityExecutionListInfo> 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
-
ACTIVITY_ID_FIELD_NUMBER
public static final int ACTIVITY_ID_FIELD_NUMBER- See Also:
-
RUN_ID_FIELD_NUMBER
public static final int RUN_ID_FIELD_NUMBER- See Also:
-
ACTIVITY_TYPE_FIELD_NUMBER
public static final int ACTIVITY_TYPE_FIELD_NUMBER- See Also:
-
SCHEDULE_TIME_FIELD_NUMBER
public static final int SCHEDULE_TIME_FIELD_NUMBER- See Also:
-
CLOSE_TIME_FIELD_NUMBER
public static final int CLOSE_TIME_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
SEARCH_ATTRIBUTES_FIELD_NUMBER
public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER- See Also:
-
TASK_QUEUE_FIELD_NUMBER
public static final int TASK_QUEUE_FIELD_NUMBER- See Also:
-
STATE_TRANSITION_COUNT_FIELD_NUMBER
public static final int STATE_TRANSITION_COUNT_FIELD_NUMBER- See Also:
-
STATE_SIZE_BYTES_FIELD_NUMBER
public static final int STATE_SIZE_BYTES_FIELD_NUMBER- See Also:
-
EXECUTION_DURATION_FIELD_NUMBER
public static final int EXECUTION_DURATION_FIELD_NUMBER- See Also:
-
EXECUTION_TIME_FIELD_NUMBER
public static final int EXECUTION_TIME_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
-
getActivityId
A unique identifier of this activity within its namespace along with run ID (below).
string activity_id = 1;- Specified by:
getActivityIdin interfaceActivityExecutionListInfoOrBuilder- Returns:
- The activityId.
-
getActivityIdBytes
public com.google.protobuf.ByteString getActivityIdBytes()A unique identifier of this activity within its namespace along with run ID (below).
string activity_id = 1;- Specified by:
getActivityIdBytesin interfaceActivityExecutionListInfoOrBuilder- Returns:
- The bytes for activityId.
-
getRunId
The run ID of the standalone activity.
string run_id = 2;- Specified by:
getRunIdin interfaceActivityExecutionListInfoOrBuilder- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()The run ID of the standalone activity.
string run_id = 2;- Specified by:
getRunIdBytesin interfaceActivityExecutionListInfoOrBuilder- Returns:
- The bytes for runId.
-
hasActivityType
public boolean hasActivityType()The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;- Specified by:
hasActivityTypein interfaceActivityExecutionListInfoOrBuilder- Returns:
- Whether the activityType field is set.
-
getActivityType
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;- Specified by:
getActivityTypein interfaceActivityExecutionListInfoOrBuilder- Returns:
- The activityType.
-
getActivityTypeOrBuilder
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;- Specified by:
getActivityTypeOrBuilderin interfaceActivityExecutionListInfoOrBuilder
-
hasScheduleTime
public boolean hasScheduleTime()Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 4;- Specified by:
hasScheduleTimein interfaceActivityExecutionListInfoOrBuilder- Returns:
- Whether the scheduleTime field is set.
-
getScheduleTime
public com.google.protobuf.Timestamp getScheduleTime()Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 4;- Specified by:
getScheduleTimein interfaceActivityExecutionListInfoOrBuilder- Returns:
- The scheduleTime.
-
getScheduleTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder()Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 4;- Specified by:
getScheduleTimeOrBuilderin interfaceActivityExecutionListInfoOrBuilder
-
hasCloseTime
public boolean hasCloseTime()If the activity is in a terminal status, this field represents the time the activity transitioned to that status.
.google.protobuf.Timestamp close_time = 5;- Specified by:
hasCloseTimein interfaceActivityExecutionListInfoOrBuilder- Returns:
- Whether the closeTime field is set.
-
getCloseTime
public com.google.protobuf.Timestamp getCloseTime()If the activity is in a terminal status, this field represents the time the activity transitioned to that status.
.google.protobuf.Timestamp close_time = 5;- Specified by:
getCloseTimein interfaceActivityExecutionListInfoOrBuilder- Returns:
- The closeTime.
-
getCloseTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCloseTimeOrBuilder()If the activity is in a terminal status, this field represents the time the activity transitioned to that status.
.google.protobuf.Timestamp close_time = 5;- Specified by:
getCloseTimeOrBuilderin interfaceActivityExecutionListInfoOrBuilder
-
getStatusValue
public int getStatusValue()Only scheduled and terminal statuses appear here. More detailed information in PendingActivityInfo but not available in the list response.
.temporal.api.enums.v1.ActivityExecutionStatus status = 6;- Specified by:
getStatusValuein interfaceActivityExecutionListInfoOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Only scheduled and terminal statuses appear here. More detailed information in PendingActivityInfo but not available in the list response.
.temporal.api.enums.v1.ActivityExecutionStatus status = 6;- Specified by:
getStatusin interfaceActivityExecutionListInfoOrBuilder- Returns:
- The status.
-
hasSearchAttributes
public boolean hasSearchAttributes()Search attributes from the start request.
.temporal.api.common.v1.SearchAttributes search_attributes = 7;- Specified by:
hasSearchAttributesin interfaceActivityExecutionListInfoOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
Search attributes from the start request.
.temporal.api.common.v1.SearchAttributes search_attributes = 7;- Specified by:
getSearchAttributesin interfaceActivityExecutionListInfoOrBuilder- Returns:
- The searchAttributes.
-
getSearchAttributesOrBuilder
Search attributes from the start request.
.temporal.api.common.v1.SearchAttributes search_attributes = 7;- Specified by:
getSearchAttributesOrBuilderin interfaceActivityExecutionListInfoOrBuilder
-
getTaskQueue
The task queue this activity was scheduled on when it was originally started, updated on activity options update.
string task_queue = 8;- Specified by:
getTaskQueuein interfaceActivityExecutionListInfoOrBuilder- Returns:
- The taskQueue.
-
getTaskQueueBytes
public com.google.protobuf.ByteString getTaskQueueBytes()The task queue this activity was scheduled on when it was originally started, updated on activity options update.
string task_queue = 8;- Specified by:
getTaskQueueBytesin interfaceActivityExecutionListInfoOrBuilder- Returns:
- The bytes for taskQueue.
-
getStateTransitionCount
public long getStateTransitionCount()Updated on terminal status.
int64 state_transition_count = 9;- Specified by:
getStateTransitionCountin interfaceActivityExecutionListInfoOrBuilder- Returns:
- The stateTransitionCount.
-
getStateSizeBytes
public long getStateSizeBytes()Updated once on scheduled and once on terminal status.
int64 state_size_bytes = 10;- Specified by:
getStateSizeBytesin interfaceActivityExecutionListInfoOrBuilder- Returns:
- The stateSizeBytes.
-
hasExecutionDuration
public boolean hasExecutionDuration()The difference between close time and scheduled time. This field is only populated if the activity is closed.
.google.protobuf.Duration execution_duration = 11;- Specified by:
hasExecutionDurationin interfaceActivityExecutionListInfoOrBuilder- Returns:
- Whether the executionDuration field is set.
-
getExecutionDuration
public com.google.protobuf.Duration getExecutionDuration()The difference between close time and scheduled time. This field is only populated if the activity is closed.
.google.protobuf.Duration execution_duration = 11;- Specified by:
getExecutionDurationin interfaceActivityExecutionListInfoOrBuilder- Returns:
- The executionDuration.
-
getExecutionDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder()The difference between close time and scheduled time. This field is only populated if the activity is closed.
.google.protobuf.Duration execution_duration = 11;- Specified by:
getExecutionDurationOrBuilderin interfaceActivityExecutionListInfoOrBuilder
-
hasExecutionTime
public boolean hasExecutionTime()The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
.google.protobuf.Timestamp execution_time = 12;- Specified by:
hasExecutionTimein interfaceActivityExecutionListInfoOrBuilder- Returns:
- Whether the executionTime field is set.
-
getExecutionTime
public com.google.protobuf.Timestamp getExecutionTime()The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
.google.protobuf.Timestamp execution_time = 12;- Specified by:
getExecutionTimein interfaceActivityExecutionListInfoOrBuilder- Returns:
- The executionTime.
-
getExecutionTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder()The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
.google.protobuf.Timestamp execution_time = 12;- Specified by:
getExecutionTimeOrBuilderin interfaceActivityExecutionListInfoOrBuilder
-
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 ActivityExecutionListInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityExecutionListInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityExecutionListInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityExecutionListInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityExecutionListInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityExecutionListInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ActivityExecutionListInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ActivityExecutionListInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ActivityExecutionListInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ActivityExecutionListInfo 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 ActivityExecutionListInfo.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
-