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

      if (!getAuthenticationCase().equals(other.getAuthenticationCase())) return false;
      switch (authenticationCase_) {
        case 1:
          if (!getGoogleAccount().equals(other.getGoogleAccount())) return false;
          break;
        case 2:
          if (!getCustomAccount().equals(other.getCustomAccount())) return false;
          break;
        case 4:
          if (!getIapCredential().equals(other.getIapCredential())) return false;
          break;
        case 0:
        default:
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Authentication using Identity-Aware-Proxy (IAP).
</pre>

<code>
.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential iap_credential = 4;
</code>
java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfig.java