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

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

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