@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(1, getLatLongRect());
    }
    for (int i = 0; i < languageHints_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, languageHints_.getRaw(i));
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(4, getCropHintsParams());
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeMessage(5, getProductSearchParams());
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      output.writeMessage(6, getWebDetectionParams());
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      output.writeMessage(12, getTextDetectionParams());
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Parameters for text detection and document text detection.
</pre>

<code>.google.cloud.vision.v1p3beta1.TextDetectionParams text_detection_params = 12;</code>
java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ImageContext.java