Class NormalizedVertex (2.11.0)

public final class NormalizedVertex extends GeneratedMessageV3 implements NormalizedVertexOrBuilder

A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.

Protobuf type google.cloud.documentai.v1beta2.NormalizedVertex

Static Fields

X_FIELD_NUMBER

public static final int X_FIELD_NUMBER
Field Value
TypeDescription
int

Y_FIELD_NUMBER

public static final int Y_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NormalizedVertex getDefaultInstance()
Returns
TypeDescription
NormalizedVertex

getDescriptor()

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

newBuilder()

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

newBuilder(NormalizedVertex prototype)

public static NormalizedVertex.Builder newBuilder(NormalizedVertex prototype)
Parameter
NameDescription
prototypeNormalizedVertex
Returns
TypeDescription
NormalizedVertex.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NormalizedVertex parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NormalizedVertex
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NormalizedVertex parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription