Skip to content

location_pb2

frequenz.api.common.location_pb2 ¤

Generated protocol buffer code.

Classes¤

frequenz.api.common.location_pb2.Location ¤

Bases: google.protobuf.message.Message

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

Source code in /opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/frequenz/api/common/location_pb2.py
  DESCRIPTOR._options = None
  _globals['_LOCATION']._serialized_start=68
  _globals['_LOCATION']._serialized_end=137
# @@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)