public final class LogoRecognitionAnnotation extends GeneratedMessageV3 implements LogoRecognitionAnnotationOrBuilder
Annotation corresponding to one detected, tracked and recognized logo class.
Protobuf type google.cloud.videointelligence.v1.LogoRecognitionAnnotation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
ENTITY_FIELD_NUMBER
public static final int ENTITY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SEGMENTS_FIELD_NUMBER
public static final int SEGMENTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TRACKS_FIELD_NUMBER
public static final int TRACKS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static LogoRecognitionAnnotation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LogoRecognitionAnnotation.Builder newBuilder()
newBuilder(LogoRecognitionAnnotation prototype)
public static LogoRecognitionAnnotation.Builder newBuilder(LogoRecognitionAnnotation prototype)
public static LogoRecognitionAnnotation parseDelimitedFrom(InputStream input)
public static LogoRecognitionAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LogoRecognitionAnnotation parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LogoRecognitionAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LogoRecognitionAnnotation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LogoRecognitionAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LogoRecognitionAnnotation parseFrom(CodedInputStream input)
public static LogoRecognitionAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LogoRecognitionAnnotation parseFrom(InputStream input)
public static LogoRecognitionAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LogoRecognitionAnnotation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LogoRecognitionAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LogoRecognitionAnnotation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public LogoRecognitionAnnotation getDefaultInstanceForType()
getEntity()
public Entity getEntity()
Entity category information to specify the logo class that all the logo
tracks within this LogoRecognitionAnnotation are recognized as.
.google.cloud.videointelligence.v1.Entity entity = 1;
Returns |
---|
Type | Description |
Entity | The entity.
|
getEntityOrBuilder()
public EntityOrBuilder getEntityOrBuilder()
Entity category information to specify the logo class that all the logo
tracks within this LogoRecognitionAnnotation are recognized as.
.google.cloud.videointelligence.v1.Entity entity = 1;
getParserForType()
public Parser<LogoRecognitionAnnotation> getParserForType()
Overrides
getSegments(int index)
public VideoSegment getSegments(int index)
All video segments where the recognized logo appears. There might be
multiple instances of the same logo class appearing in one VideoSegment.
repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
Parameter |
---|
Name | Description |
index | int
|
getSegmentsCount()
public int getSegmentsCount()
All video segments where the recognized logo appears. There might be
multiple instances of the same logo class appearing in one VideoSegment.
repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
Returns |
---|
Type | Description |
int | |
getSegmentsList()
public List<VideoSegment> getSegmentsList()
All video segments where the recognized logo appears. There might be
multiple instances of the same logo class appearing in one VideoSegment.
repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
getSegmentsOrBuilder(int index)
public VideoSegmentOrBuilder getSegmentsOrBuilder(int index)
All video segments where the recognized logo appears. There might be
multiple instances of the same logo class appearing in one VideoSegment.
repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
Parameter |
---|
Name | Description |
index | int
|
getSegmentsOrBuilderList()
public List<? extends VideoSegmentOrBuilder> getSegmentsOrBuilderList()
All video segments where the recognized logo appears. There might be
multiple instances of the same logo class appearing in one VideoSegment.
repeated .google.cloud.videointelligence.v1.VideoSegment segments = 3;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getTracks(int index)
public Track getTracks(int index)
All logo tracks where the recognized logo appears. Each track corresponds
to one logo instance appearing in consecutive frames.
repeated .google.cloud.videointelligence.v1.Track tracks = 2;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Track | |
getTracksCount()
public int getTracksCount()
All logo tracks where the recognized logo appears. Each track corresponds
to one logo instance appearing in consecutive frames.
repeated .google.cloud.videointelligence.v1.Track tracks = 2;
Returns |
---|
Type | Description |
int | |
getTracksList()
public List<Track> getTracksList()
All logo tracks where the recognized logo appears. Each track corresponds
to one logo instance appearing in consecutive frames.
repeated .google.cloud.videointelligence.v1.Track tracks = 2;
getTracksOrBuilder(int index)
public TrackOrBuilder getTracksOrBuilder(int index)
All logo tracks where the recognized logo appears. Each track corresponds
to one logo instance appearing in consecutive frames.
repeated .google.cloud.videointelligence.v1.Track tracks = 2;
Parameter |
---|
Name | Description |
index | int
|
getTracksOrBuilderList()
public List<? extends TrackOrBuilder> getTracksOrBuilderList()
All logo tracks where the recognized logo appears. Each track corresponds
to one logo instance appearing in consecutive frames.
repeated .google.cloud.videointelligence.v1.Track tracks = 2;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.TrackOrBuilder> | |
hasEntity()
public boolean hasEntity()
Entity category information to specify the logo class that all the logo
tracks within this LogoRecognitionAnnotation are recognized as.
.google.cloud.videointelligence.v1.Entity entity = 1;
Returns |
---|
Type | Description |
boolean | Whether the entity field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LogoRecognitionAnnotation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LogoRecognitionAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public LogoRecognitionAnnotation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides