@@ -48109,6 +48109,8 @@ class LabelType(bb.Union):
4810948109 # Attribute is overwritten below the class definition
4811048110 personal_information = None
4811148111 # Attribute is overwritten below the class definition
48112+ user_defined_tag = None
48113+ # Attribute is overwritten below the class definition
4811248114 other = None
4811348115
4811448116 def is_personal_information(self):
@@ -48119,6 +48121,14 @@ def is_personal_information(self):
4811948121 """
4812048122 return self._tag == 'personal_information'
4812148123
48124+ def is_user_defined_tag(self):
48125+ """
48126+ Check if the union tag is ``user_defined_tag``.
48127+
48128+ :rtype: bool
48129+ """
48130+ return self._tag == 'user_defined_tag'
48131+
4812248132 def is_other(self):
4812348133 """
4812448134 Check if the union tag is ``other``.
@@ -75837,13 +75847,16 @@ def _process_custom_annotations(self, annotation_type, field_path, processor):
7583775847]
7583875848
7583975849LabelType._personal_information_validator = bv.Void()
75850+ LabelType._user_defined_tag_validator = bv.Void()
7584075851LabelType._other_validator = bv.Void()
7584175852LabelType._tagmap = {
7584275853 'personal_information': LabelType._personal_information_validator,
75854+ 'user_defined_tag': LabelType._user_defined_tag_validator,
7584375855 'other': LabelType._other_validator,
7584475856}
7584575857
7584675858LabelType.personal_information = LabelType('personal_information')
75859+ LabelType.user_defined_tag = LabelType('user_defined_tag')
7584775860LabelType.other = LabelType('other')
7584875861
7584975862LegacyDeviceSessionLogInfo.session_info.validator = bv.Nullable(SessionLogInfo_validator)
0 commit comments