public Builder setCode(
        com.google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace.Code value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000001;
      code_ = value.getNumber();
      onChanged();
      return this;
    }
<pre>
Indicates the warning code.
</pre>

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

@param value The code to set.
@return This builder for chaining.
java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunWarningTrace.java