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

Classes

class  DescriptorPool
 

Functions

def _Deprecated (func)
 
def _IsMessageSetExtension (field)
 
def _NormalizeFullyQualifiedName (name)
 
def _OptionsOrNone (descriptor_proto)
 
def _PrefixWithDot (name)
 
def Default ()
 

Variables

string __author__ = 'matthewtoia@google.com (Matt Toia)'
 
 _DEFAULT = descriptor._message.default_pool
 
 _USE_C_DESCRIPTORS = descriptor._USE_C_DESCRIPTORS
 

Function Documentation

◆ _Deprecated()

def google.protobuf.descriptor_pool._Deprecated (   func)
private
Mark functions as deprecated.

Definition at line 71 of file bloaty/third_party/protobuf/python/google/protobuf/descriptor_pool.py.

◆ _IsMessageSetExtension()

def google.protobuf.descriptor_pool._IsMessageSetExtension (   field)
private

◆ _NormalizeFullyQualifiedName()

def google.protobuf.descriptor_pool._NormalizeFullyQualifiedName (   name)
private
Remove leading period from fully-qualified type name.

Due to b/13860351 in descriptor_database.py, types in the root namespace are
generated with a leading period. This function removes that prefix.

Args:
  name: A str, the fully-qualified symbol name.

Returns:
  A str, the normalized fully-qualified symbol name.
Remove leading period from fully-qualified type name.

Due to b/13860351 in descriptor_database.py, types in the root namespace are
generated with a leading period. This function removes that prefix.

Args:
  name (str): The fully-qualified symbol name.

Returns:
  str: The normalized fully-qualified symbol name.

Definition at line 87 of file bloaty/third_party/protobuf/python/google/protobuf/descriptor_pool.py.

◆ _OptionsOrNone()

def google.protobuf.descriptor_pool._OptionsOrNone (   descriptor_proto)
private
Returns the value of the field `options`, or None if it is not set.

Definition at line 102 of file bloaty/third_party/protobuf/python/google/protobuf/descriptor_pool.py.

◆ _PrefixWithDot()

def google.protobuf.descriptor_pool._PrefixWithDot (   name)
private

◆ Default()

def google.protobuf.descriptor_pool.Default ( )

Variable Documentation

◆ __author__

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

◆ _DEFAULT

google.protobuf.descriptor_pool._DEFAULT = descriptor._message.default_pool
private

◆ _USE_C_DESCRIPTORS

google.protobuf.descriptor_pool._USE_C_DESCRIPTORS = descriptor._USE_C_DESCRIPTORS
private


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