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
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
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
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
addLabelAnnotations(LabelAnnotation value)
public StreamingVideoAnnotationResults.Builder addLabelAnnotations(LabelAnnotation value)
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Parameter
Returns
addLabelAnnotations(LabelAnnotation.Builder builderForValue)
public StreamingVideoAnnotationResults.Builder addLabelAnnotations(LabelAnnotation.Builder builderForValue)
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Parameter
Returns
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
Returns
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
Returns
addLabelAnnotationsBuilder()
public LabelAnnotation.Builder addLabelAnnotationsBuilder()
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Returns
addLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder addLabelAnnotationsBuilder(int index)
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Parameter
Returns
addObjectAnnotations(ObjectTrackingAnnotation value)
public StreamingVideoAnnotationResults.Builder addObjectAnnotations(ObjectTrackingAnnotation value)
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
Parameter
Returns
addObjectAnnotations(ObjectTrackingAnnotation.Builder builderForValue)
public StreamingVideoAnnotationResults.Builder addObjectAnnotations(ObjectTrackingAnnotation.Builder builderForValue)
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
Parameter
Returns
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
Returns
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
Returns
addObjectAnnotationsBuilder()
public ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder()
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
Returns
addObjectAnnotationsBuilder(int index)
public ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder(int index)
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingVideoAnnotationResults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public StreamingVideoAnnotationResults build()
Returns
buildPartial()
public StreamingVideoAnnotationResults buildPartial()
Returns
clear()
public StreamingVideoAnnotationResults.Builder clear()
Returns
Overrides
clearExplicitAnnotation()
public StreamingVideoAnnotationResults.Builder clearExplicitAnnotation()
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public StreamingVideoAnnotationResults.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLabelAnnotations()
public StreamingVideoAnnotationResults.Builder clearLabelAnnotations()
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Returns
clearObjectAnnotations()
public StreamingVideoAnnotationResults.Builder clearObjectAnnotations()
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingVideoAnnotationResults.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public StreamingVideoAnnotationResults.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public StreamingVideoAnnotationResults getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExplicitAnnotation()
public ExplicitContentAnnotation getExplicitAnnotation()
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
Returns
getExplicitAnnotationBuilder()
public ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder()
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
Returns
getExplicitAnnotationOrBuilder()
public ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder()
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
Returns
getLabelAnnotations(int index)
public LabelAnnotation getLabelAnnotations(int index)
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Parameter
Returns
getLabelAnnotationsBuilder(int index)
public LabelAnnotation.Builder getLabelAnnotationsBuilder(int index)
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Parameter
Returns
getLabelAnnotationsBuilderList()
public List<LabelAnnotation.Builder> getLabelAnnotationsBuilderList()
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Returns
getLabelAnnotationsCount()
public int getLabelAnnotationsCount()
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Returns
getLabelAnnotationsList()
public List<LabelAnnotation> getLabelAnnotationsList()
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Returns
getLabelAnnotationsOrBuilder(int index)
public LabelAnnotationOrBuilder getLabelAnnotationsOrBuilder(int index)
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Parameter
Returns
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
Returns
getObjectAnnotationsBuilder(int index)
public ObjectTrackingAnnotation.Builder getObjectAnnotationsBuilder(int index)
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
Parameter
Returns
getObjectAnnotationsBuilderList()
public List<ObjectTrackingAnnotation.Builder> getObjectAnnotationsBuilderList()
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
Returns
getObjectAnnotationsCount()
public int getObjectAnnotationsCount()
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
Returns
getObjectAnnotationsList()
public List<ObjectTrackingAnnotation> getObjectAnnotationsList()
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
Returns
getObjectAnnotationsOrBuilder(int index)
public ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder(int index)
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
Parameter
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeExplicitAnnotation(ExplicitContentAnnotation value)
public StreamingVideoAnnotationResults.Builder mergeExplicitAnnotation(ExplicitContentAnnotation value)
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
Parameter
Returns
mergeFrom(StreamingVideoAnnotationResults other)
public StreamingVideoAnnotationResults.Builder mergeFrom(StreamingVideoAnnotationResults other)
Parameter
Returns
public StreamingVideoAnnotationResults.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StreamingVideoAnnotationResults.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingVideoAnnotationResults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeLabelAnnotations(int index)
public StreamingVideoAnnotationResults.Builder removeLabelAnnotations(int index)
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
Parameter
Returns
removeObjectAnnotations(int index)
public StreamingVideoAnnotationResults.Builder removeObjectAnnotations(int index)
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
Parameter
Returns
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
Returns
setExplicitAnnotation(ExplicitContentAnnotation value)
public StreamingVideoAnnotationResults.Builder setExplicitAnnotation(ExplicitContentAnnotation value)
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
Parameter
Returns
setExplicitAnnotation(ExplicitContentAnnotation.Builder builderForValue)
public StreamingVideoAnnotationResults.Builder setExplicitAnnotation(ExplicitContentAnnotation.Builder builderForValue)
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingVideoAnnotationResults.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingVideoAnnotationResults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingVideoAnnotationResults.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides