66
77
88class EchoServiceStub (object ):
9- """Service that shows a few ways to work with protobufs and gRPC
9+ """TODO: once I figure out how Java works lol
10+ // You also need to specify any other appropriate static options for other
11+ // languages; here's where you specify the Java package name, for example
12+ option java_package = "org.opensourcecorp.workshops.protobuf_grpc.echo.v1";
13+
14+ Service that shows a few ways to work with protobufs and gRPC
1015 """
1116
1217 def __init__ (self , channel ):
@@ -23,7 +28,12 @@ def __init__(self, channel):
2328
2429
2530class EchoServiceServicer (object ):
26- """Service that shows a few ways to work with protobufs and gRPC
31+ """TODO: once I figure out how Java works lol
32+ // You also need to specify any other appropriate static options for other
33+ // languages; here's where you specify the Java package name, for example
34+ option java_package = "org.opensourcecorp.workshops.protobuf_grpc.echo.v1";
35+
36+ Service that shows a few ways to work with protobufs and gRPC
2737 """
2838
2939 def Echo (self , request , context ):
@@ -48,7 +58,12 @@ def add_EchoServiceServicer_to_server(servicer, server):
4858
4959 # This class is part of an EXPERIMENTAL API.
5060class EchoService (object ):
51- """Service that shows a few ways to work with protobufs and gRPC
61+ """TODO: once I figure out how Java works lol
62+ // You also need to specify any other appropriate static options for other
63+ // languages; here's where you specify the Java package name, for example
64+ option java_package = "org.opensourcecorp.workshops.protobuf_grpc.echo.v1";
65+
66+ Service that shows a few ways to work with protobufs and gRPC
5267 """
5368
5469 @staticmethod
0 commit comments