Package io.temporal.api.history.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAttempt()Starting at 1, how many attempts there have been to complete this taskDurationgetStartToCloseTimeout()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.DurationOrBuildergetStartToCloseTimeoutOrBuilder()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.TaskQueuegetTaskQueue()The task queue this workflow task was enqueued in, which could be a normal or sticky queueTaskQueueOrBuildergetTaskQueueOrBuilder()The task queue this workflow task was enqueued in, which could be a normal or sticky queuebooleanhasStartToCloseTimeout()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.booleanhasTaskQueue()The task queue this workflow task was enqueued in, which could be a normal or sticky queue-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
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
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.
-
-