Debian Codegraph @

osconfig/apiv1alpha/osconfigpb/os_policy.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/v1alpha/os_policy.proto
20
21 package osconfigpb
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 // Policy mode
39 type OSPolicy_Mode int32
40
41 const (
42 // Invalid mode
43 OSPolicy_MODE_UNSPECIFIED OSPolicy_Mode = 0
44 // This mode checks if the configuration resources in the policy are in
45 // their desired state. No actions are performed if they are not in the
46 // desired state. This mode is used for reporting purposes.
47 OSPolicy_VALIDATION OSPolicy_Mode = 1
48 // This mode checks if the configuration resources in the policy are in
49 // their desired state, and if not, enforces the desired state.
50 OSPolicy_ENFORCEMENT OSPolicy_Mode = 2
51 )
52
53 // Enum value maps for OSPolicy_Mode.
54 var (
55 OSPolicy_Mode_name = map[int32]string{
56 0: "MODE_UNSPECIFIED",
57 1: "VALIDATION",
58 2: "ENFORCEMENT",
59 }
60 OSPolicy_Mode_value = map[string]int32{
61 "MODE_UNSPECIFIED": 0,
62 "VALIDATION": 1,
63 "ENFORCEMENT": 2,
64 }
65 )
66
67 func (x OSPolicy_Mode) Enum() *OSPolicy_Mode {
68 p := new(OSPolicy_Mode)
69 *p = x
70 return p
71 }
72
73 func (x OSPolicy_Mode) String() string {
74 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
75 }
76
77 func (OSPolicy_Mode) Descriptor() protoreflect.EnumDescriptor {
78 return file_google_cloud_osconfig_v1alpha_os_policy_proto_enumTypes[0].Descriptor()
79 }
80
81 func (OSPolicy_Mode) Type() protoreflect.EnumType {
82 return &file_google_cloud_osconfig_v1alpha_os_policy_proto_enumTypes[0]
83 }
84
85 func (x OSPolicy_Mode) Number() protoreflect.EnumNumber {
86 return protoreflect.EnumNumber(x)
87 }
88
89 // Deprecated: Use OSPolicy_Mode.Descriptor instead.
90 func (OSPolicy_Mode) EnumDescriptor() ([]byte, []int) {
91 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 0}
92 }
93
94 // The desired state that the OS Config agent maintains on the VM.
95 type OSPolicy_Resource_PackageResource_DesiredState int32
96
97 const (
98 // Unspecified is invalid.
99 OSPolicy_Resource_PackageResource_DESIRED_STATE_UNSPECIFIED OSPolicy_Resource_PackageResource_DesiredState = 0
100 // Ensure that the package is installed.
101 OSPolicy_Resource_PackageResource_INSTALLED OSPolicy_Resource_PackageResource_DesiredState = 1
102 // The agent ensures that the package is not installed and
103 // uninstalls it if detected.
104 OSPolicy_Resource_PackageResource_REMOVED OSPolicy_Resource_PackageResource_DesiredState = 2
105 )
106
107 // Enum value maps for OSPolicy_Resource_PackageResource_DesiredState.
108 var (
109 OSPolicy_Resource_PackageResource_DesiredState_name = map[int32]string{
110 0: "DESIRED_STATE_UNSPECIFIED",
111 1: "INSTALLED",
112 2: "REMOVED",
113 }
114 OSPolicy_Resource_PackageResource_DesiredState_value = map[string]int32{
115 "DESIRED_STATE_UNSPECIFIED": 0,
116 "INSTALLED": 1,
117 "REMOVED": 2,
118 }
119 )
120
121 func (x OSPolicy_Resource_PackageResource_DesiredState) Enum() *OSPolicy_Resource_PackageResource_DesiredState {
122 p := new(OSPolicy_Resource_PackageResource_DesiredState)
123 *p = x
124 return p
125 }
126
127 func (x OSPolicy_Resource_PackageResource_DesiredState) String() string {
128 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
129 }
130
131 func (OSPolicy_Resource_PackageResource_DesiredState) Descriptor() protoreflect.EnumDescriptor {
132 return file_google_cloud_osconfig_v1alpha_os_policy_proto_enumTypes[1].Descriptor()
133 }
134
135 func (OSPolicy_Resource_PackageResource_DesiredState) Type() protoreflect.EnumType {
136 return &file_google_cloud_osconfig_v1alpha_os_policy_proto_enumTypes[1]
137 }
138
139 func (x OSPolicy_Resource_PackageResource_DesiredState) Number() protoreflect.EnumNumber {
140 return protoreflect.EnumNumber(x)
141 }
142
143 // Deprecated: Use OSPolicy_Resource_PackageResource_DesiredState.Descriptor instead.
144 func (OSPolicy_Resource_PackageResource_DesiredState) EnumDescriptor() ([]byte, []int) {
145 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 1, 0}
146 }
147
148 // Type of archive.
149 type OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType int32
150
151 const (
152 // Unspecified is invalid.
153 OSPolicy_Resource_RepositoryResource_AptRepository_ARCHIVE_TYPE_UNSPECIFIED OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType = 0
154 // Deb indicates that the archive contains binary files.
155 OSPolicy_Resource_RepositoryResource_AptRepository_DEB OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType = 1
156 // Deb-src indicates that the archive contains source files.
157 OSPolicy_Resource_RepositoryResource_AptRepository_DEB_SRC OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType = 2
158 )
159
160 // Enum value maps for OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType.
161 var (
162 OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType_name = map[int32]string{
163 0: "ARCHIVE_TYPE_UNSPECIFIED",
164 1: "DEB",
165 2: "DEB_SRC",
166 }
167 OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType_value = map[string]int32{
168 "ARCHIVE_TYPE_UNSPECIFIED": 0,
169 "DEB": 1,
170 "DEB_SRC": 2,
171 }
172 )
173
174 func (x OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Enum() *OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType {
175 p := new(OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType)
176 *p = x
177 return p
178 }
179
180 func (x OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) String() string {
181 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
182 }
183
184 func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Descriptor() protoreflect.EnumDescriptor {
185 return file_google_cloud_osconfig_v1alpha_os_policy_proto_enumTypes[2].Descriptor()
186 }
187
188 func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Type() protoreflect.EnumType {
189 return &file_google_cloud_osconfig_v1alpha_os_policy_proto_enumTypes[2]
190 }
191
192 func (x OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) Number() protoreflect.EnumNumber {
193 return protoreflect.EnumNumber(x)
194 }
195
196 // Deprecated: Use OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType.Descriptor instead.
197 func (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType) EnumDescriptor() ([]byte, []int) {
198 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 2, 0, 0}
199 }
200
201 // The interpreter to use.
202 type OSPolicy_Resource_ExecResource_Exec_Interpreter int32
203
204 const (
205 // Invalid value, the request will return validation error.
206 OSPolicy_Resource_ExecResource_Exec_INTERPRETER_UNSPECIFIED OSPolicy_Resource_ExecResource_Exec_Interpreter = 0
207 // If an interpreter is not specified, the
208 // source is executed directly. This execution, without an
209 // interpreter, only succeeds for executables and scripts that have <a
210 // href="https://en.wikipedia.org/wiki/Shebang_(Unix)"
211 // class="external">shebang lines</a>.
212 OSPolicy_Resource_ExecResource_Exec_NONE OSPolicy_Resource_ExecResource_Exec_Interpreter = 1
213 // Indicates that the script runs with `/bin/sh` on Linux and
214 // `cmd.exe` on Windows.
215 OSPolicy_Resource_ExecResource_Exec_SHELL OSPolicy_Resource_ExecResource_Exec_Interpreter = 2
216 // Indicates that the script runs with PowerShell.
217 OSPolicy_Resource_ExecResource_Exec_POWERSHELL OSPolicy_Resource_ExecResource_Exec_Interpreter = 3
218 )
219
220 // Enum value maps for OSPolicy_Resource_ExecResource_Exec_Interpreter.
221 var (
222 OSPolicy_Resource_ExecResource_Exec_Interpreter_name = map[int32]string{
223 0: "INTERPRETER_UNSPECIFIED",
224 1: "NONE",
225 2: "SHELL",
226 3: "POWERSHELL",
227 }
228 OSPolicy_Resource_ExecResource_Exec_Interpreter_value = map[string]int32{
229 "INTERPRETER_UNSPECIFIED": 0,
230 "NONE": 1,
231 "SHELL": 2,
232 "POWERSHELL": 3,
233 }
234 )
235
236 func (x OSPolicy_Resource_ExecResource_Exec_Interpreter) Enum() *OSPolicy_Resource_ExecResource_Exec_Interpreter {
237 p := new(OSPolicy_Resource_ExecResource_Exec_Interpreter)
238 *p = x
239 return p
240 }
241
242 func (x OSPolicy_Resource_ExecResource_Exec_Interpreter) String() string {
243 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
244 }
245
246 func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Descriptor() protoreflect.EnumDescriptor {
247 return file_google_cloud_osconfig_v1alpha_os_policy_proto_enumTypes[3].Descriptor()
248 }
249
250 func (OSPolicy_Resource_ExecResource_Exec_Interpreter) Type() protoreflect.EnumType {
251 return &file_google_cloud_osconfig_v1alpha_os_policy_proto_enumTypes[3]
252 }
253
254 func (x OSPolicy_Resource_ExecResource_Exec_Interpreter) Number() protoreflect.EnumNumber {
255 return protoreflect.EnumNumber(x)
256 }
257
258 // Deprecated: Use OSPolicy_Resource_ExecResource_Exec_Interpreter.Descriptor instead.
259 func (OSPolicy_Resource_ExecResource_Exec_Interpreter) EnumDescriptor() ([]byte, []int) {
260 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 3, 0, 0}
261 }
262
263 // Desired state of the file.
264 type OSPolicy_Resource_FileResource_DesiredState int32
265
266 const (
267 // Unspecified is invalid.
268 OSPolicy_Resource_FileResource_DESIRED_STATE_UNSPECIFIED OSPolicy_Resource_FileResource_DesiredState = 0
269 // Ensure file at path is present.
270 OSPolicy_Resource_FileResource_PRESENT OSPolicy_Resource_FileResource_DesiredState = 1
271 // Ensure file at path is absent.
272 OSPolicy_Resource_FileResource_ABSENT OSPolicy_Resource_FileResource_DesiredState = 2
273 // Ensure the contents of the file at path matches. If the file does
274 // not exist it will be created.
275 OSPolicy_Resource_FileResource_CONTENTS_MATCH OSPolicy_Resource_FileResource_DesiredState = 3
276 )
277
278 // Enum value maps for OSPolicy_Resource_FileResource_DesiredState.
279 var (
280 OSPolicy_Resource_FileResource_DesiredState_name = map[int32]string{
281 0: "DESIRED_STATE_UNSPECIFIED",
282 1: "PRESENT",
283 2: "ABSENT",
284 3: "CONTENTS_MATCH",
285 }
286 OSPolicy_Resource_FileResource_DesiredState_value = map[string]int32{
287 "DESIRED_STATE_UNSPECIFIED": 0,
288 "PRESENT": 1,
289 "ABSENT": 2,
290 "CONTENTS_MATCH": 3,
291 }
292 )
293
294 func (x OSPolicy_Resource_FileResource_DesiredState) Enum() *OSPolicy_Resource_FileResource_DesiredState {
295 p := new(OSPolicy_Resource_FileResource_DesiredState)
296 *p = x
297 return p
298 }
299
300 func (x OSPolicy_Resource_FileResource_DesiredState) String() string {
301 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
302 }
303
304 func (OSPolicy_Resource_FileResource_DesiredState) Descriptor() protoreflect.EnumDescriptor {
305 return file_google_cloud_osconfig_v1alpha_os_policy_proto_enumTypes[4].Descriptor()
306 }
307
308 func (OSPolicy_Resource_FileResource_DesiredState) Type() protoreflect.EnumType {
309 return &file_google_cloud_osconfig_v1alpha_os_policy_proto_enumTypes[4]
310 }
311
312 func (x OSPolicy_Resource_FileResource_DesiredState) Number() protoreflect.EnumNumber {
313 return protoreflect.EnumNumber(x)
314 }
315
316 // Deprecated: Use OSPolicy_Resource_FileResource_DesiredState.Descriptor instead.
317 func (OSPolicy_Resource_FileResource_DesiredState) EnumDescriptor() ([]byte, []int) {
318 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 4, 0}
319 }
320
321 // An OS policy defines the desired state configuration for a VM.
322 type OSPolicy struct {
323 state protoimpl.MessageState
324 sizeCache protoimpl.SizeCache
325 unknownFields protoimpl.UnknownFields
326
327 // Required. The id of the OS policy with the following restrictions:
328 //
329 // * Must contain only lowercase letters, numbers, and hyphens.
330 // * Must start with a letter.
331 // * Must be between 1-63 characters.
332 // * Must end with a number or a letter.
333 // * Must be unique within the assignment.
334 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
335 // Policy description.
336 // Length of the description is limited to 1024 characters.
337 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
338 // Required. Policy mode
339 Mode OSPolicy_Mode `protobuf:"varint,3,opt,name=mode,proto3,enum=google.cloud.osconfig.v1alpha.OSPolicy_Mode" json:"mode,omitempty"`
340 // Required. List of resource groups for the policy.
341 // For a particular VM, resource groups are evaluated in the order specified
342 // and the first resource group that is applicable is selected and the rest
343 // are ignored.
344 //
345 // If none of the resource groups are applicable for a VM, the VM is
346 // considered to be non-compliant w.r.t this policy. This behavior can be
347 // toggled by the flag `allow_no_resource_group_match`
348 ResourceGroups []*OSPolicy_ResourceGroup `protobuf:"bytes,4,rep,name=resource_groups,json=resourceGroups,proto3" json:"resource_groups,omitempty"`
349 // This flag determines the OS policy compliance status when none of the
350 // resource groups within the policy are applicable for a VM. Set this value
351 // to `true` if the policy needs to be reported as compliant even if the
352 // policy has nothing to validate or enforce.
353 AllowNoResourceGroupMatch bool `protobuf:"varint,5,opt,name=allow_no_resource_group_match,json=allowNoResourceGroupMatch,proto3" json:"allow_no_resource_group_match,omitempty"`
354 }
355
356 func (x *OSPolicy) Reset() {
357 *x = OSPolicy{}
358 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[0]
359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
360 ms.StoreMessageInfo(mi)
361 }
362
363 func (x *OSPolicy) String() string {
364 return protoimpl.X.MessageStringOf(x)
365 }
366
367 func (*OSPolicy) ProtoMessage() {}
368
369 func (x *OSPolicy) ProtoReflect() protoreflect.Message {
370 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[0]
371 if x != nil {
372 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
373 if ms.LoadMessageInfo() == nil {
374 ms.StoreMessageInfo(mi)
375 }
376 return ms
377 }
378 return mi.MessageOf(x)
379 }
380
381 // Deprecated: Use OSPolicy.ProtoReflect.Descriptor instead.
382 func (*OSPolicy) Descriptor() ([]byte, []int) {
383 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0}
384 }
385
386 func (x *OSPolicy) GetId() string {
387 if x != nil {
388 return x.Id
389 }
390 return ""
391 }
392
393 func (x *OSPolicy) GetDescription() string {
394 if x != nil {
395 return x.Description
396 }
397 return ""
398 }
399
400 func (x *OSPolicy) GetMode() OSPolicy_Mode {
401 if x != nil {
402 return x.Mode
403 }
404 return OSPolicy_MODE_UNSPECIFIED
405 }
406
407 func (x *OSPolicy) GetResourceGroups() []*OSPolicy_ResourceGroup {
408 if x != nil {
409 return x.ResourceGroups
410 }
411 return nil
412 }
413
414 func (x *OSPolicy) GetAllowNoResourceGroupMatch() bool {
415 if x != nil {
416 return x.AllowNoResourceGroupMatch
417 }
418 return false
419 }
420
421 // Filtering criteria to select VMs based on OS details.
422 type OSPolicy_OSFilter struct {
423 state protoimpl.MessageState
424 sizeCache protoimpl.SizeCache
425 unknownFields protoimpl.UnknownFields
426
427 // This should match OS short name emitted by the OS inventory agent.
428 // An empty value matches any OS.
429 OsShortName string `protobuf:"bytes,1,opt,name=os_short_name,json=osShortName,proto3" json:"os_short_name,omitempty"`
430 // This value should match the version emitted by the OS inventory
431 // agent.
432 // Prefix matches are supported if asterisk(*) is provided as the
433 // last character. For example, to match all versions with a major
434 // version of `7`, specify the following value for this field `7.*`
435 OsVersion string `protobuf:"bytes,2,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
436 }
437
438 func (x *OSPolicy_OSFilter) Reset() {
439 *x = OSPolicy_OSFilter{}
440 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[1]
441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
442 ms.StoreMessageInfo(mi)
443 }
444
445 func (x *OSPolicy_OSFilter) String() string {
446 return protoimpl.X.MessageStringOf(x)
447 }
448
449 func (*OSPolicy_OSFilter) ProtoMessage() {}
450
451 func (x *OSPolicy_OSFilter) ProtoReflect() protoreflect.Message {
452 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[1]
453 if x != nil {
454 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
455 if ms.LoadMessageInfo() == nil {
456 ms.StoreMessageInfo(mi)
457 }
458 return ms
459 }
460 return mi.MessageOf(x)
461 }
462
463 // Deprecated: Use OSPolicy_OSFilter.ProtoReflect.Descriptor instead.
464 func (*OSPolicy_OSFilter) Descriptor() ([]byte, []int) {
465 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 0}
466 }
467
468 func (x *OSPolicy_OSFilter) GetOsShortName() string {
469 if x != nil {
470 return x.OsShortName
471 }
472 return ""
473 }
474
475 func (x *OSPolicy_OSFilter) GetOsVersion() string {
476 if x != nil {
477 return x.OsVersion
478 }
479 return ""
480 }
481
482 // Filtering criteria to select VMs based on inventory details.
483 type OSPolicy_InventoryFilter struct {
484 state protoimpl.MessageState
485 sizeCache protoimpl.SizeCache
486 unknownFields protoimpl.UnknownFields
487
488 // Required. The OS short name
489 OsShortName string `protobuf:"bytes,1,opt,name=os_short_name,json=osShortName,proto3" json:"os_short_name,omitempty"`
490 // The OS version
491 //
492 // Prefix matches are supported if asterisk(*) is provided as the
493 // last character. For example, to match all versions with a major
494 // version of `7`, specify the following value for this field `7.*`
495 //
496 // An empty string matches all OS versions.
497 OsVersion string `protobuf:"bytes,2,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`
498 }
499
500 func (x *OSPolicy_InventoryFilter) Reset() {
501 *x = OSPolicy_InventoryFilter{}
502 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[2]
503 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
504 ms.StoreMessageInfo(mi)
505 }
506
507 func (x *OSPolicy_InventoryFilter) String() string {
508 return protoimpl.X.MessageStringOf(x)
509 }
510
511 func (*OSPolicy_InventoryFilter) ProtoMessage() {}
512
513 func (x *OSPolicy_InventoryFilter) ProtoReflect() protoreflect.Message {
514 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[2]
515 if x != nil {
516 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
517 if ms.LoadMessageInfo() == nil {
518 ms.StoreMessageInfo(mi)
519 }
520 return ms
521 }
522 return mi.MessageOf(x)
523 }
524
525 // Deprecated: Use OSPolicy_InventoryFilter.ProtoReflect.Descriptor instead.
526 func (*OSPolicy_InventoryFilter) Descriptor() ([]byte, []int) {
527 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 1}
528 }
529
530 func (x *OSPolicy_InventoryFilter) GetOsShortName() string {
531 if x != nil {
532 return x.OsShortName
533 }
534 return ""
535 }
536
537 func (x *OSPolicy_InventoryFilter) GetOsVersion() string {
538 if x != nil {
539 return x.OsVersion
540 }
541 return ""
542 }
543
544 // An OS policy resource is used to define the desired state configuration
545 // and provides a specific functionality like installing/removing packages,
546 // executing a script etc.
547 //
548 // The system ensures that resources are always in their desired state by
549 // taking necessary actions if they have drifted from their desired state.
550 type OSPolicy_Resource struct {
551 state protoimpl.MessageState
552 sizeCache protoimpl.SizeCache
553 unknownFields protoimpl.UnknownFields
554
555 // Required. The id of the resource with the following restrictions:
556 //
557 // * Must contain only lowercase letters, numbers, and hyphens.
558 // * Must start with a letter.
559 // * Must be between 1-63 characters.
560 // * Must end with a number or a letter.
561 // * Must be unique within the OS policy.
562 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
563 // Resource type.
564 //
565 // Types that are assignable to ResourceType:
566 //
567 // *OSPolicy_Resource_Pkg
568 // *OSPolicy_Resource_Repository
569 // *OSPolicy_Resource_Exec
570 // *OSPolicy_Resource_File_
571 ResourceType isOSPolicy_Resource_ResourceType `protobuf_oneof:"resource_type"`
572 }
573
574 func (x *OSPolicy_Resource) Reset() {
575 *x = OSPolicy_Resource{}
576 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[3]
577 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
578 ms.StoreMessageInfo(mi)
579 }
580
581 func (x *OSPolicy_Resource) String() string {
582 return protoimpl.X.MessageStringOf(x)
583 }
584
585 func (*OSPolicy_Resource) ProtoMessage() {}
586
587 func (x *OSPolicy_Resource) ProtoReflect() protoreflect.Message {
588 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[3]
589 if x != nil {
590 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
591 if ms.LoadMessageInfo() == nil {
592 ms.StoreMessageInfo(mi)
593 }
594 return ms
595 }
596 return mi.MessageOf(x)
597 }
598
599 // Deprecated: Use OSPolicy_Resource.ProtoReflect.Descriptor instead.
600 func (*OSPolicy_Resource) Descriptor() ([]byte, []int) {
601 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2}
602 }
603
604 func (x *OSPolicy_Resource) GetId() string {
605 if x != nil {
606 return x.Id
607 }
608 return ""
609 }
610
611 func (m *OSPolicy_Resource) GetResourceType() isOSPolicy_Resource_ResourceType {
612 if m != nil {
613 return m.ResourceType
614 }
615 return nil
616 }
617
618 func (x *OSPolicy_Resource) GetPkg() *OSPolicy_Resource_PackageResource {
619 if x, ok := x.GetResourceType().(*OSPolicy_Resource_Pkg); ok {
620 return x.Pkg
621 }
622 return nil
623 }
624
625 func (x *OSPolicy_Resource) GetRepository() *OSPolicy_Resource_RepositoryResource {
626 if x, ok := x.GetResourceType().(*OSPolicy_Resource_Repository); ok {
627 return x.Repository
628 }
629 return nil
630 }
631
632 func (x *OSPolicy_Resource) GetExec() *OSPolicy_Resource_ExecResource {
633 if x, ok := x.GetResourceType().(*OSPolicy_Resource_Exec); ok {
634 return x.Exec
635 }
636 return nil
637 }
638
639 func (x *OSPolicy_Resource) GetFile() *OSPolicy_Resource_FileResource {
640 if x, ok := x.GetResourceType().(*OSPolicy_Resource_File_); ok {
641 return x.File
642 }
643 return nil
644 }
645
646 type isOSPolicy_Resource_ResourceType interface {
647 isOSPolicy_Resource_ResourceType()
648 }
649
650 type OSPolicy_Resource_Pkg struct {
651 // Package resource
652 Pkg *OSPolicy_Resource_PackageResource `protobuf:"bytes,2,opt,name=pkg,proto3,oneof"`
653 }
654
655 type OSPolicy_Resource_Repository struct {
656 // Package repository resource
657 Repository *OSPolicy_Resource_RepositoryResource `protobuf:"bytes,3,opt,name=repository,proto3,oneof"`
658 }
659
660 type OSPolicy_Resource_Exec struct {
661 // Exec resource
662 Exec *OSPolicy_Resource_ExecResource `protobuf:"bytes,4,opt,name=exec,proto3,oneof"`
663 }
664
665 type OSPolicy_Resource_File_ struct {
666 // File resource
667 File *OSPolicy_Resource_FileResource `protobuf:"bytes,5,opt,name=file,proto3,oneof"`
668 }
669
670 func (*OSPolicy_Resource_Pkg) isOSPolicy_Resource_ResourceType() {}
671
672 func (*OSPolicy_Resource_Repository) isOSPolicy_Resource_ResourceType() {}
673
674 func (*OSPolicy_Resource_Exec) isOSPolicy_Resource_ResourceType() {}
675
676 func (*OSPolicy_Resource_File_) isOSPolicy_Resource_ResourceType() {}
677
678 // Resource groups provide a mechanism to group OS policy resources.
679 //
680 // Resource groups enable OS policy authors to create a single OS policy
681 // to be applied to VMs running different operating Systems.
682 //
683 // When the OS policy is applied to a target VM, the appropriate resource
684 // group within the OS policy is selected based on the `OSFilter` specified
685 // within the resource group.
686 type OSPolicy_ResourceGroup struct {
687 state protoimpl.MessageState
688 sizeCache protoimpl.SizeCache
689 unknownFields protoimpl.UnknownFields
690
691 // Deprecated. Use the `inventory_filters` field instead.
692 // Used to specify the OS filter for a resource group
693 //
694 // Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/os_policy.proto.
695 OsFilter *OSPolicy_OSFilter `protobuf:"bytes,1,opt,name=os_filter,json=osFilter,proto3" json:"os_filter,omitempty"`
696 // List of inventory filters for the resource group.
697 //
698 // The resources in this resource group are applied to the target VM if it
699 // satisfies at least one of the following inventory filters.
700 //
701 // For example, to apply this resource group to VMs running either `RHEL` or
702 // `CentOS` operating systems, specify 2 items for the list with following
703 // values:
704 // inventory_filters[0].os_short_name='rhel' and
705 // inventory_filters[1].os_short_name='centos'
706 //
707 // If the list is empty, this resource group will be applied to the target
708 // VM unconditionally.
709 InventoryFilters []*OSPolicy_InventoryFilter `protobuf:"bytes,3,rep,name=inventory_filters,json=inventoryFilters,proto3" json:"inventory_filters,omitempty"`
710 // Required. List of resources configured for this resource group.
711 // The resources are executed in the exact order specified here.
712 Resources []*OSPolicy_Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
713 }
714
715 func (x *OSPolicy_ResourceGroup) Reset() {
716 *x = OSPolicy_ResourceGroup{}
717 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[4]
718 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
719 ms.StoreMessageInfo(mi)
720 }
721
722 func (x *OSPolicy_ResourceGroup) String() string {
723 return protoimpl.X.MessageStringOf(x)
724 }
725
726 func (*OSPolicy_ResourceGroup) ProtoMessage() {}
727
728 func (x *OSPolicy_ResourceGroup) ProtoReflect() protoreflect.Message {
729 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[4]
730 if x != nil {
731 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
732 if ms.LoadMessageInfo() == nil {
733 ms.StoreMessageInfo(mi)
734 }
735 return ms
736 }
737 return mi.MessageOf(x)
738 }
739
740 // Deprecated: Use OSPolicy_ResourceGroup.ProtoReflect.Descriptor instead.
741 func (*OSPolicy_ResourceGroup) Descriptor() ([]byte, []int) {
742 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 3}
743 }
744
745 // Deprecated: Marked as deprecated in google/cloud/osconfig/v1alpha/os_policy.proto.
746 func (x *OSPolicy_ResourceGroup) GetOsFilter() *OSPolicy_OSFilter {
747 if x != nil {
748 return x.OsFilter
749 }
750 return nil
751 }
752
753 func (x *OSPolicy_ResourceGroup) GetInventoryFilters() []*OSPolicy_InventoryFilter {
754 if x != nil {
755 return x.InventoryFilters
756 }
757 return nil
758 }
759
760 func (x *OSPolicy_ResourceGroup) GetResources() []*OSPolicy_Resource {
761 if x != nil {
762 return x.Resources
763 }
764 return nil
765 }
766
767 // A remote or local file.
768 type OSPolicy_Resource_File struct {
769 state protoimpl.MessageState
770 sizeCache protoimpl.SizeCache
771 unknownFields protoimpl.UnknownFields
772
773 // A specific type of file.
774 //
775 // Types that are assignable to Type:
776 //
777 // *OSPolicy_Resource_File_Remote_
778 // *OSPolicy_Resource_File_Gcs_
779 // *OSPolicy_Resource_File_LocalPath
780 Type isOSPolicy_Resource_File_Type `protobuf_oneof:"type"`
781 // Defaults to false. When false, files are subject to validations
782 // based on the file type:
783 //
784 // Remote: A checksum must be specified.
785 // Cloud Storage: An object generation number must be specified.
786 AllowInsecure bool `protobuf:"varint,4,opt,name=allow_insecure,json=allowInsecure,proto3" json:"allow_insecure,omitempty"`
787 }
788
789 func (x *OSPolicy_Resource_File) Reset() {
790 *x = OSPolicy_Resource_File{}
791 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[5]
792 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
793 ms.StoreMessageInfo(mi)
794 }
795
796 func (x *OSPolicy_Resource_File) String() string {
797 return protoimpl.X.MessageStringOf(x)
798 }
799
800 func (*OSPolicy_Resource_File) ProtoMessage() {}
801
802 func (x *OSPolicy_Resource_File) ProtoReflect() protoreflect.Message {
803 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[5]
804 if x != nil {
805 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
806 if ms.LoadMessageInfo() == nil {
807 ms.StoreMessageInfo(mi)
808 }
809 return ms
810 }
811 return mi.MessageOf(x)
812 }
813
814 // Deprecated: Use OSPolicy_Resource_File.ProtoReflect.Descriptor instead.
815 func (*OSPolicy_Resource_File) Descriptor() ([]byte, []int) {
816 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 0}
817 }
818
819 func (m *OSPolicy_Resource_File) GetType() isOSPolicy_Resource_File_Type {
820 if m != nil {
821 return m.Type
822 }
823 return nil
824 }
825
826 func (x *OSPolicy_Resource_File) GetRemote() *OSPolicy_Resource_File_Remote {
827 if x, ok := x.GetType().(*OSPolicy_Resource_File_Remote_); ok {
828 return x.Remote
829 }
830 return nil
831 }
832
833 func (x *OSPolicy_Resource_File) GetGcs() *OSPolicy_Resource_File_Gcs {
834 if x, ok := x.GetType().(*OSPolicy_Resource_File_Gcs_); ok {
835 return x.Gcs
836 }
837 return nil
838 }
839
840 func (x *OSPolicy_Resource_File) GetLocalPath() string {
841 if x, ok := x.GetType().(*OSPolicy_Resource_File_LocalPath); ok {
842 return x.LocalPath
843 }
844 return ""
845 }
846
847 func (x *OSPolicy_Resource_File) GetAllowInsecure() bool {
848 if x != nil {
849 return x.AllowInsecure
850 }
851 return false
852 }
853
854 type isOSPolicy_Resource_File_Type interface {
855 isOSPolicy_Resource_File_Type()
856 }
857
858 type OSPolicy_Resource_File_Remote_ struct {
859 // A generic remote file.
860 Remote *OSPolicy_Resource_File_Remote `protobuf:"bytes,1,opt,name=remote,proto3,oneof"`
861 }
862
863 type OSPolicy_Resource_File_Gcs_ struct {
864 // A Cloud Storage object.
865 Gcs *OSPolicy_Resource_File_Gcs `protobuf:"bytes,2,opt,name=gcs,proto3,oneof"`
866 }
867
868 type OSPolicy_Resource_File_LocalPath struct {
869 // A local path within the VM to use.
870 LocalPath string `protobuf:"bytes,3,opt,name=local_path,json=localPath,proto3,oneof"`
871 }
872
873 func (*OSPolicy_Resource_File_Remote_) isOSPolicy_Resource_File_Type() {}
874
875 func (*OSPolicy_Resource_File_Gcs_) isOSPolicy_Resource_File_Type() {}
876
877 func (*OSPolicy_Resource_File_LocalPath) isOSPolicy_Resource_File_Type() {}
878
879 // A resource that manages a system package.
880 type OSPolicy_Resource_PackageResource struct {
881 state protoimpl.MessageState
882 sizeCache protoimpl.SizeCache
883 unknownFields protoimpl.UnknownFields
884
885 // Required. The desired state the agent should maintain for this package.
886 DesiredState OSPolicy_Resource_PackageResource_DesiredState `protobuf:"varint,1,opt,name=desired_state,json=desiredState,proto3,enum=google.cloud.osconfig.v1alpha.OSPolicy_Resource_PackageResource_DesiredState" json:"desired_state,omitempty"`
887 // A system package.
888 //
889 // Types that are assignable to SystemPackage:
890 //
891 // *OSPolicy_Resource_PackageResource_Apt
892 // *OSPolicy_Resource_PackageResource_Deb_
893 // *OSPolicy_Resource_PackageResource_Yum
894 // *OSPolicy_Resource_PackageResource_Zypper_
895 // *OSPolicy_Resource_PackageResource_Rpm
896 // *OSPolicy_Resource_PackageResource_Googet
897 // *OSPolicy_Resource_PackageResource_Msi
898 SystemPackage isOSPolicy_Resource_PackageResource_SystemPackage `protobuf_oneof:"system_package"`
899 }
900
901 func (x *OSPolicy_Resource_PackageResource) Reset() {
902 *x = OSPolicy_Resource_PackageResource{}
903 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[6]
904 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
905 ms.StoreMessageInfo(mi)
906 }
907
908 func (x *OSPolicy_Resource_PackageResource) String() string {
909 return protoimpl.X.MessageStringOf(x)
910 }
911
912 func (*OSPolicy_Resource_PackageResource) ProtoMessage() {}
913
914 func (x *OSPolicy_Resource_PackageResource) ProtoReflect() protoreflect.Message {
915 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[6]
916 if x != nil {
917 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
918 if ms.LoadMessageInfo() == nil {
919 ms.StoreMessageInfo(mi)
920 }
921 return ms
922 }
923 return mi.MessageOf(x)
924 }
925
926 // Deprecated: Use OSPolicy_Resource_PackageResource.ProtoReflect.Descriptor instead.
927 func (*OSPolicy_Resource_PackageResource) Descriptor() ([]byte, []int) {
928 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 1}
929 }
930
931 func (x *OSPolicy_Resource_PackageResource) GetDesiredState() OSPolicy_Resource_PackageResource_DesiredState {
932 if x != nil {
933 return x.DesiredState
934 }
935 return OSPolicy_Resource_PackageResource_DESIRED_STATE_UNSPECIFIED
936 }
937
938 func (m *OSPolicy_Resource_PackageResource) GetSystemPackage() isOSPolicy_Resource_PackageResource_SystemPackage {
939 if m != nil {
940 return m.SystemPackage
941 }
942 return nil
943 }
944
945 func (x *OSPolicy_Resource_PackageResource) GetApt() *OSPolicy_Resource_PackageResource_APT {
946 if x, ok := x.GetSystemPackage().(*OSPolicy_Resource_PackageResource_Apt); ok {
947 return x.Apt
948 }
949 return nil
950 }
951
952 func (x *OSPolicy_Resource_PackageResource) GetDeb() *OSPolicy_Resource_PackageResource_Deb {
953 if x, ok := x.GetSystemPackage().(*OSPolicy_Resource_PackageResource_Deb_); ok {
954 return x.Deb
955 }
956 return nil
957 }
958
959 func (x *OSPolicy_Resource_PackageResource) GetYum() *OSPolicy_Resource_PackageResource_YUM {
960 if x, ok := x.GetSystemPackage().(*OSPolicy_Resource_PackageResource_Yum); ok {
961 return x.Yum
962 }
963 return nil
964 }
965
966 func (x *OSPolicy_Resource_PackageResource) GetZypper() *OSPolicy_Resource_PackageResource_Zypper {
967 if x, ok := x.GetSystemPackage().(*OSPolicy_Resource_PackageResource_Zypper_); ok {
968 return x.Zypper
969 }
970 return nil
971 }
972
973 func (x *OSPolicy_Resource_PackageResource) GetRpm() *OSPolicy_Resource_PackageResource_RPM {
974 if x, ok := x.GetSystemPackage().(*OSPolicy_Resource_PackageResource_Rpm); ok {
975 return x.Rpm
976 }
977 return nil
978 }
979
980 func (x *OSPolicy_Resource_PackageResource) GetGooget() *OSPolicy_Resource_PackageResource_GooGet {
981 if x, ok := x.GetSystemPackage().(*OSPolicy_Resource_PackageResource_Googet); ok {
982 return x.Googet
983 }
984 return nil
985 }
986
987 func (x *OSPolicy_Resource_PackageResource) GetMsi() *OSPolicy_Resource_PackageResource_MSI {
988 if x, ok := x.GetSystemPackage().(*OSPolicy_Resource_PackageResource_Msi); ok {
989 return x.Msi
990 }
991 return nil
992 }
993
994 type isOSPolicy_Resource_PackageResource_SystemPackage interface {
995 isOSPolicy_Resource_PackageResource_SystemPackage()
996 }
997
998 type OSPolicy_Resource_PackageResource_Apt struct {
999 // A package managed by Apt.
1000 Apt *OSPolicy_Resource_PackageResource_APT `protobuf:"bytes,2,opt,name=apt,proto3,oneof"`
1001 }
1002
1003 type OSPolicy_Resource_PackageResource_Deb_ struct {
1004 // A deb package file.
1005 Deb *OSPolicy_Resource_PackageResource_Deb `protobuf:"bytes,3,opt,name=deb,proto3,oneof"`
1006 }
1007
1008 type OSPolicy_Resource_PackageResource_Yum struct {
1009 // A package managed by YUM.
1010 Yum *OSPolicy_Resource_PackageResource_YUM `protobuf:"bytes,4,opt,name=yum,proto3,oneof"`
1011 }
1012
1013 type OSPolicy_Resource_PackageResource_Zypper_ struct {
1014 // A package managed by Zypper.
1015 Zypper *OSPolicy_Resource_PackageResource_Zypper `protobuf:"bytes,5,opt,name=zypper,proto3,oneof"`
1016 }
1017
1018 type OSPolicy_Resource_PackageResource_Rpm struct {
1019 // An rpm package file.
1020 Rpm *OSPolicy_Resource_PackageResource_RPM `protobuf:"bytes,6,opt,name=rpm,proto3,oneof"`
1021 }
1022
1023 type OSPolicy_Resource_PackageResource_Googet struct {
1024 // A package managed by GooGet.
1025 Googet *OSPolicy_Resource_PackageResource_GooGet `protobuf:"bytes,7,opt,name=googet,proto3,oneof"`
1026 }
1027
1028 type OSPolicy_Resource_PackageResource_Msi struct {
1029 // An MSI package.
1030 Msi *OSPolicy_Resource_PackageResource_MSI `protobuf:"bytes,8,opt,name=msi,proto3,oneof"`
1031 }
1032
1033 func (*OSPolicy_Resource_PackageResource_Apt) isOSPolicy_Resource_PackageResource_SystemPackage() {}
1034
1035 func (*OSPolicy_Resource_PackageResource_Deb_) isOSPolicy_Resource_PackageResource_SystemPackage() {}
1036
1037 func (*OSPolicy_Resource_PackageResource_Yum) isOSPolicy_Resource_PackageResource_SystemPackage() {}
1038
1039 func (*OSPolicy_Resource_PackageResource_Zypper_) isOSPolicy_Resource_PackageResource_SystemPackage() {
1040 }
1041
1042 func (*OSPolicy_Resource_PackageResource_Rpm) isOSPolicy_Resource_PackageResource_SystemPackage() {}
1043
1044 func (*OSPolicy_Resource_PackageResource_Googet) isOSPolicy_Resource_PackageResource_SystemPackage() {
1045 }
1046
1047 func (*OSPolicy_Resource_PackageResource_Msi) isOSPolicy_Resource_PackageResource_SystemPackage() {}
1048
1049 // A resource that manages a package repository.
1050 type OSPolicy_Resource_RepositoryResource struct {
1051 state protoimpl.MessageState
1052 sizeCache protoimpl.SizeCache
1053 unknownFields protoimpl.UnknownFields
1054
1055 // A specific type of repository.
1056 //
1057 // Types that are assignable to Repository:
1058 //
1059 // *OSPolicy_Resource_RepositoryResource_Apt
1060 // *OSPolicy_Resource_RepositoryResource_Yum
1061 // *OSPolicy_Resource_RepositoryResource_Zypper
1062 // *OSPolicy_Resource_RepositoryResource_Goo
1063 Repository isOSPolicy_Resource_RepositoryResource_Repository `protobuf_oneof:"repository"`
1064 }
1065
1066 func (x *OSPolicy_Resource_RepositoryResource) Reset() {
1067 *x = OSPolicy_Resource_RepositoryResource{}
1068 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[7]
1069 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1070 ms.StoreMessageInfo(mi)
1071 }
1072
1073 func (x *OSPolicy_Resource_RepositoryResource) String() string {
1074 return protoimpl.X.MessageStringOf(x)
1075 }
1076
1077 func (*OSPolicy_Resource_RepositoryResource) ProtoMessage() {}
1078
1079 func (x *OSPolicy_Resource_RepositoryResource) ProtoReflect() protoreflect.Message {
1080 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[7]
1081 if x != nil {
1082 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1083 if ms.LoadMessageInfo() == nil {
1084 ms.StoreMessageInfo(mi)
1085 }
1086 return ms
1087 }
1088 return mi.MessageOf(x)
1089 }
1090
1091 // Deprecated: Use OSPolicy_Resource_RepositoryResource.ProtoReflect.Descriptor instead.
1092 func (*OSPolicy_Resource_RepositoryResource) Descriptor() ([]byte, []int) {
1093 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 2}
1094 }
1095
1096 func (m *OSPolicy_Resource_RepositoryResource) GetRepository() isOSPolicy_Resource_RepositoryResource_Repository {
1097 if m != nil {
1098 return m.Repository
1099 }
1100 return nil
1101 }
1102
1103 func (x *OSPolicy_Resource_RepositoryResource) GetApt() *OSPolicy_Resource_RepositoryResource_AptRepository {
1104 if x, ok := x.GetRepository().(*OSPolicy_Resource_RepositoryResource_Apt); ok {
1105 return x.Apt
1106 }
1107 return nil
1108 }
1109
1110 func (x *OSPolicy_Resource_RepositoryResource) GetYum() *OSPolicy_Resource_RepositoryResource_YumRepository {
1111 if x, ok := x.GetRepository().(*OSPolicy_Resource_RepositoryResource_Yum); ok {
1112 return x.Yum
1113 }
1114 return nil
1115 }
1116
1117 func (x *OSPolicy_Resource_RepositoryResource) GetZypper() *OSPolicy_Resource_RepositoryResource_ZypperRepository {
1118 if x, ok := x.GetRepository().(*OSPolicy_Resource_RepositoryResource_Zypper); ok {
1119 return x.Zypper
1120 }
1121 return nil
1122 }
1123
1124 func (x *OSPolicy_Resource_RepositoryResource) GetGoo() *OSPolicy_Resource_RepositoryResource_GooRepository {
1125 if x, ok := x.GetRepository().(*OSPolicy_Resource_RepositoryResource_Goo); ok {
1126 return x.Goo
1127 }
1128 return nil
1129 }
1130
1131 type isOSPolicy_Resource_RepositoryResource_Repository interface {
1132 isOSPolicy_Resource_RepositoryResource_Repository()
1133 }
1134
1135 type OSPolicy_Resource_RepositoryResource_Apt struct {
1136 // An Apt Repository.
1137 Apt *OSPolicy_Resource_RepositoryResource_AptRepository `protobuf:"bytes,1,opt,name=apt,proto3,oneof"`
1138 }
1139
1140 type OSPolicy_Resource_RepositoryResource_Yum struct {
1141 // A Yum Repository.
1142 Yum *OSPolicy_Resource_RepositoryResource_YumRepository `protobuf:"bytes,2,opt,name=yum,proto3,oneof"`
1143 }
1144
1145 type OSPolicy_Resource_RepositoryResource_Zypper struct {
1146 // A Zypper Repository.
1147 Zypper *OSPolicy_Resource_RepositoryResource_ZypperRepository `protobuf:"bytes,3,opt,name=zypper,proto3,oneof"`
1148 }
1149
1150 type OSPolicy_Resource_RepositoryResource_Goo struct {
1151 // A Goo Repository.
1152 Goo *OSPolicy_Resource_RepositoryResource_GooRepository `protobuf:"bytes,4,opt,name=goo,proto3,oneof"`
1153 }
1154
1155 func (*OSPolicy_Resource_RepositoryResource_Apt) isOSPolicy_Resource_RepositoryResource_Repository() {
1156 }
1157
1158 func (*OSPolicy_Resource_RepositoryResource_Yum) isOSPolicy_Resource_RepositoryResource_Repository() {
1159 }
1160
1161 func (*OSPolicy_Resource_RepositoryResource_Zypper) isOSPolicy_Resource_RepositoryResource_Repository() {
1162 }
1163
1164 func (*OSPolicy_Resource_RepositoryResource_Goo) isOSPolicy_Resource_RepositoryResource_Repository() {
1165 }
1166
1167 // A resource that allows executing scripts on the VM.
1168 //
1169 // The `ExecResource` has 2 stages: `validate` and `enforce` and both stages
1170 // accept a script as an argument to execute.
1171 //
1172 // When the `ExecResource` is applied by the agent, it first executes the
1173 // script in the `validate` stage. The `validate` stage can signal that the
1174 // `ExecResource` is already in the desired state by returning an exit code
1175 // of `100`. If the `ExecResource` is not in the desired state, it should
1176 // return an exit code of `101`. Any other exit code returned by this stage
1177 // is considered an error.
1178 //
1179 // If the `ExecResource` is not in the desired state based on the exit code
1180 // from the `validate` stage, the agent proceeds to execute the script from
1181 // the `enforce` stage. If the `ExecResource` is already in the desired
1182 // state, the `enforce` stage will not be run.
1183 // Similar to `validate` stage, the `enforce` stage should return an exit
1184 // code of `100` to indicate that the resource in now in its desired state.
1185 // Any other exit code is considered an error.
1186 //
1187 // NOTE: An exit code of `100` was chosen over `0` (and `101` vs `1`) to
1188 // have an explicit indicator of `in desired state`, `not in desired state`
1189 // and errors. Because, for example, Powershell will always return an exit
1190 // code of `0` unless an `exit` statement is provided in the script. So, for
1191 // reasons of consistency and being explicit, exit codes `100` and `101`
1192 // were chosen.
1193 type OSPolicy_Resource_ExecResource struct {
1194 state protoimpl.MessageState
1195 sizeCache protoimpl.SizeCache
1196 unknownFields protoimpl.UnknownFields
1197
1198 // Required. What to run to validate this resource is in the desired state.
1199 // An exit code of 100 indicates "in desired state", and exit code of 101
1200 // indicates "not in desired state". Any other exit code indicates a
1201 // failure running validate.
1202 Validate *OSPolicy_Resource_ExecResource_Exec `protobuf:"bytes,1,opt,name=validate,proto3" json:"validate,omitempty"`
1203 // What to run to bring this resource into the desired state.
1204 // An exit code of 100 indicates "success", any other exit code indicates
1205 // a failure running enforce.
1206 Enforce *OSPolicy_Resource_ExecResource_Exec `protobuf:"bytes,2,opt,name=enforce,proto3" json:"enforce,omitempty"`
1207 }
1208
1209 func (x *OSPolicy_Resource_ExecResource) Reset() {
1210 *x = OSPolicy_Resource_ExecResource{}
1211 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[8]
1212 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1213 ms.StoreMessageInfo(mi)
1214 }
1215
1216 func (x *OSPolicy_Resource_ExecResource) String() string {
1217 return protoimpl.X.MessageStringOf(x)
1218 }
1219
1220 func (*OSPolicy_Resource_ExecResource) ProtoMessage() {}
1221
1222 func (x *OSPolicy_Resource_ExecResource) ProtoReflect() protoreflect.Message {
1223 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[8]
1224 if x != nil {
1225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1226 if ms.LoadMessageInfo() == nil {
1227 ms.StoreMessageInfo(mi)
1228 }
1229 return ms
1230 }
1231 return mi.MessageOf(x)
1232 }
1233
1234 // Deprecated: Use OSPolicy_Resource_ExecResource.ProtoReflect.Descriptor instead.
1235 func (*OSPolicy_Resource_ExecResource) Descriptor() ([]byte, []int) {
1236 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 3}
1237 }
1238
1239 func (x *OSPolicy_Resource_ExecResource) GetValidate() *OSPolicy_Resource_ExecResource_Exec {
1240 if x != nil {
1241 return x.Validate
1242 }
1243 return nil
1244 }
1245
1246 func (x *OSPolicy_Resource_ExecResource) GetEnforce() *OSPolicy_Resource_ExecResource_Exec {
1247 if x != nil {
1248 return x.Enforce
1249 }
1250 return nil
1251 }
1252
1253 // A resource that manages the state of a file.
1254 type OSPolicy_Resource_FileResource struct {
1255 state protoimpl.MessageState
1256 sizeCache protoimpl.SizeCache
1257 unknownFields protoimpl.UnknownFields
1258
1259 // The source for the contents of the file.
1260 //
1261 // Types that are assignable to Source:
1262 //
1263 // *OSPolicy_Resource_FileResource_File
1264 // *OSPolicy_Resource_FileResource_Content
1265 Source isOSPolicy_Resource_FileResource_Source `protobuf_oneof:"source"`
1266 // Required. The absolute path of the file within the VM.
1267 Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
1268 // Required. Desired state of the file.
1269 State OSPolicy_Resource_FileResource_DesiredState `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.osconfig.v1alpha.OSPolicy_Resource_FileResource_DesiredState" json:"state,omitempty"`
1270 // Consists of three octal digits which represent, in
1271 // order, the permissions of the owner, group, and other users for the
1272 // file (similarly to the numeric mode used in the linux chmod
1273 // utility). Each digit represents a three bit number with the 4 bit
1274 // corresponding to the read permissions, the 2 bit corresponds to the
1275 // write bit, and the one bit corresponds to the execute permission.
1276 // Default behavior is 755.
1277 //
1278 // Below are some examples of permissions and their associated values:
1279 // read, write, and execute: 7
1280 // read and execute: 5
1281 // read and write: 6
1282 // read only: 4
1283 Permissions string `protobuf:"bytes,5,opt,name=permissions,proto3" json:"permissions,omitempty"`
1284 }
1285
1286 func (x *OSPolicy_Resource_FileResource) Reset() {
1287 *x = OSPolicy_Resource_FileResource{}
1288 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[9]
1289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1290 ms.StoreMessageInfo(mi)
1291 }
1292
1293 func (x *OSPolicy_Resource_FileResource) String() string {
1294 return protoimpl.X.MessageStringOf(x)
1295 }
1296
1297 func (*OSPolicy_Resource_FileResource) ProtoMessage() {}
1298
1299 func (x *OSPolicy_Resource_FileResource) ProtoReflect() protoreflect.Message {
1300 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[9]
1301 if x != nil {
1302 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1303 if ms.LoadMessageInfo() == nil {
1304 ms.StoreMessageInfo(mi)
1305 }
1306 return ms
1307 }
1308 return mi.MessageOf(x)
1309 }
1310
1311 // Deprecated: Use OSPolicy_Resource_FileResource.ProtoReflect.Descriptor instead.
1312 func (*OSPolicy_Resource_FileResource) Descriptor() ([]byte, []int) {
1313 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 4}
1314 }
1315
1316 func (m *OSPolicy_Resource_FileResource) GetSource() isOSPolicy_Resource_FileResource_Source {
1317 if m != nil {
1318 return m.Source
1319 }
1320 return nil
1321 }
1322
1323 func (x *OSPolicy_Resource_FileResource) GetFile() *OSPolicy_Resource_File {
1324 if x, ok := x.GetSource().(*OSPolicy_Resource_FileResource_File); ok {
1325 return x.File
1326 }
1327 return nil
1328 }
1329
1330 func (x *OSPolicy_Resource_FileResource) GetContent() string {
1331 if x, ok := x.GetSource().(*OSPolicy_Resource_FileResource_Content); ok {
1332 return x.Content
1333 }
1334 return ""
1335 }
1336
1337 func (x *OSPolicy_Resource_FileResource) GetPath() string {
1338 if x != nil {
1339 return x.Path
1340 }
1341 return ""
1342 }
1343
1344 func (x *OSPolicy_Resource_FileResource) GetState() OSPolicy_Resource_FileResource_DesiredState {
1345 if x != nil {
1346 return x.State
1347 }
1348 return OSPolicy_Resource_FileResource_DESIRED_STATE_UNSPECIFIED
1349 }
1350
1351 func (x *OSPolicy_Resource_FileResource) GetPermissions() string {
1352 if x != nil {
1353 return x.Permissions
1354 }
1355 return ""
1356 }
1357
1358 type isOSPolicy_Resource_FileResource_Source interface {
1359 isOSPolicy_Resource_FileResource_Source()
1360 }
1361
1362 type OSPolicy_Resource_FileResource_File struct {
1363 // A remote or local source.
1364 File *OSPolicy_Resource_File `protobuf:"bytes,1,opt,name=file,proto3,oneof"`
1365 }
1366
1367 type OSPolicy_Resource_FileResource_Content struct {
1368 // A a file with this content.
1369 // The size of the content is limited to 1024 characters.
1370 Content string `protobuf:"bytes,2,opt,name=content,proto3,oneof"`
1371 }
1372
1373 func (*OSPolicy_Resource_FileResource_File) isOSPolicy_Resource_FileResource_Source() {}
1374
1375 func (*OSPolicy_Resource_FileResource_Content) isOSPolicy_Resource_FileResource_Source() {}
1376
1377 // Specifies a file available via some URI.
1378 type OSPolicy_Resource_File_Remote struct {
1379 state protoimpl.MessageState
1380 sizeCache protoimpl.SizeCache
1381 unknownFields protoimpl.UnknownFields
1382
1383 // Required. URI from which to fetch the object. It should contain both the
1384 // protocol and path following the format `{protocol}://{location}`.
1385 Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
1386 // SHA256 checksum of the remote file.
1387 Sha256Checksum string `protobuf:"bytes,2,opt,name=sha256_checksum,json=sha256Checksum,proto3" json:"sha256_checksum,omitempty"`
1388 }
1389
1390 func (x *OSPolicy_Resource_File_Remote) Reset() {
1391 *x = OSPolicy_Resource_File_Remote{}
1392 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[10]
1393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1394 ms.StoreMessageInfo(mi)
1395 }
1396
1397 func (x *OSPolicy_Resource_File_Remote) String() string {
1398 return protoimpl.X.MessageStringOf(x)
1399 }
1400
1401 func (*OSPolicy_Resource_File_Remote) ProtoMessage() {}
1402
1403 func (x *OSPolicy_Resource_File_Remote) ProtoReflect() protoreflect.Message {
1404 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[10]
1405 if x != nil {
1406 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1407 if ms.LoadMessageInfo() == nil {
1408 ms.StoreMessageInfo(mi)
1409 }
1410 return ms
1411 }
1412 return mi.MessageOf(x)
1413 }
1414
1415 // Deprecated: Use OSPolicy_Resource_File_Remote.ProtoReflect.Descriptor instead.
1416 func (*OSPolicy_Resource_File_Remote) Descriptor() ([]byte, []int) {
1417 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 0, 0}
1418 }
1419
1420 func (x *OSPolicy_Resource_File_Remote) GetUri() string {
1421 if x != nil {
1422 return x.Uri
1423 }
1424 return ""
1425 }
1426
1427 func (x *OSPolicy_Resource_File_Remote) GetSha256Checksum() string {
1428 if x != nil {
1429 return x.Sha256Checksum
1430 }
1431 return ""
1432 }
1433
1434 // Specifies a file available as a Cloud Storage Object.
1435 type OSPolicy_Resource_File_Gcs struct {
1436 state protoimpl.MessageState
1437 sizeCache protoimpl.SizeCache
1438 unknownFields protoimpl.UnknownFields
1439
1440 // Required. Bucket of the Cloud Storage object.
1441 Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
1442 // Required. Name of the Cloud Storage object.
1443 Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
1444 // Generation number of the Cloud Storage object.
1445 Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
1446 }
1447
1448 func (x *OSPolicy_Resource_File_Gcs) Reset() {
1449 *x = OSPolicy_Resource_File_Gcs{}
1450 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[11]
1451 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1452 ms.StoreMessageInfo(mi)
1453 }
1454
1455 func (x *OSPolicy_Resource_File_Gcs) String() string {
1456 return protoimpl.X.MessageStringOf(x)
1457 }
1458
1459 func (*OSPolicy_Resource_File_Gcs) ProtoMessage() {}
1460
1461 func (x *OSPolicy_Resource_File_Gcs) ProtoReflect() protoreflect.Message {
1462 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[11]
1463 if x != nil {
1464 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1465 if ms.LoadMessageInfo() == nil {
1466 ms.StoreMessageInfo(mi)
1467 }
1468 return ms
1469 }
1470 return mi.MessageOf(x)
1471 }
1472
1473 // Deprecated: Use OSPolicy_Resource_File_Gcs.ProtoReflect.Descriptor instead.
1474 func (*OSPolicy_Resource_File_Gcs) Descriptor() ([]byte, []int) {
1475 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 0, 1}
1476 }
1477
1478 func (x *OSPolicy_Resource_File_Gcs) GetBucket() string {
1479 if x != nil {
1480 return x.Bucket
1481 }
1482 return ""
1483 }
1484
1485 func (x *OSPolicy_Resource_File_Gcs) GetObject() string {
1486 if x != nil {
1487 return x.Object
1488 }
1489 return ""
1490 }
1491
1492 func (x *OSPolicy_Resource_File_Gcs) GetGeneration() int64 {
1493 if x != nil {
1494 return x.Generation
1495 }
1496 return 0
1497 }
1498
1499 // A deb package file. dpkg packages only support INSTALLED state.
1500 type OSPolicy_Resource_PackageResource_Deb struct {
1501 state protoimpl.MessageState
1502 sizeCache protoimpl.SizeCache
1503 unknownFields protoimpl.UnknownFields
1504
1505 // Required. A deb package.
1506 Source *OSPolicy_Resource_File `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
1507 // Whether dependencies should also be installed.
1508 // - install when false: `dpkg -i package`
1509 // - install when true: `apt-get update && apt-get -y install
1510 // package.deb`
1511 PullDeps bool `protobuf:"varint,2,opt,name=pull_deps,json=pullDeps,proto3" json:"pull_deps,omitempty"`
1512 }
1513
1514 func (x *OSPolicy_Resource_PackageResource_Deb) Reset() {
1515 *x = OSPolicy_Resource_PackageResource_Deb{}
1516 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[12]
1517 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1518 ms.StoreMessageInfo(mi)
1519 }
1520
1521 func (x *OSPolicy_Resource_PackageResource_Deb) String() string {
1522 return protoimpl.X.MessageStringOf(x)
1523 }
1524
1525 func (*OSPolicy_Resource_PackageResource_Deb) ProtoMessage() {}
1526
1527 func (x *OSPolicy_Resource_PackageResource_Deb) ProtoReflect() protoreflect.Message {
1528 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[12]
1529 if x != nil {
1530 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1531 if ms.LoadMessageInfo() == nil {
1532 ms.StoreMessageInfo(mi)
1533 }
1534 return ms
1535 }
1536 return mi.MessageOf(x)
1537 }
1538
1539 // Deprecated: Use OSPolicy_Resource_PackageResource_Deb.ProtoReflect.Descriptor instead.
1540 func (*OSPolicy_Resource_PackageResource_Deb) Descriptor() ([]byte, []int) {
1541 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 1, 0}
1542 }
1543
1544 func (x *OSPolicy_Resource_PackageResource_Deb) GetSource() *OSPolicy_Resource_File {
1545 if x != nil {
1546 return x.Source
1547 }
1548 return nil
1549 }
1550
1551 func (x *OSPolicy_Resource_PackageResource_Deb) GetPullDeps() bool {
1552 if x != nil {
1553 return x.PullDeps
1554 }
1555 return false
1556 }
1557
1558 // A package managed by APT.
1559 // - install: `apt-get update && apt-get -y install [name]`
1560 // - remove: `apt-get -y remove [name]`
1561 type OSPolicy_Resource_PackageResource_APT struct {
1562 state protoimpl.MessageState
1563 sizeCache protoimpl.SizeCache
1564 unknownFields protoimpl.UnknownFields
1565
1566 // Required. Package name.
1567 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1568 }
1569
1570 func (x *OSPolicy_Resource_PackageResource_APT) Reset() {
1571 *x = OSPolicy_Resource_PackageResource_APT{}
1572 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[13]
1573 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1574 ms.StoreMessageInfo(mi)
1575 }
1576
1577 func (x *OSPolicy_Resource_PackageResource_APT) String() string {
1578 return protoimpl.X.MessageStringOf(x)
1579 }
1580
1581 func (*OSPolicy_Resource_PackageResource_APT) ProtoMessage() {}
1582
1583 func (x *OSPolicy_Resource_PackageResource_APT) ProtoReflect() protoreflect.Message {
1584 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[13]
1585 if x != nil {
1586 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1587 if ms.LoadMessageInfo() == nil {
1588 ms.StoreMessageInfo(mi)
1589 }
1590 return ms
1591 }
1592 return mi.MessageOf(x)
1593 }
1594
1595 // Deprecated: Use OSPolicy_Resource_PackageResource_APT.ProtoReflect.Descriptor instead.
1596 func (*OSPolicy_Resource_PackageResource_APT) Descriptor() ([]byte, []int) {
1597 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 1, 1}
1598 }
1599
1600 func (x *OSPolicy_Resource_PackageResource_APT) GetName() string {
1601 if x != nil {
1602 return x.Name
1603 }
1604 return ""
1605 }
1606
1607 // An RPM package file. RPM packages only support INSTALLED state.
1608 type OSPolicy_Resource_PackageResource_RPM struct {
1609 state protoimpl.MessageState
1610 sizeCache protoimpl.SizeCache
1611 unknownFields protoimpl.UnknownFields
1612
1613 // Required. An rpm package.
1614 Source *OSPolicy_Resource_File `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
1615 // Whether dependencies should also be installed.
1616 // - install when false: `rpm --upgrade --replacepkgs package.rpm`
1617 // - install when true: `yum -y install package.rpm` or
1618 // `zypper -y install package.rpm`
1619 PullDeps bool `protobuf:"varint,2,opt,name=pull_deps,json=pullDeps,proto3" json:"pull_deps,omitempty"`
1620 }
1621
1622 func (x *OSPolicy_Resource_PackageResource_RPM) Reset() {
1623 *x = OSPolicy_Resource_PackageResource_RPM{}
1624 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[14]
1625 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1626 ms.StoreMessageInfo(mi)
1627 }
1628
1629 func (x *OSPolicy_Resource_PackageResource_RPM) String() string {
1630 return protoimpl.X.MessageStringOf(x)
1631 }
1632
1633 func (*OSPolicy_Resource_PackageResource_RPM) ProtoMessage() {}
1634
1635 func (x *OSPolicy_Resource_PackageResource_RPM) ProtoReflect() protoreflect.Message {
1636 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[14]
1637 if x != nil {
1638 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1639 if ms.LoadMessageInfo() == nil {
1640 ms.StoreMessageInfo(mi)
1641 }
1642 return ms
1643 }
1644 return mi.MessageOf(x)
1645 }
1646
1647 // Deprecated: Use OSPolicy_Resource_PackageResource_RPM.ProtoReflect.Descriptor instead.
1648 func (*OSPolicy_Resource_PackageResource_RPM) Descriptor() ([]byte, []int) {
1649 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 1, 2}
1650 }
1651
1652 func (x *OSPolicy_Resource_PackageResource_RPM) GetSource() *OSPolicy_Resource_File {
1653 if x != nil {
1654 return x.Source
1655 }
1656 return nil
1657 }
1658
1659 func (x *OSPolicy_Resource_PackageResource_RPM) GetPullDeps() bool {
1660 if x != nil {
1661 return x.PullDeps
1662 }
1663 return false
1664 }
1665
1666 // A package managed by YUM.
1667 // - install: `yum -y install package`
1668 // - remove: `yum -y remove package`
1669 type OSPolicy_Resource_PackageResource_YUM struct {
1670 state protoimpl.MessageState
1671 sizeCache protoimpl.SizeCache
1672 unknownFields protoimpl.UnknownFields
1673
1674 // Required. Package name.
1675 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1676 }
1677
1678 func (x *OSPolicy_Resource_PackageResource_YUM) Reset() {
1679 *x = OSPolicy_Resource_PackageResource_YUM{}
1680 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[15]
1681 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1682 ms.StoreMessageInfo(mi)
1683 }
1684
1685 func (x *OSPolicy_Resource_PackageResource_YUM) String() string {
1686 return protoimpl.X.MessageStringOf(x)
1687 }
1688
1689 func (*OSPolicy_Resource_PackageResource_YUM) ProtoMessage() {}
1690
1691 func (x *OSPolicy_Resource_PackageResource_YUM) ProtoReflect() protoreflect.Message {
1692 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[15]
1693 if x != nil {
1694 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1695 if ms.LoadMessageInfo() == nil {
1696 ms.StoreMessageInfo(mi)
1697 }
1698 return ms
1699 }
1700 return mi.MessageOf(x)
1701 }
1702
1703 // Deprecated: Use OSPolicy_Resource_PackageResource_YUM.ProtoReflect.Descriptor instead.
1704 func (*OSPolicy_Resource_PackageResource_YUM) Descriptor() ([]byte, []int) {
1705 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 1, 3}
1706 }
1707
1708 func (x *OSPolicy_Resource_PackageResource_YUM) GetName() string {
1709 if x != nil {
1710 return x.Name
1711 }
1712 return ""
1713 }
1714
1715 // A package managed by Zypper.
1716 // - install: `zypper -y install package`
1717 // - remove: `zypper -y rm package`
1718 type OSPolicy_Resource_PackageResource_Zypper struct {
1719 state protoimpl.MessageState
1720 sizeCache protoimpl.SizeCache
1721 unknownFields protoimpl.UnknownFields
1722
1723 // Required. Package name.
1724 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1725 }
1726
1727 func (x *OSPolicy_Resource_PackageResource_Zypper) Reset() {
1728 *x = OSPolicy_Resource_PackageResource_Zypper{}
1729 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[16]
1730 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1731 ms.StoreMessageInfo(mi)
1732 }
1733
1734 func (x *OSPolicy_Resource_PackageResource_Zypper) String() string {
1735 return protoimpl.X.MessageStringOf(x)
1736 }
1737
1738 func (*OSPolicy_Resource_PackageResource_Zypper) ProtoMessage() {}
1739
1740 func (x *OSPolicy_Resource_PackageResource_Zypper) ProtoReflect() protoreflect.Message {
1741 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[16]
1742 if x != nil {
1743 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1744 if ms.LoadMessageInfo() == nil {
1745 ms.StoreMessageInfo(mi)
1746 }
1747 return ms
1748 }
1749 return mi.MessageOf(x)
1750 }
1751
1752 // Deprecated: Use OSPolicy_Resource_PackageResource_Zypper.ProtoReflect.Descriptor instead.
1753 func (*OSPolicy_Resource_PackageResource_Zypper) Descriptor() ([]byte, []int) {
1754 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 1, 4}
1755 }
1756
1757 func (x *OSPolicy_Resource_PackageResource_Zypper) GetName() string {
1758 if x != nil {
1759 return x.Name
1760 }
1761 return ""
1762 }
1763
1764 // A package managed by GooGet.
1765 // - install: `googet -noconfirm install package`
1766 // - remove: `googet -noconfirm remove package`
1767 type OSPolicy_Resource_PackageResource_GooGet struct {
1768 state protoimpl.MessageState
1769 sizeCache protoimpl.SizeCache
1770 unknownFields protoimpl.UnknownFields
1771
1772 // Required. Package name.
1773 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1774 }
1775
1776 func (x *OSPolicy_Resource_PackageResource_GooGet) Reset() {
1777 *x = OSPolicy_Resource_PackageResource_GooGet{}
1778 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[17]
1779 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1780 ms.StoreMessageInfo(mi)
1781 }
1782
1783 func (x *OSPolicy_Resource_PackageResource_GooGet) String() string {
1784 return protoimpl.X.MessageStringOf(x)
1785 }
1786
1787 func (*OSPolicy_Resource_PackageResource_GooGet) ProtoMessage() {}
1788
1789 func (x *OSPolicy_Resource_PackageResource_GooGet) ProtoReflect() protoreflect.Message {
1790 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[17]
1791 if x != nil {
1792 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1793 if ms.LoadMessageInfo() == nil {
1794 ms.StoreMessageInfo(mi)
1795 }
1796 return ms
1797 }
1798 return mi.MessageOf(x)
1799 }
1800
1801 // Deprecated: Use OSPolicy_Resource_PackageResource_GooGet.ProtoReflect.Descriptor instead.
1802 func (*OSPolicy_Resource_PackageResource_GooGet) Descriptor() ([]byte, []int) {
1803 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 1, 5}
1804 }
1805
1806 func (x *OSPolicy_Resource_PackageResource_GooGet) GetName() string {
1807 if x != nil {
1808 return x.Name
1809 }
1810 return ""
1811 }
1812
1813 // An MSI package. MSI packages only support INSTALLED state.
1814 type OSPolicy_Resource_PackageResource_MSI struct {
1815 state protoimpl.MessageState
1816 sizeCache protoimpl.SizeCache
1817 unknownFields protoimpl.UnknownFields
1818
1819 // Required. The MSI package.
1820 Source *OSPolicy_Resource_File `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
1821 // Additional properties to use during installation.
1822 // This should be in the format of Property=Setting.
1823 // Appended to the defaults of `ACTION=INSTALL
1824 // REBOOT=ReallySuppress`.
1825 Properties []string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"`
1826 }
1827
1828 func (x *OSPolicy_Resource_PackageResource_MSI) Reset() {
1829 *x = OSPolicy_Resource_PackageResource_MSI{}
1830 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[18]
1831 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1832 ms.StoreMessageInfo(mi)
1833 }
1834
1835 func (x *OSPolicy_Resource_PackageResource_MSI) String() string {
1836 return protoimpl.X.MessageStringOf(x)
1837 }
1838
1839 func (*OSPolicy_Resource_PackageResource_MSI) ProtoMessage() {}
1840
1841 func (x *OSPolicy_Resource_PackageResource_MSI) ProtoReflect() protoreflect.Message {
1842 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[18]
1843 if x != nil {
1844 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1845 if ms.LoadMessageInfo() == nil {
1846 ms.StoreMessageInfo(mi)
1847 }
1848 return ms
1849 }
1850 return mi.MessageOf(x)
1851 }
1852
1853 // Deprecated: Use OSPolicy_Resource_PackageResource_MSI.ProtoReflect.Descriptor instead.
1854 func (*OSPolicy_Resource_PackageResource_MSI) Descriptor() ([]byte, []int) {
1855 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 1, 6}
1856 }
1857
1858 func (x *OSPolicy_Resource_PackageResource_MSI) GetSource() *OSPolicy_Resource_File {
1859 if x != nil {
1860 return x.Source
1861 }
1862 return nil
1863 }
1864
1865 func (x *OSPolicy_Resource_PackageResource_MSI) GetProperties() []string {
1866 if x != nil {
1867 return x.Properties
1868 }
1869 return nil
1870 }
1871
1872 // Represents a single apt package repository. These will be added to
1873 // a repo file that will be managed at
1874 // `/etc/apt/sources.list.d/google_osconfig.list`.
1875 type OSPolicy_Resource_RepositoryResource_AptRepository struct {
1876 state protoimpl.MessageState
1877 sizeCache protoimpl.SizeCache
1878 unknownFields protoimpl.UnknownFields
1879
1880 // Required. Type of archive files in this repository.
1881 ArchiveType OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType `protobuf:"varint,1,opt,name=archive_type,json=archiveType,proto3,enum=google.cloud.osconfig.v1alpha.OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType" json:"archive_type,omitempty"`
1882 // Required. URI for this repository.
1883 Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
1884 // Required. Distribution of this repository.
1885 Distribution string `protobuf:"bytes,3,opt,name=distribution,proto3" json:"distribution,omitempty"`
1886 // Required. List of components for this repository. Must contain at least one
1887 // item.
1888 Components []string `protobuf:"bytes,4,rep,name=components,proto3" json:"components,omitempty"`
1889 // URI of the key file for this repository. The agent maintains a
1890 // keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
1891 GpgKey string `protobuf:"bytes,5,opt,name=gpg_key,json=gpgKey,proto3" json:"gpg_key,omitempty"`
1892 }
1893
1894 func (x *OSPolicy_Resource_RepositoryResource_AptRepository) Reset() {
1895 *x = OSPolicy_Resource_RepositoryResource_AptRepository{}
1896 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[19]
1897 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1898 ms.StoreMessageInfo(mi)
1899 }
1900
1901 func (x *OSPolicy_Resource_RepositoryResource_AptRepository) String() string {
1902 return protoimpl.X.MessageStringOf(x)
1903 }
1904
1905 func (*OSPolicy_Resource_RepositoryResource_AptRepository) ProtoMessage() {}
1906
1907 func (x *OSPolicy_Resource_RepositoryResource_AptRepository) ProtoReflect() protoreflect.Message {
1908 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[19]
1909 if x != nil {
1910 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1911 if ms.LoadMessageInfo() == nil {
1912 ms.StoreMessageInfo(mi)
1913 }
1914 return ms
1915 }
1916 return mi.MessageOf(x)
1917 }
1918
1919 // Deprecated: Use OSPolicy_Resource_RepositoryResource_AptRepository.ProtoReflect.Descriptor instead.
1920 func (*OSPolicy_Resource_RepositoryResource_AptRepository) Descriptor() ([]byte, []int) {
1921 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 2, 0}
1922 }
1923
1924 func (x *OSPolicy_Resource_RepositoryResource_AptRepository) GetArchiveType() OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType {
1925 if x != nil {
1926 return x.ArchiveType
1927 }
1928 return OSPolicy_Resource_RepositoryResource_AptRepository_ARCHIVE_TYPE_UNSPECIFIED
1929 }
1930
1931 func (x *OSPolicy_Resource_RepositoryResource_AptRepository) GetUri() string {
1932 if x != nil {
1933 return x.Uri
1934 }
1935 return ""
1936 }
1937
1938 func (x *OSPolicy_Resource_RepositoryResource_AptRepository) GetDistribution() string {
1939 if x != nil {
1940 return x.Distribution
1941 }
1942 return ""
1943 }
1944
1945 func (x *OSPolicy_Resource_RepositoryResource_AptRepository) GetComponents() []string {
1946 if x != nil {
1947 return x.Components
1948 }
1949 return nil
1950 }
1951
1952 func (x *OSPolicy_Resource_RepositoryResource_AptRepository) GetGpgKey() string {
1953 if x != nil {
1954 return x.GpgKey
1955 }
1956 return ""
1957 }
1958
1959 // Represents a single yum package repository. These are added to a
1960 // repo file that is managed at
1961 // `/etc/yum.repos.d/google_osconfig.repo`.
1962 type OSPolicy_Resource_RepositoryResource_YumRepository struct {
1963 state protoimpl.MessageState
1964 sizeCache protoimpl.SizeCache
1965 unknownFields protoimpl.UnknownFields
1966
1967 // Required. A one word, unique name for this repository. This is the `repo
1968 // id` in the yum config file and also the `display_name` if
1969 // `display_name` is omitted. This id is also used as the unique
1970 // identifier when checking for resource conflicts.
1971 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1972 // The display name of the repository.
1973 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
1974 // Required. The location of the repository directory.
1975 BaseUrl string `protobuf:"bytes,3,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
1976 // URIs of GPG keys.
1977 GpgKeys []string `protobuf:"bytes,4,rep,name=gpg_keys,json=gpgKeys,proto3" json:"gpg_keys,omitempty"`
1978 }
1979
1980 func (x *OSPolicy_Resource_RepositoryResource_YumRepository) Reset() {
1981 *x = OSPolicy_Resource_RepositoryResource_YumRepository{}
1982 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[20]
1983 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1984 ms.StoreMessageInfo(mi)
1985 }
1986
1987 func (x *OSPolicy_Resource_RepositoryResource_YumRepository) String() string {
1988 return protoimpl.X.MessageStringOf(x)
1989 }
1990
1991 func (*OSPolicy_Resource_RepositoryResource_YumRepository) ProtoMessage() {}
1992
1993 func (x *OSPolicy_Resource_RepositoryResource_YumRepository) ProtoReflect() protoreflect.Message {
1994 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[20]
1995 if x != nil {
1996 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1997 if ms.LoadMessageInfo() == nil {
1998 ms.StoreMessageInfo(mi)
1999 }
2000 return ms
2001 }
2002 return mi.MessageOf(x)
2003 }
2004
2005 // Deprecated: Use OSPolicy_Resource_RepositoryResource_YumRepository.ProtoReflect.Descriptor instead.
2006 func (*OSPolicy_Resource_RepositoryResource_YumRepository) Descriptor() ([]byte, []int) {
2007 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 2, 1}
2008 }
2009
2010 func (x *OSPolicy_Resource_RepositoryResource_YumRepository) GetId() string {
2011 if x != nil {
2012 return x.Id
2013 }
2014 return ""
2015 }
2016
2017 func (x *OSPolicy_Resource_RepositoryResource_YumRepository) GetDisplayName() string {
2018 if x != nil {
2019 return x.DisplayName
2020 }
2021 return ""
2022 }
2023
2024 func (x *OSPolicy_Resource_RepositoryResource_YumRepository) GetBaseUrl() string {
2025 if x != nil {
2026 return x.BaseUrl
2027 }
2028 return ""
2029 }
2030
2031 func (x *OSPolicy_Resource_RepositoryResource_YumRepository) GetGpgKeys() []string {
2032 if x != nil {
2033 return x.GpgKeys
2034 }
2035 return nil
2036 }
2037
2038 // Represents a single zypper package repository. These are added to a
2039 // repo file that is managed at
2040 // `/etc/zypp/repos.d/google_osconfig.repo`.
2041 type OSPolicy_Resource_RepositoryResource_ZypperRepository struct {
2042 state protoimpl.MessageState
2043 sizeCache protoimpl.SizeCache
2044 unknownFields protoimpl.UnknownFields
2045
2046 // Required. A one word, unique name for this repository. This is the `repo
2047 // id` in the zypper config file and also the `display_name` if
2048 // `display_name` is omitted. This id is also used as the unique
2049 // identifier when checking for GuestPolicy conflicts.
2050 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
2051 // The display name of the repository.
2052 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
2053 // Required. The location of the repository directory.
2054 BaseUrl string `protobuf:"bytes,3,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
2055 // URIs of GPG keys.
2056 GpgKeys []string `protobuf:"bytes,4,rep,name=gpg_keys,json=gpgKeys,proto3" json:"gpg_keys,omitempty"`
2057 }
2058
2059 func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) Reset() {
2060 *x = OSPolicy_Resource_RepositoryResource_ZypperRepository{}
2061 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[21]
2062 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2063 ms.StoreMessageInfo(mi)
2064 }
2065
2066 func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) String() string {
2067 return protoimpl.X.MessageStringOf(x)
2068 }
2069
2070 func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) ProtoMessage() {}
2071
2072 func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) ProtoReflect() protoreflect.Message {
2073 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[21]
2074 if x != nil {
2075 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2076 if ms.LoadMessageInfo() == nil {
2077 ms.StoreMessageInfo(mi)
2078 }
2079 return ms
2080 }
2081 return mi.MessageOf(x)
2082 }
2083
2084 // Deprecated: Use OSPolicy_Resource_RepositoryResource_ZypperRepository.ProtoReflect.Descriptor instead.
2085 func (*OSPolicy_Resource_RepositoryResource_ZypperRepository) Descriptor() ([]byte, []int) {
2086 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 2, 2}
2087 }
2088
2089 func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) GetId() string {
2090 if x != nil {
2091 return x.Id
2092 }
2093 return ""
2094 }
2095
2096 func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) GetDisplayName() string {
2097 if x != nil {
2098 return x.DisplayName
2099 }
2100 return ""
2101 }
2102
2103 func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) GetBaseUrl() string {
2104 if x != nil {
2105 return x.BaseUrl
2106 }
2107 return ""
2108 }
2109
2110 func (x *OSPolicy_Resource_RepositoryResource_ZypperRepository) GetGpgKeys() []string {
2111 if x != nil {
2112 return x.GpgKeys
2113 }
2114 return nil
2115 }
2116
2117 // Represents a Goo package repository. These are added to a repo file
2118 // that is managed at
2119 // `C:/ProgramData/GooGet/repos/google_osconfig.repo`.
2120 type OSPolicy_Resource_RepositoryResource_GooRepository struct {
2121 state protoimpl.MessageState
2122 sizeCache protoimpl.SizeCache
2123 unknownFields protoimpl.UnknownFields
2124
2125 // Required. The name of the repository.
2126 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
2127 // Required. The url of the repository.
2128 Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
2129 }
2130
2131 func (x *OSPolicy_Resource_RepositoryResource_GooRepository) Reset() {
2132 *x = OSPolicy_Resource_RepositoryResource_GooRepository{}
2133 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[22]
2134 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2135 ms.StoreMessageInfo(mi)
2136 }
2137
2138 func (x *OSPolicy_Resource_RepositoryResource_GooRepository) String() string {
2139 return protoimpl.X.MessageStringOf(x)
2140 }
2141
2142 func (*OSPolicy_Resource_RepositoryResource_GooRepository) ProtoMessage() {}
2143
2144 func (x *OSPolicy_Resource_RepositoryResource_GooRepository) ProtoReflect() protoreflect.Message {
2145 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[22]
2146 if x != nil {
2147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2148 if ms.LoadMessageInfo() == nil {
2149 ms.StoreMessageInfo(mi)
2150 }
2151 return ms
2152 }
2153 return mi.MessageOf(x)
2154 }
2155
2156 // Deprecated: Use OSPolicy_Resource_RepositoryResource_GooRepository.ProtoReflect.Descriptor instead.
2157 func (*OSPolicy_Resource_RepositoryResource_GooRepository) Descriptor() ([]byte, []int) {
2158 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 2, 3}
2159 }
2160
2161 func (x *OSPolicy_Resource_RepositoryResource_GooRepository) GetName() string {
2162 if x != nil {
2163 return x.Name
2164 }
2165 return ""
2166 }
2167
2168 func (x *OSPolicy_Resource_RepositoryResource_GooRepository) GetUrl() string {
2169 if x != nil {
2170 return x.Url
2171 }
2172 return ""
2173 }
2174
2175 // A file or script to execute.
2176 type OSPolicy_Resource_ExecResource_Exec struct {
2177 state protoimpl.MessageState
2178 sizeCache protoimpl.SizeCache
2179 unknownFields protoimpl.UnknownFields
2180
2181 // What to execute.
2182 //
2183 // Types that are assignable to Source:
2184 //
2185 // *OSPolicy_Resource_ExecResource_Exec_File
2186 // *OSPolicy_Resource_ExecResource_Exec_Script
2187 Source isOSPolicy_Resource_ExecResource_Exec_Source `protobuf_oneof:"source"`
2188 // Optional arguments to pass to the source during execution.
2189 Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
2190 // Required. The script interpreter to use.
2191 Interpreter OSPolicy_Resource_ExecResource_Exec_Interpreter `protobuf:"varint,4,opt,name=interpreter,proto3,enum=google.cloud.osconfig.v1alpha.OSPolicy_Resource_ExecResource_Exec_Interpreter" json:"interpreter,omitempty"`
2192 // Only recorded for enforce Exec.
2193 // Path to an output file (that is created by this Exec) whose
2194 // content will be recorded in OSPolicyResourceCompliance after a
2195 // successful run. Absence or failure to read this file will result in
2196 // this ExecResource being non-compliant. Output file size is limited to
2197 // 100K bytes.
2198 OutputFilePath string `protobuf:"bytes,5,opt,name=output_file_path,json=outputFilePath,proto3" json:"output_file_path,omitempty"`
2199 }
2200
2201 func (x *OSPolicy_Resource_ExecResource_Exec) Reset() {
2202 *x = OSPolicy_Resource_ExecResource_Exec{}
2203 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[23]
2204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2205 ms.StoreMessageInfo(mi)
2206 }
2207
2208 func (x *OSPolicy_Resource_ExecResource_Exec) String() string {
2209 return protoimpl.X.MessageStringOf(x)
2210 }
2211
2212 func (*OSPolicy_Resource_ExecResource_Exec) ProtoMessage() {}
2213
2214 func (x *OSPolicy_Resource_ExecResource_Exec) ProtoReflect() protoreflect.Message {
2215 mi := &file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[23]
2216 if x != nil {
2217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2218 if ms.LoadMessageInfo() == nil {
2219 ms.StoreMessageInfo(mi)
2220 }
2221 return ms
2222 }
2223 return mi.MessageOf(x)
2224 }
2225
2226 // Deprecated: Use OSPolicy_Resource_ExecResource_Exec.ProtoReflect.Descriptor instead.
2227 func (*OSPolicy_Resource_ExecResource_Exec) Descriptor() ([]byte, []int) {
2228 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP(), []int{0, 2, 3, 0}
2229 }
2230
2231 func (m *OSPolicy_Resource_ExecResource_Exec) GetSource() isOSPolicy_Resource_ExecResource_Exec_Source {
2232 if m != nil {
2233 return m.Source
2234 }
2235 return nil
2236 }
2237
2238 func (x *OSPolicy_Resource_ExecResource_Exec) GetFile() *OSPolicy_Resource_File {
2239 if x, ok := x.GetSource().(*OSPolicy_Resource_ExecResource_Exec_File); ok {
2240 return x.File
2241 }
2242 return nil
2243 }
2244
2245 func (x *OSPolicy_Resource_ExecResource_Exec) GetScript() string {
2246 if x, ok := x.GetSource().(*OSPolicy_Resource_ExecResource_Exec_Script); ok {
2247 return x.Script
2248 }
2249 return ""
2250 }
2251
2252 func (x *OSPolicy_Resource_ExecResource_Exec) GetArgs() []string {
2253 if x != nil {
2254 return x.Args
2255 }
2256 return nil
2257 }
2258
2259 func (x *OSPolicy_Resource_ExecResource_Exec) GetInterpreter() OSPolicy_Resource_ExecResource_Exec_Interpreter {
2260 if x != nil {
2261 return x.Interpreter
2262 }
2263 return OSPolicy_Resource_ExecResource_Exec_INTERPRETER_UNSPECIFIED
2264 }
2265
2266 func (x *OSPolicy_Resource_ExecResource_Exec) GetOutputFilePath() string {
2267 if x != nil {
2268 return x.OutputFilePath
2269 }
2270 return ""
2271 }
2272
2273 type isOSPolicy_Resource_ExecResource_Exec_Source interface {
2274 isOSPolicy_Resource_ExecResource_Exec_Source()
2275 }
2276
2277 type OSPolicy_Resource_ExecResource_Exec_File struct {
2278 // A remote or local file.
2279 File *OSPolicy_Resource_File `protobuf:"bytes,1,opt,name=file,proto3,oneof"`
2280 }
2281
2282 type OSPolicy_Resource_ExecResource_Exec_Script struct {
2283 // An inline script.
2284 // The size of the script is limited to 1024 characters.
2285 Script string `protobuf:"bytes,2,opt,name=script,proto3,oneof"`
2286 }
2287
2288 func (*OSPolicy_Resource_ExecResource_Exec_File) isOSPolicy_Resource_ExecResource_Exec_Source() {}
2289
2290 func (*OSPolicy_Resource_ExecResource_Exec_Script) isOSPolicy_Resource_ExecResource_Exec_Source() {}
2291
2292 var File_google_cloud_osconfig_v1alpha_os_policy_proto protoreflect.FileDescriptor
2293
2294 var file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDesc = []byte{
2295 0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f,
2296 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f,
2297 0x6f, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
2298 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73,
2299 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1f,
2300 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
2301 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
2302 0xa9, 0x28, 0x0a, 0x08, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x13, 0x0a, 0x02,
2303 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x02, 0x69,
2304 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
2305 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
2306 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
2307 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2308 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
2309 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x42,
2310 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x63, 0x0a, 0x0f, 0x72, 0x65,
2311 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04, 0x20,
2312 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
2313 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c,
2314 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73,
2315 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
2316 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12,
2317 0x40, 0x0a, 0x1d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, 0x6f, 0x5f, 0x72, 0x65, 0x73, 0x6f,
2318 0x75, 0x72, 0x63, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68,
2319 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x19, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x52,
2320 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x61, 0x74, 0x63,
2321 0x68, 0x1a, 0x4d, 0x0a, 0x08, 0x4f, 0x53, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x22, 0x0a,
2322 0x0d, 0x6f, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
2323 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x73, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d,
2324 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
2325 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
2326 0x1a, 0x59, 0x0a, 0x0f, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x69, 0x6c,
2327 0x74, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0d, 0x6f, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f,
2328 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
2329 0x0b, 0x6f, 0x73, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
2330 0x6f, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
2331 0x52, 0x09, 0x6f, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xee, 0x21, 0x0a, 0x08,
2332 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
2333 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x02, 0x69, 0x64, 0x12, 0x54, 0x0a,
2334 0x03, 0x70, 0x6b, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f,
2335 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66,
2336 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c,
2337 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x63,
2338 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x03,
2339 0x70, 0x6b, 0x67, 0x12, 0x65, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72,
2340 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2341 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
2342 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
2343 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69,
2344 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0a,
2345 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x04, 0x65, 0x78,
2346 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2347 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
2348 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63,
2349 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x52,
2350 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x04, 0x65, 0x78, 0x65, 0x63, 0x12,
2351 0x53, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e,
2352 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63,
2353 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53,
2354 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
2355 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x04,
2356 0x66, 0x69, 0x6c, 0x65, 0x1a, 0xa8, 0x03, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x56, 0x0a,
2357 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e,
2358 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63,
2359 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53,
2360 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
2361 0x46, 0x69, 0x6c, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x48, 0x00, 0x52, 0x06, 0x72,
2362 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x4d, 0x0a, 0x03, 0x67, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01,
2363 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2364 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
2365 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f,
2366 0x75, 0x72, 0x63, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x2e, 0x47, 0x63, 0x73, 0x48, 0x00, 0x52,
2367 0x03, 0x67, 0x63, 0x73, 0x12, 0x1f, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x61,
2368 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61,
2369 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x69,
2370 0x6e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61,
2371 0x6c, 0x6c, 0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x1a, 0x48, 0x0a, 0x06,
2372 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20,
2373 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x27, 0x0a,
2374 0x0f, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d,
2375 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x43, 0x68,
2376 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x1a, 0x5f, 0x0a, 0x03, 0x47, 0x63, 0x73, 0x12, 0x1b, 0x0a,
2377 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
2378 0x41, 0x02, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x6f, 0x62,
2379 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
2380 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72,
2381 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x67, 0x65, 0x6e,
2382 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a,
2383 0xe0, 0x0a, 0x0a, 0x0f, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75,
2384 0x72, 0x63, 0x65, 0x12, 0x77, 0x0a, 0x0d, 0x64, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x73,
2385 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4d, 0x2e, 0x67, 0x6f, 0x6f,
2386 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66,
2387 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c,
2388 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x63,
2389 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x73,
2390 0x69, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c,
2391 0x64, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x58, 0x0a, 0x03,
2392 0x61, 0x70, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2393 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69,
2394 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69,
2395 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x63, 0x6b,
2396 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x41, 0x50, 0x54, 0x48,
2397 0x00, 0x52, 0x03, 0x61, 0x70, 0x74, 0x12, 0x58, 0x0a, 0x03, 0x64, 0x65, 0x62, 0x18, 0x03, 0x20,
2398 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
2399 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c,
2400 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73,
2401 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73,
2402 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x62, 0x48, 0x00, 0x52, 0x03, 0x64, 0x65, 0x62,
2403 0x12, 0x58, 0x0a, 0x03, 0x79, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e,
2404 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63,
2405 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53,
2406 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
2407 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
2408 0x59, 0x55, 0x4d, 0x48, 0x00, 0x52, 0x03, 0x79, 0x75, 0x6d, 0x12, 0x61, 0x0a, 0x06, 0x7a, 0x79,
2409 0x70, 0x70, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f,
2410 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66,
2411 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c,
2412 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x63,
2413 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x5a, 0x79, 0x70,
2414 0x70, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x7a, 0x79, 0x70, 0x70, 0x65, 0x72, 0x12, 0x58, 0x0a,
2415 0x03, 0x72, 0x70, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f,
2416 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66,
2417 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c,
2418 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x63,
2419 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x50, 0x4d,
2420 0x48, 0x00, 0x52, 0x03, 0x72, 0x70, 0x6d, 0x12, 0x61, 0x0a, 0x06, 0x67, 0x6f, 0x6f, 0x67, 0x65,
2421 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2422 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
2423 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
2424 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67,
2425 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x47, 0x6f, 0x6f, 0x47, 0x65, 0x74,
2426 0x48, 0x00, 0x52, 0x06, 0x67, 0x6f, 0x6f, 0x67, 0x65, 0x74, 0x12, 0x58, 0x0a, 0x03, 0x6d, 0x73,
2427 0x69, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2428 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
2429 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
2430 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67,
2431 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x4d, 0x53, 0x49, 0x48, 0x00, 0x52,
2432 0x03, 0x6d, 0x73, 0x69, 0x1a, 0x76, 0x0a, 0x03, 0x44, 0x65, 0x62, 0x12, 0x52, 0x0a, 0x06, 0x73,
2433 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f,
2434 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e,
2435 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f,
2436 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x46, 0x69,
2437 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,
2438 0x1b, 0x0a, 0x09, 0x70, 0x75, 0x6c, 0x6c, 0x5f, 0x64, 0x65, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01,
2439 0x28, 0x08, 0x52, 0x08, 0x70, 0x75, 0x6c, 0x6c, 0x44, 0x65, 0x70, 0x73, 0x1a, 0x1e, 0x0a, 0x03,
2440 0x41, 0x50, 0x54, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
2441 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x76, 0x0a, 0x03,
2442 0x52, 0x50, 0x4d, 0x12, 0x52, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20,
2443 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
2444 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c,
2445 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73,
2446 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
2447 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x75, 0x6c, 0x6c, 0x5f,
2448 0x64, 0x65, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x70, 0x75, 0x6c, 0x6c,
2449 0x44, 0x65, 0x70, 0x73, 0x1a, 0x1e, 0x0a, 0x03, 0x59, 0x55, 0x4d, 0x12, 0x17, 0x0a, 0x04, 0x6e,
2450 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04,
2451 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x21, 0x0a, 0x06, 0x5a, 0x79, 0x70, 0x70, 0x65, 0x72, 0x12, 0x17,
2452 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
2453 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x21, 0x0a, 0x06, 0x47, 0x6f, 0x6f, 0x47, 0x65,
2454 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
2455 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x79, 0x0a, 0x03, 0x4d, 0x53,
2456 0x49, 0x12, 0x52, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
2457 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2458 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
2459 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75,
2460 0x72, 0x63, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x73,
2461 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
2462 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65,
2463 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x49, 0x0a, 0x0c, 0x44, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64,
2464 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x45, 0x53, 0x49, 0x52, 0x45, 0x44,
2465 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
2466 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4c, 0x4c, 0x45,
2467 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x02,
2468 0x42, 0x10, 0x0a, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61,
2469 0x67, 0x65, 0x1a, 0xf0, 0x08, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72,
2470 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x65, 0x0a, 0x03, 0x61, 0x70, 0x74,
2471 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x51, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2472 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76,
2473 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
2474 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
2475 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x41, 0x70, 0x74, 0x52,
2476 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x48, 0x00, 0x52, 0x03, 0x61, 0x70, 0x74,
2477 0x12, 0x65, 0x0a, 0x03, 0x79, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x51, 0x2e,
2478 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63,
2479 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53,
2480 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
2481 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
2482 0x63, 0x65, 0x2e, 0x59, 0x75, 0x6d, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79,
2483 0x48, 0x00, 0x52, 0x03, 0x79, 0x75, 0x6d, 0x12, 0x6e, 0x0a, 0x06, 0x7a, 0x79, 0x70, 0x70, 0x65,
2484 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x54, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2485 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
2486 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
2487 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69,
2488 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x5a, 0x79, 0x70,
2489 0x70, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x48, 0x00, 0x52,
2490 0x06, 0x7a, 0x79, 0x70, 0x70, 0x65, 0x72, 0x12, 0x65, 0x0a, 0x03, 0x67, 0x6f, 0x6f, 0x18, 0x04,
2491 0x20, 0x01, 0x28, 0x0b, 0x32, 0x51, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2492 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61,
2493 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65,
2494 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72,
2495 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x47, 0x6f, 0x6f, 0x52, 0x65, 0x70,
2496 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x48, 0x00, 0x52, 0x03, 0x67, 0x6f, 0x6f, 0x1a, 0xd8,
2497 0x02, 0x0a, 0x0d, 0x41, 0x70, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79,
2498 0x12, 0x85, 0x01, 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x79, 0x70,
2499 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x5d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2500 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
2501 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
2502 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69,
2503 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x41, 0x70, 0x74,
2504 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69,
2505 0x76, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x61, 0x72, 0x63,
2506 0x68, 0x69, 0x76, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18,
2507 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12,
2508 0x27, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18,
2509 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x74,
2510 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70,
2511 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
2512 0x02, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x17, 0x0a,
2513 0x07, 0x67, 0x70, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
2514 0x67, 0x70, 0x67, 0x4b, 0x65, 0x79, 0x22, 0x41, 0x0a, 0x0b, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76,
2515 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45,
2516 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
2517 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x45, 0x42, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07,
2518 0x44, 0x45, 0x42, 0x5f, 0x53, 0x52, 0x43, 0x10, 0x02, 0x1a, 0x82, 0x01, 0x0a, 0x0d, 0x59, 0x75,
2519 0x6d, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x13, 0x0a, 0x02, 0x69,
2520 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x02, 0x69, 0x64,
2521 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
2522 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e,
2523 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x08, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18,
2524 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x62, 0x61, 0x73, 0x65,
2525 0x55, 0x72, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x70, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18,
2526 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x67, 0x70, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x1a, 0x85,
2527 0x01, 0x0a, 0x10, 0x5a, 0x79, 0x70, 0x70, 0x65, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
2528 0x6f, 0x72, 0x79, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
2529 0x03, 0xe0, 0x41, 0x02, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70,
2530 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
2531 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x08, 0x62,
2532 0x61, 0x73, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
2533 0x41, 0x02, 0x52, 0x07, 0x62, 0x61, 0x73, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x67,
2534 0x70, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x67,
2535 0x70, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x1a, 0x3f, 0x0a, 0x0d, 0x47, 0x6f, 0x6f, 0x52, 0x65, 0x70,
2536 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
2537 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
2538 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
2539 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x42, 0x0c, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73,
2540 0x69, 0x74, 0x6f, 0x72, 0x79, 0x1a, 0xd1, 0x04, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65,
2541 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x63, 0x0a, 0x08, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
2542 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2543 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
2544 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63,
2545 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x52,
2546 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x42, 0x03, 0xe0, 0x41,
2547 0x02, 0x52, 0x08, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x12, 0x5c, 0x0a, 0x07, 0x65,
2548 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67,
2549 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f,
2550 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50,
2551 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x45,
2552 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x45, 0x78, 0x65, 0x63,
2553 0x52, 0x07, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x1a, 0xfd, 0x02, 0x0a, 0x04, 0x45, 0x78,
2554 0x65, 0x63, 0x12, 0x4b, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
2555 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2556 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
2557 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
2558 0x63, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12,
2559 0x18, 0x0a, 0x06, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48,
2560 0x00, 0x52, 0x06, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67,
2561 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x75, 0x0a,
2562 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01,
2563 0x28, 0x0e, 0x32, 0x4e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2564 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
2565 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f,
2566 0x75, 0x72, 0x63, 0x65, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
2567 0x65, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74,
2568 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72,
2569 0x65, 0x74, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x10, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x66,
2570 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
2571 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 0x4f,
2572 0x0a, 0x0b, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a,
2573 0x17, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x50, 0x52, 0x45, 0x54, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53,
2574 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f,
2575 0x4e, 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x48, 0x45, 0x4c, 0x4c, 0x10, 0x02, 0x12,
2576 0x0e, 0x0a, 0x0a, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x53, 0x48, 0x45, 0x4c, 0x4c, 0x10, 0x03, 0x42,
2577 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x1a, 0xff, 0x02, 0x0a, 0x0c, 0x46, 0x69,
2578 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x04, 0x66, 0x69,
2579 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2580 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
2581 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63,
2582 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x48,
2583 0x00, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65,
2584 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74,
2585 0x65, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28,
2586 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x65, 0x0a, 0x05,
2587 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4a, 0x2e, 0x67, 0x6f,
2588 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e,
2589 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f,
2590 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x46, 0x69,
2591 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x73, 0x69, 0x72,
2592 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x73, 0x74,
2593 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
2594 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73,
2595 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x5a, 0x0a, 0x0c, 0x44, 0x65, 0x73, 0x69, 0x72, 0x65, 0x64,
2596 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x45, 0x53, 0x49, 0x52, 0x45, 0x44,
2597 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
2598 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, 0x54, 0x10,
2599 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x42, 0x53, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x12, 0x0a,
2600 0x0e, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x53, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10,
2601 0x03, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x0f, 0x0a, 0x0d, 0x72,
2602 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x9d, 0x02, 0x0a,
2603 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x51,
2604 0x0a, 0x09, 0x6f, 0x73, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
2605 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2606 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
2607 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4f, 0x53, 0x46, 0x69, 0x6c,
2608 0x74, 0x65, 0x72, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x6f, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65,
2609 0x72, 0x12, 0x64, 0x0a, 0x11, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x66,
2610 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67,
2611 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f,
2612 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50,
2613 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x46,
2614 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x10, 0x69, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79,
2615 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x53, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75,
2616 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f,
2617 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66,
2618 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c,
2619 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41,
2620 0x02, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x3d, 0x0a, 0x04,
2621 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53,
2622 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x56, 0x41,
2623 0x4c, 0x49, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x4e,
2624 0x46, 0x4f, 0x52, 0x43, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x42, 0xd6, 0x01, 0x0a, 0x21,
2625 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2626 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
2627 0x61, 0x42, 0x0d, 0x4f, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f,
2628 0x50, 0x01, 0x5a, 0x3d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2629 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
2630 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6f, 0x73, 0x63, 0x6f,
2631 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x3b, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70,
2632 0x62, 0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
2633 0x2e, 0x4f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x56, 0x31, 0x41, 0x6c, 0x70, 0x68,
2634 0x61, 0xca, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64,
2635 0x5c, 0x4f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68,
2636 0x61, 0xea, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75,
2637 0x64, 0x3a, 0x3a, 0x4f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x61,
2638 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
2639 }
2640
2641 var (
2642 file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescOnce sync.Once
2643 file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescData = file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDesc
2644 )
2645
2646 func file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescGZIP() []byte {
2647 file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescOnce.Do(func() {
2648 file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescData)
2649 })
2650 return file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDescData
2651 }
2652
2653 var file_google_cloud_osconfig_v1alpha_os_policy_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
2654 var file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
2655 var file_google_cloud_osconfig_v1alpha_os_policy_proto_goTypes = []any{
2656 (OSPolicy_Mode)(0), // 0: google.cloud.osconfig.v1alpha.OSPolicy.Mode
2657 (OSPolicy_Resource_PackageResource_DesiredState)(0), // 1: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState
2658 (OSPolicy_Resource_RepositoryResource_AptRepository_ArchiveType)(0), // 2: google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType
2659 (OSPolicy_Resource_ExecResource_Exec_Interpreter)(0), // 3: google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter
2660 (OSPolicy_Resource_FileResource_DesiredState)(0), // 4: google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState
2661 (*OSPolicy)(nil), // 5: google.cloud.osconfig.v1alpha.OSPolicy
2662 (*OSPolicy_OSFilter)(nil), // 6: google.cloud.osconfig.v1alpha.OSPolicy.OSFilter
2663 (*OSPolicy_InventoryFilter)(nil), // 7: google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter
2664 (*OSPolicy_Resource)(nil), // 8: google.cloud.osconfig.v1alpha.OSPolicy.Resource
2665 (*OSPolicy_ResourceGroup)(nil), // 9: google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup
2666 (*OSPolicy_Resource_File)(nil), // 10: google.cloud.osconfig.v1alpha.OSPolicy.Resource.File
2667 (*OSPolicy_Resource_PackageResource)(nil), // 11: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource
2668 (*OSPolicy_Resource_RepositoryResource)(nil), // 12: google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource
2669 (*OSPolicy_Resource_ExecResource)(nil), // 13: google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource
2670 (*OSPolicy_Resource_FileResource)(nil), // 14: google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource
2671 (*OSPolicy_Resource_File_Remote)(nil), // 15: google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote
2672 (*OSPolicy_Resource_File_Gcs)(nil), // 16: google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs
2673 (*OSPolicy_Resource_PackageResource_Deb)(nil), // 17: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb
2674 (*OSPolicy_Resource_PackageResource_APT)(nil), // 18: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT
2675 (*OSPolicy_Resource_PackageResource_RPM)(nil), // 19: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM
2676 (*OSPolicy_Resource_PackageResource_YUM)(nil), // 20: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM
2677 (*OSPolicy_Resource_PackageResource_Zypper)(nil), // 21: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper
2678 (*OSPolicy_Resource_PackageResource_GooGet)(nil), // 22: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet
2679 (*OSPolicy_Resource_PackageResource_MSI)(nil), // 23: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI
2680 (*OSPolicy_Resource_RepositoryResource_AptRepository)(nil), // 24: google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository
2681 (*OSPolicy_Resource_RepositoryResource_YumRepository)(nil), // 25: google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository
2682 (*OSPolicy_Resource_RepositoryResource_ZypperRepository)(nil), // 26: google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository
2683 (*OSPolicy_Resource_RepositoryResource_GooRepository)(nil), // 27: google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository
2684 (*OSPolicy_Resource_ExecResource_Exec)(nil), // 28: google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec
2685 }
2686 var file_google_cloud_osconfig_v1alpha_os_policy_proto_depIdxs = []int32{
2687 0, // 0: google.cloud.osconfig.v1alpha.OSPolicy.mode:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Mode
2688 9, // 1: google.cloud.osconfig.v1alpha.OSPolicy.resource_groups:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup
2689 11, // 2: google.cloud.osconfig.v1alpha.OSPolicy.Resource.pkg:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource
2690 12, // 3: google.cloud.osconfig.v1alpha.OSPolicy.Resource.repository:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource
2691 13, // 4: google.cloud.osconfig.v1alpha.OSPolicy.Resource.exec:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource
2692 14, // 5: google.cloud.osconfig.v1alpha.OSPolicy.Resource.file:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource
2693 6, // 6: google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.os_filter:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.OSFilter
2694 7, // 7: google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.inventory_filters:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.InventoryFilter
2695 8, // 8: google.cloud.osconfig.v1alpha.OSPolicy.ResourceGroup.resources:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource
2696 15, // 9: google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.remote:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Remote
2697 16, // 10: google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.gcs:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.File.Gcs
2698 1, // 11: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.desired_state:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState
2699 18, // 12: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.apt:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT
2700 17, // 13: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.deb:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb
2701 20, // 14: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.yum:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM
2702 21, // 15: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.zypper:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper
2703 19, // 16: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.rpm:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM
2704 22, // 17: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.googet:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet
2705 23, // 18: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.msi:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI
2706 24, // 19: google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.apt:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository
2707 25, // 20: google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.yum:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.YumRepository
2708 26, // 21: google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.zypper:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.ZypperRepository
2709 27, // 22: google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.goo:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.GooRepository
2710 28, // 23: google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.validate:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec
2711 28, // 24: google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.enforce:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec
2712 10, // 25: google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.file:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.File
2713 4, // 26: google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.state:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.FileResource.DesiredState
2714 10, // 27: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb.source:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.File
2715 10, // 28: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM.source:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.File
2716 10, // 29: google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI.source:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.File
2717 2, // 30: google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.archive_type:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType
2718 10, // 31: google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.file:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.File
2719 3, // 32: google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.interpreter:type_name -> google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter
2720 33, // [33:33] is the sub-list for method output_type
2721 33, // [33:33] is the sub-list for method input_type
2722 33, // [33:33] is the sub-list for extension type_name
2723 33, // [33:33] is the sub-list for extension extendee
2724 0, // [0:33] is the sub-list for field type_name
2725 }
2726
2727 func init() { file_google_cloud_osconfig_v1alpha_os_policy_proto_init() }
2728 func file_google_cloud_osconfig_v1alpha_os_policy_proto_init() {
2729 if File_google_cloud_osconfig_v1alpha_os_policy_proto != nil {
2730 return
2731 }
2732 file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[3].OneofWrappers = []any{
2733 (*OSPolicy_Resource_Pkg)(nil),
2734 (*OSPolicy_Resource_Repository)(nil),
2735 (*OSPolicy_Resource_Exec)(nil),
2736 (*OSPolicy_Resource_File_)(nil),
2737 }
2738 file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[5].OneofWrappers = []any{
2739 (*OSPolicy_Resource_File_Remote_)(nil),
2740 (*OSPolicy_Resource_File_Gcs_)(nil),
2741 (*OSPolicy_Resource_File_LocalPath)(nil),
2742 }
2743 file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[6].OneofWrappers = []any{
2744 (*OSPolicy_Resource_PackageResource_Apt)(nil),
2745 (*OSPolicy_Resource_PackageResource_Deb_)(nil),
2746 (*OSPolicy_Resource_PackageResource_Yum)(nil),
2747 (*OSPolicy_Resource_PackageResource_Zypper_)(nil),
2748 (*OSPolicy_Resource_PackageResource_Rpm)(nil),
2749 (*OSPolicy_Resource_PackageResource_Googet)(nil),
2750 (*OSPolicy_Resource_PackageResource_Msi)(nil),
2751 }
2752 file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[7].OneofWrappers = []any{
2753 (*OSPolicy_Resource_RepositoryResource_Apt)(nil),
2754 (*OSPolicy_Resource_RepositoryResource_Yum)(nil),
2755 (*OSPolicy_Resource_RepositoryResource_Zypper)(nil),
2756 (*OSPolicy_Resource_RepositoryResource_Goo)(nil),
2757 }
2758 file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[9].OneofWrappers = []any{
2759 (*OSPolicy_Resource_FileResource_File)(nil),
2760 (*OSPolicy_Resource_FileResource_Content)(nil),
2761 }
2762 file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes[23].OneofWrappers = []any{
2763 (*OSPolicy_Resource_ExecResource_Exec_File)(nil),
2764 (*OSPolicy_Resource_ExecResource_Exec_Script)(nil),
2765 }
2766 type x struct{}
2767 out := protoimpl.TypeBuilder{
2768 File: protoimpl.DescBuilder{
2769 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2770 RawDescriptor: file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDesc,
2771 NumEnums: 5,
2772 NumMessages: 24,
2773 NumExtensions: 0,
2774 NumServices: 0,
2775 },
2776 GoTypes: file_google_cloud_osconfig_v1alpha_os_policy_proto_goTypes,
2777 DependencyIndexes: file_google_cloud_osconfig_v1alpha_os_policy_proto_depIdxs,
2778 EnumInfos: file_google_cloud_osconfig_v1alpha_os_policy_proto_enumTypes,
2779 MessageInfos: file_google_cloud_osconfig_v1alpha_os_policy_proto_msgTypes,
2780 }.Build()
2781 File_google_cloud_osconfig_v1alpha_os_policy_proto = out.File
2782 file_google_cloud_osconfig_v1alpha_os_policy_proto_rawDesc = nil
2783 file_google_cloud_osconfig_v1alpha_os_policy_proto_goTypes = nil
2784 file_google_cloud_osconfig_v1alpha_os_policy_proto_depIdxs = nil
2785 }