@java.lang.Override
  public com.google.cloud.websecurityscanner.v1.ScanRunWarningTrace.Code getCode() {
    com.google.cloud.websecurityscanner.v1.ScanRunWarningTrace.Code result =
        com.google.cloud.websecurityscanner.v1.ScanRunWarningTrace.Code.forNumber(code_);
    return result == null
        ? com.google.cloud.websecurityscanner.v1.ScanRunWarningTrace.Code.UNRECOGNIZED
        : result;
  }
<pre>
Output only. Indicates the warning code.
</pre>

<code>.google.cloud.websecurityscanner.v1.ScanRunWarningTrace.Code code = 1;</code>

@return The code.
java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunWarningTrace.java