Interface LabelAnnotationOrBuilder (2.19.0)

public interface LabelAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCategoryEntities(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Entity

getCategoryEntitiesCount()

public abstract 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;

Returns
TypeDescription
int

getCategoryEntitiesList()

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

Returns
TypeDescription
List<Entity>

getCategoryEntitiesOrBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityOrBuilder

getCategoryEntitiesOrBuilderList()

public abstract 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;

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

getEntity()

public abstract Entity getEntity()

Detected entity.

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

Returns
TypeDescription
Entity

The entity.

getEntityOrBuilder()

public abstract EntityOrBuilder getEntityOrBuilder()

Detected entity.

.google.cloud.videointelligence.v1.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.v1.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.v1.LabelFrame frames = 4;

Returns
TypeDescription
int

getFramesList()

public abstract List<LabelFrame> getFramesList()

All video frames where a label was detected.

repeated .google.cloud.videointelligence.v1.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.v1.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.v1.LabelFrame frames = 4;

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

getSegments(int index)

public abstract LabelSegment getSegments(int index)

All video segments where a label was detected.

repeated .google.cloud.videointelligence.v1.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.v1.LabelSegment segments = 3;

Returns
TypeDescription
int

getSegmentsList()

public abstract List<LabelSegment> getSegmentsList()

All video segments where a label was detected.

repeated .google.cloud.videointelligence.v1.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.v1.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.v1.LabelSegment segments = 3;

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

getVersion()

public abstract String getVersion()

Feature version.

string version = 5;

Returns
TypeDescription
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

Feature version.

string version = 5;

Returns
TypeDescription
ByteString

The bytes for version.

hasEntity()

public abstract boolean hasEntity()

Detected entity.

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

Returns
TypeDescription
boolean

Whether the entity field is set.