Class Value (3.9.0)

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

Set of primitive values supported by the system. Note that for the purposes of inspection or transformation, the number of bytes considered to comprise a 'Value' is based on its representation as a UTF-8 encoded string. For example, if 'integer_value' is set to 123456789, the number of bytes would be counted as 9, even though an int64 only holds up to 8 bytes of data.

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
integer_value int
integer This field is a member of `oneof`_ ``type``.
float_value float
float This field is a member of `oneof`_ ``type``.
string_value str
string This field is a member of `oneof`_ ``type``.
boolean_value bool
boolean This field is a member of `oneof`_ ``type``.
timestamp_value google.protobuf.timestamp_pb2.Timestamp
timestamp This field is a member of `oneof`_ ``type``.
time_value google.type.timeofday_pb2.TimeOfDay
time of day This field is a member of `oneof`_ ``type``.
date_value google.type.date_pb2.Date
date This field is a member of `oneof`_ ``type``.
day_of_week_value google.type.dayofweek_pb2.DayOfWeek
day of week This field is a member of `oneof`_ ``type``.

Inheritance

builtins.object > proto.message.Message > Value