public Builder mergeFrom(
          com.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedLanguage other) {
        if (other
            == com.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedLanguage
                .getDefaultInstance()) return this;
        if (!other.getLanguageCode().isEmpty()) {
          languageCode_ = other.languageCode_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (other.getConfidence() != 0F) {
          setConfidence(other.getConfidence());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }
<pre>
Detected language for a structural component.
</pre>

Protobuf type {@code google.cloud.vision.v1p4beta1.TextAnnotation.DetectedLanguage}
java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/TextAnnotation.java