google_cloud_rust_raw/api/servicecontrol/v1/
check_error.rs

1// This file is generated by rust-protobuf 2.28.0. Do not edit
2// @generated
3
4// https://github.com/rust-lang/rust-clippy/issues/702
5#![allow(unknown_lints)]
6#![allow(clippy::all)]
7
8#![allow(unused_attributes)]
9#![cfg_attr(rustfmt, rustfmt::skip)]
10
11#![allow(box_pointers)]
12#![allow(dead_code)]
13#![allow(missing_docs)]
14#![allow(non_camel_case_types)]
15#![allow(non_snake_case)]
16#![allow(non_upper_case_globals)]
17#![allow(trivial_casts)]
18#![allow(unused_imports)]
19#![allow(unused_results)]
20//! Generated file from `google/api/servicecontrol/v1/check_error.proto`
21
22/// Generated files are compatible only with the same version
23/// of protobuf runtime.
24// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_28_0;
25
26#[derive(PartialEq,Clone,Default)]
27pub struct CheckError {
28    // message fields
29    pub code: CheckError_Code,
30    pub subject: ::std::string::String,
31    pub detail: ::std::string::String,
32    pub status: ::protobuf::SingularPtrField<super::status::Status>,
33    // special fields
34    pub unknown_fields: ::protobuf::UnknownFields,
35    pub cached_size: ::protobuf::CachedSize,
36}
37
38impl<'a> ::std::default::Default for &'a CheckError {
39    fn default() -> &'a CheckError {
40        <CheckError as ::protobuf::Message>::default_instance()
41    }
42}
43
44impl CheckError {
45    pub fn new() -> CheckError {
46        ::std::default::Default::default()
47    }
48
49    // .google.api.servicecontrol.v1.CheckError.Code code = 1;
50
51
52    pub fn get_code(&self) -> CheckError_Code {
53        self.code
54    }
55    pub fn clear_code(&mut self) {
56        self.code = CheckError_Code::ERROR_CODE_UNSPECIFIED;
57    }
58
59    // Param is passed by value, moved
60    pub fn set_code(&mut self, v: CheckError_Code) {
61        self.code = v;
62    }
63
64    // string subject = 4;
65
66
67    pub fn get_subject(&self) -> &str {
68        &self.subject
69    }
70    pub fn clear_subject(&mut self) {
71        self.subject.clear();
72    }
73
74    // Param is passed by value, moved
75    pub fn set_subject(&mut self, v: ::std::string::String) {
76        self.subject = v;
77    }
78
79    // Mutable pointer to the field.
80    // If field is not initialized, it is initialized with default value first.
81    pub fn mut_subject(&mut self) -> &mut ::std::string::String {
82        &mut self.subject
83    }
84
85    // Take field
86    pub fn take_subject(&mut self) -> ::std::string::String {
87        ::std::mem::replace(&mut self.subject, ::std::string::String::new())
88    }
89
90    // string detail = 2;
91
92
93    pub fn get_detail(&self) -> &str {
94        &self.detail
95    }
96    pub fn clear_detail(&mut self) {
97        self.detail.clear();
98    }
99
100    // Param is passed by value, moved
101    pub fn set_detail(&mut self, v: ::std::string::String) {
102        self.detail = v;
103    }
104
105    // Mutable pointer to the field.
106    // If field is not initialized, it is initialized with default value first.
107    pub fn mut_detail(&mut self) -> &mut ::std::string::String {
108        &mut self.detail
109    }
110
111    // Take field
112    pub fn take_detail(&mut self) -> ::std::string::String {
113        ::std::mem::replace(&mut self.detail, ::std::string::String::new())
114    }
115
116    // .google.rpc.Status status = 3;
117
118
119    pub fn get_status(&self) -> &super::status::Status {
120        self.status.as_ref().unwrap_or_else(|| <super::status::Status as ::protobuf::Message>::default_instance())
121    }
122    pub fn clear_status(&mut self) {
123        self.status.clear();
124    }
125
126    pub fn has_status(&self) -> bool {
127        self.status.is_some()
128    }
129
130    // Param is passed by value, moved
131    pub fn set_status(&mut self, v: super::status::Status) {
132        self.status = ::protobuf::SingularPtrField::some(v);
133    }
134
135    // Mutable pointer to the field.
136    // If field is not initialized, it is initialized with default value first.
137    pub fn mut_status(&mut self) -> &mut super::status::Status {
138        if self.status.is_none() {
139            self.status.set_default();
140        }
141        self.status.as_mut().unwrap()
142    }
143
144    // Take field
145    pub fn take_status(&mut self) -> super::status::Status {
146        self.status.take().unwrap_or_else(|| super::status::Status::new())
147    }
148}
149
150impl ::protobuf::Message for CheckError {
151    fn is_initialized(&self) -> bool {
152        for v in &self.status {
153            if !v.is_initialized() {
154                return false;
155            }
156        };
157        true
158    }
159
160    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
161        while !is.eof()? {
162            let (field_number, wire_type) = is.read_tag_unpack()?;
163            match field_number {
164                1 => {
165                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.code, 1, &mut self.unknown_fields)?
166                },
167                4 => {
168                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.subject)?;
169                },
170                2 => {
171                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.detail)?;
172                },
173                3 => {
174                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.status)?;
175                },
176                _ => {
177                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
178                },
179            };
180        }
181        ::std::result::Result::Ok(())
182    }
183
184    // Compute sizes of nested messages
185    #[allow(unused_variables)]
186    fn compute_size(&self) -> u32 {
187        let mut my_size = 0;
188        if self.code != CheckError_Code::ERROR_CODE_UNSPECIFIED {
189            my_size += ::protobuf::rt::enum_size(1, self.code);
190        }
191        if !self.subject.is_empty() {
192            my_size += ::protobuf::rt::string_size(4, &self.subject);
193        }
194        if !self.detail.is_empty() {
195            my_size += ::protobuf::rt::string_size(2, &self.detail);
196        }
197        if let Some(ref v) = self.status.as_ref() {
198            let len = v.compute_size();
199            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
200        }
201        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
202        self.cached_size.set(my_size);
203        my_size
204    }
205
206    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
207        if self.code != CheckError_Code::ERROR_CODE_UNSPECIFIED {
208            os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.code))?;
209        }
210        if !self.subject.is_empty() {
211            os.write_string(4, &self.subject)?;
212        }
213        if !self.detail.is_empty() {
214            os.write_string(2, &self.detail)?;
215        }
216        if let Some(ref v) = self.status.as_ref() {
217            os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?;
218            os.write_raw_varint32(v.get_cached_size())?;
219            v.write_to_with_cached_sizes(os)?;
220        }
221        os.write_unknown_fields(self.get_unknown_fields())?;
222        ::std::result::Result::Ok(())
223    }
224
225    fn get_cached_size(&self) -> u32 {
226        self.cached_size.get()
227    }
228
229    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
230        &self.unknown_fields
231    }
232
233    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
234        &mut self.unknown_fields
235    }
236
237    fn as_any(&self) -> &dyn (::std::any::Any) {
238        self as &dyn (::std::any::Any)
239    }
240    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
241        self as &mut dyn (::std::any::Any)
242    }
243    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
244        self
245    }
246
247    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
248        Self::descriptor_static()
249    }
250
251    fn new() -> CheckError {
252        CheckError::new()
253    }
254
255    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
256        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
257        descriptor.get(|| {
258            let mut fields = ::std::vec::Vec::new();
259            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<CheckError_Code>>(
260                "code",
261                |m: &CheckError| { &m.code },
262                |m: &mut CheckError| { &mut m.code },
263            ));
264            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
265                "subject",
266                |m: &CheckError| { &m.subject },
267                |m: &mut CheckError| { &mut m.subject },
268            ));
269            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
270                "detail",
271                |m: &CheckError| { &m.detail },
272                |m: &mut CheckError| { &mut m.detail },
273            ));
274            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::status::Status>>(
275                "status",
276                |m: &CheckError| { &m.status },
277                |m: &mut CheckError| { &mut m.status },
278            ));
279            ::protobuf::reflect::MessageDescriptor::new_pb_name::<CheckError>(
280                "CheckError",
281                fields,
282                file_descriptor_proto()
283            )
284        })
285    }
286
287    fn default_instance() -> &'static CheckError {
288        static instance: ::protobuf::rt::LazyV2<CheckError> = ::protobuf::rt::LazyV2::INIT;
289        instance.get(CheckError::new)
290    }
291}
292
293impl ::protobuf::Clear for CheckError {
294    fn clear(&mut self) {
295        self.code = CheckError_Code::ERROR_CODE_UNSPECIFIED;
296        self.subject.clear();
297        self.detail.clear();
298        self.status.clear();
299        self.unknown_fields.clear();
300    }
301}
302
303impl ::std::fmt::Debug for CheckError {
304    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
305        ::protobuf::text_format::fmt(self, f)
306    }
307}
308
309impl ::protobuf::reflect::ProtobufValue for CheckError {
310    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
311        ::protobuf::reflect::ReflectValueRef::Message(self)
312    }
313}
314
315#[derive(Clone,PartialEq,Eq,Debug,Hash)]
316pub enum CheckError_Code {
317    ERROR_CODE_UNSPECIFIED = 0,
318    NOT_FOUND = 5,
319    PERMISSION_DENIED = 7,
320    RESOURCE_EXHAUSTED = 8,
321    SERVICE_NOT_ACTIVATED = 104,
322    BILLING_DISABLED = 107,
323    PROJECT_DELETED = 108,
324    PROJECT_INVALID = 114,
325    CONSUMER_INVALID = 125,
326    IP_ADDRESS_BLOCKED = 109,
327    REFERER_BLOCKED = 110,
328    CLIENT_APP_BLOCKED = 111,
329    API_TARGET_BLOCKED = 122,
330    API_KEY_INVALID = 105,
331    API_KEY_EXPIRED = 112,
332    API_KEY_NOT_FOUND = 113,
333    INVALID_CREDENTIAL = 123,
334    NAMESPACE_LOOKUP_UNAVAILABLE = 300,
335    SERVICE_STATUS_UNAVAILABLE = 301,
336    BILLING_STATUS_UNAVAILABLE = 302,
337    CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE = 305,
338}
339
340impl ::protobuf::ProtobufEnum for CheckError_Code {
341    fn value(&self) -> i32 {
342        *self as i32
343    }
344
345    fn from_i32(value: i32) -> ::std::option::Option<CheckError_Code> {
346        match value {
347            0 => ::std::option::Option::Some(CheckError_Code::ERROR_CODE_UNSPECIFIED),
348            5 => ::std::option::Option::Some(CheckError_Code::NOT_FOUND),
349            7 => ::std::option::Option::Some(CheckError_Code::PERMISSION_DENIED),
350            8 => ::std::option::Option::Some(CheckError_Code::RESOURCE_EXHAUSTED),
351            104 => ::std::option::Option::Some(CheckError_Code::SERVICE_NOT_ACTIVATED),
352            107 => ::std::option::Option::Some(CheckError_Code::BILLING_DISABLED),
353            108 => ::std::option::Option::Some(CheckError_Code::PROJECT_DELETED),
354            114 => ::std::option::Option::Some(CheckError_Code::PROJECT_INVALID),
355            125 => ::std::option::Option::Some(CheckError_Code::CONSUMER_INVALID),
356            109 => ::std::option::Option::Some(CheckError_Code::IP_ADDRESS_BLOCKED),
357            110 => ::std::option::Option::Some(CheckError_Code::REFERER_BLOCKED),
358            111 => ::std::option::Option::Some(CheckError_Code::CLIENT_APP_BLOCKED),
359            122 => ::std::option::Option::Some(CheckError_Code::API_TARGET_BLOCKED),
360            105 => ::std::option::Option::Some(CheckError_Code::API_KEY_INVALID),
361            112 => ::std::option::Option::Some(CheckError_Code::API_KEY_EXPIRED),
362            113 => ::std::option::Option::Some(CheckError_Code::API_KEY_NOT_FOUND),
363            123 => ::std::option::Option::Some(CheckError_Code::INVALID_CREDENTIAL),
364            300 => ::std::option::Option::Some(CheckError_Code::NAMESPACE_LOOKUP_UNAVAILABLE),
365            301 => ::std::option::Option::Some(CheckError_Code::SERVICE_STATUS_UNAVAILABLE),
366            302 => ::std::option::Option::Some(CheckError_Code::BILLING_STATUS_UNAVAILABLE),
367            305 => ::std::option::Option::Some(CheckError_Code::CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE),
368            _ => ::std::option::Option::None
369        }
370    }
371
372    fn values() -> &'static [Self] {
373        static values: &'static [CheckError_Code] = &[
374            CheckError_Code::ERROR_CODE_UNSPECIFIED,
375            CheckError_Code::NOT_FOUND,
376            CheckError_Code::PERMISSION_DENIED,
377            CheckError_Code::RESOURCE_EXHAUSTED,
378            CheckError_Code::SERVICE_NOT_ACTIVATED,
379            CheckError_Code::BILLING_DISABLED,
380            CheckError_Code::PROJECT_DELETED,
381            CheckError_Code::PROJECT_INVALID,
382            CheckError_Code::CONSUMER_INVALID,
383            CheckError_Code::IP_ADDRESS_BLOCKED,
384            CheckError_Code::REFERER_BLOCKED,
385            CheckError_Code::CLIENT_APP_BLOCKED,
386            CheckError_Code::API_TARGET_BLOCKED,
387            CheckError_Code::API_KEY_INVALID,
388            CheckError_Code::API_KEY_EXPIRED,
389            CheckError_Code::API_KEY_NOT_FOUND,
390            CheckError_Code::INVALID_CREDENTIAL,
391            CheckError_Code::NAMESPACE_LOOKUP_UNAVAILABLE,
392            CheckError_Code::SERVICE_STATUS_UNAVAILABLE,
393            CheckError_Code::BILLING_STATUS_UNAVAILABLE,
394            CheckError_Code::CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE,
395        ];
396        values
397    }
398
399    fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
400        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
401        descriptor.get(|| {
402            ::protobuf::reflect::EnumDescriptor::new_pb_name::<CheckError_Code>("CheckError.Code", file_descriptor_proto())
403        })
404    }
405}
406
407impl ::std::marker::Copy for CheckError_Code {
408}
409
410impl ::std::default::Default for CheckError_Code {
411    fn default() -> Self {
412        CheckError_Code::ERROR_CODE_UNSPECIFIED
413    }
414}
415
416impl ::protobuf::reflect::ProtobufValue for CheckError_Code {
417    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
418        ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
419    }
420}
421
422static file_descriptor_proto_data: &'static [u8] = b"\
423    \n.google/api/servicecontrol/v1/check_error.proto\x12\x1cgoogle.api.serv\
424    icecontrol.v1\x1a\x17google/rpc/status.proto\"\xcd\x05\n\nCheckError\x12\
425    A\n\x04code\x18\x01\x20\x01(\x0e2-.google.api.servicecontrol.v1.CheckErr\
426    or.CodeR\x04code\x12\x18\n\x07subject\x18\x04\x20\x01(\tR\x07subject\x12\
427    \x16\n\x06detail\x18\x02\x20\x01(\tR\x06detail\x12*\n\x06status\x18\x03\
428    \x20\x01(\x0b2\x12.google.rpc.StatusR\x06status\"\x9d\x04\n\x04Code\x12\
429    \x1a\n\x16ERROR_CODE_UNSPECIFIED\x10\0\x12\r\n\tNOT_FOUND\x10\x05\x12\
430    \x15\n\x11PERMISSION_DENIED\x10\x07\x12\x16\n\x12RESOURCE_EXHAUSTED\x10\
431    \x08\x12\x19\n\x15SERVICE_NOT_ACTIVATED\x10h\x12\x14\n\x10BILLING_DISABL\
432    ED\x10k\x12\x13\n\x0fPROJECT_DELETED\x10l\x12\x13\n\x0fPROJECT_INVALID\
433    \x10r\x12\x14\n\x10CONSUMER_INVALID\x10}\x12\x16\n\x12IP_ADDRESS_BLOCKED\
434    \x10m\x12\x13\n\x0fREFERER_BLOCKED\x10n\x12\x16\n\x12CLIENT_APP_BLOCKED\
435    \x10o\x12\x16\n\x12API_TARGET_BLOCKED\x10z\x12\x13\n\x0fAPI_KEY_INVALID\
436    \x10i\x12\x13\n\x0fAPI_KEY_EXPIRED\x10p\x12\x15\n\x11API_KEY_NOT_FOUND\
437    \x10q\x12\x16\n\x12INVALID_CREDENTIAL\x10{\x12!\n\x1cNAMESPACE_LOOKUP_UN\
438    AVAILABLE\x10\xac\x02\x12\x1f\n\x1aSERVICE_STATUS_UNAVAILABLE\x10\xad\
439    \x02\x12\x1f\n\x1aBILLING_STATUS_UNAVAILABLE\x10\xae\x02\x12/\n*CLOUD_RE\
440    SOURCE_MANAGER_BACKEND_UNAVAILABLE\x10\xb1\x02B\xea\x01\n\x20com.google.\
441    api.servicecontrol.v1B\x0fCheckErrorProtoP\x01ZJcloud.google.com/go/serv\
442    icecontrol/apiv1/servicecontrolpb;servicecontrolpb\xf8\x01\x01\xaa\x02\
443    \x1eGoogle.Cloud.ServiceControl.V1\xca\x02\x1eGoogle\\Cloud\\ServiceCont\
444    rol\\V1\xea\x02!Google::Cloud::ServiceControl::V1J\xbe!\n\x06\x12\x04\
445    \x0e\0{\x01\n\xbc\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb1\x04\x20Copyright\
446    \x202021\x20Google\x20LLC\n\n\x20Licensed\x20under\x20the\x20Apache\x20L\
447    icense,\x20Version\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20no\
448    t\x20use\x20this\x20file\x20except\x20in\x20compliance\x20with\x20the\
449    \x20License.\n\x20You\x20may\x20obtain\x20a\x20copy\x20of\x20the\x20Lice\
450    nse\x20at\n\n\x20\x20\x20\x20\x20http://www.apache.org/licenses/LICENSE-\
451    2.0\n\n\x20Unless\x20required\x20by\x20applicable\x20law\x20or\x20agreed\
452    \x20to\x20in\x20writing,\x20software\n\x20distributed\x20under\x20the\
453    \x20License\x20is\x20distributed\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\
454    \x20WITHOUT\x20WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20e\
455    ither\x20express\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20\
456    the\x20specific\x20language\x20governing\x20permissions\x20and\n\x20limi\
457    tations\x20under\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0%\n\t\
458    \n\x02\x03\0\x12\x03\x12\0!\n\x08\n\x01\x08\x12\x03\x14\0\x1f\n\t\n\x02\
459    \x08\x1f\x12\x03\x14\0\x1f\n\x08\n\x01\x08\x12\x03\x15\0;\n\t\n\x02\x08%\
460    \x12\x03\x15\0;\n\x08\n\x01\x08\x12\x03\x16\0a\n\t\n\x02\x08\x0b\x12\x03\
461    \x16\0a\n\x08\n\x01\x08\x12\x03\x17\0\"\n\t\n\x02\x08\n\x12\x03\x17\0\"\
462    \n\x08\n\x01\x08\x12\x03\x18\00\n\t\n\x02\x08\x08\x12\x03\x18\00\n\x08\n\
463    \x01\x08\x12\x03\x19\09\n\t\n\x02\x08\x01\x12\x03\x19\09\n\x08\n\x01\x08\
464    \x12\x03\x1a\0;\n\t\n\x02\x08)\x12\x03\x1a\0;\n\x08\n\x01\x08\x12\x03\
465    \x1b\0:\n\t\n\x02\x08-\x12\x03\x1b\0:\n\xa8\x01\n\x02\x04\0\x12\x04\x1f\
466    \0{\x01\x1a\x9b\x01\x20Defines\x20the\x20errors\x20to\x20be\x20returned\
467    \x20in\n\x20[google.api.servicecontrol.v1.CheckResponse.check_errors][go\
468    ogle.api.servicecontrol.v1.CheckResponse.check_errors].\n\n\n\n\x03\x04\
469    \0\x01\x12\x03\x1f\x08\x12\n0\n\x04\x04\0\x04\0\x12\x04!\x02g\x03\x1a\"\
470    \x20Error\x20codes\x20for\x20Check\x20responses.\n\n\x0c\n\x05\x04\0\x04\
471    \0\x01\x12\x03!\x07\x0b\n7\n\x06\x04\0\x04\0\x02\0\x12\x03#\x04\x1f\x1a(\
472    \x20This\x20is\x20never\x20used\x20in\x20`CheckResponse`.\n\n\x0e\n\x07\
473    \x04\0\x04\0\x02\0\x01\x12\x03#\x04\x1a\n\x0e\n\x07\x04\0\x04\0\x02\0\
474    \x02\x12\x03#\x1d\x1e\n\xa5\x01\n\x06\x04\0\x04\0\x02\x01\x12\x03'\x04\
475    \x12\x1a\x95\x01\x20The\x20consumer's\x20project\x20id,\x20network\x20co\
476    ntainer,\x20or\x20resource\x20container\x20was\n\x20not\x20found.\x20Sam\
477    e\x20as\x20[google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND].\n\n\
478    \x0e\n\x07\x04\0\x04\0\x02\x01\x01\x12\x03'\x04\r\n\x0e\n\x07\x04\0\x04\
479    \0\x02\x01\x02\x12\x03'\x10\x11\n\x9e\x01\n\x06\x04\0\x04\0\x02\x02\x12\
480    \x03+\x04\x1a\x1a\x8e\x01\x20The\x20consumer\x20doesn't\x20have\x20acces\
481    s\x20to\x20the\x20specified\x20resource.\n\x20Same\x20as\x20[google.rpc.\
482    Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].\n\n\x0e\n\
483    \x07\x04\0\x04\0\x02\x02\x01\x12\x03+\x04\x15\n\x0e\n\x07\x04\0\x04\0\
484    \x02\x02\x02\x12\x03+\x18\x19\nv\n\x06\x04\0\x04\0\x02\x03\x12\x03.\x04\
485    \x1b\x1ag\x20Quota\x20check\x20failed.\x20Same\x20as\x20[google.rpc.Code\
486    .RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED].\n\n\x0e\n\x07\
487    \x04\0\x04\0\x02\x03\x01\x12\x03.\x04\x16\n\x0e\n\x07\x04\0\x04\0\x02\
488    \x03\x02\x12\x03.\x19\x1a\n;\n\x06\x04\0\x04\0\x02\x04\x12\x031\x04\x20\
489    \x1a,\x20The\x20consumer\x20hasn't\x20activated\x20the\x20service.\n\n\
490    \x0e\n\x07\x04\0\x04\0\x02\x04\x01\x12\x031\x04\x19\n\x0e\n\x07\x04\0\
491    \x04\0\x02\x04\x02\x12\x031\x1c\x1f\nT\n\x06\x04\0\x04\0\x02\x05\x12\x03\
492    4\x04\x1b\x1aE\x20The\x20consumer\x20cannot\x20access\x20the\x20service\
493    \x20because\x20billing\x20is\x20disabled.\n\n\x0e\n\x07\x04\0\x04\0\x02\
494    \x05\x01\x12\x034\x04\x14\n\x0e\n\x07\x04\0\x04\0\x02\x05\x02\x12\x034\
495    \x17\x1a\nS\n\x06\x04\0\x04\0\x02\x06\x12\x037\x04\x1a\x1aD\x20The\x20co\
496    nsumer's\x20project\x20has\x20been\x20marked\x20as\x20deleted\x20(soft\
497    \x20deletion).\n\n\x0e\n\x07\x04\0\x04\0\x02\x06\x01\x12\x037\x04\x13\n\
498    \x0e\n\x07\x04\0\x04\0\x02\x06\x02\x12\x037\x16\x19\nX\n\x06\x04\0\x04\0\
499    \x02\x07\x12\x03:\x04\x1a\x1aI\x20The\x20consumer's\x20project\x20number\
500    \x20or\x20id\x20does\x20not\x20represent\x20a\x20valid\x20project.\n\n\
501    \x0e\n\x07\x04\0\x04\0\x02\x07\x01\x12\x03:\x04\x13\n\x0e\n\x07\x04\0\
502    \x04\0\x02\x07\x02\x12\x03:\x16\x19\ne\n\x06\x04\0\x04\0\x02\x08\x12\x03\
503    >\x04\x1b\x1aV\x20The\x20input\x20consumer\x20info\x20does\x20not\x20rep\
504    resent\x20a\x20valid\x20consumer\x20folder\x20or\n\x20organization.\n\n\
505    \x0e\n\x07\x04\0\x04\0\x02\x08\x01\x12\x03>\x04\x14\n\x0e\n\x07\x04\0\
506    \x04\0\x02\x08\x02\x12\x03>\x17\x1a\n^\n\x06\x04\0\x04\0\x02\t\x12\x03B\
507    \x04\x1d\x1aO\x20The\x20IP\x20address\x20of\x20the\x20consumer\x20is\x20\
508    invalid\x20for\x20the\x20specific\x20consumer\n\x20project.\n\n\x0e\n\
509    \x07\x04\0\x04\0\x02\t\x01\x12\x03B\x04\x16\n\x0e\n\x07\x04\0\x04\0\x02\
510    \t\x02\x12\x03B\x19\x1c\nk\n\x06\x04\0\x04\0\x02\n\x12\x03F\x04\x1a\x1a\
511    \\\x20The\x20referer\x20address\x20of\x20the\x20consumer\x20request\x20i\
512    s\x20invalid\x20for\x20the\x20specific\n\x20consumer\x20project.\n\n\x0e\
513    \n\x07\x04\0\x04\0\x02\n\x01\x12\x03F\x04\x13\n\x0e\n\x07\x04\0\x04\0\
514    \x02\n\x02\x12\x03F\x16\x19\nn\n\x06\x04\0\x04\0\x02\x0b\x12\x03J\x04\
515    \x1d\x1a_\x20The\x20client\x20application\x20of\x20the\x20consumer\x20re\
516    quest\x20is\x20invalid\x20for\x20the\n\x20specific\x20consumer\x20projec\
517    t.\n\n\x0e\n\x07\x04\0\x04\0\x02\x0b\x01\x12\x03J\x04\x16\n\x0e\n\x07\
518    \x04\0\x04\0\x02\x0b\x02\x12\x03J\x19\x1c\na\n\x06\x04\0\x04\0\x02\x0c\
519    \x12\x03N\x04\x1d\x1aR\x20The\x20API\x20targeted\x20by\x20this\x20reques\
520    t\x20is\x20invalid\x20for\x20the\x20specified\x20consumer\n\x20project.\
521    \n\n\x0e\n\x07\x04\0\x04\0\x02\x0c\x01\x12\x03N\x04\x16\n\x0e\n\x07\x04\
522    \0\x04\0\x02\x0c\x02\x12\x03N\x19\x1c\n3\n\x06\x04\0\x04\0\x02\r\x12\x03\
523    Q\x04\x1a\x1a$\x20The\x20consumer's\x20API\x20key\x20is\x20invalid.\n\n\
524    \x0e\n\x07\x04\0\x04\0\x02\r\x01\x12\x03Q\x04\x13\n\x0e\n\x07\x04\0\x04\
525    \0\x02\r\x02\x12\x03Q\x16\x19\n4\n\x06\x04\0\x04\0\x02\x0e\x12\x03T\x04\
526    \x1a\x1a%\x20The\x20consumer's\x20API\x20Key\x20has\x20expired.\n\n\x0e\
527    \n\x07\x04\0\x04\0\x02\x0e\x01\x12\x03T\x04\x13\n\x0e\n\x07\x04\0\x04\0\
528    \x02\x0e\x02\x12\x03T\x16\x19\nG\n\x06\x04\0\x04\0\x02\x0f\x12\x03W\x04\
529    \x1c\x1a8\x20The\x20consumer's\x20API\x20Key\x20was\x20not\x20found\x20i\
530    n\x20config\x20record.\n\n\x0e\n\x07\x04\0\x04\0\x02\x0f\x01\x12\x03W\
531    \x04\x15\n\x0e\n\x07\x04\0\x04\0\x02\x0f\x02\x12\x03W\x18\x1b\nC\n\x06\
532    \x04\0\x04\0\x02\x10\x12\x03Z\x04\x1d\x1a4\x20The\x20credential\x20in\
533    \x20the\x20request\x20can\x20not\x20be\x20verified.\n\n\x0e\n\x07\x04\0\
534    \x04\0\x02\x10\x01\x12\x03Z\x04\x16\n\x0e\n\x07\x04\0\x04\0\x02\x10\x02\
535    \x12\x03Z\x19\x1c\nT\n\x06\x04\0\x04\0\x02\x11\x12\x03]\x04'\x1aE\x20The\
536    \x20backend\x20server\x20for\x20looking\x20up\x20project\x20id/number\
537    \x20is\x20unavailable.\n\n\x0e\n\x07\x04\0\x04\0\x02\x11\x01\x12\x03]\
538    \x04\x20\n\x0e\n\x07\x04\0\x04\0\x02\x11\x02\x12\x03]#&\nO\n\x06\x04\0\
539    \x04\0\x02\x12\x12\x03`\x04%\x1a@\x20The\x20backend\x20server\x20for\x20\
540    checking\x20service\x20status\x20is\x20unavailable.\n\n\x0e\n\x07\x04\0\
541    \x04\0\x02\x12\x01\x12\x03`\x04\x1e\n\x0e\n\x07\x04\0\x04\0\x02\x12\x02\
542    \x12\x03`!$\nO\n\x06\x04\0\x04\0\x02\x13\x12\x03c\x04%\x1a@\x20The\x20ba\
543    ckend\x20server\x20for\x20checking\x20billing\x20status\x20is\x20unavail\
544    able.\n\n\x0e\n\x07\x04\0\x04\0\x02\x13\x01\x12\x03c\x04\x1e\n\x0e\n\x07\
545    \x04\0\x04\0\x02\x13\x02\x12\x03c!$\nF\n\x06\x04\0\x04\0\x02\x14\x12\x03\
546    f\x045\x1a7\x20Cloud\x20Resource\x20Manager\x20backend\x20server\x20is\
547    \x20unavailable.\n\n\x0e\n\x07\x04\0\x04\0\x02\x14\x01\x12\x03f\x04.\n\
548    \x0e\n\x07\x04\0\x04\0\x02\x14\x02\x12\x03f14\n\x1e\n\x04\x04\0\x02\0\
549    \x12\x03j\x02\x10\x1a\x11\x20The\x20error\x20code.\n\n\x0c\n\x05\x04\0\
550    \x02\0\x06\x12\x03j\x02\x06\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03j\x07\x0b\
551    \n\x0c\n\x05\x04\0\x02\0\x03\x12\x03j\x0e\x0f\n\xe5\x01\n\x04\x04\0\x02\
552    \x01\x12\x03r\x02\x15\x1a\xd7\x01\x20Subject\x20to\x20whom\x20this\x20er\
553    ror\x20applies.\x20See\x20the\x20specific\x20code\x20enum\x20for\x20more\
554    \n\x20details\x20on\x20this\x20field.\x20For\x20example:\n\n\x20-\x20\"p\
555    roject:<project-id\x20or\x20project-number>\"\n\x20-\x20\"folder:<folder\
556    -id>\"\n\x20-\x20\"organization:<organization-id>\"\n\n\x0c\n\x05\x04\0\
557    \x02\x01\x05\x12\x03r\x02\x08\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03r\t\
558    \x10\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03r\x13\x14\nP\n\x04\x04\0\x02\
559    \x02\x12\x03u\x02\x14\x1aC\x20Free-form\x20text\x20providing\x20details\
560    \x20on\x20the\x20error\x20cause\x20of\x20the\x20error.\n\n\x0c\n\x05\x04\
561    \0\x02\x02\x05\x12\x03u\x02\x08\n\x0c\n\x05\x04\0\x02\x02\x01\x12\x03u\t\
562    \x0f\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03u\x12\x13\n\xa2\x01\n\x04\x04\
563    \0\x02\x03\x12\x03z\x02\x1f\x1a\x94\x01\x20Contains\x20public\x20informa\
564    tion\x20about\x20the\x20check\x20error.\x20If\x20available,\n\x20`status\
565    .code`\x20will\x20be\x20non\x20zero\x20and\x20client\x20can\x20propagate\
566    \x20it\x20out\x20as\x20public\n\x20error.\n\n\x0c\n\x05\x04\0\x02\x03\
567    \x06\x12\x03z\x02\x13\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03z\x14\x1a\n\
568    \x0c\n\x05\x04\0\x02\x03\x03\x12\x03z\x1d\x1eb\x06proto3\
569";
570
571static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
572
573fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
574    ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
575}
576
577pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
578    file_descriptor_proto_lazy.get(|| {
579        parse_descriptor_proto()
580    })
581}