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

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

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
Type Description
List<Builder>

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

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
Type Description
List<BoundingBox>

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
Name Description
index int
Returns
Type Description
BoundingBoxOrBuilder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImageLocation other)

public ImageLocation.Builder mergeFrom(ImageLocation other)
Parameter
Name Description
other ImageLocation
Returns
Type Description
ImageLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImageLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageLocation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImageLocation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImageLocation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImageLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImageLocation.Builder
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
Name Description
index int
Returns
Type Description
ImageLocation.Builder

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ImageLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImageLocation.Builder
Overrides