public final class LabelAnnotation extends com.google.protobuf.GeneratedMessageV3 implements LabelAnnotationOrBuilder
Label annotation.Protobuf type
google.cloud.videointelligence.v1p1beta1.LabelAnnotation| Modifier and Type | Class and Description |
|---|---|
static class |
LabelAnnotation.Builder
Label annotation.
|
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 |
CATEGORY_ENTITIES_FIELD_NUMBER |
static int |
ENTITY_FIELD_NUMBER |
static int |
FRAMES_FIELD_NUMBER |
static int |
SEGMENTS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Entity |
getCategoryEntities(int index)
Common categories for the detected entity.
|
int |
getCategoryEntitiesCount()
Common categories for the detected entity.
|
List<Entity> |
getCategoryEntitiesList()
Common categories for the detected entity.
|
EntityOrBuilder |
getCategoryEntitiesOrBuilder(int index)
Common categories for the detected entity.
|
List<? extends EntityOrBuilder> |
getCategoryEntitiesOrBuilderList()
Common categories for the detected entity.
|
static LabelAnnotation |
getDefaultInstance() |
LabelAnnotation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Entity |
getEntity()
Detected entity.
|
EntityOrBuilder |
getEntityOrBuilder()
Detected entity.
|
LabelFrame |
getFrames(int index)
All video frames where a label was detected.
|
int |
getFramesCount()
All video frames where a label was detected.
|
List<LabelFrame> |
getFramesList()
All video frames where a label was detected.
|
LabelFrameOrBuilder |
getFramesOrBuilder(int index)
All video frames where a label was detected.
|
List<? extends LabelFrameOrBuilder> |
getFramesOrBuilderList()
All video frames where a label was detected.
|
com.google.protobuf.Parser<LabelAnnotation> |
getParserForType() |
LabelSegment |
getSegments(int index)
All video segments where a label was detected.
|
int |
getSegmentsCount()
All video segments where a label was detected.
|
List<LabelSegment> |
getSegmentsList()
All video segments where a label was detected.
|
LabelSegmentOrBuilder |
getSegmentsOrBuilder(int index)
All video segments where a label was detected.
|
List<? extends LabelSegmentOrBuilder> |
getSegmentsOrBuilderList()
All video segments where a label was detected.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEntity()
Detected entity.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LabelAnnotation.Builder |
newBuilder() |
static LabelAnnotation.Builder |
newBuilder(LabelAnnotation prototype) |
LabelAnnotation.Builder |
newBuilderForType() |
protected LabelAnnotation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static LabelAnnotation |
parseDelimitedFrom(InputStream input) |
static LabelAnnotation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LabelAnnotation |
parseFrom(byte[] data) |
static LabelAnnotation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LabelAnnotation |
parseFrom(ByteBuffer data) |
static LabelAnnotation |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LabelAnnotation |
parseFrom(com.google.protobuf.ByteString data) |
static LabelAnnotation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LabelAnnotation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LabelAnnotation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LabelAnnotation |
parseFrom(InputStream input) |
static LabelAnnotation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LabelAnnotation> |
parser() |
LabelAnnotation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, 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 CATEGORY_ENTITIES_FIELD_NUMBER
public static final int SEGMENTS_FIELD_NUMBER
public static final int FRAMES_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()
Detected entity.
.google.cloud.videointelligence.v1p1beta1.Entity entity = 1;hasEntity in interface LabelAnnotationOrBuilderpublic Entity getEntity()
Detected entity.
.google.cloud.videointelligence.v1p1beta1.Entity entity = 1;getEntity in interface LabelAnnotationOrBuilderpublic EntityOrBuilder getEntityOrBuilder()
Detected entity.
.google.cloud.videointelligence.v1p1beta1.Entity entity = 1;getEntityOrBuilder in interface LabelAnnotationOrBuilderpublic List<Entity> getCategoryEntitiesList()
Common categories for the detected entity. E.g. when the label is `Terrier` the category is likely `dog`. And in some cases there might be more than one categories e.g. `Terrier` could also be a `pet`.
repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;getCategoryEntitiesList in interface LabelAnnotationOrBuilderpublic List<? extends EntityOrBuilder> getCategoryEntitiesOrBuilderList()
Common categories for the detected entity. E.g. when the label is `Terrier` the category is likely `dog`. And in some cases there might be more than one categories e.g. `Terrier` could also be a `pet`.
repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;getCategoryEntitiesOrBuilderList in interface LabelAnnotationOrBuilderpublic int getCategoryEntitiesCount()
Common categories for the detected entity. E.g. when the label is `Terrier` the category is likely `dog`. And in some cases there might be more than one categories e.g. `Terrier` could also be a `pet`.
repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;getCategoryEntitiesCount in interface LabelAnnotationOrBuilderpublic Entity getCategoryEntities(int index)
Common categories for the detected entity. E.g. when the label is `Terrier` the category is likely `dog`. And in some cases there might be more than one categories e.g. `Terrier` could also be a `pet`.
repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;getCategoryEntities in interface LabelAnnotationOrBuilderpublic EntityOrBuilder getCategoryEntitiesOrBuilder(int index)
Common categories for the detected entity. E.g. when the label is `Terrier` the category is likely `dog`. And in some cases there might be more than one categories e.g. `Terrier` could also be a `pet`.
repeated .google.cloud.videointelligence.v1p1beta1.Entity category_entities = 2;getCategoryEntitiesOrBuilder in interface LabelAnnotationOrBuilderpublic List<LabelSegment> getSegmentsList()
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3;getSegmentsList in interface LabelAnnotationOrBuilderpublic List<? extends LabelSegmentOrBuilder> getSegmentsOrBuilderList()
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3;getSegmentsOrBuilderList in interface LabelAnnotationOrBuilderpublic int getSegmentsCount()
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3;getSegmentsCount in interface LabelAnnotationOrBuilderpublic LabelSegment getSegments(int index)
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3;getSegments in interface LabelAnnotationOrBuilderpublic LabelSegmentOrBuilder getSegmentsOrBuilder(int index)
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3;getSegmentsOrBuilder in interface LabelAnnotationOrBuilderpublic List<LabelFrame> getFramesList()
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4;getFramesList in interface LabelAnnotationOrBuilderpublic List<? extends LabelFrameOrBuilder> getFramesOrBuilderList()
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4;getFramesOrBuilderList in interface LabelAnnotationOrBuilderpublic int getFramesCount()
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4;getFramesCount in interface LabelAnnotationOrBuilderpublic LabelFrame getFrames(int index)
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4;getFrames in interface LabelAnnotationOrBuilderpublic LabelFrameOrBuilder getFramesOrBuilder(int index)
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4;getFramesOrBuilder in interface LabelAnnotationOrBuilderpublic 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 LabelAnnotation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelAnnotation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelAnnotation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelAnnotation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelAnnotation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelAnnotation parseFrom(InputStream input) throws IOException
IOExceptionpublic static LabelAnnotation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LabelAnnotation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static LabelAnnotation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LabelAnnotation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static LabelAnnotation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic LabelAnnotation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LabelAnnotation.Builder newBuilder()
public static LabelAnnotation.Builder newBuilder(LabelAnnotation prototype)
public LabelAnnotation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LabelAnnotation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LabelAnnotation getDefaultInstance()
public static com.google.protobuf.Parser<LabelAnnotation> parser()
public com.google.protobuf.Parser<LabelAnnotation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LabelAnnotation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.