blob: 0e0159a5e9426ca653413e2a83c92f0c9c81f12c [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
Zack Williams5c2ea232019-01-30 15:23:01 -070021from __future__ import absolute_import
Scott Bakerbef5fd92019-02-21 10:24:02 -080022import sys
23_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
24from google.protobuf import descriptor as _descriptor
25from google.protobuf import message as _message
26from google.protobuf import reflection as _reflection
27from google.protobuf import symbol_database as _symbol_database
28from google.protobuf import descriptor_pb2
29# @@protoc_insertion_point(imports)
30
31_sym_db = _symbol_database.Default()
32
33
34from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
35
36
37DESCRIPTOR = _descriptor.FileDescriptor(
38 name='schema.proto',
39 package='schema',
40 syntax='proto3',
41 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')
42 ,
43 dependencies=[google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,])
44
45
46
47
48_PROTOFILE = _descriptor.Descriptor(
49 name='ProtoFile',
50 full_name='schema.ProtoFile',
51 filename=None,
52 file=DESCRIPTOR,
53 containing_type=None,
54 fields=[
55 _descriptor.FieldDescriptor(
56 name='file_name', full_name='schema.ProtoFile.file_name', index=0,
57 number=1, type=9, cpp_type=9, label=1,
58 has_default_value=False, default_value=_b("").decode('utf-8'),
59 message_type=None, enum_type=None, containing_type=None,
60 is_extension=False, extension_scope=None,
61 options=None, file=DESCRIPTOR),
62 _descriptor.FieldDescriptor(
63 name='proto', full_name='schema.ProtoFile.proto', index=1,
64 number=2, type=9, cpp_type=9, label=1,
65 has_default_value=False, default_value=_b("").decode('utf-8'),
66 message_type=None, enum_type=None, containing_type=None,
67 is_extension=False, extension_scope=None,
68 options=None, file=DESCRIPTOR),
69 _descriptor.FieldDescriptor(
70 name='descriptor', full_name='schema.ProtoFile.descriptor', index=2,
71 number=3, type=12, cpp_type=9, label=1,
72 has_default_value=False, default_value=_b(""),
73 message_type=None, enum_type=None, containing_type=None,
74 is_extension=False, extension_scope=None,
75 options=None, file=DESCRIPTOR),
76 ],
77 extensions=[
78 ],
79 nested_types=[],
80 enum_types=[
81 ],
82 options=None,
83 is_extendable=False,
84 syntax='proto3',
85 extension_ranges=[],
86 oneofs=[
87 ],
88 serialized_start=53,
89 serialized_end=118,
90)
91
92
93_SCHEMAS = _descriptor.Descriptor(
94 name='Schemas',
95 full_name='schema.Schemas',
96 filename=None,
97 file=DESCRIPTOR,
98 containing_type=None,
99 fields=[
100 _descriptor.FieldDescriptor(
101 name='protos', full_name='schema.Schemas.protos', index=0,
102 number=1, type=11, cpp_type=10, label=3,
103 has_default_value=False, default_value=[],
104 message_type=None, enum_type=None, containing_type=None,
105 is_extension=False, extension_scope=None,
106 options=None, file=DESCRIPTOR),
107 _descriptor.FieldDescriptor(
108 name='swagger_from', full_name='schema.Schemas.swagger_from', index=1,
109 number=2, type=9, cpp_type=9, label=1,
110 has_default_value=False, default_value=_b("").decode('utf-8'),
111 message_type=None, enum_type=None, containing_type=None,
112 is_extension=False, extension_scope=None,
113 options=None, file=DESCRIPTOR),
114 ],
115 extensions=[
116 ],
117 nested_types=[],
118 enum_types=[
119 ],
120 options=None,
121 is_extendable=False,
122 syntax='proto3',
123 extension_ranges=[],
124 oneofs=[
125 ],
126 serialized_start=120,
127 serialized_end=186,
128)
129
130_SCHEMAS.fields_by_name['protos'].message_type = _PROTOFILE
131DESCRIPTOR.message_types_by_name['ProtoFile'] = _PROTOFILE
132DESCRIPTOR.message_types_by_name['Schemas'] = _SCHEMAS
133_sym_db.RegisterFileDescriptor(DESCRIPTOR)
134
135ProtoFile = _reflection.GeneratedProtocolMessageType('ProtoFile', (_message.Message,), dict(
136 DESCRIPTOR = _PROTOFILE,
137 __module__ = 'schema_pb2'
138 # @@protoc_insertion_point(class_scope:schema.ProtoFile)
139 ))
140_sym_db.RegisterMessage(ProtoFile)
141
142Schemas = _reflection.GeneratedProtocolMessageType('Schemas', (_message.Message,), dict(
143 DESCRIPTOR = _SCHEMAS,
144 __module__ = 'schema_pb2'
145 # @@protoc_insertion_point(class_scope:schema.Schemas)
146 ))
147_sym_db.RegisterMessage(Schemas)
148
149
150
151_SCHEMASERVICE = _descriptor.ServiceDescriptor(
152 name='SchemaService',
153 full_name='schema.SchemaService',
154 file=DESCRIPTOR,
155 index=0,
156 options=None,
157 serialized_start=188,
158 serialized_end=259,
159 methods=[
160 _descriptor.MethodDescriptor(
161 name='GetSchema',
162 full_name='schema.SchemaService.GetSchema',
163 index=0,
164 containing_service=None,
165 input_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
166 output_type=_SCHEMAS,
167 options=None,
168 ),
169])
170_sym_db.RegisterServiceDescriptor(_SCHEMASERVICE)
171
172DESCRIPTOR.services_by_name['SchemaService'] = _SCHEMASERVICE
173
174# @@protoc_insertion_point(module_scope)