Skip to content

bounds_pb2

frequenz.api.common.v1.metrics.bounds_pb2 ¤

Generated protocol buffer code.

Classes¤

frequenz.api.common.v1.metrics.bounds_pb2.Bounds ¤

Bases: Message

A set of lower and upper bounds for any metric. The units of the bounds are always the same as the related metric.

Source code in frequenz/api/common/v1/metrics/bounds_pb2.py
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _BOUNDS._serialized_start=79
  _BOUNDS._serialized_end=147
# @@protoc_insertion_point(module_scope)
Attributes¤
lower: builtins.float instance-attribute ¤

The lower bound. If absent, there is no lower bound.

upper: builtins.float instance-attribute ¤

The upper bound. If absent, there is no upper bound.