google_cloud_rust_raw/cloud/osconfig/agentendpoint/v1/
tasks.rs

1// This file is generated by rust-protobuf 2.28.0. Do not edit
2// @generated
3
4// https://github.com/rust-lang/rust-clippy/issues/702
5#![allow(unknown_lints)]
6#![allow(clippy::all)]
7
8#![allow(unused_attributes)]
9#![cfg_attr(rustfmt, rustfmt::skip)]
10
11#![allow(box_pointers)]
12#![allow(dead_code)]
13#![allow(missing_docs)]
14#![allow(non_camel_case_types)]
15#![allow(non_snake_case)]
16#![allow(non_upper_case_globals)]
17#![allow(trivial_casts)]
18#![allow(unused_imports)]
19#![allow(unused_results)]
20//! Generated file from `google/cloud/osconfig/agentendpoint/v1/tasks.proto`
21
22/// Generated files are compatible only with the same version
23/// of protobuf runtime.
24// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_28_0;
25
26#[derive(PartialEq,Clone,Default)]
27pub struct Task {
28    // message fields
29    pub task_id: ::std::string::String,
30    pub task_type: TaskType,
31    pub task_directive: TaskDirective,
32    pub service_labels: ::std::collections::HashMap<::std::string::String, ::std::string::String>,
33    // message oneof groups
34    pub task_details: ::std::option::Option<Task_oneof_task_details>,
35    // special fields
36    pub unknown_fields: ::protobuf::UnknownFields,
37    pub cached_size: ::protobuf::CachedSize,
38}
39
40impl<'a> ::std::default::Default for &'a Task {
41    fn default() -> &'a Task {
42        <Task as ::protobuf::Message>::default_instance()
43    }
44}
45
46#[derive(Clone,PartialEq,Debug)]
47pub enum Task_oneof_task_details {
48    apply_patches_task(ApplyPatchesTask),
49    exec_step_task(ExecStepTask),
50    apply_config_task(ApplyConfigTask),
51}
52
53impl Task {
54    pub fn new() -> Task {
55        ::std::default::Default::default()
56    }
57
58    // string task_id = 1;
59
60
61    pub fn get_task_id(&self) -> &str {
62        &self.task_id
63    }
64    pub fn clear_task_id(&mut self) {
65        self.task_id.clear();
66    }
67
68    // Param is passed by value, moved
69    pub fn set_task_id(&mut self, v: ::std::string::String) {
70        self.task_id = v;
71    }
72
73    // Mutable pointer to the field.
74    // If field is not initialized, it is initialized with default value first.
75    pub fn mut_task_id(&mut self) -> &mut ::std::string::String {
76        &mut self.task_id
77    }
78
79    // Take field
80    pub fn take_task_id(&mut self) -> ::std::string::String {
81        ::std::mem::replace(&mut self.task_id, ::std::string::String::new())
82    }
83
84    // .google.cloud.osconfig.agentendpoint.v1.TaskType task_type = 2;
85
86
87    pub fn get_task_type(&self) -> TaskType {
88        self.task_type
89    }
90    pub fn clear_task_type(&mut self) {
91        self.task_type = TaskType::TASK_TYPE_UNSPECIFIED;
92    }
93
94    // Param is passed by value, moved
95    pub fn set_task_type(&mut self, v: TaskType) {
96        self.task_type = v;
97    }
98
99    // .google.cloud.osconfig.agentendpoint.v1.TaskDirective task_directive = 3;
100
101
102    pub fn get_task_directive(&self) -> TaskDirective {
103        self.task_directive
104    }
105    pub fn clear_task_directive(&mut self) {
106        self.task_directive = TaskDirective::TASK_DIRECTIVE_UNSPECIFIED;
107    }
108
109    // Param is passed by value, moved
110    pub fn set_task_directive(&mut self, v: TaskDirective) {
111        self.task_directive = v;
112    }
113
114    // .google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTask apply_patches_task = 4;
115
116
117    pub fn get_apply_patches_task(&self) -> &ApplyPatchesTask {
118        match self.task_details {
119            ::std::option::Option::Some(Task_oneof_task_details::apply_patches_task(ref v)) => v,
120            _ => <ApplyPatchesTask as ::protobuf::Message>::default_instance(),
121        }
122    }
123    pub fn clear_apply_patches_task(&mut self) {
124        self.task_details = ::std::option::Option::None;
125    }
126
127    pub fn has_apply_patches_task(&self) -> bool {
128        match self.task_details {
129            ::std::option::Option::Some(Task_oneof_task_details::apply_patches_task(..)) => true,
130            _ => false,
131        }
132    }
133
134    // Param is passed by value, moved
135    pub fn set_apply_patches_task(&mut self, v: ApplyPatchesTask) {
136        self.task_details = ::std::option::Option::Some(Task_oneof_task_details::apply_patches_task(v))
137    }
138
139    // Mutable pointer to the field.
140    pub fn mut_apply_patches_task(&mut self) -> &mut ApplyPatchesTask {
141        if let ::std::option::Option::Some(Task_oneof_task_details::apply_patches_task(_)) = self.task_details {
142        } else {
143            self.task_details = ::std::option::Option::Some(Task_oneof_task_details::apply_patches_task(ApplyPatchesTask::new()));
144        }
145        match self.task_details {
146            ::std::option::Option::Some(Task_oneof_task_details::apply_patches_task(ref mut v)) => v,
147            _ => panic!(),
148        }
149    }
150
151    // Take field
152    pub fn take_apply_patches_task(&mut self) -> ApplyPatchesTask {
153        if self.has_apply_patches_task() {
154            match self.task_details.take() {
155                ::std::option::Option::Some(Task_oneof_task_details::apply_patches_task(v)) => v,
156                _ => panic!(),
157            }
158        } else {
159            ApplyPatchesTask::new()
160        }
161    }
162
163    // .google.cloud.osconfig.agentendpoint.v1.ExecStepTask exec_step_task = 5;
164
165
166    pub fn get_exec_step_task(&self) -> &ExecStepTask {
167        match self.task_details {
168            ::std::option::Option::Some(Task_oneof_task_details::exec_step_task(ref v)) => v,
169            _ => <ExecStepTask as ::protobuf::Message>::default_instance(),
170        }
171    }
172    pub fn clear_exec_step_task(&mut self) {
173        self.task_details = ::std::option::Option::None;
174    }
175
176    pub fn has_exec_step_task(&self) -> bool {
177        match self.task_details {
178            ::std::option::Option::Some(Task_oneof_task_details::exec_step_task(..)) => true,
179            _ => false,
180        }
181    }
182
183    // Param is passed by value, moved
184    pub fn set_exec_step_task(&mut self, v: ExecStepTask) {
185        self.task_details = ::std::option::Option::Some(Task_oneof_task_details::exec_step_task(v))
186    }
187
188    // Mutable pointer to the field.
189    pub fn mut_exec_step_task(&mut self) -> &mut ExecStepTask {
190        if let ::std::option::Option::Some(Task_oneof_task_details::exec_step_task(_)) = self.task_details {
191        } else {
192            self.task_details = ::std::option::Option::Some(Task_oneof_task_details::exec_step_task(ExecStepTask::new()));
193        }
194        match self.task_details {
195            ::std::option::Option::Some(Task_oneof_task_details::exec_step_task(ref mut v)) => v,
196            _ => panic!(),
197        }
198    }
199
200    // Take field
201    pub fn take_exec_step_task(&mut self) -> ExecStepTask {
202        if self.has_exec_step_task() {
203            match self.task_details.take() {
204                ::std::option::Option::Some(Task_oneof_task_details::exec_step_task(v)) => v,
205                _ => panic!(),
206            }
207        } else {
208            ExecStepTask::new()
209        }
210    }
211
212    // .google.cloud.osconfig.agentendpoint.v1.ApplyConfigTask apply_config_task = 7;
213
214
215    pub fn get_apply_config_task(&self) -> &ApplyConfigTask {
216        match self.task_details {
217            ::std::option::Option::Some(Task_oneof_task_details::apply_config_task(ref v)) => v,
218            _ => <ApplyConfigTask as ::protobuf::Message>::default_instance(),
219        }
220    }
221    pub fn clear_apply_config_task(&mut self) {
222        self.task_details = ::std::option::Option::None;
223    }
224
225    pub fn has_apply_config_task(&self) -> bool {
226        match self.task_details {
227            ::std::option::Option::Some(Task_oneof_task_details::apply_config_task(..)) => true,
228            _ => false,
229        }
230    }
231
232    // Param is passed by value, moved
233    pub fn set_apply_config_task(&mut self, v: ApplyConfigTask) {
234        self.task_details = ::std::option::Option::Some(Task_oneof_task_details::apply_config_task(v))
235    }
236
237    // Mutable pointer to the field.
238    pub fn mut_apply_config_task(&mut self) -> &mut ApplyConfigTask {
239        if let ::std::option::Option::Some(Task_oneof_task_details::apply_config_task(_)) = self.task_details {
240        } else {
241            self.task_details = ::std::option::Option::Some(Task_oneof_task_details::apply_config_task(ApplyConfigTask::new()));
242        }
243        match self.task_details {
244            ::std::option::Option::Some(Task_oneof_task_details::apply_config_task(ref mut v)) => v,
245            _ => panic!(),
246        }
247    }
248
249    // Take field
250    pub fn take_apply_config_task(&mut self) -> ApplyConfigTask {
251        if self.has_apply_config_task() {
252            match self.task_details.take() {
253                ::std::option::Option::Some(Task_oneof_task_details::apply_config_task(v)) => v,
254                _ => panic!(),
255            }
256        } else {
257            ApplyConfigTask::new()
258        }
259    }
260
261    // repeated .google.cloud.osconfig.agentendpoint.v1.Task.ServiceLabelsEntry service_labels = 6;
262
263
264    pub fn get_service_labels(&self) -> &::std::collections::HashMap<::std::string::String, ::std::string::String> {
265        &self.service_labels
266    }
267    pub fn clear_service_labels(&mut self) {
268        self.service_labels.clear();
269    }
270
271    // Param is passed by value, moved
272    pub fn set_service_labels(&mut self, v: ::std::collections::HashMap<::std::string::String, ::std::string::String>) {
273        self.service_labels = v;
274    }
275
276    // Mutable pointer to the field.
277    pub fn mut_service_labels(&mut self) -> &mut ::std::collections::HashMap<::std::string::String, ::std::string::String> {
278        &mut self.service_labels
279    }
280
281    // Take field
282    pub fn take_service_labels(&mut self) -> ::std::collections::HashMap<::std::string::String, ::std::string::String> {
283        ::std::mem::replace(&mut self.service_labels, ::std::collections::HashMap::new())
284    }
285}
286
287impl ::protobuf::Message for Task {
288    fn is_initialized(&self) -> bool {
289        if let Some(Task_oneof_task_details::apply_patches_task(ref v)) = self.task_details {
290            if !v.is_initialized() {
291                return false;
292            }
293        }
294        if let Some(Task_oneof_task_details::exec_step_task(ref v)) = self.task_details {
295            if !v.is_initialized() {
296                return false;
297            }
298        }
299        if let Some(Task_oneof_task_details::apply_config_task(ref v)) = self.task_details {
300            if !v.is_initialized() {
301                return false;
302            }
303        }
304        true
305    }
306
307    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
308        while !is.eof()? {
309            let (field_number, wire_type) = is.read_tag_unpack()?;
310            match field_number {
311                1 => {
312                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.task_id)?;
313                },
314                2 => {
315                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.task_type, 2, &mut self.unknown_fields)?
316                },
317                3 => {
318                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.task_directive, 3, &mut self.unknown_fields)?
319                },
320                4 => {
321                    if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
322                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
323                    }
324                    self.task_details = ::std::option::Option::Some(Task_oneof_task_details::apply_patches_task(is.read_message()?));
325                },
326                5 => {
327                    if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
328                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
329                    }
330                    self.task_details = ::std::option::Option::Some(Task_oneof_task_details::exec_step_task(is.read_message()?));
331                },
332                7 => {
333                    if wire_type != ::protobuf::wire_format::WireTypeLengthDelimited {
334                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
335                    }
336                    self.task_details = ::std::option::Option::Some(Task_oneof_task_details::apply_config_task(is.read_message()?));
337                },
338                6 => {
339                    ::protobuf::rt::read_map_into::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(wire_type, is, &mut self.service_labels)?;
340                },
341                _ => {
342                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
343                },
344            };
345        }
346        ::std::result::Result::Ok(())
347    }
348
349    // Compute sizes of nested messages
350    #[allow(unused_variables)]
351    fn compute_size(&self) -> u32 {
352        let mut my_size = 0;
353        if !self.task_id.is_empty() {
354            my_size += ::protobuf::rt::string_size(1, &self.task_id);
355        }
356        if self.task_type != TaskType::TASK_TYPE_UNSPECIFIED {
357            my_size += ::protobuf::rt::enum_size(2, self.task_type);
358        }
359        if self.task_directive != TaskDirective::TASK_DIRECTIVE_UNSPECIFIED {
360            my_size += ::protobuf::rt::enum_size(3, self.task_directive);
361        }
362        my_size += ::protobuf::rt::compute_map_size::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(6, &self.service_labels);
363        if let ::std::option::Option::Some(ref v) = self.task_details {
364            match v {
365                &Task_oneof_task_details::apply_patches_task(ref v) => {
366                    let len = v.compute_size();
367                    my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
368                },
369                &Task_oneof_task_details::exec_step_task(ref v) => {
370                    let len = v.compute_size();
371                    my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
372                },
373                &Task_oneof_task_details::apply_config_task(ref v) => {
374                    let len = v.compute_size();
375                    my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
376                },
377            };
378        }
379        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
380        self.cached_size.set(my_size);
381        my_size
382    }
383
384    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
385        if !self.task_id.is_empty() {
386            os.write_string(1, &self.task_id)?;
387        }
388        if self.task_type != TaskType::TASK_TYPE_UNSPECIFIED {
389            os.write_enum(2, ::protobuf::ProtobufEnum::value(&self.task_type))?;
390        }
391        if self.task_directive != TaskDirective::TASK_DIRECTIVE_UNSPECIFIED {
392            os.write_enum(3, ::protobuf::ProtobufEnum::value(&self.task_directive))?;
393        }
394        ::protobuf::rt::write_map_with_cached_sizes::<::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(6, &self.service_labels, os)?;
395        if let ::std::option::Option::Some(ref v) = self.task_details {
396            match v {
397                &Task_oneof_task_details::apply_patches_task(ref v) => {
398                    os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
399                    os.write_raw_varint32(v.get_cached_size())?;
400                    v.write_to_with_cached_sizes(os)?;
401                },
402                &Task_oneof_task_details::exec_step_task(ref v) => {
403                    os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)?;
404                    os.write_raw_varint32(v.get_cached_size())?;
405                    v.write_to_with_cached_sizes(os)?;
406                },
407                &Task_oneof_task_details::apply_config_task(ref v) => {
408                    os.write_tag(7, ::protobuf::wire_format::WireTypeLengthDelimited)?;
409                    os.write_raw_varint32(v.get_cached_size())?;
410                    v.write_to_with_cached_sizes(os)?;
411                },
412            };
413        }
414        os.write_unknown_fields(self.get_unknown_fields())?;
415        ::std::result::Result::Ok(())
416    }
417
418    fn get_cached_size(&self) -> u32 {
419        self.cached_size.get()
420    }
421
422    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
423        &self.unknown_fields
424    }
425
426    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
427        &mut self.unknown_fields
428    }
429
430    fn as_any(&self) -> &dyn (::std::any::Any) {
431        self as &dyn (::std::any::Any)
432    }
433    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
434        self as &mut dyn (::std::any::Any)
435    }
436    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
437        self
438    }
439
440    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
441        Self::descriptor_static()
442    }
443
444    fn new() -> Task {
445        Task::new()
446    }
447
448    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
449        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
450        descriptor.get(|| {
451            let mut fields = ::std::vec::Vec::new();
452            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
453                "task_id",
454                |m: &Task| { &m.task_id },
455                |m: &mut Task| { &mut m.task_id },
456            ));
457            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<TaskType>>(
458                "task_type",
459                |m: &Task| { &m.task_type },
460                |m: &mut Task| { &mut m.task_type },
461            ));
462            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<TaskDirective>>(
463                "task_directive",
464                |m: &Task| { &m.task_directive },
465                |m: &mut Task| { &mut m.task_directive },
466            ));
467            fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, ApplyPatchesTask>(
468                "apply_patches_task",
469                Task::has_apply_patches_task,
470                Task::get_apply_patches_task,
471            ));
472            fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, ExecStepTask>(
473                "exec_step_task",
474                Task::has_exec_step_task,
475                Task::get_exec_step_task,
476            ));
477            fields.push(::protobuf::reflect::accessor::make_singular_message_accessor::<_, ApplyConfigTask>(
478                "apply_config_task",
479                Task::has_apply_config_task,
480                Task::get_apply_config_task,
481            ));
482            fields.push(::protobuf::reflect::accessor::make_map_accessor::<_, ::protobuf::types::ProtobufTypeString, ::protobuf::types::ProtobufTypeString>(
483                "service_labels",
484                |m: &Task| { &m.service_labels },
485                |m: &mut Task| { &mut m.service_labels },
486            ));
487            ::protobuf::reflect::MessageDescriptor::new_pb_name::<Task>(
488                "Task",
489                fields,
490                file_descriptor_proto()
491            )
492        })
493    }
494
495    fn default_instance() -> &'static Task {
496        static instance: ::protobuf::rt::LazyV2<Task> = ::protobuf::rt::LazyV2::INIT;
497        instance.get(Task::new)
498    }
499}
500
501impl ::protobuf::Clear for Task {
502    fn clear(&mut self) {
503        self.task_id.clear();
504        self.task_type = TaskType::TASK_TYPE_UNSPECIFIED;
505        self.task_directive = TaskDirective::TASK_DIRECTIVE_UNSPECIFIED;
506        self.task_details = ::std::option::Option::None;
507        self.task_details = ::std::option::Option::None;
508        self.task_details = ::std::option::Option::None;
509        self.service_labels.clear();
510        self.unknown_fields.clear();
511    }
512}
513
514impl ::std::fmt::Debug for Task {
515    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
516        ::protobuf::text_format::fmt(self, f)
517    }
518}
519
520impl ::protobuf::reflect::ProtobufValue for Task {
521    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
522        ::protobuf::reflect::ReflectValueRef::Message(self)
523    }
524}
525
526#[derive(PartialEq,Clone,Default)]
527pub struct ApplyPatchesTask {
528    // message fields
529    pub patch_config: ::protobuf::SingularPtrField<super::patch_jobs::PatchConfig>,
530    pub dry_run: bool,
531    // special fields
532    pub unknown_fields: ::protobuf::UnknownFields,
533    pub cached_size: ::protobuf::CachedSize,
534}
535
536impl<'a> ::std::default::Default for &'a ApplyPatchesTask {
537    fn default() -> &'a ApplyPatchesTask {
538        <ApplyPatchesTask as ::protobuf::Message>::default_instance()
539    }
540}
541
542impl ApplyPatchesTask {
543    pub fn new() -> ApplyPatchesTask {
544        ::std::default::Default::default()
545    }
546
547    // .google.cloud.osconfig.agentendpoint.v1.PatchConfig patch_config = 1;
548
549
550    pub fn get_patch_config(&self) -> &super::patch_jobs::PatchConfig {
551        self.patch_config.as_ref().unwrap_or_else(|| <super::patch_jobs::PatchConfig as ::protobuf::Message>::default_instance())
552    }
553    pub fn clear_patch_config(&mut self) {
554        self.patch_config.clear();
555    }
556
557    pub fn has_patch_config(&self) -> bool {
558        self.patch_config.is_some()
559    }
560
561    // Param is passed by value, moved
562    pub fn set_patch_config(&mut self, v: super::patch_jobs::PatchConfig) {
563        self.patch_config = ::protobuf::SingularPtrField::some(v);
564    }
565
566    // Mutable pointer to the field.
567    // If field is not initialized, it is initialized with default value first.
568    pub fn mut_patch_config(&mut self) -> &mut super::patch_jobs::PatchConfig {
569        if self.patch_config.is_none() {
570            self.patch_config.set_default();
571        }
572        self.patch_config.as_mut().unwrap()
573    }
574
575    // Take field
576    pub fn take_patch_config(&mut self) -> super::patch_jobs::PatchConfig {
577        self.patch_config.take().unwrap_or_else(|| super::patch_jobs::PatchConfig::new())
578    }
579
580    // bool dry_run = 3;
581
582
583    pub fn get_dry_run(&self) -> bool {
584        self.dry_run
585    }
586    pub fn clear_dry_run(&mut self) {
587        self.dry_run = false;
588    }
589
590    // Param is passed by value, moved
591    pub fn set_dry_run(&mut self, v: bool) {
592        self.dry_run = v;
593    }
594}
595
596impl ::protobuf::Message for ApplyPatchesTask {
597    fn is_initialized(&self) -> bool {
598        for v in &self.patch_config {
599            if !v.is_initialized() {
600                return false;
601            }
602        };
603        true
604    }
605
606    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
607        while !is.eof()? {
608            let (field_number, wire_type) = is.read_tag_unpack()?;
609            match field_number {
610                1 => {
611                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.patch_config)?;
612                },
613                3 => {
614                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
615                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
616                    }
617                    let tmp = is.read_bool()?;
618                    self.dry_run = tmp;
619                },
620                _ => {
621                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
622                },
623            };
624        }
625        ::std::result::Result::Ok(())
626    }
627
628    // Compute sizes of nested messages
629    #[allow(unused_variables)]
630    fn compute_size(&self) -> u32 {
631        let mut my_size = 0;
632        if let Some(ref v) = self.patch_config.as_ref() {
633            let len = v.compute_size();
634            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
635        }
636        if self.dry_run != false {
637            my_size += 2;
638        }
639        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
640        self.cached_size.set(my_size);
641        my_size
642    }
643
644    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
645        if let Some(ref v) = self.patch_config.as_ref() {
646            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
647            os.write_raw_varint32(v.get_cached_size())?;
648            v.write_to_with_cached_sizes(os)?;
649        }
650        if self.dry_run != false {
651            os.write_bool(3, self.dry_run)?;
652        }
653        os.write_unknown_fields(self.get_unknown_fields())?;
654        ::std::result::Result::Ok(())
655    }
656
657    fn get_cached_size(&self) -> u32 {
658        self.cached_size.get()
659    }
660
661    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
662        &self.unknown_fields
663    }
664
665    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
666        &mut self.unknown_fields
667    }
668
669    fn as_any(&self) -> &dyn (::std::any::Any) {
670        self as &dyn (::std::any::Any)
671    }
672    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
673        self as &mut dyn (::std::any::Any)
674    }
675    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
676        self
677    }
678
679    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
680        Self::descriptor_static()
681    }
682
683    fn new() -> ApplyPatchesTask {
684        ApplyPatchesTask::new()
685    }
686
687    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
688        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
689        descriptor.get(|| {
690            let mut fields = ::std::vec::Vec::new();
691            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::patch_jobs::PatchConfig>>(
692                "patch_config",
693                |m: &ApplyPatchesTask| { &m.patch_config },
694                |m: &mut ApplyPatchesTask| { &mut m.patch_config },
695            ));
696            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBool>(
697                "dry_run",
698                |m: &ApplyPatchesTask| { &m.dry_run },
699                |m: &mut ApplyPatchesTask| { &mut m.dry_run },
700            ));
701            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ApplyPatchesTask>(
702                "ApplyPatchesTask",
703                fields,
704                file_descriptor_proto()
705            )
706        })
707    }
708
709    fn default_instance() -> &'static ApplyPatchesTask {
710        static instance: ::protobuf::rt::LazyV2<ApplyPatchesTask> = ::protobuf::rt::LazyV2::INIT;
711        instance.get(ApplyPatchesTask::new)
712    }
713}
714
715impl ::protobuf::Clear for ApplyPatchesTask {
716    fn clear(&mut self) {
717        self.patch_config.clear();
718        self.dry_run = false;
719        self.unknown_fields.clear();
720    }
721}
722
723impl ::std::fmt::Debug for ApplyPatchesTask {
724    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
725        ::protobuf::text_format::fmt(self, f)
726    }
727}
728
729impl ::protobuf::reflect::ProtobufValue for ApplyPatchesTask {
730    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
731        ::protobuf::reflect::ReflectValueRef::Message(self)
732    }
733}
734
735#[derive(PartialEq,Clone,Default)]
736pub struct ApplyPatchesTaskProgress {
737    // message fields
738    pub state: ApplyPatchesTaskProgress_State,
739    // special fields
740    pub unknown_fields: ::protobuf::UnknownFields,
741    pub cached_size: ::protobuf::CachedSize,
742}
743
744impl<'a> ::std::default::Default for &'a ApplyPatchesTaskProgress {
745    fn default() -> &'a ApplyPatchesTaskProgress {
746        <ApplyPatchesTaskProgress as ::protobuf::Message>::default_instance()
747    }
748}
749
750impl ApplyPatchesTaskProgress {
751    pub fn new() -> ApplyPatchesTaskProgress {
752        ::std::default::Default::default()
753    }
754
755    // .google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskProgress.State state = 1;
756
757
758    pub fn get_state(&self) -> ApplyPatchesTaskProgress_State {
759        self.state
760    }
761    pub fn clear_state(&mut self) {
762        self.state = ApplyPatchesTaskProgress_State::STATE_UNSPECIFIED;
763    }
764
765    // Param is passed by value, moved
766    pub fn set_state(&mut self, v: ApplyPatchesTaskProgress_State) {
767        self.state = v;
768    }
769}
770
771impl ::protobuf::Message for ApplyPatchesTaskProgress {
772    fn is_initialized(&self) -> bool {
773        true
774    }
775
776    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
777        while !is.eof()? {
778            let (field_number, wire_type) = is.read_tag_unpack()?;
779            match field_number {
780                1 => {
781                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.state, 1, &mut self.unknown_fields)?
782                },
783                _ => {
784                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
785                },
786            };
787        }
788        ::std::result::Result::Ok(())
789    }
790
791    // Compute sizes of nested messages
792    #[allow(unused_variables)]
793    fn compute_size(&self) -> u32 {
794        let mut my_size = 0;
795        if self.state != ApplyPatchesTaskProgress_State::STATE_UNSPECIFIED {
796            my_size += ::protobuf::rt::enum_size(1, self.state);
797        }
798        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
799        self.cached_size.set(my_size);
800        my_size
801    }
802
803    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
804        if self.state != ApplyPatchesTaskProgress_State::STATE_UNSPECIFIED {
805            os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.state))?;
806        }
807        os.write_unknown_fields(self.get_unknown_fields())?;
808        ::std::result::Result::Ok(())
809    }
810
811    fn get_cached_size(&self) -> u32 {
812        self.cached_size.get()
813    }
814
815    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
816        &self.unknown_fields
817    }
818
819    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
820        &mut self.unknown_fields
821    }
822
823    fn as_any(&self) -> &dyn (::std::any::Any) {
824        self as &dyn (::std::any::Any)
825    }
826    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
827        self as &mut dyn (::std::any::Any)
828    }
829    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
830        self
831    }
832
833    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
834        Self::descriptor_static()
835    }
836
837    fn new() -> ApplyPatchesTaskProgress {
838        ApplyPatchesTaskProgress::new()
839    }
840
841    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
842        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
843        descriptor.get(|| {
844            let mut fields = ::std::vec::Vec::new();
845            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<ApplyPatchesTaskProgress_State>>(
846                "state",
847                |m: &ApplyPatchesTaskProgress| { &m.state },
848                |m: &mut ApplyPatchesTaskProgress| { &mut m.state },
849            ));
850            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ApplyPatchesTaskProgress>(
851                "ApplyPatchesTaskProgress",
852                fields,
853                file_descriptor_proto()
854            )
855        })
856    }
857
858    fn default_instance() -> &'static ApplyPatchesTaskProgress {
859        static instance: ::protobuf::rt::LazyV2<ApplyPatchesTaskProgress> = ::protobuf::rt::LazyV2::INIT;
860        instance.get(ApplyPatchesTaskProgress::new)
861    }
862}
863
864impl ::protobuf::Clear for ApplyPatchesTaskProgress {
865    fn clear(&mut self) {
866        self.state = ApplyPatchesTaskProgress_State::STATE_UNSPECIFIED;
867        self.unknown_fields.clear();
868    }
869}
870
871impl ::std::fmt::Debug for ApplyPatchesTaskProgress {
872    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
873        ::protobuf::text_format::fmt(self, f)
874    }
875}
876
877impl ::protobuf::reflect::ProtobufValue for ApplyPatchesTaskProgress {
878    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
879        ::protobuf::reflect::ReflectValueRef::Message(self)
880    }
881}
882
883#[derive(Clone,PartialEq,Eq,Debug,Hash)]
884pub enum ApplyPatchesTaskProgress_State {
885    STATE_UNSPECIFIED = 0,
886    STARTED = 4,
887    DOWNLOADING_PATCHES = 1,
888    APPLYING_PATCHES = 2,
889    REBOOTING = 3,
890}
891
892impl ::protobuf::ProtobufEnum for ApplyPatchesTaskProgress_State {
893    fn value(&self) -> i32 {
894        *self as i32
895    }
896
897    fn from_i32(value: i32) -> ::std::option::Option<ApplyPatchesTaskProgress_State> {
898        match value {
899            0 => ::std::option::Option::Some(ApplyPatchesTaskProgress_State::STATE_UNSPECIFIED),
900            4 => ::std::option::Option::Some(ApplyPatchesTaskProgress_State::STARTED),
901            1 => ::std::option::Option::Some(ApplyPatchesTaskProgress_State::DOWNLOADING_PATCHES),
902            2 => ::std::option::Option::Some(ApplyPatchesTaskProgress_State::APPLYING_PATCHES),
903            3 => ::std::option::Option::Some(ApplyPatchesTaskProgress_State::REBOOTING),
904            _ => ::std::option::Option::None
905        }
906    }
907
908    fn values() -> &'static [Self] {
909        static values: &'static [ApplyPatchesTaskProgress_State] = &[
910            ApplyPatchesTaskProgress_State::STATE_UNSPECIFIED,
911            ApplyPatchesTaskProgress_State::STARTED,
912            ApplyPatchesTaskProgress_State::DOWNLOADING_PATCHES,
913            ApplyPatchesTaskProgress_State::APPLYING_PATCHES,
914            ApplyPatchesTaskProgress_State::REBOOTING,
915        ];
916        values
917    }
918
919    fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
920        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
921        descriptor.get(|| {
922            ::protobuf::reflect::EnumDescriptor::new_pb_name::<ApplyPatchesTaskProgress_State>("ApplyPatchesTaskProgress.State", file_descriptor_proto())
923        })
924    }
925}
926
927impl ::std::marker::Copy for ApplyPatchesTaskProgress_State {
928}
929
930impl ::std::default::Default for ApplyPatchesTaskProgress_State {
931    fn default() -> Self {
932        ApplyPatchesTaskProgress_State::STATE_UNSPECIFIED
933    }
934}
935
936impl ::protobuf::reflect::ProtobufValue for ApplyPatchesTaskProgress_State {
937    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
938        ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
939    }
940}
941
942#[derive(PartialEq,Clone,Default)]
943pub struct ApplyPatchesTaskOutput {
944    // message fields
945    pub state: ApplyPatchesTaskOutput_State,
946    // special fields
947    pub unknown_fields: ::protobuf::UnknownFields,
948    pub cached_size: ::protobuf::CachedSize,
949}
950
951impl<'a> ::std::default::Default for &'a ApplyPatchesTaskOutput {
952    fn default() -> &'a ApplyPatchesTaskOutput {
953        <ApplyPatchesTaskOutput as ::protobuf::Message>::default_instance()
954    }
955}
956
957impl ApplyPatchesTaskOutput {
958    pub fn new() -> ApplyPatchesTaskOutput {
959        ::std::default::Default::default()
960    }
961
962    // .google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskOutput.State state = 1;
963
964
965    pub fn get_state(&self) -> ApplyPatchesTaskOutput_State {
966        self.state
967    }
968    pub fn clear_state(&mut self) {
969        self.state = ApplyPatchesTaskOutput_State::STATE_UNSPECIFIED;
970    }
971
972    // Param is passed by value, moved
973    pub fn set_state(&mut self, v: ApplyPatchesTaskOutput_State) {
974        self.state = v;
975    }
976}
977
978impl ::protobuf::Message for ApplyPatchesTaskOutput {
979    fn is_initialized(&self) -> bool {
980        true
981    }
982
983    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
984        while !is.eof()? {
985            let (field_number, wire_type) = is.read_tag_unpack()?;
986            match field_number {
987                1 => {
988                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.state, 1, &mut self.unknown_fields)?
989                },
990                _ => {
991                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
992                },
993            };
994        }
995        ::std::result::Result::Ok(())
996    }
997
998    // Compute sizes of nested messages
999    #[allow(unused_variables)]
1000    fn compute_size(&self) -> u32 {
1001        let mut my_size = 0;
1002        if self.state != ApplyPatchesTaskOutput_State::STATE_UNSPECIFIED {
1003            my_size += ::protobuf::rt::enum_size(1, self.state);
1004        }
1005        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1006        self.cached_size.set(my_size);
1007        my_size
1008    }
1009
1010    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1011        if self.state != ApplyPatchesTaskOutput_State::STATE_UNSPECIFIED {
1012            os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.state))?;
1013        }
1014        os.write_unknown_fields(self.get_unknown_fields())?;
1015        ::std::result::Result::Ok(())
1016    }
1017
1018    fn get_cached_size(&self) -> u32 {
1019        self.cached_size.get()
1020    }
1021
1022    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1023        &self.unknown_fields
1024    }
1025
1026    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1027        &mut self.unknown_fields
1028    }
1029
1030    fn as_any(&self) -> &dyn (::std::any::Any) {
1031        self as &dyn (::std::any::Any)
1032    }
1033    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1034        self as &mut dyn (::std::any::Any)
1035    }
1036    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1037        self
1038    }
1039
1040    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1041        Self::descriptor_static()
1042    }
1043
1044    fn new() -> ApplyPatchesTaskOutput {
1045        ApplyPatchesTaskOutput::new()
1046    }
1047
1048    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1049        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1050        descriptor.get(|| {
1051            let mut fields = ::std::vec::Vec::new();
1052            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<ApplyPatchesTaskOutput_State>>(
1053                "state",
1054                |m: &ApplyPatchesTaskOutput| { &m.state },
1055                |m: &mut ApplyPatchesTaskOutput| { &mut m.state },
1056            ));
1057            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ApplyPatchesTaskOutput>(
1058                "ApplyPatchesTaskOutput",
1059                fields,
1060                file_descriptor_proto()
1061            )
1062        })
1063    }
1064
1065    fn default_instance() -> &'static ApplyPatchesTaskOutput {
1066        static instance: ::protobuf::rt::LazyV2<ApplyPatchesTaskOutput> = ::protobuf::rt::LazyV2::INIT;
1067        instance.get(ApplyPatchesTaskOutput::new)
1068    }
1069}
1070
1071impl ::protobuf::Clear for ApplyPatchesTaskOutput {
1072    fn clear(&mut self) {
1073        self.state = ApplyPatchesTaskOutput_State::STATE_UNSPECIFIED;
1074        self.unknown_fields.clear();
1075    }
1076}
1077
1078impl ::std::fmt::Debug for ApplyPatchesTaskOutput {
1079    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1080        ::protobuf::text_format::fmt(self, f)
1081    }
1082}
1083
1084impl ::protobuf::reflect::ProtobufValue for ApplyPatchesTaskOutput {
1085    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1086        ::protobuf::reflect::ReflectValueRef::Message(self)
1087    }
1088}
1089
1090#[derive(Clone,PartialEq,Eq,Debug,Hash)]
1091pub enum ApplyPatchesTaskOutput_State {
1092    STATE_UNSPECIFIED = 0,
1093    SUCCEEDED = 1,
1094    SUCCEEDED_REBOOT_REQUIRED = 2,
1095    FAILED = 3,
1096}
1097
1098impl ::protobuf::ProtobufEnum for ApplyPatchesTaskOutput_State {
1099    fn value(&self) -> i32 {
1100        *self as i32
1101    }
1102
1103    fn from_i32(value: i32) -> ::std::option::Option<ApplyPatchesTaskOutput_State> {
1104        match value {
1105            0 => ::std::option::Option::Some(ApplyPatchesTaskOutput_State::STATE_UNSPECIFIED),
1106            1 => ::std::option::Option::Some(ApplyPatchesTaskOutput_State::SUCCEEDED),
1107            2 => ::std::option::Option::Some(ApplyPatchesTaskOutput_State::SUCCEEDED_REBOOT_REQUIRED),
1108            3 => ::std::option::Option::Some(ApplyPatchesTaskOutput_State::FAILED),
1109            _ => ::std::option::Option::None
1110        }
1111    }
1112
1113    fn values() -> &'static [Self] {
1114        static values: &'static [ApplyPatchesTaskOutput_State] = &[
1115            ApplyPatchesTaskOutput_State::STATE_UNSPECIFIED,
1116            ApplyPatchesTaskOutput_State::SUCCEEDED,
1117            ApplyPatchesTaskOutput_State::SUCCEEDED_REBOOT_REQUIRED,
1118            ApplyPatchesTaskOutput_State::FAILED,
1119        ];
1120        values
1121    }
1122
1123    fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
1124        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
1125        descriptor.get(|| {
1126            ::protobuf::reflect::EnumDescriptor::new_pb_name::<ApplyPatchesTaskOutput_State>("ApplyPatchesTaskOutput.State", file_descriptor_proto())
1127        })
1128    }
1129}
1130
1131impl ::std::marker::Copy for ApplyPatchesTaskOutput_State {
1132}
1133
1134impl ::std::default::Default for ApplyPatchesTaskOutput_State {
1135    fn default() -> Self {
1136        ApplyPatchesTaskOutput_State::STATE_UNSPECIFIED
1137    }
1138}
1139
1140impl ::protobuf::reflect::ProtobufValue for ApplyPatchesTaskOutput_State {
1141    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1142        ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
1143    }
1144}
1145
1146#[derive(PartialEq,Clone,Default)]
1147pub struct ExecStepTask {
1148    // message fields
1149    pub exec_step: ::protobuf::SingularPtrField<super::patch_jobs::ExecStep>,
1150    // special fields
1151    pub unknown_fields: ::protobuf::UnknownFields,
1152    pub cached_size: ::protobuf::CachedSize,
1153}
1154
1155impl<'a> ::std::default::Default for &'a ExecStepTask {
1156    fn default() -> &'a ExecStepTask {
1157        <ExecStepTask as ::protobuf::Message>::default_instance()
1158    }
1159}
1160
1161impl ExecStepTask {
1162    pub fn new() -> ExecStepTask {
1163        ::std::default::Default::default()
1164    }
1165
1166    // .google.cloud.osconfig.agentendpoint.v1.ExecStep exec_step = 1;
1167
1168
1169    pub fn get_exec_step(&self) -> &super::patch_jobs::ExecStep {
1170        self.exec_step.as_ref().unwrap_or_else(|| <super::patch_jobs::ExecStep as ::protobuf::Message>::default_instance())
1171    }
1172    pub fn clear_exec_step(&mut self) {
1173        self.exec_step.clear();
1174    }
1175
1176    pub fn has_exec_step(&self) -> bool {
1177        self.exec_step.is_some()
1178    }
1179
1180    // Param is passed by value, moved
1181    pub fn set_exec_step(&mut self, v: super::patch_jobs::ExecStep) {
1182        self.exec_step = ::protobuf::SingularPtrField::some(v);
1183    }
1184
1185    // Mutable pointer to the field.
1186    // If field is not initialized, it is initialized with default value first.
1187    pub fn mut_exec_step(&mut self) -> &mut super::patch_jobs::ExecStep {
1188        if self.exec_step.is_none() {
1189            self.exec_step.set_default();
1190        }
1191        self.exec_step.as_mut().unwrap()
1192    }
1193
1194    // Take field
1195    pub fn take_exec_step(&mut self) -> super::patch_jobs::ExecStep {
1196        self.exec_step.take().unwrap_or_else(|| super::patch_jobs::ExecStep::new())
1197    }
1198}
1199
1200impl ::protobuf::Message for ExecStepTask {
1201    fn is_initialized(&self) -> bool {
1202        for v in &self.exec_step {
1203            if !v.is_initialized() {
1204                return false;
1205            }
1206        };
1207        true
1208    }
1209
1210    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1211        while !is.eof()? {
1212            let (field_number, wire_type) = is.read_tag_unpack()?;
1213            match field_number {
1214                1 => {
1215                    ::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.exec_step)?;
1216                },
1217                _ => {
1218                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1219                },
1220            };
1221        }
1222        ::std::result::Result::Ok(())
1223    }
1224
1225    // Compute sizes of nested messages
1226    #[allow(unused_variables)]
1227    fn compute_size(&self) -> u32 {
1228        let mut my_size = 0;
1229        if let Some(ref v) = self.exec_step.as_ref() {
1230            let len = v.compute_size();
1231            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1232        }
1233        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1234        self.cached_size.set(my_size);
1235        my_size
1236    }
1237
1238    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1239        if let Some(ref v) = self.exec_step.as_ref() {
1240            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1241            os.write_raw_varint32(v.get_cached_size())?;
1242            v.write_to_with_cached_sizes(os)?;
1243        }
1244        os.write_unknown_fields(self.get_unknown_fields())?;
1245        ::std::result::Result::Ok(())
1246    }
1247
1248    fn get_cached_size(&self) -> u32 {
1249        self.cached_size.get()
1250    }
1251
1252    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1253        &self.unknown_fields
1254    }
1255
1256    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1257        &mut self.unknown_fields
1258    }
1259
1260    fn as_any(&self) -> &dyn (::std::any::Any) {
1261        self as &dyn (::std::any::Any)
1262    }
1263    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1264        self as &mut dyn (::std::any::Any)
1265    }
1266    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1267        self
1268    }
1269
1270    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1271        Self::descriptor_static()
1272    }
1273
1274    fn new() -> ExecStepTask {
1275        ExecStepTask::new()
1276    }
1277
1278    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1279        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1280        descriptor.get(|| {
1281            let mut fields = ::std::vec::Vec::new();
1282            fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::patch_jobs::ExecStep>>(
1283                "exec_step",
1284                |m: &ExecStepTask| { &m.exec_step },
1285                |m: &mut ExecStepTask| { &mut m.exec_step },
1286            ));
1287            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ExecStepTask>(
1288                "ExecStepTask",
1289                fields,
1290                file_descriptor_proto()
1291            )
1292        })
1293    }
1294
1295    fn default_instance() -> &'static ExecStepTask {
1296        static instance: ::protobuf::rt::LazyV2<ExecStepTask> = ::protobuf::rt::LazyV2::INIT;
1297        instance.get(ExecStepTask::new)
1298    }
1299}
1300
1301impl ::protobuf::Clear for ExecStepTask {
1302    fn clear(&mut self) {
1303        self.exec_step.clear();
1304        self.unknown_fields.clear();
1305    }
1306}
1307
1308impl ::std::fmt::Debug for ExecStepTask {
1309    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1310        ::protobuf::text_format::fmt(self, f)
1311    }
1312}
1313
1314impl ::protobuf::reflect::ProtobufValue for ExecStepTask {
1315    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1316        ::protobuf::reflect::ReflectValueRef::Message(self)
1317    }
1318}
1319
1320#[derive(PartialEq,Clone,Default)]
1321pub struct ExecStepTaskProgress {
1322    // message fields
1323    pub state: ExecStepTaskProgress_State,
1324    // special fields
1325    pub unknown_fields: ::protobuf::UnknownFields,
1326    pub cached_size: ::protobuf::CachedSize,
1327}
1328
1329impl<'a> ::std::default::Default for &'a ExecStepTaskProgress {
1330    fn default() -> &'a ExecStepTaskProgress {
1331        <ExecStepTaskProgress as ::protobuf::Message>::default_instance()
1332    }
1333}
1334
1335impl ExecStepTaskProgress {
1336    pub fn new() -> ExecStepTaskProgress {
1337        ::std::default::Default::default()
1338    }
1339
1340    // .google.cloud.osconfig.agentendpoint.v1.ExecStepTaskProgress.State state = 1;
1341
1342
1343    pub fn get_state(&self) -> ExecStepTaskProgress_State {
1344        self.state
1345    }
1346    pub fn clear_state(&mut self) {
1347        self.state = ExecStepTaskProgress_State::STATE_UNSPECIFIED;
1348    }
1349
1350    // Param is passed by value, moved
1351    pub fn set_state(&mut self, v: ExecStepTaskProgress_State) {
1352        self.state = v;
1353    }
1354}
1355
1356impl ::protobuf::Message for ExecStepTaskProgress {
1357    fn is_initialized(&self) -> bool {
1358        true
1359    }
1360
1361    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1362        while !is.eof()? {
1363            let (field_number, wire_type) = is.read_tag_unpack()?;
1364            match field_number {
1365                1 => {
1366                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.state, 1, &mut self.unknown_fields)?
1367                },
1368                _ => {
1369                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1370                },
1371            };
1372        }
1373        ::std::result::Result::Ok(())
1374    }
1375
1376    // Compute sizes of nested messages
1377    #[allow(unused_variables)]
1378    fn compute_size(&self) -> u32 {
1379        let mut my_size = 0;
1380        if self.state != ExecStepTaskProgress_State::STATE_UNSPECIFIED {
1381            my_size += ::protobuf::rt::enum_size(1, self.state);
1382        }
1383        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1384        self.cached_size.set(my_size);
1385        my_size
1386    }
1387
1388    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1389        if self.state != ExecStepTaskProgress_State::STATE_UNSPECIFIED {
1390            os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.state))?;
1391        }
1392        os.write_unknown_fields(self.get_unknown_fields())?;
1393        ::std::result::Result::Ok(())
1394    }
1395
1396    fn get_cached_size(&self) -> u32 {
1397        self.cached_size.get()
1398    }
1399
1400    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1401        &self.unknown_fields
1402    }
1403
1404    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1405        &mut self.unknown_fields
1406    }
1407
1408    fn as_any(&self) -> &dyn (::std::any::Any) {
1409        self as &dyn (::std::any::Any)
1410    }
1411    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1412        self as &mut dyn (::std::any::Any)
1413    }
1414    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1415        self
1416    }
1417
1418    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1419        Self::descriptor_static()
1420    }
1421
1422    fn new() -> ExecStepTaskProgress {
1423        ExecStepTaskProgress::new()
1424    }
1425
1426    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1427        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1428        descriptor.get(|| {
1429            let mut fields = ::std::vec::Vec::new();
1430            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<ExecStepTaskProgress_State>>(
1431                "state",
1432                |m: &ExecStepTaskProgress| { &m.state },
1433                |m: &mut ExecStepTaskProgress| { &mut m.state },
1434            ));
1435            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ExecStepTaskProgress>(
1436                "ExecStepTaskProgress",
1437                fields,
1438                file_descriptor_proto()
1439            )
1440        })
1441    }
1442
1443    fn default_instance() -> &'static ExecStepTaskProgress {
1444        static instance: ::protobuf::rt::LazyV2<ExecStepTaskProgress> = ::protobuf::rt::LazyV2::INIT;
1445        instance.get(ExecStepTaskProgress::new)
1446    }
1447}
1448
1449impl ::protobuf::Clear for ExecStepTaskProgress {
1450    fn clear(&mut self) {
1451        self.state = ExecStepTaskProgress_State::STATE_UNSPECIFIED;
1452        self.unknown_fields.clear();
1453    }
1454}
1455
1456impl ::std::fmt::Debug for ExecStepTaskProgress {
1457    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1458        ::protobuf::text_format::fmt(self, f)
1459    }
1460}
1461
1462impl ::protobuf::reflect::ProtobufValue for ExecStepTaskProgress {
1463    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1464        ::protobuf::reflect::ReflectValueRef::Message(self)
1465    }
1466}
1467
1468#[derive(Clone,PartialEq,Eq,Debug,Hash)]
1469pub enum ExecStepTaskProgress_State {
1470    STATE_UNSPECIFIED = 0,
1471    STARTED = 1,
1472}
1473
1474impl ::protobuf::ProtobufEnum for ExecStepTaskProgress_State {
1475    fn value(&self) -> i32 {
1476        *self as i32
1477    }
1478
1479    fn from_i32(value: i32) -> ::std::option::Option<ExecStepTaskProgress_State> {
1480        match value {
1481            0 => ::std::option::Option::Some(ExecStepTaskProgress_State::STATE_UNSPECIFIED),
1482            1 => ::std::option::Option::Some(ExecStepTaskProgress_State::STARTED),
1483            _ => ::std::option::Option::None
1484        }
1485    }
1486
1487    fn values() -> &'static [Self] {
1488        static values: &'static [ExecStepTaskProgress_State] = &[
1489            ExecStepTaskProgress_State::STATE_UNSPECIFIED,
1490            ExecStepTaskProgress_State::STARTED,
1491        ];
1492        values
1493    }
1494
1495    fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
1496        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
1497        descriptor.get(|| {
1498            ::protobuf::reflect::EnumDescriptor::new_pb_name::<ExecStepTaskProgress_State>("ExecStepTaskProgress.State", file_descriptor_proto())
1499        })
1500    }
1501}
1502
1503impl ::std::marker::Copy for ExecStepTaskProgress_State {
1504}
1505
1506impl ::std::default::Default for ExecStepTaskProgress_State {
1507    fn default() -> Self {
1508        ExecStepTaskProgress_State::STATE_UNSPECIFIED
1509    }
1510}
1511
1512impl ::protobuf::reflect::ProtobufValue for ExecStepTaskProgress_State {
1513    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1514        ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
1515    }
1516}
1517
1518#[derive(PartialEq,Clone,Default)]
1519pub struct ExecStepTaskOutput {
1520    // message fields
1521    pub state: ExecStepTaskOutput_State,
1522    pub exit_code: i32,
1523    // special fields
1524    pub unknown_fields: ::protobuf::UnknownFields,
1525    pub cached_size: ::protobuf::CachedSize,
1526}
1527
1528impl<'a> ::std::default::Default for &'a ExecStepTaskOutput {
1529    fn default() -> &'a ExecStepTaskOutput {
1530        <ExecStepTaskOutput as ::protobuf::Message>::default_instance()
1531    }
1532}
1533
1534impl ExecStepTaskOutput {
1535    pub fn new() -> ExecStepTaskOutput {
1536        ::std::default::Default::default()
1537    }
1538
1539    // .google.cloud.osconfig.agentendpoint.v1.ExecStepTaskOutput.State state = 1;
1540
1541
1542    pub fn get_state(&self) -> ExecStepTaskOutput_State {
1543        self.state
1544    }
1545    pub fn clear_state(&mut self) {
1546        self.state = ExecStepTaskOutput_State::STATE_UNSPECIFIED;
1547    }
1548
1549    // Param is passed by value, moved
1550    pub fn set_state(&mut self, v: ExecStepTaskOutput_State) {
1551        self.state = v;
1552    }
1553
1554    // int32 exit_code = 2;
1555
1556
1557    pub fn get_exit_code(&self) -> i32 {
1558        self.exit_code
1559    }
1560    pub fn clear_exit_code(&mut self) {
1561        self.exit_code = 0;
1562    }
1563
1564    // Param is passed by value, moved
1565    pub fn set_exit_code(&mut self, v: i32) {
1566        self.exit_code = v;
1567    }
1568}
1569
1570impl ::protobuf::Message for ExecStepTaskOutput {
1571    fn is_initialized(&self) -> bool {
1572        true
1573    }
1574
1575    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1576        while !is.eof()? {
1577            let (field_number, wire_type) = is.read_tag_unpack()?;
1578            match field_number {
1579                1 => {
1580                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.state, 1, &mut self.unknown_fields)?
1581                },
1582                2 => {
1583                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
1584                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
1585                    }
1586                    let tmp = is.read_int32()?;
1587                    self.exit_code = tmp;
1588                },
1589                _ => {
1590                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1591                },
1592            };
1593        }
1594        ::std::result::Result::Ok(())
1595    }
1596
1597    // Compute sizes of nested messages
1598    #[allow(unused_variables)]
1599    fn compute_size(&self) -> u32 {
1600        let mut my_size = 0;
1601        if self.state != ExecStepTaskOutput_State::STATE_UNSPECIFIED {
1602            my_size += ::protobuf::rt::enum_size(1, self.state);
1603        }
1604        if self.exit_code != 0 {
1605            my_size += ::protobuf::rt::value_size(2, self.exit_code, ::protobuf::wire_format::WireTypeVarint);
1606        }
1607        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1608        self.cached_size.set(my_size);
1609        my_size
1610    }
1611
1612    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1613        if self.state != ExecStepTaskOutput_State::STATE_UNSPECIFIED {
1614            os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.state))?;
1615        }
1616        if self.exit_code != 0 {
1617            os.write_int32(2, self.exit_code)?;
1618        }
1619        os.write_unknown_fields(self.get_unknown_fields())?;
1620        ::std::result::Result::Ok(())
1621    }
1622
1623    fn get_cached_size(&self) -> u32 {
1624        self.cached_size.get()
1625    }
1626
1627    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1628        &self.unknown_fields
1629    }
1630
1631    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1632        &mut self.unknown_fields
1633    }
1634
1635    fn as_any(&self) -> &dyn (::std::any::Any) {
1636        self as &dyn (::std::any::Any)
1637    }
1638    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1639        self as &mut dyn (::std::any::Any)
1640    }
1641    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1642        self
1643    }
1644
1645    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1646        Self::descriptor_static()
1647    }
1648
1649    fn new() -> ExecStepTaskOutput {
1650        ExecStepTaskOutput::new()
1651    }
1652
1653    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1654        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1655        descriptor.get(|| {
1656            let mut fields = ::std::vec::Vec::new();
1657            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<ExecStepTaskOutput_State>>(
1658                "state",
1659                |m: &ExecStepTaskOutput| { &m.state },
1660                |m: &mut ExecStepTaskOutput| { &mut m.state },
1661            ));
1662            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeInt32>(
1663                "exit_code",
1664                |m: &ExecStepTaskOutput| { &m.exit_code },
1665                |m: &mut ExecStepTaskOutput| { &mut m.exit_code },
1666            ));
1667            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ExecStepTaskOutput>(
1668                "ExecStepTaskOutput",
1669                fields,
1670                file_descriptor_proto()
1671            )
1672        })
1673    }
1674
1675    fn default_instance() -> &'static ExecStepTaskOutput {
1676        static instance: ::protobuf::rt::LazyV2<ExecStepTaskOutput> = ::protobuf::rt::LazyV2::INIT;
1677        instance.get(ExecStepTaskOutput::new)
1678    }
1679}
1680
1681impl ::protobuf::Clear for ExecStepTaskOutput {
1682    fn clear(&mut self) {
1683        self.state = ExecStepTaskOutput_State::STATE_UNSPECIFIED;
1684        self.exit_code = 0;
1685        self.unknown_fields.clear();
1686    }
1687}
1688
1689impl ::std::fmt::Debug for ExecStepTaskOutput {
1690    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1691        ::protobuf::text_format::fmt(self, f)
1692    }
1693}
1694
1695impl ::protobuf::reflect::ProtobufValue for ExecStepTaskOutput {
1696    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1697        ::protobuf::reflect::ReflectValueRef::Message(self)
1698    }
1699}
1700
1701#[derive(Clone,PartialEq,Eq,Debug,Hash)]
1702pub enum ExecStepTaskOutput_State {
1703    STATE_UNSPECIFIED = 0,
1704    COMPLETED = 1,
1705    TIMED_OUT = 2,
1706    CANCELLED = 3,
1707}
1708
1709impl ::protobuf::ProtobufEnum for ExecStepTaskOutput_State {
1710    fn value(&self) -> i32 {
1711        *self as i32
1712    }
1713
1714    fn from_i32(value: i32) -> ::std::option::Option<ExecStepTaskOutput_State> {
1715        match value {
1716            0 => ::std::option::Option::Some(ExecStepTaskOutput_State::STATE_UNSPECIFIED),
1717            1 => ::std::option::Option::Some(ExecStepTaskOutput_State::COMPLETED),
1718            2 => ::std::option::Option::Some(ExecStepTaskOutput_State::TIMED_OUT),
1719            3 => ::std::option::Option::Some(ExecStepTaskOutput_State::CANCELLED),
1720            _ => ::std::option::Option::None
1721        }
1722    }
1723
1724    fn values() -> &'static [Self] {
1725        static values: &'static [ExecStepTaskOutput_State] = &[
1726            ExecStepTaskOutput_State::STATE_UNSPECIFIED,
1727            ExecStepTaskOutput_State::COMPLETED,
1728            ExecStepTaskOutput_State::TIMED_OUT,
1729            ExecStepTaskOutput_State::CANCELLED,
1730        ];
1731        values
1732    }
1733
1734    fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
1735        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
1736        descriptor.get(|| {
1737            ::protobuf::reflect::EnumDescriptor::new_pb_name::<ExecStepTaskOutput_State>("ExecStepTaskOutput.State", file_descriptor_proto())
1738        })
1739    }
1740}
1741
1742impl ::std::marker::Copy for ExecStepTaskOutput_State {
1743}
1744
1745impl ::std::default::Default for ExecStepTaskOutput_State {
1746    fn default() -> Self {
1747        ExecStepTaskOutput_State::STATE_UNSPECIFIED
1748    }
1749}
1750
1751impl ::protobuf::reflect::ProtobufValue for ExecStepTaskOutput_State {
1752    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1753        ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
1754    }
1755}
1756
1757#[derive(PartialEq,Clone,Default)]
1758pub struct ApplyConfigTask {
1759    // message fields
1760    pub os_policies: ::protobuf::RepeatedField<ApplyConfigTask_OSPolicy>,
1761    // special fields
1762    pub unknown_fields: ::protobuf::UnknownFields,
1763    pub cached_size: ::protobuf::CachedSize,
1764}
1765
1766impl<'a> ::std::default::Default for &'a ApplyConfigTask {
1767    fn default() -> &'a ApplyConfigTask {
1768        <ApplyConfigTask as ::protobuf::Message>::default_instance()
1769    }
1770}
1771
1772impl ApplyConfigTask {
1773    pub fn new() -> ApplyConfigTask {
1774        ::std::default::Default::default()
1775    }
1776
1777    // repeated .google.cloud.osconfig.agentendpoint.v1.ApplyConfigTask.OSPolicy os_policies = 1;
1778
1779
1780    pub fn get_os_policies(&self) -> &[ApplyConfigTask_OSPolicy] {
1781        &self.os_policies
1782    }
1783    pub fn clear_os_policies(&mut self) {
1784        self.os_policies.clear();
1785    }
1786
1787    // Param is passed by value, moved
1788    pub fn set_os_policies(&mut self, v: ::protobuf::RepeatedField<ApplyConfigTask_OSPolicy>) {
1789        self.os_policies = v;
1790    }
1791
1792    // Mutable pointer to the field.
1793    pub fn mut_os_policies(&mut self) -> &mut ::protobuf::RepeatedField<ApplyConfigTask_OSPolicy> {
1794        &mut self.os_policies
1795    }
1796
1797    // Take field
1798    pub fn take_os_policies(&mut self) -> ::protobuf::RepeatedField<ApplyConfigTask_OSPolicy> {
1799        ::std::mem::replace(&mut self.os_policies, ::protobuf::RepeatedField::new())
1800    }
1801}
1802
1803impl ::protobuf::Message for ApplyConfigTask {
1804    fn is_initialized(&self) -> bool {
1805        for v in &self.os_policies {
1806            if !v.is_initialized() {
1807                return false;
1808            }
1809        };
1810        true
1811    }
1812
1813    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1814        while !is.eof()? {
1815            let (field_number, wire_type) = is.read_tag_unpack()?;
1816            match field_number {
1817                1 => {
1818                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.os_policies)?;
1819                },
1820                _ => {
1821                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1822                },
1823            };
1824        }
1825        ::std::result::Result::Ok(())
1826    }
1827
1828    // Compute sizes of nested messages
1829    #[allow(unused_variables)]
1830    fn compute_size(&self) -> u32 {
1831        let mut my_size = 0;
1832        for value in &self.os_policies {
1833            let len = value.compute_size();
1834            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1835        };
1836        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1837        self.cached_size.set(my_size);
1838        my_size
1839    }
1840
1841    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1842        for v in &self.os_policies {
1843            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1844            os.write_raw_varint32(v.get_cached_size())?;
1845            v.write_to_with_cached_sizes(os)?;
1846        };
1847        os.write_unknown_fields(self.get_unknown_fields())?;
1848        ::std::result::Result::Ok(())
1849    }
1850
1851    fn get_cached_size(&self) -> u32 {
1852        self.cached_size.get()
1853    }
1854
1855    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1856        &self.unknown_fields
1857    }
1858
1859    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1860        &mut self.unknown_fields
1861    }
1862
1863    fn as_any(&self) -> &dyn (::std::any::Any) {
1864        self as &dyn (::std::any::Any)
1865    }
1866    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1867        self as &mut dyn (::std::any::Any)
1868    }
1869    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1870        self
1871    }
1872
1873    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1874        Self::descriptor_static()
1875    }
1876
1877    fn new() -> ApplyConfigTask {
1878        ApplyConfigTask::new()
1879    }
1880
1881    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1882        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
1883        descriptor.get(|| {
1884            let mut fields = ::std::vec::Vec::new();
1885            fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<ApplyConfigTask_OSPolicy>>(
1886                "os_policies",
1887                |m: &ApplyConfigTask| { &m.os_policies },
1888                |m: &mut ApplyConfigTask| { &mut m.os_policies },
1889            ));
1890            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ApplyConfigTask>(
1891                "ApplyConfigTask",
1892                fields,
1893                file_descriptor_proto()
1894            )
1895        })
1896    }
1897
1898    fn default_instance() -> &'static ApplyConfigTask {
1899        static instance: ::protobuf::rt::LazyV2<ApplyConfigTask> = ::protobuf::rt::LazyV2::INIT;
1900        instance.get(ApplyConfigTask::new)
1901    }
1902}
1903
1904impl ::protobuf::Clear for ApplyConfigTask {
1905    fn clear(&mut self) {
1906        self.os_policies.clear();
1907        self.unknown_fields.clear();
1908    }
1909}
1910
1911impl ::std::fmt::Debug for ApplyConfigTask {
1912    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1913        ::protobuf::text_format::fmt(self, f)
1914    }
1915}
1916
1917impl ::protobuf::reflect::ProtobufValue for ApplyConfigTask {
1918    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
1919        ::protobuf::reflect::ReflectValueRef::Message(self)
1920    }
1921}
1922
1923#[derive(PartialEq,Clone,Default)]
1924pub struct ApplyConfigTask_OSPolicy {
1925    // message fields
1926    pub id: ::std::string::String,
1927    pub mode: super::os_policy::OSPolicy_Mode,
1928    pub os_policy_assignment: ::std::string::String,
1929    pub resources: ::protobuf::RepeatedField<super::os_policy::OSPolicy_Resource>,
1930    // special fields
1931    pub unknown_fields: ::protobuf::UnknownFields,
1932    pub cached_size: ::protobuf::CachedSize,
1933}
1934
1935impl<'a> ::std::default::Default for &'a ApplyConfigTask_OSPolicy {
1936    fn default() -> &'a ApplyConfigTask_OSPolicy {
1937        <ApplyConfigTask_OSPolicy as ::protobuf::Message>::default_instance()
1938    }
1939}
1940
1941impl ApplyConfigTask_OSPolicy {
1942    pub fn new() -> ApplyConfigTask_OSPolicy {
1943        ::std::default::Default::default()
1944    }
1945
1946    // string id = 1;
1947
1948
1949    pub fn get_id(&self) -> &str {
1950        &self.id
1951    }
1952    pub fn clear_id(&mut self) {
1953        self.id.clear();
1954    }
1955
1956    // Param is passed by value, moved
1957    pub fn set_id(&mut self, v: ::std::string::String) {
1958        self.id = v;
1959    }
1960
1961    // Mutable pointer to the field.
1962    // If field is not initialized, it is initialized with default value first.
1963    pub fn mut_id(&mut self) -> &mut ::std::string::String {
1964        &mut self.id
1965    }
1966
1967    // Take field
1968    pub fn take_id(&mut self) -> ::std::string::String {
1969        ::std::mem::replace(&mut self.id, ::std::string::String::new())
1970    }
1971
1972    // .google.cloud.osconfig.agentendpoint.v1.OSPolicy.Mode mode = 2;
1973
1974
1975    pub fn get_mode(&self) -> super::os_policy::OSPolicy_Mode {
1976        self.mode
1977    }
1978    pub fn clear_mode(&mut self) {
1979        self.mode = super::os_policy::OSPolicy_Mode::MODE_UNSPECIFIED;
1980    }
1981
1982    // Param is passed by value, moved
1983    pub fn set_mode(&mut self, v: super::os_policy::OSPolicy_Mode) {
1984        self.mode = v;
1985    }
1986
1987    // string os_policy_assignment = 3;
1988
1989
1990    pub fn get_os_policy_assignment(&self) -> &str {
1991        &self.os_policy_assignment
1992    }
1993    pub fn clear_os_policy_assignment(&mut self) {
1994        self.os_policy_assignment.clear();
1995    }
1996
1997    // Param is passed by value, moved
1998    pub fn set_os_policy_assignment(&mut self, v: ::std::string::String) {
1999        self.os_policy_assignment = v;
2000    }
2001
2002    // Mutable pointer to the field.
2003    // If field is not initialized, it is initialized with default value first.
2004    pub fn mut_os_policy_assignment(&mut self) -> &mut ::std::string::String {
2005        &mut self.os_policy_assignment
2006    }
2007
2008    // Take field
2009    pub fn take_os_policy_assignment(&mut self) -> ::std::string::String {
2010        ::std::mem::replace(&mut self.os_policy_assignment, ::std::string::String::new())
2011    }
2012
2013    // repeated .google.cloud.osconfig.agentendpoint.v1.OSPolicy.Resource resources = 4;
2014
2015
2016    pub fn get_resources(&self) -> &[super::os_policy::OSPolicy_Resource] {
2017        &self.resources
2018    }
2019    pub fn clear_resources(&mut self) {
2020        self.resources.clear();
2021    }
2022
2023    // Param is passed by value, moved
2024    pub fn set_resources(&mut self, v: ::protobuf::RepeatedField<super::os_policy::OSPolicy_Resource>) {
2025        self.resources = v;
2026    }
2027
2028    // Mutable pointer to the field.
2029    pub fn mut_resources(&mut self) -> &mut ::protobuf::RepeatedField<super::os_policy::OSPolicy_Resource> {
2030        &mut self.resources
2031    }
2032
2033    // Take field
2034    pub fn take_resources(&mut self) -> ::protobuf::RepeatedField<super::os_policy::OSPolicy_Resource> {
2035        ::std::mem::replace(&mut self.resources, ::protobuf::RepeatedField::new())
2036    }
2037}
2038
2039impl ::protobuf::Message for ApplyConfigTask_OSPolicy {
2040    fn is_initialized(&self) -> bool {
2041        for v in &self.resources {
2042            if !v.is_initialized() {
2043                return false;
2044            }
2045        };
2046        true
2047    }
2048
2049    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2050        while !is.eof()? {
2051            let (field_number, wire_type) = is.read_tag_unpack()?;
2052            match field_number {
2053                1 => {
2054                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.id)?;
2055                },
2056                2 => {
2057                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.mode, 2, &mut self.unknown_fields)?
2058                },
2059                3 => {
2060                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.os_policy_assignment)?;
2061                },
2062                4 => {
2063                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.resources)?;
2064                },
2065                _ => {
2066                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2067                },
2068            };
2069        }
2070        ::std::result::Result::Ok(())
2071    }
2072
2073    // Compute sizes of nested messages
2074    #[allow(unused_variables)]
2075    fn compute_size(&self) -> u32 {
2076        let mut my_size = 0;
2077        if !self.id.is_empty() {
2078            my_size += ::protobuf::rt::string_size(1, &self.id);
2079        }
2080        if self.mode != super::os_policy::OSPolicy_Mode::MODE_UNSPECIFIED {
2081            my_size += ::protobuf::rt::enum_size(2, self.mode);
2082        }
2083        if !self.os_policy_assignment.is_empty() {
2084            my_size += ::protobuf::rt::string_size(3, &self.os_policy_assignment);
2085        }
2086        for value in &self.resources {
2087            let len = value.compute_size();
2088            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
2089        };
2090        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2091        self.cached_size.set(my_size);
2092        my_size
2093    }
2094
2095    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2096        if !self.id.is_empty() {
2097            os.write_string(1, &self.id)?;
2098        }
2099        if self.mode != super::os_policy::OSPolicy_Mode::MODE_UNSPECIFIED {
2100            os.write_enum(2, ::protobuf::ProtobufEnum::value(&self.mode))?;
2101        }
2102        if !self.os_policy_assignment.is_empty() {
2103            os.write_string(3, &self.os_policy_assignment)?;
2104        }
2105        for v in &self.resources {
2106            os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)?;
2107            os.write_raw_varint32(v.get_cached_size())?;
2108            v.write_to_with_cached_sizes(os)?;
2109        };
2110        os.write_unknown_fields(self.get_unknown_fields())?;
2111        ::std::result::Result::Ok(())
2112    }
2113
2114    fn get_cached_size(&self) -> u32 {
2115        self.cached_size.get()
2116    }
2117
2118    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2119        &self.unknown_fields
2120    }
2121
2122    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2123        &mut self.unknown_fields
2124    }
2125
2126    fn as_any(&self) -> &dyn (::std::any::Any) {
2127        self as &dyn (::std::any::Any)
2128    }
2129    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2130        self as &mut dyn (::std::any::Any)
2131    }
2132    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2133        self
2134    }
2135
2136    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2137        Self::descriptor_static()
2138    }
2139
2140    fn new() -> ApplyConfigTask_OSPolicy {
2141        ApplyConfigTask_OSPolicy::new()
2142    }
2143
2144    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2145        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2146        descriptor.get(|| {
2147            let mut fields = ::std::vec::Vec::new();
2148            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
2149                "id",
2150                |m: &ApplyConfigTask_OSPolicy| { &m.id },
2151                |m: &mut ApplyConfigTask_OSPolicy| { &mut m.id },
2152            ));
2153            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<super::os_policy::OSPolicy_Mode>>(
2154                "mode",
2155                |m: &ApplyConfigTask_OSPolicy| { &m.mode },
2156                |m: &mut ApplyConfigTask_OSPolicy| { &mut m.mode },
2157            ));
2158            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
2159                "os_policy_assignment",
2160                |m: &ApplyConfigTask_OSPolicy| { &m.os_policy_assignment },
2161                |m: &mut ApplyConfigTask_OSPolicy| { &mut m.os_policy_assignment },
2162            ));
2163            fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::os_policy::OSPolicy_Resource>>(
2164                "resources",
2165                |m: &ApplyConfigTask_OSPolicy| { &m.resources },
2166                |m: &mut ApplyConfigTask_OSPolicy| { &mut m.resources },
2167            ));
2168            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ApplyConfigTask_OSPolicy>(
2169                "ApplyConfigTask.OSPolicy",
2170                fields,
2171                file_descriptor_proto()
2172            )
2173        })
2174    }
2175
2176    fn default_instance() -> &'static ApplyConfigTask_OSPolicy {
2177        static instance: ::protobuf::rt::LazyV2<ApplyConfigTask_OSPolicy> = ::protobuf::rt::LazyV2::INIT;
2178        instance.get(ApplyConfigTask_OSPolicy::new)
2179    }
2180}
2181
2182impl ::protobuf::Clear for ApplyConfigTask_OSPolicy {
2183    fn clear(&mut self) {
2184        self.id.clear();
2185        self.mode = super::os_policy::OSPolicy_Mode::MODE_UNSPECIFIED;
2186        self.os_policy_assignment.clear();
2187        self.resources.clear();
2188        self.unknown_fields.clear();
2189    }
2190}
2191
2192impl ::std::fmt::Debug for ApplyConfigTask_OSPolicy {
2193    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2194        ::protobuf::text_format::fmt(self, f)
2195    }
2196}
2197
2198impl ::protobuf::reflect::ProtobufValue for ApplyConfigTask_OSPolicy {
2199    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2200        ::protobuf::reflect::ReflectValueRef::Message(self)
2201    }
2202}
2203
2204#[derive(PartialEq,Clone,Default)]
2205pub struct ApplyConfigTaskProgress {
2206    // message fields
2207    pub state: ApplyConfigTaskProgress_State,
2208    // special fields
2209    pub unknown_fields: ::protobuf::UnknownFields,
2210    pub cached_size: ::protobuf::CachedSize,
2211}
2212
2213impl<'a> ::std::default::Default for &'a ApplyConfigTaskProgress {
2214    fn default() -> &'a ApplyConfigTaskProgress {
2215        <ApplyConfigTaskProgress as ::protobuf::Message>::default_instance()
2216    }
2217}
2218
2219impl ApplyConfigTaskProgress {
2220    pub fn new() -> ApplyConfigTaskProgress {
2221        ::std::default::Default::default()
2222    }
2223
2224    // .google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskProgress.State state = 1;
2225
2226
2227    pub fn get_state(&self) -> ApplyConfigTaskProgress_State {
2228        self.state
2229    }
2230    pub fn clear_state(&mut self) {
2231        self.state = ApplyConfigTaskProgress_State::STATE_UNSPECIFIED;
2232    }
2233
2234    // Param is passed by value, moved
2235    pub fn set_state(&mut self, v: ApplyConfigTaskProgress_State) {
2236        self.state = v;
2237    }
2238}
2239
2240impl ::protobuf::Message for ApplyConfigTaskProgress {
2241    fn is_initialized(&self) -> bool {
2242        true
2243    }
2244
2245    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2246        while !is.eof()? {
2247            let (field_number, wire_type) = is.read_tag_unpack()?;
2248            match field_number {
2249                1 => {
2250                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.state, 1, &mut self.unknown_fields)?
2251                },
2252                _ => {
2253                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2254                },
2255            };
2256        }
2257        ::std::result::Result::Ok(())
2258    }
2259
2260    // Compute sizes of nested messages
2261    #[allow(unused_variables)]
2262    fn compute_size(&self) -> u32 {
2263        let mut my_size = 0;
2264        if self.state != ApplyConfigTaskProgress_State::STATE_UNSPECIFIED {
2265            my_size += ::protobuf::rt::enum_size(1, self.state);
2266        }
2267        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2268        self.cached_size.set(my_size);
2269        my_size
2270    }
2271
2272    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2273        if self.state != ApplyConfigTaskProgress_State::STATE_UNSPECIFIED {
2274            os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.state))?;
2275        }
2276        os.write_unknown_fields(self.get_unknown_fields())?;
2277        ::std::result::Result::Ok(())
2278    }
2279
2280    fn get_cached_size(&self) -> u32 {
2281        self.cached_size.get()
2282    }
2283
2284    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2285        &self.unknown_fields
2286    }
2287
2288    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2289        &mut self.unknown_fields
2290    }
2291
2292    fn as_any(&self) -> &dyn (::std::any::Any) {
2293        self as &dyn (::std::any::Any)
2294    }
2295    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2296        self as &mut dyn (::std::any::Any)
2297    }
2298    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2299        self
2300    }
2301
2302    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2303        Self::descriptor_static()
2304    }
2305
2306    fn new() -> ApplyConfigTaskProgress {
2307        ApplyConfigTaskProgress::new()
2308    }
2309
2310    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2311        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2312        descriptor.get(|| {
2313            let mut fields = ::std::vec::Vec::new();
2314            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<ApplyConfigTaskProgress_State>>(
2315                "state",
2316                |m: &ApplyConfigTaskProgress| { &m.state },
2317                |m: &mut ApplyConfigTaskProgress| { &mut m.state },
2318            ));
2319            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ApplyConfigTaskProgress>(
2320                "ApplyConfigTaskProgress",
2321                fields,
2322                file_descriptor_proto()
2323            )
2324        })
2325    }
2326
2327    fn default_instance() -> &'static ApplyConfigTaskProgress {
2328        static instance: ::protobuf::rt::LazyV2<ApplyConfigTaskProgress> = ::protobuf::rt::LazyV2::INIT;
2329        instance.get(ApplyConfigTaskProgress::new)
2330    }
2331}
2332
2333impl ::protobuf::Clear for ApplyConfigTaskProgress {
2334    fn clear(&mut self) {
2335        self.state = ApplyConfigTaskProgress_State::STATE_UNSPECIFIED;
2336        self.unknown_fields.clear();
2337    }
2338}
2339
2340impl ::std::fmt::Debug for ApplyConfigTaskProgress {
2341    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2342        ::protobuf::text_format::fmt(self, f)
2343    }
2344}
2345
2346impl ::protobuf::reflect::ProtobufValue for ApplyConfigTaskProgress {
2347    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2348        ::protobuf::reflect::ReflectValueRef::Message(self)
2349    }
2350}
2351
2352#[derive(Clone,PartialEq,Eq,Debug,Hash)]
2353pub enum ApplyConfigTaskProgress_State {
2354    STATE_UNSPECIFIED = 0,
2355    STARTED = 1,
2356    APPLYING_CONFIG = 2,
2357}
2358
2359impl ::protobuf::ProtobufEnum for ApplyConfigTaskProgress_State {
2360    fn value(&self) -> i32 {
2361        *self as i32
2362    }
2363
2364    fn from_i32(value: i32) -> ::std::option::Option<ApplyConfigTaskProgress_State> {
2365        match value {
2366            0 => ::std::option::Option::Some(ApplyConfigTaskProgress_State::STATE_UNSPECIFIED),
2367            1 => ::std::option::Option::Some(ApplyConfigTaskProgress_State::STARTED),
2368            2 => ::std::option::Option::Some(ApplyConfigTaskProgress_State::APPLYING_CONFIG),
2369            _ => ::std::option::Option::None
2370        }
2371    }
2372
2373    fn values() -> &'static [Self] {
2374        static values: &'static [ApplyConfigTaskProgress_State] = &[
2375            ApplyConfigTaskProgress_State::STATE_UNSPECIFIED,
2376            ApplyConfigTaskProgress_State::STARTED,
2377            ApplyConfigTaskProgress_State::APPLYING_CONFIG,
2378        ];
2379        values
2380    }
2381
2382    fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
2383        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
2384        descriptor.get(|| {
2385            ::protobuf::reflect::EnumDescriptor::new_pb_name::<ApplyConfigTaskProgress_State>("ApplyConfigTaskProgress.State", file_descriptor_proto())
2386        })
2387    }
2388}
2389
2390impl ::std::marker::Copy for ApplyConfigTaskProgress_State {
2391}
2392
2393impl ::std::default::Default for ApplyConfigTaskProgress_State {
2394    fn default() -> Self {
2395        ApplyConfigTaskProgress_State::STATE_UNSPECIFIED
2396    }
2397}
2398
2399impl ::protobuf::reflect::ProtobufValue for ApplyConfigTaskProgress_State {
2400    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2401        ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
2402    }
2403}
2404
2405#[derive(PartialEq,Clone,Default)]
2406pub struct ApplyConfigTaskOutput {
2407    // message fields
2408    pub state: ApplyConfigTaskOutput_State,
2409    pub os_policy_results: ::protobuf::RepeatedField<ApplyConfigTaskOutput_OSPolicyResult>,
2410    // special fields
2411    pub unknown_fields: ::protobuf::UnknownFields,
2412    pub cached_size: ::protobuf::CachedSize,
2413}
2414
2415impl<'a> ::std::default::Default for &'a ApplyConfigTaskOutput {
2416    fn default() -> &'a ApplyConfigTaskOutput {
2417        <ApplyConfigTaskOutput as ::protobuf::Message>::default_instance()
2418    }
2419}
2420
2421impl ApplyConfigTaskOutput {
2422    pub fn new() -> ApplyConfigTaskOutput {
2423        ::std::default::Default::default()
2424    }
2425
2426    // .google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskOutput.State state = 1;
2427
2428
2429    pub fn get_state(&self) -> ApplyConfigTaskOutput_State {
2430        self.state
2431    }
2432    pub fn clear_state(&mut self) {
2433        self.state = ApplyConfigTaskOutput_State::STATE_UNSPECIFIED;
2434    }
2435
2436    // Param is passed by value, moved
2437    pub fn set_state(&mut self, v: ApplyConfigTaskOutput_State) {
2438        self.state = v;
2439    }
2440
2441    // repeated .google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskOutput.OSPolicyResult os_policy_results = 2;
2442
2443
2444    pub fn get_os_policy_results(&self) -> &[ApplyConfigTaskOutput_OSPolicyResult] {
2445        &self.os_policy_results
2446    }
2447    pub fn clear_os_policy_results(&mut self) {
2448        self.os_policy_results.clear();
2449    }
2450
2451    // Param is passed by value, moved
2452    pub fn set_os_policy_results(&mut self, v: ::protobuf::RepeatedField<ApplyConfigTaskOutput_OSPolicyResult>) {
2453        self.os_policy_results = v;
2454    }
2455
2456    // Mutable pointer to the field.
2457    pub fn mut_os_policy_results(&mut self) -> &mut ::protobuf::RepeatedField<ApplyConfigTaskOutput_OSPolicyResult> {
2458        &mut self.os_policy_results
2459    }
2460
2461    // Take field
2462    pub fn take_os_policy_results(&mut self) -> ::protobuf::RepeatedField<ApplyConfigTaskOutput_OSPolicyResult> {
2463        ::std::mem::replace(&mut self.os_policy_results, ::protobuf::RepeatedField::new())
2464    }
2465}
2466
2467impl ::protobuf::Message for ApplyConfigTaskOutput {
2468    fn is_initialized(&self) -> bool {
2469        for v in &self.os_policy_results {
2470            if !v.is_initialized() {
2471                return false;
2472            }
2473        };
2474        true
2475    }
2476
2477    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2478        while !is.eof()? {
2479            let (field_number, wire_type) = is.read_tag_unpack()?;
2480            match field_number {
2481                1 => {
2482                    ::protobuf::rt::read_proto3_enum_with_unknown_fields_into(wire_type, is, &mut self.state, 1, &mut self.unknown_fields)?
2483                },
2484                2 => {
2485                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.os_policy_results)?;
2486                },
2487                _ => {
2488                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2489                },
2490            };
2491        }
2492        ::std::result::Result::Ok(())
2493    }
2494
2495    // Compute sizes of nested messages
2496    #[allow(unused_variables)]
2497    fn compute_size(&self) -> u32 {
2498        let mut my_size = 0;
2499        if self.state != ApplyConfigTaskOutput_State::STATE_UNSPECIFIED {
2500            my_size += ::protobuf::rt::enum_size(1, self.state);
2501        }
2502        for value in &self.os_policy_results {
2503            let len = value.compute_size();
2504            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
2505        };
2506        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2507        self.cached_size.set(my_size);
2508        my_size
2509    }
2510
2511    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2512        if self.state != ApplyConfigTaskOutput_State::STATE_UNSPECIFIED {
2513            os.write_enum(1, ::protobuf::ProtobufEnum::value(&self.state))?;
2514        }
2515        for v in &self.os_policy_results {
2516            os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)?;
2517            os.write_raw_varint32(v.get_cached_size())?;
2518            v.write_to_with_cached_sizes(os)?;
2519        };
2520        os.write_unknown_fields(self.get_unknown_fields())?;
2521        ::std::result::Result::Ok(())
2522    }
2523
2524    fn get_cached_size(&self) -> u32 {
2525        self.cached_size.get()
2526    }
2527
2528    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2529        &self.unknown_fields
2530    }
2531
2532    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2533        &mut self.unknown_fields
2534    }
2535
2536    fn as_any(&self) -> &dyn (::std::any::Any) {
2537        self as &dyn (::std::any::Any)
2538    }
2539    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2540        self as &mut dyn (::std::any::Any)
2541    }
2542    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2543        self
2544    }
2545
2546    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2547        Self::descriptor_static()
2548    }
2549
2550    fn new() -> ApplyConfigTaskOutput {
2551        ApplyConfigTaskOutput::new()
2552    }
2553
2554    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2555        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2556        descriptor.get(|| {
2557            let mut fields = ::std::vec::Vec::new();
2558            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeEnum<ApplyConfigTaskOutput_State>>(
2559                "state",
2560                |m: &ApplyConfigTaskOutput| { &m.state },
2561                |m: &mut ApplyConfigTaskOutput| { &mut m.state },
2562            ));
2563            fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<ApplyConfigTaskOutput_OSPolicyResult>>(
2564                "os_policy_results",
2565                |m: &ApplyConfigTaskOutput| { &m.os_policy_results },
2566                |m: &mut ApplyConfigTaskOutput| { &mut m.os_policy_results },
2567            ));
2568            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ApplyConfigTaskOutput>(
2569                "ApplyConfigTaskOutput",
2570                fields,
2571                file_descriptor_proto()
2572            )
2573        })
2574    }
2575
2576    fn default_instance() -> &'static ApplyConfigTaskOutput {
2577        static instance: ::protobuf::rt::LazyV2<ApplyConfigTaskOutput> = ::protobuf::rt::LazyV2::INIT;
2578        instance.get(ApplyConfigTaskOutput::new)
2579    }
2580}
2581
2582impl ::protobuf::Clear for ApplyConfigTaskOutput {
2583    fn clear(&mut self) {
2584        self.state = ApplyConfigTaskOutput_State::STATE_UNSPECIFIED;
2585        self.os_policy_results.clear();
2586        self.unknown_fields.clear();
2587    }
2588}
2589
2590impl ::std::fmt::Debug for ApplyConfigTaskOutput {
2591    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2592        ::protobuf::text_format::fmt(self, f)
2593    }
2594}
2595
2596impl ::protobuf::reflect::ProtobufValue for ApplyConfigTaskOutput {
2597    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2598        ::protobuf::reflect::ReflectValueRef::Message(self)
2599    }
2600}
2601
2602#[derive(PartialEq,Clone,Default)]
2603pub struct ApplyConfigTaskOutput_OSPolicyResult {
2604    // message fields
2605    pub os_policy_id: ::std::string::String,
2606    pub os_policy_assignment: ::std::string::String,
2607    pub os_policy_resource_compliances: ::protobuf::RepeatedField<super::config_common::OSPolicyResourceCompliance>,
2608    // special fields
2609    pub unknown_fields: ::protobuf::UnknownFields,
2610    pub cached_size: ::protobuf::CachedSize,
2611}
2612
2613impl<'a> ::std::default::Default for &'a ApplyConfigTaskOutput_OSPolicyResult {
2614    fn default() -> &'a ApplyConfigTaskOutput_OSPolicyResult {
2615        <ApplyConfigTaskOutput_OSPolicyResult as ::protobuf::Message>::default_instance()
2616    }
2617}
2618
2619impl ApplyConfigTaskOutput_OSPolicyResult {
2620    pub fn new() -> ApplyConfigTaskOutput_OSPolicyResult {
2621        ::std::default::Default::default()
2622    }
2623
2624    // string os_policy_id = 1;
2625
2626
2627    pub fn get_os_policy_id(&self) -> &str {
2628        &self.os_policy_id
2629    }
2630    pub fn clear_os_policy_id(&mut self) {
2631        self.os_policy_id.clear();
2632    }
2633
2634    // Param is passed by value, moved
2635    pub fn set_os_policy_id(&mut self, v: ::std::string::String) {
2636        self.os_policy_id = v;
2637    }
2638
2639    // Mutable pointer to the field.
2640    // If field is not initialized, it is initialized with default value first.
2641    pub fn mut_os_policy_id(&mut self) -> &mut ::std::string::String {
2642        &mut self.os_policy_id
2643    }
2644
2645    // Take field
2646    pub fn take_os_policy_id(&mut self) -> ::std::string::String {
2647        ::std::mem::replace(&mut self.os_policy_id, ::std::string::String::new())
2648    }
2649
2650    // string os_policy_assignment = 2;
2651
2652
2653    pub fn get_os_policy_assignment(&self) -> &str {
2654        &self.os_policy_assignment
2655    }
2656    pub fn clear_os_policy_assignment(&mut self) {
2657        self.os_policy_assignment.clear();
2658    }
2659
2660    // Param is passed by value, moved
2661    pub fn set_os_policy_assignment(&mut self, v: ::std::string::String) {
2662        self.os_policy_assignment = v;
2663    }
2664
2665    // Mutable pointer to the field.
2666    // If field is not initialized, it is initialized with default value first.
2667    pub fn mut_os_policy_assignment(&mut self) -> &mut ::std::string::String {
2668        &mut self.os_policy_assignment
2669    }
2670
2671    // Take field
2672    pub fn take_os_policy_assignment(&mut self) -> ::std::string::String {
2673        ::std::mem::replace(&mut self.os_policy_assignment, ::std::string::String::new())
2674    }
2675
2676    // repeated .google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceCompliance os_policy_resource_compliances = 3;
2677
2678
2679    pub fn get_os_policy_resource_compliances(&self) -> &[super::config_common::OSPolicyResourceCompliance] {
2680        &self.os_policy_resource_compliances
2681    }
2682    pub fn clear_os_policy_resource_compliances(&mut self) {
2683        self.os_policy_resource_compliances.clear();
2684    }
2685
2686    // Param is passed by value, moved
2687    pub fn set_os_policy_resource_compliances(&mut self, v: ::protobuf::RepeatedField<super::config_common::OSPolicyResourceCompliance>) {
2688        self.os_policy_resource_compliances = v;
2689    }
2690
2691    // Mutable pointer to the field.
2692    pub fn mut_os_policy_resource_compliances(&mut self) -> &mut ::protobuf::RepeatedField<super::config_common::OSPolicyResourceCompliance> {
2693        &mut self.os_policy_resource_compliances
2694    }
2695
2696    // Take field
2697    pub fn take_os_policy_resource_compliances(&mut self) -> ::protobuf::RepeatedField<super::config_common::OSPolicyResourceCompliance> {
2698        ::std::mem::replace(&mut self.os_policy_resource_compliances, ::protobuf::RepeatedField::new())
2699    }
2700}
2701
2702impl ::protobuf::Message for ApplyConfigTaskOutput_OSPolicyResult {
2703    fn is_initialized(&self) -> bool {
2704        for v in &self.os_policy_resource_compliances {
2705            if !v.is_initialized() {
2706                return false;
2707            }
2708        };
2709        true
2710    }
2711
2712    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2713        while !is.eof()? {
2714            let (field_number, wire_type) = is.read_tag_unpack()?;
2715            match field_number {
2716                1 => {
2717                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.os_policy_id)?;
2718                },
2719                2 => {
2720                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.os_policy_assignment)?;
2721                },
2722                3 => {
2723                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.os_policy_resource_compliances)?;
2724                },
2725                _ => {
2726                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
2727                },
2728            };
2729        }
2730        ::std::result::Result::Ok(())
2731    }
2732
2733    // Compute sizes of nested messages
2734    #[allow(unused_variables)]
2735    fn compute_size(&self) -> u32 {
2736        let mut my_size = 0;
2737        if !self.os_policy_id.is_empty() {
2738            my_size += ::protobuf::rt::string_size(1, &self.os_policy_id);
2739        }
2740        if !self.os_policy_assignment.is_empty() {
2741            my_size += ::protobuf::rt::string_size(2, &self.os_policy_assignment);
2742        }
2743        for value in &self.os_policy_resource_compliances {
2744            let len = value.compute_size();
2745            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
2746        };
2747        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
2748        self.cached_size.set(my_size);
2749        my_size
2750    }
2751
2752    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
2753        if !self.os_policy_id.is_empty() {
2754            os.write_string(1, &self.os_policy_id)?;
2755        }
2756        if !self.os_policy_assignment.is_empty() {
2757            os.write_string(2, &self.os_policy_assignment)?;
2758        }
2759        for v in &self.os_policy_resource_compliances {
2760            os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)?;
2761            os.write_raw_varint32(v.get_cached_size())?;
2762            v.write_to_with_cached_sizes(os)?;
2763        };
2764        os.write_unknown_fields(self.get_unknown_fields())?;
2765        ::std::result::Result::Ok(())
2766    }
2767
2768    fn get_cached_size(&self) -> u32 {
2769        self.cached_size.get()
2770    }
2771
2772    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
2773        &self.unknown_fields
2774    }
2775
2776    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
2777        &mut self.unknown_fields
2778    }
2779
2780    fn as_any(&self) -> &dyn (::std::any::Any) {
2781        self as &dyn (::std::any::Any)
2782    }
2783    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
2784        self as &mut dyn (::std::any::Any)
2785    }
2786    fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
2787        self
2788    }
2789
2790    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
2791        Self::descriptor_static()
2792    }
2793
2794    fn new() -> ApplyConfigTaskOutput_OSPolicyResult {
2795        ApplyConfigTaskOutput_OSPolicyResult::new()
2796    }
2797
2798    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
2799        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::LazyV2::INIT;
2800        descriptor.get(|| {
2801            let mut fields = ::std::vec::Vec::new();
2802            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
2803                "os_policy_id",
2804                |m: &ApplyConfigTaskOutput_OSPolicyResult| { &m.os_policy_id },
2805                |m: &mut ApplyConfigTaskOutput_OSPolicyResult| { &mut m.os_policy_id },
2806            ));
2807            fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
2808                "os_policy_assignment",
2809                |m: &ApplyConfigTaskOutput_OSPolicyResult| { &m.os_policy_assignment },
2810                |m: &mut ApplyConfigTaskOutput_OSPolicyResult| { &mut m.os_policy_assignment },
2811            ));
2812            fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::config_common::OSPolicyResourceCompliance>>(
2813                "os_policy_resource_compliances",
2814                |m: &ApplyConfigTaskOutput_OSPolicyResult| { &m.os_policy_resource_compliances },
2815                |m: &mut ApplyConfigTaskOutput_OSPolicyResult| { &mut m.os_policy_resource_compliances },
2816            ));
2817            ::protobuf::reflect::MessageDescriptor::new_pb_name::<ApplyConfigTaskOutput_OSPolicyResult>(
2818                "ApplyConfigTaskOutput.OSPolicyResult",
2819                fields,
2820                file_descriptor_proto()
2821            )
2822        })
2823    }
2824
2825    fn default_instance() -> &'static ApplyConfigTaskOutput_OSPolicyResult {
2826        static instance: ::protobuf::rt::LazyV2<ApplyConfigTaskOutput_OSPolicyResult> = ::protobuf::rt::LazyV2::INIT;
2827        instance.get(ApplyConfigTaskOutput_OSPolicyResult::new)
2828    }
2829}
2830
2831impl ::protobuf::Clear for ApplyConfigTaskOutput_OSPolicyResult {
2832    fn clear(&mut self) {
2833        self.os_policy_id.clear();
2834        self.os_policy_assignment.clear();
2835        self.os_policy_resource_compliances.clear();
2836        self.unknown_fields.clear();
2837    }
2838}
2839
2840impl ::std::fmt::Debug for ApplyConfigTaskOutput_OSPolicyResult {
2841    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2842        ::protobuf::text_format::fmt(self, f)
2843    }
2844}
2845
2846impl ::protobuf::reflect::ProtobufValue for ApplyConfigTaskOutput_OSPolicyResult {
2847    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2848        ::protobuf::reflect::ReflectValueRef::Message(self)
2849    }
2850}
2851
2852#[derive(Clone,PartialEq,Eq,Debug,Hash)]
2853pub enum ApplyConfigTaskOutput_State {
2854    STATE_UNSPECIFIED = 0,
2855    SUCCEEDED = 1,
2856    FAILED = 2,
2857    CANCELLED = 3,
2858}
2859
2860impl ::protobuf::ProtobufEnum for ApplyConfigTaskOutput_State {
2861    fn value(&self) -> i32 {
2862        *self as i32
2863    }
2864
2865    fn from_i32(value: i32) -> ::std::option::Option<ApplyConfigTaskOutput_State> {
2866        match value {
2867            0 => ::std::option::Option::Some(ApplyConfigTaskOutput_State::STATE_UNSPECIFIED),
2868            1 => ::std::option::Option::Some(ApplyConfigTaskOutput_State::SUCCEEDED),
2869            2 => ::std::option::Option::Some(ApplyConfigTaskOutput_State::FAILED),
2870            3 => ::std::option::Option::Some(ApplyConfigTaskOutput_State::CANCELLED),
2871            _ => ::std::option::Option::None
2872        }
2873    }
2874
2875    fn values() -> &'static [Self] {
2876        static values: &'static [ApplyConfigTaskOutput_State] = &[
2877            ApplyConfigTaskOutput_State::STATE_UNSPECIFIED,
2878            ApplyConfigTaskOutput_State::SUCCEEDED,
2879            ApplyConfigTaskOutput_State::FAILED,
2880            ApplyConfigTaskOutput_State::CANCELLED,
2881        ];
2882        values
2883    }
2884
2885    fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
2886        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
2887        descriptor.get(|| {
2888            ::protobuf::reflect::EnumDescriptor::new_pb_name::<ApplyConfigTaskOutput_State>("ApplyConfigTaskOutput.State", file_descriptor_proto())
2889        })
2890    }
2891}
2892
2893impl ::std::marker::Copy for ApplyConfigTaskOutput_State {
2894}
2895
2896impl ::std::default::Default for ApplyConfigTaskOutput_State {
2897    fn default() -> Self {
2898        ApplyConfigTaskOutput_State::STATE_UNSPECIFIED
2899    }
2900}
2901
2902impl ::protobuf::reflect::ProtobufValue for ApplyConfigTaskOutput_State {
2903    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2904        ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
2905    }
2906}
2907
2908#[derive(Clone,PartialEq,Eq,Debug,Hash)]
2909pub enum TaskDirective {
2910    TASK_DIRECTIVE_UNSPECIFIED = 0,
2911    CONTINUE = 1,
2912    STOP = 2,
2913}
2914
2915impl ::protobuf::ProtobufEnum for TaskDirective {
2916    fn value(&self) -> i32 {
2917        *self as i32
2918    }
2919
2920    fn from_i32(value: i32) -> ::std::option::Option<TaskDirective> {
2921        match value {
2922            0 => ::std::option::Option::Some(TaskDirective::TASK_DIRECTIVE_UNSPECIFIED),
2923            1 => ::std::option::Option::Some(TaskDirective::CONTINUE),
2924            2 => ::std::option::Option::Some(TaskDirective::STOP),
2925            _ => ::std::option::Option::None
2926        }
2927    }
2928
2929    fn values() -> &'static [Self] {
2930        static values: &'static [TaskDirective] = &[
2931            TaskDirective::TASK_DIRECTIVE_UNSPECIFIED,
2932            TaskDirective::CONTINUE,
2933            TaskDirective::STOP,
2934        ];
2935        values
2936    }
2937
2938    fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
2939        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
2940        descriptor.get(|| {
2941            ::protobuf::reflect::EnumDescriptor::new_pb_name::<TaskDirective>("TaskDirective", file_descriptor_proto())
2942        })
2943    }
2944}
2945
2946impl ::std::marker::Copy for TaskDirective {
2947}
2948
2949impl ::std::default::Default for TaskDirective {
2950    fn default() -> Self {
2951        TaskDirective::TASK_DIRECTIVE_UNSPECIFIED
2952    }
2953}
2954
2955impl ::protobuf::reflect::ProtobufValue for TaskDirective {
2956    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
2957        ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
2958    }
2959}
2960
2961#[derive(Clone,PartialEq,Eq,Debug,Hash)]
2962pub enum TaskType {
2963    TASK_TYPE_UNSPECIFIED = 0,
2964    APPLY_PATCHES = 1,
2965    EXEC_STEP_TASK = 2,
2966    APPLY_CONFIG_TASK = 3,
2967}
2968
2969impl ::protobuf::ProtobufEnum for TaskType {
2970    fn value(&self) -> i32 {
2971        *self as i32
2972    }
2973
2974    fn from_i32(value: i32) -> ::std::option::Option<TaskType> {
2975        match value {
2976            0 => ::std::option::Option::Some(TaskType::TASK_TYPE_UNSPECIFIED),
2977            1 => ::std::option::Option::Some(TaskType::APPLY_PATCHES),
2978            2 => ::std::option::Option::Some(TaskType::EXEC_STEP_TASK),
2979            3 => ::std::option::Option::Some(TaskType::APPLY_CONFIG_TASK),
2980            _ => ::std::option::Option::None
2981        }
2982    }
2983
2984    fn values() -> &'static [Self] {
2985        static values: &'static [TaskType] = &[
2986            TaskType::TASK_TYPE_UNSPECIFIED,
2987            TaskType::APPLY_PATCHES,
2988            TaskType::EXEC_STEP_TASK,
2989            TaskType::APPLY_CONFIG_TASK,
2990        ];
2991        values
2992    }
2993
2994    fn enum_descriptor_static() -> &'static ::protobuf::reflect::EnumDescriptor {
2995        static descriptor: ::protobuf::rt::LazyV2<::protobuf::reflect::EnumDescriptor> = ::protobuf::rt::LazyV2::INIT;
2996        descriptor.get(|| {
2997            ::protobuf::reflect::EnumDescriptor::new_pb_name::<TaskType>("TaskType", file_descriptor_proto())
2998        })
2999    }
3000}
3001
3002impl ::std::marker::Copy for TaskType {
3003}
3004
3005impl ::std::default::Default for TaskType {
3006    fn default() -> Self {
3007        TaskType::TASK_TYPE_UNSPECIFIED
3008    }
3009}
3010
3011impl ::protobuf::reflect::ProtobufValue for TaskType {
3012    fn as_ref(&self) -> ::protobuf::reflect::ReflectValueRef {
3013        ::protobuf::reflect::ReflectValueRef::Enum(::protobuf::ProtobufEnum::descriptor(self))
3014    }
3015}
3016
3017static file_descriptor_proto_data: &'static [u8] = b"\
3018    \n2google/cloud/osconfig/agentendpoint/v1/tasks.proto\x12&google.cloud.o\
3019    sconfig.agentendpoint.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19g\
3020    oogle/api/resource.proto\x1a:google/cloud/osconfig/agentendpoint/v1/conf\
3021    ig_common.proto\x1a6google/cloud/osconfig/agentendpoint/v1/os_policy.pro\
3022    to\x1a7google/cloud/osconfig/agentendpoint/v1/patch_jobs.proto\"\xb5\x05\
3023    \n\x04Task\x12\x17\n\x07task_id\x18\x01\x20\x01(\tR\x06taskId\x12M\n\tta\
3024    sk_type\x18\x02\x20\x01(\x0e20.google.cloud.osconfig.agentendpoint.v1.Ta\
3025    skTypeR\x08taskType\x12\\\n\x0etask_directive\x18\x03\x20\x01(\x0e25.goo\
3026    gle.cloud.osconfig.agentendpoint.v1.TaskDirectiveR\rtaskDirective\x12h\n\
3027    \x12apply_patches_task\x18\x04\x20\x01(\x0b28.google.cloud.osconfig.agen\
3028    tendpoint.v1.ApplyPatchesTaskH\0R\x10applyPatchesTask\x12\\\n\x0eexec_st\
3029    ep_task\x18\x05\x20\x01(\x0b24.google.cloud.osconfig.agentendpoint.v1.Ex\
3030    ecStepTaskH\0R\x0cexecStepTask\x12e\n\x11apply_config_task\x18\x07\x20\
3031    \x01(\x0b27.google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskH\0R\
3032    \x0fapplyConfigTask\x12f\n\x0eservice_labels\x18\x06\x20\x03(\x0b2?.goog\
3033    le.cloud.osconfig.agentendpoint.v1.Task.ServiceLabelsEntryR\rserviceLabe\
3034    ls\x1a@\n\x12ServiceLabelsEntry\x12\x10\n\x03key\x18\x01\x20\x01(\tR\x03\
3035    key\x12\x14\n\x05value\x18\x02\x20\x01(\tR\x05value:\x028\x01B\x0e\n\x0c\
3036    task_details\"\x83\x01\n\x10ApplyPatchesTask\x12V\n\x0cpatch_config\x18\
3037    \x01\x20\x01(\x0b23.google.cloud.osconfig.agentendpoint.v1.PatchConfigR\
3038    \x0bpatchConfig\x12\x17\n\x07dry_run\x18\x03\x20\x01(\x08R\x06dryRun\"\
3039    \xe8\x01\n\x18ApplyPatchesTaskProgress\x12a\n\x05state\x18\x01\x20\x01(\
3040    \x0e2F.google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskProgress.S\
3041    tateR\x05stateB\x03\xe0A\x02\"i\n\x05State\x12\x15\n\x11STATE_UNSPECIFIE\
3042    D\x10\0\x12\x0b\n\x07STARTED\x10\x04\x12\x17\n\x13DOWNLOADING_PATCHES\
3043    \x10\x01\x12\x14\n\x10APPLYING_PATCHES\x10\x02\x12\r\n\tREBOOTING\x10\
3044    \x03\"\xd3\x01\n\x16ApplyPatchesTaskOutput\x12_\n\x05state\x18\x01\x20\
3045    \x01(\x0e2D.google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskOutpu\
3046    t.StateR\x05stateB\x03\xe0A\x02\"X\n\x05State\x12\x15\n\x11STATE_UNSPECI\
3047    FIED\x10\0\x12\r\n\tSUCCEEDED\x10\x01\x12\x1d\n\x19SUCCEEDED_REBOOT_REQU\
3048    IRED\x10\x02\x12\n\n\x06FAILED\x10\x03\"]\n\x0cExecStepTask\x12M\n\texec\
3049    _step\x18\x01\x20\x01(\x0b20.google.cloud.osconfig.agentendpoint.v1.Exec\
3050    StepR\x08execStep\"\xa2\x01\n\x14ExecStepTaskProgress\x12]\n\x05state\
3051    \x18\x01\x20\x01(\x0e2B.google.cloud.osconfig.agentendpoint.v1.ExecStepT\
3052    askProgress.StateR\x05stateB\x03\xe0A\x02\"+\n\x05State\x12\x15\n\x11STA\
3053    TE_UNSPECIFIED\x10\0\x12\x0b\n\x07STARTED\x10\x01\"\xe0\x01\n\x12ExecSte\
3054    pTaskOutput\x12[\n\x05state\x18\x01\x20\x01(\x0e2@.google.cloud.osconfig\
3055    .agentendpoint.v1.ExecStepTaskOutput.StateR\x05stateB\x03\xe0A\x02\x12\
3056    \x20\n\texit_code\x18\x02\x20\x01(\x05R\x08exitCodeB\x03\xe0A\x02\"K\n\
3057    \x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\0\x12\r\n\tCOMPLETED\x10\
3058    \x01\x12\r\n\tTIMED_OUT\x10\x02\x12\r\n\tCANCELLED\x10\x03\"\x98\x03\n\
3059    \x0fApplyConfigTask\x12a\n\x0bos_policies\x18\x01\x20\x03(\x0b2@.google.\
3060    cloud.osconfig.agentendpoint.v1.ApplyConfigTask.OSPolicyR\nosPolicies\
3061    \x1a\xa1\x02\n\x08OSPolicy\x12\x0e\n\x02id\x18\x01\x20\x01(\tR\x02id\x12\
3062    I\n\x04mode\x18\x02\x20\x01(\x0e25.google.cloud.osconfig.agentendpoint.v\
3063    1.OSPolicy.ModeR\x04mode\x12a\n\x14os_policy_assignment\x18\x03\x20\x01(\
3064    \tR\x12osPolicyAssignmentB/\xfaA,\n*osconfig.googleapis.com/OSPolicyAssi\
3065    gnment\x12W\n\tresources\x18\x04\x20\x03(\x0b29.google.cloud.osconfig.ag\
3066    entendpoint.v1.OSPolicy.ResourceR\tresources\"\xb8\x01\n\x17ApplyConfigT\
3067    askProgress\x12[\n\x05state\x18\x01\x20\x01(\x0e2E.google.cloud.osconfig\
3068    .agentendpoint.v1.ApplyConfigTaskProgress.StateR\x05state\"@\n\x05State\
3069    \x12\x15\n\x11STATE_UNSPECIFIED\x10\0\x12\x0b\n\x07STARTED\x10\x01\x12\
3070    \x13\n\x0fAPPLYING_CONFIG\x10\x02\"\xdd\x04\n\x15ApplyConfigTaskOutput\
3071    \x12^\n\x05state\x18\x01\x20\x01(\x0e2C.google.cloud.osconfig.agentendpo\
3072    int.v1.ApplyConfigTaskOutput.StateR\x05stateB\x03\xe0A\x02\x12x\n\x11os_\
3073    policy_results\x18\x02\x20\x03(\x0b2L.google.cloud.osconfig.agentendpoin\
3074    t.v1.ApplyConfigTaskOutput.OSPolicyResultR\x0fosPolicyResults\x1a\x9f\
3075    \x02\n\x0eOSPolicyResult\x12\x20\n\x0cos_policy_id\x18\x01\x20\x01(\tR\n\
3076    osPolicyId\x12a\n\x14os_policy_assignment\x18\x02\x20\x01(\tR\x12osPolic\
3077    yAssignmentB/\xfaA,\n*osconfig.googleapis.com/OSPolicyAssignment\x12\x87\
3078    \x01\n\x1eos_policy_resource_compliances\x18\x03\x20\x03(\x0b2B.google.c\
3079    loud.osconfig.agentendpoint.v1.OSPolicyResourceComplianceR\x1bosPolicyRe\
3080    sourceCompliances\"H\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\0\x12\
3081    \r\n\tSUCCEEDED\x10\x01\x12\n\n\x06FAILED\x10\x02\x12\r\n\tCANCELLED\x10\
3082    \x03*G\n\rTaskDirective\x12\x1e\n\x1aTASK_DIRECTIVE_UNSPECIFIED\x10\0\
3083    \x12\x0c\n\x08CONTINUE\x10\x01\x12\x08\n\x04STOP\x10\x02*c\n\x08TaskType\
3084    \x12\x19\n\x15TASK_TYPE_UNSPECIFIED\x10\0\x12\x11\n\rAPPLY_PATCHES\x10\
3085    \x01\x12\x12\n\x0eEXEC_STEP_TASK\x10\x02\x12\x15\n\x11APPLY_CONFIG_TASK\
3086    \x10\x03B\x8b\x02\n*com.google.cloud.osconfig.agentendpoint.v1B\x05Tasks\
3087    P\x01ZPcloud.google.com/go/osconfig/agentendpoint/apiv1/agentendpointpb;\
3088    agentendpointpb\xeaA\x80\x01\n*osconfig.googleapis.com/OSPolicyAssignmen\
3089    t\x12Rprojects/{project}/locations/{location}/osPolicyAssignments/{os_po\
3090    licy_assignment}J\xe7F\n\x07\x12\x05\x0e\0\x9d\x02\x01\n\xbc\x04\n\x01\
3091    \x0c\x12\x03\x0e\0\x122\xb1\x04\x20Copyright\x202020\x20Google\x20LLC\n\
3092    \n\x20Licensed\x20under\x20the\x20Apache\x20License,\x20Version\x202.0\
3093    \x20(the\x20\"License\");\n\x20you\x20may\x20not\x20use\x20this\x20file\
3094    \x20except\x20in\x20compliance\x20with\x20the\x20License.\n\x20You\x20ma\
3095    y\x20obtain\x20a\x20copy\x20of\x20the\x20License\x20at\n\n\x20\x20\x20\
3096    \x20\x20http://www.apache.org/licenses/LICENSE-2.0\n\n\x20Unless\x20requ\
3097    ired\x20by\x20applicable\x20law\x20or\x20agreed\x20to\x20in\x20writing,\
3098    \x20software\n\x20distributed\x20under\x20the\x20License\x20is\x20distri\
3099    buted\x20on\x20an\x20\"AS\x20IS\"\x20BASIS,\n\x20WITHOUT\x20WARRANTIES\
3100    \x20OR\x20CONDITIONS\x20OF\x20ANY\x20KIND,\x20either\x20express\x20or\
3101    \x20implied.\n\x20See\x20the\x20License\x20for\x20the\x20specific\x20lan\
3102    guage\x20governing\x20permissions\x20and\n\x20limitations\x20under\x20th\
3103    e\x20License.\n\n\x08\n\x01\x02\x12\x03\x10\0/\n\t\n\x02\x03\0\x12\x03\
3104    \x12\0)\n\t\n\x02\x03\x01\x12\x03\x13\0#\n\t\n\x02\x03\x02\x12\x03\x14\0\
3105    D\n\t\n\x02\x03\x03\x12\x03\x15\0@\n\t\n\x02\x03\x04\x12\x03\x16\0A\n\
3106    \x08\n\x01\x08\x12\x03\x18\0g\n\t\n\x02\x08\x0b\x12\x03\x18\0g\n\x08\n\
3107    \x01\x08\x12\x03\x19\0\"\n\t\n\x02\x08\n\x12\x03\x19\0\"\n\x08\n\x01\x08\
3108    \x12\x03\x1a\0&\n\t\n\x02\x08\x08\x12\x03\x1a\0&\n\x08\n\x01\x08\x12\x03\
3109    \x1b\0C\n\t\n\x02\x08\x01\x12\x03\x1b\0C\n\t\n\x01\x08\x12\x04\x1c\0\x1f\
3110    \x02\n\x0c\n\x04\x08\x9d\x08\0\x12\x04\x1c\0\x1f\x02\n3\n\x02\x05\0\x12\
3111    \x04\"\0-\x01\x1a'\x20Specifies\x20the\x20current\x20agent\x20behavior.\
3112    \n\n\n\n\x03\x05\0\x01\x12\x03\"\x05\x12\n&\n\x04\x05\0\x02\0\x12\x03$\
3113    \x02!\x1a\x19\x20Unspecified\x20is\x20invalid.\n\n\x0c\n\x05\x05\0\x02\0\
3114    \x01\x12\x03$\x02\x1c\n\x0c\n\x05\x05\0\x02\0\x02\x12\x03$\x1f\x20\n4\n\
3115    \x04\x05\0\x02\x01\x12\x03'\x02\x0f\x1a'\x20The\x20task\x20should\x20con\
3116    tinue\x20to\x20progress.\n\n\x0c\n\x05\x05\0\x02\x01\x01\x12\x03'\x02\n\
3117    \n\x0c\n\x05\x05\0\x02\x01\x02\x12\x03'\r\x0e\n\xa9\x01\n\x04\x05\0\x02\
3118    \x02\x12\x03,\x02\x0b\x1a\x9b\x01\x20Task\x20should\x20not\x20be\x20star\
3119    ted,\x20or\x20if\x20already\x20in\x20progress,\x20should\x20stop\n\x20at\
3120    \x20first\x20safe\x20stopping\x20point.\x20\x20Task\x20should\x20be\x20c\
3121    onsidered\x20done\x20and\x20will\n\x20never\x20repeat.\n\n\x0c\n\x05\x05\
3122    \0\x02\x02\x01\x12\x03,\x02\x06\n\x0c\n\x05\x05\0\x02\x02\x02\x12\x03,\t\
3123    \n\n4\n\x02\x05\x01\x12\x040\0<\x01\x1a(\x20Specifies\x20the\x20type\x20\
3124    of\x20task\x20to\x20perform.\n\n\n\n\x03\x05\x01\x01\x12\x030\x05\r\n&\n\
3125    \x04\x05\x01\x02\0\x12\x032\x02\x1c\x1a\x19\x20Unspecified\x20is\x20inva\
3126    lid.\n\n\x0c\n\x05\x05\x01\x02\0\x01\x12\x032\x02\x17\n\x0c\n\x05\x05\
3127    \x01\x02\0\x02\x12\x032\x1a\x1b\n&\n\x04\x05\x01\x02\x01\x12\x035\x02\
3128    \x14\x1a\x19\x20The\x20apply\x20patches\x20task.\n\n\x0c\n\x05\x05\x01\
3129    \x02\x01\x01\x12\x035\x02\x0f\n\x0c\n\x05\x05\x01\x02\x01\x02\x12\x035\
3130    \x12\x13\n\"\n\x04\x05\x01\x02\x02\x12\x038\x02\x15\x1a\x15\x20The\x20ex\
3131    ec\x20step\x20task.\n\n\x0c\n\x05\x05\x01\x02\x02\x01\x12\x038\x02\x10\n\
3132    \x0c\n\x05\x05\x01\x02\x02\x02\x12\x038\x13\x14\n$\n\x04\x05\x01\x02\x03\
3133    \x12\x03;\x02\x18\x1a\x17\x20The\x20apply\x20config\x20task\n\n\x0c\n\
3134    \x05\x05\x01\x02\x03\x01\x12\x03;\x02\x13\n\x0c\n\x05\x05\x01\x02\x03\
3135    \x02\x12\x03;\x16\x17\n:\n\x02\x04\0\x12\x04?\0]\x01\x1a.\x20A\x20unit\
3136    \x20of\x20work\x20to\x20be\x20performed\x20by\x20the\x20agent.\n\n\n\n\
3137    \x03\x04\0\x01\x12\x03?\x08\x0c\n\x1e\n\x04\x04\0\x02\0\x12\x03A\x02\x15\
3138    \x1a\x11\x20Unique\x20task\x20id.\n\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03A\
3139    \x02\x08\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03A\t\x10\n\x0c\n\x05\x04\0\
3140    \x02\0\x03\x12\x03A\x13\x14\n\xe9\x01\n\x04\x04\0\x02\x01\x12\x03J\x02\
3141    \x19\x1a\xdb\x01\x20The\x20type\x20of\x20task\x20to\x20perform.\n\n\x20T\
3142    ask\x20details\x20must\x20include\x20the\x20appropriate\x20message\x20ba\
3143    sed\x20on\x20this\x20enum\x20as\n\x20specified\x20below:\n\x20APPLY_PATC\
3144    HES\x20=\x20ApplyPatchesTask\n\x20EXEC_STEP\x20=\x20ExecStepTask\n\x20AP\
3145    PLY_CONFIG_TASK\x20=\x20ApplyConfigTask\n\n\x0c\n\x05\x04\0\x02\x01\x06\
3146    \x12\x03J\x02\n\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03J\x0b\x14\n\x0c\n\
3147    \x05\x04\0\x02\x01\x03\x12\x03J\x17\x18\n.\n\x04\x04\0\x02\x02\x12\x03M\
3148    \x02#\x1a!\x20Current\x20directive\x20to\x20the\x20agent.\n\n\x0c\n\x05\
3149    \x04\0\x02\x02\x06\x12\x03M\x02\x0f\n\x0c\n\x05\x04\0\x02\x02\x01\x12\
3150    \x03M\x10\x1e\n\x0c\n\x05\x04\0\x02\x02\x03\x12\x03M!\"\nC\n\x04\x04\0\
3151    \x08\0\x12\x04P\x02Y\x03\x1a5\x20Specific\x20details\x20about\x20the\x20\
3152    current\x20task\x20to\x20perform.\n\n\x0c\n\x05\x04\0\x08\0\x01\x12\x03P\
3153    \x08\x14\n?\n\x04\x04\0\x02\x03\x12\x03R\x04,\x1a2\x20Details\x20about\
3154    \x20the\x20apply\x20patches\x20task\x20to\x20perform.\n\n\x0c\n\x05\x04\
3155    \0\x02\x03\x06\x12\x03R\x04\x14\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03R\
3156    \x15'\n\x0c\n\x05\x04\0\x02\x03\x03\x12\x03R*+\n;\n\x04\x04\0\x02\x04\
3157    \x12\x03U\x04$\x1a.\x20Details\x20about\x20the\x20exec\x20step\x20task\
3158    \x20to\x20perform.\n\n\x0c\n\x05\x04\0\x02\x04\x06\x12\x03U\x04\x10\n\
3159    \x0c\n\x05\x04\0\x02\x04\x01\x12\x03U\x11\x1f\n\x0c\n\x05\x04\0\x02\x04\
3160    \x03\x12\x03U\"#\nC\n\x04\x04\0\x02\x05\x12\x03X\x04*\x1a6\x20Details\
3161    \x20about\x20the\x20apply\x20config\x20step\x20task\x20to\x20perform.\n\
3162    \n\x0c\n\x05\x04\0\x02\x05\x06\x12\x03X\x04\x13\n\x0c\n\x05\x04\0\x02\
3163    \x05\x01\x12\x03X\x14%\n\x0c\n\x05\x04\0\x02\x05\x03\x12\x03X()\nJ\n\x04\
3164    \x04\0\x02\x06\x12\x03\\\x02)\x1a=\x20Labels\x20describing\x20the\x20tas\
3165    k.\x20\x20Used\x20for\x20logging\x20by\x20the\x20agent.\n\n\x0c\n\x05\
3166    \x04\0\x02\x06\x06\x12\x03\\\x02\x15\n\x0c\n\x05\x04\0\x02\x06\x01\x12\
3167    \x03\\\x16$\n\x0c\n\x05\x04\0\x02\x06\x03\x12\x03\\'(\n=\n\x02\x04\x01\
3168    \x12\x04`\0g\x01\x1a1\x20Message\x20which\x20instructs\x20agent\x20to\
3169    \x20apply\x20patches.\n\n\n\n\x03\x04\x01\x01\x12\x03`\x08\x18\nH\n\x04\
3170    \x04\x01\x02\0\x12\x03b\x02\x1f\x1a;\x20Specific\x20information\x20about\
3171    \x20how\x20patches\x20should\x20be\x20applied.\n\n\x0c\n\x05\x04\x01\x02\
3172    \0\x06\x12\x03b\x02\r\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03b\x0e\x1a\n\
3173    \x0c\n\x05\x04\x01\x02\0\x03\x12\x03b\x1d\x1e\n\x94\x01\n\x04\x04\x01\
3174    \x02\x01\x12\x03f\x02\x13\x1a\x86\x01\x20If\x20true,\x20the\x20agent\x20\
3175    will\x20report\x20its\x20status\x20as\x20it\x20goes\x20through\x20the\
3176    \x20motions\n\x20but\x20won't\x20actually\x20run\x20any\x20updates\x20or\
3177    \x20perform\x20any\x20reboots.\n\n\x0c\n\x05\x04\x01\x02\x01\x05\x12\x03\
3178    f\x02\x06\n\x0c\n\x05\x04\x01\x02\x01\x01\x12\x03f\x07\x0e\n\x0c\n\x05\
3179    \x04\x01\x02\x01\x03\x12\x03f\x11\x12\nS\n\x02\x04\x02\x12\x04j\0\x7f\
3180    \x01\x1aG\x20Information\x20reported\x20from\x20the\x20agent\x20about\
3181    \x20applying\x20patches\x20execution.\n\n\n\n\x03\x04\x02\x01\x12\x03j\
3182    \x08\x20\n<\n\x04\x04\x02\x04\0\x12\x04l\x02{\x03\x1a.\x20The\x20interme\
3183    diate\x20states\x20of\x20applying\x20patches.\n\n\x0c\n\x05\x04\x02\x04\
3184    \0\x01\x12\x03l\x07\x0c\n(\n\x06\x04\x02\x04\0\x02\0\x12\x03n\x04\x1a\
3185    \x1a\x19\x20Unspecified\x20is\x20invalid.\n\n\x0e\n\x07\x04\x02\x04\0\
3186    \x02\0\x01\x12\x03n\x04\x15\n\x0e\n\x07\x04\x02\x04\0\x02\0\x02\x12\x03n\
3187    \x18\x19\n6\n\x06\x04\x02\x04\0\x02\x01\x12\x03q\x04\x10\x1a'\x20The\x20\
3188    agent\x20has\x20started\x20the\x20patch\x20task.\n\n\x0e\n\x07\x04\x02\
3189    \x04\0\x02\x01\x01\x12\x03q\x04\x0b\n\x0e\n\x07\x04\x02\x04\0\x02\x01\
3190    \x02\x12\x03q\x0e\x0f\n<\n\x06\x04\x02\x04\0\x02\x02\x12\x03t\x04\x1c\
3191    \x1a-\x20The\x20agent\x20is\x20currently\x20downloading\x20patches.\n\n\
3192    \x0e\n\x07\x04\x02\x04\0\x02\x02\x01\x12\x03t\x04\x17\n\x0e\n\x07\x04\
3193    \x02\x04\0\x02\x02\x02\x12\x03t\x1a\x1b\n9\n\x06\x04\x02\x04\0\x02\x03\
3194    \x12\x03w\x04\x19\x1a*\x20The\x20agent\x20is\x20currently\x20applying\
3195    \x20patches.\n\n\x0e\n\x07\x04\x02\x04\0\x02\x03\x01\x12\x03w\x04\x14\n\
3196    \x0e\n\x07\x04\x02\x04\0\x02\x03\x02\x12\x03w\x17\x18\n?\n\x06\x04\x02\
3197    \x04\0\x02\x04\x12\x03z\x04\x12\x1a0\x20The\x20agent\x20is\x20currently\
3198    \x20rebooting\x20the\x20instance.\n\n\x0e\n\x07\x04\x02\x04\0\x02\x04\
3199    \x01\x12\x03z\x04\r\n\x0e\n\x07\x04\x02\x04\0\x02\x04\x02\x12\x03z\x10\
3200    \x11\nC\n\x04\x04\x02\x02\0\x12\x03~\x02;\x1a6\x20Required.\x20The\x20cu\
3201    rrent\x20state\x20of\x20this\x20patch\x20execution.\n\n\x0c\n\x05\x04\
3202    \x02\x02\0\x06\x12\x03~\x02\x07\n\x0c\n\x05\x04\x02\x02\0\x01\x12\x03~\
3203    \x08\r\n\x0c\n\x05\x04\x02\x02\0\x03\x12\x03~\x10\x11\n\x0c\n\x05\x04\
3204    \x02\x02\0\x08\x12\x03~\x12:\n\x0f\n\x08\x04\x02\x02\0\x08\x9c\x08\0\x12\
3205    \x03~\x139\nU\n\x02\x04\x03\x12\x06\x82\x01\0\x94\x01\x01\x1aG\x20Inform\
3206    ation\x20reported\x20from\x20the\x20agent\x20about\x20applying\x20patche\
3207    s\x20execution.\n\n\x0b\n\x03\x04\x03\x01\x12\x04\x82\x01\x08\x1e\n7\n\
3208    \x04\x04\x03\x04\0\x12\x06\x84\x01\x02\x90\x01\x03\x1a'\x20The\x20final\
3209    \x20states\x20of\x20applying\x20patches.\n\n\r\n\x05\x04\x03\x04\0\x01\
3210    \x12\x04\x84\x01\x07\x0c\n)\n\x06\x04\x03\x04\0\x02\0\x12\x04\x86\x01\
3211    \x04\x1a\x1a\x19\x20Unspecified\x20is\x20invalid.\n\n\x0f\n\x07\x04\x03\
3212    \x04\0\x02\0\x01\x12\x04\x86\x01\x04\x15\n\x0f\n\x07\x04\x03\x04\0\x02\0\
3213    \x02\x12\x04\x86\x01\x18\x19\n:\n\x06\x04\x03\x04\0\x02\x01\x12\x04\x89\
3214    \x01\x04\x12\x1a*\x20Applying\x20patches\x20completed\x20successfully.\n\
3215    \n\x0f\n\x07\x04\x03\x04\0\x02\x01\x01\x12\x04\x89\x01\x04\r\n\x0f\n\x07\
3216    \x04\x03\x04\0\x02\x01\x02\x12\x04\x89\x01\x10\x11\nT\n\x06\x04\x03\x04\
3217    \0\x02\x02\x12\x04\x8c\x01\x04\"\x1aD\x20Applying\x20patches\x20complete\
3218    d\x20successfully,\x20but\x20a\x20reboot\x20is\x20required.\n\n\x0f\n\
3219    \x07\x04\x03\x04\0\x02\x02\x01\x12\x04\x8c\x01\x04\x1d\n\x0f\n\x07\x04\
3220    \x03\x04\0\x02\x02\x02\x12\x04\x8c\x01\x20!\n*\n\x06\x04\x03\x04\0\x02\
3221    \x03\x12\x04\x8f\x01\x04\x0f\x1a\x1a\x20Applying\x20patches\x20failed.\n\
3222    \n\x0f\n\x07\x04\x03\x04\0\x02\x03\x01\x12\x04\x8f\x01\x04\n\n\x0f\n\x07\
3223    \x04\x03\x04\0\x02\x03\x02\x12\x04\x8f\x01\r\x0e\n7\n\x04\x04\x03\x02\0\
3224    \x12\x04\x93\x01\x02;\x1a)\x20Required.\x20The\x20final\x20state\x20of\
3225    \x20this\x20task.\n\n\r\n\x05\x04\x03\x02\0\x06\x12\x04\x93\x01\x02\x07\
3226    \n\r\n\x05\x04\x03\x02\0\x01\x12\x04\x93\x01\x08\r\n\r\n\x05\x04\x03\x02\
3227    \0\x03\x12\x04\x93\x01\x10\x11\n\r\n\x05\x04\x03\x02\0\x08\x12\x04\x93\
3228    \x01\x12:\n\x10\n\x08\x04\x03\x02\0\x08\x9c\x08\0\x12\x04\x93\x01\x139\n\
3229    O\n\x02\x04\x04\x12\x06\x97\x01\0\x9a\x01\x01\x1aA\x20Message\x20which\
3230    \x20instructs\x20agent\x20to\x20execute\x20the\x20following\x20command.\
3231    \n\n\x0b\n\x03\x04\x04\x01\x12\x04\x97\x01\x08\x14\n0\n\x04\x04\x04\x02\
3232    \0\x12\x04\x99\x01\x02\x19\x1a\"\x20Details\x20of\x20the\x20exec\x20step\
3233    \x20to\x20run.\n\n\r\n\x05\x04\x04\x02\0\x06\x12\x04\x99\x01\x02\n\n\r\n\
3234    \x05\x04\x04\x02\0\x01\x12\x04\x99\x01\x0b\x14\n\r\n\x05\x04\x04\x02\0\
3235    \x03\x12\x04\x99\x01\x17\x18\nR\n\x02\x04\x05\x12\x06\x9d\x01\0\xa9\x01\
3236    \x01\x1aD\x20Information\x20reported\x20from\x20the\x20agent\x20about\
3237    \x20the\x20exec\x20step\x20execution.\n\n\x0b\n\x03\x04\x05\x01\x12\x04\
3238    \x9d\x01\x08\x1c\n8\n\x04\x04\x05\x04\0\x12\x06\x9f\x01\x02\xa5\x01\x03\
3239    \x1a(\x20The\x20intermediate\x20states\x20of\x20exec\x20steps.\n\n\r\n\
3240    \x05\x04\x05\x04\0\x01\x12\x04\x9f\x01\x07\x0c\n)\n\x06\x04\x05\x04\0\
3241    \x02\0\x12\x04\xa1\x01\x04\x1a\x1a\x19\x20Unspecified\x20is\x20invalid.\
3242    \n\n\x0f\n\x07\x04\x05\x04\0\x02\0\x01\x12\x04\xa1\x01\x04\x15\n\x0f\n\
3243    \x07\x04\x05\x04\0\x02\0\x02\x12\x04\xa1\x01\x18\x19\n;\n\x06\x04\x05\
3244    \x04\0\x02\x01\x12\x04\xa4\x01\x04\x10\x1a+\x20The\x20agent\x20has\x20st\
3245    arted\x20the\x20exec\x20step\x20task.\n\n\x0f\n\x07\x04\x05\x04\0\x02\
3246    \x01\x01\x12\x04\xa4\x01\x04\x0b\n\x0f\n\x07\x04\x05\x04\0\x02\x01\x02\
3247    \x12\x04\xa4\x01\x0e\x0f\n>\n\x04\x04\x05\x02\0\x12\x04\xa8\x01\x02;\x1a\
3248    0\x20Required.\x20The\x20current\x20state\x20of\x20this\x20exec\x20step.\
3249    \n\n\r\n\x05\x04\x05\x02\0\x06\x12\x04\xa8\x01\x02\x07\n\r\n\x05\x04\x05\
3250    \x02\0\x01\x12\x04\xa8\x01\x08\r\n\r\n\x05\x04\x05\x02\0\x03\x12\x04\xa8\
3251    \x01\x10\x11\n\r\n\x05\x04\x05\x02\0\x08\x12\x04\xa8\x01\x12:\n\x10\n\
3252    \x08\x04\x05\x02\0\x08\x9c\x08\0\x12\x04\xa8\x01\x139\nR\n\x02\x04\x06\
3253    \x12\x06\xac\x01\0\xc1\x01\x01\x1aD\x20Information\x20reported\x20from\
3254    \x20the\x20agent\x20about\x20the\x20exec\x20step\x20execution.\n\n\x0b\n\
3255    \x03\x04\x06\x01\x12\x04\xac\x01\x08\x1a\n1\n\x04\x04\x06\x04\0\x12\x06\
3256    \xae\x01\x02\xba\x01\x03\x1a!\x20The\x20final\x20states\x20of\x20exec\
3257    \x20steps.\n\n\r\n\x05\x04\x06\x04\0\x01\x12\x04\xae\x01\x07\x0c\n)\n\
3258    \x06\x04\x06\x04\0\x02\0\x12\x04\xb0\x01\x04\x1a\x1a\x19\x20Unspecified\
3259    \x20is\x20invalid.\n\n\x0f\n\x07\x04\x06\x04\0\x02\0\x01\x12\x04\xb0\x01\
3260    \x04\x15\n\x0f\n\x07\x04\x06\x04\0\x02\0\x02\x12\x04\xb0\x01\x18\x19\n3\
3261    \n\x06\x04\x06\x04\0\x02\x01\x12\x04\xb3\x01\x04\x12\x1a#\x20The\x20exec\
3262    \x20step\x20completed\x20normally.\n\n\x0f\n\x07\x04\x06\x04\0\x02\x01\
3263    \x01\x12\x04\xb3\x01\x04\r\n\x0f\n\x07\x04\x06\x04\0\x02\x01\x02\x12\x04\
3264    \xb3\x01\x10\x11\nH\n\x06\x04\x06\x04\0\x02\x02\x12\x04\xb6\x01\x04\x12\
3265    \x1a8\x20The\x20exec\x20step\x20was\x20terminated\x20because\x20it\x20to\
3266    ok\x20too\x20long.\n\n\x0f\n\x07\x04\x06\x04\0\x02\x02\x01\x12\x04\xb6\
3267    \x01\x04\r\n\x0f\n\x07\x04\x06\x04\0\x02\x02\x02\x12\x04\xb6\x01\x10\x11\
3268    \nE\n\x06\x04\x06\x04\0\x02\x03\x12\x04\xb9\x01\x04\x12\x1a5\x20The\x20e\
3269    xec\x20step\x20task\x20was\x20cancelled\x20before\x20it\x20started.\n\n\
3270    \x0f\n\x07\x04\x06\x04\0\x02\x03\x01\x12\x04\xb9\x01\x04\r\n\x0f\n\x07\
3271    \x04\x06\x04\0\x02\x03\x02\x12\x04\xb9\x01\x10\x11\n;\n\x04\x04\x06\x02\
3272    \0\x12\x04\xbd\x01\x02;\x1a-\x20Required.\x20The\x20final\x20state\x20of\
3273    \x20the\x20exec\x20step.\n\n\r\n\x05\x04\x06\x02\0\x06\x12\x04\xbd\x01\
3274    \x02\x07\n\r\n\x05\x04\x06\x02\0\x01\x12\x04\xbd\x01\x08\r\n\r\n\x05\x04\
3275    \x06\x02\0\x03\x12\x04\xbd\x01\x10\x11\n\r\n\x05\x04\x06\x02\0\x08\x12\
3276    \x04\xbd\x01\x12:\n\x10\n\x08\x04\x06\x02\0\x08\x9c\x08\0\x12\x04\xbd\
3277    \x01\x139\nd\n\x04\x04\x06\x02\x01\x12\x04\xc0\x01\x02?\x1aV\x20Required\
3278    .\x20The\x20exit\x20code\x20received\x20from\x20the\x20script\x20which\
3279    \x20ran\x20as\x20part\x20of\x20the\x20exec\x20step.\n\n\r\n\x05\x04\x06\
3280    \x02\x01\x05\x12\x04\xc0\x01\x02\x07\n\r\n\x05\x04\x06\x02\x01\x01\x12\
3281    \x04\xc0\x01\x08\x11\n\r\n\x05\x04\x06\x02\x01\x03\x12\x04\xc0\x01\x14\
3282    \x15\n\r\n\x05\x04\x06\x02\x01\x08\x12\x04\xc0\x01\x16>\n\x10\n\x08\x04\
3283    \x06\x02\x01\x08\x9c\x08\0\x12\x04\xc0\x01\x17=\nb\n\x02\x04\x07\x12\x06\
3284    \xc5\x01\0\xdf\x01\x01\x1aT\x20Message\x20which\x20instructs\x20OS\x20Co\
3285    nfig\x20agent\x20to\x20apply\x20the\x20desired\x20state\n\x20configurati\
3286    on.\n\n\x0b\n\x03\x04\x07\x01\x12\x04\xc5\x01\x08\x17\n4\n\x04\x04\x07\
3287    \x03\0\x12\x06\xc7\x01\x02\xdb\x01\x03\x1a$\x20Message\x20representing\
3288    \x20an\x20OS\x20policy.\n\n\r\n\x05\x04\x07\x03\0\x01\x12\x04\xc7\x01\n\
3289    \x12\nX\n\x06\x04\x07\x03\0\x02\0\x12\x04\xca\x01\x04\x12\x1aH\x20User\
3290    \x20provided\x20policy\x20id.\n\x20Used\x20for\x20reporting\x20and\x20lo\
3291    gging\x20by\x20the\x20agent.\n\n\x0f\n\x07\x04\x07\x03\0\x02\0\x05\x12\
3292    \x04\xca\x01\x04\n\n\x0f\n\x07\x04\x07\x03\0\x02\0\x01\x12\x04\xca\x01\
3293    \x0b\r\n\x0f\n\x07\x04\x07\x03\0\x02\0\x03\x12\x04\xca\x01\x10\x11\n!\n\
3294    \x06\x04\x07\x03\0\x02\x01\x12\x04\xcd\x01\x04C\x1a\x11\x20The\x20policy\
3295    \x20mode\n\n\x0f\n\x07\x04\x07\x03\0\x02\x01\x06\x12\x04\xcd\x01\x049\n\
3296    \x0f\n\x07\x04\x07\x03\0\x02\x01\x01\x12\x04\xcd\x01:>\n\x0f\n\x07\x04\
3297    \x07\x03\0\x02\x01\x03\x12\x04\xcd\x01AB\n\x8a\x02\n\x06\x04\x07\x03\0\
3298    \x02\x02\x12\x06\xd4\x01\x04\xd6\x01(\x1a\xf7\x01\x20Reference\x20to\x20\
3299    the\x20`OSPolicyAssignment`\x20API\x20resource\x20that\x20this\x20`OSPol\
3300    icy`\n\x20belongs\x20to.\n\x20Format:\n\x20projects/{project_number}/loc\
3301    ations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_\
3302    id}\n\x20Used\x20for\x20reporting\x20and\x20logging\x20by\x20the\x20agen\
3303    t.\n\n\x0f\n\x07\x04\x07\x03\0\x02\x02\x05\x12\x04\xd4\x01\x04\n\n\x0f\n\
3304    \x07\x04\x07\x03\0\x02\x02\x01\x12\x04\xd4\x01\x0b\x1f\n\x0f\n\x07\x04\
3305    \x07\x03\0\x02\x02\x03\x12\x04\xd4\x01\"#\n\x11\n\x07\x04\x07\x03\0\x02\
3306    \x02\x08\x12\x06\xd4\x01$\xd6\x01'\n\x13\n\t\x04\x07\x03\0\x02\x02\x08\
3307    \x9f\x08\x12\x06\xd4\x01%\xd6\x01&\na\n\x06\x04\x07\x03\0\x02\x03\x12\
3308    \x04\xda\x01\x04U\x1aQ\x20List\x20of\x20resources\x20associated\x20with\
3309    \x20the\x20policy\x20to\x20be\x20set\x20to\x20their\n\x20desired\x20stat\
3310    e.\n\n\x0f\n\x07\x04\x07\x03\0\x02\x03\x04\x12\x04\xda\x01\x04\x0c\n\x0f\
3311    \n\x07\x04\x07\x03\0\x02\x03\x06\x12\x04\xda\x01\rF\n\x0f\n\x07\x04\x07\
3312    \x03\0\x02\x03\x01\x12\x04\xda\x01GP\n\x0f\n\x07\x04\x07\x03\0\x02\x03\
3313    \x03\x12\x04\xda\x01ST\nC\n\x04\x04\x07\x02\0\x12\x04\xde\x01\x02$\x1a5\
3314    \x20List\x20of\x20os\x20policies\x20to\x20be\x20applied\x20for\x20the\
3315    \x20instance.\n\n\r\n\x05\x04\x07\x02\0\x04\x12\x04\xde\x01\x02\n\n\r\n\
3316    \x05\x04\x07\x02\0\x06\x12\x04\xde\x01\x0b\x13\n\r\n\x05\x04\x07\x02\0\
3317    \x01\x12\x04\xde\x01\x14\x1f\n\r\n\x05\x04\x07\x02\0\x03\x12\x04\xde\x01\
3318    \"#\n\x80\x01\n\x02\x04\x08\x12\x06\xe3\x01\0\xf2\x01\x01\x1ar\x20Inform\
3319    ation\x20reported\x20from\x20the\x20agent\x20regarding\x20the\x20progres\
3320    s\x20of\x20the\x20task\x20of\n\x20applying\x20desired\x20state\x20config\
3321    uration.\n\n\x0b\n\x03\x04\x08\x01\x12\x04\xe3\x01\x08\x1f\n?\n\x04\x04\
3322    \x08\x04\0\x12\x06\xe5\x01\x02\xee\x01\x03\x1a/\x20The\x20intermediate\
3323    \x20states\x20of\x20apply\x20config\x20task.\n\n\r\n\x05\x04\x08\x04\0\
3324    \x01\x12\x04\xe5\x01\x07\x0c\n\x1f\n\x06\x04\x08\x04\0\x02\0\x12\x04\xe7\
3325    \x01\x04\x1a\x1a\x0f\x20Invalid\x20state\n\n\x0f\n\x07\x04\x08\x04\0\x02\
3326    \0\x01\x12\x04\xe7\x01\x04\x15\n\x0f\n\x07\x04\x08\x04\0\x02\0\x02\x12\
3327    \x04\xe7\x01\x18\x19\n1\n\x06\x04\x08\x04\0\x02\x01\x12\x04\xea\x01\x04\
3328    \x10\x1a!\x20The\x20agent\x20has\x20started\x20the\x20task.\n\n\x0f\n\
3329    \x07\x04\x08\x04\0\x02\x01\x01\x12\x04\xea\x01\x04\x0b\n\x0f\n\x07\x04\
3330    \x08\x04\0\x02\x01\x02\x12\x04\xea\x01\x0e\x0f\nL\n\x06\x04\x08\x04\0\
3331    \x02\x02\x12\x04\xed\x01\x04\x18\x1a<\x20The\x20agent\x20is\x20in\x20the\
3332    \x20process\x20of\x20applying\x20the\x20configuration.\n\n\x0f\n\x07\x04\
3333    \x08\x04\0\x02\x02\x01\x12\x04\xed\x01\x04\x13\n\x0f\n\x07\x04\x08\x04\0\
3334    \x02\x02\x02\x12\x04\xed\x01\x16\x17\n/\n\x04\x04\x08\x02\0\x12\x04\xf1\
3335    \x01\x02\x12\x1a!\x20The\x20current\x20state\x20of\x20this\x20task.\n\n\
3336    \r\n\x05\x04\x08\x02\0\x06\x12\x04\xf1\x01\x02\x07\n\r\n\x05\x04\x08\x02\
3337    \0\x01\x12\x04\xf1\x01\x08\r\n\r\n\x05\x04\x08\x02\0\x03\x12\x04\xf1\x01\
3338    \x10\x11\n~\n\x02\x04\t\x12\x06\xf6\x01\0\x9d\x02\x01\x1ap\x20Informatio\
3339    n\x20reported\x20from\x20the\x20agent\x20regarding\x20the\x20output\x20o\
3340    f\x20the\x20task\x20of\n\x20applying\x20desired\x20state\x20configuratio\
3341    n.\n\n\x0b\n\x03\x04\t\x01\x12\x04\xf6\x01\x08\x1d\nK\n\x04\x04\t\x03\0\
3342    \x12\x06\xf8\x01\x02\x87\x02\x03\x1a;\x20Result\x20of\x20applying\x20des\
3343    ired\x20state\x20config\x20for\x20an\x20OS\x20policy.\n\n\r\n\x05\x04\t\
3344    \x03\0\x01\x12\x04\xf8\x01\n\x18\n\"\n\x06\x04\t\x03\0\x02\0\x12\x04\xfa\
3345    \x01\x04\x1c\x1a\x12\x20The\x20OS\x20policy\x20id\n\n\x0f\n\x07\x04\t\
3346    \x03\0\x02\0\x05\x12\x04\xfa\x01\x04\n\n\x0f\n\x07\x04\t\x03\0\x02\0\x01\
3347    \x12\x04\xfa\x01\x0b\x17\n\x0f\n\x07\x04\t\x03\0\x02\0\x03\x12\x04\xfa\
3348    \x01\x1a\x1b\n\x8a\x02\n\x06\x04\t\x03\0\x02\x01\x12\x06\x81\x02\x04\x83\
3349    \x02(\x1a\xf7\x01\x20Reference\x20to\x20the\x20`OSPolicyAssignment`\x20A\
3350    PI\x20resource\x20that\x20this\x20`OSPolicy`\n\x20belongs\x20to.\n\x20Fo\
3351    rmat:\n\x20projects/{project_number}/locations/{location}/osPolicyAssign\
3352    ments/{os_policy_assignment_id@revision_id}\n\x20Used\x20for\x20reportin\
3353    g\x20and\x20logging\x20by\x20the\x20agent.\n\n\x0f\n\x07\x04\t\x03\0\x02\
3354    \x01\x05\x12\x04\x81\x02\x04\n\n\x0f\n\x07\x04\t\x03\0\x02\x01\x01\x12\
3355    \x04\x81\x02\x0b\x1f\n\x0f\n\x07\x04\t\x03\0\x02\x01\x03\x12\x04\x81\x02\
3356    \"#\n\x11\n\x07\x04\t\x03\0\x02\x01\x08\x12\x06\x81\x02$\x83\x02'\n\x13\
3357    \n\t\x04\t\x03\0\x02\x01\x08\x9f\x08\x12\x06\x81\x02%\x83\x02&\nW\n\x06\
3358    \x04\t\x03\0\x02\x02\x12\x04\x86\x02\x04K\x1aG\x20Results\x20of\x20apply\
3359    ing\x20desired\x20state\x20config\x20for\x20the\x20OS\x20policy\x20resou\
3360    rces.\n\n\x0f\n\x07\x04\t\x03\0\x02\x02\x04\x12\x04\x86\x02\x04\x0c\n\
3361    \x0f\n\x07\x04\t\x03\0\x02\x02\x06\x12\x04\x86\x02\r'\n\x0f\n\x07\x04\t\
3362    \x03\0\x02\x02\x01\x12\x04\x86\x02(F\n\x0f\n\x07\x04\t\x03\0\x02\x02\x03\
3363    \x12\x04\x86\x02IJ\n/\n\x04\x04\t\x04\0\x12\x06\x8a\x02\x02\x96\x02\x03\
3364    \x1a\x1f\x20The\x20final\x20state\x20of\x20this\x20task.\n\n\r\n\x05\x04\
3365    \t\x04\0\x01\x12\x04\x8a\x02\x07\x0c\n)\n\x06\x04\t\x04\0\x02\0\x12\x04\
3366    \x8c\x02\x04\x1a\x1a\x19\x20Unspecified\x20is\x20invalid.\n\n\x0f\n\x07\
3367    \x04\t\x04\0\x02\0\x01\x12\x04\x8c\x02\x04\x15\n\x0f\n\x07\x04\t\x04\0\
3368    \x02\0\x02\x12\x04\x8c\x02\x18\x19\n?\n\x06\x04\t\x04\0\x02\x01\x12\x04\
3369    \x8f\x02\x04\x12\x1a/\x20The\x20apply\x20config\x20task\x20completed\x20\
3370    successfully.\n\n\x0f\n\x07\x04\t\x04\0\x02\x01\x01\x12\x04\x8f\x02\x04\
3371    \r\n\x0f\n\x07\x04\t\x04\0\x02\x01\x02\x12\x04\x8f\x02\x10\x11\n/\n\x06\
3372    \x04\t\x04\0\x02\x02\x12\x04\x92\x02\x04\x0f\x1a\x1f\x20The\x20apply\x20\
3373    config\x20task\x20failed.\n\n\x0f\n\x07\x04\t\x04\0\x02\x02\x01\x12\x04\
3374    \x92\x02\x04\n\n\x0f\n\x07\x04\t\x04\0\x02\x02\x02\x12\x04\x92\x02\r\x0e\
3375    \n6\n\x06\x04\t\x04\0\x02\x03\x12\x04\x95\x02\x04\x12\x1a&\x20The\x20app\
3376    ly\x20config\x20task\x20was\x20cancelled.\n\n\x0f\n\x07\x04\t\x04\0\x02\
3377    \x03\x01\x12\x04\x95\x02\x04\r\n\x0f\n\x07\x04\t\x04\0\x02\x03\x02\x12\
3378    \x04\x95\x02\x10\x11\n7\n\x04\x04\t\x02\0\x12\x04\x99\x02\x02;\x1a)\x20R\
3379    equired.\x20The\x20final\x20state\x20of\x20this\x20task.\n\n\r\n\x05\x04\
3380    \t\x02\0\x06\x12\x04\x99\x02\x02\x07\n\r\n\x05\x04\t\x02\0\x01\x12\x04\
3381    \x99\x02\x08\r\n\r\n\x05\x04\t\x02\0\x03\x12\x04\x99\x02\x10\x11\n\r\n\
3382    \x05\x04\t\x02\0\x08\x12\x04\x99\x02\x12:\n\x10\n\x08\x04\t\x02\0\x08\
3383    \x9c\x08\0\x12\x04\x99\x02\x139\nM\n\x04\x04\t\x02\x01\x12\x04\x9c\x02\
3384    \x020\x1a?\x20Results\x20of\x20applying\x20desired\x20state\x20config\
3385    \x20for\x20the\x20OS\x20policies.\n\n\r\n\x05\x04\t\x02\x01\x04\x12\x04\
3386    \x9c\x02\x02\n\n\r\n\x05\x04\t\x02\x01\x06\x12\x04\x9c\x02\x0b\x19\n\r\n\
3387    \x05\x04\t\x02\x01\x01\x12\x04\x9c\x02\x1a+\n\r\n\x05\x04\t\x02\x01\x03\
3388    \x12\x04\x9c\x02./b\x06proto3\
3389";
3390
3391static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
3392
3393fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
3394    ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
3395}
3396
3397pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
3398    file_descriptor_proto_lazy.get(|| {
3399        parse_descriptor_proto()
3400    })
3401}