Interface ActivityExecutionListInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ActivityExecutionListInfo,ActivityExecutionListInfo.Builder
@Generated(value="protoc",
comments="annotations:ActivityExecutionListInfoOrBuilder.java.pb.meta")
public interface ActivityExecutionListInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA 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.com.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`.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.longUpdated 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`.booleanTime the activity was originally scheduled via a StartActivityExecution request.booleanSearch attributes from the start request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getActivityId
String getActivityId()A unique identifier of this activity within its namespace along with run ID (below).
string activity_id = 1;- Returns:
- The activityId.
-
getActivityIdBytes
com.google.protobuf.ByteString getActivityIdBytes()A unique identifier of this activity within its namespace along with run ID (below).
string activity_id = 1;- Returns:
- The bytes for activityId.
-
getRunId
-
getRunIdBytes
com.google.protobuf.ByteString getRunIdBytes()The run ID of the standalone activity.
string run_id = 2;- Returns:
- The bytes for runId.
-
hasActivityType
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;- Returns:
- Whether the activityType field is set.
-
getActivityType
ActivityType 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;- Returns:
- The activityType.
-
getActivityTypeOrBuilder
ActivityTypeOrBuilder 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; -
hasScheduleTime
boolean hasScheduleTime()Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 4;- Returns:
- Whether the scheduleTime field is set.
-
getScheduleTime
com.google.protobuf.Timestamp getScheduleTime()Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 4;- Returns:
- The scheduleTime.
-
getScheduleTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder()Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 4; -
hasCloseTime
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;- Returns:
- Whether the closeTime field is set.
-
getCloseTime
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;- Returns:
- The closeTime.
-
getCloseTimeOrBuilder
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; -
getStatusValue
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;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
ActivityExecutionStatus 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;- Returns:
- The status.
-
hasSearchAttributes
boolean hasSearchAttributes()Search attributes from the start request.
.temporal.api.common.v1.SearchAttributes search_attributes = 7;- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
SearchAttributes getSearchAttributes()Search attributes from the start request.
.temporal.api.common.v1.SearchAttributes search_attributes = 7;- Returns:
- The searchAttributes.
-
getSearchAttributesOrBuilder
SearchAttributesOrBuilder getSearchAttributesOrBuilder()Search attributes from the start request.
.temporal.api.common.v1.SearchAttributes search_attributes = 7; -
getTaskQueue
String getTaskQueue()The task queue this activity was scheduled on when it was originally started, updated on activity options update.
string task_queue = 8;- Returns:
- The taskQueue.
-
getTaskQueueBytes
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;- Returns:
- The bytes for taskQueue.
-
getStateTransitionCount
long getStateTransitionCount()Updated on terminal status.
int64 state_transition_count = 9;- Returns:
- The stateTransitionCount.
-
getStateSizeBytes
long getStateSizeBytes()Updated once on scheduled and once on terminal status.
int64 state_size_bytes = 10;- Returns:
- The stateSizeBytes.
-
hasExecutionDuration
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;- Returns:
- Whether the executionDuration field is set.
-
getExecutionDuration
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;- Returns:
- The executionDuration.
-
getExecutionDurationOrBuilder
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; -
hasExecutionTime
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;- Returns:
- Whether the executionTime field is set.
-
getExecutionTime
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;- Returns:
- The executionTime.
-
getExecutionTimeOrBuilder
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;
-