Skip to content

lifetime_pb2

frequenz.api.common.v1.microgrid.lifetime_pb2 ¤

Generated protocol buffer code.

Classes¤

frequenz.api.common.v1.microgrid.lifetime_pb2.Lifetime ¤

Bases: Message

Lifetime captures the timestamps indicating the active operational period of a microgrid asset, such as a component, connection, sensor, or any other entity with a limited operational lifetime.

Permanent Deletion

The end_timestamp indicates that the asset has been permanently removed from the system.

Source code in frequenz/api/common/v1/microgrid/lifetime_pb2.py
  DESCRIPTOR._options = None
  _globals['_LIFETIME']._serialized_start=118
  _globals['_LIFETIME']._serialized_end=232
# @@protoc_insertion_point(module_scope)
Attributes¤
end_timestamp: google.protobuf.timestamp_pb2.Timestamp property ¤

Optional timestamp when the asset's operational activity ceased.

start_timestamp: google.protobuf.timestamp_pb2.Timestamp property ¤

The timestamp when the asset became operationally active.