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.StringgetActivityId()The autogenerated or user specified identifier of this activity.com.google.protobuf.ByteStringgetActivityIdBytes()The autogenerated or user specified identifier of this activity.ActivityTypegetActivityType().temporal.api.common.v1.ActivityType activity_type = 5;ActivityTypeOrBuildergetActivityTypeOrBuilder().temporal.api.common.v1.ActivityType activity_type = 5;intgetAttempt()Starting at 1, the number of attempts to perform this activitycom.google.protobuf.TimestampgetCurrentAttemptScheduledTime()When was this task attempt scheduledcom.google.protobuf.TimestampOrBuildergetCurrentAttemptScheduledTimeOrBuilder()When was this task attempt scheduledHeadergetHeader()Headers specified by the scheduling workflow.HeaderOrBuildergetHeaderOrBuilder()Headers specified by the scheduling workflow.PayloadsgetHeartbeatDetails()Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.PayloadsOrBuildergetHeartbeatDetailsOrBuilder()Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.com.google.protobuf.DurationgetHeartbeatTimeout()Window within which the activity must report a heartbeat, or be timed out.com.google.protobuf.DurationOrBuildergetHeartbeatTimeoutOrBuilder()Window within which the activity must report a heartbeat, or be timed out.PayloadsgetInput()Arguments to the activity invocationPayloadsOrBuildergetInputOrBuilder()Arguments to the activity invocationPollerScalingDecisiongetPollerScalingDecision()Server-advised information the SDK may use to adjust its poller count.PollerScalingDecisionOrBuildergetPollerScalingDecisionOrBuilder()Server-advised information the SDK may use to adjust its poller count.PrioritygetPriority()Priority metadataPriorityOrBuildergetPriorityOrBuilder()Priority metadataRetryPolicygetRetryPolicy()This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.RetryPolicyOrBuildergetRetryPolicyOrBuilder()This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.com.google.protobuf.TimestampgetScheduledTime()When was this task first scheduledcom.google.protobuf.TimestampOrBuildergetScheduledTimeOrBuilder()When was this task first scheduledcom.google.protobuf.DurationgetScheduleToCloseTimeout()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.DurationOrBuildergetScheduleToCloseTimeoutOrBuilder()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.TimestampgetStartedTime()When was this task started (this attempt)com.google.protobuf.TimestampOrBuildergetStartedTimeOrBuilder()When was this task started (this attempt)com.google.protobuf.DurationgetStartToCloseTimeout()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.DurationOrBuildergetStartToCloseTimeoutOrBuilder()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.ByteStringgetTaskToken()A unique identifier for this taskWorkflowExecutiongetWorkflowExecution()Execution info of the requesting workflowWorkflowExecutionOrBuildergetWorkflowExecutionOrBuilder()Execution info of the requesting workflowjava.lang.StringgetWorkflowNamespace()The namespace the workflow which requested this activity lives incom.google.protobuf.ByteStringgetWorkflowNamespaceBytes()The namespace the workflow which requested this activity lives inWorkflowTypegetWorkflowType()Type of the requesting workflowWorkflowTypeOrBuildergetWorkflowTypeOrBuilder()Type of the requesting workflowbooleanhasActivityType().temporal.api.common.v1.ActivityType activity_type = 5;booleanhasCurrentAttemptScheduledTime()When was this task attempt scheduledbooleanhasHeader()Headers specified by the scheduling workflow.booleanhasHeartbeatDetails()Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.booleanhasHeartbeatTimeout()Window within which the activity must report a heartbeat, or be timed out.booleanhasInput()Arguments to the activity invocationbooleanhasPollerScalingDecision()Server-advised information the SDK may use to adjust its poller count.booleanhasPriority()Priority metadatabooleanhasRetryPolicy()This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.booleanhasScheduledTime()When was this task first scheduledbooleanhasScheduleToCloseTimeout()First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.booleanhasStartedTime()When was this task started (this attempt)booleanhasStartToCloseTimeout()Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.booleanhasWorkflowExecution()Execution info of the requesting workflowbooleanhasWorkflowType()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;- 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;- Returns:
- The scheduledTime.
-
getScheduledTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10;
-
hasCurrentAttemptScheduledTime
boolean hasCurrentAttemptScheduledTime()
When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11;- 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;- Returns:
- The currentAttemptScheduledTime.
-
getCurrentAttemptScheduledTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCurrentAttemptScheduledTimeOrBuilder()
When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11;
-
hasStartedTime
boolean hasStartedTime()
When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12;- 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;- Returns:
- The startedTime.
-
getStartedTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartedTimeOrBuilder()
When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12;
-
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;- 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;- 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;
-
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;- 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;- 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;
-
hasHeartbeatTimeout
boolean hasHeartbeatTimeout()
Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16;- 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;- 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;
-
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;
-
hasPollerScalingDecision
boolean hasPollerScalingDecision()
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;- Returns:
- Whether the pollerScalingDecision field is set.
-
getPollerScalingDecision
PollerScalingDecision getPollerScalingDecision()
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;- Returns:
- The pollerScalingDecision.
-
getPollerScalingDecisionOrBuilder
PollerScalingDecisionOrBuilder getPollerScalingDecisionOrBuilder()
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;
-
hasPriority
boolean hasPriority()
Priority metadata
.temporal.api.common.v1.Priority priority = 19;- Returns:
- Whether the priority field is set.
-
getPriority
Priority getPriority()
Priority metadata
.temporal.api.common.v1.Priority priority = 19;- Returns:
- The priority.
-
getPriorityOrBuilder
PriorityOrBuilder getPriorityOrBuilder()
Priority metadata
.temporal.api.common.v1.Priority priority = 19;
-
-