google_cloud_rust_raw/api/
policy.rs1#![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#[derive(PartialEq,Clone,Default)]
27pub struct FieldPolicy {
28 pub selector: ::std::string::String,
30 pub resource_permission: ::std::string::String,
31 pub resource_type: ::std::string::String,
32 pub unknown_fields: ::protobuf::UnknownFields,
34 pub cached_size: ::protobuf::CachedSize,
35}
36
37impl<'a> ::std::default::Default for &'a FieldPolicy {
38 fn default() -> &'a FieldPolicy {
39 <FieldPolicy as ::protobuf::Message>::default_instance()
40 }
41}
42
43impl FieldPolicy {
44 pub fn new() -> FieldPolicy {
45 ::std::default::Default::default()
46 }
47
48 pub fn get_selector(&self) -> &str {
52 &self.selector
53 }
54 pub fn clear_selector(&mut self) {
55 self.selector.clear();
56 }
57
58 pub fn set_selector(&mut self, v: ::std::string::String) {
60 self.selector = v;
61 }
62
63 pub fn mut_selector(&mut self) -> &mut ::std::string::String {
66 &mut self.selector
67 }
68
69 pub fn take_selector(&mut self) -> ::std::string::String {
71 ::std::mem::replace(&mut self.selector, ::std::string::String::new())
72 }
73
74 pub fn get_resource_permission(&self) -> &str {
78 &self.resource_permission
79 }
80 pub fn clear_resource_permission(&mut self) {
81 self.resource_permission.clear();
82 }
83
84 pub fn set_resource_permission(&mut self, v: ::std::string::String) {
86 self.resource_permission = v;
87 }
88
89 pub fn mut_resource_permission(&mut self) -> &mut ::std::string::String {
92 &mut self.resource_permission
93 }
94
95 pub fn take_resource_permission(&mut self) -> ::std::string::String {
97 ::std::mem::replace(&mut self.resource_permission, ::std::string::String::new())
98 }
99
100 pub fn get_resource_type(&self) -> &str {
104 &self.resource_type
105 }
106 pub fn clear_resource_type(&mut self) {
107 self.resource_type.clear();
108 }
109
110 pub fn set_resource_type(&mut self, v: ::std::string::String) {
112 self.resource_type = v;
113 }
114
115 pub fn mut_resource_type(&mut self) -> &mut ::std::string::String {
118 &mut self.resource_type
119 }
120
121 pub fn take_resource_type(&mut self) -> ::std::string::String {
123 ::std::mem::replace(&mut self.resource_type, ::std::string::String::new())
124 }
125}
126
127impl ::protobuf::Message for FieldPolicy {
128 fn is_initialized(&self) -> bool {
129 true
130 }
131
132 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
133 while !is.eof()? {
134 let (field_number, wire_type) = is.read_tag_unpack()?;
135 match field_number {
136 1 => {
137 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.selector)?;
138 },
139 2 => {
140 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.resource_permission)?;
141 },
142 3 => {
143 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.resource_type)?;
144 },
145 _ => {
146 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
147 },
148 };
149 }
150 ::std::result::Result::Ok(())
151 }
152
153 #[allow(unused_variables)]
155 fn compute_size(&self) -> u32 {
156 let mut my_size = 0;
157 if !self.selector.is_empty() {
158 my_size += ::protobuf::rt::string_size(1, &self.selector);
159 }
160 if !self.resource_permission.is_empty() {
161 my_size += ::protobuf::rt::string_size(2, &self.resource_permission);
162 }
163 if !self.resource_type.is_empty() {
164 my_size += ::protobuf::rt::string_size(3, &self.resource_type);
165 }
166 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
167 self.cached_size.set(my_size);
168 my_size
169 }
170
171 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
172 if !self.selector.is_empty() {
173 os.write_string(1, &self.selector)?;
174 }
175 if !self.resource_permission.is_empty() {
176 os.write_string(2, &self.resource_permission)?;
177 }
178 if !self.resource_type.is_empty() {
179 os.write_string(3, &self.resource_type)?;
180 }
181 os.write_unknown_fields(self.get_unknown_fields())?;
182 ::std::result::Result::Ok(())
183 }
184
185 fn get_cached_size(&self) -> u32 {
186 self.cached_size.get()
187 }
188
189 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
190 &self.unknown_fields
191 }
192
193 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
194 &mut self.unknown_fields
195 }
196
197 fn as_any(&self) -> &dyn (::std::any::Any) {
198 self as &dyn (::std::any::Any)
199 }
200 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
201 self as &mut dyn (::std::any::Any)
202 }
203 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
204 self
205 }
206
207 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
208 Self::descriptor_static()
209 }
210
211 fn new() -> FieldPolicy {
212 FieldPolicy::new()
213 }
214
215 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
216 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
217 descriptor.get(|| {
218 let mut fields = ::std::vec::Vec::new();
219 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
220 "selector",
221 |m: &FieldPolicy| { &m.selector },
222 |m: &mut FieldPolicy| { &mut m.selector },
223 ));
224 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
225 "resource_permission",
226 |m: &FieldPolicy| { &m.resource_permission },
227 |m: &mut FieldPolicy| { &mut m.resource_permission },
228 ));
229 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
230 "resource_type",
231 |m: &FieldPolicy| { &m.resource_type },
232 |m: &mut FieldPolicy| { &mut m.resource_type },
233 ));
234 ::protobuf::reflect::MessageDescriptor::new_pb_name::<FieldPolicy>(
235 "FieldPolicy",
236 fields,
237 file_descriptor_proto()
238 )
239 })
240 }
241
242 fn default_instance() -> &'static FieldPolicy {
243 static instance: ::protobuf::rt::LazyV2<FieldPolicy> = ::protobuf::rt::LazyV2::INIT;
244 instance.get(FieldPolicy::new)
245 }
246}
247
248impl ::protobuf::Clear for FieldPolicy {
249 fn clear(&mut self) {
250 self.selector.clear();
251 self.resource_permission.clear();
252 self.resource_type.clear();
253 self.unknown_fields.clear();
254 }
255}
256
257impl ::std::fmt::Debug for FieldPolicy {
258 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
259 ::protobuf::text_format::fmt(self, f)
260 }
261}
262
263impl ::protobuf::reflect::ProtobufValue for FieldPolicy {
264 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
265 ::protobuf::reflect::ReflectValueRef::Message(self)
266 }
267}
268
269#[derive(PartialEq,Clone,Default)]
270pub struct MethodPolicy {
271 pub selector: ::std::string::String,
273 pub request_policies: ::protobuf::RepeatedField<FieldPolicy>,
274 pub unknown_fields: ::protobuf::UnknownFields,
276 pub cached_size: ::protobuf::CachedSize,
277}
278
279impl<'a> ::std::default::Default for &'a MethodPolicy {
280 fn default() -> &'a MethodPolicy {
281 <MethodPolicy as ::protobuf::Message>::default_instance()
282 }
283}
284
285impl MethodPolicy {
286 pub fn new() -> MethodPolicy {
287 ::std::default::Default::default()
288 }
289
290 pub fn get_selector(&self) -> &str {
294 &self.selector
295 }
296 pub fn clear_selector(&mut self) {
297 self.selector.clear();
298 }
299
300 pub fn set_selector(&mut self, v: ::std::string::String) {
302 self.selector = v;
303 }
304
305 pub fn mut_selector(&mut self) -> &mut ::std::string::String {
308 &mut self.selector
309 }
310
311 pub fn take_selector(&mut self) -> ::std::string::String {
313 ::std::mem::replace(&mut self.selector, ::std::string::String::new())
314 }
315
316 pub fn get_request_policies(&self) -> &[FieldPolicy] {
320 &self.request_policies
321 }
322 pub fn clear_request_policies(&mut self) {
323 self.request_policies.clear();
324 }
325
326 pub fn set_request_policies(&mut self, v: ::protobuf::RepeatedField<FieldPolicy>) {
328 self.request_policies = v;
329 }
330
331 pub fn mut_request_policies(&mut self) -> &mut ::protobuf::RepeatedField<FieldPolicy> {
333 &mut self.request_policies
334 }
335
336 pub fn take_request_policies(&mut self) -> ::protobuf::RepeatedField<FieldPolicy> {
338 ::std::mem::replace(&mut self.request_policies, ::protobuf::RepeatedField::new())
339 }
340}
341
342impl ::protobuf::Message for MethodPolicy {
343 fn is_initialized(&self) -> bool {
344 for v in &self.request_policies {
345 if !v.is_initialized() {
346 return false;
347 }
348 };
349 true
350 }
351
352 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
353 while !is.eof()? {
354 let (field_number, wire_type) = is.read_tag_unpack()?;
355 match field_number {
356 9 => {
357 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.selector)?;
358 },
359 2 => {
360 ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.request_policies)?;
361 },
362 _ => {
363 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
364 },
365 };
366 }
367 ::std::result::Result::Ok(())
368 }
369
370 #[allow(unused_variables)]
372 fn compute_size(&self) -> u32 {
373 let mut my_size = 0;
374 if !self.selector.is_empty() {
375 my_size += ::protobuf::rt::string_size(9, &self.selector);
376 }
377 for value in &self.request_policies {
378 let len = value.compute_size();
379 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
380 };
381 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
382 self.cached_size.set(my_size);
383 my_size
384 }
385
386 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
387 if !self.selector.is_empty() {
388 os.write_string(9, &self.selector)?;
389 }
390 for v in &self.request_policies {
391 os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
392 os.write_raw_varint32(v.get_cached_size())?;
393 v.write_to_with_cached_sizes(os)?;
394 };
395 os.write_unknown_fields(self.get_unknown_fields())?;
396 ::std::result::Result::Ok(())
397 }
398
399 fn get_cached_size(&self) -> u32 {
400 self.cached_size.get()
401 }
402
403 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
404 &self.unknown_fields
405 }
406
407 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
408 &mut self.unknown_fields
409 }
410
411 fn as_any(&self) -> &dyn (::std::any::Any) {
412 self as &dyn (::std::any::Any)
413 }
414 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
415 self as &mut dyn (::std::any::Any)
416 }
417 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
418 self
419 }
420
421 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
422 Self::descriptor_static()
423 }
424
425 fn new() -> MethodPolicy {
426 MethodPolicy::new()
427 }
428
429 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
430 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
431 descriptor.get(|| {
432 let mut fields = ::std::vec::Vec::new();
433 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
434 "selector",
435 |m: &MethodPolicy| { &m.selector },
436 |m: &mut MethodPolicy| { &mut m.selector },
437 ));
438 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<FieldPolicy>>(
439 "request_policies",
440 |m: &MethodPolicy| { &m.request_policies },
441 |m: &mut MethodPolicy| { &mut m.request_policies },
442 ));
443 ::protobuf::reflect::MessageDescriptor::new_pb_name::<MethodPolicy>(
444 "MethodPolicy",
445 fields,
446 file_descriptor_proto()
447 )
448 })
449 }
450
451 fn default_instance() -> &'static MethodPolicy {
452 static instance: ::protobuf::rt::LazyV2<MethodPolicy> = ::protobuf::rt::LazyV2::INIT;
453 instance.get(MethodPolicy::new)
454 }
455}
456
457impl ::protobuf::Clear for MethodPolicy {
458 fn clear(&mut self) {
459 self.selector.clear();
460 self.request_policies.clear();
461 self.unknown_fields.clear();
462 }
463}
464
465impl ::std::fmt::Debug for MethodPolicy {
466 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
467 ::protobuf::text_format::fmt(self, f)
468 }
469}
470
471impl ::protobuf::reflect::ProtobufValue for MethodPolicy {
472 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
473 ::protobuf::reflect::ReflectValueRef::Message(self)
474 }
475}
476
477pub mod exts {
479
480 pub const field_policy: ::protobuf::ext::ExtFieldOptional<::protobuf::descriptor::FieldOptions, ::protobuf::types::ProtobufTypeMessage<super::FieldPolicy>> = ::protobuf::ext::ExtFieldOptional { field_number: 158361448, phantom: ::std::marker::PhantomData };
481
482 pub const method_policy: ::protobuf::ext::ExtFieldOptional<::protobuf::descriptor::MethodOptions, ::protobuf::types::ProtobufTypeMessage<super::MethodPolicy>> = ::protobuf::ext::ExtFieldOptional { field_number: 161893301, phantom: ::std::marker::PhantomData };
483}
484
485static file_descriptor_proto_data: &'static [u8] = b"\
486 \n\x17google/api/policy.proto\x12\ngoogle.api\x1a\x20google/protobuf/des\
487 criptor.proto\"\x7f\n\x0bFieldPolicy\x12\x1a\n\x08selector\x18\x01\x20\
488 \x01(\tR\x08selector\x12/\n\x13resource_permission\x18\x02\x20\x01(\tR\
489 \x12resourcePermission\x12#\n\rresource_type\x18\x03\x20\x01(\tR\x0creso\
490 urceType\"n\n\x0cMethodPolicy\x12\x1a\n\x08selector\x18\t\x20\x01(\tR\
491 \x08selector\x12B\n\x10request_policies\x18\x02\x20\x03(\x0b2\x17.google\
492 .api.FieldPolicyR\x0frequestPolicies:\\\n\x0cfield_policy\x18\xe8\xce\
493 \xc1K\x20\x01(\x0b2\x17.google.api.FieldPolicy\x12\x1d.google.protobuf.F\
494 ieldOptionsR\x0bfieldPolicy:`\n\rmethod_policy\x18\xb5\x97\x99M\x20\x01(\
495 \x0b2\x18.google.api.MethodPolicy\x12\x1e.google.protobuf.MethodOptionsR\
496 \x0cmethodPolicyBp\n\x0ecom.google.apiB\x0bPolicyProtoP\x01ZEgoogle.gola\
497 ng.org/genproto/googleapis/api/serviceconfig;serviceconfig\xf8\x01\x01\
498 \xa2\x02\x04GAPIJ\xe0\x17\n\x06\x12\x04\x0e\0T\x01\n\xbc\x04\n\x01\x0c\
499 \x12\x03\x0e\0\x122\xb1\x04\x20Copyright\x202023\x20Google\x20LLC\n\n\
500 \x20Licensed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\x20\
501 (the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\x20e\
502 xcept\x20in\x20compliance\x20with\x20the\x20License.\n\x20You\x20may\x20\
503 obtain\x20a\x20copy\x20of\x20the\x20License\x20at\n\n\x20\x20\x20\x20\
504 \x20http://www.apache.org/licenses/LICENSE-2.0\n\n\x20Unless\x20required\
505 \x20by\x20applicable\x20law\x20or\x20agreed\x20to\x20in\x20writing,\x20s\
506 oftware\n\x20distributed\x20under\x20the\x20License\x20is\x20distributed\
507 \x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20WARRANTIES\x20OR\
508 \x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\x20impli\
509 ed.\n\x20See\x20the\x20License\x20for\x20the\x20specific\x20language\x20\
510 governing\x20permissions\x20and\n\x20limitations\x20under\x20the\x20Lice\
511 nse.\n\n\x08\n\x01\x02\x12\x03\x10\0\x13\n\t\n\x02\x03\0\x12\x03\x12\0*\
512 \n\x08\n\x01\x08\x12\x03\x14\0\x1f\n\t\n\x02\x08\x1f\x12\x03\x14\0\x1f\n\
513 \x08\n\x01\x08\x12\x03\x15\0\\\n\t\n\x02\x08\x0b\x12\x03\x15\0\\\n\x08\n\
514 \x01\x08\x12\x03\x16\0\"\n\t\n\x02\x08\n\x12\x03\x16\0\"\n\x08\n\x01\x08\
515 \x12\x03\x17\0,\n\t\n\x02\x08\x08\x12\x03\x17\0,\n\x08\n\x01\x08\x12\x03\
516 \x18\0'\n\t\n\x02\x08\x01\x12\x03\x18\0'\n\x08\n\x01\x08\x12\x03\x19\0\"\
517 \n\t\n\x02\x08$\x12\x03\x19\0\"\nK\n\x01\x07\x12\x04\x1c\0\x1f\x01\x1a@\
518 \x20Provides\x20`google.api.field_policy`\x20annotation\x20at\x20proto\
519 \x20fields.\n\n!\n\x02\x07\0\x12\x03\x1e\x02'\x1a\x16\x20See\x20[FieldPo\
520 licy][].\n\n\n\n\x03\x07\0\x02\x12\x03\x1c\x07#\n\n\n\x03\x07\0\x06\x12\
521 \x03\x1e\x02\r\n\n\n\x03\x07\0\x01\x12\x03\x1e\x0e\x1a\n\n\n\x03\x07\0\
522 \x03\x12\x03\x1e\x1d&\nM\n\x01\x07\x12\x04\"\0%\x01\x1aB\x20Provides\x20\
523 `google.api.method_policy`\x20annotation\x20at\x20proto\x20methods.\n\n\
524 \"\n\x02\x07\x01\x12\x03$\x02)\x1a\x17\x20See\x20[MethodPolicy][].\n\n\n\
525 \n\x03\x07\x01\x02\x12\x03\"\x07$\n\n\n\x03\x07\x01\x06\x12\x03$\x02\x0e\
526 \n\n\n\x03\x07\x01\x01\x12\x03$\x0f\x1c\n\n\n\x03\x07\x01\x03\x12\x03$\
527 \x1f(\n\xca\x03\n\x02\x04\0\x12\x04/\0D\x01\x1a\xbd\x03\x20Google\x20API\
528 \x20Policy\x20Annotation\n\n\x20This\x20message\x20defines\x20a\x20simpl\
529 e\x20API\x20policy\x20annotation\x20that\x20can\x20be\x20used\x20to\n\
530 \x20annotate\x20API\x20request\x20and\x20response\x20message\x20fields\
531 \x20with\x20applicable\x20policies.\n\x20One\x20field\x20may\x20have\x20\
532 multiple\x20applicable\x20policies\x20that\x20must\x20all\x20be\x20satis\
533 fied\n\x20before\x20a\x20request\x20can\x20be\x20processed.\x20This\x20p\
534 olicy\x20annotation\x20is\x20used\x20to\n\x20generate\x20the\x20overall\
535 \x20policy\x20that\x20will\x20be\x20used\x20for\x20automatic\x20runtime\
536 \n\x20policy\x20enforcement\x20and\x20documentation\x20generation.\n\n\n\
537 \n\x03\x04\0\x01\x12\x03/\x08\x13\n\xbc\x03\n\x04\x04\0\x02\0\x12\x03:\
538 \x02\x16\x1a\xae\x03\x20Selects\x20one\x20or\x20more\x20request\x20or\
539 \x20response\x20message\x20fields\x20to\x20apply\x20this\n\x20`FieldPoli\
540 cy`.\n\n\x20When\x20a\x20`FieldPolicy`\x20is\x20used\x20in\x20proto\x20a\
541 nnotation,\x20the\x20selector\x20must\n\x20be\x20left\x20as\x20empty.\
542 \x20The\x20service\x20config\x20generator\x20will\x20automatically\x20fi\
543 ll\n\x20the\x20correct\x20value.\n\n\x20When\x20a\x20`FieldPolicy`\x20is\
544 \x20used\x20in\x20service\x20config,\x20the\x20selector\x20must\x20be\
545 \x20a\n\x20comma-separated\x20string\x20with\x20valid\x20request\x20or\
546 \x20response\x20field\x20paths,\n\x20such\x20as\x20\"foo.bar\"\x20or\x20\
547 \"foo.bar,foo.baz\".\n\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03:\x02\x08\n\
548 \x0c\n\x05\x04\0\x02\0\x01\x12\x03:\t\x11\n\x0c\n\x05\x04\0\x02\0\x03\
549 \x12\x03:\x14\x15\n\x86\x02\n\x04\x04\0\x02\x01\x12\x03@\x02!\x1a\xf8\
550 \x01\x20Specifies\x20the\x20required\x20permission(s)\x20for\x20the\x20r\
551 esource\x20referred\x20to\x20by\x20the\n\x20field.\x20It\x20requires\x20\
552 the\x20field\x20contains\x20a\x20valid\x20resource\x20reference,\x20and\
553 \n\x20the\x20request\x20must\x20pass\x20the\x20permission\x20checks\x20t\
554 o\x20proceed.\x20For\x20example,\n\x20\"resourcemanager.projects.get\".\
555 \n\n\x0c\n\x05\x04\0\x02\x01\x05\x12\x03@\x02\x08\n\x0c\n\x05\x04\0\x02\
556 \x01\x01\x12\x03@\t\x1c\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03@\x1f\x20\n\
557 U\n\x04\x04\0\x02\x02\x12\x03C\x02\x1b\x1aH\x20Specifies\x20the\x20resou\
558 rce\x20type\x20for\x20the\x20resource\x20referred\x20to\x20by\x20the\x20\
559 field.\n\n\x0c\n\x05\x04\0\x02\x02\x05\x12\x03C\x02\x08\n\x0c\n\x05\x04\
560 \0\x02\x02\x01\x12\x03C\t\x16\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03C\x19\
561 \x1a\n9\n\x02\x04\x01\x12\x04G\0T\x01\x1a-\x20Defines\x20policies\x20app\
562 lying\x20to\x20an\x20RPC\x20method.\n\n\n\n\x03\x04\x01\x01\x12\x03G\x08\
563 \x14\n\xdc\x02\n\x04\x04\x01\x02\0\x12\x03P\x02\x16\x1a\xce\x02\x20Selec\
564 ts\x20a\x20method\x20to\x20which\x20these\x20policies\x20should\x20be\
565 \x20enforced,\x20for\x20example,\n\x20\"google.pubsub.v1.Subscriber.Crea\
566 teSubscription\".\n\n\x20Refer\x20to\x20[selector][google.api.Documentat\
567 ionRule.selector]\x20for\x20syntax\n\x20details.\n\n\x20NOTE:\x20This\
568 \x20field\x20must\x20not\x20be\x20set\x20in\x20the\x20proto\x20annotatio\
569 n.\x20It\x20will\x20be\n\x20automatically\x20filled\x20by\x20the\x20serv\
570 ice\x20config\x20compiler\x20.\n\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x03P\
571 \x02\x08\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03P\t\x11\n\x0c\n\x05\x04\
572 \x01\x02\0\x03\x12\x03P\x14\x15\nC\n\x04\x04\x01\x02\x01\x12\x03S\x02,\
573 \x1a6\x20Policies\x20that\x20are\x20applicable\x20to\x20the\x20request\
574 \x20message.\n\n\x0c\n\x05\x04\x01\x02\x01\x04\x12\x03S\x02\n\n\x0c\n\
575 \x05\x04\x01\x02\x01\x06\x12\x03S\x0b\x16\n\x0c\n\x05\x04\x01\x02\x01\
576 \x01\x12\x03S\x17'\n\x0c\n\x05\x04\x01\x02\x01\x03\x12\x03S*+b\x06proto3\
577";
578
579static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
580
581fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
582 ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
583}
584
585pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
586 file_descriptor_proto_lazy.get(|| {
587 parse_descriptor_proto()
588 })
589}