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 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;TimestampgetExpirationTime().google.protobuf.Timestamp expiration_time = 10;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;FailuregetLastFailure().temporal.api.failure.v1.Failure last_failure = 11;FailureOrBuildergetLastFailureOrBuilder().temporal.api.failure.v1.Failure last_failure = 11;TimestampgetLastHeartbeatTime().google.protobuf.Timestamp last_heartbeat_time = 5;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.TimestampgetLastStartedTime().google.protobuf.Timestamp last_started_time = 6;TimestampOrBuildergetLastStartedTimeOrBuilder().google.protobuf.Timestamp last_started_time = 6;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 dispatchedWorkerVersionStampOrBuildergetLastWorkerVersionStampOrBuilder()The version stamp of the worker to whom this activity was most recently dispatchedintgetMaximumAttempts()int32 maximum_attempts = 8;TimestampgetScheduledTime().google.protobuf.Timestamp scheduled_time = 9;TimestampOrBuildergetScheduledTimeOrBuilder().google.protobuf.Timestamp scheduled_time = 9;PendingActivityStategetState().temporal.api.enums.v1.PendingActivityState state = 3;intgetStateValue().temporal.api.enums.v1.PendingActivityState state = 3;EmptygetUseWorkflowBuildId()When present, it means this activity is assigned to the build ID of its workflow.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;booleanhasExpirationTime().google.protobuf.Timestamp expiration_time = 10;booleanhasHeartbeatDetails().temporal.api.common.v1.Payloads heartbeat_details = 4;booleanhasLastFailure().temporal.api.failure.v1.Failure last_failure = 11;booleanhasLastHeartbeatTime().google.protobuf.Timestamp last_heartbeat_time = 5;booleanhasLastStartedTime().google.protobuf.Timestamp last_started_time = 6;booleanhasLastWorkerVersionStamp()The version stamp of the worker to whom this activity was most recently dispatchedbooleanhasScheduledTime().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
Timestamp getLastHeartbeatTime()
.google.protobuf.Timestamp last_heartbeat_time = 5;- Returns:
- The lastHeartbeatTime.
-
getLastHeartbeatTimeOrBuilder
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
Timestamp getLastStartedTime()
.google.protobuf.Timestamp last_started_time = 6;- Returns:
- The lastStartedTime.
-
getLastStartedTimeOrBuilder
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
Timestamp getScheduledTime()
.google.protobuf.Timestamp scheduled_time = 9;- Returns:
- The scheduledTime.
-
getScheduledTimeOrBuilder
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
Timestamp getExpirationTime()
.google.protobuf.Timestamp expiration_time = 10;- Returns:
- The expirationTime.
-
getExpirationTimeOrBuilder
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
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
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;
-
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
.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
.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
.temporal.api.common.v1.WorkerVersionStamp last_worker_version_stamp = 15;
-
getAssignedBuildIdCase
PendingActivityInfo.AssignedBuildIdCase getAssignedBuildIdCase()
-
-