1# Generated by the gRPC FlatBuffers compiler. DO NOT EDIT! 2 3from __future__ import annotations 4 5import grpc 6import typing 7 8from service_test_generated import HelloRequest, HelloResponse 9 10 11class HelloServiceStub(object): 12 def __init__(self, channel: grpc.Channel) -> None: ... 13 def Hello(self, request: HelloRequest) -> HelloResponse: ... 14 def StreamClient(self, request_iterator: typing.Iterator[HelloRequest]) -> HelloResponse: ... 15 def StreamServer(self, request: HelloRequest) -> typing.Iterator[HelloResponse]: ... 16 def Stream(self, request_iterator: typing.Iterator[HelloRequest]) -> typing.Iterator[HelloResponse]: ... 17 18 19class HelloServiceServicer(object): 20 def Hello(self, request: HelloRequest, context: grpc.ServicerContext) -> HelloResponse: ... 21 def StreamClient(self, request_iterator: typing.Iterator[HelloRequest], context: grpc.ServicerContext) -> HelloResponse: ... 22 def StreamServer(self, request: HelloRequest, context: grpc.ServicerContext) -> typing.Iterator[HelloResponse]: ... 23 def Stream(self, request_iterator: typing.Iterator[HelloRequest], context: grpc.ServicerContext) -> typing.Iterator[HelloResponse]: ... 24 25 26def add_HelloServiceServicer_to_server(servicer: HelloServiceServicer, server: grpc.Server) -> None: ... 27 28