App Engine Python SDK version 1.8.9
[gae.git] / python / google / storage / speckle / proto / client_error_code_pb2.py
blob180432a96d2f8172de45bce6c7926db9e7d62330
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 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',
42 filename=None,
43 file=DESCRIPTOR,
44 values=[
45 _descriptor.EnumValueDescriptor(
46 name='OK', index=0, number=0,
47 options=None,
48 type=None),
49 _descriptor.EnumValueDescriptor(
50 name='TRANSIENT_ERROR', index=1, number=1,
51 options=None,
52 type=None),
53 _descriptor.EnumValueDescriptor(
54 name='INTERNAL_ERROR', index=2, number=2,
55 options=None,
56 type=None),
57 _descriptor.EnumValueDescriptor(
58 name='INVALID_REQUEST', index=3, number=3,
59 options=None,
60 type=None),
61 _descriptor.EnumValueDescriptor(
62 name='DEPRECATED_TIMEOUT', index=4, number=4,
63 options=None,
64 type=None),
65 _descriptor.EnumValueDescriptor(
66 name='DEPRECATED_NOT_AUTHORIZED', index=5, number=5,
67 options=None,
68 type=None),
69 _descriptor.EnumValueDescriptor(
70 name='DEPRECATED_RDBMS_ERROR', index=6, number=6,
71 options=None,
72 type=None),
73 _descriptor.EnumValueDescriptor(
74 name='ERROR_PUBLIC_ERROR_CODE_START', index=7, number=1000,
75 options=None,
76 type=None),
77 _descriptor.EnumValueDescriptor(
78 name='ERROR_RDBMS', index=8, number=1001,
79 options=None,
80 type=None),
81 _descriptor.EnumValueDescriptor(
82 name='ERROR_TIMEOUT', index=9, number=1002,
83 options=None,
84 type=None),
85 _descriptor.EnumValueDescriptor(
86 name='ERROR_NOT_AUTHORIZED', index=10, number=1003,
87 options=None,
88 type=None),
89 _descriptor.EnumValueDescriptor(
90 name='ERROR_INSTANCE_SUSPENDED', index=11, number=1004,
91 options=None,
92 type=None),
93 _descriptor.EnumValueDescriptor(
94 name='ERROR_INVALID_PARAMETER', index=12, number=1005,
95 options=None,
96 type=None),
97 _descriptor.EnumValueDescriptor(
98 name='ERROR_NOT_ALL_VARIABLES_BOUND', index=13, number=1006,
99 options=None,
100 type=None),
101 _descriptor.EnumValueDescriptor(
102 name='ERROR_UNKNOWN_CONNECTION', index=14, number=1007,
103 options=None,
104 type=None),
105 _descriptor.EnumValueDescriptor(
106 name='ERROR_UNKNOWN_STATEMENT', index=15, number=1008,
107 options=None,
108 type=None),
109 _descriptor.EnumValueDescriptor(
110 name='ERROR_UNKNOWN_CATALOG', index=16, number=1009,
111 options=None,
112 type=None),
113 _descriptor.EnumValueDescriptor(
114 name='ERROR_UNKNOWN_CURSOR', index=17, number=1010,
115 options=None,
116 type=None),
117 _descriptor.EnumValueDescriptor(
118 name='ERROR_CURSOR_EXHAUSTED', index=18, number=1020,
119 options=None,
120 type=None),
121 _descriptor.EnumValueDescriptor(
122 name='ERROR_NOT_YET_IMPLEMENTED', index=19, number=1030,
123 options=None,
124 type=None),
125 _descriptor.EnumValueDescriptor(
126 name='ERROR_NOT_IMPLEMENTED', index=20, number=1031,
127 options=None,
128 type=None),
129 _descriptor.EnumValueDescriptor(
130 name='ERROR_INSTANCE_MAINTENANCE', index=21, number=1032,
131 options=None,
132 type=None),
133 _descriptor.EnumValueDescriptor(
134 name='ERROR_TOO_MANY_CONCURRENT_REQUESTS', index=22, number=1033,
135 options=None,
136 type=None),
137 _descriptor.EnumValueDescriptor(
138 name='ERROR_RESOURCE_DOES_NOT_EXIST', index=23, number=1034,
139 options=None,
140 type=None),
141 _descriptor.EnumValueDescriptor(
142 name='ERROR_RESOURCE_ALREADY_EXISTS', index=24, number=1035,
143 options=None,
144 type=None),
145 _descriptor.EnumValueDescriptor(
146 name='ERROR_CONNECTION_IN_USE', index=25, number=1036,
147 options=None,
148 type=None),
149 _descriptor.EnumValueDescriptor(
150 name='ERROR_CLIENT_VERSION_TOO_OLD', index=26, number=1037,
151 options=None,
152 type=None),
153 _descriptor.EnumValueDescriptor(
154 name='ERROR_RESPONSE_PENDING', index=27, number=1038,
155 options=None,
156 type=None),
157 _descriptor.EnumValueDescriptor(
158 name='ERROR_INSTANCE_SUSPENDED_BY_BILLING', index=28, number=1039,
159 options=None,
160 type=None),
161 _descriptor.EnumValueDescriptor(
162 name='ERROR_RESULTSET_TOO_LARGE', index=29, number=1040,
163 options=None,
164 type=None),
165 _descriptor.EnumValueDescriptor(
166 name='ERROR_ACTIVATION_POLICY_SET_TO_NEVER', index=30, number=1041,
167 options=None,
168 type=None),
169 _descriptor.EnumValueDescriptor(
170 name='ERROR_INSTANCE_SUSPENDED_BY_LEGAL', index=31, number=1042,
171 options=None,
172 type=None),
173 _descriptor.EnumValueDescriptor(
174 name='ERROR_QUOTA_EXCEEDED', index=32, number=1043,
175 options=None,
176 type=None),
178 containing_type=None,
179 options=None,
180 serialized_start=89,
181 serialized_end=1086,
185 _SQLSERVICECLIENTERROR = _descriptor.Descriptor(
186 name='SqlServiceClientError',
187 full_name='speckle.sql.SqlServiceClientError',
188 filename=None,
189 file=DESCRIPTOR,
190 containing_type=None,
191 fields=[
193 extensions=[
195 nested_types=[],
196 enum_types=[
197 _SQLSERVICECLIENTERROR_CLIENTERRORCODE,
199 options=None,
200 is_extendable=False,
201 extension_ranges=[],
202 serialized_start=63,
203 serialized_end=1086,
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'))