Class FaceDetectionAnnotation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FaceDetectionAnnotation.Builder>
com.google.cloud.videointelligence.v1.FaceDetectionAnnotation.Builder
All Implemented Interfaces:
FaceDetectionAnnotationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FaceDetectionAnnotation

public static final class FaceDetectionAnnotation.Builder extends com.google.protobuf.GeneratedMessage.Builder<FaceDetectionAnnotation.Builder> implements FaceDetectionAnnotationOrBuilder
 Face detection annotation.
 
Protobuf type google.cloud.videointelligence.v1.FaceDetectionAnnotation
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FaceDetectionAnnotation.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FaceDetectionAnnotation.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.GeneratedMessage.Builder<FaceDetectionAnnotation.Builder>
    • getDefaultInstanceForType

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

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

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

      public FaceDetectionAnnotation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FaceDetectionAnnotation.Builder>
    • mergeFrom

    • isInitialized

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

      public FaceDetectionAnnotation.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<FaceDetectionAnnotation.Builder>
      Throws:
      IOException
    • getTracksList

      public List<Track> getTracksList()
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
      Specified by:
      getTracksList in interface FaceDetectionAnnotationOrBuilder
    • getTracksCount

      public int getTracksCount()
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
      Specified by:
      getTracksCount in interface FaceDetectionAnnotationOrBuilder
    • getTracks

      public Track getTracks(int index)
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
      Specified by:
      getTracks in interface FaceDetectionAnnotationOrBuilder
    • setTracks

      public FaceDetectionAnnotation.Builder setTracks(int index, Track value)
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
    • setTracks

      public FaceDetectionAnnotation.Builder setTracks(int index, Track.Builder builderForValue)
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
    • addTracks

      public FaceDetectionAnnotation.Builder addTracks(Track value)
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
    • addTracks

      public FaceDetectionAnnotation.Builder addTracks(int index, Track value)
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
    • addTracks

      public FaceDetectionAnnotation.Builder addTracks(Track.Builder builderForValue)
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
    • addTracks

      public FaceDetectionAnnotation.Builder addTracks(int index, Track.Builder builderForValue)
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
    • addAllTracks

      public FaceDetectionAnnotation.Builder addAllTracks(Iterable<? extends Track> values)
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
    • clearTracks

      public FaceDetectionAnnotation.Builder clearTracks()
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
    • removeTracks

      public FaceDetectionAnnotation.Builder removeTracks(int index)
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
    • getTracksBuilder

      public Track.Builder getTracksBuilder(int index)
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
    • getTracksOrBuilder

      public TrackOrBuilder getTracksOrBuilder(int index)
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
      Specified by:
      getTracksOrBuilder in interface FaceDetectionAnnotationOrBuilder
    • getTracksOrBuilderList

      public List<? extends TrackOrBuilder> getTracksOrBuilderList()
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
      Specified by:
      getTracksOrBuilderList in interface FaceDetectionAnnotationOrBuilder
    • addTracksBuilder

      public Track.Builder addTracksBuilder()
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
    • addTracksBuilder

      public Track.Builder addTracksBuilder(int index)
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
    • getTracksBuilderList

      public List<Track.Builder> getTracksBuilderList()
       The face tracks with attributes.
       
      repeated .google.cloud.videointelligence.v1.Track tracks = 3;
    • getThumbnail

      public com.google.protobuf.ByteString getThumbnail()
       The thumbnail of a person's face.
       
      bytes thumbnail = 4;
      Specified by:
      getThumbnail in interface FaceDetectionAnnotationOrBuilder
      Returns:
      The thumbnail.
    • setThumbnail

      public FaceDetectionAnnotation.Builder setThumbnail(com.google.protobuf.ByteString value)
       The thumbnail of a person's face.
       
      bytes thumbnail = 4;
      Parameters:
      value - The thumbnail to set.
      Returns:
      This builder for chaining.
    • clearThumbnail

      public FaceDetectionAnnotation.Builder clearThumbnail()
       The thumbnail of a person's face.
       
      bytes thumbnail = 4;
      Returns:
      This builder for chaining.
    • getVersion

      public String getVersion()
       Feature version.
       
      string version = 5;
      Specified by:
      getVersion in interface FaceDetectionAnnotationOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Feature version.
       
      string version = 5;
      Specified by:
      getVersionBytes in interface FaceDetectionAnnotationOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public FaceDetectionAnnotation.Builder setVersion(String value)
       Feature version.
       
      string version = 5;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public FaceDetectionAnnotation.Builder clearVersion()
       Feature version.
       
      string version = 5;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public FaceDetectionAnnotation.Builder setVersionBytes(com.google.protobuf.ByteString value)
       Feature version.
       
      string version = 5;
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.