google_cloud_rust_raw/cloud/osconfig/v1/
os_policy_assignments.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/cloud/osconfig/v1/os_policy_assignments.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 OSPolicyAssignment {
28    // message fields
29    pub name: ::std::string::String,
30    pub description: ::std::string::String,
31    pub os_policies: ::protobuf::RepeatedField<super::os_policy::OSPolicy>,
32    pub instance_filter: ::protobuf::SingularPtrField<OSPolicyAssignment_InstanceFilter>,
33    pub rollout: ::protobuf::SingularPtrField<OSPolicyAssignment_Rollout>,
34    pub revision_id: ::std::string::String,
35    pub revision_create_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>,
36    pub etag: ::std::string::String,
37    pub rollout_state: OSPolicyAssignment_RolloutState,
38    pub baseline: bool,
39    pub deleted: bool,
40    pub reconciling: bool,
41    pub uid: ::std::string::String,
42    // special fields
43    pub unknown_fields: ::protobuf::UnknownFields,
44    pub cached_size: ::protobuf::CachedSize,
45}
46
47impl<'a> ::std::default::Default for &'a OSPolicyAssignment {
48    fn default() -> &'a OSPolicyAssignment {
49        <OSPolicyAssignment as ::protobuf::Message>::default_instance()
50    }
51}
52
53impl OSPolicyAssignment {
54    pub fn new() -> OSPolicyAssignment {
55        ::std::default::Default::default()
56    }
57
58    // string name = 1;
59
60
61    pub fn get_name(&self) -> &str {
62        &self.name
63    }
64    pub fn clear_name(&mut self) {
65        self.name.clear();
66    }
67
68    // Param is passed by value, moved
69    pub fn set_name(&mut self, v: ::std::string::String) {
70        self.name = v;
71    }
72
73    // Mutable pointer to the field.
74    // If field is not initialized, it is initialized with default value first.
75    pub fn mut_name(&mut self) -> &mut ::std::string::String {
76        &mut self.name
77    }
78
79    // Take field
80    pub fn take_name(&mut self) -> ::std::string::String {
81        ::std::mem::replace(&mut self.name, ::std::string::String::new())
82    }
83
84    // string description = 2;
85
86
87    pub fn get_description(&self) -> &str {
88        &self.description
89    }
90    pub fn clear_description(&mut self) {
91        self.description.clear();
92    }
93
94    // Param is passed by value, moved
95    pub fn set_description(&mut self, v: ::std::string::String) {
96        self.description = v;
97    }
98
99    // Mutable pointer to the field.
100    // If field is not initialized, it is initialized with default value first.
101    pub fn mut_description(&mut self) -> &mut ::std::string::String {
102        &mut self.description
103    }
104
105    // Take field
106    pub fn take_description(&mut self) -> ::std::string::String {
107        ::std::mem::replace(&mut self.description, ::std::string::String::new())
108    }
109
110    // repeated .google.cloud.osconfig.v1.OSPolicy os_policies = 3;
111
112
113    pub fn get_os_policies(&self) -> &[super::os_policy::OSPolicy] {
114        &self.os_policies
115    }
116    pub fn clear_os_policies(&mut self) {
117        self.os_policies.clear();
118    }
119
120    // Param is passed by value, moved
121    pub fn set_os_policies(&mut self, v: ::protobuf::RepeatedField<super::os_policy::OSPolicy>) {
122        self.os_policies = v;
123    }
124
125    // Mutable pointer to the field.
126    pub fn mut_os_policies(&mut self) -> &mut ::protobuf::RepeatedField<super::os_policy::OSPolicy> {
127        &mut self.os_policies
128    }
129
130    // Take field
131    pub fn take_os_policies(&mut self) -> ::protobuf::RepeatedField<super::os_policy::OSPolicy> {
132        ::std::mem::replace(&mut self.os_policies, ::protobuf::RepeatedField::new())
133    }
134
135    // .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter instance_filter = 4;
136
137
138    pub fn get_instance_filter(&self) -> &OSPolicyAssignment_InstanceFilter {
139        self.instance_filter.as_ref().unwrap_or_else(|| <OSPolicyAssignment_InstanceFilter as ::protobuf::Message>::default_instance())
140    }
141    pub fn clear_instance_filter(&mut self) {
142        self.instance_filter.clear();
143    }
144
145    pub fn has_instance_filter(&self) -> bool {
146        self.instance_filter.is_some()
147    }
148
149    // Param is passed by value, moved
150    pub fn set_instance_filter(&mut self, v: OSPolicyAssignment_InstanceFilter) {
151        self.instance_filter = ::protobuf::SingularPtrField::some(v);
152    }
153
154    // Mutable pointer to the field.
155    // If field is not initialized, it is initialized with default value first.
156    pub fn mut_instance_filter(&mut self) -> &mut OSPolicyAssignment_InstanceFilter {
157        if self.instance_filter.is_none() {
158            self.instance_filter.set_default();
159        }
160        self.instance_filter.as_mut().unwrap()
161    }
162
163    // Take field
164    pub fn take_instance_filter(&mut self) -> OSPolicyAssignment_InstanceFilter {
165        self.instance_filter.take().unwrap_or_else(|| OSPolicyAssignment_InstanceFilter::new())
166    }
167
168    // .google.cloud.osconfig.v1.OSPolicyAssignment.Rollout rollout = 5;
169
170
171    pub fn get_rollout(&self) -> &OSPolicyAssignment_Rollout {
172        self.rollout.as_ref().unwrap_or_else(|| <OSPolicyAssignment_Rollout as ::protobuf::Message>::default_instance())
173    }
174    pub fn clear_rollout(&mut self) {
175        self.rollout.clear();
176    }
177
178    pub fn has_rollout(&self) -> bool {
179        self.rollout.is_some()
180    }
181
182    // Param is passed by value, moved
183    pub fn set_rollout(&mut self, v: OSPolicyAssignment_Rollout) {
184        self.rollout = ::protobuf::SingularPtrField::some(v);
185    }
186
187    // Mutable pointer to the field.
188    // If field is not initialized, it is initialized with default value first.
189    pub fn mut_rollout(&mut self) -> &mut OSPolicyAssignment_Rollout {
190        if self.rollout.is_none() {
191            self.rollout.set_default();
192        }
193        self.rollout.as_mut().unwrap()
194    }
195
196    // Take field
197    pub fn take_rollout(&mut self) -> OSPolicyAssignment_Rollout {
198        self.rollout.take().unwrap_or_else(|| OSPolicyAssignment_Rollout::new())
199    }
200
201    // string revision_id = 6;
202
203
204    pub fn get_revision_id(&self) -> &str {
205        &self.revision_id
206    }
207    pub fn clear_revision_id(&mut self) {
208        self.revision_id.clear();
209    }
210
211    // Param is passed by value, moved
212    pub fn set_revision_id(&mut self, v: ::std::string::String) {
213        self.revision_id = v;
214    }
215
216    // Mutable pointer to the field.
217    // If field is not initialized, it is initialized with default value first.
218    pub fn mut_revision_id(&mut self) -> &mut ::std::string::String {
219        &mut self.revision_id
220    }
221
222    // Take field
223    pub fn take_revision_id(&mut self) -> ::std::string::String {
224        ::std::mem::replace(&mut self.revision_id, ::std::string::String::new())
225    }
226
227    // .google.protobuf.Timestamp revision_create_time = 7;
228
229
230    pub fn get_revision_create_time(&self) -> &::protobuf::well_known_types::Timestamp {
231        self.revision_create_time.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Timestamp as ::protobuf::Message>::default_instance())
232    }
233    pub fn clear_revision_create_time(&mut self) {
234        self.revision_create_time.clear();
235    }
236
237    pub fn has_revision_create_time(&self) -> bool {
238        self.revision_create_time.is_some()
239    }
240
241    // Param is passed by value, moved
242    pub fn set_revision_create_time(&mut self, v: ::protobuf::well_known_types::Timestamp) {
243        self.revision_create_time = ::protobuf::SingularPtrField::some(v);
244    }
245
246    // Mutable pointer to the field.
247    // If field is not initialized, it is initialized with default value first.
248    pub fn mut_revision_create_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp {
249        if self.revision_create_time.is_none() {
250            self.revision_create_time.set_default();
251        }
252        self.revision_create_time.as_mut().unwrap()
253    }
254
255    // Take field
256    pub fn take_revision_create_time(&mut self) -> ::protobuf::well_known_types::Timestamp {
257        self.revision_create_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new())
258    }
259
260    // string etag = 8;
261
262
263    pub fn get_etag(&self) -> &str {
264        &self.etag
265    }
266    pub fn clear_etag(&mut self) {
267        self.etag.clear();
268    }
269
270    // Param is passed by value, moved
271    pub fn set_etag(&mut self, v: ::std::string::String) {
272        self.etag = v;
273    }
274
275    // Mutable pointer to the field.
276    // If field is not initialized, it is initialized with default value first.
277    pub fn mut_etag(&mut self) -> &mut ::std::string::String {
278        &mut self.etag
279    }
280
281    // Take field
282    pub fn take_etag(&mut self) -> ::std::string::String {
283        ::std::mem::replace(&mut self.etag, ::std::string::String::new())
284    }
285
286    // .google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState rollout_state = 9;
287
288
289    pub fn get_rollout_state(&self) -> OSPolicyAssignment_RolloutState {
290        self.rollout_state
291    }
292    pub fn clear_rollout_state(&mut self) {
293        self.rollout_state = OSPolicyAssignment_RolloutState::ROLLOUT_STATE_UNSPECIFIED;
294    }
295
296    // Param is passed by value, moved
297    pub fn set_rollout_state(&mut self, v: OSPolicyAssignment_RolloutState) {
298        self.rollout_state = v;
299    }
300
301    // bool baseline = 10;
302
303
304    pub fn get_baseline(&self) -> bool {
305        self.baseline
306    }
307    pub fn clear_baseline(&mut self) {
308        self.baseline = false;
309    }
310
311    // Param is passed by value, moved
312    pub fn set_baseline(&mut self, v: bool) {
313        self.baseline = v;
314    }
315
316    // bool deleted = 11;
317
318
319    pub fn get_deleted(&self) -> bool {
320        self.deleted
321    }
322    pub fn clear_deleted(&mut self) {
323        self.deleted = false;
324    }
325
326    // Param is passed by value, moved
327    pub fn set_deleted(&mut self, v: bool) {
328        self.deleted = v;
329    }
330
331    // bool reconciling = 12;
332
333
334    pub fn get_reconciling(&self) -> bool {
335        self.reconciling
336    }
337    pub fn clear_reconciling(&mut self) {
338        self.reconciling = false;
339    }
340
341    // Param is passed by value, moved
342    pub fn set_reconciling(&mut self, v: bool) {
343        self.reconciling = v;
344    }
345
346    // string uid = 13;
347
348
349    pub fn get_uid(&self) -> &str {
350        &self.uid
351    }
352    pub fn clear_uid(&mut self) {
353        self.uid.clear();
354    }
355
356    // Param is passed by value, moved
357    pub fn set_uid(&mut self, v: ::std::string::String) {
358        self.uid = v;
359    }
360
361    // Mutable pointer to the field.
362    // If field is not initialized, it is initialized with default value first.
363    pub fn mut_uid(&mut self) -> &mut ::std::string::String {
364        &mut self.uid
365    }
366
367    // Take field
368    pub fn take_uid(&mut self) -> ::std::string::String {
369        ::std::mem::replace(&mut self.uid, ::std::string::String::new())
370    }
371}
372
373impl ::protobuf::Message for OSPolicyAssignment {
374    fn is_initialized(&self) -> bool {
375        for v in &self.os_policies {
376            if !v.is_initialized() {
377                return false;
378            }
379        };
380        for v in &self.instance_filter {
381            if !v.is_initialized() {
382                return false;
383            }
384        };
385        for v in &self.rollout {
386            if !v.is_initialized() {
387                return false;
388            }
389        };
390        for v in &self.revision_create_time {
391            if !v.is_initialized() {
392                return false;
393            }
394        };
395        true
396    }
397
398    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
399        while !is.eof()? {
400            let (field_number, wire_type) = is.read_tag_unpack()?;
401            match field_number {
402                1 => {
403                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?;
404                },
405                2 => {
406                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.description)?;
407                },
408                3 => {
409                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.os_policies)?;
410                },
411                4 => {
412                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.instance_filter)?;
413                },
414                5 => {
415                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.rollout)?;
416                },
417                6 => {
418                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.revision_id)?;
419                },
420                7 => {
421                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.revision_create_time)?;
422                },
423                8 => {
424                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.etag)?;
425                },
426                9 => {
427                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.rollout_state, 9, &mut self.unknown_fields)?
428                },
429                10 => {
430                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
431                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
432                    }
433                    let tmp = is.read_bool()?;
434                    self.baseline = tmp;
435                },
436                11 => {
437                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
438                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
439                    }
440                    let tmp = is.read_bool()?;
441                    self.deleted = tmp;
442                },
443                12 => {
444                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
445                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
446                    }
447                    let tmp = is.read_bool()?;
448                    self.reconciling = tmp;
449                },
450                13 => {
451                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.uid)?;
452                },
453                _ => {
454                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
455                },
456            };
457        }
458        ::std::result::Result::Ok(())
459    }
460
461    // Compute sizes of nested messages
462    #[allow(unused_variables)]
463    fn compute_size(&self) -> u32 {
464        let mut my_size = 0;
465        if !self.name.is_empty() {
466            my_size += ::protobuf::rt::string_size(1, &self.name);
467        }
468        if !self.description.is_empty() {
469            my_size += ::protobuf::rt::string_size(2, &self.description);
470        }
471        for value in &self.os_policies {
472            let len = value.compute_size();
473            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
474        };
475        if let Some(ref v) = self.instance_filter.as_ref() {
476            let len = v.compute_size();
477            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
478        }
479        if let Some(ref v) = self.rollout.as_ref() {
480            let len = v.compute_size();
481            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
482        }
483        if !self.revision_id.is_empty() {
484            my_size += ::protobuf::rt::string_size(6, &self.revision_id);
485        }
486        if let Some(ref v) = self.revision_create_time.as_ref() {
487            let len = v.compute_size();
488            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
489        }
490        if !self.etag.is_empty() {
491            my_size += ::protobuf::rt::string_size(8, &self.etag);
492        }
493        if self.rollout_state != OSPolicyAssignment_RolloutState::ROLLOUT_STATE_UNSPECIFIED {
494            my_size += ::protobuf::rt::enum_size(9, self.rollout_state);
495        }
496        if self.baseline != false {
497            my_size += 2;
498        }
499        if self.deleted != false {
500            my_size += 2;
501        }
502        if self.reconciling != false {
503            my_size += 2;
504        }
505        if !self.uid.is_empty() {
506            my_size += ::protobuf::rt::string_size(13, &self.uid);
507        }
508        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
509        self.cached_size.set(my_size);
510        my_size
511    }
512
513    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
514        if !self.name.is_empty() {
515            os.write_string(1, &self.name)?;
516        }
517        if !self.description.is_empty() {
518            os.write_string(2, &self.description)?;
519        }
520        for v in &self.os_policies {
521            os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?;
522            os.write_raw_varint32(v.get_cached_size())?;
523            v.write_to_with_cached_sizes(os)?;
524        };
525        if let Some(ref v) = self.instance_filter.as_ref() {
526            os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
527            os.write_raw_varint32(v.get_cached_size())?;
528            v.write_to_with_cached_sizes(os)?;
529        }
530        if let Some(ref v) = self.rollout.as_ref() {
531            os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?;
532            os.write_raw_varint32(v.get_cached_size())?;
533            v.write_to_with_cached_sizes(os)?;
534        }
535        if !self.revision_id.is_empty() {
536            os.write_string(6, &self.revision_id)?;
537        }
538        if let Some(ref v) = self.revision_create_time.as_ref() {
539            os.write_tag(7, ::protobuf::wire_format::WireTypeLengthDelimited)?;
540            os.write_raw_varint32(v.get_cached_size())?;
541            v.write_to_with_cached_sizes(os)?;
542        }
543        if !self.etag.is_empty() {
544            os.write_string(8, &self.etag)?;
545        }
546        if self.rollout_state != OSPolicyAssignment_RolloutState::ROLLOUT_STATE_UNSPECIFIED {
547            os.write_enum(9, ::protobuf::ProtobufEnum::value(&self.rollout_state))?;
548        }
549        if self.baseline != false {
550            os.write_bool(10, self.baseline)?;
551        }
552        if self.deleted != false {
553            os.write_bool(11, self.deleted)?;
554        }
555        if self.reconciling != false {
556            os.write_bool(12, self.reconciling)?;
557        }
558        if !self.uid.is_empty() {
559            os.write_string(13, &self.uid)?;
560        }
561        os.write_unknown_fields(self.get_unknown_fields())?;
562        ::std::result::Result::Ok(())
563    }
564
565    fn get_cached_size(&self) -> u32 {
566        self.cached_size.get()
567    }
568
569    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
570        &self.unknown_fields
571    }
572
573    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
574        &mut self.unknown_fields
575    }
576
577    fn as_any(&self) -> &dyn (::std::any::Any) {
578        self as &dyn (::std::any::Any)
579    }
580    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
581        self as &mut dyn (::std::any::Any)
582    }
583    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
584        self
585    }
586
587    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
588        Self::descriptor_static()
589    }
590
591    fn new() -> OSPolicyAssignment {
592        OSPolicyAssignment::new()
593    }
594
595    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
596        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
597        descriptor.get(|| {
598            let mut fields = ::std::vec::Vec::new();
599            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
600                "name",
601                |m: &OSPolicyAssignment| { &m.name },
602                |m: &mut OSPolicyAssignment| { &mut m.name },
603            ));
604            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
605                "description",
606                |m: &OSPolicyAssignment| { &m.description },
607                |m: &mut OSPolicyAssignment| { &mut m.description },
608            ));
609            fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::os_policy::OSPolicy>>(
610                "os_policies",
611                |m: &OSPolicyAssignment| { &m.os_policies },
612                |m: &mut OSPolicyAssignment| { &mut m.os_policies },
613            ));
614            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<OSPolicyAssignment_InstanceFilter>>(
615                "instance_filter",
616                |m: &OSPolicyAssignment| { &m.instance_filter },
617                |m: &mut OSPolicyAssignment| { &mut m.instance_filter },
618            ));
619            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<OSPolicyAssignment_Rollout>>(
620                "rollout",
621                |m: &OSPolicyAssignment| { &m.rollout },
622                |m: &mut OSPolicyAssignment| { &mut m.rollout },
623            ));
624            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
625                "revision_id",
626                |m: &OSPolicyAssignment| { &m.revision_id },
627                |m: &mut OSPolicyAssignment| { &mut m.revision_id },
628            ));
629            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>(
630                "revision_create_time",
631                |m: &OSPolicyAssignment| { &m.revision_create_time },
632                |m: &mut OSPolicyAssignment| { &mut m.revision_create_time },
633            ));
634            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
635                "etag",
636                |m: &OSPolicyAssignment| { &m.etag },
637                |m: &mut OSPolicyAssignment| { &mut m.etag },
638            ));
639            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<OSPolicyAssignment_RolloutState>>(
640                "rollout_state",
641                |m: &OSPolicyAssignment| { &m.rollout_state },
642                |m: &mut OSPolicyAssignment| { &mut m.rollout_state },
643            ));
644            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
645                "baseline",
646                |m: &OSPolicyAssignment| { &m.baseline },
647                |m: &mut OSPolicyAssignment| { &mut m.baseline },
648            ));
649            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
650                "deleted",
651                |m: &OSPolicyAssignment| { &m.deleted },
652                |m: &mut OSPolicyAssignment| { &mut m.deleted },
653            ));
654            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
655                "reconciling",
656                |m: &OSPolicyAssignment| { &m.reconciling },
657                |m: &mut OSPolicyAssignment| { &mut m.reconciling },
658            ));
659            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
660                "uid",
661                |m: &OSPolicyAssignment| { &m.uid },
662                |m: &mut OSPolicyAssignment| { &mut m.uid },
663            ));
664            ::protobuf::reflect::MessageDescriptor::new_pb_name::<OSPolicyAssignment>(
665                "OSPolicyAssignment",
666                fields,
667                file_descriptor_proto()
668            )
669        })
670    }
671
672    fn default_instance() -> &'static OSPolicyAssignment {
673        static instance: ::protobuf::rt::LazyV2<OSPolicyAssignment> = ::protobuf::rt::LazyV2::INIT;
674        instance.get(OSPolicyAssignment::new)
675    }
676}
677
678impl ::protobuf::Clear for OSPolicyAssignment {
679    fn clear(&mut self) {
680        self.name.clear();
681        self.description.clear();
682        self.os_policies.clear();
683        self.instance_filter.clear();
684        self.rollout.clear();
685        self.revision_id.clear();
686        self.revision_create_time.clear();
687        self.etag.clear();
688        self.rollout_state = OSPolicyAssignment_RolloutState::ROLLOUT_STATE_UNSPECIFIED;
689        self.baseline = false;
690        self.deleted = false;
691        self.reconciling = false;
692        self.uid.clear();
693        self.unknown_fields.clear();
694    }
695}
696
697impl ::std::fmt::Debug for OSPolicyAssignment {
698    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
699        ::protobuf::text_format::fmt(self, f)
700    }
701}
702
703impl ::protobuf::reflect::ProtobufValue for OSPolicyAssignment {
704    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
705        ::protobuf::reflect::ReflectValueRef::Message(self)
706    }
707}
708
709#[derive(PartialEq,Clone,Default)]
710pub struct OSPolicyAssignment_LabelSet {
711    // message fields
712    pub labels: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
713    // special fields
714    pub unknown_fields: ::protobuf::UnknownFields,
715    pub cached_size: ::protobuf::CachedSize,
716}
717
718impl<'a> ::std::default::Default for &'a OSPolicyAssignment_LabelSet {
719    fn default() -> &'a OSPolicyAssignment_LabelSet {
720        <OSPolicyAssignment_LabelSet as ::protobuf::Message>::default_instance()
721    }
722}
723
724impl OSPolicyAssignment_LabelSet {
725    pub fn new() -> OSPolicyAssignment_LabelSet {
726        ::std::default::Default::default()
727    }
728
729    // repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.LabelsEntry labels = 1;
730
731
732    pub fn get_labels(&self) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> {
733        &self.labels
734    }
735    pub fn clear_labels(&mut self) {
736        self.labels.clear();
737    }
738
739    // Param is passed by value, moved
740    pub fn set_labels(&mut self, v: ::std::collections::HashMap<::std::string::String, ::std::string::String>) {
741        self.labels = v;
742    }
743
744    // Mutable pointer to the field.
745    pub fn mut_labels(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ::std::string::String> {
746        &mut self.labels
747    }
748
749    // Take field
750    pub fn take_labels(&mut self) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> {
751        ::std::mem::replace(&mut self.labels, ::std::collections::HashMap::new())
752    }
753}
754
755impl ::protobuf::Message for OSPolicyAssignment_LabelSet {
756    fn is_initialized(&self) -> bool {
757        true
758    }
759
760    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
761        while !is.eof()? {
762            let (field_number, wire_type) = is.read_tag_unpack()?;
763            match field_number {
764                1 => {
765                    ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(wire_type, is, &mut self.labels)?;
766                },
767                _ => {
768                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
769                },
770            };
771        }
772        ::std::result::Result::Ok(())
773    }
774
775    // Compute sizes of nested messages
776    #[allow(unused_variables)]
777    fn compute_size(&self) -> u32 {
778        let mut my_size = 0;
779        my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(1, &self.labels);
780        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
781        self.cached_size.set(my_size);
782        my_size
783    }
784
785    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
786        ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(1, &self.labels, os)?;
787        os.write_unknown_fields(self.get_unknown_fields())?;
788        ::std::result::Result::Ok(())
789    }
790
791    fn get_cached_size(&self) -> u32 {
792        self.cached_size.get()
793    }
794
795    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
796        &self.unknown_fields
797    }
798
799    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
800        &mut self.unknown_fields
801    }
802
803    fn as_any(&self) -> &dyn (::std::any::Any) {
804        self as &dyn (::std::any::Any)
805    }
806    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
807        self as &mut dyn (::std::any::Any)
808    }
809    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
810        self
811    }
812
813    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
814        Self::descriptor_static()
815    }
816
817    fn new() -> OSPolicyAssignment_LabelSet {
818        OSPolicyAssignment_LabelSet::new()
819    }
820
821    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
822        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
823        descriptor.get(|| {
824            let mut fields = ::std::vec::Vec::new();
825            fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(
826                "labels",
827                |m: &OSPolicyAssignment_LabelSet| { &m.labels },
828                |m: &mut OSPolicyAssignment_LabelSet| { &mut m.labels },
829            ));
830            ::protobuf::reflect::MessageDescriptor::new_pb_name::<OSPolicyAssignment_LabelSet>(
831                "OSPolicyAssignment.LabelSet",
832                fields,
833                file_descriptor_proto()
834            )
835        })
836    }
837
838    fn default_instance() -> &'static OSPolicyAssignment_LabelSet {
839        static instance: ::protobuf::rt::LazyV2<OSPolicyAssignment_LabelSet> = ::protobuf::rt::LazyV2::INIT;
840        instance.get(OSPolicyAssignment_LabelSet::new)
841    }
842}
843
844impl ::protobuf::Clear for OSPolicyAssignment_LabelSet {
845    fn clear(&mut self) {
846        self.labels.clear();
847        self.unknown_fields.clear();
848    }
849}
850
851impl ::std::fmt::Debug for OSPolicyAssignment_LabelSet {
852    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
853        ::protobuf::text_format::fmt(self, f)
854    }
855}
856
857impl ::protobuf::reflect::ProtobufValue for OSPolicyAssignment_LabelSet {
858    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
859        ::protobuf::reflect::ReflectValueRef::Message(self)
860    }
861}
862
863#[derive(PartialEq,Clone,Default)]
864pub struct OSPolicyAssignment_InstanceFilter {
865    // message fields
866    pub all: bool,
867    pub inclusion_labels: ::protobuf::RepeatedField<OSPolicyAssignment_LabelSet>,
868    pub exclusion_labels: ::protobuf::RepeatedField<OSPolicyAssignment_LabelSet>,
869    pub inventories: ::protobuf::RepeatedField<OSPolicyAssignment_InstanceFilter_Inventory>,
870    // special fields
871    pub unknown_fields: ::protobuf::UnknownFields,
872    pub cached_size: ::protobuf::CachedSize,
873}
874
875impl<'a> ::std::default::Default for &'a OSPolicyAssignment_InstanceFilter {
876    fn default() -> &'a OSPolicyAssignment_InstanceFilter {
877        <OSPolicyAssignment_InstanceFilter as ::protobuf::Message>::default_instance()
878    }
879}
880
881impl OSPolicyAssignment_InstanceFilter {
882    pub fn new() -> OSPolicyAssignment_InstanceFilter {
883        ::std::default::Default::default()
884    }
885
886    // bool all = 1;
887
888
889    pub fn get_all(&self) -> bool {
890        self.all
891    }
892    pub fn clear_all(&mut self) {
893        self.all = false;
894    }
895
896    // Param is passed by value, moved
897    pub fn set_all(&mut self, v: bool) {
898        self.all = v;
899    }
900
901    // repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
902
903
904    pub fn get_inclusion_labels(&self) -> &[OSPolicyAssignment_LabelSet] {
905        &self.inclusion_labels
906    }
907    pub fn clear_inclusion_labels(&mut self) {
908        self.inclusion_labels.clear();
909    }
910
911    // Param is passed by value, moved
912    pub fn set_inclusion_labels(&mut self, v: ::protobuf::RepeatedField<OSPolicyAssignment_LabelSet>) {
913        self.inclusion_labels = v;
914    }
915
916    // Mutable pointer to the field.
917    pub fn mut_inclusion_labels(&mut self) -> &mut ::protobuf::RepeatedField<OSPolicyAssignment_LabelSet> {
918        &mut self.inclusion_labels
919    }
920
921    // Take field
922    pub fn take_inclusion_labels(&mut self) -> ::protobuf::RepeatedField<OSPolicyAssignment_LabelSet> {
923        ::std::mem::replace(&mut self.inclusion_labels, ::protobuf::RepeatedField::new())
924    }
925
926    // repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
927
928
929    pub fn get_exclusion_labels(&self) -> &[OSPolicyAssignment_LabelSet] {
930        &self.exclusion_labels
931    }
932    pub fn clear_exclusion_labels(&mut self) {
933        self.exclusion_labels.clear();
934    }
935
936    // Param is passed by value, moved
937    pub fn set_exclusion_labels(&mut self, v: ::protobuf::RepeatedField<OSPolicyAssignment_LabelSet>) {
938        self.exclusion_labels = v;
939    }
940
941    // Mutable pointer to the field.
942    pub fn mut_exclusion_labels(&mut self) -> &mut ::protobuf::RepeatedField<OSPolicyAssignment_LabelSet> {
943        &mut self.exclusion_labels
944    }
945
946    // Take field
947    pub fn take_exclusion_labels(&mut self) -> ::protobuf::RepeatedField<OSPolicyAssignment_LabelSet> {
948        ::std::mem::replace(&mut self.exclusion_labels, ::protobuf::RepeatedField::new())
949    }
950
951    // repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
952
953
954    pub fn get_inventories(&self) -> &[OSPolicyAssignment_InstanceFilter_Inventory] {
955        &self.inventories
956    }
957    pub fn clear_inventories(&mut self) {
958        self.inventories.clear();
959    }
960
961    // Param is passed by value, moved
962    pub fn set_inventories(&mut self, v: ::protobuf::RepeatedField<OSPolicyAssignment_InstanceFilter_Inventory>) {
963        self.inventories = v;
964    }
965
966    // Mutable pointer to the field.
967    pub fn mut_inventories(&mut self) -> &mut ::protobuf::RepeatedField<OSPolicyAssignment_InstanceFilter_Inventory> {
968        &mut self.inventories
969    }
970
971    // Take field
972    pub fn take_inventories(&mut self) -> ::protobuf::RepeatedField<OSPolicyAssignment_InstanceFilter_Inventory> {
973        ::std::mem::replace(&mut self.inventories, ::protobuf::RepeatedField::new())
974    }
975}
976
977impl ::protobuf::Message for OSPolicyAssignment_InstanceFilter {
978    fn is_initialized(&self) -> bool {
979        for v in &self.inclusion_labels {
980            if !v.is_initialized() {
981                return false;
982            }
983        };
984        for v in &self.exclusion_labels {
985            if !v.is_initialized() {
986                return false;
987            }
988        };
989        for v in &self.inventories {
990            if !v.is_initialized() {
991                return false;
992            }
993        };
994        true
995    }
996
997    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
998        while !is.eof()? {
999            let (field_number, wire_type) = is.read_tag_unpack()?;
1000            match field_number {
1001                1 => {
1002                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
1003                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
1004                    }
1005                    let tmp = is.read_bool()?;
1006                    self.all = tmp;
1007                },
1008                2 => {
1009                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.inclusion_labels)?;
1010                },
1011                3 => {
1012                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.exclusion_labels)?;
1013                },
1014                4 => {
1015                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.inventories)?;
1016                },
1017                _ => {
1018                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1019                },
1020            };
1021        }
1022        ::std::result::Result::Ok(())
1023    }
1024
1025    // Compute sizes of nested messages
1026    #[allow(unused_variables)]
1027    fn compute_size(&self) -> u32 {
1028        let mut my_size = 0;
1029        if self.all != false {
1030            my_size += 2;
1031        }
1032        for value in &self.inclusion_labels {
1033            let len = value.compute_size();
1034            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1035        };
1036        for value in &self.exclusion_labels {
1037            let len = value.compute_size();
1038            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1039        };
1040        for value in &self.inventories {
1041            let len = value.compute_size();
1042            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1043        };
1044        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1045        self.cached_size.set(my_size);
1046        my_size
1047    }
1048
1049    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1050        if self.all != false {
1051            os.write_bool(1, self.all)?;
1052        }
1053        for v in &self.inclusion_labels {
1054            os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1055            os.write_raw_varint32(v.get_cached_size())?;
1056            v.write_to_with_cached_sizes(os)?;
1057        };
1058        for v in &self.exclusion_labels {
1059            os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1060            os.write_raw_varint32(v.get_cached_size())?;
1061            v.write_to_with_cached_sizes(os)?;
1062        };
1063        for v in &self.inventories {
1064            os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1065            os.write_raw_varint32(v.get_cached_size())?;
1066            v.write_to_with_cached_sizes(os)?;
1067        };
1068        os.write_unknown_fields(self.get_unknown_fields())?;
1069        ::std::result::Result::Ok(())
1070    }
1071
1072    fn get_cached_size(&self) -> u32 {
1073        self.cached_size.get()
1074    }
1075
1076    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1077        &self.unknown_fields
1078    }
1079
1080    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1081        &mut self.unknown_fields
1082    }
1083
1084    fn as_any(&self) -> &dyn (::std::any::Any) {
1085        self as &dyn (::std::any::Any)
1086    }
1087    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1088        self as &mut dyn (::std::any::Any)
1089    }
1090    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1091        self
1092    }
1093
1094    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1095        Self::descriptor_static()
1096    }
1097
1098    fn new() -> OSPolicyAssignment_InstanceFilter {
1099        OSPolicyAssignment_InstanceFilter::new()
1100    }
1101
1102    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1103        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1104        descriptor.get(|| {
1105            let mut fields = ::std::vec::Vec::new();
1106            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
1107                "all",
1108                |m: &OSPolicyAssignment_InstanceFilter| { &m.all },
1109                |m: &mut OSPolicyAssignment_InstanceFilter| { &mut m.all },
1110            ));
1111            fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<OSPolicyAssignment_LabelSet>>(
1112                "inclusion_labels",
1113                |m: &OSPolicyAssignment_InstanceFilter| { &m.inclusion_labels },
1114                |m: &mut OSPolicyAssignment_InstanceFilter| { &mut m.inclusion_labels },
1115            ));
1116            fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<OSPolicyAssignment_LabelSet>>(
1117                "exclusion_labels",
1118                |m: &OSPolicyAssignment_InstanceFilter| { &m.exclusion_labels },
1119                |m: &mut OSPolicyAssignment_InstanceFilter| { &mut m.exclusion_labels },
1120            ));
1121            fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<OSPolicyAssignment_InstanceFilter_Inventory>>(
1122                "inventories",
1123                |m: &OSPolicyAssignment_InstanceFilter| { &m.inventories },
1124                |m: &mut OSPolicyAssignment_InstanceFilter| { &mut m.inventories },
1125            ));
1126            ::protobuf::reflect::MessageDescriptor::new_pb_name::<OSPolicyAssignment_InstanceFilter>(
1127                "OSPolicyAssignment.InstanceFilter",
1128                fields,
1129                file_descriptor_proto()
1130            )
1131        })
1132    }
1133
1134    fn default_instance() -> &'static OSPolicyAssignment_InstanceFilter {
1135        static instance: ::protobuf::rt::LazyV2<OSPolicyAssignment_InstanceFilter> = ::protobuf::rt::LazyV2::INIT;
1136        instance.get(OSPolicyAssignment_InstanceFilter::new)
1137    }
1138}
1139
1140impl ::protobuf::Clear for OSPolicyAssignment_InstanceFilter {
1141    fn clear(&mut self) {
1142        self.all = false;
1143        self.inclusion_labels.clear();
1144        self.exclusion_labels.clear();
1145        self.inventories.clear();
1146        self.unknown_fields.clear();
1147    }
1148}
1149
1150impl ::std::fmt::Debug for OSPolicyAssignment_InstanceFilter {
1151    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1152        ::protobuf::text_format::fmt(self, f)
1153    }
1154}
1155
1156impl ::protobuf::reflect::ProtobufValue for OSPolicyAssignment_InstanceFilter {
1157    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1158        ::protobuf::reflect::ReflectValueRef::Message(self)
1159    }
1160}
1161
1162#[derive(PartialEq,Clone,Default)]
1163pub struct OSPolicyAssignment_InstanceFilter_Inventory {
1164    // message fields
1165    pub os_short_name: ::std::string::String,
1166    pub os_version: ::std::string::String,
1167    // special fields
1168    pub unknown_fields: ::protobuf::UnknownFields,
1169    pub cached_size: ::protobuf::CachedSize,
1170}
1171
1172impl<'a> ::std::default::Default for &'a OSPolicyAssignment_InstanceFilter_Inventory {
1173    fn default() -> &'a OSPolicyAssignment_InstanceFilter_Inventory {
1174        <OSPolicyAssignment_InstanceFilter_Inventory as ::protobuf::Message>::default_instance()
1175    }
1176}
1177
1178impl OSPolicyAssignment_InstanceFilter_Inventory {
1179    pub fn new() -> OSPolicyAssignment_InstanceFilter_Inventory {
1180        ::std::default::Default::default()
1181    }
1182
1183    // string os_short_name = 1;
1184
1185
1186    pub fn get_os_short_name(&self) -> &str {
1187        &self.os_short_name
1188    }
1189    pub fn clear_os_short_name(&mut self) {
1190        self.os_short_name.clear();
1191    }
1192
1193    // Param is passed by value, moved
1194    pub fn set_os_short_name(&mut self, v: ::std::string::String) {
1195        self.os_short_name = v;
1196    }
1197
1198    // Mutable pointer to the field.
1199    // If field is not initialized, it is initialized with default value first.
1200    pub fn mut_os_short_name(&mut self) -> &mut ::std::string::String {
1201        &mut self.os_short_name
1202    }
1203
1204    // Take field
1205    pub fn take_os_short_name(&mut self) -> ::std::string::String {
1206        ::std::mem::replace(&mut self.os_short_name, ::std::string::String::new())
1207    }
1208
1209    // string os_version = 2;
1210
1211
1212    pub fn get_os_version(&self) -> &str {
1213        &self.os_version
1214    }
1215    pub fn clear_os_version(&mut self) {
1216        self.os_version.clear();
1217    }
1218
1219    // Param is passed by value, moved
1220    pub fn set_os_version(&mut self, v: ::std::string::String) {
1221        self.os_version = v;
1222    }
1223
1224    // Mutable pointer to the field.
1225    // If field is not initialized, it is initialized with default value first.
1226    pub fn mut_os_version(&mut self) -> &mut ::std::string::String {
1227        &mut self.os_version
1228    }
1229
1230    // Take field
1231    pub fn take_os_version(&mut self) -> ::std::string::String {
1232        ::std::mem::replace(&mut self.os_version, ::std::string::String::new())
1233    }
1234}
1235
1236impl ::protobuf::Message for OSPolicyAssignment_InstanceFilter_Inventory {
1237    fn is_initialized(&self) -> bool {
1238        true
1239    }
1240
1241    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1242        while !is.eof()? {
1243            let (field_number, wire_type) = is.read_tag_unpack()?;
1244            match field_number {
1245                1 => {
1246                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.os_short_name)?;
1247                },
1248                2 => {
1249                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.os_version)?;
1250                },
1251                _ => {
1252                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1253                },
1254            };
1255        }
1256        ::std::result::Result::Ok(())
1257    }
1258
1259    // Compute sizes of nested messages
1260    #[allow(unused_variables)]
1261    fn compute_size(&self) -> u32 {
1262        let mut my_size = 0;
1263        if !self.os_short_name.is_empty() {
1264            my_size += ::protobuf::rt::string_size(1, &self.os_short_name);
1265        }
1266        if !self.os_version.is_empty() {
1267            my_size += ::protobuf::rt::string_size(2, &self.os_version);
1268        }
1269        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1270        self.cached_size.set(my_size);
1271        my_size
1272    }
1273
1274    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1275        if !self.os_short_name.is_empty() {
1276            os.write_string(1, &self.os_short_name)?;
1277        }
1278        if !self.os_version.is_empty() {
1279            os.write_string(2, &self.os_version)?;
1280        }
1281        os.write_unknown_fields(self.get_unknown_fields())?;
1282        ::std::result::Result::Ok(())
1283    }
1284
1285    fn get_cached_size(&self) -> u32 {
1286        self.cached_size.get()
1287    }
1288
1289    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1290        &self.unknown_fields
1291    }
1292
1293    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1294        &mut self.unknown_fields
1295    }
1296
1297    fn as_any(&self) -> &dyn (::std::any::Any) {
1298        self as &dyn (::std::any::Any)
1299    }
1300    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1301        self as &mut dyn (::std::any::Any)
1302    }
1303    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1304        self
1305    }
1306
1307    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1308        Self::descriptor_static()
1309    }
1310
1311    fn new() -> OSPolicyAssignment_InstanceFilter_Inventory {
1312        OSPolicyAssignment_InstanceFilter_Inventory::new()
1313    }
1314
1315    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1316        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1317        descriptor.get(|| {
1318            let mut fields = ::std::vec::Vec::new();
1319            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
1320                "os_short_name",
1321                |m: &OSPolicyAssignment_InstanceFilter_Inventory| { &m.os_short_name },
1322                |m: &mut OSPolicyAssignment_InstanceFilter_Inventory| { &mut m.os_short_name },
1323            ));
1324            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
1325                "os_version",
1326                |m: &OSPolicyAssignment_InstanceFilter_Inventory| { &m.os_version },
1327                |m: &mut OSPolicyAssignment_InstanceFilter_Inventory| { &mut m.os_version },
1328            ));
1329            ::protobuf::reflect::MessageDescriptor::new_pb_name::<OSPolicyAssignment_InstanceFilter_Inventory>(
1330                "OSPolicyAssignment.InstanceFilter.Inventory",
1331                fields,
1332                file_descriptor_proto()
1333            )
1334        })
1335    }
1336
1337    fn default_instance() -> &'static OSPolicyAssignment_InstanceFilter_Inventory {
1338        static instance: ::protobuf::rt::LazyV2<OSPolicyAssignment_InstanceFilter_Inventory> = ::protobuf::rt::LazyV2::INIT;
1339        instance.get(OSPolicyAssignment_InstanceFilter_Inventory::new)
1340    }
1341}
1342
1343impl ::protobuf::Clear for OSPolicyAssignment_InstanceFilter_Inventory {
1344    fn clear(&mut self) {
1345        self.os_short_name.clear();
1346        self.os_version.clear();
1347        self.unknown_fields.clear();
1348    }
1349}
1350
1351impl ::std::fmt::Debug for OSPolicyAssignment_InstanceFilter_Inventory {
1352    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1353        ::protobuf::text_format::fmt(self, f)
1354    }
1355}
1356
1357impl ::protobuf::reflect::ProtobufValue for OSPolicyAssignment_InstanceFilter_Inventory {
1358    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1359        ::protobuf::reflect::ReflectValueRef::Message(self)
1360    }
1361}
1362
1363#[derive(PartialEq,Clone,Default)]
1364pub struct OSPolicyAssignment_Rollout {
1365    // message fields
1366    pub disruption_budget: ::protobuf::SingularPtrField<super::osconfig_common::FixedOrPercent>,
1367    pub min_wait_duration: ::protobuf::SingularPtrField<::protobuf::well_known_types::Duration>,
1368    // special fields
1369    pub unknown_fields: ::protobuf::UnknownFields,
1370    pub cached_size: ::protobuf::CachedSize,
1371}
1372
1373impl<'a> ::std::default::Default for &'a OSPolicyAssignment_Rollout {
1374    fn default() -> &'a OSPolicyAssignment_Rollout {
1375        <OSPolicyAssignment_Rollout as ::protobuf::Message>::default_instance()
1376    }
1377}
1378
1379impl OSPolicyAssignment_Rollout {
1380    pub fn new() -> OSPolicyAssignment_Rollout {
1381        ::std::default::Default::default()
1382    }
1383
1384    // .google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1;
1385
1386
1387    pub fn get_disruption_budget(&self) -> &super::osconfig_common::FixedOrPercent {
1388        self.disruption_budget.as_ref().unwrap_or_else(|| <super::osconfig_common::FixedOrPercent as ::protobuf::Message>::default_instance())
1389    }
1390    pub fn clear_disruption_budget(&mut self) {
1391        self.disruption_budget.clear();
1392    }
1393
1394    pub fn has_disruption_budget(&self) -> bool {
1395        self.disruption_budget.is_some()
1396    }
1397
1398    // Param is passed by value, moved
1399    pub fn set_disruption_budget(&mut self, v: super::osconfig_common::FixedOrPercent) {
1400        self.disruption_budget = ::protobuf::SingularPtrField::some(v);
1401    }
1402
1403    // Mutable pointer to the field.
1404    // If field is not initialized, it is initialized with default value first.
1405    pub fn mut_disruption_budget(&mut self) -> &mut super::osconfig_common::FixedOrPercent {
1406        if self.disruption_budget.is_none() {
1407            self.disruption_budget.set_default();
1408        }
1409        self.disruption_budget.as_mut().unwrap()
1410    }
1411
1412    // Take field
1413    pub fn take_disruption_budget(&mut self) -> super::osconfig_common::FixedOrPercent {
1414        self.disruption_budget.take().unwrap_or_else(|| super::osconfig_common::FixedOrPercent::new())
1415    }
1416
1417    // .google.protobuf.Duration min_wait_duration = 2;
1418
1419
1420    pub fn get_min_wait_duration(&self) -> &::protobuf::well_known_types::Duration {
1421        self.min_wait_duration.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Duration as ::protobuf::Message>::default_instance())
1422    }
1423    pub fn clear_min_wait_duration(&mut self) {
1424        self.min_wait_duration.clear();
1425    }
1426
1427    pub fn has_min_wait_duration(&self) -> bool {
1428        self.min_wait_duration.is_some()
1429    }
1430
1431    // Param is passed by value, moved
1432    pub fn set_min_wait_duration(&mut self, v: ::protobuf::well_known_types::Duration) {
1433        self.min_wait_duration = ::protobuf::SingularPtrField::some(v);
1434    }
1435
1436    // Mutable pointer to the field.
1437    // If field is not initialized, it is initialized with default value first.
1438    pub fn mut_min_wait_duration(&mut self) -> &mut ::protobuf::well_known_types::Duration {
1439        if self.min_wait_duration.is_none() {
1440            self.min_wait_duration.set_default();
1441        }
1442        self.min_wait_duration.as_mut().unwrap()
1443    }
1444
1445    // Take field
1446    pub fn take_min_wait_duration(&mut self) -> ::protobuf::well_known_types::Duration {
1447        self.min_wait_duration.take().unwrap_or_else(|| ::protobuf::well_known_types::Duration::new())
1448    }
1449}
1450
1451impl ::protobuf::Message for OSPolicyAssignment_Rollout {
1452    fn is_initialized(&self) -> bool {
1453        for v in &self.disruption_budget {
1454            if !v.is_initialized() {
1455                return false;
1456            }
1457        };
1458        for v in &self.min_wait_duration {
1459            if !v.is_initialized() {
1460                return false;
1461            }
1462        };
1463        true
1464    }
1465
1466    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1467        while !is.eof()? {
1468            let (field_number, wire_type) = is.read_tag_unpack()?;
1469            match field_number {
1470                1 => {
1471                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.disruption_budget)?;
1472                },
1473                2 => {
1474                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.min_wait_duration)?;
1475                },
1476                _ => {
1477                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1478                },
1479            };
1480        }
1481        ::std::result::Result::Ok(())
1482    }
1483
1484    // Compute sizes of nested messages
1485    #[allow(unused_variables)]
1486    fn compute_size(&self) -> u32 {
1487        let mut my_size = 0;
1488        if let Some(ref v) = self.disruption_budget.as_ref() {
1489            let len = v.compute_size();
1490            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1491        }
1492        if let Some(ref v) = self.min_wait_duration.as_ref() {
1493            let len = v.compute_size();
1494            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1495        }
1496        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1497        self.cached_size.set(my_size);
1498        my_size
1499    }
1500
1501    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1502        if let Some(ref v) = self.disruption_budget.as_ref() {
1503            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1504            os.write_raw_varint32(v.get_cached_size())?;
1505            v.write_to_with_cached_sizes(os)?;
1506        }
1507        if let Some(ref v) = self.min_wait_duration.as_ref() {
1508            os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1509            os.write_raw_varint32(v.get_cached_size())?;
1510            v.write_to_with_cached_sizes(os)?;
1511        }
1512        os.write_unknown_fields(self.get_unknown_fields())?;
1513        ::std::result::Result::Ok(())
1514    }
1515
1516    fn get_cached_size(&self) -> u32 {
1517        self.cached_size.get()
1518    }
1519
1520    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1521        &self.unknown_fields
1522    }
1523
1524    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1525        &mut self.unknown_fields
1526    }
1527
1528    fn as_any(&self) -> &dyn (::std::any::Any) {
1529        self as &dyn (::std::any::Any)
1530    }
1531    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1532        self as &mut dyn (::std::any::Any)
1533    }
1534    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1535        self
1536    }
1537
1538    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1539        Self::descriptor_static()
1540    }
1541
1542    fn new() -> OSPolicyAssignment_Rollout {
1543        OSPolicyAssignment_Rollout::new()
1544    }
1545
1546    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1547        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1548        descriptor.get(|| {
1549            let mut fields = ::std::vec::Vec::new();
1550            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::osconfig_common::FixedOrPercent>>(
1551                "disruption_budget",
1552                |m: &OSPolicyAssignment_Rollout| { &m.disruption_budget },
1553                |m: &mut OSPolicyAssignment_Rollout| { &mut m.disruption_budget },
1554            ));
1555            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Duration>>(
1556                "min_wait_duration",
1557                |m: &OSPolicyAssignment_Rollout| { &m.min_wait_duration },
1558                |m: &mut OSPolicyAssignment_Rollout| { &mut m.min_wait_duration },
1559            ));
1560            ::protobuf::reflect::MessageDescriptor::new_pb_name::<OSPolicyAssignment_Rollout>(
1561                "OSPolicyAssignment.Rollout",
1562                fields,
1563                file_descriptor_proto()
1564            )
1565        })
1566    }
1567
1568    fn default_instance() -> &'static OSPolicyAssignment_Rollout {
1569        static instance: ::protobuf::rt::LazyV2<OSPolicyAssignment_Rollout> = ::protobuf::rt::LazyV2::INIT;
1570        instance.get(OSPolicyAssignment_Rollout::new)
1571    }
1572}
1573
1574impl ::protobuf::Clear for OSPolicyAssignment_Rollout {
1575    fn clear(&mut self) {
1576        self.disruption_budget.clear();
1577        self.min_wait_duration.clear();
1578        self.unknown_fields.clear();
1579    }
1580}
1581
1582impl ::std::fmt::Debug for OSPolicyAssignment_Rollout {
1583    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1584        ::protobuf::text_format::fmt(self, f)
1585    }
1586}
1587
1588impl ::protobuf::reflect::ProtobufValue for OSPolicyAssignment_Rollout {
1589    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1590        ::protobuf::reflect::ReflectValueRef::Message(self)
1591    }
1592}
1593
1594#[derive(Clone,PartialEq,Eq,Debug,Hash)]
1595pub enum OSPolicyAssignment_RolloutState {
1596    ROLLOUT_STATE_UNSPECIFIED = 0,
1597    IN_PROGRESS = 1,
1598    CANCELLING = 2,
1599    CANCELLED = 3,
1600    SUCCEEDED = 4,
1601}
1602
1603impl ::protobuf::ProtobufEnum for OSPolicyAssignment_RolloutState {
1604    fn value(&self) -> i32 {
1605        *self as i32
1606    }
1607
1608    fn from_i32(value: i32) -> ::std::option::Option<OSPolicyAssignment_RolloutState> {
1609        match value {
1610            0 => ::std::option::Option::Some(OSPolicyAssignment_RolloutState::ROLLOUT_STATE_UNSPECIFIED),
1611            1 => ::std::option::Option::Some(OSPolicyAssignment_RolloutState::IN_PROGRESS),
1612            2 => ::std::option::Option::Some(OSPolicyAssignment_RolloutState::CANCELLING),
1613            3 => ::std::option::Option::Some(OSPolicyAssignment_RolloutState::CANCELLED),
1614            4 => ::std::option::Option::Some(OSPolicyAssignment_RolloutState::SUCCEEDED),
1615            _ => ::std::option::Option::None
1616        }
1617    }
1618
1619    fn values() -> &'static [Self] {
1620        static values: &'static [OSPolicyAssignment_RolloutState] = &[
1621            OSPolicyAssignment_RolloutState::ROLLOUT_STATE_UNSPECIFIED,
1622            OSPolicyAssignment_RolloutState::IN_PROGRESS,
1623            OSPolicyAssignment_RolloutState::CANCELLING,
1624            OSPolicyAssignment_RolloutState::CANCELLED,
1625            OSPolicyAssignment_RolloutState::SUCCEEDED,
1626        ];
1627        values
1628    }
1629
1630    fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
1631        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
1632        descriptor.get(|| {
1633            ::protobuf::reflect::EnumDescriptor::new_pb_name::<OSPolicyAssignment_RolloutState>("OSPolicyAssignment.RolloutState", file_descriptor_proto())
1634        })
1635    }
1636}
1637
1638impl ::std::marker::Copy for OSPolicyAssignment_RolloutState {
1639}
1640
1641impl ::std::default::Default for OSPolicyAssignment_RolloutState {
1642    fn default() -> Self {
1643        OSPolicyAssignment_RolloutState::ROLLOUT_STATE_UNSPECIFIED
1644    }
1645}
1646
1647impl ::protobuf::reflect::ProtobufValue for OSPolicyAssignment_RolloutState {
1648    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1649        ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
1650    }
1651}
1652
1653#[derive(PartialEq,Clone,Default)]
1654pub struct OSPolicyAssignmentOperationMetadata {
1655    // message fields
1656    pub os_policy_assignment: ::std::string::String,
1657    pub api_method: OSPolicyAssignmentOperationMetadata_APIMethod,
1658    pub rollout_state: OSPolicyAssignmentOperationMetadata_RolloutState,
1659    pub rollout_start_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>,
1660    pub rollout_update_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>,
1661    // special fields
1662    pub unknown_fields: ::protobuf::UnknownFields,
1663    pub cached_size: ::protobuf::CachedSize,
1664}
1665
1666impl<'a> ::std::default::Default for &'a OSPolicyAssignmentOperationMetadata {
1667    fn default() -> &'a OSPolicyAssignmentOperationMetadata {
1668        <OSPolicyAssignmentOperationMetadata as ::protobuf::Message>::default_instance()
1669    }
1670}
1671
1672impl OSPolicyAssignmentOperationMetadata {
1673    pub fn new() -> OSPolicyAssignmentOperationMetadata {
1674        ::std::default::Default::default()
1675    }
1676
1677    // string os_policy_assignment = 1;
1678
1679
1680    pub fn get_os_policy_assignment(&self) -> &str {
1681        &self.os_policy_assignment
1682    }
1683    pub fn clear_os_policy_assignment(&mut self) {
1684        self.os_policy_assignment.clear();
1685    }
1686
1687    // Param is passed by value, moved
1688    pub fn set_os_policy_assignment(&mut self, v: ::std::string::String) {
1689        self.os_policy_assignment = v;
1690    }
1691
1692    // Mutable pointer to the field.
1693    // If field is not initialized, it is initialized with default value first.
1694    pub fn mut_os_policy_assignment(&mut self) -> &mut ::std::string::String {
1695        &mut self.os_policy_assignment
1696    }
1697
1698    // Take field
1699    pub fn take_os_policy_assignment(&mut self) -> ::std::string::String {
1700        ::std::mem::replace(&mut self.os_policy_assignment, ::std::string::String::new())
1701    }
1702
1703    // .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.APIMethod api_method = 2;
1704
1705
1706    pub fn get_api_method(&self) -> OSPolicyAssignmentOperationMetadata_APIMethod {
1707        self.api_method
1708    }
1709    pub fn clear_api_method(&mut self) {
1710        self.api_method = OSPolicyAssignmentOperationMetadata_APIMethod::API_METHOD_UNSPECIFIED;
1711    }
1712
1713    // Param is passed by value, moved
1714    pub fn set_api_method(&mut self, v: OSPolicyAssignmentOperationMetadata_APIMethod) {
1715        self.api_method = v;
1716    }
1717
1718    // .google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata.RolloutState rollout_state = 3;
1719
1720
1721    pub fn get_rollout_state(&self) -> OSPolicyAssignmentOperationMetadata_RolloutState {
1722        self.rollout_state
1723    }
1724    pub fn clear_rollout_state(&mut self) {
1725        self.rollout_state = OSPolicyAssignmentOperationMetadata_RolloutState::ROLLOUT_STATE_UNSPECIFIED;
1726    }
1727
1728    // Param is passed by value, moved
1729    pub fn set_rollout_state(&mut self, v: OSPolicyAssignmentOperationMetadata_RolloutState) {
1730        self.rollout_state = v;
1731    }
1732
1733    // .google.protobuf.Timestamp rollout_start_time = 4;
1734
1735
1736    pub fn get_rollout_start_time(&self) -> &::protobuf::well_known_types::Timestamp {
1737        self.rollout_start_time.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Timestamp as ::protobuf::Message>::default_instance())
1738    }
1739    pub fn clear_rollout_start_time(&mut self) {
1740        self.rollout_start_time.clear();
1741    }
1742
1743    pub fn has_rollout_start_time(&self) -> bool {
1744        self.rollout_start_time.is_some()
1745    }
1746
1747    // Param is passed by value, moved
1748    pub fn set_rollout_start_time(&mut self, v: ::protobuf::well_known_types::Timestamp) {
1749        self.rollout_start_time = ::protobuf::SingularPtrField::some(v);
1750    }
1751
1752    // Mutable pointer to the field.
1753    // If field is not initialized, it is initialized with default value first.
1754    pub fn mut_rollout_start_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp {
1755        if self.rollout_start_time.is_none() {
1756            self.rollout_start_time.set_default();
1757        }
1758        self.rollout_start_time.as_mut().unwrap()
1759    }
1760
1761    // Take field
1762    pub fn take_rollout_start_time(&mut self) -> ::protobuf::well_known_types::Timestamp {
1763        self.rollout_start_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new())
1764    }
1765
1766    // .google.protobuf.Timestamp rollout_update_time = 5;
1767
1768
1769    pub fn get_rollout_update_time(&self) -> &::protobuf::well_known_types::Timestamp {
1770        self.rollout_update_time.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Timestamp as ::protobuf::Message>::default_instance())
1771    }
1772    pub fn clear_rollout_update_time(&mut self) {
1773        self.rollout_update_time.clear();
1774    }
1775
1776    pub fn has_rollout_update_time(&self) -> bool {
1777        self.rollout_update_time.is_some()
1778    }
1779
1780    // Param is passed by value, moved
1781    pub fn set_rollout_update_time(&mut self, v: ::protobuf::well_known_types::Timestamp) {
1782        self.rollout_update_time = ::protobuf::SingularPtrField::some(v);
1783    }
1784
1785    // Mutable pointer to the field.
1786    // If field is not initialized, it is initialized with default value first.
1787    pub fn mut_rollout_update_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp {
1788        if self.rollout_update_time.is_none() {
1789            self.rollout_update_time.set_default();
1790        }
1791        self.rollout_update_time.as_mut().unwrap()
1792    }
1793
1794    // Take field
1795    pub fn take_rollout_update_time(&mut self) -> ::protobuf::well_known_types::Timestamp {
1796        self.rollout_update_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new())
1797    }
1798}
1799
1800impl ::protobuf::Message for OSPolicyAssignmentOperationMetadata {
1801    fn is_initialized(&self) -> bool {
1802        for v in &self.rollout_start_time {
1803            if !v.is_initialized() {
1804                return false;
1805            }
1806        };
1807        for v in &self.rollout_update_time {
1808            if !v.is_initialized() {
1809                return false;
1810            }
1811        };
1812        true
1813    }
1814
1815    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1816        while !is.eof()? {
1817            let (field_number, wire_type) = is.read_tag_unpack()?;
1818            match field_number {
1819                1 => {
1820                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.os_policy_assignment)?;
1821                },
1822                2 => {
1823                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.api_method, 2, &mut self.unknown_fields)?
1824                },
1825                3 => {
1826                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.rollout_state, 3, &mut self.unknown_fields)?
1827                },
1828                4 => {
1829                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.rollout_start_time)?;
1830                },
1831                5 => {
1832                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.rollout_update_time)?;
1833                },
1834                _ => {
1835                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1836                },
1837            };
1838        }
1839        ::std::result::Result::Ok(())
1840    }
1841
1842    // Compute sizes of nested messages
1843    #[allow(unused_variables)]
1844    fn compute_size(&self) -> u32 {
1845        let mut my_size = 0;
1846        if !self.os_policy_assignment.is_empty() {
1847            my_size += ::protobuf::rt::string_size(1, &self.os_policy_assignment);
1848        }
1849        if self.api_method != OSPolicyAssignmentOperationMetadata_APIMethod::API_METHOD_UNSPECIFIED {
1850            my_size += ::protobuf::rt::enum_size(2, self.api_method);
1851        }
1852        if self.rollout_state != OSPolicyAssignmentOperationMetadata_RolloutState::ROLLOUT_STATE_UNSPECIFIED {
1853            my_size += ::protobuf::rt::enum_size(3, self.rollout_state);
1854        }
1855        if let Some(ref v) = self.rollout_start_time.as_ref() {
1856            let len = v.compute_size();
1857            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1858        }
1859        if let Some(ref v) = self.rollout_update_time.as_ref() {
1860            let len = v.compute_size();
1861            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1862        }
1863        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1864        self.cached_size.set(my_size);
1865        my_size
1866    }
1867
1868    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1869        if !self.os_policy_assignment.is_empty() {
1870            os.write_string(1, &self.os_policy_assignment)?;
1871        }
1872        if self.api_method != OSPolicyAssignmentOperationMetadata_APIMethod::API_METHOD_UNSPECIFIED {
1873            os.write_enum(2, ::protobuf::ProtobufEnum::value(&self.api_method))?;
1874        }
1875        if self.rollout_state != OSPolicyAssignmentOperationMetadata_RolloutState::ROLLOUT_STATE_UNSPECIFIED {
1876            os.write_enum(3, ::protobuf::ProtobufEnum::value(&self.rollout_state))?;
1877        }
1878        if let Some(ref v) = self.rollout_start_time.as_ref() {
1879            os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1880            os.write_raw_varint32(v.get_cached_size())?;
1881            v.write_to_with_cached_sizes(os)?;
1882        }
1883        if let Some(ref v) = self.rollout_update_time.as_ref() {
1884            os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1885            os.write_raw_varint32(v.get_cached_size())?;
1886            v.write_to_with_cached_sizes(os)?;
1887        }
1888        os.write_unknown_fields(self.get_unknown_fields())?;
1889        ::std::result::Result::Ok(())
1890    }
1891
1892    fn get_cached_size(&self) -> u32 {
1893        self.cached_size.get()
1894    }
1895
1896    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1897        &self.unknown_fields
1898    }
1899
1900    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1901        &mut self.unknown_fields
1902    }
1903
1904    fn as_any(&self) -> &dyn (::std::any::Any) {
1905        self as &dyn (::std::any::Any)
1906    }
1907    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1908        self as &mut dyn (::std::any::Any)
1909    }
1910    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1911        self
1912    }
1913
1914    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1915        Self::descriptor_static()
1916    }
1917
1918    fn new() -> OSPolicyAssignmentOperationMetadata {
1919        OSPolicyAssignmentOperationMetadata::new()
1920    }
1921
1922    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1923        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1924        descriptor.get(|| {
1925            let mut fields = ::std::vec::Vec::new();
1926            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
1927                "os_policy_assignment",
1928                |m: &OSPolicyAssignmentOperationMetadata| { &m.os_policy_assignment },
1929                |m: &mut OSPolicyAssignmentOperationMetadata| { &mut m.os_policy_assignment },
1930            ));
1931            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<OSPolicyAssignmentOperationMetadata_APIMethod>>(
1932                "api_method",
1933                |m: &OSPolicyAssignmentOperationMetadata| { &m.api_method },
1934                |m: &mut OSPolicyAssignmentOperationMetadata| { &mut m.api_method },
1935            ));
1936            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<OSPolicyAssignmentOperationMetadata_RolloutState>>(
1937                "rollout_state",
1938                |m: &OSPolicyAssignmentOperationMetadata| { &m.rollout_state },
1939                |m: &mut OSPolicyAssignmentOperationMetadata| { &mut m.rollout_state },
1940            ));
1941            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>(
1942                "rollout_start_time",
1943                |m: &OSPolicyAssignmentOperationMetadata| { &m.rollout_start_time },
1944                |m: &mut OSPolicyAssignmentOperationMetadata| { &mut m.rollout_start_time },
1945            ));
1946            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>(
1947                "rollout_update_time",
1948                |m: &OSPolicyAssignmentOperationMetadata| { &m.rollout_update_time },
1949                |m: &mut OSPolicyAssignmentOperationMetadata| { &mut m.rollout_update_time },
1950            ));
1951            ::protobuf::reflect::MessageDescriptor::new_pb_name::<OSPolicyAssignmentOperationMetadata>(
1952                "OSPolicyAssignmentOperationMetadata",
1953                fields,
1954                file_descriptor_proto()
1955            )
1956        })
1957    }
1958
1959    fn default_instance() -> &'static OSPolicyAssignmentOperationMetadata {
1960        static instance: ::protobuf::rt::LazyV2<OSPolicyAssignmentOperationMetadata> = ::protobuf::rt::LazyV2::INIT;
1961        instance.get(OSPolicyAssignmentOperationMetadata::new)
1962    }
1963}
1964
1965impl ::protobuf::Clear for OSPolicyAssignmentOperationMetadata {
1966    fn clear(&mut self) {
1967        self.os_policy_assignment.clear();
1968        self.api_method = OSPolicyAssignmentOperationMetadata_APIMethod::API_METHOD_UNSPECIFIED;
1969        self.rollout_state = OSPolicyAssignmentOperationMetadata_RolloutState::ROLLOUT_STATE_UNSPECIFIED;
1970        self.rollout_start_time.clear();
1971        self.rollout_update_time.clear();
1972        self.unknown_fields.clear();
1973    }
1974}
1975
1976impl ::std::fmt::Debug for OSPolicyAssignmentOperationMetadata {
1977    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1978        ::protobuf::text_format::fmt(self, f)
1979    }
1980}
1981
1982impl ::protobuf::reflect::ProtobufValue for OSPolicyAssignmentOperationMetadata {
1983    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1984        ::protobuf::reflect::ReflectValueRef::Message(self)
1985    }
1986}
1987
1988#[derive(Clone,PartialEq,Eq,Debug,Hash)]
1989pub enum OSPolicyAssignmentOperationMetadata_APIMethod {
1990    API_METHOD_UNSPECIFIED = 0,
1991    CREATE = 1,
1992    UPDATE = 2,
1993    DELETE = 3,
1994}
1995
1996impl ::protobuf::ProtobufEnum for OSPolicyAssignmentOperationMetadata_APIMethod {
1997    fn value(&self) -> i32 {
1998        *self as i32
1999    }
2000
2001    fn from_i32(value: i32) -> ::std::option::Option<OSPolicyAssignmentOperationMetadata_APIMethod> {
2002        match value {
2003            0 => ::std::option::Option::Some(OSPolicyAssignmentOperationMetadata_APIMethod::API_METHOD_UNSPECIFIED),
2004            1 => ::std::option::Option::Some(OSPolicyAssignmentOperationMetadata_APIMethod::CREATE),
2005            2 => ::std::option::Option::Some(OSPolicyAssignmentOperationMetadata_APIMethod::UPDATE),
2006            3 => ::std::option::Option::Some(OSPolicyAssignmentOperationMetadata_APIMethod::DELETE),
2007            _ => ::std::option::Option::None
2008        }
2009    }
2010
2011    fn values() -> &'static [Self] {
2012        static values: &'static [OSPolicyAssignmentOperationMetadata_APIMethod] = &[
2013            OSPolicyAssignmentOperationMetadata_APIMethod::API_METHOD_UNSPECIFIED,
2014            OSPolicyAssignmentOperationMetadata_APIMethod::CREATE,
2015            OSPolicyAssignmentOperationMetadata_APIMethod::UPDATE,
2016            OSPolicyAssignmentOperationMetadata_APIMethod::DELETE,
2017        ];
2018        values
2019    }
2020
2021    fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
2022        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
2023        descriptor.get(|| {
2024            ::protobuf::reflect::EnumDescriptor::new_pb_name::<OSPolicyAssignmentOperationMetadata_APIMethod>("OSPolicyAssignmentOperationMetadata.APIMethod", file_descriptor_proto())
2025        })
2026    }
2027}
2028
2029impl ::std::marker::Copy for OSPolicyAssignmentOperationMetadata_APIMethod {
2030}
2031
2032impl ::std::default::Default for OSPolicyAssignmentOperationMetadata_APIMethod {
2033    fn default() -> Self {
2034        OSPolicyAssignmentOperationMetadata_APIMethod::API_METHOD_UNSPECIFIED
2035    }
2036}
2037
2038impl ::protobuf::reflect::ProtobufValue for OSPolicyAssignmentOperationMetadata_APIMethod {
2039    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2040        ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
2041    }
2042}
2043
2044#[derive(Clone,PartialEq,Eq,Debug,Hash)]
2045pub enum OSPolicyAssignmentOperationMetadata_RolloutState {
2046    ROLLOUT_STATE_UNSPECIFIED = 0,
2047    IN_PROGRESS = 1,
2048    CANCELLING = 2,
2049    CANCELLED = 3,
2050    SUCCEEDED = 4,
2051}
2052
2053impl ::protobuf::ProtobufEnum for OSPolicyAssignmentOperationMetadata_RolloutState {
2054    fn value(&self) -> i32 {
2055        *self as i32
2056    }
2057
2058    fn from_i32(value: i32) -> ::std::option::Option<OSPolicyAssignmentOperationMetadata_RolloutState> {
2059        match value {
2060            0 => ::std::option::Option::Some(OSPolicyAssignmentOperationMetadata_RolloutState::ROLLOUT_STATE_UNSPECIFIED),
2061            1 => ::std::option::Option::Some(OSPolicyAssignmentOperationMetadata_RolloutState::IN_PROGRESS),
2062            2 => ::std::option::Option::Some(OSPolicyAssignmentOperationMetadata_RolloutState::CANCELLING),
2063            3 => ::std::option::Option::Some(OSPolicyAssignmentOperationMetadata_RolloutState::CANCELLED),
2064            4 => ::std::option::Option::Some(OSPolicyAssignmentOperationMetadata_RolloutState::SUCCEEDED),
2065            _ => ::std::option::Option::None
2066        }
2067    }
2068
2069    fn values() -> &'static [Self] {
2070        static values: &'static [OSPolicyAssignmentOperationMetadata_RolloutState] = &[
2071            OSPolicyAssignmentOperationMetadata_RolloutState::ROLLOUT_STATE_UNSPECIFIED,
2072            OSPolicyAssignmentOperationMetadata_RolloutState::IN_PROGRESS,
2073            OSPolicyAssignmentOperationMetadata_RolloutState::CANCELLING,
2074            OSPolicyAssignmentOperationMetadata_RolloutState::CANCELLED,
2075            OSPolicyAssignmentOperationMetadata_RolloutState::SUCCEEDED,
2076        ];
2077        values
2078    }
2079
2080    fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
2081        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
2082        descriptor.get(|| {
2083            ::protobuf::reflect::EnumDescriptor::new_pb_name::<OSPolicyAssignmentOperationMetadata_RolloutState>("OSPolicyAssignmentOperationMetadata.RolloutState", file_descriptor_proto())
2084        })
2085    }
2086}
2087
2088impl ::std::marker::Copy for OSPolicyAssignmentOperationMetadata_RolloutState {
2089}
2090
2091impl ::std::default::Default for OSPolicyAssignmentOperationMetadata_RolloutState {
2092    fn default() -> Self {
2093        OSPolicyAssignmentOperationMetadata_RolloutState::ROLLOUT_STATE_UNSPECIFIED
2094    }
2095}
2096
2097impl ::protobuf::reflect::ProtobufValue for OSPolicyAssignmentOperationMetadata_RolloutState {
2098    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2099        ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
2100    }
2101}
2102
2103#[derive(PartialEq,Clone,Default)]
2104pub struct CreateOSPolicyAssignmentRequest {
2105    // message fields
2106    pub parent: ::std::string::String,
2107    pub os_policy_assignment: ::protobuf::SingularPtrField<OSPolicyAssignment>,
2108    pub os_policy_assignment_id: ::std::string::String,
2109    // special fields
2110    pub unknown_fields: ::protobuf::UnknownFields,
2111    pub cached_size: ::protobuf::CachedSize,
2112}
2113
2114impl<'a> ::std::default::Default for &'a CreateOSPolicyAssignmentRequest {
2115    fn default() -> &'a CreateOSPolicyAssignmentRequest {
2116        <CreateOSPolicyAssignmentRequest as ::protobuf::Message>::default_instance()
2117    }
2118}
2119
2120impl CreateOSPolicyAssignmentRequest {
2121    pub fn new() -> CreateOSPolicyAssignmentRequest {
2122        ::std::default::Default::default()
2123    }
2124
2125    // string parent = 1;
2126
2127
2128    pub fn get_parent(&self) -> &str {
2129        &self.parent
2130    }
2131    pub fn clear_parent(&mut self) {
2132        self.parent.clear();
2133    }
2134
2135    // Param is passed by value, moved
2136    pub fn set_parent(&mut self, v: ::std::string::String) {
2137        self.parent = v;
2138    }
2139
2140    // Mutable pointer to the field.
2141    // If field is not initialized, it is initialized with default value first.
2142    pub fn mut_parent(&mut self) -> &mut ::std::string::String {
2143        &mut self.parent
2144    }
2145
2146    // Take field
2147    pub fn take_parent(&mut self) -> ::std::string::String {
2148        ::std::mem::replace(&mut self.parent, ::std::string::String::new())
2149    }
2150
2151    // .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 2;
2152
2153
2154    pub fn get_os_policy_assignment(&self) -> &OSPolicyAssignment {
2155        self.os_policy_assignment.as_ref().unwrap_or_else(|| <OSPolicyAssignment as ::protobuf::Message>::default_instance())
2156    }
2157    pub fn clear_os_policy_assignment(&mut self) {
2158        self.os_policy_assignment.clear();
2159    }
2160
2161    pub fn has_os_policy_assignment(&self) -> bool {
2162        self.os_policy_assignment.is_some()
2163    }
2164
2165    // Param is passed by value, moved
2166    pub fn set_os_policy_assignment(&mut self, v: OSPolicyAssignment) {
2167        self.os_policy_assignment = ::protobuf::SingularPtrField::some(v);
2168    }
2169
2170    // Mutable pointer to the field.
2171    // If field is not initialized, it is initialized with default value first.
2172    pub fn mut_os_policy_assignment(&mut self) -> &mut OSPolicyAssignment {
2173        if self.os_policy_assignment.is_none() {
2174            self.os_policy_assignment.set_default();
2175        }
2176        self.os_policy_assignment.as_mut().unwrap()
2177    }
2178
2179    // Take field
2180    pub fn take_os_policy_assignment(&mut self) -> OSPolicyAssignment {
2181        self.os_policy_assignment.take().unwrap_or_else(|| OSPolicyAssignment::new())
2182    }
2183
2184    // string os_policy_assignment_id = 3;
2185
2186
2187    pub fn get_os_policy_assignment_id(&self) -> &str {
2188        &self.os_policy_assignment_id
2189    }
2190    pub fn clear_os_policy_assignment_id(&mut self) {
2191        self.os_policy_assignment_id.clear();
2192    }
2193
2194    // Param is passed by value, moved
2195    pub fn set_os_policy_assignment_id(&mut self, v: ::std::string::String) {
2196        self.os_policy_assignment_id = v;
2197    }
2198
2199    // Mutable pointer to the field.
2200    // If field is not initialized, it is initialized with default value first.
2201    pub fn mut_os_policy_assignment_id(&mut self) -> &mut ::std::string::String {
2202        &mut self.os_policy_assignment_id
2203    }
2204
2205    // Take field
2206    pub fn take_os_policy_assignment_id(&mut self) -> ::std::string::String {
2207        ::std::mem::replace(&mut self.os_policy_assignment_id, ::std::string::String::new())
2208    }
2209}
2210
2211impl ::protobuf::Message for CreateOSPolicyAssignmentRequest {
2212    fn is_initialized(&self) -> bool {
2213        for v in &self.os_policy_assignment {
2214            if !v.is_initialized() {
2215                return false;
2216            }
2217        };
2218        true
2219    }
2220
2221    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2222        while !is.eof()? {
2223            let (field_number, wire_type) = is.read_tag_unpack()?;
2224            match field_number {
2225                1 => {
2226                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.parent)?;
2227                },
2228                2 => {
2229                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.os_policy_assignment)?;
2230                },
2231                3 => {
2232                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.os_policy_assignment_id)?;
2233                },
2234                _ => {
2235                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2236                },
2237            };
2238        }
2239        ::std::result::Result::Ok(())
2240    }
2241
2242    // Compute sizes of nested messages
2243    #[allow(unused_variables)]
2244    fn compute_size(&self) -> u32 {
2245        let mut my_size = 0;
2246        if !self.parent.is_empty() {
2247            my_size += ::protobuf::rt::string_size(1, &self.parent);
2248        }
2249        if let Some(ref v) = self.os_policy_assignment.as_ref() {
2250            let len = v.compute_size();
2251            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
2252        }
2253        if !self.os_policy_assignment_id.is_empty() {
2254            my_size += ::protobuf::rt::string_size(3, &self.os_policy_assignment_id);
2255        }
2256        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2257        self.cached_size.set(my_size);
2258        my_size
2259    }
2260
2261    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2262        if !self.parent.is_empty() {
2263            os.write_string(1, &self.parent)?;
2264        }
2265        if let Some(ref v) = self.os_policy_assignment.as_ref() {
2266            os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
2267            os.write_raw_varint32(v.get_cached_size())?;
2268            v.write_to_with_cached_sizes(os)?;
2269        }
2270        if !self.os_policy_assignment_id.is_empty() {
2271            os.write_string(3, &self.os_policy_assignment_id)?;
2272        }
2273        os.write_unknown_fields(self.get_unknown_fields())?;
2274        ::std::result::Result::Ok(())
2275    }
2276
2277    fn get_cached_size(&self) -> u32 {
2278        self.cached_size.get()
2279    }
2280
2281    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2282        &self.unknown_fields
2283    }
2284
2285    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2286        &mut self.unknown_fields
2287    }
2288
2289    fn as_any(&self) -> &dyn (::std::any::Any) {
2290        self as &dyn (::std::any::Any)
2291    }
2292    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2293        self as &mut dyn (::std::any::Any)
2294    }
2295    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2296        self
2297    }
2298
2299    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2300        Self::descriptor_static()
2301    }
2302
2303    fn new() -> CreateOSPolicyAssignmentRequest {
2304        CreateOSPolicyAssignmentRequest::new()
2305    }
2306
2307    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2308        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2309        descriptor.get(|| {
2310            let mut fields = ::std::vec::Vec::new();
2311            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
2312                "parent",
2313                |m: &CreateOSPolicyAssignmentRequest| { &m.parent },
2314                |m: &mut CreateOSPolicyAssignmentRequest| { &mut m.parent },
2315            ));
2316            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<OSPolicyAssignment>>(
2317                "os_policy_assignment",
2318                |m: &CreateOSPolicyAssignmentRequest| { &m.os_policy_assignment },
2319                |m: &mut CreateOSPolicyAssignmentRequest| { &mut m.os_policy_assignment },
2320            ));
2321            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
2322                "os_policy_assignment_id",
2323                |m: &CreateOSPolicyAssignmentRequest| { &m.os_policy_assignment_id },
2324                |m: &mut CreateOSPolicyAssignmentRequest| { &mut m.os_policy_assignment_id },
2325            ));
2326            ::protobuf::reflect::MessageDescriptor::new_pb_name::<CreateOSPolicyAssignmentRequest>(
2327                "CreateOSPolicyAssignmentRequest",
2328                fields,
2329                file_descriptor_proto()
2330            )
2331        })
2332    }
2333
2334    fn default_instance() -> &'static CreateOSPolicyAssignmentRequest {
2335        static instance: ::protobuf::rt::LazyV2<CreateOSPolicyAssignmentRequest> = ::protobuf::rt::LazyV2::INIT;
2336        instance.get(CreateOSPolicyAssignmentRequest::new)
2337    }
2338}
2339
2340impl ::protobuf::Clear for CreateOSPolicyAssignmentRequest {
2341    fn clear(&mut self) {
2342        self.parent.clear();
2343        self.os_policy_assignment.clear();
2344        self.os_policy_assignment_id.clear();
2345        self.unknown_fields.clear();
2346    }
2347}
2348
2349impl ::std::fmt::Debug for CreateOSPolicyAssignmentRequest {
2350    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2351        ::protobuf::text_format::fmt(self, f)
2352    }
2353}
2354
2355impl ::protobuf::reflect::ProtobufValue for CreateOSPolicyAssignmentRequest {
2356    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2357        ::protobuf::reflect::ReflectValueRef::Message(self)
2358    }
2359}
2360
2361#[derive(PartialEq,Clone,Default)]
2362pub struct UpdateOSPolicyAssignmentRequest {
2363    // message fields
2364    pub os_policy_assignment: ::protobuf::SingularPtrField<OSPolicyAssignment>,
2365    pub update_mask: ::protobuf::SingularPtrField<::protobuf::well_known_types::FieldMask>,
2366    // special fields
2367    pub unknown_fields: ::protobuf::UnknownFields,
2368    pub cached_size: ::protobuf::CachedSize,
2369}
2370
2371impl<'a> ::std::default::Default for &'a UpdateOSPolicyAssignmentRequest {
2372    fn default() -> &'a UpdateOSPolicyAssignmentRequest {
2373        <UpdateOSPolicyAssignmentRequest as ::protobuf::Message>::default_instance()
2374    }
2375}
2376
2377impl UpdateOSPolicyAssignmentRequest {
2378    pub fn new() -> UpdateOSPolicyAssignmentRequest {
2379        ::std::default::Default::default()
2380    }
2381
2382    // .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignment = 1;
2383
2384
2385    pub fn get_os_policy_assignment(&self) -> &OSPolicyAssignment {
2386        self.os_policy_assignment.as_ref().unwrap_or_else(|| <OSPolicyAssignment as ::protobuf::Message>::default_instance())
2387    }
2388    pub fn clear_os_policy_assignment(&mut self) {
2389        self.os_policy_assignment.clear();
2390    }
2391
2392    pub fn has_os_policy_assignment(&self) -> bool {
2393        self.os_policy_assignment.is_some()
2394    }
2395
2396    // Param is passed by value, moved
2397    pub fn set_os_policy_assignment(&mut self, v: OSPolicyAssignment) {
2398        self.os_policy_assignment = ::protobuf::SingularPtrField::some(v);
2399    }
2400
2401    // Mutable pointer to the field.
2402    // If field is not initialized, it is initialized with default value first.
2403    pub fn mut_os_policy_assignment(&mut self) -> &mut OSPolicyAssignment {
2404        if self.os_policy_assignment.is_none() {
2405            self.os_policy_assignment.set_default();
2406        }
2407        self.os_policy_assignment.as_mut().unwrap()
2408    }
2409
2410    // Take field
2411    pub fn take_os_policy_assignment(&mut self) -> OSPolicyAssignment {
2412        self.os_policy_assignment.take().unwrap_or_else(|| OSPolicyAssignment::new())
2413    }
2414
2415    // .google.protobuf.FieldMask update_mask = 2;
2416
2417
2418    pub fn get_update_mask(&self) -> &::protobuf::well_known_types::FieldMask {
2419        self.update_mask.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::FieldMask as ::protobuf::Message>::default_instance())
2420    }
2421    pub fn clear_update_mask(&mut self) {
2422        self.update_mask.clear();
2423    }
2424
2425    pub fn has_update_mask(&self) -> bool {
2426        self.update_mask.is_some()
2427    }
2428
2429    // Param is passed by value, moved
2430    pub fn set_update_mask(&mut self, v: ::protobuf::well_known_types::FieldMask) {
2431        self.update_mask = ::protobuf::SingularPtrField::some(v);
2432    }
2433
2434    // Mutable pointer to the field.
2435    // If field is not initialized, it is initialized with default value first.
2436    pub fn mut_update_mask(&mut self) -> &mut ::protobuf::well_known_types::FieldMask {
2437        if self.update_mask.is_none() {
2438            self.update_mask.set_default();
2439        }
2440        self.update_mask.as_mut().unwrap()
2441    }
2442
2443    // Take field
2444    pub fn take_update_mask(&mut self) -> ::protobuf::well_known_types::FieldMask {
2445        self.update_mask.take().unwrap_or_else(|| ::protobuf::well_known_types::FieldMask::new())
2446    }
2447}
2448
2449impl ::protobuf::Message for UpdateOSPolicyAssignmentRequest {
2450    fn is_initialized(&self) -> bool {
2451        for v in &self.os_policy_assignment {
2452            if !v.is_initialized() {
2453                return false;
2454            }
2455        };
2456        for v in &self.update_mask {
2457            if !v.is_initialized() {
2458                return false;
2459            }
2460        };
2461        true
2462    }
2463
2464    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2465        while !is.eof()? {
2466            let (field_number, wire_type) = is.read_tag_unpack()?;
2467            match field_number {
2468                1 => {
2469                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.os_policy_assignment)?;
2470                },
2471                2 => {
2472                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.update_mask)?;
2473                },
2474                _ => {
2475                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2476                },
2477            };
2478        }
2479        ::std::result::Result::Ok(())
2480    }
2481
2482    // Compute sizes of nested messages
2483    #[allow(unused_variables)]
2484    fn compute_size(&self) -> u32 {
2485        let mut my_size = 0;
2486        if let Some(ref v) = self.os_policy_assignment.as_ref() {
2487            let len = v.compute_size();
2488            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
2489        }
2490        if let Some(ref v) = self.update_mask.as_ref() {
2491            let len = v.compute_size();
2492            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
2493        }
2494        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2495        self.cached_size.set(my_size);
2496        my_size
2497    }
2498
2499    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2500        if let Some(ref v) = self.os_policy_assignment.as_ref() {
2501            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
2502            os.write_raw_varint32(v.get_cached_size())?;
2503            v.write_to_with_cached_sizes(os)?;
2504        }
2505        if let Some(ref v) = self.update_mask.as_ref() {
2506            os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
2507            os.write_raw_varint32(v.get_cached_size())?;
2508            v.write_to_with_cached_sizes(os)?;
2509        }
2510        os.write_unknown_fields(self.get_unknown_fields())?;
2511        ::std::result::Result::Ok(())
2512    }
2513
2514    fn get_cached_size(&self) -> u32 {
2515        self.cached_size.get()
2516    }
2517
2518    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2519        &self.unknown_fields
2520    }
2521
2522    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2523        &mut self.unknown_fields
2524    }
2525
2526    fn as_any(&self) -> &dyn (::std::any::Any) {
2527        self as &dyn (::std::any::Any)
2528    }
2529    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2530        self as &mut dyn (::std::any::Any)
2531    }
2532    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2533        self
2534    }
2535
2536    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2537        Self::descriptor_static()
2538    }
2539
2540    fn new() -> UpdateOSPolicyAssignmentRequest {
2541        UpdateOSPolicyAssignmentRequest::new()
2542    }
2543
2544    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2545        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2546        descriptor.get(|| {
2547            let mut fields = ::std::vec::Vec::new();
2548            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<OSPolicyAssignment>>(
2549                "os_policy_assignment",
2550                |m: &UpdateOSPolicyAssignmentRequest| { &m.os_policy_assignment },
2551                |m: &mut UpdateOSPolicyAssignmentRequest| { &mut m.os_policy_assignment },
2552            ));
2553            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::FieldMask>>(
2554                "update_mask",
2555                |m: &UpdateOSPolicyAssignmentRequest| { &m.update_mask },
2556                |m: &mut UpdateOSPolicyAssignmentRequest| { &mut m.update_mask },
2557            ));
2558            ::protobuf::reflect::MessageDescriptor::new_pb_name::<UpdateOSPolicyAssignmentRequest>(
2559                "UpdateOSPolicyAssignmentRequest",
2560                fields,
2561                file_descriptor_proto()
2562            )
2563        })
2564    }
2565
2566    fn default_instance() -> &'static UpdateOSPolicyAssignmentRequest {
2567        static instance: ::protobuf::rt::LazyV2<UpdateOSPolicyAssignmentRequest> = ::protobuf::rt::LazyV2::INIT;
2568        instance.get(UpdateOSPolicyAssignmentRequest::new)
2569    }
2570}
2571
2572impl ::protobuf::Clear for UpdateOSPolicyAssignmentRequest {
2573    fn clear(&mut self) {
2574        self.os_policy_assignment.clear();
2575        self.update_mask.clear();
2576        self.unknown_fields.clear();
2577    }
2578}
2579
2580impl ::std::fmt::Debug for UpdateOSPolicyAssignmentRequest {
2581    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2582        ::protobuf::text_format::fmt(self, f)
2583    }
2584}
2585
2586impl ::protobuf::reflect::ProtobufValue for UpdateOSPolicyAssignmentRequest {
2587    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2588        ::protobuf::reflect::ReflectValueRef::Message(self)
2589    }
2590}
2591
2592#[derive(PartialEq,Clone,Default)]
2593pub struct GetOSPolicyAssignmentRequest {
2594    // message fields
2595    pub name: ::std::string::String,
2596    // special fields
2597    pub unknown_fields: ::protobuf::UnknownFields,
2598    pub cached_size: ::protobuf::CachedSize,
2599}
2600
2601impl<'a> ::std::default::Default for &'a GetOSPolicyAssignmentRequest {
2602    fn default() -> &'a GetOSPolicyAssignmentRequest {
2603        <GetOSPolicyAssignmentRequest as ::protobuf::Message>::default_instance()
2604    }
2605}
2606
2607impl GetOSPolicyAssignmentRequest {
2608    pub fn new() -> GetOSPolicyAssignmentRequest {
2609        ::std::default::Default::default()
2610    }
2611
2612    // string name = 1;
2613
2614
2615    pub fn get_name(&self) -> &str {
2616        &self.name
2617    }
2618    pub fn clear_name(&mut self) {
2619        self.name.clear();
2620    }
2621
2622    // Param is passed by value, moved
2623    pub fn set_name(&mut self, v: ::std::string::String) {
2624        self.name = v;
2625    }
2626
2627    // Mutable pointer to the field.
2628    // If field is not initialized, it is initialized with default value first.
2629    pub fn mut_name(&mut self) -> &mut ::std::string::String {
2630        &mut self.name
2631    }
2632
2633    // Take field
2634    pub fn take_name(&mut self) -> ::std::string::String {
2635        ::std::mem::replace(&mut self.name, ::std::string::String::new())
2636    }
2637}
2638
2639impl ::protobuf::Message for GetOSPolicyAssignmentRequest {
2640    fn is_initialized(&self) -> bool {
2641        true
2642    }
2643
2644    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2645        while !is.eof()? {
2646            let (field_number, wire_type) = is.read_tag_unpack()?;
2647            match field_number {
2648                1 => {
2649                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?;
2650                },
2651                _ => {
2652                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2653                },
2654            };
2655        }
2656        ::std::result::Result::Ok(())
2657    }
2658
2659    // Compute sizes of nested messages
2660    #[allow(unused_variables)]
2661    fn compute_size(&self) -> u32 {
2662        let mut my_size = 0;
2663        if !self.name.is_empty() {
2664            my_size += ::protobuf::rt::string_size(1, &self.name);
2665        }
2666        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2667        self.cached_size.set(my_size);
2668        my_size
2669    }
2670
2671    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2672        if !self.name.is_empty() {
2673            os.write_string(1, &self.name)?;
2674        }
2675        os.write_unknown_fields(self.get_unknown_fields())?;
2676        ::std::result::Result::Ok(())
2677    }
2678
2679    fn get_cached_size(&self) -> u32 {
2680        self.cached_size.get()
2681    }
2682
2683    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2684        &self.unknown_fields
2685    }
2686
2687    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2688        &mut self.unknown_fields
2689    }
2690
2691    fn as_any(&self) -> &dyn (::std::any::Any) {
2692        self as &dyn (::std::any::Any)
2693    }
2694    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2695        self as &mut dyn (::std::any::Any)
2696    }
2697    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2698        self
2699    }
2700
2701    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2702        Self::descriptor_static()
2703    }
2704
2705    fn new() -> GetOSPolicyAssignmentRequest {
2706        GetOSPolicyAssignmentRequest::new()
2707    }
2708
2709    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2710        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2711        descriptor.get(|| {
2712            let mut fields = ::std::vec::Vec::new();
2713            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
2714                "name",
2715                |m: &GetOSPolicyAssignmentRequest| { &m.name },
2716                |m: &mut GetOSPolicyAssignmentRequest| { &mut m.name },
2717            ));
2718            ::protobuf::reflect::MessageDescriptor::new_pb_name::<GetOSPolicyAssignmentRequest>(
2719                "GetOSPolicyAssignmentRequest",
2720                fields,
2721                file_descriptor_proto()
2722            )
2723        })
2724    }
2725
2726    fn default_instance() -> &'static GetOSPolicyAssignmentRequest {
2727        static instance: ::protobuf::rt::LazyV2<GetOSPolicyAssignmentRequest> = ::protobuf::rt::LazyV2::INIT;
2728        instance.get(GetOSPolicyAssignmentRequest::new)
2729    }
2730}
2731
2732impl ::protobuf::Clear for GetOSPolicyAssignmentRequest {
2733    fn clear(&mut self) {
2734        self.name.clear();
2735        self.unknown_fields.clear();
2736    }
2737}
2738
2739impl ::std::fmt::Debug for GetOSPolicyAssignmentRequest {
2740    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2741        ::protobuf::text_format::fmt(self, f)
2742    }
2743}
2744
2745impl ::protobuf::reflect::ProtobufValue for GetOSPolicyAssignmentRequest {
2746    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2747        ::protobuf::reflect::ReflectValueRef::Message(self)
2748    }
2749}
2750
2751#[derive(PartialEq,Clone,Default)]
2752pub struct ListOSPolicyAssignmentsRequest {
2753    // message fields
2754    pub parent: ::std::string::String,
2755    pub page_size: i32,
2756    pub page_token: ::std::string::String,
2757    // special fields
2758    pub unknown_fields: ::protobuf::UnknownFields,
2759    pub cached_size: ::protobuf::CachedSize,
2760}
2761
2762impl<'a> ::std::default::Default for &'a ListOSPolicyAssignmentsRequest {
2763    fn default() -> &'a ListOSPolicyAssignmentsRequest {
2764        <ListOSPolicyAssignmentsRequest as ::protobuf::Message>::default_instance()
2765    }
2766}
2767
2768impl ListOSPolicyAssignmentsRequest {
2769    pub fn new() -> ListOSPolicyAssignmentsRequest {
2770        ::std::default::Default::default()
2771    }
2772
2773    // string parent = 1;
2774
2775
2776    pub fn get_parent(&self) -> &str {
2777        &self.parent
2778    }
2779    pub fn clear_parent(&mut self) {
2780        self.parent.clear();
2781    }
2782
2783    // Param is passed by value, moved
2784    pub fn set_parent(&mut self, v: ::std::string::String) {
2785        self.parent = v;
2786    }
2787
2788    // Mutable pointer to the field.
2789    // If field is not initialized, it is initialized with default value first.
2790    pub fn mut_parent(&mut self) -> &mut ::std::string::String {
2791        &mut self.parent
2792    }
2793
2794    // Take field
2795    pub fn take_parent(&mut self) -> ::std::string::String {
2796        ::std::mem::replace(&mut self.parent, ::std::string::String::new())
2797    }
2798
2799    // int32 page_size = 2;
2800
2801
2802    pub fn get_page_size(&self) -> i32 {
2803        self.page_size
2804    }
2805    pub fn clear_page_size(&mut self) {
2806        self.page_size = 0;
2807    }
2808
2809    // Param is passed by value, moved
2810    pub fn set_page_size(&mut self, v: i32) {
2811        self.page_size = v;
2812    }
2813
2814    // string page_token = 3;
2815
2816
2817    pub fn get_page_token(&self) -> &str {
2818        &self.page_token
2819    }
2820    pub fn clear_page_token(&mut self) {
2821        self.page_token.clear();
2822    }
2823
2824    // Param is passed by value, moved
2825    pub fn set_page_token(&mut self, v: ::std::string::String) {
2826        self.page_token = v;
2827    }
2828
2829    // Mutable pointer to the field.
2830    // If field is not initialized, it is initialized with default value first.
2831    pub fn mut_page_token(&mut self) -> &mut ::std::string::String {
2832        &mut self.page_token
2833    }
2834
2835    // Take field
2836    pub fn take_page_token(&mut self) -> ::std::string::String {
2837        ::std::mem::replace(&mut self.page_token, ::std::string::String::new())
2838    }
2839}
2840
2841impl ::protobuf::Message for ListOSPolicyAssignmentsRequest {
2842    fn is_initialized(&self) -> bool {
2843        true
2844    }
2845
2846    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2847        while !is.eof()? {
2848            let (field_number, wire_type) = is.read_tag_unpack()?;
2849            match field_number {
2850                1 => {
2851                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.parent)?;
2852                },
2853                2 => {
2854                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
2855                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
2856                    }
2857                    let tmp = is.read_int32()?;
2858                    self.page_size = tmp;
2859                },
2860                3 => {
2861                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?;
2862                },
2863                _ => {
2864                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2865                },
2866            };
2867        }
2868        ::std::result::Result::Ok(())
2869    }
2870
2871    // Compute sizes of nested messages
2872    #[allow(unused_variables)]
2873    fn compute_size(&self) -> u32 {
2874        let mut my_size = 0;
2875        if !self.parent.is_empty() {
2876            my_size += ::protobuf::rt::string_size(1, &self.parent);
2877        }
2878        if self.page_size != 0 {
2879            my_size += ::protobuf::rt::value_size(2, self.page_size, ::protobuf::wire_format::WireTypeVarint);
2880        }
2881        if !self.page_token.is_empty() {
2882            my_size += ::protobuf::rt::string_size(3, &self.page_token);
2883        }
2884        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2885        self.cached_size.set(my_size);
2886        my_size
2887    }
2888
2889    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2890        if !self.parent.is_empty() {
2891            os.write_string(1, &self.parent)?;
2892        }
2893        if self.page_size != 0 {
2894            os.write_int32(2, self.page_size)?;
2895        }
2896        if !self.page_token.is_empty() {
2897            os.write_string(3, &self.page_token)?;
2898        }
2899        os.write_unknown_fields(self.get_unknown_fields())?;
2900        ::std::result::Result::Ok(())
2901    }
2902
2903    fn get_cached_size(&self) -> u32 {
2904        self.cached_size.get()
2905    }
2906
2907    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2908        &self.unknown_fields
2909    }
2910
2911    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2912        &mut self.unknown_fields
2913    }
2914
2915    fn as_any(&self) -> &dyn (::std::any::Any) {
2916        self as &dyn (::std::any::Any)
2917    }
2918    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2919        self as &mut dyn (::std::any::Any)
2920    }
2921    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2922        self
2923    }
2924
2925    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2926        Self::descriptor_static()
2927    }
2928
2929    fn new() -> ListOSPolicyAssignmentsRequest {
2930        ListOSPolicyAssignmentsRequest::new()
2931    }
2932
2933    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2934        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2935        descriptor.get(|| {
2936            let mut fields = ::std::vec::Vec::new();
2937            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
2938                "parent",
2939                |m: &ListOSPolicyAssignmentsRequest| { &m.parent },
2940                |m: &mut ListOSPolicyAssignmentsRequest| { &mut m.parent },
2941            ));
2942            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
2943                "page_size",
2944                |m: &ListOSPolicyAssignmentsRequest| { &m.page_size },
2945                |m: &mut ListOSPolicyAssignmentsRequest| { &mut m.page_size },
2946            ));
2947            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
2948                "page_token",
2949                |m: &ListOSPolicyAssignmentsRequest| { &m.page_token },
2950                |m: &mut ListOSPolicyAssignmentsRequest| { &mut m.page_token },
2951            ));
2952            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ListOSPolicyAssignmentsRequest>(
2953                "ListOSPolicyAssignmentsRequest",
2954                fields,
2955                file_descriptor_proto()
2956            )
2957        })
2958    }
2959
2960    fn default_instance() -> &'static ListOSPolicyAssignmentsRequest {
2961        static instance: ::protobuf::rt::LazyV2<ListOSPolicyAssignmentsRequest> = ::protobuf::rt::LazyV2::INIT;
2962        instance.get(ListOSPolicyAssignmentsRequest::new)
2963    }
2964}
2965
2966impl ::protobuf::Clear for ListOSPolicyAssignmentsRequest {
2967    fn clear(&mut self) {
2968        self.parent.clear();
2969        self.page_size = 0;
2970        self.page_token.clear();
2971        self.unknown_fields.clear();
2972    }
2973}
2974
2975impl ::std::fmt::Debug for ListOSPolicyAssignmentsRequest {
2976    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2977        ::protobuf::text_format::fmt(self, f)
2978    }
2979}
2980
2981impl ::protobuf::reflect::ProtobufValue for ListOSPolicyAssignmentsRequest {
2982    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2983        ::protobuf::reflect::ReflectValueRef::Message(self)
2984    }
2985}
2986
2987#[derive(PartialEq,Clone,Default)]
2988pub struct ListOSPolicyAssignmentsResponse {
2989    // message fields
2990    pub os_policy_assignments: ::protobuf::RepeatedField<OSPolicyAssignment>,
2991    pub next_page_token: ::std::string::String,
2992    // special fields
2993    pub unknown_fields: ::protobuf::UnknownFields,
2994    pub cached_size: ::protobuf::CachedSize,
2995}
2996
2997impl<'a> ::std::default::Default for &'a ListOSPolicyAssignmentsResponse {
2998    fn default() -> &'a ListOSPolicyAssignmentsResponse {
2999        <ListOSPolicyAssignmentsResponse as ::protobuf::Message>::default_instance()
3000    }
3001}
3002
3003impl ListOSPolicyAssignmentsResponse {
3004    pub fn new() -> ListOSPolicyAssignmentsResponse {
3005        ::std::default::Default::default()
3006    }
3007
3008    // repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;
3009
3010
3011    pub fn get_os_policy_assignments(&self) -> &[OSPolicyAssignment] {
3012        &self.os_policy_assignments
3013    }
3014    pub fn clear_os_policy_assignments(&mut self) {
3015        self.os_policy_assignments.clear();
3016    }
3017
3018    // Param is passed by value, moved
3019    pub fn set_os_policy_assignments(&mut self, v: ::protobuf::RepeatedField<OSPolicyAssignment>) {
3020        self.os_policy_assignments = v;
3021    }
3022
3023    // Mutable pointer to the field.
3024    pub fn mut_os_policy_assignments(&mut self) -> &mut ::protobuf::RepeatedField<OSPolicyAssignment> {
3025        &mut self.os_policy_assignments
3026    }
3027
3028    // Take field
3029    pub fn take_os_policy_assignments(&mut self) -> ::protobuf::RepeatedField<OSPolicyAssignment> {
3030        ::std::mem::replace(&mut self.os_policy_assignments, ::protobuf::RepeatedField::new())
3031    }
3032
3033    // string next_page_token = 2;
3034
3035
3036    pub fn get_next_page_token(&self) -> &str {
3037        &self.next_page_token
3038    }
3039    pub fn clear_next_page_token(&mut self) {
3040        self.next_page_token.clear();
3041    }
3042
3043    // Param is passed by value, moved
3044    pub fn set_next_page_token(&mut self, v: ::std::string::String) {
3045        self.next_page_token = v;
3046    }
3047
3048    // Mutable pointer to the field.
3049    // If field is not initialized, it is initialized with default value first.
3050    pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String {
3051        &mut self.next_page_token
3052    }
3053
3054    // Take field
3055    pub fn take_next_page_token(&mut self) -> ::std::string::String {
3056        ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new())
3057    }
3058}
3059
3060impl ::protobuf::Message for ListOSPolicyAssignmentsResponse {
3061    fn is_initialized(&self) -> bool {
3062        for v in &self.os_policy_assignments {
3063            if !v.is_initialized() {
3064                return false;
3065            }
3066        };
3067        true
3068    }
3069
3070    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3071        while !is.eof()? {
3072            let (field_number, wire_type) = is.read_tag_unpack()?;
3073            match field_number {
3074                1 => {
3075                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.os_policy_assignments)?;
3076                },
3077                2 => {
3078                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?;
3079                },
3080                _ => {
3081                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
3082                },
3083            };
3084        }
3085        ::std::result::Result::Ok(())
3086    }
3087
3088    // Compute sizes of nested messages
3089    #[allow(unused_variables)]
3090    fn compute_size(&self) -> u32 {
3091        let mut my_size = 0;
3092        for value in &self.os_policy_assignments {
3093            let len = value.compute_size();
3094            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
3095        };
3096        if !self.next_page_token.is_empty() {
3097            my_size += ::protobuf::rt::string_size(2, &self.next_page_token);
3098        }
3099        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
3100        self.cached_size.set(my_size);
3101        my_size
3102    }
3103
3104    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3105        for v in &self.os_policy_assignments {
3106            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
3107            os.write_raw_varint32(v.get_cached_size())?;
3108            v.write_to_with_cached_sizes(os)?;
3109        };
3110        if !self.next_page_token.is_empty() {
3111            os.write_string(2, &self.next_page_token)?;
3112        }
3113        os.write_unknown_fields(self.get_unknown_fields())?;
3114        ::std::result::Result::Ok(())
3115    }
3116
3117    fn get_cached_size(&self) -> u32 {
3118        self.cached_size.get()
3119    }
3120
3121    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
3122        &self.unknown_fields
3123    }
3124
3125    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
3126        &mut self.unknown_fields
3127    }
3128
3129    fn as_any(&self) -> &dyn (::std::any::Any) {
3130        self as &dyn (::std::any::Any)
3131    }
3132    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
3133        self as &mut dyn (::std::any::Any)
3134    }
3135    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
3136        self
3137    }
3138
3139    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
3140        Self::descriptor_static()
3141    }
3142
3143    fn new() -> ListOSPolicyAssignmentsResponse {
3144        ListOSPolicyAssignmentsResponse::new()
3145    }
3146
3147    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
3148        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
3149        descriptor.get(|| {
3150            let mut fields = ::std::vec::Vec::new();
3151            fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<OSPolicyAssignment>>(
3152                "os_policy_assignments",
3153                |m: &ListOSPolicyAssignmentsResponse| { &m.os_policy_assignments },
3154                |m: &mut ListOSPolicyAssignmentsResponse| { &mut m.os_policy_assignments },
3155            ));
3156            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
3157                "next_page_token",
3158                |m: &ListOSPolicyAssignmentsResponse| { &m.next_page_token },
3159                |m: &mut ListOSPolicyAssignmentsResponse| { &mut m.next_page_token },
3160            ));
3161            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ListOSPolicyAssignmentsResponse>(
3162                "ListOSPolicyAssignmentsResponse",
3163                fields,
3164                file_descriptor_proto()
3165            )
3166        })
3167    }
3168
3169    fn default_instance() -> &'static ListOSPolicyAssignmentsResponse {
3170        static instance: ::protobuf::rt::LazyV2<ListOSPolicyAssignmentsResponse> = ::protobuf::rt::LazyV2::INIT;
3171        instance.get(ListOSPolicyAssignmentsResponse::new)
3172    }
3173}
3174
3175impl ::protobuf::Clear for ListOSPolicyAssignmentsResponse {
3176    fn clear(&mut self) {
3177        self.os_policy_assignments.clear();
3178        self.next_page_token.clear();
3179        self.unknown_fields.clear();
3180    }
3181}
3182
3183impl ::std::fmt::Debug for ListOSPolicyAssignmentsResponse {
3184    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3185        ::protobuf::text_format::fmt(self, f)
3186    }
3187}
3188
3189impl ::protobuf::reflect::ProtobufValue for ListOSPolicyAssignmentsResponse {
3190    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
3191        ::protobuf::reflect::ReflectValueRef::Message(self)
3192    }
3193}
3194
3195#[derive(PartialEq,Clone,Default)]
3196pub struct ListOSPolicyAssignmentRevisionsRequest {
3197    // message fields
3198    pub name: ::std::string::String,
3199    pub page_size: i32,
3200    pub page_token: ::std::string::String,
3201    // special fields
3202    pub unknown_fields: ::protobuf::UnknownFields,
3203    pub cached_size: ::protobuf::CachedSize,
3204}
3205
3206impl<'a> ::std::default::Default for &'a ListOSPolicyAssignmentRevisionsRequest {
3207    fn default() -> &'a ListOSPolicyAssignmentRevisionsRequest {
3208        <ListOSPolicyAssignmentRevisionsRequest as ::protobuf::Message>::default_instance()
3209    }
3210}
3211
3212impl ListOSPolicyAssignmentRevisionsRequest {
3213    pub fn new() -> ListOSPolicyAssignmentRevisionsRequest {
3214        ::std::default::Default::default()
3215    }
3216
3217    // string name = 1;
3218
3219
3220    pub fn get_name(&self) -> &str {
3221        &self.name
3222    }
3223    pub fn clear_name(&mut self) {
3224        self.name.clear();
3225    }
3226
3227    // Param is passed by value, moved
3228    pub fn set_name(&mut self, v: ::std::string::String) {
3229        self.name = v;
3230    }
3231
3232    // Mutable pointer to the field.
3233    // If field is not initialized, it is initialized with default value first.
3234    pub fn mut_name(&mut self) -> &mut ::std::string::String {
3235        &mut self.name
3236    }
3237
3238    // Take field
3239    pub fn take_name(&mut self) -> ::std::string::String {
3240        ::std::mem::replace(&mut self.name, ::std::string::String::new())
3241    }
3242
3243    // int32 page_size = 2;
3244
3245
3246    pub fn get_page_size(&self) -> i32 {
3247        self.page_size
3248    }
3249    pub fn clear_page_size(&mut self) {
3250        self.page_size = 0;
3251    }
3252
3253    // Param is passed by value, moved
3254    pub fn set_page_size(&mut self, v: i32) {
3255        self.page_size = v;
3256    }
3257
3258    // string page_token = 3;
3259
3260
3261    pub fn get_page_token(&self) -> &str {
3262        &self.page_token
3263    }
3264    pub fn clear_page_token(&mut self) {
3265        self.page_token.clear();
3266    }
3267
3268    // Param is passed by value, moved
3269    pub fn set_page_token(&mut self, v: ::std::string::String) {
3270        self.page_token = v;
3271    }
3272
3273    // Mutable pointer to the field.
3274    // If field is not initialized, it is initialized with default value first.
3275    pub fn mut_page_token(&mut self) -> &mut ::std::string::String {
3276        &mut self.page_token
3277    }
3278
3279    // Take field
3280    pub fn take_page_token(&mut self) -> ::std::string::String {
3281        ::std::mem::replace(&mut self.page_token, ::std::string::String::new())
3282    }
3283}
3284
3285impl ::protobuf::Message for ListOSPolicyAssignmentRevisionsRequest {
3286    fn is_initialized(&self) -> bool {
3287        true
3288    }
3289
3290    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3291        while !is.eof()? {
3292            let (field_number, wire_type) = is.read_tag_unpack()?;
3293            match field_number {
3294                1 => {
3295                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?;
3296                },
3297                2 => {
3298                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
3299                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
3300                    }
3301                    let tmp = is.read_int32()?;
3302                    self.page_size = tmp;
3303                },
3304                3 => {
3305                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?;
3306                },
3307                _ => {
3308                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
3309                },
3310            };
3311        }
3312        ::std::result::Result::Ok(())
3313    }
3314
3315    // Compute sizes of nested messages
3316    #[allow(unused_variables)]
3317    fn compute_size(&self) -> u32 {
3318        let mut my_size = 0;
3319        if !self.name.is_empty() {
3320            my_size += ::protobuf::rt::string_size(1, &self.name);
3321        }
3322        if self.page_size != 0 {
3323            my_size += ::protobuf::rt::value_size(2, self.page_size, ::protobuf::wire_format::WireTypeVarint);
3324        }
3325        if !self.page_token.is_empty() {
3326            my_size += ::protobuf::rt::string_size(3, &self.page_token);
3327        }
3328        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
3329        self.cached_size.set(my_size);
3330        my_size
3331    }
3332
3333    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3334        if !self.name.is_empty() {
3335            os.write_string(1, &self.name)?;
3336        }
3337        if self.page_size != 0 {
3338            os.write_int32(2, self.page_size)?;
3339        }
3340        if !self.page_token.is_empty() {
3341            os.write_string(3, &self.page_token)?;
3342        }
3343        os.write_unknown_fields(self.get_unknown_fields())?;
3344        ::std::result::Result::Ok(())
3345    }
3346
3347    fn get_cached_size(&self) -> u32 {
3348        self.cached_size.get()
3349    }
3350
3351    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
3352        &self.unknown_fields
3353    }
3354
3355    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
3356        &mut self.unknown_fields
3357    }
3358
3359    fn as_any(&self) -> &dyn (::std::any::Any) {
3360        self as &dyn (::std::any::Any)
3361    }
3362    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
3363        self as &mut dyn (::std::any::Any)
3364    }
3365    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
3366        self
3367    }
3368
3369    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
3370        Self::descriptor_static()
3371    }
3372
3373    fn new() -> ListOSPolicyAssignmentRevisionsRequest {
3374        ListOSPolicyAssignmentRevisionsRequest::new()
3375    }
3376
3377    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
3378        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
3379        descriptor.get(|| {
3380            let mut fields = ::std::vec::Vec::new();
3381            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
3382                "name",
3383                |m: &ListOSPolicyAssignmentRevisionsRequest| { &m.name },
3384                |m: &mut ListOSPolicyAssignmentRevisionsRequest| { &mut m.name },
3385            ));
3386            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
3387                "page_size",
3388                |m: &ListOSPolicyAssignmentRevisionsRequest| { &m.page_size },
3389                |m: &mut ListOSPolicyAssignmentRevisionsRequest| { &mut m.page_size },
3390            ));
3391            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
3392                "page_token",
3393                |m: &ListOSPolicyAssignmentRevisionsRequest| { &m.page_token },
3394                |m: &mut ListOSPolicyAssignmentRevisionsRequest| { &mut m.page_token },
3395            ));
3396            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ListOSPolicyAssignmentRevisionsRequest>(
3397                "ListOSPolicyAssignmentRevisionsRequest",
3398                fields,
3399                file_descriptor_proto()
3400            )
3401        })
3402    }
3403
3404    fn default_instance() -> &'static ListOSPolicyAssignmentRevisionsRequest {
3405        static instance: ::protobuf::rt::LazyV2<ListOSPolicyAssignmentRevisionsRequest> = ::protobuf::rt::LazyV2::INIT;
3406        instance.get(ListOSPolicyAssignmentRevisionsRequest::new)
3407    }
3408}
3409
3410impl ::protobuf::Clear for ListOSPolicyAssignmentRevisionsRequest {
3411    fn clear(&mut self) {
3412        self.name.clear();
3413        self.page_size = 0;
3414        self.page_token.clear();
3415        self.unknown_fields.clear();
3416    }
3417}
3418
3419impl ::std::fmt::Debug for ListOSPolicyAssignmentRevisionsRequest {
3420    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3421        ::protobuf::text_format::fmt(self, f)
3422    }
3423}
3424
3425impl ::protobuf::reflect::ProtobufValue for ListOSPolicyAssignmentRevisionsRequest {
3426    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
3427        ::protobuf::reflect::ReflectValueRef::Message(self)
3428    }
3429}
3430
3431#[derive(PartialEq,Clone,Default)]
3432pub struct ListOSPolicyAssignmentRevisionsResponse {
3433    // message fields
3434    pub os_policy_assignments: ::protobuf::RepeatedField<OSPolicyAssignment>,
3435    pub next_page_token: ::std::string::String,
3436    // special fields
3437    pub unknown_fields: ::protobuf::UnknownFields,
3438    pub cached_size: ::protobuf::CachedSize,
3439}
3440
3441impl<'a> ::std::default::Default for &'a ListOSPolicyAssignmentRevisionsResponse {
3442    fn default() -> &'a ListOSPolicyAssignmentRevisionsResponse {
3443        <ListOSPolicyAssignmentRevisionsResponse as ::protobuf::Message>::default_instance()
3444    }
3445}
3446
3447impl ListOSPolicyAssignmentRevisionsResponse {
3448    pub fn new() -> ListOSPolicyAssignmentRevisionsResponse {
3449        ::std::default::Default::default()
3450    }
3451
3452    // repeated .google.cloud.osconfig.v1.OSPolicyAssignment os_policy_assignments = 1;
3453
3454
3455    pub fn get_os_policy_assignments(&self) -> &[OSPolicyAssignment] {
3456        &self.os_policy_assignments
3457    }
3458    pub fn clear_os_policy_assignments(&mut self) {
3459        self.os_policy_assignments.clear();
3460    }
3461
3462    // Param is passed by value, moved
3463    pub fn set_os_policy_assignments(&mut self, v: ::protobuf::RepeatedField<OSPolicyAssignment>) {
3464        self.os_policy_assignments = v;
3465    }
3466
3467    // Mutable pointer to the field.
3468    pub fn mut_os_policy_assignments(&mut self) -> &mut ::protobuf::RepeatedField<OSPolicyAssignment> {
3469        &mut self.os_policy_assignments
3470    }
3471
3472    // Take field
3473    pub fn take_os_policy_assignments(&mut self) -> ::protobuf::RepeatedField<OSPolicyAssignment> {
3474        ::std::mem::replace(&mut self.os_policy_assignments, ::protobuf::RepeatedField::new())
3475    }
3476
3477    // string next_page_token = 2;
3478
3479
3480    pub fn get_next_page_token(&self) -> &str {
3481        &self.next_page_token
3482    }
3483    pub fn clear_next_page_token(&mut self) {
3484        self.next_page_token.clear();
3485    }
3486
3487    // Param is passed by value, moved
3488    pub fn set_next_page_token(&mut self, v: ::std::string::String) {
3489        self.next_page_token = v;
3490    }
3491
3492    // Mutable pointer to the field.
3493    // If field is not initialized, it is initialized with default value first.
3494    pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String {
3495        &mut self.next_page_token
3496    }
3497
3498    // Take field
3499    pub fn take_next_page_token(&mut self) -> ::std::string::String {
3500        ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new())
3501    }
3502}
3503
3504impl ::protobuf::Message for ListOSPolicyAssignmentRevisionsResponse {
3505    fn is_initialized(&self) -> bool {
3506        for v in &self.os_policy_assignments {
3507            if !v.is_initialized() {
3508                return false;
3509            }
3510        };
3511        true
3512    }
3513
3514    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3515        while !is.eof()? {
3516            let (field_number, wire_type) = is.read_tag_unpack()?;
3517            match field_number {
3518                1 => {
3519                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.os_policy_assignments)?;
3520                },
3521                2 => {
3522                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?;
3523                },
3524                _ => {
3525                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
3526                },
3527            };
3528        }
3529        ::std::result::Result::Ok(())
3530    }
3531
3532    // Compute sizes of nested messages
3533    #[allow(unused_variables)]
3534    fn compute_size(&self) -> u32 {
3535        let mut my_size = 0;
3536        for value in &self.os_policy_assignments {
3537            let len = value.compute_size();
3538            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
3539        };
3540        if !self.next_page_token.is_empty() {
3541            my_size += ::protobuf::rt::string_size(2, &self.next_page_token);
3542        }
3543        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
3544        self.cached_size.set(my_size);
3545        my_size
3546    }
3547
3548    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3549        for v in &self.os_policy_assignments {
3550            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
3551            os.write_raw_varint32(v.get_cached_size())?;
3552            v.write_to_with_cached_sizes(os)?;
3553        };
3554        if !self.next_page_token.is_empty() {
3555            os.write_string(2, &self.next_page_token)?;
3556        }
3557        os.write_unknown_fields(self.get_unknown_fields())?;
3558        ::std::result::Result::Ok(())
3559    }
3560
3561    fn get_cached_size(&self) -> u32 {
3562        self.cached_size.get()
3563    }
3564
3565    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
3566        &self.unknown_fields
3567    }
3568
3569    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
3570        &mut self.unknown_fields
3571    }
3572
3573    fn as_any(&self) -> &dyn (::std::any::Any) {
3574        self as &dyn (::std::any::Any)
3575    }
3576    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
3577        self as &mut dyn (::std::any::Any)
3578    }
3579    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
3580        self
3581    }
3582
3583    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
3584        Self::descriptor_static()
3585    }
3586
3587    fn new() -> ListOSPolicyAssignmentRevisionsResponse {
3588        ListOSPolicyAssignmentRevisionsResponse::new()
3589    }
3590
3591    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
3592        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
3593        descriptor.get(|| {
3594            let mut fields = ::std::vec::Vec::new();
3595            fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<OSPolicyAssignment>>(
3596                "os_policy_assignments",
3597                |m: &ListOSPolicyAssignmentRevisionsResponse| { &m.os_policy_assignments },
3598                |m: &mut ListOSPolicyAssignmentRevisionsResponse| { &mut m.os_policy_assignments },
3599            ));
3600            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
3601                "next_page_token",
3602                |m: &ListOSPolicyAssignmentRevisionsResponse| { &m.next_page_token },
3603                |m: &mut ListOSPolicyAssignmentRevisionsResponse| { &mut m.next_page_token },
3604            ));
3605            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ListOSPolicyAssignmentRevisionsResponse>(
3606                "ListOSPolicyAssignmentRevisionsResponse",
3607                fields,
3608                file_descriptor_proto()
3609            )
3610        })
3611    }
3612
3613    fn default_instance() -> &'static ListOSPolicyAssignmentRevisionsResponse {
3614        static instance: ::protobuf::rt::LazyV2<ListOSPolicyAssignmentRevisionsResponse> = ::protobuf::rt::LazyV2::INIT;
3615        instance.get(ListOSPolicyAssignmentRevisionsResponse::new)
3616    }
3617}
3618
3619impl ::protobuf::Clear for ListOSPolicyAssignmentRevisionsResponse {
3620    fn clear(&mut self) {
3621        self.os_policy_assignments.clear();
3622        self.next_page_token.clear();
3623        self.unknown_fields.clear();
3624    }
3625}
3626
3627impl ::std::fmt::Debug for ListOSPolicyAssignmentRevisionsResponse {
3628    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3629        ::protobuf::text_format::fmt(self, f)
3630    }
3631}
3632
3633impl ::protobuf::reflect::ProtobufValue for ListOSPolicyAssignmentRevisionsResponse {
3634    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
3635        ::protobuf::reflect::ReflectValueRef::Message(self)
3636    }
3637}
3638
3639#[derive(PartialEq,Clone,Default)]
3640pub struct DeleteOSPolicyAssignmentRequest {
3641    // message fields
3642    pub name: ::std::string::String,
3643    // special fields
3644    pub unknown_fields: ::protobuf::UnknownFields,
3645    pub cached_size: ::protobuf::CachedSize,
3646}
3647
3648impl<'a> ::std::default::Default for &'a DeleteOSPolicyAssignmentRequest {
3649    fn default() -> &'a DeleteOSPolicyAssignmentRequest {
3650        <DeleteOSPolicyAssignmentRequest as ::protobuf::Message>::default_instance()
3651    }
3652}
3653
3654impl DeleteOSPolicyAssignmentRequest {
3655    pub fn new() -> DeleteOSPolicyAssignmentRequest {
3656        ::std::default::Default::default()
3657    }
3658
3659    // string name = 1;
3660
3661
3662    pub fn get_name(&self) -> &str {
3663        &self.name
3664    }
3665    pub fn clear_name(&mut self) {
3666        self.name.clear();
3667    }
3668
3669    // Param is passed by value, moved
3670    pub fn set_name(&mut self, v: ::std::string::String) {
3671        self.name = v;
3672    }
3673
3674    // Mutable pointer to the field.
3675    // If field is not initialized, it is initialized with default value first.
3676    pub fn mut_name(&mut self) -> &mut ::std::string::String {
3677        &mut self.name
3678    }
3679
3680    // Take field
3681    pub fn take_name(&mut self) -> ::std::string::String {
3682        ::std::mem::replace(&mut self.name, ::std::string::String::new())
3683    }
3684}
3685
3686impl ::protobuf::Message for DeleteOSPolicyAssignmentRequest {
3687    fn is_initialized(&self) -> bool {
3688        true
3689    }
3690
3691    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3692        while !is.eof()? {
3693            let (field_number, wire_type) = is.read_tag_unpack()?;
3694            match field_number {
3695                1 => {
3696                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?;
3697                },
3698                _ => {
3699                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
3700                },
3701            };
3702        }
3703        ::std::result::Result::Ok(())
3704    }
3705
3706    // Compute sizes of nested messages
3707    #[allow(unused_variables)]
3708    fn compute_size(&self) -> u32 {
3709        let mut my_size = 0;
3710        if !self.name.is_empty() {
3711            my_size += ::protobuf::rt::string_size(1, &self.name);
3712        }
3713        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
3714        self.cached_size.set(my_size);
3715        my_size
3716    }
3717
3718    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3719        if !self.name.is_empty() {
3720            os.write_string(1, &self.name)?;
3721        }
3722        os.write_unknown_fields(self.get_unknown_fields())?;
3723        ::std::result::Result::Ok(())
3724    }
3725
3726    fn get_cached_size(&self) -> u32 {
3727        self.cached_size.get()
3728    }
3729
3730    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
3731        &self.unknown_fields
3732    }
3733
3734    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
3735        &mut self.unknown_fields
3736    }
3737
3738    fn as_any(&self) -> &dyn (::std::any::Any) {
3739        self as &dyn (::std::any::Any)
3740    }
3741    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
3742        self as &mut dyn (::std::any::Any)
3743    }
3744    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
3745        self
3746    }
3747
3748    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
3749        Self::descriptor_static()
3750    }
3751
3752    fn new() -> DeleteOSPolicyAssignmentRequest {
3753        DeleteOSPolicyAssignmentRequest::new()
3754    }
3755
3756    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
3757        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
3758        descriptor.get(|| {
3759            let mut fields = ::std::vec::Vec::new();
3760            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
3761                "name",
3762                |m: &DeleteOSPolicyAssignmentRequest| { &m.name },
3763                |m: &mut DeleteOSPolicyAssignmentRequest| { &mut m.name },
3764            ));
3765            ::protobuf::reflect::MessageDescriptor::new_pb_name::<DeleteOSPolicyAssignmentRequest>(
3766                "DeleteOSPolicyAssignmentRequest",
3767                fields,
3768                file_descriptor_proto()
3769            )
3770        })
3771    }
3772
3773    fn default_instance() -> &'static DeleteOSPolicyAssignmentRequest {
3774        static instance: ::protobuf::rt::LazyV2<DeleteOSPolicyAssignmentRequest> = ::protobuf::rt::LazyV2::INIT;
3775        instance.get(DeleteOSPolicyAssignmentRequest::new)
3776    }
3777}
3778
3779impl ::protobuf::Clear for DeleteOSPolicyAssignmentRequest {
3780    fn clear(&mut self) {
3781        self.name.clear();
3782        self.unknown_fields.clear();
3783    }
3784}
3785
3786impl ::std::fmt::Debug for DeleteOSPolicyAssignmentRequest {
3787    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3788        ::protobuf::text_format::fmt(self, f)
3789    }
3790}
3791
3792impl ::protobuf::reflect::ProtobufValue for DeleteOSPolicyAssignmentRequest {
3793    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
3794        ::protobuf::reflect::ReflectValueRef::Message(self)
3795    }
3796}
3797
3798static file_descriptor_proto_data: &'static [u8] = b"\
3799    \n4google/cloud/osconfig/v1/os_policy_assignments.proto\x12\x18google.cl\
3800    oud.osconfig.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api\
3801    /resource.proto\x1a(google/cloud/osconfig/v1/os_policy.proto\x1a.google/\
3802    cloud/osconfig/v1/osconfig_common.proto\x1a\x1egoogle/protobuf/duration.\
3803    proto\x1a\x20google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/tim\
3804    estamp.proto\"\xb7\r\n\x12OSPolicyAssignment\x12\x12\n\x04name\x18\x01\
3805    \x20\x01(\tR\x04name\x12\x20\n\x0bdescription\x18\x02\x20\x01(\tR\x0bdes\
3806    cription\x12H\n\x0bos_policies\x18\x03\x20\x03(\x0b2\".google.cloud.osco\
3807    nfig.v1.OSPolicyR\nosPoliciesB\x03\xe0A\x02\x12i\n\x0finstance_filter\
3808    \x18\x04\x20\x01(\x0b2;.google.cloud.osconfig.v1.OSPolicyAssignment.Inst\
3809    anceFilterR\x0einstanceFilterB\x03\xe0A\x02\x12S\n\x07rollout\x18\x05\
3810    \x20\x01(\x0b24.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutR\x07\
3811    rolloutB\x03\xe0A\x02\x12$\n\x0brevision_id\x18\x06\x20\x01(\tR\nrevisio\
3812    nIdB\x03\xe0A\x03\x12Q\n\x14revision_create_time\x18\x07\x20\x01(\x0b2\
3813    \x1a.google.protobuf.TimestampR\x12revisionCreateTimeB\x03\xe0A\x03\x12\
3814    \x12\n\x04etag\x18\x08\x20\x01(\tR\x04etag\x12c\n\rrollout_state\x18\t\
3815    \x20\x01(\x0e29.google.cloud.osconfig.v1.OSPolicyAssignment.RolloutState\
3816    R\x0crolloutStateB\x03\xe0A\x03\x12\x1f\n\x08baseline\x18\n\x20\x01(\x08\
3817    R\x08baselineB\x03\xe0A\x03\x12\x1d\n\x07deleted\x18\x0b\x20\x01(\x08R\
3818    \x07deletedB\x03\xe0A\x03\x12%\n\x0breconciling\x18\x0c\x20\x01(\x08R\
3819    \x0breconcilingB\x03\xe0A\x03\x12\x15\n\x03uid\x18\r\x20\x01(\tR\x03uidB\
3820    \x03\xe0A\x03\x1a\xa0\x01\n\x08LabelSet\x12Y\n\x06labels\x18\x01\x20\x03\
3821    (\x0b2A.google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet.LabelsEntry\
3822    R\x06labels\x1a9\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01\x20\x01(\tR\
3823    \x03key\x12\x14\n\x05value\x18\x02\x20\x01(\tR\x05value:\x028\x01\x1a\
3824    \xa4\x03\n\x0eInstanceFilter\x12\x10\n\x03all\x18\x01\x20\x01(\x08R\x03a\
3825    ll\x12`\n\x10inclusion_labels\x18\x02\x20\x03(\x0b25.google.cloud.osconf\
3826    ig.v1.OSPolicyAssignment.LabelSetR\x0finclusionLabels\x12`\n\x10exclusio\
3827    n_labels\x18\x03\x20\x03(\x0b25.google.cloud.osconfig.v1.OSPolicyAssignm\
3828    ent.LabelSetR\x0fexclusionLabels\x12g\n\x0binventories\x18\x04\x20\x03(\
3829    \x0b2E.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Invent\
3830    oryR\x0binventories\x1aS\n\tInventory\x12'\n\ros_short_name\x18\x01\x20\
3831    \x01(\tR\x0bosShortNameB\x03\xe0A\x02\x12\x1d\n\nos_version\x18\x02\x20\
3832    \x01(\tR\tosVersion\x1a\xb1\x01\n\x07Rollout\x12Z\n\x11disruption_budget\
3833    \x18\x01\x20\x01(\x0b2(.google.cloud.osconfig.v1.FixedOrPercentR\x10disr\
3834    uptionBudgetB\x03\xe0A\x02\x12J\n\x11min_wait_duration\x18\x02\x20\x01(\
3835    \x0b2\x19.google.protobuf.DurationR\x0fminWaitDurationB\x03\xe0A\x02\"l\
3836    \n\x0cRolloutState\x12\x1d\n\x19ROLLOUT_STATE_UNSPECIFIED\x10\0\x12\x0f\
3837    \n\x0bIN_PROGRESS\x10\x01\x12\x0e\n\nCANCELLING\x10\x02\x12\r\n\tCANCELL\
3838    ED\x10\x03\x12\r\n\tSUCCEEDED\x10\x04:\x84\x01\xeaA\x80\x01\n*osconfig.g\
3839    oogleapis.com/OSPolicyAssignment\x12Rprojects/{project}/locations/{locat\
3840    ion}/osPolicyAssignments/{os_policy_assignment}\"\xb2\x05\n#OSPolicyAssi\
3841    gnmentOperationMetadata\x12a\n\x14os_policy_assignment\x18\x01\x20\x01(\
3842    \tR\x12osPolicyAssignmentB/\xfaA,\n*osconfig.googleapis.com/OSPolicyAssi\
3843    gnment\x12f\n\napi_method\x18\x02\x20\x01(\x0e2G.google.cloud.osconfig.v\
3844    1.OSPolicyAssignmentOperationMetadata.APIMethodR\tapiMethod\x12o\n\rroll\
3845    out_state\x18\x03\x20\x01(\x0e2J.google.cloud.osconfig.v1.OSPolicyAssign\
3846    mentOperationMetadata.RolloutStateR\x0crolloutState\x12H\n\x12rollout_st\
3847    art_time\x18\x04\x20\x01(\x0b2\x1a.google.protobuf.TimestampR\x10rollout\
3848    StartTime\x12J\n\x13rollout_update_time\x18\x05\x20\x01(\x0b2\x1a.google\
3849    .protobuf.TimestampR\x11rolloutUpdateTime\"K\n\tAPIMethod\x12\x1a\n\x16A\
3850    PI_METHOD_UNSPECIFIED\x10\0\x12\n\n\x06CREATE\x10\x01\x12\n\n\x06UPDATE\
3851    \x10\x02\x12\n\n\x06DELETE\x10\x03\"l\n\x0cRolloutState\x12\x1d\n\x19ROL\
3852    LOUT_STATE_UNSPECIFIED\x10\0\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\x0e\n\
3853    \nCANCELLING\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\r\n\tSUCCEEDED\x10\
3854    \x04\"\x85\x02\n\x1fCreateOSPolicyAssignmentRequest\x12A\n\x06parent\x18\
3855    \x01\x20\x01(\tR\x06parentB)\xfaA#\n!locations.googleapis.com/Location\
3856    \xe0A\x02\x12c\n\x14os_policy_assignment\x18\x02\x20\x01(\x0b2,.google.c\
3857    loud.osconfig.v1.OSPolicyAssignmentR\x12osPolicyAssignmentB\x03\xe0A\x02\
3858    \x12:\n\x17os_policy_assignment_id\x18\x03\x20\x01(\tR\x14osPolicyAssign\
3859    mentIdB\x03\xe0A\x02\"\xc8\x01\n\x1fUpdateOSPolicyAssignmentRequest\x12c\
3860    \n\x14os_policy_assignment\x18\x01\x20\x01(\x0b2,.google.cloud.osconfig.\
3861    v1.OSPolicyAssignmentR\x12osPolicyAssignmentB\x03\xe0A\x02\x12@\n\x0bupd\
3862    ate_mask\x18\x02\x20\x01(\x0b2\x1a.google.protobuf.FieldMaskR\nupdateMas\
3863    kB\x03\xe0A\x01\"f\n\x1cGetOSPolicyAssignmentRequest\x12F\n\x04name\x18\
3864    \x01\x20\x01(\tR\x04nameB2\xfaA,\n*osconfig.googleapis.com/OSPolicyAssig\
3865    nment\xe0A\x02\"\x9f\x01\n\x1eListOSPolicyAssignmentsRequest\x12A\n\x06p\
3866    arent\x18\x01\x20\x01(\tR\x06parentB)\xfaA#\n!locations.googleapis.com/L\
3867    ocation\xe0A\x02\x12\x1b\n\tpage_size\x18\x02\x20\x01(\x05R\x08pageSize\
3868    \x12\x1d\n\npage_token\x18\x03\x20\x01(\tR\tpageToken\"\xab\x01\n\x1fLis\
3869    tOSPolicyAssignmentsResponse\x12`\n\x15os_policy_assignments\x18\x01\x20\
3870    \x03(\x0b2,.google.cloud.osconfig.v1.OSPolicyAssignmentR\x13osPolicyAssi\
3871    gnments\x12&\n\x0fnext_page_token\x18\x02\x20\x01(\tR\rnextPageToken\"\
3872    \xac\x01\n&ListOSPolicyAssignmentRevisionsRequest\x12F\n\x04name\x18\x01\
3873    \x20\x01(\tR\x04nameB2\xfaA,\n*osconfig.googleapis.com/OSPolicyAssignmen\
3874    t\xe0A\x02\x12\x1b\n\tpage_size\x18\x02\x20\x01(\x05R\x08pageSize\x12\
3875    \x1d\n\npage_token\x18\x03\x20\x01(\tR\tpageToken\"\xb3\x01\n'ListOSPoli\
3876    cyAssignmentRevisionsResponse\x12`\n\x15os_policy_assignments\x18\x01\
3877    \x20\x03(\x0b2,.google.cloud.osconfig.v1.OSPolicyAssignmentR\x13osPolicy\
3878    Assignments\x12&\n\x0fnext_page_token\x18\x02\x20\x01(\tR\rnextPageToken\
3879    \"i\n\x1fDeleteOSPolicyAssignmentRequest\x12F\n\x04name\x18\x01\x20\x01(\
3880    \tR\x04nameB2\xfaA,\n*osconfig.googleapis.com/OSPolicyAssignment\xe0A\
3881    \x02B\xc8\x01\n\x1ccom.google.cloud.osconfig.v1B\x18OsPolicyAssignmentsP\
3882    rotoP\x01Z8cloud.google.com/go/osconfig/apiv1/osconfigpb;osconfigpb\xaa\
3883    \x02\x18Google.Cloud.OsConfig.V1\xca\x02\x18Google\\Cloud\\OsConfig\\V1\
3884    \xea\x02\x1bGoogle::Cloud::OsConfig::V1J\x89e\n\x07\x12\x05\x0e\0\x81\
3885    \x03\x01\n\xbc\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb1\x04\x20Copyright\x20\
3886    2021\x20Google\x20LLC\n\n\x20Licensed\x20under\x20the\x20Apache\x20Licen\
3887    se,\x20Version\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20not\
3888    \x20use\x20this\x20file\x20except\x20in\x20compliance\x20with\x20the\x20\
3889    License.\n\x20You\x20may\x20obtain\x20a\x20copy\x20of\x20the\x20License\
3890    \x20at\n\n\x20\x20\x20\x20\x20http://www.apache.org/licenses/LICENSE-2.0\
3891    \n\n\x20Unless\x20required\x20by\x20applicable\x20law\x20or\x20agreed\
3892    \x20to\x20in\x20writing,\x20software\n\x20distributed\x20under\x20the\
3893    \x20License\x20is\x20distributed\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\
3894    \x20WITHOUT\x20WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20e\
3895    ither\x20express\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20\
3896    the\x20specific\x20language\x20governing\x20permissions\x20and\n\x20limi\
3897    tations\x20under\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0!\n\t\
3898    \n\x02\x03\0\x12\x03\x12\0)\n\t\n\x02\x03\x01\x12\x03\x13\0#\n\t\n\x02\
3899    \x03\x02\x12\x03\x14\02\n\t\n\x02\x03\x03\x12\x03\x15\08\n\t\n\x02\x03\
3900    \x04\x12\x03\x16\0(\n\t\n\x02\x03\x05\x12\x03\x17\0*\n\t\n\x02\x03\x06\
3901    \x12\x03\x18\0)\n\x08\n\x01\x08\x12\x03\x1a\05\n\t\n\x02\x08%\x12\x03\
3902    \x1a\05\n\x08\n\x01\x08\x12\x03\x1b\0O\n\t\n\x02\x08\x0b\x12\x03\x1b\0O\
3903    \n\x08\n\x01\x08\x12\x03\x1c\0\"\n\t\n\x02\x08\n\x12\x03\x1c\0\"\n\x08\n\
3904    \x01\x08\x12\x03\x1d\09\n\t\n\x02\x08\x08\x12\x03\x1d\09\n\x08\n\x01\x08\
3905    \x12\x03\x1e\05\n\t\n\x02\x08\x01\x12\x03\x1e\05\n\x08\n\x01\x08\x12\x03\
3906    \x1f\05\n\t\n\x02\x08)\x12\x03\x1f\05\n\x08\n\x01\x08\x12\x03\x20\04\n\t\
3907    \n\x02\x08-\x12\x03\x20\04\n\xb4\x04\n\x02\x04\0\x12\x05-\0\xd0\x01\x01\
3908    \x1a\xa6\x04\x20OS\x20policy\x20assignment\x20is\x20an\x20API\x20resourc\
3909    e\x20that\x20is\x20used\x20to\n\x20apply\x20a\x20set\x20of\x20OS\x20poli\
3910    cies\x20to\x20a\x20dynamically\x20targeted\x20group\x20of\x20Compute\x20\
3911    Engine\n\x20VM\x20instances.\n\n\x20An\x20OS\x20policy\x20is\x20used\x20\
3912    to\x20define\x20the\x20desired\x20state\x20configuration\x20for\x20a\n\
3913    \x20Compute\x20Engine\x20VM\x20instance\x20through\x20a\x20set\x20of\x20\
3914    configuration\x20resources\x20that\n\x20provide\x20capabilities\x20such\
3915    \x20as\x20installing\x20or\x20removing\x20software\x20packages,\x20or\n\
3916    \x20executing\x20a\x20script.\n\n\x20For\x20more\x20information,\x20see\
3917    \x20[OS\x20policy\x20and\x20OS\x20policy\n\x20assignment](https://cloud.\
3918    google.com/compute/docs/os-configuration-management/working-with-os-poli\
3919    cies).\n\n\n\n\x03\x04\0\x01\x12\x03-\x08\x1a\n\x0b\n\x03\x04\0\x07\x12\
3920    \x04.\x021\x04\n\r\n\x05\x04\0\x07\x9d\x08\x12\x04.\x021\x04\n\xaf\x03\n\
3921    \x04\x04\0\x03\0\x12\x04<\x02A\x03\x1a\xa0\x03\x20Message\x20representin\
3922    g\x20label\x20set.\n\x20*\x20A\x20label\x20is\x20a\x20key\x20value\x20pa\
3923    ir\x20set\x20for\x20a\x20VM.\n\x20*\x20A\x20LabelSet\x20is\x20a\x20set\
3924    \x20of\x20labels.\n\x20*\x20Labels\x20within\x20a\x20LabelSet\x20are\x20\
3925    ANDed.\x20In\x20other\x20words,\x20a\x20LabelSet\x20is\n\x20\x20\x20appl\
3926    icable\x20for\x20a\x20VM\x20only\x20if\x20it\x20matches\x20all\x20the\
3927    \x20labels\x20in\x20the\n\x20\x20\x20LabelSet.\n\x20*\x20Example:\x20A\
3928    \x20LabelSet\x20with\x202\x20labels:\x20`env=prod`\x20and\x20`type=webse\
3929    rver`\x20will\n\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20only\x20b\
3930    e\x20applicable\x20for\x20those\x20VMs\x20with\x20both\x20labels\n\x20\
3931    \x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20present.\n\n\x0c\n\x05\x04\0\
3932    \x03\0\x01\x12\x03<\n\x12\n\x9b\x01\n\x06\x04\0\x03\0\x02\0\x12\x03@\x04\
3933    #\x1a\x8b\x01\x20Labels\x20are\x20identified\x20by\x20key/value\x20pairs\
3934    \x20in\x20this\x20map.\n\x20A\x20VM\x20should\x20contain\x20all\x20the\
3935    \x20key/value\x20pairs\x20specified\x20in\x20this\n\x20map\x20to\x20be\
3936    \x20selected.\n\n\x0e\n\x07\x04\0\x03\0\x02\0\x06\x12\x03@\x04\x17\n\x0e\
3937    \n\x07\x04\0\x03\0\x02\0\x01\x12\x03@\x18\x1e\n\x0e\n\x07\x04\0\x03\0\
3938    \x02\0\x03\x12\x03@!\"\n\xb7\x01\n\x04\x04\0\x03\x01\x12\x04G\x02l\x03\
3939    \x1a\xa8\x01\x20Filters\x20to\x20select\x20target\x20VMs\x20for\x20an\
3940    \x20assignment.\n\n\x20If\x20more\x20than\x20one\x20filter\x20criteria\
3941    \x20is\x20specified\x20below,\x20a\x20VM\x20will\x20be\x20selected\n\x20\
3942    if\x20and\x20only\x20if\x20it\x20satisfies\x20all\x20of\x20them.\n\n\x0c\
3943    \n\x05\x04\0\x03\x01\x01\x12\x03G\n\x18\n'\n\x06\x04\0\x03\x01\x03\0\x12\
3944    \x04I\x04U\x05\x1a\x17\x20VM\x20inventory\x20details.\n\n\x0e\n\x07\x04\
3945    \0\x03\x01\x03\0\x01\x12\x03I\x0c\x15\n.\n\x08\x04\0\x03\x01\x03\0\x02\0\
3946    \x12\x03K\x06H\x1a\x1d\x20Required.\x20The\x20OS\x20short\x20name\n\n\
3947    \x10\n\t\x04\0\x03\x01\x03\0\x02\0\x05\x12\x03K\x06\x0c\n\x10\n\t\x04\0\
3948    \x03\x01\x03\0\x02\0\x01\x12\x03K\r\x1a\n\x10\n\t\x04\0\x03\x01\x03\0\
3949    \x02\0\x03\x12\x03K\x1d\x1e\n\x10\n\t\x04\0\x03\x01\x03\0\x02\0\x08\x12\
3950    \x03K\x1fG\n\x13\n\x0c\x04\0\x03\x01\x03\0\x02\0\x08\x9c\x08\0\x12\x03K\
3951    \x20F\n\x91\x02\n\x08\x04\0\x03\x01\x03\0\x02\x01\x12\x03T\x06\x1c\x1a\
3952    \xff\x01\x20The\x20OS\x20version\n\n\x20Prefix\x20matches\x20are\x20supp\
3953    orted\x20if\x20asterisk(*)\x20is\x20provided\x20as\x20the\n\x20last\x20c\
3954    haracter.\x20For\x20example,\x20to\x20match\x20all\x20versions\x20with\
3955    \x20a\x20major\n\x20version\x20of\x20`7`,\x20specify\x20the\x20following\
3956    \x20value\x20for\x20this\x20field\x20`7.*`\n\n\x20An\x20empty\x20string\
3957    \x20matches\x20all\x20OS\x20versions.\n\n\x10\n\t\x04\0\x03\x01\x03\0\
3958    \x02\x01\x05\x12\x03T\x06\x0c\n\x10\n\t\x04\0\x03\x01\x03\0\x02\x01\x01\
3959    \x12\x03T\r\x17\n\x10\n\t\x04\0\x03\x01\x03\0\x02\x01\x03\x12\x03T\x1a\
3960    \x1b\nY\n\x06\x04\0\x03\x01\x02\0\x12\x03Y\x04\x11\x1aJ\x20Target\x20all\
3961    \x20VMs\x20in\x20the\x20project.\x20If\x20true,\x20no\x20other\x20criter\
3962    ia\x20is\n\x20permitted.\n\n\x0e\n\x07\x04\0\x03\x01\x02\0\x05\x12\x03Y\
3963    \x04\x08\n\x0e\n\x07\x04\0\x03\x01\x02\0\x01\x12\x03Y\t\x0c\n\x0e\n\x07\
3964    \x04\0\x03\x01\x02\0\x03\x12\x03Y\x0f\x10\n\xaf\x01\n\x06\x04\0\x03\x01\
3965    \x02\x01\x12\x03_\x04+\x1a\x9f\x01\x20List\x20of\x20label\x20sets\x20use\
3966    d\x20for\x20VM\x20inclusion.\n\n\x20If\x20the\x20list\x20has\x20more\x20\
3967    than\x20one\x20`LabelSet`,\x20the\x20VM\x20is\x20included\x20if\x20any\n\
3968    \x20of\x20the\x20label\x20sets\x20are\x20applicable\x20for\x20the\x20VM.\
3969    \n\n\x0e\n\x07\x04\0\x03\x01\x02\x01\x04\x12\x03_\x04\x0c\n\x0e\n\x07\
3970    \x04\0\x03\x01\x02\x01\x06\x12\x03_\r\x15\n\x0e\n\x07\x04\0\x03\x01\x02\
3971    \x01\x01\x12\x03_\x16&\n\x0e\n\x07\x04\0\x03\x01\x02\x01\x03\x12\x03_)*\
3972    \n\xae\x01\n\x06\x04\0\x03\x01\x02\x02\x12\x03e\x04+\x1a\x9e\x01\x20List\
3973    \x20of\x20label\x20sets\x20used\x20for\x20VM\x20exclusion.\n\n\x20If\x20\
3974    the\x20list\x20has\x20more\x20than\x20one\x20label\x20set,\x20the\x20VM\
3975    \x20is\x20excluded\x20if\x20any\n\x20of\x20the\x20label\x20sets\x20are\
3976    \x20applicable\x20for\x20the\x20VM.\n\n\x0e\n\x07\x04\0\x03\x01\x02\x02\
3977    \x04\x12\x03e\x04\x0c\n\x0e\n\x07\x04\0\x03\x01\x02\x02\x06\x12\x03e\r\
3978    \x15\n\x0e\n\x07\x04\0\x03\x01\x02\x02\x01\x12\x03e\x16&\n\x0e\n\x07\x04\
3979    \0\x03\x01\x02\x02\x03\x12\x03e)*\n\x91\x01\n\x06\x04\0\x03\x01\x02\x03\
3980    \x12\x03k\x04'\x1a\x81\x01\x20List\x20of\x20inventories\x20to\x20select\
3981    \x20VMs.\n\n\x20A\x20VM\x20is\x20selected\x20if\x20its\x20inventory\x20d\
3982    ata\x20matches\x20at\x20least\x20one\x20of\x20the\n\x20following\x20inve\
3983    ntories.\n\n\x0e\n\x07\x04\0\x03\x01\x02\x03\x04\x12\x03k\x04\x0c\n\x0e\
3984    \n\x07\x04\0\x03\x01\x02\x03\x06\x12\x03k\r\x16\n\x0e\n\x07\x04\0\x03\
3985    \x01\x02\x03\x01\x12\x03k\x17\"\n\x0e\n\x07\x04\0\x03\x01\x02\x03\x03\
3986    \x12\x03k%&\nb\n\x04\x04\0\x03\x02\x12\x04p\x02}\x03\x1aT\x20Message\x20\
3987    to\x20configure\x20the\x20rollout\x20at\x20the\x20zonal\x20level\x20for\
3988    \x20the\x20OS\x20policy\n\x20assignment.\n\n\x0c\n\x05\x04\0\x03\x02\x01\
3989    \x12\x03p\n\x11\no\n\x06\x04\0\x03\x02\x02\0\x12\x04s\x04t1\x1a_\x20Requ\
3990    ired.\x20The\x20maximum\x20number\x20(or\x20percentage)\x20of\x20VMs\x20\
3991    per\x20zone\x20to\x20disrupt\n\x20at\x20any\x20given\x20moment.\n\n\x0e\
3992    \n\x07\x04\0\x03\x02\x02\0\x06\x12\x03s\x04\x12\n\x0e\n\x07\x04\0\x03\
3993    \x02\x02\0\x01\x12\x03s\x13$\n\x0e\n\x07\x04\0\x03\x02\x02\0\x03\x12\x03\
3994    s'(\n\x0e\n\x07\x04\0\x03\x02\x02\0\x08\x12\x03t\x080\n\x11\n\n\x04\0\
3995    \x03\x02\x02\0\x08\x9c\x08\0\x12\x03t\t/\n\xaf\x02\n\x06\x04\0\x03\x02\
3996    \x02\x01\x12\x04{\x04|1\x1a\x9e\x02\x20Required.\x20This\x20determines\
3997    \x20the\x20minimum\x20duration\x20of\x20time\x20to\x20wait\x20after\x20t\
3998    he\n\x20configuration\x20changes\x20are\x20applied\x20through\x20the\x20\
3999    current\x20rollout.\x20A\n\x20VM\x20continues\x20to\x20count\x20towards\
4000    \x20the\x20`disruption_budget`\x20at\x20least\n\x20until\x20this\x20dura\
4001    tion\x20of\x20time\x20has\x20passed\x20after\x20configuration\x20changes\
4002    \x20are\n\x20applied.\n\n\x0e\n\x07\x04\0\x03\x02\x02\x01\x06\x12\x03{\
4003    \x04\x1c\n\x0e\n\x07\x04\0\x03\x02\x02\x01\x01\x12\x03{\x1d.\n\x0e\n\x07\
4004    \x04\0\x03\x02\x02\x01\x03\x12\x03{12\n\x0e\n\x07\x04\0\x03\x02\x02\x01\
4005    \x08\x12\x03|\x080\n\x11\n\n\x04\0\x03\x02\x02\x01\x08\x9c\x08\0\x12\x03\
4006    |\t/\n4\n\x04\x04\0\x04\0\x12\x06\x80\x01\x02\x8f\x01\x03\x1a$\x20OS\x20\
4007    policy\x20assignment\x20rollout\x20state\n\n\r\n\x05\x04\0\x04\0\x01\x12\
4008    \x04\x80\x01\x07\x13\n\x1f\n\x06\x04\0\x04\0\x02\0\x12\x04\x82\x01\x04\"\
4009    \x1a\x0f\x20Invalid\x20value\n\n\x0f\n\x07\x04\0\x04\0\x02\0\x01\x12\x04\
4010    \x82\x01\x04\x1d\n\x0f\n\x07\x04\0\x04\0\x02\0\x02\x12\x04\x82\x01\x20!\
4011    \n-\n\x06\x04\0\x04\0\x02\x01\x12\x04\x85\x01\x04\x14\x1a\x1d\x20The\x20\
4012    rollout\x20is\x20in\x20progress.\n\n\x0f\n\x07\x04\0\x04\0\x02\x01\x01\
4013    \x12\x04\x85\x01\x04\x0f\n\x0f\n\x07\x04\0\x04\0\x02\x01\x02\x12\x04\x85\
4014    \x01\x12\x13\n1\n\x06\x04\0\x04\0\x02\x02\x12\x04\x88\x01\x04\x13\x1a!\
4015    \x20The\x20rollout\x20is\x20being\x20cancelled.\n\n\x0f\n\x07\x04\0\x04\
4016    \0\x02\x02\x01\x12\x04\x88\x01\x04\x0e\n\x0f\n\x07\x04\0\x04\0\x02\x02\
4017    \x02\x12\x04\x88\x01\x11\x12\n+\n\x06\x04\0\x04\0\x02\x03\x12\x04\x8b\
4018    \x01\x04\x12\x1a\x1b\x20The\x20rollout\x20is\x20cancelled.\n\n\x0f\n\x07\
4019    \x04\0\x04\0\x02\x03\x01\x12\x04\x8b\x01\x04\r\n\x0f\n\x07\x04\0\x04\0\
4020    \x02\x03\x02\x12\x04\x8b\x01\x10\x11\n9\n\x06\x04\0\x04\0\x02\x04\x12\
4021    \x04\x8e\x01\x04\x12\x1a)\x20The\x20rollout\x20has\x20completed\x20succe\
4022    ssfully.\n\n\x0f\n\x07\x04\0\x04\0\x02\x04\x01\x12\x04\x8e\x01\x04\r\n\
4023    \x0f\n\x07\x04\0\x04\0\x02\x04\x02\x12\x04\x8e\x01\x10\x11\n\xca\x01\n\
4024    \x04\x04\0\x02\0\x12\x04\x97\x01\x02\x12\x1a\xbb\x01\x20Resource\x20name\
4025    .\n\n\x20Format:\n\x20`projects/{project_number}/locations/{location}/os\
4026    PolicyAssignments/{os_policy_assignment_id}`\n\n\x20This\x20field\x20is\
4027    \x20ignored\x20when\x20you\x20create\x20an\x20OS\x20policy\x20assignment\
4028    .\n\n\r\n\x05\x04\0\x02\0\x05\x12\x04\x97\x01\x02\x08\n\r\n\x05\x04\0\
4029    \x02\0\x01\x12\x04\x97\x01\t\r\n\r\n\x05\x04\0\x02\0\x03\x12\x04\x97\x01\
4030    \x10\x11\nk\n\x04\x04\0\x02\x01\x12\x04\x9b\x01\x02\x19\x1a]\x20OS\x20po\
4031    licy\x20assignment\x20description.\n\x20Length\x20of\x20the\x20descripti\
4032    on\x20is\x20limited\x20to\x201024\x20characters.\n\n\r\n\x05\x04\0\x02\
4033    \x01\x05\x12\x04\x9b\x01\x02\x08\n\r\n\x05\x04\0\x02\x01\x01\x12\x04\x9b\
4034    \x01\t\x14\n\r\n\x05\x04\0\x02\x01\x03\x12\x04\x9b\x01\x17\x18\nG\n\x04\
4035    \x04\0\x02\x02\x12\x04\x9e\x01\x02M\x1a9\x20Required.\x20List\x20of\x20O\
4036    S\x20policies\x20to\x20be\x20applied\x20to\x20the\x20VMs.\n\n\r\n\x05\
4037    \x04\0\x02\x02\x04\x12\x04\x9e\x01\x02\n\n\r\n\x05\x04\0\x02\x02\x06\x12\
4038    \x04\x9e\x01\x0b\x13\n\r\n\x05\x04\0\x02\x02\x01\x12\x04\x9e\x01\x14\x1f\
4039    \n\r\n\x05\x04\0\x02\x02\x03\x12\x04\x9e\x01\"#\n\r\n\x05\x04\0\x02\x02\
4040    \x08\x12\x04\x9e\x01$L\n\x10\n\x08\x04\0\x02\x02\x08\x9c\x08\0\x12\x04\
4041    \x9e\x01%K\n/\n\x04\x04\0\x02\x03\x12\x04\xa1\x01\x02N\x1a!\x20Required.\
4042    \x20Filter\x20to\x20select\x20VMs.\n\n\r\n\x05\x04\0\x02\x03\x06\x12\x04\
4043    \xa1\x01\x02\x10\n\r\n\x05\x04\0\x02\x03\x01\x12\x04\xa1\x01\x11\x20\n\r\
4044    \n\x05\x04\0\x02\x03\x03\x12\x04\xa1\x01#$\n\r\n\x05\x04\0\x02\x03\x08\
4045    \x12\x04\xa1\x01%M\n\x10\n\x08\x04\0\x02\x03\x08\x9c\x08\0\x12\x04\xa1\
4046    \x01&L\n\xcc\x02\n\x04\x04\0\x02\x04\x12\x04\xab\x01\x02?\x1a\xbd\x02\
4047    \x20Required.\x20Rollout\x20to\x20deploy\x20the\x20OS\x20policy\x20assig\
4048    nment.\n\x20A\x20rollout\x20is\x20triggered\x20in\x20the\x20following\
4049    \x20situations:\n\x201)\x20OSPolicyAssignment\x20is\x20created.\n\x202)\
4050    \x20OSPolicyAssignment\x20is\x20updated\x20and\x20the\x20update\x20conta\
4051    ins\x20changes\x20to\x20one\x20of\n\x20the\x20following\x20fields:\n\x20\
4052    \x20\x20\x20-\x20instance_filter\n\x20\x20\x20\x20-\x20os_policies\n\x20\
4053    3)\x20OSPolicyAssignment\x20is\x20deleted.\n\n\r\n\x05\x04\0\x02\x04\x06\
4054    \x12\x04\xab\x01\x02\t\n\r\n\x05\x04\0\x02\x04\x01\x12\x04\xab\x01\n\x11\
4055    \n\r\n\x05\x04\0\x02\x04\x03\x12\x04\xab\x01\x14\x15\n\r\n\x05\x04\0\x02\
4056    \x04\x08\x12\x04\xab\x01\x16>\n\x10\n\x08\x04\0\x02\x04\x08\x9c\x08\0\
4057    \x12\x04\xab\x01\x17=\n\x91\x01\n\x04\x04\0\x02\x05\x12\x04\xb0\x01\x02E\
4058    \x1a\x82\x01\x20Output\x20only.\x20The\x20assignment\x20revision\x20ID\n\
4059    \x20A\x20new\x20revision\x20is\x20committed\x20whenever\x20a\x20rollout\
4060    \x20is\x20triggered\x20for\x20a\x20OS\x20policy\n\x20assignment\n\n\r\n\
4061    \x05\x04\0\x02\x05\x05\x12\x04\xb0\x01\x02\x08\n\r\n\x05\x04\0\x02\x05\
4062    \x01\x12\x04\xb0\x01\t\x14\n\r\n\x05\x04\0\x02\x05\x03\x12\x04\xb0\x01\
4063    \x17\x18\n\r\n\x05\x04\0\x02\x05\x08\x12\x04\xb0\x01\x19D\n\x10\n\x08\
4064    \x04\0\x02\x05\x08\x9c\x08\0\x12\x04\xb0\x01\x1aC\nK\n\x04\x04\0\x02\x06\
4065    \x12\x06\xb3\x01\x02\xb4\x012\x1a;\x20Output\x20only.\x20The\x20timestam\
4066    p\x20that\x20the\x20revision\x20was\x20created.\n\n\r\n\x05\x04\0\x02\
4067    \x06\x06\x12\x04\xb3\x01\x02\x1b\n\r\n\x05\x04\0\x02\x06\x01\x12\x04\xb3\
4068    \x01\x1c0\n\r\n\x05\x04\0\x02\x06\x03\x12\x04\xb3\x0134\n\r\n\x05\x04\0\
4069    \x02\x06\x08\x12\x04\xb4\x01\x061\n\x10\n\x08\x04\0\x02\x06\x08\x9c\x08\
4070    \0\x12\x04\xb4\x01\x070\nx\n\x04\x04\0\x02\x07\x12\x04\xb8\x01\x02\x12\
4071    \x1aj\x20The\x20etag\x20for\x20this\x20OS\x20policy\x20assignment.\n\x20\
4072    If\x20this\x20is\x20provided\x20on\x20update,\x20it\x20must\x20match\x20\
4073    the\x20server's\x20etag.\n\n\r\n\x05\x04\0\x02\x07\x05\x12\x04\xb8\x01\
4074    \x02\x08\n\r\n\x05\x04\0\x02\x07\x01\x12\x04\xb8\x01\t\r\n\r\n\x05\x04\0\
4075    \x02\x07\x03\x12\x04\xb8\x01\x10\x11\n?\n\x04\x04\0\x02\x08\x12\x04\xbb\
4076    \x01\x02M\x1a1\x20Output\x20only.\x20OS\x20policy\x20assignment\x20rollo\
4077    ut\x20state\n\n\r\n\x05\x04\0\x02\x08\x06\x12\x04\xbb\x01\x02\x0e\n\r\n\
4078    \x05\x04\0\x02\x08\x01\x12\x04\xbb\x01\x0f\x1c\n\r\n\x05\x04\0\x02\x08\
4079    \x03\x12\x04\xbb\x01\x1f\x20\n\r\n\x05\x04\0\x02\x08\x08\x12\x04\xbb\x01\
4080    !L\n\x10\n\x08\x04\0\x02\x08\x08\x9c\x08\0\x12\x04\xbb\x01\"K\n\x8d\x02\
4081    \n\x04\x04\0\x02\t\x12\x04\xc2\x01\x02A\x1a\xfe\x01\x20Output\x20only.\
4082    \x20Indicates\x20that\x20this\x20revision\x20has\x20been\x20successfully\
4083    \x20rolled\x20out\n\x20in\x20this\x20zone\x20and\x20new\x20VMs\x20will\
4084    \x20be\x20assigned\x20OS\x20policies\x20from\x20this\x20revision.\n\n\
4085    \x20For\x20a\x20given\x20OS\x20policy\x20assignment,\x20there\x20is\x20o\
4086    nly\x20one\x20revision\x20with\x20a\x20value\n\x20of\x20`true`\x20for\
4087    \x20this\x20field.\n\n\r\n\x05\x04\0\x02\t\x05\x12\x04\xc2\x01\x02\x06\n\
4088    \r\n\x05\x04\0\x02\t\x01\x12\x04\xc2\x01\x07\x0f\n\r\n\x05\x04\0\x02\t\
4089    \x03\x12\x04\xc2\x01\x12\x14\n\r\n\x05\x04\0\x02\t\x08\x12\x04\xc2\x01\
4090    \x15@\n\x10\n\x08\x04\0\x02\t\x08\x9c\x08\0\x12\x04\xc2\x01\x16?\n[\n\
4091    \x04\x04\0\x02\n\x12\x04\xc5\x01\x02@\x1aM\x20Output\x20only.\x20Indicat\
4092    es\x20that\x20this\x20revision\x20deletes\x20the\x20OS\x20policy\x20assi\
4093    gnment.\n\n\r\n\x05\x04\0\x02\n\x05\x12\x04\xc5\x01\x02\x06\n\r\n\x05\
4094    \x04\0\x02\n\x01\x12\x04\xc5\x01\x07\x0e\n\r\n\x05\x04\0\x02\n\x03\x12\
4095    \x04\xc5\x01\x11\x13\n\r\n\x05\x04\0\x02\n\x08\x12\x04\xc5\x01\x14?\n\
4096    \x10\n\x08\x04\0\x02\n\x08\x9c\x08\0\x12\x04\xc5\x01\x15>\n\xb3\x01\n\
4097    \x04\x04\0\x02\x0b\x12\x04\xcb\x01\x02D\x1a\xa4\x01\x20Output\x20only.\
4098    \x20Indicates\x20that\x20reconciliation\x20is\x20in\x20progress\x20for\
4099    \x20the\x20revision.\n\x20This\x20value\x20is\x20`true`\x20when\x20the\
4100    \x20`rollout_state`\x20is\x20one\x20of:\n\x20*\x20IN_PROGRESS\n\x20*\x20\
4101    CANCELLING\n\n\r\n\x05\x04\0\x02\x0b\x05\x12\x04\xcb\x01\x02\x06\n\r\n\
4102    \x05\x04\0\x02\x0b\x01\x12\x04\xcb\x01\x07\x12\n\r\n\x05\x04\0\x02\x0b\
4103    \x03\x12\x04\xcb\x01\x15\x17\n\r\n\x05\x04\0\x02\x0b\x08\x12\x04\xcb\x01\
4104    \x18C\n\x10\n\x08\x04\0\x02\x0b\x08\x9c\x08\0\x12\x04\xcb\x01\x19B\n_\n\
4105    \x04\x04\0\x02\x0c\x12\x04\xcf\x01\x02>\x1aQ\x20Output\x20only.\x20Serve\
4106    r\x20generated\x20unique\x20id\x20for\x20the\x20OS\x20policy\x20assignme\
4107    nt\n\x20resource.\n\n\r\n\x05\x04\0\x02\x0c\x05\x12\x04\xcf\x01\x02\x08\
4108    \n\r\n\x05\x04\0\x02\x0c\x01\x12\x04\xcf\x01\t\x0c\n\r\n\x05\x04\0\x02\
4109    \x0c\x03\x12\x04\xcf\x01\x0f\x11\n\r\n\x05\x04\0\x02\x0c\x08\x12\x04\xcf\
4110    \x01\x12=\n\x10\n\x08\x04\0\x02\x0c\x08\x9c\x08\0\x12\x04\xcf\x01\x13<\n\
4111    \x8a\x01\n\x02\x04\x01\x12\x06\xd4\x01\0\x89\x02\x01\x1a|\x20OS\x20polic\
4112    y\x20assignment\x20operation\x20metadata\x20provided\x20by\x20OS\x20poli\
4113    cy\x20assignment\x20API\n\x20methods\x20that\x20return\x20long\x20runnin\
4114    g\x20operations.\n\n\x0b\n\x03\x04\x01\x01\x12\x04\xd4\x01\x08+\n6\n\x04\
4115    \x04\x01\x04\0\x12\x06\xd6\x01\x02\xe2\x01\x03\x1a&\x20The\x20OS\x20poli\
4116    cy\x20assignment\x20API\x20method.\n\n\r\n\x05\x04\x01\x04\0\x01\x12\x04\
4117    \xd6\x01\x07\x10\n\x1f\n\x06\x04\x01\x04\0\x02\0\x12\x04\xd8\x01\x04\x1f\
4118    \x1a\x0f\x20Invalid\x20value\n\n\x0f\n\x07\x04\x01\x04\0\x02\0\x01\x12\
4119    \x04\xd8\x01\x04\x1a\n\x0f\n\x07\x04\x01\x04\0\x02\0\x02\x12\x04\xd8\x01\
4120    \x1d\x1e\n8\n\x06\x04\x01\x04\0\x02\x01\x12\x04\xdb\x01\x04\x0f\x1a(\x20\
4121    Create\x20OS\x20policy\x20assignment\x20API\x20method\n\n\x0f\n\x07\x04\
4122    \x01\x04\0\x02\x01\x01\x12\x04\xdb\x01\x04\n\n\x0f\n\x07\x04\x01\x04\0\
4123    \x02\x01\x02\x12\x04\xdb\x01\r\x0e\n8\n\x06\x04\x01\x04\0\x02\x02\x12\
4124    \x04\xde\x01\x04\x0f\x1a(\x20Update\x20OS\x20policy\x20assignment\x20API\
4125    \x20method\n\n\x0f\n\x07\x04\x01\x04\0\x02\x02\x01\x12\x04\xde\x01\x04\n\
4126    \n\x0f\n\x07\x04\x01\x04\0\x02\x02\x02\x12\x04\xde\x01\r\x0e\n8\n\x06\
4127    \x04\x01\x04\0\x02\x03\x12\x04\xe1\x01\x04\x0f\x1a(\x20Delete\x20OS\x20p\
4128    olicy\x20assignment\x20API\x20method\n\n\x0f\n\x07\x04\x01\x04\0\x02\x03\
4129    \x01\x12\x04\xe1\x01\x04\n\n\x0f\n\x07\x04\x01\x04\0\x02\x03\x02\x12\x04\
4130    \xe1\x01\r\x0e\n&\n\x04\x04\x01\x04\x01\x12\x06\xe5\x01\x02\xf4\x01\x03\
4131    \x1a\x16\x20State\x20of\x20the\x20rollout\n\n\r\n\x05\x04\x01\x04\x01\
4132    \x01\x12\x04\xe5\x01\x07\x13\n\x1f\n\x06\x04\x01\x04\x01\x02\0\x12\x04\
4133    \xe7\x01\x04\"\x1a\x0f\x20Invalid\x20value\n\n\x0f\n\x07\x04\x01\x04\x01\
4134    \x02\0\x01\x12\x04\xe7\x01\x04\x1d\n\x0f\n\x07\x04\x01\x04\x01\x02\0\x02\
4135    \x12\x04\xe7\x01\x20!\n-\n\x06\x04\x01\x04\x01\x02\x01\x12\x04\xea\x01\
4136    \x04\x14\x1a\x1d\x20The\x20rollout\x20is\x20in\x20progress.\n\n\x0f\n\
4137    \x07\x04\x01\x04\x01\x02\x01\x01\x12\x04\xea\x01\x04\x0f\n\x0f\n\x07\x04\
4138    \x01\x04\x01\x02\x01\x02\x12\x04\xea\x01\x12\x13\n1\n\x06\x04\x01\x04\
4139    \x01\x02\x02\x12\x04\xed\x01\x04\x13\x1a!\x20The\x20rollout\x20is\x20bei\
4140    ng\x20cancelled.\n\n\x0f\n\x07\x04\x01\x04\x01\x02\x02\x01\x12\x04\xed\
4141    \x01\x04\x0e\n\x0f\n\x07\x04\x01\x04\x01\x02\x02\x02\x12\x04\xed\x01\x11\
4142    \x12\n+\n\x06\x04\x01\x04\x01\x02\x03\x12\x04\xf0\x01\x04\x12\x1a\x1b\
4143    \x20The\x20rollout\x20is\x20cancelled.\n\n\x0f\n\x07\x04\x01\x04\x01\x02\
4144    \x03\x01\x12\x04\xf0\x01\x04\r\n\x0f\n\x07\x04\x01\x04\x01\x02\x03\x02\
4145    \x12\x04\xf0\x01\x10\x11\n9\n\x06\x04\x01\x04\x01\x02\x04\x12\x04\xf3\
4146    \x01\x04\x12\x1a)\x20The\x20rollout\x20has\x20completed\x20successfully.\
4147    \n\n\x0f\n\x07\x04\x01\x04\x01\x02\x04\x01\x12\x04\xf3\x01\x04\r\n\x0f\n\
4148    \x07\x04\x01\x04\x01\x02\x04\x02\x12\x04\xf3\x01\x10\x11\n\xbc\x01\n\x04\
4149    \x04\x01\x02\0\x12\x06\xfa\x01\x02\xfc\x01\x05\x1a\xab\x01\x20Reference\
4150    \x20to\x20the\x20`OSPolicyAssignment`\x20API\x20resource.\n\n\x20Format:\
4151    \n\x20`projects/{project_number}/locations/{location}/osPolicyAssignment\
4152    s/{os_policy_assignment_id@revision_id}`\n\n\r\n\x05\x04\x01\x02\0\x05\
4153    \x12\x04\xfa\x01\x02\x08\n\r\n\x05\x04\x01\x02\0\x01\x12\x04\xfa\x01\t\
4154    \x1d\n\r\n\x05\x04\x01\x02\0\x03\x12\x04\xfa\x01\x20!\n\x0f\n\x05\x04\
4155    \x01\x02\0\x08\x12\x06\xfa\x01\"\xfc\x01\x04\n\x11\n\x07\x04\x01\x02\0\
4156    \x08\x9f\x08\x12\x06\xfa\x01#\xfc\x01\x03\n4\n\x04\x04\x01\x02\x01\x12\
4157    \x04\xff\x01\x02\x1b\x1a&\x20The\x20OS\x20policy\x20assignment\x20API\
4158    \x20method.\n\n\r\n\x05\x04\x01\x02\x01\x06\x12\x04\xff\x01\x02\x0b\n\r\
4159    \n\x05\x04\x01\x02\x01\x01\x12\x04\xff\x01\x0c\x16\n\r\n\x05\x04\x01\x02\
4160    \x01\x03\x12\x04\xff\x01\x19\x1a\n$\n\x04\x04\x01\x02\x02\x12\x04\x82\
4161    \x02\x02!\x1a\x16\x20State\x20of\x20the\x20rollout\n\n\r\n\x05\x04\x01\
4162    \x02\x02\x06\x12\x04\x82\x02\x02\x0e\n\r\n\x05\x04\x01\x02\x02\x01\x12\
4163    \x04\x82\x02\x0f\x1c\n\r\n\x05\x04\x01\x02\x02\x03\x12\x04\x82\x02\x1f\
4164    \x20\n\"\n\x04\x04\x01\x02\x03\x12\x04\x85\x02\x023\x1a\x14\x20Rollout\
4165    \x20start\x20time\n\n\r\n\x05\x04\x01\x02\x03\x06\x12\x04\x85\x02\x02\
4166    \x1b\n\r\n\x05\x04\x01\x02\x03\x01\x12\x04\x85\x02\x1c.\n\r\n\x05\x04\
4167    \x01\x02\x03\x03\x12\x04\x85\x0212\n#\n\x04\x04\x01\x02\x04\x12\x04\x88\
4168    \x02\x024\x1a\x15\x20Rollout\x20update\x20time\n\n\r\n\x05\x04\x01\x02\
4169    \x04\x06\x12\x04\x88\x02\x02\x1b\n\r\n\x05\x04\x01\x02\x04\x01\x12\x04\
4170    \x88\x02\x1c/\n\r\n\x05\x04\x01\x02\x04\x03\x12\x04\x88\x0223\nC\n\x02\
4171    \x04\x02\x12\x06\x8c\x02\0\xa3\x02\x01\x1a5\x20A\x20request\x20message\
4172    \x20to\x20create\x20an\x20OS\x20policy\x20assignment\n\n\x0b\n\x03\x04\
4173    \x02\x01\x12\x04\x8c\x02\x08'\nj\n\x04\x04\x02\x02\0\x12\x06\x8f\x02\x02\
4174    \x94\x02\x04\x1aZ\x20Required.\x20The\x20parent\x20resource\x20name\x20i\
4175    n\x20the\x20form:\n\x20projects/{project}/locations/{location}\n\n\r\n\
4176    \x05\x04\x02\x02\0\x05\x12\x04\x8f\x02\x02\x08\n\r\n\x05\x04\x02\x02\0\
4177    \x01\x12\x04\x8f\x02\t\x0f\n\r\n\x05\x04\x02\x02\0\x03\x12\x04\x8f\x02\
4178    \x12\x13\n\x0f\n\x05\x04\x02\x02\0\x08\x12\x06\x8f\x02\x14\x94\x02\x03\n\
4179    \x10\n\x08\x04\x02\x02\0\x08\x9c\x08\0\x12\x04\x90\x02\x04*\n\x11\n\x07\
4180    \x04\x02\x02\0\x08\x9f\x08\x12\x06\x91\x02\x04\x93\x02\x05\nC\n\x04\x04\
4181    \x02\x02\x01\x12\x06\x97\x02\x02\x98\x02/\x1a3\x20Required.\x20The\x20OS\
4182    \x20policy\x20assignment\x20to\x20be\x20created.\n\n\r\n\x05\x04\x02\x02\
4183    \x01\x06\x12\x04\x97\x02\x02\x14\n\r\n\x05\x04\x02\x02\x01\x01\x12\x04\
4184    \x97\x02\x15)\n\r\n\x05\x04\x02\x02\x01\x03\x12\x04\x97\x02,-\n\r\n\x05\
4185    \x04\x02\x02\x01\x08\x12\x04\x98\x02\x06.\n\x10\n\x08\x04\x02\x02\x01\
4186    \x08\x9c\x08\0\x12\x04\x98\x02\x07-\n\xc5\x02\n\x04\x04\x02\x02\x02\x12\
4187    \x04\xa2\x02\x02N\x1a\xb6\x02\x20Required.\x20The\x20logical\x20name\x20\
4188    of\x20the\x20OS\x20policy\x20assignment\x20in\x20the\x20project\n\x20wit\
4189    h\x20the\x20following\x20restrictions:\n\n\x20*\x20Must\x20contain\x20on\
4190    ly\x20lowercase\x20letters,\x20numbers,\x20and\x20hyphens.\n\x20*\x20Mus\
4191    t\x20start\x20with\x20a\x20letter.\n\x20*\x20Must\x20be\x20between\x201-\
4192    63\x20characters.\n\x20*\x20Must\x20end\x20with\x20a\x20number\x20or\x20\
4193    a\x20letter.\n\x20*\x20Must\x20be\x20unique\x20within\x20the\x20project.\
4194    \n\n\r\n\x05\x04\x02\x02\x02\x05\x12\x04\xa2\x02\x02\x08\n\r\n\x05\x04\
4195    \x02\x02\x02\x01\x12\x04\xa2\x02\t\x20\n\r\n\x05\x04\x02\x02\x02\x03\x12\
4196    \x04\xa2\x02#$\n\r\n\x05\x04\x02\x02\x02\x08\x12\x04\xa2\x02%M\n\x10\n\
4197    \x08\x04\x02\x02\x02\x08\x9c\x08\0\x12\x04\xa2\x02&L\nC\n\x02\x04\x03\
4198    \x12\x06\xa6\x02\0\xaf\x02\x01\x1a5\x20A\x20request\x20message\x20to\x20\
4199    update\x20an\x20OS\x20policy\x20assignment\n\n\x0b\n\x03\x04\x03\x01\x12\
4200    \x04\xa6\x02\x08'\n=\n\x04\x04\x03\x02\0\x12\x06\xa8\x02\x02\xa9\x02/\
4201    \x1a-\x20Required.\x20The\x20updated\x20OS\x20policy\x20assignment.\n\n\
4202    \r\n\x05\x04\x03\x02\0\x06\x12\x04\xa8\x02\x02\x14\n\r\n\x05\x04\x03\x02\
4203    \0\x01\x12\x04\xa8\x02\x15)\n\r\n\x05\x04\x03\x02\0\x03\x12\x04\xa8\x02,\
4204    -\n\r\n\x05\x04\x03\x02\0\x08\x12\x04\xa9\x02\x06.\n\x10\n\x08\x04\x03\
4205    \x02\0\x08\x9c\x08\0\x12\x04\xa9\x02\x07-\ng\n\x04\x04\x03\x02\x01\x12\
4206    \x06\xad\x02\x02\xae\x02/\x1aW\x20Optional.\x20Field\x20mask\x20that\x20\
4207    controls\x20which\x20fields\x20of\x20the\x20assignment\x20should\x20be\n\
4208    \x20updated.\n\n\r\n\x05\x04\x03\x02\x01\x06\x12\x04\xad\x02\x02\x1b\n\r\
4209    \n\x05\x04\x03\x02\x01\x01\x12\x04\xad\x02\x1c'\n\r\n\x05\x04\x03\x02\
4210    \x01\x03\x12\x04\xad\x02*+\n\r\n\x05\x04\x03\x02\x01\x08\x12\x04\xae\x02\
4211    \x06.\n\x10\n\x08\x04\x03\x02\x01\x08\x9c\x08\0\x12\x04\xae\x02\x07-\n@\
4212    \n\x02\x04\x04\x12\x06\xb2\x02\0\xbd\x02\x01\x1a2\x20A\x20request\x20mes\
4213    sage\x20to\x20get\x20an\x20OS\x20policy\x20assignment\n\n\x0b\n\x03\x04\
4214    \x04\x01\x12\x04\xb2\x02\x08$\n\xb4\x01\n\x04\x04\x04\x02\0\x12\x06\xb7\
4215    \x02\x02\xbc\x02\x04\x1a\xa3\x01\x20Required.\x20The\x20resource\x20name\
4216    \x20of\x20OS\x20policy\x20assignment.\n\n\x20Format:\n\x20`projects/{pro\
4217    ject}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{r\
4218    evisionId}`\n\n\r\n\x05\x04\x04\x02\0\x05\x12\x04\xb7\x02\x02\x08\n\r\n\
4219    \x05\x04\x04\x02\0\x01\x12\x04\xb7\x02\t\r\n\r\n\x05\x04\x04\x02\0\x03\
4220    \x12\x04\xb7\x02\x10\x11\n\x0f\n\x05\x04\x04\x02\0\x08\x12\x06\xb7\x02\
4221    \x12\xbc\x02\x03\n\x10\n\x08\x04\x04\x02\0\x08\x9c\x08\0\x12\x04\xb8\x02\
4222    \x04*\n\x11\n\x07\x04\x04\x02\0\x08\x9f\x08\x12\x06\xb9\x02\x04\xbb\x02\
4223    \x05\nU\n\x02\x04\x05\x12\x06\xc0\x02\0\xd0\x02\x01\x1aG\x20A\x20request\
4224    \x20message\x20to\x20list\x20OS\x20policy\x20assignments\x20for\x20a\x20\
4225    parent\x20resource\n\n\x0b\n\x03\x04\x05\x01\x12\x04\xc0\x02\x08&\n5\n\
4226    \x04\x04\x05\x02\0\x12\x06\xc2\x02\x02\xc7\x02\x04\x1a%\x20Required.\x20\
4227    The\x20parent\x20resource\x20name.\n\n\r\n\x05\x04\x05\x02\0\x05\x12\x04\
4228    \xc2\x02\x02\x08\n\r\n\x05\x04\x05\x02\0\x01\x12\x04\xc2\x02\t\x0f\n\r\n\
4229    \x05\x04\x05\x02\0\x03\x12\x04\xc2\x02\x12\x13\n\x0f\n\x05\x04\x05\x02\0\
4230    \x08\x12\x06\xc2\x02\x14\xc7\x02\x03\n\x10\n\x08\x04\x05\x02\0\x08\x9c\
4231    \x08\0\x12\x04\xc3\x02\x04*\n\x11\n\x07\x04\x05\x02\0\x08\x9f\x08\x12\
4232    \x06\xc4\x02\x04\xc6\x02\x05\n<\n\x04\x04\x05\x02\x01\x12\x04\xca\x02\
4233    \x02\x16\x1a.\x20The\x20maximum\x20number\x20of\x20assignments\x20to\x20\
4234    return.\n\n\r\n\x05\x04\x05\x02\x01\x05\x12\x04\xca\x02\x02\x07\n\r\n\
4235    \x05\x04\x05\x02\x01\x01\x12\x04\xca\x02\x08\x11\n\r\n\x05\x04\x05\x02\
4236    \x01\x03\x12\x04\xca\x02\x14\x15\n\x98\x01\n\x04\x04\x05\x02\x02\x12\x04\
4237    \xcf\x02\x02\x18\x1a\x89\x01\x20A\x20pagination\x20token\x20returned\x20\
4238    from\x20a\x20previous\x20call\x20to\n\x20`ListOSPolicyAssignments`\x20th\
4239    at\x20indicates\x20where\x20this\x20listing\x20should\x20continue\n\x20f\
4240    rom.\n\n\r\n\x05\x04\x05\x02\x02\x05\x12\x04\xcf\x02\x02\x08\n\r\n\x05\
4241    \x04\x05\x02\x02\x01\x12\x04\xcf\x02\t\x13\n\r\n\x05\x04\x05\x02\x02\x03\
4242    \x12\x04\xcf\x02\x16\x17\nR\n\x02\x04\x06\x12\x06\xd3\x02\0\xd9\x02\x01\
4243    \x1aD\x20A\x20response\x20message\x20for\x20listing\x20all\x20assignment\
4244    s\x20under\x20given\x20parent.\n\n\x0b\n\x03\x04\x06\x01\x12\x04\xd3\x02\
4245    \x08'\n'\n\x04\x04\x06\x02\0\x12\x04\xd5\x02\x028\x1a\x19\x20The\x20list\
4246    \x20of\x20assignments\n\n\r\n\x05\x04\x06\x02\0\x04\x12\x04\xd5\x02\x02\
4247    \n\n\r\n\x05\x04\x06\x02\0\x06\x12\x04\xd5\x02\x0b\x1d\n\r\n\x05\x04\x06\
4248    \x02\0\x01\x12\x04\xd5\x02\x1e3\n\r\n\x05\x04\x06\x02\0\x03\x12\x04\xd5\
4249    \x0267\nX\n\x04\x04\x06\x02\x01\x12\x04\xd8\x02\x02\x1d\x1aJ\x20The\x20p\
4250    agination\x20token\x20to\x20retrieve\x20the\x20next\x20page\x20of\x20OS\
4251    \x20policy\x20assignments.\n\n\r\n\x05\x04\x06\x02\x01\x05\x12\x04\xd8\
4252    \x02\x02\x08\n\r\n\x05\x04\x06\x02\x01\x01\x12\x04\xd8\x02\t\x18\n\r\n\
4253    \x05\x04\x06\x02\x01\x03\x12\x04\xd8\x02\x1b\x1c\nN\n\x02\x04\x07\x12\
4254    \x06\xdc\x02\0\xec\x02\x01\x1a@\x20A\x20request\x20message\x20to\x20list\
4255    \x20revisions\x20for\x20a\x20OS\x20policy\x20assignment\n\n\x0b\n\x03\
4256    \x04\x07\x01\x12\x04\xdc\x02\x08.\nW\n\x04\x04\x07\x02\0\x12\x06\xde\x02\
4257    \x02\xe3\x02\x04\x1aG\x20Required.\x20The\x20name\x20of\x20the\x20OS\x20\
4258    policy\x20assignment\x20to\x20list\x20revisions\x20for.\n\n\r\n\x05\x04\
4259    \x07\x02\0\x05\x12\x04\xde\x02\x02\x08\n\r\n\x05\x04\x07\x02\0\x01\x12\
4260    \x04\xde\x02\t\r\n\r\n\x05\x04\x07\x02\0\x03\x12\x04\xde\x02\x10\x11\n\
4261    \x0f\n\x05\x04\x07\x02\0\x08\x12\x06\xde\x02\x12\xe3\x02\x03\n\x10\n\x08\
4262    \x04\x07\x02\0\x08\x9c\x08\0\x12\x04\xdf\x02\x04*\n\x11\n\x07\x04\x07\
4263    \x02\0\x08\x9f\x08\x12\x06\xe0\x02\x04\xe2\x02\x05\n:\n\x04\x04\x07\x02\
4264    \x01\x12\x04\xe6\x02\x02\x16\x1a,\x20The\x20maximum\x20number\x20of\x20r\
4265    evisions\x20to\x20return.\n\n\r\n\x05\x04\x07\x02\x01\x05\x12\x04\xe6\
4266    \x02\x02\x07\n\r\n\x05\x04\x07\x02\x01\x01\x12\x04\xe6\x02\x08\x11\n\r\n\
4267    \x05\x04\x07\x02\x01\x03\x12\x04\xe6\x02\x14\x15\n\xa0\x01\n\x04\x04\x07\
4268    \x02\x02\x12\x04\xeb\x02\x02\x18\x1a\x91\x01\x20A\x20pagination\x20token\
4269    \x20returned\x20from\x20a\x20previous\x20call\x20to\n\x20`ListOSPolicyAs\
4270    signmentRevisions`\x20that\x20indicates\x20where\x20this\x20listing\x20s\
4271    hould\n\x20continue\x20from.\n\n\r\n\x05\x04\x07\x02\x02\x05\x12\x04\xeb\
4272    \x02\x02\x08\n\r\n\x05\x04\x07\x02\x02\x01\x12\x04\xeb\x02\t\x13\n\r\n\
4273    \x05\x04\x07\x02\x02\x03\x12\x04\xeb\x02\x16\x17\nX\n\x02\x04\x08\x12\
4274    \x06\xef\x02\0\xf6\x02\x01\x1aJ\x20A\x20response\x20message\x20for\x20li\
4275    sting\x20all\x20revisions\x20for\x20a\x20OS\x20policy\x20assignment.\n\n\
4276    \x0b\n\x03\x04\x08\x01\x12\x04\xef\x02\x08/\n2\n\x04\x04\x08\x02\0\x12\
4277    \x04\xf1\x02\x028\x1a$\x20The\x20OS\x20policy\x20assignment\x20revisions\
4278    \n\n\r\n\x05\x04\x08\x02\0\x04\x12\x04\xf1\x02\x02\n\n\r\n\x05\x04\x08\
4279    \x02\0\x06\x12\x04\xf1\x02\x0b\x1d\n\r\n\x05\x04\x08\x02\0\x01\x12\x04\
4280    \xf1\x02\x1e3\n\r\n\x05\x04\x08\x02\0\x03\x12\x04\xf1\x0267\nb\n\x04\x04\
4281    \x08\x02\x01\x12\x04\xf5\x02\x02\x1d\x1aT\x20The\x20pagination\x20token\
4282    \x20to\x20retrieve\x20the\x20next\x20page\x20of\x20OS\x20policy\x20assig\
4283    nment\n\x20revisions.\n\n\r\n\x05\x04\x08\x02\x01\x05\x12\x04\xf5\x02\
4284    \x02\x08\n\r\n\x05\x04\x08\x02\x01\x01\x12\x04\xf5\x02\t\x18\n\r\n\x05\
4285    \x04\x08\x02\x01\x03\x12\x04\xf5\x02\x1b\x1c\nF\n\x02\x04\t\x12\x06\xf9\
4286    \x02\0\x81\x03\x01\x1a8\x20A\x20request\x20message\x20for\x20deleting\
4287    \x20a\x20OS\x20policy\x20assignment.\n\n\x0b\n\x03\x04\t\x01\x12\x04\xf9\
4288    \x02\x08'\nN\n\x04\x04\t\x02\0\x12\x06\xfb\x02\x02\x80\x03\x04\x1a>\x20R\
4289    equired.\x20The\x20name\x20of\x20the\x20OS\x20policy\x20assignment\x20to\
4290    \x20be\x20deleted\n\n\r\n\x05\x04\t\x02\0\x05\x12\x04\xfb\x02\x02\x08\n\
4291    \r\n\x05\x04\t\x02\0\x01\x12\x04\xfb\x02\t\r\n\r\n\x05\x04\t\x02\0\x03\
4292    \x12\x04\xfb\x02\x10\x11\n\x0f\n\x05\x04\t\x02\0\x08\x12\x06\xfb\x02\x12\
4293    \x80\x03\x03\n\x10\n\x08\x04\t\x02\0\x08\x9c\x08\0\x12\x04\xfc\x02\x04*\
4294    \n\x11\n\x07\x04\t\x02\0\x08\x9f\x08\x12\x06\xfd\x02\x04\xff\x02\x05b\
4295    \x06proto3\
4296";
4297
4298static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
4299
4300fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
4301    ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
4302}
4303
4304pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
4305    file_descriptor_proto_lazy.get(|| {
4306        parse_descriptor_proto()
4307    })
4308}