public Builder mergeFrom(com.google.cloud.tasks.v2beta2.Task other) {
      if (other == com.google.cloud.tasks.v2beta2.Task.getDefaultInstance()) return this;
      if (!other.getName().isEmpty()) {
        name_ = other.name_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (other.hasScheduleTime()) {
        mergeScheduleTime(other.getScheduleTime());
      }
      if (other.hasCreateTime()) {
        mergeCreateTime(other.getCreateTime());
      }
      if (other.hasStatus()) {
        mergeStatus(other.getStatus());
      }
      if (other.view_ != 0) {
        setViewValue(other.getViewValue());
      }
      switch (other.getPayloadTypeCase()) {
        case APP_ENGINE_HTTP_REQUEST:
          {
            mergeAppEngineHttpRequest(other.getAppEngineHttpRequest());
            break;
          }
        case PULL_MESSAGE:
          {
            mergePullMessage(other.getPullMessage());
            break;
          }
        case HTTP_REQUEST:
          {
            mergeHttpRequest(other.getHttpRequest());
            break;
          }
        case PAYLOADTYPE_NOT_SET:
          {
            break;
          }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
A unit of scheduled work.
</pre>

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