Debian Codegraph @

orgpolicy/apiv2/orgpolicypb/constraint.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/orgpolicy/v2/constraint.proto
20
21 package orgpolicypb
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 structpb "google.golang.org/protobuf/types/known/structpb"
28 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
29 reflect "reflect"
30 sync "sync"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // Specifies the default behavior in the absence of any policy for the
41 // constraint. This must not be `CONSTRAINT_DEFAULT_UNSPECIFIED`.
42 //
43 // Immutable after creation.
44 type Constraint_ConstraintDefault int32
45
46 const (
47 // This is only used for distinguishing unset values and should never be
48 // used. Results in an error.
49 Constraint_CONSTRAINT_DEFAULT_UNSPECIFIED Constraint_ConstraintDefault = 0
50 // Indicate that all values are allowed for list constraints.
51 // Indicate that enforcement is off for boolean constraints.
52 Constraint_ALLOW Constraint_ConstraintDefault = 1
53 // Indicate that all values are denied for list constraints.
54 // Indicate that enforcement is on for boolean constraints.
55 Constraint_DENY Constraint_ConstraintDefault = 2
56 )
57
58 // Enum value maps for Constraint_ConstraintDefault.
59 var (
60 Constraint_ConstraintDefault_name = map[int32]string{
61 0: "CONSTRAINT_DEFAULT_UNSPECIFIED",
62 1: "ALLOW",
63 2: "DENY",
64 }
65 Constraint_ConstraintDefault_value = map[string]int32{
66 "CONSTRAINT_DEFAULT_UNSPECIFIED": 0,
67 "ALLOW": 1,
68 "DENY": 2,
69 }
70 )
71
72 func (x Constraint_ConstraintDefault) Enum() *Constraint_ConstraintDefault {
73 p := new(Constraint_ConstraintDefault)
74 *p = x
75 return p
76 }
77
78 func (x Constraint_ConstraintDefault) String() string {
79 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
80 }
81
82 func (Constraint_ConstraintDefault) Descriptor() protoreflect.EnumDescriptor {
83 return file_google_cloud_orgpolicy_v2_constraint_proto_enumTypes[0].Descriptor()
84 }
85
86 func (Constraint_ConstraintDefault) Type() protoreflect.EnumType {
87 return &file_google_cloud_orgpolicy_v2_constraint_proto_enumTypes[0]
88 }
89
90 func (x Constraint_ConstraintDefault) Number() protoreflect.EnumNumber {
91 return protoreflect.EnumNumber(x)
92 }
93
94 // Deprecated: Use Constraint_ConstraintDefault.Descriptor instead.
95 func (Constraint_ConstraintDefault) EnumDescriptor() ([]byte, []int) {
96 return file_google_cloud_orgpolicy_v2_constraint_proto_rawDescGZIP(), []int{0, 0}
97 }
98
99 // The operation for which this constraint will be applied. To apply this
100 // constraint only when creating new resources, the `method_types` should be
101 // `CREATE` only. To apply this constraint when creating or deleting
102 // resources, the `method_types` should be `CREATE` and `DELETE`.
103 //
104 // `UPDATE`-only custom constraints are not supported. Use `CREATE` or
105 // `CREATE, UPDATE`.
106 type Constraint_CustomConstraintDefinition_MethodType int32
107
108 const (
109 // This is only used for distinguishing unset values and should never be
110 // used. Results in an error.
111 Constraint_CustomConstraintDefinition_METHOD_TYPE_UNSPECIFIED Constraint_CustomConstraintDefinition_MethodType = 0
112 // Constraint applied when creating the resource.
113 Constraint_CustomConstraintDefinition_CREATE Constraint_CustomConstraintDefinition_MethodType = 1
114 // Constraint applied when updating the resource.
115 Constraint_CustomConstraintDefinition_UPDATE Constraint_CustomConstraintDefinition_MethodType = 2
116 // Constraint applied when deleting the resource.
117 // Not currently supported.
118 Constraint_CustomConstraintDefinition_DELETE Constraint_CustomConstraintDefinition_MethodType = 3
119 // Constraint applied when removing an IAM grant.
120 Constraint_CustomConstraintDefinition_REMOVE_GRANT Constraint_CustomConstraintDefinition_MethodType = 4
121 // Constraint applied when enforcing forced tagging.
122 Constraint_CustomConstraintDefinition_GOVERN_TAGS Constraint_CustomConstraintDefinition_MethodType = 5
123 )
124
125 // Enum value maps for Constraint_CustomConstraintDefinition_MethodType.
126 var (
127 Constraint_CustomConstraintDefinition_MethodType_name = map[int32]string{
128 0: "METHOD_TYPE_UNSPECIFIED",
129 1: "CREATE",
130 2: "UPDATE",
131 3: "DELETE",
132 4: "REMOVE_GRANT",
133 5: "GOVERN_TAGS",
134 }
135 Constraint_CustomConstraintDefinition_MethodType_value = map[string]int32{
136 "METHOD_TYPE_UNSPECIFIED": 0,
137 "CREATE": 1,
138 "UPDATE": 2,
139 "DELETE": 3,
140 "REMOVE_GRANT": 4,
141 "GOVERN_TAGS": 5,
142 }
143 )
144
145 func (x Constraint_CustomConstraintDefinition_MethodType) Enum() *Constraint_CustomConstraintDefinition_MethodType {
146 p := new(Constraint_CustomConstraintDefinition_MethodType)
147 *p = x
148 return p
149 }
150
151 func (x Constraint_CustomConstraintDefinition_MethodType) String() string {
152 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
153 }
154
155 func (Constraint_CustomConstraintDefinition_MethodType) Descriptor() protoreflect.EnumDescriptor {
156 return file_google_cloud_orgpolicy_v2_constraint_proto_enumTypes[1].Descriptor()
157 }
158
159 func (Constraint_CustomConstraintDefinition_MethodType) Type() protoreflect.EnumType {
160 return &file_google_cloud_orgpolicy_v2_constraint_proto_enumTypes[1]
161 }
162
163 func (x Constraint_CustomConstraintDefinition_MethodType) Number() protoreflect.EnumNumber {
164 return protoreflect.EnumNumber(x)
165 }
166
167 // Deprecated: Use Constraint_CustomConstraintDefinition_MethodType.Descriptor instead.
168 func (Constraint_CustomConstraintDefinition_MethodType) EnumDescriptor() ([]byte, []int) {
169 return file_google_cloud_orgpolicy_v2_constraint_proto_rawDescGZIP(), []int{0, 1, 0}
170 }
171
172 // Allow or deny type.
173 type Constraint_CustomConstraintDefinition_ActionType int32
174
175 const (
176 // This is only used for distinguishing unset values and should never be
177 // used. Results in an error.
178 Constraint_CustomConstraintDefinition_ACTION_TYPE_UNSPECIFIED Constraint_CustomConstraintDefinition_ActionType = 0
179 // Allowed action type.
180 Constraint_CustomConstraintDefinition_ALLOW Constraint_CustomConstraintDefinition_ActionType = 1
181 // Deny action type.
182 Constraint_CustomConstraintDefinition_DENY Constraint_CustomConstraintDefinition_ActionType = 2
183 )
184
185 // Enum value maps for Constraint_CustomConstraintDefinition_ActionType.
186 var (
187 Constraint_CustomConstraintDefinition_ActionType_name = map[int32]string{
188 0: "ACTION_TYPE_UNSPECIFIED",
189 1: "ALLOW",
190 2: "DENY",
191 }
192 Constraint_CustomConstraintDefinition_ActionType_value = map[string]int32{
193 "ACTION_TYPE_UNSPECIFIED": 0,
194 "ALLOW": 1,
195 "DENY": 2,
196 }
197 )
198
199 func (x Constraint_CustomConstraintDefinition_ActionType) Enum() *Constraint_CustomConstraintDefinition_ActionType {
200 p := new(Constraint_CustomConstraintDefinition_ActionType)
201 *p = x
202 return p
203 }
204
205 func (x Constraint_CustomConstraintDefinition_ActionType) String() string {
206 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
207 }
208
209 func (Constraint_CustomConstraintDefinition_ActionType) Descriptor() protoreflect.EnumDescriptor {
210 return file_google_cloud_orgpolicy_v2_constraint_proto_enumTypes[2].Descriptor()
211 }
212
213 func (Constraint_CustomConstraintDefinition_ActionType) Type() protoreflect.EnumType {
214 return &file_google_cloud_orgpolicy_v2_constraint_proto_enumTypes[2]
215 }
216
217 func (x Constraint_CustomConstraintDefinition_ActionType) Number() protoreflect.EnumNumber {
218 return protoreflect.EnumNumber(x)
219 }
220
221 // Deprecated: Use Constraint_CustomConstraintDefinition_ActionType.Descriptor instead.
222 func (Constraint_CustomConstraintDefinition_ActionType) EnumDescriptor() ([]byte, []int) {
223 return file_google_cloud_orgpolicy_v2_constraint_proto_rawDescGZIP(), []int{0, 1, 1}
224 }
225
226 // All valid types of parameter.
227 type Constraint_CustomConstraintDefinition_Parameter_Type int32
228
229 const (
230 // This is only used for distinguishing unset values and should never be
231 // used. Results in an error.
232 Constraint_CustomConstraintDefinition_Parameter_TYPE_UNSPECIFIED Constraint_CustomConstraintDefinition_Parameter_Type = 0
233 // List parameter type.
234 Constraint_CustomConstraintDefinition_Parameter_LIST Constraint_CustomConstraintDefinition_Parameter_Type = 1
235 // String parameter type.
236 Constraint_CustomConstraintDefinition_Parameter_STRING Constraint_CustomConstraintDefinition_Parameter_Type = 2
237 // Boolean parameter type.
238 Constraint_CustomConstraintDefinition_Parameter_BOOLEAN Constraint_CustomConstraintDefinition_Parameter_Type = 3
239 )
240
241 // Enum value maps for Constraint_CustomConstraintDefinition_Parameter_Type.
242 var (
243 Constraint_CustomConstraintDefinition_Parameter_Type_name = map[int32]string{
244 0: "TYPE_UNSPECIFIED",
245 1: "LIST",
246 2: "STRING",
247 3: "BOOLEAN",
248 }
249 Constraint_CustomConstraintDefinition_Parameter_Type_value = map[string]int32{
250 "TYPE_UNSPECIFIED": 0,
251 "LIST": 1,
252 "STRING": 2,
253 "BOOLEAN": 3,
254 }
255 )
256
257 func (x Constraint_CustomConstraintDefinition_Parameter_Type) Enum() *Constraint_CustomConstraintDefinition_Parameter_Type {
258 p := new(Constraint_CustomConstraintDefinition_Parameter_Type)
259 *p = x
260 return p
261 }
262
263 func (x Constraint_CustomConstraintDefinition_Parameter_Type) String() string {
264 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
265 }
266
267 func (Constraint_CustomConstraintDefinition_Parameter_Type) Descriptor() protoreflect.EnumDescriptor {
268 return file_google_cloud_orgpolicy_v2_constraint_proto_enumTypes[3].Descriptor()
269 }
270
271 func (Constraint_CustomConstraintDefinition_Parameter_Type) Type() protoreflect.EnumType {
272 return &file_google_cloud_orgpolicy_v2_constraint_proto_enumTypes[3]
273 }
274
275 func (x Constraint_CustomConstraintDefinition_Parameter_Type) Number() protoreflect.EnumNumber {
276 return protoreflect.EnumNumber(x)
277 }
278
279 // Deprecated: Use Constraint_CustomConstraintDefinition_Parameter_Type.Descriptor instead.
280 func (Constraint_CustomConstraintDefinition_Parameter_Type) EnumDescriptor() ([]byte, []int) {
281 return file_google_cloud_orgpolicy_v2_constraint_proto_rawDescGZIP(), []int{0, 1, 0, 0}
282 }
283
284 // The operation for which this constraint will be applied. To apply this
285 // constraint only when creating new resources, the `method_types` should be
286 // `CREATE` only. To apply this constraint when creating or deleting
287 // resources, the `method_types` should be `CREATE` and `DELETE`.
288 //
289 // `UPDATE` only custom constraints are not supported. Use `CREATE` or
290 // `CREATE, UPDATE`.
291 type CustomConstraint_MethodType int32
292
293 const (
294 // This is only used for distinguishing unset values and should never be
295 // used. Results in an error.
296 CustomConstraint_METHOD_TYPE_UNSPECIFIED CustomConstraint_MethodType = 0
297 // Constraint applied when creating the resource.
298 CustomConstraint_CREATE CustomConstraint_MethodType = 1
299 // Constraint applied when updating the resource.
300 CustomConstraint_UPDATE CustomConstraint_MethodType = 2
301 // Constraint applied when deleting the resource.
302 // Not currently supported.
303 CustomConstraint_DELETE CustomConstraint_MethodType = 3
304 // Constraint applied when removing an IAM grant.
305 CustomConstraint_REMOVE_GRANT CustomConstraint_MethodType = 4
306 // Constraint applied when enforcing forced tagging.
307 CustomConstraint_GOVERN_TAGS CustomConstraint_MethodType = 5
308 )
309
310 // Enum value maps for CustomConstraint_MethodType.
311 var (
312 CustomConstraint_MethodType_name = map[int32]string{
313 0: "METHOD_TYPE_UNSPECIFIED",
314 1: "CREATE",
315 2: "UPDATE",
316 3: "DELETE",
317 4: "REMOVE_GRANT",
318 5: "GOVERN_TAGS",
319 }
320 CustomConstraint_MethodType_value = map[string]int32{
321 "METHOD_TYPE_UNSPECIFIED": 0,
322 "CREATE": 1,
323 "UPDATE": 2,
324 "DELETE": 3,
325 "REMOVE_GRANT": 4,
326 "GOVERN_TAGS": 5,
327 }
328 )
329
330 func (x CustomConstraint_MethodType) Enum() *CustomConstraint_MethodType {
331 p := new(CustomConstraint_MethodType)
332 *p = x
333 return p
334 }
335
336 func (x CustomConstraint_MethodType) String() string {
337 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
338 }
339
340 func (CustomConstraint_MethodType) Descriptor() protoreflect.EnumDescriptor {
341 return file_google_cloud_orgpolicy_v2_constraint_proto_enumTypes[4].Descriptor()
342 }
343
344 func (CustomConstraint_MethodType) Type() protoreflect.EnumType {
345 return &file_google_cloud_orgpolicy_v2_constraint_proto_enumTypes[4]
346 }
347
348 func (x CustomConstraint_MethodType) Number() protoreflect.EnumNumber {
349 return protoreflect.EnumNumber(x)
350 }
351
352 // Deprecated: Use CustomConstraint_MethodType.Descriptor instead.
353 func (CustomConstraint_MethodType) EnumDescriptor() ([]byte, []int) {
354 return file_google_cloud_orgpolicy_v2_constraint_proto_rawDescGZIP(), []int{1, 0}
355 }
356
357 // Allow or deny type.
358 type CustomConstraint_ActionType int32
359
360 const (
361 // This is only used for distinguishing unset values and should never be
362 // used. Results in an error.
363 CustomConstraint_ACTION_TYPE_UNSPECIFIED CustomConstraint_ActionType = 0
364 // Allowed action type.
365 CustomConstraint_ALLOW CustomConstraint_ActionType = 1
366 // Deny action type.
367 CustomConstraint_DENY CustomConstraint_ActionType = 2
368 )
369
370 // Enum value maps for CustomConstraint_ActionType.
371 var (
372 CustomConstraint_ActionType_name = map[int32]string{
373 0: "ACTION_TYPE_UNSPECIFIED",
374 1: "ALLOW",
375 2: "DENY",
376 }
377 CustomConstraint_ActionType_value = map[string]int32{
378 "ACTION_TYPE_UNSPECIFIED": 0,
379 "ALLOW": 1,
380 "DENY": 2,
381 }
382 )
383
384 func (x CustomConstraint_ActionType) Enum() *CustomConstraint_ActionType {
385 p := new(CustomConstraint_ActionType)
386 *p = x
387 return p
388 }
389
390 func (x CustomConstraint_ActionType) String() string {
391 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
392 }
393
394 func (CustomConstraint_ActionType) Descriptor() protoreflect.EnumDescriptor {
395 return file_google_cloud_orgpolicy_v2_constraint_proto_enumTypes[5].Descriptor()
396 }
397
398 func (CustomConstraint_ActionType) Type() protoreflect.EnumType {
399 return &file_google_cloud_orgpolicy_v2_constraint_proto_enumTypes[5]
400 }
401
402 func (x CustomConstraint_ActionType) Number() protoreflect.EnumNumber {
403 return protoreflect.EnumNumber(x)
404 }
405
406 // Deprecated: Use CustomConstraint_ActionType.Descriptor instead.
407 func (CustomConstraint_ActionType) EnumDescriptor() ([]byte, []int) {
408 return file_google_cloud_orgpolicy_v2_constraint_proto_rawDescGZIP(), []int{1, 1}
409 }
410
411 // A constraint describes a way to restrict resource's configuration. For
412 // example, you could enforce a constraint that controls which Google Cloud
413 // services can be activated across an organization, or whether a Compute Engine
414 // instance can have serial port connections established. Constraints can be
415 // configured by the organization policy administrator to fit the needs of the
416 // organization by setting a policy that includes constraints at different
417 // locations in the organization's resource hierarchy. Policies are inherited
418 // down the resource hierarchy from higher levels, but can also be overridden.
419 // For details about the inheritance rules, see
420 // [`Policy`][google.cloud.orgpolicy.v2.Policy].
421 //
422 // Constraints have a default behavior determined by the `constraint_default`
423 // field, which is the enforcement behavior that is used in the absence of a
424 // policy being defined or inherited for the resource in question.
425 type Constraint struct {
426 state protoimpl.MessageState
427 sizeCache protoimpl.SizeCache
428 unknownFields protoimpl.UnknownFields
429
430 // Immutable. The resource name of the constraint. Must be in one of
431 // the following forms:
432 //
433 // * `projects/{project_number}/constraints/{constraint_name}`
434 // * `folders/{folder_id}/constraints/{constraint_name}`
435 // * `organizations/{organization_id}/constraints/{constraint_name}`
436 //
437 // For example, "/projects/123/constraints/compute.disableSerialPortAccess".
438 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
439 // The human readable name.
440 //
441 // Mutable.
442 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
443 // Detailed description of what this constraint controls as well as how and
444 // where it is enforced.
445 //
446 // Mutable.
447 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
448 // The evaluation behavior of this constraint in the absence of a policy.
449 ConstraintDefault Constraint_ConstraintDefault `protobuf:"varint,4,opt,name=constraint_default,json=constraintDefault,proto3,enum=google.cloud.orgpolicy.v2.Constraint_ConstraintDefault" json:"constraint_default,omitempty"`
450 // The type of restrictions for this `Constraint`.
451 //
452 // Immutable after creation.
453 //
454 // Types that are assignable to ConstraintType:
455 //
456 // *Constraint_ListConstraint_
457 // *Constraint_BooleanConstraint_
458 ConstraintType isConstraint_ConstraintType `protobuf_oneof:"constraint_type"`
459 // Shows if dry run is supported for this constraint or not.
460 SupportsDryRun bool `protobuf:"varint,7,opt,name=supports_dry_run,json=supportsDryRun,proto3" json:"supports_dry_run,omitempty"`
461 // Managed constraint and canned constraint sometimes can have
462 // equivalents. This field is used to store the equivalent constraint name.
463 EquivalentConstraint string `protobuf:"bytes,8,opt,name=equivalent_constraint,json=equivalentConstraint,proto3" json:"equivalent_constraint,omitempty"`
464 // Shows if simulation is supported for this constraint or not.
465 SupportsSimulation bool `protobuf:"varint,9,opt,name=supports_simulation,json=supportsSimulation,proto3" json:"supports_simulation,omitempty"`
466 }
467
468 func (x *Constraint) Reset() {
469 *x = Constraint{}
470 mi := &file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes[0]
471 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
472 ms.StoreMessageInfo(mi)
473 }
474
475 func (x *Constraint) String() string {
476 return protoimpl.X.MessageStringOf(x)
477 }
478
479 func (*Constraint) ProtoMessage() {}
480
481 func (x *Constraint) ProtoReflect() protoreflect.Message {
482 mi := &file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes[0]
483 if x != nil {
484 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
485 if ms.LoadMessageInfo() == nil {
486 ms.StoreMessageInfo(mi)
487 }
488 return ms
489 }
490 return mi.MessageOf(x)
491 }
492
493 // Deprecated: Use Constraint.ProtoReflect.Descriptor instead.
494 func (*Constraint) Descriptor() ([]byte, []int) {
495 return file_google_cloud_orgpolicy_v2_constraint_proto_rawDescGZIP(), []int{0}
496 }
497
498 func (x *Constraint) GetName() string {
499 if x != nil {
500 return x.Name
501 }
502 return ""
503 }
504
505 func (x *Constraint) GetDisplayName() string {
506 if x != nil {
507 return x.DisplayName
508 }
509 return ""
510 }
511
512 func (x *Constraint) GetDescription() string {
513 if x != nil {
514 return x.Description
515 }
516 return ""
517 }
518
519 func (x *Constraint) GetConstraintDefault() Constraint_ConstraintDefault {
520 if x != nil {
521 return x.ConstraintDefault
522 }
523 return Constraint_CONSTRAINT_DEFAULT_UNSPECIFIED
524 }
525
526 func (m *Constraint) GetConstraintType() isConstraint_ConstraintType {
527 if m != nil {
528 return m.ConstraintType
529 }
530 return nil
531 }
532
533 func (x *Constraint) GetListConstraint() *Constraint_ListConstraint {
534 if x, ok := x.GetConstraintType().(*Constraint_ListConstraint_); ok {
535 return x.ListConstraint
536 }
537 return nil
538 }
539
540 func (x *Constraint) GetBooleanConstraint() *Constraint_BooleanConstraint {
541 if x, ok := x.GetConstraintType().(*Constraint_BooleanConstraint_); ok {
542 return x.BooleanConstraint
543 }
544 return nil
545 }
546
547 func (x *Constraint) GetSupportsDryRun() bool {
548 if x != nil {
549 return x.SupportsDryRun
550 }
551 return false
552 }
553
554 func (x *Constraint) GetEquivalentConstraint() string {
555 if x != nil {
556 return x.EquivalentConstraint
557 }
558 return ""
559 }
560
561 func (x *Constraint) GetSupportsSimulation() bool {
562 if x != nil {
563 return x.SupportsSimulation
564 }
565 return false
566 }
567
568 type isConstraint_ConstraintType interface {
569 isConstraint_ConstraintType()
570 }
571
572 type Constraint_ListConstraint_ struct {
573 // Defines this constraint as being a list constraint.
574 ListConstraint *Constraint_ListConstraint `protobuf:"bytes,5,opt,name=list_constraint,json=listConstraint,proto3,oneof"`
575 }
576
577 type Constraint_BooleanConstraint_ struct {
578 // Defines this constraint as being a boolean constraint.
579 BooleanConstraint *Constraint_BooleanConstraint `protobuf:"bytes,6,opt,name=boolean_constraint,json=booleanConstraint,proto3,oneof"`
580 }
581
582 func (*Constraint_ListConstraint_) isConstraint_ConstraintType() {}
583
584 func (*Constraint_BooleanConstraint_) isConstraint_ConstraintType() {}
585
586 // A custom constraint defined by customers which can *only* be applied to the
587 // given resource types and organization.
588 //
589 // By creating a custom constraint, customers can apply policies of this
590 // custom constraint. *Creating a custom constraint itself does NOT apply any
591 // policy enforcement*.
592 type CustomConstraint struct {
593 state protoimpl.MessageState
594 sizeCache protoimpl.SizeCache
595 unknownFields protoimpl.UnknownFields
596
597 // Immutable. Name of the constraint. This is unique within the organization.
598 // Format of the name should be
599 //
600 // * `organizations/{organization_id}/customConstraints/{custom_constraint_id}`
601 //
602 // Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms`
603 //
604 // The max length is 70 characters and the minimum length is 1. Note that the
605 // prefix `organizations/{organization_id}/customConstraints/` is not counted.
606 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
607 // Immutable. The resource instance type on which this policy applies. Format
608 // will be of the form : `<service name>/<type>` Example:
609 //
610 // - `compute.googleapis.com/Instance`.
611 ResourceTypes []string `protobuf:"bytes,2,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
612 // All the operations being applied for this constraint.
613 MethodTypes []CustomConstraint_MethodType `protobuf:"varint,3,rep,packed,name=method_types,json=methodTypes,proto3,enum=google.cloud.orgpolicy.v2.CustomConstraint_MethodType" json:"method_types,omitempty"`
614 // A Common Expression Language (CEL) condition which is used in the
615 // evaluation of the constraint. For example:
616 // `resource.instanceName.matches("[production|test]_.*_(\d)+")` or,
617 // `resource.management.auto_upgrade == true`
618 //
619 // The max length of the condition is 1000 characters.
620 Condition string `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"`
621 // Allow or deny type.
622 ActionType CustomConstraint_ActionType `protobuf:"varint,5,opt,name=action_type,json=actionType,proto3,enum=google.cloud.orgpolicy.v2.CustomConstraint_ActionType" json:"action_type,omitempty"`
623 // One line display name for the UI.
624 // The max length of the display_name is 200 characters.
625 DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
626 // Detailed information about this custom policy constraint.
627 // The max length of the description is 2000 characters.
628 Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
629 // Output only. The last time this custom constraint was updated. This
630 // represents the last time that the `CreateCustomConstraint` or
631 // `UpdateCustomConstraint` methods were called.
632 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
633 }
634
635 func (x *CustomConstraint) Reset() {
636 *x = CustomConstraint{}
637 mi := &file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes[1]
638 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
639 ms.StoreMessageInfo(mi)
640 }
641
642 func (x *CustomConstraint) String() string {
643 return protoimpl.X.MessageStringOf(x)
644 }
645
646 func (*CustomConstraint) ProtoMessage() {}
647
648 func (x *CustomConstraint) ProtoReflect() protoreflect.Message {
649 mi := &file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes[1]
650 if x != nil {
651 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
652 if ms.LoadMessageInfo() == nil {
653 ms.StoreMessageInfo(mi)
654 }
655 return ms
656 }
657 return mi.MessageOf(x)
658 }
659
660 // Deprecated: Use CustomConstraint.ProtoReflect.Descriptor instead.
661 func (*CustomConstraint) Descriptor() ([]byte, []int) {
662 return file_google_cloud_orgpolicy_v2_constraint_proto_rawDescGZIP(), []int{1}
663 }
664
665 func (x *CustomConstraint) GetName() string {
666 if x != nil {
667 return x.Name
668 }
669 return ""
670 }
671
672 func (x *CustomConstraint) GetResourceTypes() []string {
673 if x != nil {
674 return x.ResourceTypes
675 }
676 return nil
677 }
678
679 func (x *CustomConstraint) GetMethodTypes() []CustomConstraint_MethodType {
680 if x != nil {
681 return x.MethodTypes
682 }
683 return nil
684 }
685
686 func (x *CustomConstraint) GetCondition() string {
687 if x != nil {
688 return x.Condition
689 }
690 return ""
691 }
692
693 func (x *CustomConstraint) GetActionType() CustomConstraint_ActionType {
694 if x != nil {
695 return x.ActionType
696 }
697 return CustomConstraint_ACTION_TYPE_UNSPECIFIED
698 }
699
700 func (x *CustomConstraint) GetDisplayName() string {
701 if x != nil {
702 return x.DisplayName
703 }
704 return ""
705 }
706
707 func (x *CustomConstraint) GetDescription() string {
708 if x != nil {
709 return x.Description
710 }
711 return ""
712 }
713
714 func (x *CustomConstraint) GetUpdateTime() *timestamppb.Timestamp {
715 if x != nil {
716 return x.UpdateTime
717 }
718 return nil
719 }
720
721 // A constraint type that allows or disallows a list of string values, which
722 // are configured in the
723 // [`PolicyRule`][google.cloud.orgpolicy.v2.PolicySpec.PolicyRule].
724 type Constraint_ListConstraint struct {
725 state protoimpl.MessageState
726 sizeCache protoimpl.SizeCache
727 unknownFields protoimpl.UnknownFields
728
729 // Indicates whether values grouped into categories can be used in
730 // `Policy.allowed_values` and `Policy.denied_values`. For example,
731 // `"in:Python"` would match any value in the 'Python' group.
732 SupportsIn bool `protobuf:"varint,1,opt,name=supports_in,json=supportsIn,proto3" json:"supports_in,omitempty"`
733 // Indicates whether subtrees of the Resource Manager resource hierarchy
734 // can be used in `Policy.allowed_values` and `Policy.denied_values`. For
735 // example, `"under:folders/123"` would match any resource under the
736 // 'folders/123' folder.
737 SupportsUnder bool `protobuf:"varint,2,opt,name=supports_under,json=supportsUnder,proto3" json:"supports_under,omitempty"`
738 }
739
740 func (x *Constraint_ListConstraint) Reset() {
741 *x = Constraint_ListConstraint{}
742 mi := &file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes[2]
743 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
744 ms.StoreMessageInfo(mi)
745 }
746
747 func (x *Constraint_ListConstraint) String() string {
748 return protoimpl.X.MessageStringOf(x)
749 }
750
751 func (*Constraint_ListConstraint) ProtoMessage() {}
752
753 func (x *Constraint_ListConstraint) ProtoReflect() protoreflect.Message {
754 mi := &file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes[2]
755 if x != nil {
756 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
757 if ms.LoadMessageInfo() == nil {
758 ms.StoreMessageInfo(mi)
759 }
760 return ms
761 }
762 return mi.MessageOf(x)
763 }
764
765 // Deprecated: Use Constraint_ListConstraint.ProtoReflect.Descriptor instead.
766 func (*Constraint_ListConstraint) Descriptor() ([]byte, []int) {
767 return file_google_cloud_orgpolicy_v2_constraint_proto_rawDescGZIP(), []int{0, 0}
768 }
769
770 func (x *Constraint_ListConstraint) GetSupportsIn() bool {
771 if x != nil {
772 return x.SupportsIn
773 }
774 return false
775 }
776
777 func (x *Constraint_ListConstraint) GetSupportsUnder() bool {
778 if x != nil {
779 return x.SupportsUnder
780 }
781 return false
782 }
783
784 // Custom constraint definition. Defines this as a managed constraint.
785 type Constraint_CustomConstraintDefinition struct {
786 state protoimpl.MessageState
787 sizeCache protoimpl.SizeCache
788 unknownFields protoimpl.UnknownFields
789
790 // The resource instance type on which this policy applies. Format will be
791 // of the form : `<service name>/<type>` Example:
792 //
793 // - `compute.googleapis.com/Instance`.
794 ResourceTypes []string `protobuf:"bytes,1,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
795 // All the operations being applied for this constraint.
796 MethodTypes []Constraint_CustomConstraintDefinition_MethodType `protobuf:"varint,2,rep,packed,name=method_types,json=methodTypes,proto3,enum=google.cloud.orgpolicy.v2.Constraint_CustomConstraintDefinition_MethodType" json:"method_types,omitempty"`
797 // Org policy condition/expression. For example:
798 // `resource.instanceName.matches("[production|test]_.*_(\d)+")` or,
799 // `resource.management.auto_upgrade == true`
800 //
801 // The max length of the condition is 1000 characters.
802 Condition string `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
803 // Allow or deny type.
804 ActionType Constraint_CustomConstraintDefinition_ActionType `protobuf:"varint,4,opt,name=action_type,json=actionType,proto3,enum=google.cloud.orgpolicy.v2.Constraint_CustomConstraintDefinition_ActionType" json:"action_type,omitempty"`
805 // Stores the structure of
806 // [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter]
807 // used by the constraint condition. The key of `map` represents the name of
808 // the parameter.
809 Parameters map[string]*Constraint_CustomConstraintDefinition_Parameter `protobuf:"bytes,5,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
810 }
811
812 func (x *Constraint_CustomConstraintDefinition) Reset() {
813 *x = Constraint_CustomConstraintDefinition{}
814 mi := &file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes[3]
815 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
816 ms.StoreMessageInfo(mi)
817 }
818
819 func (x *Constraint_CustomConstraintDefinition) String() string {
820 return protoimpl.X.MessageStringOf(x)
821 }
822
823 func (*Constraint_CustomConstraintDefinition) ProtoMessage() {}
824
825 func (x *Constraint_CustomConstraintDefinition) ProtoReflect() protoreflect.Message {
826 mi := &file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes[3]
827 if x != nil {
828 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
829 if ms.LoadMessageInfo() == nil {
830 ms.StoreMessageInfo(mi)
831 }
832 return ms
833 }
834 return mi.MessageOf(x)
835 }
836
837 // Deprecated: Use Constraint_CustomConstraintDefinition.ProtoReflect.Descriptor instead.
838 func (*Constraint_CustomConstraintDefinition) Descriptor() ([]byte, []int) {
839 return file_google_cloud_orgpolicy_v2_constraint_proto_rawDescGZIP(), []int{0, 1}
840 }
841
842 func (x *Constraint_CustomConstraintDefinition) GetResourceTypes() []string {
843 if x != nil {
844 return x.ResourceTypes
845 }
846 return nil
847 }
848
849 func (x *Constraint_CustomConstraintDefinition) GetMethodTypes() []Constraint_CustomConstraintDefinition_MethodType {
850 if x != nil {
851 return x.MethodTypes
852 }
853 return nil
854 }
855
856 func (x *Constraint_CustomConstraintDefinition) GetCondition() string {
857 if x != nil {
858 return x.Condition
859 }
860 return ""
861 }
862
863 func (x *Constraint_CustomConstraintDefinition) GetActionType() Constraint_CustomConstraintDefinition_ActionType {
864 if x != nil {
865 return x.ActionType
866 }
867 return Constraint_CustomConstraintDefinition_ACTION_TYPE_UNSPECIFIED
868 }
869
870 func (x *Constraint_CustomConstraintDefinition) GetParameters() map[string]*Constraint_CustomConstraintDefinition_Parameter {
871 if x != nil {
872 return x.Parameters
873 }
874 return nil
875 }
876
877 // A constraint type is enforced or not enforced, which is configured in the
878 // [`PolicyRule`][google.cloud.orgpolicy.v2.PolicySpec.PolicyRule].
879 //
880 // If `customConstraintDefinition` is defined, this constraint is a managed
881 // constraint.
882 type Constraint_BooleanConstraint struct {
883 state protoimpl.MessageState
884 sizeCache protoimpl.SizeCache
885 unknownFields protoimpl.UnknownFields
886
887 // Custom constraint definition. Defines this as a managed constraint.
888 CustomConstraintDefinition *Constraint_CustomConstraintDefinition `protobuf:"bytes,1,opt,name=custom_constraint_definition,json=customConstraintDefinition,proto3" json:"custom_constraint_definition,omitempty"`
889 }
890
891 func (x *Constraint_BooleanConstraint) Reset() {
892 *x = Constraint_BooleanConstraint{}
893 mi := &file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes[4]
894 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
895 ms.StoreMessageInfo(mi)
896 }
897
898 func (x *Constraint_BooleanConstraint) String() string {
899 return protoimpl.X.MessageStringOf(x)
900 }
901
902 func (*Constraint_BooleanConstraint) ProtoMessage() {}
903
904 func (x *Constraint_BooleanConstraint) ProtoReflect() protoreflect.Message {
905 mi := &file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes[4]
906 if x != nil {
907 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
908 if ms.LoadMessageInfo() == nil {
909 ms.StoreMessageInfo(mi)
910 }
911 return ms
912 }
913 return mi.MessageOf(x)
914 }
915
916 // Deprecated: Use Constraint_BooleanConstraint.ProtoReflect.Descriptor instead.
917 func (*Constraint_BooleanConstraint) Descriptor() ([]byte, []int) {
918 return file_google_cloud_orgpolicy_v2_constraint_proto_rawDescGZIP(), []int{0, 2}
919 }
920
921 func (x *Constraint_BooleanConstraint) GetCustomConstraintDefinition() *Constraint_CustomConstraintDefinition {
922 if x != nil {
923 return x.CustomConstraintDefinition
924 }
925 return nil
926 }
927
928 // Defines a parameter structure.
929 type Constraint_CustomConstraintDefinition_Parameter struct {
930 state protoimpl.MessageState
931 sizeCache protoimpl.SizeCache
932 unknownFields protoimpl.UnknownFields
933
934 // Type of the parameter.
935 Type Constraint_CustomConstraintDefinition_Parameter_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.orgpolicy.v2.Constraint_CustomConstraintDefinition_Parameter_Type" json:"type,omitempty"`
936 // Sets the value of the parameter in an assignment if no value is given.
937 DefaultValue *structpb.Value `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
938 // Provides a CEL expression to specify the acceptable parameter values
939 // during assignment.
940 // For example, parameterName in ("parameterValue1", "parameterValue2")
941 ValidValuesExpr string `protobuf:"bytes,3,opt,name=valid_values_expr,json=validValuesExpr,proto3" json:"valid_values_expr,omitempty"`
942 // Defines subproperties primarily used by the UI to display user-friendly
943 // information.
944 Metadata *Constraint_CustomConstraintDefinition_Parameter_Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
945 // Determines the parameter's value structure.
946 // For example, `LIST<STRING>` can be specified by defining `type: LIST`,
947 // and `item: STRING`.
948 Item Constraint_CustomConstraintDefinition_Parameter_Type `protobuf:"varint,5,opt,name=item,proto3,enum=google.cloud.orgpolicy.v2.Constraint_CustomConstraintDefinition_Parameter_Type" json:"item,omitempty"`
949 }
950
951 func (x *Constraint_CustomConstraintDefinition_Parameter) Reset() {
952 *x = Constraint_CustomConstraintDefinition_Parameter{}
953 mi := &file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes[5]
954 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
955 ms.StoreMessageInfo(mi)
956 }
957
958 func (x *Constraint_CustomConstraintDefinition_Parameter) String() string {
959 return protoimpl.X.MessageStringOf(x)
960 }
961
962 func (*Constraint_CustomConstraintDefinition_Parameter) ProtoMessage() {}
963
964 func (x *Constraint_CustomConstraintDefinition_Parameter) ProtoReflect() protoreflect.Message {
965 mi := &file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes[5]
966 if x != nil {
967 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
968 if ms.LoadMessageInfo() == nil {
969 ms.StoreMessageInfo(mi)
970 }
971 return ms
972 }
973 return mi.MessageOf(x)
974 }
975
976 // Deprecated: Use Constraint_CustomConstraintDefinition_Parameter.ProtoReflect.Descriptor instead.
977 func (*Constraint_CustomConstraintDefinition_Parameter) Descriptor() ([]byte, []int) {
978 return file_google_cloud_orgpolicy_v2_constraint_proto_rawDescGZIP(), []int{0, 1, 0}
979 }
980
981 func (x *Constraint_CustomConstraintDefinition_Parameter) GetType() Constraint_CustomConstraintDefinition_Parameter_Type {
982 if x != nil {
983 return x.Type
984 }
985 return Constraint_CustomConstraintDefinition_Parameter_TYPE_UNSPECIFIED
986 }
987
988 func (x *Constraint_CustomConstraintDefinition_Parameter) GetDefaultValue() *structpb.Value {
989 if x != nil {
990 return x.DefaultValue
991 }
992 return nil
993 }
994
995 func (x *Constraint_CustomConstraintDefinition_Parameter) GetValidValuesExpr() string {
996 if x != nil {
997 return x.ValidValuesExpr
998 }
999 return ""
1000 }
1001
1002 func (x *Constraint_CustomConstraintDefinition_Parameter) GetMetadata() *Constraint_CustomConstraintDefinition_Parameter_Metadata {
1003 if x != nil {
1004 return x.Metadata
1005 }
1006 return nil
1007 }
1008
1009 func (x *Constraint_CustomConstraintDefinition_Parameter) GetItem() Constraint_CustomConstraintDefinition_Parameter_Type {
1010 if x != nil {
1011 return x.Item
1012 }
1013 return Constraint_CustomConstraintDefinition_Parameter_TYPE_UNSPECIFIED
1014 }
1015
1016 // Defines Metadata structure.
1017 type Constraint_CustomConstraintDefinition_Parameter_Metadata struct {
1018 state protoimpl.MessageState
1019 sizeCache protoimpl.SizeCache
1020 unknownFields protoimpl.UnknownFields
1021
1022 // Detailed description of what this `parameter` is and use of it.
1023 // Mutable.
1024 Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
1025 }
1026
1027 func (x *Constraint_CustomConstraintDefinition_Parameter_Metadata) Reset() {
1028 *x = Constraint_CustomConstraintDefinition_Parameter_Metadata{}
1029 mi := &file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes[7]
1030 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1031 ms.StoreMessageInfo(mi)
1032 }
1033
1034 func (x *Constraint_CustomConstraintDefinition_Parameter_Metadata) String() string {
1035 return protoimpl.X.MessageStringOf(x)
1036 }
1037
1038 func (*Constraint_CustomConstraintDefinition_Parameter_Metadata) ProtoMessage() {}
1039
1040 func (x *Constraint_CustomConstraintDefinition_Parameter_Metadata) ProtoReflect() protoreflect.Message {
1041 mi := &file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes[7]
1042 if x != nil {
1043 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1044 if ms.LoadMessageInfo() == nil {
1045 ms.StoreMessageInfo(mi)
1046 }
1047 return ms
1048 }
1049 return mi.MessageOf(x)
1050 }
1051
1052 // Deprecated: Use Constraint_CustomConstraintDefinition_Parameter_Metadata.ProtoReflect.Descriptor instead.
1053 func (*Constraint_CustomConstraintDefinition_Parameter_Metadata) Descriptor() ([]byte, []int) {
1054 return file_google_cloud_orgpolicy_v2_constraint_proto_rawDescGZIP(), []int{0, 1, 0, 0}
1055 }
1056
1057 func (x *Constraint_CustomConstraintDefinition_Parameter_Metadata) GetDescription() string {
1058 if x != nil {
1059 return x.Description
1060 }
1061 return ""
1062 }
1063
1064 var File_google_cloud_orgpolicy_v2_constraint_proto protoreflect.FileDescriptor
1065
1066 var file_google_cloud_orgpolicy_v2_constraint_proto_rawDesc = []byte{
1067 0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f,
1068 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x73,
1069 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x67, 0x6f,
1070 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70, 0x6f,
1071 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
1072 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69,
1073 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1074 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72,
1075 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
1076 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1077 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1078 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
1079 0x74, 0x6f, 0x22, 0xd1, 0x12, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e,
1080 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
1081 0x03, 0xe0, 0x41, 0x05, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69,
1082 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
1083 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a,
1084 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
1085 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
1086 0x66, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x5f, 0x64, 0x65,
1087 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f,
1088 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70, 0x6f,
1089 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69,
1090 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x66,
1091 0x61, 0x75, 0x6c, 0x74, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74,
1092 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x5f, 0x0a, 0x0f, 0x6c, 0x69, 0x73, 0x74, 0x5f,
1093 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
1094 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1095 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e,
1096 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x73,
1097 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x6c, 0x69, 0x73, 0x74, 0x43, 0x6f,
1098 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x68, 0x0a, 0x12, 0x62, 0x6f, 0x6f, 0x6c,
1099 0x65, 0x61, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x06,
1100 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
1101 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76, 0x32,
1102 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x42, 0x6f, 0x6f, 0x6c,
1103 0x65, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x48, 0x00, 0x52,
1104 0x11, 0x62, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69,
1105 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x5f, 0x64,
1106 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 0x75,
1107 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x44, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x33, 0x0a, 0x15,
1108 0x65, 0x71, 0x75, 0x69, 0x76, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74,
1109 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x65, 0x71, 0x75,
1110 0x69, 0x76, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e,
1111 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x5f, 0x73, 0x69,
1112 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12,
1113 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69,
1114 0x6f, 0x6e, 0x1a, 0x58, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72,
1115 0x61, 0x69, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73,
1116 0x5f, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x75, 0x70, 0x70, 0x6f,
1117 0x72, 0x74, 0x73, 0x49, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74,
1118 0x73, 0x5f, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73,
1119 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x55, 0x6e, 0x64, 0x65, 0x72, 0x1a, 0x90, 0x0a, 0x0a,
1120 0x1a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e,
1121 0x74, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x72,
1122 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20,
1123 0x03, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70,
1124 0x65, 0x73, 0x12, 0x6e, 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x74, 0x79, 0x70,
1125 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x4b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1126 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63,
1127 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e,
1128 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74,
1129 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f,
1130 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, 0x79, 0x70,
1131 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18,
1132 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
1133 0x12, 0x6c, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
1134 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1135 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76,
1136 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x43, 0x75, 0x73,
1137 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x66,
1138 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
1139 0x70, 0x65, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x70,
1140 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03,
1141 0x28, 0x0b, 0x32, 0x50, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1142 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43,
1143 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d,
1144 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69,
1145 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45,
1146 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73,
1147 0x1a, 0x9e, 0x04, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x63,
1148 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4f, 0x2e, 0x67,
1149 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70,
1150 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61,
1151 0x69, 0x6e, 0x74, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72,
1152 0x61, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50,
1153 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,
1154 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76,
1155 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
1156 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c,
1157 0x75, 0x65, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65,
1158 0x12, 0x2a, 0x0a, 0x11, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
1159 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x76, 0x61, 0x6c,
1160 0x69, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x78, 0x70, 0x72, 0x12, 0x6f, 0x0a, 0x08,
1161 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x53,
1162 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72,
1163 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74,
1164 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x73,
1165 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e,
1166 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64,
1167 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x63, 0x0a,
1168 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4f, 0x2e, 0x67, 0x6f,
1169 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70, 0x6f,
1170 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69,
1171 0x6e, 0x74, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61,
1172 0x69, 0x6e, 0x74, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61,
1173 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x69, 0x74,
1174 0x65, 0x6d, 0x1a, 0x2c, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x20,
1175 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
1176 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
1177 0x22, 0x3f, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45,
1178 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08,
1179 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49,
1180 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10,
1181 0x03, 0x1a, 0x89, 0x01, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73,
1182 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
1183 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x60, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
1184 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1185 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
1186 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x43, 0x75,
1187 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x44, 0x65,
1188 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
1189 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x70, 0x0a,
1190 0x0a, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x4d,
1191 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
1192 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x45, 0x41,
1193 0x54, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02,
1194 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c,
1195 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x10, 0x04, 0x12, 0x0f,
1196 0x0a, 0x0b, 0x47, 0x4f, 0x56, 0x45, 0x52, 0x4e, 0x5f, 0x54, 0x41, 0x47, 0x53, 0x10, 0x05, 0x22,
1197 0x3e, 0x0a, 0x0a, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a,
1198 0x17, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53,
1199 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c,
1200 0x4c, 0x4f, 0x57, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x45, 0x4e, 0x59, 0x10, 0x02, 0x1a,
1201 0x98, 0x01, 0x0a, 0x11, 0x42, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74,
1202 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x82, 0x01, 0x0a, 0x1c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
1203 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x66, 0x69,
1204 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67,
1205 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70,
1206 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61,
1207 0x69, 0x6e, 0x74, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72,
1208 0x61, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x1a,
1209 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74,
1210 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4c, 0x0a, 0x11, 0x43, 0x6f,
1211 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12,
1212 0x22, 0x0a, 0x1e, 0x43, 0x4f, 0x4e, 0x53, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x54, 0x5f, 0x44, 0x45,
1213 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
1214 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x10, 0x01, 0x12, 0x08,
1215 0x0a, 0x04, 0x44, 0x45, 0x4e, 0x59, 0x10, 0x02, 0x3a, 0xb8, 0x01, 0xea, 0x41, 0xb4, 0x01, 0x0a,
1216 0x23, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1217 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72,
1218 0x61, 0x69, 0x6e, 0x74, 0x12, 0x2b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b,
1219 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61,
1220 0x69, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74,
1221 0x7d, 0x12, 0x29, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x66, 0x6f, 0x6c, 0x64,
1222 0x65, 0x72, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x2f,
1223 0x7b, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x7d, 0x12, 0x35, 0x6f, 0x72,
1224 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67,
1225 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x74,
1226 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69,
1227 0x6e, 0x74, 0x7d, 0x42, 0x11, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e,
1228 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xd6, 0x05, 0x0a, 0x10, 0x43, 0x75, 0x73, 0x74, 0x6f,
1229 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e,
1230 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x04,
1231 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
1232 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
1233 0x05, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73,
1234 0x12, 0x59, 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73,
1235 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1236 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
1237 0x76, 0x32, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61,
1238 0x69, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b,
1239 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63,
1240 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1241 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x57, 0x0a, 0x0b, 0x61, 0x63, 0x74,
1242 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36,
1243 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72,
1244 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f,
1245 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x74, 0x69,
1246 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
1247 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61,
1248 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
1249 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
1250 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
1251 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74,
1252 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
1253 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
1254 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75,
1255 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x70, 0x0a, 0x0a, 0x4d, 0x65, 0x74,
1256 0x68, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x45, 0x54, 0x48, 0x4f,
1257 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
1258 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x01,
1259 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06,
1260 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x4d, 0x4f,
1261 0x56, 0x45, 0x5f, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x4f,
1262 0x56, 0x45, 0x52, 0x4e, 0x5f, 0x54, 0x41, 0x47, 0x53, 0x10, 0x05, 0x22, 0x3e, 0x0a, 0x0a, 0x41,
1263 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x43, 0x54,
1264 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
1265 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x10,
1266 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x45, 0x4e, 0x59, 0x10, 0x02, 0x3a, 0x72, 0xea, 0x41, 0x6f,
1267 0x0a, 0x29, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1268 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x75, 0x73, 0x74, 0x6f,
1269 0x6d, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x42, 0x6f, 0x72, 0x67,
1270 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61,
1271 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
1272 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x63, 0x75, 0x73,
1273 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x7d, 0x42,
1274 0xc6, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1275 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76,
1276 0x32, 0x42, 0x0f, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f,
1277 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1278 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c,
1279 0x69, 0x63, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c,
1280 0x69, 0x63, 0x79, 0x70, 0x62, 0x3b, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x70,
1281 0x62, 0xaa, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
1282 0x2e, 0x4f, 0x72, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x19,
1283 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4f, 0x72, 0x67,
1284 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5c, 0x56, 0x32, 0xea, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67,
1285 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4f, 0x72, 0x67, 0x50, 0x6f,
1286 0x6c, 0x69, 0x63, 0x79, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1287 }
1288
1289 var (
1290 file_google_cloud_orgpolicy_v2_constraint_proto_rawDescOnce sync.Once
1291 file_google_cloud_orgpolicy_v2_constraint_proto_rawDescData = file_google_cloud_orgpolicy_v2_constraint_proto_rawDesc
1292 )
1293
1294 func file_google_cloud_orgpolicy_v2_constraint_proto_rawDescGZIP() []byte {
1295 file_google_cloud_orgpolicy_v2_constraint_proto_rawDescOnce.Do(func() {
1296 file_google_cloud_orgpolicy_v2_constraint_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_orgpolicy_v2_constraint_proto_rawDescData)
1297 })
1298 return file_google_cloud_orgpolicy_v2_constraint_proto_rawDescData
1299 }
1300
1301 var file_google_cloud_orgpolicy_v2_constraint_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
1302 var file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
1303 var file_google_cloud_orgpolicy_v2_constraint_proto_goTypes = []any{
1304 (Constraint_ConstraintDefault)(0), // 0: google.cloud.orgpolicy.v2.Constraint.ConstraintDefault
1305 (Constraint_CustomConstraintDefinition_MethodType)(0), // 1: google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.MethodType
1306 (Constraint_CustomConstraintDefinition_ActionType)(0), // 2: google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.ActionType
1307 (Constraint_CustomConstraintDefinition_Parameter_Type)(0), // 3: google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type
1308 (CustomConstraint_MethodType)(0), // 4: google.cloud.orgpolicy.v2.CustomConstraint.MethodType
1309 (CustomConstraint_ActionType)(0), // 5: google.cloud.orgpolicy.v2.CustomConstraint.ActionType
1310 (*Constraint)(nil), // 6: google.cloud.orgpolicy.v2.Constraint
1311 (*CustomConstraint)(nil), // 7: google.cloud.orgpolicy.v2.CustomConstraint
1312 (*Constraint_ListConstraint)(nil), // 8: google.cloud.orgpolicy.v2.Constraint.ListConstraint
1313 (*Constraint_CustomConstraintDefinition)(nil), // 9: google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition
1314 (*Constraint_BooleanConstraint)(nil), // 10: google.cloud.orgpolicy.v2.Constraint.BooleanConstraint
1315 (*Constraint_CustomConstraintDefinition_Parameter)(nil), // 11: google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter
1316 nil, // 12: google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.ParametersEntry
1317 (*Constraint_CustomConstraintDefinition_Parameter_Metadata)(nil), // 13: google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata
1318 (*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp
1319 (*structpb.Value)(nil), // 15: google.protobuf.Value
1320 }
1321 var file_google_cloud_orgpolicy_v2_constraint_proto_depIdxs = []int32{
1322 0, // 0: google.cloud.orgpolicy.v2.Constraint.constraint_default:type_name -> google.cloud.orgpolicy.v2.Constraint.ConstraintDefault
1323 8, // 1: google.cloud.orgpolicy.v2.Constraint.list_constraint:type_name -> google.cloud.orgpolicy.v2.Constraint.ListConstraint
1324 10, // 2: google.cloud.orgpolicy.v2.Constraint.boolean_constraint:type_name -> google.cloud.orgpolicy.v2.Constraint.BooleanConstraint
1325 4, // 3: google.cloud.orgpolicy.v2.CustomConstraint.method_types:type_name -> google.cloud.orgpolicy.v2.CustomConstraint.MethodType
1326 5, // 4: google.cloud.orgpolicy.v2.CustomConstraint.action_type:type_name -> google.cloud.orgpolicy.v2.CustomConstraint.ActionType
1327 14, // 5: google.cloud.orgpolicy.v2.CustomConstraint.update_time:type_name -> google.protobuf.Timestamp
1328 1, // 6: google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.method_types:type_name -> google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.MethodType
1329 2, // 7: google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.action_type:type_name -> google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.ActionType
1330 12, // 8: google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.parameters:type_name -> google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.ParametersEntry
1331 9, // 9: google.cloud.orgpolicy.v2.Constraint.BooleanConstraint.custom_constraint_definition:type_name -> google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition
1332 3, // 10: google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.type:type_name -> google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type
1333 15, // 11: google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.default_value:type_name -> google.protobuf.Value
1334 13, // 12: google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.metadata:type_name -> google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata
1335 3, // 13: google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.item:type_name -> google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type
1336 11, // 14: google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.ParametersEntry.value:type_name -> google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter
1337 15, // [15:15] is the sub-list for method output_type
1338 15, // [15:15] is the sub-list for method input_type
1339 15, // [15:15] is the sub-list for extension type_name
1340 15, // [15:15] is the sub-list for extension extendee
1341 0, // [0:15] is the sub-list for field type_name
1342 }
1343
1344 func init() { file_google_cloud_orgpolicy_v2_constraint_proto_init() }
1345 func file_google_cloud_orgpolicy_v2_constraint_proto_init() {
1346 if File_google_cloud_orgpolicy_v2_constraint_proto != nil {
1347 return
1348 }
1349 file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes[0].OneofWrappers = []any{
1350 (*Constraint_ListConstraint_)(nil),
1351 (*Constraint_BooleanConstraint_)(nil),
1352 }
1353 type x struct{}
1354 out := protoimpl.TypeBuilder{
1355 File: protoimpl.DescBuilder{
1356 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1357 RawDescriptor: file_google_cloud_orgpolicy_v2_constraint_proto_rawDesc,
1358 NumEnums: 6,
1359 NumMessages: 8,
1360 NumExtensions: 0,
1361 NumServices: 0,
1362 },
1363 GoTypes: file_google_cloud_orgpolicy_v2_constraint_proto_goTypes,
1364 DependencyIndexes: file_google_cloud_orgpolicy_v2_constraint_proto_depIdxs,
1365 EnumInfos: file_google_cloud_orgpolicy_v2_constraint_proto_enumTypes,
1366 MessageInfos: file_google_cloud_orgpolicy_v2_constraint_proto_msgTypes,
1367 }.Build()
1368 File_google_cloud_orgpolicy_v2_constraint_proto = out.File
1369 file_google_cloud_orgpolicy_v2_constraint_proto_rawDesc = nil
1370 file_google_cloud_orgpolicy_v2_constraint_proto_goTypes = nil
1371 file_google_cloud_orgpolicy_v2_constraint_proto_depIdxs = nil
1372 }