public final class ImageLocation extends GeneratedMessageV3 implements ImageLocationOrBuilder
Location of the finding within an image.
Protobuf type google.privacy.dlp.v2.ImageLocation
Static Fields
BOUNDING_BOXES_FIELD_NUMBER
public static final int BOUNDING_BOXES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ImageLocation getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ImageLocation.Builder newBuilder()
Returns
newBuilder(ImageLocation prototype)
public static ImageLocation.Builder newBuilder(ImageLocation prototype)
Parameter
Returns
public static ImageLocation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImageLocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ImageLocation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImageLocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ImageLocation parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImageLocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImageLocation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ImageLocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImageLocation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImageLocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ImageLocation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImageLocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ImageLocation> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
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
getParserForType()
public Parser<ImageLocation> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ImageLocation.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImageLocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ImageLocation.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions