private void buildPartial0(com.google.cloud.tasks.v2beta2.TaskStatus result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.attemptDispatchCount_ = attemptDispatchCount_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.attemptResponseCount_ = attemptResponseCount_;
      }
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.firstAttemptStatus_ =
            firstAttemptStatusBuilder_ == null
                ? firstAttemptStatus_
                : firstAttemptStatusBuilder_.build();
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.lastAttemptStatus_ =
            lastAttemptStatusBuilder_ == null
                ? lastAttemptStatus_
                : lastAttemptStatusBuilder_.build();
        to_bitField0_ |= 0x00000002;
      }
      result.bitField0_ |= to_bitField0_;
    }
<pre>
Status of the task.
</pre>

Protobuf type {@code google.cloud.tasks.v2beta2.TaskStatus}
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskStatus.java