Class VideoAnnotationResults.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VideoAnnotationResults.Builder>
com.google.cloud.videointelligence.v1beta2.VideoAnnotationResults.Builder
All Implemented Interfaces:
VideoAnnotationResultsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
VideoAnnotationResults

public static final class VideoAnnotationResults.Builder extends com.google.protobuf.GeneratedMessage.Builder<VideoAnnotationResults.Builder> implements VideoAnnotationResultsOrBuilder
 Annotation results for a single video.
 
Protobuf type google.cloud.videointelligence.v1beta2.VideoAnnotationResults
  • 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.Builder<VideoAnnotationResults.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<VideoAnnotationResults.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<VideoAnnotationResults.Builder>
    • getDefaultInstanceForType

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

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

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

      public VideoAnnotationResults.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VideoAnnotationResults.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<VideoAnnotationResults.Builder>
    • mergeFrom

      public VideoAnnotationResults.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VideoAnnotationResults.Builder>
      Throws:
      IOException
    • getInputUri

      public String getInputUri()
       Video file location in
       [Google 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
       [Google Cloud Storage](https://cloud.google.com/storage/).
       
      string input_uri = 1;
      Specified by:
      getInputUriBytes in interface VideoAnnotationResultsOrBuilder
      Returns:
      The bytes for inputUri.
    • setInputUri

      public VideoAnnotationResults.Builder setInputUri(String value)
       Video file location in
       [Google Cloud Storage](https://cloud.google.com/storage/).
       
      string input_uri = 1;
      Parameters:
      value - The inputUri to set.
      Returns:
      This builder for chaining.
    • clearInputUri

      public VideoAnnotationResults.Builder clearInputUri()
       Video file location in
       [Google Cloud Storage](https://cloud.google.com/storage/).
       
      string input_uri = 1;
      Returns:
      This builder for chaining.
    • setInputUriBytes

      public VideoAnnotationResults.Builder setInputUriBytes(com.google.protobuf.ByteString value)
       Video file location in
       [Google Cloud Storage](https://cloud.google.com/storage/).
       
      string input_uri = 1;
      Parameters:
      value - The bytes for inputUri to set.
      Returns:
      This builder for chaining.
    • getSegmentLabelAnnotationsList

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

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

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

      public VideoAnnotationResults.Builder setSegmentLabelAnnotations(int index, LabelAnnotation value)
       Label annotations on video level or user specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2;
    • setSegmentLabelAnnotations

      public VideoAnnotationResults.Builder setSegmentLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
       Label annotations on video level or user specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2;
    • addSegmentLabelAnnotations

      public VideoAnnotationResults.Builder addSegmentLabelAnnotations(LabelAnnotation value)
       Label annotations on video level or user specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2;
    • addSegmentLabelAnnotations

      public VideoAnnotationResults.Builder addSegmentLabelAnnotations(int index, LabelAnnotation value)
       Label annotations on video level or user specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2;
    • addSegmentLabelAnnotations

      public VideoAnnotationResults.Builder addSegmentLabelAnnotations(LabelAnnotation.Builder builderForValue)
       Label annotations on video level or user specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2;
    • addSegmentLabelAnnotations

      public VideoAnnotationResults.Builder addSegmentLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
       Label annotations on video level or user specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2;
    • addAllSegmentLabelAnnotations

      public VideoAnnotationResults.Builder addAllSegmentLabelAnnotations(Iterable<? extends LabelAnnotation> values)
       Label annotations on video level or user specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2;
    • clearSegmentLabelAnnotations

      public VideoAnnotationResults.Builder clearSegmentLabelAnnotations()
       Label annotations on video level or user specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2;
    • removeSegmentLabelAnnotations

      public VideoAnnotationResults.Builder removeSegmentLabelAnnotations(int index)
       Label annotations on video level or user specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2;
    • getSegmentLabelAnnotationsBuilder

      public LabelAnnotation.Builder getSegmentLabelAnnotationsBuilder(int index)
       Label annotations on video level or user specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2;
    • getSegmentLabelAnnotationsOrBuilder

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

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

      public LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder()
       Label annotations on video level or user specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2;
    • addSegmentLabelAnnotationsBuilder

      public LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder(int index)
       Label annotations on video level or user specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2;
    • getSegmentLabelAnnotationsBuilderList

      public List<LabelAnnotation.Builder> getSegmentLabelAnnotationsBuilderList()
       Label annotations on video level or user specified segment level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation segment_label_annotations = 2;
    • getShotLabelAnnotationsList

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

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

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

      public VideoAnnotationResults.Builder setShotLabelAnnotations(int index, LabelAnnotation value)
       Label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3;
    • setShotLabelAnnotations

      public VideoAnnotationResults.Builder setShotLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
       Label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3;
    • addShotLabelAnnotations

      public VideoAnnotationResults.Builder addShotLabelAnnotations(LabelAnnotation value)
       Label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3;
    • addShotLabelAnnotations

      public VideoAnnotationResults.Builder addShotLabelAnnotations(int index, LabelAnnotation value)
       Label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3;
    • addShotLabelAnnotations

      public VideoAnnotationResults.Builder addShotLabelAnnotations(LabelAnnotation.Builder builderForValue)
       Label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3;
    • addShotLabelAnnotations

      public VideoAnnotationResults.Builder addShotLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
       Label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3;
    • addAllShotLabelAnnotations

      public VideoAnnotationResults.Builder addAllShotLabelAnnotations(Iterable<? extends LabelAnnotation> values)
       Label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3;
    • clearShotLabelAnnotations

      public VideoAnnotationResults.Builder clearShotLabelAnnotations()
       Label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3;
    • removeShotLabelAnnotations

      public VideoAnnotationResults.Builder removeShotLabelAnnotations(int index)
       Label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3;
    • getShotLabelAnnotationsBuilder

      public LabelAnnotation.Builder getShotLabelAnnotationsBuilder(int index)
       Label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3;
    • getShotLabelAnnotationsOrBuilder

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

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

      public LabelAnnotation.Builder addShotLabelAnnotationsBuilder()
       Label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3;
    • addShotLabelAnnotationsBuilder

      public LabelAnnotation.Builder addShotLabelAnnotationsBuilder(int index)
       Label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3;
    • getShotLabelAnnotationsBuilderList

      public List<LabelAnnotation.Builder> getShotLabelAnnotationsBuilderList()
       Label annotations on shot level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation shot_label_annotations = 3;
    • getFrameLabelAnnotationsList

      public List<LabelAnnotation> getFrameLabelAnnotationsList()
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4;
      Specified by:
      getFrameLabelAnnotationsList 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.v1beta2.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.v1beta2.LabelAnnotation frame_label_annotations = 4;
      Specified by:
      getFrameLabelAnnotations in interface VideoAnnotationResultsOrBuilder
    • setFrameLabelAnnotations

      public VideoAnnotationResults.Builder setFrameLabelAnnotations(int index, LabelAnnotation value)
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4;
    • setFrameLabelAnnotations

      public VideoAnnotationResults.Builder setFrameLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4;
    • addFrameLabelAnnotations

      public VideoAnnotationResults.Builder addFrameLabelAnnotations(LabelAnnotation value)
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4;
    • addFrameLabelAnnotations

      public VideoAnnotationResults.Builder addFrameLabelAnnotations(int index, LabelAnnotation value)
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4;
    • addFrameLabelAnnotations

      public VideoAnnotationResults.Builder addFrameLabelAnnotations(LabelAnnotation.Builder builderForValue)
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4;
    • addFrameLabelAnnotations

      public VideoAnnotationResults.Builder addFrameLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4;
    • addAllFrameLabelAnnotations

      public VideoAnnotationResults.Builder addAllFrameLabelAnnotations(Iterable<? extends LabelAnnotation> values)
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4;
    • clearFrameLabelAnnotations

      public VideoAnnotationResults.Builder clearFrameLabelAnnotations()
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4;
    • removeFrameLabelAnnotations

      public VideoAnnotationResults.Builder removeFrameLabelAnnotations(int index)
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4;
    • getFrameLabelAnnotationsBuilder

      public LabelAnnotation.Builder getFrameLabelAnnotationsBuilder(int index)
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4;
    • getFrameLabelAnnotationsOrBuilder

      public LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder(int index)
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4;
      Specified by:
      getFrameLabelAnnotationsOrBuilder 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.v1beta2.LabelAnnotation frame_label_annotations = 4;
      Specified by:
      getFrameLabelAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilder
    • addFrameLabelAnnotationsBuilder

      public LabelAnnotation.Builder addFrameLabelAnnotationsBuilder()
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4;
    • addFrameLabelAnnotationsBuilder

      public LabelAnnotation.Builder addFrameLabelAnnotationsBuilder(int index)
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4;
    • getFrameLabelAnnotationsBuilderList

      public List<LabelAnnotation.Builder> getFrameLabelAnnotationsBuilderList()
       Label annotations on frame level.
       There is exactly one element for each unique label.
       
      repeated .google.cloud.videointelligence.v1beta2.LabelAnnotation frame_label_annotations = 4;
    • getFaceAnnotationsList

      public List<FaceAnnotation> getFaceAnnotationsList()
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
      Specified by:
      getFaceAnnotationsList in interface VideoAnnotationResultsOrBuilder
    • getFaceAnnotationsCount

      public int getFaceAnnotationsCount()
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
      Specified by:
      getFaceAnnotationsCount in interface VideoAnnotationResultsOrBuilder
    • getFaceAnnotations

      public FaceAnnotation getFaceAnnotations(int index)
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
      Specified by:
      getFaceAnnotations in interface VideoAnnotationResultsOrBuilder
    • setFaceAnnotations

      public VideoAnnotationResults.Builder setFaceAnnotations(int index, FaceAnnotation value)
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
    • setFaceAnnotations

      public VideoAnnotationResults.Builder setFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
    • addFaceAnnotations

      public VideoAnnotationResults.Builder addFaceAnnotations(FaceAnnotation value)
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
    • addFaceAnnotations

      public VideoAnnotationResults.Builder addFaceAnnotations(int index, FaceAnnotation value)
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
    • addFaceAnnotations

      public VideoAnnotationResults.Builder addFaceAnnotations(FaceAnnotation.Builder builderForValue)
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
    • addFaceAnnotations

      public VideoAnnotationResults.Builder addFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
    • addAllFaceAnnotations

      public VideoAnnotationResults.Builder addAllFaceAnnotations(Iterable<? extends FaceAnnotation> values)
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
    • clearFaceAnnotations

      public VideoAnnotationResults.Builder clearFaceAnnotations()
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
    • removeFaceAnnotations

      public VideoAnnotationResults.Builder removeFaceAnnotations(int index)
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
    • getFaceAnnotationsBuilder

      public FaceAnnotation.Builder getFaceAnnotationsBuilder(int index)
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
    • getFaceAnnotationsOrBuilder

      public FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index)
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
      Specified by:
      getFaceAnnotationsOrBuilder in interface VideoAnnotationResultsOrBuilder
    • getFaceAnnotationsOrBuilderList

      public List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
      Specified by:
      getFaceAnnotationsOrBuilderList in interface VideoAnnotationResultsOrBuilder
    • addFaceAnnotationsBuilder

      public FaceAnnotation.Builder addFaceAnnotationsBuilder()
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
    • addFaceAnnotationsBuilder

      public FaceAnnotation.Builder addFaceAnnotationsBuilder(int index)
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
    • getFaceAnnotationsBuilderList

      public List<FaceAnnotation.Builder> getFaceAnnotationsBuilderList()
       Face annotations. There is exactly one element for each unique face.
       
      repeated .google.cloud.videointelligence.v1beta2.FaceAnnotation face_annotations = 5;
    • getShotAnnotationsList

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

      public int getShotAnnotationsCount()
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1beta2.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.v1beta2.VideoSegment shot_annotations = 6;
      Specified by:
      getShotAnnotations in interface VideoAnnotationResultsOrBuilder
    • setShotAnnotations

      public VideoAnnotationResults.Builder setShotAnnotations(int index, VideoSegment value)
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6;
    • setShotAnnotations

      public VideoAnnotationResults.Builder setShotAnnotations(int index, VideoSegment.Builder builderForValue)
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6;
    • addShotAnnotations

      public VideoAnnotationResults.Builder addShotAnnotations(VideoSegment value)
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6;
    • addShotAnnotations

      public VideoAnnotationResults.Builder addShotAnnotations(int index, VideoSegment value)
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6;
    • addShotAnnotations

      public VideoAnnotationResults.Builder addShotAnnotations(VideoSegment.Builder builderForValue)
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6;
    • addShotAnnotations

      public VideoAnnotationResults.Builder addShotAnnotations(int index, VideoSegment.Builder builderForValue)
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6;
    • addAllShotAnnotations

      public VideoAnnotationResults.Builder addAllShotAnnotations(Iterable<? extends VideoSegment> values)
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6;
    • clearShotAnnotations

      public VideoAnnotationResults.Builder clearShotAnnotations()
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6;
    • removeShotAnnotations

      public VideoAnnotationResults.Builder removeShotAnnotations(int index)
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6;
    • getShotAnnotationsBuilder

      public VideoSegment.Builder getShotAnnotationsBuilder(int index)
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6;
    • getShotAnnotationsOrBuilder

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

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

      public VideoSegment.Builder addShotAnnotationsBuilder()
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6;
    • addShotAnnotationsBuilder

      public VideoSegment.Builder addShotAnnotationsBuilder(int index)
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6;
    • getShotAnnotationsBuilderList

      public List<VideoSegment.Builder> getShotAnnotationsBuilderList()
       Shot annotations. Each shot is represented as a video segment.
       
      repeated .google.cloud.videointelligence.v1beta2.VideoSegment shot_annotations = 6;
    • hasExplicitAnnotation

      public boolean hasExplicitAnnotation()
       Explicit content annotation.
       
      .google.cloud.videointelligence.v1beta2.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.v1beta2.ExplicitContentAnnotation explicit_annotation = 7;
      Specified by:
      getExplicitAnnotation in interface VideoAnnotationResultsOrBuilder
      Returns:
      The explicitAnnotation.
    • setExplicitAnnotation

      public VideoAnnotationResults.Builder setExplicitAnnotation(ExplicitContentAnnotation value)
       Explicit content annotation.
       
      .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7;
    • setExplicitAnnotation

      public VideoAnnotationResults.Builder setExplicitAnnotation(ExplicitContentAnnotation.Builder builderForValue)
       Explicit content annotation.
       
      .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7;
    • mergeExplicitAnnotation

      public VideoAnnotationResults.Builder mergeExplicitAnnotation(ExplicitContentAnnotation value)
       Explicit content annotation.
       
      .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7;
    • clearExplicitAnnotation

      public VideoAnnotationResults.Builder clearExplicitAnnotation()
       Explicit content annotation.
       
      .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7;
    • getExplicitAnnotationBuilder

      public ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder()
       Explicit content annotation.
       
      .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7;
    • getExplicitAnnotationOrBuilder

      public ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder()
       Explicit content annotation.
       
      .google.cloud.videointelligence.v1beta2.ExplicitContentAnnotation explicit_annotation = 7;
      Specified by:
      getExplicitAnnotationOrBuilder 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.
    • setError

      public VideoAnnotationResults.Builder setError(Status value)
       If set, indicates an error. Note that for a single `AnnotateVideoRequest`
       some videos may succeed and some may fail.
       
      .google.rpc.Status error = 9;
    • setError

      public VideoAnnotationResults.Builder setError(Status.Builder builderForValue)
       If set, indicates an error. Note that for a single `AnnotateVideoRequest`
       some videos may succeed and some may fail.
       
      .google.rpc.Status error = 9;
    • mergeError

      public VideoAnnotationResults.Builder mergeError(Status value)
       If set, indicates an error. Note that for a single `AnnotateVideoRequest`
       some videos may succeed and some may fail.
       
      .google.rpc.Status error = 9;
    • clearError

      public VideoAnnotationResults.Builder clearError()
       If set, indicates an error. Note that for a single `AnnotateVideoRequest`
       some videos may succeed and some may fail.
       
      .google.rpc.Status error = 9;
    • getErrorBuilder

      public Status.Builder getErrorBuilder()
       If set, indicates an error. Note that for a single `AnnotateVideoRequest`
       some videos may succeed and some may fail.
       
      .google.rpc.Status error = 9;
    • 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