Interface LabelAnnotationOrBuilder (2.41.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.v1beta2.Entity category_entities = 2;

Parameter
Name Description
index int
Returns
Type Description
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.v1beta2.Entity category_entities = 2;

Returns
Type Description
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.v1beta2.Entity category_entities = 2;

Returns
Type Description
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.v1beta2.Entity category_entities = 2;

Parameter
Name Description
index int
Returns
Type Description
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.v1beta2.Entity category_entities = 2;

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1beta2.EntityOrBuilder>

getEntity()

public abstract Entity getEntity()

Detected entity.

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

Returns
Type Description
Entity

The entity.

getEntityOrBuilder()

public abstract EntityOrBuilder getEntityOrBuilder()

Detected entity.

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

Returns
Type Description
EntityOrBuilder

getFrames(int index)

public abstract LabelFrame getFrames(int index)

All video frames where a label was detected.

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

Parameter
Name Description
index int
Returns
Type Description
LabelFrame

getFramesCount()

public abstract int getFramesCount()

All video frames where a label was detected.

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

Returns
Type Description
int

getFramesList()

public abstract List<LabelFrame> getFramesList()

All video frames where a label was detected.

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

Returns
Type Description
List<LabelFrame>

getFramesOrBuilder(int index)

public abstract LabelFrameOrBuilder getFramesOrBuilder(int index)

All video frames where a label was detected.

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

Parameter
Name Description
index int
Returns
Type Description
LabelFrameOrBuilder

getFramesOrBuilderList()

public abstract List<? extends LabelFrameOrBuilder> getFramesOrBuilderList()

All video frames where a label was detected.

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

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1beta2.LabelFrameOrBuilder>

getSegments(int index)

public abstract LabelSegment getSegments(int index)

All video segments where a label was detected.

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

Parameter
Name Description
index int
Returns
Type Description
LabelSegment

getSegmentsCount()

public abstract int getSegmentsCount()

All video segments where a label was detected.

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

Returns
Type Description
int

getSegmentsList()

public abstract List<LabelSegment> getSegmentsList()

All video segments where a label was detected.

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

Returns
Type Description
List<LabelSegment>

getSegmentsOrBuilder(int index)

public abstract LabelSegmentOrBuilder getSegmentsOrBuilder(int index)

All video segments where a label was detected.

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

Parameter
Name Description
index int
Returns
Type Description
LabelSegmentOrBuilder

getSegmentsOrBuilderList()

public abstract List<? extends LabelSegmentOrBuilder> getSegmentsOrBuilderList()

All video segments where a label was detected.

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

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1beta2.LabelSegmentOrBuilder>

hasEntity()

public abstract boolean hasEntity()

Detected entity.

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

Returns
Type Description
boolean

Whether the entity field is set.