public final class ObjectTrackingAnnotation extends com.google.protobuf.GeneratedMessageV3 implements ObjectTrackingAnnotationOrBuilder
Annotations corresponding to one tracked object.Protobuf type
google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectTrackingAnnotation.Builder
Annotations corresponding to one tracked object.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIDENCE_FIELD_NUMBER |
static int |
ENTITY_FIELD_NUMBER |
static int |
FRAMES_FIELD_NUMBER |
static int |
SEGMENT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
float |
getConfidence()
Object category's labeling confidence of this track.
|
static ObjectTrackingAnnotation |
getDefaultInstance() |
ObjectTrackingAnnotation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Entity |
getEntity()
Entity to specify the object category that this track is labeled as.
|
EntityOrBuilder |
getEntityOrBuilder()
Entity to specify the object category that this track is labeled as.
|
ObjectTrackingFrame |
getFrames(int index)
Information corresponding to all frames where this object track appears.
|
int |
getFramesCount()
Information corresponding to all frames where this object track appears.
|
List<ObjectTrackingFrame> |
getFramesList()
Information corresponding to all frames where this object track appears.
|
ObjectTrackingFrameOrBuilder |
getFramesOrBuilder(int index)
Information corresponding to all frames where this object track appears.
|
List<? extends ObjectTrackingFrameOrBuilder> |
getFramesOrBuilderList()
Information corresponding to all frames where this object track appears.
|
com.google.protobuf.Parser<ObjectTrackingAnnotation> |
getParserForType() |
VideoSegment |
getSegment()
Each object track corresponds to one video segment where it appears.
|
VideoSegmentOrBuilder |
getSegmentOrBuilder()
Each object track corresponds to one video segment where it appears.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEntity()
Entity to specify the object category that this track is labeled as.
|
int |
hashCode() |
boolean |
hasSegment()
Each object track corresponds to one video segment where it appears.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ObjectTrackingAnnotation.Builder |
newBuilder() |
static ObjectTrackingAnnotation.Builder |
newBuilder(ObjectTrackingAnnotation prototype) |
ObjectTrackingAnnotation.Builder |
newBuilderForType() |
protected ObjectTrackingAnnotation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ObjectTrackingAnnotation |
parseDelimitedFrom(InputStream input) |
static ObjectTrackingAnnotation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ObjectTrackingAnnotation |
parseFrom(byte[] data) |
static ObjectTrackingAnnotation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ObjectTrackingAnnotation |
parseFrom(ByteBuffer data) |
static ObjectTrackingAnnotation |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ObjectTrackingAnnotation |
parseFrom(com.google.protobuf.ByteString data) |
static ObjectTrackingAnnotation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ObjectTrackingAnnotation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ObjectTrackingAnnotation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ObjectTrackingAnnotation |
parseFrom(InputStream input) |
static ObjectTrackingAnnotation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ObjectTrackingAnnotation> |
parser() |
ObjectTrackingAnnotation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENTITY_FIELD_NUMBER
public static final int CONFIDENCE_FIELD_NUMBER
public static final int FRAMES_FIELD_NUMBER
public static final int SEGMENT_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasEntity()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;hasEntity in interface ObjectTrackingAnnotationOrBuilderpublic Entity getEntity()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;getEntity in interface ObjectTrackingAnnotationOrBuilderpublic EntityOrBuilder getEntityOrBuilder()
Entity to specify the object category that this track is labeled as.
.google.cloud.videointelligence.v1p2beta1.Entity entity = 1;getEntityOrBuilder in interface ObjectTrackingAnnotationOrBuilderpublic float getConfidence()
Object category's labeling confidence of this track.
float confidence = 4;getConfidence in interface ObjectTrackingAnnotationOrBuilderpublic List<ObjectTrackingFrame> getFramesList()
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;getFramesList in interface ObjectTrackingAnnotationOrBuilderpublic List<? extends ObjectTrackingFrameOrBuilder> getFramesOrBuilderList()
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;getFramesOrBuilderList in interface ObjectTrackingAnnotationOrBuilderpublic int getFramesCount()
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;getFramesCount in interface ObjectTrackingAnnotationOrBuilderpublic ObjectTrackingFrame getFrames(int index)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;getFrames in interface ObjectTrackingAnnotationOrBuilderpublic ObjectTrackingFrameOrBuilder getFramesOrBuilder(int index)
Information corresponding to all frames where this object track appears.
repeated .google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame frames = 2;getFramesOrBuilder in interface ObjectTrackingAnnotationOrBuilderpublic boolean hasSegment()
Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;hasSegment in interface ObjectTrackingAnnotationOrBuilderpublic VideoSegment getSegment()
Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;getSegment in interface ObjectTrackingAnnotationOrBuilderpublic VideoSegmentOrBuilder getSegmentOrBuilder()
Each object track corresponds to one video segment where it appears.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;getSegmentOrBuilder in interface ObjectTrackingAnnotationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ObjectTrackingAnnotation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ObjectTrackingAnnotation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ObjectTrackingAnnotation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ObjectTrackingAnnotation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ObjectTrackingAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ObjectTrackingAnnotation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ObjectTrackingAnnotation parseFrom(InputStream input) throws IOException
IOExceptionpublic static ObjectTrackingAnnotation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ObjectTrackingAnnotation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ObjectTrackingAnnotation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ObjectTrackingAnnotation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ObjectTrackingAnnotation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ObjectTrackingAnnotation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ObjectTrackingAnnotation.Builder newBuilder()
public static ObjectTrackingAnnotation.Builder newBuilder(ObjectTrackingAnnotation prototype)
public ObjectTrackingAnnotation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ObjectTrackingAnnotation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ObjectTrackingAnnotation getDefaultInstance()
public static com.google.protobuf.Parser<ObjectTrackingAnnotation> parser()
public com.google.protobuf.Parser<ObjectTrackingAnnotation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ObjectTrackingAnnotation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 Google LLC. All rights reserved.