Send feedback
Class ImageLocation.Builder (3.6.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.6.2 keyboard_arrow_down
public static final class ImageLocation . Builder extends GeneratedMessageV3 . Builder<ImageLocation . Builder > implements ImageLocationOrBuilder
Location of the finding within an image.
Protobuf type google.privacy.dlp.v2.ImageLocation
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addAllBoundingBoxes(Iterable<? extends BoundingBox> values)
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;
Parameter
Name Description values Iterable <? extends com.google.privacy.dlp.v2.BoundingBox >
Returns
addBoundingBoxes(BoundingBox value)
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;
Parameter
Returns
addBoundingBoxes(BoundingBox.Builder builderForValue)
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;
Parameter
Returns
addBoundingBoxes(int index, BoundingBox value)
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;
Parameters
Returns
addBoundingBoxes(int index, BoundingBox.Builder builderForValue)
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;
Parameters
Returns
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;
Returns
addBoundingBoxesBuilder(int index)
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;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImageLocation . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ImageLocation build ()
Returns
buildPartial()
public ImageLocation buildPartial ()
Returns
clear()
public ImageLocation . Builder clear ()
Returns
Overrides
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public ImageLocation . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImageLocation . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public ImageLocation . Builder clone ()
Returns
Overrides
getBoundingBoxes(int index)
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;
Parameter
Returns
getBoundingBoxesBuilder(int index)
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;
Parameter
Returns
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;
Returns
getBoundingBoxesCount()
public int getBoundingBoxesCount ()
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
Returns
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;
Returns
getBoundingBoxesOrBuilder(int index)
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;
Parameter
Returns
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;
Returns
Type Description List <? extends com.google.privacy.dlp.v2.BoundingBoxOrBuilder >
getDefaultInstanceForType()
public ImageLocation getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ImageLocation other)
public ImageLocation . Builder mergeFrom ( ImageLocation other )
Parameter
Returns
public ImageLocation . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImageLocation . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImageLocation . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeBoundingBoxes(int index)
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;
Parameter
Returns
setBoundingBoxes(int index, BoundingBox value)
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;
Parameters
Returns
setBoundingBoxes(int index, BoundingBox.Builder builderForValue)
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;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ImageLocation . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImageLocation . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImageLocation . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]