Class TypedValue (2.9.2)

TypedValue(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A single strongly-typed value.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
bool_value bool
A Boolean value: ``true`` or ``false``. This field is a member of `oneof`_ ``value``.
int64_value int
A 64-bit integer. Its range is approximately ±9.2x1018. This field is a member of `oneof`_ ``value``.
double_value float
A 64-bit double-precision floating-point number. Its magnitude is approximately ±10±300 and it has 16 significant digits of precision. This field is a member of `oneof`_ ``value``.
string_value str
A variable-length string value. This field is a member of `oneof`_ ``value``.
distribution_value google.api.distribution_pb2.Distribution
A distribution value. This field is a member of `oneof`_ ``value``.

Inheritance

builtins.object > proto.message.Message > TypedValue