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, Serializable

@Generated(value="protoc", comments="annotations:PendingActivityInfo.java.pb.meta") public final class PendingActivityInfo extends com.google.protobuf.GeneratedMessageV3 implements PendingActivityInfoOrBuilder
Protobuf type temporal.api.workflow.v1.PendingActivityInfo
See Also:
  • Field Details

    • ACTIVITY_ID_FIELD_NUMBER

      public static final int ACTIVITY_ID_FIELD_NUMBER
      See Also:
    • ACTIVITY_TYPE_FIELD_NUMBER

      public static final int ACTIVITY_TYPE_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • HEARTBEAT_DETAILS_FIELD_NUMBER

      public static final int HEARTBEAT_DETAILS_FIELD_NUMBER
      See Also:
    • LAST_HEARTBEAT_TIME_FIELD_NUMBER

      public static final int LAST_HEARTBEAT_TIME_FIELD_NUMBER
      See Also:
    • LAST_STARTED_TIME_FIELD_NUMBER

      public static final int LAST_STARTED_TIME_FIELD_NUMBER
      See Also:
    • ATTEMPT_FIELD_NUMBER

      public static final int ATTEMPT_FIELD_NUMBER
      See Also:
    • MAXIMUM_ATTEMPTS_FIELD_NUMBER

      public static final int MAXIMUM_ATTEMPTS_FIELD_NUMBER
      See Also:
    • SCHEDULED_TIME_FIELD_NUMBER

      public static final int SCHEDULED_TIME_FIELD_NUMBER
      See Also:
    • EXPIRATION_TIME_FIELD_NUMBER

      public static final int EXPIRATION_TIME_FIELD_NUMBER
      See Also:
    • LAST_FAILURE_FIELD_NUMBER

      public static final int LAST_FAILURE_FIELD_NUMBER
      See Also:
    • LAST_WORKER_IDENTITY_FIELD_NUMBER

      public static final int LAST_WORKER_IDENTITY_FIELD_NUMBER
      See Also:
    • USE_WORKFLOW_BUILD_ID_FIELD_NUMBER

      public static final int USE_WORKFLOW_BUILD_ID_FIELD_NUMBER
      See Also:
    • LAST_INDEPENDENTLY_ASSIGNED_BUILD_ID_FIELD_NUMBER

      public static final int LAST_INDEPENDENTLY_ASSIGNED_BUILD_ID_FIELD_NUMBER
      See Also:
    • LAST_WORKER_VERSION_STAMP_FIELD_NUMBER

      public static final int LAST_WORKER_VERSION_STAMP_FIELD_NUMBER
      See Also:
    • CURRENT_RETRY_INTERVAL_FIELD_NUMBER

      public static final int CURRENT_RETRY_INTERVAL_FIELD_NUMBER
      See Also:
    • LAST_ATTEMPT_COMPLETE_TIME_FIELD_NUMBER

      public static final int LAST_ATTEMPT_COMPLETE_TIME_FIELD_NUMBER
      See Also:
    • NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER

      public static final int NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER
      See Also:
    • PAUSED_FIELD_NUMBER

      public static final int PAUSED_FIELD_NUMBER
      See Also:
    • LAST_DEPLOYMENT_FIELD_NUMBER

      public static final int LAST_DEPLOYMENT_FIELD_NUMBER
      See Also:
    • LAST_WORKER_DEPLOYMENT_VERSION_FIELD_NUMBER

      public static final int LAST_WORKER_DEPLOYMENT_VERSION_FIELD_NUMBER
      See Also:
    • LAST_DEPLOYMENT_VERSION_FIELD_NUMBER

      public static final int LAST_DEPLOYMENT_VERSION_FIELD_NUMBER
      See Also:
    • PRIORITY_FIELD_NUMBER

      public static final int PRIORITY_FIELD_NUMBER
      See Also:
    • PAUSE_INFO_FIELD_NUMBER

      public static final int PAUSE_INFO_FIELD_NUMBER
      See Also:
    • ACTIVITY_OPTIONS_FIELD_NUMBER

      public static final int ACTIVITY_OPTIONS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getAssignedBuildIdCase

      public PendingActivityInfo.AssignedBuildIdCase getAssignedBuildIdCase()
      Specified by:
      getAssignedBuildIdCase in interface PendingActivityInfoOrBuilder
    • getActivityId

      public String getActivityId()
      string activity_id = 1;
      Specified by:
      getActivityId in interface PendingActivityInfoOrBuilder
      Returns:
      The activityId.
    • getActivityIdBytes

      public com.google.protobuf.ByteString getActivityIdBytes()
      string activity_id = 1;
      Specified by:
      getActivityIdBytes in interface PendingActivityInfoOrBuilder
      Returns:
      The bytes for activityId.
    • hasActivityType

      public boolean hasActivityType()
      .temporal.api.common.v1.ActivityType activity_type = 2;
      Specified by:
      hasActivityType in interface PendingActivityInfoOrBuilder
      Returns:
      Whether the activityType field is set.
    • getActivityType

      public ActivityType getActivityType()
      .temporal.api.common.v1.ActivityType activity_type = 2;
      Specified by:
      getActivityType in interface PendingActivityInfoOrBuilder
      Returns:
      The activityType.
    • getActivityTypeOrBuilder

      public ActivityTypeOrBuilder getActivityTypeOrBuilder()
      .temporal.api.common.v1.ActivityType activity_type = 2;
      Specified by:
      getActivityTypeOrBuilder in interface PendingActivityInfoOrBuilder
    • getStateValue

      public int getStateValue()
      .temporal.api.enums.v1.PendingActivityState state = 3;
      Specified by:
      getStateValue in interface PendingActivityInfoOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public PendingActivityState getState()
      .temporal.api.enums.v1.PendingActivityState state = 3;
      Specified by:
      getState in interface PendingActivityInfoOrBuilder
      Returns:
      The state.
    • hasHeartbeatDetails

      public boolean hasHeartbeatDetails()
      .temporal.api.common.v1.Payloads heartbeat_details = 4;
      Specified by:
      hasHeartbeatDetails in interface PendingActivityInfoOrBuilder
      Returns:
      Whether the heartbeatDetails field is set.
    • getHeartbeatDetails

      public Payloads getHeartbeatDetails()
      .temporal.api.common.v1.Payloads heartbeat_details = 4;
      Specified by:
      getHeartbeatDetails in interface PendingActivityInfoOrBuilder
      Returns:
      The heartbeatDetails.
    • getHeartbeatDetailsOrBuilder

      public PayloadsOrBuilder getHeartbeatDetailsOrBuilder()
      .temporal.api.common.v1.Payloads heartbeat_details = 4;
      Specified by:
      getHeartbeatDetailsOrBuilder in interface PendingActivityInfoOrBuilder
    • hasLastHeartbeatTime

      public boolean hasLastHeartbeatTime()
      .google.protobuf.Timestamp last_heartbeat_time = 5;
      Specified by:
      hasLastHeartbeatTime in interface PendingActivityInfoOrBuilder
      Returns:
      Whether the lastHeartbeatTime field is set.
    • getLastHeartbeatTime

      public com.google.protobuf.Timestamp getLastHeartbeatTime()
      .google.protobuf.Timestamp last_heartbeat_time = 5;
      Specified by:
      getLastHeartbeatTime in interface PendingActivityInfoOrBuilder
      Returns:
      The lastHeartbeatTime.
    • getLastHeartbeatTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastHeartbeatTimeOrBuilder()
      .google.protobuf.Timestamp last_heartbeat_time = 5;
      Specified by:
      getLastHeartbeatTimeOrBuilder in interface PendingActivityInfoOrBuilder
    • hasLastStartedTime

      public boolean hasLastStartedTime()
      .google.protobuf.Timestamp last_started_time = 6;
      Specified by:
      hasLastStartedTime in interface PendingActivityInfoOrBuilder
      Returns:
      Whether the lastStartedTime field is set.
    • getLastStartedTime

      public com.google.protobuf.Timestamp getLastStartedTime()
      .google.protobuf.Timestamp last_started_time = 6;
      Specified by:
      getLastStartedTime in interface PendingActivityInfoOrBuilder
      Returns:
      The lastStartedTime.
    • getLastStartedTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastStartedTimeOrBuilder()
      .google.protobuf.Timestamp last_started_time = 6;
      Specified by:
      getLastStartedTimeOrBuilder in interface PendingActivityInfoOrBuilder
    • getAttempt

      public int getAttempt()
      int32 attempt = 7;
      Specified by:
      getAttempt in interface PendingActivityInfoOrBuilder
      Returns:
      The attempt.
    • getMaximumAttempts

      public int getMaximumAttempts()
      int32 maximum_attempts = 8;
      Specified by:
      getMaximumAttempts in interface PendingActivityInfoOrBuilder
      Returns:
      The maximumAttempts.
    • hasScheduledTime

      public boolean hasScheduledTime()
      .google.protobuf.Timestamp scheduled_time = 9;
      Specified by:
      hasScheduledTime in interface PendingActivityInfoOrBuilder
      Returns:
      Whether the scheduledTime field is set.
    • getScheduledTime

      public com.google.protobuf.Timestamp getScheduledTime()
      .google.protobuf.Timestamp scheduled_time = 9;
      Specified by:
      getScheduledTime in interface PendingActivityInfoOrBuilder
      Returns:
      The scheduledTime.
    • getScheduledTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
      .google.protobuf.Timestamp scheduled_time = 9;
      Specified by:
      getScheduledTimeOrBuilder in interface PendingActivityInfoOrBuilder
    • hasExpirationTime

      public boolean hasExpirationTime()
      .google.protobuf.Timestamp expiration_time = 10;
      Specified by:
      hasExpirationTime in interface PendingActivityInfoOrBuilder
      Returns:
      Whether the expirationTime field is set.
    • getExpirationTime

      public com.google.protobuf.Timestamp getExpirationTime()
      .google.protobuf.Timestamp expiration_time = 10;
      Specified by:
      getExpirationTime in interface PendingActivityInfoOrBuilder
      Returns:
      The expirationTime.
    • getExpirationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
      .google.protobuf.Timestamp expiration_time = 10;
      Specified by:
      getExpirationTimeOrBuilder in interface PendingActivityInfoOrBuilder
    • hasLastFailure

      public boolean hasLastFailure()
      .temporal.api.failure.v1.Failure last_failure = 11;
      Specified by:
      hasLastFailure in interface PendingActivityInfoOrBuilder
      Returns:
      Whether the lastFailure field is set.
    • getLastFailure

      public Failure getLastFailure()
      .temporal.api.failure.v1.Failure last_failure = 11;
      Specified by:
      getLastFailure in interface PendingActivityInfoOrBuilder
      Returns:
      The lastFailure.
    • getLastFailureOrBuilder

      public FailureOrBuilder getLastFailureOrBuilder()
      .temporal.api.failure.v1.Failure last_failure = 11;
      Specified by:
      getLastFailureOrBuilder in interface PendingActivityInfoOrBuilder
    • getLastWorkerIdentity

      public String getLastWorkerIdentity()
      string last_worker_identity = 12;
      Specified by:
      getLastWorkerIdentity in interface PendingActivityInfoOrBuilder
      Returns:
      The lastWorkerIdentity.
    • getLastWorkerIdentityBytes

      public com.google.protobuf.ByteString getLastWorkerIdentityBytes()
      string last_worker_identity = 12;
      Specified by:
      getLastWorkerIdentityBytes in interface PendingActivityInfoOrBuilder
      Returns:
      The bytes for lastWorkerIdentity.
    • hasUseWorkflowBuildId

      @Deprecated public boolean hasUseWorkflowBuildId()
      Deprecated.
      temporal.api.workflow.v1.PendingActivityInfo.use_workflow_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=298
       Deprecated. When present, it means this activity is assigned to the build ID of its workflow.
       
      .google.protobuf.Empty use_workflow_build_id = 13 [deprecated = true];
      Specified by:
      hasUseWorkflowBuildId in interface PendingActivityInfoOrBuilder
      Returns:
      Whether the useWorkflowBuildId field is set.
    • getUseWorkflowBuildId

      @Deprecated public com.google.protobuf.Empty getUseWorkflowBuildId()
      Deprecated.
      temporal.api.workflow.v1.PendingActivityInfo.use_workflow_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=298
       Deprecated. When present, it means this activity is assigned to the build ID of its workflow.
       
      .google.protobuf.Empty use_workflow_build_id = 13 [deprecated = true];
      Specified by:
      getUseWorkflowBuildId in interface PendingActivityInfoOrBuilder
      Returns:
      The useWorkflowBuildId.
    • getUseWorkflowBuildIdOrBuilder

      @Deprecated public com.google.protobuf.EmptyOrBuilder getUseWorkflowBuildIdOrBuilder()
      Deprecated.
       Deprecated. When present, it means this activity is assigned to the build ID of its workflow.
       
      .google.protobuf.Empty use_workflow_build_id = 13 [deprecated = true];
      Specified by:
      getUseWorkflowBuildIdOrBuilder in interface PendingActivityInfoOrBuilder
    • hasLastIndependentlyAssignedBuildId

      @Deprecated public boolean hasLastIndependentlyAssignedBuildId()
      Deprecated.
      temporal.api.workflow.v1.PendingActivityInfo.last_independently_assigned_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=303
       Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow.
       The activity will use the build id in this field instead.
       If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning
       rules.
       
      string last_independently_assigned_build_id = 14 [deprecated = true];
      Specified by:
      hasLastIndependentlyAssignedBuildId in interface PendingActivityInfoOrBuilder
      Returns:
      Whether the lastIndependentlyAssignedBuildId field is set.
    • getLastIndependentlyAssignedBuildId

      @Deprecated public String getLastIndependentlyAssignedBuildId()
      Deprecated.
      temporal.api.workflow.v1.PendingActivityInfo.last_independently_assigned_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=303
       Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow.
       The activity will use the build id in this field instead.
       If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning
       rules.
       
      string last_independently_assigned_build_id = 14 [deprecated = true];
      Specified by:
      getLastIndependentlyAssignedBuildId in interface PendingActivityInfoOrBuilder
      Returns:
      The lastIndependentlyAssignedBuildId.
    • getLastIndependentlyAssignedBuildIdBytes

      @Deprecated public com.google.protobuf.ByteString getLastIndependentlyAssignedBuildIdBytes()
      Deprecated.
      temporal.api.workflow.v1.PendingActivityInfo.last_independently_assigned_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=303
       Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow.
       The activity will use the build id in this field instead.
       If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning
       rules.
       
      string last_independently_assigned_build_id = 14 [deprecated = true];
      Specified by:
      getLastIndependentlyAssignedBuildIdBytes in interface PendingActivityInfoOrBuilder
      Returns:
      The bytes for lastIndependentlyAssignedBuildId.
    • hasLastWorkerVersionStamp

      @Deprecated public boolean hasLastWorkerVersionStamp()
      Deprecated.
      temporal.api.workflow.v1.PendingActivityInfo.last_worker_version_stamp is deprecated. See temporal/api/workflow/v1/message.proto;l=307
       Deprecated. The version stamp of the worker to whom this activity was most recently dispatched
       This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp last_worker_version_stamp = 15 [deprecated = true];
      Specified by:
      hasLastWorkerVersionStamp in interface PendingActivityInfoOrBuilder
      Returns:
      Whether the lastWorkerVersionStamp field is set.
    • getLastWorkerVersionStamp

      @Deprecated public WorkerVersionStamp getLastWorkerVersionStamp()
      Deprecated.
      temporal.api.workflow.v1.PendingActivityInfo.last_worker_version_stamp is deprecated. See temporal/api/workflow/v1/message.proto;l=307
       Deprecated. The version stamp of the worker to whom this activity was most recently dispatched
       This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp last_worker_version_stamp = 15 [deprecated = true];
      Specified by:
      getLastWorkerVersionStamp in interface PendingActivityInfoOrBuilder
      Returns:
      The lastWorkerVersionStamp.
    • getLastWorkerVersionStampOrBuilder

      @Deprecated public WorkerVersionStampOrBuilder getLastWorkerVersionStampOrBuilder()
      Deprecated.
       Deprecated. The version stamp of the worker to whom this activity was most recently dispatched
       This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      .temporal.api.common.v1.WorkerVersionStamp last_worker_version_stamp = 15 [deprecated = true];
      Specified by:
      getLastWorkerVersionStampOrBuilder in interface PendingActivityInfoOrBuilder
    • 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:
      hasCurrentRetryInterval in interface PendingActivityInfoOrBuilder
      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:
      getCurrentRetryInterval in interface PendingActivityInfoOrBuilder
      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:
      getCurrentRetryIntervalOrBuilder in interface PendingActivityInfoOrBuilder
    • 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:
      hasLastAttemptCompleteTime in interface PendingActivityInfoOrBuilder
      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:
      getLastAttemptCompleteTime in interface PendingActivityInfoOrBuilder
      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:
      getLastAttemptCompleteTimeOrBuilder in interface PendingActivityInfoOrBuilder
    • 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:
      hasNextAttemptScheduleTime in interface PendingActivityInfoOrBuilder
      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:
      getNextAttemptScheduleTime in interface PendingActivityInfoOrBuilder
      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:
      getNextAttemptScheduleTimeOrBuilder in interface PendingActivityInfoOrBuilder
    • getPaused

      public boolean getPaused()
       Indicates if activity is paused.
       
      bool paused = 19;
      Specified by:
      getPaused in interface PendingActivityInfoOrBuilder
      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=328
       The deployment this activity was dispatched to most recently. Present only if the activity
       was dispatched to a versioned worker.
       Deprecated. Use `last_deployment_version`.
       
      .temporal.api.deployment.v1.Deployment last_deployment = 20 [deprecated = true];
      Specified by:
      hasLastDeployment in interface PendingActivityInfoOrBuilder
      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=328
       The deployment this activity was dispatched to most recently. Present only if the activity
       was dispatched to a versioned worker.
       Deprecated. Use `last_deployment_version`.
       
      .temporal.api.deployment.v1.Deployment last_deployment = 20 [deprecated = true];
      Specified by:
      getLastDeployment in interface PendingActivityInfoOrBuilder
      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_deployment_version`.
       
      .temporal.api.deployment.v1.Deployment last_deployment = 20 [deprecated = true];
      Specified by:
      getLastDeploymentOrBuilder in interface PendingActivityInfoOrBuilder
    • getLastWorkerDeploymentVersion

      @Deprecated public String getLastWorkerDeploymentVersion()
      Deprecated.
      temporal.api.workflow.v1.PendingActivityInfo.last_worker_deployment_version is deprecated. See temporal/api/workflow/v1/message.proto;l=331
       The Worker Deployment Version this activity was dispatched to most recently.
       Deprecated. Use `last_deployment_version`.
       
      string last_worker_deployment_version = 21 [deprecated = true];
      Specified by:
      getLastWorkerDeploymentVersion in interface PendingActivityInfoOrBuilder
      Returns:
      The lastWorkerDeploymentVersion.
    • getLastWorkerDeploymentVersionBytes

      @Deprecated public com.google.protobuf.ByteString getLastWorkerDeploymentVersionBytes()
      Deprecated.
      temporal.api.workflow.v1.PendingActivityInfo.last_worker_deployment_version is deprecated. See temporal/api/workflow/v1/message.proto;l=331
       The Worker Deployment Version this activity was dispatched to most recently.
       Deprecated. Use `last_deployment_version`.
       
      string last_worker_deployment_version = 21 [deprecated = true];
      Specified by:
      getLastWorkerDeploymentVersionBytes in interface PendingActivityInfoOrBuilder
      Returns:
      The bytes for lastWorkerDeploymentVersion.
    • hasLastDeploymentVersion

      public boolean hasLastDeploymentVersion()
       The Worker Deployment Version this activity was dispatched to most recently.
       If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
      Specified by:
      hasLastDeploymentVersion in interface PendingActivityInfoOrBuilder
      Returns:
      Whether the lastDeploymentVersion field is set.
    • getLastDeploymentVersion

      public WorkerDeploymentVersion getLastDeploymentVersion()
       The Worker Deployment Version this activity was dispatched to most recently.
       If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
      Specified by:
      getLastDeploymentVersion in interface PendingActivityInfoOrBuilder
      Returns:
      The lastDeploymentVersion.
    • getLastDeploymentVersionOrBuilder

      public WorkerDeploymentVersionOrBuilder getLastDeploymentVersionOrBuilder()
       The Worker Deployment Version this activity was dispatched to most recently.
       If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
      Specified by:
      getLastDeploymentVersionOrBuilder in interface PendingActivityInfoOrBuilder
    • hasPriority

      public boolean hasPriority()
       Priority metadata. If this message is not present, or any fields are not
       present, they inherit the values from the workflow.
       
      .temporal.api.common.v1.Priority priority = 22;
      Specified by:
      hasPriority in interface PendingActivityInfoOrBuilder
      Returns:
      Whether the priority field is set.
    • getPriority

      public Priority getPriority()
       Priority metadata. If this message is not present, or any fields are not
       present, they inherit the values from the workflow.
       
      .temporal.api.common.v1.Priority priority = 22;
      Specified by:
      getPriority in interface PendingActivityInfoOrBuilder
      Returns:
      The priority.
    • getPriorityOrBuilder

      public PriorityOrBuilder getPriorityOrBuilder()
       Priority metadata. If this message is not present, or any fields are not
       present, they inherit the values from the workflow.
       
      .temporal.api.common.v1.Priority priority = 22;
      Specified by:
      getPriorityOrBuilder in interface PendingActivityInfoOrBuilder
    • hasPauseInfo

      public boolean hasPauseInfo()
      .temporal.api.workflow.v1.PendingActivityInfo.PauseInfo pause_info = 23;
      Specified by:
      hasPauseInfo in interface PendingActivityInfoOrBuilder
      Returns:
      Whether the pauseInfo field is set.
    • getPauseInfo

      public PendingActivityInfo.PauseInfo getPauseInfo()
      .temporal.api.workflow.v1.PendingActivityInfo.PauseInfo pause_info = 23;
      Specified by:
      getPauseInfo in interface PendingActivityInfoOrBuilder
      Returns:
      The pauseInfo.
    • getPauseInfoOrBuilder

      public PendingActivityInfo.PauseInfoOrBuilder getPauseInfoOrBuilder()
      .temporal.api.workflow.v1.PendingActivityInfo.PauseInfo pause_info = 23;
      Specified by:
      getPauseInfoOrBuilder in interface PendingActivityInfoOrBuilder
    • hasActivityOptions

      public boolean hasActivityOptions()
       Current activity options. May be different from the one used to start the activity.
       
      .temporal.api.activity.v1.ActivityOptions activity_options = 24;
      Specified by:
      hasActivityOptions in interface PendingActivityInfoOrBuilder
      Returns:
      Whether the activityOptions field is set.
    • getActivityOptions

      public ActivityOptions getActivityOptions()
       Current activity options. May be different from the one used to start the activity.
       
      .temporal.api.activity.v1.ActivityOptions activity_options = 24;
      Specified by:
      getActivityOptions in interface PendingActivityInfoOrBuilder
      Returns:
      The activityOptions.
    • getActivityOptionsOrBuilder

      public ActivityOptionsOrBuilder getActivityOptionsOrBuilder()
       Current activity options. May be different from the one used to start the activity.
       
      .temporal.api.activity.v1.ActivityOptions activity_options = 24;
      Specified by:
      getActivityOptionsOrBuilder in interface PendingActivityInfoOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PendingActivityInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PendingActivityInfo parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PendingActivityInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PendingActivityInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PendingActivityInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PendingActivityInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PendingActivityInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PendingActivityInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PendingActivityInfo.Builder newBuilder()
    • newBuilder

      public static PendingActivityInfo.Builder newBuilder(PendingActivityInfo prototype)
    • toBuilder

      public PendingActivityInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PendingActivityInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.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:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public PendingActivityInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder