Class VideoAnnotationResults
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults
-
- All Implemented Interfaces:
VideoAnnotationResultsOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class VideoAnnotationResults extends com.google.protobuf.GeneratedMessageV3 implements VideoAnnotationResultsOrBuilder
Annotation results for a single video.
Protobuf typegoogle.cloud.videointelligence.v1p2beta1.VideoAnnotationResults
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VideoAnnotationResults.Builder
Annotation results for a single video.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ERROR_FIELD_NUMBER
static int
EXPLICIT_ANNOTATION_FIELD_NUMBER
static int
FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER
static int
INPUT_URI_FIELD_NUMBER
static int
OBJECT_ANNOTATIONS_FIELD_NUMBER
static int
SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER
static int
SHOT_ANNOTATIONS_FIELD_NUMBER
static int
SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER
static int
TEXT_ANNOTATIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static VideoAnnotationResults
getDefaultInstance()
VideoAnnotationResults
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.rpc.Status
getError()
If set, indicates an error.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
If set, indicates an error.ExplicitContentAnnotation
getExplicitAnnotation()
Explicit content annotation.ExplicitContentAnnotationOrBuilder
getExplicitAnnotationOrBuilder()
Explicit content annotation.LabelAnnotation
getFrameLabelAnnotations(int index)
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.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.com.google.protobuf.Parser<VideoAnnotationResults>
getParserForType()
LabelAnnotation
getSegmentLabelAnnotations(int index)
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.int
getSerializedSize()
VideoSegment
getShotAnnotations(int index)
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.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.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.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static VideoAnnotationResults.Builder
newBuilder()
static VideoAnnotationResults.Builder
newBuilder(VideoAnnotationResults prototype)
VideoAnnotationResults.Builder
newBuilderForType()
protected VideoAnnotationResults.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static VideoAnnotationResults
parseDelimitedFrom(InputStream input)
static VideoAnnotationResults
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VideoAnnotationResults
parseFrom(byte[] data)
static VideoAnnotationResults
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VideoAnnotationResults
parseFrom(com.google.protobuf.ByteString data)
static VideoAnnotationResults
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VideoAnnotationResults
parseFrom(com.google.protobuf.CodedInputStream input)
static VideoAnnotationResults
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VideoAnnotationResults
parseFrom(InputStream input)
static VideoAnnotationResults
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static VideoAnnotationResults
parseFrom(ByteBuffer data)
static VideoAnnotationResults
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<VideoAnnotationResults>
parser()
VideoAnnotationResults.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
INPUT_URI_FIELD_NUMBER
public static final int INPUT_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int SEGMENT_LABEL_ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int SHOT_LABEL_ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int FRAME_LABEL_ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHOT_ANNOTATIONS_FIELD_NUMBER
public static final int SHOT_ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPLICIT_ANNOTATION_FIELD_NUMBER
public static final int EXPLICIT_ANNOTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_ANNOTATIONS_FIELD_NUMBER
public static final int TEXT_ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OBJECT_ANNOTATIONS_FIELD_NUMBER
public static final int OBJECT_ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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.
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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.
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static VideoAnnotationResults parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoAnnotationResults parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoAnnotationResults parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoAnnotationResults parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoAnnotationResults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoAnnotationResults parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VideoAnnotationResults parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static VideoAnnotationResults parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static VideoAnnotationResults parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static VideoAnnotationResults parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static VideoAnnotationResults parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static VideoAnnotationResults parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public VideoAnnotationResults.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static VideoAnnotationResults.Builder newBuilder()
-
newBuilder
public static VideoAnnotationResults.Builder newBuilder(VideoAnnotationResults prototype)
-
toBuilder
public VideoAnnotationResults.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VideoAnnotationResults.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static VideoAnnotationResults getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<VideoAnnotationResults> parser()
-
getParserForType
public com.google.protobuf.Parser<VideoAnnotationResults> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public VideoAnnotationResults getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-