Home
last modified time | relevance | path

Searched refs:method_desc (Results 1 – 5 of 5) sorted by relevance

/external/grpc-grpc/test/cpp/util/
Dproto_file_parser.cc142 const auto* method_desc = service_desc->method(j); in GetFullMethodName() local
143 if (MethodNameMatch(method_desc->full_name(), method)) { in GetFullMethodName()
148 error_stream << method_desc->full_name(); in GetFullMethodName()
151 method_descriptor = method_desc; in GetFullMethodName()
189 const protobuf::MethodDescriptor* method_desc = in GetMessageTypeFromMethod() local
191 if (!method_desc) { in GetMessageTypeFromMethod()
196 return is_request ? method_desc->input_type()->full_name() in GetMessageTypeFromMethod()
197 : method_desc->output_type()->full_name(); in GetMessageTypeFromMethod()
208 const protobuf::MethodDescriptor* method_desc = in IsStreaming() local
210 if (!method_desc) { in IsStreaming()
[all …]
/external/python/google-api-python-client/googleapiclient/
Ddiscovery.py473 def _fix_up_parameters(method_desc, root_desc, http_method, schema): argument
497 parameters = method_desc.setdefault("parameters", {})
509 if http_method in HTTP_PAYLOAD_METHODS and "request" in method_desc:
511 body.update(method_desc["request"])
517 def _fix_up_media_upload(method_desc, root_desc, path_url, parameters): argument
545 media_upload = method_desc.get("mediaUpload", {})
558 def _fix_up_method_description(method_desc, root_desc, schema): argument
590 path_url = method_desc["path"]
591 http_method = method_desc["httpMethod"]
592 method_id = method_desc["id"]
[all …]
/external/grpc-grpc/test/cpp/end2end/
Dproto_server_reflection_test.cc93 const protobuf::MethodDescriptor* method_desc = in CompareMethod() local
97 EXPECT_TRUE(method_desc != nullptr); in CompareMethod()
99 EXPECT_EQ(method_desc->DebugString(), ref_method_desc->DebugString()); in CompareMethod()
101 CompareType(method_desc->input_type()->full_name()); in CompareMethod()
102 CompareType(method_desc->output_type()->full_name()); in CompareMethod()
/external/python/google-api-python-client/tests/
Dtest_discovery.py130 def _base_fix_up_parameters_test(self, method_desc, http_method, root_desc, schema): argument
131 self.assertEqual(method_desc["httpMethod"], http_method)
133 method_desc_copy = copy.deepcopy(method_desc)
134 self.assertEqual(method_desc, method_desc_copy)
140 self.assertNotEqual(method_desc, method_desc_copy)
214 method_desc = {"request": {"$ref": "Request"}}
216 parameters = _fix_up_parameters(method_desc, {}, "POST", dummy_schema)
220 method_desc,
231 method_desc, fake_root_desc, fake_path_url, initial_parameters
391 method_desc = self.zoo_animals_resource["methods"]["patch"]
[all …]
/external/grpc-grpc/doc/
Dserver_reflection_tutorial.md177 const google::protobuf::MethodDescriptor* method_desc =