Class StreamingVideoAnnotationResults.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StreamingVideoAnnotationResults.Builder>
com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults.Builder
- All Implemented Interfaces:
StreamingVideoAnnotationResultsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StreamingVideoAnnotationResults
public static final class StreamingVideoAnnotationResults.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllLabelAnnotations(Iterable<? extends LabelAnnotation> values) Label annotation results.addAllObjectAnnotations(Iterable<? extends ObjectTrackingAnnotation> values) Object tracking results.addAllShotAnnotations(Iterable<? extends VideoSegment> values) Shot annotation results.addLabelAnnotations(int index, LabelAnnotation value) Label annotation results.addLabelAnnotations(int index, LabelAnnotation.Builder builderForValue) Label annotation results.Label annotation results.addLabelAnnotations(LabelAnnotation.Builder builderForValue) Label annotation results.Label annotation results.addLabelAnnotationsBuilder(int index) Label annotation results.addObjectAnnotations(int index, ObjectTrackingAnnotation value) Object tracking results.addObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue) Object tracking results.Object tracking results.addObjectAnnotations(ObjectTrackingAnnotation.Builder builderForValue) Object tracking results.Object tracking results.addObjectAnnotationsBuilder(int index) Object tracking results.addShotAnnotations(int index, VideoSegment value) Shot annotation results.addShotAnnotations(int index, VideoSegment.Builder builderForValue) Shot annotation results.addShotAnnotations(VideoSegment value) Shot annotation results.addShotAnnotations(VideoSegment.Builder builderForValue) Shot annotation results.Shot annotation results.addShotAnnotationsBuilder(int index) Shot annotation results.build()clear()Explicit content annotation results.Label annotation results.Object tracking results.Shot annotation results.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorExplicit content annotation results.Explicit content annotation results.Explicit content annotation results.getLabelAnnotations(int index) Label annotation results.getLabelAnnotationsBuilder(int index) Label annotation results.Label annotation results.intLabel annotation results.Label annotation results.getLabelAnnotationsOrBuilder(int index) Label annotation results.List<? extends LabelAnnotationOrBuilder>Label annotation results.getObjectAnnotations(int index) Object tracking results.getObjectAnnotationsBuilder(int index) Object tracking results.Object tracking results.intObject tracking results.Object tracking results.getObjectAnnotationsOrBuilder(int index) Object tracking results.List<? extends ObjectTrackingAnnotationOrBuilder>Object tracking results.getShotAnnotations(int index) Shot annotation results.getShotAnnotationsBuilder(int index) Shot annotation results.Shot annotation results.intShot annotation results.Shot annotation results.getShotAnnotationsOrBuilder(int index) Shot annotation results.List<? extends VideoSegmentOrBuilder>Shot annotation results.booleanExplicit content annotation results.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanExplicit content annotation results.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeLabelAnnotations(int index) Label annotation results.removeObjectAnnotations(int index) Object tracking results.removeShotAnnotations(int index) Shot annotation results.Explicit content annotation results.setExplicitAnnotation(ExplicitContentAnnotation.Builder builderForValue) Explicit content annotation results.setLabelAnnotations(int index, LabelAnnotation value) Label annotation results.setLabelAnnotations(int index, LabelAnnotation.Builder builderForValue) Label annotation results.setObjectAnnotations(int index, ObjectTrackingAnnotation value) Object tracking results.setObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue) Object tracking results.setShotAnnotations(int index, VideoSegment value) Shot annotation results.setShotAnnotations(int index, VideoSegment.Builder builderForValue) Shot annotation results.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StreamingVideoAnnotationResults.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StreamingVideoAnnotationResults.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StreamingVideoAnnotationResults.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamingVideoAnnotationResults.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StreamingVideoAnnotationResults.Builder>
-
mergeFrom
public StreamingVideoAnnotationResults.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamingVideoAnnotationResults.Builder>- Throws:
IOException
-
getShotAnnotationsList
Shot annotation results. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;- Specified by:
getShotAnnotationsListin interfaceStreamingVideoAnnotationResultsOrBuilder
-
getShotAnnotationsCount
public int getShotAnnotationsCount()Shot annotation results. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;- Specified by:
getShotAnnotationsCountin interfaceStreamingVideoAnnotationResultsOrBuilder
-
getShotAnnotations
Shot annotation results. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;- Specified by:
getShotAnnotationsin interfaceStreamingVideoAnnotationResultsOrBuilder
-
setShotAnnotations
Shot annotation results. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; -
setShotAnnotations
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; -
addShotAnnotations
Shot annotation results. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; -
addShotAnnotations
Shot annotation results. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; -
addShotAnnotations
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
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; -
addAllShotAnnotations
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; -
clearShotAnnotations
Shot annotation results. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; -
removeShotAnnotations
Shot annotation results. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; -
getShotAnnotationsBuilder
Shot annotation results. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; -
getShotAnnotationsOrBuilder
Shot annotation results. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;- Specified by:
getShotAnnotationsOrBuilderin interfaceStreamingVideoAnnotationResultsOrBuilder
-
getShotAnnotationsOrBuilderList
Shot annotation results. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1;- Specified by:
getShotAnnotationsOrBuilderListin interfaceStreamingVideoAnnotationResultsOrBuilder
-
addShotAnnotationsBuilder
Shot annotation results. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; -
addShotAnnotationsBuilder
Shot annotation results. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; -
getShotAnnotationsBuilderList
Shot annotation results. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p3beta1.VideoSegment shot_annotations = 1; -
getLabelAnnotationsList
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;- Specified by:
getLabelAnnotationsListin interfaceStreamingVideoAnnotationResultsOrBuilder
-
getLabelAnnotationsCount
public int getLabelAnnotationsCount()Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;- Specified by:
getLabelAnnotationsCountin interfaceStreamingVideoAnnotationResultsOrBuilder
-
getLabelAnnotations
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;- Specified by:
getLabelAnnotationsin interfaceStreamingVideoAnnotationResultsOrBuilder
-
setLabelAnnotations
public StreamingVideoAnnotationResults.Builder setLabelAnnotations(int index, LabelAnnotation value) Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; -
setLabelAnnotations
public StreamingVideoAnnotationResults.Builder setLabelAnnotations(int index, LabelAnnotation.Builder builderForValue) Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; -
addLabelAnnotations
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; -
addLabelAnnotations
public StreamingVideoAnnotationResults.Builder addLabelAnnotations(int index, LabelAnnotation value) Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; -
addLabelAnnotations
public StreamingVideoAnnotationResults.Builder addLabelAnnotations(LabelAnnotation.Builder builderForValue) Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; -
addLabelAnnotations
public StreamingVideoAnnotationResults.Builder addLabelAnnotations(int index, LabelAnnotation.Builder builderForValue) Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; -
addAllLabelAnnotations
public StreamingVideoAnnotationResults.Builder addAllLabelAnnotations(Iterable<? extends LabelAnnotation> values) Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; -
clearLabelAnnotations
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; -
removeLabelAnnotations
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; -
getLabelAnnotationsBuilder
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; -
getLabelAnnotationsOrBuilder
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;- Specified by:
getLabelAnnotationsOrBuilderin interfaceStreamingVideoAnnotationResultsOrBuilder
-
getLabelAnnotationsOrBuilderList
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2;- Specified by:
getLabelAnnotationsOrBuilderListin interfaceStreamingVideoAnnotationResultsOrBuilder
-
addLabelAnnotationsBuilder
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; -
addLabelAnnotationsBuilder
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; -
getLabelAnnotationsBuilderList
Label annotation results.
repeated .google.cloud.videointelligence.v1p3beta1.LabelAnnotation label_annotations = 2; -
hasExplicitAnnotation
public boolean hasExplicitAnnotation()Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;- Specified by:
hasExplicitAnnotationin interfaceStreamingVideoAnnotationResultsOrBuilder- Returns:
- Whether the explicitAnnotation field is set.
-
getExplicitAnnotation
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;- Specified by:
getExplicitAnnotationin interfaceStreamingVideoAnnotationResultsOrBuilder- Returns:
- The explicitAnnotation.
-
setExplicitAnnotation
public StreamingVideoAnnotationResults.Builder setExplicitAnnotation(ExplicitContentAnnotation value) Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; -
setExplicitAnnotation
public StreamingVideoAnnotationResults.Builder setExplicitAnnotation(ExplicitContentAnnotation.Builder builderForValue) Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; -
mergeExplicitAnnotation
public StreamingVideoAnnotationResults.Builder mergeExplicitAnnotation(ExplicitContentAnnotation value) Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; -
clearExplicitAnnotation
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; -
getExplicitAnnotationBuilder
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3; -
getExplicitAnnotationOrBuilder
Explicit content annotation results.
.google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation explicit_annotation = 3;- Specified by:
getExplicitAnnotationOrBuilderin interfaceStreamingVideoAnnotationResultsOrBuilder
-
getObjectAnnotationsList
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;- Specified by:
getObjectAnnotationsListin interfaceStreamingVideoAnnotationResultsOrBuilder
-
getObjectAnnotationsCount
public int getObjectAnnotationsCount()Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;- Specified by:
getObjectAnnotationsCountin interfaceStreamingVideoAnnotationResultsOrBuilder
-
getObjectAnnotations
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;- Specified by:
getObjectAnnotationsin interfaceStreamingVideoAnnotationResultsOrBuilder
-
setObjectAnnotations
public StreamingVideoAnnotationResults.Builder setObjectAnnotations(int index, ObjectTrackingAnnotation value) Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; -
setObjectAnnotations
public StreamingVideoAnnotationResults.Builder setObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue) Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; -
addObjectAnnotations
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; -
addObjectAnnotations
public StreamingVideoAnnotationResults.Builder addObjectAnnotations(int index, ObjectTrackingAnnotation value) Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; -
addObjectAnnotations
public StreamingVideoAnnotationResults.Builder addObjectAnnotations(ObjectTrackingAnnotation.Builder builderForValue) Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; -
addObjectAnnotations
public StreamingVideoAnnotationResults.Builder addObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue) Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; -
addAllObjectAnnotations
public StreamingVideoAnnotationResults.Builder addAllObjectAnnotations(Iterable<? extends ObjectTrackingAnnotation> values) Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; -
clearObjectAnnotations
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; -
removeObjectAnnotations
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; -
getObjectAnnotationsBuilder
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; -
getObjectAnnotationsOrBuilder
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;- Specified by:
getObjectAnnotationsOrBuilderin interfaceStreamingVideoAnnotationResultsOrBuilder
-
getObjectAnnotationsOrBuilderList
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;- Specified by:
getObjectAnnotationsOrBuilderListin interfaceStreamingVideoAnnotationResultsOrBuilder
-
addObjectAnnotationsBuilder
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; -
addObjectAnnotationsBuilder
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4; -
getObjectAnnotationsBuilderList
Object tracking results.
repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation object_annotations = 4;
-