blob: e4d30f0c30a1bae6dbb831ff5e08f848a0b3802e [file] [log] [blame]
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +02001# -*- coding: utf-8 -*-
Copybara854996b2021-09-07 19:36:02 +00002# Generated by the protocol buffer compiler. DO NOT EDIT!
3# source: api/api_proto/sitewide.proto
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +02004"""Generated protocol buffer code."""
Copybara854996b2021-09-07 19:36:02 +00005from google.protobuf import descriptor as _descriptor
6from google.protobuf import message as _message
7from google.protobuf import reflection as _reflection
8from google.protobuf import symbol_database as _symbol_database
9# @@protoc_insertion_point(imports)
10
11_sym_db = _symbol_database.Default()
12
13
14
15
16DESCRIPTOR = _descriptor.FileDescriptor(
17 name='api/api_proto/sitewide.proto',
18 package='monorail',
19 syntax='proto3',
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020020 serialized_options=b'Z\'infra/monorailv2/api/api_proto;monorail',
21 create_key=_descriptor._internal_create_key,
22 serialized_pb=b'\n\x1c\x61pi/api_proto/sitewide.proto\x12\x08monorail\"8\n\x13RefreshTokenRequest\x12\r\n\x05token\x18\x02 \x01(\t\x12\x12\n\ntoken_path\x18\x03 \x01(\t\"@\n\x14RefreshTokenResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\x19\n\x11token_expires_sec\x18\x02 \x01(\r\"\x18\n\x16GetServerStatusRequest\"Y\n\x17GetServerStatusResponse\x12\x16\n\x0e\x62\x61nner_message\x18\x01 \x01(\t\x12\x13\n\x0b\x62\x61nner_time\x18\x02 \x01(\x07\x12\x11\n\tread_only\x18\x03 \x01(\x08\x32\xb5\x01\n\x08Sitewide\x12O\n\x0cRefreshToken\x12\x1d.monorail.RefreshTokenRequest\x1a\x1e.monorail.RefreshTokenResponse\"\x00\x12X\n\x0fGetServerStatus\x12 .monorail.GetServerStatusRequest\x1a!.monorail.GetServerStatusResponse\"\x00\x42)Z\'infra/monorailv2/api/api_proto;monorailb\x06proto3'
Copybara854996b2021-09-07 19:36:02 +000023)
24
25
26
27
28_REFRESHTOKENREQUEST = _descriptor.Descriptor(
29 name='RefreshTokenRequest',
30 full_name='monorail.RefreshTokenRequest',
31 filename=None,
32 file=DESCRIPTOR,
33 containing_type=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020034 create_key=_descriptor._internal_create_key,
Copybara854996b2021-09-07 19:36:02 +000035 fields=[
36 _descriptor.FieldDescriptor(
37 name='token', full_name='monorail.RefreshTokenRequest.token', index=0,
38 number=2, type=9, cpp_type=9, label=1,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020039 has_default_value=False, default_value=b"".decode('utf-8'),
Copybara854996b2021-09-07 19:36:02 +000040 message_type=None, enum_type=None, containing_type=None,
41 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020042 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +000043 _descriptor.FieldDescriptor(
44 name='token_path', full_name='monorail.RefreshTokenRequest.token_path', index=1,
45 number=3, type=9, cpp_type=9, label=1,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020046 has_default_value=False, default_value=b"".decode('utf-8'),
Copybara854996b2021-09-07 19:36:02 +000047 message_type=None, enum_type=None, containing_type=None,
48 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020049 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +000050 ],
51 extensions=[
52 ],
53 nested_types=[],
54 enum_types=[
55 ],
56 serialized_options=None,
57 is_extendable=False,
58 syntax='proto3',
59 extension_ranges=[],
60 oneofs=[
61 ],
62 serialized_start=42,
63 serialized_end=98,
64)
65
66
67_REFRESHTOKENRESPONSE = _descriptor.Descriptor(
68 name='RefreshTokenResponse',
69 full_name='monorail.RefreshTokenResponse',
70 filename=None,
71 file=DESCRIPTOR,
72 containing_type=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020073 create_key=_descriptor._internal_create_key,
Copybara854996b2021-09-07 19:36:02 +000074 fields=[
75 _descriptor.FieldDescriptor(
76 name='token', full_name='monorail.RefreshTokenResponse.token', index=0,
77 number=1, type=9, cpp_type=9, label=1,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020078 has_default_value=False, default_value=b"".decode('utf-8'),
Copybara854996b2021-09-07 19:36:02 +000079 message_type=None, enum_type=None, containing_type=None,
80 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020081 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +000082 _descriptor.FieldDescriptor(
83 name='token_expires_sec', full_name='monorail.RefreshTokenResponse.token_expires_sec', index=1,
84 number=2, type=13, cpp_type=3, label=1,
85 has_default_value=False, default_value=0,
86 message_type=None, enum_type=None, containing_type=None,
87 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020088 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +000089 ],
90 extensions=[
91 ],
92 nested_types=[],
93 enum_types=[
94 ],
95 serialized_options=None,
96 is_extendable=False,
97 syntax='proto3',
98 extension_ranges=[],
99 oneofs=[
100 ],
101 serialized_start=100,
102 serialized_end=164,
103)
104
105
106_GETSERVERSTATUSREQUEST = _descriptor.Descriptor(
107 name='GetServerStatusRequest',
108 full_name='monorail.GetServerStatusRequest',
109 filename=None,
110 file=DESCRIPTOR,
111 containing_type=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200112 create_key=_descriptor._internal_create_key,
Copybara854996b2021-09-07 19:36:02 +0000113 fields=[
114 ],
115 extensions=[
116 ],
117 nested_types=[],
118 enum_types=[
119 ],
120 serialized_options=None,
121 is_extendable=False,
122 syntax='proto3',
123 extension_ranges=[],
124 oneofs=[
125 ],
126 serialized_start=166,
127 serialized_end=190,
128)
129
130
131_GETSERVERSTATUSRESPONSE = _descriptor.Descriptor(
132 name='GetServerStatusResponse',
133 full_name='monorail.GetServerStatusResponse',
134 filename=None,
135 file=DESCRIPTOR,
136 containing_type=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200137 create_key=_descriptor._internal_create_key,
Copybara854996b2021-09-07 19:36:02 +0000138 fields=[
139 _descriptor.FieldDescriptor(
140 name='banner_message', full_name='monorail.GetServerStatusResponse.banner_message', index=0,
141 number=1, type=9, cpp_type=9, label=1,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200142 has_default_value=False, default_value=b"".decode('utf-8'),
Copybara854996b2021-09-07 19:36:02 +0000143 message_type=None, enum_type=None, containing_type=None,
144 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200145 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +0000146 _descriptor.FieldDescriptor(
147 name='banner_time', full_name='monorail.GetServerStatusResponse.banner_time', index=1,
148 number=2, type=7, cpp_type=3, label=1,
149 has_default_value=False, default_value=0,
150 message_type=None, enum_type=None, containing_type=None,
151 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200152 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +0000153 _descriptor.FieldDescriptor(
154 name='read_only', full_name='monorail.GetServerStatusResponse.read_only', index=2,
155 number=3, type=8, cpp_type=7, label=1,
156 has_default_value=False, default_value=False,
157 message_type=None, enum_type=None, containing_type=None,
158 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200159 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +0000160 ],
161 extensions=[
162 ],
163 nested_types=[],
164 enum_types=[
165 ],
166 serialized_options=None,
167 is_extendable=False,
168 syntax='proto3',
169 extension_ranges=[],
170 oneofs=[
171 ],
172 serialized_start=192,
173 serialized_end=281,
174)
175
176DESCRIPTOR.message_types_by_name['RefreshTokenRequest'] = _REFRESHTOKENREQUEST
177DESCRIPTOR.message_types_by_name['RefreshTokenResponse'] = _REFRESHTOKENRESPONSE
178DESCRIPTOR.message_types_by_name['GetServerStatusRequest'] = _GETSERVERSTATUSREQUEST
179DESCRIPTOR.message_types_by_name['GetServerStatusResponse'] = _GETSERVERSTATUSRESPONSE
180_sym_db.RegisterFileDescriptor(DESCRIPTOR)
181
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200182RefreshTokenRequest = _reflection.GeneratedProtocolMessageType('RefreshTokenRequest', (_message.Message,), {
183 'DESCRIPTOR' : _REFRESHTOKENREQUEST,
184 '__module__' : 'api.api_proto.sitewide_pb2'
Copybara854996b2021-09-07 19:36:02 +0000185 # @@protoc_insertion_point(class_scope:monorail.RefreshTokenRequest)
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200186 })
Copybara854996b2021-09-07 19:36:02 +0000187_sym_db.RegisterMessage(RefreshTokenRequest)
188
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200189RefreshTokenResponse = _reflection.GeneratedProtocolMessageType('RefreshTokenResponse', (_message.Message,), {
190 'DESCRIPTOR' : _REFRESHTOKENRESPONSE,
191 '__module__' : 'api.api_proto.sitewide_pb2'
Copybara854996b2021-09-07 19:36:02 +0000192 # @@protoc_insertion_point(class_scope:monorail.RefreshTokenResponse)
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200193 })
Copybara854996b2021-09-07 19:36:02 +0000194_sym_db.RegisterMessage(RefreshTokenResponse)
195
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200196GetServerStatusRequest = _reflection.GeneratedProtocolMessageType('GetServerStatusRequest', (_message.Message,), {
197 'DESCRIPTOR' : _GETSERVERSTATUSREQUEST,
198 '__module__' : 'api.api_proto.sitewide_pb2'
Copybara854996b2021-09-07 19:36:02 +0000199 # @@protoc_insertion_point(class_scope:monorail.GetServerStatusRequest)
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200200 })
Copybara854996b2021-09-07 19:36:02 +0000201_sym_db.RegisterMessage(GetServerStatusRequest)
202
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200203GetServerStatusResponse = _reflection.GeneratedProtocolMessageType('GetServerStatusResponse', (_message.Message,), {
204 'DESCRIPTOR' : _GETSERVERSTATUSRESPONSE,
205 '__module__' : 'api.api_proto.sitewide_pb2'
Copybara854996b2021-09-07 19:36:02 +0000206 # @@protoc_insertion_point(class_scope:monorail.GetServerStatusResponse)
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200207 })
Copybara854996b2021-09-07 19:36:02 +0000208_sym_db.RegisterMessage(GetServerStatusResponse)
209
210
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200211DESCRIPTOR._options = None
Copybara854996b2021-09-07 19:36:02 +0000212
213_SITEWIDE = _descriptor.ServiceDescriptor(
214 name='Sitewide',
215 full_name='monorail.Sitewide',
216 file=DESCRIPTOR,
217 index=0,
218 serialized_options=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200219 create_key=_descriptor._internal_create_key,
Copybara854996b2021-09-07 19:36:02 +0000220 serialized_start=284,
221 serialized_end=465,
222 methods=[
223 _descriptor.MethodDescriptor(
224 name='RefreshToken',
225 full_name='monorail.Sitewide.RefreshToken',
226 index=0,
227 containing_service=None,
228 input_type=_REFRESHTOKENREQUEST,
229 output_type=_REFRESHTOKENRESPONSE,
230 serialized_options=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200231 create_key=_descriptor._internal_create_key,
Copybara854996b2021-09-07 19:36:02 +0000232 ),
233 _descriptor.MethodDescriptor(
234 name='GetServerStatus',
235 full_name='monorail.Sitewide.GetServerStatus',
236 index=1,
237 containing_service=None,
238 input_type=_GETSERVERSTATUSREQUEST,
239 output_type=_GETSERVERSTATUSRESPONSE,
240 serialized_options=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200241 create_key=_descriptor._internal_create_key,
Copybara854996b2021-09-07 19:36:02 +0000242 ),
243])
244_sym_db.RegisterServiceDescriptor(_SITEWIDE)
245
246DESCRIPTOR.services_by_name['Sitewide'] = _SITEWIDE
247
248# @@protoc_insertion_point(module_scope)