Class StartActivityExecutionRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflowservice.v1.StartActivityExecutionRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,StartActivityExecutionRequestOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:StartActivityExecutionRequest.java.pb.meta")
public final class StartActivityExecutionRequest
extends com.google.protobuf.GeneratedMessageV3
implements StartActivityExecutionRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.StartActivityExecutionRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetemporal.api.workflowservice.v1.StartActivityExecutionRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanIdentifier for this activity.com.google.protobuf.ByteStringIdentifier for this activity.The type of the activity, a string that corresponds to a registered activity on a worker.The type of the activity, a string that corresponds to a registered activity on a worker.getCompletionCallbacks(int index) Callbacks to be called by the server when this activity reaches a terminal state.intCallbacks to be called by the server when this activity reaches a terminal state.Callbacks to be called by the server when this activity reaches a terminal state.getCompletionCallbacksOrBuilder(int index) Callbacks to be called by the server when this activity reaches a terminal state.List<? extends CallbackOrBuilder> Callbacks to be called by the server when this activity reaches a terminal state.static final com.google.protobuf.Descriptors.DescriptorHeader for context propagation and tracing purposes.Header for context propagation and tracing purposes.com.google.protobuf.DurationMaximum permitted time between successful worker heartbeats.com.google.protobuf.DurationOrBuilderMaximum permitted time between successful worker heartbeats.Defines how to resolve an activity id conflict with a *running* activity.intDefines how to resolve an activity id conflict with a *running* activity.The identity of the client who initiated this requestcom.google.protobuf.ByteStringThe identity of the client who initiated this requestDefines whether to allow re-using the activity id from a previously *closed* activity.intDefines whether to allow re-using the activity id from a previously *closed* activity.getInput()Serialized arguments to the activity.Serialized arguments to the activity.getLinks(int index) Links to be associated with the activity.intLinks to be associated with the activity.Links to be associated with the activity.getLinksOrBuilder(int index) Links to be associated with the activity.List<? extends LinkOrBuilder> Links to be associated with the activity.string namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.com.google.protobuf.Parser<StartActivityExecutionRequest> Priority metadata.Priority metadata.A unique identifier for this start request.com.google.protobuf.ByteStringA unique identifier for this start request.The retry policy for the activity.The retry policy for the activity.com.google.protobuf.DurationIndicates how long the caller is willing to wait for an activity completion.com.google.protobuf.DurationOrBuilderIndicates how long the caller is willing to wait for an activity completion.com.google.protobuf.DurationLimits time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.DurationOrBuilderLimits time an activity task can stay in a task queue before a worker picks it up.Search attributes for indexing.Search attributes for indexing.intcom.google.protobuf.DurationTime to wait before making the first activity task available for dispatch.com.google.protobuf.DurationOrBuilderTime to wait before making the first activity task available for dispatch.com.google.protobuf.DurationMaximum time an activity is allowed to execute after being picked up by a worker.com.google.protobuf.DurationOrBuilderMaximum time an activity is allowed to execute after being picked up by a worker.Task queue to schedule this activity on.Task queue to schedule this activity on.Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.booleanThe type of the activity, a string that corresponds to a registered activity on a worker.inthashCode()booleanHeader for context propagation and tracing purposes.booleanMaximum permitted time between successful worker heartbeats.booleanhasInput()Serialized arguments to the activity.booleanOptions for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.booleanPriority metadata.booleanThe retry policy for the activity.booleanIndicates how long the caller is willing to wait for an activity completion.booleanLimits time an activity task can stay in a task queue before a worker picks it up.booleanSearch attributes for indexing.booleanTime to wait before making the first activity task available for dispatch.booleanMaximum time an activity is allowed to execute after being picked up by a worker.booleanTask queue to schedule this activity on.booleanMetadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(StartActivityExecutionRequest prototype) protected StartActivityExecutionRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StartActivityExecutionRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER- See Also:
-
IDENTITY_FIELD_NUMBER
public static final int IDENTITY_FIELD_NUMBER- See Also:
-
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER- See Also:
-
ACTIVITY_ID_FIELD_NUMBER
public static final int ACTIVITY_ID_FIELD_NUMBER- See Also:
-
ACTIVITY_TYPE_FIELD_NUMBER
public static final int ACTIVITY_TYPE_FIELD_NUMBER- See Also:
-
TASK_QUEUE_FIELD_NUMBER
public static final int TASK_QUEUE_FIELD_NUMBER- See Also:
-
SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER
public static final int SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER- See Also:
-
SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER
public static final int SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER- See Also:
-
START_TO_CLOSE_TIMEOUT_FIELD_NUMBER
public static final int START_TO_CLOSE_TIMEOUT_FIELD_NUMBER- See Also:
-
HEARTBEAT_TIMEOUT_FIELD_NUMBER
public static final int HEARTBEAT_TIMEOUT_FIELD_NUMBER- See Also:
-
RETRY_POLICY_FIELD_NUMBER
public static final int RETRY_POLICY_FIELD_NUMBER- See Also:
-
INPUT_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER- See Also:
-
ID_REUSE_POLICY_FIELD_NUMBER
public static final int ID_REUSE_POLICY_FIELD_NUMBER- See Also:
-
ID_CONFLICT_POLICY_FIELD_NUMBER
public static final int ID_CONFLICT_POLICY_FIELD_NUMBER- See Also:
-
SEARCH_ATTRIBUTES_FIELD_NUMBER
public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER- See Also:
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER- See Also:
-
USER_METADATA_FIELD_NUMBER
public static final int USER_METADATA_FIELD_NUMBER- See Also:
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER- See Also:
-
COMPLETION_CALLBACKS_FIELD_NUMBER
public static final int COMPLETION_CALLBACKS_FIELD_NUMBER- See Also:
-
LINKS_FIELD_NUMBER
public static final int LINKS_FIELD_NUMBER- See Also:
-
ON_CONFLICT_OPTIONS_FIELD_NUMBER
public static final int ON_CONFLICT_OPTIONS_FIELD_NUMBER- See Also:
-
START_DELAY_FIELD_NUMBER
public static final int START_DELAY_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
-
getNamespace
string namespace = 1;- Specified by:
getNamespacein interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()string namespace = 1;- Specified by:
getNamespaceBytesin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The bytes for namespace.
-
getIdentity
The identity of the client who initiated this request
string identity = 2;- Specified by:
getIdentityin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()The identity of the client who initiated this request
string identity = 2;- Specified by:
getIdentityBytesin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The bytes for identity.
-
getRequestId
A unique identifier for this start request. Typically UUIDv4.
string request_id = 3;- Specified by:
getRequestIdin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()A unique identifier for this start request. Typically UUIDv4.
string request_id = 3;- Specified by:
getRequestIdBytesin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The bytes for requestId.
-
getActivityId
Identifier for this activity. Required. This identifier should be meaningful in the user's own system. It must be unique among activities in the same namespace, subject to the rules imposed by id_reuse_policy and id_conflict_policy.
string activity_id = 4;- Specified by:
getActivityIdin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The activityId.
-
getActivityIdBytes
public com.google.protobuf.ByteString getActivityIdBytes()Identifier for this activity. Required. This identifier should be meaningful in the user's own system. It must be unique among activities in the same namespace, subject to the rules imposed by id_reuse_policy and id_conflict_policy.
string activity_id = 4;- Specified by:
getActivityIdBytesin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The bytes for activityId.
-
hasActivityType
public boolean hasActivityType()The type of the activity, a string that corresponds to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 5;- Specified by:
hasActivityTypein interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the activityType field is set.
-
getActivityType
The type of the activity, a string that corresponds to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 5;- Specified by:
getActivityTypein interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The activityType.
-
getActivityTypeOrBuilder
The type of the activity, a string that corresponds to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 5;- Specified by:
getActivityTypeOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasTaskQueue
public boolean hasTaskQueue()Task queue to schedule this activity on.
.temporal.api.taskqueue.v1.TaskQueue task_queue = 6;- Specified by:
hasTaskQueuein interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
Task queue to schedule this activity on.
.temporal.api.taskqueue.v1.TaskQueue task_queue = 6;- Specified by:
getTaskQueuein interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The taskQueue.
-
getTaskQueueOrBuilder
Task queue to schedule this activity on.
.temporal.api.taskqueue.v1.TaskQueue task_queue = 6;- Specified by:
getTaskQueueOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
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 interfaceStartActivityExecutionRequestOrBuilder- 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;- Specified by:
getScheduleToCloseTimeoutin interfaceStartActivityExecutionRequestOrBuilder- 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;- Specified by:
getScheduleToCloseTimeoutOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
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` 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 interfaceStartActivityExecutionRequestOrBuilder- 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` 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 interfaceStartActivityExecutionRequestOrBuilder- 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` 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 interfaceStartActivityExecutionRequestOrBuilder
-
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 interfaceStartActivityExecutionRequestOrBuilder- 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;- Specified by:
getStartToCloseTimeoutin interfaceStartActivityExecutionRequestOrBuilder- 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;- Specified by:
getStartToCloseTimeoutOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasHeartbeatTimeout
public boolean hasHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;- Specified by:
hasHeartbeatTimeoutin interfaceStartActivityExecutionRequestOrBuilder- 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;- Specified by:
getHeartbeatTimeoutin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The heartbeatTimeout.
-
getHeartbeatTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;- Specified by:
getHeartbeatTimeoutOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasRetryPolicy
public boolean hasRetryPolicy()The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;- Specified by:
hasRetryPolicyin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;- Specified by:
getRetryPolicyin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The retryPolicy.
-
getRetryPolicyOrBuilder
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;- Specified by:
getRetryPolicyOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasInput
public boolean hasInput()Serialized arguments to the activity. These are passed as arguments to the activity function.
.temporal.api.common.v1.Payloads input = 12;- Specified by:
hasInputin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the input field is set.
-
getInput
Serialized arguments to the activity. These are passed as arguments to the activity function.
.temporal.api.common.v1.Payloads input = 12;- Specified by:
getInputin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The input.
-
getInputOrBuilder
Serialized arguments to the activity. These are passed as arguments to the activity function.
.temporal.api.common.v1.Payloads input = 12;- Specified by:
getInputOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
getIdReusePolicyValue
public int getIdReusePolicyValue()Defines whether to allow re-using the activity id from a previously *closed* activity. The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.ActivityIdReusePolicy id_reuse_policy = 13;- Specified by:
getIdReusePolicyValuein interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The enum numeric value on the wire for idReusePolicy.
-
getIdReusePolicy
Defines whether to allow re-using the activity id from a previously *closed* activity. The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE.
.temporal.api.enums.v1.ActivityIdReusePolicy id_reuse_policy = 13;- Specified by:
getIdReusePolicyin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The idReusePolicy.
-
getIdConflictPolicyValue
public int getIdConflictPolicyValue()Defines how to resolve an activity id conflict with a *running* activity. The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL.
.temporal.api.enums.v1.ActivityIdConflictPolicy id_conflict_policy = 14;- Specified by:
getIdConflictPolicyValuein interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The enum numeric value on the wire for idConflictPolicy.
-
getIdConflictPolicy
Defines how to resolve an activity id conflict with a *running* activity. The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL.
.temporal.api.enums.v1.ActivityIdConflictPolicy id_conflict_policy = 14;- Specified by:
getIdConflictPolicyin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The idConflictPolicy.
-
hasSearchAttributes
public boolean hasSearchAttributes()Search attributes for indexing.
.temporal.api.common.v1.SearchAttributes search_attributes = 15;- Specified by:
hasSearchAttributesin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
Search attributes for indexing.
.temporal.api.common.v1.SearchAttributes search_attributes = 15;- Specified by:
getSearchAttributesin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The searchAttributes.
-
getSearchAttributesOrBuilder
Search attributes for indexing.
.temporal.api.common.v1.SearchAttributes search_attributes = 15;- Specified by:
getSearchAttributesOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasHeader
public boolean hasHeader()Header for context propagation and tracing purposes.
.temporal.api.common.v1.Header header = 16;- Specified by:
hasHeaderin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
Header for context propagation and tracing purposes.
.temporal.api.common.v1.Header header = 16;- Specified by:
getHeaderin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The header.
-
getHeaderOrBuilder
Header for context propagation and tracing purposes.
.temporal.api.common.v1.Header header = 16;- Specified by:
getHeaderOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasUserMetadata
public boolean hasUserMetadata()Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 17;- Specified by:
hasUserMetadatain interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the userMetadata field is set.
-
getUserMetadata
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 17;- Specified by:
getUserMetadatain interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The userMetadata.
-
getUserMetadataOrBuilder
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 17;- Specified by:
getUserMetadataOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasPriority
public boolean hasPriority()Priority metadata.
.temporal.api.common.v1.Priority priority = 18;- Specified by:
hasPriorityin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the priority field is set.
-
getPriority
Priority metadata.
.temporal.api.common.v1.Priority priority = 18;- Specified by:
getPriorityin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The priority.
-
getPriorityOrBuilder
Priority metadata.
.temporal.api.common.v1.Priority priority = 18;- Specified by:
getPriorityOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
getCompletionCallbacksList
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19;- Specified by:
getCompletionCallbacksListin interfaceStartActivityExecutionRequestOrBuilder
-
getCompletionCallbacksOrBuilderList
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19;- Specified by:
getCompletionCallbacksOrBuilderListin interfaceStartActivityExecutionRequestOrBuilder
-
getCompletionCallbacksCount
public int getCompletionCallbacksCount()Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19;- Specified by:
getCompletionCallbacksCountin interfaceStartActivityExecutionRequestOrBuilder
-
getCompletionCallbacks
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19;- Specified by:
getCompletionCallbacksin interfaceStartActivityExecutionRequestOrBuilder
-
getCompletionCallbacksOrBuilder
Callbacks to be called by the server when this activity reaches a terminal state. Callback addresses must be whitelisted in the server's dynamic configuration.
repeated .temporal.api.common.v1.Callback completion_callbacks = 19;- Specified by:
getCompletionCallbacksOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
getLinksList
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20;- Specified by:
getLinksListin interfaceStartActivityExecutionRequestOrBuilder
-
getLinksOrBuilderList
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20;- Specified by:
getLinksOrBuilderListin interfaceStartActivityExecutionRequestOrBuilder
-
getLinksCount
public int getLinksCount()Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20;- Specified by:
getLinksCountin interfaceStartActivityExecutionRequestOrBuilder
-
getLinks
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20;- Specified by:
getLinksin interfaceStartActivityExecutionRequestOrBuilder
-
getLinksOrBuilder
Links to be associated with the activity. Callbacks may also have associated links; links already included with a callback should not be duplicated here.
repeated .temporal.api.common.v1.Link links = 20;- Specified by:
getLinksOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasOnConflictOptions
public boolean hasOnConflictOptions()Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
.temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;- Specified by:
hasOnConflictOptionsin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the onConflictOptions field is set.
-
getOnConflictOptions
Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
.temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;- Specified by:
getOnConflictOptionsin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The onConflictOptions.
-
getOnConflictOptionsOrBuilder
Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
.temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;- Specified by:
getOnConflictOptionsOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
hasStartDelay
public boolean hasStartDelay()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 22;- Specified by:
hasStartDelayin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- Whether the startDelay field is set.
-
getStartDelay
public com.google.protobuf.Duration getStartDelay()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 22;- Specified by:
getStartDelayin interfaceStartActivityExecutionRequestOrBuilder- Returns:
- The startDelay.
-
getStartDelayOrBuilder
public com.google.protobuf.DurationOrBuilder getStartDelayOrBuilder()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 22;- Specified by:
getStartDelayOrBuilderin interfaceStartActivityExecutionRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- 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 StartActivityExecutionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartActivityExecutionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartActivityExecutionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartActivityExecutionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartActivityExecutionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StartActivityExecutionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StartActivityExecutionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static StartActivityExecutionRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static StartActivityExecutionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static StartActivityExecutionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static StartActivityExecutionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static StartActivityExecutionRequest.Builder newBuilder(StartActivityExecutionRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StartActivityExecutionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-