Interface WorkflowTaskScheduledEventAttributesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkflowTaskScheduledEventAttributes,WorkflowTaskScheduledEventAttributes.Builder
@Generated(value="protoc",
comments="annotations:WorkflowTaskScheduledEventAttributesOrBuilder.java.pb.meta")
public interface WorkflowTaskScheduledEventAttributesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintStarting at 1, how many attempts there have been to complete this taskcom.google.protobuf.DurationHow long the worker has to process this task once receiving it before it times out (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.DurationOrBuilderHow long the worker has to process this task once receiving it before it times out (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.The task queue this workflow task was enqueued in, which could be a normal or sticky queueThe task queue this workflow task was enqueued in, which could be a normal or sticky queuebooleanHow long the worker has to process this task once receiving it before it times out (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.booleanThe task queue this workflow task was enqueued in, which could be a normal or sticky queueMethods 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
-
hasTaskQueue
boolean hasTaskQueue()The task queue this workflow task was enqueued in, which could be a normal or sticky queue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 1;- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
TaskQueue getTaskQueue()The task queue this workflow task was enqueued in, which could be a normal or sticky queue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 1;- Returns:
- The taskQueue.
-
getTaskQueueOrBuilder
TaskQueueOrBuilder getTaskQueueOrBuilder()The task queue this workflow task was enqueued in, which could be a normal or sticky queue
.temporal.api.taskqueue.v1.TaskQueue task_queue = 1; -
hasStartToCloseTimeout
boolean hasStartToCloseTimeout()How long the worker has to process this task once receiving it before it times out (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 2;- Returns:
- Whether the startToCloseTimeout field is set.
-
getStartToCloseTimeout
com.google.protobuf.Duration getStartToCloseTimeout()How long the worker has to process this task once receiving it before it times out (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 2;- Returns:
- The startToCloseTimeout.
-
getStartToCloseTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getStartToCloseTimeoutOrBuilder()How long the worker has to process this task once receiving it before it times out (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 2; -
getAttempt
int getAttempt()Starting at 1, how many attempts there have been to complete this task
int32 attempt = 3;- Returns:
- The attempt.
-