@java.lang.Override
    public com.google.cloud.tasks.v2beta2.HttpRequestOrBuilder getHttpRequestOrBuilder() {
      if ((payloadTypeCase_ == 13) && (httpRequestBuilder_ != null)) {
        return httpRequestBuilder_.getMessageOrBuilder();
      } else {
        if (payloadTypeCase_ == 13) {
          return (com.google.cloud.tasks.v2beta2.HttpRequest) payloadType_;
        }
        return com.google.cloud.tasks.v2beta2.HttpRequest.getDefaultInstance();
      }
    }
<pre>
HTTP request that is sent to the task's target.

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

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