Class LabelAnnotation.Builder (2.7.0)

public static final class LabelAnnotation.Builder extends GeneratedMessageV3.Builder<LabelAnnotation.Builder> implements LabelAnnotationOrBuilder

Label annotation.

Protobuf type google.cloud.videointelligence.v1p3beta1.LabelAnnotation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllCategoryEntities(Iterable<? extends Entity> values)

public LabelAnnotation.Builder addAllCategoryEntities(Iterable<? extends Entity> values)

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;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.videointelligence.v1p3beta1.Entity>
Returns
TypeDescription
LabelAnnotation.Builder

addAllFrames(Iterable<? extends LabelFrame> values)

public LabelAnnotation.Builder addAllFrames(Iterable<? extends LabelFrame> values)

All video frames where a label was detected.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.videointelligence.v1p3beta1.LabelFrame>
Returns
TypeDescription
LabelAnnotation.Builder

addAllSegments(Iterable<? extends LabelSegment> values)

public LabelAnnotation.Builder addAllSegments(Iterable<? extends LabelSegment> values)

All video segments where a label was detected.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.videointelligence.v1p3beta1.LabelSegment>
Returns
TypeDescription
LabelAnnotation.Builder

addCategoryEntities(Entity value)

public LabelAnnotation.Builder addCategoryEntities(Entity value)

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;

Parameter
NameDescription
valueEntity
Returns
TypeDescription
LabelAnnotation.Builder

addCategoryEntities(Entity.Builder builderForValue)

public LabelAnnotation.Builder addCategoryEntities(Entity.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueEntity.Builder
Returns
TypeDescription
LabelAnnotation.Builder

addCategoryEntities(int index, Entity value)

public LabelAnnotation.Builder addCategoryEntities(int index, Entity value)

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;

Parameters
NameDescription
indexint
valueEntity
Returns
TypeDescription
LabelAnnotation.Builder

addCategoryEntities(int index, Entity.Builder builderForValue)

public LabelAnnotation.Builder addCategoryEntities(int index, Entity.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueEntity.Builder
Returns
TypeDescription
LabelAnnotation.Builder

addCategoryEntitiesBuilder()

public Entity.Builder addCategoryEntitiesBuilder()

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;

Returns
TypeDescription
Entity.Builder

addCategoryEntitiesBuilder(int index)

public Entity.Builder addCategoryEntitiesBuilder(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;

Parameter
NameDescription
indexint
Returns
TypeDescription
Entity.Builder

addFrames(LabelFrame value)

public LabelAnnotation.Builder addFrames(LabelFrame value)

All video frames where a label was detected.

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

Parameter
NameDescription
valueLabelFrame
Returns
TypeDescription
LabelAnnotation.Builder

addFrames(LabelFrame.Builder builderForValue)

public LabelAnnotation.Builder addFrames(LabelFrame.Builder builderForValue)

All video frames where a label was detected.

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

Parameter
NameDescription
builderForValueLabelFrame.Builder
Returns
TypeDescription
LabelAnnotation.Builder

addFrames(int index, LabelFrame value)

public LabelAnnotation.Builder addFrames(int index, LabelFrame value)

All video frames where a label was detected.

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

Parameters
NameDescription
indexint
valueLabelFrame
Returns
TypeDescription
LabelAnnotation.Builder

addFrames(int index, LabelFrame.Builder builderForValue)

public LabelAnnotation.Builder addFrames(int index, LabelFrame.Builder builderForValue)

All video frames where a label was detected.

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

Parameters
NameDescription
indexint
builderForValueLabelFrame.Builder
Returns
TypeDescription
LabelAnnotation.Builder

addFramesBuilder()

public LabelFrame.Builder addFramesBuilder()

All video frames where a label was detected.

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

Returns
TypeDescription
LabelFrame.Builder

addFramesBuilder(int index)

public LabelFrame.Builder addFramesBuilder(int index)

All video frames where a label was detected.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelFrame.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LabelAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LabelAnnotation.Builder
Overrides

addSegments(LabelSegment value)

public LabelAnnotation.Builder addSegments(LabelSegment value)

All video segments where a label was detected.

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

Parameter
NameDescription
valueLabelSegment
Returns
TypeDescription
LabelAnnotation.Builder

addSegments(LabelSegment.Builder builderForValue)

public LabelAnnotation.Builder addSegments(LabelSegment.Builder builderForValue)

All video segments where a label was detected.

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

Parameter
NameDescription
builderForValueLabelSegment.Builder
Returns
TypeDescription
LabelAnnotation.Builder

addSegments(int index, LabelSegment value)

public LabelAnnotation.Builder addSegments(int index, LabelSegment value)

All video segments where a label was detected.

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

Parameters
NameDescription
indexint
valueLabelSegment
Returns
TypeDescription
LabelAnnotation.Builder

addSegments(int index, LabelSegment.Builder builderForValue)

public LabelAnnotation.Builder addSegments(int index, LabelSegment.Builder builderForValue)

All video segments where a label was detected.

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

Parameters
NameDescription
indexint
builderForValueLabelSegment.Builder
Returns
TypeDescription
LabelAnnotation.Builder

addSegmentsBuilder()

public LabelSegment.Builder addSegmentsBuilder()

All video segments where a label was detected.

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

Returns
TypeDescription
LabelSegment.Builder

addSegmentsBuilder(int index)

public LabelSegment.Builder addSegmentsBuilder(int index)

All video segments where a label was detected.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelSegment.Builder

build()

public LabelAnnotation build()
Returns
TypeDescription
LabelAnnotation

buildPartial()

public LabelAnnotation buildPartial()
Returns
TypeDescription
LabelAnnotation

clear()

public LabelAnnotation.Builder clear()
Returns
TypeDescription
LabelAnnotation.Builder
Overrides

clearCategoryEntities()

public LabelAnnotation.Builder clearCategoryEntities()

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;

Returns
TypeDescription
LabelAnnotation.Builder

clearEntity()

public LabelAnnotation.Builder clearEntity()

Detected entity.

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

Returns
TypeDescription
LabelAnnotation.Builder

clearField(Descriptors.FieldDescriptor field)

public LabelAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LabelAnnotation.Builder
Overrides

clearFrames()

public LabelAnnotation.Builder clearFrames()

All video frames where a label was detected.

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

Returns
TypeDescription
LabelAnnotation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public LabelAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LabelAnnotation.Builder
Overrides

clearSegments()

public LabelAnnotation.Builder clearSegments()

All video segments where a label was detected.

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

Returns
TypeDescription
LabelAnnotation.Builder

clone()

public LabelAnnotation.Builder clone()
Returns
TypeDescription
LabelAnnotation.Builder
Overrides

getCategoryEntities(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Entity

getCategoryEntitiesBuilder(int index)

public Entity.Builder getCategoryEntitiesBuilder(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;

Parameter
NameDescription
indexint
Returns
TypeDescription
Entity.Builder

getCategoryEntitiesBuilderList()

public List<Entity.Builder> getCategoryEntitiesBuilderList()

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;

Returns
TypeDescription
List<Builder>

getCategoryEntitiesCount()

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

Returns
TypeDescription
int

getCategoryEntitiesList()

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

Returns
TypeDescription
List<Entity>

getCategoryEntitiesOrBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityOrBuilder

getCategoryEntitiesOrBuilderList()

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

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

getDefaultInstanceForType()

public LabelAnnotation getDefaultInstanceForType()
Returns
TypeDescription
LabelAnnotation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntity()

public Entity getEntity()

Detected entity.

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

Returns
TypeDescription
Entity

The entity.

getEntityBuilder()

public Entity.Builder getEntityBuilder()

Detected entity.

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

Returns
TypeDescription
Entity.Builder

getEntityOrBuilder()

public EntityOrBuilder getEntityOrBuilder()

Detected entity.

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

Returns
TypeDescription
EntityOrBuilder

getFrames(int index)

public LabelFrame getFrames(int index)

All video frames where a label was detected.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelFrame

getFramesBuilder(int index)

public LabelFrame.Builder getFramesBuilder(int index)

All video frames where a label was detected.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelFrame.Builder

getFramesBuilderList()

public List<LabelFrame.Builder> getFramesBuilderList()

All video frames where a label was detected.

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

Returns
TypeDescription
List<Builder>

getFramesCount()

public int getFramesCount()

All video frames where a label was detected.

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

Returns
TypeDescription
int

getFramesList()

public List<LabelFrame> getFramesList()

All video frames where a label was detected.

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

Returns
TypeDescription
List<LabelFrame>

getFramesOrBuilder(int index)

public LabelFrameOrBuilder getFramesOrBuilder(int index)

All video frames where a label was detected.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelFrameOrBuilder

getFramesOrBuilderList()

public List<? extends LabelFrameOrBuilder> getFramesOrBuilderList()

All video frames where a label was detected.

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

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

getSegments(int index)

public LabelSegment getSegments(int index)

All video segments where a label was detected.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelSegment

getSegmentsBuilder(int index)

public LabelSegment.Builder getSegmentsBuilder(int index)

All video segments where a label was detected.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelSegment.Builder

getSegmentsBuilderList()

public List<LabelSegment.Builder> getSegmentsBuilderList()

All video segments where a label was detected.

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

Returns
TypeDescription
List<Builder>

getSegmentsCount()

public int getSegmentsCount()

All video segments where a label was detected.

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

Returns
TypeDescription
int

getSegmentsList()

public List<LabelSegment> getSegmentsList()

All video segments where a label was detected.

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

Returns
TypeDescription
List<LabelSegment>

getSegmentsOrBuilder(int index)

public LabelSegmentOrBuilder getSegmentsOrBuilder(int index)

All video segments where a label was detected.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelSegmentOrBuilder

getSegmentsOrBuilderList()

public List<? extends LabelSegmentOrBuilder> getSegmentsOrBuilderList()

All video segments where a label was detected.

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

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

hasEntity()

public boolean hasEntity()

Detected entity.

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

Returns
TypeDescription
boolean

Whether the entity field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEntity(Entity value)

public LabelAnnotation.Builder mergeEntity(Entity value)

Detected entity.

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

Parameter
NameDescription
valueEntity
Returns
TypeDescription
LabelAnnotation.Builder

mergeFrom(LabelAnnotation other)

public LabelAnnotation.Builder mergeFrom(LabelAnnotation other)
Parameter
NameDescription
otherLabelAnnotation
Returns
TypeDescription
LabelAnnotation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LabelAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LabelAnnotation.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LabelAnnotation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LabelAnnotation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LabelAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LabelAnnotation.Builder
Overrides

removeCategoryEntities(int index)

public LabelAnnotation.Builder removeCategoryEntities(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;

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelAnnotation.Builder

removeFrames(int index)

public LabelAnnotation.Builder removeFrames(int index)

All video frames where a label was detected.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelAnnotation.Builder

removeSegments(int index)

public LabelAnnotation.Builder removeSegments(int index)

All video segments where a label was detected.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelAnnotation.Builder

setCategoryEntities(int index, Entity value)

public LabelAnnotation.Builder setCategoryEntities(int index, Entity value)

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;

Parameters
NameDescription
indexint
valueEntity
Returns
TypeDescription
LabelAnnotation.Builder

setCategoryEntities(int index, Entity.Builder builderForValue)

public LabelAnnotation.Builder setCategoryEntities(int index, Entity.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueEntity.Builder
Returns
TypeDescription
LabelAnnotation.Builder

setEntity(Entity value)

public LabelAnnotation.Builder setEntity(Entity value)

Detected entity.

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

Parameter
NameDescription
valueEntity
Returns
TypeDescription
LabelAnnotation.Builder

setEntity(Entity.Builder builderForValue)

public LabelAnnotation.Builder setEntity(Entity.Builder builderForValue)

Detected entity.

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

Parameter
NameDescription
builderForValueEntity.Builder
Returns
TypeDescription
LabelAnnotation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LabelAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LabelAnnotation.Builder
Overrides

setFrames(int index, LabelFrame value)

public LabelAnnotation.Builder setFrames(int index, LabelFrame value)

All video frames where a label was detected.

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

Parameters
NameDescription
indexint
valueLabelFrame
Returns
TypeDescription
LabelAnnotation.Builder

setFrames(int index, LabelFrame.Builder builderForValue)

public LabelAnnotation.Builder setFrames(int index, LabelFrame.Builder builderForValue)

All video frames where a label was detected.

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

Parameters
NameDescription
indexint
builderForValueLabelFrame.Builder
Returns
TypeDescription
LabelAnnotation.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LabelAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LabelAnnotation.Builder
Overrides

setSegments(int index, LabelSegment value)

public LabelAnnotation.Builder setSegments(int index, LabelSegment value)

All video segments where a label was detected.

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

Parameters
NameDescription
indexint
valueLabelSegment
Returns
TypeDescription
LabelAnnotation.Builder

setSegments(int index, LabelSegment.Builder builderForValue)

public LabelAnnotation.Builder setSegments(int index, LabelSegment.Builder builderForValue)

All video segments where a label was detected.

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

Parameters
NameDescription
indexint
builderForValueLabelSegment.Builder
Returns
TypeDescription
LabelAnnotation.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final LabelAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LabelAnnotation.Builder
Overrides