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