Home
last modified time | relevance | path

Searched refs:field_definition (Results 1 – 1 of 1) sorted by relevance

/external/python/apitools/apitools/base/protorpclite/
Ddescriptor.py305 def describe_field(field_definition): argument
315 field_descriptor.name = field_definition.name
316 field_descriptor.number = field_definition.number
317 field_descriptor.variant = field_definition.variant
319 if isinstance(field_definition, messages.EnumField):
320 field_descriptor.type_name = field_definition.type.definition_name()
322 if isinstance(field_definition, messages.MessageField):
324 field_definition.message_type.definition_name())
326 if field_definition.default is not None:
328 type(field_definition)](field_definition.default)
[all …]