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,java.io.Serializable
@Generated(value="protoc", comments="annotations:PollActivityTaskQueueResponse.java.pb.meta") public final class PollActivityTaskQueueResponse extends com.google.protobuf.GeneratedMessageV3 implements PollActivityTaskQueueResponseOrBuilderProtobuf typetemporal.api.workflowservice.v1.PollActivityTaskQueueResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPollActivityTaskQueueResponse.BuilderProtobuf typetemporal.api.workflowservice.v1.PollActivityTaskQueueResponse-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intACTIVITY_ID_FIELD_NUMBERstatic intACTIVITY_TYPE_FIELD_NUMBERstatic intATTEMPT_FIELD_NUMBERstatic intCURRENT_ATTEMPT_SCHEDULED_TIME_FIELD_NUMBERstatic intHEADER_FIELD_NUMBERstatic intHEARTBEAT_DETAILS_FIELD_NUMBERstatic intHEARTBEAT_TIMEOUT_FIELD_NUMBERstatic intINPUT_FIELD_NUMBERstatic intPOLLER_SCALING_DECISION_FIELD_NUMBERstatic intPRIORITY_FIELD_NUMBERstatic intRETRY_POLICY_FIELD_NUMBERstatic intSCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBERstatic intSCHEDULED_TIME_FIELD_NUMBERstatic intSTART_TO_CLOSE_TIMEOUT_FIELD_NUMBERstatic intSTARTED_TIME_FIELD_NUMBERstatic intTASK_TOKEN_FIELD_NUMBERstatic intWORKFLOW_EXECUTION_FIELD_NUMBERstatic intWORKFLOW_NAMESPACE_FIELD_NUMBERstatic intWORKFLOW_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)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 scheduledstatic PollActivityTaskQueueResponsegetDefaultInstance()PollActivityTaskQueueResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()HeadergetHeader()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 invocationcom.google.protobuf.Parser<PollActivityTaskQueueResponse>getParserForType()PollerScalingDecisiongetPollerScalingDecision()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.intgetSerializedSize()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 scheduledinthashCode()booleanhasHeader()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 workflowprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static PollActivityTaskQueueResponse.BuildernewBuilder()static PollActivityTaskQueueResponse.BuildernewBuilder(PollActivityTaskQueueResponse prototype)PollActivityTaskQueueResponse.BuildernewBuilderForType()protected PollActivityTaskQueueResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PollActivityTaskQueueResponseparseDelimitedFrom(java.io.InputStream input)static PollActivityTaskQueueResponseparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PollActivityTaskQueueResponseparseFrom(byte[] data)static PollActivityTaskQueueResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PollActivityTaskQueueResponseparseFrom(com.google.protobuf.ByteString data)static PollActivityTaskQueueResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PollActivityTaskQueueResponseparseFrom(com.google.protobuf.CodedInputStream input)static PollActivityTaskQueueResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PollActivityTaskQueueResponseparseFrom(java.io.InputStream input)static PollActivityTaskQueueResponseparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PollActivityTaskQueueResponseparseFrom(java.nio.ByteBuffer data)static PollActivityTaskQueueResponseparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PollActivityTaskQueueResponse>parser()PollActivityTaskQueueResponse.BuildertoBuilder()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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TASK_TOKEN_FIELD_NUMBER
public static final int TASK_TOKEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_NAMESPACE_FIELD_NUMBER
public static final int WORKFLOW_NAMESPACE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_TYPE_FIELD_NUMBER
public static final int WORKFLOW_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_EXECUTION_FIELD_NUMBER
public static final int WORKFLOW_EXECUTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIVITY_TYPE_FIELD_NUMBER
public static final int ACTIVITY_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIVITY_ID_FIELD_NUMBER
public static final int ACTIVITY_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEARTBEAT_DETAILS_FIELD_NUMBER
public static final int HEARTBEAT_DETAILS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEDULED_TIME_FIELD_NUMBER
public static final int SCHEDULED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CURRENT_ATTEMPT_SCHEDULED_TIME_FIELD_NUMBER
public static final int CURRENT_ATTEMPT_SCHEDULED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STARTED_TIME_FIELD_NUMBER
public static final int STARTED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTEMPT_FIELD_NUMBER
public static final int ATTEMPT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER
public static final int SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TO_CLOSE_TIMEOUT_FIELD_NUMBER
public static final int START_TO_CLOSE_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEARTBEAT_TIMEOUT_FIELD_NUMBER
public static final int HEARTBEAT_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETRY_POLICY_FIELD_NUMBER
public static final int RETRY_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POLLER_SCALING_DECISION_FIELD_NUMBER
public static final int POLLER_SCALING_DECISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
public java.lang.String getWorkflowNamespace()
The namespace the workflow which requested this activity lives in
string workflow_namespace = 2;- Specified by:
getWorkflowNamespacein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The workflowNamespace.
-
getWorkflowNamespaceBytes
public com.google.protobuf.ByteString getWorkflowNamespaceBytes()
The namespace the workflow which requested this activity lives in
string workflow_namespace = 2;- Specified by:
getWorkflowNamespaceBytesin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The bytes for workflowNamespace.
-
hasWorkflowType
public boolean hasWorkflowType()
Type of the requesting workflow
.temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
hasWorkflowTypein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
public WorkflowType getWorkflowType()
Type of the requesting workflow
.temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
getWorkflowTypein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The workflowType.
-
getWorkflowTypeOrBuilder
public WorkflowTypeOrBuilder getWorkflowTypeOrBuilder()
Type of the requesting workflow
.temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
getWorkflowTypeOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasWorkflowExecution
public boolean hasWorkflowExecution()
Execution info of the requesting workflow
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;- Specified by:
hasWorkflowExecutionin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
public WorkflowExecution getWorkflowExecution()
Execution info of the requesting workflow
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;- Specified by:
getWorkflowExecutionin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The workflowExecution.
-
getWorkflowExecutionOrBuilder
public WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
Execution info of the requesting workflow
.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
public ActivityType getActivityType()
.temporal.api.common.v1.ActivityType activity_type = 5;- Specified by:
getActivityTypein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The activityType.
-
getActivityTypeOrBuilder
public ActivityTypeOrBuilder getActivityTypeOrBuilder()
.temporal.api.common.v1.ActivityType activity_type = 5;- Specified by:
getActivityTypeOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
getActivityId
public 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;- 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.
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
public 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;- Specified by:
getHeaderin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The header.
-
getHeaderOrBuilder
public 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;- 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
public Payloads getInput()
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;- Specified by:
getInputin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The input.
-
getInputOrBuilder
public PayloadsOrBuilder 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
public 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;- Specified by:
getHeartbeatDetailsin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The heartbeatDetails.
-
getHeartbeatDetailsOrBuilder
public 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;- 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
public 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;- Specified by:
getRetryPolicyin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The retryPolicy.
-
getRetryPolicyOrBuilder
public 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;- 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
public PollerScalingDecision 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
public PollerScalingDecisionOrBuilder 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
public Priority getPriority()
Priority metadata
.temporal.api.common.v1.Priority priority = 19;- Specified by:
getPriorityin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The priority.
-
getPriorityOrBuilder
public PriorityOrBuilder getPriorityOrBuilder()
Priority metadata
.temporal.api.common.v1.Priority priority = 19;- Specified by:
getPriorityOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PollActivityTaskQueueResponse parseFrom(java.nio.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
public static PollActivityTaskQueueResponse parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PollActivityTaskQueueResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PollActivityTaskQueueResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PollActivityTaskQueueResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PollActivityTaskQueueResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PollActivityTaskQueueResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public PollActivityTaskQueueResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PollActivityTaskQueueResponse.Builder newBuilder()
-
newBuilder
public static PollActivityTaskQueueResponse.Builder newBuilder(PollActivityTaskQueueResponse prototype)
-
toBuilder
public PollActivityTaskQueueResponse.Builder 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
public static PollActivityTaskQueueResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PollActivityTaskQueueResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<PollActivityTaskQueueResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PollActivityTaskQueueResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-