Class LogoRecognitionAnnotation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LogoRecognitionAnnotation.Builder>
com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.Builder
- All Implemented Interfaces:
LogoRecognitionAnnotationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LogoRecognitionAnnotation
public static final class LogoRecognitionAnnotation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LogoRecognitionAnnotation.Builder>
implements LogoRecognitionAnnotationOrBuilder
Annotation corresponding to one detected, tracked and recognized logo class.Protobuf type
google.cloud.videointelligence.v1.LogoRecognitionAnnotation-
Method Summary
Modifier and TypeMethodDescriptionaddAllSegments(Iterable<? extends VideoSegment> values) All video segments where the recognized logo appears.addAllTracks(Iterable<? extends Track> values) All logo tracks where the recognized logo appears.addSegments(int index, VideoSegment value) All video segments where the recognized logo appears.addSegments(int index, VideoSegment.Builder builderForValue) All video segments where the recognized logo appears.addSegments(VideoSegment value) All video segments where the recognized logo appears.addSegments(VideoSegment.Builder builderForValue) All video segments where the recognized logo appears.All video segments where the recognized logo appears.addSegmentsBuilder(int index) All video segments where the recognized logo appears.All logo tracks where the recognized logo appears.addTracks(int index, Track.Builder builderForValue) All logo tracks where the recognized logo appears.All logo tracks where the recognized logo appears.addTracks(Track.Builder builderForValue) All logo tracks where the recognized logo appears.All logo tracks where the recognized logo appears.addTracksBuilder(int index) All logo tracks where the recognized logo appears.build()clear()Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.All video segments where the recognized logo appears.All logo tracks where the recognized logo appears.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorEntity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.getSegments(int index) All video segments where the recognized logo appears.getSegmentsBuilder(int index) All video segments where the recognized logo appears.All video segments where the recognized logo appears.intAll video segments where the recognized logo appears.All video segments where the recognized logo appears.getSegmentsOrBuilder(int index) All video segments where the recognized logo appears.List<? extends VideoSegmentOrBuilder>All video segments where the recognized logo appears.getTracks(int index) All logo tracks where the recognized logo appears.getTracksBuilder(int index) All logo tracks where the recognized logo appears.All logo tracks where the recognized logo appears.intAll logo tracks where the recognized logo appears.All logo tracks where the recognized logo appears.getTracksOrBuilder(int index) All logo tracks where the recognized logo appears.List<? extends TrackOrBuilder>All logo tracks where the recognized logo appears.booleanEntity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEntity(Entity value) Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeSegments(int index) All video segments where the recognized logo appears.removeTracks(int index) All logo tracks where the recognized logo appears.Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.setEntity(Entity.Builder builderForValue) Entity category information to specify the logo class that all the logo tracks within this LogoRecognitionAnnotation are recognized as.setSegments(int index, VideoSegment value) All video segments where the recognized logo appears.setSegments(int index, VideoSegment.Builder builderForValue) All video segments where the recognized logo appears.All logo tracks where the recognized logo appears.setTracks(int index, Track.Builder builderForValue) All logo tracks where the recognized logo appears.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LogoRecognitionAnnotation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LogoRecognitionAnnotation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<LogoRecognitionAnnotation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LogoRecognitionAnnotation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LogoRecognitionAnnotation.Builder>
-
mergeFrom
public LogoRecognitionAnnotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LogoRecognitionAnnotation.Builder>- Throws:
IOException
-
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;- Specified by:
hasEntityin interfaceLogoRecognitionAnnotationOrBuilder- Returns:
- Whether the entity field is set.
-
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;- Specified by:
getEntityin interfaceLogoRecognitionAnnotationOrBuilder- Returns:
- The entity.
-
setEntity
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; -
setEntity
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; -
mergeEntity
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; -
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; -
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
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;- Specified by:
getEntityOrBuilderin interfaceLogoRecognitionAnnotationOrBuilder
-
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;- Specified by:
getTracksListin interfaceLogoRecognitionAnnotationOrBuilder
-
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;- Specified by:
getTracksCountin interfaceLogoRecognitionAnnotationOrBuilder
-
getTracks
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;- Specified by:
getTracksin interfaceLogoRecognitionAnnotationOrBuilder
-
setTracks
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; -
setTracks
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
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
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
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
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; -
addAllTracks
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; -
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; -
removeTracks
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; -
getTracksBuilder
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
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;- Specified by:
getTracksOrBuilderin interfaceLogoRecognitionAnnotationOrBuilder
-
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;- Specified by:
getTracksOrBuilderListin interfaceLogoRecognitionAnnotationOrBuilder
-
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
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; -
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; -
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;- Specified by:
getSegmentsListin interfaceLogoRecognitionAnnotationOrBuilder
-
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;- Specified by:
getSegmentsCountin interfaceLogoRecognitionAnnotationOrBuilder
-
getSegments
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;- Specified by:
getSegmentsin interfaceLogoRecognitionAnnotationOrBuilder
-
setSegments
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
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; -
addSegments
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
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
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
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; -
addAllSegments
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; -
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; -
removeSegments
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; -
getSegmentsBuilder
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
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;- Specified by:
getSegmentsOrBuilderin interfaceLogoRecognitionAnnotationOrBuilder
-
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;- Specified by:
getSegmentsOrBuilderListin interfaceLogoRecognitionAnnotationOrBuilder
-
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
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; -
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;
-