blob: 06909b4acf07412fb089853dde65618594f899ef [file] [log] [blame]
Scott Bakerbef5fd92019-02-21 10:24:02 -08001#!/usr/bin/env python
2
3# Copyright 2017 the original author or authors.
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
17
18# Generated by the protocol buffer compiler. DO NOT EDIT!
19# source: schema.proto
20
21import sys
22_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
23from google.protobuf import descriptor as _descriptor
24from google.protobuf import message as _message
25from google.protobuf import reflection as _reflection
26from google.protobuf import symbol_database as _symbol_database
27from google.protobuf import descriptor_pb2
28# @@protoc_insertion_point(imports)
29
30_sym_db = _symbol_database.Default()
31
32
33from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
34
35
36DESCRIPTOR = _descriptor.FileDescriptor(
37 name='schema.proto',
38 package='schema',
39 syntax='proto3',
40 serialized_pb=_b('\n\x0cschema.proto\x12\x06schema\x1a\x1bgoogle/protobuf/empty.proto\"A\n\tProtoFile\x12\x11\n\tfile_name\x18\x01 \x01(\t\x12\r\n\x05proto\x18\x02 \x01(\t\x12\x12\n\ndescriptor\x18\x03 \x01(\x0c\"B\n\x07Schemas\x12!\n\x06protos\x18\x01 \x03(\x0b\x32\x11.schema.ProtoFile\x12\x14\n\x0cswagger_from\x18\x02 \x01(\t2G\n\rSchemaService\x12\x36\n\tGetSchema\x12\x16.google.protobuf.Empty\x1a\x0f.schema.Schemas\"\x00\x62\x06proto3')
41 ,
42 dependencies=[google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,])
43
44
45
46
47_PROTOFILE = _descriptor.Descriptor(
48 name='ProtoFile',
49 full_name='schema.ProtoFile',
50 filename=None,
51 file=DESCRIPTOR,
52 containing_type=None,
53 fields=[
54 _descriptor.FieldDescriptor(
55 name='file_name', full_name='schema.ProtoFile.file_name', index=0,
56 number=1, type=9, cpp_type=9, label=1,
57 has_default_value=False, default_value=_b("").decode('utf-8'),
58 message_type=None, enum_type=None, containing_type=None,
59 is_extension=False, extension_scope=None,
60 options=None, file=DESCRIPTOR),
61 _descriptor.FieldDescriptor(
62 name='proto', full_name='schema.ProtoFile.proto', index=1,
63 number=2, type=9, cpp_type=9, label=1,
64 has_default_value=False, default_value=_b("").decode('utf-8'),
65 message_type=None, enum_type=None, containing_type=None,
66 is_extension=False, extension_scope=None,
67 options=None, file=DESCRIPTOR),
68 _descriptor.FieldDescriptor(
69 name='descriptor', full_name='schema.ProtoFile.descriptor', index=2,
70 number=3, type=12, cpp_type=9, label=1,
71 has_default_value=False, default_value=_b(""),
72 message_type=None, enum_type=None, containing_type=None,
73 is_extension=False, extension_scope=None,
74 options=None, file=DESCRIPTOR),
75 ],
76 extensions=[
77 ],
78 nested_types=[],
79 enum_types=[
80 ],
81 options=None,
82 is_extendable=False,
83 syntax='proto3',
84 extension_ranges=[],
85 oneofs=[
86 ],
87 serialized_start=53,
88 serialized_end=118,
89)
90
91
92_SCHEMAS = _descriptor.Descriptor(
93 name='Schemas',
94 full_name='schema.Schemas',
95 filename=None,
96 file=DESCRIPTOR,
97 containing_type=None,
98 fields=[
99 _descriptor.FieldDescriptor(
100 name='protos', full_name='schema.Schemas.protos', index=0,
101 number=1, type=11, cpp_type=10, label=3,
102 has_default_value=False, default_value=[],
103 message_type=None, enum_type=None, containing_type=None,
104 is_extension=False, extension_scope=None,
105 options=None, file=DESCRIPTOR),
106 _descriptor.FieldDescriptor(
107 name='swagger_from', full_name='schema.Schemas.swagger_from', index=1,
108 number=2, type=9, cpp_type=9, label=1,
109 has_default_value=False, default_value=_b("").decode('utf-8'),
110 message_type=None, enum_type=None, containing_type=None,
111 is_extension=False, extension_scope=None,
112 options=None, file=DESCRIPTOR),
113 ],
114 extensions=[
115 ],
116 nested_types=[],
117 enum_types=[
118 ],
119 options=None,
120 is_extendable=False,
121 syntax='proto3',
122 extension_ranges=[],
123 oneofs=[
124 ],
125 serialized_start=120,
126 serialized_end=186,
127)
128
129_SCHEMAS.fields_by_name['protos'].message_type = _PROTOFILE
130DESCRIPTOR.message_types_by_name['ProtoFile'] = _PROTOFILE
131DESCRIPTOR.message_types_by_name['Schemas'] = _SCHEMAS
132_sym_db.RegisterFileDescriptor(DESCRIPTOR)
133
134ProtoFile = _reflection.GeneratedProtocolMessageType('ProtoFile', (_message.Message,), dict(
135 DESCRIPTOR = _PROTOFILE,
136 __module__ = 'schema_pb2'
137 # @@protoc_insertion_point(class_scope:schema.ProtoFile)
138 ))
139_sym_db.RegisterMessage(ProtoFile)
140
141Schemas = _reflection.GeneratedProtocolMessageType('Schemas', (_message.Message,), dict(
142 DESCRIPTOR = _SCHEMAS,
143 __module__ = 'schema_pb2'
144 # @@protoc_insertion_point(class_scope:schema.Schemas)
145 ))
146_sym_db.RegisterMessage(Schemas)
147
148
149
150_SCHEMASERVICE = _descriptor.ServiceDescriptor(
151 name='SchemaService',
152 full_name='schema.SchemaService',
153 file=DESCRIPTOR,
154 index=0,
155 options=None,
156 serialized_start=188,
157 serialized_end=259,
158 methods=[
159 _descriptor.MethodDescriptor(
160 name='GetSchema',
161 full_name='schema.SchemaService.GetSchema',
162 index=0,
163 containing_service=None,
164 input_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
165 output_type=_SCHEMAS,
166 options=None,
167 ),
168])
169_sym_db.RegisterServiceDescriptor(_SCHEMASERVICE)
170
171DESCRIPTOR.services_by_name['SchemaService'] = _SCHEMASERVICE
172
173# @@protoc_insertion_point(module_scope)