Interface PendingActivityInfoOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    PendingActivityInfo, PendingActivityInfo.Builder

    @Generated(value="protoc",
               comments="annotations:PendingActivityInfoOrBuilder.java.pb.meta")
    public interface PendingActivityInfoOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getActivityId

        java.lang.String getActivityId()
        string activity_id = 1;
        Returns:
        The activityId.
      • getActivityIdBytes

        com.google.protobuf.ByteString getActivityIdBytes()
        string activity_id = 1;
        Returns:
        The bytes for activityId.
      • hasActivityType

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

        ActivityType getActivityType()
        .temporal.api.common.v1.ActivityType activity_type = 2;
        Returns:
        The activityType.
      • getActivityTypeOrBuilder

        ActivityTypeOrBuilder getActivityTypeOrBuilder()
        .temporal.api.common.v1.ActivityType activity_type = 2;
      • getStateValue

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

        PendingActivityState getState()
        .temporal.api.enums.v1.PendingActivityState state = 3;
        Returns:
        The state.
      • hasHeartbeatDetails

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

        Payloads getHeartbeatDetails()
        .temporal.api.common.v1.Payloads heartbeat_details = 4;
        Returns:
        The heartbeatDetails.
      • getHeartbeatDetailsOrBuilder

        PayloadsOrBuilder getHeartbeatDetailsOrBuilder()
        .temporal.api.common.v1.Payloads heartbeat_details = 4;
      • hasLastHeartbeatTime

        boolean hasLastHeartbeatTime()
        .google.protobuf.Timestamp last_heartbeat_time = 5;
        Returns:
        Whether the lastHeartbeatTime field is set.
      • getLastHeartbeatTime

        com.google.protobuf.Timestamp getLastHeartbeatTime()
        .google.protobuf.Timestamp last_heartbeat_time = 5;
        Returns:
        The lastHeartbeatTime.
      • getLastHeartbeatTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getLastHeartbeatTimeOrBuilder()
        .google.protobuf.Timestamp last_heartbeat_time = 5;
      • hasLastStartedTime

        boolean hasLastStartedTime()
        .google.protobuf.Timestamp last_started_time = 6;
        Returns:
        Whether the lastStartedTime field is set.
      • getLastStartedTime

        com.google.protobuf.Timestamp getLastStartedTime()
        .google.protobuf.Timestamp last_started_time = 6;
        Returns:
        The lastStartedTime.
      • getLastStartedTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getLastStartedTimeOrBuilder()
        .google.protobuf.Timestamp last_started_time = 6;
      • getAttempt

        int getAttempt()
        int32 attempt = 7;
        Returns:
        The attempt.
      • getMaximumAttempts

        int getMaximumAttempts()
        int32 maximum_attempts = 8;
        Returns:
        The maximumAttempts.
      • hasScheduledTime

        boolean hasScheduledTime()
        .google.protobuf.Timestamp scheduled_time = 9;
        Returns:
        Whether the scheduledTime field is set.
      • getScheduledTime

        com.google.protobuf.Timestamp getScheduledTime()
        .google.protobuf.Timestamp scheduled_time = 9;
        Returns:
        The scheduledTime.
      • getScheduledTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
        .google.protobuf.Timestamp scheduled_time = 9;
      • hasExpirationTime

        boolean hasExpirationTime()
        .google.protobuf.Timestamp expiration_time = 10;
        Returns:
        Whether the expirationTime field is set.
      • getExpirationTime

        com.google.protobuf.Timestamp getExpirationTime()
        .google.protobuf.Timestamp expiration_time = 10;
        Returns:
        The expirationTime.
      • getExpirationTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
        .google.protobuf.Timestamp expiration_time = 10;
      • hasLastFailure

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

        Failure getLastFailure()
        .temporal.api.failure.v1.Failure last_failure = 11;
        Returns:
        The lastFailure.
      • getLastFailureOrBuilder

        FailureOrBuilder getLastFailureOrBuilder()
        .temporal.api.failure.v1.Failure last_failure = 11;
      • getLastWorkerIdentity

        java.lang.String getLastWorkerIdentity()
        string last_worker_identity = 12;
        Returns:
        The lastWorkerIdentity.
      • getLastWorkerIdentityBytes

        com.google.protobuf.ByteString getLastWorkerIdentityBytes()
        string last_worker_identity = 12;
        Returns:
        The bytes for lastWorkerIdentity.
      • hasUseWorkflowBuildId

        @Deprecated
        boolean hasUseWorkflowBuildId()
        Deprecated.
        temporal.api.workflow.v1.PendingActivityInfo.use_workflow_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=264
         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];
        Returns:
        Whether the useWorkflowBuildId field is set.
      • getUseWorkflowBuildId

        @Deprecated
        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=264
         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];
        Returns:
        The useWorkflowBuildId.
      • getUseWorkflowBuildIdOrBuilder

        @Deprecated
        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];
      • hasLastIndependentlyAssignedBuildId

        @Deprecated
        boolean hasLastIndependentlyAssignedBuildId()
        Deprecated.
        temporal.api.workflow.v1.PendingActivityInfo.last_independently_assigned_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=269
         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];
        Returns:
        Whether the lastIndependentlyAssignedBuildId field is set.
      • getLastIndependentlyAssignedBuildId

        @Deprecated
        java.lang.String getLastIndependentlyAssignedBuildId()
        Deprecated.
        temporal.api.workflow.v1.PendingActivityInfo.last_independently_assigned_build_id is deprecated. See temporal/api/workflow/v1/message.proto;l=269
         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];
        Returns:
        The lastIndependentlyAssignedBuildId.
      • getLastIndependentlyAssignedBuildIdBytes

        @Deprecated
        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=269
         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];
        Returns:
        The bytes for lastIndependentlyAssignedBuildId.
      • hasLastWorkerVersionStamp

        @Deprecated
        boolean hasLastWorkerVersionStamp()
        Deprecated.
        temporal.api.workflow.v1.PendingActivityInfo.last_worker_version_stamp is deprecated. See temporal/api/workflow/v1/message.proto;l=273
         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];
        Returns:
        Whether the lastWorkerVersionStamp field is set.
      • getLastWorkerVersionStamp

        @Deprecated
        WorkerVersionStamp getLastWorkerVersionStamp()
        Deprecated.
        temporal.api.workflow.v1.PendingActivityInfo.last_worker_version_stamp is deprecated. See temporal/api/workflow/v1/message.proto;l=273
         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];
        Returns:
        The lastWorkerVersionStamp.
      • getLastWorkerVersionStampOrBuilder

        @Deprecated
        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];
      • hasCurrentRetryInterval

        boolean hasCurrentRetryInterval()
         The time activity will wait until the next retry.
         If activity is currently running it will be next retry interval if activity failed.
         If activity is currently waiting it will be current retry interval.
         If there will be no retry it will be null.
         
        .google.protobuf.Duration current_retry_interval = 16;
        Returns:
        Whether the currentRetryInterval field is set.
      • getCurrentRetryInterval

        com.google.protobuf.Duration getCurrentRetryInterval()
         The time activity will wait until the next retry.
         If activity is currently running it will be next retry interval if activity failed.
         If activity is currently waiting it will be current retry interval.
         If there will be no retry it will be null.
         
        .google.protobuf.Duration current_retry_interval = 16;
        Returns:
        The currentRetryInterval.
      • getCurrentRetryIntervalOrBuilder

        com.google.protobuf.DurationOrBuilder getCurrentRetryIntervalOrBuilder()
         The time activity will wait until the next retry.
         If activity is currently running it will be next retry interval if activity failed.
         If activity is currently waiting it will be current retry interval.
         If there will be no retry it will be null.
         
        .google.protobuf.Duration current_retry_interval = 16;
      • hasLastAttemptCompleteTime

        boolean hasLastAttemptCompleteTime()
         The time when the last activity attempt was completed. If activity has not been completed yet then it will be null.
         
        .google.protobuf.Timestamp last_attempt_complete_time = 17;
        Returns:
        Whether the lastAttemptCompleteTime field is set.
      • getLastAttemptCompleteTime

        com.google.protobuf.Timestamp getLastAttemptCompleteTime()
         The time when the last activity attempt was completed. If activity has not been completed yet then it will be null.
         
        .google.protobuf.Timestamp last_attempt_complete_time = 17;
        Returns:
        The lastAttemptCompleteTime.
      • getLastAttemptCompleteTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getLastAttemptCompleteTimeOrBuilder()
         The time when the last activity attempt was completed. If activity has not been completed yet then it will be null.
         
        .google.protobuf.Timestamp last_attempt_complete_time = 17;
      • hasNextAttemptScheduleTime

        boolean hasNextAttemptScheduleTime()
         Next time when activity will be scheduled.
         If activity is currently scheduled or started it will be null.
         
        .google.protobuf.Timestamp next_attempt_schedule_time = 18;
        Returns:
        Whether the nextAttemptScheduleTime field is set.
      • getNextAttemptScheduleTime

        com.google.protobuf.Timestamp getNextAttemptScheduleTime()
         Next time when activity will be scheduled.
         If activity is currently scheduled or started it will be null.
         
        .google.protobuf.Timestamp next_attempt_schedule_time = 18;
        Returns:
        The nextAttemptScheduleTime.
      • getNextAttemptScheduleTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getNextAttemptScheduleTimeOrBuilder()
         Next time when activity will be scheduled.
         If activity is currently scheduled or started it will be null.
         
        .google.protobuf.Timestamp next_attempt_schedule_time = 18;
      • getPaused

        boolean getPaused()
         Indicates if activity is paused.
         
        bool paused = 19;
        Returns:
        The paused.
      • hasLastDeployment

        @Deprecated
        boolean hasLastDeployment()
        Deprecated.
        temporal.api.workflow.v1.PendingActivityInfo.last_deployment is deprecated. See temporal/api/workflow/v1/message.proto;l=294
         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];
        Returns:
        Whether the lastDeployment field is set.
      • getLastDeployment

        @Deprecated
        Deployment getLastDeployment()
        Deprecated.
        temporal.api.workflow.v1.PendingActivityInfo.last_deployment is deprecated. See temporal/api/workflow/v1/message.proto;l=294
         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];
        Returns:
        The lastDeployment.
      • getLastDeploymentOrBuilder

        @Deprecated
        DeploymentOrBuilder getLastDeploymentOrBuilder()
        Deprecated.
         The deployment this activity was dispatched to most recently. Present only if the activity
         was dispatched to a versioned worker.
         Deprecated. Use `last_deployment_version`.
         
        .temporal.api.deployment.v1.Deployment last_deployment = 20 [deprecated = true];
      • getLastWorkerDeploymentVersion

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

        @Deprecated
        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=297
         The Worker Deployment Version this activity was dispatched to most recently.
         Deprecated. Use `last_deployment_version`.
         
        string last_worker_deployment_version = 21 [deprecated = true];
        Returns:
        The bytes for lastWorkerDeploymentVersion.
      • hasLastDeploymentVersion

        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;
        Returns:
        Whether the lastDeploymentVersion field is set.
      • getLastDeploymentVersion

        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;
        Returns:
        The lastDeploymentVersion.
      • getLastDeploymentVersionOrBuilder

        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;
      • hasPriority

        boolean hasPriority()
         Priority metadata
         
        .temporal.api.common.v1.Priority priority = 22;
        Returns:
        Whether the priority field is set.
      • getPriority

        Priority getPriority()
         Priority metadata
         
        .temporal.api.common.v1.Priority priority = 22;
        Returns:
        The priority.
      • getPriorityOrBuilder

        PriorityOrBuilder getPriorityOrBuilder()
         Priority metadata
         
        .temporal.api.common.v1.Priority priority = 22;
      • hasPauseInfo

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

        PendingActivityInfo.PauseInfo getPauseInfo()
        .temporal.api.workflow.v1.PendingActivityInfo.PauseInfo pause_info = 23;
        Returns:
        The pauseInfo.
      • hasActivityOptions

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

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

        ActivityOptionsOrBuilder getActivityOptionsOrBuilder()
         Current activity options. May be different from the one used to start the activity.
         
        .temporal.api.activity.v1.ActivityOptions activity_options = 24;