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 PollActivityTaskQueueResponseOrBuilder
Protobuf typetemporal.api.workflowservice.v1.PollActivityTaskQueueResponse
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PollActivityTaskQueueResponse.Builder
Protobuf 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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACTIVITY_ID_FIELD_NUMBER
static int
ACTIVITY_TYPE_FIELD_NUMBER
static int
ATTEMPT_FIELD_NUMBER
static int
CURRENT_ATTEMPT_SCHEDULED_TIME_FIELD_NUMBER
static int
HEADER_FIELD_NUMBER
static int
HEARTBEAT_DETAILS_FIELD_NUMBER
static int
HEARTBEAT_TIMEOUT_FIELD_NUMBER
static int
INPUT_FIELD_NUMBER
static int
RETRY_POLICY_FIELD_NUMBER
static int
SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER
static int
SCHEDULED_TIME_FIELD_NUMBER
static int
START_TO_CLOSE_TIMEOUT_FIELD_NUMBER
static int
STARTED_TIME_FIELD_NUMBER
static int
TASK_TOKEN_FIELD_NUMBER
static int
WORKFLOW_EXECUTION_FIELD_NUMBER
static int
WORKFLOW_NAMESPACE_FIELD_NUMBER
static int
WORKFLOW_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getActivityId()
The autogenerated or user specified identifier of this activity.com.google.protobuf.ByteString
getActivityIdBytes()
The autogenerated or user specified identifier of this activity.ActivityType
getActivityType()
.temporal.api.common.v1.ActivityType activity_type = 5;
ActivityTypeOrBuilder
getActivityTypeOrBuilder()
.temporal.api.common.v1.ActivityType activity_type = 5;
int
getAttempt()
Starting at 1, the number of attempts to perform this activitycom.google.protobuf.Timestamp
getCurrentAttemptScheduledTime()
When was this task attempt scheduledcom.google.protobuf.TimestampOrBuilder
getCurrentAttemptScheduledTimeOrBuilder()
When was this task attempt scheduledstatic PollActivityTaskQueueResponse
getDefaultInstance()
PollActivityTaskQueueResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Header
getHeader()
Headers specified by the scheduling workflow.HeaderOrBuilder
getHeaderOrBuilder()
Headers specified by the scheduling workflow.Payloads
getHeartbeatDetails()
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.PayloadsOrBuilder
getHeartbeatDetailsOrBuilder()
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.com.google.protobuf.Duration
getHeartbeatTimeout()
Window within which the activity must report a heartbeat, or be timed out.com.google.protobuf.DurationOrBuilder
getHeartbeatTimeoutOrBuilder()
Window within which the activity must report a heartbeat, or be timed out.Payloads
getInput()
Arguments to the activity invocationPayloadsOrBuilder
getInputOrBuilder()
Arguments to the activity invocationcom.google.protobuf.Parser<PollActivityTaskQueueResponse>
getParserForType()
RetryPolicy
getRetryPolicy()
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.RetryPolicyOrBuilder
getRetryPolicyOrBuilder()
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.com.google.protobuf.Timestamp
getScheduledTime()
When was this task first scheduledcom.google.protobuf.TimestampOrBuilder
getScheduledTimeOrBuilder()
When was this task first scheduledcom.google.protobuf.Duration
getScheduleToCloseTimeout()
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.DurationOrBuilder
getScheduleToCloseTimeoutOrBuilder()
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.int
getSerializedSize()
com.google.protobuf.Timestamp
getStartedTime()
When was this task started (this attempt)com.google.protobuf.TimestampOrBuilder
getStartedTimeOrBuilder()
When was this task started (this attempt)com.google.protobuf.Duration
getStartToCloseTimeout()
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.DurationOrBuilder
getStartToCloseTimeoutOrBuilder()
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.ByteString
getTaskToken()
A unique identifier for this taskcom.google.protobuf.UnknownFieldSet
getUnknownFields()
WorkflowExecution
getWorkflowExecution()
Execution info of the requesting workflowWorkflowExecutionOrBuilder
getWorkflowExecutionOrBuilder()
Execution info of the requesting workflowjava.lang.String
getWorkflowNamespace()
The namespace the workflow which requested this activity lives incom.google.protobuf.ByteString
getWorkflowNamespaceBytes()
The namespace the workflow which requested this activity lives inWorkflowType
getWorkflowType()
Type of the requesting workflowWorkflowTypeOrBuilder
getWorkflowTypeOrBuilder()
Type of the requesting workflowboolean
hasActivityType()
.temporal.api.common.v1.ActivityType activity_type = 5;
boolean
hasCurrentAttemptScheduledTime()
When was this task attempt scheduledint
hashCode()
boolean
hasHeader()
Headers specified by the scheduling workflow.boolean
hasHeartbeatDetails()
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.boolean
hasHeartbeatTimeout()
Window within which the activity must report a heartbeat, or be timed out.boolean
hasInput()
Arguments to the activity invocationboolean
hasRetryPolicy()
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.boolean
hasScheduledTime()
When was this task first scheduledboolean
hasScheduleToCloseTimeout()
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.boolean
hasStartedTime()
When was this task started (this attempt)boolean
hasStartToCloseTimeout()
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.boolean
hasWorkflowExecution()
Execution info of the requesting workflowboolean
hasWorkflowType()
Type of the requesting workflowprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static PollActivityTaskQueueResponse.Builder
newBuilder()
static PollActivityTaskQueueResponse.Builder
newBuilder(PollActivityTaskQueueResponse prototype)
PollActivityTaskQueueResponse.Builder
newBuilderForType()
protected PollActivityTaskQueueResponse.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static PollActivityTaskQueueResponse
parseDelimitedFrom(java.io.InputStream input)
static PollActivityTaskQueueResponse
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PollActivityTaskQueueResponse
parseFrom(byte[] data)
static PollActivityTaskQueueResponse
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PollActivityTaskQueueResponse
parseFrom(com.google.protobuf.ByteString data)
static PollActivityTaskQueueResponse
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PollActivityTaskQueueResponse
parseFrom(com.google.protobuf.CodedInputStream input)
static PollActivityTaskQueueResponse
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PollActivityTaskQueueResponse
parseFrom(java.io.InputStream input)
static PollActivityTaskQueueResponse
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PollActivityTaskQueueResponse
parseFrom(java.nio.ByteBuffer data)
static PollActivityTaskQueueResponse
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<PollActivityTaskQueueResponse>
parser()
PollActivityTaskQueueResponse.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getTaskToken
public com.google.protobuf.ByteString getTaskToken()
A unique identifier for this task
bytes task_token = 1;
- Specified by:
getTaskToken
in 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:
getWorkflowNamespace
in 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:
getWorkflowNamespaceBytes
in 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:
hasWorkflowType
in 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:
getWorkflowType
in interfacePollActivityTaskQueueResponseOrBuilder
- Returns:
- The workflowType.
-
getWorkflowTypeOrBuilder
public WorkflowTypeOrBuilder getWorkflowTypeOrBuilder()
Type of the requesting workflow
.temporal.api.common.v1.WorkflowType workflow_type = 3;
- Specified by:
getWorkflowTypeOrBuilder
in interfacePollActivityTaskQueueResponseOrBuilder
-
hasWorkflowExecution
public boolean hasWorkflowExecution()
Execution info of the requesting workflow
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
- Specified by:
hasWorkflowExecution
in 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:
getWorkflowExecution
in interfacePollActivityTaskQueueResponseOrBuilder
- Returns:
- The workflowExecution.
-
getWorkflowExecutionOrBuilder
public WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
Execution info of the requesting workflow
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
- Specified by:
getWorkflowExecutionOrBuilder
in interfacePollActivityTaskQueueResponseOrBuilder
-
hasActivityType
public boolean hasActivityType()
.temporal.api.common.v1.ActivityType activity_type = 5;
- Specified by:
hasActivityType
in interfacePollActivityTaskQueueResponseOrBuilder
- Returns:
- Whether the activityType field is set.
-
getActivityType
public ActivityType getActivityType()
.temporal.api.common.v1.ActivityType activity_type = 5;
- Specified by:
getActivityType
in interfacePollActivityTaskQueueResponseOrBuilder
- Returns:
- The activityType.
-
getActivityTypeOrBuilder
public ActivityTypeOrBuilder getActivityTypeOrBuilder()
.temporal.api.common.v1.ActivityType activity_type = 5;
- Specified by:
getActivityTypeOrBuilder
in 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:
getActivityId
in 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:
getActivityIdBytes
in 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:
hasHeader
in 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:
getHeader
in 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:
getHeaderOrBuilder
in interfacePollActivityTaskQueueResponseOrBuilder
-
hasInput
public boolean hasInput()
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;
- Specified by:
hasInput
in 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:
getInput
in interfacePollActivityTaskQueueResponseOrBuilder
- Returns:
- The input.
-
getInputOrBuilder
public PayloadsOrBuilder getInputOrBuilder()
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;
- Specified by:
getInputOrBuilder
in 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:
hasHeartbeatDetails
in 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:
getHeartbeatDetails
in 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:
getHeartbeatDetailsOrBuilder
in interfacePollActivityTaskQueueResponseOrBuilder
-
hasScheduledTime
public boolean hasScheduledTime()
When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
- Specified by:
hasScheduledTime
in 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 [(.gogoproto.stdtime) = true];
- Specified by:
getScheduledTime
in interfacePollActivityTaskQueueResponseOrBuilder
- Returns:
- The scheduledTime.
-
getScheduledTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
- Specified by:
getScheduledTimeOrBuilder
in interfacePollActivityTaskQueueResponseOrBuilder
-
hasCurrentAttemptScheduledTime
public boolean hasCurrentAttemptScheduledTime()
When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
- Specified by:
hasCurrentAttemptScheduledTime
in 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 [(.gogoproto.stdtime) = true];
- Specified by:
getCurrentAttemptScheduledTime
in 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 [(.gogoproto.stdtime) = true];
- Specified by:
getCurrentAttemptScheduledTimeOrBuilder
in interfacePollActivityTaskQueueResponseOrBuilder
-
hasStartedTime
public boolean hasStartedTime()
When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
- Specified by:
hasStartedTime
in 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 [(.gogoproto.stdtime) = true];
- Specified by:
getStartedTime
in interfacePollActivityTaskQueueResponseOrBuilder
- Returns:
- The startedTime.
-
getStartedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartedTimeOrBuilder()
When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
- Specified by:
getStartedTimeOrBuilder
in interfacePollActivityTaskQueueResponseOrBuilder
-
getAttempt
public int getAttempt()
Starting at 1, the number of attempts to perform this activity
int32 attempt = 13;
- Specified by:
getAttempt
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
hasScheduleToCloseTimeout
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
getScheduleToCloseTimeout
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
getScheduleToCloseTimeoutOrBuilder
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
hasStartToCloseTimeout
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
getStartToCloseTimeout
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
getStartToCloseTimeoutOrBuilder
in interfacePollActivityTaskQueueResponseOrBuilder
-
hasHeartbeatTimeout
public boolean hasHeartbeatTimeout()
Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
- Specified by:
hasHeartbeatTimeout
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
getHeartbeatTimeout
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
getHeartbeatTimeoutOrBuilder
in 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:
hasRetryPolicy
in 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:
getRetryPolicy
in 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:
getRetryPolicyOrBuilder
in interfacePollActivityTaskQueueResponseOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PollActivityTaskQueueResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PollActivityTaskQueueResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-