Class Vertex (2.1.2)

public final class Vertex extends GeneratedMessageV3 implements VertexOrBuilder

A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.

Protobuf type google.cloud.vision.v1p4beta1.Vertex

Implements

VertexOrBuilder

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 Vertex getDefaultInstance()
Returns
TypeDescription
Vertex

getDescriptor()

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

newBuilder()

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

newBuilder(Vertex prototype)

public static Vertex.Builder newBuilder(Vertex prototype)
Parameter
NameDescription
prototypeVertex
Returns
TypeDescription
Vertex.Builder

parseDelimitedFrom(InputStream input)

public static Vertex parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Vertex
Exceptions
TypeDescription
IOException</