Debian Codegraph @

osconfig/agentendpoint/apiv1beta/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/v1beta/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_v1beta_tasks_proto_enumTypes[0].Descriptor()
78 }
79
80 func (TaskDirective) Type() protoreflect.EnumType {
81 return &file_google_cloud_osconfig_agentendpoint_v1beta_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_v1beta_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 )
104
105 // Enum value maps for TaskType.
106 var (
107 TaskType_name = map[int32]string{
108 0: "TASK_TYPE_UNSPECIFIED",
109 1: "APPLY_PATCHES",
110 2: "EXEC_STEP_TASK",
111 }
112 TaskType_value = map[string]int32{
113 "TASK_TYPE_UNSPECIFIED": 0,
114 "APPLY_PATCHES": 1,
115 "EXEC_STEP_TASK": 2,
116 }
117 )
118
119 func (x TaskType) Enum() *TaskType {
120 p := new(TaskType)
121 *p = x
122 return p
123 }
124
125 func (x TaskType) String() string {
126 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
127 }
128
129 func (TaskType) Descriptor() protoreflect.EnumDescriptor {
130 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_enumTypes[1].Descriptor()
131 }
132
133 func (TaskType) Type() protoreflect.EnumType {
134 return &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_enumTypes[1]
135 }
136
137 func (x TaskType) Number() protoreflect.EnumNumber {
138 return protoreflect.EnumNumber(x)
139 }
140
141 // Deprecated: Use TaskType.Descriptor instead.
142 func (TaskType) EnumDescriptor() ([]byte, []int) {
143 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescGZIP(), []int{1}
144 }
145
146 // The intermediate states of applying patches.
147 type ApplyPatchesTaskProgress_State int32
148
149 const (
150 // Unspecified is invalid.
151 ApplyPatchesTaskProgress_STATE_UNSPECIFIED ApplyPatchesTaskProgress_State = 0
152 // The agent has started the patch task.
153 ApplyPatchesTaskProgress_STARTED ApplyPatchesTaskProgress_State = 4
154 // The agent is currently downloading patches.
155 ApplyPatchesTaskProgress_DOWNLOADING_PATCHES ApplyPatchesTaskProgress_State = 1
156 // The agent is currently applying patches.
157 ApplyPatchesTaskProgress_APPLYING_PATCHES ApplyPatchesTaskProgress_State = 2
158 // The agent is currently rebooting the VM instance.
159 ApplyPatchesTaskProgress_REBOOTING ApplyPatchesTaskProgress_State = 3
160 )
161
162 // Enum value maps for ApplyPatchesTaskProgress_State.
163 var (
164 ApplyPatchesTaskProgress_State_name = map[int32]string{
165 0: "STATE_UNSPECIFIED",
166 4: "STARTED",
167 1: "DOWNLOADING_PATCHES",
168 2: "APPLYING_PATCHES",
169 3: "REBOOTING",
170 }
171 ApplyPatchesTaskProgress_State_value = map[string]int32{
172 "STATE_UNSPECIFIED": 0,
173 "STARTED": 4,
174 "DOWNLOADING_PATCHES": 1,
175 "APPLYING_PATCHES": 2,
176 "REBOOTING": 3,
177 }
178 )
179
180 func (x ApplyPatchesTaskProgress_State) Enum() *ApplyPatchesTaskProgress_State {
181 p := new(ApplyPatchesTaskProgress_State)
182 *p = x
183 return p
184 }
185
186 func (x ApplyPatchesTaskProgress_State) String() string {
187 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
188 }
189
190 func (ApplyPatchesTaskProgress_State) Descriptor() protoreflect.EnumDescriptor {
191 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_enumTypes[2].Descriptor()
192 }
193
194 func (ApplyPatchesTaskProgress_State) Type() protoreflect.EnumType {
195 return &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_enumTypes[2]
196 }
197
198 func (x ApplyPatchesTaskProgress_State) Number() protoreflect.EnumNumber {
199 return protoreflect.EnumNumber(x)
200 }
201
202 // Deprecated: Use ApplyPatchesTaskProgress_State.Descriptor instead.
203 func (ApplyPatchesTaskProgress_State) EnumDescriptor() ([]byte, []int) {
204 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescGZIP(), []int{2, 0}
205 }
206
207 // The final states of applying patches.
208 type ApplyPatchesTaskOutput_State int32
209
210 const (
211 // Unspecified is invalid.
212 ApplyPatchesTaskOutput_STATE_UNSPECIFIED ApplyPatchesTaskOutput_State = 0
213 // Applying patches completed successfully.
214 ApplyPatchesTaskOutput_SUCCEEDED ApplyPatchesTaskOutput_State = 1
215 // Applying patches completed successfully, but a reboot is required.
216 ApplyPatchesTaskOutput_SUCCEEDED_REBOOT_REQUIRED ApplyPatchesTaskOutput_State = 2
217 // Applying patches failed.
218 ApplyPatchesTaskOutput_FAILED ApplyPatchesTaskOutput_State = 3
219 )
220
221 // Enum value maps for ApplyPatchesTaskOutput_State.
222 var (
223 ApplyPatchesTaskOutput_State_name = map[int32]string{
224 0: "STATE_UNSPECIFIED",
225 1: "SUCCEEDED",
226 2: "SUCCEEDED_REBOOT_REQUIRED",
227 3: "FAILED",
228 }
229 ApplyPatchesTaskOutput_State_value = map[string]int32{
230 "STATE_UNSPECIFIED": 0,
231 "SUCCEEDED": 1,
232 "SUCCEEDED_REBOOT_REQUIRED": 2,
233 "FAILED": 3,
234 }
235 )
236
237 func (x ApplyPatchesTaskOutput_State) Enum() *ApplyPatchesTaskOutput_State {
238 p := new(ApplyPatchesTaskOutput_State)
239 *p = x
240 return p
241 }
242
243 func (x ApplyPatchesTaskOutput_State) String() string {
244 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
245 }
246
247 func (ApplyPatchesTaskOutput_State) Descriptor() protoreflect.EnumDescriptor {
248 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_enumTypes[3].Descriptor()
249 }
250
251 func (ApplyPatchesTaskOutput_State) Type() protoreflect.EnumType {
252 return &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_enumTypes[3]
253 }
254
255 func (x ApplyPatchesTaskOutput_State) Number() protoreflect.EnumNumber {
256 return protoreflect.EnumNumber(x)
257 }
258
259 // Deprecated: Use ApplyPatchesTaskOutput_State.Descriptor instead.
260 func (ApplyPatchesTaskOutput_State) EnumDescriptor() ([]byte, []int) {
261 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescGZIP(), []int{3, 0}
262 }
263
264 // The intermediate states of exec steps.
265 type ExecStepTaskProgress_State int32
266
267 const (
268 // Unspecified is invalid.
269 ExecStepTaskProgress_STATE_UNSPECIFIED ExecStepTaskProgress_State = 0
270 // The agent has started the exec step task.
271 ExecStepTaskProgress_STARTED ExecStepTaskProgress_State = 1
272 )
273
274 // Enum value maps for ExecStepTaskProgress_State.
275 var (
276 ExecStepTaskProgress_State_name = map[int32]string{
277 0: "STATE_UNSPECIFIED",
278 1: "STARTED",
279 }
280 ExecStepTaskProgress_State_value = map[string]int32{
281 "STATE_UNSPECIFIED": 0,
282 "STARTED": 1,
283 }
284 )
285
286 func (x ExecStepTaskProgress_State) Enum() *ExecStepTaskProgress_State {
287 p := new(ExecStepTaskProgress_State)
288 *p = x
289 return p
290 }
291
292 func (x ExecStepTaskProgress_State) String() string {
293 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
294 }
295
296 func (ExecStepTaskProgress_State) Descriptor() protoreflect.EnumDescriptor {
297 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_enumTypes[4].Descriptor()
298 }
299
300 func (ExecStepTaskProgress_State) Type() protoreflect.EnumType {
301 return &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_enumTypes[4]
302 }
303
304 func (x ExecStepTaskProgress_State) Number() protoreflect.EnumNumber {
305 return protoreflect.EnumNumber(x)
306 }
307
308 // Deprecated: Use ExecStepTaskProgress_State.Descriptor instead.
309 func (ExecStepTaskProgress_State) EnumDescriptor() ([]byte, []int) {
310 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescGZIP(), []int{5, 0}
311 }
312
313 // The final states of exec steps.
314 type ExecStepTaskOutput_State int32
315
316 const (
317 // Unspecified is invalid.
318 ExecStepTaskOutput_STATE_UNSPECIFIED ExecStepTaskOutput_State = 0
319 // The exec step completed normally.
320 ExecStepTaskOutput_COMPLETED ExecStepTaskOutput_State = 1
321 // The exec step was terminated because it took too long.
322 ExecStepTaskOutput_TIMED_OUT ExecStepTaskOutput_State = 2
323 // The exec step task was cancelled before it started.
324 ExecStepTaskOutput_CANCELLED ExecStepTaskOutput_State = 3
325 )
326
327 // Enum value maps for ExecStepTaskOutput_State.
328 var (
329 ExecStepTaskOutput_State_name = map[int32]string{
330 0: "STATE_UNSPECIFIED",
331 1: "COMPLETED",
332 2: "TIMED_OUT",
333 3: "CANCELLED",
334 }
335 ExecStepTaskOutput_State_value = map[string]int32{
336 "STATE_UNSPECIFIED": 0,
337 "COMPLETED": 1,
338 "TIMED_OUT": 2,
339 "CANCELLED": 3,
340 }
341 )
342
343 func (x ExecStepTaskOutput_State) Enum() *ExecStepTaskOutput_State {
344 p := new(ExecStepTaskOutput_State)
345 *p = x
346 return p
347 }
348
349 func (x ExecStepTaskOutput_State) String() string {
350 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
351 }
352
353 func (ExecStepTaskOutput_State) Descriptor() protoreflect.EnumDescriptor {
354 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_enumTypes[5].Descriptor()
355 }
356
357 func (ExecStepTaskOutput_State) Type() protoreflect.EnumType {
358 return &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_enumTypes[5]
359 }
360
361 func (x ExecStepTaskOutput_State) Number() protoreflect.EnumNumber {
362 return protoreflect.EnumNumber(x)
363 }
364
365 // Deprecated: Use ExecStepTaskOutput_State.Descriptor instead.
366 func (ExecStepTaskOutput_State) EnumDescriptor() ([]byte, []int) {
367 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescGZIP(), []int{6, 0}
368 }
369
370 // A unit of work to be performed by the agent.
371 type Task struct {
372 state protoimpl.MessageState
373 sizeCache protoimpl.SizeCache
374 unknownFields protoimpl.UnknownFields
375
376 // Unique task id.
377 TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
378 // The type of task to perform.
379 //
380 // Task details must include the appropriate message based on this enum as
381 // specified below:
382 // APPLY_PATCHES = ApplyPatchesTask
383 // EXEC_STEP = ExecStepTask;
384 TaskType TaskType `protobuf:"varint,2,opt,name=task_type,json=taskType,proto3,enum=google.cloud.osconfig.agentendpoint.v1beta.TaskType" json:"task_type,omitempty"`
385 // Current directive to the agent.
386 TaskDirective TaskDirective `protobuf:"varint,3,opt,name=task_directive,json=taskDirective,proto3,enum=google.cloud.osconfig.agentendpoint.v1beta.TaskDirective" json:"task_directive,omitempty"`
387 // Specific details about the current task to perform.
388 //
389 // Types that are assignable to TaskDetails:
390 //
391 // *Task_ApplyPatchesTask
392 // *Task_ExecStepTask
393 TaskDetails isTask_TaskDetails `protobuf_oneof:"task_details"`
394 // Labels describing the task. Used for logging by the agent.
395 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"`
396 }
397
398 func (x *Task) Reset() {
399 *x = Task{}
400 mi := &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes[0]
401 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
402 ms.StoreMessageInfo(mi)
403 }
404
405 func (x *Task) String() string {
406 return protoimpl.X.MessageStringOf(x)
407 }
408
409 func (*Task) ProtoMessage() {}
410
411 func (x *Task) ProtoReflect() protoreflect.Message {
412 mi := &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes[0]
413 if x != nil {
414 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
415 if ms.LoadMessageInfo() == nil {
416 ms.StoreMessageInfo(mi)
417 }
418 return ms
419 }
420 return mi.MessageOf(x)
421 }
422
423 // Deprecated: Use Task.ProtoReflect.Descriptor instead.
424 func (*Task) Descriptor() ([]byte, []int) {
425 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescGZIP(), []int{0}
426 }
427
428 func (x *Task) GetTaskId() string {
429 if x != nil {
430 return x.TaskId
431 }
432 return ""
433 }
434
435 func (x *Task) GetTaskType() TaskType {
436 if x != nil {
437 return x.TaskType
438 }
439 return TaskType_TASK_TYPE_UNSPECIFIED
440 }
441
442 func (x *Task) GetTaskDirective() TaskDirective {
443 if x != nil {
444 return x.TaskDirective
445 }
446 return TaskDirective_TASK_DIRECTIVE_UNSPECIFIED
447 }
448
449 func (m *Task) GetTaskDetails() isTask_TaskDetails {
450 if m != nil {
451 return m.TaskDetails
452 }
453 return nil
454 }
455
456 func (x *Task) GetApplyPatchesTask() *ApplyPatchesTask {
457 if x, ok := x.GetTaskDetails().(*Task_ApplyPatchesTask); ok {
458 return x.ApplyPatchesTask
459 }
460 return nil
461 }
462
463 func (x *Task) GetExecStepTask() *ExecStepTask {
464 if x, ok := x.GetTaskDetails().(*Task_ExecStepTask); ok {
465 return x.ExecStepTask
466 }
467 return nil
468 }
469
470 func (x *Task) GetServiceLabels() map[string]string {
471 if x != nil {
472 return x.ServiceLabels
473 }
474 return nil
475 }
476
477 type isTask_TaskDetails interface {
478 isTask_TaskDetails()
479 }
480
481 type Task_ApplyPatchesTask struct {
482 // Details about the apply patches task to perform.
483 ApplyPatchesTask *ApplyPatchesTask `protobuf:"bytes,4,opt,name=apply_patches_task,json=applyPatchesTask,proto3,oneof"`
484 }
485
486 type Task_ExecStepTask struct {
487 // Details about the exec step task to perform.
488 ExecStepTask *ExecStepTask `protobuf:"bytes,5,opt,name=exec_step_task,json=execStepTask,proto3,oneof"`
489 }
490
491 func (*Task_ApplyPatchesTask) isTask_TaskDetails() {}
492
493 func (*Task_ExecStepTask) isTask_TaskDetails() {}
494
495 // Message which instructs agent to apply patches.
496 type ApplyPatchesTask struct {
497 state protoimpl.MessageState
498 sizeCache protoimpl.SizeCache
499 unknownFields protoimpl.UnknownFields
500
501 // Specific information about how patches should be applied.
502 PatchConfig *PatchConfig `protobuf:"bytes,1,opt,name=patch_config,json=patchConfig,proto3" json:"patch_config,omitempty"`
503 // If true, the agent will report its status as it goes through the motions
504 // but won't actually run any updates or perform any reboots.
505 DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
506 }
507
508 func (x *ApplyPatchesTask) Reset() {
509 *x = ApplyPatchesTask{}
510 mi := &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes[1]
511 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
512 ms.StoreMessageInfo(mi)
513 }
514
515 func (x *ApplyPatchesTask) String() string {
516 return protoimpl.X.MessageStringOf(x)
517 }
518
519 func (*ApplyPatchesTask) ProtoMessage() {}
520
521 func (x *ApplyPatchesTask) ProtoReflect() protoreflect.Message {
522 mi := &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes[1]
523 if x != nil {
524 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
525 if ms.LoadMessageInfo() == nil {
526 ms.StoreMessageInfo(mi)
527 }
528 return ms
529 }
530 return mi.MessageOf(x)
531 }
532
533 // Deprecated: Use ApplyPatchesTask.ProtoReflect.Descriptor instead.
534 func (*ApplyPatchesTask) Descriptor() ([]byte, []int) {
535 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescGZIP(), []int{1}
536 }
537
538 func (x *ApplyPatchesTask) GetPatchConfig() *PatchConfig {
539 if x != nil {
540 return x.PatchConfig
541 }
542 return nil
543 }
544
545 func (x *ApplyPatchesTask) GetDryRun() bool {
546 if x != nil {
547 return x.DryRun
548 }
549 return false
550 }
551
552 // Information reported from the agent about applying patches execution.
553 type ApplyPatchesTaskProgress struct {
554 state protoimpl.MessageState
555 sizeCache protoimpl.SizeCache
556 unknownFields protoimpl.UnknownFields
557
558 // Required. The current state of this patch execution.
559 State ApplyPatchesTaskProgress_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.osconfig.agentendpoint.v1beta.ApplyPatchesTaskProgress_State" json:"state,omitempty"`
560 }
561
562 func (x *ApplyPatchesTaskProgress) Reset() {
563 *x = ApplyPatchesTaskProgress{}
564 mi := &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes[2]
565 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
566 ms.StoreMessageInfo(mi)
567 }
568
569 func (x *ApplyPatchesTaskProgress) String() string {
570 return protoimpl.X.MessageStringOf(x)
571 }
572
573 func (*ApplyPatchesTaskProgress) ProtoMessage() {}
574
575 func (x *ApplyPatchesTaskProgress) ProtoReflect() protoreflect.Message {
576 mi := &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes[2]
577 if x != nil {
578 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
579 if ms.LoadMessageInfo() == nil {
580 ms.StoreMessageInfo(mi)
581 }
582 return ms
583 }
584 return mi.MessageOf(x)
585 }
586
587 // Deprecated: Use ApplyPatchesTaskProgress.ProtoReflect.Descriptor instead.
588 func (*ApplyPatchesTaskProgress) Descriptor() ([]byte, []int) {
589 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescGZIP(), []int{2}
590 }
591
592 func (x *ApplyPatchesTaskProgress) GetState() ApplyPatchesTaskProgress_State {
593 if x != nil {
594 return x.State
595 }
596 return ApplyPatchesTaskProgress_STATE_UNSPECIFIED
597 }
598
599 // Information reported from the agent about applying patches execution.
600 type ApplyPatchesTaskOutput struct {
601 state protoimpl.MessageState
602 sizeCache protoimpl.SizeCache
603 unknownFields protoimpl.UnknownFields
604
605 // Required. The final state of this task.
606 State ApplyPatchesTaskOutput_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.osconfig.agentendpoint.v1beta.ApplyPatchesTaskOutput_State" json:"state,omitempty"`
607 }
608
609 func (x *ApplyPatchesTaskOutput) Reset() {
610 *x = ApplyPatchesTaskOutput{}
611 mi := &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes[3]
612 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
613 ms.StoreMessageInfo(mi)
614 }
615
616 func (x *ApplyPatchesTaskOutput) String() string {
617 return protoimpl.X.MessageStringOf(x)
618 }
619
620 func (*ApplyPatchesTaskOutput) ProtoMessage() {}
621
622 func (x *ApplyPatchesTaskOutput) ProtoReflect() protoreflect.Message {
623 mi := &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes[3]
624 if x != nil {
625 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
626 if ms.LoadMessageInfo() == nil {
627 ms.StoreMessageInfo(mi)
628 }
629 return ms
630 }
631 return mi.MessageOf(x)
632 }
633
634 // Deprecated: Use ApplyPatchesTaskOutput.ProtoReflect.Descriptor instead.
635 func (*ApplyPatchesTaskOutput) Descriptor() ([]byte, []int) {
636 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescGZIP(), []int{3}
637 }
638
639 func (x *ApplyPatchesTaskOutput) GetState() ApplyPatchesTaskOutput_State {
640 if x != nil {
641 return x.State
642 }
643 return ApplyPatchesTaskOutput_STATE_UNSPECIFIED
644 }
645
646 // Message which instructs agent to execute the following command.
647 type ExecStepTask struct {
648 state protoimpl.MessageState
649 sizeCache protoimpl.SizeCache
650 unknownFields protoimpl.UnknownFields
651
652 // Details of the exec step to run.
653 ExecStep *ExecStep `protobuf:"bytes,1,opt,name=exec_step,json=execStep,proto3" json:"exec_step,omitempty"`
654 }
655
656 func (x *ExecStepTask) Reset() {
657 *x = ExecStepTask{}
658 mi := &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes[4]
659 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
660 ms.StoreMessageInfo(mi)
661 }
662
663 func (x *ExecStepTask) String() string {
664 return protoimpl.X.MessageStringOf(x)
665 }
666
667 func (*ExecStepTask) ProtoMessage() {}
668
669 func (x *ExecStepTask) ProtoReflect() protoreflect.Message {
670 mi := &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes[4]
671 if x != nil {
672 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
673 if ms.LoadMessageInfo() == nil {
674 ms.StoreMessageInfo(mi)
675 }
676 return ms
677 }
678 return mi.MessageOf(x)
679 }
680
681 // Deprecated: Use ExecStepTask.ProtoReflect.Descriptor instead.
682 func (*ExecStepTask) Descriptor() ([]byte, []int) {
683 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescGZIP(), []int{4}
684 }
685
686 func (x *ExecStepTask) GetExecStep() *ExecStep {
687 if x != nil {
688 return x.ExecStep
689 }
690 return nil
691 }
692
693 // Information reported from the agent about the exec step execution.
694 type ExecStepTaskProgress struct {
695 state protoimpl.MessageState
696 sizeCache protoimpl.SizeCache
697 unknownFields protoimpl.UnknownFields
698
699 // Required. The current state of this exec step.
700 State ExecStepTaskProgress_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.osconfig.agentendpoint.v1beta.ExecStepTaskProgress_State" json:"state,omitempty"`
701 }
702
703 func (x *ExecStepTaskProgress) Reset() {
704 *x = ExecStepTaskProgress{}
705 mi := &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes[5]
706 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
707 ms.StoreMessageInfo(mi)
708 }
709
710 func (x *ExecStepTaskProgress) String() string {
711 return protoimpl.X.MessageStringOf(x)
712 }
713
714 func (*ExecStepTaskProgress) ProtoMessage() {}
715
716 func (x *ExecStepTaskProgress) ProtoReflect() protoreflect.Message {
717 mi := &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes[5]
718 if x != nil {
719 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
720 if ms.LoadMessageInfo() == nil {
721 ms.StoreMessageInfo(mi)
722 }
723 return ms
724 }
725 return mi.MessageOf(x)
726 }
727
728 // Deprecated: Use ExecStepTaskProgress.ProtoReflect.Descriptor instead.
729 func (*ExecStepTaskProgress) Descriptor() ([]byte, []int) {
730 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescGZIP(), []int{5}
731 }
732
733 func (x *ExecStepTaskProgress) GetState() ExecStepTaskProgress_State {
734 if x != nil {
735 return x.State
736 }
737 return ExecStepTaskProgress_STATE_UNSPECIFIED
738 }
739
740 // Information reported from the agent about the exec step execution.
741 type ExecStepTaskOutput struct {
742 state protoimpl.MessageState
743 sizeCache protoimpl.SizeCache
744 unknownFields protoimpl.UnknownFields
745
746 // Required. The final state of the exec step.
747 State ExecStepTaskOutput_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.osconfig.agentendpoint.v1beta.ExecStepTaskOutput_State" json:"state,omitempty"`
748 // Required. The exit code received from the script which ran as part of the exec step.
749 ExitCode int32 `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
750 }
751
752 func (x *ExecStepTaskOutput) Reset() {
753 *x = ExecStepTaskOutput{}
754 mi := &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes[6]
755 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
756 ms.StoreMessageInfo(mi)
757 }
758
759 func (x *ExecStepTaskOutput) String() string {
760 return protoimpl.X.MessageStringOf(x)
761 }
762
763 func (*ExecStepTaskOutput) ProtoMessage() {}
764
765 func (x *ExecStepTaskOutput) ProtoReflect() protoreflect.Message {
766 mi := &file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes[6]
767 if x != nil {
768 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
769 if ms.LoadMessageInfo() == nil {
770 ms.StoreMessageInfo(mi)
771 }
772 return ms
773 }
774 return mi.MessageOf(x)
775 }
776
777 // Deprecated: Use ExecStepTaskOutput.ProtoReflect.Descriptor instead.
778 func (*ExecStepTaskOutput) Descriptor() ([]byte, []int) {
779 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescGZIP(), []int{6}
780 }
781
782 func (x *ExecStepTaskOutput) GetState() ExecStepTaskOutput_State {
783 if x != nil {
784 return x.State
785 }
786 return ExecStepTaskOutput_STATE_UNSPECIFIED
787 }
788
789 func (x *ExecStepTaskOutput) GetExitCode() int32 {
790 if x != nil {
791 return x.ExitCode
792 }
793 return 0
794 }
795
796 var File_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto protoreflect.FileDescriptor
797
798 var file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDesc = []byte{
799 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f,
800 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64,
801 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x74, 0x61, 0x73,
802 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
803 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
804 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31,
805 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
806 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
807 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c,
808 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61, 0x67, 0x65,
809 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74,
810 0x61, 0x2f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6a, 0x6f, 0x62, 0x73, 0x2e, 0x70, 0x72, 0x6f,
811 0x74, 0x6f, 0x22, 0xe2, 0x04, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x74,
812 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61,
813 0x73, 0x6b, 0x49, 0x64, 0x12, 0x51, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70,
814 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
815 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
816 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31,
817 0x62, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x74,
818 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x60, 0x0a, 0x0e, 0x74, 0x61, 0x73, 0x6b, 0x5f,
819 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
820 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f,
821 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64,
822 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x73,
823 0x6b, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x0d, 0x74, 0x61, 0x73, 0x6b,
824 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x6c, 0x0a, 0x12, 0x61, 0x70, 0x70,
825 0x6c, 0x79, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18,
826 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
827 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67,
828 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x62, 0x65,
829 0x74, 0x61, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x54,
830 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63,
831 0x68, 0x65, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x60, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x5f,
832 0x73, 0x74, 0x65, 0x70, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
833 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f,
834 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64,
835 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65,
836 0x63, 0x53, 0x74, 0x65, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0c, 0x65, 0x78, 0x65,
837 0x63, 0x53, 0x74, 0x65, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x6a, 0x0a, 0x0e, 0x73, 0x65, 0x72,
838 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
839 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
840 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65,
841 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x54,
842 0x61, 0x73, 0x6b, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c,
843 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c,
844 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x40, 0x0a, 0x12, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
845 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
846 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
847 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
848 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x5f,
849 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x87, 0x01, 0x0a, 0x10, 0x41, 0x70, 0x70, 0x6c,
850 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x5a, 0x0a, 0x0c,
851 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01,
852 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
853 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74,
854 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e,
855 0x50, 0x61, 0x74, 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x70, 0x61, 0x74,
856 0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f,
857 0x72, 0x75, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75,
858 0x6e, 0x22, 0xec, 0x01, 0x0a, 0x18, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68,
859 0x65, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x65,
860 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4a, 0x2e,
861 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63,
862 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f,
863 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79,
864 0x50, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72,
865 0x65, 0x73, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05,
866 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x69, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15,
867 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
868 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44,
869 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x4f, 0x41, 0x44, 0x49, 0x4e,
870 0x47, 0x5f, 0x50, 0x41, 0x54, 0x43, 0x48, 0x45, 0x53, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x41,
871 0x50, 0x50, 0x4c, 0x59, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x41, 0x54, 0x43, 0x48, 0x45, 0x53, 0x10,
872 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x42, 0x4f, 0x4f, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03,
873 0x22, 0xd7, 0x01, 0x0a, 0x16, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x65,
874 0x73, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x63, 0x0a, 0x05, 0x73,
875 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x48, 0x2e, 0x67, 0x6f, 0x6f,
876 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66,
877 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
878 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74,
879 0x63, 0x68, 0x65, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2e, 0x53,
880 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
881 0x22, 0x58, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41,
882 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
883 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12,
884 0x1d, 0x0a, 0x19, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x42,
885 0x4f, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0a,
886 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x22, 0x61, 0x0a, 0x0c, 0x45, 0x78,
887 0x65, 0x63, 0x53, 0x74, 0x65, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x51, 0x0a, 0x09, 0x65, 0x78,
888 0x65, 0x63, 0x5f, 0x73, 0x74, 0x65, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e,
889 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63,
890 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f,
891 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x53,
892 0x74, 0x65, 0x70, 0x52, 0x08, 0x65, 0x78, 0x65, 0x63, 0x53, 0x74, 0x65, 0x70, 0x22, 0xa6, 0x01,
893 0x0a, 0x14, 0x45, 0x78, 0x65, 0x63, 0x53, 0x74, 0x65, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72,
894 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x61, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18,
895 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
896 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67,
897 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x62, 0x65,
898 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x53, 0x74, 0x65, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x50,
899 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0,
900 0x41, 0x02, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x2b, 0x0a, 0x05, 0x53, 0x74, 0x61,
901 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
902 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x41,
903 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x22, 0xe4, 0x01, 0x0a, 0x12, 0x45, 0x78, 0x65, 0x63, 0x53,
904 0x74, 0x65, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x5f, 0x0a,
905 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x44, 0x2e, 0x67,
906 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f,
907 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
908 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x53, 0x74,
909 0x65, 0x70, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2e, 0x53, 0x74, 0x61,
910 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20,
911 0x0a, 0x09, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
912 0x05, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65,
913 0x22, 0x4b, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41,
914 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
915 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12,
916 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x02, 0x12, 0x0d,
917 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x2a, 0x47, 0x0a,
918 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x1e,
919 0x0a, 0x1a, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x56, 0x45,
920 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c,
921 0x0a, 0x08, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, 0x55, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04,
922 0x53, 0x54, 0x4f, 0x50, 0x10, 0x02, 0x2a, 0x4c, 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x79,
923 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
924 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a,
925 0x0d, 0x41, 0x50, 0x50, 0x4c, 0x59, 0x5f, 0x50, 0x41, 0x54, 0x43, 0x48, 0x45, 0x53, 0x10, 0x01,
926 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x58, 0x45, 0x43, 0x5f, 0x53, 0x54, 0x45, 0x50, 0x5f, 0x54, 0x41,
927 0x53, 0x4b, 0x10, 0x02, 0x42, 0xac, 0x01, 0x0a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
928 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66,
929 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
930 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x05, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x5a, 0x54,
931 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
932 0x2f, 0x67, 0x6f, 0x2f, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61, 0x67, 0x65,
933 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31,
934 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
935 0x6e, 0x74, 0x70, 0x62, 0x3b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
936 0x6e, 0x74, 0x70, 0x62, 0xca, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
937 0x6f, 0x75, 0x64, 0x5c, 0x4f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5c, 0x56, 0x31, 0x62,
938 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
939 }
940
941 var (
942 file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescOnce sync.Once
943 file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescData = file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDesc
944 )
945
946 func file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescGZIP() []byte {
947 file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescOnce.Do(func() {
948 file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescData)
949 })
950 return file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDescData
951 }
952
953 var file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
954 var file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
955 var file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_goTypes = []any{
956 (TaskDirective)(0), // 0: google.cloud.osconfig.agentendpoint.v1beta.TaskDirective
957 (TaskType)(0), // 1: google.cloud.osconfig.agentendpoint.v1beta.TaskType
958 (ApplyPatchesTaskProgress_State)(0), // 2: google.cloud.osconfig.agentendpoint.v1beta.ApplyPatchesTaskProgress.State
959 (ApplyPatchesTaskOutput_State)(0), // 3: google.cloud.osconfig.agentendpoint.v1beta.ApplyPatchesTaskOutput.State
960 (ExecStepTaskProgress_State)(0), // 4: google.cloud.osconfig.agentendpoint.v1beta.ExecStepTaskProgress.State
961 (ExecStepTaskOutput_State)(0), // 5: google.cloud.osconfig.agentendpoint.v1beta.ExecStepTaskOutput.State
962 (*Task)(nil), // 6: google.cloud.osconfig.agentendpoint.v1beta.Task
963 (*ApplyPatchesTask)(nil), // 7: google.cloud.osconfig.agentendpoint.v1beta.ApplyPatchesTask
964 (*ApplyPatchesTaskProgress)(nil), // 8: google.cloud.osconfig.agentendpoint.v1beta.ApplyPatchesTaskProgress
965 (*ApplyPatchesTaskOutput)(nil), // 9: google.cloud.osconfig.agentendpoint.v1beta.ApplyPatchesTaskOutput
966 (*ExecStepTask)(nil), // 10: google.cloud.osconfig.agentendpoint.v1beta.ExecStepTask
967 (*ExecStepTaskProgress)(nil), // 11: google.cloud.osconfig.agentendpoint.v1beta.ExecStepTaskProgress
968 (*ExecStepTaskOutput)(nil), // 12: google.cloud.osconfig.agentendpoint.v1beta.ExecStepTaskOutput
969 nil, // 13: google.cloud.osconfig.agentendpoint.v1beta.Task.ServiceLabelsEntry
970 (*PatchConfig)(nil), // 14: google.cloud.osconfig.agentendpoint.v1beta.PatchConfig
971 (*ExecStep)(nil), // 15: google.cloud.osconfig.agentendpoint.v1beta.ExecStep
972 }
973 var file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_depIdxs = []int32{
974 1, // 0: google.cloud.osconfig.agentendpoint.v1beta.Task.task_type:type_name -> google.cloud.osconfig.agentendpoint.v1beta.TaskType
975 0, // 1: google.cloud.osconfig.agentendpoint.v1beta.Task.task_directive:type_name -> google.cloud.osconfig.agentendpoint.v1beta.TaskDirective
976 7, // 2: google.cloud.osconfig.agentendpoint.v1beta.Task.apply_patches_task:type_name -> google.cloud.osconfig.agentendpoint.v1beta.ApplyPatchesTask
977 10, // 3: google.cloud.osconfig.agentendpoint.v1beta.Task.exec_step_task:type_name -> google.cloud.osconfig.agentendpoint.v1beta.ExecStepTask
978 13, // 4: google.cloud.osconfig.agentendpoint.v1beta.Task.service_labels:type_name -> google.cloud.osconfig.agentendpoint.v1beta.Task.ServiceLabelsEntry
979 14, // 5: google.cloud.osconfig.agentendpoint.v1beta.ApplyPatchesTask.patch_config:type_name -> google.cloud.osconfig.agentendpoint.v1beta.PatchConfig
980 2, // 6: google.cloud.osconfig.agentendpoint.v1beta.ApplyPatchesTaskProgress.state:type_name -> google.cloud.osconfig.agentendpoint.v1beta.ApplyPatchesTaskProgress.State
981 3, // 7: google.cloud.osconfig.agentendpoint.v1beta.ApplyPatchesTaskOutput.state:type_name -> google.cloud.osconfig.agentendpoint.v1beta.ApplyPatchesTaskOutput.State
982 15, // 8: google.cloud.osconfig.agentendpoint.v1beta.ExecStepTask.exec_step:type_name -> google.cloud.osconfig.agentendpoint.v1beta.ExecStep
983 4, // 9: google.cloud.osconfig.agentendpoint.v1beta.ExecStepTaskProgress.state:type_name -> google.cloud.osconfig.agentendpoint.v1beta.ExecStepTaskProgress.State
984 5, // 10: google.cloud.osconfig.agentendpoint.v1beta.ExecStepTaskOutput.state:type_name -> google.cloud.osconfig.agentendpoint.v1beta.ExecStepTaskOutput.State
985 11, // [11:11] is the sub-list for method output_type
986 11, // [11:11] is the sub-list for method input_type
987 11, // [11:11] is the sub-list for extension type_name
988 11, // [11:11] is the sub-list for extension extendee
989 0, // [0:11] is the sub-list for field type_name
990 }
991
992 func init() { file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_init() }
993 func file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_init() {
994 if File_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto != nil {
995 return
996 }
997 file_google_cloud_osconfig_agentendpoint_v1beta_patch_jobs_proto_init()
998 file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes[0].OneofWrappers = []any{
999 (*Task_ApplyPatchesTask)(nil),
1000 (*Task_ExecStepTask)(nil),
1001 }
1002 type x struct{}
1003 out := protoimpl.TypeBuilder{
1004 File: protoimpl.DescBuilder{
1005 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1006 RawDescriptor: file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDesc,
1007 NumEnums: 6,
1008 NumMessages: 8,
1009 NumExtensions: 0,
1010 NumServices: 0,
1011 },
1012 GoTypes: file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_goTypes,
1013 DependencyIndexes: file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_depIdxs,
1014 EnumInfos: file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_enumTypes,
1015 MessageInfos: file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_msgTypes,
1016 }.Build()
1017 File_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto = out.File
1018 file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_rawDesc = nil
1019 file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_goTypes = nil
1020 file_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto_depIdxs = nil
1021 }