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 ActivityTaskScheduledEventAttributesOrBuilder
Protobuf typetemporal.api.history.v1.ActivityTaskScheduledEventAttributes
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActivityTaskScheduledEventAttributes.Builder
Protobuf 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 int
ACTIVITY_ID_FIELD_NUMBER
static int
ACTIVITY_TYPE_FIELD_NUMBER
static int
HEADER_FIELD_NUMBER
static int
HEARTBEAT_TIMEOUT_FIELD_NUMBER
static int
INPUT_FIELD_NUMBER
static int
RETRY_POLICY_FIELD_NUMBER
static int
SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER
static int
SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER
static int
START_TO_CLOSE_TIMEOUT_FIELD_NUMBER
static int
TASK_QUEUE_FIELD_NUMBER
static int
USE_COMPATIBLE_VERSION_FIELD_NUMBER
static int
WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getActivityId()
The worker/user assigned identifier for the activitycom.google.protobuf.ByteString
getActivityIdBytes()
The worker/user assigned identifier for the activityActivityType
getActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;
ActivityTypeOrBuilder
getActivityTypeOrBuilder()
.temporal.api.common.v1.ActivityType activity_type = 2;
static ActivityTaskScheduledEventAttributes
getDefaultInstance()
ActivityTaskScheduledEventAttributes
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Header
getHeader()
.temporal.api.common.v1.Header header = 5;
HeaderOrBuilder
getHeaderOrBuilder()
.temporal.api.common.v1.Header header = 5;
com.google.protobuf.Duration
getHeartbeatTimeout()
Maximum permitted time between successful worker heartbeats.com.google.protobuf.DurationOrBuilder
getHeartbeatTimeoutOrBuilder()
Maximum permitted time between successful worker heartbeats.Payloads
getInput()
.temporal.api.common.v1.Payloads input = 6;
PayloadsOrBuilder
getInputOrBuilder()
.temporal.api.common.v1.Payloads input = 6;
com.google.protobuf.Parser<ActivityTaskScheduledEventAttributes>
getParserForType()
RetryPolicy
getRetryPolicy()
Activities are assigned a default retry policy controlled by the service's dynamic configuration.RetryPolicyOrBuilder
getRetryPolicyOrBuilder()
Activities are assigned a default retry policy controlled by the service's dynamic configuration.com.google.protobuf.Duration
getScheduleToCloseTimeout()
Indicates how long the caller is willing to wait for an activity completion.com.google.protobuf.DurationOrBuilder
getScheduleToCloseTimeoutOrBuilder()
Indicates how long the caller is willing to wait for an activity completion.com.google.protobuf.Duration
getScheduleToStartTimeout()
Limits time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.DurationOrBuilder
getScheduleToStartTimeoutOrBuilder()
Limits time an activity task can stay in a task queue before a worker picks it up.int
getSerializedSize()
com.google.protobuf.Duration
getStartToCloseTimeout()
Maximum time an activity is allowed to execute after being picked up by a worker.com.google.protobuf.DurationOrBuilder
getStartToCloseTimeoutOrBuilder()
Maximum time an activity is allowed to execute after being picked up by a worker.TaskQueue
getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
TaskQueueOrBuilder
getTaskQueueOrBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
getUseCompatibleVersion()
If this is set, the workflow executing this command wishes to start the activity using a version compatible with the version that this workflow most recently ran on, if such behavior is possible.long
getWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event which this command was reported withboolean
hasActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;
int
hashCode()
boolean
hasHeader()
.temporal.api.common.v1.Header header = 5;
boolean
hasHeartbeatTimeout()
Maximum permitted time between successful worker heartbeats.boolean
hasInput()
.temporal.api.common.v1.Payloads input = 6;
boolean
hasRetryPolicy()
Activities are assigned a default retry policy controlled by the service's dynamic configuration.boolean
hasScheduleToCloseTimeout()
Indicates how long the caller is willing to wait for an activity completion.boolean
hasScheduleToStartTimeout()
Limits time an activity task can stay in a task queue before a worker picks it up.boolean
hasStartToCloseTimeout()
Maximum time an activity is allowed to execute after being picked up by a worker.boolean
hasTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ActivityTaskScheduledEventAttributes.Builder
newBuilder()
static ActivityTaskScheduledEventAttributes.Builder
newBuilder(ActivityTaskScheduledEventAttributes prototype)
ActivityTaskScheduledEventAttributes.Builder
newBuilderForType()
protected ActivityTaskScheduledEventAttributes.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ActivityTaskScheduledEventAttributes
parseDelimitedFrom(java.io.InputStream input)
static ActivityTaskScheduledEventAttributes
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ActivityTaskScheduledEventAttributes
parseFrom(byte[] data)
static ActivityTaskScheduledEventAttributes
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ActivityTaskScheduledEventAttributes
parseFrom(com.google.protobuf.ByteString data)
static ActivityTaskScheduledEventAttributes
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ActivityTaskScheduledEventAttributes
parseFrom(com.google.protobuf.CodedInputStream input)
static ActivityTaskScheduledEventAttributes
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ActivityTaskScheduledEventAttributes
parseFrom(java.io.InputStream input)
static ActivityTaskScheduledEventAttributes
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ActivityTaskScheduledEventAttributes
parseFrom(java.nio.ByteBuffer data)
static ActivityTaskScheduledEventAttributes
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ActivityTaskScheduledEventAttributes>
parser()
ActivityTaskScheduledEventAttributes.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
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_COMPATIBLE_VERSION_FIELD_NUMBER
public static final int USE_COMPATIBLE_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getActivityId
public java.lang.String getActivityId()
The worker/user assigned identifier for the activity
string activity_id = 1;
- Specified by:
getActivityId
in 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:
getActivityIdBytes
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- The bytes for activityId.
-
hasActivityType
public boolean hasActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;
- Specified by:
hasActivityType
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- Whether the activityType field is set.
-
getActivityType
public ActivityType getActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;
- Specified by:
getActivityType
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- The activityType.
-
getActivityTypeOrBuilder
public ActivityTypeOrBuilder getActivityTypeOrBuilder()
.temporal.api.common.v1.ActivityType activity_type = 2;
- Specified by:
getActivityTypeOrBuilder
in interfaceActivityTaskScheduledEventAttributesOrBuilder
-
hasTaskQueue
public boolean hasTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- Specified by:
hasTaskQueue
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
public TaskQueue getTaskQueue()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- Specified by:
getTaskQueue
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- The taskQueue.
-
getTaskQueueOrBuilder
public TaskQueueOrBuilder getTaskQueueOrBuilder()
.temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
- Specified by:
getTaskQueueOrBuilder
in interfaceActivityTaskScheduledEventAttributesOrBuilder
-
hasHeader
public boolean hasHeader()
.temporal.api.common.v1.Header header = 5;
- Specified by:
hasHeader
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- Whether the header field is set.
-
getHeader
public Header getHeader()
.temporal.api.common.v1.Header header = 5;
- Specified by:
getHeader
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- The header.
-
getHeaderOrBuilder
public HeaderOrBuilder getHeaderOrBuilder()
.temporal.api.common.v1.Header header = 5;
- Specified by:
getHeaderOrBuilder
in interfaceActivityTaskScheduledEventAttributesOrBuilder
-
hasInput
public boolean hasInput()
.temporal.api.common.v1.Payloads input = 6;
- Specified by:
hasInput
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- Whether the input field is set.
-
getInput
public Payloads getInput()
.temporal.api.common.v1.Payloads input = 6;
- Specified by:
getInput
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- The input.
-
getInputOrBuilder
public PayloadsOrBuilder getInputOrBuilder()
.temporal.api.common.v1.Payloads input = 6;
- Specified by:
getInputOrBuilder
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
hasScheduleToCloseTimeout
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- Whether the scheduleToCloseTimeout field is set.
-
getScheduleToCloseTimeout
public com.google.protobuf.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 [(.gogoproto.stdduration) = true];
- Specified by:
getScheduleToCloseTimeout
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- The scheduleToCloseTimeout.
-
getScheduleToCloseTimeoutOrBuilder
public com.google.protobuf.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 [(.gogoproto.stdduration) = true];
- Specified by:
getScheduleToCloseTimeoutOrBuilder
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
hasScheduleToStartTimeout
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- Whether the scheduleToStartTimeout field is set.
-
getScheduleToStartTimeout
public com.google.protobuf.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 [(.gogoproto.stdduration) = true];
- Specified by:
getScheduleToStartTimeout
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- The scheduleToStartTimeout.
-
getScheduleToStartTimeoutOrBuilder
public com.google.protobuf.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 [(.gogoproto.stdduration) = true];
- Specified by:
getScheduleToStartTimeoutOrBuilder
in 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 [(.gogoproto.stdduration) = true];
- Specified by:
hasStartToCloseTimeout
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- Whether the startToCloseTimeout field is set.
-
getStartToCloseTimeout
public com.google.protobuf.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 [(.gogoproto.stdduration) = true];
- Specified by:
getStartToCloseTimeout
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- The startToCloseTimeout.
-
getStartToCloseTimeoutOrBuilder
public com.google.protobuf.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 [(.gogoproto.stdduration) = true];
- Specified by:
getStartToCloseTimeoutOrBuilder
in interfaceActivityTaskScheduledEventAttributesOrBuilder
-
hasHeartbeatTimeout
public boolean hasHeartbeatTimeout()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10 [(.gogoproto.stdduration) = true];
- Specified by:
hasHeartbeatTimeout
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- Whether the heartbeatTimeout field is set.
-
getHeartbeatTimeout
public com.google.protobuf.Duration getHeartbeatTimeout()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10 [(.gogoproto.stdduration) = true];
- Specified by:
getHeartbeatTimeout
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- The heartbeatTimeout.
-
getHeartbeatTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10 [(.gogoproto.stdduration) = true];
- Specified by:
getHeartbeatTimeoutOrBuilder
in 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:
getWorkflowTaskCompletedEventId
in 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:
hasRetryPolicy
in 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:
getRetryPolicy
in 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:
getRetryPolicyOrBuilder
in interfaceActivityTaskScheduledEventAttributesOrBuilder
-
getUseCompatibleVersion
public boolean getUseCompatibleVersion()
If this is set, the workflow executing this command wishes to start the activity using a version compatible with the version that this workflow most recently ran on, if such behavior is possible.
bool use_compatible_version = 13;
- Specified by:
getUseCompatibleVersion
in interfaceActivityTaskScheduledEventAttributesOrBuilder
- Returns:
- The useCompatibleVersion.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ActivityTaskScheduledEventAttributes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ActivityTaskScheduledEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-