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 taskcom.google.protobuf.DurationgetStartToCloseTimeout()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.com.google.protobuf.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 [(.gogoproto.stdduration) = true];- 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 [(.gogoproto.stdduration) = true];- 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 [(.gogoproto.stdduration) = true];
-
getAttempt
int getAttempt()
Starting at 1, how many attempts there have been to complete this task
int32 attempt = 3;- Returns:
- The attempt.
-
-