google_cloud_rust_raw/cloud/osconfig/v1/
patch_deployments.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/patch_deployments.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 PatchDeployment {
28    // message fields
29    pub name: ::std::string::String,
30    pub description: ::std::string::String,
31    pub instance_filter: ::protobuf::SingularPtrField<super::patch_jobs::PatchInstanceFilter>,
32    pub patch_config: ::protobuf::SingularPtrField<super::patch_jobs::PatchConfig>,
33    pub duration: ::protobuf::SingularPtrField<::protobuf::well_known_types::Duration>,
34    pub create_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>,
35    pub update_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>,
36    pub last_execute_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>,
37    pub rollout: ::protobuf::SingularPtrField<super::patch_jobs::PatchRollout>,
38    pub state: PatchDeployment_State,
39    // message oneof groups
40    pub schedule: ::std::option::Option<PatchDeployment_oneof_schedule>,
41    // special fields
42    pub unknown_fields: ::protobuf::UnknownFields,
43    pub cached_size: ::protobuf::CachedSize,
44}
45
46impl<'a> ::std::default::Default for &'a PatchDeployment {
47    fn default() -> &'a PatchDeployment {
48        <PatchDeployment as ::protobuf::Message>::default_instance()
49    }
50}
51
52#[derive(Clone,PartialEq,Debug)]
53pub enum PatchDeployment_oneof_schedule {
54    one_time_schedule(OneTimeSchedule),
55    recurring_schedule(RecurringSchedule),
56}
57
58impl PatchDeployment {
59    pub fn new() -> PatchDeployment {
60        ::std::default::Default::default()
61    }
62
63    // string name = 1;
64
65
66    pub fn get_name(&self) -> &str {
67        &self.name
68    }
69    pub fn clear_name(&mut self) {
70        self.name.clear();
71    }
72
73    // Param is passed by value, moved
74    pub fn set_name(&mut self, v: ::std::string::String) {
75        self.name = v;
76    }
77
78    // Mutable pointer to the field.
79    // If field is not initialized, it is initialized with default value first.
80    pub fn mut_name(&mut self) -> &mut ::std::string::String {
81        &mut self.name
82    }
83
84    // Take field
85    pub fn take_name(&mut self) -> ::std::string::String {
86        ::std::mem::replace(&mut self.name, ::std::string::String::new())
87    }
88
89    // string description = 2;
90
91
92    pub fn get_description(&self) -> &str {
93        &self.description
94    }
95    pub fn clear_description(&mut self) {
96        self.description.clear();
97    }
98
99    // Param is passed by value, moved
100    pub fn set_description(&mut self, v: ::std::string::String) {
101        self.description = v;
102    }
103
104    // Mutable pointer to the field.
105    // If field is not initialized, it is initialized with default value first.
106    pub fn mut_description(&mut self) -> &mut ::std::string::String {
107        &mut self.description
108    }
109
110    // Take field
111    pub fn take_description(&mut self) -> ::std::string::String {
112        ::std::mem::replace(&mut self.description, ::std::string::String::new())
113    }
114
115    // .google.cloud.osconfig.v1.PatchInstanceFilter instance_filter = 3;
116
117
118    pub fn get_instance_filter(&self) -> &super::patch_jobs::PatchInstanceFilter {
119        self.instance_filter.as_ref().unwrap_or_else(|| <super::patch_jobs::PatchInstanceFilter as ::protobuf::Message>::default_instance())
120    }
121    pub fn clear_instance_filter(&mut self) {
122        self.instance_filter.clear();
123    }
124
125    pub fn has_instance_filter(&self) -> bool {
126        self.instance_filter.is_some()
127    }
128
129    // Param is passed by value, moved
130    pub fn set_instance_filter(&mut self, v: super::patch_jobs::PatchInstanceFilter) {
131        self.instance_filter = ::protobuf::SingularPtrField::some(v);
132    }
133
134    // Mutable pointer to the field.
135    // If field is not initialized, it is initialized with default value first.
136    pub fn mut_instance_filter(&mut self) -> &mut super::patch_jobs::PatchInstanceFilter {
137        if self.instance_filter.is_none() {
138            self.instance_filter.set_default();
139        }
140        self.instance_filter.as_mut().unwrap()
141    }
142
143    // Take field
144    pub fn take_instance_filter(&mut self) -> super::patch_jobs::PatchInstanceFilter {
145        self.instance_filter.take().unwrap_or_else(|| super::patch_jobs::PatchInstanceFilter::new())
146    }
147
148    // .google.cloud.osconfig.v1.PatchConfig patch_config = 4;
149
150
151    pub fn get_patch_config(&self) -> &super::patch_jobs::PatchConfig {
152        self.patch_config.as_ref().unwrap_or_else(|| <super::patch_jobs::PatchConfig as ::protobuf::Message>::default_instance())
153    }
154    pub fn clear_patch_config(&mut self) {
155        self.patch_config.clear();
156    }
157
158    pub fn has_patch_config(&self) -> bool {
159        self.patch_config.is_some()
160    }
161
162    // Param is passed by value, moved
163    pub fn set_patch_config(&mut self, v: super::patch_jobs::PatchConfig) {
164        self.patch_config = ::protobuf::SingularPtrField::some(v);
165    }
166
167    // Mutable pointer to the field.
168    // If field is not initialized, it is initialized with default value first.
169    pub fn mut_patch_config(&mut self) -> &mut super::patch_jobs::PatchConfig {
170        if self.patch_config.is_none() {
171            self.patch_config.set_default();
172        }
173        self.patch_config.as_mut().unwrap()
174    }
175
176    // Take field
177    pub fn take_patch_config(&mut self) -> super::patch_jobs::PatchConfig {
178        self.patch_config.take().unwrap_or_else(|| super::patch_jobs::PatchConfig::new())
179    }
180
181    // .google.protobuf.Duration duration = 5;
182
183
184    pub fn get_duration(&self) -> &::protobuf::well_known_types::Duration {
185        self.duration.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Duration as ::protobuf::Message>::default_instance())
186    }
187    pub fn clear_duration(&mut self) {
188        self.duration.clear();
189    }
190
191    pub fn has_duration(&self) -> bool {
192        self.duration.is_some()
193    }
194
195    // Param is passed by value, moved
196    pub fn set_duration(&mut self, v: ::protobuf::well_known_types::Duration) {
197        self.duration = ::protobuf::SingularPtrField::some(v);
198    }
199
200    // Mutable pointer to the field.
201    // If field is not initialized, it is initialized with default value first.
202    pub fn mut_duration(&mut self) -> &mut ::protobuf::well_known_types::Duration {
203        if self.duration.is_none() {
204            self.duration.set_default();
205        }
206        self.duration.as_mut().unwrap()
207    }
208
209    // Take field
210    pub fn take_duration(&mut self) -> ::protobuf::well_known_types::Duration {
211        self.duration.take().unwrap_or_else(|| ::protobuf::well_known_types::Duration::new())
212    }
213
214    // .google.cloud.osconfig.v1.OneTimeSchedule one_time_schedule = 6;
215
216
217    pub fn get_one_time_schedule(&self) -> &OneTimeSchedule {
218        match self.schedule {
219            ::std::option::Option::Some(PatchDeployment_oneof_schedule::one_time_schedule(ref v)) => v,
220            _ => <OneTimeSchedule as ::protobuf::Message>::default_instance(),
221        }
222    }
223    pub fn clear_one_time_schedule(&mut self) {
224        self.schedule = ::std::option::Option::None;
225    }
226
227    pub fn has_one_time_schedule(&self) -> bool {
228        match self.schedule {
229            ::std::option::Option::Some(PatchDeployment_oneof_schedule::one_time_schedule(..)) => true,
230            _ => false,
231        }
232    }
233
234    // Param is passed by value, moved
235    pub fn set_one_time_schedule(&mut self, v: OneTimeSchedule) {
236        self.schedule = ::std::option::Option::Some(PatchDeployment_oneof_schedule::one_time_schedule(v))
237    }
238
239    // Mutable pointer to the field.
240    pub fn mut_one_time_schedule(&mut self) -> &mut OneTimeSchedule {
241        if let ::std::option::Option::Some(PatchDeployment_oneof_schedule::one_time_schedule(_)) = self.schedule {
242        } else {
243            self.schedule = ::std::option::Option::Some(PatchDeployment_oneof_schedule::one_time_schedule(OneTimeSchedule::new()));
244        }
245        match self.schedule {
246            ::std::option::Option::Some(PatchDeployment_oneof_schedule::one_time_schedule(ref mut v)) => v,
247            _ => panic!(),
248        }
249    }
250
251    // Take field
252    pub fn take_one_time_schedule(&mut self) -> OneTimeSchedule {
253        if self.has_one_time_schedule() {
254            match self.schedule.take() {
255                ::std::option::Option::Some(PatchDeployment_oneof_schedule::one_time_schedule(v)) => v,
256                _ => panic!(),
257            }
258        } else {
259            OneTimeSchedule::new()
260        }
261    }
262
263    // .google.cloud.osconfig.v1.RecurringSchedule recurring_schedule = 7;
264
265
266    pub fn get_recurring_schedule(&self) -> &RecurringSchedule {
267        match self.schedule {
268            ::std::option::Option::Some(PatchDeployment_oneof_schedule::recurring_schedule(ref v)) => v,
269            _ => <RecurringSchedule as ::protobuf::Message>::default_instance(),
270        }
271    }
272    pub fn clear_recurring_schedule(&mut self) {
273        self.schedule = ::std::option::Option::None;
274    }
275
276    pub fn has_recurring_schedule(&self) -> bool {
277        match self.schedule {
278            ::std::option::Option::Some(PatchDeployment_oneof_schedule::recurring_schedule(..)) => true,
279            _ => false,
280        }
281    }
282
283    // Param is passed by value, moved
284    pub fn set_recurring_schedule(&mut self, v: RecurringSchedule) {
285        self.schedule = ::std::option::Option::Some(PatchDeployment_oneof_schedule::recurring_schedule(v))
286    }
287
288    // Mutable pointer to the field.
289    pub fn mut_recurring_schedule(&mut self) -> &mut RecurringSchedule {
290        if let ::std::option::Option::Some(PatchDeployment_oneof_schedule::recurring_schedule(_)) = self.schedule {
291        } else {
292            self.schedule = ::std::option::Option::Some(PatchDeployment_oneof_schedule::recurring_schedule(RecurringSchedule::new()));
293        }
294        match self.schedule {
295            ::std::option::Option::Some(PatchDeployment_oneof_schedule::recurring_schedule(ref mut v)) => v,
296            _ => panic!(),
297        }
298    }
299
300    // Take field
301    pub fn take_recurring_schedule(&mut self) -> RecurringSchedule {
302        if self.has_recurring_schedule() {
303            match self.schedule.take() {
304                ::std::option::Option::Some(PatchDeployment_oneof_schedule::recurring_schedule(v)) => v,
305                _ => panic!(),
306            }
307        } else {
308            RecurringSchedule::new()
309        }
310    }
311
312    // .google.protobuf.Timestamp create_time = 8;
313
314
315    pub fn get_create_time(&self) -> &::protobuf::well_known_types::Timestamp {
316        self.create_time.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Timestamp as ::protobuf::Message>::default_instance())
317    }
318    pub fn clear_create_time(&mut self) {
319        self.create_time.clear();
320    }
321
322    pub fn has_create_time(&self) -> bool {
323        self.create_time.is_some()
324    }
325
326    // Param is passed by value, moved
327    pub fn set_create_time(&mut self, v: ::protobuf::well_known_types::Timestamp) {
328        self.create_time = ::protobuf::SingularPtrField::some(v);
329    }
330
331    // Mutable pointer to the field.
332    // If field is not initialized, it is initialized with default value first.
333    pub fn mut_create_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp {
334        if self.create_time.is_none() {
335            self.create_time.set_default();
336        }
337        self.create_time.as_mut().unwrap()
338    }
339
340    // Take field
341    pub fn take_create_time(&mut self) -> ::protobuf::well_known_types::Timestamp {
342        self.create_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new())
343    }
344
345    // .google.protobuf.Timestamp update_time = 9;
346
347
348    pub fn get_update_time(&self) -> &::protobuf::well_known_types::Timestamp {
349        self.update_time.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Timestamp as ::protobuf::Message>::default_instance())
350    }
351    pub fn clear_update_time(&mut self) {
352        self.update_time.clear();
353    }
354
355    pub fn has_update_time(&self) -> bool {
356        self.update_time.is_some()
357    }
358
359    // Param is passed by value, moved
360    pub fn set_update_time(&mut self, v: ::protobuf::well_known_types::Timestamp) {
361        self.update_time = ::protobuf::SingularPtrField::some(v);
362    }
363
364    // Mutable pointer to the field.
365    // If field is not initialized, it is initialized with default value first.
366    pub fn mut_update_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp {
367        if self.update_time.is_none() {
368            self.update_time.set_default();
369        }
370        self.update_time.as_mut().unwrap()
371    }
372
373    // Take field
374    pub fn take_update_time(&mut self) -> ::protobuf::well_known_types::Timestamp {
375        self.update_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new())
376    }
377
378    // .google.protobuf.Timestamp last_execute_time = 10;
379
380
381    pub fn get_last_execute_time(&self) -> &::protobuf::well_known_types::Timestamp {
382        self.last_execute_time.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Timestamp as ::protobuf::Message>::default_instance())
383    }
384    pub fn clear_last_execute_time(&mut self) {
385        self.last_execute_time.clear();
386    }
387
388    pub fn has_last_execute_time(&self) -> bool {
389        self.last_execute_time.is_some()
390    }
391
392    // Param is passed by value, moved
393    pub fn set_last_execute_time(&mut self, v: ::protobuf::well_known_types::Timestamp) {
394        self.last_execute_time = ::protobuf::SingularPtrField::some(v);
395    }
396
397    // Mutable pointer to the field.
398    // If field is not initialized, it is initialized with default value first.
399    pub fn mut_last_execute_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp {
400        if self.last_execute_time.is_none() {
401            self.last_execute_time.set_default();
402        }
403        self.last_execute_time.as_mut().unwrap()
404    }
405
406    // Take field
407    pub fn take_last_execute_time(&mut self) -> ::protobuf::well_known_types::Timestamp {
408        self.last_execute_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new())
409    }
410
411    // .google.cloud.osconfig.v1.PatchRollout rollout = 11;
412
413
414    pub fn get_rollout(&self) -> &super::patch_jobs::PatchRollout {
415        self.rollout.as_ref().unwrap_or_else(|| <super::patch_jobs::PatchRollout as ::protobuf::Message>::default_instance())
416    }
417    pub fn clear_rollout(&mut self) {
418        self.rollout.clear();
419    }
420
421    pub fn has_rollout(&self) -> bool {
422        self.rollout.is_some()
423    }
424
425    // Param is passed by value, moved
426    pub fn set_rollout(&mut self, v: super::patch_jobs::PatchRollout) {
427        self.rollout = ::protobuf::SingularPtrField::some(v);
428    }
429
430    // Mutable pointer to the field.
431    // If field is not initialized, it is initialized with default value first.
432    pub fn mut_rollout(&mut self) -> &mut super::patch_jobs::PatchRollout {
433        if self.rollout.is_none() {
434            self.rollout.set_default();
435        }
436        self.rollout.as_mut().unwrap()
437    }
438
439    // Take field
440    pub fn take_rollout(&mut self) -> super::patch_jobs::PatchRollout {
441        self.rollout.take().unwrap_or_else(|| super::patch_jobs::PatchRollout::new())
442    }
443
444    // .google.cloud.osconfig.v1.PatchDeployment.State state = 12;
445
446
447    pub fn get_state(&self) -> PatchDeployment_State {
448        self.state
449    }
450    pub fn clear_state(&mut self) {
451        self.state = PatchDeployment_State::STATE_UNSPECIFIED;
452    }
453
454    // Param is passed by value, moved
455    pub fn set_state(&mut self, v: PatchDeployment_State) {
456        self.state = v;
457    }
458}
459
460impl ::protobuf::Message for PatchDeployment {
461    fn is_initialized(&self) -> bool {
462        for v in &self.instance_filter {
463            if !v.is_initialized() {
464                return false;
465            }
466        };
467        for v in &self.patch_config {
468            if !v.is_initialized() {
469                return false;
470            }
471        };
472        for v in &self.duration {
473            if !v.is_initialized() {
474                return false;
475            }
476        };
477        if let Some(PatchDeployment_oneof_schedule::one_time_schedule(ref v)) = self.schedule {
478            if !v.is_initialized() {
479                return false;
480            }
481        }
482        if let Some(PatchDeployment_oneof_schedule::recurring_schedule(ref v)) = self.schedule {
483            if !v.is_initialized() {
484                return false;
485            }
486        }
487        for v in &self.create_time {
488            if !v.is_initialized() {
489                return false;
490            }
491        };
492        for v in &self.update_time {
493            if !v.is_initialized() {
494                return false;
495            }
496        };
497        for v in &self.last_execute_time {
498            if !v.is_initialized() {
499                return false;
500            }
501        };
502        for v in &self.rollout {
503            if !v.is_initialized() {
504                return false;
505            }
506        };
507        true
508    }
509
510    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
511        while !is.eof()? {
512            let (field_number, wire_type) = is.read_tag_unpack()?;
513            match field_number {
514                1 => {
515                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?;
516                },
517                2 => {
518                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.description)?;
519                },
520                3 => {
521                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.instance_filter)?;
522                },
523                4 => {
524                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.patch_config)?;
525                },
526                5 => {
527                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.duration)?;
528                },
529                6 => {
530                    if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
531                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
532                    }
533                    self.schedule = ::std::option::Option::Some(PatchDeployment_oneof_schedule::one_time_schedule(is.read_message()?));
534                },
535                7 => {
536                    if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
537                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
538                    }
539                    self.schedule = ::std::option::Option::Some(PatchDeployment_oneof_schedule::recurring_schedule(is.read_message()?));
540                },
541                8 => {
542                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.create_time)?;
543                },
544                9 => {
545                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.update_time)?;
546                },
547                10 => {
548                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.last_execute_time)?;
549                },
550                11 => {
551                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.rollout)?;
552                },
553                12 => {
554                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.state, 12, &mut self.unknown_fields)?
555                },
556                _ => {
557                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
558                },
559            };
560        }
561        ::std::result::Result::Ok(())
562    }
563
564    // Compute sizes of nested messages
565    #[allow(unused_variables)]
566    fn compute_size(&self) -> u32 {
567        let mut my_size = 0;
568        if !self.name.is_empty() {
569            my_size += ::protobuf::rt::string_size(1, &self.name);
570        }
571        if !self.description.is_empty() {
572            my_size += ::protobuf::rt::string_size(2, &self.description);
573        }
574        if let Some(ref v) = self.instance_filter.as_ref() {
575            let len = v.compute_size();
576            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
577        }
578        if let Some(ref v) = self.patch_config.as_ref() {
579            let len = v.compute_size();
580            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
581        }
582        if let Some(ref v) = self.duration.as_ref() {
583            let len = v.compute_size();
584            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
585        }
586        if let Some(ref v) = self.create_time.as_ref() {
587            let len = v.compute_size();
588            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
589        }
590        if let Some(ref v) = self.update_time.as_ref() {
591            let len = v.compute_size();
592            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
593        }
594        if let Some(ref v) = self.last_execute_time.as_ref() {
595            let len = v.compute_size();
596            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
597        }
598        if let Some(ref v) = self.rollout.as_ref() {
599            let len = v.compute_size();
600            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
601        }
602        if self.state != PatchDeployment_State::STATE_UNSPECIFIED {
603            my_size += ::protobuf::rt::enum_size(12, self.state);
604        }
605        if let ::std::option::Option::Some(ref v) = self.schedule {
606            match v {
607                &PatchDeployment_oneof_schedule::one_time_schedule(ref v) => {
608                    let len = v.compute_size();
609                    my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
610                },
611                &PatchDeployment_oneof_schedule::recurring_schedule(ref v) => {
612                    let len = v.compute_size();
613                    my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
614                },
615            };
616        }
617        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
618        self.cached_size.set(my_size);
619        my_size
620    }
621
622    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
623        if !self.name.is_empty() {
624            os.write_string(1, &self.name)?;
625        }
626        if !self.description.is_empty() {
627            os.write_string(2, &self.description)?;
628        }
629        if let Some(ref v) = self.instance_filter.as_ref() {
630            os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?;
631            os.write_raw_varint32(v.get_cached_size())?;
632            v.write_to_with_cached_sizes(os)?;
633        }
634        if let Some(ref v) = self.patch_config.as_ref() {
635            os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
636            os.write_raw_varint32(v.get_cached_size())?;
637            v.write_to_with_cached_sizes(os)?;
638        }
639        if let Some(ref v) = self.duration.as_ref() {
640            os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?;
641            os.write_raw_varint32(v.get_cached_size())?;
642            v.write_to_with_cached_sizes(os)?;
643        }
644        if let Some(ref v) = self.create_time.as_ref() {
645            os.write_tag(8, ::protobuf::wire_format::WireTypeLengthDelimited)?;
646            os.write_raw_varint32(v.get_cached_size())?;
647            v.write_to_with_cached_sizes(os)?;
648        }
649        if let Some(ref v) = self.update_time.as_ref() {
650            os.write_tag(9, ::protobuf::wire_format::WireTypeLengthDelimited)?;
651            os.write_raw_varint32(v.get_cached_size())?;
652            v.write_to_with_cached_sizes(os)?;
653        }
654        if let Some(ref v) = self.last_execute_time.as_ref() {
655            os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited)?;
656            os.write_raw_varint32(v.get_cached_size())?;
657            v.write_to_with_cached_sizes(os)?;
658        }
659        if let Some(ref v) = self.rollout.as_ref() {
660            os.write_tag(11, ::protobuf::wire_format::WireTypeLengthDelimited)?;
661            os.write_raw_varint32(v.get_cached_size())?;
662            v.write_to_with_cached_sizes(os)?;
663        }
664        if self.state != PatchDeployment_State::STATE_UNSPECIFIED {
665            os.write_enum(12, ::protobuf::ProtobufEnum::value(&self.state))?;
666        }
667        if let ::std::option::Option::Some(ref v) = self.schedule {
668            match v {
669                &PatchDeployment_oneof_schedule::one_time_schedule(ref v) => {
670                    os.write_tag(6, ::protobuf::wire_format::WireTypeLengthDelimited)?;
671                    os.write_raw_varint32(v.get_cached_size())?;
672                    v.write_to_with_cached_sizes(os)?;
673                },
674                &PatchDeployment_oneof_schedule::recurring_schedule(ref v) => {
675                    os.write_tag(7, ::protobuf::wire_format::WireTypeLengthDelimited)?;
676                    os.write_raw_varint32(v.get_cached_size())?;
677                    v.write_to_with_cached_sizes(os)?;
678                },
679            };
680        }
681        os.write_unknown_fields(self.get_unknown_fields())?;
682        ::std::result::Result::Ok(())
683    }
684
685    fn get_cached_size(&self) -> u32 {
686        self.cached_size.get()
687    }
688
689    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
690        &self.unknown_fields
691    }
692
693    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
694        &mut self.unknown_fields
695    }
696
697    fn as_any(&self) -> &dyn (::std::any::Any) {
698        self as &dyn (::std::any::Any)
699    }
700    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
701        self as &mut dyn (::std::any::Any)
702    }
703    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
704        self
705    }
706
707    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
708        Self::descriptor_static()
709    }
710
711    fn new() -> PatchDeployment {
712        PatchDeployment::new()
713    }
714
715    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
716        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
717        descriptor.get(|| {
718            let mut fields = ::std::vec::Vec::new();
719            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
720                "name",
721                |m: &PatchDeployment| { &m.name },
722                |m: &mut PatchDeployment| { &mut m.name },
723            ));
724            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
725                "description",
726                |m: &PatchDeployment| { &m.description },
727                |m: &mut PatchDeployment| { &mut m.description },
728            ));
729            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::patch_jobs::PatchInstanceFilter>>(
730                "instance_filter",
731                |m: &PatchDeployment| { &m.instance_filter },
732                |m: &mut PatchDeployment| { &mut m.instance_filter },
733            ));
734            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::patch_jobs::PatchConfig>>(
735                "patch_config",
736                |m: &PatchDeployment| { &m.patch_config },
737                |m: &mut PatchDeployment| { &mut m.patch_config },
738            ));
739            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Duration>>(
740                "duration",
741                |m: &PatchDeployment| { &m.duration },
742                |m: &mut PatchDeployment| { &mut m.duration },
743            ));
744            fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, OneTimeSchedule>(
745                "one_time_schedule",
746                PatchDeployment::has_one_time_schedule,
747                PatchDeployment::get_one_time_schedule,
748            ));
749            fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, RecurringSchedule>(
750                "recurring_schedule",
751                PatchDeployment::has_recurring_schedule,
752                PatchDeployment::get_recurring_schedule,
753            ));
754            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>(
755                "create_time",
756                |m: &PatchDeployment| { &m.create_time },
757                |m: &mut PatchDeployment| { &mut m.create_time },
758            ));
759            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>(
760                "update_time",
761                |m: &PatchDeployment| { &m.update_time },
762                |m: &mut PatchDeployment| { &mut m.update_time },
763            ));
764            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>(
765                "last_execute_time",
766                |m: &PatchDeployment| { &m.last_execute_time },
767                |m: &mut PatchDeployment| { &mut m.last_execute_time },
768            ));
769            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::patch_jobs::PatchRollout>>(
770                "rollout",
771                |m: &PatchDeployment| { &m.rollout },
772                |m: &mut PatchDeployment| { &mut m.rollout },
773            ));
774            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<PatchDeployment_State>>(
775                "state",
776                |m: &PatchDeployment| { &m.state },
777                |m: &mut PatchDeployment| { &mut m.state },
778            ));
779            ::protobuf::reflect::MessageDescriptor::new_pb_name::<PatchDeployment>(
780                "PatchDeployment",
781                fields,
782                file_descriptor_proto()
783            )
784        })
785    }
786
787    fn default_instance() -> &'static PatchDeployment {
788        static instance: ::protobuf::rt::LazyV2<PatchDeployment> = ::protobuf::rt::LazyV2::INIT;
789        instance.get(PatchDeployment::new)
790    }
791}
792
793impl ::protobuf::Clear for PatchDeployment {
794    fn clear(&mut self) {
795        self.name.clear();
796        self.description.clear();
797        self.instance_filter.clear();
798        self.patch_config.clear();
799        self.duration.clear();
800        self.schedule = ::std::option::Option::None;
801        self.schedule = ::std::option::Option::None;
802        self.create_time.clear();
803        self.update_time.clear();
804        self.last_execute_time.clear();
805        self.rollout.clear();
806        self.state = PatchDeployment_State::STATE_UNSPECIFIED;
807        self.unknown_fields.clear();
808    }
809}
810
811impl ::std::fmt::Debug for PatchDeployment {
812    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
813        ::protobuf::text_format::fmt(self, f)
814    }
815}
816
817impl ::protobuf::reflect::ProtobufValue for PatchDeployment {
818    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
819        ::protobuf::reflect::ReflectValueRef::Message(self)
820    }
821}
822
823#[derive(Clone,PartialEq,Eq,Debug,Hash)]
824pub enum PatchDeployment_State {
825    STATE_UNSPECIFIED = 0,
826    ACTIVE = 1,
827    PAUSED = 2,
828}
829
830impl ::protobuf::ProtobufEnum for PatchDeployment_State {
831    fn value(&self) -> i32 {
832        *self as i32
833    }
834
835    fn from_i32(value: i32) -> ::std::option::Option<PatchDeployment_State> {
836        match value {
837            0 => ::std::option::Option::Some(PatchDeployment_State::STATE_UNSPECIFIED),
838            1 => ::std::option::Option::Some(PatchDeployment_State::ACTIVE),
839            2 => ::std::option::Option::Some(PatchDeployment_State::PAUSED),
840            _ => ::std::option::Option::None
841        }
842    }
843
844    fn values() -> &'static [Self] {
845        static values: &'static [PatchDeployment_State] = &[
846            PatchDeployment_State::STATE_UNSPECIFIED,
847            PatchDeployment_State::ACTIVE,
848            PatchDeployment_State::PAUSED,
849        ];
850        values
851    }
852
853    fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
854        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
855        descriptor.get(|| {
856            ::protobuf::reflect::EnumDescriptor::new_pb_name::<PatchDeployment_State>("PatchDeployment.State", file_descriptor_proto())
857        })
858    }
859}
860
861impl ::std::marker::Copy for PatchDeployment_State {
862}
863
864impl ::std::default::Default for PatchDeployment_State {
865    fn default() -> Self {
866        PatchDeployment_State::STATE_UNSPECIFIED
867    }
868}
869
870impl ::protobuf::reflect::ProtobufValue for PatchDeployment_State {
871    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
872        ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
873    }
874}
875
876#[derive(PartialEq,Clone,Default)]
877pub struct OneTimeSchedule {
878    // message fields
879    pub execute_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>,
880    // special fields
881    pub unknown_fields: ::protobuf::UnknownFields,
882    pub cached_size: ::protobuf::CachedSize,
883}
884
885impl<'a> ::std::default::Default for &'a OneTimeSchedule {
886    fn default() -> &'a OneTimeSchedule {
887        <OneTimeSchedule as ::protobuf::Message>::default_instance()
888    }
889}
890
891impl OneTimeSchedule {
892    pub fn new() -> OneTimeSchedule {
893        ::std::default::Default::default()
894    }
895
896    // .google.protobuf.Timestamp execute_time = 1;
897
898
899    pub fn get_execute_time(&self) -> &::protobuf::well_known_types::Timestamp {
900        self.execute_time.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Timestamp as ::protobuf::Message>::default_instance())
901    }
902    pub fn clear_execute_time(&mut self) {
903        self.execute_time.clear();
904    }
905
906    pub fn has_execute_time(&self) -> bool {
907        self.execute_time.is_some()
908    }
909
910    // Param is passed by value, moved
911    pub fn set_execute_time(&mut self, v: ::protobuf::well_known_types::Timestamp) {
912        self.execute_time = ::protobuf::SingularPtrField::some(v);
913    }
914
915    // Mutable pointer to the field.
916    // If field is not initialized, it is initialized with default value first.
917    pub fn mut_execute_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp {
918        if self.execute_time.is_none() {
919            self.execute_time.set_default();
920        }
921        self.execute_time.as_mut().unwrap()
922    }
923
924    // Take field
925    pub fn take_execute_time(&mut self) -> ::protobuf::well_known_types::Timestamp {
926        self.execute_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new())
927    }
928}
929
930impl ::protobuf::Message for OneTimeSchedule {
931    fn is_initialized(&self) -> bool {
932        for v in &self.execute_time {
933            if !v.is_initialized() {
934                return false;
935            }
936        };
937        true
938    }
939
940    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
941        while !is.eof()? {
942            let (field_number, wire_type) = is.read_tag_unpack()?;
943            match field_number {
944                1 => {
945                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.execute_time)?;
946                },
947                _ => {
948                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
949                },
950            };
951        }
952        ::std::result::Result::Ok(())
953    }
954
955    // Compute sizes of nested messages
956    #[allow(unused_variables)]
957    fn compute_size(&self) -> u32 {
958        let mut my_size = 0;
959        if let Some(ref v) = self.execute_time.as_ref() {
960            let len = v.compute_size();
961            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
962        }
963        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
964        self.cached_size.set(my_size);
965        my_size
966    }
967
968    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
969        if let Some(ref v) = self.execute_time.as_ref() {
970            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
971            os.write_raw_varint32(v.get_cached_size())?;
972            v.write_to_with_cached_sizes(os)?;
973        }
974        os.write_unknown_fields(self.get_unknown_fields())?;
975        ::std::result::Result::Ok(())
976    }
977
978    fn get_cached_size(&self) -> u32 {
979        self.cached_size.get()
980    }
981
982    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
983        &self.unknown_fields
984    }
985
986    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
987        &mut self.unknown_fields
988    }
989
990    fn as_any(&self) -> &dyn (::std::any::Any) {
991        self as &dyn (::std::any::Any)
992    }
993    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
994        self as &mut dyn (::std::any::Any)
995    }
996    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
997        self
998    }
999
1000    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1001        Self::descriptor_static()
1002    }
1003
1004    fn new() -> OneTimeSchedule {
1005        OneTimeSchedule::new()
1006    }
1007
1008    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1009        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1010        descriptor.get(|| {
1011            let mut fields = ::std::vec::Vec::new();
1012            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>(
1013                "execute_time",
1014                |m: &OneTimeSchedule| { &m.execute_time },
1015                |m: &mut OneTimeSchedule| { &mut m.execute_time },
1016            ));
1017            ::protobuf::reflect::MessageDescriptor::new_pb_name::<OneTimeSchedule>(
1018                "OneTimeSchedule",
1019                fields,
1020                file_descriptor_proto()
1021            )
1022        })
1023    }
1024
1025    fn default_instance() -> &'static OneTimeSchedule {
1026        static instance: ::protobuf::rt::LazyV2<OneTimeSchedule> = ::protobuf::rt::LazyV2::INIT;
1027        instance.get(OneTimeSchedule::new)
1028    }
1029}
1030
1031impl ::protobuf::Clear for OneTimeSchedule {
1032    fn clear(&mut self) {
1033        self.execute_time.clear();
1034        self.unknown_fields.clear();
1035    }
1036}
1037
1038impl ::std::fmt::Debug for OneTimeSchedule {
1039    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1040        ::protobuf::text_format::fmt(self, f)
1041    }
1042}
1043
1044impl ::protobuf::reflect::ProtobufValue for OneTimeSchedule {
1045    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1046        ::protobuf::reflect::ReflectValueRef::Message(self)
1047    }
1048}
1049
1050#[derive(PartialEq,Clone,Default)]
1051pub struct RecurringSchedule {
1052    // message fields
1053    pub time_zone: ::protobuf::SingularPtrField<super::datetime::TimeZone>,
1054    pub start_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>,
1055    pub end_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>,
1056    pub time_of_day: ::protobuf::SingularPtrField<super::timeofday::TimeOfDay>,
1057    pub frequency: RecurringSchedule_Frequency,
1058    pub last_execute_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>,
1059    pub next_execute_time: ::protobuf::SingularPtrField<::protobuf::well_known_types::Timestamp>,
1060    // message oneof groups
1061    pub schedule_config: ::std::option::Option<RecurringSchedule_oneof_schedule_config>,
1062    // special fields
1063    pub unknown_fields: ::protobuf::UnknownFields,
1064    pub cached_size: ::protobuf::CachedSize,
1065}
1066
1067impl<'a> ::std::default::Default for &'a RecurringSchedule {
1068    fn default() -> &'a RecurringSchedule {
1069        <RecurringSchedule as ::protobuf::Message>::default_instance()
1070    }
1071}
1072
1073#[derive(Clone,PartialEq,Debug)]
1074pub enum RecurringSchedule_oneof_schedule_config {
1075    weekly(WeeklySchedule),
1076    monthly(MonthlySchedule),
1077}
1078
1079impl RecurringSchedule {
1080    pub fn new() -> RecurringSchedule {
1081        ::std::default::Default::default()
1082    }
1083
1084    // .google.type.TimeZone time_zone = 1;
1085
1086
1087    pub fn get_time_zone(&self) -> &super::datetime::TimeZone {
1088        self.time_zone.as_ref().unwrap_or_else(|| <super::datetime::TimeZone as ::protobuf::Message>::default_instance())
1089    }
1090    pub fn clear_time_zone(&mut self) {
1091        self.time_zone.clear();
1092    }
1093
1094    pub fn has_time_zone(&self) -> bool {
1095        self.time_zone.is_some()
1096    }
1097
1098    // Param is passed by value, moved
1099    pub fn set_time_zone(&mut self, v: super::datetime::TimeZone) {
1100        self.time_zone = ::protobuf::SingularPtrField::some(v);
1101    }
1102
1103    // Mutable pointer to the field.
1104    // If field is not initialized, it is initialized with default value first.
1105    pub fn mut_time_zone(&mut self) -> &mut super::datetime::TimeZone {
1106        if self.time_zone.is_none() {
1107            self.time_zone.set_default();
1108        }
1109        self.time_zone.as_mut().unwrap()
1110    }
1111
1112    // Take field
1113    pub fn take_time_zone(&mut self) -> super::datetime::TimeZone {
1114        self.time_zone.take().unwrap_or_else(|| super::datetime::TimeZone::new())
1115    }
1116
1117    // .google.protobuf.Timestamp start_time = 2;
1118
1119
1120    pub fn get_start_time(&self) -> &::protobuf::well_known_types::Timestamp {
1121        self.start_time.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Timestamp as ::protobuf::Message>::default_instance())
1122    }
1123    pub fn clear_start_time(&mut self) {
1124        self.start_time.clear();
1125    }
1126
1127    pub fn has_start_time(&self) -> bool {
1128        self.start_time.is_some()
1129    }
1130
1131    // Param is passed by value, moved
1132    pub fn set_start_time(&mut self, v: ::protobuf::well_known_types::Timestamp) {
1133        self.start_time = ::protobuf::SingularPtrField::some(v);
1134    }
1135
1136    // Mutable pointer to the field.
1137    // If field is not initialized, it is initialized with default value first.
1138    pub fn mut_start_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp {
1139        if self.start_time.is_none() {
1140            self.start_time.set_default();
1141        }
1142        self.start_time.as_mut().unwrap()
1143    }
1144
1145    // Take field
1146    pub fn take_start_time(&mut self) -> ::protobuf::well_known_types::Timestamp {
1147        self.start_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new())
1148    }
1149
1150    // .google.protobuf.Timestamp end_time = 3;
1151
1152
1153    pub fn get_end_time(&self) -> &::protobuf::well_known_types::Timestamp {
1154        self.end_time.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Timestamp as ::protobuf::Message>::default_instance())
1155    }
1156    pub fn clear_end_time(&mut self) {
1157        self.end_time.clear();
1158    }
1159
1160    pub fn has_end_time(&self) -> bool {
1161        self.end_time.is_some()
1162    }
1163
1164    // Param is passed by value, moved
1165    pub fn set_end_time(&mut self, v: ::protobuf::well_known_types::Timestamp) {
1166        self.end_time = ::protobuf::SingularPtrField::some(v);
1167    }
1168
1169    // Mutable pointer to the field.
1170    // If field is not initialized, it is initialized with default value first.
1171    pub fn mut_end_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp {
1172        if self.end_time.is_none() {
1173            self.end_time.set_default();
1174        }
1175        self.end_time.as_mut().unwrap()
1176    }
1177
1178    // Take field
1179    pub fn take_end_time(&mut self) -> ::protobuf::well_known_types::Timestamp {
1180        self.end_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new())
1181    }
1182
1183    // .google.type.TimeOfDay time_of_day = 4;
1184
1185
1186    pub fn get_time_of_day(&self) -> &super::timeofday::TimeOfDay {
1187        self.time_of_day.as_ref().unwrap_or_else(|| <super::timeofday::TimeOfDay as ::protobuf::Message>::default_instance())
1188    }
1189    pub fn clear_time_of_day(&mut self) {
1190        self.time_of_day.clear();
1191    }
1192
1193    pub fn has_time_of_day(&self) -> bool {
1194        self.time_of_day.is_some()
1195    }
1196
1197    // Param is passed by value, moved
1198    pub fn set_time_of_day(&mut self, v: super::timeofday::TimeOfDay) {
1199        self.time_of_day = ::protobuf::SingularPtrField::some(v);
1200    }
1201
1202    // Mutable pointer to the field.
1203    // If field is not initialized, it is initialized with default value first.
1204    pub fn mut_time_of_day(&mut self) -> &mut super::timeofday::TimeOfDay {
1205        if self.time_of_day.is_none() {
1206            self.time_of_day.set_default();
1207        }
1208        self.time_of_day.as_mut().unwrap()
1209    }
1210
1211    // Take field
1212    pub fn take_time_of_day(&mut self) -> super::timeofday::TimeOfDay {
1213        self.time_of_day.take().unwrap_or_else(|| super::timeofday::TimeOfDay::new())
1214    }
1215
1216    // .google.cloud.osconfig.v1.RecurringSchedule.Frequency frequency = 5;
1217
1218
1219    pub fn get_frequency(&self) -> RecurringSchedule_Frequency {
1220        self.frequency
1221    }
1222    pub fn clear_frequency(&mut self) {
1223        self.frequency = RecurringSchedule_Frequency::FREQUENCY_UNSPECIFIED;
1224    }
1225
1226    // Param is passed by value, moved
1227    pub fn set_frequency(&mut self, v: RecurringSchedule_Frequency) {
1228        self.frequency = v;
1229    }
1230
1231    // .google.cloud.osconfig.v1.WeeklySchedule weekly = 6;
1232
1233
1234    pub fn get_weekly(&self) -> &WeeklySchedule {
1235        match self.schedule_config {
1236            ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::weekly(ref v)) => v,
1237            _ => <WeeklySchedule as ::protobuf::Message>::default_instance(),
1238        }
1239    }
1240    pub fn clear_weekly(&mut self) {
1241        self.schedule_config = ::std::option::Option::None;
1242    }
1243
1244    pub fn has_weekly(&self) -> bool {
1245        match self.schedule_config {
1246            ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::weekly(..)) => true,
1247            _ => false,
1248        }
1249    }
1250
1251    // Param is passed by value, moved
1252    pub fn set_weekly(&mut self, v: WeeklySchedule) {
1253        self.schedule_config = ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::weekly(v))
1254    }
1255
1256    // Mutable pointer to the field.
1257    pub fn mut_weekly(&mut self) -> &mut WeeklySchedule {
1258        if let ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::weekly(_)) = self.schedule_config {
1259        } else {
1260            self.schedule_config = ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::weekly(WeeklySchedule::new()));
1261        }
1262        match self.schedule_config {
1263            ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::weekly(ref mut v)) => v,
1264            _ => panic!(),
1265        }
1266    }
1267
1268    // Take field
1269    pub fn take_weekly(&mut self) -> WeeklySchedule {
1270        if self.has_weekly() {
1271            match self.schedule_config.take() {
1272                ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::weekly(v)) => v,
1273                _ => panic!(),
1274            }
1275        } else {
1276            WeeklySchedule::new()
1277        }
1278    }
1279
1280    // .google.cloud.osconfig.v1.MonthlySchedule monthly = 7;
1281
1282
1283    pub fn get_monthly(&self) -> &MonthlySchedule {
1284        match self.schedule_config {
1285            ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::monthly(ref v)) => v,
1286            _ => <MonthlySchedule as ::protobuf::Message>::default_instance(),
1287        }
1288    }
1289    pub fn clear_monthly(&mut self) {
1290        self.schedule_config = ::std::option::Option::None;
1291    }
1292
1293    pub fn has_monthly(&self) -> bool {
1294        match self.schedule_config {
1295            ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::monthly(..)) => true,
1296            _ => false,
1297        }
1298    }
1299
1300    // Param is passed by value, moved
1301    pub fn set_monthly(&mut self, v: MonthlySchedule) {
1302        self.schedule_config = ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::monthly(v))
1303    }
1304
1305    // Mutable pointer to the field.
1306    pub fn mut_monthly(&mut self) -> &mut MonthlySchedule {
1307        if let ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::monthly(_)) = self.schedule_config {
1308        } else {
1309            self.schedule_config = ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::monthly(MonthlySchedule::new()));
1310        }
1311        match self.schedule_config {
1312            ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::monthly(ref mut v)) => v,
1313            _ => panic!(),
1314        }
1315    }
1316
1317    // Take field
1318    pub fn take_monthly(&mut self) -> MonthlySchedule {
1319        if self.has_monthly() {
1320            match self.schedule_config.take() {
1321                ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::monthly(v)) => v,
1322                _ => panic!(),
1323            }
1324        } else {
1325            MonthlySchedule::new()
1326        }
1327    }
1328
1329    // .google.protobuf.Timestamp last_execute_time = 9;
1330
1331
1332    pub fn get_last_execute_time(&self) -> &::protobuf::well_known_types::Timestamp {
1333        self.last_execute_time.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Timestamp as ::protobuf::Message>::default_instance())
1334    }
1335    pub fn clear_last_execute_time(&mut self) {
1336        self.last_execute_time.clear();
1337    }
1338
1339    pub fn has_last_execute_time(&self) -> bool {
1340        self.last_execute_time.is_some()
1341    }
1342
1343    // Param is passed by value, moved
1344    pub fn set_last_execute_time(&mut self, v: ::protobuf::well_known_types::Timestamp) {
1345        self.last_execute_time = ::protobuf::SingularPtrField::some(v);
1346    }
1347
1348    // Mutable pointer to the field.
1349    // If field is not initialized, it is initialized with default value first.
1350    pub fn mut_last_execute_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp {
1351        if self.last_execute_time.is_none() {
1352            self.last_execute_time.set_default();
1353        }
1354        self.last_execute_time.as_mut().unwrap()
1355    }
1356
1357    // Take field
1358    pub fn take_last_execute_time(&mut self) -> ::protobuf::well_known_types::Timestamp {
1359        self.last_execute_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new())
1360    }
1361
1362    // .google.protobuf.Timestamp next_execute_time = 10;
1363
1364
1365    pub fn get_next_execute_time(&self) -> &::protobuf::well_known_types::Timestamp {
1366        self.next_execute_time.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::Timestamp as ::protobuf::Message>::default_instance())
1367    }
1368    pub fn clear_next_execute_time(&mut self) {
1369        self.next_execute_time.clear();
1370    }
1371
1372    pub fn has_next_execute_time(&self) -> bool {
1373        self.next_execute_time.is_some()
1374    }
1375
1376    // Param is passed by value, moved
1377    pub fn set_next_execute_time(&mut self, v: ::protobuf::well_known_types::Timestamp) {
1378        self.next_execute_time = ::protobuf::SingularPtrField::some(v);
1379    }
1380
1381    // Mutable pointer to the field.
1382    // If field is not initialized, it is initialized with default value first.
1383    pub fn mut_next_execute_time(&mut self) -> &mut ::protobuf::well_known_types::Timestamp {
1384        if self.next_execute_time.is_none() {
1385            self.next_execute_time.set_default();
1386        }
1387        self.next_execute_time.as_mut().unwrap()
1388    }
1389
1390    // Take field
1391    pub fn take_next_execute_time(&mut self) -> ::protobuf::well_known_types::Timestamp {
1392        self.next_execute_time.take().unwrap_or_else(|| ::protobuf::well_known_types::Timestamp::new())
1393    }
1394}
1395
1396impl ::protobuf::Message for RecurringSchedule {
1397    fn is_initialized(&self) -> bool {
1398        for v in &self.time_zone {
1399            if !v.is_initialized() {
1400                return false;
1401            }
1402        };
1403        for v in &self.start_time {
1404            if !v.is_initialized() {
1405                return false;
1406            }
1407        };
1408        for v in &self.end_time {
1409            if !v.is_initialized() {
1410                return false;
1411            }
1412        };
1413        for v in &self.time_of_day {
1414            if !v.is_initialized() {
1415                return false;
1416            }
1417        };
1418        if let Some(RecurringSchedule_oneof_schedule_config::weekly(ref v)) = self.schedule_config {
1419            if !v.is_initialized() {
1420                return false;
1421            }
1422        }
1423        if let Some(RecurringSchedule_oneof_schedule_config::monthly(ref v)) = self.schedule_config {
1424            if !v.is_initialized() {
1425                return false;
1426            }
1427        }
1428        for v in &self.last_execute_time {
1429            if !v.is_initialized() {
1430                return false;
1431            }
1432        };
1433        for v in &self.next_execute_time {
1434            if !v.is_initialized() {
1435                return false;
1436            }
1437        };
1438        true
1439    }
1440
1441    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1442        while !is.eof()? {
1443            let (field_number, wire_type) = is.read_tag_unpack()?;
1444            match field_number {
1445                1 => {
1446                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.time_zone)?;
1447                },
1448                2 => {
1449                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.start_time)?;
1450                },
1451                3 => {
1452                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.end_time)?;
1453                },
1454                4 => {
1455                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.time_of_day)?;
1456                },
1457                5 => {
1458                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.frequency, 5, &mut self.unknown_fields)?
1459                },
1460                6 => {
1461                    if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
1462                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
1463                    }
1464                    self.schedule_config = ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::weekly(is.read_message()?));
1465                },
1466                7 => {
1467                    if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
1468                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
1469                    }
1470                    self.schedule_config = ::std::option::Option::Some(RecurringSchedule_oneof_schedule_config::monthly(is.read_message()?));
1471                },
1472                9 => {
1473                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.last_execute_time)?;
1474                },
1475                10 => {
1476                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.next_execute_time)?;
1477                },
1478                _ => {
1479                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1480                },
1481            };
1482        }
1483        ::std::result::Result::Ok(())
1484    }
1485
1486    // Compute sizes of nested messages
1487    #[allow(unused_variables)]
1488    fn compute_size(&self) -> u32 {
1489        let mut my_size = 0;
1490        if let Some(ref v) = self.time_zone.as_ref() {
1491            let len = v.compute_size();
1492            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1493        }
1494        if let Some(ref v) = self.start_time.as_ref() {
1495            let len = v.compute_size();
1496            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1497        }
1498        if let Some(ref v) = self.end_time.as_ref() {
1499            let len = v.compute_size();
1500            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1501        }
1502        if let Some(ref v) = self.time_of_day.as_ref() {
1503            let len = v.compute_size();
1504            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1505        }
1506        if self.frequency != RecurringSchedule_Frequency::FREQUENCY_UNSPECIFIED {
1507            my_size += ::protobuf::rt::enum_size(5, self.frequency);
1508        }
1509        if let Some(ref v) = self.last_execute_time.as_ref() {
1510            let len = v.compute_size();
1511            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1512        }
1513        if let Some(ref v) = self.next_execute_time.as_ref() {
1514            let len = v.compute_size();
1515            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1516        }
1517        if let ::std::option::Option::Some(ref v) = self.schedule_config {
1518            match v {
1519                &RecurringSchedule_oneof_schedule_config::weekly(ref v) => {
1520                    let len = v.compute_size();
1521                    my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1522                },
1523                &RecurringSchedule_oneof_schedule_config::monthly(ref v) => {
1524                    let len = v.compute_size();
1525                    my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1526                },
1527            };
1528        }
1529        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1530        self.cached_size.set(my_size);
1531        my_size
1532    }
1533
1534    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1535        if let Some(ref v) = self.time_zone.as_ref() {
1536            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1537            os.write_raw_varint32(v.get_cached_size())?;
1538            v.write_to_with_cached_sizes(os)?;
1539        }
1540        if let Some(ref v) = self.start_time.as_ref() {
1541            os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1542            os.write_raw_varint32(v.get_cached_size())?;
1543            v.write_to_with_cached_sizes(os)?;
1544        }
1545        if let Some(ref v) = self.end_time.as_ref() {
1546            os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1547            os.write_raw_varint32(v.get_cached_size())?;
1548            v.write_to_with_cached_sizes(os)?;
1549        }
1550        if let Some(ref v) = self.time_of_day.as_ref() {
1551            os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1552            os.write_raw_varint32(v.get_cached_size())?;
1553            v.write_to_with_cached_sizes(os)?;
1554        }
1555        if self.frequency != RecurringSchedule_Frequency::FREQUENCY_UNSPECIFIED {
1556            os.write_enum(5, ::protobuf::ProtobufEnum::value(&self.frequency))?;
1557        }
1558        if let Some(ref v) = self.last_execute_time.as_ref() {
1559            os.write_tag(9, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1560            os.write_raw_varint32(v.get_cached_size())?;
1561            v.write_to_with_cached_sizes(os)?;
1562        }
1563        if let Some(ref v) = self.next_execute_time.as_ref() {
1564            os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1565            os.write_raw_varint32(v.get_cached_size())?;
1566            v.write_to_with_cached_sizes(os)?;
1567        }
1568        if let ::std::option::Option::Some(ref v) = self.schedule_config {
1569            match v {
1570                &RecurringSchedule_oneof_schedule_config::weekly(ref v) => {
1571                    os.write_tag(6, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1572                    os.write_raw_varint32(v.get_cached_size())?;
1573                    v.write_to_with_cached_sizes(os)?;
1574                },
1575                &RecurringSchedule_oneof_schedule_config::monthly(ref v) => {
1576                    os.write_tag(7, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1577                    os.write_raw_varint32(v.get_cached_size())?;
1578                    v.write_to_with_cached_sizes(os)?;
1579                },
1580            };
1581        }
1582        os.write_unknown_fields(self.get_unknown_fields())?;
1583        ::std::result::Result::Ok(())
1584    }
1585
1586    fn get_cached_size(&self) -> u32 {
1587        self.cached_size.get()
1588    }
1589
1590    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1591        &self.unknown_fields
1592    }
1593
1594    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1595        &mut self.unknown_fields
1596    }
1597
1598    fn as_any(&self) -> &dyn (::std::any::Any) {
1599        self as &dyn (::std::any::Any)
1600    }
1601    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1602        self as &mut dyn (::std::any::Any)
1603    }
1604    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1605        self
1606    }
1607
1608    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1609        Self::descriptor_static()
1610    }
1611
1612    fn new() -> RecurringSchedule {
1613        RecurringSchedule::new()
1614    }
1615
1616    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1617        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1618        descriptor.get(|| {
1619            let mut fields = ::std::vec::Vec::new();
1620            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::datetime::TimeZone>>(
1621                "time_zone",
1622                |m: &RecurringSchedule| { &m.time_zone },
1623                |m: &mut RecurringSchedule| { &mut m.time_zone },
1624            ));
1625            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>(
1626                "start_time",
1627                |m: &RecurringSchedule| { &m.start_time },
1628                |m: &mut RecurringSchedule| { &mut m.start_time },
1629            ));
1630            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>(
1631                "end_time",
1632                |m: &RecurringSchedule| { &m.end_time },
1633                |m: &mut RecurringSchedule| { &mut m.end_time },
1634            ));
1635            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::timeofday::TimeOfDay>>(
1636                "time_of_day",
1637                |m: &RecurringSchedule| { &m.time_of_day },
1638                |m: &mut RecurringSchedule| { &mut m.time_of_day },
1639            ));
1640            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<RecurringSchedule_Frequency>>(
1641                "frequency",
1642                |m: &RecurringSchedule| { &m.frequency },
1643                |m: &mut RecurringSchedule| { &mut m.frequency },
1644            ));
1645            fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, WeeklySchedule>(
1646                "weekly",
1647                RecurringSchedule::has_weekly,
1648                RecurringSchedule::get_weekly,
1649            ));
1650            fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, MonthlySchedule>(
1651                "monthly",
1652                RecurringSchedule::has_monthly,
1653                RecurringSchedule::get_monthly,
1654            ));
1655            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>(
1656                "last_execute_time",
1657                |m: &RecurringSchedule| { &m.last_execute_time },
1658                |m: &mut RecurringSchedule| { &mut m.last_execute_time },
1659            ));
1660            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::Timestamp>>(
1661                "next_execute_time",
1662                |m: &RecurringSchedule| { &m.next_execute_time },
1663                |m: &mut RecurringSchedule| { &mut m.next_execute_time },
1664            ));
1665            ::protobuf::reflect::MessageDescriptor::new_pb_name::<RecurringSchedule>(
1666                "RecurringSchedule",
1667                fields,
1668                file_descriptor_proto()
1669            )
1670        })
1671    }
1672
1673    fn default_instance() -> &'static RecurringSchedule {
1674        static instance: ::protobuf::rt::LazyV2<RecurringSchedule> = ::protobuf::rt::LazyV2::INIT;
1675        instance.get(RecurringSchedule::new)
1676    }
1677}
1678
1679impl ::protobuf::Clear for RecurringSchedule {
1680    fn clear(&mut self) {
1681        self.time_zone.clear();
1682        self.start_time.clear();
1683        self.end_time.clear();
1684        self.time_of_day.clear();
1685        self.frequency = RecurringSchedule_Frequency::FREQUENCY_UNSPECIFIED;
1686        self.schedule_config = ::std::option::Option::None;
1687        self.schedule_config = ::std::option::Option::None;
1688        self.last_execute_time.clear();
1689        self.next_execute_time.clear();
1690        self.unknown_fields.clear();
1691    }
1692}
1693
1694impl ::std::fmt::Debug for RecurringSchedule {
1695    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1696        ::protobuf::text_format::fmt(self, f)
1697    }
1698}
1699
1700impl ::protobuf::reflect::ProtobufValue for RecurringSchedule {
1701    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1702        ::protobuf::reflect::ReflectValueRef::Message(self)
1703    }
1704}
1705
1706#[derive(Clone,PartialEq,Eq,Debug,Hash)]
1707pub enum RecurringSchedule_Frequency {
1708    FREQUENCY_UNSPECIFIED = 0,
1709    WEEKLY = 1,
1710    MONTHLY = 2,
1711    DAILY = 3,
1712}
1713
1714impl ::protobuf::ProtobufEnum for RecurringSchedule_Frequency {
1715    fn value(&self) -> i32 {
1716        *self as i32
1717    }
1718
1719    fn from_i32(value: i32) -> ::std::option::Option<RecurringSchedule_Frequency> {
1720        match value {
1721            0 => ::std::option::Option::Some(RecurringSchedule_Frequency::FREQUENCY_UNSPECIFIED),
1722            1 => ::std::option::Option::Some(RecurringSchedule_Frequency::WEEKLY),
1723            2 => ::std::option::Option::Some(RecurringSchedule_Frequency::MONTHLY),
1724            3 => ::std::option::Option::Some(RecurringSchedule_Frequency::DAILY),
1725            _ => ::std::option::Option::None
1726        }
1727    }
1728
1729    fn values() -> &'static [Self] {
1730        static values: &'static [RecurringSchedule_Frequency] = &[
1731            RecurringSchedule_Frequency::FREQUENCY_UNSPECIFIED,
1732            RecurringSchedule_Frequency::WEEKLY,
1733            RecurringSchedule_Frequency::MONTHLY,
1734            RecurringSchedule_Frequency::DAILY,
1735        ];
1736        values
1737    }
1738
1739    fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
1740        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
1741        descriptor.get(|| {
1742            ::protobuf::reflect::EnumDescriptor::new_pb_name::<RecurringSchedule_Frequency>("RecurringSchedule.Frequency", file_descriptor_proto())
1743        })
1744    }
1745}
1746
1747impl ::std::marker::Copy for RecurringSchedule_Frequency {
1748}
1749
1750impl ::std::default::Default for RecurringSchedule_Frequency {
1751    fn default() -> Self {
1752        RecurringSchedule_Frequency::FREQUENCY_UNSPECIFIED
1753    }
1754}
1755
1756impl ::protobuf::reflect::ProtobufValue for RecurringSchedule_Frequency {
1757    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1758        ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
1759    }
1760}
1761
1762#[derive(PartialEq,Clone,Default)]
1763pub struct WeeklySchedule {
1764    // message fields
1765    pub day_of_week: super::dayofweek::DayOfWeek,
1766    // special fields
1767    pub unknown_fields: ::protobuf::UnknownFields,
1768    pub cached_size: ::protobuf::CachedSize,
1769}
1770
1771impl<'a> ::std::default::Default for &'a WeeklySchedule {
1772    fn default() -> &'a WeeklySchedule {
1773        <WeeklySchedule as ::protobuf::Message>::default_instance()
1774    }
1775}
1776
1777impl WeeklySchedule {
1778    pub fn new() -> WeeklySchedule {
1779        ::std::default::Default::default()
1780    }
1781
1782    // .google.type.DayOfWeek day_of_week = 1;
1783
1784
1785    pub fn get_day_of_week(&self) -> super::dayofweek::DayOfWeek {
1786        self.day_of_week
1787    }
1788    pub fn clear_day_of_week(&mut self) {
1789        self.day_of_week = super::dayofweek::DayOfWeek::DAY_OF_WEEK_UNSPECIFIED;
1790    }
1791
1792    // Param is passed by value, moved
1793    pub fn set_day_of_week(&mut self, v: super::dayofweek::DayOfWeek) {
1794        self.day_of_week = v;
1795    }
1796}
1797
1798impl ::protobuf::Message for WeeklySchedule {
1799    fn is_initialized(&self) -> bool {
1800        true
1801    }
1802
1803    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1804        while !is.eof()? {
1805            let (field_number, wire_type) = is.read_tag_unpack()?;
1806            match field_number {
1807                1 => {
1808                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.day_of_week, 1, &mut self.unknown_fields)?
1809                },
1810                _ => {
1811                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1812                },
1813            };
1814        }
1815        ::std::result::Result::Ok(())
1816    }
1817
1818    // Compute sizes of nested messages
1819    #[allow(unused_variables)]
1820    fn compute_size(&self) -> u32 {
1821        let mut my_size = 0;
1822        if self.day_of_week != super::dayofweek::DayOfWeek::DAY_OF_WEEK_UNSPECIFIED {
1823            my_size += ::protobuf::rt::enum_size(1, self.day_of_week);
1824        }
1825        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1826        self.cached_size.set(my_size);
1827        my_size
1828    }
1829
1830    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1831        if self.day_of_week != super::dayofweek::DayOfWeek::DAY_OF_WEEK_UNSPECIFIED {
1832            os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.day_of_week))?;
1833        }
1834        os.write_unknown_fields(self.get_unknown_fields())?;
1835        ::std::result::Result::Ok(())
1836    }
1837
1838    fn get_cached_size(&self) -> u32 {
1839        self.cached_size.get()
1840    }
1841
1842    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1843        &self.unknown_fields
1844    }
1845
1846    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1847        &mut self.unknown_fields
1848    }
1849
1850    fn as_any(&self) -> &dyn (::std::any::Any) {
1851        self as &dyn (::std::any::Any)
1852    }
1853    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1854        self as &mut dyn (::std::any::Any)
1855    }
1856    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1857        self
1858    }
1859
1860    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1861        Self::descriptor_static()
1862    }
1863
1864    fn new() -> WeeklySchedule {
1865        WeeklySchedule::new()
1866    }
1867
1868    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1869        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1870        descriptor.get(|| {
1871            let mut fields = ::std::vec::Vec::new();
1872            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<super::dayofweek::DayOfWeek>>(
1873                "day_of_week",
1874                |m: &WeeklySchedule| { &m.day_of_week },
1875                |m: &mut WeeklySchedule| { &mut m.day_of_week },
1876            ));
1877            ::protobuf::reflect::MessageDescriptor::new_pb_name::<WeeklySchedule>(
1878                "WeeklySchedule",
1879                fields,
1880                file_descriptor_proto()
1881            )
1882        })
1883    }
1884
1885    fn default_instance() -> &'static WeeklySchedule {
1886        static instance: ::protobuf::rt::LazyV2<WeeklySchedule> = ::protobuf::rt::LazyV2::INIT;
1887        instance.get(WeeklySchedule::new)
1888    }
1889}
1890
1891impl ::protobuf::Clear for WeeklySchedule {
1892    fn clear(&mut self) {
1893        self.day_of_week = super::dayofweek::DayOfWeek::DAY_OF_WEEK_UNSPECIFIED;
1894        self.unknown_fields.clear();
1895    }
1896}
1897
1898impl ::std::fmt::Debug for WeeklySchedule {
1899    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1900        ::protobuf::text_format::fmt(self, f)
1901    }
1902}
1903
1904impl ::protobuf::reflect::ProtobufValue for WeeklySchedule {
1905    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1906        ::protobuf::reflect::ReflectValueRef::Message(self)
1907    }
1908}
1909
1910#[derive(PartialEq,Clone,Default)]
1911pub struct MonthlySchedule {
1912    // message oneof groups
1913    pub day_of_month: ::std::option::Option<MonthlySchedule_oneof_day_of_month>,
1914    // special fields
1915    pub unknown_fields: ::protobuf::UnknownFields,
1916    pub cached_size: ::protobuf::CachedSize,
1917}
1918
1919impl<'a> ::std::default::Default for &'a MonthlySchedule {
1920    fn default() -> &'a MonthlySchedule {
1921        <MonthlySchedule as ::protobuf::Message>::default_instance()
1922    }
1923}
1924
1925#[derive(Clone,PartialEq,Debug)]
1926pub enum MonthlySchedule_oneof_day_of_month {
1927    week_day_of_month(WeekDayOfMonth),
1928    month_day(i32),
1929}
1930
1931impl MonthlySchedule {
1932    pub fn new() -> MonthlySchedule {
1933        ::std::default::Default::default()
1934    }
1935
1936    // .google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1;
1937
1938
1939    pub fn get_week_day_of_month(&self) -> &WeekDayOfMonth {
1940        match self.day_of_month {
1941            ::std::option::Option::Some(MonthlySchedule_oneof_day_of_month::week_day_of_month(ref v)) => v,
1942            _ => <WeekDayOfMonth as ::protobuf::Message>::default_instance(),
1943        }
1944    }
1945    pub fn clear_week_day_of_month(&mut self) {
1946        self.day_of_month = ::std::option::Option::None;
1947    }
1948
1949    pub fn has_week_day_of_month(&self) -> bool {
1950        match self.day_of_month {
1951            ::std::option::Option::Some(MonthlySchedule_oneof_day_of_month::week_day_of_month(..)) => true,
1952            _ => false,
1953        }
1954    }
1955
1956    // Param is passed by value, moved
1957    pub fn set_week_day_of_month(&mut self, v: WeekDayOfMonth) {
1958        self.day_of_month = ::std::option::Option::Some(MonthlySchedule_oneof_day_of_month::week_day_of_month(v))
1959    }
1960
1961    // Mutable pointer to the field.
1962    pub fn mut_week_day_of_month(&mut self) -> &mut WeekDayOfMonth {
1963        if let ::std::option::Option::Some(MonthlySchedule_oneof_day_of_month::week_day_of_month(_)) = self.day_of_month {
1964        } else {
1965            self.day_of_month = ::std::option::Option::Some(MonthlySchedule_oneof_day_of_month::week_day_of_month(WeekDayOfMonth::new()));
1966        }
1967        match self.day_of_month {
1968            ::std::option::Option::Some(MonthlySchedule_oneof_day_of_month::week_day_of_month(ref mut v)) => v,
1969            _ => panic!(),
1970        }
1971    }
1972
1973    // Take field
1974    pub fn take_week_day_of_month(&mut self) -> WeekDayOfMonth {
1975        if self.has_week_day_of_month() {
1976            match self.day_of_month.take() {
1977                ::std::option::Option::Some(MonthlySchedule_oneof_day_of_month::week_day_of_month(v)) => v,
1978                _ => panic!(),
1979            }
1980        } else {
1981            WeekDayOfMonth::new()
1982        }
1983    }
1984
1985    // int32 month_day = 2;
1986
1987
1988    pub fn get_month_day(&self) -> i32 {
1989        match self.day_of_month {
1990            ::std::option::Option::Some(MonthlySchedule_oneof_day_of_month::month_day(v)) => v,
1991            _ => 0,
1992        }
1993    }
1994    pub fn clear_month_day(&mut self) {
1995        self.day_of_month = ::std::option::Option::None;
1996    }
1997
1998    pub fn has_month_day(&self) -> bool {
1999        match self.day_of_month {
2000            ::std::option::Option::Some(MonthlySchedule_oneof_day_of_month::month_day(..)) => true,
2001            _ => false,
2002        }
2003    }
2004
2005    // Param is passed by value, moved
2006    pub fn set_month_day(&mut self, v: i32) {
2007        self.day_of_month = ::std::option::Option::Some(MonthlySchedule_oneof_day_of_month::month_day(v))
2008    }
2009}
2010
2011impl ::protobuf::Message for MonthlySchedule {
2012    fn is_initialized(&self) -> bool {
2013        if let Some(MonthlySchedule_oneof_day_of_month::week_day_of_month(ref v)) = self.day_of_month {
2014            if !v.is_initialized() {
2015                return false;
2016            }
2017        }
2018        true
2019    }
2020
2021    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2022        while !is.eof()? {
2023            let (field_number, wire_type) = is.read_tag_unpack()?;
2024            match field_number {
2025                1 => {
2026                    if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
2027                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
2028                    }
2029                    self.day_of_month = ::std::option::Option::Some(MonthlySchedule_oneof_day_of_month::week_day_of_month(is.read_message()?));
2030                },
2031                2 => {
2032                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
2033                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
2034                    }
2035                    self.day_of_month = ::std::option::Option::Some(MonthlySchedule_oneof_day_of_month::month_day(is.read_int32()?));
2036                },
2037                _ => {
2038                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2039                },
2040            };
2041        }
2042        ::std::result::Result::Ok(())
2043    }
2044
2045    // Compute sizes of nested messages
2046    #[allow(unused_variables)]
2047    fn compute_size(&self) -> u32 {
2048        let mut my_size = 0;
2049        if let ::std::option::Option::Some(ref v) = self.day_of_month {
2050            match v {
2051                &MonthlySchedule_oneof_day_of_month::week_day_of_month(ref v) => {
2052                    let len = v.compute_size();
2053                    my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
2054                },
2055                &MonthlySchedule_oneof_day_of_month::month_day(v) => {
2056                    my_size += ::protobuf::rt::value_size(2, v, ::protobuf::wire_format::WireTypeVarint);
2057                },
2058            };
2059        }
2060        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2061        self.cached_size.set(my_size);
2062        my_size
2063    }
2064
2065    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2066        if let ::std::option::Option::Some(ref v) = self.day_of_month {
2067            match v {
2068                &MonthlySchedule_oneof_day_of_month::week_day_of_month(ref v) => {
2069                    os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
2070                    os.write_raw_varint32(v.get_cached_size())?;
2071                    v.write_to_with_cached_sizes(os)?;
2072                },
2073                &MonthlySchedule_oneof_day_of_month::month_day(v) => {
2074                    os.write_int32(2, v)?;
2075                },
2076            };
2077        }
2078        os.write_unknown_fields(self.get_unknown_fields())?;
2079        ::std::result::Result::Ok(())
2080    }
2081
2082    fn get_cached_size(&self) -> u32 {
2083        self.cached_size.get()
2084    }
2085
2086    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2087        &self.unknown_fields
2088    }
2089
2090    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2091        &mut self.unknown_fields
2092    }
2093
2094    fn as_any(&self) -> &dyn (::std::any::Any) {
2095        self as &dyn (::std::any::Any)
2096    }
2097    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2098        self as &mut dyn (::std::any::Any)
2099    }
2100    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2101        self
2102    }
2103
2104    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2105        Self::descriptor_static()
2106    }
2107
2108    fn new() -> MonthlySchedule {
2109        MonthlySchedule::new()
2110    }
2111
2112    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2113        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2114        descriptor.get(|| {
2115            let mut fields = ::std::vec::Vec::new();
2116            fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, WeekDayOfMonth>(
2117                "week_day_of_month",
2118                MonthlySchedule::has_week_day_of_month,
2119                MonthlySchedule::get_week_day_of_month,
2120            ));
2121            fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor::<_>(
2122                "month_day",
2123                MonthlySchedule::has_month_day,
2124                MonthlySchedule::get_month_day,
2125            ));
2126            ::protobuf::reflect::MessageDescriptor::new_pb_name::<MonthlySchedule>(
2127                "MonthlySchedule",
2128                fields,
2129                file_descriptor_proto()
2130            )
2131        })
2132    }
2133
2134    fn default_instance() -> &'static MonthlySchedule {
2135        static instance: ::protobuf::rt::LazyV2<MonthlySchedule> = ::protobuf::rt::LazyV2::INIT;
2136        instance.get(MonthlySchedule::new)
2137    }
2138}
2139
2140impl ::protobuf::Clear for MonthlySchedule {
2141    fn clear(&mut self) {
2142        self.day_of_month = ::std::option::Option::None;
2143        self.day_of_month = ::std::option::Option::None;
2144        self.unknown_fields.clear();
2145    }
2146}
2147
2148impl ::std::fmt::Debug for MonthlySchedule {
2149    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2150        ::protobuf::text_format::fmt(self, f)
2151    }
2152}
2153
2154impl ::protobuf::reflect::ProtobufValue for MonthlySchedule {
2155    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2156        ::protobuf::reflect::ReflectValueRef::Message(self)
2157    }
2158}
2159
2160#[derive(PartialEq,Clone,Default)]
2161pub struct WeekDayOfMonth {
2162    // message fields
2163    pub week_ordinal: i32,
2164    pub day_of_week: super::dayofweek::DayOfWeek,
2165    pub day_offset: i32,
2166    // special fields
2167    pub unknown_fields: ::protobuf::UnknownFields,
2168    pub cached_size: ::protobuf::CachedSize,
2169}
2170
2171impl<'a> ::std::default::Default for &'a WeekDayOfMonth {
2172    fn default() -> &'a WeekDayOfMonth {
2173        <WeekDayOfMonth as ::protobuf::Message>::default_instance()
2174    }
2175}
2176
2177impl WeekDayOfMonth {
2178    pub fn new() -> WeekDayOfMonth {
2179        ::std::default::Default::default()
2180    }
2181
2182    // int32 week_ordinal = 1;
2183
2184
2185    pub fn get_week_ordinal(&self) -> i32 {
2186        self.week_ordinal
2187    }
2188    pub fn clear_week_ordinal(&mut self) {
2189        self.week_ordinal = 0;
2190    }
2191
2192    // Param is passed by value, moved
2193    pub fn set_week_ordinal(&mut self, v: i32) {
2194        self.week_ordinal = v;
2195    }
2196
2197    // .google.type.DayOfWeek day_of_week = 2;
2198
2199
2200    pub fn get_day_of_week(&self) -> super::dayofweek::DayOfWeek {
2201        self.day_of_week
2202    }
2203    pub fn clear_day_of_week(&mut self) {
2204        self.day_of_week = super::dayofweek::DayOfWeek::DAY_OF_WEEK_UNSPECIFIED;
2205    }
2206
2207    // Param is passed by value, moved
2208    pub fn set_day_of_week(&mut self, v: super::dayofweek::DayOfWeek) {
2209        self.day_of_week = v;
2210    }
2211
2212    // int32 day_offset = 3;
2213
2214
2215    pub fn get_day_offset(&self) -> i32 {
2216        self.day_offset
2217    }
2218    pub fn clear_day_offset(&mut self) {
2219        self.day_offset = 0;
2220    }
2221
2222    // Param is passed by value, moved
2223    pub fn set_day_offset(&mut self, v: i32) {
2224        self.day_offset = v;
2225    }
2226}
2227
2228impl ::protobuf::Message for WeekDayOfMonth {
2229    fn is_initialized(&self) -> bool {
2230        true
2231    }
2232
2233    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2234        while !is.eof()? {
2235            let (field_number, wire_type) = is.read_tag_unpack()?;
2236            match field_number {
2237                1 => {
2238                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
2239                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
2240                    }
2241                    let tmp = is.read_int32()?;
2242                    self.week_ordinal = tmp;
2243                },
2244                2 => {
2245                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.day_of_week, 2, &mut self.unknown_fields)?
2246                },
2247                3 => {
2248                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
2249                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
2250                    }
2251                    let tmp = is.read_int32()?;
2252                    self.day_offset = tmp;
2253                },
2254                _ => {
2255                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2256                },
2257            };
2258        }
2259        ::std::result::Result::Ok(())
2260    }
2261
2262    // Compute sizes of nested messages
2263    #[allow(unused_variables)]
2264    fn compute_size(&self) -> u32 {
2265        let mut my_size = 0;
2266        if self.week_ordinal != 0 {
2267            my_size += ::protobuf::rt::value_size(1, self.week_ordinal, ::protobuf::wire_format::WireTypeVarint);
2268        }
2269        if self.day_of_week != super::dayofweek::DayOfWeek::DAY_OF_WEEK_UNSPECIFIED {
2270            my_size += ::protobuf::rt::enum_size(2, self.day_of_week);
2271        }
2272        if self.day_offset != 0 {
2273            my_size += ::protobuf::rt::value_size(3, self.day_offset, ::protobuf::wire_format::WireTypeVarint);
2274        }
2275        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2276        self.cached_size.set(my_size);
2277        my_size
2278    }
2279
2280    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2281        if self.week_ordinal != 0 {
2282            os.write_int32(1, self.week_ordinal)?;
2283        }
2284        if self.day_of_week != super::dayofweek::DayOfWeek::DAY_OF_WEEK_UNSPECIFIED {
2285            os.write_enum(2, ::protobuf::ProtobufEnum::value(&self.day_of_week))?;
2286        }
2287        if self.day_offset != 0 {
2288            os.write_int32(3, self.day_offset)?;
2289        }
2290        os.write_unknown_fields(self.get_unknown_fields())?;
2291        ::std::result::Result::Ok(())
2292    }
2293
2294    fn get_cached_size(&self) -> u32 {
2295        self.cached_size.get()
2296    }
2297
2298    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2299        &self.unknown_fields
2300    }
2301
2302    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2303        &mut self.unknown_fields
2304    }
2305
2306    fn as_any(&self) -> &dyn (::std::any::Any) {
2307        self as &dyn (::std::any::Any)
2308    }
2309    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2310        self as &mut dyn (::std::any::Any)
2311    }
2312    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2313        self
2314    }
2315
2316    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2317        Self::descriptor_static()
2318    }
2319
2320    fn new() -> WeekDayOfMonth {
2321        WeekDayOfMonth::new()
2322    }
2323
2324    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2325        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2326        descriptor.get(|| {
2327            let mut fields = ::std::vec::Vec::new();
2328            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
2329                "week_ordinal",
2330                |m: &WeekDayOfMonth| { &m.week_ordinal },
2331                |m: &mut WeekDayOfMonth| { &mut m.week_ordinal },
2332            ));
2333            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<super::dayofweek::DayOfWeek>>(
2334                "day_of_week",
2335                |m: &WeekDayOfMonth| { &m.day_of_week },
2336                |m: &mut WeekDayOfMonth| { &mut m.day_of_week },
2337            ));
2338            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
2339                "day_offset",
2340                |m: &WeekDayOfMonth| { &m.day_offset },
2341                |m: &mut WeekDayOfMonth| { &mut m.day_offset },
2342            ));
2343            ::protobuf::reflect::MessageDescriptor::new_pb_name::<WeekDayOfMonth>(
2344                "WeekDayOfMonth",
2345                fields,
2346                file_descriptor_proto()
2347            )
2348        })
2349    }
2350
2351    fn default_instance() -> &'static WeekDayOfMonth {
2352        static instance: ::protobuf::rt::LazyV2<WeekDayOfMonth> = ::protobuf::rt::LazyV2::INIT;
2353        instance.get(WeekDayOfMonth::new)
2354    }
2355}
2356
2357impl ::protobuf::Clear for WeekDayOfMonth {
2358    fn clear(&mut self) {
2359        self.week_ordinal = 0;
2360        self.day_of_week = super::dayofweek::DayOfWeek::DAY_OF_WEEK_UNSPECIFIED;
2361        self.day_offset = 0;
2362        self.unknown_fields.clear();
2363    }
2364}
2365
2366impl ::std::fmt::Debug for WeekDayOfMonth {
2367    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2368        ::protobuf::text_format::fmt(self, f)
2369    }
2370}
2371
2372impl ::protobuf::reflect::ProtobufValue for WeekDayOfMonth {
2373    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2374        ::protobuf::reflect::ReflectValueRef::Message(self)
2375    }
2376}
2377
2378#[derive(PartialEq,Clone,Default)]
2379pub struct CreatePatchDeploymentRequest {
2380    // message fields
2381    pub parent: ::std::string::String,
2382    pub patch_deployment_id: ::std::string::String,
2383    pub patch_deployment: ::protobuf::SingularPtrField<PatchDeployment>,
2384    // special fields
2385    pub unknown_fields: ::protobuf::UnknownFields,
2386    pub cached_size: ::protobuf::CachedSize,
2387}
2388
2389impl<'a> ::std::default::Default for &'a CreatePatchDeploymentRequest {
2390    fn default() -> &'a CreatePatchDeploymentRequest {
2391        <CreatePatchDeploymentRequest as ::protobuf::Message>::default_instance()
2392    }
2393}
2394
2395impl CreatePatchDeploymentRequest {
2396    pub fn new() -> CreatePatchDeploymentRequest {
2397        ::std::default::Default::default()
2398    }
2399
2400    // string parent = 1;
2401
2402
2403    pub fn get_parent(&self) -> &str {
2404        &self.parent
2405    }
2406    pub fn clear_parent(&mut self) {
2407        self.parent.clear();
2408    }
2409
2410    // Param is passed by value, moved
2411    pub fn set_parent(&mut self, v: ::std::string::String) {
2412        self.parent = v;
2413    }
2414
2415    // Mutable pointer to the field.
2416    // If field is not initialized, it is initialized with default value first.
2417    pub fn mut_parent(&mut self) -> &mut ::std::string::String {
2418        &mut self.parent
2419    }
2420
2421    // Take field
2422    pub fn take_parent(&mut self) -> ::std::string::String {
2423        ::std::mem::replace(&mut self.parent, ::std::string::String::new())
2424    }
2425
2426    // string patch_deployment_id = 2;
2427
2428
2429    pub fn get_patch_deployment_id(&self) -> &str {
2430        &self.patch_deployment_id
2431    }
2432    pub fn clear_patch_deployment_id(&mut self) {
2433        self.patch_deployment_id.clear();
2434    }
2435
2436    // Param is passed by value, moved
2437    pub fn set_patch_deployment_id(&mut self, v: ::std::string::String) {
2438        self.patch_deployment_id = v;
2439    }
2440
2441    // Mutable pointer to the field.
2442    // If field is not initialized, it is initialized with default value first.
2443    pub fn mut_patch_deployment_id(&mut self) -> &mut ::std::string::String {
2444        &mut self.patch_deployment_id
2445    }
2446
2447    // Take field
2448    pub fn take_patch_deployment_id(&mut self) -> ::std::string::String {
2449        ::std::mem::replace(&mut self.patch_deployment_id, ::std::string::String::new())
2450    }
2451
2452    // .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 3;
2453
2454
2455    pub fn get_patch_deployment(&self) -> &PatchDeployment {
2456        self.patch_deployment.as_ref().unwrap_or_else(|| <PatchDeployment as ::protobuf::Message>::default_instance())
2457    }
2458    pub fn clear_patch_deployment(&mut self) {
2459        self.patch_deployment.clear();
2460    }
2461
2462    pub fn has_patch_deployment(&self) -> bool {
2463        self.patch_deployment.is_some()
2464    }
2465
2466    // Param is passed by value, moved
2467    pub fn set_patch_deployment(&mut self, v: PatchDeployment) {
2468        self.patch_deployment = ::protobuf::SingularPtrField::some(v);
2469    }
2470
2471    // Mutable pointer to the field.
2472    // If field is not initialized, it is initialized with default value first.
2473    pub fn mut_patch_deployment(&mut self) -> &mut PatchDeployment {
2474        if self.patch_deployment.is_none() {
2475            self.patch_deployment.set_default();
2476        }
2477        self.patch_deployment.as_mut().unwrap()
2478    }
2479
2480    // Take field
2481    pub fn take_patch_deployment(&mut self) -> PatchDeployment {
2482        self.patch_deployment.take().unwrap_or_else(|| PatchDeployment::new())
2483    }
2484}
2485
2486impl ::protobuf::Message for CreatePatchDeploymentRequest {
2487    fn is_initialized(&self) -> bool {
2488        for v in &self.patch_deployment {
2489            if !v.is_initialized() {
2490                return false;
2491            }
2492        };
2493        true
2494    }
2495
2496    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2497        while !is.eof()? {
2498            let (field_number, wire_type) = is.read_tag_unpack()?;
2499            match field_number {
2500                1 => {
2501                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.parent)?;
2502                },
2503                2 => {
2504                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.patch_deployment_id)?;
2505                },
2506                3 => {
2507                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.patch_deployment)?;
2508                },
2509                _ => {
2510                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2511                },
2512            };
2513        }
2514        ::std::result::Result::Ok(())
2515    }
2516
2517    // Compute sizes of nested messages
2518    #[allow(unused_variables)]
2519    fn compute_size(&self) -> u32 {
2520        let mut my_size = 0;
2521        if !self.parent.is_empty() {
2522            my_size += ::protobuf::rt::string_size(1, &self.parent);
2523        }
2524        if !self.patch_deployment_id.is_empty() {
2525            my_size += ::protobuf::rt::string_size(2, &self.patch_deployment_id);
2526        }
2527        if let Some(ref v) = self.patch_deployment.as_ref() {
2528            let len = v.compute_size();
2529            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
2530        }
2531        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2532        self.cached_size.set(my_size);
2533        my_size
2534    }
2535
2536    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2537        if !self.parent.is_empty() {
2538            os.write_string(1, &self.parent)?;
2539        }
2540        if !self.patch_deployment_id.is_empty() {
2541            os.write_string(2, &self.patch_deployment_id)?;
2542        }
2543        if let Some(ref v) = self.patch_deployment.as_ref() {
2544            os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?;
2545            os.write_raw_varint32(v.get_cached_size())?;
2546            v.write_to_with_cached_sizes(os)?;
2547        }
2548        os.write_unknown_fields(self.get_unknown_fields())?;
2549        ::std::result::Result::Ok(())
2550    }
2551
2552    fn get_cached_size(&self) -> u32 {
2553        self.cached_size.get()
2554    }
2555
2556    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2557        &self.unknown_fields
2558    }
2559
2560    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2561        &mut self.unknown_fields
2562    }
2563
2564    fn as_any(&self) -> &dyn (::std::any::Any) {
2565        self as &dyn (::std::any::Any)
2566    }
2567    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2568        self as &mut dyn (::std::any::Any)
2569    }
2570    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2571        self
2572    }
2573
2574    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2575        Self::descriptor_static()
2576    }
2577
2578    fn new() -> CreatePatchDeploymentRequest {
2579        CreatePatchDeploymentRequest::new()
2580    }
2581
2582    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2583        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2584        descriptor.get(|| {
2585            let mut fields = ::std::vec::Vec::new();
2586            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
2587                "parent",
2588                |m: &CreatePatchDeploymentRequest| { &m.parent },
2589                |m: &mut CreatePatchDeploymentRequest| { &mut m.parent },
2590            ));
2591            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
2592                "patch_deployment_id",
2593                |m: &CreatePatchDeploymentRequest| { &m.patch_deployment_id },
2594                |m: &mut CreatePatchDeploymentRequest| { &mut m.patch_deployment_id },
2595            ));
2596            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<PatchDeployment>>(
2597                "patch_deployment",
2598                |m: &CreatePatchDeploymentRequest| { &m.patch_deployment },
2599                |m: &mut CreatePatchDeploymentRequest| { &mut m.patch_deployment },
2600            ));
2601            ::protobuf::reflect::MessageDescriptor::new_pb_name::<CreatePatchDeploymentRequest>(
2602                "CreatePatchDeploymentRequest",
2603                fields,
2604                file_descriptor_proto()
2605            )
2606        })
2607    }
2608
2609    fn default_instance() -> &'static CreatePatchDeploymentRequest {
2610        static instance: ::protobuf::rt::LazyV2<CreatePatchDeploymentRequest> = ::protobuf::rt::LazyV2::INIT;
2611        instance.get(CreatePatchDeploymentRequest::new)
2612    }
2613}
2614
2615impl ::protobuf::Clear for CreatePatchDeploymentRequest {
2616    fn clear(&mut self) {
2617        self.parent.clear();
2618        self.patch_deployment_id.clear();
2619        self.patch_deployment.clear();
2620        self.unknown_fields.clear();
2621    }
2622}
2623
2624impl ::std::fmt::Debug for CreatePatchDeploymentRequest {
2625    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2626        ::protobuf::text_format::fmt(self, f)
2627    }
2628}
2629
2630impl ::protobuf::reflect::ProtobufValue for CreatePatchDeploymentRequest {
2631    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2632        ::protobuf::reflect::ReflectValueRef::Message(self)
2633    }
2634}
2635
2636#[derive(PartialEq,Clone,Default)]
2637pub struct GetPatchDeploymentRequest {
2638    // message fields
2639    pub name: ::std::string::String,
2640    // special fields
2641    pub unknown_fields: ::protobuf::UnknownFields,
2642    pub cached_size: ::protobuf::CachedSize,
2643}
2644
2645impl<'a> ::std::default::Default for &'a GetPatchDeploymentRequest {
2646    fn default() -> &'a GetPatchDeploymentRequest {
2647        <GetPatchDeploymentRequest as ::protobuf::Message>::default_instance()
2648    }
2649}
2650
2651impl GetPatchDeploymentRequest {
2652    pub fn new() -> GetPatchDeploymentRequest {
2653        ::std::default::Default::default()
2654    }
2655
2656    // string name = 1;
2657
2658
2659    pub fn get_name(&self) -> &str {
2660        &self.name
2661    }
2662    pub fn clear_name(&mut self) {
2663        self.name.clear();
2664    }
2665
2666    // Param is passed by value, moved
2667    pub fn set_name(&mut self, v: ::std::string::String) {
2668        self.name = v;
2669    }
2670
2671    // Mutable pointer to the field.
2672    // If field is not initialized, it is initialized with default value first.
2673    pub fn mut_name(&mut self) -> &mut ::std::string::String {
2674        &mut self.name
2675    }
2676
2677    // Take field
2678    pub fn take_name(&mut self) -> ::std::string::String {
2679        ::std::mem::replace(&mut self.name, ::std::string::String::new())
2680    }
2681}
2682
2683impl ::protobuf::Message for GetPatchDeploymentRequest {
2684    fn is_initialized(&self) -> bool {
2685        true
2686    }
2687
2688    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2689        while !is.eof()? {
2690            let (field_number, wire_type) = is.read_tag_unpack()?;
2691            match field_number {
2692                1 => {
2693                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?;
2694                },
2695                _ => {
2696                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2697                },
2698            };
2699        }
2700        ::std::result::Result::Ok(())
2701    }
2702
2703    // Compute sizes of nested messages
2704    #[allow(unused_variables)]
2705    fn compute_size(&self) -> u32 {
2706        let mut my_size = 0;
2707        if !self.name.is_empty() {
2708            my_size += ::protobuf::rt::string_size(1, &self.name);
2709        }
2710        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2711        self.cached_size.set(my_size);
2712        my_size
2713    }
2714
2715    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2716        if !self.name.is_empty() {
2717            os.write_string(1, &self.name)?;
2718        }
2719        os.write_unknown_fields(self.get_unknown_fields())?;
2720        ::std::result::Result::Ok(())
2721    }
2722
2723    fn get_cached_size(&self) -> u32 {
2724        self.cached_size.get()
2725    }
2726
2727    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2728        &self.unknown_fields
2729    }
2730
2731    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2732        &mut self.unknown_fields
2733    }
2734
2735    fn as_any(&self) -> &dyn (::std::any::Any) {
2736        self as &dyn (::std::any::Any)
2737    }
2738    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2739        self as &mut dyn (::std::any::Any)
2740    }
2741    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2742        self
2743    }
2744
2745    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2746        Self::descriptor_static()
2747    }
2748
2749    fn new() -> GetPatchDeploymentRequest {
2750        GetPatchDeploymentRequest::new()
2751    }
2752
2753    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2754        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2755        descriptor.get(|| {
2756            let mut fields = ::std::vec::Vec::new();
2757            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
2758                "name",
2759                |m: &GetPatchDeploymentRequest| { &m.name },
2760                |m: &mut GetPatchDeploymentRequest| { &mut m.name },
2761            ));
2762            ::protobuf::reflect::MessageDescriptor::new_pb_name::<GetPatchDeploymentRequest>(
2763                "GetPatchDeploymentRequest",
2764                fields,
2765                file_descriptor_proto()
2766            )
2767        })
2768    }
2769
2770    fn default_instance() -> &'static GetPatchDeploymentRequest {
2771        static instance: ::protobuf::rt::LazyV2<GetPatchDeploymentRequest> = ::protobuf::rt::LazyV2::INIT;
2772        instance.get(GetPatchDeploymentRequest::new)
2773    }
2774}
2775
2776impl ::protobuf::Clear for GetPatchDeploymentRequest {
2777    fn clear(&mut self) {
2778        self.name.clear();
2779        self.unknown_fields.clear();
2780    }
2781}
2782
2783impl ::std::fmt::Debug for GetPatchDeploymentRequest {
2784    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2785        ::protobuf::text_format::fmt(self, f)
2786    }
2787}
2788
2789impl ::protobuf::reflect::ProtobufValue for GetPatchDeploymentRequest {
2790    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2791        ::protobuf::reflect::ReflectValueRef::Message(self)
2792    }
2793}
2794
2795#[derive(PartialEq,Clone,Default)]
2796pub struct ListPatchDeploymentsRequest {
2797    // message fields
2798    pub parent: ::std::string::String,
2799    pub page_size: i32,
2800    pub page_token: ::std::string::String,
2801    // special fields
2802    pub unknown_fields: ::protobuf::UnknownFields,
2803    pub cached_size: ::protobuf::CachedSize,
2804}
2805
2806impl<'a> ::std::default::Default for &'a ListPatchDeploymentsRequest {
2807    fn default() -> &'a ListPatchDeploymentsRequest {
2808        <ListPatchDeploymentsRequest as ::protobuf::Message>::default_instance()
2809    }
2810}
2811
2812impl ListPatchDeploymentsRequest {
2813    pub fn new() -> ListPatchDeploymentsRequest {
2814        ::std::default::Default::default()
2815    }
2816
2817    // string parent = 1;
2818
2819
2820    pub fn get_parent(&self) -> &str {
2821        &self.parent
2822    }
2823    pub fn clear_parent(&mut self) {
2824        self.parent.clear();
2825    }
2826
2827    // Param is passed by value, moved
2828    pub fn set_parent(&mut self, v: ::std::string::String) {
2829        self.parent = v;
2830    }
2831
2832    // Mutable pointer to the field.
2833    // If field is not initialized, it is initialized with default value first.
2834    pub fn mut_parent(&mut self) -> &mut ::std::string::String {
2835        &mut self.parent
2836    }
2837
2838    // Take field
2839    pub fn take_parent(&mut self) -> ::std::string::String {
2840        ::std::mem::replace(&mut self.parent, ::std::string::String::new())
2841    }
2842
2843    // int32 page_size = 2;
2844
2845
2846    pub fn get_page_size(&self) -> i32 {
2847        self.page_size
2848    }
2849    pub fn clear_page_size(&mut self) {
2850        self.page_size = 0;
2851    }
2852
2853    // Param is passed by value, moved
2854    pub fn set_page_size(&mut self, v: i32) {
2855        self.page_size = v;
2856    }
2857
2858    // string page_token = 3;
2859
2860
2861    pub fn get_page_token(&self) -> &str {
2862        &self.page_token
2863    }
2864    pub fn clear_page_token(&mut self) {
2865        self.page_token.clear();
2866    }
2867
2868    // Param is passed by value, moved
2869    pub fn set_page_token(&mut self, v: ::std::string::String) {
2870        self.page_token = v;
2871    }
2872
2873    // Mutable pointer to the field.
2874    // If field is not initialized, it is initialized with default value first.
2875    pub fn mut_page_token(&mut self) -> &mut ::std::string::String {
2876        &mut self.page_token
2877    }
2878
2879    // Take field
2880    pub fn take_page_token(&mut self) -> ::std::string::String {
2881        ::std::mem::replace(&mut self.page_token, ::std::string::String::new())
2882    }
2883}
2884
2885impl ::protobuf::Message for ListPatchDeploymentsRequest {
2886    fn is_initialized(&self) -> bool {
2887        true
2888    }
2889
2890    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2891        while !is.eof()? {
2892            let (field_number, wire_type) = is.read_tag_unpack()?;
2893            match field_number {
2894                1 => {
2895                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.parent)?;
2896                },
2897                2 => {
2898                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
2899                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
2900                    }
2901                    let tmp = is.read_int32()?;
2902                    self.page_size = tmp;
2903                },
2904                3 => {
2905                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.page_token)?;
2906                },
2907                _ => {
2908                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2909                },
2910            };
2911        }
2912        ::std::result::Result::Ok(())
2913    }
2914
2915    // Compute sizes of nested messages
2916    #[allow(unused_variables)]
2917    fn compute_size(&self) -> u32 {
2918        let mut my_size = 0;
2919        if !self.parent.is_empty() {
2920            my_size += ::protobuf::rt::string_size(1, &self.parent);
2921        }
2922        if self.page_size != 0 {
2923            my_size += ::protobuf::rt::value_size(2, self.page_size, ::protobuf::wire_format::WireTypeVarint);
2924        }
2925        if !self.page_token.is_empty() {
2926            my_size += ::protobuf::rt::string_size(3, &self.page_token);
2927        }
2928        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2929        self.cached_size.set(my_size);
2930        my_size
2931    }
2932
2933    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2934        if !self.parent.is_empty() {
2935            os.write_string(1, &self.parent)?;
2936        }
2937        if self.page_size != 0 {
2938            os.write_int32(2, self.page_size)?;
2939        }
2940        if !self.page_token.is_empty() {
2941            os.write_string(3, &self.page_token)?;
2942        }
2943        os.write_unknown_fields(self.get_unknown_fields())?;
2944        ::std::result::Result::Ok(())
2945    }
2946
2947    fn get_cached_size(&self) -> u32 {
2948        self.cached_size.get()
2949    }
2950
2951    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2952        &self.unknown_fields
2953    }
2954
2955    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2956        &mut self.unknown_fields
2957    }
2958
2959    fn as_any(&self) -> &dyn (::std::any::Any) {
2960        self as &dyn (::std::any::Any)
2961    }
2962    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2963        self as &mut dyn (::std::any::Any)
2964    }
2965    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2966        self
2967    }
2968
2969    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2970        Self::descriptor_static()
2971    }
2972
2973    fn new() -> ListPatchDeploymentsRequest {
2974        ListPatchDeploymentsRequest::new()
2975    }
2976
2977    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2978        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2979        descriptor.get(|| {
2980            let mut fields = ::std::vec::Vec::new();
2981            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
2982                "parent",
2983                |m: &ListPatchDeploymentsRequest| { &m.parent },
2984                |m: &mut ListPatchDeploymentsRequest| { &mut m.parent },
2985            ));
2986            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
2987                "page_size",
2988                |m: &ListPatchDeploymentsRequest| { &m.page_size },
2989                |m: &mut ListPatchDeploymentsRequest| { &mut m.page_size },
2990            ));
2991            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
2992                "page_token",
2993                |m: &ListPatchDeploymentsRequest| { &m.page_token },
2994                |m: &mut ListPatchDeploymentsRequest| { &mut m.page_token },
2995            ));
2996            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ListPatchDeploymentsRequest>(
2997                "ListPatchDeploymentsRequest",
2998                fields,
2999                file_descriptor_proto()
3000            )
3001        })
3002    }
3003
3004    fn default_instance() -> &'static ListPatchDeploymentsRequest {
3005        static instance: ::protobuf::rt::LazyV2<ListPatchDeploymentsRequest> = ::protobuf::rt::LazyV2::INIT;
3006        instance.get(ListPatchDeploymentsRequest::new)
3007    }
3008}
3009
3010impl ::protobuf::Clear for ListPatchDeploymentsRequest {
3011    fn clear(&mut self) {
3012        self.parent.clear();
3013        self.page_size = 0;
3014        self.page_token.clear();
3015        self.unknown_fields.clear();
3016    }
3017}
3018
3019impl ::std::fmt::Debug for ListPatchDeploymentsRequest {
3020    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3021        ::protobuf::text_format::fmt(self, f)
3022    }
3023}
3024
3025impl ::protobuf::reflect::ProtobufValue for ListPatchDeploymentsRequest {
3026    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
3027        ::protobuf::reflect::ReflectValueRef::Message(self)
3028    }
3029}
3030
3031#[derive(PartialEq,Clone,Default)]
3032pub struct ListPatchDeploymentsResponse {
3033    // message fields
3034    pub patch_deployments: ::protobuf::RepeatedField<PatchDeployment>,
3035    pub next_page_token: ::std::string::String,
3036    // special fields
3037    pub unknown_fields: ::protobuf::UnknownFields,
3038    pub cached_size: ::protobuf::CachedSize,
3039}
3040
3041impl<'a> ::std::default::Default for &'a ListPatchDeploymentsResponse {
3042    fn default() -> &'a ListPatchDeploymentsResponse {
3043        <ListPatchDeploymentsResponse as ::protobuf::Message>::default_instance()
3044    }
3045}
3046
3047impl ListPatchDeploymentsResponse {
3048    pub fn new() -> ListPatchDeploymentsResponse {
3049        ::std::default::Default::default()
3050    }
3051
3052    // repeated .google.cloud.osconfig.v1.PatchDeployment patch_deployments = 1;
3053
3054
3055    pub fn get_patch_deployments(&self) -> &[PatchDeployment] {
3056        &self.patch_deployments
3057    }
3058    pub fn clear_patch_deployments(&mut self) {
3059        self.patch_deployments.clear();
3060    }
3061
3062    // Param is passed by value, moved
3063    pub fn set_patch_deployments(&mut self, v: ::protobuf::RepeatedField<PatchDeployment>) {
3064        self.patch_deployments = v;
3065    }
3066
3067    // Mutable pointer to the field.
3068    pub fn mut_patch_deployments(&mut self) -> &mut ::protobuf::RepeatedField<PatchDeployment> {
3069        &mut self.patch_deployments
3070    }
3071
3072    // Take field
3073    pub fn take_patch_deployments(&mut self) -> ::protobuf::RepeatedField<PatchDeployment> {
3074        ::std::mem::replace(&mut self.patch_deployments, ::protobuf::RepeatedField::new())
3075    }
3076
3077    // string next_page_token = 2;
3078
3079
3080    pub fn get_next_page_token(&self) -> &str {
3081        &self.next_page_token
3082    }
3083    pub fn clear_next_page_token(&mut self) {
3084        self.next_page_token.clear();
3085    }
3086
3087    // Param is passed by value, moved
3088    pub fn set_next_page_token(&mut self, v: ::std::string::String) {
3089        self.next_page_token = v;
3090    }
3091
3092    // Mutable pointer to the field.
3093    // If field is not initialized, it is initialized with default value first.
3094    pub fn mut_next_page_token(&mut self) -> &mut ::std::string::String {
3095        &mut self.next_page_token
3096    }
3097
3098    // Take field
3099    pub fn take_next_page_token(&mut self) -> ::std::string::String {
3100        ::std::mem::replace(&mut self.next_page_token, ::std::string::String::new())
3101    }
3102}
3103
3104impl ::protobuf::Message for ListPatchDeploymentsResponse {
3105    fn is_initialized(&self) -> bool {
3106        for v in &self.patch_deployments {
3107            if !v.is_initialized() {
3108                return false;
3109            }
3110        };
3111        true
3112    }
3113
3114    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3115        while !is.eof()? {
3116            let (field_number, wire_type) = is.read_tag_unpack()?;
3117            match field_number {
3118                1 => {
3119                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.patch_deployments)?;
3120                },
3121                2 => {
3122                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.next_page_token)?;
3123                },
3124                _ => {
3125                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
3126                },
3127            };
3128        }
3129        ::std::result::Result::Ok(())
3130    }
3131
3132    // Compute sizes of nested messages
3133    #[allow(unused_variables)]
3134    fn compute_size(&self) -> u32 {
3135        let mut my_size = 0;
3136        for value in &self.patch_deployments {
3137            let len = value.compute_size();
3138            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
3139        };
3140        if !self.next_page_token.is_empty() {
3141            my_size += ::protobuf::rt::string_size(2, &self.next_page_token);
3142        }
3143        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
3144        self.cached_size.set(my_size);
3145        my_size
3146    }
3147
3148    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3149        for v in &self.patch_deployments {
3150            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
3151            os.write_raw_varint32(v.get_cached_size())?;
3152            v.write_to_with_cached_sizes(os)?;
3153        };
3154        if !self.next_page_token.is_empty() {
3155            os.write_string(2, &self.next_page_token)?;
3156        }
3157        os.write_unknown_fields(self.get_unknown_fields())?;
3158        ::std::result::Result::Ok(())
3159    }
3160
3161    fn get_cached_size(&self) -> u32 {
3162        self.cached_size.get()
3163    }
3164
3165    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
3166        &self.unknown_fields
3167    }
3168
3169    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
3170        &mut self.unknown_fields
3171    }
3172
3173    fn as_any(&self) -> &dyn (::std::any::Any) {
3174        self as &dyn (::std::any::Any)
3175    }
3176    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
3177        self as &mut dyn (::std::any::Any)
3178    }
3179    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
3180        self
3181    }
3182
3183    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
3184        Self::descriptor_static()
3185    }
3186
3187    fn new() -> ListPatchDeploymentsResponse {
3188        ListPatchDeploymentsResponse::new()
3189    }
3190
3191    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
3192        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
3193        descriptor.get(|| {
3194            let mut fields = ::std::vec::Vec::new();
3195            fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<PatchDeployment>>(
3196                "patch_deployments",
3197                |m: &ListPatchDeploymentsResponse| { &m.patch_deployments },
3198                |m: &mut ListPatchDeploymentsResponse| { &mut m.patch_deployments },
3199            ));
3200            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
3201                "next_page_token",
3202                |m: &ListPatchDeploymentsResponse| { &m.next_page_token },
3203                |m: &mut ListPatchDeploymentsResponse| { &mut m.next_page_token },
3204            ));
3205            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ListPatchDeploymentsResponse>(
3206                "ListPatchDeploymentsResponse",
3207                fields,
3208                file_descriptor_proto()
3209            )
3210        })
3211    }
3212
3213    fn default_instance() -> &'static ListPatchDeploymentsResponse {
3214        static instance: ::protobuf::rt::LazyV2<ListPatchDeploymentsResponse> = ::protobuf::rt::LazyV2::INIT;
3215        instance.get(ListPatchDeploymentsResponse::new)
3216    }
3217}
3218
3219impl ::protobuf::Clear for ListPatchDeploymentsResponse {
3220    fn clear(&mut self) {
3221        self.patch_deployments.clear();
3222        self.next_page_token.clear();
3223        self.unknown_fields.clear();
3224    }
3225}
3226
3227impl ::std::fmt::Debug for ListPatchDeploymentsResponse {
3228    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3229        ::protobuf::text_format::fmt(self, f)
3230    }
3231}
3232
3233impl ::protobuf::reflect::ProtobufValue for ListPatchDeploymentsResponse {
3234    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
3235        ::protobuf::reflect::ReflectValueRef::Message(self)
3236    }
3237}
3238
3239#[derive(PartialEq,Clone,Default)]
3240pub struct DeletePatchDeploymentRequest {
3241    // message fields
3242    pub name: ::std::string::String,
3243    // special fields
3244    pub unknown_fields: ::protobuf::UnknownFields,
3245    pub cached_size: ::protobuf::CachedSize,
3246}
3247
3248impl<'a> ::std::default::Default for &'a DeletePatchDeploymentRequest {
3249    fn default() -> &'a DeletePatchDeploymentRequest {
3250        <DeletePatchDeploymentRequest as ::protobuf::Message>::default_instance()
3251    }
3252}
3253
3254impl DeletePatchDeploymentRequest {
3255    pub fn new() -> DeletePatchDeploymentRequest {
3256        ::std::default::Default::default()
3257    }
3258
3259    // string name = 1;
3260
3261
3262    pub fn get_name(&self) -> &str {
3263        &self.name
3264    }
3265    pub fn clear_name(&mut self) {
3266        self.name.clear();
3267    }
3268
3269    // Param is passed by value, moved
3270    pub fn set_name(&mut self, v: ::std::string::String) {
3271        self.name = v;
3272    }
3273
3274    // Mutable pointer to the field.
3275    // If field is not initialized, it is initialized with default value first.
3276    pub fn mut_name(&mut self) -> &mut ::std::string::String {
3277        &mut self.name
3278    }
3279
3280    // Take field
3281    pub fn take_name(&mut self) -> ::std::string::String {
3282        ::std::mem::replace(&mut self.name, ::std::string::String::new())
3283    }
3284}
3285
3286impl ::protobuf::Message for DeletePatchDeploymentRequest {
3287    fn is_initialized(&self) -> bool {
3288        true
3289    }
3290
3291    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3292        while !is.eof()? {
3293            let (field_number, wire_type) = is.read_tag_unpack()?;
3294            match field_number {
3295                1 => {
3296                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?;
3297                },
3298                _ => {
3299                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
3300                },
3301            };
3302        }
3303        ::std::result::Result::Ok(())
3304    }
3305
3306    // Compute sizes of nested messages
3307    #[allow(unused_variables)]
3308    fn compute_size(&self) -> u32 {
3309        let mut my_size = 0;
3310        if !self.name.is_empty() {
3311            my_size += ::protobuf::rt::string_size(1, &self.name);
3312        }
3313        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
3314        self.cached_size.set(my_size);
3315        my_size
3316    }
3317
3318    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3319        if !self.name.is_empty() {
3320            os.write_string(1, &self.name)?;
3321        }
3322        os.write_unknown_fields(self.get_unknown_fields())?;
3323        ::std::result::Result::Ok(())
3324    }
3325
3326    fn get_cached_size(&self) -> u32 {
3327        self.cached_size.get()
3328    }
3329
3330    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
3331        &self.unknown_fields
3332    }
3333
3334    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
3335        &mut self.unknown_fields
3336    }
3337
3338    fn as_any(&self) -> &dyn (::std::any::Any) {
3339        self as &dyn (::std::any::Any)
3340    }
3341    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
3342        self as &mut dyn (::std::any::Any)
3343    }
3344    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
3345        self
3346    }
3347
3348    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
3349        Self::descriptor_static()
3350    }
3351
3352    fn new() -> DeletePatchDeploymentRequest {
3353        DeletePatchDeploymentRequest::new()
3354    }
3355
3356    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
3357        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
3358        descriptor.get(|| {
3359            let mut fields = ::std::vec::Vec::new();
3360            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
3361                "name",
3362                |m: &DeletePatchDeploymentRequest| { &m.name },
3363                |m: &mut DeletePatchDeploymentRequest| { &mut m.name },
3364            ));
3365            ::protobuf::reflect::MessageDescriptor::new_pb_name::<DeletePatchDeploymentRequest>(
3366                "DeletePatchDeploymentRequest",
3367                fields,
3368                file_descriptor_proto()
3369            )
3370        })
3371    }
3372
3373    fn default_instance() -> &'static DeletePatchDeploymentRequest {
3374        static instance: ::protobuf::rt::LazyV2<DeletePatchDeploymentRequest> = ::protobuf::rt::LazyV2::INIT;
3375        instance.get(DeletePatchDeploymentRequest::new)
3376    }
3377}
3378
3379impl ::protobuf::Clear for DeletePatchDeploymentRequest {
3380    fn clear(&mut self) {
3381        self.name.clear();
3382        self.unknown_fields.clear();
3383    }
3384}
3385
3386impl ::std::fmt::Debug for DeletePatchDeploymentRequest {
3387    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3388        ::protobuf::text_format::fmt(self, f)
3389    }
3390}
3391
3392impl ::protobuf::reflect::ProtobufValue for DeletePatchDeploymentRequest {
3393    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
3394        ::protobuf::reflect::ReflectValueRef::Message(self)
3395    }
3396}
3397
3398#[derive(PartialEq,Clone,Default)]
3399pub struct UpdatePatchDeploymentRequest {
3400    // message fields
3401    pub patch_deployment: ::protobuf::SingularPtrField<PatchDeployment>,
3402    pub update_mask: ::protobuf::SingularPtrField<::protobuf::well_known_types::FieldMask>,
3403    // special fields
3404    pub unknown_fields: ::protobuf::UnknownFields,
3405    pub cached_size: ::protobuf::CachedSize,
3406}
3407
3408impl<'a> ::std::default::Default for &'a UpdatePatchDeploymentRequest {
3409    fn default() -> &'a UpdatePatchDeploymentRequest {
3410        <UpdatePatchDeploymentRequest as ::protobuf::Message>::default_instance()
3411    }
3412}
3413
3414impl UpdatePatchDeploymentRequest {
3415    pub fn new() -> UpdatePatchDeploymentRequest {
3416        ::std::default::Default::default()
3417    }
3418
3419    // .google.cloud.osconfig.v1.PatchDeployment patch_deployment = 1;
3420
3421
3422    pub fn get_patch_deployment(&self) -> &PatchDeployment {
3423        self.patch_deployment.as_ref().unwrap_or_else(|| <PatchDeployment as ::protobuf::Message>::default_instance())
3424    }
3425    pub fn clear_patch_deployment(&mut self) {
3426        self.patch_deployment.clear();
3427    }
3428
3429    pub fn has_patch_deployment(&self) -> bool {
3430        self.patch_deployment.is_some()
3431    }
3432
3433    // Param is passed by value, moved
3434    pub fn set_patch_deployment(&mut self, v: PatchDeployment) {
3435        self.patch_deployment = ::protobuf::SingularPtrField::some(v);
3436    }
3437
3438    // Mutable pointer to the field.
3439    // If field is not initialized, it is initialized with default value first.
3440    pub fn mut_patch_deployment(&mut self) -> &mut PatchDeployment {
3441        if self.patch_deployment.is_none() {
3442            self.patch_deployment.set_default();
3443        }
3444        self.patch_deployment.as_mut().unwrap()
3445    }
3446
3447    // Take field
3448    pub fn take_patch_deployment(&mut self) -> PatchDeployment {
3449        self.patch_deployment.take().unwrap_or_else(|| PatchDeployment::new())
3450    }
3451
3452    // .google.protobuf.FieldMask update_mask = 2;
3453
3454
3455    pub fn get_update_mask(&self) -> &::protobuf::well_known_types::FieldMask {
3456        self.update_mask.as_ref().unwrap_or_else(|| <::protobuf::well_known_types::FieldMask as ::protobuf::Message>::default_instance())
3457    }
3458    pub fn clear_update_mask(&mut self) {
3459        self.update_mask.clear();
3460    }
3461
3462    pub fn has_update_mask(&self) -> bool {
3463        self.update_mask.is_some()
3464    }
3465
3466    // Param is passed by value, moved
3467    pub fn set_update_mask(&mut self, v: ::protobuf::well_known_types::FieldMask) {
3468        self.update_mask = ::protobuf::SingularPtrField::some(v);
3469    }
3470
3471    // Mutable pointer to the field.
3472    // If field is not initialized, it is initialized with default value first.
3473    pub fn mut_update_mask(&mut self) -> &mut ::protobuf::well_known_types::FieldMask {
3474        if self.update_mask.is_none() {
3475            self.update_mask.set_default();
3476        }
3477        self.update_mask.as_mut().unwrap()
3478    }
3479
3480    // Take field
3481    pub fn take_update_mask(&mut self) -> ::protobuf::well_known_types::FieldMask {
3482        self.update_mask.take().unwrap_or_else(|| ::protobuf::well_known_types::FieldMask::new())
3483    }
3484}
3485
3486impl ::protobuf::Message for UpdatePatchDeploymentRequest {
3487    fn is_initialized(&self) -> bool {
3488        for v in &self.patch_deployment {
3489            if !v.is_initialized() {
3490                return false;
3491            }
3492        };
3493        for v in &self.update_mask {
3494            if !v.is_initialized() {
3495                return false;
3496            }
3497        };
3498        true
3499    }
3500
3501    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3502        while !is.eof()? {
3503            let (field_number, wire_type) = is.read_tag_unpack()?;
3504            match field_number {
3505                1 => {
3506                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.patch_deployment)?;
3507                },
3508                2 => {
3509                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.update_mask)?;
3510                },
3511                _ => {
3512                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
3513                },
3514            };
3515        }
3516        ::std::result::Result::Ok(())
3517    }
3518
3519    // Compute sizes of nested messages
3520    #[allow(unused_variables)]
3521    fn compute_size(&self) -> u32 {
3522        let mut my_size = 0;
3523        if let Some(ref v) = self.patch_deployment.as_ref() {
3524            let len = v.compute_size();
3525            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
3526        }
3527        if let Some(ref v) = self.update_mask.as_ref() {
3528            let len = v.compute_size();
3529            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
3530        }
3531        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
3532        self.cached_size.set(my_size);
3533        my_size
3534    }
3535
3536    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3537        if let Some(ref v) = self.patch_deployment.as_ref() {
3538            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
3539            os.write_raw_varint32(v.get_cached_size())?;
3540            v.write_to_with_cached_sizes(os)?;
3541        }
3542        if let Some(ref v) = self.update_mask.as_ref() {
3543            os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
3544            os.write_raw_varint32(v.get_cached_size())?;
3545            v.write_to_with_cached_sizes(os)?;
3546        }
3547        os.write_unknown_fields(self.get_unknown_fields())?;
3548        ::std::result::Result::Ok(())
3549    }
3550
3551    fn get_cached_size(&self) -> u32 {
3552        self.cached_size.get()
3553    }
3554
3555    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
3556        &self.unknown_fields
3557    }
3558
3559    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
3560        &mut self.unknown_fields
3561    }
3562
3563    fn as_any(&self) -> &dyn (::std::any::Any) {
3564        self as &dyn (::std::any::Any)
3565    }
3566    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
3567        self as &mut dyn (::std::any::Any)
3568    }
3569    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
3570        self
3571    }
3572
3573    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
3574        Self::descriptor_static()
3575    }
3576
3577    fn new() -> UpdatePatchDeploymentRequest {
3578        UpdatePatchDeploymentRequest::new()
3579    }
3580
3581    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
3582        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
3583        descriptor.get(|| {
3584            let mut fields = ::std::vec::Vec::new();
3585            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<PatchDeployment>>(
3586                "patch_deployment",
3587                |m: &UpdatePatchDeploymentRequest| { &m.patch_deployment },
3588                |m: &mut UpdatePatchDeploymentRequest| { &mut m.patch_deployment },
3589            ));
3590            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::well_known_types::FieldMask>>(
3591                "update_mask",
3592                |m: &UpdatePatchDeploymentRequest| { &m.update_mask },
3593                |m: &mut UpdatePatchDeploymentRequest| { &mut m.update_mask },
3594            ));
3595            ::protobuf::reflect::MessageDescriptor::new_pb_name::<UpdatePatchDeploymentRequest>(
3596                "UpdatePatchDeploymentRequest",
3597                fields,
3598                file_descriptor_proto()
3599            )
3600        })
3601    }
3602
3603    fn default_instance() -> &'static UpdatePatchDeploymentRequest {
3604        static instance: ::protobuf::rt::LazyV2<UpdatePatchDeploymentRequest> = ::protobuf::rt::LazyV2::INIT;
3605        instance.get(UpdatePatchDeploymentRequest::new)
3606    }
3607}
3608
3609impl ::protobuf::Clear for UpdatePatchDeploymentRequest {
3610    fn clear(&mut self) {
3611        self.patch_deployment.clear();
3612        self.update_mask.clear();
3613        self.unknown_fields.clear();
3614    }
3615}
3616
3617impl ::std::fmt::Debug for UpdatePatchDeploymentRequest {
3618    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3619        ::protobuf::text_format::fmt(self, f)
3620    }
3621}
3622
3623impl ::protobuf::reflect::ProtobufValue for UpdatePatchDeploymentRequest {
3624    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
3625        ::protobuf::reflect::ReflectValueRef::Message(self)
3626    }
3627}
3628
3629#[derive(PartialEq,Clone,Default)]
3630pub struct PausePatchDeploymentRequest {
3631    // message fields
3632    pub name: ::std::string::String,
3633    // special fields
3634    pub unknown_fields: ::protobuf::UnknownFields,
3635    pub cached_size: ::protobuf::CachedSize,
3636}
3637
3638impl<'a> ::std::default::Default for &'a PausePatchDeploymentRequest {
3639    fn default() -> &'a PausePatchDeploymentRequest {
3640        <PausePatchDeploymentRequest as ::protobuf::Message>::default_instance()
3641    }
3642}
3643
3644impl PausePatchDeploymentRequest {
3645    pub fn new() -> PausePatchDeploymentRequest {
3646        ::std::default::Default::default()
3647    }
3648
3649    // string name = 1;
3650
3651
3652    pub fn get_name(&self) -> &str {
3653        &self.name
3654    }
3655    pub fn clear_name(&mut self) {
3656        self.name.clear();
3657    }
3658
3659    // Param is passed by value, moved
3660    pub fn set_name(&mut self, v: ::std::string::String) {
3661        self.name = v;
3662    }
3663
3664    // Mutable pointer to the field.
3665    // If field is not initialized, it is initialized with default value first.
3666    pub fn mut_name(&mut self) -> &mut ::std::string::String {
3667        &mut self.name
3668    }
3669
3670    // Take field
3671    pub fn take_name(&mut self) -> ::std::string::String {
3672        ::std::mem::replace(&mut self.name, ::std::string::String::new())
3673    }
3674}
3675
3676impl ::protobuf::Message for PausePatchDeploymentRequest {
3677    fn is_initialized(&self) -> bool {
3678        true
3679    }
3680
3681    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3682        while !is.eof()? {
3683            let (field_number, wire_type) = is.read_tag_unpack()?;
3684            match field_number {
3685                1 => {
3686                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?;
3687                },
3688                _ => {
3689                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
3690                },
3691            };
3692        }
3693        ::std::result::Result::Ok(())
3694    }
3695
3696    // Compute sizes of nested messages
3697    #[allow(unused_variables)]
3698    fn compute_size(&self) -> u32 {
3699        let mut my_size = 0;
3700        if !self.name.is_empty() {
3701            my_size += ::protobuf::rt::string_size(1, &self.name);
3702        }
3703        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
3704        self.cached_size.set(my_size);
3705        my_size
3706    }
3707
3708    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3709        if !self.name.is_empty() {
3710            os.write_string(1, &self.name)?;
3711        }
3712        os.write_unknown_fields(self.get_unknown_fields())?;
3713        ::std::result::Result::Ok(())
3714    }
3715
3716    fn get_cached_size(&self) -> u32 {
3717        self.cached_size.get()
3718    }
3719
3720    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
3721        &self.unknown_fields
3722    }
3723
3724    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
3725        &mut self.unknown_fields
3726    }
3727
3728    fn as_any(&self) -> &dyn (::std::any::Any) {
3729        self as &dyn (::std::any::Any)
3730    }
3731    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
3732        self as &mut dyn (::std::any::Any)
3733    }
3734    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
3735        self
3736    }
3737
3738    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
3739        Self::descriptor_static()
3740    }
3741
3742    fn new() -> PausePatchDeploymentRequest {
3743        PausePatchDeploymentRequest::new()
3744    }
3745
3746    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
3747        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
3748        descriptor.get(|| {
3749            let mut fields = ::std::vec::Vec::new();
3750            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
3751                "name",
3752                |m: &PausePatchDeploymentRequest| { &m.name },
3753                |m: &mut PausePatchDeploymentRequest| { &mut m.name },
3754            ));
3755            ::protobuf::reflect::MessageDescriptor::new_pb_name::<PausePatchDeploymentRequest>(
3756                "PausePatchDeploymentRequest",
3757                fields,
3758                file_descriptor_proto()
3759            )
3760        })
3761    }
3762
3763    fn default_instance() -> &'static PausePatchDeploymentRequest {
3764        static instance: ::protobuf::rt::LazyV2<PausePatchDeploymentRequest> = ::protobuf::rt::LazyV2::INIT;
3765        instance.get(PausePatchDeploymentRequest::new)
3766    }
3767}
3768
3769impl ::protobuf::Clear for PausePatchDeploymentRequest {
3770    fn clear(&mut self) {
3771        self.name.clear();
3772        self.unknown_fields.clear();
3773    }
3774}
3775
3776impl ::std::fmt::Debug for PausePatchDeploymentRequest {
3777    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3778        ::protobuf::text_format::fmt(self, f)
3779    }
3780}
3781
3782impl ::protobuf::reflect::ProtobufValue for PausePatchDeploymentRequest {
3783    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
3784        ::protobuf::reflect::ReflectValueRef::Message(self)
3785    }
3786}
3787
3788#[derive(PartialEq,Clone,Default)]
3789pub struct ResumePatchDeploymentRequest {
3790    // message fields
3791    pub name: ::std::string::String,
3792    // special fields
3793    pub unknown_fields: ::protobuf::UnknownFields,
3794    pub cached_size: ::protobuf::CachedSize,
3795}
3796
3797impl<'a> ::std::default::Default for &'a ResumePatchDeploymentRequest {
3798    fn default() -> &'a ResumePatchDeploymentRequest {
3799        <ResumePatchDeploymentRequest as ::protobuf::Message>::default_instance()
3800    }
3801}
3802
3803impl ResumePatchDeploymentRequest {
3804    pub fn new() -> ResumePatchDeploymentRequest {
3805        ::std::default::Default::default()
3806    }
3807
3808    // string name = 1;
3809
3810
3811    pub fn get_name(&self) -> &str {
3812        &self.name
3813    }
3814    pub fn clear_name(&mut self) {
3815        self.name.clear();
3816    }
3817
3818    // Param is passed by value, moved
3819    pub fn set_name(&mut self, v: ::std::string::String) {
3820        self.name = v;
3821    }
3822
3823    // Mutable pointer to the field.
3824    // If field is not initialized, it is initialized with default value first.
3825    pub fn mut_name(&mut self) -> &mut ::std::string::String {
3826        &mut self.name
3827    }
3828
3829    // Take field
3830    pub fn take_name(&mut self) -> ::std::string::String {
3831        ::std::mem::replace(&mut self.name, ::std::string::String::new())
3832    }
3833}
3834
3835impl ::protobuf::Message for ResumePatchDeploymentRequest {
3836    fn is_initialized(&self) -> bool {
3837        true
3838    }
3839
3840    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3841        while !is.eof()? {
3842            let (field_number, wire_type) = is.read_tag_unpack()?;
3843            match field_number {
3844                1 => {
3845                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.name)?;
3846                },
3847                _ => {
3848                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
3849                },
3850            };
3851        }
3852        ::std::result::Result::Ok(())
3853    }
3854
3855    // Compute sizes of nested messages
3856    #[allow(unused_variables)]
3857    fn compute_size(&self) -> u32 {
3858        let mut my_size = 0;
3859        if !self.name.is_empty() {
3860            my_size += ::protobuf::rt::string_size(1, &self.name);
3861        }
3862        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
3863        self.cached_size.set(my_size);
3864        my_size
3865    }
3866
3867    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
3868        if !self.name.is_empty() {
3869            os.write_string(1, &self.name)?;
3870        }
3871        os.write_unknown_fields(self.get_unknown_fields())?;
3872        ::std::result::Result::Ok(())
3873    }
3874
3875    fn get_cached_size(&self) -> u32 {
3876        self.cached_size.get()
3877    }
3878
3879    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
3880        &self.unknown_fields
3881    }
3882
3883    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
3884        &mut self.unknown_fields
3885    }
3886
3887    fn as_any(&self) -> &dyn (::std::any::Any) {
3888        self as &dyn (::std::any::Any)
3889    }
3890    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
3891        self as &mut dyn (::std::any::Any)
3892    }
3893    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
3894        self
3895    }
3896
3897    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
3898        Self::descriptor_static()
3899    }
3900
3901    fn new() -> ResumePatchDeploymentRequest {
3902        ResumePatchDeploymentRequest::new()
3903    }
3904
3905    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
3906        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
3907        descriptor.get(|| {
3908            let mut fields = ::std::vec::Vec::new();
3909            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
3910                "name",
3911                |m: &ResumePatchDeploymentRequest| { &m.name },
3912                |m: &mut ResumePatchDeploymentRequest| { &mut m.name },
3913            ));
3914            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ResumePatchDeploymentRequest>(
3915                "ResumePatchDeploymentRequest",
3916                fields,
3917                file_descriptor_proto()
3918            )
3919        })
3920    }
3921
3922    fn default_instance() -> &'static ResumePatchDeploymentRequest {
3923        static instance: ::protobuf::rt::LazyV2<ResumePatchDeploymentRequest> = ::protobuf::rt::LazyV2::INIT;
3924        instance.get(ResumePatchDeploymentRequest::new)
3925    }
3926}
3927
3928impl ::protobuf::Clear for ResumePatchDeploymentRequest {
3929    fn clear(&mut self) {
3930        self.name.clear();
3931        self.unknown_fields.clear();
3932    }
3933}
3934
3935impl ::std::fmt::Debug for ResumePatchDeploymentRequest {
3936    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3937        ::protobuf::text_format::fmt(self, f)
3938    }
3939}
3940
3941impl ::protobuf::reflect::ProtobufValue for ResumePatchDeploymentRequest {
3942    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
3943        ::protobuf::reflect::ReflectValueRef::Message(self)
3944    }
3945}
3946
3947static file_descriptor_proto_data: &'static [u8] = b"\
3948    \n0google/cloud/osconfig/v1/patch_deployments.proto\x12\x18google.cloud.\
3949    osconfig.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/res\
3950    ource.proto\x1a)google/cloud/osconfig/v1/patch_jobs.proto\x1a\x1egoogle/\
3951    protobuf/duration.proto\x1a\x20google/protobuf/field_mask.proto\x1a\x1fg\
3952    oogle/protobuf/timestamp.proto\x1a\x1agoogle/type/datetime.proto\x1a\x1b\
3953    google/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\x83\x08\
3954    \n\x0fPatchDeployment\x12\x12\n\x04name\x18\x01\x20\x01(\tR\x04name\x12%\
3955    \n\x0bdescription\x18\x02\x20\x01(\tR\x0bdescriptionB\x03\xe0A\x01\x12[\
3956    \n\x0finstance_filter\x18\x03\x20\x01(\x0b2-.google.cloud.osconfig.v1.Pa\
3957    tchInstanceFilterR\x0einstanceFilterB\x03\xe0A\x02\x12M\n\x0cpatch_confi\
3958    g\x18\x04\x20\x01(\x0b2%.google.cloud.osconfig.v1.PatchConfigR\x0bpatchC\
3959    onfigB\x03\xe0A\x01\x12:\n\x08duration\x18\x05\x20\x01(\x0b2\x19.google.\
3960    protobuf.DurationR\x08durationB\x03\xe0A\x01\x12\\\n\x11one_time_schedul\
3961    e\x18\x06\x20\x01(\x0b2).google.cloud.osconfig.v1.OneTimeScheduleH\0R\
3962    \x0foneTimeScheduleB\x03\xe0A\x02\x12a\n\x12recurring_schedule\x18\x07\
3963    \x20\x01(\x0b2+.google.cloud.osconfig.v1.RecurringScheduleH\0R\x11recurr\
3964    ingScheduleB\x03\xe0A\x02\x12@\n\x0bcreate_time\x18\x08\x20\x01(\x0b2\
3965    \x1a.google.protobuf.TimestampR\ncreateTimeB\x03\xe0A\x03\x12@\n\x0bupda\
3966    te_time\x18\t\x20\x01(\x0b2\x1a.google.protobuf.TimestampR\nupdateTimeB\
3967    \x03\xe0A\x03\x12K\n\x11last_execute_time\x18\n\x20\x01(\x0b2\x1a.google\
3968    .protobuf.TimestampR\x0flastExecuteTimeB\x03\xe0A\x03\x12E\n\x07rollout\
3969    \x18\x0b\x20\x01(\x0b2&.google.cloud.osconfig.v1.PatchRolloutR\x07rollou\
3970    tB\x03\xe0A\x01\x12J\n\x05state\x18\x0c\x20\x01(\x0e2/.google.cloud.osco\
3971    nfig.v1.PatchDeployment.StateR\x05stateB\x03\xe0A\x03\"6\n\x05State\x12\
3972    \x15\n\x11STATE_UNSPECIFIED\x10\0\x12\n\n\x06ACTIVE\x10\x01\x12\n\n\x06P\
3973    AUSED\x10\x02B\n\n\x08schedule:d\xeaAa\n'osconfig.googleapis.com/PatchDe\
3974    ployment\x126projects/{project}/patchDeployments/{patch_deployment}\"U\n\
3975    \x0fOneTimeSchedule\x12B\n\x0cexecute_time\x18\x01\x20\x01(\x0b2\x1a.goo\
3976    gle.protobuf.TimestampR\x0bexecuteTimeB\x03\xe0A\x02\"\xed\x05\n\x11Recu\
3977    rringSchedule\x127\n\ttime_zone\x18\x01\x20\x01(\x0b2\x15.google.type.Ti\
3978    meZoneR\x08timeZoneB\x03\xe0A\x02\x12>\n\nstart_time\x18\x02\x20\x01(\
3979    \x0b2\x1a.google.protobuf.TimestampR\tstartTimeB\x03\xe0A\x01\x12:\n\x08\
3980    end_time\x18\x03\x20\x01(\x0b2\x1a.google.protobuf.TimestampR\x07endTime\
3981    B\x03\xe0A\x01\x12;\n\x0btime_of_day\x18\x04\x20\x01(\x0b2\x16.google.ty\
3982    pe.TimeOfDayR\ttimeOfDayB\x03\xe0A\x02\x12X\n\tfrequency\x18\x05\x20\x01\
3983    (\x0e25.google.cloud.osconfig.v1.RecurringSchedule.FrequencyR\tfrequency\
3984    B\x03\xe0A\x02\x12G\n\x06weekly\x18\x06\x20\x01(\x0b2(.google.cloud.osco\
3985    nfig.v1.WeeklyScheduleH\0R\x06weeklyB\x03\xe0A\x02\x12J\n\x07monthly\x18\
3986    \x07\x20\x01(\x0b2).google.cloud.osconfig.v1.MonthlyScheduleH\0R\x07mont\
3987    hlyB\x03\xe0A\x02\x12K\n\x11last_execute_time\x18\t\x20\x01(\x0b2\x1a.go\
3988    ogle.protobuf.TimestampR\x0flastExecuteTimeB\x03\xe0A\x03\x12K\n\x11next\
3989    _execute_time\x18\n\x20\x01(\x0b2\x1a.google.protobuf.TimestampR\x0fnext\
3990    ExecuteTimeB\x03\xe0A\x03\"J\n\tFrequency\x12\x19\n\x15FREQUENCY_UNSPECI\
3991    FIED\x10\0\x12\n\n\x06WEEKLY\x10\x01\x12\x0b\n\x07MONTHLY\x10\x02\x12\t\
3992    \n\x05DAILY\x10\x03B\x11\n\x0fschedule_config\"M\n\x0eWeeklySchedule\x12\
3993    ;\n\x0bday_of_week\x18\x01\x20\x01(\x0e2\x16.google.type.DayOfWeekR\tday\
3994    OfWeekB\x03\xe0A\x02\"\xa1\x01\n\x0fMonthlySchedule\x12Z\n\x11week_day_o\
3995    f_month\x18\x01\x20\x01(\x0b2(.google.cloud.osconfig.v1.WeekDayOfMonthH\
3996    \0R\x0eweekDayOfMonthB\x03\xe0A\x02\x12\"\n\tmonth_day\x18\x02\x20\x01(\
3997    \x05H\0R\x08monthDayB\x03\xe0A\x02B\x0e\n\x0cday_of_month\"\x99\x01\n\
3998    \x0eWeekDayOfMonth\x12&\n\x0cweek_ordinal\x18\x01\x20\x01(\x05R\x0bweekO\
3999    rdinalB\x03\xe0A\x02\x12;\n\x0bday_of_week\x18\x02\x20\x01(\x0e2\x16.goo\
4000    gle.type.DayOfWeekR\tdayOfWeekB\x03\xe0A\x02\x12\"\n\nday_offset\x18\x03\
4001    \x20\x01(\x05R\tdayOffsetB\x03\xe0A\x01\"\xfb\x01\n\x1cCreatePatchDeploy\
4002    mentRequest\x12K\n\x06parent\x18\x01\x20\x01(\tR\x06parentB3\xfaA-\n+clo\
4003    udresourcemanager.googleapis.com/Project\xe0A\x02\x123\n\x13patch_deploy\
4004    ment_id\x18\x02\x20\x01(\tR\x11patchDeploymentIdB\x03\xe0A\x02\x12Y\n\
4005    \x10patch_deployment\x18\x03\x20\x01(\x0b2).google.cloud.osconfig.v1.Pat\
4006    chDeploymentR\x0fpatchDeploymentB\x03\xe0A\x02\"`\n\x19GetPatchDeploymen\
4007    tRequest\x12C\n\x04name\x18\x01\x20\x01(\tR\x04nameB/\xfaA)\n'osconfig.g\
4008    oogleapis.com/PatchDeployment\xe0A\x02\"\xb0\x01\n\x1bListPatchDeploymen\
4009    tsRequest\x12K\n\x06parent\x18\x01\x20\x01(\tR\x06parentB3\xfaA-\n+cloud\
4010    resourcemanager.googleapis.com/Project\xe0A\x02\x12\x20\n\tpage_size\x18\
4011    \x02\x20\x01(\x05R\x08pageSizeB\x03\xe0A\x01\x12\"\n\npage_token\x18\x03\
4012    \x20\x01(\tR\tpageTokenB\x03\xe0A\x01\"\x9e\x01\n\x1cListPatchDeployment\
4013    sResponse\x12V\n\x11patch_deployments\x18\x01\x20\x03(\x0b2).google.clou\
4014    d.osconfig.v1.PatchDeploymentR\x10patchDeployments\x12&\n\x0fnext_page_t\
4015    oken\x18\x02\x20\x01(\tR\rnextPageToken\"c\n\x1cDeletePatchDeploymentReq\
4016    uest\x12C\n\x04name\x18\x01\x20\x01(\tR\x04nameB/\xfaA)\n'osconfig.googl\
4017    eapis.com/PatchDeployment\xe0A\x02\"\xbb\x01\n\x1cUpdatePatchDeploymentR\
4018    equest\x12Y\n\x10patch_deployment\x18\x01\x20\x01(\x0b2).google.cloud.os\
4019    config.v1.PatchDeploymentR\x0fpatchDeploymentB\x03\xe0A\x02\x12@\n\x0bup\
4020    date_mask\x18\x02\x20\x01(\x0b2\x1a.google.protobuf.FieldMaskR\nupdateMa\
4021    skB\x03\xe0A\x01\"b\n\x1bPausePatchDeploymentRequest\x12C\n\x04name\x18\
4022    \x01\x20\x01(\tR\x04nameB/\xfaA)\n'osconfig.googleapis.com/PatchDeployme\
4023    nt\xe0A\x02\"c\n\x1cResumePatchDeploymentRequest\x12C\n\x04name\x18\x01\
4024    \x20\x01(\tR\x04nameB/\xfaA)\n'osconfig.googleapis.com/PatchDeployment\
4025    \xe0A\x02B\xbe\x01\n\x1ccom.google.cloud.osconfig.v1B\x10PatchDeployment\
4026    sZ8cloud.google.com/go/osconfig/apiv1/osconfigpb;osconfigpb\xaa\x02\x18G\
4027    oogle.Cloud.OsConfig.V1\xca\x02\x18Google\\Cloud\\OsConfig\\V1\xea\x02\
4028    \x1bGoogle::Cloud::OsConfig::V1J\x88]\n\x07\x12\x05\x0e\0\xd2\x02\x01\n\
4029    \xbc\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb1\x04\x20Copyright\x202020\x20Go\
4030    ogle\x20LLC\n\n\x20Licensed\x20under\x20the\x20Apache\x20License,\x20Ver\
4031    sion\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20th\
4032    is\x20file\x20except\x20in\x20compliance\x20with\x20the\x20License.\n\
4033    \x20You\x20may\x20obtain\x20a\x20copy\x20of\x20the\x20License\x20at\n\n\
4034    \x20\x20\x20\x20\x20http://www.apache.org/licenses/LICENSE-2.0\n\n\x20Un\
4035    less\x20required\x20by\x20applicable\x20law\x20or\x20agreed\x20to\x20in\
4036    \x20writing,\x20software\n\x20distributed\x20under\x20the\x20License\x20\
4037    is\x20distributed\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20\
4038    WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20expres\
4039    s\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20specific\
4040    \x20language\x20governing\x20permissions\x20and\n\x20limitations\x20unde\
4041    r\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0!\n\t\n\x02\x03\0\
4042    \x12\x03\x12\0)\n\t\n\x02\x03\x01\x12\x03\x13\0#\n\t\n\x02\x03\x02\x12\
4043    \x03\x14\03\n\t\n\x02\x03\x03\x12\x03\x15\0(\n\t\n\x02\x03\x04\x12\x03\
4044    \x16\0*\n\t\n\x02\x03\x05\x12\x03\x17\0)\n\t\n\x02\x03\x06\x12\x03\x18\0\
4045    $\n\t\n\x02\x03\x07\x12\x03\x19\0%\n\t\n\x02\x03\x08\x12\x03\x1a\0%\n\
4046    \x08\n\x01\x08\x12\x03\x1c\05\n\t\n\x02\x08%\x12\x03\x1c\05\n\x08\n\x01\
4047    \x08\x12\x03\x1d\0O\n\t\n\x02\x08\x0b\x12\x03\x1d\0O\n\x08\n\x01\x08\x12\
4048    \x03\x1e\01\n\t\n\x02\x08\x08\x12\x03\x1e\01\n\x08\n\x01\x08\x12\x03\x1f\
4049    \05\n\t\n\x02\x08\x01\x12\x03\x1f\05\n\x08\n\x01\x08\x12\x03\x20\05\n\t\
4050    \n\x02\x08)\x12\x03\x20\05\n\x08\n\x01\x08\x12\x03!\04\n\t\n\x02\x08-\
4051    \x12\x03!\04\n\xf6\x02\n\x02\x04\0\x12\x04(\0q\x01\x1a\xe9\x02\x20Patch\
4052    \x20deployments\x20are\x20configurations\x20that\x20individual\x20patch\
4053    \x20jobs\x20use\x20to\n\x20complete\x20a\x20patch.\x20These\x20configura\
4054    tions\x20include\x20instance\x20filter,\x20package\n\x20repository\x20se\
4055    ttings,\x20and\x20a\x20schedule.\x20For\x20more\x20information\x20about\
4056    \x20creating\x20and\n\x20managing\x20patch\x20deployments,\x20see\x20[Sc\
4057    heduling\x20patch\n\x20jobs](https://cloud.google.com/compute/docs/os-pa\
4058    tch-management/schedule-patch-jobs).\n\n\n\n\x03\x04\0\x01\x12\x03(\x08\
4059    \x17\n\x0b\n\x03\x04\0\x07\x12\x04)\x02,\x04\n\r\n\x05\x04\0\x07\x9d\x08\
4060    \x12\x04)\x02,\x04\n5\n\x04\x04\0\x04\0\x12\x04/\x029\x03\x1a'\x20Repres\
4061    ents\x20state\x20of\x20patch\x20peployment.\n\n\x0c\n\x05\x04\0\x04\0\
4062    \x01\x12\x03/\x07\x0c\nO\n\x06\x04\0\x04\0\x02\0\x12\x031\x04\x1a\x1a@\
4063    \x20The\x20default\x20value.\x20This\x20value\x20is\x20used\x20if\x20the\
4064    \x20state\x20is\x20omitted.\n\n\x0e\n\x07\x04\0\x04\0\x02\0\x01\x12\x031\
4065    \x04\x15\n\x0e\n\x07\x04\0\x04\0\x02\0\x02\x12\x031\x18\x19\nO\n\x06\x04\
4066    \0\x04\0\x02\x01\x12\x034\x04\x0f\x1a@\x20Active\x20value\x20means\x20th\
4067    at\x20patch\x20deployment\x20generates\x20Patch\x20Jobs.\n\n\x0e\n\x07\
4068    \x04\0\x04\0\x02\x01\x01\x12\x034\x04\n\n\x0e\n\x07\x04\0\x04\0\x02\x01\
4069    \x02\x12\x034\r\x0e\n\x92\x01\n\x06\x04\0\x04\0\x02\x02\x12\x038\x04\x0f\
4070    \x1a\x82\x01\x20Paused\x20value\x20means\x20that\x20patch\x20deployment\
4071    \x20does\x20not\x20generate\n\x20Patch\x20jobs.\x20Requires\x20user\x20a\
4072    ction\x20to\x20move\x20in\x20and\x20out\x20from\x20this\x20state.\n\n\
4073    \x0e\n\x07\x04\0\x04\0\x02\x02\x01\x12\x038\x04\n\n\x0e\n\x07\x04\0\x04\
4074    \0\x02\x02\x02\x12\x038\r\x0e\n\xf6\x01\n\x04\x04\0\x02\0\x12\x03?\x02\
4075    \x12\x1a\xe8\x01\x20Unique\x20name\x20for\x20the\x20patch\x20deployment\
4076    \x20resource\x20in\x20a\x20project.\x20The\x20patch\n\x20deployment\x20n\
4077    ame\x20is\x20in\x20the\x20form:\n\x20`projects/{project_id}/patchDeploym\
4078    ents/{patch_deployment_id}`.\n\x20This\x20field\x20is\x20ignored\x20when\
4079    \x20you\x20create\x20a\x20new\x20patch\x20deployment.\n\n\x0c\n\x05\x04\
4080    \0\x02\0\x05\x12\x03?\x02\x08\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03?\t\r\n\
4081    \x0c\n\x05\x04\0\x02\0\x03\x12\x03?\x10\x11\nw\n\x04\x04\0\x02\x01\x12\
4082    \x03C\x02B\x1aj\x20Optional.\x20Description\x20of\x20the\x20patch\x20dep\
4083    loyment.\x20Length\x20of\x20the\x20description\x20is\n\x20limited\x20to\
4084    \x201024\x20characters.\n\n\x0c\n\x05\x04\0\x02\x01\x05\x12\x03C\x02\x08\
4085    \n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03C\t\x14\n\x0c\n\x05\x04\0\x02\x01\
4086    \x03\x12\x03C\x17\x18\n\x0c\n\x05\x04\0\x02\x01\x08\x12\x03C\x19A\n\x0f\
4087    \n\x08\x04\0\x02\x01\x08\x9c\x08\0\x12\x03C\x1a@\n0\n\x04\x04\0\x02\x02\
4088    \x12\x04F\x02G/\x1a\"\x20Required.\x20VM\x20instances\x20to\x20patch.\n\
4089    \n\x0c\n\x05\x04\0\x02\x02\x06\x12\x03F\x02\x15\n\x0c\n\x05\x04\0\x02\
4090    \x02\x01\x12\x03F\x16%\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03F()\n\x0c\n\
4091    \x05\x04\0\x02\x02\x08\x12\x03G\x06.\n\x0f\n\x08\x04\0\x02\x02\x08\x9c\
4092    \x08\0\x12\x03G\x07-\n=\n\x04\x04\0\x02\x03\x12\x03J\x02H\x1a0\x20Option\
4093    al.\x20Patch\x20configuration\x20that\x20is\x20applied.\n\n\x0c\n\x05\
4094    \x04\0\x02\x03\x06\x12\x03J\x02\r\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03J\
4095    \x0e\x1a\n\x0c\n\x05\x04\0\x02\x03\x03\x12\x03J\x1d\x1e\n\x0c\n\x05\x04\
4096    \0\x02\x03\x08\x12\x03J\x1fG\n\x0f\n\x08\x04\0\x02\x03\x08\x9c\x08\0\x12\
4097    \x03J\x20F\n_\n\x04\x04\0\x02\x04\x12\x04N\x02O/\x1aQ\x20Optional.\x20Du\
4098    ration\x20of\x20the\x20patch.\x20After\x20the\x20duration\x20ends,\x20th\
4099    e\x20patch\x20times\n\x20out.\n\n\x0c\n\x05\x04\0\x02\x04\x06\x12\x03N\
4100    \x02\x1a\n\x0c\n\x05\x04\0\x02\x04\x01\x12\x03N\x1b#\n\x0c\n\x05\x04\0\
4101    \x02\x04\x03\x12\x03N&'\n\x0c\n\x05\x04\0\x02\x04\x08\x12\x03O\x06.\n\
4102    \x0f\n\x08\x04\0\x02\x04\x08\x9c\x08\0\x12\x03O\x07-\n'\n\x04\x04\0\x08\
4103    \0\x12\x04R\x02Z\x03\x1a\x19\x20Schedule\x20for\x20the\x20patch.\n\n\x0c\
4104    \n\x05\x04\0\x08\0\x01\x12\x03R\x08\x10\n8\n\x04\x04\0\x02\x05\x12\x04T\
4105    \x04U1\x1a*\x20Required.\x20Schedule\x20a\x20one-time\x20execution.\n\n\
4106    \x0c\n\x05\x04\0\x02\x05\x06\x12\x03T\x04\x13\n\x0c\n\x05\x04\0\x02\x05\
4107    \x01\x12\x03T\x14%\n\x0c\n\x05\x04\0\x02\x05\x03\x12\x03T()\n\x0c\n\x05\
4108    \x04\0\x02\x05\x08\x12\x03U\x080\n\x0f\n\x08\x04\0\x02\x05\x08\x9c\x08\0\
4109    \x12\x03U\t/\n8\n\x04\x04\0\x02\x06\x12\x04X\x04Y1\x1a*\x20Required.\x20\
4110    Schedule\x20recurring\x20executions.\n\n\x0c\n\x05\x04\0\x02\x06\x06\x12\
4111    \x03X\x04\x15\n\x0c\n\x05\x04\0\x02\x06\x01\x12\x03X\x16(\n\x0c\n\x05\
4112    \x04\0\x02\x06\x03\x12\x03X+,\n\x0c\n\x05\x04\0\x02\x06\x08\x12\x03Y\x08\
4113    0\n\x0f\n\x08\x04\0\x02\x06\x08\x9c\x08\0\x12\x03Y\t/\n\x92\x01\n\x04\
4114    \x04\0\x02\x07\x12\x04^\x02_2\x1a\x83\x01\x20Output\x20only.\x20Time\x20\
4115    the\x20patch\x20deployment\x20was\x20created.\x20Timestamp\x20is\x20in\n\
4116    \x20[RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\x20text\x20format.\n\
4117    \n\x0c\n\x05\x04\0\x02\x07\x06\x12\x03^\x02\x1b\n\x0c\n\x05\x04\0\x02\
4118    \x07\x01\x12\x03^\x1c'\n\x0c\n\x05\x04\0\x02\x07\x03\x12\x03^*+\n\x0c\n\
4119    \x05\x04\0\x02\x07\x08\x12\x03_\x061\n\x0f\n\x08\x04\0\x02\x07\x08\x9c\
4120    \x08\0\x12\x03_\x070\n\x97\x01\n\x04\x04\0\x02\x08\x12\x04c\x02d2\x1a\
4121    \x88\x01\x20Output\x20only.\x20Time\x20the\x20patch\x20deployment\x20was\
4122    \x20last\x20updated.\x20Timestamp\x20is\x20in\n\x20[RFC3339](https://www\
4123    .ietf.org/rfc/rfc3339.txt)\x20text\x20format.\n\n\x0c\n\x05\x04\0\x02\
4124    \x08\x06\x12\x03c\x02\x1b\n\x0c\n\x05\x04\0\x02\x08\x01\x12\x03c\x1c'\n\
4125    \x0c\n\x05\x04\0\x02\x08\x03\x12\x03c*+\n\x0c\n\x05\x04\0\x02\x08\x08\
4126    \x12\x03d\x061\n\x0f\n\x08\x04\0\x02\x08\x08\x9c\x08\0\x12\x03d\x070\n\
4127    \xa6\x01\n\x04\x04\0\x02\t\x12\x04i\x02j2\x1a\x97\x01\x20Output\x20only.\
4128    \x20The\x20last\x20time\x20a\x20patch\x20job\x20was\x20started\x20by\x20\
4129    this\x20deployment.\n\x20Timestamp\x20is\x20in\x20[RFC3339](https://www.\
4130    ietf.org/rfc/rfc3339.txt)\x20text\n\x20format.\n\n\x0c\n\x05\x04\0\x02\t\
4131    \x06\x12\x03i\x02\x1b\n\x0c\n\x05\x04\0\x02\t\x01\x12\x03i\x1c-\n\x0c\n\
4132    \x05\x04\0\x02\t\x03\x12\x03i02\n\x0c\n\x05\x04\0\x02\t\x08\x12\x03j\x06\
4133    1\n\x0f\n\x08\x04\0\x02\t\x08\x9c\x08\0\x12\x03j\x070\n;\n\x04\x04\0\x02\
4134    \n\x12\x03m\x02E\x1a.\x20Optional.\x20Rollout\x20strategy\x20of\x20the\
4135    \x20patch\x20job.\n\n\x0c\n\x05\x04\0\x02\n\x06\x12\x03m\x02\x0e\n\x0c\n\
4136    \x05\x04\0\x02\n\x01\x12\x03m\x0f\x16\n\x0c\n\x05\x04\0\x02\n\x03\x12\
4137    \x03m\x19\x1b\n\x0c\n\x05\x04\0\x02\n\x08\x12\x03m\x1cD\n\x0f\n\x08\x04\
4138    \0\x02\n\x08\x9c\x08\0\x12\x03m\x1dC\nB\n\x04\x04\0\x02\x0b\x12\x03p\x02\
4139    ?\x1a5\x20Output\x20only.\x20Current\x20state\x20of\x20the\x20patch\x20d\
4140    eployment.\n\n\x0c\n\x05\x04\0\x02\x0b\x06\x12\x03p\x02\x07\n\x0c\n\x05\
4141    \x04\0\x02\x0b\x01\x12\x03p\x08\r\n\x0c\n\x05\x04\0\x02\x0b\x03\x12\x03p\
4142    \x10\x12\n\x0c\n\x05\x04\0\x02\x0b\x08\x12\x03p\x13>\n\x0f\n\x08\x04\0\
4143    \x02\x0b\x08\x9c\x08\0\x12\x03p\x14=\n\x8a\x01\n\x02\x04\x01\x12\x04u\0y\
4144    \x01\x1a~\x20Sets\x20the\x20time\x20for\x20a\x20one\x20time\x20patch\x20\
4145    deployment.\x20Timestamp\x20is\x20in\n\x20[RFC3339](https://www.ietf.org\
4146    /rfc/rfc3339.txt)\x20text\x20format.\n\n\n\n\x03\x04\x01\x01\x12\x03u\
4147    \x08\x17\n?\n\x04\x04\x01\x02\0\x12\x04w\x02x/\x1a1\x20Required.\x20The\
4148    \x20desired\x20patch\x20job\x20execution\x20time.\n\n\x0c\n\x05\x04\x01\
4149    \x02\0\x06\x12\x03w\x02\x1b\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03w\x1c(\
4150    \n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03w+,\n\x0c\n\x05\x04\x01\x02\0\x08\
4151    \x12\x03x\x06.\n\x0f\n\x08\x04\x01\x02\0\x08\x9c\x08\0\x12\x03x\x07-\n=\
4152    \n\x02\x04\x02\x12\x05|\0\xb5\x01\x01\x1a0\x20Sets\x20the\x20time\x20for\
4153    \x20recurring\x20patch\x20deployments.\n\n\n\n\x03\x04\x02\x01\x12\x03|\
4154    \x08\x19\nL\n\x04\x04\x02\x04\0\x12\x05~\x02\x8d\x01\x03\x1a=\x20Specifi\
4155    es\x20the\x20frequency\x20of\x20the\x20recurring\x20patch\x20deployments\
4156    .\n\n\x0c\n\x05\x04\x02\x04\0\x01\x12\x03~\x07\x10\n9\n\x06\x04\x02\x04\
4157    \0\x02\0\x12\x04\x80\x01\x04\x1e\x1a)\x20Invalid.\x20A\x20frequency\x20m\
4158    ust\x20be\x20specified.\n\n\x0f\n\x07\x04\x02\x04\0\x02\0\x01\x12\x04\
4159    \x80\x01\x04\x19\n\x0f\n\x07\x04\x02\x04\0\x02\0\x02\x12\x04\x80\x01\x1c\
4160    \x1d\nd\n\x06\x04\x02\x04\0\x02\x01\x12\x04\x84\x01\x04\x0f\x1aT\x20Indi\
4161    cates\x20that\x20the\x20frequency\x20of\x20recurrence\x20should\x20be\
4162    \x20expressed\x20in\x20terms\n\x20of\x20weeks.\n\n\x0f\n\x07\x04\x02\x04\
4163    \0\x02\x01\x01\x12\x04\x84\x01\x04\n\n\x0f\n\x07\x04\x02\x04\0\x02\x01\
4164    \x02\x12\x04\x84\x01\r\x0e\ne\n\x06\x04\x02\x04\0\x02\x02\x12\x04\x88\
4165    \x01\x04\x10\x1aU\x20Indicates\x20that\x20the\x20frequency\x20of\x20recu\
4166    rrence\x20should\x20be\x20expressed\x20in\x20terms\n\x20of\x20months.\n\
4167    \n\x0f\n\x07\x04\x02\x04\0\x02\x02\x01\x12\x04\x88\x01\x04\x0b\n\x0f\n\
4168    \x07\x04\x02\x04\0\x02\x02\x02\x12\x04\x88\x01\x0e\x0f\nc\n\x06\x04\x02\
4169    \x04\0\x02\x03\x12\x04\x8c\x01\x04\x0e\x1aS\x20Indicates\x20that\x20the\
4170    \x20frequency\x20of\x20recurrence\x20should\x20be\x20expressed\x20in\x20\
4171    terms\n\x20of\x20days.\n\n\x0f\n\x07\x04\x02\x04\0\x02\x03\x01\x12\x04\
4172    \x8c\x01\x04\t\n\x0f\n\x07\x04\x02\x04\0\x02\x03\x02\x12\x04\x8c\x01\x0c\
4173    \r\n\x9f\x01\n\x04\x04\x02\x02\0\x12\x04\x91\x01\x02N\x1a\x90\x01\x20Req\
4174    uired.\x20Defines\x20the\x20time\x20zone\x20that\x20`time_of_day`\x20is\
4175    \x20relative\x20to.\n\x20The\x20rules\x20for\x20daylight\x20saving\x20ti\
4176    me\x20are\x20determined\x20by\x20the\x20chosen\x20time\x20zone.\n\n\r\n\
4177    \x05\x04\x02\x02\0\x06\x12\x04\x91\x01\x02\x16\n\r\n\x05\x04\x02\x02\0\
4178    \x01\x12\x04\x91\x01\x17\x20\n\r\n\x05\x04\x02\x02\0\x03\x12\x04\x91\x01\
4179    #$\n\r\n\x05\x04\x02\x02\0\x08\x12\x04\x91\x01%M\n\x10\n\x08\x04\x02\x02\
4180    \0\x08\x9c\x08\0\x12\x04\x91\x01&L\n\x87\x01\n\x04\x04\x02\x02\x01\x12\
4181    \x06\x95\x01\x02\x96\x01/\x1aw\x20Optional.\x20The\x20time\x20that\x20th\
4182    e\x20recurring\x20schedule\x20becomes\x20effective.\n\x20Defaults\x20to\
4183    \x20`create_time`\x20of\x20the\x20patch\x20deployment.\n\n\r\n\x05\x04\
4184    \x02\x02\x01\x06\x12\x04\x95\x01\x02\x1b\n\r\n\x05\x04\x02\x02\x01\x01\
4185    \x12\x04\x95\x01\x1c&\n\r\n\x05\x04\x02\x02\x01\x03\x12\x04\x95\x01)*\n\
4186    \r\n\x05\x04\x02\x02\x01\x08\x12\x04\x96\x01\x06.\n\x10\n\x08\x04\x02\
4187    \x02\x01\x08\x9c\x08\0\x12\x04\x96\x01\x07-\nm\n\x04\x04\x02\x02\x02\x12\
4188    \x06\x9a\x01\x02\x9b\x01/\x1a]\x20Optional.\x20The\x20end\x20time\x20at\
4189    \x20which\x20a\x20recurring\x20patch\x20deployment\x20schedule\x20is\x20\
4190    no\n\x20longer\x20active.\n\n\r\n\x05\x04\x02\x02\x02\x06\x12\x04\x9a\
4191    \x01\x02\x1b\n\r\n\x05\x04\x02\x02\x02\x01\x12\x04\x9a\x01\x1c$\n\r\n\
4192    \x05\x04\x02\x02\x02\x03\x12\x04\x9a\x01'(\n\r\n\x05\x04\x02\x02\x02\x08\
4193    \x12\x04\x9b\x01\x06.\n\x10\n\x08\x04\x02\x02\x02\x08\x9c\x08\0\x12\x04\
4194    \x9b\x01\x07-\nJ\n\x04\x04\x02\x02\x03\x12\x06\x9e\x01\x02\x9f\x01/\x1a:\
4195    \x20Required.\x20Time\x20of\x20the\x20day\x20to\x20run\x20a\x20recurring\
4196    \x20deployment.\n\n\r\n\x05\x04\x02\x02\x03\x06\x12\x04\x9e\x01\x02\x17\
4197    \n\r\n\x05\x04\x02\x02\x03\x01\x12\x04\x9e\x01\x18#\n\r\n\x05\x04\x02\
4198    \x02\x03\x03\x12\x04\x9e\x01&'\n\r\n\x05\x04\x02\x02\x03\x08\x12\x04\x9f\
4199    \x01\x06.\n\x10\n\x08\x04\x02\x02\x03\x08\x9c\x08\0\x12\x04\x9f\x01\x07-\
4200    \nH\n\x04\x04\x02\x02\x04\x12\x04\xa2\x01\x02C\x1a:\x20Required.\x20The\
4201    \x20frequency\x20unit\x20of\x20this\x20recurring\x20schedule.\n\n\r\n\
4202    \x05\x04\x02\x02\x04\x06\x12\x04\xa2\x01\x02\x0b\n\r\n\x05\x04\x02\x02\
4203    \x04\x01\x12\x04\xa2\x01\x0c\x15\n\r\n\x05\x04\x02\x02\x04\x03\x12\x04\
4204    \xa2\x01\x18\x19\n\r\n\x05\x04\x02\x02\x04\x08\x12\x04\xa2\x01\x1aB\n\
4205    \x10\n\x08\x04\x02\x02\x04\x08\x9c\x08\0\x12\x04\xa2\x01\x1bA\nc\n\x04\
4206    \x04\x02\x08\0\x12\x06\xa6\x01\x02\xac\x01\x03\x1aS\x20Configurations\
4207    \x20for\x20this\x20recurring\x20schedule.\n\x20Configurations\x20must\
4208    \x20match\x20frequency.\n\n\r\n\x05\x04\x02\x08\0\x01\x12\x04\xa6\x01\
4209    \x08\x17\n:\n\x04\x04\x02\x02\x05\x12\x04\xa8\x01\x04G\x1a,\x20Required.\
4210    \x20Schedule\x20with\x20weekly\x20executions.\n\n\r\n\x05\x04\x02\x02\
4211    \x05\x06\x12\x04\xa8\x01\x04\x12\n\r\n\x05\x04\x02\x02\x05\x01\x12\x04\
4212    \xa8\x01\x13\x19\n\r\n\x05\x04\x02\x02\x05\x03\x12\x04\xa8\x01\x1c\x1d\n\
4213    \r\n\x05\x04\x02\x02\x05\x08\x12\x04\xa8\x01\x1eF\n\x10\n\x08\x04\x02\
4214    \x02\x05\x08\x9c\x08\0\x12\x04\xa8\x01\x1fE\n;\n\x04\x04\x02\x02\x06\x12\
4215    \x04\xab\x01\x04I\x1a-\x20Required.\x20Schedule\x20with\x20monthly\x20ex\
4216    ecutions.\n\n\r\n\x05\x04\x02\x02\x06\x06\x12\x04\xab\x01\x04\x13\n\r\n\
4217    \x05\x04\x02\x02\x06\x01\x12\x04\xab\x01\x14\x1b\n\r\n\x05\x04\x02\x02\
4218    \x06\x03\x12\x04\xab\x01\x1e\x1f\n\r\n\x05\x04\x02\x02\x06\x08\x12\x04\
4219    \xab\x01\x20H\n\x10\n\x08\x04\x02\x02\x06\x08\x9c\x08\0\x12\x04\xab\x01!\
4220    G\nL\n\x04\x04\x02\x02\x07\x12\x06\xaf\x01\x02\xb0\x012\x1a<\x20Output\
4221    \x20only.\x20The\x20time\x20the\x20last\x20patch\x20job\x20ran\x20succes\
4222    sfully.\n\n\r\n\x05\x04\x02\x02\x07\x06\x12\x04\xaf\x01\x02\x1b\n\r\n\
4223    \x05\x04\x02\x02\x07\x01\x12\x04\xaf\x01\x1c-\n\r\n\x05\x04\x02\x02\x07\
4224    \x03\x12\x04\xaf\x0101\n\r\n\x05\x04\x02\x02\x07\x08\x12\x04\xb0\x01\x06\
4225    1\n\x10\n\x08\x04\x02\x02\x07\x08\x9c\x08\0\x12\x04\xb0\x01\x070\nO\n\
4226    \x04\x04\x02\x02\x08\x12\x06\xb3\x01\x02\xb4\x012\x1a?\x20Output\x20only\
4227    .\x20The\x20time\x20the\x20next\x20patch\x20job\x20is\x20scheduled\x20to\
4228    \x20run.\n\n\r\n\x05\x04\x02\x02\x08\x06\x12\x04\xb3\x01\x02\x1b\n\r\n\
4229    \x05\x04\x02\x02\x08\x01\x12\x04\xb3\x01\x1c-\n\r\n\x05\x04\x02\x02\x08\
4230    \x03\x12\x04\xb3\x0102\n\r\n\x05\x04\x02\x02\x08\x08\x12\x04\xb4\x01\x06\
4231    1\n\x10\n\x08\x04\x02\x02\x08\x08\x9c\x08\0\x12\x04\xb4\x01\x070\n-\n\
4232    \x02\x04\x03\x12\x06\xb8\x01\0\xbc\x01\x01\x1a\x1f\x20Represents\x20a\
4233    \x20weekly\x20schedule.\n\n\x0b\n\x03\x04\x03\x01\x12\x04\xb8\x01\x08\
4234    \x16\n,\n\x04\x04\x03\x02\0\x12\x06\xba\x01\x02\xbb\x01/\x1a\x1c\x20Requ\
4235    ired.\x20Day\x20of\x20the\x20week.\n\n\r\n\x05\x04\x03\x02\0\x06\x12\x04\
4236    \xba\x01\x02\x17\n\r\n\x05\x04\x03\x02\0\x01\x12\x04\xba\x01\x18#\n\r\n\
4237    \x05\x04\x03\x02\0\x03\x12\x04\xba\x01&'\n\r\n\x05\x04\x03\x02\0\x08\x12\
4238    \x04\xbb\x01\x06.\n\x10\n\x08\x04\x03\x02\0\x08\x9c\x08\0\x12\x04\xbb\
4239    \x01\x07-\n\x9d\x01\n\x02\x04\x04\x12\x06\xc0\x01\0\xcd\x01\x01\x1a\x8e\
4240    \x01\x20Represents\x20a\x20monthly\x20schedule.\x20An\x20example\x20of\
4241    \x20a\x20valid\x20monthly\x20schedule\x20is\n\x20\"on\x20the\x20third\
4242    \x20Tuesday\x20of\x20the\x20month\"\x20or\x20\"on\x20the\x2015th\x20of\
4243    \x20the\x20month\".\n\n\x0b\n\x03\x04\x04\x01\x12\x04\xc0\x01\x08\x17\n%\
4244    \n\x04\x04\x04\x08\0\x12\x06\xc2\x01\x02\xcc\x01\x03\x1a\x15\x20One\x20d\
4245    ay\x20in\x20a\x20month.\n\n\r\n\x05\x04\x04\x08\0\x01\x12\x04\xc2\x01\
4246    \x08\x14\n0\n\x04\x04\x04\x02\0\x12\x06\xc4\x01\x04\xc5\x011\x1a\x20\x20\
4247    Required.\x20Week\x20day\x20in\x20a\x20month.\n\n\r\n\x05\x04\x04\x02\0\
4248    \x06\x12\x04\xc4\x01\x04\x12\n\r\n\x05\x04\x04\x02\0\x01\x12\x04\xc4\x01\
4249    \x13$\n\r\n\x05\x04\x04\x02\0\x03\x12\x04\xc4\x01'(\n\r\n\x05\x04\x04\
4250    \x02\0\x08\x12\x04\xc5\x01\x080\n\x10\n\x08\x04\x04\x02\0\x08\x9c\x08\0\
4251    \x12\x04\xc5\x01\t/\n\x97\x02\n\x04\x04\x04\x02\x01\x12\x04\xcb\x01\x04A\
4252    \x1a\x88\x02\x20Required.\x20One\x20day\x20of\x20the\x20month.\x201-31\
4253    \x20indicates\x20the\x201st\x20to\x20the\x2031st\x20day.\n\x20-1\x20indi\
4254    cates\x20the\x20last\x20day\x20of\x20the\x20month.\x20Months\x20without\
4255    \x20the\x20target\x20day\n\x20will\x20be\x20skipped.\x20For\x20example,\
4256    \x20a\x20schedule\x20to\x20run\x20\"every\x20month\x20on\x20the\x2031st\
4257    \"\n\x20will\x20not\x20run\x20in\x20February,\x20April,\x20June,\x20etc.\
4258    \n\n\r\n\x05\x04\x04\x02\x01\x05\x12\x04\xcb\x01\x04\t\n\r\n\x05\x04\x04\
4259    \x02\x01\x01\x12\x04\xcb\x01\n\x13\n\r\n\x05\x04\x04\x02\x01\x03\x12\x04\
4260    \xcb\x01\x16\x17\n\r\n\x05\x04\x04\x02\x01\x08\x12\x04\xcb\x01\x18@\n\
4261    \x10\n\x08\x04\x04\x02\x01\x08\x9c\x08\0\x12\x04\xcb\x01\x19?\nS\n\x02\
4262    \x04\x05\x12\x06\xd0\x01\0\xe1\x01\x01\x1aE\x20Represents\x20one\x20week\
4263    \x20day\x20in\x20a\x20month.\x20An\x20example\x20is\x20\"the\x204th\x20S\
4264    unday\".\n\n\x0b\n\x03\x04\x05\x01\x12\x04\xd0\x01\x08\x16\n\x8b\x01\n\
4265    \x04\x04\x05\x02\0\x12\x04\xd3\x01\x02B\x1a}\x20Required.\x20Week\x20num\
4266    ber\x20in\x20a\x20month.\x201-4\x20indicates\x20the\x201st\x20to\x204th\
4267    \x20week\x20of\x20the\n\x20month.\x20-1\x20indicates\x20the\x20last\x20w\
4268    eek\x20of\x20the\x20month.\n\n\r\n\x05\x04\x05\x02\0\x05\x12\x04\xd3\x01\
4269    \x02\x07\n\r\n\x05\x04\x05\x02\0\x01\x12\x04\xd3\x01\x08\x14\n\r\n\x05\
4270    \x04\x05\x02\0\x03\x12\x04\xd3\x01\x17\x18\n\r\n\x05\x04\x05\x02\0\x08\
4271    \x12\x04\xd3\x01\x19A\n\x10\n\x08\x04\x05\x02\0\x08\x9c\x08\0\x12\x04\
4272    \xd3\x01\x1a@\n.\n\x04\x04\x05\x02\x01\x12\x06\xd6\x01\x02\xd7\x01/\x1a\
4273    \x1e\x20Required.\x20A\x20day\x20of\x20the\x20week.\n\n\r\n\x05\x04\x05\
4274    \x02\x01\x06\x12\x04\xd6\x01\x02\x17\n\r\n\x05\x04\x05\x02\x01\x01\x12\
4275    \x04\xd6\x01\x18#\n\r\n\x05\x04\x05\x02\x01\x03\x12\x04\xd6\x01&'\n\r\n\
4276    \x05\x04\x05\x02\x01\x08\x12\x04\xd7\x01\x06.\n\x10\n\x08\x04\x05\x02\
4277    \x01\x08\x9c\x08\0\x12\x04\xd7\x01\x07-\n\x94\x04\n\x04\x04\x05\x02\x02\
4278    \x12\x04\xe0\x01\x02@\x1a\x85\x04\x20Optional.\x20Represents\x20the\x20n\
4279    umber\x20of\x20days\x20before\x20or\x20after\x20the\x20given\x20week\x20\
4280    day\n\x20of\x20month\x20that\x20the\x20patch\x20deployment\x20is\x20sche\
4281    duled\x20for.\x20For\x20example\x20if\n\x20`week_ordinal`\x20and\x20`day\
4282    _of_week`\x20values\x20point\x20to\x20the\x20second\x20day\x20of\x20the\
4283    \n\x20month\x20and\x20this\x20`day_offset`\x20value\x20is\x20set\x20to\
4284    \x20`3`,\x20the\x20patch\x20deployment\x20takes\n\x20place\x20three\x20d\
4285    ays\x20after\x20the\x20second\x20Tuesday\x20of\x20the\x20month.\x20If\
4286    \x20this\x20value\x20is\n\x20negative,\x20for\x20example\x20-5,\x20the\
4287    \x20patches\x20are\x20deployed\x20five\x20days\x20before\x20before\n\x20\
4288    the\x20second\x20Tuesday\x20of\x20the\x20month.\x20Allowed\x20values\x20\
4289    are\x20in\x20range\x20[-30,\x2030].\n\n\r\n\x05\x04\x05\x02\x02\x05\x12\
4290    \x04\xe0\x01\x02\x07\n\r\n\x05\x04\x05\x02\x02\x01\x12\x04\xe0\x01\x08\
4291    \x12\n\r\n\x05\x04\x05\x02\x02\x03\x12\x04\xe0\x01\x15\x16\n\r\n\x05\x04\
4292    \x05\x02\x02\x08\x12\x04\xe0\x01\x17?\n\x10\n\x08\x04\x05\x02\x02\x08\
4293    \x9c\x08\0\x12\x04\xe0\x01\x18>\nB\n\x02\x04\x06\x12\x06\xe4\x01\0\xf9\
4294    \x01\x01\x1a4\x20A\x20request\x20message\x20for\x20creating\x20a\x20patc\
4295    h\x20deployment.\n\n\x0b\n\x03\x04\x06\x01\x12\x04\xe4\x01\x08$\nd\n\x04\
4296    \x04\x06\x02\0\x12\x06\xe7\x01\x02\xec\x01\x04\x1aT\x20Required.\x20The\
4297    \x20project\x20to\x20apply\x20this\x20patch\x20deployment\x20to\x20in\
4298    \x20the\x20form\n\x20`projects/*`.\n\n\r\n\x05\x04\x06\x02\0\x05\x12\x04\
4299    \xe7\x01\x02\x08\n\r\n\x05\x04\x06\x02\0\x01\x12\x04\xe7\x01\t\x0f\n\r\n\
4300    \x05\x04\x06\x02\0\x03\x12\x04\xe7\x01\x12\x13\n\x0f\n\x05\x04\x06\x02\0\
4301    \x08\x12\x06\xe7\x01\x14\xec\x01\x03\n\x10\n\x08\x04\x06\x02\0\x08\x9c\
4302    \x08\0\x12\x04\xe8\x01\x04*\n\x11\n\x07\x04\x06\x02\0\x08\x9f\x08\x12\
4303    \x06\xe9\x01\x04\xeb\x01\x05\n\xc7\x02\n\x04\x04\x06\x02\x01\x12\x04\xf5\
4304    \x01\x02J\x1a\xb8\x02\x20Required.\x20A\x20name\x20for\x20the\x20patch\
4305    \x20deployment\x20in\x20the\x20project.\x20When\x20creating\x20a\n\x20na\
4306    me\x20the\x20following\x20rules\x20apply:\n\x20*\x20Must\x20contain\x20o\
4307    nly\x20lowercase\x20letters,\x20numbers,\x20and\x20hyphens.\n\x20*\x20Mu\
4308    st\x20start\x20with\x20a\x20letter.\n\x20*\x20Must\x20be\x20between\x201\
4309    -63\x20characters.\n\x20*\x20Must\x20end\x20with\x20a\x20number\x20or\
4310    \x20a\x20letter.\n\x20*\x20Must\x20be\x20unique\x20within\x20the\x20proj\
4311    ect.\n\n\r\n\x05\x04\x06\x02\x01\x05\x12\x04\xf5\x01\x02\x08\n\r\n\x05\
4312    \x04\x06\x02\x01\x01\x12\x04\xf5\x01\t\x1c\n\r\n\x05\x04\x06\x02\x01\x03\
4313    \x12\x04\xf5\x01\x1f\x20\n\r\n\x05\x04\x06\x02\x01\x08\x12\x04\xf5\x01!I\
4314    \n\x10\n\x08\x04\x06\x02\x01\x08\x9c\x08\0\x12\x04\xf5\x01\"H\n9\n\x04\
4315    \x04\x06\x02\x02\x12\x04\xf8\x01\x02P\x1a+\x20Required.\x20The\x20patch\
4316    \x20deployment\x20to\x20create.\n\n\r\n\x05\x04\x06\x02\x02\x06\x12\x04\
4317    \xf8\x01\x02\x11\n\r\n\x05\x04\x06\x02\x02\x01\x12\x04\xf8\x01\x12\"\n\r\
4318    \n\x05\x04\x06\x02\x02\x03\x12\x04\xf8\x01%&\n\r\n\x05\x04\x06\x02\x02\
4319    \x08\x12\x04\xf8\x01'O\n\x10\n\x08\x04\x06\x02\x02\x08\x9c\x08\0\x12\x04\
4320    \xf8\x01(N\nD\n\x02\x04\x07\x12\x06\xfc\x01\0\x85\x02\x01\x1a6\x20A\x20r\
4321    equest\x20message\x20for\x20retrieving\x20a\x20patch\x20deployment.\n\n\
4322    \x0b\n\x03\x04\x07\x01\x12\x04\xfc\x01\x08!\ns\n\x04\x04\x07\x02\0\x12\
4323    \x06\xff\x01\x02\x84\x02\x04\x1ac\x20Required.\x20The\x20resource\x20nam\
4324    e\x20of\x20the\x20patch\x20deployment\x20in\x20the\x20form\n\x20`project\
4325    s/*/patchDeployments/*`.\n\n\r\n\x05\x04\x07\x02\0\x05\x12\x04\xff\x01\
4326    \x02\x08\n\r\n\x05\x04\x07\x02\0\x01\x12\x04\xff\x01\t\r\n\r\n\x05\x04\
4327    \x07\x02\0\x03\x12\x04\xff\x01\x10\x11\n\x0f\n\x05\x04\x07\x02\0\x08\x12\
4328    \x06\xff\x01\x12\x84\x02\x03\n\x10\n\x08\x04\x07\x02\0\x08\x9c\x08\0\x12\
4329    \x04\x80\x02\x04*\n\x11\n\x07\x04\x07\x02\0\x08\x9f\x08\x12\x06\x81\x02\
4330    \x04\x83\x02\x05\n@\n\x02\x04\x08\x12\x06\x88\x02\0\x99\x02\x01\x1a2\x20\
4331    A\x20request\x20message\x20for\x20listing\x20patch\x20deployments.\n\n\
4332    \x0b\n\x03\x04\x08\x01\x12\x04\x88\x02\x08#\nU\n\x04\x04\x08\x02\0\x12\
4333    \x06\x8a\x02\x02\x8f\x02\x04\x1aE\x20Required.\x20The\x20resource\x20nam\
4334    e\x20of\x20the\x20parent\x20in\x20the\x20form\x20`projects/*`.\n\n\r\n\
4335    \x05\x04\x08\x02\0\x05\x12\x04\x8a\x02\x02\x08\n\r\n\x05\x04\x08\x02\0\
4336    \x01\x12\x04\x8a\x02\t\x0f\n\r\n\x05\x04\x08\x02\0\x03\x12\x04\x8a\x02\
4337    \x12\x13\n\x0f\n\x05\x04\x08\x02\0\x08\x12\x06\x8a\x02\x14\x8f\x02\x03\n\
4338    \x10\n\x08\x04\x08\x02\0\x08\x9c\x08\0\x12\x04\x8b\x02\x04*\n\x11\n\x07\
4339    \x04\x08\x02\0\x08\x9f\x08\x12\x06\x8c\x02\x04\x8e\x02\x05\n]\n\x04\x04\
4340    \x08\x02\x01\x12\x04\x93\x02\x02?\x1aO\x20Optional.\x20The\x20maximum\
4341    \x20number\x20of\x20patch\x20deployments\x20to\x20return.\x20Default\x20\
4342    is\n\x20100.\n\n\r\n\x05\x04\x08\x02\x01\x05\x12\x04\x93\x02\x02\x07\n\r\
4343    \n\x05\x04\x08\x02\x01\x01\x12\x04\x93\x02\x08\x11\n\r\n\x05\x04\x08\x02\
4344    \x01\x03\x12\x04\x93\x02\x14\x15\n\r\n\x05\x04\x08\x02\x01\x08\x12\x04\
4345    \x93\x02\x16>\n\x10\n\x08\x04\x08\x02\x01\x08\x9c\x08\0\x12\x04\x93\x02\
4346    \x17=\n\x9d\x01\n\x04\x04\x08\x02\x02\x12\x04\x98\x02\x02A\x1a\x8e\x01\
4347    \x20Optional.\x20A\x20pagination\x20token\x20returned\x20from\x20a\x20pr\
4348    evious\x20call\x20to\n\x20ListPatchDeployments\x20that\x20indicates\x20w\
4349    here\x20this\x20listing\x20should\x20continue\n\x20from.\n\n\r\n\x05\x04\
4350    \x08\x02\x02\x05\x12\x04\x98\x02\x02\x08\n\r\n\x05\x04\x08\x02\x02\x01\
4351    \x12\x04\x98\x02\t\x13\n\r\n\x05\x04\x08\x02\x02\x03\x12\x04\x98\x02\x16\
4352    \x17\n\r\n\x05\x04\x08\x02\x02\x08\x12\x04\x98\x02\x18@\n\x10\n\x08\x04\
4353    \x08\x02\x02\x08\x9c\x08\0\x12\x04\x98\x02\x19?\nA\n\x02\x04\t\x12\x06\
4354    \x9c\x02\0\xa3\x02\x01\x1a3\x20A\x20response\x20message\x20for\x20listin\
4355    g\x20patch\x20deployments.\n\n\x0b\n\x03\x04\t\x01\x12\x04\x9c\x02\x08$\
4356    \n.\n\x04\x04\t\x02\0\x12\x04\x9e\x02\x021\x1a\x20\x20The\x20list\x20of\
4357    \x20patch\x20deployments.\n\n\r\n\x05\x04\t\x02\0\x04\x12\x04\x9e\x02\
4358    \x02\n\n\r\n\x05\x04\t\x02\0\x06\x12\x04\x9e\x02\x0b\x1a\n\r\n\x05\x04\t\
4359    \x02\0\x01\x12\x04\x9e\x02\x1b,\n\r\n\x05\x04\t\x02\0\x03\x12\x04\x9e\
4360    \x02/0\n_\n\x04\x04\t\x02\x01\x12\x04\xa2\x02\x02\x1d\x1aQ\x20A\x20pagin\
4361    ation\x20token\x20that\x20can\x20be\x20used\x20to\x20get\x20the\x20next\
4362    \x20page\x20of\x20patch\n\x20deployments.\n\n\r\n\x05\x04\t\x02\x01\x05\
4363    \x12\x04\xa2\x02\x02\x08\n\r\n\x05\x04\t\x02\x01\x01\x12\x04\xa2\x02\t\
4364    \x18\n\r\n\x05\x04\t\x02\x01\x03\x12\x04\xa2\x02\x1b\x1c\nB\n\x02\x04\n\
4365    \x12\x06\xa6\x02\0\xaf\x02\x01\x1a4\x20A\x20request\x20message\x20for\
4366    \x20deleting\x20a\x20patch\x20deployment.\n\n\x0b\n\x03\x04\n\x01\x12\
4367    \x04\xa6\x02\x08$\ns\n\x04\x04\n\x02\0\x12\x06\xa9\x02\x02\xae\x02\x04\
4368    \x1ac\x20Required.\x20The\x20resource\x20name\x20of\x20the\x20patch\x20d\
4369    eployment\x20in\x20the\x20form\n\x20`projects/*/patchDeployments/*`.\n\n\
4370    \r\n\x05\x04\n\x02\0\x05\x12\x04\xa9\x02\x02\x08\n\r\n\x05\x04\n\x02\0\
4371    \x01\x12\x04\xa9\x02\t\r\n\r\n\x05\x04\n\x02\0\x03\x12\x04\xa9\x02\x10\
4372    \x11\n\x0f\n\x05\x04\n\x02\0\x08\x12\x06\xa9\x02\x12\xae\x02\x03\n\x10\n\
4373    \x08\x04\n\x02\0\x08\x9c\x08\0\x12\x04\xaa\x02\x04*\n\x11\n\x07\x04\n\
4374    \x02\0\x08\x9f\x08\x12\x06\xab\x02\x04\xad\x02\x05\nB\n\x02\x04\x0b\x12\
4375    \x06\xb2\x02\0\xba\x02\x01\x1a4\x20A\x20request\x20message\x20for\x20upd\
4376    ating\x20a\x20patch\x20deployment.\n\n\x0b\n\x03\x04\x0b\x01\x12\x04\xb2\
4377    \x02\x08$\n9\n\x04\x04\x0b\x02\0\x12\x04\xb4\x02\x02P\x1a+\x20Required.\
4378    \x20The\x20patch\x20deployment\x20to\x20Update.\n\n\r\n\x05\x04\x0b\x02\
4379    \0\x06\x12\x04\xb4\x02\x02\x11\n\r\n\x05\x04\x0b\x02\0\x01\x12\x04\xb4\
4380    \x02\x12\"\n\r\n\x05\x04\x0b\x02\0\x03\x12\x04\xb4\x02%&\n\r\n\x05\x04\
4381    \x0b\x02\0\x08\x12\x04\xb4\x02'O\n\x10\n\x08\x04\x0b\x02\0\x08\x9c\x08\0\
4382    \x12\x04\xb4\x02(N\nm\n\x04\x04\x0b\x02\x01\x12\x06\xb8\x02\x02\xb9\x02/\
4383    \x1a]\x20Optional.\x20Field\x20mask\x20that\x20controls\x20which\x20fiel\
4384    ds\x20of\x20the\x20patch\x20deployment\n\x20should\x20be\x20updated.\n\n\
4385    \r\n\x05\x04\x0b\x02\x01\x06\x12\x04\xb8\x02\x02\x1b\n\r\n\x05\x04\x0b\
4386    \x02\x01\x01\x12\x04\xb8\x02\x1c'\n\r\n\x05\x04\x0b\x02\x01\x03\x12\x04\
4387    \xb8\x02*+\n\r\n\x05\x04\x0b\x02\x01\x08\x12\x04\xb9\x02\x06.\n\x10\n\
4388    \x08\x04\x0b\x02\x01\x08\x9c\x08\0\x12\x04\xb9\x02\x07-\nA\n\x02\x04\x0c\
4389    \x12\x06\xbd\x02\0\xc6\x02\x01\x1a3\x20A\x20request\x20message\x20for\
4390    \x20pausing\x20a\x20patch\x20deployment.\n\n\x0b\n\x03\x04\x0c\x01\x12\
4391    \x04\xbd\x02\x08#\ns\n\x04\x04\x0c\x02\0\x12\x06\xc0\x02\x02\xc5\x02\x04\
4392    \x1ac\x20Required.\x20The\x20resource\x20name\x20of\x20the\x20patch\x20d\
4393    eployment\x20in\x20the\x20form\n\x20`projects/*/patchDeployments/*`.\n\n\
4394    \r\n\x05\x04\x0c\x02\0\x05\x12\x04\xc0\x02\x02\x08\n\r\n\x05\x04\x0c\x02\
4395    \0\x01\x12\x04\xc0\x02\t\r\n\r\n\x05\x04\x0c\x02\0\x03\x12\x04\xc0\x02\
4396    \x10\x11\n\x0f\n\x05\x04\x0c\x02\0\x08\x12\x06\xc0\x02\x12\xc5\x02\x03\n\
4397    \x10\n\x08\x04\x0c\x02\0\x08\x9c\x08\0\x12\x04\xc1\x02\x04*\n\x11\n\x07\
4398    \x04\x0c\x02\0\x08\x9f\x08\x12\x06\xc2\x02\x04\xc4\x02\x05\nB\n\x02\x04\
4399    \r\x12\x06\xc9\x02\0\xd2\x02\x01\x1a4\x20A\x20request\x20message\x20for\
4400    \x20resuming\x20a\x20patch\x20deployment.\n\n\x0b\n\x03\x04\r\x01\x12\
4401    \x04\xc9\x02\x08$\ns\n\x04\x04\r\x02\0\x12\x06\xcc\x02\x02\xd1\x02\x04\
4402    \x1ac\x20Required.\x20The\x20resource\x20name\x20of\x20the\x20patch\x20d\
4403    eployment\x20in\x20the\x20form\n\x20`projects/*/patchDeployments/*`.\n\n\
4404    \r\n\x05\x04\r\x02\0\x05\x12\x04\xcc\x02\x02\x08\n\r\n\x05\x04\r\x02\0\
4405    \x01\x12\x04\xcc\x02\t\r\n\r\n\x05\x04\r\x02\0\x03\x12\x04\xcc\x02\x10\
4406    \x11\n\x0f\n\x05\x04\r\x02\0\x08\x12\x06\xcc\x02\x12\xd1\x02\x03\n\x10\n\
4407    \x08\x04\r\x02\0\x08\x9c\x08\0\x12\x04\xcd\x02\x04*\n\x11\n\x07\x04\r\
4408    \x02\0\x08\x9f\x08\x12\x06\xce\x02\x04\xd0\x02\x05b\x06proto3\
4409";
4410
4411static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
4412
4413fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
4414    ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
4415}
4416
4417pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
4418    file_descriptor_proto_lazy.get(|| {
4419        parse_descriptor_proto()
4420    })
4421}