webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
google.protobuf.service_reflection._ServiceBuilder Class Reference
Inheritance diagram for google.protobuf.service_reflection._ServiceBuilder:

Public Member Functions

def __init__ (self, service_descriptor)
 
def BuildService (self, cls)
 

Public Attributes

 descriptor
 
 cls
 
 CallMethod
 
 GetDescriptor
 
 GetRequestClass
 
 GetResponseClass
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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.

Member Function Documentation

◆ BuildService()

def google.protobuf.service_reflection._ServiceBuilder.BuildService (   self,
  cls 
)
Constructs the service class.

Args:
  cls: The class that will be constructed.

Member Data Documentation

◆ CallMethod

google.protobuf.service_reflection._ServiceBuilder.CallMethod

◆ cls

google.protobuf.service_reflection._ServiceBuilder.cls

◆ descriptor

google.protobuf.service_reflection._ServiceBuilder.descriptor

◆ GetDescriptor

google.protobuf.service_reflection._ServiceBuilder.GetDescriptor

◆ GetRequestClass

google.protobuf.service_reflection._ServiceBuilder.GetRequestClass

◆ GetResponseClass

google.protobuf.service_reflection._ServiceBuilder.GetResponseClass

The documentation for this class was generated from the following file: