Class PollActivityTaskQueueResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<PollActivityTaskQueueResponse.Builder>
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,Cloneable
- Enclosing class:
PollActivityTaskQueueResponse
public static final class PollActivityTaskQueueResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
implements PollActivityTaskQueueResponseOrBuilder
Protobuf type
temporal.api.workflowservice.v1.PollActivityTaskQueueResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllPollerGroupInfos(Iterable<? extends PollerGroupInfo> values) Deprecated.addPollerGroupInfos(int index, PollerGroupInfo value) Deprecated.addPollerGroupInfos(int index, PollerGroupInfo.Builder builderForValue) Deprecated.Deprecated.addPollerGroupInfos(PollerGroupInfo.Builder builderForValue) Deprecated.Deprecated.addPollerGroupInfosBuilder(int index) Deprecated.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The autogenerated or user specified identifier of this activity.The run ID of the activity execution, only set for standalone activities..temporal.api.common.v1.ActivityType activity_type = 5;Starting at 1, the number of attempts to perform this activityWhen was this task attempt scheduledclearField(com.google.protobuf.Descriptors.FieldDescriptor field) Headers specified by the scheduling workflow.Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.Window within which the activity must report a heartbeat, or be timed out.Arguments to the activity invocationclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Deprecated.The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.Server-advised information the SDK may use to adjust its poller count.Priority metadataThis is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.When was this task first scheduledFirst scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.When was this task started (this attempt)Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.A unique identifier for this taskExecution info of the requesting workflow (if this is a workflow activity)The namespace of the activity.Type of the requesting workflow (if this is a workflow activity).clone()The autogenerated or user specified identifier of this activity.com.google.protobuf.ByteStringThe autogenerated or user specified identifier of this activity.The run ID of the activity execution, only set for standalone activities.com.google.protobuf.ByteStringThe run ID of the activity execution, only set for standalone activities..temporal.api.common.v1.ActivityType activity_type = 5;.temporal.api.common.v1.ActivityType activity_type = 5;.temporal.api.common.v1.ActivityType activity_type = 5;intStarting at 1, the number of attempts to perform this activitycom.google.protobuf.TimestampWhen was this task attempt scheduledcom.google.protobuf.Timestamp.BuilderWhen was this task attempt scheduledcom.google.protobuf.TimestampOrBuilderWhen was this task attempt scheduledstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorHeaders specified by the scheduling workflow.Headers specified by the scheduling workflow.Headers specified by the scheduling workflow.Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.com.google.protobuf.DurationWindow within which the activity must report a heartbeat, or be timed out.com.google.protobuf.Duration.BuilderWindow within which the activity must report a heartbeat, or be timed out.com.google.protobuf.DurationOrBuilderWindow within which the activity must report a heartbeat, or be timed out.getInput()Arguments to the activity invocationArguments to the activity invocationArguments to the activity invocationgetPollerGroupInfos(int index) Deprecated.getPollerGroupInfosBuilder(int index) Deprecated.Deprecated.intDeprecated.Deprecated.getPollerGroupInfosOrBuilder(int index) Deprecated.List<? extends PollerGroupInfoOrBuilder> Deprecated.The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.Server-advised information the SDK may use to adjust its poller count.Server-advised information the SDK may use to adjust its poller count.Server-advised information the SDK may use to adjust its poller count.Priority metadataPriority metadataPriority metadataThis is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.com.google.protobuf.TimestampWhen was this task first scheduledcom.google.protobuf.Timestamp.BuilderWhen was this task first scheduledcom.google.protobuf.TimestampOrBuilderWhen was this task first scheduledcom.google.protobuf.DurationFirst scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.Duration.BuilderFirst scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.DurationOrBuilderFirst scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.TimestampWhen was this task started (this attempt)com.google.protobuf.Timestamp.BuilderWhen was this task started (this attempt)com.google.protobuf.TimestampOrBuilderWhen was this task started (this attempt)com.google.protobuf.DurationCurrent attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.Duration.BuilderCurrent attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.DurationOrBuilderCurrent attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.com.google.protobuf.ByteStringA unique identifier for this taskExecution info of the requesting workflow (if this is a workflow activity)Execution info of the requesting workflow (if this is a workflow activity)Execution info of the requesting workflow (if this is a workflow activity)The namespace of the activity.com.google.protobuf.ByteStringThe namespace of the activity.Type of the requesting workflow (if this is a workflow activity).Type of the requesting workflow (if this is a workflow activity).Type of the requesting workflow (if this is a workflow activity).boolean.temporal.api.common.v1.ActivityType activity_type = 5;booleanWhen was this task attempt scheduledbooleanHeaders specified by the scheduling workflow.booleanDetails of the last heartbeat that was recorded for this activity as of the time this task was delivered.booleanWindow within which the activity must report a heartbeat, or be timed out.booleanhasInput()Arguments to the activity invocationbooleanThe weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.booleanServer-advised information the SDK may use to adjust its poller count.booleanPriority metadatabooleanThis is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.booleanWhen was this task first scheduledbooleanFirst scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.booleanWhen was this task started (this attempt)booleanCurrent attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.booleanExecution info of the requesting workflow (if this is a workflow activity)booleanType of the requesting workflow (if this is a workflow activity).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeActivityType(ActivityType value) .temporal.api.common.v1.ActivityType activity_type = 5;mergeCurrentAttemptScheduledTime(com.google.protobuf.Timestamp value) When was this task attempt scheduledmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHeader(Header value) Headers specified by the scheduling workflow.mergeHeartbeatDetails(Payloads value) Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.mergeHeartbeatTimeout(com.google.protobuf.Duration value) Window within which the activity must report a heartbeat, or be timed out.mergeInput(Payloads value) Arguments to the activity invocationThe weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.Server-advised information the SDK may use to adjust its poller count.mergePriority(Priority value) Priority metadatamergeRetryPolicy(RetryPolicy value) This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.mergeScheduledTime(com.google.protobuf.Timestamp value) When was this task first scheduledmergeScheduleToCloseTimeout(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.mergeStartedTime(com.google.protobuf.Timestamp value) When was this task started (this attempt)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.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Execution info of the requesting workflow (if this is a workflow activity)mergeWorkflowType(WorkflowType value) Type of the requesting workflow (if this is a workflow activity).removePollerGroupInfos(int index) Deprecated.setActivityId(String value) The autogenerated or user specified identifier of this activity.setActivityIdBytes(com.google.protobuf.ByteString value) The autogenerated or user specified identifier of this activity.setActivityRunId(String value) The run ID of the activity execution, only set for standalone activities.setActivityRunIdBytes(com.google.protobuf.ByteString value) The run ID of the activity execution, only set for standalone activities.setActivityType(ActivityType value) .temporal.api.common.v1.ActivityType activity_type = 5;setActivityType(ActivityType.Builder builderForValue) .temporal.api.common.v1.ActivityType activity_type = 5;setAttempt(int value) Starting at 1, the number of attempts to perform this activitysetCurrentAttemptScheduledTime(com.google.protobuf.Timestamp value) When was this task attempt scheduledsetCurrentAttemptScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue) When was this task attempt scheduledHeaders specified by the scheduling workflow.setHeader(Header.Builder builderForValue) Headers specified by the scheduling workflow.setHeartbeatDetails(Payloads value) Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.setHeartbeatDetails(Payloads.Builder builderForValue) Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.setHeartbeatTimeout(com.google.protobuf.Duration value) Window within which the activity must report a heartbeat, or be timed out.setHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue) Window within which the activity must report a heartbeat, or be timed out.Arguments to the activity invocationsetInput(Payloads.Builder builderForValue) Arguments to the activity invocationsetPollerGroupInfos(int index, PollerGroupInfo value) Deprecated.setPollerGroupInfos(int index, PollerGroupInfo.Builder builderForValue) Deprecated.The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.setPollerGroupsInfo(PollerGroupsInfo.Builder builderForValue) The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue.Server-advised information the SDK may use to adjust its poller count.setPollerScalingDecision(PollerScalingDecision.Builder builderForValue) Server-advised information the SDK may use to adjust its poller count.setPriority(Priority value) Priority metadatasetPriority(Priority.Builder builderForValue) Priority metadatasetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRetryPolicy(RetryPolicy value) This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling.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.setScheduledTime(com.google.protobuf.Timestamp value) When was this task first scheduledsetScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue) When was this task first scheduledsetScheduleToCloseTimeout(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.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.setStartedTime(com.google.protobuf.Timestamp value) When was this task started (this attempt)setStartedTime(com.google.protobuf.Timestamp.Builder builderForValue) When was this task started (this attempt)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.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.setTaskToken(com.google.protobuf.ByteString value) A unique identifier for this tasksetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Execution info of the requesting workflow (if this is a workflow activity)setWorkflowExecution(WorkflowExecution.Builder builderForValue) Execution info of the requesting workflow (if this is a workflow activity)setWorkflowNamespace(String value) The namespace of the activity.setWorkflowNamespaceBytes(com.google.protobuf.ByteString value) The namespace of the activity.setWorkflowType(WorkflowType value) Type of the requesting workflow (if this is a workflow activity).setWorkflowType(WorkflowType.Builder builderForValue) Type of the requesting workflow (if this is a workflow activity).Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
setField
public PollActivityTaskQueueResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
clearField
public PollActivityTaskQueueResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
clearOneof
public PollActivityTaskQueueResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
setRepeatedField
public PollActivityTaskQueueResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
addRepeatedField
public PollActivityTaskQueueResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PollActivityTaskQueueResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
mergeFrom
public PollActivityTaskQueueResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PollActivityTaskQueueResponse.Builder>- Throws:
IOException
-
getTaskToken
public com.google.protobuf.ByteString getTaskToken()A unique identifier for this task
bytes task_token = 1;- Specified by:
getTaskTokenin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The taskToken.
-
setTaskToken
A unique identifier for this task
bytes task_token = 1;- Parameters:
value- The taskToken to set.- Returns:
- This builder for chaining.
-
clearTaskToken
A unique identifier for this task
bytes task_token = 1;- Returns:
- This builder for chaining.
-
getWorkflowNamespace
The namespace of the activity. If this is a workflow activity then this is the namespace of the workflow also. If this is a standalone activity then the name of this field is misleading, but retained for compatibility with workflow activities.
string workflow_namespace = 2;- Specified by:
getWorkflowNamespacein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The workflowNamespace.
-
getWorkflowNamespaceBytes
public com.google.protobuf.ByteString getWorkflowNamespaceBytes()The namespace of the activity. If this is a workflow activity then this is the namespace of the workflow also. If this is a standalone activity then the name of this field is misleading, but retained for compatibility with workflow activities.
string workflow_namespace = 2;- Specified by:
getWorkflowNamespaceBytesin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The bytes for workflowNamespace.
-
setWorkflowNamespace
The namespace of the activity. If this is a workflow activity then this is the namespace of the workflow also. If this is a standalone activity then the name of this field is misleading, but retained for compatibility with workflow activities.
string workflow_namespace = 2;- Parameters:
value- The workflowNamespace to set.- Returns:
- This builder for chaining.
-
clearWorkflowNamespace
The namespace of the activity. If this is a workflow activity then this is the namespace of the workflow also. If this is a standalone activity then the name of this field is misleading, but retained for compatibility with workflow activities.
string workflow_namespace = 2;- Returns:
- This builder for chaining.
-
setWorkflowNamespaceBytes
public PollActivityTaskQueueResponse.Builder setWorkflowNamespaceBytes(com.google.protobuf.ByteString value) The namespace of the activity. If this is a workflow activity then this is the namespace of the workflow also. If this is a standalone activity then the name of this field is misleading, but retained for compatibility with workflow activities.
string workflow_namespace = 2;- Parameters:
value- The bytes for workflowNamespace to set.- Returns:
- This builder for chaining.
-
hasWorkflowType
public boolean hasWorkflowType()Type of the requesting workflow (if this is a workflow activity).
.temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
hasWorkflowTypein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
Type of the requesting workflow (if this is a workflow activity).
.temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
getWorkflowTypein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The workflowType.
-
setWorkflowType
Type of the requesting workflow (if this is a workflow activity).
.temporal.api.common.v1.WorkflowType workflow_type = 3; -
setWorkflowType
Type of the requesting workflow (if this is a workflow activity).
.temporal.api.common.v1.WorkflowType workflow_type = 3; -
mergeWorkflowType
Type of the requesting workflow (if this is a workflow activity).
.temporal.api.common.v1.WorkflowType workflow_type = 3; -
clearWorkflowType
Type of the requesting workflow (if this is a workflow activity).
.temporal.api.common.v1.WorkflowType workflow_type = 3; -
getWorkflowTypeBuilder
Type of the requesting workflow (if this is a workflow activity).
.temporal.api.common.v1.WorkflowType workflow_type = 3; -
getWorkflowTypeOrBuilder
Type of the requesting workflow (if this is a workflow activity).
.temporal.api.common.v1.WorkflowType workflow_type = 3;- Specified by:
getWorkflowTypeOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasWorkflowExecution
public boolean hasWorkflowExecution()Execution info of the requesting workflow (if this is a workflow activity)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;- Specified by:
hasWorkflowExecutionin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
Execution info of the requesting workflow (if this is a workflow activity)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;- Specified by:
getWorkflowExecutionin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The workflowExecution.
-
setWorkflowExecution
Execution info of the requesting workflow (if this is a workflow activity)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4; -
setWorkflowExecution
public PollActivityTaskQueueResponse.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue) Execution info of the requesting workflow (if this is a workflow activity)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4; -
mergeWorkflowExecution
Execution info of the requesting workflow (if this is a workflow activity)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4; -
clearWorkflowExecution
Execution info of the requesting workflow (if this is a workflow activity)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4; -
getWorkflowExecutionBuilder
Execution info of the requesting workflow (if this is a workflow activity)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4; -
getWorkflowExecutionOrBuilder
Execution info of the requesting workflow (if this is a workflow activity)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 4;- Specified by:
getWorkflowExecutionOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasActivityType
public boolean hasActivityType().temporal.api.common.v1.ActivityType activity_type = 5;- Specified by:
hasActivityTypein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the activityType field is set.
-
getActivityType
.temporal.api.common.v1.ActivityType activity_type = 5;- Specified by:
getActivityTypein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The activityType.
-
setActivityType
.temporal.api.common.v1.ActivityType activity_type = 5; -
setActivityType
.temporal.api.common.v1.ActivityType activity_type = 5; -
mergeActivityType
.temporal.api.common.v1.ActivityType activity_type = 5; -
clearActivityType
.temporal.api.common.v1.ActivityType activity_type = 5; -
getActivityTypeBuilder
.temporal.api.common.v1.ActivityType activity_type = 5; -
getActivityTypeOrBuilder
.temporal.api.common.v1.ActivityType activity_type = 5;- Specified by:
getActivityTypeOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
getActivityId
The autogenerated or user specified identifier of this activity. Can be used to complete the activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage has resolved, but unique IDs for every activity invocation is a good idea. Note that only a workflow activity ID may be autogenerated.
string activity_id = 6;- Specified by:
getActivityIdin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The activityId.
-
getActivityIdBytes
public com.google.protobuf.ByteString getActivityIdBytes()The autogenerated or user specified identifier of this activity. Can be used to complete the activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage has resolved, but unique IDs for every activity invocation is a good idea. Note that only a workflow activity ID may be autogenerated.
string activity_id = 6;- Specified by:
getActivityIdBytesin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The bytes for activityId.
-
setActivityId
The autogenerated or user specified identifier of this activity. Can be used to complete the activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage has resolved, but unique IDs for every activity invocation is a good idea. Note that only a workflow activity ID may be autogenerated.
string activity_id = 6;- Parameters:
value- The activityId to set.- Returns:
- This builder for chaining.
-
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. Note that only a workflow activity ID may be autogenerated.
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. Note that only a workflow activity ID may be autogenerated.
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:
hasHeaderin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
Headers specified by the scheduling workflow. Commonly used to propagate contextual info from the workflow to its activities. For example, tracing contexts.
.temporal.api.common.v1.Header header = 7;- Specified by:
getHeaderin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The header.
-
setHeader
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
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
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
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
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
Headers specified by the scheduling workflow. Commonly used to propagate contextual info from the workflow to its activities. For example, tracing contexts.
.temporal.api.common.v1.Header header = 7;- Specified by:
getHeaderOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasInput
public boolean hasInput()Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;- Specified by:
hasInputin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the input field is set.
-
getInput
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;- Specified by:
getInputin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The input.
-
setInput
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8; -
setInput
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8; -
mergeInput
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8; -
clearInput
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8; -
getInputBuilder
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8; -
getInputOrBuilder
Arguments to the activity invocation
.temporal.api.common.v1.Payloads input = 8;- Specified by:
getInputOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasHeartbeatDetails
public boolean hasHeartbeatDetails()Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.
.temporal.api.common.v1.Payloads heartbeat_details = 9;- Specified by:
hasHeartbeatDetailsin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the heartbeatDetails field is set.
-
getHeartbeatDetails
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.
.temporal.api.common.v1.Payloads heartbeat_details = 9;- Specified by:
getHeartbeatDetailsin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The heartbeatDetails.
-
setHeartbeatDetails
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
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
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
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
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
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.
.temporal.api.common.v1.Payloads heartbeat_details = 9;- Specified by:
getHeartbeatDetailsOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasScheduledTime
public boolean hasScheduledTime()When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10;- Specified by:
hasScheduledTimein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the scheduledTime field is set.
-
getScheduledTime
public com.google.protobuf.Timestamp getScheduledTime()When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10;- Specified by:
getScheduledTimein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The scheduledTime.
-
setScheduledTime
When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10; -
setScheduledTime
public PollActivityTaskQueueResponse.Builder setScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue) When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10; -
mergeScheduledTime
public PollActivityTaskQueueResponse.Builder mergeScheduledTime(com.google.protobuf.Timestamp value) When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10; -
clearScheduledTime
When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10; -
getScheduledTimeBuilder
public com.google.protobuf.Timestamp.Builder getScheduledTimeBuilder()When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10; -
getScheduledTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()When was this task first scheduled
.google.protobuf.Timestamp scheduled_time = 10;- Specified by:
getScheduledTimeOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasCurrentAttemptScheduledTime
public boolean hasCurrentAttemptScheduledTime()When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11;- Specified by:
hasCurrentAttemptScheduledTimein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the currentAttemptScheduledTime field is set.
-
getCurrentAttemptScheduledTime
public com.google.protobuf.Timestamp getCurrentAttemptScheduledTime()When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11;- Specified by:
getCurrentAttemptScheduledTimein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The currentAttemptScheduledTime.
-
setCurrentAttemptScheduledTime
public PollActivityTaskQueueResponse.Builder setCurrentAttemptScheduledTime(com.google.protobuf.Timestamp value) When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11; -
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; -
mergeCurrentAttemptScheduledTime
public PollActivityTaskQueueResponse.Builder mergeCurrentAttemptScheduledTime(com.google.protobuf.Timestamp value) When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11; -
clearCurrentAttemptScheduledTime
When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11; -
getCurrentAttemptScheduledTimeBuilder
public com.google.protobuf.Timestamp.Builder getCurrentAttemptScheduledTimeBuilder()When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11; -
getCurrentAttemptScheduledTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCurrentAttemptScheduledTimeOrBuilder()When was this task attempt scheduled
.google.protobuf.Timestamp current_attempt_scheduled_time = 11;- Specified by:
getCurrentAttemptScheduledTimeOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasStartedTime
public boolean hasStartedTime()When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12;- Specified by:
hasStartedTimein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the startedTime field is set.
-
getStartedTime
public com.google.protobuf.Timestamp getStartedTime()When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12;- Specified by:
getStartedTimein interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The startedTime.
-
setStartedTime
When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12; -
setStartedTime
public PollActivityTaskQueueResponse.Builder setStartedTime(com.google.protobuf.Timestamp.Builder builderForValue) When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12; -
mergeStartedTime
When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12; -
clearStartedTime
When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12; -
getStartedTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartedTimeBuilder()When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12; -
getStartedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartedTimeOrBuilder()When was this task started (this attempt)
.google.protobuf.Timestamp started_time = 12;- Specified by:
getStartedTimeOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
getAttempt
public int getAttempt()Starting at 1, the number of attempts to perform this activity
int32 attempt = 13;- Specified by:
getAttemptin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The attempt.
-
setAttempt
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
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;- Specified by:
hasScheduleToCloseTimeoutin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the scheduleToCloseTimeout field is set.
-
getScheduleToCloseTimeout
public com.google.protobuf.Duration getScheduleToCloseTimeout()First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 14;- Specified by:
getScheduleToCloseTimeoutin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The scheduleToCloseTimeout.
-
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; -
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; -
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; -
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; -
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; -
getScheduleToCloseTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()First scheduled -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 14;- Specified by:
getScheduleToCloseTimeoutOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasStartToCloseTimeout
public boolean hasStartToCloseTimeout()Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 15;- Specified by:
hasStartToCloseTimeoutin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the startToCloseTimeout field is set.
-
getStartToCloseTimeout
public com.google.protobuf.Duration getStartToCloseTimeout()Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 15;- Specified by:
getStartToCloseTimeoutin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The startToCloseTimeout.
-
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; -
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; -
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; -
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; -
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; -
getStartToCloseTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getStartToCloseTimeoutOrBuilder()Current attempt start -> final result reported timeout (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 15;- Specified by:
getStartToCloseTimeoutOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasHeartbeatTimeout
public boolean hasHeartbeatTimeout()Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16;- Specified by:
hasHeartbeatTimeoutin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the heartbeatTimeout field is set.
-
getHeartbeatTimeout
public com.google.protobuf.Duration getHeartbeatTimeout()Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16;- Specified by:
getHeartbeatTimeoutin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The heartbeatTimeout.
-
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; -
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; -
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; -
clearHeartbeatTimeout
Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16; -
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; -
getHeartbeatTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()Window within which the activity must report a heartbeat, or be timed out.
.google.protobuf.Duration heartbeat_timeout = 16;- Specified by:
getHeartbeatTimeoutOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasRetryPolicy
public boolean hasRetryPolicy()This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling. The service can override the provided one if some values are not specified or exceed configured system limits.
.temporal.api.common.v1.RetryPolicy retry_policy = 17;- Specified by:
hasRetryPolicyin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling. The service can override the provided one if some values are not specified or exceed configured system limits.
.temporal.api.common.v1.RetryPolicy retry_policy = 17;- Specified by:
getRetryPolicyin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The retryPolicy.
-
setRetryPolicy
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
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
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
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
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
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling. The service can override the provided one if some values are not specified or exceed configured system limits.
.temporal.api.common.v1.RetryPolicy retry_policy = 17;- Specified by:
getRetryPolicyOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasPollerScalingDecision
public boolean hasPollerScalingDecision()Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;- Specified by:
hasPollerScalingDecisionin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the pollerScalingDecision field is set.
-
getPollerScalingDecision
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;- Specified by:
getPollerScalingDecisionin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The pollerScalingDecision.
-
setPollerScalingDecision
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18; -
setPollerScalingDecision
public PollActivityTaskQueueResponse.Builder setPollerScalingDecision(PollerScalingDecision.Builder builderForValue) Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18; -
mergePollerScalingDecision
public PollActivityTaskQueueResponse.Builder mergePollerScalingDecision(PollerScalingDecision value) Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18; -
clearPollerScalingDecision
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18; -
getPollerScalingDecisionBuilder
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18; -
getPollerScalingDecisionOrBuilder
Server-advised information the SDK may use to adjust its poller count.
.temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;- Specified by:
getPollerScalingDecisionOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
hasPriority
public boolean hasPriority()Priority metadata
.temporal.api.common.v1.Priority priority = 19;- Specified by:
hasPriorityin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the priority field is set.
-
getPriority
Priority metadata
.temporal.api.common.v1.Priority priority = 19;- Specified by:
getPriorityin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The priority.
-
setPriority
Priority metadata
.temporal.api.common.v1.Priority priority = 19; -
setPriority
Priority metadata
.temporal.api.common.v1.Priority priority = 19; -
mergePriority
Priority metadata
.temporal.api.common.v1.Priority priority = 19; -
clearPriority
Priority metadata
.temporal.api.common.v1.Priority priority = 19; -
getPriorityBuilder
Priority metadata
.temporal.api.common.v1.Priority priority = 19; -
getPriorityOrBuilder
Priority metadata
.temporal.api.common.v1.Priority priority = 19;- Specified by:
getPriorityOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
getActivityRunId
The run ID of the activity execution, only set for standalone activities.
string activity_run_id = 20;- Specified by:
getActivityRunIdin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The activityRunId.
-
getActivityRunIdBytes
public com.google.protobuf.ByteString getActivityRunIdBytes()The run ID of the activity execution, only set for standalone activities.
string activity_run_id = 20;- Specified by:
getActivityRunIdBytesin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The bytes for activityRunId.
-
setActivityRunId
The run ID of the activity execution, only set for standalone activities.
string activity_run_id = 20;- Parameters:
value- The activityRunId to set.- Returns:
- This builder for chaining.
-
clearActivityRunId
The run ID of the activity execution, only set for standalone activities.
string activity_run_id = 20;- Returns:
- This builder for chaining.
-
setActivityRunIdBytes
public PollActivityTaskQueueResponse.Builder setActivityRunIdBytes(com.google.protobuf.ByteString value) The run ID of the activity execution, only set for standalone activities.
string activity_run_id = 20;- Parameters:
value- The bytes for activityRunId to set.- Returns:
- This builder for chaining.
-
getPollerGroupInfosList
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];- Specified by:
getPollerGroupInfosListin interfacePollActivityTaskQueueResponseOrBuilder
-
getPollerGroupInfosCount
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];- Specified by:
getPollerGroupInfosCountin interfacePollActivityTaskQueueResponseOrBuilder
-
getPollerGroupInfos
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];- Specified by:
getPollerGroupInfosin interfacePollActivityTaskQueueResponseOrBuilder
-
setPollerGroupInfos
@Deprecated public PollActivityTaskQueueResponse.Builder setPollerGroupInfos(int index, PollerGroupInfo value) Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true]; -
setPollerGroupInfos
@Deprecated public PollActivityTaskQueueResponse.Builder setPollerGroupInfos(int index, PollerGroupInfo.Builder builderForValue) Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true]; -
addPollerGroupInfos
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true]; -
addPollerGroupInfos
@Deprecated public PollActivityTaskQueueResponse.Builder addPollerGroupInfos(int index, PollerGroupInfo value) Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true]; -
addPollerGroupInfos
@Deprecated public PollActivityTaskQueueResponse.Builder addPollerGroupInfos(PollerGroupInfo.Builder builderForValue) Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true]; -
addPollerGroupInfos
@Deprecated public PollActivityTaskQueueResponse.Builder addPollerGroupInfos(int index, PollerGroupInfo.Builder builderForValue) Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true]; -
addAllPollerGroupInfos
@Deprecated public PollActivityTaskQueueResponse.Builder addAllPollerGroupInfos(Iterable<? extends PollerGroupInfo> values) Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true]; -
clearPollerGroupInfos
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true]; -
removePollerGroupInfos
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true]; -
getPollerGroupInfosBuilder
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true]; -
getPollerGroupInfosOrBuilder
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];- Specified by:
getPollerGroupInfosOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
getPollerGroupInfosOrBuilderList
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];- Specified by:
getPollerGroupInfosOrBuilderListin interfacePollActivityTaskQueueResponseOrBuilder
-
addPollerGroupInfosBuilder
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true]; -
addPollerGroupInfosBuilder
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true]; -
getPollerGroupInfosBuilderList
Deprecated.The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights.repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true]; -
hasPollerGroupsInfo
public boolean hasPollerGroupsInfo()The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue. Client should ignore this if it has already applied a snapshot with a version greater than or equal to `poller_groups_info.version`. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights..temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22;- Specified by:
hasPollerGroupsInfoin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- Whether the pollerGroupsInfo field is set.
-
getPollerGroupsInfo
The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue. Client should ignore this if it has already applied a snapshot with a version greater than or equal to `poller_groups_info.version`. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights..temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22;- Specified by:
getPollerGroupsInfoin interfacePollActivityTaskQueueResponseOrBuilder- Returns:
- The pollerGroupsInfo.
-
setPollerGroupsInfo
The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue. Client should ignore this if it has already applied a snapshot with a version greater than or equal to `poller_groups_info.version`. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights..temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22; -
setPollerGroupsInfo
public PollActivityTaskQueueResponse.Builder setPollerGroupsInfo(PollerGroupsInfo.Builder builderForValue) The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue. Client should ignore this if it has already applied a snapshot with a version greater than or equal to `poller_groups_info.version`. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights..temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22; -
mergePollerGroupsInfo
The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue. Client should ignore this if it has already applied a snapshot with a version greater than or equal to `poller_groups_info.version`. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights..temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22; -
clearPollerGroupsInfo
The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue. Client should ignore this if it has already applied a snapshot with a version greater than or equal to `poller_groups_info.version`. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights..temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22; -
getPollerGroupsInfoBuilder
The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue. Client should ignore this if it has already applied a snapshot with a version greater than or equal to `poller_groups_info.version`. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights..temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22; -
getPollerGroupsInfoOrBuilder
The weighted, versioned list of poller groups IDs that client should use for future polls to this task queue. Client should ignore this if it has already applied a snapshot with a version greater than or equal to `poller_groups_info.version`. Client is expected to: 1. Maintain minimum number of pollers no less than the number of groups. 2. Try to assign the next poll to a group without any pending polls, 3. If every group has some pending polls, assign the next poll to a group randomly according to the weights..temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22;- Specified by:
getPollerGroupsInfoOrBuilderin interfacePollActivityTaskQueueResponseOrBuilder
-
setUnknownFields
public final PollActivityTaskQueueResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-
mergeUnknownFields
public final PollActivityTaskQueueResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
-