Classes | Functions | Variables
google.protobuf.message_factory Namespace Reference

Classes

class  MessageFactory
 

Functions

def GetMessages (file_protos)
 

Variables

string __author__ = 'matthewtoia@google.com (Matt Toia)'
 
 _FACTORY = MessageFactory()
 
 _GENERATED_PROTOCOL_MESSAGE_TYPE = message_impl.GeneratedProtocolMessageType
 

Function Documentation

◆ GetMessages()

def google.protobuf.message_factory.GetMessages (   file_protos)
Builds a dictionary of all the messages available in a set of files.

Args:
  file_protos: Iterable of FileDescriptorProto to build messages out of.

Returns:
  A dictionary mapping proto names to the message classes. This will include
  any dependent messages as well as any messages defined in the same file as
  a specified message.

Definition at line 138 of file bloaty/third_party/protobuf/python/google/protobuf/message_factory.py.

Variable Documentation

◆ __author__

string google.protobuf.message_factory.__author__ = 'matthewtoia@google.com (Matt Toia)'
private

◆ _FACTORY

google.protobuf.message_factory._FACTORY = MessageFactory()
private

◆ _GENERATED_PROTOCOL_MESSAGE_TYPE

google.protobuf.message_factory._GENERATED_PROTOCOL_MESSAGE_TYPE = message_impl.GeneratedProtocolMessageType
private


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:28