webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
def | __init__ (self, options, options_class_name, name, full_name, file, containing_type, serialized_start=None, serialized_end=None) |
def | GetTopLevelContainingType (self) |
def | CopyToProto (self, proto) |
Public Member Functions inherited from google.protobuf.descriptor.DescriptorBase | |
def | __init__ (self, options, options_class_name) |
def | GetOptions (self) |
Public Member Functions inherited from google.protobuf.descriptor.DescriptorMetaclass | |
def | __instancecheck__ (cls, obj) |
Public Attributes | |
name | |
full_name | |
file | |
containing_type | |
Public Attributes inherited from google.protobuf.descriptor.DescriptorBase | |
has_options | |
Common class for descriptors that can be nested.
def google.protobuf.descriptor._NestedDescriptorBase.__init__ | ( | self, | |
options, | |||
options_class_name, | |||
name, | |||
full_name, | |||
file, | |||
containing_type, | |||
serialized_start = None , |
|||
serialized_end = None |
|||
) |
Constructor. Args: options: Protocol message options or None to use default message options. options_class_name: (str) The class name of the above options. name: (str) Name of this protocol message type. full_name: (str) Fully-qualified name of this protocol message type, which will include protocol "package" name and the name of any enclosing types. file: (FileDescriptor) Reference to file info. containing_type: if provided, this is a nested descriptor, with this descriptor as parent, otherwise None. serialized_start: The start index (inclusive) in block in the file.serialized_pb that describes this descriptor. serialized_end: The end index (exclusive) in block in the file.serialized_pb that describes this descriptor.
def google.protobuf.descriptor._NestedDescriptorBase.CopyToProto | ( | self, | |
proto | |||
) |
Copies this to the matching proto in descriptor_pb2. Args: proto: An empty proto instance from descriptor_pb2. Raises: Error: If self couldnt be serialized, due to to few constructor arguments.
def google.protobuf.descriptor._NestedDescriptorBase.GetTopLevelContainingType | ( | self | ) |
Returns the root if this is a nested type, or itself if its the root.
google.protobuf.descriptor._NestedDescriptorBase.containing_type |
google.protobuf.descriptor._NestedDescriptorBase.file |
google.protobuf.descriptor._NestedDescriptorBase.full_name |
google.protobuf.descriptor._NestedDescriptorBase.name |