Interface PollActivityTaskQueueResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PollActivityTaskQueueResponse
,PollActivityTaskQueueResponse.Builder
@Generated(value="protoc", comments="annotations:PollActivityTaskQueueResponseOrBuilder.java.pb.meta") public interface PollActivityTaskQueueResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getActivityId()
The autogenerated or user specified identifier of this activity.com.google.protobuf.ByteString
getActivityIdBytes()
The autogenerated or user specified identifier of this activity.ActivityType
getActivityType()
.temporal.api.common.v1.ActivityType activity_type = 5;
ActivityTypeOrBuilder
getActivityTypeOrBuilder()
.temporal.api.common.v1.ActivityType activity_type = 5;
int
getAttempt()
Starting at 1, the number of attempts to perform this activitycom.google.protobuf.Timestamp
getCurrentAttemptScheduledTime()
When was this task attempt scheduledcom.google.protobuf.TimestampOrBuilder
getCurrentAttemptScheduledTimeOrBuilder()
When was this task attempt scheduledHeader
getHeader()
Headers specified by the scheduling workflow.HeaderOrBuilder
getHeaderOrBuilder()
Headers specified by the scheduling workflow.Payloads
getHeartbeatDetails()
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.PayloadsOrBuilder
getHeartbeatDetailsOrBuilder()
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.com.google.protobuf.Duration
getHeartbeatTimeout()
Window within which the activity must report a heartbeat, or be timed out.com.google.protobuf.DurationOrBuilder
getHeartbeatTimeoutOrBuilder()
Window within which the activity must report a heartbeat, or be timed out.Payloads
getInput()
Arguments to the activity invocationPayloadsOrBuilder
getInputOrBuilder()
Arguments to the activity invocationRetryPolicy
getRetryPolicy()
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.RetryPolicyOrBuilder
getRetryPolicyOrBuilder()
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.com.google.protobuf.Timestamp
getScheduledTime()
When was this task first scheduledcom.google.protobuf.TimestampOrBuilder
getScheduledTimeOrBuilder()
When was this task first scheduledcom.google.protobuf.Duration
getScheduleToCloseTimeout()
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.DurationOrBuilder
getScheduleToCloseTimeoutOrBuilder()
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.Timestamp
getStartedTime()
When was this task started (this attempt)com.google.protobuf.TimestampOrBuilder
getStartedTimeOrBuilder()
When was this task started (this attempt)com.google.protobuf.Duration
getStartToCloseTimeout()
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.DurationOrBuilder
getStartToCloseTimeoutOrBuilder()
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.ByteString
getTaskToken()
A unique identifier for this taskWorkflowExecution
getWorkflowExecution()
Execution info of the requesting workflowWorkflowExecutionOrBuilder
getWorkflowExecutionOrBuilder()
Execution info of the requesting workflowjava.lang.String
getWorkflowNamespace()
The namespace the workflow which requested this activity lives incom.google.protobuf.ByteString
getWorkflowNamespaceBytes()
The namespace the workflow which requested this activity lives inWorkflowType
getWorkflowType()
Type of the requesting workflowWorkflowTypeOrBuilder
getWorkflowTypeOrBuilder()
Type of the requesting workflowboolean
hasActivityType()
.temporal.api.common.v1.ActivityType activity_type = 5;
boolean
hasCurrentAttemptScheduledTime()
When was this task attempt scheduledboolean
hasHeader()
Headers specified by the scheduling workflow.boolean
hasHeartbeatDetails()
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.boolean
hasHeartbeatTimeout()
Window within which the activity must report a heartbeat, or be timed out.boolean
hasInput()
Arguments to the activity invocationboolean
hasRetryPolicy()
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.boolean
hasScheduledTime()
When was this task first scheduledboolean
hasScheduleToCloseTimeout()
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.boolean
hasStartedTime()
When was this task started (this attempt)boolean
hasStartToCloseTimeout()
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.boolean
hasWorkflowExecution()
Execution info of the requesting workflowboolean
hasWorkflowType()
Type of the requesting workflow-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTaskToken
com.google.protobuf.ByteString getTaskToken()
A unique identifier for this task
bytes task_token = 1;
- Returns:
- The taskToken.
-
getWorkflowNamespace
java.lang.String getWorkflowNamespace()
The namespace the workflow which requested this activity lives in
string workflow_namespace = 2;
- Returns:
- The workflowNamespace.
-
getWorkflowNamespaceBytes
com.google.protobuf.ByteString getWorkflowNamespaceBytes()
The namespace the workflow which requested this activity lives in
string workflow_namespace = 2;
- Returns:
- The bytes for workflowNamespace.
-
hasWorkflowType
boolean hasWorkflowType()
Type of the requesting workflow
.temporal.api.common.v1.WorkflowType workflow_type = 3;
- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
WorkflowType getWorkflowType()
Type of the requesting workflow
.temporal.api.common.v1.WorkflowType workflow_type = 3;
- Returns:
- The workflowType.
-
getWorkflowTypeOrBuilder
WorkflowTypeOrBuilder getWorkflowTypeOrBuilder()
Type of the requesting workflow
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
hasWorkflowExecution
boolean hasWorkflowExecution()
Execution info of the requesting workflow
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
WorkflowExecution getWorkflowExecution()
Execution info of the requesting workflow
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
- Returns:
- The workflowExecution.
-
getWorkflowExecutionOrBuilder
WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
Execution info of the requesting workflow
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
-
hasActivityType
boolean hasActivityType()
.temporal.api.common.v1.ActivityType activity_type = 5;
- Returns:
- Whether the activityType field is set.
-
getActivityType
ActivityType getActivityType()
.temporal.api.common.v1.ActivityType activity_type = 5;
- Returns:
- The activityType.
-
getActivityTypeOrBuilder
ActivityTypeOrBuilder getActivityTypeOrBuilder()
.temporal.api.common.v1.ActivityType activity_type = 5;
-
getActivityId
java.lang.String getActivityId()
The autogenerated or user specified identifier of this activity. Can be used to complete the activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage has resolved, but unique IDs for every activity invocation is a good idea.
string activity_id = 6;
- Returns:
- The activityId.
-
getActivityIdBytes
com.google.protobuf.ByteString getActivityIdBytes()
The autogenerated or user specified identifier of this activity. Can be used to complete the activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage has resolved, but unique IDs for every activity invocation is a good idea.
string activity_id = 6;
- Returns:
- The bytes for activityId.
-
hasHeader
boolean hasHeader()
Headers specified by the scheduling workflow. Commonly used to propagate contextual info from the workflow to its activities. For example, tracing contexts.
.temporal.api.common.v1.Header header = 7;
- Returns:
- Whether the header field is set.
-
getHeader
Header getHeader()
Headers specified by the scheduling workflow. Commonly used to propagate contextual info from the workflow to its activities. For example, tracing contexts.
.temporal.api.common.v1.Header header = 7;
- Returns:
- The header.
-
getHeaderOrBuilder
HeaderOrBuilder getHeaderOrBuilder()
Headers specified by the scheduling workflow. Commonly used to propagate contextual info from the workflow to its activities. For example, tracing contexts.
.temporal.api.common.v1.Header header = 7;
-
hasInput
boolean hasInput()
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;
- Returns:
- Whether the input field is set.
-
getInput
Payloads getInput()
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;
- Returns:
- The input.
-
getInputOrBuilder
PayloadsOrBuilder getInputOrBuilder()
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;
-
hasHeartbeatDetails
boolean hasHeartbeatDetails()
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.
.temporal.api.common.v1.Payloads heartbeat_details = 9;
- Returns:
- Whether the heartbeatDetails field is set.
-
getHeartbeatDetails
Payloads getHeartbeatDetails()
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.
.temporal.api.common.v1.Payloads heartbeat_details = 9;
- Returns:
- The heartbeatDetails.
-
getHeartbeatDetailsOrBuilder
PayloadsOrBuilder getHeartbeatDetailsOrBuilder()
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.
.temporal.api.common.v1.Payloads heartbeat_details = 9;
-
hasScheduledTime
boolean hasScheduledTime()
When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
- Returns:
- Whether the scheduledTime field is set.
-
getScheduledTime
com.google.protobuf.Timestamp getScheduledTime()
When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
- Returns:
- The scheduledTime.
-
getScheduledTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
-
hasCurrentAttemptScheduledTime
boolean hasCurrentAttemptScheduledTime()
When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
- Returns:
- Whether the currentAttemptScheduledTime field is set.
-
getCurrentAttemptScheduledTime
com.google.protobuf.Timestamp getCurrentAttemptScheduledTime()
When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
- Returns:
- The currentAttemptScheduledTime.
-
getCurrentAttemptScheduledTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCurrentAttemptScheduledTimeOrBuilder()
When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
-
hasStartedTime
boolean hasStartedTime()
When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
- Returns:
- Whether the startedTime field is set.
-
getStartedTime
com.google.protobuf.Timestamp getStartedTime()
When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
- Returns:
- The startedTime.
-
getStartedTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartedTimeOrBuilder()
When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
-
getAttempt
int getAttempt()
Starting at 1, the number of attempts to perform this activity
int32 attempt = 13;
- Returns:
- The attempt.
-
hasScheduleToCloseTimeout
boolean hasScheduleToCloseTimeout()
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)
.google.protobuf.Duration schedule_to_close_timeout = 14 [(.gogoproto.stdduration) = true];
- Returns:
- Whether the scheduleToCloseTimeout field is set.
-
getScheduleToCloseTimeout
com.google.protobuf.Duration getScheduleToCloseTimeout()
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)
.google.protobuf.Duration schedule_to_close_timeout = 14 [(.gogoproto.stdduration) = true];
- Returns:
- The scheduleToCloseTimeout.
-
getScheduleToCloseTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)
.google.protobuf.Duration schedule_to_close_timeout = 14 [(.gogoproto.stdduration) = true];
-
hasStartToCloseTimeout
boolean hasStartToCloseTimeout()
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)
.google.protobuf.Duration start_to_close_timeout = 15 [(.gogoproto.stdduration) = true];
- Returns:
- Whether the startToCloseTimeout field is set.
-
getStartToCloseTimeout
com.google.protobuf.Duration getStartToCloseTimeout()
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)
.google.protobuf.Duration start_to_close_timeout = 15 [(.gogoproto.stdduration) = true];
- Returns:
- The startToCloseTimeout.
-
getStartToCloseTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getStartToCloseTimeoutOrBuilder()
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)
.google.protobuf.Duration start_to_close_timeout = 15 [(.gogoproto.stdduration) = true];
-
hasHeartbeatTimeout
boolean hasHeartbeatTimeout()
Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
- Returns:
- Whether the heartbeatTimeout field is set.
-
getHeartbeatTimeout
com.google.protobuf.Duration getHeartbeatTimeout()
Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
- Returns:
- The heartbeatTimeout.
-
getHeartbeatTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()
Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
-
hasRetryPolicy
boolean hasRetryPolicy()
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling. The service can override the provided one if some values are not specified or exceed configured system limits.
.temporal.api.common.v1.RetryPolicy retry_policy = 17;
- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
RetryPolicy getRetryPolicy()
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling. The service can override the provided one if some values are not specified or exceed configured system limits.
.temporal.api.common.v1.RetryPolicy retry_policy = 17;
- Returns:
- The retryPolicy.
-
getRetryPolicyOrBuilder
RetryPolicyOrBuilder getRetryPolicyOrBuilder()
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling. The service can override the provided one if some values are not specified or exceed configured system limits.
.temporal.api.common.v1.RetryPolicy retry_policy = 17;
-
-