Package io.temporal.api.history.v1
Class ActivityTaskScheduledEventAttributes
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ActivityTaskScheduledEventAttributesOrBuilder,java.io.Serializable
@Generated(value="protoc", comments="annotations:ActivityTaskScheduledEventAttributes.java.pb.meta") public final class ActivityTaskScheduledEventAttributes extends com.google.protobuf.GeneratedMessageV3 implements ActivityTaskScheduledEventAttributesOrBuilderProtobuf typetemporal.api.history.v1.ActivityTaskScheduledEventAttributes- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActivityTaskScheduledEventAttributes.BuilderProtobuf typetemporal.api.history.v1.ActivityTaskScheduledEventAttributes-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACTIVITY_ID_FIELD_NUMBERstatic intACTIVITY_TYPE_FIELD_NUMBERstatic intHEADER_FIELD_NUMBERstatic intHEARTBEAT_TIMEOUT_FIELD_NUMBERstatic intINPUT_FIELD_NUMBERstatic intRETRY_POLICY_FIELD_NUMBERstatic intSCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBERstatic intSCHEDULE_TO_START_TIMEOUT_FIELD_NUMBERstatic intSTART_TO_CLOSE_TIMEOUT_FIELD_NUMBERstatic intTASK_QUEUE_FIELD_NUMBERstatic intUSE_WORKFLOW_BUILD_ID_FIELD_NUMBERstatic intWORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetActivityId()The worker/user assigned identifier for the activitycom.google.protobuf.ByteStringgetActivityIdBytes()The worker/user assigned identifier for the activityActivityTypegetActivityType().temporal.api.common.v1.ActivityType activity_type = 2;ActivityTypeOrBuildergetActivityTypeOrBuilder().temporal.api.common.v1.ActivityType activity_type = 2;static ActivityTaskScheduledEventAttributesgetDefaultInstance()ActivityTaskScheduledEventAttributesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()HeadergetHeader().temporal.api.common.v1.Header header = 5;HeaderOrBuildergetHeaderOrBuilder().temporal.api.common.v1.Header header = 5;DurationgetHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.DurationOrBuildergetHeartbeatTimeoutOrBuilder()Maximum permitted time between successful worker heartbeats.PayloadsgetInput().temporal.api.common.v1.Payloads input = 6;PayloadsOrBuildergetInputOrBuilder().temporal.api.common.v1.Payloads input = 6;com.google.protobuf.Parser<ActivityTaskScheduledEventAttributes>getParserForType()RetryPolicygetRetryPolicy()Activities are assigned a default retry policy controlled by the service's dynamic configuration.RetryPolicyOrBuildergetRetryPolicyOrBuilder()Activities are assigned a default retry policy controlled by the service's dynamic configuration.DurationgetScheduleToCloseTimeout()Indicates how long the caller is willing to wait for an activity completion.DurationOrBuildergetScheduleToCloseTimeoutOrBuilder()Indicates how long the caller is willing to wait for an activity completion.DurationgetScheduleToStartTimeout()Limits time an activity task can stay in a task queue before a worker picks it up.DurationOrBuildergetScheduleToStartTimeoutOrBuilder()Limits time an activity task can stay in a task queue before a worker picks it up.intgetSerializedSize()DurationgetStartToCloseTimeout()Maximum time an activity is allowed to execute after being picked up by a worker.DurationOrBuildergetStartToCloseTimeoutOrBuilder()Maximum time an activity is allowed to execute after being picked up by a worker.TaskQueuegetTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 4;TaskQueueOrBuildergetTaskQueueOrBuilder().temporal.api.taskqueue.v1.TaskQueue task_queue = 4;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleangetUseWorkflowBuildId()If this is set, the activity would be assigned to the Build ID of the workflow.longgetWorkflowTaskCompletedEventId()The `WORKFLOW_TASK_COMPLETED` event which this command was reported withbooleanhasActivityType().temporal.api.common.v1.ActivityType activity_type = 2;inthashCode()booleanhasHeader().temporal.api.common.v1.Header header = 5;booleanhasHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.booleanhasInput().temporal.api.common.v1.Payloads input = 6;booleanhasRetryPolicy()Activities are assigned a default retry policy controlled by the service's dynamic configuration.booleanhasScheduleToCloseTimeout()Indicates how long the caller is willing to wait for an activity completion.booleanhasScheduleToStartTimeout()Limits time an activity task can stay in a task queue before a worker picks it up.booleanhasStartToCloseTimeout()Maximum time an activity is allowed to execute after being picked up by a worker.booleanhasTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ActivityTaskScheduledEventAttributes.BuildernewBuilder()static ActivityTaskScheduledEventAttributes.BuildernewBuilder(ActivityTaskScheduledEventAttributes prototype)ActivityTaskScheduledEventAttributes.BuildernewBuilderForType()protected ActivityTaskScheduledEventAttributes.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ActivityTaskScheduledEventAttributesparseDelimitedFrom(java.io.InputStream input)static ActivityTaskScheduledEventAttributesparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ActivityTaskScheduledEventAttributesparseFrom(byte[] data)static ActivityTaskScheduledEventAttributesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ActivityTaskScheduledEventAttributesparseFrom(com.google.protobuf.ByteString data)static ActivityTaskScheduledEventAttributesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ActivityTaskScheduledEventAttributesparseFrom(com.google.protobuf.CodedInputStream input)static ActivityTaskScheduledEventAttributesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ActivityTaskScheduledEventAttributesparseFrom(java.io.InputStream input)static ActivityTaskScheduledEventAttributesparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ActivityTaskScheduledEventAttributesparseFrom(java.nio.ByteBuffer data)static ActivityTaskScheduledEventAttributesparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ActivityTaskScheduledEventAttributes>parser()ActivityTaskScheduledEventAttributes.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ACTIVITY_ID_FIELD_NUMBER
public static final int ACTIVITY_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIVITY_TYPE_FIELD_NUMBER
public static final int ACTIVITY_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TASK_QUEUE_FIELD_NUMBER
public static final int TASK_QUEUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER
public static final int SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER
public static final int SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TO_CLOSE_TIMEOUT_FIELD_NUMBER
public static final int START_TO_CLOSE_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEARTBEAT_TIMEOUT_FIELD_NUMBER
public static final int HEARTBEAT_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER
public static final int WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETRY_POLICY_FIELD_NUMBER
public static final int RETRY_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USE_WORKFLOW_BUILD_ID_FIELD_NUMBER
public static final int USE_WORKFLOW_BUILD_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getActivityId
public java.lang.String getActivityId()
The worker/user assigned identifier for the activity
string activity_id = 1;- Specified by:
getActivityIdin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- The activityId.
-
getActivityIdBytes
public com.google.protobuf.ByteString getActivityIdBytes()
The worker/user assigned identifier for the activity
string activity_id = 1;- Specified by:
getActivityIdBytesin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- The bytes for activityId.
-
hasActivityType
public boolean hasActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;- Specified by:
hasActivityTypein interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- Whether the activityType field is set.
-
getActivityType
public ActivityType getActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;- Specified by:
getActivityTypein interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- The activityType.
-
getActivityTypeOrBuilder
public ActivityTypeOrBuilder getActivityTypeOrBuilder()
.temporal.api.common.v1.ActivityType activity_type = 2;- Specified by:
getActivityTypeOrBuilderin interfaceActivityTaskScheduledEventAttributesOrBuilder
-
hasTaskQueue
public boolean hasTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;- Specified by:
hasTaskQueuein interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
public TaskQueue getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;- Specified by:
getTaskQueuein interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- The taskQueue.
-
getTaskQueueOrBuilder
public TaskQueueOrBuilder getTaskQueueOrBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;- Specified by:
getTaskQueueOrBuilderin interfaceActivityTaskScheduledEventAttributesOrBuilder
-
hasHeader
public boolean hasHeader()
.temporal.api.common.v1.Header header = 5;- Specified by:
hasHeaderin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
public Header getHeader()
.temporal.api.common.v1.Header header = 5;- Specified by:
getHeaderin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- The header.
-
getHeaderOrBuilder
public HeaderOrBuilder getHeaderOrBuilder()
.temporal.api.common.v1.Header header = 5;- Specified by:
getHeaderOrBuilderin interfaceActivityTaskScheduledEventAttributesOrBuilder
-
hasInput
public boolean hasInput()
.temporal.api.common.v1.Payloads input = 6;- Specified by:
hasInputin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- Whether the input field is set.
-
getInput
public Payloads getInput()
.temporal.api.common.v1.Payloads input = 6;- Specified by:
getInputin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- The input.
-
getInputOrBuilder
public PayloadsOrBuilder getInputOrBuilder()
.temporal.api.common.v1.Payloads input = 6;- Specified by:
getInputOrBuilderin interfaceActivityTaskScheduledEventAttributesOrBuilder
-
hasScheduleToCloseTimeout
public boolean hasScheduleToCloseTimeout()
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;- Specified by:
hasScheduleToCloseTimeoutin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- Whether the scheduleToCloseTimeout field is set.
-
getScheduleToCloseTimeout
public Duration getScheduleToCloseTimeout()
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;- Specified by:
getScheduleToCloseTimeoutin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- The scheduleToCloseTimeout.
-
getScheduleToCloseTimeoutOrBuilder
public DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;- Specified by:
getScheduleToCloseTimeoutOrBuilderin interfaceActivityTaskScheduledEventAttributesOrBuilder
-
hasScheduleToStartTimeout
public boolean hasScheduleToStartTimeout()
Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;- Specified by:
hasScheduleToStartTimeoutin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- Whether the scheduleToStartTimeout field is set.
-
getScheduleToStartTimeout
public Duration getScheduleToStartTimeout()
Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;- Specified by:
getScheduleToStartTimeoutin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- The scheduleToStartTimeout.
-
getScheduleToStartTimeoutOrBuilder
public DurationOrBuilder getScheduleToStartTimeoutOrBuilder()
Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;- Specified by:
getScheduleToStartTimeoutOrBuilderin interfaceActivityTaskScheduledEventAttributesOrBuilder
-
hasStartToCloseTimeout
public boolean hasStartToCloseTimeout()
Maximum time an activity is allowed to execute after being picked up by a worker. This timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9;- Specified by:
hasStartToCloseTimeoutin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- Whether the startToCloseTimeout field is set.
-
getStartToCloseTimeout
public Duration getStartToCloseTimeout()
Maximum time an activity is allowed to execute after being picked up by a worker. This timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9;- Specified by:
getStartToCloseTimeoutin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- The startToCloseTimeout.
-
getStartToCloseTimeoutOrBuilder
public DurationOrBuilder getStartToCloseTimeoutOrBuilder()
Maximum time an activity is allowed to execute after being picked up by a worker. This timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9;- Specified by:
getStartToCloseTimeoutOrBuilderin interfaceActivityTaskScheduledEventAttributesOrBuilder
-
hasHeartbeatTimeout
public boolean hasHeartbeatTimeout()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;- Specified by:
hasHeartbeatTimeoutin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- Whether the heartbeatTimeout field is set.
-
getHeartbeatTimeout
public Duration getHeartbeatTimeout()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;- Specified by:
getHeartbeatTimeoutin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- The heartbeatTimeout.
-
getHeartbeatTimeoutOrBuilder
public DurationOrBuilder getHeartbeatTimeoutOrBuilder()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;- Specified by:
getHeartbeatTimeoutOrBuilderin interfaceActivityTaskScheduledEventAttributesOrBuilder
-
getWorkflowTaskCompletedEventId
public long getWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
int64 workflow_task_completed_event_id = 11;- Specified by:
getWorkflowTaskCompletedEventIdin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- The workflowTaskCompletedEventId.
-
hasRetryPolicy
public boolean hasRetryPolicy()
Activities are assigned a default retry policy controlled by the service's dynamic configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set retry_policy.maximum_attempts to 1.
.temporal.api.common.v1.RetryPolicy retry_policy = 12;- Specified by:
hasRetryPolicyin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
public RetryPolicy getRetryPolicy()
Activities are assigned a default retry policy controlled by the service's dynamic configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set retry_policy.maximum_attempts to 1.
.temporal.api.common.v1.RetryPolicy retry_policy = 12;- Specified by:
getRetryPolicyin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- The retryPolicy.
-
getRetryPolicyOrBuilder
public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
Activities are assigned a default retry policy controlled by the service's dynamic configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set retry_policy.maximum_attempts to 1.
.temporal.api.common.v1.RetryPolicy retry_policy = 12;- Specified by:
getRetryPolicyOrBuilderin interfaceActivityTaskScheduledEventAttributesOrBuilder
-
getUseWorkflowBuildId
public boolean getUseWorkflowBuildId()
If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise, Assignment rules of the activity's Task Queue will be used to determine the Build ID.
bool use_workflow_build_id = 13;- Specified by:
getUseWorkflowBuildIdin interfaceActivityTaskScheduledEventAttributesOrBuilder- Returns:
- The useWorkflowBuildId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ActivityTaskScheduledEventAttributes parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityTaskScheduledEventAttributes parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityTaskScheduledEventAttributes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityTaskScheduledEventAttributes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityTaskScheduledEventAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityTaskScheduledEventAttributes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityTaskScheduledEventAttributes parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ActivityTaskScheduledEventAttributes parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ActivityTaskScheduledEventAttributes parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ActivityTaskScheduledEventAttributes parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ActivityTaskScheduledEventAttributes parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ActivityTaskScheduledEventAttributes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ActivityTaskScheduledEventAttributes.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ActivityTaskScheduledEventAttributes.Builder newBuilder()
-
newBuilder
public static ActivityTaskScheduledEventAttributes.Builder newBuilder(ActivityTaskScheduledEventAttributes prototype)
-
toBuilder
public ActivityTaskScheduledEventAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ActivityTaskScheduledEventAttributes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ActivityTaskScheduledEventAttributes getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ActivityTaskScheduledEventAttributes> parser()
-
getParserForType
public com.google.protobuf.Parser<ActivityTaskScheduledEventAttributes> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ActivityTaskScheduledEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-