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.
21 _b
=sys
.version_info
[0]<3 and (lambda x
:x
) or (lambda x
:x
.encode('latin1'))
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',
50 _descriptor
.EnumValueDescriptor(
51 name
='OK', index
=0, number
=0,
54 _descriptor
.EnumValueDescriptor(
55 name
='TRANSIENT_ERROR', index
=1, number
=1,
58 _descriptor
.EnumValueDescriptor(
59 name
='INTERNAL_ERROR', index
=2, number
=2,
62 _descriptor
.EnumValueDescriptor(
63 name
='INVALID_REQUEST', index
=3, number
=3,
66 _descriptor
.EnumValueDescriptor(
67 name
='DEPRECATED_TIMEOUT', index
=4, number
=4,
70 _descriptor
.EnumValueDescriptor(
71 name
='DEPRECATED_NOT_AUTHORIZED', index
=5, number
=5,
74 _descriptor
.EnumValueDescriptor(
75 name
='DEPRECATED_RDBMS_ERROR', index
=6, number
=6,
78 _descriptor
.EnumValueDescriptor(
79 name
='ERROR_PUBLIC_ERROR_CODE_START', index
=7, number
=1000,
82 _descriptor
.EnumValueDescriptor(
83 name
='ERROR_RDBMS', index
=8, number
=1001,
86 _descriptor
.EnumValueDescriptor(
87 name
='ERROR_TIMEOUT', index
=9, number
=1002,
90 _descriptor
.EnumValueDescriptor(
91 name
='ERROR_NOT_AUTHORIZED', index
=10, number
=1003,
94 _descriptor
.EnumValueDescriptor(
95 name
='ERROR_INSTANCE_SUSPENDED', index
=11, number
=1004,
98 _descriptor
.EnumValueDescriptor(
99 name
='ERROR_INVALID_PARAMETER', index
=12, number
=1005,
102 _descriptor
.EnumValueDescriptor(
103 name
='ERROR_NOT_ALL_VARIABLES_BOUND', index
=13, number
=1006,
106 _descriptor
.EnumValueDescriptor(
107 name
='ERROR_UNKNOWN_CONNECTION', index
=14, number
=1007,
110 _descriptor
.EnumValueDescriptor(
111 name
='ERROR_UNKNOWN_STATEMENT', index
=15, number
=1008,
114 _descriptor
.EnumValueDescriptor(
115 name
='ERROR_UNKNOWN_CATALOG', index
=16, number
=1009,
118 _descriptor
.EnumValueDescriptor(
119 name
='ERROR_UNKNOWN_CURSOR', index
=17, number
=1010,
122 _descriptor
.EnumValueDescriptor(
123 name
='ERROR_CURSOR_EXHAUSTED', index
=18, number
=1020,
126 _descriptor
.EnumValueDescriptor(
127 name
='ERROR_NOT_YET_IMPLEMENTED', index
=19, number
=1030,
130 _descriptor
.EnumValueDescriptor(
131 name
='ERROR_NOT_IMPLEMENTED', index
=20, number
=1031,
134 _descriptor
.EnumValueDescriptor(
135 name
='ERROR_INSTANCE_MAINTENANCE', index
=21, number
=1032,
138 _descriptor
.EnumValueDescriptor(
139 name
='ERROR_TOO_MANY_CONCURRENT_REQUESTS', index
=22, number
=1033,
142 _descriptor
.EnumValueDescriptor(
143 name
='ERROR_RESOURCE_DOES_NOT_EXIST', index
=23, number
=1034,
146 _descriptor
.EnumValueDescriptor(
147 name
='ERROR_RESOURCE_ALREADY_EXISTS', index
=24, number
=1035,
150 _descriptor
.EnumValueDescriptor(
151 name
='ERROR_CONNECTION_IN_USE', index
=25, number
=1036,
154 _descriptor
.EnumValueDescriptor(
155 name
='ERROR_CLIENT_VERSION_TOO_OLD', index
=26, number
=1037,
158 _descriptor
.EnumValueDescriptor(
159 name
='ERROR_RESPONSE_PENDING', index
=27, number
=1038,
162 _descriptor
.EnumValueDescriptor(
163 name
='ERROR_INSTANCE_SUSPENDED_BY_BILLING', index
=28, number
=1039,
166 _descriptor
.EnumValueDescriptor(
167 name
='ERROR_RESULTSET_TOO_LARGE', index
=29, number
=1040,
170 _descriptor
.EnumValueDescriptor(
171 name
='ERROR_ACTIVATION_POLICY_SET_TO_NEVER', index
=30, number
=1041,
174 _descriptor
.EnumValueDescriptor(
175 name
='ERROR_INSTANCE_SUSPENDED_BY_LEGAL', index
=31, number
=1042,
178 _descriptor
.EnumValueDescriptor(
179 name
='ERROR_QUOTA_EXCEEDED', index
=32, number
=1043,
182 _descriptor
.EnumValueDescriptor(
183 name
='ERROR_INVALID_BINLOG_COORDINATES_IN_DUMP_FILE', index
=33, number
=1044,
186 _descriptor
.EnumValueDescriptor(
187 name
='ERROR_GAE_APP_CONNECTION_LIMIT_EXCEEDED', index
=34, number
=1045,
191 containing_type
=None,
196 _sym_db
.RegisterEnumDescriptor(_SQLSERVICECLIENTERROR_CLIENTERRORCODE
)
199 _SQLSERVICECLIENTERROR
= _descriptor
.Descriptor(
200 name
='SqlServiceClientError',
201 full_name
='speckle.sql.SqlServiceClientError',
204 containing_type
=None,
211 _SQLSERVICECLIENTERROR_CLIENTERRORCODE
,
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'))