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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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>
|
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>
|
addLabelAnnotations(LabelAnnotation value)
public StreamingVideoAnnotationResults.Builder addLabelAnnotations(LabelAnnotation value)
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
addLabelAnnotations(LabelAnnotation.Builder builderForValue)
public StreamingVideoAnnotationResults.Builder addLabelAnnotations(LabelAnnotation.Builder builderForValue)
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
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;
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;
addLabelAnnotationsBuilder()
public LabelAnnotation.Builder addLabelAnnotationsBuilder()
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
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
|
addObjectAnnotations(ObjectTrackingAnnotation value)
public StreamingVideoAnnotationResults.Builder addObjectAnnotations(ObjectTrackingAnnotation value)
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
addObjectAnnotations(ObjectTrackingAnnotation.Builder builderForValue)
public StreamingVideoAnnotationResults.Builder addObjectAnnotations(ObjectTrackingAnnotation.Builder builderForValue)
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
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;
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;
addObjectAnnotationsBuilder()
public ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder()
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingVideoAnnotationResults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
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;
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
|
build()
public StreamingVideoAnnotationResults build()
buildPartial()
public StreamingVideoAnnotationResults buildPartial()
clear()
public StreamingVideoAnnotationResults.Builder clear()
Overrides
clearExplicitAnnotation()
public StreamingVideoAnnotationResults.Builder clearExplicitAnnotation()
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
clearField(Descriptors.FieldDescriptor field)
public StreamingVideoAnnotationResults.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLabelAnnotations()
public StreamingVideoAnnotationResults.Builder clearLabelAnnotations()
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
clearObjectAnnotations()
public StreamingVideoAnnotationResults.Builder clearObjectAnnotations()
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingVideoAnnotationResults.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public StreamingVideoAnnotationResults.Builder clone()
Overrides
getDefaultInstanceForType()
public StreamingVideoAnnotationResults getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getExplicitAnnotation()
public ExplicitContentAnnotation getExplicitAnnotation()
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
getExplicitAnnotationBuilder()
public ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder()
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
getExplicitAnnotationOrBuilder()
public ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder()
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
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
|
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
|
getLabelAnnotationsBuilderList()
public List<LabelAnnotation.Builder> getLabelAnnotationsBuilderList()
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;
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;
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
|
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
|
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
|
getObjectAnnotationsBuilderList()
public List<ObjectTrackingAnnotation.Builder> getObjectAnnotationsBuilderList()
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
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;
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
|
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
|
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
|
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;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeExplicitAnnotation(ExplicitContentAnnotation value)
public StreamingVideoAnnotationResults.Builder mergeExplicitAnnotation(ExplicitContentAnnotation value)
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
mergeFrom(StreamingVideoAnnotationResults other)
public StreamingVideoAnnotationResults.Builder mergeFrom(StreamingVideoAnnotationResults other)
public StreamingVideoAnnotationResults.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StreamingVideoAnnotationResults.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingVideoAnnotationResults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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
|
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
|
setExplicitAnnotation(ExplicitContentAnnotation value)
public StreamingVideoAnnotationResults.Builder setExplicitAnnotation(ExplicitContentAnnotation value)
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
setExplicitAnnotation(ExplicitContentAnnotation.Builder builderForValue)
public StreamingVideoAnnotationResults.Builder setExplicitAnnotation(ExplicitContentAnnotation.Builder builderForValue)
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingVideoAnnotationResults.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingVideoAnnotationResults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingVideoAnnotationResults.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides