public boolean hasFirstAttemptStatus() {
      return ((bitField0_ & 0x00000004) != 0);
    }
<pre>
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].
</pre>

<code>.google.cloud.tasks.v2beta2.AttemptStatus first_attempt_status = 3;</code>

@return Whether the firstAttemptStatus field is set.
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java