Class BoundingPoly (2.11.0)

public final class BoundingPoly extends GeneratedMessageV3 implements BoundingPolyOrBuilder

A bounding polygon for the detected image annotation.

Protobuf type google.cloud.documentai.v1beta3.BoundingPoly

Static Fields

NORMALIZED_VERTICES_FIELD_NUMBER

public static final int NORMALIZED_VERTICES_FIELD_NUMBER
Field Value
TypeDescription
int

VERTICES_FIELD_NUMBER

public static final int VERTICES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BoundingPoly getDefaultInstance()
Returns
TypeDescription
BoundingPoly

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BoundingPoly.Builder newBuilder()
Returns
TypeDescription
BoundingPoly.Builder

newBuilder(BoundingPoly prototype)

public static BoundingPoly.Builder newBuilder(BoundingPoly prototype)
Parameter
NameDescription
prototypeBoundingPoly
Returns
TypeDescription
BoundingPoly.Builder

parseDelimitedFrom(InputStream input)

public static BoundingPoly parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BoundingPoly
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BoundingPoly parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BoundingPoly
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BoundingPoly parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BoundingPoly
Exceptions
TypeDescription