Class StreamingVideoAnnotationResults.Builder (2.43.0)

public static final class StreamingVideoAnnotationResults.Builder extends GeneratedMessageV3.Builder<StreamingVideoAnnotationResults.Builder> implements StreamingVideoAnnotationResultsOrBuilder

Streaming annotation results corresponding to a portion of the video that is currently being processed.

Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllLabelAnnotations(Iterable<? extends LabelAnnotation> values)

public StreamingVideoAnnotationResults.Builder addAllLabelAnnotations(Iterable<? extends LabelAnnotation> values)

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation>
Returns
Type Description
StreamingVideoAnnotationResults.Builder

addAllObjectAnnotations(Iterable<? extends ObjectTrackingAnnotation> values)

public StreamingVideoAnnotationResults.Builder addAllObjectAnnotations(Iterable<? extends ObjectTrackingAnnotation> values)

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Parameter
Name Description
values Iterable<? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation>
Returns
Type Description
StreamingVideoAnnotationResults.Builder

addAllShotAnnotations(Iterable<? extends VideoSegment> values)

public StreamingVideoAnnotationResults.Builder addAllShotAnnotations(Iterable<? extends VideoSegment> values)

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegment>
Returns
Type Description
StreamingVideoAnnotationResults.Builder

addLabelAnnotations(LabelAnnotation value)

public StreamingVideoAnnotationResults.Builder addLabelAnnotations(LabelAnnotation value)

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Parameter
Name Description
value LabelAnnotation
Returns
Type Description
StreamingVideoAnnotationResults.Builder

addLabelAnnotations(LabelAnnotation.Builder builderForValue)

public StreamingVideoAnnotationResults.Builder addLabelAnnotations(LabelAnnotation.Builder builderForValue)

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Parameter
Name Description
builderForValue LabelAnnotation.Builder
Returns
Type Description
StreamingVideoAnnotationResults.Builder

addLabelAnnotations(int index, LabelAnnotation value)

public StreamingVideoAnnotationResults.Builder addLabelAnnotations(int index, LabelAnnotation value)

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Parameters
Name Description
index int
value LabelAnnotation
Returns
Type Description
StreamingVideoAnnotationResults.Builder

addLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)

public StreamingVideoAnnotationResults.Builder addLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Parameters
Name Description
index int
builderForValue LabelAnnotation.Builder
Returns
Type Description
StreamingVideoAnnotationResults.Builder

addLabelAnnotationsBuilder()

public LabelAnnotation.Builder addLabelAnnotationsBuilder()

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Returns
Type Description
LabelAnnotation.Builder

addLabelAnnotationsBuilder(int index)

public LabelAnnotation.Builder addLabelAnnotationsBuilder(int index)

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Parameter
Name Description
index int
Returns
Type Description
LabelAnnotation.Builder

addObjectAnnotations(ObjectTrackingAnnotation value)

public StreamingVideoAnnotationResults.Builder addObjectAnnotations(ObjectTrackingAnnotation value)

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Parameter
Name Description
value ObjectTrackingAnnotation
Returns
Type Description
StreamingVideoAnnotationResults.Builder

addObjectAnnotations(ObjectTrackingAnnotation.Builder builderForValue)

public StreamingVideoAnnotationResults.Builder addObjectAnnotations(ObjectTrackingAnnotation.Builder builderForValue)

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Parameter
Name Description
builderForValue ObjectTrackingAnnotation.Builder
Returns
Type Description
StreamingVideoAnnotationResults.Builder

addObjectAnnotations(int index, ObjectTrackingAnnotation value)

public StreamingVideoAnnotationResults.Builder addObjectAnnotations(int index, ObjectTrackingAnnotation value)

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Parameters
Name Description
index int
value ObjectTrackingAnnotation
Returns
Type Description
StreamingVideoAnnotationResults.Builder

addObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue)

public StreamingVideoAnnotationResults.Builder addObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue)

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Parameters
Name Description
index int
builderForValue ObjectTrackingAnnotation.Builder
Returns
Type Description
StreamingVideoAnnotationResults.Builder

addObjectAnnotationsBuilder()

public ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder()

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Returns
Type Description
ObjectTrackingAnnotation.Builder

addObjectAnnotationsBuilder(int index)

public ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder(int index)

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Parameter
Name Description
index int
Returns
Type Description
ObjectTrackingAnnotation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StreamingVideoAnnotationResults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StreamingVideoAnnotationResults.Builder
Overrides

addShotAnnotations(VideoSegment value)

public StreamingVideoAnnotationResults.Builder addShotAnnotations(VideoSegment value)

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Parameter
Name Description
value VideoSegment
Returns
Type Description
StreamingVideoAnnotationResults.Builder

addShotAnnotations(VideoSegment.Builder builderForValue)

public StreamingVideoAnnotationResults.Builder addShotAnnotations(VideoSegment.Builder builderForValue)

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Parameter
Name Description
builderForValue VideoSegment.Builder
Returns
Type Description
StreamingVideoAnnotationResults.Builder

addShotAnnotations(int index, VideoSegment value)

public StreamingVideoAnnotationResults.Builder addShotAnnotations(int index, VideoSegment value)

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Parameters
Name Description
index int
value VideoSegment
Returns
Type Description
StreamingVideoAnnotationResults.Builder

addShotAnnotations(int index, VideoSegment.Builder builderForValue)

public StreamingVideoAnnotationResults.Builder addShotAnnotations(int index, VideoSegment.Builder builderForValue)

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Parameters
Name Description
index int
builderForValue VideoSegment.Builder
Returns
Type Description
StreamingVideoAnnotationResults.Builder

addShotAnnotationsBuilder()

public VideoSegment.Builder addShotAnnotationsBuilder()

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Returns
Type Description
VideoSegment.Builder

addShotAnnotationsBuilder(int index)

public VideoSegment.Builder addShotAnnotationsBuilder(int index)

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Parameter
Name Description
index int
Returns
Type Description
VideoSegment.Builder

build()

public StreamingVideoAnnotationResults build()
Returns
Type Description
StreamingVideoAnnotationResults

buildPartial()

public StreamingVideoAnnotationResults buildPartial()
Returns
Type Description
StreamingVideoAnnotationResults

clear()

public StreamingVideoAnnotationResults.Builder clear()
Returns
Type Description
StreamingVideoAnnotationResults.Builder
Overrides

clearExplicitAnnotation()

public StreamingVideoAnnotationResults.Builder clearExplicitAnnotation()

Explicit content annotation results.

.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;

Returns
Type Description
StreamingVideoAnnotationResults.Builder

clearField(Descriptors.FieldDescriptor field)

public StreamingVideoAnnotationResults.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StreamingVideoAnnotationResults.Builder
Overrides

clearLabelAnnotations()

public StreamingVideoAnnotationResults.Builder clearLabelAnnotations()

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Returns
Type Description
StreamingVideoAnnotationResults.Builder

clearObjectAnnotations()

public StreamingVideoAnnotationResults.Builder clearObjectAnnotations()

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Returns
Type Description
StreamingVideoAnnotationResults.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingVideoAnnotationResults.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StreamingVideoAnnotationResults.Builder
Overrides

clearShotAnnotations()

public StreamingVideoAnnotationResults.Builder clearShotAnnotations()

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Returns
Type Description
StreamingVideoAnnotationResults.Builder

clone()

public StreamingVideoAnnotationResults.Builder clone()
Returns
Type Description
StreamingVideoAnnotationResults.Builder
Overrides

getDefaultInstanceForType()

public StreamingVideoAnnotationResults getDefaultInstanceForType()
Returns
Type Description
StreamingVideoAnnotationResults

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExplicitAnnotation()

public ExplicitContentAnnotation getExplicitAnnotation()

Explicit content annotation results.

.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;

Returns
Type Description
ExplicitContentAnnotation

The explicitAnnotation.

getExplicitAnnotationBuilder()

public ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder()

Explicit content annotation results.

.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;

Returns
Type Description
ExplicitContentAnnotation.Builder

getExplicitAnnotationOrBuilder()

public ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder()

Explicit content annotation results.

.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;

Returns
Type Description
ExplicitContentAnnotationOrBuilder

getLabelAnnotations(int index)

public LabelAnnotation getLabelAnnotations(int index)

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Parameter
Name Description
index int
Returns
Type Description
LabelAnnotation

getLabelAnnotationsBuilder(int index)

public LabelAnnotation.Builder getLabelAnnotationsBuilder(int index)

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Parameter
Name Description
index int
Returns
Type Description
LabelAnnotation.Builder

getLabelAnnotationsBuilderList()

public List<LabelAnnotation.Builder> getLabelAnnotationsBuilderList()

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Returns
Type Description
List<Builder>

getLabelAnnotationsCount()

public int getLabelAnnotationsCount()

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Returns
Type Description
int

getLabelAnnotationsList()

public List<LabelAnnotation> getLabelAnnotationsList()

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Returns
Type Description
List<LabelAnnotation>

getLabelAnnotationsOrBuilder(int index)

public LabelAnnotationOrBuilder getLabelAnnotationsOrBuilder(int index)

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Parameter
Name Description
index int
Returns
Type Description
LabelAnnotationOrBuilder

getLabelAnnotationsOrBuilderList()

public List<? extends LabelAnnotationOrBuilder> getLabelAnnotationsOrBuilderList()

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotationOrBuilder>

getObjectAnnotations(int index)

public ObjectTrackingAnnotation getObjectAnnotations(int index)

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Parameter
Name Description
index int
Returns
Type Description
ObjectTrackingAnnotation

getObjectAnnotationsBuilder(int index)

public ObjectTrackingAnnotation.Builder getObjectAnnotationsBuilder(int index)

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Parameter
Name Description
index int
Returns
Type Description
ObjectTrackingAnnotation.Builder

getObjectAnnotationsBuilderList()

public List<ObjectTrackingAnnotation.Builder> getObjectAnnotationsBuilderList()

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Returns
Type Description
List<Builder>

getObjectAnnotationsCount()

public int getObjectAnnotationsCount()

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Returns
Type Description
int

getObjectAnnotationsList()

public List<ObjectTrackingAnnotation> getObjectAnnotationsList()

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Returns
Type Description
List<ObjectTrackingAnnotation>

getObjectAnnotationsOrBuilder(int index)

public ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder(int index)

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Parameter
Name Description
index int
Returns
Type Description
ObjectTrackingAnnotationOrBuilder

getObjectAnnotationsOrBuilderList()

public List<? extends ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsOrBuilderList()

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotationOrBuilder>

getShotAnnotations(int index)

public VideoSegment getShotAnnotations(int index)

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Parameter
Name Description
index int
Returns
Type Description
VideoSegment

getShotAnnotationsBuilder(int index)

public VideoSegment.Builder getShotAnnotationsBuilder(int index)

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Parameter
Name Description
index int
Returns
Type Description
VideoSegment.Builder

getShotAnnotationsBuilderList()

public List<VideoSegment.Builder> getShotAnnotationsBuilderList()

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Returns
Type Description
List<Builder>

getShotAnnotationsCount()

public int getShotAnnotationsCount()

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Returns
Type Description
int

getShotAnnotationsList()

public List<VideoSegment> getShotAnnotationsList()

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Returns
Type Description
List<VideoSegment>

getShotAnnotationsOrBuilder(int index)

public VideoSegmentOrBuilder getShotAnnotationsOrBuilder(int index)

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Parameter
Name Description
index int
Returns
Type Description
VideoSegmentOrBuilder

getShotAnnotationsOrBuilderList()

public List<? extends VideoSegmentOrBuilder> getShotAnnotationsOrBuilderList()

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder>

hasExplicitAnnotation()

public boolean hasExplicitAnnotation()

Explicit content annotation results.

.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;

Returns
Type Description
boolean

Whether the explicitAnnotation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExplicitAnnotation(ExplicitContentAnnotation value)

public StreamingVideoAnnotationResults.Builder mergeExplicitAnnotation(ExplicitContentAnnotation value)

Explicit content annotation results.

.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;

Parameter
Name Description
value ExplicitContentAnnotation
Returns
Type Description
StreamingVideoAnnotationResults.Builder

mergeFrom(StreamingVideoAnnotationResults other)

public StreamingVideoAnnotationResults.Builder mergeFrom(StreamingVideoAnnotationResults other)
Parameter
Name Description
other StreamingVideoAnnotationResults
Returns
Type Description
StreamingVideoAnnotationResults.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StreamingVideoAnnotationResults.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingVideoAnnotationResults.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StreamingVideoAnnotationResults.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StreamingVideoAnnotationResults.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingVideoAnnotationResults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamingVideoAnnotationResults.Builder
Overrides

removeLabelAnnotations(int index)

public StreamingVideoAnnotationResults.Builder removeLabelAnnotations(int index)

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Parameter
Name Description
index int
Returns
Type Description
StreamingVideoAnnotationResults.Builder

removeObjectAnnotations(int index)

public StreamingVideoAnnotationResults.Builder removeObjectAnnotations(int index)

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Parameter
Name Description
index int
Returns
Type Description
StreamingVideoAnnotationResults.Builder

removeShotAnnotations(int index)

public StreamingVideoAnnotationResults.Builder removeShotAnnotations(int index)

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Parameter
Name Description
index int
Returns
Type Description
StreamingVideoAnnotationResults.Builder

setExplicitAnnotation(ExplicitContentAnnotation value)

public StreamingVideoAnnotationResults.Builder setExplicitAnnotation(ExplicitContentAnnotation value)

Explicit content annotation results.

.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;

Parameter
Name Description
value ExplicitContentAnnotation
Returns
Type Description
StreamingVideoAnnotationResults.Builder

setExplicitAnnotation(ExplicitContentAnnotation.Builder builderForValue)

public StreamingVideoAnnotationResults.Builder setExplicitAnnotation(ExplicitContentAnnotation.Builder builderForValue)

Explicit content annotation results.

.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;

Parameter
Name Description
builderForValue ExplicitContentAnnotation.Builder
Returns
Type Description
StreamingVideoAnnotationResults.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StreamingVideoAnnotationResults.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StreamingVideoAnnotationResults.Builder
Overrides

setLabelAnnotations(int index, LabelAnnotation value)

public StreamingVideoAnnotationResults.Builder setLabelAnnotations(int index, LabelAnnotation value)

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Parameters
Name Description
index int
value LabelAnnotation
Returns
Type Description
StreamingVideoAnnotationResults.Builder

setLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)

public StreamingVideoAnnotationResults.Builder setLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)

Label annotation results.

repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;

Parameters
Name Description
index int
builderForValue LabelAnnotation.Builder
Returns
Type Description
StreamingVideoAnnotationResults.Builder

setObjectAnnotations(int index, ObjectTrackingAnnotation value)

public StreamingVideoAnnotationResults.Builder setObjectAnnotations(int index, ObjectTrackingAnnotation value)

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Parameters
Name Description
index int
value ObjectTrackingAnnotation
Returns
Type Description
StreamingVideoAnnotationResults.Builder

setObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue)

public StreamingVideoAnnotationResults.Builder setObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue)

Object tracking results.

repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;

Parameters
Name Description
index int
builderForValue ObjectTrackingAnnotation.Builder
Returns
Type Description
StreamingVideoAnnotationResults.Builder

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

public StreamingVideoAnnotationResults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StreamingVideoAnnotationResults.Builder
Overrides

setShotAnnotations(int index, VideoSegment value)

public StreamingVideoAnnotationResults.Builder setShotAnnotations(int index, VideoSegment value)

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Parameters
Name Description
index int
value VideoSegment
Returns
Type Description
StreamingVideoAnnotationResults.Builder

setShotAnnotations(int index, VideoSegment.Builder builderForValue)

public StreamingVideoAnnotationResults.Builder setShotAnnotations(int index, VideoSegment.Builder builderForValue)

Shot annotation results. Each shot is represented as a video segment.

repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;

Parameters
Name Description
index int
builderForValue VideoSegment.Builder
Returns
Type Description
StreamingVideoAnnotationResults.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final StreamingVideoAnnotationResults.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamingVideoAnnotationResults.Builder
Overrides