Class StreamingVideoAnnotationResults.Builder (2.40.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.videointelligence.v1p3beta1.LabelAnnotation>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegment>
Returns
TypeDescription
StreamingVideoAnnotationResults.Builder

addLabelAnnotations(LabelAnnotation value)

public StreamingVideoAnnotationResults.Builder addLabelAnnotations(LabelAnnotation value)

Label annotation results.

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

Parameter
NameDescription
valueLabelAnnotation
Returns
TypeDescription
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
NameDescription
builderForValueLabelAnnotation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLabelAnnotation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLabelAnnotation.Builder
Returns
TypeDescription
StreamingVideoAnnotationResults.Builder

addLabelAnnotationsBuilder()

public LabelAnnotation.Builder addLabelAnnotationsBuilder()

Label annotation results.

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

Returns
TypeDescription
LabelAnnotation.Builder

addLabelAnnotationsBuilder(int index)

public LabelAnnotation.Builder addLabelAnnotationsBuilder(int index)

Label annotation results.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelAnnotation.Builder

addObjectAnnotations(ObjectTrackingAnnotation value)

public StreamingVideoAnnotationResults.Builder addObjectAnnotations(ObjectTrackingAnnotation value)

Object tracking results.

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

Parameter
NameDescription
valueObjectTrackingAnnotation
Returns
TypeDescription
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
NameDescription
builderForValueObjectTrackingAnnotation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueObjectTrackingAnnotation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueObjectTrackingAnnotation.Builder
Returns
TypeDescription
StreamingVideoAnnotationResults.Builder

addObjectAnnotationsBuilder()

public ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder()

Object tracking results.

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

Returns
TypeDescription
ObjectTrackingAnnotation.Builder

addObjectAnnotationsBuilder(int index)

public ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder(int index)

Object tracking results.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ObjectTrackingAnnotation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StreamingVideoAnnotationResults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueVideoSegment
Returns
TypeDescription
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
NameDescription
builderForValueVideoSegment.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueVideoSegment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVideoSegment.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
VideoSegment.Builder

build()

public StreamingVideoAnnotationResults build()
Returns
TypeDescription
StreamingVideoAnnotationResults

buildPartial()

public StreamingVideoAnnotationResults buildPartial()
Returns
TypeDescription
StreamingVideoAnnotationResults

clear()

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

clearExplicitAnnotation()

public StreamingVideoAnnotationResults.Builder clearExplicitAnnotation()

Explicit content annotation results.

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

Returns
TypeDescription
StreamingVideoAnnotationResults.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearLabelAnnotations()

public StreamingVideoAnnotationResults.Builder clearLabelAnnotations()

Label annotation results.

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

Returns
TypeDescription
StreamingVideoAnnotationResults.Builder

clearObjectAnnotations()

public StreamingVideoAnnotationResults.Builder clearObjectAnnotations()

Object tracking results.

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

Returns
TypeDescription
StreamingVideoAnnotationResults.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingVideoAnnotationResults.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
StreamingVideoAnnotationResults.Builder

clone()

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

getDefaultInstanceForType()

public StreamingVideoAnnotationResults getDefaultInstanceForType()
Returns
TypeDescription
StreamingVideoAnnotationResults

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExplicitAnnotation()

public ExplicitContentAnnotation getExplicitAnnotation()

Explicit content annotation results.

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

Returns
TypeDescription
ExplicitContentAnnotation

The explicitAnnotation.

getExplicitAnnotationBuilder()

public ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder()

Explicit content annotation results.

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

Returns
TypeDescription
ExplicitContentAnnotation.Builder

getExplicitAnnotationOrBuilder()

public ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder()

Explicit content annotation results.

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

Returns
TypeDescription
ExplicitContentAnnotationOrBuilder

getLabelAnnotations(int index)

public LabelAnnotation getLabelAnnotations(int index)

Label annotation results.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelAnnotation

getLabelAnnotationsBuilder(int index)

public LabelAnnotation.Builder getLabelAnnotationsBuilder(int index)

Label annotation results.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelAnnotation.Builder

getLabelAnnotationsBuilderList()

public List<LabelAnnotation.Builder> getLabelAnnotationsBuilderList()

Label annotation results.

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

Returns
TypeDescription
List<Builder>

getLabelAnnotationsCount()

public int getLabelAnnotationsCount()

Label annotation results.

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

Returns
TypeDescription
int

getLabelAnnotationsList()

public List<LabelAnnotation> getLabelAnnotationsList()

Label annotation results.

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

Returns
TypeDescription
List<LabelAnnotation>

getLabelAnnotationsOrBuilder(int index)

public LabelAnnotationOrBuilder getLabelAnnotationsOrBuilder(int index)

Label annotation results.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
LabelAnnotationOrBuilder

getLabelAnnotationsOrBuilderList()

public List<? extends LabelAnnotationOrBuilder> getLabelAnnotationsOrBuilderList()

Label annotation results.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ObjectTrackingAnnotation

getObjectAnnotationsBuilder(int index)

public ObjectTrackingAnnotation.Builder getObjectAnnotationsBuilder(int index)

Object tracking results.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ObjectTrackingAnnotation.Builder

getObjectAnnotationsBuilderList()

public List<ObjectTrackingAnnotation.Builder> getObjectAnnotationsBuilderList()

Object tracking results.

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

Returns
TypeDescription
List<Builder>

getObjectAnnotationsCount()

public int getObjectAnnotationsCount()

Object tracking results.

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

Returns
TypeDescription
int

getObjectAnnotationsList()

public List<ObjectTrackingAnnotation> getObjectAnnotationsList()

Object tracking results.

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

Returns
TypeDescription
List<ObjectTrackingAnnotation>

getObjectAnnotationsOrBuilder(int index)

public ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder(int index)

Object tracking results.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ObjectTrackingAnnotationOrBuilder

getObjectAnnotationsOrBuilderList()

public List<? extends ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsOrBuilderList()

Object tracking results.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the explicitAnnotation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeExplicitAnnotation(ExplicitContentAnnotation value)

public StreamingVideoAnnotationResults.Builder mergeExplicitAnnotation(ExplicitContentAnnotation value)

Explicit content annotation results.

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

Parameter
NameDescription
valueExplicitContentAnnotation
Returns
TypeDescription
StreamingVideoAnnotationResults.Builder

mergeFrom(StreamingVideoAnnotationResults other)

public StreamingVideoAnnotationResults.Builder mergeFrom(StreamingVideoAnnotationResults other)
Parameter
NameDescription
otherStreamingVideoAnnotationResults
Returns
TypeDescription
StreamingVideoAnnotationResults.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingVideoAnnotationResults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
StreamingVideoAnnotationResults.Builder

removeObjectAnnotations(int index)

public StreamingVideoAnnotationResults.Builder removeObjectAnnotations(int index)

Object tracking results.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
StreamingVideoAnnotationResults.Builder

setExplicitAnnotation(ExplicitContentAnnotation value)

public StreamingVideoAnnotationResults.Builder setExplicitAnnotation(ExplicitContentAnnotation value)

Explicit content annotation results.

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

Parameter
NameDescription
valueExplicitContentAnnotation
Returns
TypeDescription
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
NameDescription
builderForValueExplicitContentAnnotation.Builder
Returns
TypeDescription
StreamingVideoAnnotationResults.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StreamingVideoAnnotationResults.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueLabelAnnotation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLabelAnnotation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueObjectTrackingAnnotation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueObjectTrackingAnnotation.Builder
Returns
TypeDescription
StreamingVideoAnnotationResults.Builder

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

public StreamingVideoAnnotationResults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueVideoSegment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVideoSegment.Builder
Returns
TypeDescription
StreamingVideoAnnotationResults.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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