private com.google.protobuf.SingleFieldBuilderV3<
            com.google.cloud.tasks.v2beta2.AttemptStatus,
            com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
            com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>
        getLastAttemptStatusFieldBuilder() {
      if (lastAttemptStatusBuilder_ == null) {
        lastAttemptStatusBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.cloud.tasks.v2beta2.AttemptStatus,
                com.google.cloud.tasks.v2beta2.AttemptStatus.Builder,
                com.google.cloud.tasks.v2beta2.AttemptStatusOrBuilder>(
                getLastAttemptStatus(), getParentForChildren(), isClean());
        lastAttemptStatus_ = null;
      }
      return lastAttemptStatusBuilder_;
    }
<pre>
Output only. The status of the task's last attempt.

This field is not calculated for [pull
tasks][google.cloud.tasks.v2beta2.PullMessage].
</pre>

<code>.google.cloud.tasks.v2beta2.AttemptStatus last_attempt_status = 4;</code>
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java