Home
last modified time | relevance | path

Searched refs:method_descriptor (Results 1 – 9 of 9) sorted by relevance

/external/nanopb-c/generator/google/protobuf/
Dservice_reflection.py143 def _WrapCallMethod(srvc, method_descriptor, argument
145 return self._CallMethod(srvc, method_descriptor,
156 def _CallMethod(self, srvc, method_descriptor, argument
167 if method_descriptor.containing_service != self.descriptor:
170 method = getattr(srvc, method_descriptor.name)
173 def _GetRequestClass(self, method_descriptor): argument
184 if method_descriptor.containing_service != self.descriptor:
187 return method_descriptor.input_type._concrete_class
189 def _GetResponseClass(self, method_descriptor): argument
200 if method_descriptor.containing_service != self.descriptor:
[all …]
Dservice.py65 def CallMethod(self, method_descriptor, rpc_controller, argument
93 def GetRequestClass(self, method_descriptor): argument
108 def GetResponseClass(self, method_descriptor): argument
217 def CallMethod(self, method_descriptor, rpc_controller, argument
/external/protobuf/python/google/protobuf/
Dservice_reflection.py143 def _WrapCallMethod(srvc, method_descriptor, argument
145 return self._CallMethod(srvc, method_descriptor,
156 def _CallMethod(self, srvc, method_descriptor, argument
167 if method_descriptor.containing_service != self.descriptor:
170 method = getattr(srvc, method_descriptor.name)
173 def _GetRequestClass(self, method_descriptor): argument
184 if method_descriptor.containing_service != self.descriptor:
187 return method_descriptor.input_type._concrete_class
189 def _GetResponseClass(self, method_descriptor): argument
200 if method_descriptor.containing_service != self.descriptor:
[all …]
Dservice.py65 def CallMethod(self, method_descriptor, rpc_controller, argument
93 def GetRequestClass(self, method_descriptor): argument
108 def GetResponseClass(self, method_descriptor): argument
217 def CallMethod(self, method_descriptor, rpc_controller, argument
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Ddefinition.py183 for method_descriptor in service_descriptor.methods or []:
185 method_descriptor.request_type, module)
187 method_descriptor.response_type, module)
189 method_name = method_descriptor.name.encode('utf-8')
Ddefinition_test.py433 method_descriptor = descriptor.MethodDescriptor()
434 method_descriptor.name = 'get_quote'
435 method_descriptor.request_type = 'GetQuoteRequest'
436 method_descriptor.response_type = 'GetQuoteResponse'
440 service_descriptor.methods = [method_descriptor]
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/experimental/javascript/
Dprotorpc.js288 ProtoRpc.ServiceStub.prototype.addMethod_ = function(method_descriptor) { argument
289 var method_name = method_descriptor.name;
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py148 method_descriptor = service_descriptor.FindMethodByName("Foo")
171 method_options = method_descriptor.GetOptions()
329 method_descriptor = service_descriptor.FindMethodByName("Method")
366 method_descriptor.GetOptions().Extensions[
/external/protobuf/src/google/protobuf/
Ddescriptor.cc257 const MethodDescriptor* method_descriptor; member
283 CONSTRUCTOR(MethodDescriptor , METHOD , method_descriptor ) in CONSTRUCTOR()
296 case METHOD : return method_descriptor ->service()->file(); in CONSTRUCTOR()
1120 return (result.type == Symbol::METHOD) ? result.method_descriptor : NULL; in FindMethodByName()
1319 return result.method_descriptor; in FindMethodByName()