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 Summary
Modifier and TypeMethodDescriptiongetCategoryEntities(int index) Common categories for the detected entity.intCommon categories for the detected entity.Common categories for the detected entity.getCategoryEntitiesOrBuilder(int index) Common categories for the detected entity.List<? extends EntityOrBuilder>Common categories for the detected entity.Detected entity.Detected entity.getFrames(int index) All video frames where a label was detected.intAll video frames where a label was detected.All video frames where a label was detected.getFramesOrBuilder(int index) All video frames where a label was detected.List<? extends LabelFrameOrBuilder>All video frames where a label was detected.getSegments(int index) All video segments where a label was detected.intAll video segments where a label was detected.All video segments where a label was detected.getSegmentsOrBuilder(int index) All video segments where a label was detected.List<? extends LabelSegmentOrBuilder>All video segments where a label was detected.Feature version.com.google.protobuf.ByteStringFeature version.booleanDetected entity.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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
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
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
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
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
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.
-