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

      if (!getDetectedLanguagesList().equals(other.getDetectedLanguagesList())) return false;
      if (hasDetectedBreak() != other.hasDetectedBreak()) return false;
      if (hasDetectedBreak()) {
        if (!getDetectedBreak().equals(other.getDetectedBreak())) return false;
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Detected start or end of a text segment.
</pre>

<code>.google.cloud.vision.v1p4beta1.TextAnnotation.DetectedBreak detected_break = 2;</code>
java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/TextAnnotation.java