Home
last modified time | relevance | path

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

/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pool.py335 def _MakeFieldDescriptor(self, field_proto, message_name, index, argument
356 full_name = '.'.join((message_name, field_proto.name))
358 full_name = field_proto.name
361 name=field_proto.name,
364 number=field_proto.number,
365 type=field_proto.type,
370 label=field_proto.label,
375 options=field_proto.options)
386 for field_proto, field_desc in zip(desc_proto.field, desc.fields):
387 if field_proto.type_name:
[all …]
Ddescriptor.py701 for field_proto in desc_proto.field:
702 full_name = '.'.join(full_message_name + [field_proto.name])
704 field_proto.name, full_name, field_proto.number - 1,
705 field_proto.number, field_proto.type,
706 FieldDescriptor.ProtoTypeToCppProtoType(field_proto.type),
707 field_proto.label, None, None, None, None, False, None,
/external/protobuf/python/google/protobuf/
Ddescriptor_pool.py439 def MakeFieldDescriptor(self, field_proto, message_name, index, argument
460 full_name = '.'.join((message_name, field_proto.name))
462 full_name = field_proto.name
465 name=field_proto.name,
468 number=field_proto.number,
469 type=field_proto.type,
474 label=field_proto.label,
479 options=field_proto.options)
501 for field_proto, field_desc in zip(desc_proto.field, main_desc.fields):
502 self.SetFieldType(field_proto, field_desc, nested_package, scope)
[all …]
Ddescriptor.py826 for field_proto in desc_proto.field:
827 full_name = '.'.join(full_message_name + [field_proto.name])
830 if field_proto.HasField('type_name'):
831 type_name = field_proto.type_name
840 field_proto.name, full_name, field_proto.number - 1,
841 field_proto.number, field_proto.type,
842 FieldDescriptor.ProtoTypeToCppProtoType(field_proto.type),
843 field_proto.label, None, nested_desc, enum_desc, None, False, None,