Class Position.Builder (2.1.4)

public static final class Position.Builder extends GeneratedMessageV3.Builder<Position.Builder> implements PositionOrBuilder

A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.

Protobuf type google.cloud.vision.v1p3beta1.Position

Implements

PositionOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Position build()
Returns
TypeDescription
Position

buildPartial()

public Position buildPartial()
Returns
TypeDescription
Position

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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