Package io.temporal.api.workflow.v1
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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetActivityId()string activity_id = 1;com.google.protobuf.ByteStringgetActivityIdBytes()string activity_id = 1;ActivityTypegetActivityType().temporal.api.common.v1.ActivityType activity_type = 2;ActivityTypeOrBuildergetActivityTypeOrBuilder().temporal.api.common.v1.ActivityType activity_type = 2;PendingActivityInfo.AssignedBuildIdCasegetAssignedBuildIdCase()intgetAttempt()int32 attempt = 7;com.google.protobuf.DurationgetCurrentRetryInterval()The time activity will wait until the next retry.com.google.protobuf.DurationOrBuildergetCurrentRetryIntervalOrBuilder()The time activity will wait until the next retry.com.google.protobuf.TimestampgetExpirationTime().google.protobuf.Timestamp expiration_time = 10;com.google.protobuf.TimestampOrBuildergetExpirationTimeOrBuilder().google.protobuf.Timestamp expiration_time = 10;PayloadsgetHeartbeatDetails().temporal.api.common.v1.Payloads heartbeat_details = 4;PayloadsOrBuildergetHeartbeatDetailsOrBuilder().temporal.api.common.v1.Payloads heartbeat_details = 4;com.google.protobuf.TimestampgetLastAttemptCompleteTime()The time when the last activity attempt was completed.com.google.protobuf.TimestampOrBuildergetLastAttemptCompleteTimeOrBuilder()The time when the last activity attempt was completed.DeploymentgetLastDeployment()Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_deployment is deprecated.DeploymentOrBuildergetLastDeploymentOrBuilder()Deprecated.FailuregetLastFailure().temporal.api.failure.v1.Failure last_failure = 11;FailureOrBuildergetLastFailureOrBuilder().temporal.api.failure.v1.Failure last_failure = 11;com.google.protobuf.TimestampgetLastHeartbeatTime().google.protobuf.Timestamp last_heartbeat_time = 5;com.google.protobuf.TimestampOrBuildergetLastHeartbeatTimeOrBuilder().google.protobuf.Timestamp last_heartbeat_time = 5;java.lang.StringgetLastIndependentlyAssignedBuildId()This means the activity is independently versioned and not bound to the build ID of its workflow.com.google.protobuf.ByteStringgetLastIndependentlyAssignedBuildIdBytes()This means the activity is independently versioned and not bound to the build ID of its workflow.com.google.protobuf.TimestampgetLastStartedTime().google.protobuf.Timestamp last_started_time = 6;com.google.protobuf.TimestampOrBuildergetLastStartedTimeOrBuilder().google.protobuf.Timestamp last_started_time = 6;java.lang.StringgetLastWorkerDeploymentVersion()The Worker Deployment Version this activity was dispatched to most recently.com.google.protobuf.ByteStringgetLastWorkerDeploymentVersionBytes()The Worker Deployment Version this activity was dispatched to most recently.java.lang.StringgetLastWorkerIdentity()string last_worker_identity = 12;com.google.protobuf.ByteStringgetLastWorkerIdentityBytes()string last_worker_identity = 12;WorkerVersionStampgetLastWorkerVersionStamp()The version stamp of the worker to whom this activity was most recently dispatched Deprecated.WorkerVersionStampOrBuildergetLastWorkerVersionStampOrBuilder()The version stamp of the worker to whom this activity was most recently dispatched Deprecated.intgetMaximumAttempts()int32 maximum_attempts = 8;com.google.protobuf.TimestampgetNextAttemptScheduleTime()Next time when activity will be scheduled.com.google.protobuf.TimestampOrBuildergetNextAttemptScheduleTimeOrBuilder()Next time when activity will be scheduled.booleangetPaused()Indicates if activity is paused.com.google.protobuf.TimestampgetScheduledTime().google.protobuf.Timestamp scheduled_time = 9;com.google.protobuf.TimestampOrBuildergetScheduledTimeOrBuilder().google.protobuf.Timestamp scheduled_time = 9;PendingActivityStategetState().temporal.api.enums.v1.PendingActivityState state = 3;intgetStateValue().temporal.api.enums.v1.PendingActivityState state = 3;com.google.protobuf.EmptygetUseWorkflowBuildId()When present, it means this activity is assigned to the build ID of its workflow.com.google.protobuf.EmptyOrBuildergetUseWorkflowBuildIdOrBuilder()When present, it means this activity is assigned to the build ID of its workflow.booleanhasActivityType().temporal.api.common.v1.ActivityType activity_type = 2;booleanhasCurrentRetryInterval()The time activity will wait until the next retry.booleanhasExpirationTime().google.protobuf.Timestamp expiration_time = 10;booleanhasHeartbeatDetails().temporal.api.common.v1.Payloads heartbeat_details = 4;booleanhasLastAttemptCompleteTime()The time when the last activity attempt was completed.booleanhasLastDeployment()Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_deployment is deprecated.booleanhasLastFailure().temporal.api.failure.v1.Failure last_failure = 11;booleanhasLastHeartbeatTime().google.protobuf.Timestamp last_heartbeat_time = 5;booleanhasLastIndependentlyAssignedBuildId()This means the activity is independently versioned and not bound to the build ID of its workflow.booleanhasLastStartedTime().google.protobuf.Timestamp last_started_time = 6;booleanhasLastWorkerVersionStamp()The version stamp of the worker to whom this activity was most recently dispatched Deprecated.booleanhasNextAttemptScheduleTime()Next time when activity will be scheduled.booleanhasScheduledTime().google.protobuf.Timestamp scheduled_time = 9;booleanhasUseWorkflowBuildId()When present, it means this activity is assigned to the build ID of its workflow.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getActivityId
java.lang.String getActivityId()
string activity_id = 1;- Returns:
- The activityId.
-
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
java.lang.String getLastWorkerIdentity()
string last_worker_identity = 12;- Returns:
- The lastWorkerIdentity.
-
getLastWorkerIdentityBytes
com.google.protobuf.ByteString getLastWorkerIdentityBytes()
string last_worker_identity = 12;- Returns:
- The bytes for lastWorkerIdentity.
-
hasUseWorkflowBuildId
boolean hasUseWorkflowBuildId()
When present, it means this activity is assigned to the build ID of its workflow.
.google.protobuf.Empty use_workflow_build_id = 13;- Returns:
- Whether the useWorkflowBuildId field is set.
-
getUseWorkflowBuildId
com.google.protobuf.Empty getUseWorkflowBuildId()
When present, it means this activity is assigned to the build ID of its workflow.
.google.protobuf.Empty use_workflow_build_id = 13;- Returns:
- The useWorkflowBuildId.
-
getUseWorkflowBuildIdOrBuilder
com.google.protobuf.EmptyOrBuilder getUseWorkflowBuildIdOrBuilder()
When present, it means this activity is assigned to the build ID of its workflow.
.google.protobuf.Empty use_workflow_build_id = 13;
-
hasLastIndependentlyAssignedBuildId
boolean hasLastIndependentlyAssignedBuildId()
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;- Returns:
- Whether the lastIndependentlyAssignedBuildId field is set.
-
getLastIndependentlyAssignedBuildId
java.lang.String getLastIndependentlyAssignedBuildId()
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;- Returns:
- The lastIndependentlyAssignedBuildId.
-
getLastIndependentlyAssignedBuildIdBytes
com.google.protobuf.ByteString getLastIndependentlyAssignedBuildIdBytes()
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;- Returns:
- The bytes for lastIndependentlyAssignedBuildId.
-
hasLastWorkerVersionStamp
boolean hasLastWorkerVersionStamp()
The version stamp of the worker to whom this activity was most recently dispatched Deprecated. 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;- Returns:
- Whether the lastWorkerVersionStamp field is set.
-
getLastWorkerVersionStamp
WorkerVersionStamp getLastWorkerVersionStamp()
The version stamp of the worker to whom this activity was most recently dispatched Deprecated. 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;- Returns:
- The lastWorkerVersionStamp.
-
getLastWorkerVersionStampOrBuilder
WorkerVersionStampOrBuilder getLastWorkerVersionStampOrBuilder()
The version stamp of the worker to whom this activity was most recently dispatched Deprecated. 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;
-
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 boolean hasLastDeployment()
Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_deployment is deprecated. See temporal/api/workflow/v1/message.proto;l=294The deployment this activity was dispatched to most recently. Present only if the activity was dispatched to a versioned worker. Deprecated. Use `last_worker_deployment_version`.
.temporal.api.deployment.v1.Deployment last_deployment = 20 [deprecated = true];- Returns:
- Whether the lastDeployment field is set.
-
getLastDeployment
@Deprecated Deployment getLastDeployment()
Deprecated.temporal.api.workflow.v1.PendingActivityInfo.last_deployment is deprecated. See temporal/api/workflow/v1/message.proto;l=294The deployment this activity was dispatched to most recently. Present only if the activity was dispatched to a versioned worker. Deprecated. Use `last_worker_deployment_version`.
.temporal.api.deployment.v1.Deployment last_deployment = 20 [deprecated = true];- Returns:
- The lastDeployment.
-
getLastDeploymentOrBuilder
@Deprecated DeploymentOrBuilder 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_worker_deployment_version`.
.temporal.api.deployment.v1.Deployment last_deployment = 20 [deprecated = true];
-
getLastWorkerDeploymentVersion
java.lang.String getLastWorkerDeploymentVersion()
The Worker Deployment Version this activity was dispatched to most recently.
string last_worker_deployment_version = 21;- Returns:
- The lastWorkerDeploymentVersion.
-
getLastWorkerDeploymentVersionBytes
com.google.protobuf.ByteString getLastWorkerDeploymentVersionBytes()
The Worker Deployment Version this activity was dispatched to most recently.
string last_worker_deployment_version = 21;- Returns:
- The bytes for lastWorkerDeploymentVersion.
-
getAssignedBuildIdCase
PendingActivityInfo.AssignedBuildIdCase getAssignedBuildIdCase()
-
-