@java.lang.Override
  public boolean hasHost() {
    return ((bitField0_ & 0x00000002) != 0);
  }
<pre>
Host override.

When specified, replaces the host part of the task URL. For example,
if the task URL is "https://www.google.com," and host value is set to
"example.net", the overridden URI will be changed to "https://example.net."
Host value cannot be an empty string (INVALID_ARGUMENT).
</pre>

<code>optional string host = 2;</code>

@return Whether the host field is set.
java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UriOverride.java