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()
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>
|
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;
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;
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;
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;
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(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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImageLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImageLocation build()
buildPartial()
public ImageLocation buildPartial()
clear()
public ImageLocation.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public ImageLocation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImageLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ImageLocation.Builder clone()
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
|
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
|
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;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ImageLocation other)
public ImageLocation.Builder mergeFrom(ImageLocation other)
public ImageLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImageLocation.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImageLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ImageLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImageLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImageLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides