Class Value (1.48.0)

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

Single value that supports strings and floats.

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
string_value str
String type. This field is a member of oneof_ kind.
float_value float
Float type. This field is a member of oneof_ kind.

Methods

Value

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

Single value that supports strings and floats.

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