Class ImageLocation.Builder (3.49.0)

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
Type Description
Descriptor

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
Type Description
ImageLocation.Builder

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
Name Description
value BoundingBox
Returns
Type Description
ImageLocation.Builder

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
Name Description
builderForValue BoundingBox.Builder
Returns
Type Description
ImageLocation.Builder

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
Name Description
index int
value BoundingBox
Returns
Type Description
ImageLocation.Builder

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
Name Description
index int
builderForValue BoundingBox.Builder
Returns
Type Description
ImageLocation.Builder

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
Type Description
BoundingBox.Builder

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
Name Description
index int
Returns
Type Description
BoundingBox.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImageLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImageLocation.Builder
Overrides

build()

public ImageLocation build()
Returns
Type Description
ImageLocation

buildPartial()

public ImageLocation buildPartial()
Returns
Type Description
ImageLocation

clear()

public ImageLocation.Builder clear()
Returns
Type Description
ImageLocation.Builder
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
Type Description
ImageLocation.Builder

clearField(Descriptors.FieldDescriptor field)

public ImageLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImageLocation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImageLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImageLocation.Builder
Overrides

clone()

public ImageLocation.Builder clone()
Returns
Type