| Functions | |
| def | _GetMessageFromFactory (factory, full_name) | 
| def | _MakeFileDescriptorProto (proto_file_name, full_name, field_items) | 
| def | MakeSimpleProtoClass (fields, full_name=None, pool=None) | 
| 
 | private | 
Get a proto class from the MessageFactory by name. Args: factory: a MessageFactory instance. full_name: str, the fully qualified name of the proto type. Returns: A class, for the type identified by full_name. Raises: KeyError, if the proto is not found in the factory's descriptor pool.
Definition at line 44 of file bloaty/third_party/protobuf/python/google/protobuf/proto_builder.py.
| 
 | private | 
Populate FileDescriptorProto for MessageFactory's DescriptorPool.
Definition at line 116 of file bloaty/third_party/protobuf/python/google/protobuf/proto_builder.py.
| def google.protobuf.proto_builder.MakeSimpleProtoClass | ( | fields, | |
| full_name = None, | |||
| pool = None | |||
| ) | 
Create a Protobuf class whose fields are basic types.
Note: this doesn't validate field names!
Args:
  fields: dict of {name: field_type} mappings for each field in the proto. If
      this is an OrderedDict the order will be maintained, otherwise the
      fields will be sorted by name.
  full_name: optional str, the fully-qualified name of the proto type.
  pool: optional DescriptorPool instance.
Returns:
  a class, the new protobuf class with a FileDescriptor.
 
Definition at line 60 of file bloaty/third_party/protobuf/python/google/protobuf/proto_builder.py.