private void buildPartialRepeatedFields(
        com.google.webrisk.v1beta1.SearchHashesResponse result) {
      if (threatsBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          threats_ = java.util.Collections.unmodifiableList(threats_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.threats_ = threats_;
      } else {
        result.threats_ = threatsBuilder_.build();
      }
    }
Protobuf type {@code google.cloud.webrisk.v1beta1.SearchHashesResponse}
java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesResponse.java