@java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10:
              {
                inputUri_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
            case 18:
              {
                com.google.cloud.videointelligence.v1.LabelAnnotation m =
                    input.readMessage(
                        com.google.cloud.videointelligence.v1.LabelAnnotation.parser(),
                        extensionRegistry);
                if (segmentLabelAnnotationsBuilder_ == null) {
                  ensureSegmentLabelAnnotationsIsMutable();
                  segmentLabelAnnotations_.add(m);
                } else {
                  segmentLabelAnnotationsBuilder_.addMessage(m);
                }
                break;
              } // case 18
            case 26:
              {
                com.google.cloud.videointelligence.v1.LabelAnnotation m =
                    input.readMessage(
                        com.google.cloud.videointelligence.v1.LabelAnnotation.parser(),
                        extensionRegistry);
                if (shotLabelAnnotationsBuilder_ == null) {
                  ensureShotLabelAnnotationsIsMutable();
                  shotLabelAnnotations_.add(m);
                } else {
                  shotLabelAnnotationsBuilder_.addMessage(m);
                }
                break;
              } // case 26
            case 34:
              {
                com.google.cloud.videointelligence.v1.LabelAnnotation m =
                    input.readMessage(
                        com.google.cloud.videointelligence.v1.LabelAnnotation.parser(),
                        extensionRegistry);
                if (frameLabelAnnotationsBuilder_ == null) {
                  ensureFrameLabelAnnotationsIsMutable();
                  frameLabelAnnotations_.add(m);
                } else {
                  frameLabelAnnotationsBuilder_.addMessage(m);
                }
                break;
              } // case 34
            case 42:
              {
                com.google.cloud.videointelligence.v1.FaceAnnotation m =
                    input.readMessage(
                        com.google.cloud.videointelligence.v1.FaceAnnotation.parser(),
                        extensionRegistry);
                if (faceAnnotationsBuilder_ == null) {
                  ensureFaceAnnotationsIsMutable();
                  faceAnnotations_.add(m);
                } else {
                  faceAnnotationsBuilder_.addMessage(m);
                }
                break;
              } // case 42
            case 50:
              {
                com.google.cloud.videointelligence.v1.VideoSegment m =
                    input.readMessage(
                        com.google.cloud.videointelligence.v1.VideoSegment.parser(),
                        extensionRegistry);
                if (shotAnnotationsBuilder_ == null) {
                  ensureShotAnnotationsIsMutable();
                  shotAnnotations_.add(m);
                } else {
                  shotAnnotationsBuilder_.addMessage(m);
                }
                break;
              } // case 50
            case 58:
              {
                input.readMessage(
                    getExplicitAnnotationFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000400;
                break;
              } // case 58
            case 74:
              {
                input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00010000;
                break;
              } // case 74
            case 82:
              {
                input.readMessage(getSegmentFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000002;
                break;
              } // case 82
            case 90:
              {
                com.google.cloud.videointelligence.v1.SpeechTranscription m =
                    input.readMessage(
                        com.google.cloud.videointelligence.v1.SpeechTranscription.parser(),
                        extensionRegistry);
                if (speechTranscriptionsBuilder_ == null) {
                  ensureSpeechTranscriptionsIsMutable();
                  speechTranscriptions_.add(m);
                } else {
                  speechTranscriptionsBuilder_.addMessage(m);
                }
                break;
              } // case 90
            case 98:
              {
                com.google.cloud.videointelligence.v1.TextAnnotation m =
                    input.readMessage(
                        com.google.cloud.videointelligence.v1.TextAnnotation.parser(),
                        extensionRegistry);
                if (textAnnotationsBuilder_ == null) {
                  ensureTextAnnotationsIsMutable();
                  textAnnotations_.add(m);
                } else {
                  textAnnotationsBuilder_.addMessage(m);
                }
                break;
              } // case 98
            case 106:
              {
                com.google.cloud.videointelligence.v1.FaceDetectionAnnotation m =
                    input.readMessage(
                        com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.parser(),
                        extensionRegistry);
                if (faceDetectionAnnotationsBuilder_ == null) {
                  ensureFaceDetectionAnnotationsIsMutable();
                  faceDetectionAnnotations_.add(m);
                } else {
                  faceDetectionAnnotationsBuilder_.addMessage(m);
                }
                break;
              } // case 106
            case 114:
              {
                com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation m =
                    input.readMessage(
                        com.google.cloud.videointelligence.v1.ObjectTrackingAnnotation.parser(),
                        extensionRegistry);
                if (objectAnnotationsBuilder_ == null) {
                  ensureObjectAnnotationsIsMutable();
                  objectAnnotations_.add(m);
                } else {
                  objectAnnotationsBuilder_.addMessage(m);
                }
                break;
              } // case 114
            case 154:
              {
                com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation m =
                    input.readMessage(
                        com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.parser(),
                        extensionRegistry);
                if (logoRecognitionAnnotationsBuilder_ == null) {
                  ensureLogoRecognitionAnnotationsIsMutable();
                  logoRecognitionAnnotations_.add(m);
                } else {
                  logoRecognitionAnnotationsBuilder_.addMessage(m);
                }
                break;
              } // case 154
            case 162:
              {
                com.google.cloud.videointelligence.v1.PersonDetectionAnnotation m =
                    input.readMessage(
                        com.google.cloud.videointelligence.v1.PersonDetectionAnnotation.parser(),
                        extensionRegistry);
                if (personDetectionAnnotationsBuilder_ == null) {
                  ensurePersonDetectionAnnotationsIsMutable();
                  personDetectionAnnotations_.add(m);
                } else {
                  personDetectionAnnotationsBuilder_.addMessage(m);
                }
                break;
              } // case 162
            case 186:
              {
                com.google.cloud.videointelligence.v1.LabelAnnotation m =
                    input.readMessage(
                        com.google.cloud.videointelligence.v1.LabelAnnotation.parser(),
                        extensionRegistry);
                if (segmentPresenceLabelAnnotationsBuilder_ == null) {
                  ensureSegmentPresenceLabelAnnotationsIsMutable();
                  segmentPresenceLabelAnnotations_.add(m);
                } else {
                  segmentPresenceLabelAnnotationsBuilder_.addMessage(m);
                }
                break;
              } // case 186
            case 194:
              {
                com.google.cloud.videointelligence.v1.LabelAnnotation m =
                    input.readMessage(
                        com.google.cloud.videointelligence.v1.LabelAnnotation.parser(),
                        extensionRegistry);
                if (shotPresenceLabelAnnotationsBuilder_ == null) {
                  ensureShotPresenceLabelAnnotationsIsMutable();
                  shotPresenceLabelAnnotations_.add(m);
                } else {
                  shotPresenceLabelAnnotationsBuilder_.addMessage(m);
                }
                break;
              } // case 194
            default:
              {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
<pre>
Annotation results for a single video.
</pre>

Protobuf type {@code google.cloud.videointelligence.v1.VideoAnnotationResults}
java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java