Class Vertex.Builder (2.1.4)

public static final class Vertex.Builder extends GeneratedMessageV3.Builder<Vertex.Builder> 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.v1p1beta1.Vertex

Implements

VertexOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Vertex.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Vertex.Builder
Overrides

build()

public Vertex build()
Returns
TypeDescription
Vertex

buildPartial()

public Vertex buildPartial()
Returns
TypeDescription
Vertex

clear()

public Vertex.Builder clear()
Returns
TypeDescription
Vertex.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Vertex.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Vertex.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Vertex.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Vertex.Builder
Overrides

clearX()

public Vertex.Builder clearX()

X coordinate.

int32 x = 1;

Returns