public final class LogoRecognitionAnnotation extends GeneratedMessageV3 implements LogoRecognitionAnnotationOrBuilder
Annotation corresponding to one detected, tracked and recognized logo class.
Protobuf type google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation
Static Fields
ENTITY_FIELD_NUMBER
public static final int ENTITY_FIELD_NUMBER
Field Value
SEGMENTS_FIELD_NUMBER
public static final int SEGMENTS_FIELD_NUMBER
Field Value
TRACKS_FIELD_NUMBER
public static final int TRACKS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static LogoRecognitionAnnotation getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static LogoRecognitionAnnotation.Builder newBuilder()
Returns
newBuilder(LogoRecognitionAnnotation prototype)
public static LogoRecognitionAnnotation.Builder newBuilder(LogoRecognitionAnnotation prototype)
Parameter
Returns
public static LogoRecognitionAnnotation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static LogoRecognitionAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static LogoRecognitionAnnotation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LogoRecognitionAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static LogoRecognitionAnnotation parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LogoRecognitionAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LogoRecognitionAnnotation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static LogoRecognitionAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LogoRecognitionAnnotation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static LogoRecognitionAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static LogoRecognitionAnnotation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LogoRecognitionAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<LogoRecognitionAnnotation> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public LogoRecognitionAnnotation getDefaultInstanceForType()
Returns
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.v1p3beta1.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.v1p3beta1.Entity entity = 1;
Returns
getParserForType()
public Parser<LogoRecognitionAnnotation> getParserForType()
Returns
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.v1p3beta1.VideoSegment segments = 3;
Parameter
Returns
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.v1p3beta1.VideoSegment segments = 3;
Returns
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.v1p3beta1.VideoSegment segments = 3;
Returns
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.v1p3beta1.VideoSegment segments = 3;
Parameter
Returns
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.v1p3beta1.VideoSegment segments = 3;
Returns
Type | Description |
List<? extends com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns
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.v1p3beta1.Track tracks = 2;
Parameter
Returns
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.v1p3beta1.Track tracks = 2;
Returns
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.v1p3beta1.Track tracks = 2;
Returns
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.v1p3beta1.Track tracks = 2;
Parameter
Returns
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.v1p3beta1.Track tracks = 2;
Returns
Type | Description |
List<? extends com.google.cloud.videointelligence.v1p3beta1.TrackOrBuilder> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.v1p3beta1.Entity entity = 1;
Returns
Type | Description |
boolean | Whether the entity field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public LogoRecognitionAnnotation.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LogoRecognitionAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public LogoRecognitionAnnotation.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions