Interface TaskStatusOrBuilder

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

    public interface TaskStatusOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getAttemptDispatchCount

        int getAttemptDispatchCount()
         Output only. The number of attempts dispatched.
        
         This count includes attempts which have been dispatched but haven't
         received a response.
         
        int32 attempt_dispatch_count = 1;
        Returns:
        The attemptDispatchCount.
      • getAttemptResponseCount

        int getAttemptResponseCount()
         Output only. The number of attempts which have received a response.
        
         This field is not calculated for [pull
         tasks][google.cloud.tasks.v2beta2.PullMessage].
         
        int32 attempt_response_count = 2;
        Returns:
        The attemptResponseCount.
      • hasFirstAttemptStatus

        boolean hasFirstAttemptStatus()
         Output only. The status of the task's first attempt.
        
         Only
         [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
         will be set. The other
         [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
         not retained by Cloud Tasks.
        
         This field is not calculated for [pull
         tasks][google.cloud.tasks.v2beta2.PullMessage].
         
        .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
        Returns:
        Whether the firstAttemptStatus field is set.
      • getFirstAttemptStatus

        AttemptStatus getFirstAttemptStatus()
         Output only. The status of the task's first attempt.
        
         Only
         [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
         will be set. The other
         [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
         not retained by Cloud Tasks.
        
         This field is not calculated for [pull
         tasks][google.cloud.tasks.v2beta2.PullMessage].
         
        .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
        Returns:
        The firstAttemptStatus.
      • getFirstAttemptStatusOrBuilder

        AttemptStatusOrBuilder getFirstAttemptStatusOrBuilder()
         Output only. The status of the task's first attempt.
        
         Only
         [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time]
         will be set. The other
         [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is
         not retained by Cloud Tasks.
        
         This field is not calculated for [pull
         tasks][google.cloud.tasks.v2beta2.PullMessage].
         
        .google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;
      • hasLastAttemptStatus

        boolean hasLastAttemptStatus()
         Output only. The status of the task's last attempt.
        
         This field is not calculated for [pull
         tasks][google.cloud.tasks.v2beta2.PullMessage].
         
        .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
        Returns:
        Whether the lastAttemptStatus field is set.
      • getLastAttemptStatus

        AttemptStatus getLastAttemptStatus()
         Output only. The status of the task's last attempt.
        
         This field is not calculated for [pull
         tasks][google.cloud.tasks.v2beta2.PullMessage].
         
        .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;
        Returns:
        The lastAttemptStatus.
      • getLastAttemptStatusOrBuilder

        AttemptStatusOrBuilder getLastAttemptStatusOrBuilder()
         Output only. The status of the task's last attempt.
        
         This field is not calculated for [pull
         tasks][google.cloud.tasks.v2beta2.PullMessage].
         
        .google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;