Class GeoCoordinate.Builder (0.2.0)

public static final class GeoCoordinate.Builder extends GeneratedMessageV3.Builder<GeoCoordinate.Builder> implements GeoCoordinateOrBuilder

Location Coordinate Representation

Protobuf type google.cloud.visionai.v1.GeoCoordinate

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GeoCoordinate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GeoCoordinate.Builder
Overrides

build()

public GeoCoordinate build()
Returns
Type Description
GeoCoordinate

buildPartial()

public GeoCoordinate buildPartial()
Returns
Type Description
GeoCoordinate

clear()

public GeoCoordinate.Builder clear()
Returns
Type Description
GeoCoordinate.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GeoCoordinate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GeoCoordinate.Builder
Overrides

clearLatitude()

public GeoCoordinate.Builder clearLatitude()

Latitude Coordinate. Degrees [-90 .. 90]

double latitude = 1;

Returns
Type Description
GeoCoordinate.Builder

This builder for chaining.

clearLongitude()

public GeoCoordinate.Builder clearLongitude()

Longitude Coordinate. Degrees [-180 .. 180]

double longitude = 2;

Returns
Type Description
GeoCoordinate.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GeoCoordinate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GeoCoordinate.Builder
Overrides

clone()

public GeoCoordinate.Builder clone()
Returns
Type Description
GeoCoordinate.Builder
Overrides

getDefaultInstanceForType()

public GeoCoordinate getDefaultInstanceForType()
Returns
Type Description
GeoCoordinate

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLatitude()

public double getLatitude()

Latitude Coordinate. Degrees [-90 .. 90]

double latitude = 1;

Returns
Type Description
double

The latitude.

getLongitude()

public double getLongitude()

Longitude Coordinate. Degrees [-180 .. 180]

double longitude = 2;

Returns
Type Description
double

The longitude.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GeoCoordinate other)

public GeoCoordinate.Builder mergeFrom(GeoCoordinate other)
Parameter
Name Description
other GeoCoordinate
Returns
Type Description
GeoCoordinate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GeoCoordinate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GeoCoordinate.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GeoCoordinate.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GeoCoordinate.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GeoCoordinate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GeoCoordinate.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GeoCoordinate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GeoCoordinate.Builder
Overrides

setLatitude(double value)

public GeoCoordinate.Builder setLatitude(double value)

Latitude Coordinate. Degrees [-90 .. 90]

double latitude = 1;

Parameter
Name Description
value double

The latitude to set.

Returns
Type Description
GeoCoordinate.Builder

This builder for chaining.

setLongitude(double value)

public GeoCoordinate.Builder setLongitude(double value)

Longitude Coordinate. Degrees [-180 .. 180]

double longitude = 2;

Parameter
Name Description
value double

The longitude to set.

Returns
Type Description
GeoCoordinate.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GeoCoordinate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GeoCoordinate.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GeoCoordinate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GeoCoordinate.Builder
Overrides