public com.google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule getSchedule() {
      if (scheduleBuilder_ == null) {
        return schedule_ == null
            ? com.google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule.getDefaultInstance()
            : schedule_;
      } else {
        return scheduleBuilder_.getMessage();
      }
    }
<pre>
The schedule of the ScanConfig.
</pre>

<code>.google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule schedule = 8;</code>

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