Class VideoAnnotationResults

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.videointelligence.v1.VideoAnnotationResults
All Implemented Interfaces:
VideoAnnotationResultsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class VideoAnnotationResults extends com.google.protobuf.GeneratedMessage implements VideoAnnotationResultsOrBuilder
 Annotation results for a single video.
 
Protobuf type google.cloud.videointelligence.v1.VideoAnnotationResults
See Also:
  • Field Details

    • INPUT_URI_FIELD_NUMBER

      public static final int INPUT_URI_FIELD_NUMBER
      See Also:
    • SEGMENT_FIELD_NUMBER

      public static final int SEGMENT_FIELD_NUMBER
      See Also:
    • SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER

      public static final int SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • SEGMENT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER

      public static final int SEGMENT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER

      public static final int SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • SHOT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER

      public static final int SHOT_PRESENCE_LABEL_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER

      public static final int FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • FACE_ANNOTATIONS_FIELD_NUMBER

      public static final int FACE_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • FACE_DETECTION_ANNOTATIONS_FIELD_NUMBER

      public static final int FACE_DETECTION_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • SHOT_ANNOTATIONS_FIELD_NUMBER

      public static final int SHOT_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • EXPLICIT_ANNOTATION_FIELD_NUMBER

      public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER
      See Also:
    • SPEECH_TRANSCRIPTIONS_FIELD_NUMBER

      public static final int SPEECH_TRANSCRIPTIONS_FIELD_NUMBER
      See Also:
    • TEXT_ANNOTATIONS_FIELD_NUMBER

      public static final int TEXT_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • OBJECT_ANNOTATIONS_FIELD_NUMBER

      public static final int OBJECT_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • LOGO_RECOGNITION_ANNOTATIONS_FIELD_NUMBER

      public static final int LOGO_RECOGNITION_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • PERSON_DETECTION_ANNOTATIONS_FIELD_NUMBER

      public static final int PERSON_DETECTION_ANNOTATIONS_FIELD_NUMBER
      See Also:
    • ERROR_FIELD_NUMBER

      public static final int ERROR_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getInputUri

      public String getInputUri()
       Video file location in
       [Cloud Storage](https://cloud.google.com/storage/).
       
      string input_uri = 1;
      Specified by:
      getInputUri in interface VideoAnnotationResultsOrBuilder
      Returns:
      The inputUri.
    • getInputUriBytes

      public com.google.protobuf.ByteString getInputUriBytes()
       Video file location in
       [Cloud Storage](https://cloud.google.com/storage/).
       
      string input_uri = 1;
      Specified by:
      getInputUriBytes in interface VideoAnnotationResultsOrBuilder
      Returns:
      The bytes for inputUri.
    • hasSegment

      public boolean hasSegment()
       Video segment on which the annotation is run.
       
      .google.cloud.videointelligence.v1.VideoSegment segment = 10;
      Specified by:
      hasSegment in interface VideoAnnotationResultsOrBuilder
      Returns:
      Whether the segment field is set.
    • getSegment

      public VideoSegment getSegment()
       Video segment on which the annotation is run.
       
      .google.cloud.videointelligence.v1.VideoSegment segment = 10;
      Specified by:
      getSegment in interface VideoAnnotationResultsOrBuilder
      Returns:
      The segment.
    • getSegmentOrBuilder

      public VideoSegmentOrBuilder getSegmentOrBuilder()
       Video segment on which the annotation is run.
       
      .google.cloud.videointelligence.v1.VideoSegment segment = 10;
      Specified by:
      getSegmentOrBuilder in interface VideoAnnotationResultsOrBuilder
    • getSegmentLabelAnnotationsList

      public List<LabelAnnotation> getSegmentLabelAnnotationsList()
       Topical label annotations on video level or user-specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;
      Specified by:
      getSegmentLabelAnnotationsList in interface VideoAnnotationResultsOrBuilder
    • getSegmentLabelAnnotationsOrBuilderList

      public List<? extends LabelAnnotationOrBuilder> getSegmentLabelAnnotationsOrBuilderList()
       Topical label annotations on video level or user-specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;
      Specified by:
      getSegmentLabelAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilder
    • getSegmentLabelAnnotationsCount

      public int getSegmentLabelAnnotationsCount()
       Topical label annotations on video level or user-specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;
      Specified by:
      getSegmentLabelAnnotationsCount in interface VideoAnnotationResultsOrBuilder
    • getSegmentLabelAnnotations

      public LabelAnnotation getSegmentLabelAnnotations(int index)
       Topical label annotations on video level or user-specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;
      Specified by:
      getSegmentLabelAnnotations in interface VideoAnnotationResultsOrBuilder
    • getSegmentLabelAnnotationsOrBuilder

      public LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder(int index)
       Topical label annotations on video level or user-specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_label_annotations = 2;
      Specified by:
      getSegmentLabelAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilder
    • getSegmentPresenceLabelAnnotationsList

      public List<LabelAnnotation> getSegmentPresenceLabelAnnotationsList()
       Presence label annotations on video level or user-specified segment level.
       There is exactly one element for each unique label. Compared to the
       existing topical `segment_label_annotations`, this field presents more
       fine-grained, segment-level labels detected in video content and is made
       available only when the client sets `LabelDetectionConfig.model` to
       "builtin/latest" in the request.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23;
      Specified by:
      getSegmentPresenceLabelAnnotationsList in interface VideoAnnotationResultsOrBuilder
    • getSegmentPresenceLabelAnnotationsOrBuilderList

      public List<? extends LabelAnnotationOrBuilder> getSegmentPresenceLabelAnnotationsOrBuilderList()
       Presence label annotations on video level or user-specified segment level.
       There is exactly one element for each unique label. Compared to the
       existing topical `segment_label_annotations`, this field presents more
       fine-grained, segment-level labels detected in video content and is made
       available only when the client sets `LabelDetectionConfig.model` to
       "builtin/latest" in the request.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23;
      Specified by:
      getSegmentPresenceLabelAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilder
    • getSegmentPresenceLabelAnnotationsCount

      public int getSegmentPresenceLabelAnnotationsCount()
       Presence label annotations on video level or user-specified segment level.
       There is exactly one element for each unique label. Compared to the
       existing topical `segment_label_annotations`, this field presents more
       fine-grained, segment-level labels detected in video content and is made
       available only when the client sets `LabelDetectionConfig.model` to
       "builtin/latest" in the request.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23;
      Specified by:
      getSegmentPresenceLabelAnnotationsCount in interface VideoAnnotationResultsOrBuilder
    • getSegmentPresenceLabelAnnotations

      public LabelAnnotation getSegmentPresenceLabelAnnotations(int index)
       Presence label annotations on video level or user-specified segment level.
       There is exactly one element for each unique label. Compared to the
       existing topical `segment_label_annotations`, this field presents more
       fine-grained, segment-level labels detected in video content and is made
       available only when the client sets `LabelDetectionConfig.model` to
       "builtin/latest" in the request.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23;
      Specified by:
      getSegmentPresenceLabelAnnotations in interface VideoAnnotationResultsOrBuilder
    • getSegmentPresenceLabelAnnotationsOrBuilder

      public LabelAnnotationOrBuilder getSegmentPresenceLabelAnnotationsOrBuilder(int index)
       Presence label annotations on video level or user-specified segment level.
       There is exactly one element for each unique label. Compared to the
       existing topical `segment_label_annotations`, this field presents more
       fine-grained, segment-level labels detected in video content and is made
       available only when the client sets `LabelDetectionConfig.model` to
       "builtin/latest" in the request.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation segment_presence_label_annotations = 23;
      Specified by:
      getSegmentPresenceLabelAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilder
    • getShotLabelAnnotationsList

      public List<LabelAnnotation> getShotLabelAnnotationsList()
       Topical label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;
      Specified by:
      getShotLabelAnnotationsList in interface VideoAnnotationResultsOrBuilder
    • getShotLabelAnnotationsOrBuilderList

      public List<? extends LabelAnnotationOrBuilder> getShotLabelAnnotationsOrBuilderList()
       Topical label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;
      Specified by:
      getShotLabelAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilder
    • getShotLabelAnnotationsCount

      public int getShotLabelAnnotationsCount()
       Topical label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;
      Specified by:
      getShotLabelAnnotationsCount in interface VideoAnnotationResultsOrBuilder
    • getShotLabelAnnotations

      public LabelAnnotation getShotLabelAnnotations(int index)
       Topical label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;
      Specified by:
      getShotLabelAnnotations in interface VideoAnnotationResultsOrBuilder
    • getShotLabelAnnotationsOrBuilder

      public LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder(int index)
       Topical label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_label_annotations = 3;
      Specified by:
      getShotLabelAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilder
    • getShotPresenceLabelAnnotationsList

      public List<LabelAnnotation> getShotPresenceLabelAnnotationsList()
       Presence label annotations on shot level. There is exactly one element for
       each unique label. Compared to the existing topical
       `shot_label_annotations`, this field presents more fine-grained, shot-level
       labels detected in video content and is made available only when the client
       sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24;
      Specified by:
      getShotPresenceLabelAnnotationsList in interface VideoAnnotationResultsOrBuilder
    • getShotPresenceLabelAnnotationsOrBuilderList

      public List<? extends LabelAnnotationOrBuilder> getShotPresenceLabelAnnotationsOrBuilderList()
       Presence label annotations on shot level. There is exactly one element for
       each unique label. Compared to the existing topical
       `shot_label_annotations`, this field presents more fine-grained, shot-level
       labels detected in video content and is made available only when the client
       sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24;
      Specified by:
      getShotPresenceLabelAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilder
    • getShotPresenceLabelAnnotationsCount

      public int getShotPresenceLabelAnnotationsCount()
       Presence label annotations on shot level. There is exactly one element for
       each unique label. Compared to the existing topical
       `shot_label_annotations`, this field presents more fine-grained, shot-level
       labels detected in video content and is made available only when the client
       sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24;
      Specified by:
      getShotPresenceLabelAnnotationsCount in interface VideoAnnotationResultsOrBuilder
    • getShotPresenceLabelAnnotations

      public LabelAnnotation getShotPresenceLabelAnnotations(int index)
       Presence label annotations on shot level. There is exactly one element for
       each unique label. Compared to the existing topical
       `shot_label_annotations`, this field presents more fine-grained, shot-level
       labels detected in video content and is made available only when the client
       sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24;
      Specified by:
      getShotPresenceLabelAnnotations in interface VideoAnnotationResultsOrBuilder
    • getShotPresenceLabelAnnotationsOrBuilder

      public LabelAnnotationOrBuilder getShotPresenceLabelAnnotationsOrBuilder(int index)
       Presence label annotations on shot level. There is exactly one element for
       each unique label. Compared to the existing topical
       `shot_label_annotations`, this field presents more fine-grained, shot-level
       labels detected in video content and is made available only when the client
       sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation shot_presence_label_annotations = 24;
      Specified by:
      getShotPresenceLabelAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilder
    • getFrameLabelAnnotationsList

      public List<LabelAnnotation> getFrameLabelAnnotationsList()
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
      Specified by:
      getFrameLabelAnnotationsList in interface VideoAnnotationResultsOrBuilder
    • getFrameLabelAnnotationsOrBuilderList

      public List<? extends LabelAnnotationOrBuilder> getFrameLabelAnnotationsOrBuilderList()
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
      Specified by:
      getFrameLabelAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilder
    • getFrameLabelAnnotationsCount

      public int getFrameLabelAnnotationsCount()
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
      Specified by:
      getFrameLabelAnnotationsCount in interface VideoAnnotationResultsOrBuilder
    • getFrameLabelAnnotations

      public LabelAnnotation getFrameLabelAnnotations(int index)
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
      Specified by:
      getFrameLabelAnnotations in interface VideoAnnotationResultsOrBuilder
    • getFrameLabelAnnotationsOrBuilder

      public LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder(int index)
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1.LabelAnnotation frame_label_annotations = 4;
      Specified by:
      getFrameLabelAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilder
    • getFaceAnnotationsList

      @Deprecated public List<FaceAnnotation> getFaceAnnotationsList()
      Deprecated.
       Deprecated. Please use `face_detection_annotations` instead.
       
      repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
      Specified by:
      getFaceAnnotationsList in interface VideoAnnotationResultsOrBuilder
    • getFaceAnnotationsOrBuilderList

      @Deprecated public List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()
      Deprecated.
       Deprecated. Please use `face_detection_annotations` instead.
       
      repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
      Specified by:
      getFaceAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilder
    • getFaceAnnotationsCount

      @Deprecated public int getFaceAnnotationsCount()
      Deprecated.
       Deprecated. Please use `face_detection_annotations` instead.
       
      repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
      Specified by:
      getFaceAnnotationsCount in interface VideoAnnotationResultsOrBuilder
    • getFaceAnnotations

      @Deprecated public FaceAnnotation getFaceAnnotations(int index)
      Deprecated.
       Deprecated. Please use `face_detection_annotations` instead.
       
      repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
      Specified by:
      getFaceAnnotations in interface VideoAnnotationResultsOrBuilder
    • getFaceAnnotationsOrBuilder

      @Deprecated public FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index)
      Deprecated.
       Deprecated. Please use `face_detection_annotations` instead.
       
      repeated .google.cloud.videointelligence.v1.FaceAnnotation face_annotations = 5 [deprecated = true];
      Specified by:
      getFaceAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilder
    • getFaceDetectionAnnotationsList

      public List<FaceDetectionAnnotation> getFaceDetectionAnnotationsList()
       Face detection annotations.
       
      repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
      Specified by:
      getFaceDetectionAnnotationsList in interface VideoAnnotationResultsOrBuilder
    • getFaceDetectionAnnotationsOrBuilderList

      public List<? extends FaceDetectionAnnotationOrBuilder> getFaceDetectionAnnotationsOrBuilderList()
       Face detection annotations.
       
      repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
      Specified by:
      getFaceDetectionAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilder
    • getFaceDetectionAnnotationsCount

      public int getFaceDetectionAnnotationsCount()
       Face detection annotations.
       
      repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
      Specified by:
      getFaceDetectionAnnotationsCount in interface VideoAnnotationResultsOrBuilder
    • getFaceDetectionAnnotations

      public FaceDetectionAnnotation getFaceDetectionAnnotations(int index)
       Face detection annotations.
       
      repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
      Specified by:
      getFaceDetectionAnnotations in interface VideoAnnotationResultsOrBuilder
    • getFaceDetectionAnnotationsOrBuilder

      public FaceDetectionAnnotationOrBuilder getFaceDetectionAnnotationsOrBuilder(int index)
       Face detection annotations.
       
      repeated .google.cloud.videointelligence.v1.FaceDetectionAnnotation face_detection_annotations = 13;
      Specified by:
      getFaceDetectionAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilder
    • getShotAnnotationsList

      public List<VideoSegment> getShotAnnotationsList()
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
      Specified by:
      getShotAnnotationsList in interface VideoAnnotationResultsOrBuilder
    • getShotAnnotationsOrBuilderList

      public List<? extends VideoSegmentOrBuilder> getShotAnnotationsOrBuilderList()
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
      Specified by:
      getShotAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilder
    • getShotAnnotationsCount

      public int getShotAnnotationsCount()
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
      Specified by:
      getShotAnnotationsCount in interface VideoAnnotationResultsOrBuilder
    • getShotAnnotations

      public VideoSegment getShotAnnotations(int index)
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
      Specified by:
      getShotAnnotations in interface VideoAnnotationResultsOrBuilder
    • getShotAnnotationsOrBuilder

      public VideoSegmentOrBuilder getShotAnnotationsOrBuilder(int index)
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;
      Specified by:
      getShotAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilder
    • hasExplicitAnnotation

      public boolean hasExplicitAnnotation()
       Explicit content annotation.
       
      .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;
      Specified by:
      hasExplicitAnnotation in interface VideoAnnotationResultsOrBuilder
      Returns:
      Whether the explicitAnnotation field is set.
    • getExplicitAnnotation

      public ExplicitContentAnnotation getExplicitAnnotation()
       Explicit content annotation.
       
      .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;
      Specified by:
      getExplicitAnnotation in interface VideoAnnotationResultsOrBuilder
      Returns:
      The explicitAnnotation.
    • getExplicitAnnotationOrBuilder

      public ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder()
       Explicit content annotation.
       
      .google.cloud.videointelligence.v1.ExplicitContentAnnotation explicit_annotation = 7;
      Specified by:
      getExplicitAnnotationOrBuilder in interface VideoAnnotationResultsOrBuilder
    • getSpeechTranscriptionsList

      public List<SpeechTranscription> getSpeechTranscriptionsList()
       Speech transcription.
       
      repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
      Specified by:
      getSpeechTranscriptionsList in interface VideoAnnotationResultsOrBuilder
    • getSpeechTranscriptionsOrBuilderList

      public List<? extends SpeechTranscriptionOrBuilder> getSpeechTranscriptionsOrBuilderList()
       Speech transcription.
       
      repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
      Specified by:
      getSpeechTranscriptionsOrBuilderList in interface VideoAnnotationResultsOrBuilder
    • getSpeechTranscriptionsCount

      public int getSpeechTranscriptionsCount()
       Speech transcription.
       
      repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
      Specified by:
      getSpeechTranscriptionsCount in interface VideoAnnotationResultsOrBuilder
    • getSpeechTranscriptions

      public SpeechTranscription getSpeechTranscriptions(int index)
       Speech transcription.
       
      repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
      Specified by:
      getSpeechTranscriptions in interface VideoAnnotationResultsOrBuilder
    • getSpeechTranscriptionsOrBuilder

      public SpeechTranscriptionOrBuilder getSpeechTranscriptionsOrBuilder(int index)
       Speech transcription.
       
      repeated .google.cloud.videointelligence.v1.SpeechTranscription speech_transcriptions = 11;
      Specified by:
      getSpeechTranscriptionsOrBuilder in interface VideoAnnotationResultsOrBuilder
    • getTextAnnotationsList

      public List<TextAnnotation> getTextAnnotationsList()
       OCR text detection and tracking.
       Annotations for list of detected text snippets. Each will have list of
       frame information associated with it.
       
      repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
      Specified by:
      getTextAnnotationsList in interface VideoAnnotationResultsOrBuilder
    • getTextAnnotationsOrBuilderList

      public List<? extends TextAnnotationOrBuilder> getTextAnnotationsOrBuilderList()
       OCR text detection and tracking.
       Annotations for list of detected text snippets. Each will have list of
       frame information associated with it.
       
      repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
      Specified by:
      getTextAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilder
    • getTextAnnotationsCount

      public int getTextAnnotationsCount()
       OCR text detection and tracking.
       Annotations for list of detected text snippets. Each will have list of
       frame information associated with it.
       
      repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
      Specified by:
      getTextAnnotationsCount in interface VideoAnnotationResultsOrBuilder
    • getTextAnnotations

      public TextAnnotation getTextAnnotations(int index)
       OCR text detection and tracking.
       Annotations for list of detected text snippets. Each will have list of
       frame information associated with it.
       
      repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
      Specified by:
      getTextAnnotations in interface VideoAnnotationResultsOrBuilder
    • getTextAnnotationsOrBuilder

      public TextAnnotationOrBuilder getTextAnnotationsOrBuilder(int index)
       OCR text detection and tracking.
       Annotations for list of detected text snippets. Each will have list of
       frame information associated with it.
       
      repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;
      Specified by:
      getTextAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilder
    • getObjectAnnotationsList

      public List<ObjectTrackingAnnotation> getObjectAnnotationsList()
       Annotations for list of objects detected and tracked in video.
       
      repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
      Specified by:
      getObjectAnnotationsList in interface VideoAnnotationResultsOrBuilder
    • getObjectAnnotationsOrBuilderList

      public List<? extends ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsOrBuilderList()
       Annotations for list of objects detected and tracked in video.
       
      repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
      Specified by:
      getObjectAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilder
    • getObjectAnnotationsCount

      public int getObjectAnnotationsCount()
       Annotations for list of objects detected and tracked in video.
       
      repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
      Specified by:
      getObjectAnnotationsCount in interface VideoAnnotationResultsOrBuilder
    • getObjectAnnotations

      public ObjectTrackingAnnotation getObjectAnnotations(int index)
       Annotations for list of objects detected and tracked in video.
       
      repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
      Specified by:
      getObjectAnnotations in interface VideoAnnotationResultsOrBuilder
    • getObjectAnnotationsOrBuilder

      public ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder(int index)
       Annotations for list of objects detected and tracked in video.
       
      repeated .google.cloud.videointelligence.v1.ObjectTrackingAnnotation object_annotations = 14;
      Specified by:
      getObjectAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilder
    • getLogoRecognitionAnnotationsList

      public List<LogoRecognitionAnnotation> getLogoRecognitionAnnotationsList()
       Annotations for list of logos detected, tracked and recognized in video.
       
      repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
      Specified by:
      getLogoRecognitionAnnotationsList in interface VideoAnnotationResultsOrBuilder
    • getLogoRecognitionAnnotationsOrBuilderList

      public List<? extends LogoRecognitionAnnotationOrBuilder> getLogoRecognitionAnnotationsOrBuilderList()
       Annotations for list of logos detected, tracked and recognized in video.
       
      repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
      Specified by:
      getLogoRecognitionAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilder
    • getLogoRecognitionAnnotationsCount

      public int getLogoRecognitionAnnotationsCount()
       Annotations for list of logos detected, tracked and recognized in video.
       
      repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
      Specified by:
      getLogoRecognitionAnnotationsCount in interface VideoAnnotationResultsOrBuilder
    • getLogoRecognitionAnnotations

      public LogoRecognitionAnnotation getLogoRecognitionAnnotations(int index)
       Annotations for list of logos detected, tracked and recognized in video.
       
      repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
      Specified by:
      getLogoRecognitionAnnotations in interface VideoAnnotationResultsOrBuilder
    • getLogoRecognitionAnnotationsOrBuilder

      public LogoRecognitionAnnotationOrBuilder getLogoRecognitionAnnotationsOrBuilder(int index)
       Annotations for list of logos detected, tracked and recognized in video.
       
      repeated .google.cloud.videointelligence.v1.LogoRecognitionAnnotation logo_recognition_annotations = 19;
      Specified by:
      getLogoRecognitionAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilder
    • getPersonDetectionAnnotationsList

      public List<PersonDetectionAnnotation> getPersonDetectionAnnotationsList()
       Person detection annotations.
       
      repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
      Specified by:
      getPersonDetectionAnnotationsList in interface VideoAnnotationResultsOrBuilder
    • getPersonDetectionAnnotationsOrBuilderList

      public List<? extends PersonDetectionAnnotationOrBuilder> getPersonDetectionAnnotationsOrBuilderList()
       Person detection annotations.
       
      repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
      Specified by:
      getPersonDetectionAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilder
    • getPersonDetectionAnnotationsCount

      public int getPersonDetectionAnnotationsCount()
       Person detection annotations.
       
      repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
      Specified by:
      getPersonDetectionAnnotationsCount in interface VideoAnnotationResultsOrBuilder
    • getPersonDetectionAnnotations

      public PersonDetectionAnnotation getPersonDetectionAnnotations(int index)
       Person detection annotations.
       
      repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
      Specified by:
      getPersonDetectionAnnotations in interface VideoAnnotationResultsOrBuilder
    • getPersonDetectionAnnotationsOrBuilder

      public PersonDetectionAnnotationOrBuilder getPersonDetectionAnnotationsOrBuilder(int index)
       Person detection annotations.
       
      repeated .google.cloud.videointelligence.v1.PersonDetectionAnnotation person_detection_annotations = 20;
      Specified by:
      getPersonDetectionAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilder
    • hasError

      public boolean hasError()
       If set, indicates an error. Note that for a single `AnnotateVideoRequest`
       some videos may succeed and some may fail.
       
      .google.rpc.Status error = 9;
      Specified by:
      hasError in interface VideoAnnotationResultsOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public Status getError()
       If set, indicates an error. Note that for a single `AnnotateVideoRequest`
       some videos may succeed and some may fail.
       
      .google.rpc.Status error = 9;
      Specified by:
      getError in interface VideoAnnotationResultsOrBuilder
      Returns:
      The error.
    • getErrorOrBuilder

      public StatusOrBuilder getErrorOrBuilder()
       If set, indicates an error. Note that for a single `AnnotateVideoRequest`
       some videos may succeed and some may fail.
       
      .google.rpc.Status error = 9;
      Specified by:
      getErrorOrBuilder in interface VideoAnnotationResultsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static VideoAnnotationResults parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VideoAnnotationResults parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VideoAnnotationResults parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VideoAnnotationResults parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VideoAnnotationResults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VideoAnnotationResults parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VideoAnnotationResults parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VideoAnnotationResults parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static VideoAnnotationResults parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static VideoAnnotationResults parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VideoAnnotationResults parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VideoAnnotationResults parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public VideoAnnotationResults.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static VideoAnnotationResults.Builder newBuilder()
    • newBuilder

      public static VideoAnnotationResults.Builder newBuilder(VideoAnnotationResults prototype)
    • toBuilder

      public VideoAnnotationResults.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected VideoAnnotationResults.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static VideoAnnotationResults getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<VideoAnnotationResults> parser()
    • getParserForType

      public com.google.protobuf.Parser<VideoAnnotationResults> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public VideoAnnotationResults getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder