@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(1, getUriOverride());
    }
    if (httpMethod_
        != com.google.cloud.tasks.v2beta2.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
      output.writeEnum(2, httpMethod_);
    }
    for (int i = 0; i < headerOverrides_.size(); i++) {
      output.writeMessage(3, headerOverrides_.get(i));
    }
    if (authorizationHeaderCase_ == 5) {
      output.writeMessage(5, (com.google.cloud.tasks.v2beta2.OAuthToken) authorizationHeader_);
    }
    if (authorizationHeaderCase_ == 6) {
      output.writeMessage(6, (com.google.cloud.tasks.v2beta2.OidcToken) authorizationHeader_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
If specified, an
[OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
token will be generated and attached as an `Authorization` header in the
HTTP request.

This type of authorization can be used for many scenarios, including
calling Cloud Run, or endpoints where you intend to validate the token
yourself.
</pre>

<code>.google.cloud.tasks.v2beta2.OidcToken oidc_token = 6;</code>
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/HttpTarget.java