1#![allow(unknown_lints)]
6#![allow(clippy::all)]
7
8#![allow(unused_attributes)]
9#![cfg_attr(rustfmt, rustfmt::skip)]
10
11#![allow(box_pointers)]
12#![allow(dead_code)]
13#![allow(missing_docs)]
14#![allow(non_camel_case_types)]
15#![allow(non_snake_case)]
16#![allow(non_upper_case_globals)]
17#![allow(trivial_casts)]
18#![allow(unused_imports)]
19#![allow(unused_results)]
20#[derive(PartialEq,Clone,Default)]
27pub struct PatchConfig {
28 pub reboot_config: PatchConfig_RebootConfig,
30 pub retry_strategy: ::protobuf::SingularPtrField<RetryStrategy>,
31 pub apt: ::protobuf::SingularPtrField<AptSettings>,
32 pub yum: ::protobuf::SingularPtrField<YumSettings>,
33 pub goo: ::protobuf::SingularPtrField<GooSettings>,
34 pub zypper: ::protobuf::SingularPtrField<ZypperSettings>,
35 pub windows_update: ::protobuf::SingularPtrField<WindowsUpdateSettings>,
36 pub pre_step: ::protobuf::SingularPtrField<ExecStep>,
37 pub post_step: ::protobuf::SingularPtrField<ExecStep>,
38 pub mig_instances_allowed: bool,
39 pub unknown_fields: ::protobuf::UnknownFields,
41 pub cached_size: ::protobuf::CachedSize,
42}
43
44impl<'a> ::std::default::Default for &'a PatchConfig {
45 fn default() -> &'a PatchConfig {
46 <PatchConfig as ::protobuf::Message>::default_instance()
47 }
48}
49
50impl PatchConfig {
51 pub fn new() -> PatchConfig {
52 ::std::default::Default::default()
53 }
54
55 pub fn get_reboot_config(&self) -> PatchConfig_RebootConfig {
59 self.reboot_config
60 }
61 pub fn clear_reboot_config(&mut self) {
62 self.reboot_config = PatchConfig_RebootConfig::REBOOT_CONFIG_UNSPECIFIED;
63 }
64
65 pub fn set_reboot_config(&mut self, v: PatchConfig_RebootConfig) {
67 self.reboot_config = v;
68 }
69
70 pub fn get_retry_strategy(&self) -> &RetryStrategy {
74 self.retry_strategy.as_ref().unwrap_or_else(|| <RetryStrategy as ::protobuf::Message>::default_instance())
75 }
76 pub fn clear_retry_strategy(&mut self) {
77 self.retry_strategy.clear();
78 }
79
80 pub fn has_retry_strategy(&self) -> bool {
81 self.retry_strategy.is_some()
82 }
83
84 pub fn set_retry_strategy(&mut self, v: RetryStrategy) {
86 self.retry_strategy = ::protobuf::SingularPtrField::some(v);
87 }
88
89 pub fn mut_retry_strategy(&mut self) -> &mut RetryStrategy {
92 if self.retry_strategy.is_none() {
93 self.retry_strategy.set_default();
94 }
95 self.retry_strategy.as_mut().unwrap()
96 }
97
98 pub fn take_retry_strategy(&mut self) -> RetryStrategy {
100 self.retry_strategy.take().unwrap_or_else(|| RetryStrategy::new())
101 }
102
103 pub fn get_apt(&self) -> &AptSettings {
107 self.apt.as_ref().unwrap_or_else(|| <AptSettings as ::protobuf::Message>::default_instance())
108 }
109 pub fn clear_apt(&mut self) {
110 self.apt.clear();
111 }
112
113 pub fn has_apt(&self) -> bool {
114 self.apt.is_some()
115 }
116
117 pub fn set_apt(&mut self, v: AptSettings) {
119 self.apt = ::protobuf::SingularPtrField::some(v);
120 }
121
122 pub fn mut_apt(&mut self) -> &mut AptSettings {
125 if self.apt.is_none() {
126 self.apt.set_default();
127 }
128 self.apt.as_mut().unwrap()
129 }
130
131 pub fn take_apt(&mut self) -> AptSettings {
133 self.apt.take().unwrap_or_else(|| AptSettings::new())
134 }
135
136 pub fn get_yum(&self) -> &YumSettings {
140 self.yum.as_ref().unwrap_or_else(|| <YumSettings as ::protobuf::Message>::default_instance())
141 }
142 pub fn clear_yum(&mut self) {
143 self.yum.clear();
144 }
145
146 pub fn has_yum(&self) -> bool {
147 self.yum.is_some()
148 }
149
150 pub fn set_yum(&mut self, v: YumSettings) {
152 self.yum = ::protobuf::SingularPtrField::some(v);
153 }
154
155 pub fn mut_yum(&mut self) -> &mut YumSettings {
158 if self.yum.is_none() {
159 self.yum.set_default();
160 }
161 self.yum.as_mut().unwrap()
162 }
163
164 pub fn take_yum(&mut self) -> YumSettings {
166 self.yum.take().unwrap_or_else(|| YumSettings::new())
167 }
168
169 pub fn get_goo(&self) -> &GooSettings {
173 self.goo.as_ref().unwrap_or_else(|| <GooSettings as ::protobuf::Message>::default_instance())
174 }
175 pub fn clear_goo(&mut self) {
176 self.goo.clear();
177 }
178
179 pub fn has_goo(&self) -> bool {
180 self.goo.is_some()
181 }
182
183 pub fn set_goo(&mut self, v: GooSettings) {
185 self.goo = ::protobuf::SingularPtrField::some(v);
186 }
187
188 pub fn mut_goo(&mut self) -> &mut GooSettings {
191 if self.goo.is_none() {
192 self.goo.set_default();
193 }
194 self.goo.as_mut().unwrap()
195 }
196
197 pub fn take_goo(&mut self) -> GooSettings {
199 self.goo.take().unwrap_or_else(|| GooSettings::new())
200 }
201
202 pub fn get_zypper(&self) -> &ZypperSettings {
206 self.zypper.as_ref().unwrap_or_else(|| <ZypperSettings as ::protobuf::Message>::default_instance())
207 }
208 pub fn clear_zypper(&mut self) {
209 self.zypper.clear();
210 }
211
212 pub fn has_zypper(&self) -> bool {
213 self.zypper.is_some()
214 }
215
216 pub fn set_zypper(&mut self, v: ZypperSettings) {
218 self.zypper = ::protobuf::SingularPtrField::some(v);
219 }
220
221 pub fn mut_zypper(&mut self) -> &mut ZypperSettings {
224 if self.zypper.is_none() {
225 self.zypper.set_default();
226 }
227 self.zypper.as_mut().unwrap()
228 }
229
230 pub fn take_zypper(&mut self) -> ZypperSettings {
232 self.zypper.take().unwrap_or_else(|| ZypperSettings::new())
233 }
234
235 pub fn get_windows_update(&self) -> &WindowsUpdateSettings {
239 self.windows_update.as_ref().unwrap_or_else(|| <WindowsUpdateSettings as ::protobuf::Message>::default_instance())
240 }
241 pub fn clear_windows_update(&mut self) {
242 self.windows_update.clear();
243 }
244
245 pub fn has_windows_update(&self) -> bool {
246 self.windows_update.is_some()
247 }
248
249 pub fn set_windows_update(&mut self, v: WindowsUpdateSettings) {
251 self.windows_update = ::protobuf::SingularPtrField::some(v);
252 }
253
254 pub fn mut_windows_update(&mut self) -> &mut WindowsUpdateSettings {
257 if self.windows_update.is_none() {
258 self.windows_update.set_default();
259 }
260 self.windows_update.as_mut().unwrap()
261 }
262
263 pub fn take_windows_update(&mut self) -> WindowsUpdateSettings {
265 self.windows_update.take().unwrap_or_else(|| WindowsUpdateSettings::new())
266 }
267
268 pub fn get_pre_step(&self) -> &ExecStep {
272 self.pre_step.as_ref().unwrap_or_else(|| <ExecStep as ::protobuf::Message>::default_instance())
273 }
274 pub fn clear_pre_step(&mut self) {
275 self.pre_step.clear();
276 }
277
278 pub fn has_pre_step(&self) -> bool {
279 self.pre_step.is_some()
280 }
281
282 pub fn set_pre_step(&mut self, v: ExecStep) {
284 self.pre_step = ::protobuf::SingularPtrField::some(v);
285 }
286
287 pub fn mut_pre_step(&mut self) -> &mut ExecStep {
290 if self.pre_step.is_none() {
291 self.pre_step.set_default();
292 }
293 self.pre_step.as_mut().unwrap()
294 }
295
296 pub fn take_pre_step(&mut self) -> ExecStep {
298 self.pre_step.take().unwrap_or_else(|| ExecStep::new())
299 }
300
301 pub fn get_post_step(&self) -> &ExecStep {
305 self.post_step.as_ref().unwrap_or_else(|| <ExecStep as ::protobuf::Message>::default_instance())
306 }
307 pub fn clear_post_step(&mut self) {
308 self.post_step.clear();
309 }
310
311 pub fn has_post_step(&self) -> bool {
312 self.post_step.is_some()
313 }
314
315 pub fn set_post_step(&mut self, v: ExecStep) {
317 self.post_step = ::protobuf::SingularPtrField::some(v);
318 }
319
320 pub fn mut_post_step(&mut self) -> &mut ExecStep {
323 if self.post_step.is_none() {
324 self.post_step.set_default();
325 }
326 self.post_step.as_mut().unwrap()
327 }
328
329 pub fn take_post_step(&mut self) -> ExecStep {
331 self.post_step.take().unwrap_or_else(|| ExecStep::new())
332 }
333
334 pub fn get_mig_instances_allowed(&self) -> bool {
338 self.mig_instances_allowed
339 }
340 pub fn clear_mig_instances_allowed(&mut self) {
341 self.mig_instances_allowed = false;
342 }
343
344 pub fn set_mig_instances_allowed(&mut self, v: bool) {
346 self.mig_instances_allowed = v;
347 }
348}
349
350impl ::protobuf::Message for PatchConfig {
351 fn is_initialized(&self) -> bool {
352 for v in &self.retry_strategy {
353 if !v.is_initialized() {
354 return false;
355 }
356 };
357 for v in &self.apt {
358 if !v.is_initialized() {
359 return false;
360 }
361 };
362 for v in &self.yum {
363 if !v.is_initialized() {
364 return false;
365 }
366 };
367 for v in &self.goo {
368 if !v.is_initialized() {
369 return false;
370 }
371 };
372 for v in &self.zypper {
373 if !v.is_initialized() {
374 return false;
375 }
376 };
377 for v in &self.windows_update {
378 if !v.is_initialized() {
379 return false;
380 }
381 };
382 for v in &self.pre_step {
383 if !v.is_initialized() {
384 return false;
385 }
386 };
387 for v in &self.post_step {
388 if !v.is_initialized() {
389 return false;
390 }
391 };
392 true
393 }
394
395 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
396 while !is.eof()? {
397 let (field_number, wire_type) = is.read_tag_unpack()?;
398 match field_number {
399 1 => {
400 ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.reboot_config, 1, &mut self.unknown_fields)?
401 },
402 2 => {
403 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.retry_strategy)?;
404 },
405 3 => {
406 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.apt)?;
407 },
408 4 => {
409 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.yum)?;
410 },
411 5 => {
412 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.goo)?;
413 },
414 6 => {
415 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.zypper)?;
416 },
417 7 => {
418 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.windows_update)?;
419 },
420 8 => {
421 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.pre_step)?;
422 },
423 9 => {
424 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.post_step)?;
425 },
426 10 => {
427 if wire_type != ::protobuf::wire_format::WireTypeVarint {
428 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
429 }
430 let tmp = is.read_bool()?;
431 self.mig_instances_allowed = tmp;
432 },
433 _ => {
434 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
435 },
436 };
437 }
438 ::std::result::Result::Ok(())
439 }
440
441 #[allow(unused_variables)]
443 fn compute_size(&self) -> u32 {
444 let mut my_size = 0;
445 if self.reboot_config != PatchConfig_RebootConfig::REBOOT_CONFIG_UNSPECIFIED {
446 my_size += ::protobuf::rt::enum_size(1, self.reboot_config);
447 }
448 if let Some(ref v) = self.retry_strategy.as_ref() {
449 let len = v.compute_size();
450 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
451 }
452 if let Some(ref v) = self.apt.as_ref() {
453 let len = v.compute_size();
454 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
455 }
456 if let Some(ref v) = self.yum.as_ref() {
457 let len = v.compute_size();
458 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
459 }
460 if let Some(ref v) = self.goo.as_ref() {
461 let len = v.compute_size();
462 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
463 }
464 if let Some(ref v) = self.zypper.as_ref() {
465 let len = v.compute_size();
466 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
467 }
468 if let Some(ref v) = self.windows_update.as_ref() {
469 let len = v.compute_size();
470 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
471 }
472 if let Some(ref v) = self.pre_step.as_ref() {
473 let len = v.compute_size();
474 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
475 }
476 if let Some(ref v) = self.post_step.as_ref() {
477 let len = v.compute_size();
478 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
479 }
480 if self.mig_instances_allowed != false {
481 my_size += 2;
482 }
483 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
484 self.cached_size.set(my_size);
485 my_size
486 }
487
488 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
489 if self.reboot_config != PatchConfig_RebootConfig::REBOOT_CONFIG_UNSPECIFIED {
490 os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.reboot_config))?;
491 }
492 if let Some(ref v) = self.retry_strategy.as_ref() {
493 os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
494 os.write_raw_varint32(v.get_cached_size())?;
495 v.write_to_with_cached_sizes(os)?;
496 }
497 if let Some(ref v) = self.apt.as_ref() {
498 os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?;
499 os.write_raw_varint32(v.get_cached_size())?;
500 v.write_to_with_cached_sizes(os)?;
501 }
502 if let Some(ref v) = self.yum.as_ref() {
503 os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
504 os.write_raw_varint32(v.get_cached_size())?;
505 v.write_to_with_cached_sizes(os)?;
506 }
507 if let Some(ref v) = self.goo.as_ref() {
508 os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?;
509 os.write_raw_varint32(v.get_cached_size())?;
510 v.write_to_with_cached_sizes(os)?;
511 }
512 if let Some(ref v) = self.zypper.as_ref() {
513 os.write_tag(6, ::protobuf::wire_format::WireTypeLengthDelimited)?;
514 os.write_raw_varint32(v.get_cached_size())?;
515 v.write_to_with_cached_sizes(os)?;
516 }
517 if let Some(ref v) = self.windows_update.as_ref() {
518 os.write_tag(7, ::protobuf::wire_format::WireTypeLengthDelimited)?;
519 os.write_raw_varint32(v.get_cached_size())?;
520 v.write_to_with_cached_sizes(os)?;
521 }
522 if let Some(ref v) = self.pre_step.as_ref() {
523 os.write_tag(8, ::protobuf::wire_format::WireTypeLengthDelimited)?;
524 os.write_raw_varint32(v.get_cached_size())?;
525 v.write_to_with_cached_sizes(os)?;
526 }
527 if let Some(ref v) = self.post_step.as_ref() {
528 os.write_tag(9, ::protobuf::wire_format::WireTypeLengthDelimited)?;
529 os.write_raw_varint32(v.get_cached_size())?;
530 v.write_to_with_cached_sizes(os)?;
531 }
532 if self.mig_instances_allowed != false {
533 os.write_bool(10, self.mig_instances_allowed)?;
534 }
535 os.write_unknown_fields(self.get_unknown_fields())?;
536 ::std::result::Result::Ok(())
537 }
538
539 fn get_cached_size(&self) -> u32 {
540 self.cached_size.get()
541 }
542
543 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
544 &self.unknown_fields
545 }
546
547 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
548 &mut self.unknown_fields
549 }
550
551 fn as_any(&self) -> &dyn (::std::any::Any) {
552 self as &dyn (::std::any::Any)
553 }
554 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
555 self as &mut dyn (::std::any::Any)
556 }
557 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
558 self
559 }
560
561 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
562 Self::descriptor_static()
563 }
564
565 fn new() -> PatchConfig {
566 PatchConfig::new()
567 }
568
569 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
570 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
571 descriptor.get(|| {
572 let mut fields = ::std::vec::Vec::new();
573 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<PatchConfig_RebootConfig>>(
574 "reboot_config",
575 |m: &PatchConfig| { &m.reboot_config },
576 |m: &mut PatchConfig| { &mut m.reboot_config },
577 ));
578 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<RetryStrategy>>(
579 "retry_strategy",
580 |m: &PatchConfig| { &m.retry_strategy },
581 |m: &mut PatchConfig| { &mut m.retry_strategy },
582 ));
583 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<AptSettings>>(
584 "apt",
585 |m: &PatchConfig| { &m.apt },
586 |m: &mut PatchConfig| { &mut m.apt },
587 ));
588 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<YumSettings>>(
589 "yum",
590 |m: &PatchConfig| { &m.yum },
591 |m: &mut PatchConfig| { &mut m.yum },
592 ));
593 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<GooSettings>>(
594 "goo",
595 |m: &PatchConfig| { &m.goo },
596 |m: &mut PatchConfig| { &mut m.goo },
597 ));
598 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<ZypperSettings>>(
599 "zypper",
600 |m: &PatchConfig| { &m.zypper },
601 |m: &mut PatchConfig| { &mut m.zypper },
602 ));
603 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<WindowsUpdateSettings>>(
604 "windows_update",
605 |m: &PatchConfig| { &m.windows_update },
606 |m: &mut PatchConfig| { &mut m.windows_update },
607 ));
608 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<ExecStep>>(
609 "pre_step",
610 |m: &PatchConfig| { &m.pre_step },
611 |m: &mut PatchConfig| { &mut m.pre_step },
612 ));
613 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<ExecStep>>(
614 "post_step",
615 |m: &PatchConfig| { &m.post_step },
616 |m: &mut PatchConfig| { &mut m.post_step },
617 ));
618 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
619 "mig_instances_allowed",
620 |m: &PatchConfig| { &m.mig_instances_allowed },
621 |m: &mut PatchConfig| { &mut m.mig_instances_allowed },
622 ));
623 ::protobuf::reflect::MessageDescriptor::new_pb_name::<PatchConfig>(
624 "PatchConfig",
625 fields,
626 file_descriptor_proto()
627 )
628 })
629 }
630
631 fn default_instance() -> &'static PatchConfig {
632 static instance: ::protobuf::rt::LazyV2<PatchConfig> = ::protobuf::rt::LazyV2::INIT;
633 instance.get(PatchConfig::new)
634 }
635}
636
637impl ::protobuf::Clear for PatchConfig {
638 fn clear(&mut self) {
639 self.reboot_config = PatchConfig_RebootConfig::REBOOT_CONFIG_UNSPECIFIED;
640 self.retry_strategy.clear();
641 self.apt.clear();
642 self.yum.clear();
643 self.goo.clear();
644 self.zypper.clear();
645 self.windows_update.clear();
646 self.pre_step.clear();
647 self.post_step.clear();
648 self.mig_instances_allowed = false;
649 self.unknown_fields.clear();
650 }
651}
652
653impl ::std::fmt::Debug for PatchConfig {
654 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
655 ::protobuf::text_format::fmt(self, f)
656 }
657}
658
659impl ::protobuf::reflect::ProtobufValue for PatchConfig {
660 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
661 ::protobuf::reflect::ReflectValueRef::Message(self)
662 }
663}
664
665#[derive(Clone,PartialEq,Eq,Debug,Hash)]
666pub enum PatchConfig_RebootConfig {
667 REBOOT_CONFIG_UNSPECIFIED = 0,
668 DEFAULT = 1,
669 ALWAYS = 2,
670 NEVER = 3,
671}
672
673impl ::protobuf::ProtobufEnum for PatchConfig_RebootConfig {
674 fn value(&self) -> i32 {
675 *self as i32
676 }
677
678 fn from_i32(value: i32) -> ::std::option::Option<PatchConfig_RebootConfig> {
679 match value {
680 0 => ::std::option::Option::Some(PatchConfig_RebootConfig::REBOOT_CONFIG_UNSPECIFIED),
681 1 => ::std::option::Option::Some(PatchConfig_RebootConfig::DEFAULT),
682 2 => ::std::option::Option::Some(PatchConfig_RebootConfig::ALWAYS),
683 3 => ::std::option::Option::Some(PatchConfig_RebootConfig::NEVER),
684 _ => ::std::option::Option::None
685 }
686 }
687
688 fn values() -> &'static [Self] {
689 static values: &'static [PatchConfig_RebootConfig] = &[
690 PatchConfig_RebootConfig::REBOOT_CONFIG_UNSPECIFIED,
691 PatchConfig_RebootConfig::DEFAULT,
692 PatchConfig_RebootConfig::ALWAYS,
693 PatchConfig_RebootConfig::NEVER,
694 ];
695 values
696 }
697
698 fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
699 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
700 descriptor.get(|| {
701 ::protobuf::reflect::EnumDescriptor::new_pb_name::<PatchConfig_RebootConfig>("PatchConfig.RebootConfig", file_descriptor_proto())
702 })
703 }
704}
705
706impl ::std::marker::Copy for PatchConfig_RebootConfig {
707}
708
709impl ::std::default::Default for PatchConfig_RebootConfig {
710 fn default() -> Self {
711 PatchConfig_RebootConfig::REBOOT_CONFIG_UNSPECIFIED
712 }
713}
714
715impl ::protobuf::reflect::ProtobufValue for PatchConfig_RebootConfig {
716 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
717 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
718 }
719}
720
721#[derive(PartialEq,Clone,Default)]
722pub struct AptSettings {
723 pub field_type: AptSettings_Type,
725 pub excludes: ::protobuf::RepeatedField<::std::string::String>,
726 pub exclusive_packages: ::protobuf::RepeatedField<::std::string::String>,
727 pub unknown_fields: ::protobuf::UnknownFields,
729 pub cached_size: ::protobuf::CachedSize,
730}
731
732impl<'a> ::std::default::Default for &'a AptSettings {
733 fn default() -> &'a AptSettings {
734 <AptSettings as ::protobuf::Message>::default_instance()
735 }
736}
737
738impl AptSettings {
739 pub fn new() -> AptSettings {
740 ::std::default::Default::default()
741 }
742
743 pub fn get_field_type(&self) -> AptSettings_Type {
747 self.field_type
748 }
749 pub fn clear_field_type(&mut self) {
750 self.field_type = AptSettings_Type::TYPE_UNSPECIFIED;
751 }
752
753 pub fn set_field_type(&mut self, v: AptSettings_Type) {
755 self.field_type = v;
756 }
757
758 pub fn get_excludes(&self) -> &[::std::string::String] {
762 &self.excludes
763 }
764 pub fn clear_excludes(&mut self) {
765 self.excludes.clear();
766 }
767
768 pub fn set_excludes(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
770 self.excludes = v;
771 }
772
773 pub fn mut_excludes(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
775 &mut self.excludes
776 }
777
778 pub fn take_excludes(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
780 ::std::mem::replace(&mut self.excludes, ::protobuf::RepeatedField::new())
781 }
782
783 pub fn get_exclusive_packages(&self) -> &[::std::string::String] {
787 &self.exclusive_packages
788 }
789 pub fn clear_exclusive_packages(&mut self) {
790 self.exclusive_packages.clear();
791 }
792
793 pub fn set_exclusive_packages(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
795 self.exclusive_packages = v;
796 }
797
798 pub fn mut_exclusive_packages(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
800 &mut self.exclusive_packages
801 }
802
803 pub fn take_exclusive_packages(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
805 ::std::mem::replace(&mut self.exclusive_packages, ::protobuf::RepeatedField::new())
806 }
807}
808
809impl ::protobuf::Message for AptSettings {
810 fn is_initialized(&self) -> bool {
811 true
812 }
813
814 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
815 while !is.eof()? {
816 let (field_number, wire_type) = is.read_tag_unpack()?;
817 match field_number {
818 1 => {
819 ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.field_type, 1, &mut self.unknown_fields)?
820 },
821 2 => {
822 ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.excludes)?;
823 },
824 3 => {
825 ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.exclusive_packages)?;
826 },
827 _ => {
828 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
829 },
830 };
831 }
832 ::std::result::Result::Ok(())
833 }
834
835 #[allow(unused_variables)]
837 fn compute_size(&self) -> u32 {
838 let mut my_size = 0;
839 if self.field_type != AptSettings_Type::TYPE_UNSPECIFIED {
840 my_size += ::protobuf::rt::enum_size(1, self.field_type);
841 }
842 for value in &self.excludes {
843 my_size += ::protobuf::rt::string_size(2, &value);
844 };
845 for value in &self.exclusive_packages {
846 my_size += ::protobuf::rt::string_size(3, &value);
847 };
848 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
849 self.cached_size.set(my_size);
850 my_size
851 }
852
853 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
854 if self.field_type != AptSettings_Type::TYPE_UNSPECIFIED {
855 os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.field_type))?;
856 }
857 for v in &self.excludes {
858 os.write_string(2, &v)?;
859 };
860 for v in &self.exclusive_packages {
861 os.write_string(3, &v)?;
862 };
863 os.write_unknown_fields(self.get_unknown_fields())?;
864 ::std::result::Result::Ok(())
865 }
866
867 fn get_cached_size(&self) -> u32 {
868 self.cached_size.get()
869 }
870
871 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
872 &self.unknown_fields
873 }
874
875 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
876 &mut self.unknown_fields
877 }
878
879 fn as_any(&self) -> &dyn (::std::any::Any) {
880 self as &dyn (::std::any::Any)
881 }
882 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
883 self as &mut dyn (::std::any::Any)
884 }
885 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
886 self
887 }
888
889 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
890 Self::descriptor_static()
891 }
892
893 fn new() -> AptSettings {
894 AptSettings::new()
895 }
896
897 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
898 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
899 descriptor.get(|| {
900 let mut fields = ::std::vec::Vec::new();
901 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<AptSettings_Type>>(
902 "type",
903 |m: &AptSettings| { &m.field_type },
904 |m: &mut AptSettings| { &mut m.field_type },
905 ));
906 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
907 "excludes",
908 |m: &AptSettings| { &m.excludes },
909 |m: &mut AptSettings| { &mut m.excludes },
910 ));
911 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
912 "exclusive_packages",
913 |m: &AptSettings| { &m.exclusive_packages },
914 |m: &mut AptSettings| { &mut m.exclusive_packages },
915 ));
916 ::protobuf::reflect::MessageDescriptor::new_pb_name::<AptSettings>(
917 "AptSettings",
918 fields,
919 file_descriptor_proto()
920 )
921 })
922 }
923
924 fn default_instance() -> &'static AptSettings {
925 static instance: ::protobuf::rt::LazyV2<AptSettings> = ::protobuf::rt::LazyV2::INIT;
926 instance.get(AptSettings::new)
927 }
928}
929
930impl ::protobuf::Clear for AptSettings {
931 fn clear(&mut self) {
932 self.field_type = AptSettings_Type::TYPE_UNSPECIFIED;
933 self.excludes.clear();
934 self.exclusive_packages.clear();
935 self.unknown_fields.clear();
936 }
937}
938
939impl ::std::fmt::Debug for AptSettings {
940 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
941 ::protobuf::text_format::fmt(self, f)
942 }
943}
944
945impl ::protobuf::reflect::ProtobufValue for AptSettings {
946 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
947 ::protobuf::reflect::ReflectValueRef::Message(self)
948 }
949}
950
951#[derive(Clone,PartialEq,Eq,Debug,Hash)]
952pub enum AptSettings_Type {
953 TYPE_UNSPECIFIED = 0,
954 DIST = 1,
955 UPGRADE = 2,
956}
957
958impl ::protobuf::ProtobufEnum for AptSettings_Type {
959 fn value(&self) -> i32 {
960 *self as i32
961 }
962
963 fn from_i32(value: i32) -> ::std::option::Option<AptSettings_Type> {
964 match value {
965 0 => ::std::option::Option::Some(AptSettings_Type::TYPE_UNSPECIFIED),
966 1 => ::std::option::Option::Some(AptSettings_Type::DIST),
967 2 => ::std::option::Option::Some(AptSettings_Type::UPGRADE),
968 _ => ::std::option::Option::None
969 }
970 }
971
972 fn values() -> &'static [Self] {
973 static values: &'static [AptSettings_Type] = &[
974 AptSettings_Type::TYPE_UNSPECIFIED,
975 AptSettings_Type::DIST,
976 AptSettings_Type::UPGRADE,
977 ];
978 values
979 }
980
981 fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
982 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
983 descriptor.get(|| {
984 ::protobuf::reflect::EnumDescriptor::new_pb_name::<AptSettings_Type>("AptSettings.Type", file_descriptor_proto())
985 })
986 }
987}
988
989impl ::std::marker::Copy for AptSettings_Type {
990}
991
992impl ::std::default::Default for AptSettings_Type {
993 fn default() -> Self {
994 AptSettings_Type::TYPE_UNSPECIFIED
995 }
996}
997
998impl ::protobuf::reflect::ProtobufValue for AptSettings_Type {
999 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1000 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
1001 }
1002}
1003
1004#[derive(PartialEq,Clone,Default)]
1005pub struct YumSettings {
1006 pub security: bool,
1008 pub minimal: bool,
1009 pub excludes: ::protobuf::RepeatedField<::std::string::String>,
1010 pub exclusive_packages: ::protobuf::RepeatedField<::std::string::String>,
1011 pub unknown_fields: ::protobuf::UnknownFields,
1013 pub cached_size: ::protobuf::CachedSize,
1014}
1015
1016impl<'a> ::std::default::Default for &'a YumSettings {
1017 fn default() -> &'a YumSettings {
1018 <YumSettings as ::protobuf::Message>::default_instance()
1019 }
1020}
1021
1022impl YumSettings {
1023 pub fn new() -> YumSettings {
1024 ::std::default::Default::default()
1025 }
1026
1027 pub fn get_security(&self) -> bool {
1031 self.security
1032 }
1033 pub fn clear_security(&mut self) {
1034 self.security = false;
1035 }
1036
1037 pub fn set_security(&mut self, v: bool) {
1039 self.security = v;
1040 }
1041
1042 pub fn get_minimal(&self) -> bool {
1046 self.minimal
1047 }
1048 pub fn clear_minimal(&mut self) {
1049 self.minimal = false;
1050 }
1051
1052 pub fn set_minimal(&mut self, v: bool) {
1054 self.minimal = v;
1055 }
1056
1057 pub fn get_excludes(&self) -> &[::std::string::String] {
1061 &self.excludes
1062 }
1063 pub fn clear_excludes(&mut self) {
1064 self.excludes.clear();
1065 }
1066
1067 pub fn set_excludes(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
1069 self.excludes = v;
1070 }
1071
1072 pub fn mut_excludes(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
1074 &mut self.excludes
1075 }
1076
1077 pub fn take_excludes(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
1079 ::std::mem::replace(&mut self.excludes, ::protobuf::RepeatedField::new())
1080 }
1081
1082 pub fn get_exclusive_packages(&self) -> &[::std::string::String] {
1086 &self.exclusive_packages
1087 }
1088 pub fn clear_exclusive_packages(&mut self) {
1089 self.exclusive_packages.clear();
1090 }
1091
1092 pub fn set_exclusive_packages(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
1094 self.exclusive_packages = v;
1095 }
1096
1097 pub fn mut_exclusive_packages(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
1099 &mut self.exclusive_packages
1100 }
1101
1102 pub fn take_exclusive_packages(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
1104 ::std::mem::replace(&mut self.exclusive_packages, ::protobuf::RepeatedField::new())
1105 }
1106}
1107
1108impl ::protobuf::Message for YumSettings {
1109 fn is_initialized(&self) -> bool {
1110 true
1111 }
1112
1113 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1114 while !is.eof()? {
1115 let (field_number, wire_type) = is.read_tag_unpack()?;
1116 match field_number {
1117 1 => {
1118 if wire_type != ::protobuf::wire_format::WireTypeVarint {
1119 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
1120 }
1121 let tmp = is.read_bool()?;
1122 self.security = tmp;
1123 },
1124 2 => {
1125 if wire_type != ::protobuf::wire_format::WireTypeVarint {
1126 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
1127 }
1128 let tmp = is.read_bool()?;
1129 self.minimal = tmp;
1130 },
1131 3 => {
1132 ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.excludes)?;
1133 },
1134 4 => {
1135 ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.exclusive_packages)?;
1136 },
1137 _ => {
1138 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1139 },
1140 };
1141 }
1142 ::std::result::Result::Ok(())
1143 }
1144
1145 #[allow(unused_variables)]
1147 fn compute_size(&self) -> u32 {
1148 let mut my_size = 0;
1149 if self.security != false {
1150 my_size += 2;
1151 }
1152 if self.minimal != false {
1153 my_size += 2;
1154 }
1155 for value in &self.excludes {
1156 my_size += ::protobuf::rt::string_size(3, &value);
1157 };
1158 for value in &self.exclusive_packages {
1159 my_size += ::protobuf::rt::string_size(4, &value);
1160 };
1161 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1162 self.cached_size.set(my_size);
1163 my_size
1164 }
1165
1166 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1167 if self.security != false {
1168 os.write_bool(1, self.security)?;
1169 }
1170 if self.minimal != false {
1171 os.write_bool(2, self.minimal)?;
1172 }
1173 for v in &self.excludes {
1174 os.write_string(3, &v)?;
1175 };
1176 for v in &self.exclusive_packages {
1177 os.write_string(4, &v)?;
1178 };
1179 os.write_unknown_fields(self.get_unknown_fields())?;
1180 ::std::result::Result::Ok(())
1181 }
1182
1183 fn get_cached_size(&self) -> u32 {
1184 self.cached_size.get()
1185 }
1186
1187 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1188 &self.unknown_fields
1189 }
1190
1191 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1192 &mut self.unknown_fields
1193 }
1194
1195 fn as_any(&self) -> &dyn (::std::any::Any) {
1196 self as &dyn (::std::any::Any)
1197 }
1198 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1199 self as &mut dyn (::std::any::Any)
1200 }
1201 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1202 self
1203 }
1204
1205 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1206 Self::descriptor_static()
1207 }
1208
1209 fn new() -> YumSettings {
1210 YumSettings::new()
1211 }
1212
1213 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1214 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1215 descriptor.get(|| {
1216 let mut fields = ::std::vec::Vec::new();
1217 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
1218 "security",
1219 |m: &YumSettings| { &m.security },
1220 |m: &mut YumSettings| { &mut m.security },
1221 ));
1222 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
1223 "minimal",
1224 |m: &YumSettings| { &m.minimal },
1225 |m: &mut YumSettings| { &mut m.minimal },
1226 ));
1227 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
1228 "excludes",
1229 |m: &YumSettings| { &m.excludes },
1230 |m: &mut YumSettings| { &mut m.excludes },
1231 ));
1232 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
1233 "exclusive_packages",
1234 |m: &YumSettings| { &m.exclusive_packages },
1235 |m: &mut YumSettings| { &mut m.exclusive_packages },
1236 ));
1237 ::protobuf::reflect::MessageDescriptor::new_pb_name::<YumSettings>(
1238 "YumSettings",
1239 fields,
1240 file_descriptor_proto()
1241 )
1242 })
1243 }
1244
1245 fn default_instance() -> &'static YumSettings {
1246 static instance: ::protobuf::rt::LazyV2<YumSettings> = ::protobuf::rt::LazyV2::INIT;
1247 instance.get(YumSettings::new)
1248 }
1249}
1250
1251impl ::protobuf::Clear for YumSettings {
1252 fn clear(&mut self) {
1253 self.security = false;
1254 self.minimal = false;
1255 self.excludes.clear();
1256 self.exclusive_packages.clear();
1257 self.unknown_fields.clear();
1258 }
1259}
1260
1261impl ::std::fmt::Debug for YumSettings {
1262 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1263 ::protobuf::text_format::fmt(self, f)
1264 }
1265}
1266
1267impl ::protobuf::reflect::ProtobufValue for YumSettings {
1268 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1269 ::protobuf::reflect::ReflectValueRef::Message(self)
1270 }
1271}
1272
1273#[derive(PartialEq,Clone,Default)]
1274pub struct GooSettings {
1275 pub unknown_fields: ::protobuf::UnknownFields,
1277 pub cached_size: ::protobuf::CachedSize,
1278}
1279
1280impl<'a> ::std::default::Default for &'a GooSettings {
1281 fn default() -> &'a GooSettings {
1282 <GooSettings as ::protobuf::Message>::default_instance()
1283 }
1284}
1285
1286impl GooSettings {
1287 pub fn new() -> GooSettings {
1288 ::std::default::Default::default()
1289 }
1290}
1291
1292impl ::protobuf::Message for GooSettings {
1293 fn is_initialized(&self) -> bool {
1294 true
1295 }
1296
1297 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1298 while !is.eof()? {
1299 let (field_number, wire_type) = is.read_tag_unpack()?;
1300 match field_number {
1301 _ => {
1302 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1303 },
1304 };
1305 }
1306 ::std::result::Result::Ok(())
1307 }
1308
1309 #[allow(unused_variables)]
1311 fn compute_size(&self) -> u32 {
1312 let mut my_size = 0;
1313 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1314 self.cached_size.set(my_size);
1315 my_size
1316 }
1317
1318 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1319 os.write_unknown_fields(self.get_unknown_fields())?;
1320 ::std::result::Result::Ok(())
1321 }
1322
1323 fn get_cached_size(&self) -> u32 {
1324 self.cached_size.get()
1325 }
1326
1327 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1328 &self.unknown_fields
1329 }
1330
1331 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1332 &mut self.unknown_fields
1333 }
1334
1335 fn as_any(&self) -> &dyn (::std::any::Any) {
1336 self as &dyn (::std::any::Any)
1337 }
1338 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1339 self as &mut dyn (::std::any::Any)
1340 }
1341 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1342 self
1343 }
1344
1345 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1346 Self::descriptor_static()
1347 }
1348
1349 fn new() -> GooSettings {
1350 GooSettings::new()
1351 }
1352
1353 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1354 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1355 descriptor.get(|| {
1356 let fields = ::std::vec::Vec::new();
1357 ::protobuf::reflect::MessageDescriptor::new_pb_name::<GooSettings>(
1358 "GooSettings",
1359 fields,
1360 file_descriptor_proto()
1361 )
1362 })
1363 }
1364
1365 fn default_instance() -> &'static GooSettings {
1366 static instance: ::protobuf::rt::LazyV2<GooSettings> = ::protobuf::rt::LazyV2::INIT;
1367 instance.get(GooSettings::new)
1368 }
1369}
1370
1371impl ::protobuf::Clear for GooSettings {
1372 fn clear(&mut self) {
1373 self.unknown_fields.clear();
1374 }
1375}
1376
1377impl ::std::fmt::Debug for GooSettings {
1378 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1379 ::protobuf::text_format::fmt(self, f)
1380 }
1381}
1382
1383impl ::protobuf::reflect::ProtobufValue for GooSettings {
1384 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1385 ::protobuf::reflect::ReflectValueRef::Message(self)
1386 }
1387}
1388
1389#[derive(PartialEq,Clone,Default)]
1390pub struct ZypperSettings {
1391 pub with_optional: bool,
1393 pub with_update: bool,
1394 pub categories: ::protobuf::RepeatedField<::std::string::String>,
1395 pub severities: ::protobuf::RepeatedField<::std::string::String>,
1396 pub excludes: ::protobuf::RepeatedField<::std::string::String>,
1397 pub exclusive_patches: ::protobuf::RepeatedField<::std::string::String>,
1398 pub unknown_fields: ::protobuf::UnknownFields,
1400 pub cached_size: ::protobuf::CachedSize,
1401}
1402
1403impl<'a> ::std::default::Default for &'a ZypperSettings {
1404 fn default() -> &'a ZypperSettings {
1405 <ZypperSettings as ::protobuf::Message>::default_instance()
1406 }
1407}
1408
1409impl ZypperSettings {
1410 pub fn new() -> ZypperSettings {
1411 ::std::default::Default::default()
1412 }
1413
1414 pub fn get_with_optional(&self) -> bool {
1418 self.with_optional
1419 }
1420 pub fn clear_with_optional(&mut self) {
1421 self.with_optional = false;
1422 }
1423
1424 pub fn set_with_optional(&mut self, v: bool) {
1426 self.with_optional = v;
1427 }
1428
1429 pub fn get_with_update(&self) -> bool {
1433 self.with_update
1434 }
1435 pub fn clear_with_update(&mut self) {
1436 self.with_update = false;
1437 }
1438
1439 pub fn set_with_update(&mut self, v: bool) {
1441 self.with_update = v;
1442 }
1443
1444 pub fn get_categories(&self) -> &[::std::string::String] {
1448 &self.categories
1449 }
1450 pub fn clear_categories(&mut self) {
1451 self.categories.clear();
1452 }
1453
1454 pub fn set_categories(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
1456 self.categories = v;
1457 }
1458
1459 pub fn mut_categories(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
1461 &mut self.categories
1462 }
1463
1464 pub fn take_categories(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
1466 ::std::mem::replace(&mut self.categories, ::protobuf::RepeatedField::new())
1467 }
1468
1469 pub fn get_severities(&self) -> &[::std::string::String] {
1473 &self.severities
1474 }
1475 pub fn clear_severities(&mut self) {
1476 self.severities.clear();
1477 }
1478
1479 pub fn set_severities(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
1481 self.severities = v;
1482 }
1483
1484 pub fn mut_severities(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
1486 &mut self.severities
1487 }
1488
1489 pub fn take_severities(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
1491 ::std::mem::replace(&mut self.severities, ::protobuf::RepeatedField::new())
1492 }
1493
1494 pub fn get_excludes(&self) -> &[::std::string::String] {
1498 &self.excludes
1499 }
1500 pub fn clear_excludes(&mut self) {
1501 self.excludes.clear();
1502 }
1503
1504 pub fn set_excludes(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
1506 self.excludes = v;
1507 }
1508
1509 pub fn mut_excludes(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
1511 &mut self.excludes
1512 }
1513
1514 pub fn take_excludes(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
1516 ::std::mem::replace(&mut self.excludes, ::protobuf::RepeatedField::new())
1517 }
1518
1519 pub fn get_exclusive_patches(&self) -> &[::std::string::String] {
1523 &self.exclusive_patches
1524 }
1525 pub fn clear_exclusive_patches(&mut self) {
1526 self.exclusive_patches.clear();
1527 }
1528
1529 pub fn set_exclusive_patches(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
1531 self.exclusive_patches = v;
1532 }
1533
1534 pub fn mut_exclusive_patches(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
1536 &mut self.exclusive_patches
1537 }
1538
1539 pub fn take_exclusive_patches(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
1541 ::std::mem::replace(&mut self.exclusive_patches, ::protobuf::RepeatedField::new())
1542 }
1543}
1544
1545impl ::protobuf::Message for ZypperSettings {
1546 fn is_initialized(&self) -> bool {
1547 true
1548 }
1549
1550 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1551 while !is.eof()? {
1552 let (field_number, wire_type) = is.read_tag_unpack()?;
1553 match field_number {
1554 1 => {
1555 if wire_type != ::protobuf::wire_format::WireTypeVarint {
1556 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
1557 }
1558 let tmp = is.read_bool()?;
1559 self.with_optional = tmp;
1560 },
1561 2 => {
1562 if wire_type != ::protobuf::wire_format::WireTypeVarint {
1563 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
1564 }
1565 let tmp = is.read_bool()?;
1566 self.with_update = tmp;
1567 },
1568 3 => {
1569 ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.categories)?;
1570 },
1571 4 => {
1572 ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.severities)?;
1573 },
1574 5 => {
1575 ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.excludes)?;
1576 },
1577 6 => {
1578 ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.exclusive_patches)?;
1579 },
1580 _ => {
1581 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1582 },
1583 };
1584 }
1585 ::std::result::Result::Ok(())
1586 }
1587
1588 #[allow(unused_variables)]
1590 fn compute_size(&self) -> u32 {
1591 let mut my_size = 0;
1592 if self.with_optional != false {
1593 my_size += 2;
1594 }
1595 if self.with_update != false {
1596 my_size += 2;
1597 }
1598 for value in &self.categories {
1599 my_size += ::protobuf::rt::string_size(3, &value);
1600 };
1601 for value in &self.severities {
1602 my_size += ::protobuf::rt::string_size(4, &value);
1603 };
1604 for value in &self.excludes {
1605 my_size += ::protobuf::rt::string_size(5, &value);
1606 };
1607 for value in &self.exclusive_patches {
1608 my_size += ::protobuf::rt::string_size(6, &value);
1609 };
1610 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1611 self.cached_size.set(my_size);
1612 my_size
1613 }
1614
1615 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1616 if self.with_optional != false {
1617 os.write_bool(1, self.with_optional)?;
1618 }
1619 if self.with_update != false {
1620 os.write_bool(2, self.with_update)?;
1621 }
1622 for v in &self.categories {
1623 os.write_string(3, &v)?;
1624 };
1625 for v in &self.severities {
1626 os.write_string(4, &v)?;
1627 };
1628 for v in &self.excludes {
1629 os.write_string(5, &v)?;
1630 };
1631 for v in &self.exclusive_patches {
1632 os.write_string(6, &v)?;
1633 };
1634 os.write_unknown_fields(self.get_unknown_fields())?;
1635 ::std::result::Result::Ok(())
1636 }
1637
1638 fn get_cached_size(&self) -> u32 {
1639 self.cached_size.get()
1640 }
1641
1642 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1643 &self.unknown_fields
1644 }
1645
1646 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1647 &mut self.unknown_fields
1648 }
1649
1650 fn as_any(&self) -> &dyn (::std::any::Any) {
1651 self as &dyn (::std::any::Any)
1652 }
1653 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1654 self as &mut dyn (::std::any::Any)
1655 }
1656 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1657 self
1658 }
1659
1660 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1661 Self::descriptor_static()
1662 }
1663
1664 fn new() -> ZypperSettings {
1665 ZypperSettings::new()
1666 }
1667
1668 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1669 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1670 descriptor.get(|| {
1671 let mut fields = ::std::vec::Vec::new();
1672 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
1673 "with_optional",
1674 |m: &ZypperSettings| { &m.with_optional },
1675 |m: &mut ZypperSettings| { &mut m.with_optional },
1676 ));
1677 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
1678 "with_update",
1679 |m: &ZypperSettings| { &m.with_update },
1680 |m: &mut ZypperSettings| { &mut m.with_update },
1681 ));
1682 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
1683 "categories",
1684 |m: &ZypperSettings| { &m.categories },
1685 |m: &mut ZypperSettings| { &mut m.categories },
1686 ));
1687 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
1688 "severities",
1689 |m: &ZypperSettings| { &m.severities },
1690 |m: &mut ZypperSettings| { &mut m.severities },
1691 ));
1692 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
1693 "excludes",
1694 |m: &ZypperSettings| { &m.excludes },
1695 |m: &mut ZypperSettings| { &mut m.excludes },
1696 ));
1697 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
1698 "exclusive_patches",
1699 |m: &ZypperSettings| { &m.exclusive_patches },
1700 |m: &mut ZypperSettings| { &mut m.exclusive_patches },
1701 ));
1702 ::protobuf::reflect::MessageDescriptor::new_pb_name::<ZypperSettings>(
1703 "ZypperSettings",
1704 fields,
1705 file_descriptor_proto()
1706 )
1707 })
1708 }
1709
1710 fn default_instance() -> &'static ZypperSettings {
1711 static instance: ::protobuf::rt::LazyV2<ZypperSettings> = ::protobuf::rt::LazyV2::INIT;
1712 instance.get(ZypperSettings::new)
1713 }
1714}
1715
1716impl ::protobuf::Clear for ZypperSettings {
1717 fn clear(&mut self) {
1718 self.with_optional = false;
1719 self.with_update = false;
1720 self.categories.clear();
1721 self.severities.clear();
1722 self.excludes.clear();
1723 self.exclusive_patches.clear();
1724 self.unknown_fields.clear();
1725 }
1726}
1727
1728impl ::std::fmt::Debug for ZypperSettings {
1729 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1730 ::protobuf::text_format::fmt(self, f)
1731 }
1732}
1733
1734impl ::protobuf::reflect::ProtobufValue for ZypperSettings {
1735 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1736 ::protobuf::reflect::ReflectValueRef::Message(self)
1737 }
1738}
1739
1740#[derive(PartialEq,Clone,Default)]
1741pub struct WindowsUpdateSettings {
1742 pub classifications: ::std::vec::Vec<WindowsUpdateSettings_Classification>,
1744 pub excludes: ::protobuf::RepeatedField<::std::string::String>,
1745 pub exclusive_patches: ::protobuf::RepeatedField<::std::string::String>,
1746 pub unknown_fields: ::protobuf::UnknownFields,
1748 pub cached_size: ::protobuf::CachedSize,
1749}
1750
1751impl<'a> ::std::default::Default for &'a WindowsUpdateSettings {
1752 fn default() -> &'a WindowsUpdateSettings {
1753 <WindowsUpdateSettings as ::protobuf::Message>::default_instance()
1754 }
1755}
1756
1757impl WindowsUpdateSettings {
1758 pub fn new() -> WindowsUpdateSettings {
1759 ::std::default::Default::default()
1760 }
1761
1762 pub fn get_classifications(&self) -> &[WindowsUpdateSettings_Classification] {
1766 &self.classifications
1767 }
1768 pub fn clear_classifications(&mut self) {
1769 self.classifications.clear();
1770 }
1771
1772 pub fn set_classifications(&mut self, v: ::std::vec::Vec<WindowsUpdateSettings_Classification>) {
1774 self.classifications = v;
1775 }
1776
1777 pub fn mut_classifications(&mut self) -> &mut ::std::vec::Vec<WindowsUpdateSettings_Classification> {
1779 &mut self.classifications
1780 }
1781
1782 pub fn take_classifications(&mut self) -> ::std::vec::Vec<WindowsUpdateSettings_Classification> {
1784 ::std::mem::replace(&mut self.classifications, ::std::vec::Vec::new())
1785 }
1786
1787 pub fn get_excludes(&self) -> &[::std::string::String] {
1791 &self.excludes
1792 }
1793 pub fn clear_excludes(&mut self) {
1794 self.excludes.clear();
1795 }
1796
1797 pub fn set_excludes(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
1799 self.excludes = v;
1800 }
1801
1802 pub fn mut_excludes(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
1804 &mut self.excludes
1805 }
1806
1807 pub fn take_excludes(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
1809 ::std::mem::replace(&mut self.excludes, ::protobuf::RepeatedField::new())
1810 }
1811
1812 pub fn get_exclusive_patches(&self) -> &[::std::string::String] {
1816 &self.exclusive_patches
1817 }
1818 pub fn clear_exclusive_patches(&mut self) {
1819 self.exclusive_patches.clear();
1820 }
1821
1822 pub fn set_exclusive_patches(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
1824 self.exclusive_patches = v;
1825 }
1826
1827 pub fn mut_exclusive_patches(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
1829 &mut self.exclusive_patches
1830 }
1831
1832 pub fn take_exclusive_patches(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
1834 ::std::mem::replace(&mut self.exclusive_patches, ::protobuf::RepeatedField::new())
1835 }
1836}
1837
1838impl ::protobuf::Message for WindowsUpdateSettings {
1839 fn is_initialized(&self) -> bool {
1840 true
1841 }
1842
1843 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1844 while !is.eof()? {
1845 let (field_number, wire_type) = is.read_tag_unpack()?;
1846 match field_number {
1847 1 => {
1848 ::protobuf::rt::read_repeated_enum_with_unknown_fields_into(wire_type, is, &mut self.classifications, 1, &mut self.unknown_fields)?
1849 },
1850 2 => {
1851 ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.excludes)?;
1852 },
1853 3 => {
1854 ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.exclusive_patches)?;
1855 },
1856 _ => {
1857 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1858 },
1859 };
1860 }
1861 ::std::result::Result::Ok(())
1862 }
1863
1864 #[allow(unused_variables)]
1866 fn compute_size(&self) -> u32 {
1867 let mut my_size = 0;
1868 for value in &self.classifications {
1869 my_size += ::protobuf::rt::enum_size(1, *value);
1870 };
1871 for value in &self.excludes {
1872 my_size += ::protobuf::rt::string_size(2, &value);
1873 };
1874 for value in &self.exclusive_patches {
1875 my_size += ::protobuf::rt::string_size(3, &value);
1876 };
1877 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1878 self.cached_size.set(my_size);
1879 my_size
1880 }
1881
1882 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1883 for v in &self.classifications {
1884 os.write_enum(1, ::protobuf::ProtobufEnum::value(v))?;
1885 };
1886 for v in &self.excludes {
1887 os.write_string(2, &v)?;
1888 };
1889 for v in &self.exclusive_patches {
1890 os.write_string(3, &v)?;
1891 };
1892 os.write_unknown_fields(self.get_unknown_fields())?;
1893 ::std::result::Result::Ok(())
1894 }
1895
1896 fn get_cached_size(&self) -> u32 {
1897 self.cached_size.get()
1898 }
1899
1900 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1901 &self.unknown_fields
1902 }
1903
1904 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1905 &mut self.unknown_fields
1906 }
1907
1908 fn as_any(&self) -> &dyn (::std::any::Any) {
1909 self as &dyn (::std::any::Any)
1910 }
1911 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1912 self as &mut dyn (::std::any::Any)
1913 }
1914 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1915 self
1916 }
1917
1918 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1919 Self::descriptor_static()
1920 }
1921
1922 fn new() -> WindowsUpdateSettings {
1923 WindowsUpdateSettings::new()
1924 }
1925
1926 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1927 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1928 descriptor.get(|| {
1929 let mut fields = ::std::vec::Vec::new();
1930 fields.push(::protobuf::reflect::accessor::make_vec_accessor::<_, ::protobuf::types::ProtobufTypeEnum<WindowsUpdateSettings_Classification>>(
1931 "classifications",
1932 |m: &WindowsUpdateSettings| { &m.classifications },
1933 |m: &mut WindowsUpdateSettings| { &mut m.classifications },
1934 ));
1935 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
1936 "excludes",
1937 |m: &WindowsUpdateSettings| { &m.excludes },
1938 |m: &mut WindowsUpdateSettings| { &mut m.excludes },
1939 ));
1940 fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
1941 "exclusive_patches",
1942 |m: &WindowsUpdateSettings| { &m.exclusive_patches },
1943 |m: &mut WindowsUpdateSettings| { &mut m.exclusive_patches },
1944 ));
1945 ::protobuf::reflect::MessageDescriptor::new_pb_name::<WindowsUpdateSettings>(
1946 "WindowsUpdateSettings",
1947 fields,
1948 file_descriptor_proto()
1949 )
1950 })
1951 }
1952
1953 fn default_instance() -> &'static WindowsUpdateSettings {
1954 static instance: ::protobuf::rt::LazyV2<WindowsUpdateSettings> = ::protobuf::rt::LazyV2::INIT;
1955 instance.get(WindowsUpdateSettings::new)
1956 }
1957}
1958
1959impl ::protobuf::Clear for WindowsUpdateSettings {
1960 fn clear(&mut self) {
1961 self.classifications.clear();
1962 self.excludes.clear();
1963 self.exclusive_patches.clear();
1964 self.unknown_fields.clear();
1965 }
1966}
1967
1968impl ::std::fmt::Debug for WindowsUpdateSettings {
1969 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1970 ::protobuf::text_format::fmt(self, f)
1971 }
1972}
1973
1974impl ::protobuf::reflect::ProtobufValue for WindowsUpdateSettings {
1975 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1976 ::protobuf::reflect::ReflectValueRef::Message(self)
1977 }
1978}
1979
1980#[derive(Clone,PartialEq,Eq,Debug,Hash)]
1981pub enum WindowsUpdateSettings_Classification {
1982 CLASSIFICATION_UNSPECIFIED = 0,
1983 CRITICAL = 1,
1984 SECURITY = 2,
1985 DEFINITION = 3,
1986 DRIVER = 4,
1987 FEATURE_PACK = 5,
1988 SERVICE_PACK = 6,
1989 TOOL = 7,
1990 UPDATE_ROLLUP = 8,
1991 UPDATE = 9,
1992}
1993
1994impl ::protobuf::ProtobufEnum for WindowsUpdateSettings_Classification {
1995 fn value(&self) -> i32 {
1996 *self as i32
1997 }
1998
1999 fn from_i32(value: i32) -> ::std::option::Option<WindowsUpdateSettings_Classification> {
2000 match value {
2001 0 => ::std::option::Option::Some(WindowsUpdateSettings_Classification::CLASSIFICATION_UNSPECIFIED),
2002 1 => ::std::option::Option::Some(WindowsUpdateSettings_Classification::CRITICAL),
2003 2 => ::std::option::Option::Some(WindowsUpdateSettings_Classification::SECURITY),
2004 3 => ::std::option::Option::Some(WindowsUpdateSettings_Classification::DEFINITION),
2005 4 => ::std::option::Option::Some(WindowsUpdateSettings_Classification::DRIVER),
2006 5 => ::std::option::Option::Some(WindowsUpdateSettings_Classification::FEATURE_PACK),
2007 6 => ::std::option::Option::Some(WindowsUpdateSettings_Classification::SERVICE_PACK),
2008 7 => ::std::option::Option::Some(WindowsUpdateSettings_Classification::TOOL),
2009 8 => ::std::option::Option::Some(WindowsUpdateSettings_Classification::UPDATE_ROLLUP),
2010 9 => ::std::option::Option::Some(WindowsUpdateSettings_Classification::UPDATE),
2011 _ => ::std::option::Option::None
2012 }
2013 }
2014
2015 fn values() -> &'static [Self] {
2016 static values: &'static [WindowsUpdateSettings_Classification] = &[
2017 WindowsUpdateSettings_Classification::CLASSIFICATION_UNSPECIFIED,
2018 WindowsUpdateSettings_Classification::CRITICAL,
2019 WindowsUpdateSettings_Classification::SECURITY,
2020 WindowsUpdateSettings_Classification::DEFINITION,
2021 WindowsUpdateSettings_Classification::DRIVER,
2022 WindowsUpdateSettings_Classification::FEATURE_PACK,
2023 WindowsUpdateSettings_Classification::SERVICE_PACK,
2024 WindowsUpdateSettings_Classification::TOOL,
2025 WindowsUpdateSettings_Classification::UPDATE_ROLLUP,
2026 WindowsUpdateSettings_Classification::UPDATE,
2027 ];
2028 values
2029 }
2030
2031 fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
2032 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
2033 descriptor.get(|| {
2034 ::protobuf::reflect::EnumDescriptor::new_pb_name::<WindowsUpdateSettings_Classification>("WindowsUpdateSettings.Classification", file_descriptor_proto())
2035 })
2036 }
2037}
2038
2039impl ::std::marker::Copy for WindowsUpdateSettings_Classification {
2040}
2041
2042impl ::std::default::Default for WindowsUpdateSettings_Classification {
2043 fn default() -> Self {
2044 WindowsUpdateSettings_Classification::CLASSIFICATION_UNSPECIFIED
2045 }
2046}
2047
2048impl ::protobuf::reflect::ProtobufValue for WindowsUpdateSettings_Classification {
2049 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2050 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
2051 }
2052}
2053
2054#[derive(PartialEq,Clone,Default)]
2055pub struct RetryStrategy {
2056 pub enabled: bool,
2058 pub unknown_fields: ::protobuf::UnknownFields,
2060 pub cached_size: ::protobuf::CachedSize,
2061}
2062
2063impl<'a> ::std::default::Default for &'a RetryStrategy {
2064 fn default() -> &'a RetryStrategy {
2065 <RetryStrategy as ::protobuf::Message>::default_instance()
2066 }
2067}
2068
2069impl RetryStrategy {
2070 pub fn new() -> RetryStrategy {
2071 ::std::default::Default::default()
2072 }
2073
2074 pub fn get_enabled(&self) -> bool {
2078 self.enabled
2079 }
2080 pub fn clear_enabled(&mut self) {
2081 self.enabled = false;
2082 }
2083
2084 pub fn set_enabled(&mut self, v: bool) {
2086 self.enabled = v;
2087 }
2088}
2089
2090impl ::protobuf::Message for RetryStrategy {
2091 fn is_initialized(&self) -> bool {
2092 true
2093 }
2094
2095 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2096 while !is.eof()? {
2097 let (field_number, wire_type) = is.read_tag_unpack()?;
2098 match field_number {
2099 1 => {
2100 if wire_type != ::protobuf::wire_format::WireTypeVarint {
2101 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
2102 }
2103 let tmp = is.read_bool()?;
2104 self.enabled = tmp;
2105 },
2106 _ => {
2107 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2108 },
2109 };
2110 }
2111 ::std::result::Result::Ok(())
2112 }
2113
2114 #[allow(unused_variables)]
2116 fn compute_size(&self) -> u32 {
2117 let mut my_size = 0;
2118 if self.enabled != false {
2119 my_size += 2;
2120 }
2121 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2122 self.cached_size.set(my_size);
2123 my_size
2124 }
2125
2126 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2127 if self.enabled != false {
2128 os.write_bool(1, self.enabled)?;
2129 }
2130 os.write_unknown_fields(self.get_unknown_fields())?;
2131 ::std::result::Result::Ok(())
2132 }
2133
2134 fn get_cached_size(&self) -> u32 {
2135 self.cached_size.get()
2136 }
2137
2138 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2139 &self.unknown_fields
2140 }
2141
2142 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2143 &mut self.unknown_fields
2144 }
2145
2146 fn as_any(&self) -> &dyn (::std::any::Any) {
2147 self as &dyn (::std::any::Any)
2148 }
2149 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2150 self as &mut dyn (::std::any::Any)
2151 }
2152 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2153 self
2154 }
2155
2156 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2157 Self::descriptor_static()
2158 }
2159
2160 fn new() -> RetryStrategy {
2161 RetryStrategy::new()
2162 }
2163
2164 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2165 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2166 descriptor.get(|| {
2167 let mut fields = ::std::vec::Vec::new();
2168 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
2169 "enabled",
2170 |m: &RetryStrategy| { &m.enabled },
2171 |m: &mut RetryStrategy| { &mut m.enabled },
2172 ));
2173 ::protobuf::reflect::MessageDescriptor::new_pb_name::<RetryStrategy>(
2174 "RetryStrategy",
2175 fields,
2176 file_descriptor_proto()
2177 )
2178 })
2179 }
2180
2181 fn default_instance() -> &'static RetryStrategy {
2182 static instance: ::protobuf::rt::LazyV2<RetryStrategy> = ::protobuf::rt::LazyV2::INIT;
2183 instance.get(RetryStrategy::new)
2184 }
2185}
2186
2187impl ::protobuf::Clear for RetryStrategy {
2188 fn clear(&mut self) {
2189 self.enabled = false;
2190 self.unknown_fields.clear();
2191 }
2192}
2193
2194impl ::std::fmt::Debug for RetryStrategy {
2195 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2196 ::protobuf::text_format::fmt(self, f)
2197 }
2198}
2199
2200impl ::protobuf::reflect::ProtobufValue for RetryStrategy {
2201 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2202 ::protobuf::reflect::ReflectValueRef::Message(self)
2203 }
2204}
2205
2206#[derive(PartialEq,Clone,Default)]
2207pub struct ExecStep {
2208 pub linux_exec_step_config: ::protobuf::SingularPtrField<ExecStepConfig>,
2210 pub windows_exec_step_config: ::protobuf::SingularPtrField<ExecStepConfig>,
2211 pub unknown_fields: ::protobuf::UnknownFields,
2213 pub cached_size: ::protobuf::CachedSize,
2214}
2215
2216impl<'a> ::std::default::Default for &'a ExecStep {
2217 fn default() -> &'a ExecStep {
2218 <ExecStep as ::protobuf::Message>::default_instance()
2219 }
2220}
2221
2222impl ExecStep {
2223 pub fn new() -> ExecStep {
2224 ::std::default::Default::default()
2225 }
2226
2227 pub fn get_linux_exec_step_config(&self) -> &ExecStepConfig {
2231 self.linux_exec_step_config.as_ref().unwrap_or_else(|| <ExecStepConfig as ::protobuf::Message>::default_instance())
2232 }
2233 pub fn clear_linux_exec_step_config(&mut self) {
2234 self.linux_exec_step_config.clear();
2235 }
2236
2237 pub fn has_linux_exec_step_config(&self) -> bool {
2238 self.linux_exec_step_config.is_some()
2239 }
2240
2241 pub fn set_linux_exec_step_config(&mut self, v: ExecStepConfig) {
2243 self.linux_exec_step_config = ::protobuf::SingularPtrField::some(v);
2244 }
2245
2246 pub fn mut_linux_exec_step_config(&mut self) -> &mut ExecStepConfig {
2249 if self.linux_exec_step_config.is_none() {
2250 self.linux_exec_step_config.set_default();
2251 }
2252 self.linux_exec_step_config.as_mut().unwrap()
2253 }
2254
2255 pub fn take_linux_exec_step_config(&mut self) -> ExecStepConfig {
2257 self.linux_exec_step_config.take().unwrap_or_else(|| ExecStepConfig::new())
2258 }
2259
2260 pub fn get_windows_exec_step_config(&self) -> &ExecStepConfig {
2264 self.windows_exec_step_config.as_ref().unwrap_or_else(|| <ExecStepConfig as ::protobuf::Message>::default_instance())
2265 }
2266 pub fn clear_windows_exec_step_config(&mut self) {
2267 self.windows_exec_step_config.clear();
2268 }
2269
2270 pub fn has_windows_exec_step_config(&self) -> bool {
2271 self.windows_exec_step_config.is_some()
2272 }
2273
2274 pub fn set_windows_exec_step_config(&mut self, v: ExecStepConfig) {
2276 self.windows_exec_step_config = ::protobuf::SingularPtrField::some(v);
2277 }
2278
2279 pub fn mut_windows_exec_step_config(&mut self) -> &mut ExecStepConfig {
2282 if self.windows_exec_step_config.is_none() {
2283 self.windows_exec_step_config.set_default();
2284 }
2285 self.windows_exec_step_config.as_mut().unwrap()
2286 }
2287
2288 pub fn take_windows_exec_step_config(&mut self) -> ExecStepConfig {
2290 self.windows_exec_step_config.take().unwrap_or_else(|| ExecStepConfig::new())
2291 }
2292}
2293
2294impl ::protobuf::Message for ExecStep {
2295 fn is_initialized(&self) -> bool {
2296 for v in &self.linux_exec_step_config {
2297 if !v.is_initialized() {
2298 return false;
2299 }
2300 };
2301 for v in &self.windows_exec_step_config {
2302 if !v.is_initialized() {
2303 return false;
2304 }
2305 };
2306 true
2307 }
2308
2309 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2310 while !is.eof()? {
2311 let (field_number, wire_type) = is.read_tag_unpack()?;
2312 match field_number {
2313 1 => {
2314 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.linux_exec_step_config)?;
2315 },
2316 2 => {
2317 ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.windows_exec_step_config)?;
2318 },
2319 _ => {
2320 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2321 },
2322 };
2323 }
2324 ::std::result::Result::Ok(())
2325 }
2326
2327 #[allow(unused_variables)]
2329 fn compute_size(&self) -> u32 {
2330 let mut my_size = 0;
2331 if let Some(ref v) = self.linux_exec_step_config.as_ref() {
2332 let len = v.compute_size();
2333 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
2334 }
2335 if let Some(ref v) = self.windows_exec_step_config.as_ref() {
2336 let len = v.compute_size();
2337 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
2338 }
2339 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2340 self.cached_size.set(my_size);
2341 my_size
2342 }
2343
2344 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2345 if let Some(ref v) = self.linux_exec_step_config.as_ref() {
2346 os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
2347 os.write_raw_varint32(v.get_cached_size())?;
2348 v.write_to_with_cached_sizes(os)?;
2349 }
2350 if let Some(ref v) = self.windows_exec_step_config.as_ref() {
2351 os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
2352 os.write_raw_varint32(v.get_cached_size())?;
2353 v.write_to_with_cached_sizes(os)?;
2354 }
2355 os.write_unknown_fields(self.get_unknown_fields())?;
2356 ::std::result::Result::Ok(())
2357 }
2358
2359 fn get_cached_size(&self) -> u32 {
2360 self.cached_size.get()
2361 }
2362
2363 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2364 &self.unknown_fields
2365 }
2366
2367 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2368 &mut self.unknown_fields
2369 }
2370
2371 fn as_any(&self) -> &dyn (::std::any::Any) {
2372 self as &dyn (::std::any::Any)
2373 }
2374 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2375 self as &mut dyn (::std::any::Any)
2376 }
2377 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2378 self
2379 }
2380
2381 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2382 Self::descriptor_static()
2383 }
2384
2385 fn new() -> ExecStep {
2386 ExecStep::new()
2387 }
2388
2389 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2390 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2391 descriptor.get(|| {
2392 let mut fields = ::std::vec::Vec::new();
2393 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<ExecStepConfig>>(
2394 "linux_exec_step_config",
2395 |m: &ExecStep| { &m.linux_exec_step_config },
2396 |m: &mut ExecStep| { &mut m.linux_exec_step_config },
2397 ));
2398 fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<ExecStepConfig>>(
2399 "windows_exec_step_config",
2400 |m: &ExecStep| { &m.windows_exec_step_config },
2401 |m: &mut ExecStep| { &mut m.windows_exec_step_config },
2402 ));
2403 ::protobuf::reflect::MessageDescriptor::new_pb_name::<ExecStep>(
2404 "ExecStep",
2405 fields,
2406 file_descriptor_proto()
2407 )
2408 })
2409 }
2410
2411 fn default_instance() -> &'static ExecStep {
2412 static instance: ::protobuf::rt::LazyV2<ExecStep> = ::protobuf::rt::LazyV2::INIT;
2413 instance.get(ExecStep::new)
2414 }
2415}
2416
2417impl ::protobuf::Clear for ExecStep {
2418 fn clear(&mut self) {
2419 self.linux_exec_step_config.clear();
2420 self.windows_exec_step_config.clear();
2421 self.unknown_fields.clear();
2422 }
2423}
2424
2425impl ::std::fmt::Debug for ExecStep {
2426 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2427 ::protobuf::text_format::fmt(self, f)
2428 }
2429}
2430
2431impl ::protobuf::reflect::ProtobufValue for ExecStep {
2432 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2433 ::protobuf::reflect::ReflectValueRef::Message(self)
2434 }
2435}
2436
2437#[derive(PartialEq,Clone,Default)]
2438pub struct ExecStepConfig {
2439 pub allowed_success_codes: ::std::vec::Vec<i32>,
2441 pub interpreter: ExecStepConfig_Interpreter,
2442 pub executable: ::std::option::Option<ExecStepConfig_oneof_executable>,
2444 pub unknown_fields: ::protobuf::UnknownFields,
2446 pub cached_size: ::protobuf::CachedSize,
2447}
2448
2449impl<'a> ::std::default::Default for &'a ExecStepConfig {
2450 fn default() -> &'a ExecStepConfig {
2451 <ExecStepConfig as ::protobuf::Message>::default_instance()
2452 }
2453}
2454
2455#[derive(Clone,PartialEq,Debug)]
2456pub enum ExecStepConfig_oneof_executable {
2457 local_path(::std::string::String),
2458 gcs_object(GcsObject),
2459}
2460
2461impl ExecStepConfig {
2462 pub fn new() -> ExecStepConfig {
2463 ::std::default::Default::default()
2464 }
2465
2466 pub fn get_local_path(&self) -> &str {
2470 match self.executable {
2471 ::std::option::Option::Some(ExecStepConfig_oneof_executable::local_path(ref v)) => v,
2472 _ => "",
2473 }
2474 }
2475 pub fn clear_local_path(&mut self) {
2476 self.executable = ::std::option::Option::None;
2477 }
2478
2479 pub fn has_local_path(&self) -> bool {
2480 match self.executable {
2481 ::std::option::Option::Some(ExecStepConfig_oneof_executable::local_path(..)) => true,
2482 _ => false,
2483 }
2484 }
2485
2486 pub fn set_local_path(&mut self, v: ::std::string::String) {
2488 self.executable = ::std::option::Option::Some(ExecStepConfig_oneof_executable::local_path(v))
2489 }
2490
2491 pub fn mut_local_path(&mut self) -> &mut ::std::string::String {
2493 if let ::std::option::Option::Some(ExecStepConfig_oneof_executable::local_path(_)) = self.executable {
2494 } else {
2495 self.executable = ::std::option::Option::Some(ExecStepConfig_oneof_executable::local_path(::std::string::String::new()));
2496 }
2497 match self.executable {
2498 ::std::option::Option::Some(ExecStepConfig_oneof_executable::local_path(ref mut v)) => v,
2499 _ => panic!(),
2500 }
2501 }
2502
2503 pub fn take_local_path(&mut self) -> ::std::string::String {
2505 if self.has_local_path() {
2506 match self.executable.take() {
2507 ::std::option::Option::Some(ExecStepConfig_oneof_executable::local_path(v)) => v,
2508 _ => panic!(),
2509 }
2510 } else {
2511 ::std::string::String::new()
2512 }
2513 }
2514
2515 pub fn get_gcs_object(&self) -> &GcsObject {
2519 match self.executable {
2520 ::std::option::Option::Some(ExecStepConfig_oneof_executable::gcs_object(ref v)) => v,
2521 _ => <GcsObject as ::protobuf::Message>::default_instance(),
2522 }
2523 }
2524 pub fn clear_gcs_object(&mut self) {
2525 self.executable = ::std::option::Option::None;
2526 }
2527
2528 pub fn has_gcs_object(&self) -> bool {
2529 match self.executable {
2530 ::std::option::Option::Some(ExecStepConfig_oneof_executable::gcs_object(..)) => true,
2531 _ => false,
2532 }
2533 }
2534
2535 pub fn set_gcs_object(&mut self, v: GcsObject) {
2537 self.executable = ::std::option::Option::Some(ExecStepConfig_oneof_executable::gcs_object(v))
2538 }
2539
2540 pub fn mut_gcs_object(&mut self) -> &mut GcsObject {
2542 if let ::std::option::Option::Some(ExecStepConfig_oneof_executable::gcs_object(_)) = self.executable {
2543 } else {
2544 self.executable = ::std::option::Option::Some(ExecStepConfig_oneof_executable::gcs_object(GcsObject::new()));
2545 }
2546 match self.executable {
2547 ::std::option::Option::Some(ExecStepConfig_oneof_executable::gcs_object(ref mut v)) => v,
2548 _ => panic!(),
2549 }
2550 }
2551
2552 pub fn take_gcs_object(&mut self) -> GcsObject {
2554 if self.has_gcs_object() {
2555 match self.executable.take() {
2556 ::std::option::Option::Some(ExecStepConfig_oneof_executable::gcs_object(v)) => v,
2557 _ => panic!(),
2558 }
2559 } else {
2560 GcsObject::new()
2561 }
2562 }
2563
2564 pub fn get_allowed_success_codes(&self) -> &[i32] {
2568 &self.allowed_success_codes
2569 }
2570 pub fn clear_allowed_success_codes(&mut self) {
2571 self.allowed_success_codes.clear();
2572 }
2573
2574 pub fn set_allowed_success_codes(&mut self, v: ::std::vec::Vec<i32>) {
2576 self.allowed_success_codes = v;
2577 }
2578
2579 pub fn mut_allowed_success_codes(&mut self) -> &mut ::std::vec::Vec<i32> {
2581 &mut self.allowed_success_codes
2582 }
2583
2584 pub fn take_allowed_success_codes(&mut self) -> ::std::vec::Vec<i32> {
2586 ::std::mem::replace(&mut self.allowed_success_codes, ::std::vec::Vec::new())
2587 }
2588
2589 pub fn get_interpreter(&self) -> ExecStepConfig_Interpreter {
2593 self.interpreter
2594 }
2595 pub fn clear_interpreter(&mut self) {
2596 self.interpreter = ExecStepConfig_Interpreter::INTERPRETER_UNSPECIFIED;
2597 }
2598
2599 pub fn set_interpreter(&mut self, v: ExecStepConfig_Interpreter) {
2601 self.interpreter = v;
2602 }
2603}
2604
2605impl ::protobuf::Message for ExecStepConfig {
2606 fn is_initialized(&self) -> bool {
2607 if let Some(ExecStepConfig_oneof_executable::gcs_object(ref v)) = self.executable {
2608 if !v.is_initialized() {
2609 return false;
2610 }
2611 }
2612 true
2613 }
2614
2615 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2616 while !is.eof()? {
2617 let (field_number, wire_type) = is.read_tag_unpack()?;
2618 match field_number {
2619 1 => {
2620 if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
2621 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
2622 }
2623 self.executable = ::std::option::Option::Some(ExecStepConfig_oneof_executable::local_path(is.read_string()?));
2624 },
2625 2 => {
2626 if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
2627 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
2628 }
2629 self.executable = ::std::option::Option::Some(ExecStepConfig_oneof_executable::gcs_object(is.read_message()?));
2630 },
2631 3 => {
2632 ::protobuf::rt::read_repeated_int32_into(wire_type, is, &mut self.allowed_success_codes)?;
2633 },
2634 4 => {
2635 ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.interpreter, 4, &mut self.unknown_fields)?
2636 },
2637 _ => {
2638 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2639 },
2640 };
2641 }
2642 ::std::result::Result::Ok(())
2643 }
2644
2645 #[allow(unused_variables)]
2647 fn compute_size(&self) -> u32 {
2648 let mut my_size = 0;
2649 for value in &self.allowed_success_codes {
2650 my_size += ::protobuf::rt::value_size(3, *value, ::protobuf::wire_format::WireTypeVarint);
2651 };
2652 if self.interpreter != ExecStepConfig_Interpreter::INTERPRETER_UNSPECIFIED {
2653 my_size += ::protobuf::rt::enum_size(4, self.interpreter);
2654 }
2655 if let ::std::option::Option::Some(ref v) = self.executable {
2656 match v {
2657 &ExecStepConfig_oneof_executable::local_path(ref v) => {
2658 my_size += ::protobuf::rt::string_size(1, &v);
2659 },
2660 &ExecStepConfig_oneof_executable::gcs_object(ref v) => {
2661 let len = v.compute_size();
2662 my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
2663 },
2664 };
2665 }
2666 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2667 self.cached_size.set(my_size);
2668 my_size
2669 }
2670
2671 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2672 for v in &self.allowed_success_codes {
2673 os.write_int32(3, *v)?;
2674 };
2675 if self.interpreter != ExecStepConfig_Interpreter::INTERPRETER_UNSPECIFIED {
2676 os.write_enum(4, ::protobuf::ProtobufEnum::value(&self.interpreter))?;
2677 }
2678 if let ::std::option::Option::Some(ref v) = self.executable {
2679 match v {
2680 &ExecStepConfig_oneof_executable::local_path(ref v) => {
2681 os.write_string(1, v)?;
2682 },
2683 &ExecStepConfig_oneof_executable::gcs_object(ref v) => {
2684 os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
2685 os.write_raw_varint32(v.get_cached_size())?;
2686 v.write_to_with_cached_sizes(os)?;
2687 },
2688 };
2689 }
2690 os.write_unknown_fields(self.get_unknown_fields())?;
2691 ::std::result::Result::Ok(())
2692 }
2693
2694 fn get_cached_size(&self) -> u32 {
2695 self.cached_size.get()
2696 }
2697
2698 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2699 &self.unknown_fields
2700 }
2701
2702 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2703 &mut self.unknown_fields
2704 }
2705
2706 fn as_any(&self) -> &dyn (::std::any::Any) {
2707 self as &dyn (::std::any::Any)
2708 }
2709 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2710 self as &mut dyn (::std::any::Any)
2711 }
2712 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2713 self
2714 }
2715
2716 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2717 Self::descriptor_static()
2718 }
2719
2720 fn new() -> ExecStepConfig {
2721 ExecStepConfig::new()
2722 }
2723
2724 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2725 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2726 descriptor.get(|| {
2727 let mut fields = ::std::vec::Vec::new();
2728 fields.push(::protobuf::reflect::accessor::make_singular_string_accessor::<_>(
2729 "local_path",
2730 ExecStepConfig::has_local_path,
2731 ExecStepConfig::get_local_path,
2732 ));
2733 fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, GcsObject>(
2734 "gcs_object",
2735 ExecStepConfig::has_gcs_object,
2736 ExecStepConfig::get_gcs_object,
2737 ));
2738 fields.push(::protobuf::reflect::accessor::make_vec_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
2739 "allowed_success_codes",
2740 |m: &ExecStepConfig| { &m.allowed_success_codes },
2741 |m: &mut ExecStepConfig| { &mut m.allowed_success_codes },
2742 ));
2743 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<ExecStepConfig_Interpreter>>(
2744 "interpreter",
2745 |m: &ExecStepConfig| { &m.interpreter },
2746 |m: &mut ExecStepConfig| { &mut m.interpreter },
2747 ));
2748 ::protobuf::reflect::MessageDescriptor::new_pb_name::<ExecStepConfig>(
2749 "ExecStepConfig",
2750 fields,
2751 file_descriptor_proto()
2752 )
2753 })
2754 }
2755
2756 fn default_instance() -> &'static ExecStepConfig {
2757 static instance: ::protobuf::rt::LazyV2<ExecStepConfig> = ::protobuf::rt::LazyV2::INIT;
2758 instance.get(ExecStepConfig::new)
2759 }
2760}
2761
2762impl ::protobuf::Clear for ExecStepConfig {
2763 fn clear(&mut self) {
2764 self.executable = ::std::option::Option::None;
2765 self.executable = ::std::option::Option::None;
2766 self.allowed_success_codes.clear();
2767 self.interpreter = ExecStepConfig_Interpreter::INTERPRETER_UNSPECIFIED;
2768 self.unknown_fields.clear();
2769 }
2770}
2771
2772impl ::std::fmt::Debug for ExecStepConfig {
2773 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2774 ::protobuf::text_format::fmt(self, f)
2775 }
2776}
2777
2778impl ::protobuf::reflect::ProtobufValue for ExecStepConfig {
2779 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2780 ::protobuf::reflect::ReflectValueRef::Message(self)
2781 }
2782}
2783
2784#[derive(Clone,PartialEq,Eq,Debug,Hash)]
2785pub enum ExecStepConfig_Interpreter {
2786 INTERPRETER_UNSPECIFIED = 0,
2787 NONE = 3,
2788 SHELL = 1,
2789 POWERSHELL = 2,
2790}
2791
2792impl ::protobuf::ProtobufEnum for ExecStepConfig_Interpreter {
2793 fn value(&self) -> i32 {
2794 *self as i32
2795 }
2796
2797 fn from_i32(value: i32) -> ::std::option::Option<ExecStepConfig_Interpreter> {
2798 match value {
2799 0 => ::std::option::Option::Some(ExecStepConfig_Interpreter::INTERPRETER_UNSPECIFIED),
2800 3 => ::std::option::Option::Some(ExecStepConfig_Interpreter::NONE),
2801 1 => ::std::option::Option::Some(ExecStepConfig_Interpreter::SHELL),
2802 2 => ::std::option::Option::Some(ExecStepConfig_Interpreter::POWERSHELL),
2803 _ => ::std::option::Option::None
2804 }
2805 }
2806
2807 fn values() -> &'static [Self] {
2808 static values: &'static [ExecStepConfig_Interpreter] = &[
2809 ExecStepConfig_Interpreter::INTERPRETER_UNSPECIFIED,
2810 ExecStepConfig_Interpreter::NONE,
2811 ExecStepConfig_Interpreter::SHELL,
2812 ExecStepConfig_Interpreter::POWERSHELL,
2813 ];
2814 values
2815 }
2816
2817 fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
2818 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
2819 descriptor.get(|| {
2820 ::protobuf::reflect::EnumDescriptor::new_pb_name::<ExecStepConfig_Interpreter>("ExecStepConfig.Interpreter", file_descriptor_proto())
2821 })
2822 }
2823}
2824
2825impl ::std::marker::Copy for ExecStepConfig_Interpreter {
2826}
2827
2828impl ::std::default::Default for ExecStepConfig_Interpreter {
2829 fn default() -> Self {
2830 ExecStepConfig_Interpreter::INTERPRETER_UNSPECIFIED
2831 }
2832}
2833
2834impl ::protobuf::reflect::ProtobufValue for ExecStepConfig_Interpreter {
2835 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2836 ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
2837 }
2838}
2839
2840#[derive(PartialEq,Clone,Default)]
2841pub struct GcsObject {
2842 pub bucket: ::std::string::String,
2844 pub object: ::std::string::String,
2845 pub generation_number: i64,
2846 pub unknown_fields: ::protobuf::UnknownFields,
2848 pub cached_size: ::protobuf::CachedSize,
2849}
2850
2851impl<'a> ::std::default::Default for &'a GcsObject {
2852 fn default() -> &'a GcsObject {
2853 <GcsObject as ::protobuf::Message>::default_instance()
2854 }
2855}
2856
2857impl GcsObject {
2858 pub fn new() -> GcsObject {
2859 ::std::default::Default::default()
2860 }
2861
2862 pub fn get_bucket(&self) -> &str {
2866 &self.bucket
2867 }
2868 pub fn clear_bucket(&mut self) {
2869 self.bucket.clear();
2870 }
2871
2872 pub fn set_bucket(&mut self, v: ::std::string::String) {
2874 self.bucket = v;
2875 }
2876
2877 pub fn mut_bucket(&mut self) -> &mut ::std::string::String {
2880 &mut self.bucket
2881 }
2882
2883 pub fn take_bucket(&mut self) -> ::std::string::String {
2885 ::std::mem::replace(&mut self.bucket, ::std::string::String::new())
2886 }
2887
2888 pub fn get_object(&self) -> &str {
2892 &self.object
2893 }
2894 pub fn clear_object(&mut self) {
2895 self.object.clear();
2896 }
2897
2898 pub fn set_object(&mut self, v: ::std::string::String) {
2900 self.object = v;
2901 }
2902
2903 pub fn mut_object(&mut self) -> &mut ::std::string::String {
2906 &mut self.object
2907 }
2908
2909 pub fn take_object(&mut self) -> ::std::string::String {
2911 ::std::mem::replace(&mut self.object, ::std::string::String::new())
2912 }
2913
2914 pub fn get_generation_number(&self) -> i64 {
2918 self.generation_number
2919 }
2920 pub fn clear_generation_number(&mut self) {
2921 self.generation_number = 0;
2922 }
2923
2924 pub fn set_generation_number(&mut self, v: i64) {
2926 self.generation_number = v;
2927 }
2928}
2929
2930impl ::protobuf::Message for GcsObject {
2931 fn is_initialized(&self) -> bool {
2932 true
2933 }
2934
2935 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2936 while !is.eof()? {
2937 let (field_number, wire_type) = is.read_tag_unpack()?;
2938 match field_number {
2939 1 => {
2940 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.bucket)?;
2941 },
2942 2 => {
2943 ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.object)?;
2944 },
2945 3 => {
2946 if wire_type != ::protobuf::wire_format::WireTypeVarint {
2947 return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
2948 }
2949 let tmp = is.read_int64()?;
2950 self.generation_number = tmp;
2951 },
2952 _ => {
2953 ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2954 },
2955 };
2956 }
2957 ::std::result::Result::Ok(())
2958 }
2959
2960 #[allow(unused_variables)]
2962 fn compute_size(&self) -> u32 {
2963 let mut my_size = 0;
2964 if !self.bucket.is_empty() {
2965 my_size += ::protobuf::rt::string_size(1, &self.bucket);
2966 }
2967 if !self.object.is_empty() {
2968 my_size += ::protobuf::rt::string_size(2, &self.object);
2969 }
2970 if self.generation_number != 0 {
2971 my_size += ::protobuf::rt::value_size(3, self.generation_number, ::protobuf::wire_format::WireTypeVarint);
2972 }
2973 my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2974 self.cached_size.set(my_size);
2975 my_size
2976 }
2977
2978 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2979 if !self.bucket.is_empty() {
2980 os.write_string(1, &self.bucket)?;
2981 }
2982 if !self.object.is_empty() {
2983 os.write_string(2, &self.object)?;
2984 }
2985 if self.generation_number != 0 {
2986 os.write_int64(3, self.generation_number)?;
2987 }
2988 os.write_unknown_fields(self.get_unknown_fields())?;
2989 ::std::result::Result::Ok(())
2990 }
2991
2992 fn get_cached_size(&self) -> u32 {
2993 self.cached_size.get()
2994 }
2995
2996 fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2997 &self.unknown_fields
2998 }
2999
3000 fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
3001 &mut self.unknown_fields
3002 }
3003
3004 fn as_any(&self) -> &dyn (::std::any::Any) {
3005 self as &dyn (::std::any::Any)
3006 }
3007 fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
3008 self as &mut dyn (::std::any::Any)
3009 }
3010 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
3011 self
3012 }
3013
3014 fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
3015 Self::descriptor_static()
3016 }
3017
3018 fn new() -> GcsObject {
3019 GcsObject::new()
3020 }
3021
3022 fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
3023 static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
3024 descriptor.get(|| {
3025 let mut fields = ::std::vec::Vec::new();
3026 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
3027 "bucket",
3028 |m: &GcsObject| { &m.bucket },
3029 |m: &mut GcsObject| { &mut m.bucket },
3030 ));
3031 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
3032 "object",
3033 |m: &GcsObject| { &m.object },
3034 |m: &mut GcsObject| { &mut m.object },
3035 ));
3036 fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt64>(
3037 "generation_number",
3038 |m: &GcsObject| { &m.generation_number },
3039 |m: &mut GcsObject| { &mut m.generation_number },
3040 ));
3041 ::protobuf::reflect::MessageDescriptor::new_pb_name::<GcsObject>(
3042 "GcsObject",
3043 fields,
3044 file_descriptor_proto()
3045 )
3046 })
3047 }
3048
3049 fn default_instance() -> &'static GcsObject {
3050 static instance: ::protobuf::rt::LazyV2<GcsObject> = ::protobuf::rt::LazyV2::INIT;
3051 instance.get(GcsObject::new)
3052 }
3053}
3054
3055impl ::protobuf::Clear for GcsObject {
3056 fn clear(&mut self) {
3057 self.bucket.clear();
3058 self.object.clear();
3059 self.generation_number = 0;
3060 self.unknown_fields.clear();
3061 }
3062}
3063
3064impl ::std::fmt::Debug for GcsObject {
3065 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3066 ::protobuf::text_format::fmt(self, f)
3067 }
3068}
3069
3070impl ::protobuf::reflect::ProtobufValue for GcsObject {
3071 fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
3072 ::protobuf::reflect::ReflectValueRef::Message(self)
3073 }
3074}
3075
3076static file_descriptor_proto_data: &'static [u8] = b"\
3077 \n7google/cloud/osconfig/agentendpoint/v1/patch_jobs.proto\x12&google.cl\
3078 oud.osconfig.agentendpoint.v1\"\x80\x07\n\x0bPatchConfig\x12e\n\rreboot_\
3079 config\x18\x01\x20\x01(\x0e2@.google.cloud.osconfig.agentendpoint.v1.Pat\
3080 chConfig.RebootConfigR\x0crebootConfig\x12\\\n\x0eretry_strategy\x18\x02\
3081 \x20\x01(\x0b25.google.cloud.osconfig.agentendpoint.v1.RetryStrategyR\rr\
3082 etryStrategy\x12E\n\x03apt\x18\x03\x20\x01(\x0b23.google.cloud.osconfig.\
3083 agentendpoint.v1.AptSettingsR\x03apt\x12E\n\x03yum\x18\x04\x20\x01(\x0b2\
3084 3.google.cloud.osconfig.agentendpoint.v1.YumSettingsR\x03yum\x12E\n\x03g\
3085 oo\x18\x05\x20\x01(\x0b23.google.cloud.osconfig.agentendpoint.v1.GooSett\
3086 ingsR\x03goo\x12N\n\x06zypper\x18\x06\x20\x01(\x0b26.google.cloud.osconf\
3087 ig.agentendpoint.v1.ZypperSettingsR\x06zypper\x12d\n\x0ewindows_update\
3088 \x18\x07\x20\x01(\x0b2=.google.cloud.osconfig.agentendpoint.v1.WindowsUp\
3089 dateSettingsR\rwindowsUpdate\x12K\n\x08pre_step\x18\x08\x20\x01(\x0b20.g\
3090 oogle.cloud.osconfig.agentendpoint.v1.ExecStepR\x07preStep\x12M\n\tpost_\
3091 step\x18\t\x20\x01(\x0b20.google.cloud.osconfig.agentendpoint.v1.ExecSte\
3092 pR\x08postStep\x122\n\x15mig_instances_allowed\x18\n\x20\x01(\x08R\x13mi\
3093 gInstancesAllowed\"Q\n\x0cRebootConfig\x12\x1d\n\x19REBOOT_CONFIG_UNSPEC\
3094 IFIED\x10\0\x12\x0b\n\x07DEFAULT\x10\x01\x12\n\n\x06ALWAYS\x10\x02\x12\t\
3095 \n\x05NEVER\x10\x03\"\xdb\x01\n\x0bAptSettings\x12L\n\x04type\x18\x01\
3096 \x20\x01(\x0e28.google.cloud.osconfig.agentendpoint.v1.AptSettings.TypeR\
3097 \x04type\x12\x1a\n\x08excludes\x18\x02\x20\x03(\tR\x08excludes\x12-\n\
3098 \x12exclusive_packages\x18\x03\x20\x03(\tR\x11exclusivePackages\"3\n\x04\
3099 Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\0\x12\x08\n\x04DIST\x10\x01\x12\
3100 \x0b\n\x07UPGRADE\x10\x02\"\x8e\x01\n\x0bYumSettings\x12\x1a\n\x08securi\
3101 ty\x18\x01\x20\x01(\x08R\x08security\x12\x18\n\x07minimal\x18\x02\x20\
3102 \x01(\x08R\x07minimal\x12\x1a\n\x08excludes\x18\x03\x20\x03(\tR\x08exclu\
3103 des\x12-\n\x12exclusive_packages\x18\x04\x20\x03(\tR\x11exclusivePackage\
3104 s\"\r\n\x0bGooSettings\"\xdf\x01\n\x0eZypperSettings\x12#\n\rwith_option\
3105 al\x18\x01\x20\x01(\x08R\x0cwithOptional\x12\x1f\n\x0bwith_update\x18\
3106 \x02\x20\x01(\x08R\nwithUpdate\x12\x1e\n\ncategories\x18\x03\x20\x03(\tR\
3107 \ncategories\x12\x1e\n\nseverities\x18\x04\x20\x03(\tR\nseverities\x12\
3108 \x1a\n\x08excludes\x18\x05\x20\x03(\tR\x08excludes\x12+\n\x11exclusive_p\
3109 atches\x18\x06\x20\x03(\tR\x10exclusivePatches\"\x90\x03\n\x15WindowsUpd\
3110 ateSettings\x12v\n\x0fclassifications\x18\x01\x20\x03(\x0e2L.google.clou\
3111 d.osconfig.agentendpoint.v1.WindowsUpdateSettings.ClassificationR\x0fcla\
3112 ssifications\x12\x1a\n\x08excludes\x18\x02\x20\x03(\tR\x08excludes\x12+\
3113 \n\x11exclusive_patches\x18\x03\x20\x03(\tR\x10exclusivePatches\"\xb5\
3114 \x01\n\x0eClassification\x12\x1e\n\x1aCLASSIFICATION_UNSPECIFIED\x10\0\
3115 \x12\x0c\n\x08CRITICAL\x10\x01\x12\x0c\n\x08SECURITY\x10\x02\x12\x0e\n\n\
3116 DEFINITION\x10\x03\x12\n\n\x06DRIVER\x10\x04\x12\x10\n\x0cFEATURE_PACK\
3117 \x10\x05\x12\x10\n\x0cSERVICE_PACK\x10\x06\x12\x08\n\x04TOOL\x10\x07\x12\
3118 \x11\n\rUPDATE_ROLLUP\x10\x08\x12\n\n\x06UPDATE\x10\t\")\n\rRetryStrateg\
3119 y\x12\x18\n\x07enabled\x18\x01\x20\x01(\x08R\x07enabled\"\xe8\x01\n\x08E\
3120 xecStep\x12k\n\x16linux_exec_step_config\x18\x01\x20\x01(\x0b26.google.c\
3121 loud.osconfig.agentendpoint.v1.ExecStepConfigR\x13linuxExecStepConfig\
3122 \x12o\n\x18windows_exec_step_config\x18\x02\x20\x01(\x0b26.google.cloud.\
3123 osconfig.agentendpoint.v1.ExecStepConfigR\x15windowsExecStepConfig\"\xfe\
3124 \x02\n\x0eExecStepConfig\x12\x1f\n\nlocal_path\x18\x01\x20\x01(\tH\0R\tl\
3125 ocalPath\x12R\n\ngcs_object\x18\x02\x20\x01(\x0b21.google.cloud.osconfig\
3126 .agentendpoint.v1.GcsObjectH\0R\tgcsObject\x122\n\x15allowed_success_cod\
3127 es\x18\x03\x20\x03(\x05R\x13allowedSuccessCodes\x12d\n\x0binterpreter\
3128 \x18\x04\x20\x01(\x0e2B.google.cloud.osconfig.agentendpoint.v1.ExecStepC\
3129 onfig.InterpreterR\x0binterpreter\"O\n\x0bInterpreter\x12\x1b\n\x17INTER\
3130 PRETER_UNSPECIFIED\x10\0\x12\x08\n\x04NONE\x10\x03\x12\t\n\x05SHELL\x10\
3131 \x01\x12\x0e\n\nPOWERSHELL\x10\x02B\x0c\n\nexecutable\"h\n\tGcsObject\
3132 \x12\x16\n\x06bucket\x18\x01\x20\x01(\tR\x06bucket\x12\x16\n\x06object\
3133 \x18\x02\x20\x01(\tR\x06object\x12+\n\x11generation_number\x18\x03\x20\
3134 \x01(\x03R\x10generationNumberB\x89\x01\n*com.google.cloud.osconfig.agen\
3135 tendpoint.v1B\tPatchJobsZPcloud.google.com/go/osconfig/agentendpoint/api\
3136 v1/agentendpointpb;agentendpointpbJ\xc1Y\n\x07\x12\x05\x0e\0\xa5\x02\x01\
3137 \n\xbc\x04\n\x01\x0c\x12\x03\x0e\0\x122\xb1\x04\x20Copyright\x202020\x20\
3138 Google\x20LLC\n\n\x20Licensed\x20under\x20the\x20Apache\x20License,\x20V\
3139 ersion\x202.0\x20(the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20\
3140 this\x20file\x20except\x20in\x20compliance\x20with\x20the\x20License.\n\
3141 \x20You\x20may\x20obtain\x20a\x20copy\x20of\x20the\x20License\x20at\n\n\
3142 \x20\x20\x20\x20\x20http://www.apache.org/licenses/LICENSE-2.0\n\n\x20Un\
3143 less\x20required\x20by\x20applicable\x20law\x20or\x20agreed\x20to\x20in\
3144 \x20writing,\x20software\n\x20distributed\x20under\x20the\x20License\x20\
3145 is\x20distributed\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20\
3146 WARRANTIES\x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20expres\
3147 s\x20or\x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20specific\
3148 \x20language\x20governing\x20permissions\x20and\n\x20limitations\x20unde\
3149 r\x20the\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0/\n\x08\n\x01\x08\
3150 \x12\x03\x12\0g\n\t\n\x02\x08\x0b\x12\x03\x12\0g\n\x08\n\x01\x08\x12\x03\
3151 \x13\0*\n\t\n\x02\x08\x08\x12\x03\x13\0*\n\x08\n\x01\x08\x12\x03\x14\0C\
3152 \n\t\n\x02\x08\x01\x12\x03\x14\0C\nm\n\x02\x04\0\x12\x04\x18\0J\x01\x1aa\
3153 \x20Patch\x20configuration\x20specifications.\x20Contains\x20details\x20\
3154 on\x20how\x20to\n\x20apply\x20patches\x20to\x20a\x20VM\x20instance.\n\n\
3155 \n\n\x03\x04\0\x01\x12\x03\x18\x08\x13\n+\n\x04\x04\0\x04\0\x12\x04\x1a\
3156 \x02)\x03\x1a\x1d\x20Post-patch\x20reboot\x20settings.\n\n\x0c\n\x05\x04\
3157 \0\x04\0\x01\x12\x03\x1a\x07\x13\n1\n\x06\x04\0\x04\0\x02\0\x12\x03\x1c\
3158 \x04\"\x1a\"\x20The\x20default\x20behavior\x20is\x20DEFAULT.\n\n\x0e\n\
3159 \x07\x04\0\x04\0\x02\0\x01\x12\x03\x1c\x04\x1d\n\x0e\n\x07\x04\0\x04\0\
3160 \x02\0\x02\x12\x03\x1c\x20!\n\x8d\x02\n\x06\x04\0\x04\0\x02\x01\x12\x03\
3161 \"\x04\x10\x1a\xfd\x01\x20The\x20agent\x20decides\x20if\x20a\x20reboot\
3162 \x20is\x20necessary\x20by\x20checking\n\x20signals\x20such\x20as\x20regi\
3163 stry\x20keys\x20on\x20Windows\x20or\x20`/var/run/reboot-required`\x20on\
3164 \n\x20APT\x20based\x20systems.\x20On\x20RPM\x20based\x20systems,\x20a\
3165 \x20set\x20of\x20core\x20system\x20package\n\x20install\x20times\x20are\
3166 \x20compared\x20with\x20system\x20boot\x20time.\n\n\x0e\n\x07\x04\0\x04\
3167 \0\x02\x01\x01\x12\x03\"\x04\x0b\n\x0e\n\x07\x04\0\x04\0\x02\x01\x02\x12\
3168 \x03\"\x0e\x0f\nF\n\x06\x04\0\x04\0\x02\x02\x12\x03%\x04\x0f\x1a7\x20Alw\
3169 ays\x20reboot\x20the\x20machine\x20after\x20the\x20update\x20completes.\
3170 \n\n\x0e\n\x07\x04\0\x04\0\x02\x02\x01\x12\x03%\x04\n\n\x0e\n\x07\x04\0\
3171 \x04\0\x02\x02\x02\x12\x03%\r\x0e\nE\n\x06\x04\0\x04\0\x02\x03\x12\x03(\
3172 \x04\x0e\x1a6\x20Never\x20reboot\x20the\x20machine\x20after\x20the\x20up\
3173 date\x20completes.\n\n\x0e\n\x07\x04\0\x04\0\x02\x03\x01\x12\x03(\x04\t\
3174 \n\x0e\n\x07\x04\0\x04\0\x02\x03\x02\x12\x03(\x0c\r\n*\n\x04\x04\0\x02\0\
3175 \x12\x03,\x02!\x1a\x1d\x20Post-patch\x20reboot\x20settings.\n\n\x0c\n\
3176 \x05\x04\0\x02\0\x06\x12\x03,\x02\x0e\n\x0c\n\x05\x04\0\x02\0\x01\x12\
3177 \x03,\x0f\x1c\n\x0c\n\x05\x04\0\x02\0\x03\x12\x03,\x1f\x20\n\xb0\x01\n\
3178 \x04\x04\0\x02\x01\x12\x031\x02#\x1a\xa2\x01\x20Retry\x20strategy\x20can\
3179 \x20be\x20defined\x20to\x20have\x20the\x20agent\x20retry\x20patching\n\
3180 \x20during\x20the\x20window\x20if\x20patching\x20fails.\x20If\x20omitted\
3181 ,\x20the\x20agent\x20will\x20use\x20its\n\x20default\x20retry\x20strateg\
3182 y.\n\n\x0c\n\x05\x04\0\x02\x01\x06\x12\x031\x02\x0f\n\x0c\n\x05\x04\0\
3183 \x02\x01\x01\x12\x031\x10\x1e\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x031!\"\
3184 \nR\n\x04\x04\0\x02\x02\x12\x034\x02\x16\x1aE\x20Apt\x20update\x20settin\
3185 gs.\x20Use\x20this\x20override\x20the\x20default\x20apt\x20patch\x20rule\
3186 s.\n\n\x0c\n\x05\x04\0\x02\x02\x06\x12\x034\x02\r\n\x0c\n\x05\x04\0\x02\
3187 \x02\x01\x12\x034\x0e\x11\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x034\x14\x15\
3188 \nR\n\x04\x04\0\x02\x03\x12\x037\x02\x16\x1aE\x20Yum\x20update\x20settin\
3189 gs.\x20Use\x20this\x20override\x20the\x20default\x20yum\x20patch\x20rule\
3190 s.\n\n\x0c\n\x05\x04\0\x02\x03\x06\x12\x037\x02\r\n\x0c\n\x05\x04\0\x02\
3191 \x03\x01\x12\x037\x0e\x11\n\x0c\n\x05\x04\0\x02\x03\x03\x12\x037\x14\x15\
3192 \nR\n\x04\x04\0\x02\x04\x12\x03:\x02\x16\x1aE\x20Goo\x20update\x20settin\
3193 gs.\x20Use\x20this\x20override\x20the\x20default\x20goo\x20patch\x20rule\
3194 s.\n\n\x0c\n\x05\x04\0\x02\x04\x06\x12\x03:\x02\r\n\x0c\n\x05\x04\0\x02\
3195 \x04\x01\x12\x03:\x0e\x11\n\x0c\n\x05\x04\0\x02\x04\x03\x12\x03:\x14\x15\
3196 \nX\n\x04\x04\0\x02\x05\x12\x03=\x02\x1c\x1aK\x20Zypper\x20update\x20set\
3197 tings.\x20Use\x20this\x20override\x20the\x20default\x20zypper\x20patch\
3198 \x20rules.\n\n\x0c\n\x05\x04\0\x02\x05\x06\x12\x03=\x02\x10\n\x0c\n\x05\
3199 \x04\0\x02\x05\x01\x12\x03=\x11\x17\n\x0c\n\x05\x04\0\x02\x05\x03\x12\
3200 \x03=\x1a\x1b\nZ\n\x04\x04\0\x02\x06\x12\x03@\x02+\x1aM\x20Windows\x20up\
3201 date\x20settings.\x20Use\x20this\x20override\x20the\x20default\x20window\
3202 s\x20patch\x20rules.\n\n\x0c\n\x05\x04\0\x02\x06\x06\x12\x03@\x02\x17\n\
3203 \x0c\n\x05\x04\0\x02\x06\x01\x12\x03@\x18&\n\x0c\n\x05\x04\0\x02\x06\x03\
3204 \x12\x03@)*\n;\n\x04\x04\0\x02\x07\x12\x03C\x02\x18\x1a.\x20The\x20ExecS\
3205 tep\x20to\x20run\x20before\x20the\x20patch\x20update.\n\n\x0c\n\x05\x04\
3206 \0\x02\x07\x06\x12\x03C\x02\n\n\x0c\n\x05\x04\0\x02\x07\x01\x12\x03C\x0b\
3207 \x13\n\x0c\n\x05\x04\0\x02\x07\x03\x12\x03C\x16\x17\n:\n\x04\x04\0\x02\
3208 \x08\x12\x03F\x02\x19\x1a-\x20The\x20ExecStep\x20to\x20run\x20after\x20t\
3209 he\x20patch\x20update.\n\n\x0c\n\x05\x04\0\x02\x08\x06\x12\x03F\x02\n\n\
3210 \x0c\n\x05\x04\0\x02\x08\x01\x12\x03F\x0b\x14\n\x0c\n\x05\x04\0\x02\x08\
3211 \x03\x12\x03F\x17\x18\nM\n\x04\x04\0\x02\t\x12\x03I\x02\"\x1a@\x20Allows\
3212 \x20the\x20patch\x20job\x20to\x20run\x20on\x20Managed\x20instance\x20gro\
3213 ups\x20(MIGs).\n\n\x0c\n\x05\x04\0\x02\t\x05\x12\x03I\x02\x06\n\x0c\n\
3214 \x05\x04\0\x02\t\x01\x12\x03I\x07\x1c\n\x0c\n\x05\x04\0\x02\t\x03\x12\
3215 \x03I\x1f!\n\x9f\x01\n\x02\x04\x01\x12\x04N\0g\x01\x1a\x92\x01\x20Apt\
3216 \x20patching\x20will\x20be\x20performed\x20by\x20executing\x20`apt-get\
3217 \x20update\x20&&\x20apt-get\n\x20upgrade`.\x20Additional\x20options\x20c\
3218 an\x20be\x20set\x20to\x20control\x20how\x20this\x20is\x20executed.\n\n\n\
3219 \n\x03\x04\x01\x01\x12\x03N\x08\x13\n\x1f\n\x04\x04\x01\x04\0\x12\x04P\
3220 \x02Y\x03\x1a\x11\x20Apt\x20patch\x20type.\n\n\x0c\n\x05\x04\x01\x04\0\
3221 \x01\x12\x03P\x07\x0b\n7\n\x06\x04\x01\x04\0\x02\0\x12\x03R\x04\x19\x1a(\
3222 \x20By\x20default,\x20upgrade\x20will\x20be\x20performed.\n\n\x0e\n\x07\
3223 \x04\x01\x04\0\x02\0\x01\x12\x03R\x04\x14\n\x0e\n\x07\x04\x01\x04\0\x02\
3224 \0\x02\x12\x03R\x17\x18\n-\n\x06\x04\x01\x04\0\x02\x01\x12\x03U\x04\r\
3225 \x1a\x1e\x20Runs\x20`apt-get\x20dist-upgrade`.\n\n\x0e\n\x07\x04\x01\x04\
3226 \0\x02\x01\x01\x12\x03U\x04\x08\n\x0e\n\x07\x04\x01\x04\0\x02\x01\x02\
3227 \x12\x03U\x0b\x0c\n(\n\x06\x04\x01\x04\0\x02\x02\x12\x03X\x04\x10\x1a\
3228 \x19\x20Runs\x20`apt-get\x20upgrade`.\n\n\x0e\n\x07\x04\x01\x04\0\x02\
3229 \x02\x01\x12\x03X\x04\x0b\n\x0e\n\x07\x04\x01\x04\0\x02\x02\x02\x12\x03X\
3230 \x0e\x0f\nr\n\x04\x04\x01\x02\0\x12\x03]\x02\x10\x1ae\x20By\x20changing\
3231 \x20the\x20type\x20to\x20DIST,\x20the\x20patching\x20will\x20be\x20perfo\
3232 rmed\n\x20using\x20`apt-get\x20dist-upgrade`\x20instead.\n\n\x0c\n\x05\
3233 \x04\x01\x02\0\x06\x12\x03]\x02\x06\n\x0c\n\x05\x04\x01\x02\0\x01\x12\
3234 \x03]\x07\x0b\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03]\x0e\x0f\n7\n\x04\
3235 \x04\x01\x02\x01\x12\x03`\x02\x1f\x1a*\x20List\x20of\x20packages\x20to\
3236 \x20exclude\x20from\x20update.\n\n\x0c\n\x05\x04\x01\x02\x01\x04\x12\x03\
3237 `\x02\n\n\x0c\n\x05\x04\x01\x02\x01\x05\x12\x03`\x0b\x11\n\x0c\n\x05\x04\
3238 \x01\x02\x01\x01\x12\x03`\x12\x1a\n\x0c\n\x05\x04\x01\x02\x01\x03\x12\
3239 \x03`\x1d\x1e\n\xf6\x01\n\x04\x04\x01\x02\x02\x12\x03f\x02)\x1a\xe8\x01\
3240 \x20An\x20exclusive\x20list\x20of\x20packages\x20to\x20be\x20updated.\
3241 \x20These\x20are\x20the\x20only\x20packages\n\x20that\x20will\x20be\x20u\
3242 pdated.\x20If\x20these\x20packages\x20are\x20not\x20installed,\x20they\
3243 \x20will\x20be\n\x20ignored.\x20This\x20field\x20cannot\x20be\x20specifi\
3244 ed\x20with\x20any\x20other\x20patch\x20configuration\n\x20fields.\n\n\
3245 \x0c\n\x05\x04\x01\x02\x02\x04\x12\x03f\x02\n\n\x0c\n\x05\x04\x01\x02\
3246 \x02\x05\x12\x03f\x0b\x11\n\x0c\n\x05\x04\x01\x02\x02\x01\x12\x03f\x12$\
3247 \n\x0c\n\x05\x04\x01\x02\x02\x03\x12\x03f'(\n\xc5\x01\n\x02\x04\x02\x12\
3248 \x04m\0~\x01\x1a\xb8\x01\x20Yum\x20patching\x20will\x20be\x20performed\
3249 \x20by\x20executing\x20`yum\x20update`.\x20Additional\x20options\n\x20ca\
3250 n\x20be\x20set\x20to\x20control\x20how\x20this\x20is\x20executed.\n\n\
3251 \x20Note\x20that\x20not\x20all\x20settings\x20are\x20supported\x20on\x20\
3252 all\x20platforms.\n\n\n\n\x03\x04\x02\x01\x12\x03m\x08\x13\n[\n\x04\x04\
3253 \x02\x02\0\x12\x03p\x02\x14\x1aN\x20Adds\x20the\x20`--security`\x20flag\
3254 \x20to\x20`yum\x20update`.\x20Not\x20supported\x20on\n\x20all\x20platfor\
3255 ms.\n\n\x0c\n\x05\x04\x02\x02\0\x05\x12\x03p\x02\x06\n\x0c\n\x05\x04\x02\
3256 \x02\0\x01\x12\x03p\x07\x0f\n\x0c\n\x05\x04\x02\x02\0\x03\x12\x03p\x12\
3257 \x13\nD\n\x04\x04\x02\x02\x01\x12\x03s\x02\x13\x1a7\x20Will\x20cause\x20\
3258 patch\x20to\x20run\x20`yum\x20update-minimal`\x20instead.\n\n\x0c\n\x05\
3259 \x04\x02\x02\x01\x05\x12\x03s\x02\x06\n\x0c\n\x05\x04\x02\x02\x01\x01\
3260 \x12\x03s\x07\x0e\n\x0c\n\x05\x04\x02\x02\x01\x03\x12\x03s\x11\x12\n{\n\
3261 \x04\x04\x02\x02\x02\x12\x03w\x02\x1f\x1an\x20List\x20of\x20packages\x20\
3262 to\x20exclude\x20from\x20update.\x20These\x20packages\x20will\x20be\x20e\
3263 xcluded\x20by\n\x20using\x20the\x20yum\x20`--exclude`\x20flag.\n\n\x0c\n\
3264 \x05\x04\x02\x02\x02\x04\x12\x03w\x02\n\n\x0c\n\x05\x04\x02\x02\x02\x05\
3265 \x12\x03w\x0b\x11\n\x0c\n\x05\x04\x02\x02\x02\x01\x12\x03w\x12\x1a\n\x0c\
3266 \n\x05\x04\x02\x02\x02\x03\x12\x03w\x1d\x1e\n\xf8\x01\n\x04\x04\x02\x02\
3267 \x03\x12\x03}\x02)\x1a\xea\x01\x20An\x20exclusive\x20list\x20of\x20packa\
3268 ges\x20to\x20be\x20updated.\x20These\x20are\x20the\x20only\x20packages\n\
3269 \x20that\x20will\x20be\x20updated.\x20If\x20these\x20packages\x20are\x20\
3270 not\x20installed,\x20they\x20will\x20be\n\x20ignored.\x20This\x20field\
3271 \x20must\x20not\x20be\x20specified\x20with\x20any\x20other\x20patch\n\
3272 \x20configuration\x20fields.\n\n\x0c\n\x05\x04\x02\x02\x03\x04\x12\x03}\
3273 \x02\n\n\x0c\n\x05\x04\x02\x02\x03\x05\x12\x03}\x0b\x11\n\x0c\n\x05\x04\
3274 \x02\x02\x03\x01\x12\x03}\x12$\n\x0c\n\x05\x04\x02\x02\x03\x03\x12\x03}'\
3275 (\nH\n\x02\x04\x03\x12\x06\x81\x01\0\x83\x01\x01\x1a:\x20Googet\x20patch\
3276 ing\x20is\x20performed\x20by\x20running\x20`googet\x20update`.\n\n\x0b\n\
3277 \x03\x04\x03\x01\x12\x04\x81\x01\x08\x13\n|\n\x02\x04\x04\x12\x06\x87\
3278 \x01\0\x9d\x01\x01\x1an\x20Zypper\x20patching\x20is\x20performed\x20by\
3279 \x20running\x20`zypper\x20patch`.\n\x20See\x20also\x20https://en.opensus\
3280 e.org/SDB:Zypper_manual.\n\n\x0b\n\x03\x04\x04\x01\x12\x04\x87\x01\x08\
3281 \x16\nB\n\x04\x04\x04\x02\0\x12\x04\x89\x01\x02\x19\x1a4\x20Adds\x20the\
3282 \x20`--with-optional`\x20flag\x20to\x20`zypper\x20patch`.\n\n\r\n\x05\
3283 \x04\x04\x02\0\x05\x12\x04\x89\x01\x02\x06\n\r\n\x05\x04\x04\x02\0\x01\
3284 \x12\x04\x89\x01\x07\x14\n\r\n\x05\x04\x04\x02\0\x03\x12\x04\x89\x01\x17\
3285 \x18\nA\n\x04\x04\x04\x02\x01\x12\x04\x8c\x01\x02\x17\x1a3\x20Adds\x20th\
3286 e\x20`--with-update`\x20flag,\x20to\x20`zypper\x20patch`.\n\n\r\n\x05\
3287 \x04\x04\x02\x01\x05\x12\x04\x8c\x01\x02\x06\n\r\n\x05\x04\x04\x02\x01\
3288 \x01\x12\x04\x8c\x01\x07\x12\n\r\n\x05\x04\x04\x02\x01\x03\x12\x04\x8c\
3289 \x01\x15\x16\nz\n\x04\x04\x04\x02\x02\x12\x04\x90\x01\x02!\x1al\x20Insta\
3290 ll\x20only\x20patches\x20with\x20these\x20categories.\n\x20Common\x20cat\
3291 egories\x20include\x20security,\x20recommended,\x20and\x20feature.\n\n\r\
3292 \n\x05\x04\x04\x02\x02\x04\x12\x04\x90\x01\x02\n\n\r\n\x05\x04\x04\x02\
3293 \x02\x05\x12\x04\x90\x01\x0b\x11\n\r\n\x05\x04\x04\x02\x02\x01\x12\x04\
3294 \x90\x01\x12\x1c\n\r\n\x05\x04\x04\x02\x02\x03\x12\x04\x90\x01\x1f\x20\n\
3295 ~\n\x04\x04\x04\x02\x03\x12\x04\x94\x01\x02!\x1ap\x20Install\x20only\x20\
3296 patches\x20with\x20these\x20severities.\n\x20Common\x20severities\x20inc\
3297 lude\x20critical,\x20important,\x20moderate,\x20and\x20low.\n\n\r\n\x05\
3298 \x04\x04\x02\x03\x04\x12\x04\x94\x01\x02\n\n\r\n\x05\x04\x04\x02\x03\x05\
3299 \x12\x04\x94\x01\x0b\x11\n\r\n\x05\x04\x04\x02\x03\x01\x12\x04\x94\x01\
3300 \x12\x1c\n\r\n\x05\x04\x04\x02\x03\x03\x12\x04\x94\x01\x1f\x20\n7\n\x04\
3301 \x04\x04\x02\x04\x12\x04\x97\x01\x02\x1f\x1a)\x20List\x20of\x20patches\
3302 \x20to\x20exclude\x20from\x20update.\n\n\r\n\x05\x04\x04\x02\x04\x04\x12\
3303 \x04\x97\x01\x02\n\n\r\n\x05\x04\x04\x02\x04\x05\x12\x04\x97\x01\x0b\x11\
3304 \n\r\n\x05\x04\x04\x02\x04\x01\x12\x04\x97\x01\x12\x1a\n\r\n\x05\x04\x04\
3305 \x02\x04\x03\x12\x04\x97\x01\x1d\x1e\n\xe8\x01\n\x04\x04\x04\x02\x05\x12\
3306 \x04\x9c\x01\x02(\x1a\xd9\x01\x20An\x20exclusive\x20list\x20of\x20patche\
3307 s\x20to\x20be\x20updated.\x20These\x20are\x20the\x20only\x20patches\n\
3308 \x20that\x20will\x20be\x20installed\x20using\x20'zypper\x20patch\x20patc\
3309 h:<patch_name>'\x20command.\n\x20This\x20field\x20must\x20not\x20be\x20u\
3310 sed\x20with\x20any\x20other\x20patch\x20configuration\x20fields.\n\n\r\n\
3311 \x05\x04\x04\x02\x05\x04\x12\x04\x9c\x01\x02\n\n\r\n\x05\x04\x04\x02\x05\
3312 \x05\x12\x04\x9c\x01\x0b\x11\n\r\n\x05\x04\x04\x02\x05\x01\x12\x04\x9c\
3313 \x01\x12#\n\r\n\x05\x04\x04\x02\x05\x03\x12\x04\x9c\x01&'\nM\n\x02\x04\
3314 \x05\x12\x06\xa0\x01\0\xe0\x01\x01\x1a?\x20Windows\x20patching\x20is\x20\
3315 performed\x20using\x20the\x20Windows\x20Update\x20Agent.\n\n\x0b\n\x03\
3316 \x04\x05\x01\x12\x04\xa0\x01\x08\x1d\n\xc6\x01\n\x04\x04\x05\x04\0\x12\
3317 \x06\xa4\x01\x02\xd3\x01\x03\x1a\xb5\x01\x20Microsoft\x20Windows\x20upda\
3318 te\x20classifications\x20as\x20defined\x20in\n\x20[1]\n\x20https://suppo\
3319 rt.microsoft.com/en-us/help/824684/description-of-the-standard-terminolo\
3320 gy-that-is-used-to-describe-micro\n\n\r\n\x05\x04\x05\x04\0\x01\x12\x04\
3321 \xa4\x01\x07\x15\nS\n\x06\x04\x05\x04\0\x02\0\x12\x04\xa6\x01\x04#\x1aC\
3322 \x20Invalid.\x20If\x20classifications\x20are\x20included,\x20they\x20mus\
3323 t\x20be\x20specified.\n\n\x0f\n\x07\x04\x05\x04\0\x02\0\x01\x12\x04\xa6\
3324 \x01\x04\x1e\n\x0f\n\x07\x04\x05\x04\0\x02\0\x02\x12\x04\xa6\x01!\"\nz\n\
3325 \x06\x04\x05\x04\0\x02\x01\x12\x04\xaa\x01\x04\x11\x1aj\x20\"A\x20widely\
3326 \x20released\x20fix\x20for\x20a\x20specific\x20problem\x20that\x20addres\
3327 ses\x20a\x20critical,\n\x20non-security-related\x20bug.\"\x20[1]\n\n\x0f\
3328 \n\x07\x04\x05\x04\0\x02\x01\x01\x12\x04\xaa\x01\x04\x0c\n\x0f\n\x07\x04\
3329 \x05\x04\0\x02\x01\x02\x12\x04\xaa\x01\x0f\x10\n\x8d\x02\n\x06\x04\x05\
3330 \x04\0\x02\x02\x12\x04\xb0\x01\x04\x11\x1a\xfc\x01\x20\"A\x20widely\x20r\
3331 eleased\x20fix\x20for\x20a\x20product-specific,\x20security-related\n\
3332 \x20vulnerability.\x20Security\x20vulnerabilities\x20are\x20rated\x20by\
3333 \x20their\x20severity.\x20The\n\x20severity\x20rating\x20is\x20indicated\
3334 \x20in\x20the\x20Microsoft\x20security\x20bulletin\x20as\n\x20critical,\
3335 \x20important,\x20moderate,\x20or\x20low.\"\x20[1]\n\n\x0f\n\x07\x04\x05\
3336 \x04\0\x02\x02\x01\x12\x04\xb0\x01\x04\x0c\n\x0f\n\x07\x04\x05\x04\0\x02\
3337 \x02\x02\x12\x04\xb0\x01\x0f\x10\n\x96\x02\n\x06\x04\x05\x04\0\x02\x03\
3338 \x12\x04\xb6\x01\x04\x13\x1a\x85\x02\x20\"A\x20widely\x20released\x20and\
3339 \x20frequent\x20software\x20update\x20that\x20contains\x20additions\n\
3340 \x20to\x20a\x20product\xe2\x80\x99s\x20definition\x20database.\x20Defini\
3341 tion\x20databases\x20are\x20often\x20used\n\x20to\x20detect\x20objects\
3342 \x20that\x20have\x20specific\x20attributes,\x20such\x20as\x20malicious\
3343 \x20code,\n\x20phishing\x20websites,\x20or\x20junk\x20mail.\"\x20[1]\n\n\
3344 \x0f\n\x07\x04\x05\x04\0\x02\x03\x01\x12\x04\xb6\x01\x04\x0e\n\x0f\n\x07\
3345 \x04\x05\x04\0\x02\x03\x02\x12\x04\xb6\x01\x11\x12\nP\n\x06\x04\x05\x04\
3346 \0\x02\x04\x12\x04\xb9\x01\x04\x0f\x1a@\x20\"Software\x20that\x20control\
3347 s\x20the\x20input\x20and\x20output\x20of\x20a\x20device.\"\x20[1]\n\n\
3348 \x0f\n\x07\x04\x05\x04\0\x02\x04\x01\x12\x04\xb9\x01\x04\n\n\x0f\n\x07\
3349 \x04\x05\x04\0\x02\x04\x02\x12\x04\xb9\x01\r\x0e\n\xb8\x01\n\x06\x04\x05\
3350 \x04\0\x02\x05\x12\x04\xbe\x01\x04\x15\x1a\xa7\x01\x20\"New\x20product\
3351 \x20functionality\x20that\x20is\x20first\x20distributed\x20outside\x20th\
3352 e\x20context\n\x20of\x20a\x20product\x20release\x20and\x20that\x20is\x20\
3353 typically\x20included\x20in\x20the\x20next\x20full\n\x20product\x20relea\
3354 se.\"\x20[1]\n\n\x0f\n\x07\x04\x05\x04\0\x02\x05\x01\x12\x04\xbe\x01\x04\
3355 \x10\n\x0f\n\x07\x04\x05\x04\0\x02\x05\x02\x12\x04\xbe\x01\x13\x14\n\xda\
3356 \x02\n\x06\x04\x05\x04\0\x02\x06\x12\x04\xc5\x01\x04\x15\x1a\xc9\x02\x20\
3357 \"A\x20tested,\x20cumulative\x20set\x20of\x20all\x20hotfixes,\x20securit\
3358 y\x20updates,\x20critical\n\x20updates,\x20and\x20updates.\x20Additional\
3359 ly,\x20service\x20packs\x20may\x20contain\x20additional\n\x20fixes\x20fo\
3360 r\x20problems\x20that\x20are\x20found\x20internally\x20since\x20the\x20r\
3361 elease\x20of\x20the\n\x20product.\x20Service\x20packs\x20my\x20also\x20c\
3362 ontain\x20a\x20limited\x20number\x20of\n\x20customer-requested\x20design\
3363 \x20changes\x20or\x20features.\"\x20[1]\n\n\x0f\n\x07\x04\x05\x04\0\x02\
3364 \x06\x01\x12\x04\xc5\x01\x04\x10\n\x0f\n\x07\x04\x05\x04\0\x02\x06\x02\
3365 \x12\x04\xc5\x01\x13\x14\nX\n\x06\x04\x05\x04\0\x02\x07\x12\x04\xc8\x01\
3366 \x04\r\x1aH\x20\"A\x20utility\x20or\x20feature\x20that\x20helps\x20compl\
3367 ete\x20a\x20task\x20or\x20set\x20of\x20tasks.\"\x20[1]\n\n\x0f\n\x07\x04\
3368 \x05\x04\0\x02\x07\x01\x12\x04\xc8\x01\x04\x08\n\x0f\n\x07\x04\x05\x04\0\
3369 \x02\x07\x02\x12\x04\xc8\x01\x0b\x0c\n\xa9\x02\n\x06\x04\x05\x04\0\x02\
3370 \x08\x12\x04\xce\x01\x04\x16\x1a\x98\x02\x20\"A\x20tested,\x20cumulative\
3371 \x20set\x20of\x20hotfixes,\x20security\x20updates,\x20critical\n\x20upda\
3372 tes,\x20and\x20updates\x20that\x20are\x20packaged\x20together\x20for\x20\
3373 easy\x20deployment.\x20A\n\x20rollup\x20generally\x20targets\x20a\x20spe\
3374 cific\x20area,\x20such\x20as\x20security,\x20or\x20a\n\x20component\x20o\
3375 f\x20a\x20product,\x20such\x20as\x20Internet\x20Information\x20Services\
3376 \x20(IIS).\"\x20[1]\n\n\x0f\n\x07\x04\x05\x04\0\x02\x08\x01\x12\x04\xce\
3377 \x01\x04\x11\n\x0f\n\x07\x04\x05\x04\0\x02\x08\x02\x12\x04\xce\x01\x14\
3378 \x15\n\x83\x01\n\x06\x04\x05\x04\0\x02\t\x12\x04\xd2\x01\x04\x0f\x1as\
3379 \x20\"A\x20widely\x20released\x20fix\x20for\x20a\x20specific\x20problem.\
3380 \x20An\x20update\x20addresses\x20a\n\x20noncritical,\x20non-security-rel\
3381 ated\x20bug.\"\x20[1]\n\n\x0f\n\x07\x04\x05\x04\0\x02\t\x01\x12\x04\xd2\
3382 \x01\x04\n\n\x0f\n\x07\x04\x05\x04\0\x02\t\x02\x12\x04\xd2\x01\r\x0e\ns\
3383 \n\x04\x04\x05\x02\0\x12\x04\xd7\x01\x02.\x1ae\x20Only\x20apply\x20updat\
3384 es\x20of\x20these\x20windows\x20update\x20classifications.\x20If\x20empt\
3385 y,\x20all\n\x20updates\x20will\x20be\x20applied.\n\n\r\n\x05\x04\x05\x02\
3386 \0\x04\x12\x04\xd7\x01\x02\n\n\r\n\x05\x04\x05\x02\0\x06\x12\x04\xd7\x01\
3387 \x0b\x19\n\r\n\x05\x04\x05\x02\0\x01\x12\x04\xd7\x01\x1a)\n\r\n\x05\x04\
3388 \x05\x02\0\x03\x12\x04\xd7\x01,-\n3\n\x04\x04\x05\x02\x01\x12\x04\xda\
3389 \x01\x02\x1f\x1a%\x20List\x20of\x20KBs\x20to\x20exclude\x20from\x20updat\
3390 e.\n\n\r\n\x05\x04\x05\x02\x01\x04\x12\x04\xda\x01\x02\n\n\r\n\x05\x04\
3391 \x05\x02\x01\x05\x12\x04\xda\x01\x0b\x11\n\r\n\x05\x04\x05\x02\x01\x01\
3392 \x12\x04\xda\x01\x12\x1a\n\r\n\x05\x04\x05\x02\x01\x03\x12\x04\xda\x01\
3393 \x1d\x1e\n\xa8\x01\n\x04\x04\x05\x02\x02\x12\x04\xdf\x01\x02(\x1a\x99\
3394 \x01\x20An\x20exclusive\x20list\x20of\x20kbs\x20to\x20be\x20updated.\x20\
3395 These\x20are\x20the\x20only\x20patches\n\x20that\x20will\x20be\x20update\
3396 d.\x20This\x20field\x20must\x20not\x20be\x20used\x20with\x20other\n\x20p\
3397 atch\x20configurations.\n\n\r\n\x05\x04\x05\x02\x02\x04\x12\x04\xdf\x01\
3398 \x02\n\n\r\n\x05\x04\x05\x02\x02\x05\x12\x04\xdf\x01\x0b\x11\n\r\n\x05\
3399 \x04\x05\x02\x02\x01\x12\x04\xdf\x01\x12#\n\r\n\x05\x04\x05\x02\x02\x03\
3400 \x12\x04\xdf\x01&'\nQ\n\x02\x04\x06\x12\x06\xe3\x01\0\xe7\x01\x01\x1aC\
3401 \x20The\x20strategy\x20for\x20retrying\x20failed\x20patches\x20during\
3402 \x20the\x20patch\x20window.\n\n\x0b\n\x03\x04\x06\x01\x12\x04\xe3\x01\
3403 \x08\x15\n^\n\x04\x04\x06\x02\0\x12\x04\xe6\x01\x02\x13\x1aP\x20If\x20tr\
3404 ue,\x20the\x20agent\x20will\x20continue\x20to\x20try\x20and\x20patch\x20\
3405 until\x20the\x20window\x20has\n\x20ended.\n\n\r\n\x05\x04\x06\x02\0\x05\
3406 \x12\x04\xe6\x01\x02\x06\n\r\n\x05\x04\x06\x02\0\x01\x12\x04\xe6\x01\x07\
3407 \x0e\n\r\n\x05\x04\x06\x02\0\x03\x12\x04\xe6\x01\x11\x12\n>\n\x02\x04\
3408 \x07\x12\x06\xea\x01\0\xf0\x01\x01\x1a0\x20A\x20step\x20that\x20runs\x20\
3409 an\x20executable\x20for\x20a\x20PatchJob.\n\n\x0b\n\x03\x04\x07\x01\x12\
3410 \x04\xea\x01\x08\x10\nN\n\x04\x04\x07\x02\0\x12\x04\xec\x01\x02,\x1a@\
3411 \x20The\x20ExecStepConfig\x20for\x20all\x20Linux\x20VMs\x20targeted\x20b\
3412 y\x20the\x20PatchJob.\n\n\r\n\x05\x04\x07\x02\0\x06\x12\x04\xec\x01\x02\
3413 \x10\n\r\n\x05\x04\x07\x02\0\x01\x12\x04\xec\x01\x11'\n\r\n\x05\x04\x07\
3414 \x02\0\x03\x12\x04\xec\x01*+\nP\n\x04\x04\x07\x02\x01\x12\x04\xef\x01\
3415 \x02.\x1aB\x20The\x20ExecStepConfig\x20for\x20all\x20Windows\x20VMs\x20t\
3416 argeted\x20by\x20the\x20PatchJob.\n\n\r\n\x05\x04\x07\x02\x01\x06\x12\
3417 \x04\xef\x01\x02\x10\n\r\n\x05\x04\x07\x02\x01\x01\x12\x04\xef\x01\x11)\
3418 \n\r\n\x05\x04\x07\x02\x01\x03\x12\x04\xef\x01,-\n6\n\x02\x04\x08\x12\
3419 \x06\xf3\x01\0\x98\x02\x01\x1a(\x20Common\x20configurations\x20for\x20an\
3420 \x20ExecStep.\n\n\x0b\n\x03\x04\x08\x01\x12\x04\xf3\x01\x08\x16\n=\n\x04\
3421 \x04\x08\x04\0\x12\x06\xf5\x01\x02\x84\x02\x03\x1a-\x20The\x20interprete\
3422 r\x20used\x20to\x20execute\x20the\x20a\x20file.\n\n\r\n\x05\x04\x08\x04\
3423 \0\x01\x12\x04\xf5\x01\x07\x12\nI\n\x06\x04\x08\x04\0\x02\0\x12\x04\xf7\
3424 \x01\x04\x20\x1a9\x20Deprecated,\x20defaults\x20to\x20NONE\x20for\x20com\
3425 patibility\x20reasons.\n\n\x0f\n\x07\x04\x08\x04\0\x02\0\x01\x12\x04\xf7\
3426 \x01\x04\x1b\n\x0f\n\x07\x04\x08\x04\0\x02\0\x02\x12\x04\xf7\x01\x1e\x1f\
3427 \n\xa9\x01\n\x06\x04\x08\x04\0\x02\x01\x12\x04\xfc\x01\x04\r\x1a\x98\x01\
3428 \x20Invalid\x20for\x20a\x20Windows\x20ExecStepConfig.\x20For\x20a\x20Lin\
3429 ux\x20ExecStepConfig,\x20the\n\x20interpreter\x20will\x20be\x20parsed\
3430 \x20from\x20the\x20shebang\x20line\x20of\x20the\x20script\x20if\n\x20uns\
3431 pecified.\n\n\x0f\n\x07\x04\x08\x04\0\x02\x01\x01\x12\x04\xfc\x01\x04\
3432 \x08\n\x0f\n\x07\x04\x08\x04\0\x02\x01\x02\x12\x04\xfc\x01\x0b\x0c\nb\n\
3433 \x06\x04\x08\x04\0\x02\x02\x12\x04\x80\x02\x04\x0e\x1aR\x20Indicates\x20\
3434 that\x20the\x20script\x20will\x20be\x20run\x20with\x20/bin/sh\x20on\x20L\
3435 inux\x20and\x20cmd\n\x20on\x20windows.\n\n\x0f\n\x07\x04\x08\x04\0\x02\
3436 \x02\x01\x12\x04\x80\x02\x04\t\n\x0f\n\x07\x04\x08\x04\0\x02\x02\x02\x12\
3437 \x04\x80\x02\x0c\r\nF\n\x06\x04\x08\x04\0\x02\x03\x12\x04\x83\x02\x04\
3438 \x13\x1a6\x20Indicates\x20that\x20the\x20file\x20will\x20be\x20run\x20wi\
3439 th\x20PowerShell.\n\n\x0f\n\x07\x04\x08\x04\0\x02\x03\x01\x12\x04\x83\
3440 \x02\x04\x0e\n\x0f\n\x07\x04\x08\x04\0\x02\x03\x02\x12\x04\x83\x02\x11\
3441 \x12\n-\n\x04\x04\x08\x08\0\x12\x06\x87\x02\x02\x8d\x02\x03\x1a\x1d\x20L\
3442 ocation\x20of\x20the\x20executable.\n\n\r\n\x05\x04\x08\x08\0\x01\x12\
3443 \x04\x87\x02\x08\x12\n=\n\x04\x04\x08\x02\0\x12\x04\x89\x02\x04\x1a\x1a/\
3444 \x20An\x20absolute\x20path\x20to\x20the\x20executable\x20on\x20the\x20VM\
3445 .\n\n\r\n\x05\x04\x08\x02\0\x05\x12\x04\x89\x02\x04\n\n\r\n\x05\x04\x08\
3446 \x02\0\x01\x12\x04\x89\x02\x0b\x15\n\r\n\x05\x04\x08\x02\0\x03\x12\x04\
3447 \x89\x02\x18\x19\n7\n\x04\x04\x08\x02\x01\x12\x04\x8c\x02\x04\x1d\x1a)\
3448 \x20A\x20GCS\x20object\x20containing\x20the\x20executable.\n\n\r\n\x05\
3449 \x04\x08\x02\x01\x06\x12\x04\x8c\x02\x04\r\n\r\n\x05\x04\x08\x02\x01\x01\
3450 \x12\x04\x8c\x02\x0e\x18\n\r\n\x05\x04\x08\x02\x01\x03\x12\x04\x8c\x02\
3451 \x1b\x1c\nw\n\x04\x04\x08\x02\x02\x12\x04\x91\x02\x02+\x1ai\x20Defaults\
3452 \x20to\x20[0].\x20A\x20list\x20of\x20possible\x20return\x20values\x20tha\
3453 t\x20the\n\x20execution\x20can\x20return\x20to\x20indicate\x20a\x20succe\
3454 ss.\n\n\r\n\x05\x04\x08\x02\x02\x04\x12\x04\x91\x02\x02\n\n\r\n\x05\x04\
3455 \x08\x02\x02\x05\x12\x04\x91\x02\x0b\x10\n\r\n\x05\x04\x08\x02\x02\x01\
3456 \x12\x04\x91\x02\x11&\n\r\n\x05\x04\x08\x02\x02\x03\x12\x04\x91\x02)*\n\
3457 \x8b\x02\n\x04\x04\x08\x02\x03\x12\x04\x97\x02\x02\x1e\x1a\xfc\x01\x20Th\
3458 e\x20script\x20interpreter\x20to\x20use\x20to\x20run\x20the\x20script.\
3459 \x20If\x20no\x20interpreter\x20is\n\x20specified\x20the\x20script\x20wil\
3460 l\x20be\x20executed\x20directly,\x20which\x20will\x20likely\n\x20only\
3461 \x20succeed\x20for\x20scripts\x20with\x20shebang\x20lines.\n\x20[Wikiped\
3462 ia\x20shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)).\n\n\r\n\
3463 \x05\x04\x08\x02\x03\x06\x12\x04\x97\x02\x02\r\n\r\n\x05\x04\x08\x02\x03\
3464 \x01\x12\x04\x97\x02\x0e\x19\n\r\n\x05\x04\x08\x02\x03\x03\x12\x04\x97\
3465 \x02\x1c\x1d\n*\n\x02\x04\t\x12\x06\x9b\x02\0\xa5\x02\x01\x1a\x1c\x20GCS\
3466 \x20object\x20representation.\n\n\x0b\n\x03\x04\t\x01\x12\x04\x9b\x02\
3467 \x08\x11\n)\n\x04\x04\t\x02\0\x12\x04\x9d\x02\x02\x14\x1a\x1b\x20Bucket\
3468 \x20of\x20the\x20GCS\x20object.\n\n\r\n\x05\x04\t\x02\0\x05\x12\x04\x9d\
3469 \x02\x02\x08\n\r\n\x05\x04\t\x02\0\x01\x12\x04\x9d\x02\t\x0f\n\r\n\x05\
3470 \x04\t\x02\0\x03\x12\x04\x9d\x02\x12\x13\n'\n\x04\x04\t\x02\x01\x12\x04\
3471 \xa0\x02\x02\x14\x1a\x19\x20Name\x20of\x20the\x20GCS\x20object.\n\n\r\n\
3472 \x05\x04\t\x02\x01\x05\x12\x04\xa0\x02\x02\x08\n\r\n\x05\x04\t\x02\x01\
3473 \x01\x12\x04\xa0\x02\t\x0f\n\r\n\x05\x04\t\x02\x01\x03\x12\x04\xa0\x02\
3474 \x12\x13\n\x8a\x01\n\x04\x04\t\x02\x02\x12\x04\xa4\x02\x02\x1e\x1a|\x20G\
3475 eneration\x20number\x20of\x20the\x20GCS\x20object.\x20This\x20is\x20used\
3476 \x20to\x20ensure\x20that\x20the\n\x20ExecStep\x20specified\x20by\x20this\
3477 \x20PatchJob\x20does\x20not\x20change.\n\n\r\n\x05\x04\t\x02\x02\x05\x12\
3478 \x04\xa4\x02\x02\x07\n\r\n\x05\x04\t\x02\x02\x01\x12\x04\xa4\x02\x08\x19\
3479 \n\r\n\x05\x04\t\x02\x02\x03\x12\x04\xa4\x02\x1c\x1db\x06proto3\
3480";
3481
3482static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
3483
3484fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
3485 ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
3486}
3487
3488pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
3489 file_descriptor_proto_lazy.get(|| {
3490 parse_descriptor_proto()
3491 })
3492}