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

    if (!getInputUri().equals(other.getInputUri())) return false;
    if (hasSegment() != other.hasSegment()) return false;
    if (hasSegment()) {
      if (!getSegment().equals(other.getSegment())) return false;
    }
    if (!getSegmentLabelAnnotationsList().equals(other.getSegmentLabelAnnotationsList()))
      return false;
    if (!getSegmentPresenceLabelAnnotationsList()
        .equals(other.getSegmentPresenceLabelAnnotationsList())) return false;
    if (!getShotLabelAnnotationsList().equals(other.getShotLabelAnnotationsList())) return false;
    if (!getShotPresenceLabelAnnotationsList().equals(other.getShotPresenceLabelAnnotationsList()))
      return false;
    if (!getFrameLabelAnnotationsList().equals(other.getFrameLabelAnnotationsList())) return false;
    if (!getFaceAnnotationsList().equals(other.getFaceAnnotationsList())) return false;
    if (!getFaceDetectionAnnotationsList().equals(other.getFaceDetectionAnnotationsList()))
      return false;
    if (!getShotAnnotationsList().equals(other.getShotAnnotationsList())) return false;
    if (hasExplicitAnnotation() != other.hasExplicitAnnotation()) return false;
    if (hasExplicitAnnotation()) {
      if (!getExplicitAnnotation().equals(other.getExplicitAnnotation())) return false;
    }
    if (!getSpeechTranscriptionsList().equals(other.getSpeechTranscriptionsList())) return false;
    if (!getTextAnnotationsList().equals(other.getTextAnnotationsList())) return false;
    if (!getObjectAnnotationsList().equals(other.getObjectAnnotationsList())) return false;
    if (!getLogoRecognitionAnnotationsList().equals(other.getLogoRecognitionAnnotationsList()))
      return false;
    if (!getPersonDetectionAnnotationsList().equals(other.getPersonDetectionAnnotationsList()))
      return false;
    if (hasError() != other.hasError()) return false;
    if (hasError()) {
      if (!getError().equals(other.getError())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
If set, indicates an error. Note that for a single `AnnotateVideoRequest`
some videos may succeed and some may fail.
</pre>

<code>.google.rpc.Status error = 9;</code>
java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java