Class PollActivityTaskQueueResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
- io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,PollActivityTaskQueueResponseOrBuilder
,java.lang.Cloneable
- Enclosing class:
- PollActivityTaskQueueResponse
public static final class PollActivityTaskQueueResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder> implements PollActivityTaskQueueResponseOrBuilder
Protobuf typetemporal.api.workflowservice.v1.PollActivityTaskQueueResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PollActivityTaskQueueResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
PollActivityTaskQueueResponse
build()
PollActivityTaskQueueResponse
buildPartial()
PollActivityTaskQueueResponse.Builder
clear()
PollActivityTaskQueueResponse.Builder
clearActivityId()
The autogenerated or user specified identifier of this activity.PollActivityTaskQueueResponse.Builder
clearActivityType()
.temporal.api.common.v1.ActivityType activity_type = 5;
PollActivityTaskQueueResponse.Builder
clearAttempt()
Starting at 1, the number of attempts to perform this activityPollActivityTaskQueueResponse.Builder
clearCurrentAttemptScheduledTime()
When was this task attempt scheduledPollActivityTaskQueueResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
PollActivityTaskQueueResponse.Builder
clearHeader()
Headers specified by the scheduling workflow.PollActivityTaskQueueResponse.Builder
clearHeartbeatDetails()
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.PollActivityTaskQueueResponse.Builder
clearHeartbeatTimeout()
Window within which the activity must report a heartbeat, or be timed out.PollActivityTaskQueueResponse.Builder
clearInput()
Arguments to the activity invocationPollActivityTaskQueueResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
PollActivityTaskQueueResponse.Builder
clearRetryPolicy()
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.PollActivityTaskQueueResponse.Builder
clearScheduledTime()
When was this task first scheduledPollActivityTaskQueueResponse.Builder
clearScheduleToCloseTimeout()
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.PollActivityTaskQueueResponse.Builder
clearStartedTime()
When was this task started (this attempt)PollActivityTaskQueueResponse.Builder
clearStartToCloseTimeout()
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.PollActivityTaskQueueResponse.Builder
clearTaskToken()
A unique identifier for this taskPollActivityTaskQueueResponse.Builder
clearWorkflowExecution()
Execution info of the requesting workflowPollActivityTaskQueueResponse.Builder
clearWorkflowNamespace()
The namespace the workflow which requested this activity lives inPollActivityTaskQueueResponse.Builder
clearWorkflowType()
Type of the requesting workflowPollActivityTaskQueueResponse.Builder
clone()
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;
ActivityType.Builder
getActivityTypeBuilder()
.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.Timestamp.Builder
getCurrentAttemptScheduledTimeBuilder()
When was this task attempt scheduledcom.google.protobuf.TimestampOrBuilder
getCurrentAttemptScheduledTimeOrBuilder()
When was this task attempt scheduledPollActivityTaskQueueResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Header
getHeader()
Headers specified by the scheduling workflow.Header.Builder
getHeaderBuilder()
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.Payloads.Builder
getHeartbeatDetailsBuilder()
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.Duration.Builder
getHeartbeatTimeoutBuilder()
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 invocationPayloads.Builder
getInputBuilder()
Arguments to the activity invocationPayloadsOrBuilder
getInputOrBuilder()
Arguments to the activity invocationRetryPolicy
getRetryPolicy()
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.RetryPolicy.Builder
getRetryPolicyBuilder()
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.Timestamp.Builder
getScheduledTimeBuilder()
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.Duration.Builder
getScheduleToCloseTimeoutBuilder()
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.DurationOrBuilder
getScheduleToCloseTimeoutOrBuilder()
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.Timestamp
getStartedTime()
When was this task started (this attempt)com.google.protobuf.Timestamp.Builder
getStartedTimeBuilder()
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.Duration.Builder
getStartToCloseTimeoutBuilder()
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.DurationOrBuilder
getStartToCloseTimeoutOrBuilder()
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.ByteString
getTaskToken()
A unique identifier for this taskWorkflowExecution
getWorkflowExecution()
Execution info of the requesting workflowWorkflowExecution.Builder
getWorkflowExecutionBuilder()
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 workflowWorkflowType.Builder
getWorkflowTypeBuilder()
Type of the requesting workflowWorkflowTypeOrBuilder
getWorkflowTypeOrBuilder()
Type of the requesting workflowboolean
hasActivityType()
.temporal.api.common.v1.ActivityType activity_type = 5;
boolean
hasCurrentAttemptScheduledTime()
When was this task attempt scheduledboolean
hasHeader()
Headers specified by the scheduling workflow.boolean
hasHeartbeatDetails()
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.boolean
hasHeartbeatTimeout()
Window within which the activity must report a heartbeat, or be timed out.boolean
hasInput()
Arguments to the activity invocationboolean
hasRetryPolicy()
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.boolean
hasScheduledTime()
When was this task first scheduledboolean
hasScheduleToCloseTimeout()
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.boolean
hasStartedTime()
When was this task started (this attempt)boolean
hasStartToCloseTimeout()
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.boolean
hasWorkflowExecution()
Execution info of the requesting workflowboolean
hasWorkflowType()
Type of the requesting workflowprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
PollActivityTaskQueueResponse.Builder
mergeActivityType(ActivityType value)
.temporal.api.common.v1.ActivityType activity_type = 5;
PollActivityTaskQueueResponse.Builder
mergeCurrentAttemptScheduledTime(com.google.protobuf.Timestamp value)
When was this task attempt scheduledPollActivityTaskQueueResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PollActivityTaskQueueResponse.Builder
mergeFrom(com.google.protobuf.Message other)
PollActivityTaskQueueResponse.Builder
mergeFrom(PollActivityTaskQueueResponse other)
PollActivityTaskQueueResponse.Builder
mergeHeader(Header value)
Headers specified by the scheduling workflow.PollActivityTaskQueueResponse.Builder
mergeHeartbeatDetails(Payloads value)
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.PollActivityTaskQueueResponse.Builder
mergeHeartbeatTimeout(com.google.protobuf.Duration value)
Window within which the activity must report a heartbeat, or be timed out.PollActivityTaskQueueResponse.Builder
mergeInput(Payloads value)
Arguments to the activity invocationPollActivityTaskQueueResponse.Builder
mergeRetryPolicy(RetryPolicy value)
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.PollActivityTaskQueueResponse.Builder
mergeScheduledTime(com.google.protobuf.Timestamp value)
When was this task first scheduledPollActivityTaskQueueResponse.Builder
mergeScheduleToCloseTimeout(com.google.protobuf.Duration value)
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.PollActivityTaskQueueResponse.Builder
mergeStartedTime(com.google.protobuf.Timestamp value)
When was this task started (this attempt)PollActivityTaskQueueResponse.Builder
mergeStartToCloseTimeout(com.google.protobuf.Duration value)
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.PollActivityTaskQueueResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PollActivityTaskQueueResponse.Builder
mergeWorkflowExecution(WorkflowExecution value)
Execution info of the requesting workflowPollActivityTaskQueueResponse.Builder
mergeWorkflowType(WorkflowType value)
Type of the requesting workflowPollActivityTaskQueueResponse.Builder
setActivityId(java.lang.String value)
The autogenerated or user specified identifier of this activity.PollActivityTaskQueueResponse.Builder
setActivityIdBytes(com.google.protobuf.ByteString value)
The autogenerated or user specified identifier of this activity.PollActivityTaskQueueResponse.Builder
setActivityType(ActivityType value)
.temporal.api.common.v1.ActivityType activity_type = 5;
PollActivityTaskQueueResponse.Builder
setActivityType(ActivityType.Builder builderForValue)
.temporal.api.common.v1.ActivityType activity_type = 5;
PollActivityTaskQueueResponse.Builder
setAttempt(int value)
Starting at 1, the number of attempts to perform this activityPollActivityTaskQueueResponse.Builder
setCurrentAttemptScheduledTime(com.google.protobuf.Timestamp value)
When was this task attempt scheduledPollActivityTaskQueueResponse.Builder
setCurrentAttemptScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue)
When was this task attempt scheduledPollActivityTaskQueueResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
PollActivityTaskQueueResponse.Builder
setHeader(Header value)
Headers specified by the scheduling workflow.PollActivityTaskQueueResponse.Builder
setHeader(Header.Builder builderForValue)
Headers specified by the scheduling workflow.PollActivityTaskQueueResponse.Builder
setHeartbeatDetails(Payloads value)
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.PollActivityTaskQueueResponse.Builder
setHeartbeatDetails(Payloads.Builder builderForValue)
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.PollActivityTaskQueueResponse.Builder
setHeartbeatTimeout(com.google.protobuf.Duration value)
Window within which the activity must report a heartbeat, or be timed out.PollActivityTaskQueueResponse.Builder
setHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue)
Window within which the activity must report a heartbeat, or be timed out.PollActivityTaskQueueResponse.Builder
setInput(Payloads value)
Arguments to the activity invocationPollActivityTaskQueueResponse.Builder
setInput(Payloads.Builder builderForValue)
Arguments to the activity invocationPollActivityTaskQueueResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
PollActivityTaskQueueResponse.Builder
setRetryPolicy(RetryPolicy value)
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.PollActivityTaskQueueResponse.Builder
setRetryPolicy(RetryPolicy.Builder builderForValue)
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.PollActivityTaskQueueResponse.Builder
setScheduledTime(com.google.protobuf.Timestamp value)
When was this task first scheduledPollActivityTaskQueueResponse.Builder
setScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue)
When was this task first scheduledPollActivityTaskQueueResponse.Builder
setScheduleToCloseTimeout(com.google.protobuf.Duration value)
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.PollActivityTaskQueueResponse.Builder
setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.PollActivityTaskQueueResponse.Builder
setStartedTime(com.google.protobuf.Timestamp value)
When was this task started (this attempt)PollActivityTaskQueueResponse.Builder
setStartedTime(com.google.protobuf.Timestamp.Builder builderForValue)
When was this task started (this attempt)PollActivityTaskQueueResponse.Builder
setStartToCloseTimeout(com.google.protobuf.Duration value)
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.PollActivityTaskQueueResponse.Builder
setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.PollActivityTaskQueueResponse.Builder
setTaskToken(com.google.protobuf.ByteString value)
A unique identifier for this taskPollActivityTaskQueueResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PollActivityTaskQueueResponse.Builder
setWorkflowExecution(WorkflowExecution value)
Execution info of the requesting workflowPollActivityTaskQueueResponse.Builder
setWorkflowExecution(WorkflowExecution.Builder builderForValue)
Execution info of the requesting workflowPollActivityTaskQueueResponse.Builder
setWorkflowNamespace(java.lang.String value)
The namespace the workflow which requested this activity lives inPollActivityTaskQueueResponse.Builder
setWorkflowNamespaceBytes(com.google.protobuf.ByteString value)
The namespace the workflow which requested this activity lives inPollActivityTaskQueueResponse.Builder
setWorkflowType(WorkflowType value)
Type of the requesting workflowPollActivityTaskQueueResponse.Builder
setWorkflowType(WorkflowType.Builder builderForValue)
Type of the requesting workflow-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<PollActivityTaskQueueResponse.Builder>
-
clear
public PollActivityTaskQueueResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
getDefaultInstanceForType
public PollActivityTaskQueueResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PollActivityTaskQueueResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PollActivityTaskQueueResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PollActivityTaskQueueResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
setField
public PollActivityTaskQueueResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
clearField
public PollActivityTaskQueueResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
clearOneof
public PollActivityTaskQueueResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
setRepeatedField
public PollActivityTaskQueueResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
addRepeatedField
public PollActivityTaskQueueResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
mergeFrom
public PollActivityTaskQueueResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PollActivityTaskQueueResponse.Builder>
-
mergeFrom
public PollActivityTaskQueueResponse.Builder mergeFrom(PollActivityTaskQueueResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
mergeFrom
public PollActivityTaskQueueResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PollActivityTaskQueueResponse.Builder>
- Throws:
java.io.IOException
-
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.
-
setTaskToken
public PollActivityTaskQueueResponse.Builder setTaskToken(com.google.protobuf.ByteString value)
A unique identifier for this task
bytes task_token = 1;
- Parameters:
value
- The taskToken to set.- Returns:
- This builder for chaining.
-
clearTaskToken
public PollActivityTaskQueueResponse.Builder clearTaskToken()
A unique identifier for this task
bytes task_token = 1;
- Returns:
- This builder for chaining.
-
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.
-
setWorkflowNamespace
public PollActivityTaskQueueResponse.Builder setWorkflowNamespace(java.lang.String value)
The namespace the workflow which requested this activity lives in
string workflow_namespace = 2;
- Parameters:
value
- The workflowNamespace to set.- Returns:
- This builder for chaining.
-
clearWorkflowNamespace
public PollActivityTaskQueueResponse.Builder clearWorkflowNamespace()
The namespace the workflow which requested this activity lives in
string workflow_namespace = 2;
- Returns:
- This builder for chaining.
-
setWorkflowNamespaceBytes
public PollActivityTaskQueueResponse.Builder setWorkflowNamespaceBytes(com.google.protobuf.ByteString value)
The namespace the workflow which requested this activity lives in
string workflow_namespace = 2;
- Parameters:
value
- The bytes for workflowNamespace to set.- Returns:
- This builder for chaining.
-
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.
-
setWorkflowType
public PollActivityTaskQueueResponse.Builder setWorkflowType(WorkflowType value)
Type of the requesting workflow
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
setWorkflowType
public PollActivityTaskQueueResponse.Builder setWorkflowType(WorkflowType.Builder builderForValue)
Type of the requesting workflow
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
mergeWorkflowType
public PollActivityTaskQueueResponse.Builder mergeWorkflowType(WorkflowType value)
Type of the requesting workflow
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
clearWorkflowType
public PollActivityTaskQueueResponse.Builder clearWorkflowType()
Type of the requesting workflow
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
getWorkflowTypeBuilder
public WorkflowType.Builder getWorkflowTypeBuilder()
Type of the requesting workflow
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
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.
-
setWorkflowExecution
public PollActivityTaskQueueResponse.Builder setWorkflowExecution(WorkflowExecution value)
Execution info of the requesting workflow
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
-
setWorkflowExecution
public PollActivityTaskQueueResponse.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue)
Execution info of the requesting workflow
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
-
mergeWorkflowExecution
public PollActivityTaskQueueResponse.Builder mergeWorkflowExecution(WorkflowExecution value)
Execution info of the requesting workflow
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
-
clearWorkflowExecution
public PollActivityTaskQueueResponse.Builder clearWorkflowExecution()
Execution info of the requesting workflow
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
-
getWorkflowExecutionBuilder
public WorkflowExecution.Builder getWorkflowExecutionBuilder()
Execution info of the requesting workflow
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
-
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.
-
setActivityType
public PollActivityTaskQueueResponse.Builder setActivityType(ActivityType value)
.temporal.api.common.v1.ActivityType activity_type = 5;
-
setActivityType
public PollActivityTaskQueueResponse.Builder setActivityType(ActivityType.Builder builderForValue)
.temporal.api.common.v1.ActivityType activity_type = 5;
-
mergeActivityType
public PollActivityTaskQueueResponse.Builder mergeActivityType(ActivityType value)
.temporal.api.common.v1.ActivityType activity_type = 5;
-
clearActivityType
public PollActivityTaskQueueResponse.Builder clearActivityType()
.temporal.api.common.v1.ActivityType activity_type = 5;
-
getActivityTypeBuilder
public ActivityType.Builder getActivityTypeBuilder()
.temporal.api.common.v1.ActivityType activity_type = 5;
-
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.
-
setActivityId
public PollActivityTaskQueueResponse.Builder setActivityId(java.lang.String value)
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;
- Parameters:
value
- The activityId to set.- Returns:
- This builder for chaining.
-
clearActivityId
public PollActivityTaskQueueResponse.Builder clearActivityId()
The autogenerated or user specified identifier of this activity. Can be used to complete the activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage has resolved, but unique IDs for every activity invocation is a good idea.
string activity_id = 6;
- Returns:
- This builder for chaining.
-
setActivityIdBytes
public PollActivityTaskQueueResponse.Builder setActivityIdBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for activityId to set.- Returns:
- This builder for chaining.
-
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.
-
setHeader
public PollActivityTaskQueueResponse.Builder setHeader(Header value)
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;
-
setHeader
public PollActivityTaskQueueResponse.Builder setHeader(Header.Builder builderForValue)
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;
-
mergeHeader
public PollActivityTaskQueueResponse.Builder mergeHeader(Header value)
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;
-
clearHeader
public PollActivityTaskQueueResponse.Builder clearHeader()
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;
-
getHeaderBuilder
public Header.Builder getHeaderBuilder()
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;
-
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.
-
setInput
public PollActivityTaskQueueResponse.Builder setInput(Payloads value)
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;
-
setInput
public PollActivityTaskQueueResponse.Builder setInput(Payloads.Builder builderForValue)
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;
-
mergeInput
public PollActivityTaskQueueResponse.Builder mergeInput(Payloads value)
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;
-
clearInput
public PollActivityTaskQueueResponse.Builder clearInput()
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;
-
getInputBuilder
public Payloads.Builder getInputBuilder()
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;
-
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.
-
setHeartbeatDetails
public PollActivityTaskQueueResponse.Builder setHeartbeatDetails(Payloads value)
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;
-
setHeartbeatDetails
public PollActivityTaskQueueResponse.Builder setHeartbeatDetails(Payloads.Builder builderForValue)
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;
-
mergeHeartbeatDetails
public PollActivityTaskQueueResponse.Builder mergeHeartbeatDetails(Payloads value)
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;
-
clearHeartbeatDetails
public PollActivityTaskQueueResponse.Builder clearHeartbeatDetails()
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;
-
getHeartbeatDetailsBuilder
public Payloads.Builder getHeartbeatDetailsBuilder()
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;
-
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.
-
setScheduledTime
public PollActivityTaskQueueResponse.Builder setScheduledTime(com.google.protobuf.Timestamp value)
When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
-
setScheduledTime
public PollActivityTaskQueueResponse.Builder setScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue)
When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
-
mergeScheduledTime
public PollActivityTaskQueueResponse.Builder mergeScheduledTime(com.google.protobuf.Timestamp value)
When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
-
clearScheduledTime
public PollActivityTaskQueueResponse.Builder clearScheduledTime()
When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
-
getScheduledTimeBuilder
public com.google.protobuf.Timestamp.Builder getScheduledTimeBuilder()
When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
-
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.
-
setCurrentAttemptScheduledTime
public PollActivityTaskQueueResponse.Builder setCurrentAttemptScheduledTime(com.google.protobuf.Timestamp value)
When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
-
setCurrentAttemptScheduledTime
public PollActivityTaskQueueResponse.Builder setCurrentAttemptScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue)
When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
-
mergeCurrentAttemptScheduledTime
public PollActivityTaskQueueResponse.Builder mergeCurrentAttemptScheduledTime(com.google.protobuf.Timestamp value)
When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
-
clearCurrentAttemptScheduledTime
public PollActivityTaskQueueResponse.Builder clearCurrentAttemptScheduledTime()
When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
-
getCurrentAttemptScheduledTimeBuilder
public com.google.protobuf.Timestamp.Builder getCurrentAttemptScheduledTimeBuilder()
When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
-
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.
-
setStartedTime
public PollActivityTaskQueueResponse.Builder setStartedTime(com.google.protobuf.Timestamp value)
When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
-
setStartedTime
public PollActivityTaskQueueResponse.Builder setStartedTime(com.google.protobuf.Timestamp.Builder builderForValue)
When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
-
mergeStartedTime
public PollActivityTaskQueueResponse.Builder mergeStartedTime(com.google.protobuf.Timestamp value)
When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
-
clearStartedTime
public PollActivityTaskQueueResponse.Builder clearStartedTime()
When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
-
getStartedTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartedTimeBuilder()
When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
-
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.
-
setAttempt
public PollActivityTaskQueueResponse.Builder setAttempt(int value)
Starting at 1, the number of attempts to perform this activity
int32 attempt = 13;
- Parameters:
value
- The attempt to set.- Returns:
- This builder for chaining.
-
clearAttempt
public PollActivityTaskQueueResponse.Builder clearAttempt()
Starting at 1, the number of attempts to perform this activity
int32 attempt = 13;
- Returns:
- This builder for chaining.
-
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.
-
setScheduleToCloseTimeout
public PollActivityTaskQueueResponse.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration value)
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];
-
setScheduleToCloseTimeout
public PollActivityTaskQueueResponse.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
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];
-
mergeScheduleToCloseTimeout
public PollActivityTaskQueueResponse.Builder mergeScheduleToCloseTimeout(com.google.protobuf.Duration value)
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];
-
clearScheduleToCloseTimeout
public PollActivityTaskQueueResponse.Builder clearScheduleToCloseTimeout()
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];
-
getScheduleToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToCloseTimeoutBuilder()
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];
-
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.
-
setStartToCloseTimeout
public PollActivityTaskQueueResponse.Builder setStartToCloseTimeout(com.google.protobuf.Duration value)
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];
-
setStartToCloseTimeout
public PollActivityTaskQueueResponse.Builder setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
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];
-
mergeStartToCloseTimeout
public PollActivityTaskQueueResponse.Builder mergeStartToCloseTimeout(com.google.protobuf.Duration value)
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];
-
clearStartToCloseTimeout
public PollActivityTaskQueueResponse.Builder clearStartToCloseTimeout()
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];
-
getStartToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getStartToCloseTimeoutBuilder()
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];
-
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.
-
setHeartbeatTimeout
public PollActivityTaskQueueResponse.Builder setHeartbeatTimeout(com.google.protobuf.Duration value)
Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
-
setHeartbeatTimeout
public PollActivityTaskQueueResponse.Builder setHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue)
Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
-
mergeHeartbeatTimeout
public PollActivityTaskQueueResponse.Builder mergeHeartbeatTimeout(com.google.protobuf.Duration value)
Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
-
clearHeartbeatTimeout
public PollActivityTaskQueueResponse.Builder clearHeartbeatTimeout()
Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
-
getHeartbeatTimeoutBuilder
public com.google.protobuf.Duration.Builder getHeartbeatTimeoutBuilder()
Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
-
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.
-
setRetryPolicy
public PollActivityTaskQueueResponse.Builder setRetryPolicy(RetryPolicy value)
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;
-
setRetryPolicy
public PollActivityTaskQueueResponse.Builder setRetryPolicy(RetryPolicy.Builder builderForValue)
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;
-
mergeRetryPolicy
public PollActivityTaskQueueResponse.Builder mergeRetryPolicy(RetryPolicy value)
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;
-
clearRetryPolicy
public PollActivityTaskQueueResponse.Builder clearRetryPolicy()
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;
-
getRetryPolicyBuilder
public RetryPolicy.Builder getRetryPolicyBuilder()
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;
-
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
-
setUnknownFields
public final PollActivityTaskQueueResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
mergeUnknownFields
public final PollActivityTaskQueueResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
-