Package io.temporal.api.workflow.v1
Class PendingActivityInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.workflow.v1.PendingActivityInfo
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PendingActivityInfoOrBuilder,java.io.Serializable
@Generated(value="protoc", comments="annotations:PendingActivityInfo.java.pb.meta") public final class PendingActivityInfo extends com.google.protobuf.GeneratedMessageV3 implements PendingActivityInfoOrBuilderProtobuf typetemporal.api.workflow.v1.PendingActivityInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPendingActivityInfo.AssignedBuildIdCasestatic classPendingActivityInfo.BuilderProtobuf typetemporal.api.workflow.v1.PendingActivityInfo-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intACTIVITY_ID_FIELD_NUMBERstatic intACTIVITY_TYPE_FIELD_NUMBERstatic intATTEMPT_FIELD_NUMBERstatic intCURRENT_RETRY_INTERVAL_FIELD_NUMBERstatic intEXPIRATION_TIME_FIELD_NUMBERstatic intHEARTBEAT_DETAILS_FIELD_NUMBERstatic intLAST_ATTEMPT_COMPLETE_TIME_FIELD_NUMBERstatic intLAST_DEPLOYMENT_FIELD_NUMBERstatic intLAST_FAILURE_FIELD_NUMBERstatic intLAST_HEARTBEAT_TIME_FIELD_NUMBERstatic intLAST_INDEPENDENTLY_ASSIGNED_BUILD_ID_FIELD_NUMBERstatic intLAST_STARTED_TIME_FIELD_NUMBERstatic intLAST_WORKER_DEPLOYMENT_VERSION_FIELD_NUMBERstatic intLAST_WORKER_IDENTITY_FIELD_NUMBERstatic intLAST_WORKER_VERSION_STAMP_FIELD_NUMBERstatic intMAXIMUM_ATTEMPTS_FIELD_NUMBERstatic intNEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBERstatic intPAUSED_FIELD_NUMBERstatic intSCHEDULED_TIME_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intUSE_WORKFLOW_BUILD_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)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.static PendingActivityInfogetDefaultInstance()PendingActivityInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<PendingActivityInfo>getParserForType()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;intgetSerializedSize()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;inthashCode()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static PendingActivityInfo.BuildernewBuilder()static PendingActivityInfo.BuildernewBuilder(PendingActivityInfo prototype)PendingActivityInfo.BuildernewBuilderForType()protected PendingActivityInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PendingActivityInfoparseDelimitedFrom(java.io.InputStream input)static PendingActivityInfoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PendingActivityInfoparseFrom(byte[] data)static PendingActivityInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PendingActivityInfoparseFrom(com.google.protobuf.ByteString data)static PendingActivityInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PendingActivityInfoparseFrom(com.google.protobuf.CodedInputStream input)static PendingActivityInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PendingActivityInfoparseFrom(java.io.InputStream input)static PendingActivityInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PendingActivityInfoparseFrom(java.nio.ByteBuffer data)static PendingActivityInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PendingActivityInfo>parser()PendingActivityInfo.BuildertoBuilder()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, 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
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEARTBEAT_DETAILS_FIELD_NUMBER
public static final int HEARTBEAT_DETAILS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_HEARTBEAT_TIME_FIELD_NUMBER
public static final int LAST_HEARTBEAT_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_STARTED_TIME_FIELD_NUMBER
public static final int LAST_STARTED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTEMPT_FIELD_NUMBER
public static final int ATTEMPT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAXIMUM_ATTEMPTS_FIELD_NUMBER
public static final int MAXIMUM_ATTEMPTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEDULED_TIME_FIELD_NUMBER
public static final int SCHEDULED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPIRATION_TIME_FIELD_NUMBER
public static final int EXPIRATION_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_FAILURE_FIELD_NUMBER
public static final int LAST_FAILURE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_WORKER_IDENTITY_FIELD_NUMBER
public static final int LAST_WORKER_IDENTITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USE_WORKFLOW_BUILD_ID_FIELD_NUMBER
public static final int USE_WORKFLOW_BUILD_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_INDEPENDENTLY_ASSIGNED_BUILD_ID_FIELD_NUMBER
public static final int LAST_INDEPENDENTLY_ASSIGNED_BUILD_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_WORKER_VERSION_STAMP_FIELD_NUMBER
public static final int LAST_WORKER_VERSION_STAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CURRENT_RETRY_INTERVAL_FIELD_NUMBER
public static final int CURRENT_RETRY_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_ATTEMPT_COMPLETE_TIME_FIELD_NUMBER
public static final int LAST_ATTEMPT_COMPLETE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER
public static final int NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAUSED_FIELD_NUMBER
public static final int PAUSED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_DEPLOYMENT_FIELD_NUMBER
public static final int LAST_DEPLOYMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_WORKER_DEPLOYMENT_VERSION_FIELD_NUMBER
public static final int LAST_WORKER_DEPLOYMENT_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
-
getAssignedBuildIdCase
public PendingActivityInfo.AssignedBuildIdCase getAssignedBuildIdCase()
- Specified by:
getAssignedBuildIdCasein interfacePendingActivityInfoOrBuilder
-
getActivityId
public java.lang.String getActivityId()
string activity_id = 1;- Specified by:
getActivityIdin interfacePendingActivityInfoOrBuilder- Returns:
- The activityId.
-
getActivityIdBytes
public com.google.protobuf.ByteString getActivityIdBytes()
string activity_id = 1;- Specified by:
getActivityIdBytesin interfacePendingActivityInfoOrBuilder- Returns:
- The bytes for activityId.
-
hasActivityType
public boolean hasActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;- Specified by:
hasActivityTypein interfacePendingActivityInfoOrBuilder- Returns:
- Whether the activityType field is set.
-
getActivityType
public ActivityType getActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;- Specified by:
getActivityTypein interfacePendingActivityInfoOrBuilder- Returns:
- The activityType.
-
getActivityTypeOrBuilder
public ActivityTypeOrBuilder getActivityTypeOrBuilder()
.temporal.api.common.v1.ActivityType activity_type = 2;- Specified by:
getActivityTypeOrBuilderin interfacePendingActivityInfoOrBuilder
-
getStateValue
public int getStateValue()
.temporal.api.enums.v1.PendingActivityState state = 3;- Specified by:
getStateValuein interfacePendingActivityInfoOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public PendingActivityState getState()
.temporal.api.enums.v1.PendingActivityState state = 3;- Specified by:
getStatein interfacePendingActivityInfoOrBuilder- Returns:
- The state.
-
hasHeartbeatDetails
public boolean hasHeartbeatDetails()
.temporal.api.common.v1.Payloads heartbeat_details = 4;- Specified by:
hasHeartbeatDetailsin interfacePendingActivityInfoOrBuilder- Returns:
- Whether the heartbeatDetails field is set.
-
getHeartbeatDetails
public Payloads getHeartbeatDetails()
.temporal.api.common.v1.Payloads heartbeat_details = 4;- Specified by:
getHeartbeatDetailsin interfacePendingActivityInfoOrBuilder- Returns:
- The heartbeatDetails.
-
getHeartbeatDetailsOrBuilder
public PayloadsOrBuilder getHeartbeatDetailsOrBuilder()
.temporal.api.common.v1.Payloads heartbeat_details = 4;- Specified by:
getHeartbeatDetailsOrBuilderin interfacePendingActivityInfoOrBuilder
-
hasLastHeartbeatTime
public boolean hasLastHeartbeatTime()
.google.protobuf.Timestamp last_heartbeat_time = 5;- Specified by:
hasLastHeartbeatTimein interfacePendingActivityInfoOrBuilder- Returns:
- Whether the lastHeartbeatTime field is set.
-
getLastHeartbeatTime
public com.google.protobuf.Timestamp getLastHeartbeatTime()
.google.protobuf.Timestamp last_heartbeat_time = 5;- Specified by:
getLastHeartbeatTimein interfacePendingActivityInfoOrBuilder- Returns:
- The lastHeartbeatTime.
-
getLastHeartbeatTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastHeartbeatTimeOrBuilder()
.google.protobuf.Timestamp last_heartbeat_time = 5;- Specified by:
getLastHeartbeatTimeOrBuilderin interfacePendingActivityInfoOrBuilder
-
hasLastStartedTime
public boolean hasLastStartedTime()
.google.protobuf.Timestamp last_started_time = 6;- Specified by:
hasLastStartedTimein interfacePendingActivityInfoOrBuilder- Returns:
- Whether the lastStartedTime field is set.
-
getLastStartedTime
public com.google.protobuf.Timestamp getLastStartedTime()
.google.protobuf.Timestamp last_started_time = 6;- Specified by:
getLastStartedTimein interfacePendingActivityInfoOrBuilder- Returns:
- The lastStartedTime.
-
getLastStartedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastStartedTimeOrBuilder()
.google.protobuf.Timestamp last_started_time = 6;- Specified by:
getLastStartedTimeOrBuilderin interfacePendingActivityInfoOrBuilder
-
getAttempt
public int getAttempt()
int32 attempt = 7;- Specified by:
getAttemptin interfacePendingActivityInfoOrBuilder- Returns:
- The attempt.
-
getMaximumAttempts
public int getMaximumAttempts()
int32 maximum_attempts = 8;- Specified by:
getMaximumAttemptsin interfacePendingActivityInfoOrBuilder- Returns:
- The maximumAttempts.
-
hasScheduledTime
public boolean hasScheduledTime()
.google.protobuf.Timestamp scheduled_time = 9;- Specified by:
hasScheduledTimein interfacePendingActivityInfoOrBuilder- Returns:
- Whether the scheduledTime field is set.
-
getScheduledTime
public com.google.protobuf.Timestamp getScheduledTime()
.google.protobuf.Timestamp scheduled_time = 9;- Specified by:
getScheduledTimein interfacePendingActivityInfoOrBuilder- Returns:
- The scheduledTime.
-
getScheduledTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
.google.protobuf.Timestamp scheduled_time = 9;- Specified by:
getScheduledTimeOrBuilderin interfacePendingActivityInfoOrBuilder
-
hasExpirationTime
public boolean hasExpirationTime()
.google.protobuf.Timestamp expiration_time = 10;- Specified by:
hasExpirationTimein interfacePendingActivityInfoOrBuilder- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
public com.google.protobuf.Timestamp getExpirationTime()
.google.protobuf.Timestamp expiration_time = 10;- Specified by:
getExpirationTimein interfacePendingActivityInfoOrBuilder- Returns:
- The expirationTime.
-
getExpirationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
.google.protobuf.Timestamp expiration_time = 10;- Specified by:
getExpirationTimeOrBuilderin interfacePendingActivityInfoOrBuilder
-
hasLastFailure
public boolean hasLastFailure()
.temporal.api.failure.v1.Failure last_failure = 11;- Specified by:
hasLastFailurein interfacePendingActivityInfoOrBuilder- Returns:
- Whether the lastFailure field is set.
-
getLastFailure
public Failure getLastFailure()
.temporal.api.failure.v1.Failure last_failure = 11;- Specified by:
getLastFailurein interfacePendingActivityInfoOrBuilder- Returns:
- The lastFailure.
-
getLastFailureOrBuilder
public FailureOrBuilder getLastFailureOrBuilder()
.temporal.api.failure.v1.Failure last_failure = 11;- Specified by:
getLastFailureOrBuilderin interfacePendingActivityInfoOrBuilder
-
getLastWorkerIdentity
public java.lang.String getLastWorkerIdentity()
string last_worker_identity = 12;- Specified by:
getLastWorkerIdentityin interfacePendingActivityInfoOrBuilder- Returns:
- The lastWorkerIdentity.
-
getLastWorkerIdentityBytes
public com.google.protobuf.ByteString getLastWorkerIdentityBytes()
string last_worker_identity = 12;- Specified by:
getLastWorkerIdentityBytesin interfacePendingActivityInfoOrBuilder- Returns:
- The bytes for lastWorkerIdentity.
-
hasUseWorkflowBuildId
public 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;- Specified by:
hasUseWorkflowBuildIdin interfacePendingActivityInfoOrBuilder- Returns:
- Whether the useWorkflowBuildId field is set.
-
getUseWorkflowBuildId
public 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;- Specified by:
getUseWorkflowBuildIdin interfacePendingActivityInfoOrBuilder- Returns:
- The useWorkflowBuildId.
-
getUseWorkflowBuildIdOrBuilder
public 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;- Specified by:
getUseWorkflowBuildIdOrBuilderin interfacePendingActivityInfoOrBuilder
-
hasLastIndependentlyAssignedBuildId
public 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;- Specified by:
hasLastIndependentlyAssignedBuildIdin interfacePendingActivityInfoOrBuilder- Returns:
- Whether the lastIndependentlyAssignedBuildId field is set.
-
getLastIndependentlyAssignedBuildId
public 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;- Specified by:
getLastIndependentlyAssignedBuildIdin interfacePendingActivityInfoOrBuilder- Returns:
- The lastIndependentlyAssignedBuildId.
-
getLastIndependentlyAssignedBuildIdBytes
public 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;- Specified by:
getLastIndependentlyAssignedBuildIdBytesin interfacePendingActivityInfoOrBuilder- Returns:
- The bytes for lastIndependentlyAssignedBuildId.
-
hasLastWorkerVersionStamp
public 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;- Specified by:
hasLastWorkerVersionStampin interfacePendingActivityInfoOrBuilder- Returns:
- Whether the lastWorkerVersionStamp field is set.
-
getLastWorkerVersionStamp
public 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;- Specified by:
getLastWorkerVersionStampin interfacePendingActivityInfoOrBuilder- Returns:
- The lastWorkerVersionStamp.
-
getLastWorkerVersionStampOrBuilder
public 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;- Specified by:
getLastWorkerVersionStampOrBuilderin interfacePendingActivityInfoOrBuilder
-
hasCurrentRetryInterval
public 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;- Specified by:
hasCurrentRetryIntervalin interfacePendingActivityInfoOrBuilder- Returns:
- Whether the currentRetryInterval field is set.
-
getCurrentRetryInterval
public 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;- Specified by:
getCurrentRetryIntervalin interfacePendingActivityInfoOrBuilder- Returns:
- The currentRetryInterval.
-
getCurrentRetryIntervalOrBuilder
public 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;- Specified by:
getCurrentRetryIntervalOrBuilderin interfacePendingActivityInfoOrBuilder
-
hasLastAttemptCompleteTime
public 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;- Specified by:
hasLastAttemptCompleteTimein interfacePendingActivityInfoOrBuilder- Returns:
- Whether the lastAttemptCompleteTime field is set.
-
getLastAttemptCompleteTime
public 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;- Specified by:
getLastAttemptCompleteTimein interfacePendingActivityInfoOrBuilder- Returns:
- The lastAttemptCompleteTime.
-
getLastAttemptCompleteTimeOrBuilder
public 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;- Specified by:
getLastAttemptCompleteTimeOrBuilderin interfacePendingActivityInfoOrBuilder
-
hasNextAttemptScheduleTime
public 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;- Specified by:
hasNextAttemptScheduleTimein interfacePendingActivityInfoOrBuilder- Returns:
- Whether the nextAttemptScheduleTime field is set.
-
getNextAttemptScheduleTime
public 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;- Specified by:
getNextAttemptScheduleTimein interfacePendingActivityInfoOrBuilder- Returns:
- The nextAttemptScheduleTime.
-
getNextAttemptScheduleTimeOrBuilder
public 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;- Specified by:
getNextAttemptScheduleTimeOrBuilderin interfacePendingActivityInfoOrBuilder
-
getPaused
public boolean getPaused()
Indicates if activity is paused.
bool paused = 19;- Specified by:
getPausedin interfacePendingActivityInfoOrBuilder- Returns:
- The paused.
-
hasLastDeployment
@Deprecated public 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];- Specified by:
hasLastDeploymentin interfacePendingActivityInfoOrBuilder- Returns:
- Whether the lastDeployment field is set.
-
getLastDeployment
@Deprecated public 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];- Specified by:
getLastDeploymentin interfacePendingActivityInfoOrBuilder- Returns:
- The lastDeployment.
-
getLastDeploymentOrBuilder
@Deprecated public 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];- Specified by:
getLastDeploymentOrBuilderin interfacePendingActivityInfoOrBuilder
-
getLastWorkerDeploymentVersion
public java.lang.String getLastWorkerDeploymentVersion()
The Worker Deployment Version this activity was dispatched to most recently.
string last_worker_deployment_version = 21;- Specified by:
getLastWorkerDeploymentVersionin interfacePendingActivityInfoOrBuilder- Returns:
- The lastWorkerDeploymentVersion.
-
getLastWorkerDeploymentVersionBytes
public com.google.protobuf.ByteString getLastWorkerDeploymentVersionBytes()
The Worker Deployment Version this activity was dispatched to most recently.
string last_worker_deployment_version = 21;- Specified by:
getLastWorkerDeploymentVersionBytesin interfacePendingActivityInfoOrBuilder- Returns:
- The bytes for lastWorkerDeploymentVersion.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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 PendingActivityInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PendingActivityInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PendingActivityInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PendingActivityInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PendingActivityInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PendingActivityInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PendingActivityInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PendingActivityInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PendingActivityInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PendingActivityInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PendingActivityInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PendingActivityInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public PendingActivityInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PendingActivityInfo.Builder newBuilder()
-
newBuilder
public static PendingActivityInfo.Builder newBuilder(PendingActivityInfo prototype)
-
toBuilder
public PendingActivityInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PendingActivityInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PendingActivityInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PendingActivityInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<PendingActivityInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PendingActivityInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-