@java.lang.Override
  public int getThreatTypesCount() {
    return threatTypes_.size();
  }
<pre>
Required. The ThreatLists to search in.
</pre>

<code>
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 2 [(.google.api.field_behavior) = REQUIRED];
</code>

@return The count of threatTypes.
java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesRequest.java