Package io.temporal.api.workflow.v1
Class PendingActivityInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PendingActivityInfo.Builder>
-
- io.temporal.api.workflow.v1.PendingActivityInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PendingActivityInfoOrBuilder,java.lang.Cloneable
- Enclosing class:
- PendingActivityInfo
public static final class PendingActivityInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PendingActivityInfo.Builder> implements PendingActivityInfoOrBuilder
Protobuf typetemporal.api.workflow.v1.PendingActivityInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PendingActivityInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PendingActivityInfobuild()PendingActivityInfobuildPartial()PendingActivityInfo.Builderclear()PendingActivityInfo.BuilderclearActivityId()string activity_id = 1;PendingActivityInfo.BuilderclearActivityType().temporal.api.common.v1.ActivityType activity_type = 2;PendingActivityInfo.BuilderclearAssignedBuildId()PendingActivityInfo.BuilderclearAttempt()int32 attempt = 7;PendingActivityInfo.BuilderclearCurrentRetryInterval()The time activity will wait until the next retry.PendingActivityInfo.BuilderclearExpirationTime().google.protobuf.Timestamp expiration_time = 10;PendingActivityInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PendingActivityInfo.BuilderclearHeartbeatDetails().temporal.api.common.v1.Payloads heartbeat_details = 4;PendingActivityInfo.BuilderclearLastAttemptCompleteTime()The time when the last activity attempt was completed.PendingActivityInfo.BuilderclearLastDeployment()Deprecated.PendingActivityInfo.BuilderclearLastFailure().temporal.api.failure.v1.Failure last_failure = 11;PendingActivityInfo.BuilderclearLastHeartbeatTime().google.protobuf.Timestamp last_heartbeat_time = 5;PendingActivityInfo.BuilderclearLastIndependentlyAssignedBuildId()This means the activity is independently versioned and not bound to the build ID of its workflow.PendingActivityInfo.BuilderclearLastStartedTime().google.protobuf.Timestamp last_started_time = 6;PendingActivityInfo.BuilderclearLastWorkerDeploymentVersion()The Worker Deployment Version this activity was dispatched to most recently.PendingActivityInfo.BuilderclearLastWorkerIdentity()string last_worker_identity = 12;PendingActivityInfo.BuilderclearLastWorkerVersionStamp()The version stamp of the worker to whom this activity was most recently dispatched Deprecated.PendingActivityInfo.BuilderclearMaximumAttempts()int32 maximum_attempts = 8;PendingActivityInfo.BuilderclearNextAttemptScheduleTime()Next time when activity will be scheduled.PendingActivityInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PendingActivityInfo.BuilderclearPaused()Indicates if activity is paused.PendingActivityInfo.BuilderclearScheduledTime().google.protobuf.Timestamp scheduled_time = 9;PendingActivityInfo.BuilderclearState().temporal.api.enums.v1.PendingActivityState state = 3;PendingActivityInfo.BuilderclearUseWorkflowBuildId()When present, it means this activity is assigned to the build ID of its workflow.PendingActivityInfo.Builderclone()java.lang.StringgetActivityId()string activity_id = 1;com.google.protobuf.ByteStringgetActivityIdBytes()string activity_id = 1;ActivityTypegetActivityType().temporal.api.common.v1.ActivityType activity_type = 2;ActivityType.BuildergetActivityTypeBuilder().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.Duration.BuildergetCurrentRetryIntervalBuilder()The time activity will wait until the next retry.com.google.protobuf.DurationOrBuildergetCurrentRetryIntervalOrBuilder()The time activity will wait until the next retry.PendingActivityInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetExpirationTime().google.protobuf.Timestamp expiration_time = 10;com.google.protobuf.Timestamp.BuildergetExpirationTimeBuilder().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;Payloads.BuildergetHeartbeatDetailsBuilder().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.Timestamp.BuildergetLastAttemptCompleteTimeBuilder()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.Deployment.BuildergetLastDeploymentBuilder()Deprecated.DeploymentOrBuildergetLastDeploymentOrBuilder()Deprecated.FailuregetLastFailure().temporal.api.failure.v1.Failure last_failure = 11;Failure.BuildergetLastFailureBuilder().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.Timestamp.BuildergetLastHeartbeatTimeBuilder().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.Timestamp.BuildergetLastStartedTimeBuilder().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.WorkerVersionStamp.BuildergetLastWorkerVersionStampBuilder()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.Timestamp.BuildergetNextAttemptScheduleTimeBuilder()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.Timestamp.BuildergetScheduledTimeBuilder().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.Empty.BuildergetUseWorkflowBuildIdBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PendingActivityInfo.BuildermergeActivityType(ActivityType value).temporal.api.common.v1.ActivityType activity_type = 2;PendingActivityInfo.BuildermergeCurrentRetryInterval(com.google.protobuf.Duration value)The time activity will wait until the next retry.PendingActivityInfo.BuildermergeExpirationTime(com.google.protobuf.Timestamp value).google.protobuf.Timestamp expiration_time = 10;PendingActivityInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PendingActivityInfo.BuildermergeFrom(com.google.protobuf.Message other)PendingActivityInfo.BuildermergeFrom(PendingActivityInfo other)PendingActivityInfo.BuildermergeHeartbeatDetails(Payloads value).temporal.api.common.v1.Payloads heartbeat_details = 4;PendingActivityInfo.BuildermergeLastAttemptCompleteTime(com.google.protobuf.Timestamp value)The time when the last activity attempt was completed.PendingActivityInfo.BuildermergeLastDeployment(Deployment value)Deprecated.PendingActivityInfo.BuildermergeLastFailure(Failure value).temporal.api.failure.v1.Failure last_failure = 11;PendingActivityInfo.BuildermergeLastHeartbeatTime(com.google.protobuf.Timestamp value).google.protobuf.Timestamp last_heartbeat_time = 5;PendingActivityInfo.BuildermergeLastStartedTime(com.google.protobuf.Timestamp value).google.protobuf.Timestamp last_started_time = 6;PendingActivityInfo.BuildermergeLastWorkerVersionStamp(WorkerVersionStamp value)The version stamp of the worker to whom this activity was most recently dispatched Deprecated.PendingActivityInfo.BuildermergeNextAttemptScheduleTime(com.google.protobuf.Timestamp value)Next time when activity will be scheduled.PendingActivityInfo.BuildermergeScheduledTime(com.google.protobuf.Timestamp value).google.protobuf.Timestamp scheduled_time = 9;PendingActivityInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PendingActivityInfo.BuildermergeUseWorkflowBuildId(com.google.protobuf.Empty value)When present, it means this activity is assigned to the build ID of its workflow.PendingActivityInfo.BuildersetActivityId(java.lang.String value)string activity_id = 1;PendingActivityInfo.BuildersetActivityIdBytes(com.google.protobuf.ByteString value)string activity_id = 1;PendingActivityInfo.BuildersetActivityType(ActivityType value).temporal.api.common.v1.ActivityType activity_type = 2;PendingActivityInfo.BuildersetActivityType(ActivityType.Builder builderForValue).temporal.api.common.v1.ActivityType activity_type = 2;PendingActivityInfo.BuildersetAttempt(int value)int32 attempt = 7;PendingActivityInfo.BuildersetCurrentRetryInterval(com.google.protobuf.Duration value)The time activity will wait until the next retry.PendingActivityInfo.BuildersetCurrentRetryInterval(com.google.protobuf.Duration.Builder builderForValue)The time activity will wait until the next retry.PendingActivityInfo.BuildersetExpirationTime(com.google.protobuf.Timestamp value).google.protobuf.Timestamp expiration_time = 10;PendingActivityInfo.BuildersetExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue).google.protobuf.Timestamp expiration_time = 10;PendingActivityInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PendingActivityInfo.BuildersetHeartbeatDetails(Payloads value).temporal.api.common.v1.Payloads heartbeat_details = 4;PendingActivityInfo.BuildersetHeartbeatDetails(Payloads.Builder builderForValue).temporal.api.common.v1.Payloads heartbeat_details = 4;PendingActivityInfo.BuildersetLastAttemptCompleteTime(com.google.protobuf.Timestamp value)The time when the last activity attempt was completed.PendingActivityInfo.BuildersetLastAttemptCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue)The time when the last activity attempt was completed.PendingActivityInfo.BuildersetLastDeployment(Deployment value)Deprecated.PendingActivityInfo.BuildersetLastDeployment(Deployment.Builder builderForValue)Deprecated.PendingActivityInfo.BuildersetLastFailure(Failure value).temporal.api.failure.v1.Failure last_failure = 11;PendingActivityInfo.BuildersetLastFailure(Failure.Builder builderForValue).temporal.api.failure.v1.Failure last_failure = 11;PendingActivityInfo.BuildersetLastHeartbeatTime(com.google.protobuf.Timestamp value).google.protobuf.Timestamp last_heartbeat_time = 5;PendingActivityInfo.BuildersetLastHeartbeatTime(com.google.protobuf.Timestamp.Builder builderForValue).google.protobuf.Timestamp last_heartbeat_time = 5;PendingActivityInfo.BuildersetLastIndependentlyAssignedBuildId(java.lang.String value)This means the activity is independently versioned and not bound to the build ID of its workflow.PendingActivityInfo.BuildersetLastIndependentlyAssignedBuildIdBytes(com.google.protobuf.ByteString value)This means the activity is independently versioned and not bound to the build ID of its workflow.PendingActivityInfo.BuildersetLastStartedTime(com.google.protobuf.Timestamp value).google.protobuf.Timestamp last_started_time = 6;PendingActivityInfo.BuildersetLastStartedTime(com.google.protobuf.Timestamp.Builder builderForValue).google.protobuf.Timestamp last_started_time = 6;PendingActivityInfo.BuildersetLastWorkerDeploymentVersion(java.lang.String value)The Worker Deployment Version this activity was dispatched to most recently.PendingActivityInfo.BuildersetLastWorkerDeploymentVersionBytes(com.google.protobuf.ByteString value)The Worker Deployment Version this activity was dispatched to most recently.PendingActivityInfo.BuildersetLastWorkerIdentity(java.lang.String value)string last_worker_identity = 12;PendingActivityInfo.BuildersetLastWorkerIdentityBytes(com.google.protobuf.ByteString value)string last_worker_identity = 12;PendingActivityInfo.BuildersetLastWorkerVersionStamp(WorkerVersionStamp value)The version stamp of the worker to whom this activity was most recently dispatched Deprecated.PendingActivityInfo.BuildersetLastWorkerVersionStamp(WorkerVersionStamp.Builder builderForValue)The version stamp of the worker to whom this activity was most recently dispatched Deprecated.PendingActivityInfo.BuildersetMaximumAttempts(int value)int32 maximum_attempts = 8;PendingActivityInfo.BuildersetNextAttemptScheduleTime(com.google.protobuf.Timestamp value)Next time when activity will be scheduled.PendingActivityInfo.BuildersetNextAttemptScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)Next time when activity will be scheduled.PendingActivityInfo.BuildersetPaused(boolean value)Indicates if activity is paused.PendingActivityInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)PendingActivityInfo.BuildersetScheduledTime(com.google.protobuf.Timestamp value).google.protobuf.Timestamp scheduled_time = 9;PendingActivityInfo.BuildersetScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue).google.protobuf.Timestamp scheduled_time = 9;PendingActivityInfo.BuildersetState(PendingActivityState value).temporal.api.enums.v1.PendingActivityState state = 3;PendingActivityInfo.BuildersetStateValue(int value).temporal.api.enums.v1.PendingActivityState state = 3;PendingActivityInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PendingActivityInfo.BuildersetUseWorkflowBuildId(com.google.protobuf.Empty value)When present, it means this activity is assigned to the build ID of its workflow.PendingActivityInfo.BuildersetUseWorkflowBuildId(com.google.protobuf.Empty.Builder builderForValue)When present, it means this activity is assigned to the build ID of its workflow.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<PendingActivityInfo.Builder>
-
clear
public PendingActivityInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingActivityInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PendingActivityInfo.Builder>
-
getDefaultInstanceForType
public PendingActivityInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PendingActivityInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PendingActivityInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PendingActivityInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PendingActivityInfo.Builder>
-
setField
public PendingActivityInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingActivityInfo.Builder>
-
clearField
public PendingActivityInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingActivityInfo.Builder>
-
clearOneof
public PendingActivityInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingActivityInfo.Builder>
-
setRepeatedField
public PendingActivityInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingActivityInfo.Builder>
-
addRepeatedField
public PendingActivityInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingActivityInfo.Builder>
-
mergeFrom
public PendingActivityInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PendingActivityInfo.Builder>
-
mergeFrom
public PendingActivityInfo.Builder mergeFrom(PendingActivityInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingActivityInfo.Builder>
-
mergeFrom
public PendingActivityInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PendingActivityInfo.Builder>- Throws:
java.io.IOException
-
getAssignedBuildIdCase
public PendingActivityInfo.AssignedBuildIdCase getAssignedBuildIdCase()
- Specified by:
getAssignedBuildIdCasein interfacePendingActivityInfoOrBuilder
-
clearAssignedBuildId
public PendingActivityInfo.Builder clearAssignedBuildId()
-
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.
-
setActivityId
public PendingActivityInfo.Builder setActivityId(java.lang.String value)
string activity_id = 1;- Parameters:
value- The activityId to set.- Returns:
- This builder for chaining.
-
clearActivityId
public PendingActivityInfo.Builder clearActivityId()
string activity_id = 1;- Returns:
- This builder for chaining.
-
setActivityIdBytes
public PendingActivityInfo.Builder setActivityIdBytes(com.google.protobuf.ByteString value)
string activity_id = 1;- Parameters:
value- The bytes for activityId to set.- Returns:
- This builder for chaining.
-
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.
-
setActivityType
public PendingActivityInfo.Builder setActivityType(ActivityType value)
.temporal.api.common.v1.ActivityType activity_type = 2;
-
setActivityType
public PendingActivityInfo.Builder setActivityType(ActivityType.Builder builderForValue)
.temporal.api.common.v1.ActivityType activity_type = 2;
-
mergeActivityType
public PendingActivityInfo.Builder mergeActivityType(ActivityType value)
.temporal.api.common.v1.ActivityType activity_type = 2;
-
clearActivityType
public PendingActivityInfo.Builder clearActivityType()
.temporal.api.common.v1.ActivityType activity_type = 2;
-
getActivityTypeBuilder
public ActivityType.Builder getActivityTypeBuilder()
.temporal.api.common.v1.ActivityType activity_type = 2;
-
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.
-
setStateValue
public PendingActivityInfo.Builder setStateValue(int value)
.temporal.api.enums.v1.PendingActivityState state = 3;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public PendingActivityState getState()
.temporal.api.enums.v1.PendingActivityState state = 3;- Specified by:
getStatein interfacePendingActivityInfoOrBuilder- Returns:
- The state.
-
setState
public PendingActivityInfo.Builder setState(PendingActivityState value)
.temporal.api.enums.v1.PendingActivityState state = 3;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public PendingActivityInfo.Builder clearState()
.temporal.api.enums.v1.PendingActivityState state = 3;- Returns:
- This builder for chaining.
-
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.
-
setHeartbeatDetails
public PendingActivityInfo.Builder setHeartbeatDetails(Payloads value)
.temporal.api.common.v1.Payloads heartbeat_details = 4;
-
setHeartbeatDetails
public PendingActivityInfo.Builder setHeartbeatDetails(Payloads.Builder builderForValue)
.temporal.api.common.v1.Payloads heartbeat_details = 4;
-
mergeHeartbeatDetails
public PendingActivityInfo.Builder mergeHeartbeatDetails(Payloads value)
.temporal.api.common.v1.Payloads heartbeat_details = 4;
-
clearHeartbeatDetails
public PendingActivityInfo.Builder clearHeartbeatDetails()
.temporal.api.common.v1.Payloads heartbeat_details = 4;
-
getHeartbeatDetailsBuilder
public Payloads.Builder getHeartbeatDetailsBuilder()
.temporal.api.common.v1.Payloads heartbeat_details = 4;
-
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.
-
setLastHeartbeatTime
public PendingActivityInfo.Builder setLastHeartbeatTime(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp last_heartbeat_time = 5;
-
setLastHeartbeatTime
public PendingActivityInfo.Builder setLastHeartbeatTime(com.google.protobuf.Timestamp.Builder builderForValue)
.google.protobuf.Timestamp last_heartbeat_time = 5;
-
mergeLastHeartbeatTime
public PendingActivityInfo.Builder mergeLastHeartbeatTime(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp last_heartbeat_time = 5;
-
clearLastHeartbeatTime
public PendingActivityInfo.Builder clearLastHeartbeatTime()
.google.protobuf.Timestamp last_heartbeat_time = 5;
-
getLastHeartbeatTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastHeartbeatTimeBuilder()
.google.protobuf.Timestamp last_heartbeat_time = 5;
-
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.
-
setLastStartedTime
public PendingActivityInfo.Builder setLastStartedTime(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp last_started_time = 6;
-
setLastStartedTime
public PendingActivityInfo.Builder setLastStartedTime(com.google.protobuf.Timestamp.Builder builderForValue)
.google.protobuf.Timestamp last_started_time = 6;
-
mergeLastStartedTime
public PendingActivityInfo.Builder mergeLastStartedTime(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp last_started_time = 6;
-
clearLastStartedTime
public PendingActivityInfo.Builder clearLastStartedTime()
.google.protobuf.Timestamp last_started_time = 6;
-
getLastStartedTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastStartedTimeBuilder()
.google.protobuf.Timestamp last_started_time = 6;
-
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.
-
setAttempt
public PendingActivityInfo.Builder setAttempt(int value)
int32 attempt = 7;- Parameters:
value- The attempt to set.- Returns:
- This builder for chaining.
-
clearAttempt
public PendingActivityInfo.Builder clearAttempt()
int32 attempt = 7;- Returns:
- This builder for chaining.
-
getMaximumAttempts
public int getMaximumAttempts()
int32 maximum_attempts = 8;- Specified by:
getMaximumAttemptsin interfacePendingActivityInfoOrBuilder- Returns:
- The maximumAttempts.
-
setMaximumAttempts
public PendingActivityInfo.Builder setMaximumAttempts(int value)
int32 maximum_attempts = 8;- Parameters:
value- The maximumAttempts to set.- Returns:
- This builder for chaining.
-
clearMaximumAttempts
public PendingActivityInfo.Builder clearMaximumAttempts()
int32 maximum_attempts = 8;- Returns:
- This builder for chaining.
-
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.
-
setScheduledTime
public PendingActivityInfo.Builder setScheduledTime(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp scheduled_time = 9;
-
setScheduledTime
public PendingActivityInfo.Builder setScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue)
.google.protobuf.Timestamp scheduled_time = 9;
-
mergeScheduledTime
public PendingActivityInfo.Builder mergeScheduledTime(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp scheduled_time = 9;
-
clearScheduledTime
public PendingActivityInfo.Builder clearScheduledTime()
.google.protobuf.Timestamp scheduled_time = 9;
-
getScheduledTimeBuilder
public com.google.protobuf.Timestamp.Builder getScheduledTimeBuilder()
.google.protobuf.Timestamp scheduled_time = 9;
-
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.
-
setExpirationTime
public PendingActivityInfo.Builder setExpirationTime(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp expiration_time = 10;
-
setExpirationTime
public PendingActivityInfo.Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue)
.google.protobuf.Timestamp expiration_time = 10;
-
mergeExpirationTime
public PendingActivityInfo.Builder mergeExpirationTime(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp expiration_time = 10;
-
clearExpirationTime
public PendingActivityInfo.Builder clearExpirationTime()
.google.protobuf.Timestamp expiration_time = 10;
-
getExpirationTimeBuilder
public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder()
.google.protobuf.Timestamp expiration_time = 10;
-
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.
-
setLastFailure
public PendingActivityInfo.Builder setLastFailure(Failure value)
.temporal.api.failure.v1.Failure last_failure = 11;
-
setLastFailure
public PendingActivityInfo.Builder setLastFailure(Failure.Builder builderForValue)
.temporal.api.failure.v1.Failure last_failure = 11;
-
mergeLastFailure
public PendingActivityInfo.Builder mergeLastFailure(Failure value)
.temporal.api.failure.v1.Failure last_failure = 11;
-
clearLastFailure
public PendingActivityInfo.Builder clearLastFailure()
.temporal.api.failure.v1.Failure last_failure = 11;
-
getLastFailureBuilder
public Failure.Builder getLastFailureBuilder()
.temporal.api.failure.v1.Failure last_failure = 11;
-
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.
-
setLastWorkerIdentity
public PendingActivityInfo.Builder setLastWorkerIdentity(java.lang.String value)
string last_worker_identity = 12;- Parameters:
value- The lastWorkerIdentity to set.- Returns:
- This builder for chaining.
-
clearLastWorkerIdentity
public PendingActivityInfo.Builder clearLastWorkerIdentity()
string last_worker_identity = 12;- Returns:
- This builder for chaining.
-
setLastWorkerIdentityBytes
public PendingActivityInfo.Builder setLastWorkerIdentityBytes(com.google.protobuf.ByteString value)
string last_worker_identity = 12;- Parameters:
value- The bytes for lastWorkerIdentity to set.- Returns:
- This builder for chaining.
-
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.
-
setUseWorkflowBuildId
public PendingActivityInfo.Builder setUseWorkflowBuildId(com.google.protobuf.Empty value)
When present, it means this activity is assigned to the build ID of its workflow.
.google.protobuf.Empty use_workflow_build_id = 13;
-
setUseWorkflowBuildId
public PendingActivityInfo.Builder setUseWorkflowBuildId(com.google.protobuf.Empty.Builder builderForValue)
When present, it means this activity is assigned to the build ID of its workflow.
.google.protobuf.Empty use_workflow_build_id = 13;
-
mergeUseWorkflowBuildId
public PendingActivityInfo.Builder mergeUseWorkflowBuildId(com.google.protobuf.Empty value)
When present, it means this activity is assigned to the build ID of its workflow.
.google.protobuf.Empty use_workflow_build_id = 13;
-
clearUseWorkflowBuildId
public PendingActivityInfo.Builder clearUseWorkflowBuildId()
When present, it means this activity is assigned to the build ID of its workflow.
.google.protobuf.Empty use_workflow_build_id = 13;
-
getUseWorkflowBuildIdBuilder
public com.google.protobuf.Empty.Builder getUseWorkflowBuildIdBuilder()
When present, it means this activity is assigned to the build ID of its workflow.
.google.protobuf.Empty use_workflow_build_id = 13;
-
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.
-
setLastIndependentlyAssignedBuildId
public PendingActivityInfo.Builder setLastIndependentlyAssignedBuildId(java.lang.String value)
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;- Parameters:
value- The lastIndependentlyAssignedBuildId to set.- Returns:
- This builder for chaining.
-
clearLastIndependentlyAssignedBuildId
public PendingActivityInfo.Builder clearLastIndependentlyAssignedBuildId()
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:
- This builder for chaining.
-
setLastIndependentlyAssignedBuildIdBytes
public PendingActivityInfo.Builder setLastIndependentlyAssignedBuildIdBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for lastIndependentlyAssignedBuildId to set.- Returns:
- This builder for chaining.
-
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.
-
setLastWorkerVersionStamp
public PendingActivityInfo.Builder setLastWorkerVersionStamp(WorkerVersionStamp value)
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;
-
setLastWorkerVersionStamp
public PendingActivityInfo.Builder setLastWorkerVersionStamp(WorkerVersionStamp.Builder builderForValue)
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;
-
mergeLastWorkerVersionStamp
public PendingActivityInfo.Builder mergeLastWorkerVersionStamp(WorkerVersionStamp value)
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;
-
clearLastWorkerVersionStamp
public PendingActivityInfo.Builder clearLastWorkerVersionStamp()
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;
-
getLastWorkerVersionStampBuilder
public WorkerVersionStamp.Builder getLastWorkerVersionStampBuilder()
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;
-
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.
-
setCurrentRetryInterval
public PendingActivityInfo.Builder setCurrentRetryInterval(com.google.protobuf.Duration value)
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;
-
setCurrentRetryInterval
public PendingActivityInfo.Builder setCurrentRetryInterval(com.google.protobuf.Duration.Builder builderForValue)
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;
-
mergeCurrentRetryInterval
public PendingActivityInfo.Builder mergeCurrentRetryInterval(com.google.protobuf.Duration value)
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;
-
clearCurrentRetryInterval
public PendingActivityInfo.Builder clearCurrentRetryInterval()
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;
-
getCurrentRetryIntervalBuilder
public com.google.protobuf.Duration.Builder getCurrentRetryIntervalBuilder()
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;
-
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.
-
setLastAttemptCompleteTime
public PendingActivityInfo.Builder setLastAttemptCompleteTime(com.google.protobuf.Timestamp value)
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;
-
setLastAttemptCompleteTime
public PendingActivityInfo.Builder setLastAttemptCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
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;
-
mergeLastAttemptCompleteTime
public PendingActivityInfo.Builder mergeLastAttemptCompleteTime(com.google.protobuf.Timestamp value)
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;
-
clearLastAttemptCompleteTime
public PendingActivityInfo.Builder clearLastAttemptCompleteTime()
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;
-
getLastAttemptCompleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastAttemptCompleteTimeBuilder()
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;
-
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.
-
setNextAttemptScheduleTime
public PendingActivityInfo.Builder setNextAttemptScheduleTime(com.google.protobuf.Timestamp value)
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;
-
setNextAttemptScheduleTime
public PendingActivityInfo.Builder setNextAttemptScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)
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;
-
mergeNextAttemptScheduleTime
public PendingActivityInfo.Builder mergeNextAttemptScheduleTime(com.google.protobuf.Timestamp value)
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;
-
clearNextAttemptScheduleTime
public PendingActivityInfo.Builder clearNextAttemptScheduleTime()
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;
-
getNextAttemptScheduleTimeBuilder
public com.google.protobuf.Timestamp.Builder getNextAttemptScheduleTimeBuilder()
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;
-
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.
-
setPaused
public PendingActivityInfo.Builder setPaused(boolean value)
Indicates if activity is paused.
bool paused = 19;- Parameters:
value- The paused to set.- Returns:
- This builder for chaining.
-
clearPaused
public PendingActivityInfo.Builder clearPaused()
Indicates if activity is paused.
bool paused = 19;- Returns:
- This builder for chaining.
-
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.
-
setLastDeployment
@Deprecated public PendingActivityInfo.Builder setLastDeployment(Deployment value)
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];
-
setLastDeployment
@Deprecated public PendingActivityInfo.Builder setLastDeployment(Deployment.Builder builderForValue)
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];
-
mergeLastDeployment
@Deprecated public PendingActivityInfo.Builder mergeLastDeployment(Deployment value)
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];
-
clearLastDeployment
@Deprecated public PendingActivityInfo.Builder clearLastDeployment()
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];
-
getLastDeploymentBuilder
@Deprecated public Deployment.Builder getLastDeploymentBuilder()
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];
-
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.
-
setLastWorkerDeploymentVersion
public PendingActivityInfo.Builder setLastWorkerDeploymentVersion(java.lang.String value)
The Worker Deployment Version this activity was dispatched to most recently.
string last_worker_deployment_version = 21;- Parameters:
value- The lastWorkerDeploymentVersion to set.- Returns:
- This builder for chaining.
-
clearLastWorkerDeploymentVersion
public PendingActivityInfo.Builder clearLastWorkerDeploymentVersion()
The Worker Deployment Version this activity was dispatched to most recently.
string last_worker_deployment_version = 21;- Returns:
- This builder for chaining.
-
setLastWorkerDeploymentVersionBytes
public PendingActivityInfo.Builder setLastWorkerDeploymentVersionBytes(com.google.protobuf.ByteString value)
The Worker Deployment Version this activity was dispatched to most recently.
string last_worker_deployment_version = 21;- Parameters:
value- The bytes for lastWorkerDeploymentVersion to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final PendingActivityInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingActivityInfo.Builder>
-
mergeUnknownFields
public final PendingActivityInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PendingActivityInfo.Builder>
-
-