private void buildPartialRepeatedFields(
        com.google.cloud.visionai.v1.SearchIndexEndpointRequest result) {
      if (criteriaBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0)) {
          criteria_ = java.util.Collections.unmodifiableList(criteria_);
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.criteria_ = criteria_;
      } else {
        result.criteria_ = criteriaBuilder_.build();
      }
      if (exclusionCriteriaBuilder_ == null) {
        if (((bitField0_ & 0x00000010) != 0)) {
          exclusionCriteria_ = java.util.Collections.unmodifiableList(exclusionCriteria_);
          bitField0_ = (bitField0_ & ~0x00000010);
        }
        result.exclusionCriteria_ = exclusionCriteria_;
      } else {
        result.exclusionCriteria_ = exclusionCriteriaBuilder_.build();
      }
    }
<pre>
Request message for SearchIndexEndpoint.
</pre>

Protobuf type {@code google.cloud.visionai.v1.SearchIndexEndpointRequest}
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SearchIndexEndpointRequest.java