Class ImageLocation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImageLocation.Builder>
com.google.privacy.dlp.v2.ImageLocation.Builder
All Implemented Interfaces:
ImageLocationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ImageLocation

public static final class ImageLocation.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImageLocation.Builder> implements ImageLocationOrBuilder
 Location of the finding within an image.
 
Protobuf type google.privacy.dlp.v2.ImageLocation
  • 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<ImageLocation.Builder>
    • clear

      public ImageLocation.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<ImageLocation.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<ImageLocation.Builder>
    • getDefaultInstanceForType

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

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

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

      public ImageLocation.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<ImageLocation.Builder>
    • mergeFrom

      public ImageLocation.Builder mergeFrom(ImageLocation other)
    • isInitialized

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

      public ImageLocation.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<ImageLocation.Builder>
      Throws:
      IOException
    • getBoundingBoxesList

      public List<BoundingBox> getBoundingBoxesList()
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
      Specified by:
      getBoundingBoxesList in interface ImageLocationOrBuilder
    • getBoundingBoxesCount

      public int getBoundingBoxesCount()
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
      Specified by:
      getBoundingBoxesCount in interface ImageLocationOrBuilder
    • getBoundingBoxes

      public BoundingBox getBoundingBoxes(int index)
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
      Specified by:
      getBoundingBoxes in interface ImageLocationOrBuilder
    • setBoundingBoxes

      public ImageLocation.Builder setBoundingBoxes(int index, BoundingBox value)
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
    • setBoundingBoxes

      public ImageLocation.Builder setBoundingBoxes(int index, BoundingBox.Builder builderForValue)
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
    • addBoundingBoxes

      public ImageLocation.Builder addBoundingBoxes(BoundingBox value)
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
    • addBoundingBoxes

      public ImageLocation.Builder addBoundingBoxes(int index, BoundingBox value)
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
    • addBoundingBoxes

      public ImageLocation.Builder addBoundingBoxes(BoundingBox.Builder builderForValue)
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
    • addBoundingBoxes

      public ImageLocation.Builder addBoundingBoxes(int index, BoundingBox.Builder builderForValue)
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
    • addAllBoundingBoxes

      public ImageLocation.Builder addAllBoundingBoxes(Iterable<? extends BoundingBox> values)
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
    • clearBoundingBoxes

      public ImageLocation.Builder clearBoundingBoxes()
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
    • removeBoundingBoxes

      public ImageLocation.Builder removeBoundingBoxes(int index)
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
    • getBoundingBoxesBuilder

      public BoundingBox.Builder getBoundingBoxesBuilder(int index)
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
    • getBoundingBoxesOrBuilder

      public BoundingBoxOrBuilder getBoundingBoxesOrBuilder(int index)
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
      Specified by:
      getBoundingBoxesOrBuilder in interface ImageLocationOrBuilder
    • getBoundingBoxesOrBuilderList

      public List<? extends BoundingBoxOrBuilder> getBoundingBoxesOrBuilderList()
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
      Specified by:
      getBoundingBoxesOrBuilderList in interface ImageLocationOrBuilder
    • addBoundingBoxesBuilder

      public BoundingBox.Builder addBoundingBoxesBuilder()
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
    • addBoundingBoxesBuilder

      public BoundingBox.Builder addBoundingBoxesBuilder(int index)
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
    • getBoundingBoxesBuilderList

      public List<BoundingBox.Builder> getBoundingBoxesBuilderList()
       Bounding boxes locating the pixels within the image containing the finding.
       
      repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;