1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package datapoliciespb
22
23 import (
24 context "context"
25 reflect "reflect"
26 sync "sync"
27
28 iampb "cloud.google.com/go/iam/apiv1/iampb"
29 _ "google.golang.org/genproto/googleapis/api/annotations"
30 grpc "google.golang.org/grpc"
31 codes "google.golang.org/grpc/codes"
32 status "google.golang.org/grpc/status"
33 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
34 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
35 emptypb "google.golang.org/protobuf/types/known/emptypb"
36 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
37 )
38
39 const (
40
41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
42
43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
44 )
45
46
47 type DataPolicy_DataPolicyType int32
48
49 const (
50
51 DataPolicy_DATA_POLICY_TYPE_UNSPECIFIED DataPolicy_DataPolicyType = 0
52
53
54 DataPolicy_COLUMN_LEVEL_SECURITY_POLICY DataPolicy_DataPolicyType = 3
55
56 DataPolicy_DATA_MASKING_POLICY DataPolicy_DataPolicyType = 2
57 )
58
59
60 var (
61 DataPolicy_DataPolicyType_name = map[int32]string{
62 0: "DATA_POLICY_TYPE_UNSPECIFIED",
63 3: "COLUMN_LEVEL_SECURITY_POLICY",
64 2: "DATA_MASKING_POLICY",
65 }
66 DataPolicy_DataPolicyType_value = map[string]int32{
67 "DATA_POLICY_TYPE_UNSPECIFIED": 0,
68 "COLUMN_LEVEL_SECURITY_POLICY": 3,
69 "DATA_MASKING_POLICY": 2,
70 }
71 )
72
73 func (x DataPolicy_DataPolicyType) Enum() *DataPolicy_DataPolicyType {
74 p := new(DataPolicy_DataPolicyType)
75 *p = x
76 return p
77 }
78
79 func (x DataPolicy_DataPolicyType) String() string {
80 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
81 }
82
83 func (DataPolicy_DataPolicyType) Descriptor() protoreflect.EnumDescriptor {
84 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_enumTypes[0].Descriptor()
85 }
86
87 func (DataPolicy_DataPolicyType) Type() protoreflect.EnumType {
88 return &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_enumTypes[0]
89 }
90
91 func (x DataPolicy_DataPolicyType) Number() protoreflect.EnumNumber {
92 return protoreflect.EnumNumber(x)
93 }
94
95
96 func (DataPolicy_DataPolicyType) EnumDescriptor() ([]byte, []int) {
97 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{7, 0}
98 }
99
100
101
102 type DataMaskingPolicy_PredefinedExpression int32
103
104 const (
105
106
107 DataMaskingPolicy_PREDEFINED_EXPRESSION_UNSPECIFIED DataMaskingPolicy_PredefinedExpression = 0
108
109 DataMaskingPolicy_SHA256 DataMaskingPolicy_PredefinedExpression = 3
110
111 DataMaskingPolicy_ALWAYS_NULL DataMaskingPolicy_PredefinedExpression = 5
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130 DataMaskingPolicy_DEFAULT_MASKING_VALUE DataMaskingPolicy_PredefinedExpression = 7
131
132
133
134
135
136
137 DataMaskingPolicy_LAST_FOUR_CHARACTERS DataMaskingPolicy_PredefinedExpression = 9
138
139
140
141
142
143
144 DataMaskingPolicy_FIRST_FOUR_CHARACTERS DataMaskingPolicy_PredefinedExpression = 10
145
146
147
148
149
150
151
152
153
154 DataMaskingPolicy_EMAIL_MASK DataMaskingPolicy_PredefinedExpression = 12
155
156
157
158
159
160
161
162
163
164
165
166
167
168 DataMaskingPolicy_DATE_YEAR_MASK DataMaskingPolicy_PredefinedExpression = 13
169 )
170
171
172 var (
173 DataMaskingPolicy_PredefinedExpression_name = map[int32]string{
174 0: "PREDEFINED_EXPRESSION_UNSPECIFIED",
175 3: "SHA256",
176 5: "ALWAYS_NULL",
177 7: "DEFAULT_MASKING_VALUE",
178 9: "LAST_FOUR_CHARACTERS",
179 10: "FIRST_FOUR_CHARACTERS",
180 12: "EMAIL_MASK",
181 13: "DATE_YEAR_MASK",
182 }
183 DataMaskingPolicy_PredefinedExpression_value = map[string]int32{
184 "PREDEFINED_EXPRESSION_UNSPECIFIED": 0,
185 "SHA256": 3,
186 "ALWAYS_NULL": 5,
187 "DEFAULT_MASKING_VALUE": 7,
188 "LAST_FOUR_CHARACTERS": 9,
189 "FIRST_FOUR_CHARACTERS": 10,
190 "EMAIL_MASK": 12,
191 "DATE_YEAR_MASK": 13,
192 }
193 )
194
195 func (x DataMaskingPolicy_PredefinedExpression) Enum() *DataMaskingPolicy_PredefinedExpression {
196 p := new(DataMaskingPolicy_PredefinedExpression)
197 *p = x
198 return p
199 }
200
201 func (x DataMaskingPolicy_PredefinedExpression) String() string {
202 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
203 }
204
205 func (DataMaskingPolicy_PredefinedExpression) Descriptor() protoreflect.EnumDescriptor {
206 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_enumTypes[1].Descriptor()
207 }
208
209 func (DataMaskingPolicy_PredefinedExpression) Type() protoreflect.EnumType {
210 return &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_enumTypes[1]
211 }
212
213 func (x DataMaskingPolicy_PredefinedExpression) Number() protoreflect.EnumNumber {
214 return protoreflect.EnumNumber(x)
215 }
216
217
218 func (DataMaskingPolicy_PredefinedExpression) EnumDescriptor() ([]byte, []int) {
219 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{8, 0}
220 }
221
222
223 type CreateDataPolicyRequest struct {
224 state protoimpl.MessageState
225 sizeCache protoimpl.SizeCache
226 unknownFields protoimpl.UnknownFields
227
228
229
230 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
231
232
233 DataPolicy *DataPolicy `protobuf:"bytes,2,opt,name=data_policy,json=dataPolicy,proto3" json:"data_policy,omitempty"`
234 }
235
236 func (x *CreateDataPolicyRequest) Reset() {
237 *x = CreateDataPolicyRequest{}
238 if protoimpl.UnsafeEnabled {
239 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[0]
240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
241 ms.StoreMessageInfo(mi)
242 }
243 }
244
245 func (x *CreateDataPolicyRequest) String() string {
246 return protoimpl.X.MessageStringOf(x)
247 }
248
249 func (*CreateDataPolicyRequest) ProtoMessage() {}
250
251 func (x *CreateDataPolicyRequest) ProtoReflect() protoreflect.Message {
252 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[0]
253 if protoimpl.UnsafeEnabled && x != nil {
254 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
255 if ms.LoadMessageInfo() == nil {
256 ms.StoreMessageInfo(mi)
257 }
258 return ms
259 }
260 return mi.MessageOf(x)
261 }
262
263
264 func (*CreateDataPolicyRequest) Descriptor() ([]byte, []int) {
265 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{0}
266 }
267
268 func (x *CreateDataPolicyRequest) GetParent() string {
269 if x != nil {
270 return x.Parent
271 }
272 return ""
273 }
274
275 func (x *CreateDataPolicyRequest) GetDataPolicy() *DataPolicy {
276 if x != nil {
277 return x.DataPolicy
278 }
279 return nil
280 }
281
282
283 type UpdateDataPolicyRequest struct {
284 state protoimpl.MessageState
285 sizeCache protoimpl.SizeCache
286 unknownFields protoimpl.UnknownFields
287
288
289
290
291
292 DataPolicy *DataPolicy `protobuf:"bytes,1,opt,name=data_policy,json=dataPolicy,proto3" json:"data_policy,omitempty"`
293
294
295
296
297
298
299 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
300 }
301
302 func (x *UpdateDataPolicyRequest) Reset() {
303 *x = UpdateDataPolicyRequest{}
304 if protoimpl.UnsafeEnabled {
305 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[1]
306 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
307 ms.StoreMessageInfo(mi)
308 }
309 }
310
311 func (x *UpdateDataPolicyRequest) String() string {
312 return protoimpl.X.MessageStringOf(x)
313 }
314
315 func (*UpdateDataPolicyRequest) ProtoMessage() {}
316
317 func (x *UpdateDataPolicyRequest) ProtoReflect() protoreflect.Message {
318 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[1]
319 if protoimpl.UnsafeEnabled && x != nil {
320 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
321 if ms.LoadMessageInfo() == nil {
322 ms.StoreMessageInfo(mi)
323 }
324 return ms
325 }
326 return mi.MessageOf(x)
327 }
328
329
330 func (*UpdateDataPolicyRequest) Descriptor() ([]byte, []int) {
331 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{1}
332 }
333
334 func (x *UpdateDataPolicyRequest) GetDataPolicy() *DataPolicy {
335 if x != nil {
336 return x.DataPolicy
337 }
338 return nil
339 }
340
341 func (x *UpdateDataPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
342 if x != nil {
343 return x.UpdateMask
344 }
345 return nil
346 }
347
348
349 type RenameDataPolicyRequest struct {
350 state protoimpl.MessageState
351 sizeCache protoimpl.SizeCache
352 unknownFields protoimpl.UnknownFields
353
354
355
356 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
357
358 NewDataPolicyId string `protobuf:"bytes,2,opt,name=new_data_policy_id,json=newDataPolicyId,proto3" json:"new_data_policy_id,omitempty"`
359 }
360
361 func (x *RenameDataPolicyRequest) Reset() {
362 *x = RenameDataPolicyRequest{}
363 if protoimpl.UnsafeEnabled {
364 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[2]
365 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
366 ms.StoreMessageInfo(mi)
367 }
368 }
369
370 func (x *RenameDataPolicyRequest) String() string {
371 return protoimpl.X.MessageStringOf(x)
372 }
373
374 func (*RenameDataPolicyRequest) ProtoMessage() {}
375
376 func (x *RenameDataPolicyRequest) ProtoReflect() protoreflect.Message {
377 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[2]
378 if protoimpl.UnsafeEnabled && x != nil {
379 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
380 if ms.LoadMessageInfo() == nil {
381 ms.StoreMessageInfo(mi)
382 }
383 return ms
384 }
385 return mi.MessageOf(x)
386 }
387
388
389 func (*RenameDataPolicyRequest) Descriptor() ([]byte, []int) {
390 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{2}
391 }
392
393 func (x *RenameDataPolicyRequest) GetName() string {
394 if x != nil {
395 return x.Name
396 }
397 return ""
398 }
399
400 func (x *RenameDataPolicyRequest) GetNewDataPolicyId() string {
401 if x != nil {
402 return x.NewDataPolicyId
403 }
404 return ""
405 }
406
407
408 type DeleteDataPolicyRequest struct {
409 state protoimpl.MessageState
410 sizeCache protoimpl.SizeCache
411 unknownFields protoimpl.UnknownFields
412
413
414
415 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
416 }
417
418 func (x *DeleteDataPolicyRequest) Reset() {
419 *x = DeleteDataPolicyRequest{}
420 if protoimpl.UnsafeEnabled {
421 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[3]
422 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
423 ms.StoreMessageInfo(mi)
424 }
425 }
426
427 func (x *DeleteDataPolicyRequest) String() string {
428 return protoimpl.X.MessageStringOf(x)
429 }
430
431 func (*DeleteDataPolicyRequest) ProtoMessage() {}
432
433 func (x *DeleteDataPolicyRequest) ProtoReflect() protoreflect.Message {
434 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[3]
435 if protoimpl.UnsafeEnabled && x != nil {
436 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
437 if ms.LoadMessageInfo() == nil {
438 ms.StoreMessageInfo(mi)
439 }
440 return ms
441 }
442 return mi.MessageOf(x)
443 }
444
445
446 func (*DeleteDataPolicyRequest) Descriptor() ([]byte, []int) {
447 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{3}
448 }
449
450 func (x *DeleteDataPolicyRequest) GetName() string {
451 if x != nil {
452 return x.Name
453 }
454 return ""
455 }
456
457
458 type GetDataPolicyRequest struct {
459 state protoimpl.MessageState
460 sizeCache protoimpl.SizeCache
461 unknownFields protoimpl.UnknownFields
462
463
464
465 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
466 }
467
468 func (x *GetDataPolicyRequest) Reset() {
469 *x = GetDataPolicyRequest{}
470 if protoimpl.UnsafeEnabled {
471 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[4]
472 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
473 ms.StoreMessageInfo(mi)
474 }
475 }
476
477 func (x *GetDataPolicyRequest) String() string {
478 return protoimpl.X.MessageStringOf(x)
479 }
480
481 func (*GetDataPolicyRequest) ProtoMessage() {}
482
483 func (x *GetDataPolicyRequest) ProtoReflect() protoreflect.Message {
484 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[4]
485 if protoimpl.UnsafeEnabled && x != nil {
486 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
487 if ms.LoadMessageInfo() == nil {
488 ms.StoreMessageInfo(mi)
489 }
490 return ms
491 }
492 return mi.MessageOf(x)
493 }
494
495
496 func (*GetDataPolicyRequest) Descriptor() ([]byte, []int) {
497 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{4}
498 }
499
500 func (x *GetDataPolicyRequest) GetName() string {
501 if x != nil {
502 return x.Name
503 }
504 return ""
505 }
506
507
508 type ListDataPoliciesRequest struct {
509 state protoimpl.MessageState
510 sizeCache protoimpl.SizeCache
511 unknownFields protoimpl.UnknownFields
512
513
514
515 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
516
517
518
519 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
520
521
522 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
523
524
525
526
527
528
529
530
531 Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
532 }
533
534 func (x *ListDataPoliciesRequest) Reset() {
535 *x = ListDataPoliciesRequest{}
536 if protoimpl.UnsafeEnabled {
537 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[5]
538 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
539 ms.StoreMessageInfo(mi)
540 }
541 }
542
543 func (x *ListDataPoliciesRequest) String() string {
544 return protoimpl.X.MessageStringOf(x)
545 }
546
547 func (*ListDataPoliciesRequest) ProtoMessage() {}
548
549 func (x *ListDataPoliciesRequest) ProtoReflect() protoreflect.Message {
550 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[5]
551 if protoimpl.UnsafeEnabled && x != nil {
552 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
553 if ms.LoadMessageInfo() == nil {
554 ms.StoreMessageInfo(mi)
555 }
556 return ms
557 }
558 return mi.MessageOf(x)
559 }
560
561
562 func (*ListDataPoliciesRequest) Descriptor() ([]byte, []int) {
563 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{5}
564 }
565
566 func (x *ListDataPoliciesRequest) GetParent() string {
567 if x != nil {
568 return x.Parent
569 }
570 return ""
571 }
572
573 func (x *ListDataPoliciesRequest) GetPageSize() int32 {
574 if x != nil {
575 return x.PageSize
576 }
577 return 0
578 }
579
580 func (x *ListDataPoliciesRequest) GetPageToken() string {
581 if x != nil {
582 return x.PageToken
583 }
584 return ""
585 }
586
587 func (x *ListDataPoliciesRequest) GetFilter() string {
588 if x != nil {
589 return x.Filter
590 }
591 return ""
592 }
593
594
595 type ListDataPoliciesResponse struct {
596 state protoimpl.MessageState
597 sizeCache protoimpl.SizeCache
598 unknownFields protoimpl.UnknownFields
599
600
601 DataPolicies []*DataPolicy `protobuf:"bytes,1,rep,name=data_policies,json=dataPolicies,proto3" json:"data_policies,omitempty"`
602
603
604 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
605 }
606
607 func (x *ListDataPoliciesResponse) Reset() {
608 *x = ListDataPoliciesResponse{}
609 if protoimpl.UnsafeEnabled {
610 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[6]
611 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
612 ms.StoreMessageInfo(mi)
613 }
614 }
615
616 func (x *ListDataPoliciesResponse) String() string {
617 return protoimpl.X.MessageStringOf(x)
618 }
619
620 func (*ListDataPoliciesResponse) ProtoMessage() {}
621
622 func (x *ListDataPoliciesResponse) ProtoReflect() protoreflect.Message {
623 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[6]
624 if protoimpl.UnsafeEnabled && x != nil {
625 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
626 if ms.LoadMessageInfo() == nil {
627 ms.StoreMessageInfo(mi)
628 }
629 return ms
630 }
631 return mi.MessageOf(x)
632 }
633
634
635 func (*ListDataPoliciesResponse) Descriptor() ([]byte, []int) {
636 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{6}
637 }
638
639 func (x *ListDataPoliciesResponse) GetDataPolicies() []*DataPolicy {
640 if x != nil {
641 return x.DataPolicies
642 }
643 return nil
644 }
645
646 func (x *ListDataPoliciesResponse) GetNextPageToken() string {
647 if x != nil {
648 return x.NextPageToken
649 }
650 return ""
651 }
652
653
654 type DataPolicy struct {
655 state protoimpl.MessageState
656 sizeCache protoimpl.SizeCache
657 unknownFields protoimpl.UnknownFields
658
659
660
661
662
663
664 MatchingLabel isDataPolicy_MatchingLabel `protobuf_oneof:"matching_label"`
665
666
667
668
669
670 Policy isDataPolicy_Policy `protobuf_oneof:"policy"`
671
672
673 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
674
675 DataPolicyType DataPolicy_DataPolicyType `protobuf:"varint,2,opt,name=data_policy_type,json=dataPolicyType,proto3,enum=google.cloud.bigquery.datapolicies.v1.DataPolicy_DataPolicyType" json:"data_policy_type,omitempty"`
676
677
678
679 DataPolicyId string `protobuf:"bytes,3,opt,name=data_policy_id,json=dataPolicyId,proto3" json:"data_policy_id,omitempty"`
680 }
681
682 func (x *DataPolicy) Reset() {
683 *x = DataPolicy{}
684 if protoimpl.UnsafeEnabled {
685 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[7]
686 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
687 ms.StoreMessageInfo(mi)
688 }
689 }
690
691 func (x *DataPolicy) String() string {
692 return protoimpl.X.MessageStringOf(x)
693 }
694
695 func (*DataPolicy) ProtoMessage() {}
696
697 func (x *DataPolicy) ProtoReflect() protoreflect.Message {
698 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[7]
699 if protoimpl.UnsafeEnabled && x != nil {
700 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
701 if ms.LoadMessageInfo() == nil {
702 ms.StoreMessageInfo(mi)
703 }
704 return ms
705 }
706 return mi.MessageOf(x)
707 }
708
709
710 func (*DataPolicy) Descriptor() ([]byte, []int) {
711 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{7}
712 }
713
714 func (m *DataPolicy) GetMatchingLabel() isDataPolicy_MatchingLabel {
715 if m != nil {
716 return m.MatchingLabel
717 }
718 return nil
719 }
720
721 func (x *DataPolicy) GetPolicyTag() string {
722 if x, ok := x.GetMatchingLabel().(*DataPolicy_PolicyTag); ok {
723 return x.PolicyTag
724 }
725 return ""
726 }
727
728 func (m *DataPolicy) GetPolicy() isDataPolicy_Policy {
729 if m != nil {
730 return m.Policy
731 }
732 return nil
733 }
734
735 func (x *DataPolicy) GetDataMaskingPolicy() *DataMaskingPolicy {
736 if x, ok := x.GetPolicy().(*DataPolicy_DataMaskingPolicy); ok {
737 return x.DataMaskingPolicy
738 }
739 return nil
740 }
741
742 func (x *DataPolicy) GetName() string {
743 if x != nil {
744 return x.Name
745 }
746 return ""
747 }
748
749 func (x *DataPolicy) GetDataPolicyType() DataPolicy_DataPolicyType {
750 if x != nil {
751 return x.DataPolicyType
752 }
753 return DataPolicy_DATA_POLICY_TYPE_UNSPECIFIED
754 }
755
756 func (x *DataPolicy) GetDataPolicyId() string {
757 if x != nil {
758 return x.DataPolicyId
759 }
760 return ""
761 }
762
763 type isDataPolicy_MatchingLabel interface {
764 isDataPolicy_MatchingLabel()
765 }
766
767 type DataPolicy_PolicyTag struct {
768
769
770 PolicyTag string `protobuf:"bytes,4,opt,name=policy_tag,json=policyTag,proto3,oneof"`
771 }
772
773 func (*DataPolicy_PolicyTag) isDataPolicy_MatchingLabel() {}
774
775 type isDataPolicy_Policy interface {
776 isDataPolicy_Policy()
777 }
778
779 type DataPolicy_DataMaskingPolicy struct {
780
781 DataMaskingPolicy *DataMaskingPolicy `protobuf:"bytes,5,opt,name=data_masking_policy,json=dataMaskingPolicy,proto3,oneof"`
782 }
783
784 func (*DataPolicy_DataMaskingPolicy) isDataPolicy_Policy() {}
785
786
787 type DataMaskingPolicy struct {
788 state protoimpl.MessageState
789 sizeCache protoimpl.SizeCache
790 unknownFields protoimpl.UnknownFields
791
792
793
794
795
796
797
798 MaskingExpression isDataMaskingPolicy_MaskingExpression `protobuf_oneof:"masking_expression"`
799 }
800
801 func (x *DataMaskingPolicy) Reset() {
802 *x = DataMaskingPolicy{}
803 if protoimpl.UnsafeEnabled {
804 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[8]
805 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
806 ms.StoreMessageInfo(mi)
807 }
808 }
809
810 func (x *DataMaskingPolicy) String() string {
811 return protoimpl.X.MessageStringOf(x)
812 }
813
814 func (*DataMaskingPolicy) ProtoMessage() {}
815
816 func (x *DataMaskingPolicy) ProtoReflect() protoreflect.Message {
817 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[8]
818 if protoimpl.UnsafeEnabled && x != nil {
819 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
820 if ms.LoadMessageInfo() == nil {
821 ms.StoreMessageInfo(mi)
822 }
823 return ms
824 }
825 return mi.MessageOf(x)
826 }
827
828
829 func (*DataMaskingPolicy) Descriptor() ([]byte, []int) {
830 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{8}
831 }
832
833 func (m *DataMaskingPolicy) GetMaskingExpression() isDataMaskingPolicy_MaskingExpression {
834 if m != nil {
835 return m.MaskingExpression
836 }
837 return nil
838 }
839
840 func (x *DataMaskingPolicy) GetPredefinedExpression() DataMaskingPolicy_PredefinedExpression {
841 if x, ok := x.GetMaskingExpression().(*DataMaskingPolicy_PredefinedExpression_); ok {
842 return x.PredefinedExpression
843 }
844 return DataMaskingPolicy_PREDEFINED_EXPRESSION_UNSPECIFIED
845 }
846
847 func (x *DataMaskingPolicy) GetRoutine() string {
848 if x, ok := x.GetMaskingExpression().(*DataMaskingPolicy_Routine); ok {
849 return x.Routine
850 }
851 return ""
852 }
853
854 type isDataMaskingPolicy_MaskingExpression interface {
855 isDataMaskingPolicy_MaskingExpression()
856 }
857
858 type DataMaskingPolicy_PredefinedExpression_ struct {
859
860 PredefinedExpression DataMaskingPolicy_PredefinedExpression `protobuf:"varint,1,opt,name=predefined_expression,json=predefinedExpression,proto3,enum=google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy_PredefinedExpression,oneof"`
861 }
862
863 type DataMaskingPolicy_Routine struct {
864
865
866
867 Routine string `protobuf:"bytes,3,opt,name=routine,proto3,oneof"`
868 }
869
870 func (*DataMaskingPolicy_PredefinedExpression_) isDataMaskingPolicy_MaskingExpression() {}
871
872 func (*DataMaskingPolicy_Routine) isDataMaskingPolicy_MaskingExpression() {}
873
874 var File_google_cloud_bigquery_datapolicies_v1_datapolicy_proto protoreflect.FileDescriptor
875
876 var file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDesc = []byte{
877 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
878 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69,
879 0x63, 0x69, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69,
880 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
881 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
882 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a,
883 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
884 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67,
885 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
886 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
887 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
888 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
889 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
890 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76,
891 0x31, 0x2f, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f,
892 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76,
893 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b,
894 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
895 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f,
896 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65,
897 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc0, 0x01,
898 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69,
899 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x06, 0x70, 0x61, 0x72,
900 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x34, 0xe0, 0x41, 0x02, 0xfa, 0x41,
901 0x2e, 0x12, 0x2c, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x64, 0x61, 0x74, 0x61, 0x70,
902 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
903 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
904 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x57, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f,
905 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67,
906 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71,
907 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
908 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42,
909 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
910 0x22, 0xaf, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50,
911 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x0b,
912 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
913 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
914 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f,
915 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f,
916 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x50,
917 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
918 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
919 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65,
920 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61,
921 0x73, 0x6b, 0x22, 0x64, 0x0a, 0x17, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61,
922 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a,
923 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
924 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x12, 0x6e, 0x65, 0x77, 0x5f, 0x64, 0x61,
925 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
926 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x6e, 0x65, 0x77, 0x44, 0x61, 0x74, 0x61,
927 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x63, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65,
928 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75,
929 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
930 0x09, 0x42, 0x34, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2e, 0x0a, 0x2c, 0x62, 0x69, 0x67, 0x71, 0x75,
931 0x65, 0x72, 0x79, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x67, 0x6f,
932 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74,
933 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x60, 0x0a,
934 0x14, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65,
935 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
936 0x01, 0x28, 0x09, 0x42, 0x34, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2e, 0x0a, 0x2c, 0x62, 0x69, 0x67,
937 0x71, 0x75, 0x65, 0x72, 0x79, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
938 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44,
939 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
940 0xbb, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69,
941 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x06, 0x70,
942 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x34, 0xe0, 0x41, 0x02,
943 0xfa, 0x41, 0x2e, 0x12, 0x2c, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x64, 0x61, 0x74,
944 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
945 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63,
946 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,
947 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,
948 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,
949 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65,
950 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18,
951 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x9a, 0x01,
952 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
953 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x64, 0x61,
954 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
955 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
956 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f,
957 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f,
958 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
959 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f,
960 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78,
961 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xc6, 0x04, 0x0a, 0x0a, 0x44,
962 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1f, 0x0a, 0x0a, 0x70, 0x6f, 0x6c,
963 0x69, 0x63, 0x79, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
964 0x09, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x61, 0x67, 0x12, 0x6a, 0x0a, 0x13, 0x64, 0x61,
965 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
966 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
967 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
968 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
969 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63,
970 0x79, 0x48, 0x01, 0x52, 0x11, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67,
971 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
972 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
973 0x6a, 0x0a, 0x10, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x74,
974 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
975 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72,
976 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76,
977 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 0x61, 0x74,
978 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x64, 0x61, 0x74,
979 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x64,
980 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
981 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49,
982 0x64, 0x22, 0x6d, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54,
983 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x50, 0x4f, 0x4c, 0x49,
984 0x43, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
985 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x5f,
986 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x53, 0x45, 0x43, 0x55, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x50,
987 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x41, 0x54, 0x41, 0x5f,
988 0x4d, 0x41, 0x53, 0x4b, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x10, 0x02,
989 0x3a, 0x75, 0xea, 0x41, 0x72, 0x0a, 0x2c, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x64,
990 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
991 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c,
992 0x69, 0x63, 0x79, 0x12, 0x42, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70,
993 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
994 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x64, 0x61, 0x74,
995 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x5f,
996 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x42, 0x10, 0x0a, 0x0e, 0x6d, 0x61, 0x74, 0x63, 0x68,
997 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x42, 0x08, 0x0a, 0x06, 0x70, 0x6f, 0x6c,
998 0x69, 0x63, 0x79, 0x22, 0x9d, 0x03, 0x0a, 0x11, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x73, 0x6b,
999 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x84, 0x01, 0x0a, 0x15, 0x70, 0x72,
1000 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73,
1001 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1002 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72,
1003 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76,
1004 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c,
1005 0x69, 0x63, 0x79, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x45, 0x78,
1006 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x14, 0x70, 0x72, 0x65, 0x64,
1007 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
1008 0x12, 0x1a, 0x0a, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
1009 0x09, 0x48, 0x00, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x22, 0xce, 0x01, 0x0a,
1010 0x14, 0x50, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x65,
1011 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x21, 0x50, 0x52, 0x45, 0x44, 0x45, 0x46, 0x49,
1012 0x4e, 0x45, 0x44, 0x5f, 0x45, 0x58, 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x55,
1013 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06,
1014 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x4c, 0x57, 0x41,
1015 0x59, 0x53, 0x5f, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x05, 0x12, 0x19, 0x0a, 0x15, 0x44, 0x45, 0x46,
1016 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x49, 0x4e, 0x47, 0x5f, 0x56, 0x41, 0x4c,
1017 0x55, 0x45, 0x10, 0x07, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x41, 0x53, 0x54, 0x5f, 0x46, 0x4f, 0x55,
1018 0x52, 0x5f, 0x43, 0x48, 0x41, 0x52, 0x41, 0x43, 0x54, 0x45, 0x52, 0x53, 0x10, 0x09, 0x12, 0x19,
1019 0x0a, 0x15, 0x46, 0x49, 0x52, 0x53, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x52, 0x5f, 0x43, 0x48, 0x41,
1020 0x52, 0x41, 0x43, 0x54, 0x45, 0x52, 0x53, 0x10, 0x0a, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x4d, 0x41,
1021 0x49, 0x4c, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0x0c, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x41, 0x54,
1022 0x45, 0x5f, 0x59, 0x45, 0x41, 0x52, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0x0d, 0x42, 0x14, 0x0a,
1023 0x12, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73,
1024 0x69, 0x6f, 0x6e, 0x32, 0x90, 0x0f, 0x0a, 0x11, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69,
1025 0x63, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xe1, 0x01, 0x0a, 0x10, 0x43, 0x72,
1026 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3e,
1027 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
1028 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63,
1029 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74,
1030 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31,
1031 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
1032 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63,
1033 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63,
1034 0x79, 0x22, 0x5a, 0xda, 0x41, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x64, 0x61, 0x74,
1035 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x3a, 0x0b,
1036 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x30, 0x2f, 0x76, 0x31,
1037 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
1038 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d,
1039 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0xf2, 0x01,
1040 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69,
1041 0x63, 0x79, 0x12, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1042 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70,
1043 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
1044 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
1045 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1046 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70,
1047 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x50,
1048 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x6b, 0xda, 0x41, 0x17, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70,
1049 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73,
1050 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b, 0x3a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f,
1051 0x6c, 0x69, 0x63, 0x79, 0x32, 0x3c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x5f,
1052 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
1053 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
1054 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f,
1055 0x2a, 0x7d, 0x12, 0xe3, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x61, 0x74,
1056 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1057 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
1058 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
1059 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1060 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1061 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
1062 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
1063 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x5c, 0xda, 0x41, 0x17, 0x6e,
1064 0x61, 0x6d, 0x65, 0x2c, 0x6e, 0x65, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x6c,
1065 0x69, 0x63, 0x79, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x3a, 0x01, 0x2a, 0x22,
1066 0x37, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
1067 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
1068 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a,
1069 0x7d, 0x3a, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xab, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x6c,
1070 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3e, 0x2e,
1071 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67,
1072 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69,
1073 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,
1074 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
1075 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1076 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x3f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3,
1077 0xe4, 0x93, 0x02, 0x32, 0x2a, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
1078 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
1079 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63,
1080 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xc0, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x44, 0x61,
1081 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1082 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
1083 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31,
1084 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65,
1085 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1086 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61,
1087 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61,
1088 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x3f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
1089 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,
1090 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f,
1091 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f,
1092 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xd6, 0x01, 0x0a, 0x10, 0x4c, 0x69,
1093 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x3e,
1094 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
1095 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63,
1096 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x50,
1097 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f,
1098 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
1099 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63,
1100 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x50,
1101 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
1102 0x41, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32,
1103 0x12, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,
1104 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
1105 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
1106 0x65, 0x73, 0x12, 0x97, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c,
1107 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d,
1108 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1109 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1110 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x4c,
1111 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x46, 0x3a, 0x01, 0x2a, 0x22, 0x41, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
1112 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
1113 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f,
1114 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,
1115 0x67, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x97, 0x01, 0x0a,
1116 0x0c, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e,
1117 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65,
1118 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1119 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76,
1120 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x4c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x46,
1121 0x3a, 0x01, 0x2a, 0x22, 0x41, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
1122 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f,
1123 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f,
1124 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d,
1125 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0xbd, 0x01, 0x0a, 0x12, 0x54, 0x65, 0x73, 0x74, 0x49,
1126 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x2e,
1127 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65,
1128 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
1129 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1130 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50,
1131 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1132 0x73, 0x65, 0x22, 0x52, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4c, 0x3a, 0x01, 0x2a, 0x22, 0x47, 0x2f,
1133 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f,
1134 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1135 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
1136 0x2f, 0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69,
1137 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x7e, 0xca, 0x41, 0x21, 0x62, 0x69, 0x67, 0x71, 0x75,
1138 0x65, 0x72, 0x79, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x67, 0x6f,
1139 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x57, 0x68,
1140 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1141 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x62,
1142 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f,
1143 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
1144 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c,
1145 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x89, 0x02, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
1146 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71,
1147 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
1148 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1149 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
1150 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67,
1151 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69,
1152 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c,
1153 0x69, 0x63, 0x69, 0x65, 0x73, 0x70, 0x62, 0x3b, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69,
1154 0x63, 0x69, 0x65, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1155 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x44,
1156 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02,
1157 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x69,
1158 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x5c, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63,
1159 0x69, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x29, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
1160 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x42, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
1161 0x3a, 0x3a, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x3a, 0x3a,
1162 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1163 }
1164
1165 var (
1166 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescOnce sync.Once
1167 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescData = file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDesc
1168 )
1169
1170 func file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP() []byte {
1171 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescOnce.Do(func() {
1172 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescData)
1173 })
1174 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescData
1175 }
1176
1177 var file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1178 var file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
1179 var file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_goTypes = []interface{}{
1180 (DataPolicy_DataPolicyType)(0),
1181 (DataMaskingPolicy_PredefinedExpression)(0),
1182 (*CreateDataPolicyRequest)(nil),
1183 (*UpdateDataPolicyRequest)(nil),
1184 (*RenameDataPolicyRequest)(nil),
1185 (*DeleteDataPolicyRequest)(nil),
1186 (*GetDataPolicyRequest)(nil),
1187 (*ListDataPoliciesRequest)(nil),
1188 (*ListDataPoliciesResponse)(nil),
1189 (*DataPolicy)(nil),
1190 (*DataMaskingPolicy)(nil),
1191 (*fieldmaskpb.FieldMask)(nil),
1192 (*iampb.GetIamPolicyRequest)(nil),
1193 (*iampb.SetIamPolicyRequest)(nil),
1194 (*iampb.TestIamPermissionsRequest)(nil),
1195 (*emptypb.Empty)(nil),
1196 (*iampb.Policy)(nil),
1197 (*iampb.TestIamPermissionsResponse)(nil),
1198 }
1199 var file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_depIdxs = []int32{
1200 9,
1201 9,
1202 11,
1203 9,
1204 10,
1205 0,
1206 1,
1207 2,
1208 3,
1209 4,
1210 5,
1211 6,
1212 7,
1213 12,
1214 13,
1215 14,
1216 9,
1217 9,
1218 9,
1219 15,
1220 9,
1221 8,
1222 16,
1223 16,
1224 17,
1225 16,
1226 7,
1227 7,
1228 7,
1229 0,
1230 }
1231
1232 func init() { file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_init() }
1233 func file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_init() {
1234 if File_google_cloud_bigquery_datapolicies_v1_datapolicy_proto != nil {
1235 return
1236 }
1237 if !protoimpl.UnsafeEnabled {
1238 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1239 switch v := v.(*CreateDataPolicyRequest); i {
1240 case 0:
1241 return &v.state
1242 case 1:
1243 return &v.sizeCache
1244 case 2:
1245 return &v.unknownFields
1246 default:
1247 return nil
1248 }
1249 }
1250 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1251 switch v := v.(*UpdateDataPolicyRequest); i {
1252 case 0:
1253 return &v.state
1254 case 1:
1255 return &v.sizeCache
1256 case 2:
1257 return &v.unknownFields
1258 default:
1259 return nil
1260 }
1261 }
1262 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1263 switch v := v.(*RenameDataPolicyRequest); i {
1264 case 0:
1265 return &v.state
1266 case 1:
1267 return &v.sizeCache
1268 case 2:
1269 return &v.unknownFields
1270 default:
1271 return nil
1272 }
1273 }
1274 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1275 switch v := v.(*DeleteDataPolicyRequest); i {
1276 case 0:
1277 return &v.state
1278 case 1:
1279 return &v.sizeCache
1280 case 2:
1281 return &v.unknownFields
1282 default:
1283 return nil
1284 }
1285 }
1286 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1287 switch v := v.(*GetDataPolicyRequest); i {
1288 case 0:
1289 return &v.state
1290 case 1:
1291 return &v.sizeCache
1292 case 2:
1293 return &v.unknownFields
1294 default:
1295 return nil
1296 }
1297 }
1298 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1299 switch v := v.(*ListDataPoliciesRequest); i {
1300 case 0:
1301 return &v.state
1302 case 1:
1303 return &v.sizeCache
1304 case 2:
1305 return &v.unknownFields
1306 default:
1307 return nil
1308 }
1309 }
1310 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1311 switch v := v.(*ListDataPoliciesResponse); i {
1312 case 0:
1313 return &v.state
1314 case 1:
1315 return &v.sizeCache
1316 case 2:
1317 return &v.unknownFields
1318 default:
1319 return nil
1320 }
1321 }
1322 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1323 switch v := v.(*DataPolicy); i {
1324 case 0:
1325 return &v.state
1326 case 1:
1327 return &v.sizeCache
1328 case 2:
1329 return &v.unknownFields
1330 default:
1331 return nil
1332 }
1333 }
1334 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1335 switch v := v.(*DataMaskingPolicy); i {
1336 case 0:
1337 return &v.state
1338 case 1:
1339 return &v.sizeCache
1340 case 2:
1341 return &v.unknownFields
1342 default:
1343 return nil
1344 }
1345 }
1346 }
1347 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[7].OneofWrappers = []interface{}{
1348 (*DataPolicy_PolicyTag)(nil),
1349 (*DataPolicy_DataMaskingPolicy)(nil),
1350 }
1351 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[8].OneofWrappers = []interface{}{
1352 (*DataMaskingPolicy_PredefinedExpression_)(nil),
1353 (*DataMaskingPolicy_Routine)(nil),
1354 }
1355 type x struct{}
1356 out := protoimpl.TypeBuilder{
1357 File: protoimpl.DescBuilder{
1358 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1359 RawDescriptor: file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDesc,
1360 NumEnums: 2,
1361 NumMessages: 9,
1362 NumExtensions: 0,
1363 NumServices: 1,
1364 },
1365 GoTypes: file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_goTypes,
1366 DependencyIndexes: file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_depIdxs,
1367 EnumInfos: file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_enumTypes,
1368 MessageInfos: file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes,
1369 }.Build()
1370 File_google_cloud_bigquery_datapolicies_v1_datapolicy_proto = out.File
1371 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDesc = nil
1372 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_goTypes = nil
1373 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_depIdxs = nil
1374 }
1375
1376
1377 var _ context.Context
1378 var _ grpc.ClientConnInterface
1379
1380
1381
1382 const _ = grpc.SupportPackageIsVersion6
1383
1384
1385
1386
1387 type DataPolicyServiceClient interface {
1388
1389
1390 CreateDataPolicy(ctx context.Context, in *CreateDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error)
1391
1392
1393 UpdateDataPolicy(ctx context.Context, in *UpdateDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error)
1394
1395 RenameDataPolicy(ctx context.Context, in *RenameDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error)
1396
1397 DeleteDataPolicy(ctx context.Context, in *DeleteDataPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
1398
1399 GetDataPolicy(ctx context.Context, in *GetDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error)
1400
1401 ListDataPolicies(ctx context.Context, in *ListDataPoliciesRequest, opts ...grpc.CallOption) (*ListDataPoliciesResponse, error)
1402
1403 GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
1404
1405 SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
1406
1407 TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
1408 }
1409
1410 type dataPolicyServiceClient struct {
1411 cc grpc.ClientConnInterface
1412 }
1413
1414 func NewDataPolicyServiceClient(cc grpc.ClientConnInterface) DataPolicyServiceClient {
1415 return &dataPolicyServiceClient{cc}
1416 }
1417
1418 func (c *dataPolicyServiceClient) CreateDataPolicy(ctx context.Context, in *CreateDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error) {
1419 out := new(DataPolicy)
1420 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/CreateDataPolicy", in, out, opts...)
1421 if err != nil {
1422 return nil, err
1423 }
1424 return out, nil
1425 }
1426
1427 func (c *dataPolicyServiceClient) UpdateDataPolicy(ctx context.Context, in *UpdateDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error) {
1428 out := new(DataPolicy)
1429 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/UpdateDataPolicy", in, out, opts...)
1430 if err != nil {
1431 return nil, err
1432 }
1433 return out, nil
1434 }
1435
1436 func (c *dataPolicyServiceClient) RenameDataPolicy(ctx context.Context, in *RenameDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error) {
1437 out := new(DataPolicy)
1438 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/RenameDataPolicy", in, out, opts...)
1439 if err != nil {
1440 return nil, err
1441 }
1442 return out, nil
1443 }
1444
1445 func (c *dataPolicyServiceClient) DeleteDataPolicy(ctx context.Context, in *DeleteDataPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
1446 out := new(emptypb.Empty)
1447 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/DeleteDataPolicy", in, out, opts...)
1448 if err != nil {
1449 return nil, err
1450 }
1451 return out, nil
1452 }
1453
1454 func (c *dataPolicyServiceClient) GetDataPolicy(ctx context.Context, in *GetDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error) {
1455 out := new(DataPolicy)
1456 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/GetDataPolicy", in, out, opts...)
1457 if err != nil {
1458 return nil, err
1459 }
1460 return out, nil
1461 }
1462
1463 func (c *dataPolicyServiceClient) ListDataPolicies(ctx context.Context, in *ListDataPoliciesRequest, opts ...grpc.CallOption) (*ListDataPoliciesResponse, error) {
1464 out := new(ListDataPoliciesResponse)
1465 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/ListDataPolicies", in, out, opts...)
1466 if err != nil {
1467 return nil, err
1468 }
1469 return out, nil
1470 }
1471
1472 func (c *dataPolicyServiceClient) GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) {
1473 out := new(iampb.Policy)
1474 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/GetIamPolicy", in, out, opts...)
1475 if err != nil {
1476 return nil, err
1477 }
1478 return out, nil
1479 }
1480
1481 func (c *dataPolicyServiceClient) SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) {
1482 out := new(iampb.Policy)
1483 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/SetIamPolicy", in, out, opts...)
1484 if err != nil {
1485 return nil, err
1486 }
1487 return out, nil
1488 }
1489
1490 func (c *dataPolicyServiceClient) TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) {
1491 out := new(iampb.TestIamPermissionsResponse)
1492 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/TestIamPermissions", in, out, opts...)
1493 if err != nil {
1494 return nil, err
1495 }
1496 return out, nil
1497 }
1498
1499
1500 type DataPolicyServiceServer interface {
1501
1502
1503 CreateDataPolicy(context.Context, *CreateDataPolicyRequest) (*DataPolicy, error)
1504
1505
1506 UpdateDataPolicy(context.Context, *UpdateDataPolicyRequest) (*DataPolicy, error)
1507
1508 RenameDataPolicy(context.Context, *RenameDataPolicyRequest) (*DataPolicy, error)
1509
1510 DeleteDataPolicy(context.Context, *DeleteDataPolicyRequest) (*emptypb.Empty, error)
1511
1512 GetDataPolicy(context.Context, *GetDataPolicyRequest) (*DataPolicy, error)
1513
1514 ListDataPolicies(context.Context, *ListDataPoliciesRequest) (*ListDataPoliciesResponse, error)
1515
1516 GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
1517
1518 SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
1519
1520 TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
1521 }
1522
1523
1524 type UnimplementedDataPolicyServiceServer struct {
1525 }
1526
1527 func (*UnimplementedDataPolicyServiceServer) CreateDataPolicy(context.Context, *CreateDataPolicyRequest) (*DataPolicy, error) {
1528 return nil, status.Errorf(codes.Unimplemented, "method CreateDataPolicy not implemented")
1529 }
1530 func (*UnimplementedDataPolicyServiceServer) UpdateDataPolicy(context.Context, *UpdateDataPolicyRequest) (*DataPolicy, error) {
1531 return nil, status.Errorf(codes.Unimplemented, "method UpdateDataPolicy not implemented")
1532 }
1533 func (*UnimplementedDataPolicyServiceServer) RenameDataPolicy(context.Context, *RenameDataPolicyRequest) (*DataPolicy, error) {
1534 return nil, status.Errorf(codes.Unimplemented, "method RenameDataPolicy not implemented")
1535 }
1536 func (*UnimplementedDataPolicyServiceServer) DeleteDataPolicy(context.Context, *DeleteDataPolicyRequest) (*emptypb.Empty, error) {
1537 return nil, status.Errorf(codes.Unimplemented, "method DeleteDataPolicy not implemented")
1538 }
1539 func (*UnimplementedDataPolicyServiceServer) GetDataPolicy(context.Context, *GetDataPolicyRequest) (*DataPolicy, error) {
1540 return nil, status.Errorf(codes.Unimplemented, "method GetDataPolicy not implemented")
1541 }
1542 func (*UnimplementedDataPolicyServiceServer) ListDataPolicies(context.Context, *ListDataPoliciesRequest) (*ListDataPoliciesResponse, error) {
1543 return nil, status.Errorf(codes.Unimplemented, "method ListDataPolicies not implemented")
1544 }
1545 func (*UnimplementedDataPolicyServiceServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) {
1546 return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented")
1547 }
1548 func (*UnimplementedDataPolicyServiceServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) {
1549 return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented")
1550 }
1551 func (*UnimplementedDataPolicyServiceServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) {
1552 return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented")
1553 }
1554
1555 func RegisterDataPolicyServiceServer(s *grpc.Server, srv DataPolicyServiceServer) {
1556 s.RegisterService(&_DataPolicyService_serviceDesc, srv)
1557 }
1558
1559 func _DataPolicyService_CreateDataPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1560 in := new(CreateDataPolicyRequest)
1561 if err := dec(in); err != nil {
1562 return nil, err
1563 }
1564 if interceptor == nil {
1565 return srv.(DataPolicyServiceServer).CreateDataPolicy(ctx, in)
1566 }
1567 info := &grpc.UnaryServerInfo{
1568 Server: srv,
1569 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/CreateDataPolicy",
1570 }
1571 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1572 return srv.(DataPolicyServiceServer).CreateDataPolicy(ctx, req.(*CreateDataPolicyRequest))
1573 }
1574 return interceptor(ctx, in, info, handler)
1575 }
1576
1577 func _DataPolicyService_UpdateDataPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1578 in := new(UpdateDataPolicyRequest)
1579 if err := dec(in); err != nil {
1580 return nil, err
1581 }
1582 if interceptor == nil {
1583 return srv.(DataPolicyServiceServer).UpdateDataPolicy(ctx, in)
1584 }
1585 info := &grpc.UnaryServerInfo{
1586 Server: srv,
1587 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/UpdateDataPolicy",
1588 }
1589 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1590 return srv.(DataPolicyServiceServer).UpdateDataPolicy(ctx, req.(*UpdateDataPolicyRequest))
1591 }
1592 return interceptor(ctx, in, info, handler)
1593 }
1594
1595 func _DataPolicyService_RenameDataPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1596 in := new(RenameDataPolicyRequest)
1597 if err := dec(in); err != nil {
1598 return nil, err
1599 }
1600 if interceptor == nil {
1601 return srv.(DataPolicyServiceServer).RenameDataPolicy(ctx, in)
1602 }
1603 info := &grpc.UnaryServerInfo{
1604 Server: srv,
1605 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/RenameDataPolicy",
1606 }
1607 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1608 return srv.(DataPolicyServiceServer).RenameDataPolicy(ctx, req.(*RenameDataPolicyRequest))
1609 }
1610 return interceptor(ctx, in, info, handler)
1611 }
1612
1613 func _DataPolicyService_DeleteDataPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1614 in := new(DeleteDataPolicyRequest)
1615 if err := dec(in); err != nil {
1616 return nil, err
1617 }
1618 if interceptor == nil {
1619 return srv.(DataPolicyServiceServer).DeleteDataPolicy(ctx, in)
1620 }
1621 info := &grpc.UnaryServerInfo{
1622 Server: srv,
1623 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/DeleteDataPolicy",
1624 }
1625 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1626 return srv.(DataPolicyServiceServer).DeleteDataPolicy(ctx, req.(*DeleteDataPolicyRequest))
1627 }
1628 return interceptor(ctx, in, info, handler)
1629 }
1630
1631 func _DataPolicyService_GetDataPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1632 in := new(GetDataPolicyRequest)
1633 if err := dec(in); err != nil {
1634 return nil, err
1635 }
1636 if interceptor == nil {
1637 return srv.(DataPolicyServiceServer).GetDataPolicy(ctx, in)
1638 }
1639 info := &grpc.UnaryServerInfo{
1640 Server: srv,
1641 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/GetDataPolicy",
1642 }
1643 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1644 return srv.(DataPolicyServiceServer).GetDataPolicy(ctx, req.(*GetDataPolicyRequest))
1645 }
1646 return interceptor(ctx, in, info, handler)
1647 }
1648
1649 func _DataPolicyService_ListDataPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1650 in := new(ListDataPoliciesRequest)
1651 if err := dec(in); err != nil {
1652 return nil, err
1653 }
1654 if interceptor == nil {
1655 return srv.(DataPolicyServiceServer).ListDataPolicies(ctx, in)
1656 }
1657 info := &grpc.UnaryServerInfo{
1658 Server: srv,
1659 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/ListDataPolicies",
1660 }
1661 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1662 return srv.(DataPolicyServiceServer).ListDataPolicies(ctx, req.(*ListDataPoliciesRequest))
1663 }
1664 return interceptor(ctx, in, info, handler)
1665 }
1666
1667 func _DataPolicyService_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1668 in := new(iampb.GetIamPolicyRequest)
1669 if err := dec(in); err != nil {
1670 return nil, err
1671 }
1672 if interceptor == nil {
1673 return srv.(DataPolicyServiceServer).GetIamPolicy(ctx, in)
1674 }
1675 info := &grpc.UnaryServerInfo{
1676 Server: srv,
1677 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/GetIamPolicy",
1678 }
1679 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1680 return srv.(DataPolicyServiceServer).GetIamPolicy(ctx, req.(*iampb.GetIamPolicyRequest))
1681 }
1682 return interceptor(ctx, in, info, handler)
1683 }
1684
1685 func _DataPolicyService_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1686 in := new(iampb.SetIamPolicyRequest)
1687 if err := dec(in); err != nil {
1688 return nil, err
1689 }
1690 if interceptor == nil {
1691 return srv.(DataPolicyServiceServer).SetIamPolicy(ctx, in)
1692 }
1693 info := &grpc.UnaryServerInfo{
1694 Server: srv,
1695 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/SetIamPolicy",
1696 }
1697 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1698 return srv.(DataPolicyServiceServer).SetIamPolicy(ctx, req.(*iampb.SetIamPolicyRequest))
1699 }
1700 return interceptor(ctx, in, info, handler)
1701 }
1702
1703 func _DataPolicyService_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1704 in := new(iampb.TestIamPermissionsRequest)
1705 if err := dec(in); err != nil {
1706 return nil, err
1707 }
1708 if interceptor == nil {
1709 return srv.(DataPolicyServiceServer).TestIamPermissions(ctx, in)
1710 }
1711 info := &grpc.UnaryServerInfo{
1712 Server: srv,
1713 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/TestIamPermissions",
1714 }
1715 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1716 return srv.(DataPolicyServiceServer).TestIamPermissions(ctx, req.(*iampb.TestIamPermissionsRequest))
1717 }
1718 return interceptor(ctx, in, info, handler)
1719 }
1720
1721 var _DataPolicyService_serviceDesc = grpc.ServiceDesc{
1722 ServiceName: "google.cloud.bigquery.datapolicies.v1.DataPolicyService",
1723 HandlerType: (*DataPolicyServiceServer)(nil),
1724 Methods: []grpc.MethodDesc{
1725 {
1726 MethodName: "CreateDataPolicy",
1727 Handler: _DataPolicyService_CreateDataPolicy_Handler,
1728 },
1729 {
1730 MethodName: "UpdateDataPolicy",
1731 Handler: _DataPolicyService_UpdateDataPolicy_Handler,
1732 },
1733 {
1734 MethodName: "RenameDataPolicy",
1735 Handler: _DataPolicyService_RenameDataPolicy_Handler,
1736 },
1737 {
1738 MethodName: "DeleteDataPolicy",
1739 Handler: _DataPolicyService_DeleteDataPolicy_Handler,
1740 },
1741 {
1742 MethodName: "GetDataPolicy",
1743 Handler: _DataPolicyService_GetDataPolicy_Handler,
1744 },
1745 {
1746 MethodName: "ListDataPolicies",
1747 Handler: _DataPolicyService_ListDataPolicies_Handler,
1748 },
1749 {
1750 MethodName: "GetIamPolicy",
1751 Handler: _DataPolicyService_GetIamPolicy_Handler,
1752 },
1753 {
1754 MethodName: "SetIamPolicy",
1755 Handler: _DataPolicyService_SetIamPolicy_Handler,
1756 },
1757 {
1758 MethodName: "TestIamPermissions",
1759 Handler: _DataPolicyService_TestIamPermissions_Handler,
1760 },
1761 },
1762 Streams: []grpc.StreamDesc{},
1763 Metadata: "google/cloud/bigquery/datapolicies/v1/datapolicy.proto",
1764 }
1765
View as plain text