Interface LabelAnnotationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LabelAnnotation,LabelAnnotation.Builder
public interface LabelAnnotationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntitygetCategoryEntities(int index)Common categories for the detected entity.intgetCategoryEntitiesCount()Common categories for the detected entity.List<Entity>getCategoryEntitiesList()Common categories for the detected entity.EntityOrBuildergetCategoryEntitiesOrBuilder(int index)Common categories for the detected entity.List<? extends EntityOrBuilder>getCategoryEntitiesOrBuilderList()Common categories for the detected entity.EntitygetEntity()Detected entity.EntityOrBuildergetEntityOrBuilder()Detected entity.LabelFramegetFrames(int index)All video frames where a label was detected.intgetFramesCount()All video frames where a label was detected.List<LabelFrame>getFramesList()All video frames where a label was detected.LabelFrameOrBuildergetFramesOrBuilder(int index)All video frames where a label was detected.List<? extends LabelFrameOrBuilder>getFramesOrBuilderList()All video frames where a label was detected.LabelSegmentgetSegments(int index)All video segments where a label was detected.intgetSegmentsCount()All video segments where a label was detected.List<LabelSegment>getSegmentsList()All video segments where a label was detected.LabelSegmentOrBuildergetSegmentsOrBuilder(int index)All video segments where a label was detected.List<? extends LabelSegmentOrBuilder>getSegmentsOrBuilderList()All video segments where a label was detected.booleanhasEntity()Detected entity.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasEntity
boolean hasEntity()
Detected entity.
.google.cloud.videointelligence.v1p1beta1.Entity entity = 1;- Returns:
- Whether the entity field is set.
-
getEntity
Entity getEntity()
Detected entity.
.google.cloud.videointelligence.v1p1beta1.Entity entity = 1;- Returns:
- The entity.
-
getEntityOrBuilder
EntityOrBuilder getEntityOrBuilder()
Detected entity.
.google.cloud.videointelligence.v1p1beta1.Entity entity = 1;
-
getCategoryEntitiesList
List<Entity> getCategoryEntitiesList()
Common categories for the detected entity. E.g. 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.v1p1beta1.Entity category_entities = 2;
-
getCategoryEntities
Entity getCategoryEntities(int index)
Common categories for the detected entity. E.g. 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.v1p1beta1.Entity category_entities = 2;
-
getCategoryEntitiesCount
int getCategoryEntitiesCount()
Common categories for the detected entity. E.g. 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.v1p1beta1.Entity category_entities = 2;
-
getCategoryEntitiesOrBuilderList
List<? extends EntityOrBuilder> getCategoryEntitiesOrBuilderList()
Common categories for the detected entity. E.g. 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.v1p1beta1.Entity category_entities = 2;
-
getCategoryEntitiesOrBuilder
EntityOrBuilder getCategoryEntitiesOrBuilder(int index)
Common categories for the detected entity. E.g. 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.v1p1beta1.Entity category_entities = 2;
-
getSegmentsList
List<LabelSegment> getSegmentsList()
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3;
-
getSegments
LabelSegment getSegments(int index)
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3;
-
getSegmentsCount
int getSegmentsCount()
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3;
-
getSegmentsOrBuilderList
List<? extends LabelSegmentOrBuilder> getSegmentsOrBuilderList()
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3;
-
getSegmentsOrBuilder
LabelSegmentOrBuilder getSegmentsOrBuilder(int index)
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3;
-
getFramesList
List<LabelFrame> getFramesList()
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4;
-
getFrames
LabelFrame getFrames(int index)
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4;
-
getFramesCount
int getFramesCount()
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4;
-
getFramesOrBuilderList
List<? extends LabelFrameOrBuilder> getFramesOrBuilderList()
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4;
-
getFramesOrBuilder
LabelFrameOrBuilder getFramesOrBuilder(int index)
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4;
-
-