public boolean hasScanConfig() {
      return ((bitField0_ & 0x00000002) != 0);
    }
<pre>
Required. The ScanConfig to be created.
</pre>

<code>
.google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
</code>

@return Whether the scanConfig field is set.
java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/CreateScanConfigRequest.java