Searched refs:field_class (Results 1 – 3 of 3) sorted by relevance
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | messages_test.py | 508 for field_class in (messages.IntegerField, 514 action(field_class) 518 def action(field_class): argument 521 field_class, 524 field_class, 527 field_class, 532 field_class, 535 field_class, 538 field_class, 542 field_class(number=1) [all …]
|
D | definition.py | 117 field_class = _VARIANT_MAP[field_descriptor.variant] 130 elif field_class in (messages.EnumField, messages.MessageField): 131 return field_class(field_descriptor.type_name, **params) 136 value = descriptor._DEFAULT_FROM_STRING_MAP[field_class](value) 140 return field_class(**params)
|
D | descriptor_test.py | 132 for field_class, default, expected_default in ( 141 field = field_class(10, default=default) 148 expected.variant = field_class.DEFAULT_VARIANT
|