Searched refs:ProtoServiceMethod (Results 1 – 4 of 4) sorted by relevance
/external/pigweed/pw_rpc/py/pw_rpc/ |
D | codegen_nanopb.py | 20 from pw_protobuf.proto_tree import ProtoNode, ProtoService, ProtoServiceMethod 42 def _generate_method_descriptor(method: ProtoServiceMethod, method_id: int, argument 73 def _generate_code_for_client_method(method: ProtoServiceMethod, argument 81 if method.type() == ProtoServiceMethod.Type.UNARY: 83 elif method.type() == ProtoServiceMethod.Type.SERVER_STREAMING: 167 def unary_signature(self, method: ProtoServiceMethod, prefix: str) -> str: argument 172 def unary_stub(self, method: ProtoServiceMethod, argument 180 def server_streaming_signature(self, method: ProtoServiceMethod, argument
|
D | codegen.py | 22 from pw_protobuf.proto_tree import ProtoNode, ProtoService, ProtoServiceMethod 40 MethodGenerator = Callable[[ProtoServiceMethod, int, OutputFile], None] 176 def unary_signature(self, method: ProtoServiceMethod, prefix: str) -> str: argument 180 def unary_stub(self, method: ProtoServiceMethod, argument 185 def server_streaming_signature(self, method: ProtoServiceMethod, argument 190 self, unused_method: ProtoServiceMethod, argument 199 def _select_stub_methods(generator: StubGenerator, method: ProtoServiceMethod): argument 200 if method.type() is ProtoServiceMethod.Type.UNARY: 203 if method.type() is ProtoServiceMethod.Type.SERVER_STREAMING:
|
D | codegen_raw.py | 20 from pw_protobuf.proto_tree import ProtoNode, ProtoService, ProtoServiceMethod 40 def _generate_method_descriptor(method: ProtoServiceMethod, method_id: int, argument 81 def unary_signature(self, method: ProtoServiceMethod, prefix: str) -> str: argument 85 def unary_stub(self, method: ProtoServiceMethod, argument 93 def server_streaming_signature(self, method: ProtoServiceMethod, argument
|
/external/pigweed/pw_protobuf/py/pw_protobuf/ |
D | proto_tree.py | 324 class ProtoServiceMethod: class 446 method_type = ProtoServiceMethod.Type.BIDIRECTIONAL_STREAMING 448 method_type = ProtoServiceMethod.Type.CLIENT_STREAMING 450 method_type = ProtoServiceMethod.Type.SERVER_STREAMING 452 method_type = ProtoServiceMethod.Type.UNARY 460 ProtoServiceMethod(method.name, method_type, request_node,
|