Package com.google.genai.types
Class LatLng.Builder
-
- All Implemented Interfaces:
public abstract class LatLng.BuilderBuilder for LatLng.
-
-
Constructor Summary
Constructors Constructor Description LatLng.Builder()
-
Method Summary
Modifier and Type Method Description abstract LatLng.Builderlatitude(Double latitude)Setter for latitude. LatLng.BuilderclearLatitude()Clears the value of latitude field. abstract LatLng.Builderlongitude(Double longitude)Setter for longitude. LatLng.BuilderclearLongitude()Clears the value of longitude field. abstract LatLngbuild()-
-
Method Detail
-
latitude
abstract LatLng.Builder latitude(Double latitude)
Setter for latitude.
latitude: The latitude in degrees. It must be in the range [-90.0, +90.0].
-
clearLatitude
@CanIgnoreReturnValue() LatLng.Builder clearLatitude()
Clears the value of latitude field.
-
longitude
abstract LatLng.Builder longitude(Double longitude)
Setter for longitude.
longitude: The longitude in degrees. It must be in the range [-180.0, +180.0]
-
clearLongitude
@CanIgnoreReturnValue() LatLng.Builder clearLongitude()
Clears the value of longitude field.
-
-
-
-