public final class LabelAnnotation extends GeneratedMessageV3 implements LabelAnnotationOrBuilder
Label annotation.Protobuf type
google.cloud.videointelligence.v1p1beta1.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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public boolean hasEntity()
Detected entity.
.google.cloud.videointelligence.v1p1beta1.Entity entity = 1;
hasEntity
in interface LabelAnnotationOrBuilder
public Entity getEntity()
Detected entity.
.google.cloud.videointelligence.v1p1beta1.Entity entity = 1;
getEntity
in interface LabelAnnotationOrBuilder
public EntityOrBuilder getEntityOrBuilder()
Detected entity.
.google.cloud.videointelligence.v1p1beta1.Entity entity = 1;
getEntityOrBuilder
in interface LabelAnnotationOrBuilder
public 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.v1p1beta1.Entity category_entities = 2;
getCategoryEntitiesList
in interface LabelAnnotationOrBuilder
public 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.v1p1beta1.Entity category_entities = 2;
getCategoryEntitiesOrBuilderList
in interface LabelAnnotationOrBuilder
public 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 LabelAnnotationOrBuilder
public 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 LabelAnnotationOrBuilder
public 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 LabelAnnotationOrBuilder
public java.util.List<LabelSegment> getSegmentsList()
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3;
getSegmentsList
in interface LabelAnnotationOrBuilder
public java.util.List<? extends LabelSegmentOrBuilder> getSegmentsOrBuilderList()
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3;
getSegmentsOrBuilderList
in interface LabelAnnotationOrBuilder
public int getSegmentsCount()
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3;
getSegmentsCount
in interface LabelAnnotationOrBuilder
public LabelSegment getSegments(int index)
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3;
getSegments
in interface LabelAnnotationOrBuilder
public LabelSegmentOrBuilder getSegmentsOrBuilder(int index)
All video segments where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelSegment segments = 3;
getSegmentsOrBuilder
in interface LabelAnnotationOrBuilder
public java.util.List<LabelFrame> getFramesList()
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4;
getFramesList
in interface LabelAnnotationOrBuilder
public java.util.List<? extends LabelFrameOrBuilder> getFramesOrBuilderList()
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4;
getFramesOrBuilderList
in interface LabelAnnotationOrBuilder
public int getFramesCount()
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4;
getFramesCount
in interface LabelAnnotationOrBuilder
public LabelFrame getFrames(int index)
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4;
getFrames
in interface LabelAnnotationOrBuilder
public LabelFrameOrBuilder getFramesOrBuilder(int index)
All video frames where a label was detected.
repeated .google.cloud.videointelligence.v1p1beta1.LabelFrame frames = 4;
getFramesOrBuilder
in interface LabelAnnotationOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static LabelAnnotation parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static LabelAnnotation parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static LabelAnnotation parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static LabelAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static LabelAnnotation parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static LabelAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static LabelAnnotation parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LabelAnnotation parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LabelAnnotation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LabelAnnotation parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LabelAnnotation parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static LabelAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public LabelAnnotation.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static LabelAnnotation.Builder newBuilder()
public static LabelAnnotation.Builder newBuilder(LabelAnnotation prototype)
public LabelAnnotation.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected LabelAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static LabelAnnotation getDefaultInstance()
public static Parser<LabelAnnotation> parser()
public Parser<LabelAnnotation> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public LabelAnnotation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder