Debian Codegraph @

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

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/osconfig/agentendpoint/v1/config_common.proto
20
21 package agentendpointpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // Supported OSPolicy compliance states.
38 type OSPolicyComplianceState int32
39
40 const (
41 // Default value. This value is unused.
42 OSPolicyComplianceState_OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED OSPolicyComplianceState = 0
43 // Compliant state.
44 OSPolicyComplianceState_COMPLIANT OSPolicyComplianceState = 1
45 // Non-compliant state
46 OSPolicyComplianceState_NON_COMPLIANT OSPolicyComplianceState = 2
47 // Unknown compliance state.
48 OSPolicyComplianceState_UNKNOWN OSPolicyComplianceState = 3
49 // No applicable OS policies were found for the instance.
50 // This state is only applicable to the instance.
51 OSPolicyComplianceState_NO_OS_POLICIES_APPLICABLE OSPolicyComplianceState = 4
52 )
53
54 // Enum value maps for OSPolicyComplianceState.
55 var (
56 OSPolicyComplianceState_name = map[int32]string{
57 0: "OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED",
58 1: "COMPLIANT",
59 2: "NON_COMPLIANT",
60 3: "UNKNOWN",
61 4: "NO_OS_POLICIES_APPLICABLE",
62 }
63 OSPolicyComplianceState_value = map[string]int32{
64 "OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED": 0,
65 "COMPLIANT": 1,
66 "NON_COMPLIANT": 2,
67 "UNKNOWN": 3,
68 "NO_OS_POLICIES_APPLICABLE": 4,
69 }
70 )
71
72 func (x OSPolicyComplianceState) Enum() *OSPolicyComplianceState {
73 p := new(OSPolicyComplianceState)
74 *p = x
75 return p
76 }
77
78 func (x OSPolicyComplianceState) String() string {
79 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
80 }
81
82 func (OSPolicyComplianceState) Descriptor() protoreflect.EnumDescriptor {
83 return file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_enumTypes[0].Descriptor()
84 }
85
86 func (OSPolicyComplianceState) Type() protoreflect.EnumType {
87 return &file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_enumTypes[0]
88 }
89
90 func (x OSPolicyComplianceState) Number() protoreflect.EnumNumber {
91 return protoreflect.EnumNumber(x)
92 }
93
94 // Deprecated: Use OSPolicyComplianceState.Descriptor instead.
95 func (OSPolicyComplianceState) EnumDescriptor() ([]byte, []int) {
96 return file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDescGZIP(), []int{0}
97 }
98
99 // Supported configuration step types
100 type OSPolicyResourceConfigStep_Type int32
101
102 const (
103 // Default value. This value is unused.
104 OSPolicyResourceConfigStep_TYPE_UNSPECIFIED OSPolicyResourceConfigStep_Type = 0
105 // Validation to detect resource conflicts, schema errors, etc.
106 OSPolicyResourceConfigStep_VALIDATION OSPolicyResourceConfigStep_Type = 1
107 // Check the current desired state status of the resource.
108 OSPolicyResourceConfigStep_DESIRED_STATE_CHECK OSPolicyResourceConfigStep_Type = 2
109 // Enforce the desired state for a resource that is not in desired state.
110 OSPolicyResourceConfigStep_DESIRED_STATE_ENFORCEMENT OSPolicyResourceConfigStep_Type = 3
111 // Re-check desired state status for a resource after enforcement of all
112 // resources in the current configuration run.
113 //
114 // This step is used to determine the final desired state status for the
115 // resource. It accounts for any resources that might have drifted from
116 // their desired state due to side effects from configuring other resources
117 // during the current configuration run.
118 OSPolicyResourceConfigStep_DESIRED_STATE_CHECK_POST_ENFORCEMENT OSPolicyResourceConfigStep_Type = 4
119 )
120
121 // Enum value maps for OSPolicyResourceConfigStep_Type.
122 var (
123 OSPolicyResourceConfigStep_Type_name = map[int32]string{
124 0: "TYPE_UNSPECIFIED",
125 1: "VALIDATION",
126 2: "DESIRED_STATE_CHECK",
127 3: "DESIRED_STATE_ENFORCEMENT",
128 4: "DESIRED_STATE_CHECK_POST_ENFORCEMENT",
129 }
130 OSPolicyResourceConfigStep_Type_value = map[string]int32{
131 "TYPE_UNSPECIFIED": 0,
132 "VALIDATION": 1,
133 "DESIRED_STATE_CHECK": 2,
134 "DESIRED_STATE_ENFORCEMENT": 3,
135 "DESIRED_STATE_CHECK_POST_ENFORCEMENT": 4,
136 }
137 )
138
139 func (x OSPolicyResourceConfigStep_Type) Enum() *OSPolicyResourceConfigStep_Type {
140 p := new(OSPolicyResourceConfigStep_Type)
141 *p = x
142 return p
143 }
144
145 func (x OSPolicyResourceConfigStep_Type) String() string {
146 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
147 }
148
149 func (OSPolicyResourceConfigStep_Type) Descriptor() protoreflect.EnumDescriptor {
150 return file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_enumTypes[1].Descriptor()
151 }
152
153 func (OSPolicyResourceConfigStep_Type) Type() protoreflect.EnumType {
154 return &file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_enumTypes[1]
155 }
156
157 func (x OSPolicyResourceConfigStep_Type) Number() protoreflect.EnumNumber {
158 return protoreflect.EnumNumber(x)
159 }
160
161 // Deprecated: Use OSPolicyResourceConfigStep_Type.Descriptor instead.
162 func (OSPolicyResourceConfigStep_Type) EnumDescriptor() ([]byte, []int) {
163 return file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDescGZIP(), []int{0, 0}
164 }
165
166 // Supported outcomes for a configuration step.
167 type OSPolicyResourceConfigStep_Outcome int32
168
169 const (
170 // Default value. This value is unused.
171 OSPolicyResourceConfigStep_OUTCOME_UNSPECIFIED OSPolicyResourceConfigStep_Outcome = 0
172 // The step succeeded.
173 OSPolicyResourceConfigStep_SUCCEEDED OSPolicyResourceConfigStep_Outcome = 1
174 // The step failed.
175 OSPolicyResourceConfigStep_FAILED OSPolicyResourceConfigStep_Outcome = 2
176 )
177
178 // Enum value maps for OSPolicyResourceConfigStep_Outcome.
179 var (
180 OSPolicyResourceConfigStep_Outcome_name = map[int32]string{
181 0: "OUTCOME_UNSPECIFIED",
182 1: "SUCCEEDED",
183 2: "FAILED",
184 }
185 OSPolicyResourceConfigStep_Outcome_value = map[string]int32{
186 "OUTCOME_UNSPECIFIED": 0,
187 "SUCCEEDED": 1,
188 "FAILED": 2,
189 }
190 )
191
192 func (x OSPolicyResourceConfigStep_Outcome) Enum() *OSPolicyResourceConfigStep_Outcome {
193 p := new(OSPolicyResourceConfigStep_Outcome)
194 *p = x
195 return p
196 }
197
198 func (x OSPolicyResourceConfigStep_Outcome) String() string {
199 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
200 }
201
202 func (OSPolicyResourceConfigStep_Outcome) Descriptor() protoreflect.EnumDescriptor {
203 return file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_enumTypes[2].Descriptor()
204 }
205
206 func (OSPolicyResourceConfigStep_Outcome) Type() protoreflect.EnumType {
207 return &file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_enumTypes[2]
208 }
209
210 func (x OSPolicyResourceConfigStep_Outcome) Number() protoreflect.EnumNumber {
211 return protoreflect.EnumNumber(x)
212 }
213
214 // Deprecated: Use OSPolicyResourceConfigStep_Outcome.Descriptor instead.
215 func (OSPolicyResourceConfigStep_Outcome) EnumDescriptor() ([]byte, []int) {
216 return file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDescGZIP(), []int{0, 1}
217 }
218
219 // Step performed by the OS Config agent for configuring an `OSPolicyResource`
220 // to its desired state.
221 type OSPolicyResourceConfigStep struct {
222 state protoimpl.MessageState
223 sizeCache protoimpl.SizeCache
224 unknownFields protoimpl.UnknownFields
225
226 // Configuration step type.
227 Type OSPolicyResourceConfigStep_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceConfigStep_Type" json:"type,omitempty"`
228 // Outcome of the configuration step.
229 Outcome OSPolicyResourceConfigStep_Outcome `protobuf:"varint,2,opt,name=outcome,proto3,enum=google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceConfigStep_Outcome" json:"outcome,omitempty"`
230 // An error message recorded during the execution of this step.
231 // Only populated when outcome is FAILED.
232 ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
233 }
234
235 func (x *OSPolicyResourceConfigStep) Reset() {
236 *x = OSPolicyResourceConfigStep{}
237 mi := &file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_msgTypes[0]
238 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
239 ms.StoreMessageInfo(mi)
240 }
241
242 func (x *OSPolicyResourceConfigStep) String() string {
243 return protoimpl.X.MessageStringOf(x)
244 }
245
246 func (*OSPolicyResourceConfigStep) ProtoMessage() {}
247
248 func (x *OSPolicyResourceConfigStep) ProtoReflect() protoreflect.Message {
249 mi := &file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_msgTypes[0]
250 if x != nil {
251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
252 if ms.LoadMessageInfo() == nil {
253 ms.StoreMessageInfo(mi)
254 }
255 return ms
256 }
257 return mi.MessageOf(x)
258 }
259
260 // Deprecated: Use OSPolicyResourceConfigStep.ProtoReflect.Descriptor instead.
261 func (*OSPolicyResourceConfigStep) Descriptor() ([]byte, []int) {
262 return file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDescGZIP(), []int{0}
263 }
264
265 func (x *OSPolicyResourceConfigStep) GetType() OSPolicyResourceConfigStep_Type {
266 if x != nil {
267 return x.Type
268 }
269 return OSPolicyResourceConfigStep_TYPE_UNSPECIFIED
270 }
271
272 func (x *OSPolicyResourceConfigStep) GetOutcome() OSPolicyResourceConfigStep_Outcome {
273 if x != nil {
274 return x.Outcome
275 }
276 return OSPolicyResourceConfigStep_OUTCOME_UNSPECIFIED
277 }
278
279 func (x *OSPolicyResourceConfigStep) GetErrorMessage() string {
280 if x != nil {
281 return x.ErrorMessage
282 }
283 return ""
284 }
285
286 // Compliance data for an OS policy resource.
287 type OSPolicyResourceCompliance struct {
288 state protoimpl.MessageState
289 sizeCache protoimpl.SizeCache
290 unknownFields protoimpl.UnknownFields
291
292 // The id of the OS policy resource.
293 OsPolicyResourceId string `protobuf:"bytes,1,opt,name=os_policy_resource_id,json=osPolicyResourceId,proto3" json:"os_policy_resource_id,omitempty"`
294 // Ordered list of configuration steps taken by the agent for the OS policy
295 // resource.
296 ConfigSteps []*OSPolicyResourceConfigStep `protobuf:"bytes,2,rep,name=config_steps,json=configSteps,proto3" json:"config_steps,omitempty"`
297 // Compliance state of the OS policy resource.
298 State OSPolicyComplianceState `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.osconfig.agentendpoint.v1.OSPolicyComplianceState" json:"state,omitempty"`
299 // Resource specific output.
300 //
301 // Types that are assignable to Output:
302 //
303 // *OSPolicyResourceCompliance_ExecResourceOutput_
304 Output isOSPolicyResourceCompliance_Output `protobuf_oneof:"output"`
305 }
306
307 func (x *OSPolicyResourceCompliance) Reset() {
308 *x = OSPolicyResourceCompliance{}
309 mi := &file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_msgTypes[1]
310 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
311 ms.StoreMessageInfo(mi)
312 }
313
314 func (x *OSPolicyResourceCompliance) String() string {
315 return protoimpl.X.MessageStringOf(x)
316 }
317
318 func (*OSPolicyResourceCompliance) ProtoMessage() {}
319
320 func (x *OSPolicyResourceCompliance) ProtoReflect() protoreflect.Message {
321 mi := &file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_msgTypes[1]
322 if x != nil {
323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
324 if ms.LoadMessageInfo() == nil {
325 ms.StoreMessageInfo(mi)
326 }
327 return ms
328 }
329 return mi.MessageOf(x)
330 }
331
332 // Deprecated: Use OSPolicyResourceCompliance.ProtoReflect.Descriptor instead.
333 func (*OSPolicyResourceCompliance) Descriptor() ([]byte, []int) {
334 return file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDescGZIP(), []int{1}
335 }
336
337 func (x *OSPolicyResourceCompliance) GetOsPolicyResourceId() string {
338 if x != nil {
339 return x.OsPolicyResourceId
340 }
341 return ""
342 }
343
344 func (x *OSPolicyResourceCompliance) GetConfigSteps() []*OSPolicyResourceConfigStep {
345 if x != nil {
346 return x.ConfigSteps
347 }
348 return nil
349 }
350
351 func (x *OSPolicyResourceCompliance) GetState() OSPolicyComplianceState {
352 if x != nil {
353 return x.State
354 }
355 return OSPolicyComplianceState_OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED
356 }
357
358 func (m *OSPolicyResourceCompliance) GetOutput() isOSPolicyResourceCompliance_Output {
359 if m != nil {
360 return m.Output
361 }
362 return nil
363 }
364
365 func (x *OSPolicyResourceCompliance) GetExecResourceOutput() *OSPolicyResourceCompliance_ExecResourceOutput {
366 if x, ok := x.GetOutput().(*OSPolicyResourceCompliance_ExecResourceOutput_); ok {
367 return x.ExecResourceOutput
368 }
369 return nil
370 }
371
372 type isOSPolicyResourceCompliance_Output interface {
373 isOSPolicyResourceCompliance_Output()
374 }
375
376 type OSPolicyResourceCompliance_ExecResourceOutput_ struct {
377 // ExecResource specific output.
378 ExecResourceOutput *OSPolicyResourceCompliance_ExecResourceOutput `protobuf:"bytes,4,opt,name=exec_resource_output,json=execResourceOutput,proto3,oneof"`
379 }
380
381 func (*OSPolicyResourceCompliance_ExecResourceOutput_) isOSPolicyResourceCompliance_Output() {}
382
383 // ExecResource specific output.
384 type OSPolicyResourceCompliance_ExecResourceOutput struct {
385 state protoimpl.MessageState
386 sizeCache protoimpl.SizeCache
387 unknownFields protoimpl.UnknownFields
388
389 // Output from Enforcement phase output file (if run).
390 // Output size is limited to 100K bytes.
391 EnforcementOutput []byte `protobuf:"bytes,2,opt,name=enforcement_output,json=enforcementOutput,proto3" json:"enforcement_output,omitempty"`
392 }
393
394 func (x *OSPolicyResourceCompliance_ExecResourceOutput) Reset() {
395 *x = OSPolicyResourceCompliance_ExecResourceOutput{}
396 mi := &file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_msgTypes[2]
397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
398 ms.StoreMessageInfo(mi)
399 }
400
401 func (x *OSPolicyResourceCompliance_ExecResourceOutput) String() string {
402 return protoimpl.X.MessageStringOf(x)
403 }
404
405 func (*OSPolicyResourceCompliance_ExecResourceOutput) ProtoMessage() {}
406
407 func (x *OSPolicyResourceCompliance_ExecResourceOutput) ProtoReflect() protoreflect.Message {
408 mi := &file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_msgTypes[2]
409 if x != nil {
410 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
411 if ms.LoadMessageInfo() == nil {
412 ms.StoreMessageInfo(mi)
413 }
414 return ms
415 }
416 return mi.MessageOf(x)
417 }
418
419 // Deprecated: Use OSPolicyResourceCompliance_ExecResourceOutput.ProtoReflect.Descriptor instead.
420 func (*OSPolicyResourceCompliance_ExecResourceOutput) Descriptor() ([]byte, []int) {
421 return file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDescGZIP(), []int{1, 0}
422 }
423
424 func (x *OSPolicyResourceCompliance_ExecResourceOutput) GetEnforcementOutput() []byte {
425 if x != nil {
426 return x.EnforcementOutput
427 }
428 return nil
429 }
430
431 var File_google_cloud_osconfig_agentendpoint_v1_config_common_proto protoreflect.FileDescriptor
432
433 var file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDesc = []byte{
434 0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f,
435 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64,
436 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f,
437 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f,
438 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e,
439 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
440 0x74, 0x2e, 0x76, 0x31, 0x22, 0xd4, 0x03, 0x0a, 0x1a, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63,
441 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53,
442 0x74, 0x65, 0x70, 0x12, 0x5b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
443 0x0e, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
444 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65,
445 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c,
446 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
447 0x67, 0x53, 0x74, 0x65, 0x70, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
448 0x12, 0x64, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
449 0x0e, 0x32, 0x4a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
450 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65,
451 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c,
452 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
453 0x67, 0x53, 0x74, 0x65, 0x70, 0x2e, 0x4f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x52, 0x07, 0x6f,
454 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f,
455 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65,
456 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x04,
457 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53,
458 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x56, 0x41,
459 0x4c, 0x49, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x45,
460 0x53, 0x49, 0x52, 0x45, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x48, 0x45, 0x43,
461 0x4b, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x45, 0x53, 0x49, 0x52, 0x45, 0x44, 0x5f, 0x53,
462 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x4e, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x4d, 0x45, 0x4e, 0x54,
463 0x10, 0x03, 0x12, 0x28, 0x0a, 0x24, 0x44, 0x45, 0x53, 0x49, 0x52, 0x45, 0x44, 0x5f, 0x53, 0x54,
464 0x41, 0x54, 0x45, 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x45,
465 0x4e, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x04, 0x22, 0x3d, 0x0a, 0x07,
466 0x4f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x4f, 0x55, 0x54, 0x43, 0x4f,
467 0x4d, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
468 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12,
469 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0xe8, 0x03, 0x0a, 0x1a,
470 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
471 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x31, 0x0a, 0x15, 0x6f, 0x73,
472 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
473 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6f, 0x73, 0x50, 0x6f, 0x6c,
474 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x65, 0x0a,
475 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x02, 0x20,
476 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
477 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e,
478 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x53, 0x50,
479 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e,
480 0x66, 0x69, 0x67, 0x53, 0x74, 0x65, 0x70, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53,
481 0x74, 0x65, 0x70, 0x73, 0x12, 0x55, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20,
482 0x01, 0x28, 0x0e, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
483 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e,
484 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x53, 0x50,
485 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x53,
486 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x89, 0x01, 0x0a, 0x14,
487 0x65, 0x78, 0x65, 0x63, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6f, 0x75,
488 0x74, 0x70, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x55, 0x2e, 0x67, 0x6f, 0x6f,
489 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66,
490 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
491 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x53, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x6f,
492 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x45,
493 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75,
494 0x74, 0x48, 0x00, 0x52, 0x12, 0x65, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
495 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x1a, 0x43, 0x0a, 0x12, 0x45, 0x78, 0x65, 0x63, 0x52,
496 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x2d, 0x0a,
497 0x12, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x75, 0x74,
498 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x65, 0x6e, 0x66, 0x6f, 0x72,
499 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x08, 0x0a, 0x06,
500 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x2a, 0x93, 0x01, 0x0a, 0x17, 0x4f, 0x53, 0x50, 0x6f, 0x6c,
501 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61,
502 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x26, 0x4f, 0x53, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f,
503 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x49, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45,
504 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d,
505 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x49, 0x41, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x11, 0x0a,
506 0x0d, 0x4e, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x49, 0x41, 0x4e, 0x54, 0x10, 0x02,
507 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x03, 0x12, 0x1d, 0x0a,
508 0x19, 0x4e, 0x4f, 0x5f, 0x4f, 0x53, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x49, 0x45, 0x53, 0x5f,
509 0x41, 0x50, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x04, 0x42, 0x93, 0x01, 0x0a,
510 0x2a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
511 0x64, 0x2e, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74,
512 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x43, 0x6f, 0x6e,
513 0x66, 0x69, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
514 0x5a, 0x50, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
515 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6f, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x61,
516 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69,
517 0x76, 0x31, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
518 0x70, 0x62, 0x3b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
519 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
520 }
521
522 var (
523 file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDescOnce sync.Once
524 file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDescData = file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDesc
525 )
526
527 func file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDescGZIP() []byte {
528 file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDescOnce.Do(func() {
529 file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDescData)
530 })
531 return file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDescData
532 }
533
534 var file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
535 var file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
536 var file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_goTypes = []any{
537 (OSPolicyComplianceState)(0), // 0: google.cloud.osconfig.agentendpoint.v1.OSPolicyComplianceState
538 (OSPolicyResourceConfigStep_Type)(0), // 1: google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceConfigStep.Type
539 (OSPolicyResourceConfigStep_Outcome)(0), // 2: google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceConfigStep.Outcome
540 (*OSPolicyResourceConfigStep)(nil), // 3: google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceConfigStep
541 (*OSPolicyResourceCompliance)(nil), // 4: google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceCompliance
542 (*OSPolicyResourceCompliance_ExecResourceOutput)(nil), // 5: google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceCompliance.ExecResourceOutput
543 }
544 var file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_depIdxs = []int32{
545 1, // 0: google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceConfigStep.type:type_name -> google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceConfigStep.Type
546 2, // 1: google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceConfigStep.outcome:type_name -> google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceConfigStep.Outcome
547 3, // 2: google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceCompliance.config_steps:type_name -> google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceConfigStep
548 0, // 3: google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceCompliance.state:type_name -> google.cloud.osconfig.agentendpoint.v1.OSPolicyComplianceState
549 5, // 4: google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceCompliance.exec_resource_output:type_name -> google.cloud.osconfig.agentendpoint.v1.OSPolicyResourceCompliance.ExecResourceOutput
550 5, // [5:5] is the sub-list for method output_type
551 5, // [5:5] is the sub-list for method input_type
552 5, // [5:5] is the sub-list for extension type_name
553 5, // [5:5] is the sub-list for extension extendee
554 0, // [0:5] is the sub-list for field type_name
555 }
556
557 func init() { file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_init() }
558 func file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_init() {
559 if File_google_cloud_osconfig_agentendpoint_v1_config_common_proto != nil {
560 return
561 }
562 file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_msgTypes[1].OneofWrappers = []any{
563 (*OSPolicyResourceCompliance_ExecResourceOutput_)(nil),
564 }
565 type x struct{}
566 out := protoimpl.TypeBuilder{
567 File: protoimpl.DescBuilder{
568 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
569 RawDescriptor: file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDesc,
570 NumEnums: 3,
571 NumMessages: 3,
572 NumExtensions: 0,
573 NumServices: 0,
574 },
575 GoTypes: file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_goTypes,
576 DependencyIndexes: file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_depIdxs,
577 EnumInfos: file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_enumTypes,
578 MessageInfos: file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_msgTypes,
579 }.Build()
580 File_google_cloud_osconfig_agentendpoint_v1_config_common_proto = out.File
581 file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_rawDesc = nil
582 file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_goTypes = nil
583 file_google_cloud_osconfig_agentendpoint_v1_config_common_proto_depIdxs = nil
584 }