@java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (authenticationCase_ == 1) {
        size +=
            com.google.protobuf.CodedOutputStream.computeMessageSize(
                1,
                (com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.GoogleAccount)
                    authentication_);
      }
      if (authenticationCase_ == 2) {
        size +=
            com.google.protobuf.CodedOutputStream.computeMessageSize(
                2,
                (com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.CustomAccount)
                    authentication_);
      }
      if (authenticationCase_ == 4) {
        size +=
            com.google.protobuf.CodedOutputStream.computeMessageSize(
                4,
                (com.google.cloud.websecurityscanner.v1.ScanConfig.Authentication.IapCredential)
                    authentication_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
<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