@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
    }
    for (int i = 0; i < segmentLabelAnnotations_.size(); i++) {
      output.writeMessage(2, segmentLabelAnnotations_.get(i));
    }
    for (int i = 0; i < shotLabelAnnotations_.size(); i++) {
      output.writeMessage(3, shotLabelAnnotations_.get(i));
    }
    for (int i = 0; i < frameLabelAnnotations_.size(); i++) {
      output.writeMessage(4, frameLabelAnnotations_.get(i));
    }
    for (int i = 0; i < faceAnnotations_.size(); i++) {
      output.writeMessage(5, faceAnnotations_.get(i));
    }
    for (int i = 0; i < shotAnnotations_.size(); i++) {
      output.writeMessage(6, shotAnnotations_.get(i));
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(7, getExplicitAnnotation());
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeMessage(9, getError());
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(10, getSegment());
    }
    for (int i = 0; i < speechTranscriptions_.size(); i++) {
      output.writeMessage(11, speechTranscriptions_.get(i));
    }
    for (int i = 0; i < textAnnotations_.size(); i++) {
      output.writeMessage(12, textAnnotations_.get(i));
    }
    for (int i = 0; i < faceDetectionAnnotations_.size(); i++) {
      output.writeMessage(13, faceDetectionAnnotations_.get(i));
    }
    for (int i = 0; i < objectAnnotations_.size(); i++) {
      output.writeMessage(14, objectAnnotations_.get(i));
    }
    for (int i = 0; i < logoRecognitionAnnotations_.size(); i++) {
      output.writeMessage(19, logoRecognitionAnnotations_.get(i));
    }
    for (int i = 0; i < personDetectionAnnotations_.size(); i++) {
      output.writeMessage(20, personDetectionAnnotations_.get(i));
    }
    for (int i = 0; i < segmentPresenceLabelAnnotations_.size(); i++) {
      output.writeMessage(23, segmentPresenceLabelAnnotations_.get(i));
    }
    for (int i = 0; i < shotPresenceLabelAnnotations_.size(); i++) {
      output.writeMessage(24, shotPresenceLabelAnnotations_.get(i));
    }
    getUnknownFields().writeTo(output);
  }
<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