public Builder mergeLastAttemptStatus(com.google.cloud.tasks.v2beta2.AttemptStatus value) {
      if (lastAttemptStatusBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0)
            && lastAttemptStatus_ != null
            && lastAttemptStatus_
                != com.google.cloud.tasks.v2beta2.AttemptStatus.getDefaultInstance()) {
          getLastAttemptStatusBuilder().mergeFrom(value);
        } else {
          lastAttemptStatus_ = value;
        }
      } else {
        lastAttemptStatusBuilder_.mergeFrom(value);
      }
      if (lastAttemptStatus_ != null) {
        bitField0_ |= 0x00000008;
        onChanged();
      }
      return this;
    }
<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