|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
| def | __init__ (self, name, full_name, index, methods, options=None, file=None, serialized_start=None, serialized_end=None) |
| def | FindMethodByName (self, name) |
| def | CopyToProto (self, proto) |
Public Member Functions inherited from google.protobuf.descriptor._NestedDescriptorBase | |
| 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 | |
| index | |
| methods | |
Public Attributes inherited from google.protobuf.descriptor._NestedDescriptorBase | |
| name | |
| full_name | |
| file | |
| containing_type | |
Public Attributes inherited from google.protobuf.descriptor.DescriptorBase | |
| has_options | |
Descriptor for a service.
name: (str) Name of the service.
full_name: (str) Full name of the service, including package name.
index: (int) 0-indexed index giving the order that this services
definition appears withing the .proto file.
methods: (list of MethodDescriptor) List of methods provided by this
service.
options: (descriptor_pb2.ServiceOptions) Service options message or
None to use default service options.
file: (FileDescriptor) Reference to file info.
| def google.protobuf.descriptor.ServiceDescriptor.__init__ | ( | self, | |
| name, | |||
| full_name, | |||
| index, | |||
| methods, | |||
options = None, |
|||
file = None, |
|||
serialized_start = None, |
|||
serialized_end = None |
|||
| ) |
| def google.protobuf.descriptor.ServiceDescriptor.CopyToProto | ( | self, | |
| proto | |||
| ) |
Copies this to a descriptor_pb2.ServiceDescriptorProto. Args: proto: An empty descriptor_pb2.ServiceDescriptorProto.
| def google.protobuf.descriptor.ServiceDescriptor.FindMethodByName | ( | self, | |
| name | |||
| ) |
Searches for the specified method, and returns its descriptor.
| google.protobuf.descriptor.ServiceDescriptor.index |
| google.protobuf.descriptor.ServiceDescriptor.methods |
1.8.13