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
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'frequenz.api.common.v1.location_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _LOCATION._serialized_start=65
  _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)