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'))
22 from google
.net
.proto2
.python
.public
import descriptor
as _descriptor
23 from google
.net
.proto2
.python
.public
import message
as _message
24 from google
.net
.proto2
.python
.public
import reflection
as _reflection
25 from google
.net
.proto2
.proto
import descriptor_pb2
31 DESCRIPTOR
= _descriptor
.FileDescriptor(
32 name
='storage/speckle/proto/client_error_code.proto',
33 package
='speckle.sql',
34 serialized_pb
=_b('\n-storage/speckle/proto/client_error_code.proto\x12\x0bspeckle.sql\"\xff\x07\n\x15SqlServiceClientError\"\xe5\x07\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\x42%\n\x1b\x63om.google.protos.cloud.sql\x10\x02 \x02(\x02P\x01')
39 _SQLSERVICECLIENTERROR_CLIENTERRORCODE
= _descriptor
.EnumDescriptor(
40 name
='ClientErrorCode',
41 full_name
='speckle.sql.SqlServiceClientError.ClientErrorCode',
45 _descriptor
.EnumValueDescriptor(
46 name
='OK', index
=0, number
=0,
49 _descriptor
.EnumValueDescriptor(
50 name
='TRANSIENT_ERROR', index
=1, number
=1,
53 _descriptor
.EnumValueDescriptor(
54 name
='INTERNAL_ERROR', index
=2, number
=2,
57 _descriptor
.EnumValueDescriptor(
58 name
='INVALID_REQUEST', index
=3, number
=3,
61 _descriptor
.EnumValueDescriptor(
62 name
='DEPRECATED_TIMEOUT', index
=4, number
=4,
65 _descriptor
.EnumValueDescriptor(
66 name
='DEPRECATED_NOT_AUTHORIZED', index
=5, number
=5,
69 _descriptor
.EnumValueDescriptor(
70 name
='DEPRECATED_RDBMS_ERROR', index
=6, number
=6,
73 _descriptor
.EnumValueDescriptor(
74 name
='ERROR_PUBLIC_ERROR_CODE_START', index
=7, number
=1000,
77 _descriptor
.EnumValueDescriptor(
78 name
='ERROR_RDBMS', index
=8, number
=1001,
81 _descriptor
.EnumValueDescriptor(
82 name
='ERROR_TIMEOUT', index
=9, number
=1002,
85 _descriptor
.EnumValueDescriptor(
86 name
='ERROR_NOT_AUTHORIZED', index
=10, number
=1003,
89 _descriptor
.EnumValueDescriptor(
90 name
='ERROR_INSTANCE_SUSPENDED', index
=11, number
=1004,
93 _descriptor
.EnumValueDescriptor(
94 name
='ERROR_INVALID_PARAMETER', index
=12, number
=1005,
97 _descriptor
.EnumValueDescriptor(
98 name
='ERROR_NOT_ALL_VARIABLES_BOUND', index
=13, number
=1006,
101 _descriptor
.EnumValueDescriptor(
102 name
='ERROR_UNKNOWN_CONNECTION', index
=14, number
=1007,
105 _descriptor
.EnumValueDescriptor(
106 name
='ERROR_UNKNOWN_STATEMENT', index
=15, number
=1008,
109 _descriptor
.EnumValueDescriptor(
110 name
='ERROR_UNKNOWN_CATALOG', index
=16, number
=1009,
113 _descriptor
.EnumValueDescriptor(
114 name
='ERROR_UNKNOWN_CURSOR', index
=17, number
=1010,
117 _descriptor
.EnumValueDescriptor(
118 name
='ERROR_CURSOR_EXHAUSTED', index
=18, number
=1020,
121 _descriptor
.EnumValueDescriptor(
122 name
='ERROR_NOT_YET_IMPLEMENTED', index
=19, number
=1030,
125 _descriptor
.EnumValueDescriptor(
126 name
='ERROR_NOT_IMPLEMENTED', index
=20, number
=1031,
129 _descriptor
.EnumValueDescriptor(
130 name
='ERROR_INSTANCE_MAINTENANCE', index
=21, number
=1032,
133 _descriptor
.EnumValueDescriptor(
134 name
='ERROR_TOO_MANY_CONCURRENT_REQUESTS', index
=22, number
=1033,
137 _descriptor
.EnumValueDescriptor(
138 name
='ERROR_RESOURCE_DOES_NOT_EXIST', index
=23, number
=1034,
141 _descriptor
.EnumValueDescriptor(
142 name
='ERROR_RESOURCE_ALREADY_EXISTS', index
=24, number
=1035,
145 _descriptor
.EnumValueDescriptor(
146 name
='ERROR_CONNECTION_IN_USE', index
=25, number
=1036,
149 _descriptor
.EnumValueDescriptor(
150 name
='ERROR_CLIENT_VERSION_TOO_OLD', index
=26, number
=1037,
153 _descriptor
.EnumValueDescriptor(
154 name
='ERROR_RESPONSE_PENDING', index
=27, number
=1038,
157 _descriptor
.EnumValueDescriptor(
158 name
='ERROR_INSTANCE_SUSPENDED_BY_BILLING', index
=28, number
=1039,
161 _descriptor
.EnumValueDescriptor(
162 name
='ERROR_RESULTSET_TOO_LARGE', index
=29, number
=1040,
165 _descriptor
.EnumValueDescriptor(
166 name
='ERROR_ACTIVATION_POLICY_SET_TO_NEVER', index
=30, number
=1041,
169 _descriptor
.EnumValueDescriptor(
170 name
='ERROR_INSTANCE_SUSPENDED_BY_LEGAL', index
=31, number
=1042,
173 _descriptor
.EnumValueDescriptor(
174 name
='ERROR_QUOTA_EXCEEDED', index
=32, number
=1043,
178 containing_type
=None,
185 _SQLSERVICECLIENTERROR
= _descriptor
.Descriptor(
186 name
='SqlServiceClientError',
187 full_name
='speckle.sql.SqlServiceClientError',
190 containing_type
=None,
197 _SQLSERVICECLIENTERROR_CLIENTERRORCODE
,
206 _SQLSERVICECLIENTERROR_CLIENTERRORCODE
.containing_type
= _SQLSERVICECLIENTERROR
207 DESCRIPTOR
.message_types_by_name
['SqlServiceClientError'] = _SQLSERVICECLIENTERROR
209 SqlServiceClientError
= _reflection
.GeneratedProtocolMessageType('SqlServiceClientError', (_message
.Message
,), dict(
210 DESCRIPTOR
= _SQLSERVICECLIENTERROR
,
211 __module__
= 'google.storage.speckle.proto.client_error_code_pb2'
216 DESCRIPTOR
.has_options
= True
217 DESCRIPTOR
._options
= _descriptor
._ParseOptions
(descriptor_pb2
.FileOptions(), _b('\n\033com.google.protos.cloud.sql\020\002 \002(\002P\001'))