Class LocationInfo.Builder (2.1.2)

public static final class LocationInfo.Builder extends GeneratedMessageV3.Builder<LocationInfo.Builder> implements LocationInfoOrBuilder

Detected entity location information.

Protobuf type google.cloud.vision.v1p1beta1.LocationInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LocationInfo build()
Returns
TypeDescription
LocationInfo

buildPartial()

public LocationInfo buildPartial()
Returns
TypeDescription
LocationInfo

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLatLng()

public LocationInfo.Builder clearLatLng()

lat/long location coordinates.

.google.type.LatLng lat_lng = 1;

Returns
TypeDescription
LocationInfo.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public LocationInfo.Builder clone()
Returns
TypeDescription