public static final class LogoRecognitionAnnotation.Builder extends GeneratedMessageV3.Builder<LogoRecognitionAnnotation.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllSegments(Iterable<? extends VideoSegment> values)
public LogoRecognitionAnnotation.Builder addAllSegments(Iterable<? extends VideoSegment> values)
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 |
values | Iterable<? extends com.google.cloud.videointelligence.v1.VideoSegment>
|
addAllTracks(Iterable<? extends Track> values)
public LogoRecognitionAnnotation.Builder addAllTracks(Iterable<? extends Track> values)
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 |
values | Iterable<? extends com.google.cloud.videointelligence.v1.Track>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LogoRecognitionAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSegments(VideoSegment value)
public LogoRecognitionAnnotation.Builder addSegments(VideoSegment value)
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;
addSegments(VideoSegment.Builder builderForValue)
public LogoRecognitionAnnotation.Builder addSegments(VideoSegment.Builder builderForValue)
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;
addSegments(int index, VideoSegment value)
public LogoRecognitionAnnotation.Builder addSegments(int index, VideoSegment value)
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;
addSegments(int index, VideoSegment.Builder builderForValue)
public LogoRecognitionAnnotation.Builder addSegments(int index, VideoSegment.Builder builderForValue)
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;
addSegmentsBuilder()
public VideoSegment.Builder addSegmentsBuilder()
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;
addSegmentsBuilder(int index)
public VideoSegment.Builder addSegmentsBuilder(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
|
addTracks(Track value)
public LogoRecognitionAnnotation.Builder addTracks(Track value)
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 |
value | Track
|
addTracks(Track.Builder builderForValue)
public LogoRecognitionAnnotation.Builder addTracks(Track.Builder builderForValue)
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;
addTracks(int index, Track value)
public LogoRecognitionAnnotation.Builder addTracks(int index, Track value)
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;
Parameters |
---|
Name | Description |
index | int
|
value | Track
|
addTracks(int index, Track.Builder builderForValue)
public LogoRecognitionAnnotation.Builder addTracks(int index, Track.Builder builderForValue)
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;
addTracksBuilder()
public Track.Builder addTracksBuilder()
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;
addTracksBuilder(int index)
public Track.Builder addTracksBuilder(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
|
build()
public LogoRecognitionAnnotation build()
buildPartial()
public LogoRecognitionAnnotation buildPartial()
clear()
public LogoRecognitionAnnotation.Builder clear()
Overrides
clearEntity()
public LogoRecognitionAnnotation.Builder clearEntity()
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;
clearField(Descriptors.FieldDescriptor field)
public LogoRecognitionAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LogoRecognitionAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSegments()
public LogoRecognitionAnnotation.Builder clearSegments()
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;
clearTracks()
public LogoRecognitionAnnotation.Builder clearTracks()
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;
clone()
public LogoRecognitionAnnotation.Builder clone()
Overrides
getDefaultInstanceForType()
public LogoRecognitionAnnotation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
getEntityBuilder()
public Entity.Builder getEntityBuilder()
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;
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;
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
|
getSegmentsBuilder(int index)
public VideoSegment.Builder getSegmentsBuilder(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
|
getSegmentsBuilderList()
public List<VideoSegment.Builder> getSegmentsBuilderList()
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;
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> | |
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 | |
getTracksBuilder(int index)
public Track.Builder getTracksBuilder(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
|
getTracksBuilderList()
public List<Track.Builder> getTracksBuilderList()
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;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEntity(Entity value)
public LogoRecognitionAnnotation.Builder mergeEntity(Entity value)
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;
Parameter |
---|
Name | Description |
value | Entity
|
mergeFrom(LogoRecognitionAnnotation other)
public LogoRecognitionAnnotation.Builder mergeFrom(LogoRecognitionAnnotation other)
public LogoRecognitionAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LogoRecognitionAnnotation.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LogoRecognitionAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSegments(int index)
public LogoRecognitionAnnotation.Builder removeSegments(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
|
removeTracks(int index)
public LogoRecognitionAnnotation.Builder removeTracks(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
|
setEntity(Entity value)
public LogoRecognitionAnnotation.Builder setEntity(Entity value)
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;
Parameter |
---|
Name | Description |
value | Entity
|
setEntity(Entity.Builder builderForValue)
public LogoRecognitionAnnotation.Builder setEntity(Entity.Builder builderForValue)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public LogoRecognitionAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LogoRecognitionAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSegments(int index, VideoSegment value)
public LogoRecognitionAnnotation.Builder setSegments(int index, VideoSegment value)
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;
setSegments(int index, VideoSegment.Builder builderForValue)
public LogoRecognitionAnnotation.Builder setSegments(int index, VideoSegment.Builder builderForValue)
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;
setTracks(int index, Track value)
public LogoRecognitionAnnotation.Builder setTracks(int index, Track value)
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;
Parameters |
---|
Name | Description |
index | int
|
value | Track
|
setTracks(int index, Track.Builder builderForValue)
public LogoRecognitionAnnotation.Builder setTracks(int index, Track.Builder builderForValue)
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final LogoRecognitionAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides