@java.lang.Override
    public com.google.cloud.tasks.v2.HttpRequestOrBuilder getHttpRequestOrBuilder() {
      if ((messageTypeCase_ == 3) && (httpRequestBuilder_ != null)) {
        return httpRequestBuilder_.getMessageOrBuilder();
      } else {
        if (messageTypeCase_ == 3) {
          return (com.google.cloud.tasks.v2.HttpRequest) messageType_;
        }
        return com.google.cloud.tasks.v2.HttpRequest.getDefaultInstance();
      }
    }
<pre>
HTTP request that is sent to the worker.

An HTTP task is a task that has
[HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
</pre>

<code>.google.cloud.tasks.v2.HttpRequest http_request = 3;</code>
java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java