Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 1 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 | # source: api/api_proto/sitewide.proto |
| 3 | |
| 4 | import sys |
| 5 | _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) |
| 6 | from google.protobuf import descriptor as _descriptor |
| 7 | from google.protobuf import message as _message |
| 8 | from google.protobuf import reflection as _reflection |
| 9 | from google.protobuf import symbol_database as _symbol_database |
| 10 | # @@protoc_insertion_point(imports) |
| 11 | |
| 12 | _sym_db = _symbol_database.Default() |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | DESCRIPTOR = _descriptor.FileDescriptor( |
| 18 | name='api/api_proto/sitewide.proto', |
| 19 | package='monorail', |
| 20 | syntax='proto3', |
| 21 | serialized_options=None, |
| 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\x62\x06proto3') |
| 23 | ) |
| 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, |
| 34 | fields=[ |
| 35 | _descriptor.FieldDescriptor( |
| 36 | name='token', full_name='monorail.RefreshTokenRequest.token', index=0, |
| 37 | number=2, 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 | serialized_options=None, file=DESCRIPTOR), |
| 42 | _descriptor.FieldDescriptor( |
| 43 | name='token_path', full_name='monorail.RefreshTokenRequest.token_path', index=1, |
| 44 | number=3, type=9, cpp_type=9, label=1, |
| 45 | has_default_value=False, default_value=_b("").decode('utf-8'), |
| 46 | message_type=None, enum_type=None, containing_type=None, |
| 47 | is_extension=False, extension_scope=None, |
| 48 | serialized_options=None, file=DESCRIPTOR), |
| 49 | ], |
| 50 | extensions=[ |
| 51 | ], |
| 52 | nested_types=[], |
| 53 | enum_types=[ |
| 54 | ], |
| 55 | serialized_options=None, |
| 56 | is_extendable=False, |
| 57 | syntax='proto3', |
| 58 | extension_ranges=[], |
| 59 | oneofs=[ |
| 60 | ], |
| 61 | serialized_start=42, |
| 62 | serialized_end=98, |
| 63 | ) |
| 64 | |
| 65 | |
| 66 | _REFRESHTOKENRESPONSE = _descriptor.Descriptor( |
| 67 | name='RefreshTokenResponse', |
| 68 | full_name='monorail.RefreshTokenResponse', |
| 69 | filename=None, |
| 70 | file=DESCRIPTOR, |
| 71 | containing_type=None, |
| 72 | fields=[ |
| 73 | _descriptor.FieldDescriptor( |
| 74 | name='token', full_name='monorail.RefreshTokenResponse.token', index=0, |
| 75 | number=1, type=9, cpp_type=9, label=1, |
| 76 | has_default_value=False, default_value=_b("").decode('utf-8'), |
| 77 | message_type=None, enum_type=None, containing_type=None, |
| 78 | is_extension=False, extension_scope=None, |
| 79 | serialized_options=None, file=DESCRIPTOR), |
| 80 | _descriptor.FieldDescriptor( |
| 81 | name='token_expires_sec', full_name='monorail.RefreshTokenResponse.token_expires_sec', index=1, |
| 82 | number=2, type=13, cpp_type=3, label=1, |
| 83 | has_default_value=False, default_value=0, |
| 84 | message_type=None, enum_type=None, containing_type=None, |
| 85 | is_extension=False, extension_scope=None, |
| 86 | serialized_options=None, file=DESCRIPTOR), |
| 87 | ], |
| 88 | extensions=[ |
| 89 | ], |
| 90 | nested_types=[], |
| 91 | enum_types=[ |
| 92 | ], |
| 93 | serialized_options=None, |
| 94 | is_extendable=False, |
| 95 | syntax='proto3', |
| 96 | extension_ranges=[], |
| 97 | oneofs=[ |
| 98 | ], |
| 99 | serialized_start=100, |
| 100 | serialized_end=164, |
| 101 | ) |
| 102 | |
| 103 | |
| 104 | _GETSERVERSTATUSREQUEST = _descriptor.Descriptor( |
| 105 | name='GetServerStatusRequest', |
| 106 | full_name='monorail.GetServerStatusRequest', |
| 107 | filename=None, |
| 108 | file=DESCRIPTOR, |
| 109 | containing_type=None, |
| 110 | fields=[ |
| 111 | ], |
| 112 | extensions=[ |
| 113 | ], |
| 114 | nested_types=[], |
| 115 | enum_types=[ |
| 116 | ], |
| 117 | serialized_options=None, |
| 118 | is_extendable=False, |
| 119 | syntax='proto3', |
| 120 | extension_ranges=[], |
| 121 | oneofs=[ |
| 122 | ], |
| 123 | serialized_start=166, |
| 124 | serialized_end=190, |
| 125 | ) |
| 126 | |
| 127 | |
| 128 | _GETSERVERSTATUSRESPONSE = _descriptor.Descriptor( |
| 129 | name='GetServerStatusResponse', |
| 130 | full_name='monorail.GetServerStatusResponse', |
| 131 | filename=None, |
| 132 | file=DESCRIPTOR, |
| 133 | containing_type=None, |
| 134 | fields=[ |
| 135 | _descriptor.FieldDescriptor( |
| 136 | name='banner_message', full_name='monorail.GetServerStatusResponse.banner_message', index=0, |
| 137 | number=1, type=9, cpp_type=9, label=1, |
| 138 | has_default_value=False, default_value=_b("").decode('utf-8'), |
| 139 | message_type=None, enum_type=None, containing_type=None, |
| 140 | is_extension=False, extension_scope=None, |
| 141 | serialized_options=None, file=DESCRIPTOR), |
| 142 | _descriptor.FieldDescriptor( |
| 143 | name='banner_time', full_name='monorail.GetServerStatusResponse.banner_time', index=1, |
| 144 | number=2, type=7, cpp_type=3, label=1, |
| 145 | has_default_value=False, default_value=0, |
| 146 | message_type=None, enum_type=None, containing_type=None, |
| 147 | is_extension=False, extension_scope=None, |
| 148 | serialized_options=None, file=DESCRIPTOR), |
| 149 | _descriptor.FieldDescriptor( |
| 150 | name='read_only', full_name='monorail.GetServerStatusResponse.read_only', index=2, |
| 151 | number=3, type=8, cpp_type=7, label=1, |
| 152 | has_default_value=False, default_value=False, |
| 153 | message_type=None, enum_type=None, containing_type=None, |
| 154 | is_extension=False, extension_scope=None, |
| 155 | serialized_options=None, file=DESCRIPTOR), |
| 156 | ], |
| 157 | extensions=[ |
| 158 | ], |
| 159 | nested_types=[], |
| 160 | enum_types=[ |
| 161 | ], |
| 162 | serialized_options=None, |
| 163 | is_extendable=False, |
| 164 | syntax='proto3', |
| 165 | extension_ranges=[], |
| 166 | oneofs=[ |
| 167 | ], |
| 168 | serialized_start=192, |
| 169 | serialized_end=281, |
| 170 | ) |
| 171 | |
| 172 | DESCRIPTOR.message_types_by_name['RefreshTokenRequest'] = _REFRESHTOKENREQUEST |
| 173 | DESCRIPTOR.message_types_by_name['RefreshTokenResponse'] = _REFRESHTOKENRESPONSE |
| 174 | DESCRIPTOR.message_types_by_name['GetServerStatusRequest'] = _GETSERVERSTATUSREQUEST |
| 175 | DESCRIPTOR.message_types_by_name['GetServerStatusResponse'] = _GETSERVERSTATUSRESPONSE |
| 176 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 177 | |
| 178 | RefreshTokenRequest = _reflection.GeneratedProtocolMessageType('RefreshTokenRequest', (_message.Message,), dict( |
| 179 | DESCRIPTOR = _REFRESHTOKENREQUEST, |
| 180 | __module__ = 'api.api_proto.sitewide_pb2' |
| 181 | # @@protoc_insertion_point(class_scope:monorail.RefreshTokenRequest) |
| 182 | )) |
| 183 | _sym_db.RegisterMessage(RefreshTokenRequest) |
| 184 | |
| 185 | RefreshTokenResponse = _reflection.GeneratedProtocolMessageType('RefreshTokenResponse', (_message.Message,), dict( |
| 186 | DESCRIPTOR = _REFRESHTOKENRESPONSE, |
| 187 | __module__ = 'api.api_proto.sitewide_pb2' |
| 188 | # @@protoc_insertion_point(class_scope:monorail.RefreshTokenResponse) |
| 189 | )) |
| 190 | _sym_db.RegisterMessage(RefreshTokenResponse) |
| 191 | |
| 192 | GetServerStatusRequest = _reflection.GeneratedProtocolMessageType('GetServerStatusRequest', (_message.Message,), dict( |
| 193 | DESCRIPTOR = _GETSERVERSTATUSREQUEST, |
| 194 | __module__ = 'api.api_proto.sitewide_pb2' |
| 195 | # @@protoc_insertion_point(class_scope:monorail.GetServerStatusRequest) |
| 196 | )) |
| 197 | _sym_db.RegisterMessage(GetServerStatusRequest) |
| 198 | |
| 199 | GetServerStatusResponse = _reflection.GeneratedProtocolMessageType('GetServerStatusResponse', (_message.Message,), dict( |
| 200 | DESCRIPTOR = _GETSERVERSTATUSRESPONSE, |
| 201 | __module__ = 'api.api_proto.sitewide_pb2' |
| 202 | # @@protoc_insertion_point(class_scope:monorail.GetServerStatusResponse) |
| 203 | )) |
| 204 | _sym_db.RegisterMessage(GetServerStatusResponse) |
| 205 | |
| 206 | |
| 207 | |
| 208 | _SITEWIDE = _descriptor.ServiceDescriptor( |
| 209 | name='Sitewide', |
| 210 | full_name='monorail.Sitewide', |
| 211 | file=DESCRIPTOR, |
| 212 | index=0, |
| 213 | serialized_options=None, |
| 214 | serialized_start=284, |
| 215 | serialized_end=465, |
| 216 | methods=[ |
| 217 | _descriptor.MethodDescriptor( |
| 218 | name='RefreshToken', |
| 219 | full_name='monorail.Sitewide.RefreshToken', |
| 220 | index=0, |
| 221 | containing_service=None, |
| 222 | input_type=_REFRESHTOKENREQUEST, |
| 223 | output_type=_REFRESHTOKENRESPONSE, |
| 224 | serialized_options=None, |
| 225 | ), |
| 226 | _descriptor.MethodDescriptor( |
| 227 | name='GetServerStatus', |
| 228 | full_name='monorail.Sitewide.GetServerStatus', |
| 229 | index=1, |
| 230 | containing_service=None, |
| 231 | input_type=_GETSERVERSTATUSREQUEST, |
| 232 | output_type=_GETSERVERSTATUSRESPONSE, |
| 233 | serialized_options=None, |
| 234 | ), |
| 235 | ]) |
| 236 | _sym_db.RegisterServiceDescriptor(_SITEWIDE) |
| 237 | |
| 238 | DESCRIPTOR.services_by_name['Sitewide'] = _SITEWIDE |
| 239 | |
| 240 | # @@protoc_insertion_point(module_scope) |