public Builder mergeFrom(com.google.cloud.visionai.v1.SearchHypernym other) {
      if (other == com.google.cloud.visionai.v1.SearchHypernym.getDefaultInstance()) return this;
      if (!other.getName().isEmpty()) {
        name_ = other.name_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (!other.getHypernym().isEmpty()) {
        hypernym_ = other.hypernym_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (!other.hyponyms_.isEmpty()) {
        if (hyponyms_.isEmpty()) {
          hyponyms_ = other.hyponyms_;
          bitField0_ |= 0x00000004;
        } else {
          ensureHyponymsIsMutable();
          hyponyms_.addAll(other.hyponyms_);
        }
        onChanged();
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Search resource: SearchHypernym.
For example,
{ hypernym: "vehicle"
  hyponyms: ["sedan", "truck"] }
This means in SMART_SEARCH mode, searching for "vehicle" will also return
results with "sedan" or "truck" as annotations.
</pre>

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