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 Entity
getCategoryEntities(int index)
Common categories for the detected entity.int
getCategoryEntitiesCount()
Common categories for the detected entity.List<Entity>
getCategoryEntitiesList()
Common categories for the detected entity.EntityOrBuilder
getCategoryEntitiesOrBuilder(int index)
Common categories for the detected entity.List<? extends EntityOrBuilder>
getCategoryEntitiesOrBuilderList()
Common categories for the detected entity.Entity
getEntity()
Detected entity.EntityOrBuilder
getEntityOrBuilder()
Detected entity.LabelFrame
getFrames(int index)
All video frames where a label was detected.int
getFramesCount()
All video frames where a label was detected.List<LabelFrame>
getFramesList()
All video frames where a label was detected.LabelFrameOrBuilder
getFramesOrBuilder(int index)
All video frames where a label was detected.List<? extends LabelFrameOrBuilder>
getFramesOrBuilderList()
All video frames where a label was detected.LabelSegment
getSegments(int index)
All video segments where a label was detected.int
getSegmentsCount()
All video segments where a label was detected.List<LabelSegment>
getSegmentsList()
All video segments where a label was detected.LabelSegmentOrBuilder
getSegmentsOrBuilder(int index)
All video segments where a label was detected.List<? extends LabelSegmentOrBuilder>
getSegmentsOrBuilderList()
All video segments where a label was detected.boolean
hasEntity()
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.v1p3beta1.Entity entity = 1;
- Returns:
- Whether the entity field is set.
-
getEntity
Entity getEntity()
Detected entity.
.google.cloud.videointelligence.v1p3beta1.Entity entity = 1;
- Returns:
- The entity.
-
getEntityOrBuilder
EntityOrBuilder getEntityOrBuilder()
Detected entity.
.google.cloud.videointelligence.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.Entity category_entities = 2;
-
getSegmentsList
List<LabelSegment> getSegmentsList()
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3;
-
getSegments
LabelSegment getSegments(int index)
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3;
-
getSegmentsCount
int getSegmentsCount()
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3;
-
getSegmentsOrBuilderList
List<? extends LabelSegmentOrBuilder> getSegmentsOrBuilderList()
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3;
-
getSegmentsOrBuilder
LabelSegmentOrBuilder getSegmentsOrBuilder(int index)
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p3beta1.LabelSegment segments = 3;
-
getFramesList
List<LabelFrame> getFramesList()
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4;
-
getFrames
LabelFrame getFrames(int index)
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4;
-
getFramesCount
int getFramesCount()
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4;
-
getFramesOrBuilderList
List<? extends LabelFrameOrBuilder> getFramesOrBuilderList()
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4;
-
getFramesOrBuilder
LabelFrameOrBuilder getFramesOrBuilder(int index)
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p3beta1.LabelFrame frames = 4;
-
-