Debian Codegraph @

osconfig/agentendpoint/apiv1/agentendpointpb/tasks.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/osconfig/agentendpoint/v1/tasks.proto
20
21 package agentendpointpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // Specifies the current agent behavior.
39 type TaskDirective int32
40
41 const (
42 // Unspecified is invalid.
43 TaskDirective_TASK_DIRECTIVE_UNSPECIFIED TaskDirective = 0
44 // The task should continue to progress.
45 TaskDirective_CONTINUE TaskDirective = 1
46 // Task should not be started, or if already in progress, should stop
47 // at first safe stopping point. Task should be considered done and will
48 // never repeat.
49 TaskDirective_STOP TaskDirective = 2
50 )
51
52 // Enum value maps for TaskDirective.
53 var (
54 TaskDirective_name = map[int32]string{
55 0: "TASK_DIRECTIVE_UNSPECIFIED",
56 1: "CONTINUE",
57 2: "STOP",
58 }
59 TaskDirective_value = map[string]int32{
60 "TASK_DIRECTIVE_UNSPECIFIED": 0,
61 "CONTINUE": 1,
62 "STOP": 2,
63 }
64 )
65
66 func (x TaskDirective) Enum() *TaskDirective {
67 p := new(TaskDirective)
68 *p = x
69 return p
70 }
71
72 func (x TaskDirective) String() string {
73 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
74 }
75
76 func (TaskDirective) Descriptor() protoreflect.EnumDescriptor {
77 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[0].Descriptor()
78 }
79
80 func (TaskDirective) Type() protoreflect.EnumType {
81 return &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[0]
82 }
83
84 func (x TaskDirective) Number() protoreflect.EnumNumber {
85 return protoreflect.EnumNumber(x)
86 }
87
88 // Deprecated: Use TaskDirective.Descriptor instead.
89 func (TaskDirective) EnumDescriptor() ([]byte, []int) {
90 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{0}
91 }
92
93 // Specifies the type of task to perform.
94 type TaskType int32
95
96 const (
97 // Unspecified is invalid.
98 TaskType_TASK_TYPE_UNSPECIFIED TaskType = 0
99 // The apply patches task.
100 TaskType_APPLY_PATCHES TaskType = 1
101 // The exec step task.
102 TaskType_EXEC_STEP_TASK TaskType = 2
103 // The apply config task
104 TaskType_APPLY_CONFIG_TASK TaskType = 3
105 )
106
107 // Enum value maps for TaskType.
108 var (
109 TaskType_name = map[int32]string{
110 0: "TASK_TYPE_UNSPECIFIED",
111 1: "APPLY_PATCHES",
112 2: "EXEC_STEP_TASK",
113 3: "APPLY_CONFIG_TASK",
114 }
115 TaskType_value = map[string]int32{
116 "TASK_TYPE_UNSPECIFIED": 0,
117 "APPLY_PATCHES": 1,
118 "EXEC_STEP_TASK": 2,
119 "APPLY_CONFIG_TASK": 3,
120 }
121 )
122
123 func (x TaskType) Enum() *TaskType {
124 p := new(TaskType)
125 *p = x
126 return p
127 }
128
129 func (x TaskType) String() string {
130 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
131 }
132
133 func (TaskType) Descriptor() protoreflect.EnumDescriptor {
134 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[1].Descriptor()
135 }
136
137 func (TaskType) Type() protoreflect.EnumType {
138 return &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[1]
139 }
140
141 func (x TaskType) Number() protoreflect.EnumNumber {
142 return protoreflect.EnumNumber(x)
143 }
144
145 // Deprecated: Use TaskType.Descriptor instead.
146 func (TaskType) EnumDescriptor() ([]byte, []int) {
147 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{1}
148 }
149
150 // The intermediate states of applying patches.
151 type ApplyPatchesTaskProgress_State int32
152
153 const (
154 // Unspecified is invalid.
155 ApplyPatchesTaskProgress_STATE_UNSPECIFIED ApplyPatchesTaskProgress_State = 0
156 // The agent has started the patch task.
157 ApplyPatchesTaskProgress_STARTED ApplyPatchesTaskProgress_State = 4
158 // The agent is currently downloading patches.
159 ApplyPatchesTaskProgress_DOWNLOADING_PATCHES ApplyPatchesTaskProgress_State = 1
160 // The agent is currently applying patches.
161 ApplyPatchesTaskProgress_APPLYING_PATCHES ApplyPatchesTaskProgress_State = 2
162 // The agent is currently rebooting the instance.
163 ApplyPatchesTaskProgress_REBOOTING ApplyPatchesTaskProgress_State = 3
164 )
165
166 // Enum value maps for ApplyPatchesTaskProgress_State.
167 var (
168 ApplyPatchesTaskProgress_State_name = map[int32]string{
169 0: "STATE_UNSPECIFIED",
170 4: "STARTED",
171 1: "DOWNLOADING_PATCHES",
172 2: "APPLYING_PATCHES",
173 3: "REBOOTING",
174 }
175 ApplyPatchesTaskProgress_State_value = map[string]int32{
176 "STATE_UNSPECIFIED": 0,
177 "STARTED": 4,
178 "DOWNLOADING_PATCHES": 1,
179 "APPLYING_PATCHES": 2,
180 "REBOOTING": 3,
181 }
182 )
183
184 func (x ApplyPatchesTaskProgress_State) Enum() *ApplyPatchesTaskProgress_State {
185 p := new(ApplyPatchesTaskProgress_State)
186 *p = x
187 return p
188 }
189
190 func (x ApplyPatchesTaskProgress_State) String() string {
191 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
192 }
193
194 func (ApplyPatchesTaskProgress_State) Descriptor() protoreflect.EnumDescriptor {
195 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[2].Descriptor()
196 }
197
198 func (ApplyPatchesTaskProgress_State) Type() protoreflect.EnumType {
199 return &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[2]
200 }
201
202 func (x ApplyPatchesTaskProgress_State) Number() protoreflect.EnumNumber {
203 return protoreflect.EnumNumber(x)
204 }
205
206 // Deprecated: Use ApplyPatchesTaskProgress_State.Descriptor instead.
207 func (ApplyPatchesTaskProgress_State) EnumDescriptor() ([]byte, []int) {
208 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{2, 0}
209 }
210
211 // The final states of applying patches.
212 type ApplyPatchesTaskOutput_State int32
213
214 const (
215 // Unspecified is invalid.
216 ApplyPatchesTaskOutput_STATE_UNSPECIFIED ApplyPatchesTaskOutput_State = 0
217 // Applying patches completed successfully.
218 ApplyPatchesTaskOutput_SUCCEEDED ApplyPatchesTaskOutput_State = 1
219 // Applying patches completed successfully, but a reboot is required.
220 ApplyPatchesTaskOutput_SUCCEEDED_REBOOT_REQUIRED ApplyPatchesTaskOutput_State = 2
221 // Applying patches failed.
222 ApplyPatchesTaskOutput_FAILED ApplyPatchesTaskOutput_State = 3
223 )
224
225 // Enum value maps for ApplyPatchesTaskOutput_State.
226 var (
227 ApplyPatchesTaskOutput_State_name = map[int32]string{
228 0: "STATE_UNSPECIFIED",
229 1: "SUCCEEDED",
230 2: "SUCCEEDED_REBOOT_REQUIRED",
231 3: "FAILED",
232 }
233 ApplyPatchesTaskOutput_State_value = map[string]int32{
234 "STATE_UNSPECIFIED": 0,
235 "SUCCEEDED": 1,
236 "SUCCEEDED_REBOOT_REQUIRED": 2,
237 "FAILED": 3,
238 }
239 )
240
241 func (x ApplyPatchesTaskOutput_State) Enum() *ApplyPatchesTaskOutput_State {
242 p := new(ApplyPatchesTaskOutput_State)
243 *p = x
244 return p
245 }
246
247 func (x ApplyPatchesTaskOutput_State) String() string {
248 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
249 }
250
251 func (ApplyPatchesTaskOutput_State) Descriptor() protoreflect.EnumDescriptor {
252 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[3].Descriptor()
253 }
254
255 func (ApplyPatchesTaskOutput_State) Type() protoreflect.EnumType {
256 return &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[3]
257 }
258
259 func (x ApplyPatchesTaskOutput_State) Number() protoreflect.EnumNumber {
260 return protoreflect.EnumNumber(x)
261 }
262
263 // Deprecated: Use ApplyPatchesTaskOutput_State.Descriptor instead.
264 func (ApplyPatchesTaskOutput_State) EnumDescriptor() ([]byte, []int) {
265 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{3, 0}
266 }
267
268 // The intermediate states of exec steps.
269 type ExecStepTaskProgress_State int32
270
271 const (
272 // Unspecified is invalid.
273 ExecStepTaskProgress_STATE_UNSPECIFIED ExecStepTaskProgress_State = 0
274 // The agent has started the exec step task.
275 ExecStepTaskProgress_STARTED ExecStepTaskProgress_State = 1
276 )
277
278 // Enum value maps for ExecStepTaskProgress_State.
279 var (
280 ExecStepTaskProgress_State_name = map[int32]string{
281 0: "STATE_UNSPECIFIED",
282 1: "STARTED",
283 }
284 ExecStepTaskProgress_State_value = map[string]int32{
285 "STATE_UNSPECIFIED": 0,
286 "STARTED": 1,
287 }
288 )
289
290 func (x ExecStepTaskProgress_State) Enum() *ExecStepTaskProgress_State {
291 p := new(ExecStepTaskProgress_State)
292 *p = x
293 return p
294 }
295
296 func (x ExecStepTaskProgress_State) String() string {
297 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
298 }
299
300 func (ExecStepTaskProgress_State) Descriptor() protoreflect.EnumDescriptor {
301 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[4].Descriptor()
302 }
303
304 func (ExecStepTaskProgress_State) Type() protoreflect.EnumType {
305 return &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[4]
306 }
307
308 func (x ExecStepTaskProgress_State) Number() protoreflect.EnumNumber {
309 return protoreflect.EnumNumber(x)
310 }
311
312 // Deprecated: Use ExecStepTaskProgress_State.Descriptor instead.
313 func (ExecStepTaskProgress_State) EnumDescriptor() ([]byte, []int) {
314 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{5, 0}
315 }
316
317 // The final states of exec steps.
318 type ExecStepTaskOutput_State int32
319
320 const (
321 // Unspecified is invalid.
322 ExecStepTaskOutput_STATE_UNSPECIFIED ExecStepTaskOutput_State = 0
323 // The exec step completed normally.
324 ExecStepTaskOutput_COMPLETED ExecStepTaskOutput_State = 1
325 // The exec step was terminated because it took too long.
326 ExecStepTaskOutput_TIMED_OUT ExecStepTaskOutput_State = 2
327 // The exec step task was cancelled before it started.
328 ExecStepTaskOutput_CANCELLED ExecStepTaskOutput_State = 3
329 )
330
331 // Enum value maps for ExecStepTaskOutput_State.
332 var (
333 ExecStepTaskOutput_State_name = map[int32]string{
334 0: "STATE_UNSPECIFIED",
335 1: "COMPLETED",
336 2: "TIMED_OUT",
337 3: "CANCELLED",
338 }
339 ExecStepTaskOutput_State_value = map[string]int32{
340 "STATE_UNSPECIFIED": 0,
341 "COMPLETED": 1,
342 "TIMED_OUT": 2,
343 "CANCELLED": 3,
344 }
345 )
346
347 func (x ExecStepTaskOutput_State) Enum() *ExecStepTaskOutput_State {
348 p := new(ExecStepTaskOutput_State)
349 *p = x
350 return p
351 }
352
353 func (x ExecStepTaskOutput_State) String() string {
354 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
355 }
356
357 func (ExecStepTaskOutput_State) Descriptor() protoreflect.EnumDescriptor {
358 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[5].Descriptor()
359 }
360
361 func (ExecStepTaskOutput_State) Type() protoreflect.EnumType {
362 return &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[5]
363 }
364
365 func (x ExecStepTaskOutput_State) Number() protoreflect.EnumNumber {
366 return protoreflect.EnumNumber(x)
367 }
368
369 // Deprecated: Use ExecStepTaskOutput_State.Descriptor instead.
370 func (ExecStepTaskOutput_State) EnumDescriptor() ([]byte, []int) {
371 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{6, 0}
372 }
373
374 // The intermediate states of apply config task.
375 type ApplyConfigTaskProgress_State int32
376
377 const (
378 // Invalid state
379 ApplyConfigTaskProgress_STATE_UNSPECIFIED ApplyConfigTaskProgress_State = 0
380 // The agent has started the task.
381 ApplyConfigTaskProgress_STARTED ApplyConfigTaskProgress_State = 1
382 // The agent is in the process of applying the configuration.
383 ApplyConfigTaskProgress_APPLYING_CONFIG ApplyConfigTaskProgress_State = 2
384 )
385
386 // Enum value maps for ApplyConfigTaskProgress_State.
387 var (
388 ApplyConfigTaskProgress_State_name = map[int32]string{
389 0: "STATE_UNSPECIFIED",
390 1: "STARTED",
391 2: "APPLYING_CONFIG",
392 }
393 ApplyConfigTaskProgress_State_value = map[string]int32{
394 "STATE_UNSPECIFIED": 0,
395 "STARTED": 1,
396 "APPLYING_CONFIG": 2,
397 }
398 )
399
400 func (x ApplyConfigTaskProgress_State) Enum() *ApplyConfigTaskProgress_State {
401 p := new(ApplyConfigTaskProgress_State)
402 *p = x
403 return p
404 }
405
406 func (x ApplyConfigTaskProgress_State) String() string {
407 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
408 }
409
410 func (ApplyConfigTaskProgress_State) Descriptor() protoreflect.EnumDescriptor {
411 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[6].Descriptor()
412 }
413
414 func (ApplyConfigTaskProgress_State) Type() protoreflect.EnumType {
415 return &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[6]
416 }
417
418 func (x ApplyConfigTaskProgress_State) Number() protoreflect.EnumNumber {
419 return protoreflect.EnumNumber(x)
420 }
421
422 // Deprecated: Use ApplyConfigTaskProgress_State.Descriptor instead.
423 func (ApplyConfigTaskProgress_State) EnumDescriptor() ([]byte, []int) {
424 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{8, 0}
425 }
426
427 // The final state of this task.
428 type ApplyConfigTaskOutput_State int32
429
430 const (
431 // Unspecified is invalid.
432 ApplyConfigTaskOutput_STATE_UNSPECIFIED ApplyConfigTaskOutput_State = 0
433 // The apply config task completed successfully.
434 ApplyConfigTaskOutput_SUCCEEDED ApplyConfigTaskOutput_State = 1
435 // The apply config task failed.
436 ApplyConfigTaskOutput_FAILED ApplyConfigTaskOutput_State = 2
437 // The apply config task was cancelled.
438 ApplyConfigTaskOutput_CANCELLED ApplyConfigTaskOutput_State = 3
439 )
440
441 // Enum value maps for ApplyConfigTaskOutput_State.
442 var (
443 ApplyConfigTaskOutput_State_name = map[int32]string{
444 0: "STATE_UNSPECIFIED",
445 1: "SUCCEEDED",
446 2: "FAILED",
447 3: "CANCELLED",
448 }
449 ApplyConfigTaskOutput_State_value = map[string]int32{
450 "STATE_UNSPECIFIED": 0,
451 "SUCCEEDED": 1,
452 "FAILED": 2,
453 "CANCELLED": 3,
454 }
455 )
456
457 func (x ApplyConfigTaskOutput_State) Enum() *ApplyConfigTaskOutput_State {
458 p := new(ApplyConfigTaskOutput_State)
459 *p = x
460 return p
461 }
462
463 func (x ApplyConfigTaskOutput_State) String() string {
464 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
465 }
466
467 func (ApplyConfigTaskOutput_State) Descriptor() protoreflect.EnumDescriptor {
468 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[7].Descriptor()
469 }
470
471 func (ApplyConfigTaskOutput_State) Type() protoreflect.EnumType {
472 return &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes[7]
473 }
474
475 func (x ApplyConfigTaskOutput_State) Number() protoreflect.EnumNumber {
476 return protoreflect.EnumNumber(x)
477 }
478
479 // Deprecated: Use ApplyConfigTaskOutput_State.Descriptor instead.
480 func (ApplyConfigTaskOutput_State) EnumDescriptor() ([]byte, []int) {
481 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{9, 0}
482 }
483
484 // A unit of work to be performed by the agent.
485 type Task struct {
486 state protoimpl.MessageState
487 sizeCache protoimpl.SizeCache
488 unknownFields protoimpl.UnknownFields
489
490 // Unique task id.
491 TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
492 // The type of task to perform.
493 //
494 // Task details must include the appropriate message based on this enum as
495 // specified below:
496 // APPLY_PATCHES = ApplyPatchesTask
497 // EXEC_STEP = ExecStepTask
498 // APPLY_CONFIG_TASK = ApplyConfigTask
499 TaskType TaskType `protobuf:"varint,2,opt,name=task_type,json=taskType,proto3,enum=google.cloud.osconfig.agentendpoint.v1.TaskType" json:"task_type,omitempty"`
500 // Current directive to the agent.
501 TaskDirective TaskDirective `protobuf:"varint,3,opt,name=task_directive,json=taskDirective,proto3,enum=google.cloud.osconfig.agentendpoint.v1.TaskDirective" json:"task_directive,omitempty"`
502 // Specific details about the current task to perform.
503 //
504 // Types that are assignable to TaskDetails:
505 //
506 // *Task_ApplyPatchesTask
507 // *Task_ExecStepTask
508 // *Task_ApplyConfigTask
509 TaskDetails isTask_TaskDetails `protobuf_oneof:"task_details"`
510 // Labels describing the task. Used for logging by the agent.
511 ServiceLabels map[string]string `protobuf:"bytes,6,rep,name=service_labels,json=serviceLabels,proto3" json:"service_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
512 }
513
514 func (x *Task) Reset() {
515 *x = Task{}
516 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[0]
517 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
518 ms.StoreMessageInfo(mi)
519 }
520
521 func (x *Task) String() string {
522 return protoimpl.X.MessageStringOf(x)
523 }
524
525 func (*Task) ProtoMessage() {}
526
527 func (x *Task) ProtoReflect() protoreflect.Message {
528 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[0]
529 if x != nil {
530 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
531 if ms.LoadMessageInfo() == nil {
532 ms.StoreMessageInfo(mi)
533 }
534 return ms
535 }
536 return mi.MessageOf(x)
537 }
538
539 // Deprecated: Use Task.ProtoReflect.Descriptor instead.
540 func (*Task) Descriptor() ([]byte, []int) {
541 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{0}
542 }
543
544 func (x *Task) GetTaskId() string {
545 if x != nil {
546 return x.TaskId
547 }
548 return ""
549 }
550
551 func (x *Task) GetTaskType() TaskType {
552 if x != nil {
553 return x.TaskType
554 }
555 return TaskType_TASK_TYPE_UNSPECIFIED
556 }
557
558 func (x *Task) GetTaskDirective() TaskDirective {
559 if x != nil {
560 return x.TaskDirective
561 }
562 return TaskDirective_TASK_DIRECTIVE_UNSPECIFIED
563 }
564
565 func (m *Task) GetTaskDetails() isTask_TaskDetails {
566 if m != nil {
567 return m.TaskDetails
568 }
569 return nil
570 }
571
572 func (x *Task) GetApplyPatchesTask() *ApplyPatchesTask {
573 if x, ok := x.GetTaskDetails().(*Task_ApplyPatchesTask); ok {
574 return x.ApplyPatchesTask
575 }
576 return nil
577 }
578
579 func (x *Task) GetExecStepTask() *ExecStepTask {
580 if x, ok := x.GetTaskDetails().(*Task_ExecStepTask); ok {
581 return x.ExecStepTask
582 }
583 return nil
584 }
585
586 func (x *Task) GetApplyConfigTask() *ApplyConfigTask {
587 if x, ok := x.GetTaskDetails().(*Task_ApplyConfigTask); ok {
588 return x.ApplyConfigTask
589 }
590 return nil
591 }
592
593 func (x *Task) GetServiceLabels() map[string]string {
594 if x != nil {
595 return x.ServiceLabels
596 }
597 return nil
598 }
599
600 type isTask_TaskDetails interface {
601 isTask_TaskDetails()
602 }
603
604 type Task_ApplyPatchesTask struct {
605 // Details about the apply patches task to perform.
606 ApplyPatchesTask *ApplyPatchesTask `protobuf:"bytes,4,opt,name=apply_patches_task,json=applyPatchesTask,proto3,oneof"`
607 }
608
609 type Task_ExecStepTask struct {
610 // Details about the exec step task to perform.
611 ExecStepTask *ExecStepTask `protobuf:"bytes,5,opt,name=exec_step_task,json=execStepTask,proto3,oneof"`
612 }
613
614 type Task_ApplyConfigTask struct {
615 // Details about the apply config step task to perform.
616 ApplyConfigTask *ApplyConfigTask `protobuf:"bytes,7,opt,name=apply_config_task,json=applyConfigTask,proto3,oneof"`
617 }
618
619 func (*Task_ApplyPatchesTask) isTask_TaskDetails() {}
620
621 func (*Task_ExecStepTask) isTask_TaskDetails() {}
622
623 func (*Task_ApplyConfigTask) isTask_TaskDetails() {}
624
625 // Message which instructs agent to apply patches.
626 type ApplyPatchesTask struct {
627 state protoimpl.MessageState
628 sizeCache protoimpl.SizeCache
629 unknownFields protoimpl.UnknownFields
630
631 // Specific information about how patches should be applied.
632 PatchConfig *PatchConfig `protobuf:"bytes,1,opt,name=patch_config,json=patchConfig,proto3" json:"patch_config,omitempty"`
633 // If true, the agent will report its status as it goes through the motions
634 // but won't actually run any updates or perform any reboots.
635 DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
636 }
637
638 func (x *ApplyPatchesTask) Reset() {
639 *x = ApplyPatchesTask{}
640 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[1]
641 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
642 ms.StoreMessageInfo(mi)
643 }
644
645 func (x *ApplyPatchesTask) String() string {
646 return protoimpl.X.MessageStringOf(x)
647 }
648
649 func (*ApplyPatchesTask) ProtoMessage() {}
650
651 func (x *ApplyPatchesTask) ProtoReflect() protoreflect.Message {
652 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[1]
653 if x != nil {
654 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
655 if ms.LoadMessageInfo() == nil {
656 ms.StoreMessageInfo(mi)
657 }
658 return ms
659 }
660 return mi.MessageOf(x)
661 }
662
663 // Deprecated: Use ApplyPatchesTask.ProtoReflect.Descriptor instead.
664 func (*ApplyPatchesTask) Descriptor() ([]byte, []int) {
665 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{1}
666 }
667
668 func (x *ApplyPatchesTask) GetPatchConfig() *PatchConfig {
669 if x != nil {
670 return x.PatchConfig
671 }
672 return nil
673 }
674
675 func (x *ApplyPatchesTask) GetDryRun() bool {
676 if x != nil {
677 return x.DryRun
678 }
679 return false
680 }
681
682 // Information reported from the agent about applying patches execution.
683 type ApplyPatchesTaskProgress struct {
684 state protoimpl.MessageState
685 sizeCache protoimpl.SizeCache
686 unknownFields protoimpl.UnknownFields
687
688 // Required. The current state of this patch execution.
689 State ApplyPatchesTaskProgress_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskProgress_State" json:"state,omitempty"`
690 }
691
692 func (x *ApplyPatchesTaskProgress) Reset() {
693 *x = ApplyPatchesTaskProgress{}
694 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[2]
695 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
696 ms.StoreMessageInfo(mi)
697 }
698
699 func (x *ApplyPatchesTaskProgress) String() string {
700 return protoimpl.X.MessageStringOf(x)
701 }
702
703 func (*ApplyPatchesTaskProgress) ProtoMessage() {}
704
705 func (x *ApplyPatchesTaskProgress) ProtoReflect() protoreflect.Message {
706 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[2]
707 if x != nil {
708 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
709 if ms.LoadMessageInfo() == nil {
710 ms.StoreMessageInfo(mi)
711 }
712 return ms
713 }
714 return mi.MessageOf(x)
715 }
716
717 // Deprecated: Use ApplyPatchesTaskProgress.ProtoReflect.Descriptor instead.
718 func (*ApplyPatchesTaskProgress) Descriptor() ([]byte, []int) {
719 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{2}
720 }
721
722 func (x *ApplyPatchesTaskProgress) GetState() ApplyPatchesTaskProgress_State {
723 if x != nil {
724 return x.State
725 }
726 return ApplyPatchesTaskProgress_STATE_UNSPECIFIED
727 }
728
729 // Information reported from the agent about applying patches execution.
730 type ApplyPatchesTaskOutput struct {
731 state protoimpl.MessageState
732 sizeCache protoimpl.SizeCache
733 unknownFields protoimpl.UnknownFields
734
735 // Required. The final state of this task.
736 State ApplyPatchesTaskOutput_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskOutput_State" json:"state,omitempty"`
737 }
738
739 func (x *ApplyPatchesTaskOutput) Reset() {
740 *x = ApplyPatchesTaskOutput{}
741 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[3]
742 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
743 ms.StoreMessageInfo(mi)
744 }
745
746 func (x *ApplyPatchesTaskOutput) String() string {
747 return protoimpl.X.MessageStringOf(x)
748 }
749
750 func (*ApplyPatchesTaskOutput) ProtoMessage() {}
751
752 func (x *ApplyPatchesTaskOutput) ProtoReflect() protoreflect.Message {
753 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[3]
754 if x != nil {
755 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
756 if ms.LoadMessageInfo() == nil {
757 ms.StoreMessageInfo(mi)
758 }
759 return ms
760 }
761 return mi.MessageOf(x)
762 }
763
764 // Deprecated: Use ApplyPatchesTaskOutput.ProtoReflect.Descriptor instead.
765 func (*ApplyPatchesTaskOutput) Descriptor() ([]byte, []int) {
766 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{3}
767 }
768
769 func (x *ApplyPatchesTaskOutput) GetState() ApplyPatchesTaskOutput_State {
770 if x != nil {
771 return x.State
772 }
773 return ApplyPatchesTaskOutput_STATE_UNSPECIFIED
774 }
775
776 // Message which instructs agent to execute the following command.
777 type ExecStepTask struct {
778 state protoimpl.MessageState
779 sizeCache protoimpl.SizeCache
780 unknownFields protoimpl.UnknownFields
781
782 // Details of the exec step to run.
783 ExecStep *ExecStep `protobuf:"bytes,1,opt,name=exec_step,json=execStep,proto3" json:"exec_step,omitempty"`
784 }
785
786 func (x *ExecStepTask) Reset() {
787 *x = ExecStepTask{}
788 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[4]
789 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
790 ms.StoreMessageInfo(mi)
791 }
792
793 func (x *ExecStepTask) String() string {
794 return protoimpl.X.MessageStringOf(x)
795 }
796
797 func (*ExecStepTask) ProtoMessage() {}
798
799 func (x *ExecStepTask) ProtoReflect() protoreflect.Message {
800 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[4]
801 if x != nil {
802 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
803 if ms.LoadMessageInfo() == nil {
804 ms.StoreMessageInfo(mi)
805 }
806 return ms
807 }
808 return mi.MessageOf(x)
809 }
810
811 // Deprecated: Use ExecStepTask.ProtoReflect.Descriptor instead.
812 func (*ExecStepTask) Descriptor() ([]byte, []int) {
813 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{4}
814 }
815
816 func (x *ExecStepTask) GetExecStep() *ExecStep {
817 if x != nil {
818 return x.ExecStep
819 }
820 return nil
821 }
822
823 // Information reported from the agent about the exec step execution.
824 type ExecStepTaskProgress struct {
825 state protoimpl.MessageState
826 sizeCache protoimpl.SizeCache
827 unknownFields protoimpl.UnknownFields
828
829 // Required. The current state of this exec step.
830 State ExecStepTaskProgress_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.osconfig.agentendpoint.v1.ExecStepTaskProgress_State" json:"state,omitempty"`
831 }
832
833 func (x *ExecStepTaskProgress) Reset() {
834 *x = ExecStepTaskProgress{}
835 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[5]
836 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
837 ms.StoreMessageInfo(mi)
838 }
839
840 func (x *ExecStepTaskProgress) String() string {
841 return protoimpl.X.MessageStringOf(x)
842 }
843
844 func (*ExecStepTaskProgress) ProtoMessage() {}
845
846 func (x *ExecStepTaskProgress) ProtoReflect() protoreflect.Message {
847 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[5]
848 if x != nil {
849 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
850 if ms.LoadMessageInfo() == nil {
851 ms.StoreMessageInfo(mi)
852 }
853 return ms
854 }
855 return mi.MessageOf(x)
856 }
857
858 // Deprecated: Use ExecStepTaskProgress.ProtoReflect.Descriptor instead.
859 func (*ExecStepTaskProgress) Descriptor() ([]byte, []int) {
860 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{5}
861 }
862
863 func (x *ExecStepTaskProgress) GetState() ExecStepTaskProgress_State {
864 if x != nil {
865 return x.State
866 }
867 return ExecStepTaskProgress_STATE_UNSPECIFIED
868 }
869
870 // Information reported from the agent about the exec step execution.
871 type ExecStepTaskOutput struct {
872 state protoimpl.MessageState
873 sizeCache protoimpl.SizeCache
874 unknownFields protoimpl.UnknownFields
875
876 // Required. The final state of the exec step.
877 State ExecStepTaskOutput_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.osconfig.agentendpoint.v1.ExecStepTaskOutput_State" json:"state,omitempty"`
878 // Required. The exit code received from the script which ran as part of the
879 // exec step.
880 ExitCode int32 `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
881 }
882
883 func (x *ExecStepTaskOutput) Reset() {
884 *x = ExecStepTaskOutput{}
885 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[6]
886 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
887 ms.StoreMessageInfo(mi)
888 }
889
890 func (x *ExecStepTaskOutput) String() string {
891 return protoimpl.X.MessageStringOf(x)
892 }
893
894 func (*ExecStepTaskOutput) ProtoMessage() {}
895
896 func (x *ExecStepTaskOutput) ProtoReflect() protoreflect.Message {
897 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[6]
898 if x != nil {
899 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
900 if ms.LoadMessageInfo() == nil {
901 ms.StoreMessageInfo(mi)
902 }
903 return ms
904 }
905 return mi.MessageOf(x)
906 }
907
908 // Deprecated: Use ExecStepTaskOutput.ProtoReflect.Descriptor instead.
909 func (*ExecStepTaskOutput) Descriptor() ([]byte, []int) {
910 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{6}
911 }
912
913 func (x *ExecStepTaskOutput) GetState() ExecStepTaskOutput_State {
914 if x != nil {
915 return x.State
916 }
917 return ExecStepTaskOutput_STATE_UNSPECIFIED
918 }
919
920 func (x *ExecStepTaskOutput) GetExitCode() int32 {
921 if x != nil {
922 return x.ExitCode
923 }
924 return 0
925 }
926
927 // Message which instructs OS Config agent to apply the desired state
928 // configuration.
929 type ApplyConfigTask struct {
930 state protoimpl.MessageState
931 sizeCache protoimpl.SizeCache
932 unknownFields protoimpl.UnknownFields
933
934 // List of os policies to be applied for the instance.
935 OsPolicies []*ApplyConfigTask_OSPolicy `protobuf:"bytes,1,rep,name=os_policies,json=osPolicies,proto3" json:"os_policies,omitempty"`
936 }
937
938 func (x *ApplyConfigTask) Reset() {
939 *x = ApplyConfigTask{}
940 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[7]
941 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
942 ms.StoreMessageInfo(mi)
943 }
944
945 func (x *ApplyConfigTask) String() string {
946 return protoimpl.X.MessageStringOf(x)
947 }
948
949 func (*ApplyConfigTask) ProtoMessage() {}
950
951 func (x *ApplyConfigTask) ProtoReflect() protoreflect.Message {
952 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[7]
953 if x != nil {
954 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
955 if ms.LoadMessageInfo() == nil {
956 ms.StoreMessageInfo(mi)
957 }
958 return ms
959 }
960 return mi.MessageOf(x)
961 }
962
963 // Deprecated: Use ApplyConfigTask.ProtoReflect.Descriptor instead.
964 func (*ApplyConfigTask) Descriptor() ([]byte, []int) {
965 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{7}
966 }
967
968 func (x *ApplyConfigTask) GetOsPolicies() []*ApplyConfigTask_OSPolicy {
969 if x != nil {
970 return x.OsPolicies
971 }
972 return nil
973 }
974
975 // Information reported from the agent regarding the progress of the task of
976 // applying desired state configuration.
977 type ApplyConfigTaskProgress struct {
978 state protoimpl.MessageState
979 sizeCache protoimpl.SizeCache
980 unknownFields protoimpl.UnknownFields
981
982 // The current state of this task.
983 State ApplyConfigTaskProgress_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskProgress_State" json:"state,omitempty"`
984 }
985
986 func (x *ApplyConfigTaskProgress) Reset() {
987 *x = ApplyConfigTaskProgress{}
988 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[8]
989 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
990 ms.StoreMessageInfo(mi)
991 }
992
993 func (x *ApplyConfigTaskProgress) String() string {
994 return protoimpl.X.MessageStringOf(x)
995 }
996
997 func (*ApplyConfigTaskProgress) ProtoMessage() {}
998
999 func (x *ApplyConfigTaskProgress) ProtoReflect() protoreflect.Message {
1000 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[8]
1001 if x != nil {
1002 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1003 if ms.LoadMessageInfo() == nil {
1004 ms.StoreMessageInfo(mi)
1005 }
1006 return ms
1007 }
1008 return mi.MessageOf(x)
1009 }
1010
1011 // Deprecated: Use ApplyConfigTaskProgress.ProtoReflect.Descriptor instead.
1012 func (*ApplyConfigTaskProgress) Descriptor() ([]byte, []int) {
1013 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{8}
1014 }
1015
1016 func (x *ApplyConfigTaskProgress) GetState() ApplyConfigTaskProgress_State {
1017 if x != nil {
1018 return x.State
1019 }
1020 return ApplyConfigTaskProgress_STATE_UNSPECIFIED
1021 }
1022
1023 // Information reported from the agent regarding the output of the task of
1024 // applying desired state configuration.
1025 type ApplyConfigTaskOutput struct {
1026 state protoimpl.MessageState
1027 sizeCache protoimpl.SizeCache
1028 unknownFields protoimpl.UnknownFields
1029
1030 // Required. The final state of this task.
1031 State ApplyConfigTaskOutput_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskOutput_State" json:"state,omitempty"`
1032 // Results of applying desired state config for the OS policies.
1033 OsPolicyResults []*ApplyConfigTaskOutput_OSPolicyResult `protobuf:"bytes,2,rep,name=os_policy_results,json=osPolicyResults,proto3" json:"os_policy_results,omitempty"`
1034 }
1035
1036 func (x *ApplyConfigTaskOutput) Reset() {
1037 *x = ApplyConfigTaskOutput{}
1038 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[9]
1039 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1040 ms.StoreMessageInfo(mi)
1041 }
1042
1043 func (x *ApplyConfigTaskOutput) String() string {
1044 return protoimpl.X.MessageStringOf(x)
1045 }
1046
1047 func (*ApplyConfigTaskOutput) ProtoMessage() {}
1048
1049 func (x *ApplyConfigTaskOutput) ProtoReflect() protoreflect.Message {
1050 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[9]
1051 if x != nil {
1052 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1053 if ms.LoadMessageInfo() == nil {
1054 ms.StoreMessageInfo(mi)
1055 }
1056 return ms
1057 }
1058 return mi.MessageOf(x)
1059 }
1060
1061 // Deprecated: Use ApplyConfigTaskOutput.ProtoReflect.Descriptor instead.
1062 func (*ApplyConfigTaskOutput) Descriptor() ([]byte, []int) {
1063 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{9}
1064 }
1065
1066 func (x *ApplyConfigTaskOutput) GetState() ApplyConfigTaskOutput_State {
1067 if x != nil {
1068 return x.State
1069 }
1070 return ApplyConfigTaskOutput_STATE_UNSPECIFIED
1071 }
1072
1073 func (x *ApplyConfigTaskOutput) GetOsPolicyResults() []*ApplyConfigTaskOutput_OSPolicyResult {
1074 if x != nil {
1075 return x.OsPolicyResults
1076 }
1077 return nil
1078 }
1079
1080 // Message representing an OS policy.
1081 type ApplyConfigTask_OSPolicy struct {
1082 state protoimpl.MessageState
1083 sizeCache protoimpl.SizeCache
1084 unknownFields protoimpl.UnknownFields
1085
1086 // User provided policy id.
1087 // Used for reporting and logging by the agent.
1088 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1089 // The policy mode
1090 Mode OSPolicy_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=google.cloud.osconfig.agentendpoint.v1.OSPolicy_Mode" json:"mode,omitempty"`
1091 // Reference to the `OSPolicyAssignment` API resource that this `OSPolicy`
1092 // belongs to.
1093 // Format:
1094 // projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
1095 // Used for reporting and logging by the agent.
1096 OsPolicyAssignment string `protobuf:"bytes,3,opt,name=os_policy_assignment,json=osPolicyAssignment,proto3" json:"os_policy_assignment,omitempty"`
1097 // List of resources associated with the policy to be set to their
1098 // desired state.
1099 Resources []*OSPolicy_Resource `protobuf:"bytes,4,rep,name=resources,proto3" json:"resources,omitempty"`
1100 }
1101
1102 func (x *ApplyConfigTask_OSPolicy) Reset() {
1103 *x = ApplyConfigTask_OSPolicy{}
1104 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[11]
1105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1106 ms.StoreMessageInfo(mi)
1107 }
1108
1109 func (x *ApplyConfigTask_OSPolicy) String() string {
1110 return protoimpl.X.MessageStringOf(x)
1111 }
1112
1113 func (*ApplyConfigTask_OSPolicy) ProtoMessage() {}
1114
1115 func (x *ApplyConfigTask_OSPolicy) ProtoReflect() protoreflect.Message {
1116 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[11]
1117 if x != nil {
1118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1119 if ms.LoadMessageInfo() == nil {
1120 ms.StoreMessageInfo(mi)
1121 }
1122 return ms
1123 }
1124 return mi.MessageOf(x)
1125 }
1126
1127 // Deprecated: Use ApplyConfigTask_OSPolicy.ProtoReflect.Descriptor instead.
1128 func (*ApplyConfigTask_OSPolicy) Descriptor() ([]byte, []int) {
1129 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{7, 0}
1130 }
1131
1132 func (x *ApplyConfigTask_OSPolicy) GetId() string {
1133 if x != nil {
1134 return x.Id
1135 }
1136 return ""
1137 }
1138
1139 func (x *ApplyConfigTask_OSPolicy) GetMode() OSPolicy_Mode {
1140 if x != nil {
1141 return x.Mode
1142 }
1143 return OSPolicy_MODE_UNSPECIFIED
1144 }
1145
1146 func (x *ApplyConfigTask_OSPolicy) GetOsPolicyAssignment() string {
1147 if x != nil {
1148 return x.OsPolicyAssignment
1149 }
1150 return ""
1151 }
1152
1153 func (x *ApplyConfigTask_OSPolicy) GetResources() []*OSPolicy_Resource {
1154 if x != nil {
1155 return x.Resources
1156 }
1157 return nil
1158 }
1159
1160 // Result of applying desired state config for an OS policy.
1161 type ApplyConfigTaskOutput_OSPolicyResult struct {
1162 state protoimpl.MessageState
1163 sizeCache protoimpl.SizeCache
1164 unknownFields protoimpl.UnknownFields
1165
1166 // The OS policy id
1167 OsPolicyId string `protobuf:"bytes,1,opt,name=os_policy_id,json=osPolicyId,proto3" json:"os_policy_id,omitempty"`
1168 // Reference to the `OSPolicyAssignment` API resource that this `OSPolicy`
1169 // belongs to.
1170 // Format:
1171 // projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
1172 // Used for reporting and logging by the agent.
1173 OsPolicyAssignment string `protobuf:"bytes,2,opt,name=os_policy_assignment,json=osPolicyAssignment,proto3" json:"os_policy_assignment,omitempty"`
1174 // Results of applying desired state config for the OS policy resources.
1175 OsPolicyResourceCompliances []*OSPolicyResourceCompliance `protobuf:"bytes,3,rep,name=os_policy_resource_compliances,json=osPolicyResourceCompliances,proto3" json:"os_policy_resource_compliances,omitempty"`
1176 }
1177
1178 func (x *ApplyConfigTaskOutput_OSPolicyResult) Reset() {
1179 *x = ApplyConfigTaskOutput_OSPolicyResult{}
1180 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[12]
1181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1182 ms.StoreMessageInfo(mi)
1183 }
1184
1185 func (x *ApplyConfigTaskOutput_OSPolicyResult) String() string {
1186 return protoimpl.X.MessageStringOf(x)
1187 }
1188
1189 func (*ApplyConfigTaskOutput_OSPolicyResult) ProtoMessage() {}
1190
1191 func (x *ApplyConfigTaskOutput_OSPolicyResult) ProtoReflect() protoreflect.Message {
1192 mi := &file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[12]
1193 if x != nil {
1194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1195 if ms.LoadMessageInfo() == nil {
1196 ms.StoreMessageInfo(mi)
1197 }
1198 return ms
1199 }
1200 return mi.MessageOf(x)
1201 }
1202
1203 // Deprecated: Use ApplyConfigTaskOutput_OSPolicyResult.ProtoReflect.Descriptor instead.
1204 func (*ApplyConfigTaskOutput_OSPolicyResult) Descriptor() ([]byte, []int) {
1205 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP(), []int{9, 0}
1206 }
1207
1208 func (x *ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyId() string {
1209 if x != nil {
1210 return x.OsPolicyId
1211 }
1212 return ""
1213 }
1214
1215 func (x *ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyAssignment() string {
1216 if x != nil {
1217 return x.OsPolicyAssignment
1218 }
1219 return ""
1220 }
1221
1222 func (x *ApplyConfigTaskOutput_OSPolicyResult) GetOsPolicyResourceCompliances() []*OSPolicyResourceCompliance {
1223 if x != nil {
1224 return x.OsPolicyResourceCompliances
1225 }
1226 return nil
1227 }
1228
1229 var File_google_cloud_osconfig_agentendpoint_v1_tasks_proto protoreflect.FileDescriptor
1230
1231 var file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDesc = []byte{
1232 0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f,
1233 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64,
1234 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70,
1235 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1236 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e,
1237 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f,
1238 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
1239 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67,
1240 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
1241 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1242 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f,
1243 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x31,
1244 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70,
1245 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f,
1246 0x75, 0x64, 0x2f, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61, 0x67, 0x65, 0x6e,
1247 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x73, 0x5f,
1248 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x67, 0x6f,
1249 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x73, 0x63, 0x6f, 0x6e,
1250 0x66, 0x69, 0x67, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
1251 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6a, 0x6f, 0x62, 0x73, 0x2e,
1252 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb5, 0x05, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x17,
1253 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1254 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x4d, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f,
1255 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f,
1256 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66,
1257 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
1258 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x74, 0x61,
1259 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x5c, 0x0a, 0x0e, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x64,
1260 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35,
1261 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73,
1262 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70,
1263 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x69, 0x72, 0x65,
1264 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x44, 0x69, 0x72, 0x65, 0x63,
1265 0x74, 0x69, 0x76, 0x65, 0x12, 0x68, 0x0a, 0x12, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x70, 0x61,
1266 0x74, 0x63, 0x68, 0x65, 0x73, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
1267 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1268 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e,
1269 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50,
1270 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x10, 0x61, 0x70,
1271 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x5c,
1272 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x73, 0x74, 0x65, 0x70, 0x5f, 0x74, 0x61, 0x73, 0x6b,
1273 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1274 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61,
1275 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e,
1276 0x45, 0x78, 0x65, 0x63, 0x53, 0x74, 0x65, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0c,
1277 0x65, 0x78, 0x65, 0x63, 0x53, 0x74, 0x65, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x65, 0x0a, 0x11,
1278 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x74, 0x61, 0x73,
1279 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1280 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
1281 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31,
1282 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x61, 0x73, 0x6b,
1283 0x48, 0x00, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54,
1284 0x61, 0x73, 0x6b, 0x12, 0x66, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6c,
1285 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f,
1286 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e,
1287 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
1288 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
1289 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x73, 0x65,
1290 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x40, 0x0a, 0x12, 0x53,
1291 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72,
1292 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
1293 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
1294 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0e, 0x0a,
1295 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x83, 0x01,
1296 0x0a, 0x10, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x54, 0x61,
1297 0x73, 0x6b, 0x12, 0x56, 0x0a, 0x0c, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
1298 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1299 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1300 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76,
1301 0x31, 0x2e, 0x50, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x70,
1302 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72,
1303 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79,
1304 0x52, 0x75, 0x6e, 0x22, 0xe8, 0x01, 0x0a, 0x18, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74,
1305 0x63, 0x68, 0x65, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73,
1306 0x12, 0x61, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
1307 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f,
1308 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64,
1309 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61,
1310 0x74, 0x63, 0x68, 0x65, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73,
1311 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x73, 0x74,
1312 0x61, 0x74, 0x65, 0x22, 0x69, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11,
1313 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
1314 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x04,
1315 0x12, 0x17, 0x0a, 0x13, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x4f, 0x41, 0x44, 0x49, 0x4e, 0x47, 0x5f,
1316 0x50, 0x41, 0x54, 0x43, 0x48, 0x45, 0x53, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x50, 0x50,
1317 0x4c, 0x59, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x41, 0x54, 0x43, 0x48, 0x45, 0x53, 0x10, 0x02, 0x12,
1318 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x42, 0x4f, 0x4f, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x22, 0xd3,
1319 0x01, 0x0a, 0x16, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x54,
1320 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x5f, 0x0a, 0x05, 0x73, 0x74, 0x61,
1321 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1322 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1323 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76,
1324 0x31, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x54, 0x61,
1325 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03,
1326 0xe0, 0x41, 0x02, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x58, 0x0a, 0x05, 0x53, 0x74,
1327 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53,
1328 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55,
1329 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x55, 0x43,
1330 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x42, 0x4f, 0x4f, 0x54, 0x5f, 0x52, 0x45,
1331 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c,
1332 0x45, 0x44, 0x10, 0x03, 0x22, 0x5d, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x53, 0x74, 0x65, 0x70,
1333 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4d, 0x0a, 0x09, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x73, 0x74, 0x65,
1334 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1335 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
1336 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31,
1337 0x2e, 0x45, 0x78, 0x65, 0x63, 0x53, 0x74, 0x65, 0x70, 0x52, 0x08, 0x65, 0x78, 0x65, 0x63, 0x53,
1338 0x74, 0x65, 0x70, 0x22, 0xa2, 0x01, 0x0a, 0x14, 0x45, 0x78, 0x65, 0x63, 0x53, 0x74, 0x65, 0x70,
1339 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x5d, 0x0a, 0x05,
1340 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x42, 0x2e, 0x67, 0x6f,
1341 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e,
1342 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
1343 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x53, 0x74, 0x65, 0x70, 0x54, 0x61, 0x73,
1344 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42,
1345 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x2b, 0x0a, 0x05, 0x53,
1346 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e,
1347 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53,
1348 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x22, 0xe0, 0x01, 0x0a, 0x12, 0x45, 0x78, 0x65,
1349 0x63, 0x53, 0x74, 0x65, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12,
1350 0x5b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40,
1351 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73,
1352 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70,
1353 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x53, 0x74, 0x65, 0x70,
1354 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65,
1355 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x09,
1356 0x65, 0x78, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42,
1357 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x4b,
1358 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45,
1359 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d,
1360 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a,
1361 0x09, 0x54, 0x49, 0x4d, 0x45, 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09,
1362 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x22, 0x98, 0x03, 0x0a, 0x0f,
1363 0x41, 0x70, 0x70, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x12,
1364 0x61, 0x0a, 0x0b, 0x6f, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01,
1365 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
1366 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65,
1367 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70,
1368 0x70, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x4f, 0x53,
1369 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0a, 0x6f, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
1370 0x65, 0x73, 0x1a, 0xa1, 0x02, 0x0a, 0x08, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12,
1371 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
1372 0x49, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e,
1373 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63,
1374 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f,
1375 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
1376 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x61, 0x0a, 0x14, 0x6f, 0x73,
1377 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65,
1378 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x6f,
1379 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
1380 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41,
1381 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x12, 0x6f, 0x73, 0x50, 0x6f, 0x6c,
1382 0x69, 0x63, 0x79, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x57, 0x0a,
1383 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
1384 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1385 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e,
1386 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69,
1387 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73,
1388 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0xb8, 0x01, 0x0a, 0x17, 0x41, 0x70, 0x70, 0x6c, 0x79,
1389 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65,
1390 0x73, 0x73, 0x12, 0x5b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
1391 0x0e, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1392 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65,
1393 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79,
1394 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65,
1395 0x73, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22,
1396 0x40, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54,
1397 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
1398 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f,
1399 0x41, 0x50, 0x50, 0x4c, 0x59, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10,
1400 0x02, 0x22, 0xdd, 0x04, 0x0a, 0x15, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1401 0x67, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x5e, 0x0a, 0x05, 0x73,
1402 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f,
1403 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66,
1404 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
1405 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54,
1406 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42,
1407 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x78, 0x0a, 0x11, 0x6f,
1408 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73,
1409 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1410 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61,
1411 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e,
1412 0x41, 0x70, 0x70, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x61, 0x73, 0x6b, 0x4f,
1413 0x75, 0x74, 0x70, 0x75, 0x74, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65,
1414 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0f, 0x6f, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65,
1415 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x9f, 0x02, 0x0a, 0x0e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69,
1416 0x63, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x20, 0x0a, 0x0c, 0x6f, 0x73, 0x5f, 0x70,
1417 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
1418 0x6f, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x61, 0x0a, 0x14, 0x6f, 0x73,
1419 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65,
1420 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x6f,
1421 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
1422 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41,
1423 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x12, 0x6f, 0x73, 0x50, 0x6f, 0x6c,
1424 0x69, 0x63, 0x79, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x87, 0x01,
1425 0x0a, 0x1e, 0x6f, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x6f,
1426 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x73,
1427 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1428 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61,
1429 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e,
1430 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
1431 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x1b, 0x6f, 0x73, 0x50, 0x6f,
1432 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x70,
1433 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22, 0x48, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65,
1434 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
1435 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45,
1436 0x45, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44,
1437 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10,
1438 0x03, 0x2a, 0x47, 0x0a, 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69,
1439 0x76, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x44, 0x49, 0x52, 0x45, 0x43,
1440 0x54, 0x49, 0x56, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
1441 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, 0x55, 0x45, 0x10, 0x01,
1442 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, 0x4f, 0x50, 0x10, 0x02, 0x2a, 0x63, 0x0a, 0x08, 0x54, 0x61,
1443 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x54,
1444 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
1445 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x50, 0x50, 0x4c, 0x59, 0x5f, 0x50, 0x41, 0x54, 0x43, 0x48,
1446 0x45, 0x53, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x58, 0x45, 0x43, 0x5f, 0x53, 0x54, 0x45,
1447 0x50, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x50, 0x50, 0x4c,
1448 0x59, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x10, 0x03, 0x42,
1449 0x8b, 0x02, 0xea, 0x41, 0x80, 0x01, 0x0a, 0x2a, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1450 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
1451 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65,
1452 0x6e, 0x74, 0x12, 0x52, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72,
1453 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
1454 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6f, 0x73, 0x50, 0x6f,
1455 0x6c, 0x69, 0x63, 0x79, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f,
1456 0x7b, 0x6f, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67,
1457 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x7d, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1458 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69,
1459 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e,
1460 0x76, 0x31, 0x42, 0x05, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x50, 0x01, 0x5a, 0x50, 0x63, 0x6c, 0x6f,
1461 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
1462 0x2f, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65,
1463 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x67,
1464 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x70, 0x62, 0x3b, 0x61, 0x67,
1465 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x70, 0x62, 0x62, 0x06, 0x70,
1466 0x72, 0x6f, 0x74, 0x6f, 0x33,
1467 }
1468
1469 var (
1470 file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescOnce sync.Once
1471 file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescData = file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDesc
1472 )
1473
1474 func file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescGZIP() []byte {
1475 file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescOnce.Do(func() {
1476 file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescData)
1477 })
1478 return file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDescData
1479 }
1480
1481 var file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes = make([]protoimpl.EnumInfo, 8)
1482 var file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
1483 var file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_goTypes = []any{
1484 (TaskDirective)(0), // 0: google.cloud.osconfig.agentendpoint.v1.TaskDirective
1485 (TaskType)(0), // 1: google.cloud.osconfig.agentendpoint.v1.TaskType
1486 (ApplyPatchesTaskProgress_State)(0), // 2: google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskProgress.State
1487 (ApplyPatchesTaskOutput_State)(0), // 3: google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskOutput.State
1488 (ExecStepTaskProgress_State)(0), // 4: google.cloud.osconfig.agentendpoint.v1.ExecStepTaskProgress.State
1489 (ExecStepTaskOutput_State)(0), // 5: google.cloud.osconfig.agentendpoint.v1.ExecStepTaskOutput.State
1490 (ApplyConfigTaskProgress_State)(0), // 6: google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskProgress.State
1491 (ApplyConfigTaskOutput_State)(0), // 7: google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskOutput.State
1492 (*Task)(nil), // 8: google.cloud.osconfig.agentendpoint.v1.Task
1493 (*ApplyPatchesTask)(nil), // 9: google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTask
1494 (*ApplyPatchesTaskProgress)(nil), // 10: google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskProgress
1495 (*ApplyPatchesTaskOutput)(nil), // 11: google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskOutput
1496 (*ExecStepTask)(nil), // 12: google.cloud.osconfig.agentendpoint.v1.ExecStepTask
1497 (*ExecStepTaskProgress)(nil), // 13: google.cloud.osconfig.agentendpoint.v1.ExecStepTaskProgress
1498 (*ExecStepTaskOutput)(nil), // 14: google.cloud.osconfig.agentendpoint.v1.ExecStepTaskOutput
1499 (*ApplyConfigTask)(nil), // 15: google.cloud.osconfig.agentendpoint.v1.ApplyConfigTask
1500 (*ApplyConfigTaskProgress)(nil), // 16: google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskProgress
1501 (*ApplyConfigTaskOutput)(nil), // 17: google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskOutput
1502 nil, // 18: google.cloud.osconfig.agentendpoint.v1.Task.ServiceLabelsEntry
1503 (*ApplyConfigTask_OSPolicy)(nil), // 19: google.cloud.osconfig.agentendpoint.v1.ApplyConfigTask.OSPolicy
1504 (*ApplyConfigTaskOutput_OSPolicyResult)(nil), // 20: google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskOutput.OSPolicyResult
1505 (*PatchConfig)(nil), // 21: google.cloud.osconfig.agentendpoint.v1.PatchConfig
1506 (*ExecStep)(nil), // 22: google.cloud.osconfig.agentendpoint.v1.ExecStep
1507 (OSPolicy_Mode)(0), // 23: google.cloud.osconfig.agentendpoint.v1.OSPolicy.Mode
1508 (*OSPolicy_Resource)(nil), // 24: google.cloud.osconfig.agentendpoint.v1.OSPolicy.Resource
1509 (*OSPolicyResourceCompliance)(nil), // 25: google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceCompliance
1510 }
1511 var file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_depIdxs = []int32{
1512 1, // 0: google.cloud.osconfig.agentendpoint.v1.Task.task_type:type_name -> google.cloud.osconfig.agentendpoint.v1.TaskType
1513 0, // 1: google.cloud.osconfig.agentendpoint.v1.Task.task_directive:type_name -> google.cloud.osconfig.agentendpoint.v1.TaskDirective
1514 9, // 2: google.cloud.osconfig.agentendpoint.v1.Task.apply_patches_task:type_name -> google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTask
1515 12, // 3: google.cloud.osconfig.agentendpoint.v1.Task.exec_step_task:type_name -> google.cloud.osconfig.agentendpoint.v1.ExecStepTask
1516 15, // 4: google.cloud.osconfig.agentendpoint.v1.Task.apply_config_task:type_name -> google.cloud.osconfig.agentendpoint.v1.ApplyConfigTask
1517 18, // 5: google.cloud.osconfig.agentendpoint.v1.Task.service_labels:type_name -> google.cloud.osconfig.agentendpoint.v1.Task.ServiceLabelsEntry
1518 21, // 6: google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTask.patch_config:type_name -> google.cloud.osconfig.agentendpoint.v1.PatchConfig
1519 2, // 7: google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskProgress.state:type_name -> google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskProgress.State
1520 3, // 8: google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskOutput.state:type_name -> google.cloud.osconfig.agentendpoint.v1.ApplyPatchesTaskOutput.State
1521 22, // 9: google.cloud.osconfig.agentendpoint.v1.ExecStepTask.exec_step:type_name -> google.cloud.osconfig.agentendpoint.v1.ExecStep
1522 4, // 10: google.cloud.osconfig.agentendpoint.v1.ExecStepTaskProgress.state:type_name -> google.cloud.osconfig.agentendpoint.v1.ExecStepTaskProgress.State
1523 5, // 11: google.cloud.osconfig.agentendpoint.v1.ExecStepTaskOutput.state:type_name -> google.cloud.osconfig.agentendpoint.v1.ExecStepTaskOutput.State
1524 19, // 12: google.cloud.osconfig.agentendpoint.v1.ApplyConfigTask.os_policies:type_name -> google.cloud.osconfig.agentendpoint.v1.ApplyConfigTask.OSPolicy
1525 6, // 13: google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskProgress.state:type_name -> google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskProgress.State
1526 7, // 14: google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskOutput.state:type_name -> google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskOutput.State
1527 20, // 15: google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskOutput.os_policy_results:type_name -> google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskOutput.OSPolicyResult
1528 23, // 16: google.cloud.osconfig.agentendpoint.v1.ApplyConfigTask.OSPolicy.mode:type_name -> google.cloud.osconfig.agentendpoint.v1.OSPolicy.Mode
1529 24, // 17: google.cloud.osconfig.agentendpoint.v1.ApplyConfigTask.OSPolicy.resources:type_name -> google.cloud.osconfig.agentendpoint.v1.OSPolicy.Resource
1530 25, // 18: google.cloud.osconfig.agentendpoint.v1.ApplyConfigTaskOutput.OSPolicyResult.os_policy_resource_compliances:type_name -> google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceCompliance
1531 19, // [19:19] is the sub-list for method output_type
1532 19, // [19:19] is the sub-list for method input_type
1533 19, // [19:19] is the sub-list for extension type_name
1534 19, // [19:19] is the sub-list for extension extendee
1535 0, // [0:19] is the sub-list for field type_name
1536 }
1537
1538 func init() { file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_init() }
1539 func file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_init() {
1540 if File_google_cloud_osconfig_agentendpoint_v1_tasks_proto != nil {
1541 return
1542 }
1543 file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_init()
1544 file_google_cloud_osconfig_agentendpoint_v1_os_policy_proto_init()
1545 file_google_cloud_osconfig_agentendpoint_v1_patch_jobs_proto_init()
1546 file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes[0].OneofWrappers = []any{
1547 (*Task_ApplyPatchesTask)(nil),
1548 (*Task_ExecStepTask)(nil),
1549 (*Task_ApplyConfigTask)(nil),
1550 }
1551 type x struct{}
1552 out := protoimpl.TypeBuilder{
1553 File: protoimpl.DescBuilder{
1554 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1555 RawDescriptor: file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDesc,
1556 NumEnums: 8,
1557 NumMessages: 13,
1558 NumExtensions: 0,
1559 NumServices: 0,
1560 },
1561 GoTypes: file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_goTypes,
1562 DependencyIndexes: file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_depIdxs,
1563 EnumInfos: file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_enumTypes,
1564 MessageInfos: file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_msgTypes,
1565 }.Build()
1566 File_google_cloud_osconfig_agentendpoint_v1_tasks_proto = out.File
1567 file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_rawDesc = nil
1568 file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_goTypes = nil
1569 file_google_cloud_osconfig_agentendpoint_v1_tasks_proto_depIdxs = nil
1570 }