@java.lang.Override
    public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() {
      if (httpRequestBuilder_ == null) {
        if (payloadTypeCase_ == 11) {
          return (com.google.cloud.tasks.v2beta3.HttpRequest) payloadType_;
        }
        return com.google.cloud.tasks.v2beta3.HttpRequest.getDefaultInstance();
      } else {
        if (payloadTypeCase_ == 11) {
          return httpRequestBuilder_.getMessage();
        }
        return com.google.cloud.tasks.v2beta3.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.v2beta3.HttpRequest] set.
</pre>

<code>.google.cloud.tasks.v2beta3.HttpRequest http_request = 11;</code>

@return The httpRequest.
java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java