class documentation

class LabelType(bb.Union): (source)

View In Hierarchy

Label type This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.

Method is_other Check if the union tag is ``other``.
Method is_personal_information Check if the union tag is ``personal_information``.
Method is_test_only Check if the union tag is ``test_only``.
Method is_user_defined_tag Check if the union tag is ``user_defined_tag``.
Class Variable other Undocumented
Class Variable personal_information Undocumented
Class Variable test_only Undocumented
Class Variable user_defined_tag Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_other(self): (source)

Check if the union tag is ``other``. :rtype: bool

def is_personal_information(self): (source)

Check if the union tag is ``personal_information``. :rtype: bool

def is_test_only(self): (source)

Check if the union tag is ``test_only``. :rtype: bool

def is_user_defined_tag(self): (source)

Check if the union tag is ``user_defined_tag``. :rtype: bool

Undocumented

personal_information = (source)

Undocumented

test_only = (source)

Undocumented

user_defined_tag = (source)

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)

Undocumented

_catch_all: str = (source)

Undocumented