Interface LabelAnnotationOrBuilder (2.28.0)

public interface LabelAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCategoryEntities(int index)

public abstract 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.v1p2beta1.Entity category_entities = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Entity

getCategoryEntitiesCount()

public abstract 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.v1p2beta1.Entity category_entities = 2;

Returns
TypeDescription
int

getCategoryEntitiesList()

public abstract 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.v1p2beta1.Entity category_entities = 2;

Returns
TypeDescription
List<Entity>

getCategoryEntitiesOrBuilder(int index)

public abstract 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.v1p2beta1.Entity category_entities = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityOrBuilder

getCategoryEntitiesOrBuilderList()

public abstract 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.v1p2beta1.Entity category_entities = 2;

Returns
TypeDescription
List<? extends com.google.cloud.videointelligence.v1p2beta1.EntityOrBuilder>

getEntity()

public abstract Entity getEntity()

Detected entity.

.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;

Returns
TypeDescription
Entity

The entity.

getEntityOrBuilder()

public abstract EntityOrBuilder getEntityOrBuilder()

Detected entity.

.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;

Returns
TypeDescription
EntityOrBuilder

getFrames(int index)

public abstract LabelFrame getFrames(int index)

All video frames where a label was detected.

repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelFrame

getFramesCount()

public abstract int getFramesCount()

All video frames where a label was detected.

repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;

Returns
TypeDescription
int

getFramesList()

public abstract List<LabelFrame> getFramesList()

All video frames where a label was detected.

repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;

Returns
TypeDescription
List<LabelFrame>

getFramesOrBuilder(int index)

public abstract LabelFrameOrBuilder getFramesOrBuilder(int index)

All video frames where a label was detected.

repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelFrameOrBuilder

getFramesOrBuilderList()

public abstract List<? extends LabelFrameOrBuilder> getFramesOrBuilderList()

All video frames where a label was detected.

repeated .google.cloud.videointelligence.v1p2beta1.LabelFrame frames = 4;

Returns
TypeDescription
List<? extends com.google.cloud.videointelligence.v1p2beta1.LabelFrameOrBuilder>

getSegments(int index)

public abstract LabelSegment getSegments(int index)

All video segments where a label was detected.

repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelSegment

getSegmentsCount()

public abstract int getSegmentsCount()

All video segments where a label was detected.

repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;

Returns
TypeDescription
int

getSegmentsList()

public abstract List<LabelSegment> getSegmentsList()

All video segments where a label was detected.

repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;

Returns
TypeDescription
List<LabelSegment>

getSegmentsOrBuilder(int index)

public abstract LabelSegmentOrBuilder getSegmentsOrBuilder(int index)

All video segments where a label was detected.

repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelSegmentOrBuilder

getSegmentsOrBuilderList()

public abstract List<? extends LabelSegmentOrBuilder> getSegmentsOrBuilderList()

All video segments where a label was detected.

repeated .google.cloud.videointelligence.v1p2beta1.LabelSegment segments = 3;

Returns
TypeDescription
List<? extends com.google.cloud.videointelligence.v1p2beta1.LabelSegmentOrBuilder>

hasEntity()

public abstract boolean hasEntity()

Detected entity.

.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;

Returns
TypeDescription
boolean

Whether the entity field is set.