@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.tasks.v2beta3.HttpTarget)) {
      return super.equals(obj);
    }
    com.google.cloud.tasks.v2beta3.HttpTarget other =
        (com.google.cloud.tasks.v2beta3.HttpTarget) obj;

    if (hasUriOverride() != other.hasUriOverride()) return false;
    if (hasUriOverride()) {
      if (!getUriOverride().equals(other.getUriOverride())) return false;
    }
    if (httpMethod_ != other.httpMethod_) return false;
    if (!getHeaderOverridesList().equals(other.getHeaderOverridesList())) return false;
    if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
    switch (authorizationHeaderCase_) {
      case 5:
        if (!getOauthToken().equals(other.getOauthToken())) return false;
        break;
      case 6:
        if (!getOidcToken().equals(other.getOidcToken())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<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.v2beta3.OidcToken oidc_token = 6;</code>
java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpTarget.java