Class Value

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
intinteger_value
integer This field is a member of `oneof`_ ``type``.
floatfloat_value
float This field is a member of `oneof`_ ``type``.
strstring_value
string This field is a member of `oneof`_ ``type``.
boolboolean_value
boolean This field is a member of `oneof`_ ``type``.
google.protobuf.timestamp_pb2.Timestamptimestamp_value
timestamp This field is a member of `oneof`_ ``type``.
google.type.timeofday_pb2.TimeOfDaytime_value
time of day This field is a member of `oneof`_ ``type``.
google.type.date_pb2.Datedate_value
date This field is a member of `oneof`_ ``type``.
google.type.dayofweek_pb2.DayOfWeekday_of_week_value
day of week This field is a member of `oneof`_ ``type``.

Inheritance

builtins.object > proto.message.Message > Value