Skip to content

decimal_pb2

frequenz.api.common.v1.types.decimal_pb2 ¤

Generated protocol buffer code.

Classes¤

frequenz.api.common.v1.types.decimal_pb2.Decimal ¤

Bases: Message

protolint:disable MAX_LINE_LENGTH (the link is too long)

An arbitrary precision real number.

This message is based (and compatible) with Google's google.type.Decimal present in: https://github.com/googleapis/googleapis/ You should read the documentation there and follow all the guidelines (which are many, so please go and read the docs in: https://github.com/googleapis/googleapis/blob/master/google/type/decimal.proto)

Source code in frequenz/api/common/v1/types/decimal_pb2.py
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*frequenz/api/common/v1/types/decimal.proto\x12\x1c\x66requenz.api.common.v1.types\"\x18\n\x07\x44\x65\x63imal\x12\r\n\x05value\x18\x01 \x01(\tb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'frequenz.api.common.v1.types.decimal_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_DECIMAL']._serialized_start=76
  _globals['_DECIMAL']._serialized_end=100
# @@protoc_insertion_point(module_scope)
Attributes¤
value: builtins.str instance-attribute ¤

The string representation of the Decimal value.