Package io.temporal.api.activity.v1
Class ActivityExecutionListInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionListInfo.Builder>
-
- io.temporal.api.activity.v1.ActivityExecutionListInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ActivityExecutionListInfoOrBuilder,java.lang.Cloneable
- Enclosing class:
- ActivityExecutionListInfo
public static final class ActivityExecutionListInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionListInfo.Builder> 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 typetemporal.api.activity.v1.ActivityExecutionListInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityExecutionListInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ActivityExecutionListInfobuild()ActivityExecutionListInfobuildPartial()ActivityExecutionListInfo.Builderclear()ActivityExecutionListInfo.BuilderclearActivityId()A unique identifier of this activity within its namespace along with run ID (below).ActivityExecutionListInfo.BuilderclearActivityType()The type of the activity, a string that maps to a registered activity on a worker.ActivityExecutionListInfo.BuilderclearCloseTime()If the activity is in a terminal status, this field represents the time the activity transitioned to that status.ActivityExecutionListInfo.BuilderclearExecutionDuration()The difference between close time and scheduled time.ActivityExecutionListInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ActivityExecutionListInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ActivityExecutionListInfo.BuilderclearRunId()The run ID of the standalone activity.ActivityExecutionListInfo.BuilderclearScheduleTime()Time the activity was originally scheduled via a StartActivityExecution request.ActivityExecutionListInfo.BuilderclearSearchAttributes()Search attributes from the start request.ActivityExecutionListInfo.BuilderclearStateSizeBytes()Updated once on scheduled and once on terminal status.ActivityExecutionListInfo.BuilderclearStateTransitionCount()Updated on terminal status.ActivityExecutionListInfo.BuilderclearStatus()Only scheduled and terminal statuses appear here.ActivityExecutionListInfo.BuilderclearTaskQueue()The task queue this activity was scheduled on when it was originally started, updated on activity options update.ActivityExecutionListInfo.Builderclone()java.lang.StringgetActivityId()A unique identifier of this activity within its namespace along with run ID (below).com.google.protobuf.ByteStringgetActivityIdBytes()A unique identifier of this activity within its namespace along with run ID (below).ActivityTypegetActivityType()The type of the activity, a string that maps to a registered activity on a worker.ActivityType.BuildergetActivityTypeBuilder()The type of the activity, a string that maps to a registered activity on a worker.ActivityTypeOrBuildergetActivityTypeOrBuilder()The type of the activity, a string that maps to a registered activity on a worker.com.google.protobuf.TimestampgetCloseTime()If the activity is in a terminal status, this field represents the time the activity transitioned to that status.com.google.protobuf.Timestamp.BuildergetCloseTimeBuilder()If the activity is in a terminal status, this field represents the time the activity transitioned to that status.com.google.protobuf.TimestampOrBuildergetCloseTimeOrBuilder()If the activity is in a terminal status, this field represents the time the activity transitioned to that status.ActivityExecutionListInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.DurationgetExecutionDuration()The difference between close time and scheduled time.com.google.protobuf.Duration.BuildergetExecutionDurationBuilder()The difference between close time and scheduled time.com.google.protobuf.DurationOrBuildergetExecutionDurationOrBuilder()The difference between close time and scheduled time.java.lang.StringgetRunId()The run ID of the standalone activity.com.google.protobuf.ByteStringgetRunIdBytes()The run ID of the standalone activity.com.google.protobuf.TimestampgetScheduleTime()Time the activity was originally scheduled via a StartActivityExecution request.com.google.protobuf.Timestamp.BuildergetScheduleTimeBuilder()Time the activity was originally scheduled via a StartActivityExecution request.com.google.protobuf.TimestampOrBuildergetScheduleTimeOrBuilder()Time the activity was originally scheduled via a StartActivityExecution request.SearchAttributesgetSearchAttributes()Search attributes from the start request.SearchAttributes.BuildergetSearchAttributesBuilder()Search attributes from the start request.SearchAttributesOrBuildergetSearchAttributesOrBuilder()Search attributes from the start request.longgetStateSizeBytes()Updated once on scheduled and once on terminal status.longgetStateTransitionCount()Updated on terminal status.ActivityExecutionStatusgetStatus()Only scheduled and terminal statuses appear here.intgetStatusValue()Only scheduled and terminal statuses appear here.java.lang.StringgetTaskQueue()The task queue this activity was scheduled on when it was originally started, updated on activity options update.com.google.protobuf.ByteStringgetTaskQueueBytes()The task queue this activity was scheduled on when it was originally started, updated on activity options update.booleanhasActivityType()The type of the activity, a string that maps to a registered activity on a worker.booleanhasCloseTime()If the activity is in a terminal status, this field represents the time the activity transitioned to that status.booleanhasExecutionDuration()The difference between close time and scheduled time.booleanhasScheduleTime()Time the activity was originally scheduled via a StartActivityExecution request.booleanhasSearchAttributes()Search attributes from the start request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ActivityExecutionListInfo.BuildermergeActivityType(ActivityType value)The type of the activity, a string that maps to a registered activity on a worker.ActivityExecutionListInfo.BuildermergeCloseTime(com.google.protobuf.Timestamp value)If the activity is in a terminal status, this field represents the time the activity transitioned to that status.ActivityExecutionListInfo.BuildermergeExecutionDuration(com.google.protobuf.Duration value)The difference between close time and scheduled time.ActivityExecutionListInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ActivityExecutionListInfo.BuildermergeFrom(com.google.protobuf.Message other)ActivityExecutionListInfo.BuildermergeFrom(ActivityExecutionListInfo other)ActivityExecutionListInfo.BuildermergeScheduleTime(com.google.protobuf.Timestamp value)Time the activity was originally scheduled via a StartActivityExecution request.ActivityExecutionListInfo.BuildermergeSearchAttributes(SearchAttributes value)Search attributes from the start request.ActivityExecutionListInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ActivityExecutionListInfo.BuildersetActivityId(java.lang.String value)A unique identifier of this activity within its namespace along with run ID (below).ActivityExecutionListInfo.BuildersetActivityIdBytes(com.google.protobuf.ByteString value)A unique identifier of this activity within its namespace along with run ID (below).ActivityExecutionListInfo.BuildersetActivityType(ActivityType value)The type of the activity, a string that maps to a registered activity on a worker.ActivityExecutionListInfo.BuildersetActivityType(ActivityType.Builder builderForValue)The type of the activity, a string that maps to a registered activity on a worker.ActivityExecutionListInfo.BuildersetCloseTime(com.google.protobuf.Timestamp value)If the activity is in a terminal status, this field represents the time the activity transitioned to that status.ActivityExecutionListInfo.BuildersetCloseTime(com.google.protobuf.Timestamp.Builder builderForValue)If the activity is in a terminal status, this field represents the time the activity transitioned to that status.ActivityExecutionListInfo.BuildersetExecutionDuration(com.google.protobuf.Duration value)The difference between close time and scheduled time.ActivityExecutionListInfo.BuildersetExecutionDuration(com.google.protobuf.Duration.Builder builderForValue)The difference between close time and scheduled time.ActivityExecutionListInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ActivityExecutionListInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ActivityExecutionListInfo.BuildersetRunId(java.lang.String value)The run ID of the standalone activity.ActivityExecutionListInfo.BuildersetRunIdBytes(com.google.protobuf.ByteString value)The run ID of the standalone activity.ActivityExecutionListInfo.BuildersetScheduleTime(com.google.protobuf.Timestamp value)Time the activity was originally scheduled via a StartActivityExecution request.ActivityExecutionListInfo.BuildersetScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)Time the activity was originally scheduled via a StartActivityExecution request.ActivityExecutionListInfo.BuildersetSearchAttributes(SearchAttributes value)Search attributes from the start request.ActivityExecutionListInfo.BuildersetSearchAttributes(SearchAttributes.Builder builderForValue)Search attributes from the start request.ActivityExecutionListInfo.BuildersetStateSizeBytes(long value)Updated once on scheduled and once on terminal status.ActivityExecutionListInfo.BuildersetStateTransitionCount(long value)Updated on terminal status.ActivityExecutionListInfo.BuildersetStatus(ActivityExecutionStatus value)Only scheduled and terminal statuses appear here.ActivityExecutionListInfo.BuildersetStatusValue(int value)Only scheduled and terminal statuses appear here.ActivityExecutionListInfo.BuildersetTaskQueue(java.lang.String value)The task queue this activity was scheduled on when it was originally started, updated on activity options update.ActivityExecutionListInfo.BuildersetTaskQueueBytes(com.google.protobuf.ByteString value)The task queue this activity was scheduled on when it was originally started, updated on activity options update.ActivityExecutionListInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionListInfo.Builder>
-
clear
public ActivityExecutionListInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionListInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionListInfo.Builder>
-
getDefaultInstanceForType
public ActivityExecutionListInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ActivityExecutionListInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ActivityExecutionListInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ActivityExecutionListInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionListInfo.Builder>
-
setField
public ActivityExecutionListInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionListInfo.Builder>
-
clearField
public ActivityExecutionListInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionListInfo.Builder>
-
clearOneof
public ActivityExecutionListInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionListInfo.Builder>
-
setRepeatedField
public ActivityExecutionListInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionListInfo.Builder>
-
addRepeatedField
public ActivityExecutionListInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionListInfo.Builder>
-
mergeFrom
public ActivityExecutionListInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ActivityExecutionListInfo.Builder>
-
mergeFrom
public ActivityExecutionListInfo.Builder mergeFrom(ActivityExecutionListInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionListInfo.Builder>
-
mergeFrom
public ActivityExecutionListInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ActivityExecutionListInfo.Builder>- Throws:
java.io.IOException
-
getActivityId
public java.lang.String 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.
-
setActivityId
public ActivityExecutionListInfo.Builder setActivityId(java.lang.String value)
A unique identifier of this activity within its namespace along with run ID (below).
string activity_id = 1;- Parameters:
value- The activityId to set.- Returns:
- This builder for chaining.
-
clearActivityId
public ActivityExecutionListInfo.Builder clearActivityId()
A unique identifier of this activity within its namespace along with run ID (below).
string activity_id = 1;- Returns:
- This builder for chaining.
-
setActivityIdBytes
public ActivityExecutionListInfo.Builder setActivityIdBytes(com.google.protobuf.ByteString value)
A unique identifier of this activity within its namespace along with run ID (below).
string activity_id = 1;- Parameters:
value- The bytes for activityId to set.- Returns:
- This builder for chaining.
-
getRunId
public java.lang.String 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.
-
setRunId
public ActivityExecutionListInfo.Builder setRunId(java.lang.String value)
The run ID of the standalone activity.
string run_id = 2;- Parameters:
value- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
public ActivityExecutionListInfo.Builder clearRunId()
The run ID of the standalone activity.
string run_id = 2;- Returns:
- This builder for chaining.
-
setRunIdBytes
public ActivityExecutionListInfo.Builder setRunIdBytes(com.google.protobuf.ByteString value)
The run ID of the standalone activity.
string run_id = 2;- Parameters:
value- The bytes for runId to set.- Returns:
- This builder for chaining.
-
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
public 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;- Specified by:
getActivityTypein interfaceActivityExecutionListInfoOrBuilder- Returns:
- The activityType.
-
setActivityType
public ActivityExecutionListInfo.Builder setActivityType(ActivityType value)
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;
-
setActivityType
public ActivityExecutionListInfo.Builder setActivityType(ActivityType.Builder builderForValue)
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;
-
mergeActivityType
public ActivityExecutionListInfo.Builder mergeActivityType(ActivityType value)
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;
-
clearActivityType
public ActivityExecutionListInfo.Builder clearActivityType()
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;
-
getActivityTypeBuilder
public ActivityType.Builder getActivityTypeBuilder()
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;
-
getActivityTypeOrBuilder
public 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;- 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.
-
setScheduleTime
public ActivityExecutionListInfo.Builder setScheduleTime(com.google.protobuf.Timestamp value)
Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 4;
-
setScheduleTime
public ActivityExecutionListInfo.Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 4;
-
mergeScheduleTime
public ActivityExecutionListInfo.Builder mergeScheduleTime(com.google.protobuf.Timestamp value)
Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 4;
-
clearScheduleTime
public ActivityExecutionListInfo.Builder clearScheduleTime()
Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 4;
-
getScheduleTimeBuilder
public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder()
Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 4;
-
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.
-
setCloseTime
public ActivityExecutionListInfo.Builder setCloseTime(com.google.protobuf.Timestamp value)
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;
-
setCloseTime
public ActivityExecutionListInfo.Builder setCloseTime(com.google.protobuf.Timestamp.Builder builderForValue)
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;
-
mergeCloseTime
public ActivityExecutionListInfo.Builder mergeCloseTime(com.google.protobuf.Timestamp value)
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;
-
clearCloseTime
public ActivityExecutionListInfo.Builder clearCloseTime()
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;
-
getCloseTimeBuilder
public com.google.protobuf.Timestamp.Builder getCloseTimeBuilder()
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;
-
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.
-
setStatusValue
public ActivityExecutionListInfo.Builder setStatusValue(int value)
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;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public 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;- Specified by:
getStatusin interfaceActivityExecutionListInfoOrBuilder- Returns:
- The status.
-
setStatus
public ActivityExecutionListInfo.Builder setStatus(ActivityExecutionStatus value)
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;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public ActivityExecutionListInfo.Builder clearStatus()
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:
- This builder for chaining.
-
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
public SearchAttributes getSearchAttributes()
Search attributes from the start request.
.temporal.api.common.v1.SearchAttributes search_attributes = 7;- Specified by:
getSearchAttributesin interfaceActivityExecutionListInfoOrBuilder- Returns:
- The searchAttributes.
-
setSearchAttributes
public ActivityExecutionListInfo.Builder setSearchAttributes(SearchAttributes value)
Search attributes from the start request.
.temporal.api.common.v1.SearchAttributes search_attributes = 7;
-
setSearchAttributes
public ActivityExecutionListInfo.Builder setSearchAttributes(SearchAttributes.Builder builderForValue)
Search attributes from the start request.
.temporal.api.common.v1.SearchAttributes search_attributes = 7;
-
mergeSearchAttributes
public ActivityExecutionListInfo.Builder mergeSearchAttributes(SearchAttributes value)
Search attributes from the start request.
.temporal.api.common.v1.SearchAttributes search_attributes = 7;
-
clearSearchAttributes
public ActivityExecutionListInfo.Builder clearSearchAttributes()
Search attributes from the start request.
.temporal.api.common.v1.SearchAttributes search_attributes = 7;
-
getSearchAttributesBuilder
public SearchAttributes.Builder getSearchAttributesBuilder()
Search attributes from the start request.
.temporal.api.common.v1.SearchAttributes search_attributes = 7;
-
getSearchAttributesOrBuilder
public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
Search attributes from the start request.
.temporal.api.common.v1.SearchAttributes search_attributes = 7;- Specified by:
getSearchAttributesOrBuilderin interfaceActivityExecutionListInfoOrBuilder
-
getTaskQueue
public java.lang.String 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.
-
setTaskQueue
public ActivityExecutionListInfo.Builder setTaskQueue(java.lang.String value)
The task queue this activity was scheduled on when it was originally started, updated on activity options update.
string task_queue = 8;- Parameters:
value- The taskQueue to set.- Returns:
- This builder for chaining.
-
clearTaskQueue
public ActivityExecutionListInfo.Builder clearTaskQueue()
The task queue this activity was scheduled on when it was originally started, updated on activity options update.
string task_queue = 8;- Returns:
- This builder for chaining.
-
setTaskQueueBytes
public ActivityExecutionListInfo.Builder setTaskQueueBytes(com.google.protobuf.ByteString value)
The task queue this activity was scheduled on when it was originally started, updated on activity options update.
string task_queue = 8;- Parameters:
value- The bytes for taskQueue to set.- Returns:
- This builder for chaining.
-
getStateTransitionCount
public long getStateTransitionCount()
Updated on terminal status.
int64 state_transition_count = 9;- Specified by:
getStateTransitionCountin interfaceActivityExecutionListInfoOrBuilder- Returns:
- The stateTransitionCount.
-
setStateTransitionCount
public ActivityExecutionListInfo.Builder setStateTransitionCount(long value)
Updated on terminal status.
int64 state_transition_count = 9;- Parameters:
value- The stateTransitionCount to set.- Returns:
- This builder for chaining.
-
clearStateTransitionCount
public ActivityExecutionListInfo.Builder clearStateTransitionCount()
Updated on terminal status.
int64 state_transition_count = 9;- Returns:
- This builder for chaining.
-
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.
-
setStateSizeBytes
public ActivityExecutionListInfo.Builder setStateSizeBytes(long value)
Updated once on scheduled and once on terminal status.
int64 state_size_bytes = 10;- Parameters:
value- The stateSizeBytes to set.- Returns:
- This builder for chaining.
-
clearStateSizeBytes
public ActivityExecutionListInfo.Builder clearStateSizeBytes()
Updated once on scheduled and once on terminal status.
int64 state_size_bytes = 10;- Returns:
- This builder for chaining.
-
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.
-
setExecutionDuration
public ActivityExecutionListInfo.Builder setExecutionDuration(com.google.protobuf.Duration value)
The difference between close time and scheduled time. This field is only populated if the activity is closed.
.google.protobuf.Duration execution_duration = 11;
-
setExecutionDuration
public ActivityExecutionListInfo.Builder setExecutionDuration(com.google.protobuf.Duration.Builder builderForValue)
The difference between close time and scheduled time. This field is only populated if the activity is closed.
.google.protobuf.Duration execution_duration = 11;
-
mergeExecutionDuration
public ActivityExecutionListInfo.Builder mergeExecutionDuration(com.google.protobuf.Duration value)
The difference between close time and scheduled time. This field is only populated if the activity is closed.
.google.protobuf.Duration execution_duration = 11;
-
clearExecutionDuration
public ActivityExecutionListInfo.Builder clearExecutionDuration()
The difference between close time and scheduled time. This field is only populated if the activity is closed.
.google.protobuf.Duration execution_duration = 11;
-
getExecutionDurationBuilder
public com.google.protobuf.Duration.Builder getExecutionDurationBuilder()
The difference between close time and scheduled time. This field is only populated if the activity is closed.
.google.protobuf.Duration execution_duration = 11;
-
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
-
setUnknownFields
public final ActivityExecutionListInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionListInfo.Builder>
-
mergeUnknownFields
public final ActivityExecutionListInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionListInfo.Builder>
-
-