public final SearchHashesResponse searchHashes(
      ByteString hashPrefix, List<ThreatType> threatTypes) {
    SearchHashesRequest request =
        SearchHashesRequest.newBuilder()
            .setHashPrefix(hashPrefix)
            .addAllThreatTypes(threatTypes)
            .build();
    return searchHashes(request);
  }
Gets the full hashes that match the requested hash prefix. This is used after a hash prefix is
looked up in a threatList and there is a match. The client side threatList only holds partial
hashes so the client must query this method to determine if there is a full hash match of a
threat.

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (WebRiskServiceV1Beta1Client webRiskServiceV1Beta1Client =
    WebRiskServiceV1Beta1Client.create()) {
  ByteString hashPrefix = ByteString.EMPTY;
  List<ThreatType> threatTypes = new ArrayList<>();
  SearchHashesResponse response =
      webRiskServiceV1Beta1Client.searchHashes(hashPrefix, threatTypes);
}
}</pre>

@param hashPrefix A hash prefix, consisting of the most significant 4-32 bytes of a SHA256
    hash. For JSON requests, this field is base64-encoded.
@param threatTypes Required. The ThreatLists to search in.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-webrisk/google-cloud-webrisk/src/main/java/com/google/cloud/webrisk/v1beta1/WebRiskServiceV1Beta1Client.java