5 _b=sys.version_info[0]<3
and (
lambda x:x)
or (
lambda x:x.encode(
'latin1'))
13 _sym_db = _symbol_database.Default()
18 DESCRIPTOR = _descriptor.FileDescriptor(
19 name=
'helloworld.proto',
22 serialized_pb=
_b(
'\n\x10helloworld.proto\x12\nhelloworld\"\x1c\n\x0cHelloRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1d\n\nHelloReply\x12\x0f\n\x07message\x18\x01 \x01(\t2I\n\x07Greeter\x12>\n\x08SayHello\x12\x18.helloworld.HelloRequest\x1a\x16.helloworld.HelloReply\"\x00\x42\x36\n\x1bio.grpc.examples.helloworldB\x0fHelloWorldProtoP\x01\xa2\x02\x03HLWb\x06proto3')
28 _HELLOREQUEST = _descriptor.Descriptor(
30 full_name=
'helloworld.HelloRequest',
35 _descriptor.FieldDescriptor(
36 name=
'name', full_name=
'helloworld.HelloRequest.name', index=0,
37 number=1, type=9, cpp_type=9, label=1,
38 has_default_value=
False, default_value=
_b(
"").
decode(
'utf-8'),
39 message_type=
None, enum_type=
None, containing_type=
None,
40 is_extension=
False, extension_scope=
None,
59 _HELLOREPLY = _descriptor.Descriptor(
61 full_name=
'helloworld.HelloReply',
66 _descriptor.FieldDescriptor(
67 name=
'message', full_name=
'helloworld.HelloReply.message', index=0,
68 number=1, type=9, cpp_type=9, label=1,
69 has_default_value=
False, default_value=
_b(
"").
decode(
'utf-8'),
70 message_type=
None, enum_type=
None, containing_type=
None,
71 is_extension=
False, extension_scope=
None,
89 DESCRIPTOR.message_types_by_name[
'HelloRequest'] = _HELLOREQUEST
90 DESCRIPTOR.message_types_by_name[
'HelloReply'] = _HELLOREPLY
91 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
93 HelloRequest = _reflection.GeneratedProtocolMessageType(
'HelloRequest', (_message.Message,), dict(
94 DESCRIPTOR = _HELLOREQUEST,
95 __module__ =
'helloworld_pb2'
98 _sym_db.RegisterMessage(HelloRequest)
100 HelloReply = _reflection.GeneratedProtocolMessageType(
'HelloReply', (_message.Message,), dict(
101 DESCRIPTOR = _HELLOREPLY,
102 __module__ =
'helloworld_pb2'
105 _sym_db.RegisterMessage(HelloReply)
108 DESCRIPTOR.has_options =
True
109 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(),
_b(
'\n\033io.grpc.examples.helloworldB\017HelloWorldProtoP\001\242\002\003HLW'))
111 _GREETER = _descriptor.ServiceDescriptor(
113 full_name=
'helloworld.Greeter',
120 _descriptor.MethodDescriptor(
122 full_name=
'helloworld.Greeter.SayHello',
124 containing_service=
None,
125 input_type=_HELLOREQUEST,
126 output_type=_HELLOREPLY,
130 _sym_db.RegisterServiceDescriptor(_GREETER)
132 DESCRIPTOR.services_by_name[
'Greeter'] = _GREETER