Class 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.GeneratedMessageV3.Builder<ImageLocation.Builder>
    implements ImageLocationOrBuilder
     Location of the finding within an image.
     
    Protobuf type google.privacy.dlp.v2.ImageLocation
    • 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<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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public ImageLocation.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
      • setField

        public ImageLocation.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
      • clearField

        public ImageLocation.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
      • clearOneof

        public ImageLocation.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
      • setRepeatedField

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

        public ImageLocation.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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;
      • 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;
      • setUnknownFields

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

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