webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
def | __init__ (self, service_descriptor) |
def | BuildService (self, cls) |
Public Attributes | |
descriptor | |
cls | |
CallMethod | |
GetDescriptor | |
GetRequestClass | |
GetResponseClass | |
This class constructs a protocol service class using a service descriptor. Given a service descriptor, this class constructs a class that represents the specified service descriptor. One service builder instance constructs exactly one service class. That means all instances of that class share the same builder.
def google.protobuf.service_reflection._ServiceBuilder.__init__ | ( | self, | |
service_descriptor | |||
) |
Initializes an instance of the service class builder. Args: service_descriptor: ServiceDescriptor to use when constructing the service class.
def google.protobuf.service_reflection._ServiceBuilder.BuildService | ( | self, | |
cls | |||
) |
Constructs the service class. Args: cls: The class that will be constructed.
google.protobuf.service_reflection._ServiceBuilder.CallMethod |
google.protobuf.service_reflection._ServiceBuilder.cls |
google.protobuf.service_reflection._ServiceBuilder.descriptor |
google.protobuf.service_reflection._ServiceBuilder.GetDescriptor |
google.protobuf.service_reflection._ServiceBuilder.GetRequestClass |
google.protobuf.service_reflection._ServiceBuilder.GetResponseClass |