Home
last modified time | relevance | path

Searched refs:service_descriptor (Results 1 – 7 of 7) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Ddefinition.py169 def define_service(service_descriptor, module): argument
181 class_name = service_descriptor.name.encode('utf-8')
183 for method_descriptor in service_descriptor.methods or []:
228 for service_descriptor in file_descriptor.service_types or []:
229 service_class = define_service(service_descriptor, module)
230 setattr(module, service_descriptor.name, service_class)
Ddefinition_test.py438 service_descriptor = descriptor.ServiceDescriptor()
439 service_descriptor.name = 'Stocks'
440 service_descriptor.methods = [method_descriptor]
442 StockService = definition.define_service(service_descriptor, self.module)
478 service_descriptor = descriptor.ServiceDescriptor()
479 service_descriptor.name = u'MyService'
485 file_descriptor.service_types = [service_descriptor]
/external/nanopb-c/generator/google/protobuf/
Dservice_reflection.py124 def __init__(self, service_descriptor): argument
131 self.descriptor = service_descriptor
242 def __init__(self, service_descriptor): argument
249 self.descriptor = service_descriptor
/external/protobuf/python/google/protobuf/
Dservice_reflection.py124 def __init__(self, service_descriptor): argument
131 self.descriptor = service_descriptor
242 def __init__(self, service_descriptor): argument
249 self.descriptor = service_descriptor
/external/protobuf/python/google/protobuf/internal/
Dservice_reflection_test.py77 service_descriptor = unittest_pb2.TestService.GetDescriptor()
78 srvc.CallMethod(service_descriptor.methods[1], rpc_controller,
97 srvc.CallMethod(service_descriptor.methods[1], rpc_controller,
Ddescriptor_test.py146 service_descriptor =\
148 method_descriptor = service_descriptor.FindMethodByName("Foo")
168 service_options = service_descriptor.GetOptions()
327 service_descriptor =\
329 method_descriptor = service_descriptor.FindMethodByName("Method")
362 service_descriptor.GetOptions().Extensions[
/external/protobuf/src/google/protobuf/
Ddescriptor.cc256 const ServiceDescriptor* service_descriptor; member
282 CONSTRUCTOR(ServiceDescriptor , SERVICE , service_descriptor ) in CONSTRUCTOR()
295 case SERVICE : return service_descriptor ->file(); in CONSTRUCTOR()
1114 return (result.type == Symbol::SERVICE) ? result.service_descriptor : NULL; in FindServiceByName()
1360 return result.service_descriptor; in FindServiceByName()