public Builder setScanConfig(com.google.cloud.websecurityscanner.v1beta.ScanConfig value) {
      if (scanConfigBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        scanConfig_ = value;
      } else {
        scanConfigBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<pre>
Required. The ScanConfig to be created.
</pre>

<code>
.google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
</code>
java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/CreateScanConfigRequest.java