@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.vision.v1p3beta1.ImageContext)) {
      return super.equals(obj);
    }
    com.google.cloud.vision.v1p3beta1.ImageContext other =
        (com.google.cloud.vision.v1p3beta1.ImageContext) obj;

    if (hasLatLongRect() != other.hasLatLongRect()) return false;
    if (hasLatLongRect()) {
      if (!getLatLongRect().equals(other.getLatLongRect())) return false;
    }
    if (!getLanguageHintsList().equals(other.getLanguageHintsList())) return false;
    if (hasCropHintsParams() != other.hasCropHintsParams()) return false;
    if (hasCropHintsParams()) {
      if (!getCropHintsParams().equals(other.getCropHintsParams())) return false;
    }
    if (hasProductSearchParams() != other.hasProductSearchParams()) return false;
    if (hasProductSearchParams()) {
      if (!getProductSearchParams().equals(other.getProductSearchParams())) return false;
    }
    if (hasWebDetectionParams() != other.hasWebDetectionParams()) return false;
    if (hasWebDetectionParams()) {
      if (!getWebDetectionParams().equals(other.getWebDetectionParams())) return false;
    }
    if (hasTextDetectionParams() != other.hasTextDetectionParams()) return false;
    if (hasTextDetectionParams()) {
      if (!getTextDetectionParams().equals(other.getTextDetectionParams())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<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