private void buildPartialOneofs(com.google.cloud.tasks.v2beta2.HttpRequest result) {
      result.authorizationHeaderCase_ = authorizationHeaderCase_;
      result.authorizationHeader_ = this.authorizationHeader_;
      if (authorizationHeaderCase_ == 5 && oauthTokenBuilder_ != null) {
        result.authorizationHeader_ = oauthTokenBuilder_.build();
      }
      if (authorizationHeaderCase_ == 6 && oidcTokenBuilder_ != null) {
        result.authorizationHeader_ = oidcTokenBuilder_.build();
      }
    }
<pre>
HTTP request.

The task will be pushed to the worker as an HTTP request. An HTTP request
embodies a url, an http method, headers, body and authorization for the http
task.
</pre>

Protobuf type {@code google.cloud.tasks.v2beta2.HttpRequest}
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpRequest.java