@java.lang.Override
    public boolean hasHttpRequest() {
      return payloadTypeCase_ == 13;
    }
<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>

@return Whether the httpRequest field is set.
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Task.java