@java.lang.Override
      public com.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount
          getCustomAccount() {
        if (customAccountBuilder_ == null) {
          if (authenticationCase_ == 2) {
            return (com.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication
                    .CustomAccount)
                authentication_;
          }
          return com.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount
              .getDefaultInstance();
        } else {
          if (authenticationCase_ == 2) {
            return customAccountBuilder_.getMessage();
          }
          return com.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount
              .getDefaultInstance();
        }
      }
<pre>
Authentication using a custom account.
</pre>

<code>
.google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount custom_account = 2;
</code>

@return The customAccount.
java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfig.java