Interface LabelAnnotationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LabelAnnotation, LabelAnnotation.Builder

@Generated public interface LabelAnnotationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasEntity

      boolean hasEntity()
       Detected entity.
       
      .google.cloud.videointelligence.v1.Entity entity = 1;
      Returns:
      Whether the entity field is set.
    • getEntity

      Entity getEntity()
       Detected entity.
       
      .google.cloud.videointelligence.v1.Entity entity = 1;
      Returns:
      The entity.
    • getEntityOrBuilder

      EntityOrBuilder getEntityOrBuilder()
       Detected entity.
       
      .google.cloud.videointelligence.v1.Entity entity = 1;
    • getCategoryEntitiesList

      List<Entity> getCategoryEntitiesList()
       Common categories for the detected entity.
       For example, when the label is `Terrier`, the category is likely `dog`. And
       in some cases there might be more than one categories e.g., `Terrier` could
       also be a `pet`.
       
      repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
    • getCategoryEntities

      Entity getCategoryEntities(int index)
       Common categories for the detected entity.
       For example, when the label is `Terrier`, the category is likely `dog`. And
       in some cases there might be more than one categories e.g., `Terrier` could
       also be a `pet`.
       
      repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
    • getCategoryEntitiesCount

      int getCategoryEntitiesCount()
       Common categories for the detected entity.
       For example, when the label is `Terrier`, the category is likely `dog`. And
       in some cases there might be more than one categories e.g., `Terrier` could
       also be a `pet`.
       
      repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
    • getCategoryEntitiesOrBuilderList

      List<? extends EntityOrBuilder> getCategoryEntitiesOrBuilderList()
       Common categories for the detected entity.
       For example, when the label is `Terrier`, the category is likely `dog`. And
       in some cases there might be more than one categories e.g., `Terrier` could
       also be a `pet`.
       
      repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
    • getCategoryEntitiesOrBuilder

      EntityOrBuilder getCategoryEntitiesOrBuilder(int index)
       Common categories for the detected entity.
       For example, when the label is `Terrier`, the category is likely `dog`. And
       in some cases there might be more than one categories e.g., `Terrier` could
       also be a `pet`.
       
      repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;
    • getSegmentsList

      List<LabelSegment> getSegmentsList()
       All video segments where a label was detected.
       
      repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3;
    • getSegments

      LabelSegment getSegments(int index)
       All video segments where a label was detected.
       
      repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3;
    • getSegmentsCount

      int getSegmentsCount()
       All video segments where a label was detected.
       
      repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3;
    • getSegmentsOrBuilderList

      List<? extends LabelSegmentOrBuilder> getSegmentsOrBuilderList()
       All video segments where a label was detected.
       
      repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3;
    • getSegmentsOrBuilder

      LabelSegmentOrBuilder getSegmentsOrBuilder(int index)
       All video segments where a label was detected.
       
      repeated .google.cloud.videointelligence.v1.LabelSegment segments = 3;
    • getFramesList

      List<LabelFrame> getFramesList()
       All video frames where a label was detected.
       
      repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4;
    • getFrames

      LabelFrame getFrames(int index)
       All video frames where a label was detected.
       
      repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4;
    • getFramesCount

      int getFramesCount()
       All video frames where a label was detected.
       
      repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4;
    • getFramesOrBuilderList

      List<? extends LabelFrameOrBuilder> getFramesOrBuilderList()
       All video frames where a label was detected.
       
      repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4;
    • getFramesOrBuilder

      LabelFrameOrBuilder getFramesOrBuilder(int index)
       All video frames where a label was detected.
       
      repeated .google.cloud.videointelligence.v1.LabelFrame frames = 4;
    • getVersion

      String getVersion()
       Feature version.
       
      string version = 5;
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       Feature version.
       
      string version = 5;
      Returns:
      The bytes for version.