Package google :: Package protobuf :: Module descriptor_database
[hide private]
[frames] | no frames]

Module descriptor_database

source code

Provides a container for DescriptorProtos.


Author: matthewtoia@google.com (Matt Toia)

Classes [hide private]
  Error
  DescriptorDatabaseConflictingDefinitionError
Raised when a proto is added with the same name & different descriptor.
  DescriptorDatabase
A container accepting FileDescriptorProtos and maps DescriptorProtos.
Functions [hide private]
 
_ExtractSymbols(desc_proto, package)
Pulls out all the symbols from a descriptor proto.
source code
Variables [hide private]
  __package__ = 'google.protobuf'
Function Details [hide private]

_ExtractSymbols(desc_proto, package)

source code 
Pulls out all the symbols from a descriptor proto.

Args:
  desc_proto: The proto to extract symbols from.
  package: The package containing the descriptor type.

Yields:
  The fully qualified name found in the descriptor.