• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Generated by the protocol buffer compiler.  DO NOT EDIT!
2# source: helloworld.proto
3
4import sys
5_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
6from google.protobuf import descriptor as _descriptor
7from google.protobuf import message as _message
8from google.protobuf import reflection as _reflection
9from google.protobuf import symbol_database as _symbol_database
10from google.protobuf import descriptor_pb2
11# @@protoc_insertion_point(imports)
12
13_sym_db = _symbol_database.Default()
14
15
16
17
18DESCRIPTOR = _descriptor.FileDescriptor(
19  name='helloworld.proto',
20  package='helloworld',
21  syntax='proto3',
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')
23)
24
25
26
27
28_HELLOREQUEST = _descriptor.Descriptor(
29  name='HelloRequest',
30  full_name='helloworld.HelloRequest',
31  filename=None,
32  file=DESCRIPTOR,
33  containing_type=None,
34  fields=[
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,
41      options=None),
42  ],
43  extensions=[
44  ],
45  nested_types=[],
46  enum_types=[
47  ],
48  options=None,
49  is_extendable=False,
50  syntax='proto3',
51  extension_ranges=[],
52  oneofs=[
53  ],
54  serialized_start=32,
55  serialized_end=60,
56)
57
58
59_HELLOREPLY = _descriptor.Descriptor(
60  name='HelloReply',
61  full_name='helloworld.HelloReply',
62  filename=None,
63  file=DESCRIPTOR,
64  containing_type=None,
65  fields=[
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,
72      options=None),
73  ],
74  extensions=[
75  ],
76  nested_types=[],
77  enum_types=[
78  ],
79  options=None,
80  is_extendable=False,
81  syntax='proto3',
82  extension_ranges=[],
83  oneofs=[
84  ],
85  serialized_start=62,
86  serialized_end=91,
87)
88
89DESCRIPTOR.message_types_by_name['HelloRequest'] = _HELLOREQUEST
90DESCRIPTOR.message_types_by_name['HelloReply'] = _HELLOREPLY
91_sym_db.RegisterFileDescriptor(DESCRIPTOR)
92
93HelloRequest = _reflection.GeneratedProtocolMessageType('HelloRequest', (_message.Message,), dict(
94  DESCRIPTOR = _HELLOREQUEST,
95  __module__ = 'helloworld_pb2'
96  # @@protoc_insertion_point(class_scope:helloworld.HelloRequest)
97  ))
98_sym_db.RegisterMessage(HelloRequest)
99
100HelloReply = _reflection.GeneratedProtocolMessageType('HelloReply', (_message.Message,), dict(
101  DESCRIPTOR = _HELLOREPLY,
102  __module__ = 'helloworld_pb2'
103  # @@protoc_insertion_point(class_scope:helloworld.HelloReply)
104  ))
105_sym_db.RegisterMessage(HelloReply)
106
107
108DESCRIPTOR.has_options = True
109DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\033io.grpc.examples.helloworldB\017HelloWorldProtoP\001\242\002\003HLW'))
110
111_GREETER = _descriptor.ServiceDescriptor(
112  name='Greeter',
113  full_name='helloworld.Greeter',
114  file=DESCRIPTOR,
115  index=0,
116  options=None,
117  serialized_start=93,
118  serialized_end=166,
119  methods=[
120  _descriptor.MethodDescriptor(
121    name='SayHello',
122    full_name='helloworld.Greeter.SayHello',
123    index=0,
124    containing_service=None,
125    input_type=_HELLOREQUEST,
126    output_type=_HELLOREPLY,
127    options=None,
128  ),
129])
130_sym_db.RegisterServiceDescriptor(_GREETER)
131
132DESCRIPTOR.services_by_name['Greeter'] = _GREETER
133
134# @@protoc_insertion_point(module_scope)
135