public Builder setPlatform(com.google.webrisk.v1.ThreatDiscovery.Platform value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000001;
      platform_ = value.getNumber();
      onChanged();
      return this;
    }
<pre>
Platform on which the threat was discovered.
</pre>

<code>.google.cloud.webrisk.v1.ThreatDiscovery.Platform platform = 1;</code>

@param value The platform to set.
@return This builder for chaining.
java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/ThreatDiscovery.java