Class PollActivityTaskQueueResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PollActivityTaskQueueResponseOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:PollActivityTaskQueueResponse.java.pb.meta")
public final class PollActivityTaskQueueResponse
extends com.google.protobuf.GeneratedMessageV3
implements PollActivityTaskQueueResponseOrBuilder
Protobuf type
temporal.api.workflowservice.v1.PollActivityTaskQueueResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetemporal.api.workflowservice.v1.PollActivityTaskQueueResponseNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe autogenerated or user specified identifier of this activity.com.google.protobuf.ByteStringThe autogenerated or user specified identifier of this activity.The run ID of the activity execution, only set for standalone activities.com.google.protobuf.ByteStringThe run ID of the activity execution, only set for standalone activities..temporal.api.common.v1.ActivityType activity_type = 5;.temporal.api.common.v1.ActivityType activity_type = 5;intStarting at 1, the number of attempts to perform this activitycom.google.protobuf.TimestampWhen was this task attempt scheduledcom.google.protobuf.TimestampOrBuilderWhen was this task attempt scheduledstatic final com.google.protobuf.Descriptors.DescriptorHeaders specified by the scheduling workflow.Headers specified by the scheduling workflow.Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.com.google.protobuf.DurationWindow within which the activity must report a heartbeat, or be timed out.com.google.protobuf.DurationOrBuilderWindow within which the activity must report a heartbeat, or be timed out.getInput()Arguments to the activity invocationArguments to the activity invocationcom.google.protobuf.Parser<PollActivityTaskQueueResponse> getPollerGroupInfos(int index) Deprecated.intDeprecated.Deprecated.getPollerGroupInfosOrBuilder(int index) Deprecated.List<? extends PollerGroupInfoOrBuilder> Deprecated.The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.Server-advised information the SDK may use to adjust its poller count.Server-advised information the SDK may use to adjust its poller count.Priority metadataPriority metadataThis is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.com.google.protobuf.TimestampWhen was this task first scheduledcom.google.protobuf.TimestampOrBuilderWhen was this task first scheduledcom.google.protobuf.DurationFirst scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.DurationOrBuilderFirst scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.intcom.google.protobuf.TimestampWhen was this task started (this attempt)com.google.protobuf.TimestampOrBuilderWhen was this task started (this attempt)com.google.protobuf.DurationCurrent 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.DurationOrBuilderCurrent 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.ByteStringA unique identifier for this taskExecution info of the requesting workflow (if this is a workflow activity)Execution info of the requesting workflow (if this is a workflow activity)The namespace of the activity.com.google.protobuf.ByteStringThe namespace of the activity.Type of the requesting workflow (if this is a workflow activity).Type of the requesting workflow (if this is a workflow activity).boolean.temporal.api.common.v1.ActivityType activity_type = 5;booleanWhen was this task attempt scheduledinthashCode()booleanHeaders specified by the scheduling workflow.booleanDetails of the last heartbeat that was recorded for this activity as of the time this task was delivered.booleanWindow within which the activity must report a heartbeat, or be timed out.booleanhasInput()Arguments to the activity invocationbooleanThe weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.booleanServer-advised information the SDK may use to adjust its poller count.booleanPriority metadatabooleanThis is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.booleanWhen was this task first scheduledbooleanFirst scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.booleanWhen was this task started (this attempt)booleanCurrent attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.booleanExecution info of the requesting workflow (if this is a workflow activity)booleanType of the requesting workflow (if this is a workflow activity).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(PollActivityTaskQueueResponse prototype) protected PollActivityTaskQueueResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PollActivityTaskQueueResponse> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TASK_TOKEN_FIELD_NUMBER
public static final int TASK_TOKEN_FIELD_NUMBER- See Also:
-
WORKFLOW_NAMESPACE_FIELD_NUMBER
public static final int WORKFLOW_NAMESPACE_FIELD_NUMBER- See Also:
-
WORKFLOW_TYPE_FIELD_NUMBER
public static final int WORKFLOW_TYPE_FIELD_NUMBER- See Also:
-
WORKFLOW_EXECUTION_FIELD_NUMBER
public static final int WORKFLOW_EXECUTION_FIELD_NUMBER- See Also:
-
ACTIVITY_TYPE_FIELD_NUMBER
public static final int ACTIVITY_TYPE_FIELD_NUMBER- See Also:
-
ACTIVITY_ID_FIELD_NUMBER
public static final int ACTIVITY_ID_FIELD_NUMBER- See Also:
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER- See Also:
-
INPUT_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER- See Also:
-
HEARTBEAT_DETAILS_FIELD_NUMBER
public static final int HEARTBEAT_DETAILS_FIELD_NUMBER- See Also:
-
SCHEDULED_TIME_FIELD_NUMBER
public static final int SCHEDULED_TIME_FIELD_NUMBER- See Also:
-
CURRENT_ATTEMPT_SCHEDULED_TIME_FIELD_NUMBER
public static final int CURRENT_ATTEMPT_SCHEDULED_TIME_FIELD_NUMBER- See Also:
-
STARTED_TIME_FIELD_NUMBER
public static final int STARTED_TIME_FIELD_NUMBER- See Also:
-
ATTEMPT_FIELD_NUMBER
public static final int ATTEMPT_FIELD_NUMBER- See Also:
-
SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER
public static final int SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER- See Also:
-
START_TO_CLOSE_TIMEOUT_FIELD_NUMBER
public static final int START_TO_CLOSE_TIMEOUT_FIELD_NUMBER- See Also:
-
HEARTBEAT_TIMEOUT_FIELD_NUMBER
public static final int HEARTBEAT_TIMEOUT_FIELD_NUMBER- See Also:
-
RETRY_POLICY_FIELD_NUMBER
public static final int RETRY_POLICY_FIELD_NUMBER- See Also:
-
POLLER_SCALING_DECISION_FIELD_NUMBER
public static final int POLLER_SCALING_DECISION_FIELD_NUMBER- See Also:
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER- See Also:
-
ACTIVITY_RUN_ID_FIELD_NUMBER
public static final int ACTIVITY_RUN_ID_FIELD_NUMBER- See Also:
-
POLLER_GROUP_INFOS_FIELD_NUMBER
public static final int POLLER_GROUP_INFOS_FIELD_NUMBER- See Also:
-
POLLER_GROUPS_INFO_FIELD_NUMBER
public static final int POLLER_GROUPS_INFO_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTaskToken
public com.google.protobuf.ByteString getTaskToken()A unique identifier for this task
bytes task_token = 1;- Specified by:
getTaskTokenin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The taskToken.
-
getWorkflowNamespace
The namespace of the activity. If this is a workflow activity then this is the namespace of the workflow also. If this is a standalone activity then the name of this field is misleading, but retained for compatibility with workflow activities.
string workflow_namespace = 2;- Specified by:
getWorkflowNamespacein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The workflowNamespace.
-
getWorkflowNamespaceBytes
public com.google.protobuf.ByteString getWorkflowNamespaceBytes()The namespace of the activity. If this is a workflow activity then this is the namespace of the workflow also. If this is a standalone activity then the name of this field is misleading, but retained for compatibility with workflow activities.
string workflow_namespace = 2;- Specified by:
getWorkflowNamespaceBytesin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The bytes for workflowNamespace.
-
hasWorkflowType
public boolean hasWorkflowType()Type of the requesting workflow (if this is a workflow activity).
.temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
hasWorkflowTypein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
Type of the requesting workflow (if this is a workflow activity).
.temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
getWorkflowTypein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The workflowType.
-
getWorkflowTypeOrBuilder
Type of the requesting workflow (if this is a workflow activity).
.temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
getWorkflowTypeOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasWorkflowExecution
public boolean hasWorkflowExecution()Execution info of the requesting workflow (if this is a workflow activity)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;- Specified by:
hasWorkflowExecutionin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
Execution info of the requesting workflow (if this is a workflow activity)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;- Specified by:
getWorkflowExecutionin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The workflowExecution.
-
getWorkflowExecutionOrBuilder
Execution info of the requesting workflow (if this is a workflow activity)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;- Specified by:
getWorkflowExecutionOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasActivityType
public boolean hasActivityType().temporal.api.common.v1.ActivityType activity_type = 5;- Specified by:
hasActivityTypein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the activityType field is set.
-
getActivityType
.temporal.api.common.v1.ActivityType activity_type = 5;- Specified by:
getActivityTypein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The activityType.
-
getActivityTypeOrBuilder
.temporal.api.common.v1.ActivityType activity_type = 5;- Specified by:
getActivityTypeOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
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. Note that only a workflow activity ID may be autogenerated.
string activity_id = 6;- Specified by:
getActivityIdin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The activityId.
-
getActivityIdBytes
public 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. Note that only a workflow activity ID may be autogenerated.
string activity_id = 6;- Specified by:
getActivityIdBytesin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The bytes for activityId.
-
hasHeader
public 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;- Specified by:
hasHeaderin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the header field is set.
-
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;- Specified by:
getHeaderin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The header.
-
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;- Specified by:
getHeaderOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasInput
public boolean hasInput()Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;- Specified by:
hasInputin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the input field is set.
-
getInput
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;- Specified by:
getInputin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The input.
-
getInputOrBuilder
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;- Specified by:
getInputOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasHeartbeatDetails
public 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;- Specified by:
hasHeartbeatDetailsin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the heartbeatDetails field is set.
-
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;- Specified by:
getHeartbeatDetailsin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The heartbeatDetails.
-
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;- Specified by:
getHeartbeatDetailsOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasScheduledTime
public boolean hasScheduledTime()When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10;- Specified by:
hasScheduledTimein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the scheduledTime field is set.
-
getScheduledTime
public com.google.protobuf.Timestamp getScheduledTime()When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10;- Specified by:
getScheduledTimein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The scheduledTime.
-
getScheduledTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10;- Specified by:
getScheduledTimeOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasCurrentAttemptScheduledTime
public boolean hasCurrentAttemptScheduledTime()When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11;- Specified by:
hasCurrentAttemptScheduledTimein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the currentAttemptScheduledTime field is set.
-
getCurrentAttemptScheduledTime
public com.google.protobuf.Timestamp getCurrentAttemptScheduledTime()When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11;- Specified by:
getCurrentAttemptScheduledTimein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The currentAttemptScheduledTime.
-
getCurrentAttemptScheduledTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCurrentAttemptScheduledTimeOrBuilder()When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11;- Specified by:
getCurrentAttemptScheduledTimeOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasStartedTime
public boolean hasStartedTime()When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12;- Specified by:
hasStartedTimein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the startedTime field is set.
-
getStartedTime
public com.google.protobuf.Timestamp getStartedTime()When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12;- Specified by:
getStartedTimein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The startedTime.
-
getStartedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartedTimeOrBuilder()When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12;- Specified by:
getStartedTimeOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
getAttempt
public int getAttempt()Starting at 1, the number of attempts to perform this activity
int32 attempt = 13;- Specified by:
getAttemptin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The attempt.
-
hasScheduleToCloseTimeout
public 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;- Specified by:
hasScheduleToCloseTimeoutin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the scheduleToCloseTimeout field is set.
-
getScheduleToCloseTimeout
public 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;- Specified by:
getScheduleToCloseTimeoutin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The scheduleToCloseTimeout.
-
getScheduleToCloseTimeoutOrBuilder
public 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;- Specified by:
getScheduleToCloseTimeoutOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasStartToCloseTimeout
public 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;- Specified by:
hasStartToCloseTimeoutin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the startToCloseTimeout field is set.
-
getStartToCloseTimeout
public 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;- Specified by:
getStartToCloseTimeoutin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The startToCloseTimeout.
-
getStartToCloseTimeoutOrBuilder
public 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;- Specified by:
getStartToCloseTimeoutOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasHeartbeatTimeout
public boolean hasHeartbeatTimeout()Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16;- Specified by:
hasHeartbeatTimeoutin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the heartbeatTimeout field is set.
-
getHeartbeatTimeout
public com.google.protobuf.Duration getHeartbeatTimeout()Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16;- Specified by:
getHeartbeatTimeoutin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The heartbeatTimeout.
-
getHeartbeatTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16;- Specified by:
getHeartbeatTimeoutOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasRetryPolicy
public 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;- Specified by:
hasRetryPolicyin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
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;- Specified by:
getRetryPolicyin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The retryPolicy.
-
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;- Specified by:
getRetryPolicyOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasPollerScalingDecision
public boolean hasPollerScalingDecision()Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;- Specified by:
hasPollerScalingDecisionin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the pollerScalingDecision field is set.
-
getPollerScalingDecision
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;- Specified by:
getPollerScalingDecisionin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The pollerScalingDecision.
-
getPollerScalingDecisionOrBuilder
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;- Specified by:
getPollerScalingDecisionOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasPriority
public boolean hasPriority()Priority metadata
.temporal.api.common.v1.Priority priority = 19;- Specified by:
hasPriorityin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the priority field is set.
-
getPriority
Priority metadata
.temporal.api.common.v1.Priority priority = 19;- Specified by:
getPriorityin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The priority.
-
getPriorityOrBuilder
Priority metadata
.temporal.api.common.v1.Priority priority = 19;- Specified by:
getPriorityOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
getActivityRunId
The run ID of the activity execution, only set for standalone activities.
string activity_run_id = 20;- Specified by:
getActivityRunIdin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The activityRunId.
-
getActivityRunIdBytes
public com.google.protobuf.ByteString getActivityRunIdBytes()The run ID of the activity execution, only set for standalone activities.
string activity_run_id = 20;- Specified by:
getActivityRunIdBytesin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The bytes for activityRunId.
-
getPollerGroupInfosList
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];- Specified by:
getPollerGroupInfosListin interfacePollActivityTaskQueueResponseOrBuilder
-
getPollerGroupInfosOrBuilderList
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];- Specified by:
getPollerGroupInfosOrBuilderListin interfacePollActivityTaskQueueResponseOrBuilder
-
getPollerGroupInfosCount
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];- Specified by:
getPollerGroupInfosCountin interfacePollActivityTaskQueueResponseOrBuilder
-
getPollerGroupInfos
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];- Specified by:
getPollerGroupInfosin interfacePollActivityTaskQueueResponseOrBuilder
-
getPollerGroupInfosOrBuilder
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];- Specified by:
getPollerGroupInfosOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasPollerGroupsInfo
public boolean hasPollerGroupsInfo()The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue. Client should ignore this if it has already applied a snapshot with a version greater than or equal to `poller_groups_info.version`. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights..temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22;- Specified by:
hasPollerGroupsInfoin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the pollerGroupsInfo field is set.
-
getPollerGroupsInfo
The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue. Client should ignore this if it has already applied a snapshot with a version greater than or equal to `poller_groups_info.version`. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights..temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22;- Specified by:
getPollerGroupsInfoin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The pollerGroupsInfo.
-
getPollerGroupsInfoOrBuilder
The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue. Client should ignore this if it has already applied a snapshot with a version greater than or equal to `poller_groups_info.version`. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights..temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22;- Specified by:
getPollerGroupsInfoOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PollActivityTaskQueueResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PollActivityTaskQueueResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PollActivityTaskQueueResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PollActivityTaskQueueResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PollActivityTaskQueueResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PollActivityTaskQueueResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PollActivityTaskQueueResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static PollActivityTaskQueueResponse parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static PollActivityTaskQueueResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PollActivityTaskQueueResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PollActivityTaskQueueResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static PollActivityTaskQueueResponse.Builder newBuilder(PollActivityTaskQueueResponse prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PollActivityTaskQueueResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-