Searched refs:ProtoServiceMethod (Results 1 – 5 of 5) sorted by relevance
/external/pigweed/pw_rpc/py/pw_rpc/ |
D | codegen_raw.py | 20 from pw_protobuf.proto_tree import ProtoServiceMethod 45 def _function(method: ProtoServiceMethod) -> str: argument 49 def _user_args(method: ProtoServiceMethod) -> Iterable[str]: argument 87 def method_descriptor(self, method: ProtoServiceMethod) -> None: argument 97 self, method: ProtoServiceMethod, *, dynamic: bool argument 131 def client_static_function(self, method: ProtoServiceMethod) -> None: argument 160 def method_info_specialization(self, method: ProtoServiceMethod) -> None: argument 177 def unary_signature(self, method: ProtoServiceMethod, prefix: str) -> str: argument 184 self, method: ProtoServiceMethod, output: OutputFile argument 192 self, method: ProtoServiceMethod, prefix: str argument [all …]
|
D | codegen_nanopb.py | 20 from pw_protobuf.proto_tree import ProtoServiceMethod 35 def _serde(method: ProtoServiceMethod) -> str: argument 56 method: ProtoServiceMethod, response: str | None = None argument 72 method: ProtoServiceMethod, argument 83 method: ProtoServiceMethod, response: str | None = None argument 140 def method_descriptor(self, method: ProtoServiceMethod) -> None: argument 154 method: ProtoServiceMethod, argument 199 self, method: ProtoServiceMethod, *, dynamic: bool argument 218 method: ProtoServiceMethod, argument 256 def client_static_function(self, method: ProtoServiceMethod) -> None: argument [all …]
|
D | codegen_pwpb.py | 20 from pw_protobuf.proto_tree import ProtoServiceMethod 46 def _serde(method: ProtoServiceMethod) -> str: argument 56 method: ProtoServiceMethod, response: str | None = None argument 72 method: ProtoServiceMethod, argument 79 method: ProtoServiceMethod, response: str | None = None argument 136 def method_descriptor(self, method: ProtoServiceMethod) -> None: argument 151 method: ProtoServiceMethod, argument 199 self, method: ProtoServiceMethod, *, dynamic: bool argument 221 method: ProtoServiceMethod, argument 259 def client_static_function(self, method: ProtoServiceMethod) -> None: argument [all …]
|
D | codegen.py | 22 from pw_protobuf.proto_tree import ProtoNode, ProtoService, ProtoServiceMethod 52 def get_id(item: ProtoService | ProtoServiceMethod) -> str: argument 57 def client_call_type(method: ProtoServiceMethod, prefix: str) -> str: argument 59 if method.type() is ProtoServiceMethod.Type.UNARY: 61 elif method.type() is ProtoServiceMethod.Type.SERVER_STREAMING: 63 elif method.type() is ProtoServiceMethod.Type.CLIENT_STREAMING: 65 elif method.type() is ProtoServiceMethod.Type.BIDIRECTIONAL_STREAMING: 112 def method_descriptor(self, method: ProtoServiceMethod) -> None: argument 117 self, method: ProtoServiceMethod, *, dynamic: bool argument 122 def client_static_function(self, method: ProtoServiceMethod) -> None: argument [all …]
|
/external/pigweed/pw_protobuf/py/pw_protobuf/ |
D | proto_tree.py | 479 self._methods: list[ProtoServiceMethod] = [] 484 def methods(self) -> list[ProtoServiceMethod]: 487 def add_method(self, method: ProtoServiceMethod) -> None: argument 584 class ProtoServiceMethod: class 826 method_type = ProtoServiceMethod.Type.BIDIRECTIONAL_STREAMING 828 method_type = ProtoServiceMethod.Type.CLIENT_STREAMING 830 method_type = ProtoServiceMethod.Type.SERVER_STREAMING 832 method_type = ProtoServiceMethod.Type.UNARY 842 ProtoServiceMethod(
|