@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
    }
    if (executionState_
        != com.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState.EXECUTION_STATE_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(2, executionState_);
    }
    if (resultState_
        != com.google.cloud.websecurityscanner.v1.ScanRun.ResultState.RESULT_STATE_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(3, resultState_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(4, getStartTime());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(5, getEndTime());
    }
    if (urlsCrawledCount_ != 0L) {
      output.writeInt64(6, urlsCrawledCount_);
    }
    if (urlsTestedCount_ != 0L) {
      output.writeInt64(7, urlsTestedCount_);
    }
    if (hasVulnerabilities_ != false) {
      output.writeBool(8, hasVulnerabilities_);
    }
    if (progressPercent_ != 0) {
      output.writeInt32(9, progressPercent_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeMessage(10, getErrorTrace());
    }
    for (int i = 0; i < warningTraces_.size(); i++) {
      output.writeMessage(11, warningTraces_.get(i));
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Output only. A list of warnings, if such are encountered during this scan run.
</pre>

<code>repeated .google.cloud.websecurityscanner.v1.ScanRunWarningTrace warning_traces = 11;
</code>
java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRun.java