Class FixedOrPercent (1.11.2)

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

Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a 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:


fixed int
Specifies a fixed value. This field is a member of `oneof`_ ``mode``.
percent int
Specifies the relative value defined as a percentage, which will be multiplied by a reference value. This field is a member of `oneof`_ ``mode``.


builtins.object > proto.message.Message > FixedOrPercent