Class BoundingBox (3.48.0)

public final class BoundingBox extends GeneratedMessageV3 implements BoundingBoxOrBuilder

Bounding box encompassing detected text within an image.

Protobuf type google.privacy.dlp.v2.BoundingBox

Static Fields

HEIGHT_FIELD_NUMBER

public static final int HEIGHT_FIELD_NUMBER
Field Value
Type Description
int

LEFT_FIELD_NUMBER

public static final int LEFT_FIELD_NUMBER
Field Value
Type Description
int

TOP_FIELD_NUMBER

public static final int TOP_FIELD_NUMBER
Field Value
Type Description
int

WIDTH_FIELD_NUMBER

public static final int WIDTH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BoundingBox getDefaultInstance()
Returns
Type Description
BoundingBox

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BoundingBox.Builder newBuilder()
Returns
Type Description
BoundingBox.Builder

newBuilder(BoundingBox prototype)

public static BoundingBox.Builder newBuilder(BoundingBox prototype)
Parameter
Name Description
prototype BoundingBox
Returns
Type Description
BoundingBox.Builder

parseDelimitedFrom(InputStream input)

public static BoundingBox parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BoundingBox
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BoundingBox parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BoundingBox
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BoundingBox parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BoundingBox
Exceptions
Type Description