Interface PendingActivityInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PendingActivityInfo,PendingActivityInfo.Builder
@Generated(value="protoc",
comments="annotations:PendingActivityInfoOrBuilder.java.pb.meta")
public interface PendingActivityInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstring activity_id = 1;com.google.protobuf.ByteStringstring activity_id = 1;Current activity options.Current activity options..temporal.api.common.v1.ActivityType activity_type = 2;.temporal.api.common.v1.ActivityType activity_type = 2;intint32 attempt = 7;com.google.protobuf.DurationThe time activity will wait until the next retry.com.google.protobuf.DurationOrBuilderThe time activity will wait until the next retry.com.google.protobuf.Timestamp.google.protobuf.Timestamp expiration_time = 10;com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp expiration_time = 10;.temporal.api.common.v1.Payloads heartbeat_details = 4;.temporal.api.common.v1.Payloads heartbeat_details = 4;com.google.protobuf.TimestampThe time when the last activity attempt was completed.com.google.protobuf.TimestampOrBuilderThe time when the last activity attempt was completed.Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_deployment is deprecated.Deprecated.The Worker Deployment Version this activity was dispatched to most recently.The Worker Deployment Version this activity was dispatched to most recently..temporal.api.failure.v1.Failure last_failure = 11;.temporal.api.failure.v1.Failure last_failure = 11;com.google.protobuf.Timestamp.google.protobuf.Timestamp last_heartbeat_time = 5;com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp last_heartbeat_time = 5;Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_independently_assigned_build_id is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.workflow.v1.PendingActivityInfo.last_independently_assigned_build_id is deprecated.com.google.protobuf.Timestamp.google.protobuf.Timestamp last_started_time = 6;com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp last_started_time = 6;Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_worker_deployment_version is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.workflow.v1.PendingActivityInfo.last_worker_deployment_version is deprecated.string last_worker_identity = 12;com.google.protobuf.ByteStringstring last_worker_identity = 12;Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_worker_version_stamp is deprecated.Deprecated.intint32 maximum_attempts = 8;com.google.protobuf.TimestampNext time when activity will be scheduled.com.google.protobuf.TimestampOrBuilderNext time when activity will be scheduled.booleanIndicates if activity is paused..temporal.api.workflow.v1.PendingActivityInfo.PauseInfo pause_info = 23;.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo pause_info = 23;Priority metadata.Priority metadata.com.google.protobuf.Timestamp.google.protobuf.Timestamp scheduled_time = 9;com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp scheduled_time = 9;getState().temporal.api.enums.v1.PendingActivityState state = 3;int.temporal.api.enums.v1.PendingActivityState state = 3;com.google.protobuf.EmptyDeprecated.temporal.api.workflow.v1.PendingActivityInfo.use_workflow_build_id is deprecated.com.google.protobuf.EmptyOrBuilderDeprecated.booleanCurrent activity options.boolean.temporal.api.common.v1.ActivityType activity_type = 2;booleanThe time activity will wait until the next retry.boolean.google.protobuf.Timestamp expiration_time = 10;boolean.temporal.api.common.v1.Payloads heartbeat_details = 4;booleanThe time when the last activity attempt was completed.booleanDeprecated.temporal.api.workflow.v1.PendingActivityInfo.last_deployment is deprecated.booleanThe Worker Deployment Version this activity was dispatched to most recently.boolean.temporal.api.failure.v1.Failure last_failure = 11;boolean.google.protobuf.Timestamp last_heartbeat_time = 5;booleanDeprecated.temporal.api.workflow.v1.PendingActivityInfo.last_independently_assigned_build_id is deprecated.boolean.google.protobuf.Timestamp last_started_time = 6;booleanDeprecated.temporal.api.workflow.v1.PendingActivityInfo.last_worker_version_stamp is deprecated.booleanNext time when activity will be scheduled.boolean.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo pause_info = 23;booleanPriority metadata.boolean.google.protobuf.Timestamp scheduled_time = 9;booleanDeprecated.temporal.api.workflow.v1.PendingActivityInfo.use_workflow_build_id is deprecated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getActivityId
-
getActivityIdBytes
com.google.protobuf.ByteString getActivityIdBytes()string activity_id = 1;- Returns:
- The bytes for activityId.
-
hasActivityType
boolean hasActivityType().temporal.api.common.v1.ActivityType activity_type = 2;- Returns:
- Whether the activityType field is set.
-
getActivityType
ActivityType getActivityType().temporal.api.common.v1.ActivityType activity_type = 2;- Returns:
- The activityType.
-
getActivityTypeOrBuilder
ActivityTypeOrBuilder getActivityTypeOrBuilder().temporal.api.common.v1.ActivityType activity_type = 2; -
getStateValue
int getStateValue().temporal.api.enums.v1.PendingActivityState state = 3;- Returns:
- The enum numeric value on the wire for state.
-
getState
PendingActivityState getState().temporal.api.enums.v1.PendingActivityState state = 3;- Returns:
- The state.
-
hasHeartbeatDetails
boolean hasHeartbeatDetails().temporal.api.common.v1.Payloads heartbeat_details = 4;- Returns:
- Whether the heartbeatDetails field is set.
-
getHeartbeatDetails
Payloads getHeartbeatDetails().temporal.api.common.v1.Payloads heartbeat_details = 4;- Returns:
- The heartbeatDetails.
-
getHeartbeatDetailsOrBuilder
PayloadsOrBuilder getHeartbeatDetailsOrBuilder().temporal.api.common.v1.Payloads heartbeat_details = 4; -
hasLastHeartbeatTime
boolean hasLastHeartbeatTime().google.protobuf.Timestamp last_heartbeat_time = 5;- Returns:
- Whether the lastHeartbeatTime field is set.
-
getLastHeartbeatTime
com.google.protobuf.Timestamp getLastHeartbeatTime().google.protobuf.Timestamp last_heartbeat_time = 5;- Returns:
- The lastHeartbeatTime.
-
getLastHeartbeatTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastHeartbeatTimeOrBuilder().google.protobuf.Timestamp last_heartbeat_time = 5; -
hasLastStartedTime
boolean hasLastStartedTime().google.protobuf.Timestamp last_started_time = 6;- Returns:
- Whether the lastStartedTime field is set.
-
getLastStartedTime
com.google.protobuf.Timestamp getLastStartedTime().google.protobuf.Timestamp last_started_time = 6;- Returns:
- The lastStartedTime.
-
getLastStartedTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastStartedTimeOrBuilder().google.protobuf.Timestamp last_started_time = 6; -
getAttempt
int getAttempt()int32 attempt = 7;- Returns:
- The attempt.
-
getMaximumAttempts
int getMaximumAttempts()int32 maximum_attempts = 8;- Returns:
- The maximumAttempts.
-
hasScheduledTime
boolean hasScheduledTime().google.protobuf.Timestamp scheduled_time = 9;- Returns:
- Whether the scheduledTime field is set.
-
getScheduledTime
com.google.protobuf.Timestamp getScheduledTime().google.protobuf.Timestamp scheduled_time = 9;- Returns:
- The scheduledTime.
-
getScheduledTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder().google.protobuf.Timestamp scheduled_time = 9; -
hasExpirationTime
boolean hasExpirationTime().google.protobuf.Timestamp expiration_time = 10;- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
com.google.protobuf.Timestamp getExpirationTime().google.protobuf.Timestamp expiration_time = 10;- Returns:
- The expirationTime.
-
getExpirationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder().google.protobuf.Timestamp expiration_time = 10; -
hasLastFailure
boolean hasLastFailure().temporal.api.failure.v1.Failure last_failure = 11;- Returns:
- Whether the lastFailure field is set.
-
getLastFailure
Failure getLastFailure().temporal.api.failure.v1.Failure last_failure = 11;- Returns:
- The lastFailure.
-
getLastFailureOrBuilder
FailureOrBuilder getLastFailureOrBuilder().temporal.api.failure.v1.Failure last_failure = 11; -
getLastWorkerIdentity
-
getLastWorkerIdentityBytes
com.google.protobuf.ByteString getLastWorkerIdentityBytes()string last_worker_identity = 12;- Returns:
- The bytes for lastWorkerIdentity.
-
hasUseWorkflowBuildId
Deprecated.temporal.api.workflow.v1.PendingActivityInfo.use_workflow_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=298Deprecated. When present, it means this activity is assigned to the build ID of its workflow.
.google.protobuf.Empty use_workflow_build_id = 13 [deprecated = true];- Returns:
- Whether the useWorkflowBuildId field is set.
-
getUseWorkflowBuildId
Deprecated.temporal.api.workflow.v1.PendingActivityInfo.use_workflow_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=298Deprecated. When present, it means this activity is assigned to the build ID of its workflow.
.google.protobuf.Empty use_workflow_build_id = 13 [deprecated = true];- Returns:
- The useWorkflowBuildId.
-
getUseWorkflowBuildIdOrBuilder
Deprecated.Deprecated. When present, it means this activity is assigned to the build ID of its workflow.
.google.protobuf.Empty use_workflow_build_id = 13 [deprecated = true]; -
hasLastIndependentlyAssignedBuildId
Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_independently_assigned_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=303Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow. The activity will use the build id in this field instead. If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning rules.
string last_independently_assigned_build_id = 14 [deprecated = true];- Returns:
- Whether the lastIndependentlyAssignedBuildId field is set.
-
getLastIndependentlyAssignedBuildId
Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_independently_assigned_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=303Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow. The activity will use the build id in this field instead. If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning rules.
string last_independently_assigned_build_id = 14 [deprecated = true];- Returns:
- The lastIndependentlyAssignedBuildId.
-
getLastIndependentlyAssignedBuildIdBytes
Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_independently_assigned_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=303Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow. The activity will use the build id in this field instead. If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning rules.
string last_independently_assigned_build_id = 14 [deprecated = true];- Returns:
- The bytes for lastIndependentlyAssignedBuildId.
-
hasLastWorkerVersionStamp
Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_worker_version_stamp is deprecated. See temporal/api/workflow/v1/message.proto;l=307Deprecated. The version stamp of the worker to whom this activity was most recently dispatched This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp last_worker_version_stamp = 15 [deprecated = true];- Returns:
- Whether the lastWorkerVersionStamp field is set.
-
getLastWorkerVersionStamp
Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_worker_version_stamp is deprecated. See temporal/api/workflow/v1/message.proto;l=307Deprecated. The version stamp of the worker to whom this activity was most recently dispatched This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp last_worker_version_stamp = 15 [deprecated = true];- Returns:
- The lastWorkerVersionStamp.
-
getLastWorkerVersionStampOrBuilder
Deprecated.Deprecated. The version stamp of the worker to whom this activity was most recently dispatched This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
.temporal.api.common.v1.WorkerVersionStamp last_worker_version_stamp = 15 [deprecated = true]; -
hasCurrentRetryInterval
boolean hasCurrentRetryInterval()The time activity will wait until the next retry. If activity is currently running it will be next retry interval if activity failed. If activity is currently waiting it will be current retry interval. If there will be no retry it will be null.
.google.protobuf.Duration current_retry_interval = 16;- Returns:
- Whether the currentRetryInterval field is set.
-
getCurrentRetryInterval
com.google.protobuf.Duration getCurrentRetryInterval()The time activity will wait until the next retry. If activity is currently running it will be next retry interval if activity failed. If activity is currently waiting it will be current retry interval. If there will be no retry it will be null.
.google.protobuf.Duration current_retry_interval = 16;- Returns:
- The currentRetryInterval.
-
getCurrentRetryIntervalOrBuilder
com.google.protobuf.DurationOrBuilder getCurrentRetryIntervalOrBuilder()The time activity will wait until the next retry. If activity is currently running it will be next retry interval if activity failed. If activity is currently waiting it will be current retry interval. If there will be no retry it will be null.
.google.protobuf.Duration current_retry_interval = 16; -
hasLastAttemptCompleteTime
boolean hasLastAttemptCompleteTime()The time when the last activity attempt was completed. If activity has not been completed yet then it will be null.
.google.protobuf.Timestamp last_attempt_complete_time = 17;- Returns:
- Whether the lastAttemptCompleteTime field is set.
-
getLastAttemptCompleteTime
com.google.protobuf.Timestamp getLastAttemptCompleteTime()The time when the last activity attempt was completed. If activity has not been completed yet then it will be null.
.google.protobuf.Timestamp last_attempt_complete_time = 17;- Returns:
- The lastAttemptCompleteTime.
-
getLastAttemptCompleteTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastAttemptCompleteTimeOrBuilder()The time when the last activity attempt was completed. If activity has not been completed yet then it will be null.
.google.protobuf.Timestamp last_attempt_complete_time = 17; -
hasNextAttemptScheduleTime
boolean hasNextAttemptScheduleTime()Next time when activity will be scheduled. If activity is currently scheduled or started it will be null.
.google.protobuf.Timestamp next_attempt_schedule_time = 18;- Returns:
- Whether the nextAttemptScheduleTime field is set.
-
getNextAttemptScheduleTime
com.google.protobuf.Timestamp getNextAttemptScheduleTime()Next time when activity will be scheduled. If activity is currently scheduled or started it will be null.
.google.protobuf.Timestamp next_attempt_schedule_time = 18;- Returns:
- The nextAttemptScheduleTime.
-
getNextAttemptScheduleTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getNextAttemptScheduleTimeOrBuilder()Next time when activity will be scheduled. If activity is currently scheduled or started it will be null.
.google.protobuf.Timestamp next_attempt_schedule_time = 18; -
getPaused
boolean getPaused()Indicates if activity is paused.
bool paused = 19;- Returns:
- The paused.
-
hasLastDeployment
Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_deployment is deprecated. See temporal/api/workflow/v1/message.proto;l=328The deployment this activity was dispatched to most recently. Present only if the activity was dispatched to a versioned worker. Deprecated. Use `last_deployment_version`.
.temporal.api.deployment.v1.Deployment last_deployment = 20 [deprecated = true];- Returns:
- Whether the lastDeployment field is set.
-
getLastDeployment
Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_deployment is deprecated. See temporal/api/workflow/v1/message.proto;l=328The deployment this activity was dispatched to most recently. Present only if the activity was dispatched to a versioned worker. Deprecated. Use `last_deployment_version`.
.temporal.api.deployment.v1.Deployment last_deployment = 20 [deprecated = true];- Returns:
- The lastDeployment.
-
getLastDeploymentOrBuilder
Deprecated.The deployment this activity was dispatched to most recently. Present only if the activity was dispatched to a versioned worker. Deprecated. Use `last_deployment_version`.
.temporal.api.deployment.v1.Deployment last_deployment = 20 [deprecated = true]; -
getLastWorkerDeploymentVersion
Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_worker_deployment_version is deprecated. See temporal/api/workflow/v1/message.proto;l=331The Worker Deployment Version this activity was dispatched to most recently. Deprecated. Use `last_deployment_version`.
string last_worker_deployment_version = 21 [deprecated = true];- Returns:
- The lastWorkerDeploymentVersion.
-
getLastWorkerDeploymentVersionBytes
Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_worker_deployment_version is deprecated. See temporal/api/workflow/v1/message.proto;l=331The Worker Deployment Version this activity was dispatched to most recently. Deprecated. Use `last_deployment_version`.
string last_worker_deployment_version = 21 [deprecated = true];- Returns:
- The bytes for lastWorkerDeploymentVersion.
-
hasLastDeploymentVersion
boolean hasLastDeploymentVersion()The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;- Returns:
- Whether the lastDeploymentVersion field is set.
-
getLastDeploymentVersion
WorkerDeploymentVersion getLastDeploymentVersion()The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;- Returns:
- The lastDeploymentVersion.
-
getLastDeploymentVersionOrBuilder
WorkerDeploymentVersionOrBuilder getLastDeploymentVersionOrBuilder()The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25; -
hasPriority
boolean hasPriority()Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow.
.temporal.api.common.v1.Priority priority = 22;- Returns:
- Whether the priority field is set.
-
getPriority
Priority getPriority()Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow.
.temporal.api.common.v1.Priority priority = 22;- Returns:
- The priority.
-
getPriorityOrBuilder
PriorityOrBuilder getPriorityOrBuilder()Priority metadata. If this message is not present, or any fields are not present, they inherit the values from the workflow.
.temporal.api.common.v1.Priority priority = 22; -
hasPauseInfo
boolean hasPauseInfo().temporal.api.workflow.v1.PendingActivityInfo.PauseInfo pause_info = 23;- Returns:
- Whether the pauseInfo field is set.
-
getPauseInfo
PendingActivityInfo.PauseInfo getPauseInfo().temporal.api.workflow.v1.PendingActivityInfo.PauseInfo pause_info = 23;- Returns:
- The pauseInfo.
-
getPauseInfoOrBuilder
PendingActivityInfo.PauseInfoOrBuilder getPauseInfoOrBuilder().temporal.api.workflow.v1.PendingActivityInfo.PauseInfo pause_info = 23; -
hasActivityOptions
boolean hasActivityOptions()Current activity options. May be different from the one used to start the activity.
.temporal.api.activity.v1.ActivityOptions activity_options = 24;- Returns:
- Whether the activityOptions field is set.
-
getActivityOptions
ActivityOptions getActivityOptions()Current activity options. May be different from the one used to start the activity.
.temporal.api.activity.v1.ActivityOptions activity_options = 24;- Returns:
- The activityOptions.
-
getActivityOptionsOrBuilder
ActivityOptionsOrBuilder getActivityOptionsOrBuilder()Current activity options. May be different from the one used to start the activity.
.temporal.api.activity.v1.ActivityOptions activity_options = 24; -
getAssignedBuildIdCase
PendingActivityInfo.AssignedBuildIdCase getAssignedBuildIdCase()
-