Class LatLongRect.Builder (2.1.4)

public static final class LatLongRect.Builder extends GeneratedMessageV3.Builder<LatLongRect.Builder> implements LatLongRectOrBuilder

Rectangle determined by min and max LatLng pairs.

Protobuf type google.cloud.vision.v1p2beta1.LatLongRect

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LatLongRect build()
Returns
TypeDescription
LatLongRect

buildPartial()

public LatLongRect buildPartial()
Returns
TypeDescription
LatLongRect

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMaxLatLng()

public LatLongRect.Builder clearMaxLatLng()

Max lat/long pair.

.google.type.LatLng max_lat_lng = 2;

Returns
TypeDescription
LatLongRect.Builder

clearMinLatLng()

public LatLongRect.Builder clearMinLatLng()

Min lat/long pair.

.google.type.LatLng min_lat_lng = 1;

Returns
TypeDescription