Skip to content

gridpool_pb2

frequenz.api.common.v1alpha8.gridpool.gridpool_pb2 ¤

Generated protocol buffer code.

Classes¤

frequenz.api.common.v1alpha8.gridpool.gridpool_pb2.Gridpool ¤

Bases: Message

Gridpool contains details of a specific gridpool. A gridpool is an assigned group of microgrids for the purpose of energy trading.

Source code in frequenz/api/common/v1alpha8/gridpool/gridpool_pb2.py
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4frequenz/api/common/v1alpha8/gridpool/gridpool.proto\x12%frequenz.api.common.v1alpha8.gridpool\"$\n\x08Gridpool\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0c\n\x04name\x18\x02 \x01(\tb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'frequenz.api.common.v1alpha8.gridpool.gridpool_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_GRIDPOOL']._serialized_start=95
  _globals['_GRIDPOOL']._serialized_end=131
# @@protoc_insertion_point(module_scope)
Attributes¤
id instance-attribute ¤

A unique identifier for the gridpool.

name instance-attribute ¤

The name of the gridpool.