private com.google.protobuf.MapField<java.lang.String, java.lang.String> internalGetHeaders() {
    if (headers_ == null) {
      return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry);
    }
    return headers_;
  }
<pre>
The HTTP method to use for the request. The default is POST.
</pre>

<code>.google.cloud.tasks.v2beta3.HttpMethod http_method = 2;</code>

@return The httpMethod.
java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java