Skip to content

location_pb2

frequenz.api.common.v1.location_pb2 ¤

Generated protocol buffer code.

Classes¤

frequenz.api.common.v1.location_pb2.Location ¤

Bases: Message

A pair of geographical co-ordinates, representing the location of a place.

Source code in frequenz/api/common/v1/location_pb2.py
  DESCRIPTOR._options = None
  _globals['_LOCATION']._serialized_start=65
  _globals['_LOCATION']._serialized_end=134
# @@protoc_insertion_point(module_scope)
Attributes¤
country_code: builtins.str instance-attribute ¤

Country ISO 3166-1 Alpha 2

latitude: builtins.float instance-attribute ¤

Latitude ranges from -90 (South) to 90 (North)

longitude: builtins.float instance-attribute ¤

Longitude ranges from -180 (West) to 180 (East)