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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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