Class LogoRecognitionAnnotation.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LogoRecognitionAnnotation.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LogoRecognitionAnnotation.Builder>
      • getDefaultInstanceForType

        public LogoRecognitionAnnotation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public LogoRecognitionAnnotation build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public LogoRecognitionAnnotation buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public LogoRecognitionAnnotation.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LogoRecognitionAnnotation.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LogoRecognitionAnnotation.Builder>
      • mergeFrom

        public LogoRecognitionAnnotation.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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.v1p3beta1.Entity entity = 1;
        Specified by:
        hasEntity in interface LogoRecognitionAnnotationOrBuilder
        Returns:
        Whether the entity field is set.
      • 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;
        Specified by:
        getEntity in interface LogoRecognitionAnnotationOrBuilder
        Returns:
        The entity.
      • setEntity

        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.v1p3beta1.Entity entity = 1;
      • setEntity

        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.v1p3beta1.Entity entity = 1;
      • mergeEntity

        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.v1p3beta1.Entity entity = 1;
      • 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.v1p3beta1.Entity entity = 1;
      • 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.v1p3beta1.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.v1p3beta1.Entity entity = 1;
        Specified by:
        getEntityOrBuilder in interface LogoRecognitionAnnotationOrBuilder
      • 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;
        Specified by:
        getTracksList in interface LogoRecognitionAnnotationOrBuilder
      • 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;
        Specified by:
        getTracksCount in interface LogoRecognitionAnnotationOrBuilder
      • getTracks

        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;
        Specified by:
        getTracks in interface LogoRecognitionAnnotationOrBuilder
      • setTracks

        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.v1p3beta1.Track tracks = 2;
      • setTracks

        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.v1p3beta1.Track tracks = 2;
      • addTracks

        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.v1p3beta1.Track tracks = 2;
      • addTracks

        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.v1p3beta1.Track tracks = 2;
      • addTracks

        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.v1p3beta1.Track tracks = 2;
      • addTracks

        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.v1p3beta1.Track tracks = 2;
      • addAllTracks

        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.v1p3beta1.Track tracks = 2;
      • 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.v1p3beta1.Track tracks = 2;
      • removeTracks

        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.v1p3beta1.Track tracks = 2;
      • getTracksBuilder

        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.v1p3beta1.Track tracks = 2;
      • getTracksOrBuilder

        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;
        Specified by:
        getTracksOrBuilder in interface LogoRecognitionAnnotationOrBuilder
      • 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;
        Specified by:
        getTracksOrBuilderList in interface LogoRecognitionAnnotationOrBuilder
      • 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.v1p3beta1.Track tracks = 2;
      • addTracksBuilder

        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.v1p3beta1.Track tracks = 2;
      • 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.v1p3beta1.Track tracks = 2;
      • 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;
        Specified by:
        getSegmentsList in interface LogoRecognitionAnnotationOrBuilder
      • 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;
        Specified by:
        getSegmentsCount in interface LogoRecognitionAnnotationOrBuilder
      • getSegments

        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;
        Specified by:
        getSegments in interface LogoRecognitionAnnotationOrBuilder
      • setSegments

        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.v1p3beta1.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.v1p3beta1.VideoSegment segments = 3;
      • addSegments

        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.v1p3beta1.VideoSegment segments = 3;
      • addSegments

        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.v1p3beta1.VideoSegment segments = 3;
      • addSegments

        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.v1p3beta1.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.v1p3beta1.VideoSegment segments = 3;
      • addAllSegments

        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.v1p3beta1.VideoSegment segments = 3;
      • 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.v1p3beta1.VideoSegment segments = 3;
      • removeSegments

        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.v1p3beta1.VideoSegment segments = 3;
      • getSegmentsBuilder

        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.v1p3beta1.VideoSegment segments = 3;
      • getSegmentsOrBuilder

        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;
        Specified by:
        getSegmentsOrBuilder in interface LogoRecognitionAnnotationOrBuilder
      • 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.v1p3beta1.VideoSegment segments = 3;
      • addSegmentsBuilder

        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.v1p3beta1.VideoSegment segments = 3;
      • 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.v1p3beta1.VideoSegment segments = 3;
      • setUnknownFields

        public final LogoRecognitionAnnotation.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LogoRecognitionAnnotation.Builder>
      • mergeUnknownFields

        public final LogoRecognitionAnnotation.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LogoRecognitionAnnotation.Builder>