Class VideoAnnotationResults.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VideoAnnotationResults.Builder>
-
- com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults.Builder
-
- All Implemented Interfaces:
VideoAnnotationResultsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- VideoAnnotationResults
public static final class VideoAnnotationResults.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VideoAnnotationResults.Builder> implements VideoAnnotationResultsOrBuilder
Annotation results for a single video.
Protobuf typegoogle.cloud.videointelligence.v1p2beta1.VideoAnnotationResults
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoAnnotationResults.Builder
addAllFrameLabelAnnotations(Iterable<? extends LabelAnnotation> values)
Label annotations on frame level.VideoAnnotationResults.Builder
addAllObjectAnnotations(Iterable<? extends ObjectTrackingAnnotation> values)
Annotations for list of objects detected and tracked in video.VideoAnnotationResults.Builder
addAllSegmentLabelAnnotations(Iterable<? extends LabelAnnotation> values)
Label annotations on video level or user specified segment level.VideoAnnotationResults.Builder
addAllShotAnnotations(Iterable<? extends VideoSegment> values)
Shot annotations.VideoAnnotationResults.Builder
addAllShotLabelAnnotations(Iterable<? extends LabelAnnotation> values)
Label annotations on shot level.VideoAnnotationResults.Builder
addAllTextAnnotations(Iterable<? extends TextAnnotation> values)
OCR text detection and tracking.VideoAnnotationResults.Builder
addFrameLabelAnnotations(int index, LabelAnnotation value)
Label annotations on frame level.VideoAnnotationResults.Builder
addFrameLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
Label annotations on frame level.VideoAnnotationResults.Builder
addFrameLabelAnnotations(LabelAnnotation value)
Label annotations on frame level.VideoAnnotationResults.Builder
addFrameLabelAnnotations(LabelAnnotation.Builder builderForValue)
Label annotations on frame level.LabelAnnotation.Builder
addFrameLabelAnnotationsBuilder()
Label annotations on frame level.LabelAnnotation.Builder
addFrameLabelAnnotationsBuilder(int index)
Label annotations on frame level.VideoAnnotationResults.Builder
addObjectAnnotations(int index, ObjectTrackingAnnotation value)
Annotations for list of objects detected and tracked in video.VideoAnnotationResults.Builder
addObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue)
Annotations for list of objects detected and tracked in video.VideoAnnotationResults.Builder
addObjectAnnotations(ObjectTrackingAnnotation value)
Annotations for list of objects detected and tracked in video.VideoAnnotationResults.Builder
addObjectAnnotations(ObjectTrackingAnnotation.Builder builderForValue)
Annotations for list of objects detected and tracked in video.ObjectTrackingAnnotation.Builder
addObjectAnnotationsBuilder()
Annotations for list of objects detected and tracked in video.ObjectTrackingAnnotation.Builder
addObjectAnnotationsBuilder(int index)
Annotations for list of objects detected and tracked in video.VideoAnnotationResults.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VideoAnnotationResults.Builder
addSegmentLabelAnnotations(int index, LabelAnnotation value)
Label annotations on video level or user specified segment level.VideoAnnotationResults.Builder
addSegmentLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
Label annotations on video level or user specified segment level.VideoAnnotationResults.Builder
addSegmentLabelAnnotations(LabelAnnotation value)
Label annotations on video level or user specified segment level.VideoAnnotationResults.Builder
addSegmentLabelAnnotations(LabelAnnotation.Builder builderForValue)
Label annotations on video level or user specified segment level.LabelAnnotation.Builder
addSegmentLabelAnnotationsBuilder()
Label annotations on video level or user specified segment level.LabelAnnotation.Builder
addSegmentLabelAnnotationsBuilder(int index)
Label annotations on video level or user specified segment level.VideoAnnotationResults.Builder
addShotAnnotations(int index, VideoSegment value)
Shot annotations.VideoAnnotationResults.Builder
addShotAnnotations(int index, VideoSegment.Builder builderForValue)
Shot annotations.VideoAnnotationResults.Builder
addShotAnnotations(VideoSegment value)
Shot annotations.VideoAnnotationResults.Builder
addShotAnnotations(VideoSegment.Builder builderForValue)
Shot annotations.VideoSegment.Builder
addShotAnnotationsBuilder()
Shot annotations.VideoSegment.Builder
addShotAnnotationsBuilder(int index)
Shot annotations.VideoAnnotationResults.Builder
addShotLabelAnnotations(int index, LabelAnnotation value)
Label annotations on shot level.VideoAnnotationResults.Builder
addShotLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
Label annotations on shot level.VideoAnnotationResults.Builder
addShotLabelAnnotations(LabelAnnotation value)
Label annotations on shot level.VideoAnnotationResults.Builder
addShotLabelAnnotations(LabelAnnotation.Builder builderForValue)
Label annotations on shot level.LabelAnnotation.Builder
addShotLabelAnnotationsBuilder()
Label annotations on shot level.LabelAnnotation.Builder
addShotLabelAnnotationsBuilder(int index)
Label annotations on shot level.VideoAnnotationResults.Builder
addTextAnnotations(int index, TextAnnotation value)
OCR text detection and tracking.VideoAnnotationResults.Builder
addTextAnnotations(int index, TextAnnotation.Builder builderForValue)
OCR text detection and tracking.VideoAnnotationResults.Builder
addTextAnnotations(TextAnnotation value)
OCR text detection and tracking.VideoAnnotationResults.Builder
addTextAnnotations(TextAnnotation.Builder builderForValue)
OCR text detection and tracking.TextAnnotation.Builder
addTextAnnotationsBuilder()
OCR text detection and tracking.TextAnnotation.Builder
addTextAnnotationsBuilder(int index)
OCR text detection and tracking.VideoAnnotationResults
build()
VideoAnnotationResults
buildPartial()
VideoAnnotationResults.Builder
clear()
VideoAnnotationResults.Builder
clearError()
If set, indicates an error.VideoAnnotationResults.Builder
clearExplicitAnnotation()
Explicit content annotation.VideoAnnotationResults.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
VideoAnnotationResults.Builder
clearFrameLabelAnnotations()
Label annotations on frame level.VideoAnnotationResults.Builder
clearInputUri()
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).VideoAnnotationResults.Builder
clearObjectAnnotations()
Annotations for list of objects detected and tracked in video.VideoAnnotationResults.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
VideoAnnotationResults.Builder
clearSegmentLabelAnnotations()
Label annotations on video level or user specified segment level.VideoAnnotationResults.Builder
clearShotAnnotations()
Shot annotations.VideoAnnotationResults.Builder
clearShotLabelAnnotations()
Label annotations on shot level.VideoAnnotationResults.Builder
clearTextAnnotations()
OCR text detection and tracking.VideoAnnotationResults.Builder
clone()
VideoAnnotationResults
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.rpc.Status
getError()
If set, indicates an error.com.google.rpc.Status.Builder
getErrorBuilder()
If set, indicates an error.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
If set, indicates an error.ExplicitContentAnnotation
getExplicitAnnotation()
Explicit content annotation.ExplicitContentAnnotation.Builder
getExplicitAnnotationBuilder()
Explicit content annotation.ExplicitContentAnnotationOrBuilder
getExplicitAnnotationOrBuilder()
Explicit content annotation.LabelAnnotation
getFrameLabelAnnotations(int index)
Label annotations on frame level.LabelAnnotation.Builder
getFrameLabelAnnotationsBuilder(int index)
Label annotations on frame level.List<LabelAnnotation.Builder>
getFrameLabelAnnotationsBuilderList()
Label annotations on frame level.int
getFrameLabelAnnotationsCount()
Label annotations on frame level.List<LabelAnnotation>
getFrameLabelAnnotationsList()
Label annotations on frame level.LabelAnnotationOrBuilder
getFrameLabelAnnotationsOrBuilder(int index)
Label annotations on frame level.List<? extends LabelAnnotationOrBuilder>
getFrameLabelAnnotationsOrBuilderList()
Label annotations on frame level.String
getInputUri()
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).com.google.protobuf.ByteString
getInputUriBytes()
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).ObjectTrackingAnnotation
getObjectAnnotations(int index)
Annotations for list of objects detected and tracked in video.ObjectTrackingAnnotation.Builder
getObjectAnnotationsBuilder(int index)
Annotations for list of objects detected and tracked in video.List<ObjectTrackingAnnotation.Builder>
getObjectAnnotationsBuilderList()
Annotations for list of objects detected and tracked in video.int
getObjectAnnotationsCount()
Annotations for list of objects detected and tracked in video.List<ObjectTrackingAnnotation>
getObjectAnnotationsList()
Annotations for list of objects detected and tracked in video.ObjectTrackingAnnotationOrBuilder
getObjectAnnotationsOrBuilder(int index)
Annotations for list of objects detected and tracked in video.List<? extends ObjectTrackingAnnotationOrBuilder>
getObjectAnnotationsOrBuilderList()
Annotations for list of objects detected and tracked in video.LabelAnnotation
getSegmentLabelAnnotations(int index)
Label annotations on video level or user specified segment level.LabelAnnotation.Builder
getSegmentLabelAnnotationsBuilder(int index)
Label annotations on video level or user specified segment level.List<LabelAnnotation.Builder>
getSegmentLabelAnnotationsBuilderList()
Label annotations on video level or user specified segment level.int
getSegmentLabelAnnotationsCount()
Label annotations on video level or user specified segment level.List<LabelAnnotation>
getSegmentLabelAnnotationsList()
Label annotations on video level or user specified segment level.LabelAnnotationOrBuilder
getSegmentLabelAnnotationsOrBuilder(int index)
Label annotations on video level or user specified segment level.List<? extends LabelAnnotationOrBuilder>
getSegmentLabelAnnotationsOrBuilderList()
Label annotations on video level or user specified segment level.VideoSegment
getShotAnnotations(int index)
Shot annotations.VideoSegment.Builder
getShotAnnotationsBuilder(int index)
Shot annotations.List<VideoSegment.Builder>
getShotAnnotationsBuilderList()
Shot annotations.int
getShotAnnotationsCount()
Shot annotations.List<VideoSegment>
getShotAnnotationsList()
Shot annotations.VideoSegmentOrBuilder
getShotAnnotationsOrBuilder(int index)
Shot annotations.List<? extends VideoSegmentOrBuilder>
getShotAnnotationsOrBuilderList()
Shot annotations.LabelAnnotation
getShotLabelAnnotations(int index)
Label annotations on shot level.LabelAnnotation.Builder
getShotLabelAnnotationsBuilder(int index)
Label annotations on shot level.List<LabelAnnotation.Builder>
getShotLabelAnnotationsBuilderList()
Label annotations on shot level.int
getShotLabelAnnotationsCount()
Label annotations on shot level.List<LabelAnnotation>
getShotLabelAnnotationsList()
Label annotations on shot level.LabelAnnotationOrBuilder
getShotLabelAnnotationsOrBuilder(int index)
Label annotations on shot level.List<? extends LabelAnnotationOrBuilder>
getShotLabelAnnotationsOrBuilderList()
Label annotations on shot level.TextAnnotation
getTextAnnotations(int index)
OCR text detection and tracking.TextAnnotation.Builder
getTextAnnotationsBuilder(int index)
OCR text detection and tracking.List<TextAnnotation.Builder>
getTextAnnotationsBuilderList()
OCR text detection and tracking.int
getTextAnnotationsCount()
OCR text detection and tracking.List<TextAnnotation>
getTextAnnotationsList()
OCR text detection and tracking.TextAnnotationOrBuilder
getTextAnnotationsOrBuilder(int index)
OCR text detection and tracking.List<? extends TextAnnotationOrBuilder>
getTextAnnotationsOrBuilderList()
OCR text detection and tracking.boolean
hasError()
If set, indicates an error.boolean
hasExplicitAnnotation()
Explicit content annotation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
VideoAnnotationResults.Builder
mergeError(com.google.rpc.Status value)
If set, indicates an error.VideoAnnotationResults.Builder
mergeExplicitAnnotation(ExplicitContentAnnotation value)
Explicit content annotation.VideoAnnotationResults.Builder
mergeFrom(VideoAnnotationResults other)
VideoAnnotationResults.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VideoAnnotationResults.Builder
mergeFrom(com.google.protobuf.Message other)
VideoAnnotationResults.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VideoAnnotationResults.Builder
removeFrameLabelAnnotations(int index)
Label annotations on frame level.VideoAnnotationResults.Builder
removeObjectAnnotations(int index)
Annotations for list of objects detected and tracked in video.VideoAnnotationResults.Builder
removeSegmentLabelAnnotations(int index)
Label annotations on video level or user specified segment level.VideoAnnotationResults.Builder
removeShotAnnotations(int index)
Shot annotations.VideoAnnotationResults.Builder
removeShotLabelAnnotations(int index)
Label annotations on shot level.VideoAnnotationResults.Builder
removeTextAnnotations(int index)
OCR text detection and tracking.VideoAnnotationResults.Builder
setError(com.google.rpc.Status value)
If set, indicates an error.VideoAnnotationResults.Builder
setError(com.google.rpc.Status.Builder builderForValue)
If set, indicates an error.VideoAnnotationResults.Builder
setExplicitAnnotation(ExplicitContentAnnotation value)
Explicit content annotation.VideoAnnotationResults.Builder
setExplicitAnnotation(ExplicitContentAnnotation.Builder builderForValue)
Explicit content annotation.VideoAnnotationResults.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VideoAnnotationResults.Builder
setFrameLabelAnnotations(int index, LabelAnnotation value)
Label annotations on frame level.VideoAnnotationResults.Builder
setFrameLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
Label annotations on frame level.VideoAnnotationResults.Builder
setInputUri(String value)
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).VideoAnnotationResults.Builder
setInputUriBytes(com.google.protobuf.ByteString value)
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).VideoAnnotationResults.Builder
setObjectAnnotations(int index, ObjectTrackingAnnotation value)
Annotations for list of objects detected and tracked in video.VideoAnnotationResults.Builder
setObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue)
Annotations for list of objects detected and tracked in video.VideoAnnotationResults.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
VideoAnnotationResults.Builder
setSegmentLabelAnnotations(int index, LabelAnnotation value)
Label annotations on video level or user specified segment level.VideoAnnotationResults.Builder
setSegmentLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
Label annotations on video level or user specified segment level.VideoAnnotationResults.Builder
setShotAnnotations(int index, VideoSegment value)
Shot annotations.VideoAnnotationResults.Builder
setShotAnnotations(int index, VideoSegment.Builder builderForValue)
Shot annotations.VideoAnnotationResults.Builder
setShotLabelAnnotations(int index, LabelAnnotation value)
Label annotations on shot level.VideoAnnotationResults.Builder
setShotLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
Label annotations on shot level.VideoAnnotationResults.Builder
setTextAnnotations(int index, TextAnnotation value)
OCR text detection and tracking.VideoAnnotationResults.Builder
setTextAnnotations(int index, TextAnnotation.Builder builderForValue)
OCR text detection and tracking.VideoAnnotationResults.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoAnnotationResults.Builder>
-
clear
public VideoAnnotationResults.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoAnnotationResults.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoAnnotationResults.Builder>
-
getDefaultInstanceForType
public VideoAnnotationResults getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VideoAnnotationResults build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VideoAnnotationResults buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VideoAnnotationResults.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoAnnotationResults.Builder>
-
setField
public VideoAnnotationResults.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoAnnotationResults.Builder>
-
clearField
public VideoAnnotationResults.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoAnnotationResults.Builder>
-
clearOneof
public VideoAnnotationResults.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoAnnotationResults.Builder>
-
setRepeatedField
public VideoAnnotationResults.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoAnnotationResults.Builder>
-
addRepeatedField
public VideoAnnotationResults.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoAnnotationResults.Builder>
-
mergeFrom
public VideoAnnotationResults.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VideoAnnotationResults.Builder>
-
mergeFrom
public VideoAnnotationResults.Builder mergeFrom(VideoAnnotationResults other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoAnnotationResults.Builder>
-
mergeFrom
public VideoAnnotationResults.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VideoAnnotationResults.Builder>
- Throws:
IOException
-
getInputUri
public String getInputUri()
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;
- Specified by:
getInputUri
in interfaceVideoAnnotationResultsOrBuilder
- Returns:
- The inputUri.
-
getInputUriBytes
public com.google.protobuf.ByteString getInputUriBytes()
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;
- Specified by:
getInputUriBytes
in interfaceVideoAnnotationResultsOrBuilder
- Returns:
- The bytes for inputUri.
-
setInputUri
public VideoAnnotationResults.Builder setInputUri(String value)
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;
- Parameters:
value
- The inputUri to set.- Returns:
- This builder for chaining.
-
clearInputUri
public VideoAnnotationResults.Builder clearInputUri()
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;
- Returns:
- This builder for chaining.
-
setInputUriBytes
public VideoAnnotationResults.Builder setInputUriBytes(com.google.protobuf.ByteString value)
Video file location in [Google Cloud Storage](https://cloud.google.com/storage/).
string input_uri = 1;
- Parameters:
value
- The bytes for inputUri to set.- Returns:
- This builder for chaining.
-
getSegmentLabelAnnotationsList
public List<LabelAnnotation> getSegmentLabelAnnotationsList()
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
- Specified by:
getSegmentLabelAnnotationsList
in interfaceVideoAnnotationResultsOrBuilder
-
getSegmentLabelAnnotationsCount
public int getSegmentLabelAnnotationsCount()
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
- Specified by:
getSegmentLabelAnnotationsCount
in interfaceVideoAnnotationResultsOrBuilder
-
getSegmentLabelAnnotations
public LabelAnnotation getSegmentLabelAnnotations(int index)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
- Specified by:
getSegmentLabelAnnotations
in interfaceVideoAnnotationResultsOrBuilder
-
setSegmentLabelAnnotations
public VideoAnnotationResults.Builder setSegmentLabelAnnotations(int index, LabelAnnotation value)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
setSegmentLabelAnnotations
public VideoAnnotationResults.Builder setSegmentLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
addSegmentLabelAnnotations
public VideoAnnotationResults.Builder addSegmentLabelAnnotations(LabelAnnotation value)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
addSegmentLabelAnnotations
public VideoAnnotationResults.Builder addSegmentLabelAnnotations(int index, LabelAnnotation value)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
addSegmentLabelAnnotations
public VideoAnnotationResults.Builder addSegmentLabelAnnotations(LabelAnnotation.Builder builderForValue)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
addSegmentLabelAnnotations
public VideoAnnotationResults.Builder addSegmentLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
addAllSegmentLabelAnnotations
public VideoAnnotationResults.Builder addAllSegmentLabelAnnotations(Iterable<? extends LabelAnnotation> values)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
clearSegmentLabelAnnotations
public VideoAnnotationResults.Builder clearSegmentLabelAnnotations()
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
removeSegmentLabelAnnotations
public VideoAnnotationResults.Builder removeSegmentLabelAnnotations(int index)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
getSegmentLabelAnnotationsBuilder
public LabelAnnotation.Builder getSegmentLabelAnnotationsBuilder(int index)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
getSegmentLabelAnnotationsOrBuilder
public LabelAnnotationOrBuilder getSegmentLabelAnnotationsOrBuilder(int index)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
- Specified by:
getSegmentLabelAnnotationsOrBuilder
in interfaceVideoAnnotationResultsOrBuilder
-
getSegmentLabelAnnotationsOrBuilderList
public List<? extends LabelAnnotationOrBuilder> getSegmentLabelAnnotationsOrBuilderList()
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
- Specified by:
getSegmentLabelAnnotationsOrBuilderList
in interfaceVideoAnnotationResultsOrBuilder
-
addSegmentLabelAnnotationsBuilder
public LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder()
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
addSegmentLabelAnnotationsBuilder
public LabelAnnotation.Builder addSegmentLabelAnnotationsBuilder(int index)
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
getSegmentLabelAnnotationsBuilderList
public List<LabelAnnotation.Builder> getSegmentLabelAnnotationsBuilderList()
Label annotations on video level or user specified segment level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation segment_label_annotations = 2;
-
getShotLabelAnnotationsList
public List<LabelAnnotation> getShotLabelAnnotationsList()
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
- Specified by:
getShotLabelAnnotationsList
in interfaceVideoAnnotationResultsOrBuilder
-
getShotLabelAnnotationsCount
public int getShotLabelAnnotationsCount()
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
- Specified by:
getShotLabelAnnotationsCount
in interfaceVideoAnnotationResultsOrBuilder
-
getShotLabelAnnotations
public LabelAnnotation getShotLabelAnnotations(int index)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
- Specified by:
getShotLabelAnnotations
in interfaceVideoAnnotationResultsOrBuilder
-
setShotLabelAnnotations
public VideoAnnotationResults.Builder setShotLabelAnnotations(int index, LabelAnnotation value)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
setShotLabelAnnotations
public VideoAnnotationResults.Builder setShotLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
addShotLabelAnnotations
public VideoAnnotationResults.Builder addShotLabelAnnotations(LabelAnnotation value)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
addShotLabelAnnotations
public VideoAnnotationResults.Builder addShotLabelAnnotations(int index, LabelAnnotation value)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
addShotLabelAnnotations
public VideoAnnotationResults.Builder addShotLabelAnnotations(LabelAnnotation.Builder builderForValue)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
addShotLabelAnnotations
public VideoAnnotationResults.Builder addShotLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
addAllShotLabelAnnotations
public VideoAnnotationResults.Builder addAllShotLabelAnnotations(Iterable<? extends LabelAnnotation> values)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
clearShotLabelAnnotations
public VideoAnnotationResults.Builder clearShotLabelAnnotations()
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
removeShotLabelAnnotations
public VideoAnnotationResults.Builder removeShotLabelAnnotations(int index)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
getShotLabelAnnotationsBuilder
public LabelAnnotation.Builder getShotLabelAnnotationsBuilder(int index)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
getShotLabelAnnotationsOrBuilder
public LabelAnnotationOrBuilder getShotLabelAnnotationsOrBuilder(int index)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
- Specified by:
getShotLabelAnnotationsOrBuilder
in interfaceVideoAnnotationResultsOrBuilder
-
getShotLabelAnnotationsOrBuilderList
public List<? extends LabelAnnotationOrBuilder> getShotLabelAnnotationsOrBuilderList()
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
- Specified by:
getShotLabelAnnotationsOrBuilderList
in interfaceVideoAnnotationResultsOrBuilder
-
addShotLabelAnnotationsBuilder
public LabelAnnotation.Builder addShotLabelAnnotationsBuilder()
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
addShotLabelAnnotationsBuilder
public LabelAnnotation.Builder addShotLabelAnnotationsBuilder(int index)
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
getShotLabelAnnotationsBuilderList
public List<LabelAnnotation.Builder> getShotLabelAnnotationsBuilderList()
Label annotations on shot level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation shot_label_annotations = 3;
-
getFrameLabelAnnotationsList
public List<LabelAnnotation> getFrameLabelAnnotationsList()
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
- Specified by:
getFrameLabelAnnotationsList
in interfaceVideoAnnotationResultsOrBuilder
-
getFrameLabelAnnotationsCount
public int getFrameLabelAnnotationsCount()
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
- Specified by:
getFrameLabelAnnotationsCount
in interfaceVideoAnnotationResultsOrBuilder
-
getFrameLabelAnnotations
public LabelAnnotation getFrameLabelAnnotations(int index)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
- Specified by:
getFrameLabelAnnotations
in interfaceVideoAnnotationResultsOrBuilder
-
setFrameLabelAnnotations
public VideoAnnotationResults.Builder setFrameLabelAnnotations(int index, LabelAnnotation value)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
setFrameLabelAnnotations
public VideoAnnotationResults.Builder setFrameLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
addFrameLabelAnnotations
public VideoAnnotationResults.Builder addFrameLabelAnnotations(LabelAnnotation value)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
addFrameLabelAnnotations
public VideoAnnotationResults.Builder addFrameLabelAnnotations(int index, LabelAnnotation value)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
addFrameLabelAnnotations
public VideoAnnotationResults.Builder addFrameLabelAnnotations(LabelAnnotation.Builder builderForValue)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
addFrameLabelAnnotations
public VideoAnnotationResults.Builder addFrameLabelAnnotations(int index, LabelAnnotation.Builder builderForValue)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
addAllFrameLabelAnnotations
public VideoAnnotationResults.Builder addAllFrameLabelAnnotations(Iterable<? extends LabelAnnotation> values)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
clearFrameLabelAnnotations
public VideoAnnotationResults.Builder clearFrameLabelAnnotations()
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
removeFrameLabelAnnotations
public VideoAnnotationResults.Builder removeFrameLabelAnnotations(int index)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
getFrameLabelAnnotationsBuilder
public LabelAnnotation.Builder getFrameLabelAnnotationsBuilder(int index)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
getFrameLabelAnnotationsOrBuilder
public LabelAnnotationOrBuilder getFrameLabelAnnotationsOrBuilder(int index)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
- Specified by:
getFrameLabelAnnotationsOrBuilder
in interfaceVideoAnnotationResultsOrBuilder
-
getFrameLabelAnnotationsOrBuilderList
public List<? extends LabelAnnotationOrBuilder> getFrameLabelAnnotationsOrBuilderList()
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
- Specified by:
getFrameLabelAnnotationsOrBuilderList
in interfaceVideoAnnotationResultsOrBuilder
-
addFrameLabelAnnotationsBuilder
public LabelAnnotation.Builder addFrameLabelAnnotationsBuilder()
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
addFrameLabelAnnotationsBuilder
public LabelAnnotation.Builder addFrameLabelAnnotationsBuilder(int index)
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
getFrameLabelAnnotationsBuilderList
public List<LabelAnnotation.Builder> getFrameLabelAnnotationsBuilderList()
Label annotations on frame level. There is exactly one element for each unique label.
repeated .google.cloud.videointelligence.v1p2beta1.LabelAnnotation frame_label_annotations = 4;
-
getShotAnnotationsList
public List<VideoSegment> getShotAnnotationsList()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
- Specified by:
getShotAnnotationsList
in interfaceVideoAnnotationResultsOrBuilder
-
getShotAnnotationsCount
public int getShotAnnotationsCount()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
- Specified by:
getShotAnnotationsCount
in interfaceVideoAnnotationResultsOrBuilder
-
getShotAnnotations
public VideoSegment getShotAnnotations(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
- Specified by:
getShotAnnotations
in interfaceVideoAnnotationResultsOrBuilder
-
setShotAnnotations
public VideoAnnotationResults.Builder setShotAnnotations(int index, VideoSegment value)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
setShotAnnotations
public VideoAnnotationResults.Builder setShotAnnotations(int index, VideoSegment.Builder builderForValue)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
addShotAnnotations
public VideoAnnotationResults.Builder addShotAnnotations(VideoSegment value)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
addShotAnnotations
public VideoAnnotationResults.Builder addShotAnnotations(int index, VideoSegment value)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
addShotAnnotations
public VideoAnnotationResults.Builder addShotAnnotations(VideoSegment.Builder builderForValue)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
addShotAnnotations
public VideoAnnotationResults.Builder addShotAnnotations(int index, VideoSegment.Builder builderForValue)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
addAllShotAnnotations
public VideoAnnotationResults.Builder addAllShotAnnotations(Iterable<? extends VideoSegment> values)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
clearShotAnnotations
public VideoAnnotationResults.Builder clearShotAnnotations()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
removeShotAnnotations
public VideoAnnotationResults.Builder removeShotAnnotations(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
getShotAnnotationsBuilder
public VideoSegment.Builder getShotAnnotationsBuilder(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
getShotAnnotationsOrBuilder
public VideoSegmentOrBuilder getShotAnnotationsOrBuilder(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
- Specified by:
getShotAnnotationsOrBuilder
in interfaceVideoAnnotationResultsOrBuilder
-
getShotAnnotationsOrBuilderList
public List<? extends VideoSegmentOrBuilder> getShotAnnotationsOrBuilderList()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
- Specified by:
getShotAnnotationsOrBuilderList
in interfaceVideoAnnotationResultsOrBuilder
-
addShotAnnotationsBuilder
public VideoSegment.Builder addShotAnnotationsBuilder()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
addShotAnnotationsBuilder
public VideoSegment.Builder addShotAnnotationsBuilder(int index)
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
getShotAnnotationsBuilderList
public List<VideoSegment.Builder> getShotAnnotationsBuilderList()
Shot annotations. Each shot is represented as a video segment.
repeated .google.cloud.videointelligence.v1p2beta1.VideoSegment shot_annotations = 6;
-
hasExplicitAnnotation
public boolean hasExplicitAnnotation()
Explicit content annotation.
.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7;
- Specified by:
hasExplicitAnnotation
in interfaceVideoAnnotationResultsOrBuilder
- Returns:
- Whether the explicitAnnotation field is set.
-
getExplicitAnnotation
public ExplicitContentAnnotation getExplicitAnnotation()
Explicit content annotation.
.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7;
- Specified by:
getExplicitAnnotation
in interfaceVideoAnnotationResultsOrBuilder
- Returns:
- The explicitAnnotation.
-
setExplicitAnnotation
public VideoAnnotationResults.Builder setExplicitAnnotation(ExplicitContentAnnotation value)
Explicit content annotation.
.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7;
-
setExplicitAnnotation
public VideoAnnotationResults.Builder setExplicitAnnotation(ExplicitContentAnnotation.Builder builderForValue)
Explicit content annotation.
.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7;
-
mergeExplicitAnnotation
public VideoAnnotationResults.Builder mergeExplicitAnnotation(ExplicitContentAnnotation value)
Explicit content annotation.
.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7;
-
clearExplicitAnnotation
public VideoAnnotationResults.Builder clearExplicitAnnotation()
Explicit content annotation.
.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7;
-
getExplicitAnnotationBuilder
public ExplicitContentAnnotation.Builder getExplicitAnnotationBuilder()
Explicit content annotation.
.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7;
-
getExplicitAnnotationOrBuilder
public ExplicitContentAnnotationOrBuilder getExplicitAnnotationOrBuilder()
Explicit content annotation.
.google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation explicit_annotation = 7;
- Specified by:
getExplicitAnnotationOrBuilder
in interfaceVideoAnnotationResultsOrBuilder
-
getTextAnnotationsList
public List<TextAnnotation> getTextAnnotationsList()
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
- Specified by:
getTextAnnotationsList
in interfaceVideoAnnotationResultsOrBuilder
-
getTextAnnotationsCount
public int getTextAnnotationsCount()
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
- Specified by:
getTextAnnotationsCount
in interfaceVideoAnnotationResultsOrBuilder
-
getTextAnnotations
public TextAnnotation getTextAnnotations(int index)
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
- Specified by:
getTextAnnotations
in interfaceVideoAnnotationResultsOrBuilder
-
setTextAnnotations
public VideoAnnotationResults.Builder setTextAnnotations(int index, TextAnnotation value)
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
setTextAnnotations
public VideoAnnotationResults.Builder setTextAnnotations(int index, TextAnnotation.Builder builderForValue)
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
addTextAnnotations
public VideoAnnotationResults.Builder addTextAnnotations(TextAnnotation value)
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
addTextAnnotations
public VideoAnnotationResults.Builder addTextAnnotations(int index, TextAnnotation value)
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
addTextAnnotations
public VideoAnnotationResults.Builder addTextAnnotations(TextAnnotation.Builder builderForValue)
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
addTextAnnotations
public VideoAnnotationResults.Builder addTextAnnotations(int index, TextAnnotation.Builder builderForValue)
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
addAllTextAnnotations
public VideoAnnotationResults.Builder addAllTextAnnotations(Iterable<? extends TextAnnotation> values)
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
clearTextAnnotations
public VideoAnnotationResults.Builder clearTextAnnotations()
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
removeTextAnnotations
public VideoAnnotationResults.Builder removeTextAnnotations(int index)
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
getTextAnnotationsBuilder
public TextAnnotation.Builder getTextAnnotationsBuilder(int index)
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
getTextAnnotationsOrBuilder
public TextAnnotationOrBuilder getTextAnnotationsOrBuilder(int index)
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
- Specified by:
getTextAnnotationsOrBuilder
in interfaceVideoAnnotationResultsOrBuilder
-
getTextAnnotationsOrBuilderList
public List<? extends TextAnnotationOrBuilder> getTextAnnotationsOrBuilderList()
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
- Specified by:
getTextAnnotationsOrBuilderList
in interfaceVideoAnnotationResultsOrBuilder
-
addTextAnnotationsBuilder
public TextAnnotation.Builder addTextAnnotationsBuilder()
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
addTextAnnotationsBuilder
public TextAnnotation.Builder addTextAnnotationsBuilder(int index)
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
getTextAnnotationsBuilderList
public List<TextAnnotation.Builder> getTextAnnotationsBuilderList()
OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.
repeated .google.cloud.videointelligence.v1p2beta1.TextAnnotation text_annotations = 12;
-
getObjectAnnotationsList
public List<ObjectTrackingAnnotation> getObjectAnnotationsList()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
- Specified by:
getObjectAnnotationsList
in interfaceVideoAnnotationResultsOrBuilder
-
getObjectAnnotationsCount
public int getObjectAnnotationsCount()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
- Specified by:
getObjectAnnotationsCount
in interfaceVideoAnnotationResultsOrBuilder
-
getObjectAnnotations
public ObjectTrackingAnnotation getObjectAnnotations(int index)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
- Specified by:
getObjectAnnotations
in interfaceVideoAnnotationResultsOrBuilder
-
setObjectAnnotations
public VideoAnnotationResults.Builder setObjectAnnotations(int index, ObjectTrackingAnnotation value)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
setObjectAnnotations
public VideoAnnotationResults.Builder setObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
addObjectAnnotations
public VideoAnnotationResults.Builder addObjectAnnotations(ObjectTrackingAnnotation value)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
addObjectAnnotations
public VideoAnnotationResults.Builder addObjectAnnotations(int index, ObjectTrackingAnnotation value)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
addObjectAnnotations
public VideoAnnotationResults.Builder addObjectAnnotations(ObjectTrackingAnnotation.Builder builderForValue)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
addObjectAnnotations
public VideoAnnotationResults.Builder addObjectAnnotations(int index, ObjectTrackingAnnotation.Builder builderForValue)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
addAllObjectAnnotations
public VideoAnnotationResults.Builder addAllObjectAnnotations(Iterable<? extends ObjectTrackingAnnotation> values)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
clearObjectAnnotations
public VideoAnnotationResults.Builder clearObjectAnnotations()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
removeObjectAnnotations
public VideoAnnotationResults.Builder removeObjectAnnotations(int index)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
getObjectAnnotationsBuilder
public ObjectTrackingAnnotation.Builder getObjectAnnotationsBuilder(int index)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
getObjectAnnotationsOrBuilder
public ObjectTrackingAnnotationOrBuilder getObjectAnnotationsOrBuilder(int index)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
- Specified by:
getObjectAnnotationsOrBuilder
in interfaceVideoAnnotationResultsOrBuilder
-
getObjectAnnotationsOrBuilderList
public List<? extends ObjectTrackingAnnotationOrBuilder> getObjectAnnotationsOrBuilderList()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
- Specified by:
getObjectAnnotationsOrBuilderList
in interfaceVideoAnnotationResultsOrBuilder
-
addObjectAnnotationsBuilder
public ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
addObjectAnnotationsBuilder
public ObjectTrackingAnnotation.Builder addObjectAnnotationsBuilder(int index)
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
getObjectAnnotationsBuilderList
public List<ObjectTrackingAnnotation.Builder> getObjectAnnotationsBuilderList()
Annotations for list of objects detected and tracked in video.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation object_annotations = 14;
-
hasError
public boolean hasError()
If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail.
.google.rpc.Status error = 9;
- Specified by:
hasError
in interfaceVideoAnnotationResultsOrBuilder
- Returns:
- Whether the error field is set.
-
getError
public com.google.rpc.Status getError()
If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail.
.google.rpc.Status error = 9;
- Specified by:
getError
in interfaceVideoAnnotationResultsOrBuilder
- Returns:
- The error.
-
setError
public VideoAnnotationResults.Builder setError(com.google.rpc.Status value)
If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail.
.google.rpc.Status error = 9;
-
setError
public VideoAnnotationResults.Builder setError(com.google.rpc.Status.Builder builderForValue)
If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail.
.google.rpc.Status error = 9;
-
mergeError
public VideoAnnotationResults.Builder mergeError(com.google.rpc.Status value)
If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail.
.google.rpc.Status error = 9;
-
clearError
public VideoAnnotationResults.Builder clearError()
If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail.
.google.rpc.Status error = 9;
-
getErrorBuilder
public com.google.rpc.Status.Builder getErrorBuilder()
If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail.
.google.rpc.Status error = 9;
-
getErrorOrBuilder
public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
If set, indicates an error. Note that for a single `AnnotateVideoRequest` some videos may succeed and some may fail.
.google.rpc.Status error = 9;
- Specified by:
getErrorOrBuilder
in interfaceVideoAnnotationResultsOrBuilder
-
setUnknownFields
public final VideoAnnotationResults.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoAnnotationResults.Builder>
-
mergeUnknownFields
public final VideoAnnotationResults.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoAnnotationResults.Builder>
-
-