1.9.30 sync.
[gae.git] / python / google / storage / speckle / proto / client_error_code_pb2.py
blob559ab205ce612395319a804bbf492b52b744ee62
1 #!/usr/bin/env python
3 # Copyright 2007 Google Inc.
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
9 # http://www.apache.org/licenses/LICENSE-2.0
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.
20 import sys
21 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
22 import google
23 from google.net.proto2.python.public import descriptor as _descriptor
24 from google.net.proto2.python.public import message as _message
25 from google.net.proto2.python.public import reflection as _reflection
26 from google.net.proto2.python.public import symbol_database as _symbol_database
27 from google.net.proto2.proto import descriptor_pb2
30 _sym_db = _symbol_database.Default()
35 DESCRIPTOR = _descriptor.FileDescriptor(
36 name='storage/speckle/proto/client_error_code.proto',
37 package='speckle.sql',
38 serialized_pb=_b('\n-storage/speckle/proto/client_error_code.proto\x12\x0bspeckle.sql\"\xe1\x08\n\x15SqlServiceClientError\"\xc7\x08\n\x0f\x43lientErrorCode\x12\x06\n\x02OK\x10\x00\x12\x13\n\x0fTRANSIENT_ERROR\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x13\n\x0fINVALID_REQUEST\x10\x03\x12\x16\n\x12\x44\x45PRECATED_TIMEOUT\x10\x04\x12\x1d\n\x19\x44\x45PRECATED_NOT_AUTHORIZED\x10\x05\x12\x1a\n\x16\x44\x45PRECATED_RDBMS_ERROR\x10\x06\x12\"\n\x1d\x45RROR_PUBLIC_ERROR_CODE_START\x10\xe8\x07\x12\x10\n\x0b\x45RROR_RDBMS\x10\xe9\x07\x12\x12\n\rERROR_TIMEOUT\x10\xea\x07\x12\x19\n\x14\x45RROR_NOT_AUTHORIZED\x10\xeb\x07\x12\x1d\n\x18\x45RROR_INSTANCE_SUSPENDED\x10\xec\x07\x12\x1c\n\x17\x45RROR_INVALID_PARAMETER\x10\xed\x07\x12\"\n\x1d\x45RROR_NOT_ALL_VARIABLES_BOUND\x10\xee\x07\x12\x1d\n\x18\x45RROR_UNKNOWN_CONNECTION\x10\xef\x07\x12\x1c\n\x17\x45RROR_UNKNOWN_STATEMENT\x10\xf0\x07\x12\x1a\n\x15\x45RROR_UNKNOWN_CATALOG\x10\xf1\x07\x12\x19\n\x14\x45RROR_UNKNOWN_CURSOR\x10\xf2\x07\x12\x1b\n\x16\x45RROR_CURSOR_EXHAUSTED\x10\xfc\x07\x12\x1e\n\x19\x45RROR_NOT_YET_IMPLEMENTED\x10\x86\x08\x12\x1a\n\x15\x45RROR_NOT_IMPLEMENTED\x10\x87\x08\x12\x1f\n\x1a\x45RROR_INSTANCE_MAINTENANCE\x10\x88\x08\x12\'\n\"ERROR_TOO_MANY_CONCURRENT_REQUESTS\x10\x89\x08\x12\"\n\x1d\x45RROR_RESOURCE_DOES_NOT_EXIST\x10\x8a\x08\x12\"\n\x1d\x45RROR_RESOURCE_ALREADY_EXISTS\x10\x8b\x08\x12\x1c\n\x17\x45RROR_CONNECTION_IN_USE\x10\x8c\x08\x12!\n\x1c\x45RROR_CLIENT_VERSION_TOO_OLD\x10\x8d\x08\x12\x1b\n\x16\x45RROR_RESPONSE_PENDING\x10\x8e\x08\x12(\n#ERROR_INSTANCE_SUSPENDED_BY_BILLING\x10\x8f\x08\x12\x1e\n\x19\x45RROR_RESULTSET_TOO_LARGE\x10\x90\x08\x12)\n$ERROR_ACTIVATION_POLICY_SET_TO_NEVER\x10\x91\x08\x12&\n!ERROR_INSTANCE_SUSPENDED_BY_LEGAL\x10\x92\x08\x12\x19\n\x14\x45RROR_QUOTA_EXCEEDED\x10\x93\x08\x12\x32\n-ERROR_INVALID_BINLOG_COORDINATES_IN_DUMP_FILE\x10\x94\x08\x12,\n\'ERROR_GAE_APP_CONNECTION_LIMIT_EXCEEDED\x10\x95\x08\x42%\n\x1b\x63om.google.protos.cloud.sql\x10\x02 \x02(\x02P\x01')
40 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
44 _SQLSERVICECLIENTERROR_CLIENTERRORCODE = _descriptor.EnumDescriptor(
45 name='ClientErrorCode',
46 full_name='speckle.sql.SqlServiceClientError.ClientErrorCode',
47 filename=None,
48 file=DESCRIPTOR,
49 values=[
50 _descriptor.EnumValueDescriptor(
51 name='OK', index=0, number=0,
52 options=None,
53 type=None),
54 _descriptor.EnumValueDescriptor(
55 name='TRANSIENT_ERROR', index=1, number=1,
56 options=None,
57 type=None),
58 _descriptor.EnumValueDescriptor(
59 name='INTERNAL_ERROR', index=2, number=2,
60 options=None,
61 type=None),
62 _descriptor.EnumValueDescriptor(
63 name='INVALID_REQUEST', index=3, number=3,
64 options=None,
65 type=None),
66 _descriptor.EnumValueDescriptor(
67 name='DEPRECATED_TIMEOUT', index=4, number=4,
68 options=None,
69 type=None),
70 _descriptor.EnumValueDescriptor(
71 name='DEPRECATED_NOT_AUTHORIZED', index=5, number=5,
72 options=None,
73 type=None),
74 _descriptor.EnumValueDescriptor(
75 name='DEPRECATED_RDBMS_ERROR', index=6, number=6,
76 options=None,
77 type=None),
78 _descriptor.EnumValueDescriptor(
79 name='ERROR_PUBLIC_ERROR_CODE_START', index=7, number=1000,
80 options=None,
81 type=None),
82 _descriptor.EnumValueDescriptor(
83 name='ERROR_RDBMS', index=8, number=1001,
84 options=None,
85 type=None),
86 _descriptor.EnumValueDescriptor(
87 name='ERROR_TIMEOUT', index=9, number=1002,
88 options=None,
89 type=None),
90 _descriptor.EnumValueDescriptor(
91 name='ERROR_NOT_AUTHORIZED', index=10, number=1003,
92 options=None,
93 type=None),
94 _descriptor.EnumValueDescriptor(
95 name='ERROR_INSTANCE_SUSPENDED', index=11, number=1004,
96 options=None,
97 type=None),
98 _descriptor.EnumValueDescriptor(
99 name='ERROR_INVALID_PARAMETER', index=12, number=1005,
100 options=None,
101 type=None),
102 _descriptor.EnumValueDescriptor(
103 name='ERROR_NOT_ALL_VARIABLES_BOUND', index=13, number=1006,
104 options=None,
105 type=None),
106 _descriptor.EnumValueDescriptor(
107 name='ERROR_UNKNOWN_CONNECTION', index=14, number=1007,
108 options=None,
109 type=None),
110 _descriptor.EnumValueDescriptor(
111 name='ERROR_UNKNOWN_STATEMENT', index=15, number=1008,
112 options=None,
113 type=None),
114 _descriptor.EnumValueDescriptor(
115 name='ERROR_UNKNOWN_CATALOG', index=16, number=1009,
116 options=None,
117 type=None),
118 _descriptor.EnumValueDescriptor(
119 name='ERROR_UNKNOWN_CURSOR', index=17, number=1010,
120 options=None,
121 type=None),
122 _descriptor.EnumValueDescriptor(
123 name='ERROR_CURSOR_EXHAUSTED', index=18, number=1020,
124 options=None,
125 type=None),
126 _descriptor.EnumValueDescriptor(
127 name='ERROR_NOT_YET_IMPLEMENTED', index=19, number=1030,
128 options=None,
129 type=None),
130 _descriptor.EnumValueDescriptor(
131 name='ERROR_NOT_IMPLEMENTED', index=20, number=1031,
132 options=None,
133 type=None),
134 _descriptor.EnumValueDescriptor(
135 name='ERROR_INSTANCE_MAINTENANCE', index=21, number=1032,
136 options=None,
137 type=None),
138 _descriptor.EnumValueDescriptor(
139 name='ERROR_TOO_MANY_CONCURRENT_REQUESTS', index=22, number=1033,
140 options=None,
141 type=None),
142 _descriptor.EnumValueDescriptor(
143 name='ERROR_RESOURCE_DOES_NOT_EXIST', index=23, number=1034,
144 options=None,
145 type=None),
146 _descriptor.EnumValueDescriptor(
147 name='ERROR_RESOURCE_ALREADY_EXISTS', index=24, number=1035,
148 options=None,
149 type=None),
150 _descriptor.EnumValueDescriptor(
151 name='ERROR_CONNECTION_IN_USE', index=25, number=1036,
152 options=None,
153 type=None),
154 _descriptor.EnumValueDescriptor(
155 name='ERROR_CLIENT_VERSION_TOO_OLD', index=26, number=1037,
156 options=None,
157 type=None),
158 _descriptor.EnumValueDescriptor(
159 name='ERROR_RESPONSE_PENDING', index=27, number=1038,
160 options=None,
161 type=None),
162 _descriptor.EnumValueDescriptor(
163 name='ERROR_INSTANCE_SUSPENDED_BY_BILLING', index=28, number=1039,
164 options=None,
165 type=None),
166 _descriptor.EnumValueDescriptor(
167 name='ERROR_RESULTSET_TOO_LARGE', index=29, number=1040,
168 options=None,
169 type=None),
170 _descriptor.EnumValueDescriptor(
171 name='ERROR_ACTIVATION_POLICY_SET_TO_NEVER', index=30, number=1041,
172 options=None,
173 type=None),
174 _descriptor.EnumValueDescriptor(
175 name='ERROR_INSTANCE_SUSPENDED_BY_LEGAL', index=31, number=1042,
176 options=None,
177 type=None),
178 _descriptor.EnumValueDescriptor(
179 name='ERROR_QUOTA_EXCEEDED', index=32, number=1043,
180 options=None,
181 type=None),
182 _descriptor.EnumValueDescriptor(
183 name='ERROR_INVALID_BINLOG_COORDINATES_IN_DUMP_FILE', index=33, number=1044,
184 options=None,
185 type=None),
186 _descriptor.EnumValueDescriptor(
187 name='ERROR_GAE_APP_CONNECTION_LIMIT_EXCEEDED', index=34, number=1045,
188 options=None,
189 type=None),
191 containing_type=None,
192 options=None,
193 serialized_start=89,
194 serialized_end=1184,
196 _sym_db.RegisterEnumDescriptor(_SQLSERVICECLIENTERROR_CLIENTERRORCODE)
199 _SQLSERVICECLIENTERROR = _descriptor.Descriptor(
200 name='SqlServiceClientError',
201 full_name='speckle.sql.SqlServiceClientError',
202 filename=None,
203 file=DESCRIPTOR,
204 containing_type=None,
205 fields=[
207 extensions=[
209 nested_types=[],
210 enum_types=[
211 _SQLSERVICECLIENTERROR_CLIENTERRORCODE,
213 options=None,
214 is_extendable=False,
215 extension_ranges=[],
216 oneofs=[
218 serialized_start=63,
219 serialized_end=1184,
222 _SQLSERVICECLIENTERROR_CLIENTERRORCODE.containing_type = _SQLSERVICECLIENTERROR
223 DESCRIPTOR.message_types_by_name['SqlServiceClientError'] = _SQLSERVICECLIENTERROR
225 SqlServiceClientError = _reflection.GeneratedProtocolMessageType('SqlServiceClientError', (_message.Message,), dict(
226 DESCRIPTOR = _SQLSERVICECLIENTERROR,
227 __module__ = 'google.storage.speckle.proto.client_error_code_pb2'
230 _sym_db.RegisterMessage(SqlServiceClientError)
233 DESCRIPTOR.has_options = True
234 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\033com.google.protos.cloud.sql\020\002 \002(\002P\001'))