public Builder addThreatTypes(com.google.webrisk.v1.ThreatType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureThreatTypesIsMutable();
        threatTypes_.add(value.getNumber());
        onChanged();
        return this;
      }
<pre>
The ThreatList this threat belongs to.
This must contain at least one entry.
</pre>

<code>repeated .google.cloud.webrisk.v1.ThreatType threat_types = 1;</code>

@param value The threatTypes to add.
@return This builder for chaining.
java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/SearchHashesResponse.java