public final class LabelAnnotation extends GeneratedMessageV3 implements LabelAnnotationOrBuilder
Label annotation.Protobuf type
google.cloud.videointelligence.v1beta2.LabelAnnotation| Modifier and Type | Class and Description |
|---|---|
static class |
LabelAnnotation.Builder
Label annotation.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, 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 |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Entity |
getCategoryEntities(int index)
Common categories for the detected entity.
|
int |
getCategoryEntitiesCount()
Common categories for the detected entity.
|
java.util.List<Entity> |
getCategoryEntitiesList()
Common categories for the detected entity.
|
EntityOrBuilder |
getCategoryEntitiesOrBuilder(int index)
Common categories for the detected entity.
|
java.util.List<? extends EntityOrBuilder> |
getCategoryEntitiesOrBuilderList()
Common categories for the detected entity.
|
static LabelAnnotation |
getDefaultInstance() |
LabelAnnotation |
getDefaultInstanceForType() |
static 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.
|
java.util.List<LabelFrame> |
getFramesList()
All video frames where a label was detected.
|
LabelFrameOrBuilder |
getFramesOrBuilder(int index)
All video frames where a label was detected.
|
java.util.List<? extends LabelFrameOrBuilder> |
getFramesOrBuilderList()
All video frames where a label was detected.
|
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.
|
java.util.List<LabelSegment> |
getSegmentsList()
All video segments where a label was detected.
|
LabelSegmentOrBuilder |
getSegmentsOrBuilder(int index)
All video segments where a label was detected.
|
java.util.List<? extends LabelSegmentOrBuilder> |
getSegmentsOrBuilderList()
All video segments where a label was detected.
|
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
boolean |
hasEntity()
Detected entity.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LabelAnnotation.Builder |
newBuilder() |
static LabelAnnotation.Builder |
newBuilder(LabelAnnotation prototype) |
LabelAnnotation.Builder |
newBuilderForType() |
protected LabelAnnotation.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static LabelAnnotation |
parseDelimitedFrom(java.io.InputStream input) |
static LabelAnnotation |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static LabelAnnotation |
parseFrom(byte[] data) |
static LabelAnnotation |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static LabelAnnotation |
parseFrom(java.nio.ByteBuffer data) |
static LabelAnnotation |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static LabelAnnotation |
parseFrom(ByteString data) |
static LabelAnnotation |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static LabelAnnotation |
parseFrom(CodedInputStream input) |
static LabelAnnotation |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static LabelAnnotation |
parseFrom(java.io.InputStream input) |
static LabelAnnotation |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<LabelAnnotation> |
parser() |
LabelAnnotation.Builder |
toBuilder() |
void |
writeTo(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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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 UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public boolean hasEntity()
Detected entity.
.google.cloud.videointelligence.v1beta2.Entity entity = 1;hasEntity in interface LabelAnnotationOrBuilderpublic Entity getEntity()
Detected entity.
.google.cloud.videointelligence.v1beta2.Entity entity = 1;getEntity in interface LabelAnnotationOrBuilderpublic EntityOrBuilder getEntityOrBuilder()
Detected entity.
.google.cloud.videointelligence.v1beta2.Entity entity = 1;getEntityOrBuilder in interface LabelAnnotationOrBuilderpublic java.util.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.v1beta2.Entity category_entities = 2;getCategoryEntitiesList in interface LabelAnnotationOrBuilderpublic java.util.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.v1beta2.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.v1beta2.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.v1beta2.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.v1beta2.Entity category_entities = 2;getCategoryEntitiesOrBuilder in interface LabelAnnotationOrBuilderpublic java.util.List<LabelSegment> getSegmentsList()
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3;getSegmentsList in interface LabelAnnotationOrBuilderpublic java.util.List<? extends LabelSegmentOrBuilder> getSegmentsOrBuilderList()
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3;getSegmentsOrBuilderList in interface LabelAnnotationOrBuilderpublic int getSegmentsCount()
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3;getSegmentsCount in interface LabelAnnotationOrBuilderpublic LabelSegment getSegments(int index)
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3;getSegments in interface LabelAnnotationOrBuilderpublic LabelSegmentOrBuilder getSegmentsOrBuilder(int index)
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1beta2.LabelSegment segments = 3;getSegmentsOrBuilder in interface LabelAnnotationOrBuilderpublic java.util.List<LabelFrame> getFramesList()
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4;getFramesList in interface LabelAnnotationOrBuilderpublic java.util.List<? extends LabelFrameOrBuilder> getFramesOrBuilderList()
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4;getFramesOrBuilderList in interface LabelAnnotationOrBuilderpublic int getFramesCount()
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4;getFramesCount in interface LabelAnnotationOrBuilderpublic LabelFrame getFrames(int index)
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4;getFrames in interface LabelAnnotationOrBuilderpublic LabelFrameOrBuilder getFramesOrBuilder(int index)
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1beta2.LabelFrame frames = 4;getFramesOrBuilder in interface LabelAnnotationOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static LabelAnnotation parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LabelAnnotation parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LabelAnnotation parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LabelAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LabelAnnotation parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LabelAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LabelAnnotation parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LabelAnnotation parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LabelAnnotation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LabelAnnotation parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LabelAnnotation parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LabelAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LabelAnnotation.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static LabelAnnotation.Builder newBuilder()
public static LabelAnnotation.Builder newBuilder(LabelAnnotation prototype)
public LabelAnnotation.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected LabelAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static LabelAnnotation getDefaultInstance()
public static Parser<LabelAnnotation> parser()
public Parser<LabelAnnotation> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public LabelAnnotation getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder