public boolean hasFirstAttempt() {
      return ((bitField0_ & 0x00000100) != 0);
    }
<pre>
Output only. The status of the task's first attempt.

Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be
set. The other [Attempt][google.cloud.tasks.v2.Attempt] information is not
retained by Cloud Tasks.
</pre>

<code>.google.cloud.tasks.v2.Attempt first_attempt = 9;</code>

@return Whether the firstAttempt field is set.
java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java