@java.lang.Override
  public boolean hasLastAttempt() {
    return ((bitField0_ & 0x00000010) != 0);
  }
<pre>
Output only. The status of the task's last attempt.
</pre>

<code>.google.cloud.tasks.v2beta3.Attempt last_attempt = 9;</code>

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