Debian Codegraph @

bigquery/datapolicies/apiv1/datapoliciespb/datapolicy.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/bigquery/datapolicies/v1/datapolicy.proto
20
21 package datapoliciespb
22
23 import (
24 iampb "cloud.google.com/go/iam/apiv1/iampb"
25 context "context"
26 _ "google.golang.org/genproto/googleapis/api/annotations"
27 grpc "google.golang.org/grpc"
28 codes "google.golang.org/grpc/codes"
29 status "google.golang.org/grpc/status"
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32 emptypb "google.golang.org/protobuf/types/known/emptypb"
33 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
34 reflect "reflect"
35 sync "sync"
36 )
37
38 const (
39 // Verify that this generated code is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
41 // Verify that runtime/protoimpl is sufficiently up-to-date.
42 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
43 )
44
45 // A list of supported data policy types.
46 type DataPolicy_DataPolicyType int32
47
48 const (
49 // Default value for the data policy type. This should not be used.
50 DataPolicy_DATA_POLICY_TYPE_UNSPECIFIED DataPolicy_DataPolicyType = 0
51 // Used to create a data policy for column-level security, without data
52 // masking.
53 DataPolicy_COLUMN_LEVEL_SECURITY_POLICY DataPolicy_DataPolicyType = 3
54 // Used to create a data policy for data masking.
55 DataPolicy_DATA_MASKING_POLICY DataPolicy_DataPolicyType = 2
56 )
57
58 // Enum value maps for DataPolicy_DataPolicyType.
59 var (
60 DataPolicy_DataPolicyType_name = map[int32]string{
61 0: "DATA_POLICY_TYPE_UNSPECIFIED",
62 3: "COLUMN_LEVEL_SECURITY_POLICY",
63 2: "DATA_MASKING_POLICY",
64 }
65 DataPolicy_DataPolicyType_value = map[string]int32{
66 "DATA_POLICY_TYPE_UNSPECIFIED": 0,
67 "COLUMN_LEVEL_SECURITY_POLICY": 3,
68 "DATA_MASKING_POLICY": 2,
69 }
70 )
71
72 func (x DataPolicy_DataPolicyType) Enum() *DataPolicy_DataPolicyType {
73 p := new(DataPolicy_DataPolicyType)
74 *p = x
75 return p
76 }
77
78 func (x DataPolicy_DataPolicyType) String() string {
79 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
80 }
81
82 func (DataPolicy_DataPolicyType) Descriptor() protoreflect.EnumDescriptor {
83 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_enumTypes[0].Descriptor()
84 }
85
86 func (DataPolicy_DataPolicyType) Type() protoreflect.EnumType {
87 return &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_enumTypes[0]
88 }
89
90 func (x DataPolicy_DataPolicyType) Number() protoreflect.EnumNumber {
91 return protoreflect.EnumNumber(x)
92 }
93
94 // Deprecated: Use DataPolicy_DataPolicyType.Descriptor instead.
95 func (DataPolicy_DataPolicyType) EnumDescriptor() ([]byte, []int) {
96 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{7, 0}
97 }
98
99 // The available masking rules. Learn more here:
100 // https://cloud.google.com/bigquery/docs/column-data-masking-intro#masking_options.
101 type DataMaskingPolicy_PredefinedExpression int32
102
103 const (
104 // Default, unspecified predefined expression. No masking will take place
105 // since no expression is specified.
106 DataMaskingPolicy_PREDEFINED_EXPRESSION_UNSPECIFIED DataMaskingPolicy_PredefinedExpression = 0
107 // Masking expression to replace data with SHA-256 hash.
108 DataMaskingPolicy_SHA256 DataMaskingPolicy_PredefinedExpression = 3
109 // Masking expression to replace data with NULLs.
110 DataMaskingPolicy_ALWAYS_NULL DataMaskingPolicy_PredefinedExpression = 5
111 // Masking expression to replace data with their default masking values.
112 // The default masking values for each type listed as below:
113 //
114 // * STRING: ""
115 // * BYTES: b”
116 // * INTEGER: 0
117 // * FLOAT: 0.0
118 // * NUMERIC: 0
119 // * BOOLEAN: FALSE
120 // * TIMESTAMP: 1970-01-01 00:00:00 UTC
121 // * DATE: 1970-01-01
122 // * TIME: 00:00:00
123 // * DATETIME: 1970-01-01T00:00:00
124 // * GEOGRAPHY: POINT(0 0)
125 // * BIGNUMERIC: 0
126 // * ARRAY: []
127 // * STRUCT: NOT_APPLICABLE
128 // * JSON: NULL
129 DataMaskingPolicy_DEFAULT_MASKING_VALUE DataMaskingPolicy_PredefinedExpression = 7
130 // Masking expression shows the last four characters of text.
131 // The masking behavior is as follows:
132 //
133 // * If text length > 4 characters: Replace text with XXXXX, append last
134 // four characters of original text.
135 // * If text length <= 4 characters: Apply SHA-256 hash.
136 DataMaskingPolicy_LAST_FOUR_CHARACTERS DataMaskingPolicy_PredefinedExpression = 9
137 // Masking expression shows the first four characters of text.
138 // The masking behavior is as follows:
139 //
140 // * If text length > 4 characters: Replace text with XXXXX, prepend first
141 // four characters of original text.
142 // * If text length <= 4 characters: Apply SHA-256 hash.
143 DataMaskingPolicy_FIRST_FOUR_CHARACTERS DataMaskingPolicy_PredefinedExpression = 10
144 // Masking expression for email addresses.
145 // The masking behavior is as follows:
146 //
147 // * Syntax-valid email address: Replace username with XXXXX. For example,
148 // [email protected] becomes [email protected].
149 // * Syntax-invalid email address: Apply SHA-256 hash.
150 //
151 // For more information, see [Email
152 // mask](https://cloud.google.com/bigquery/docs/column-data-masking-intro#masking_options).
153 DataMaskingPolicy_EMAIL_MASK DataMaskingPolicy_PredefinedExpression = 12
154 // Masking expression to only show the year of `Date`,
155 // `DateTime` and `TimeStamp`. For example, with the
156 // year 2076:
157 //
158 // * DATE : 2076-01-01
159 // * DATETIME : 2076-01-01T00:00:00
160 // * TIMESTAMP : 2076-01-01 00:00:00 UTC
161 //
162 // Truncation occurs according to the UTC time zone. To change this, adjust
163 // the default time zone using the `time_zone` system variable.
164 // For more information, see the <a
165 // href="https://cloud.google.com/bigquery/docs/reference/system-variables">System
166 // variables reference</a>.
167 DataMaskingPolicy_DATE_YEAR_MASK DataMaskingPolicy_PredefinedExpression = 13
168 )
169
170 // Enum value maps for DataMaskingPolicy_PredefinedExpression.
171 var (
172 DataMaskingPolicy_PredefinedExpression_name = map[int32]string{
173 0: "PREDEFINED_EXPRESSION_UNSPECIFIED",
174 3: "SHA256",
175 5: "ALWAYS_NULL",
176 7: "DEFAULT_MASKING_VALUE",
177 9: "LAST_FOUR_CHARACTERS",
178 10: "FIRST_FOUR_CHARACTERS",
179 12: "EMAIL_MASK",
180 13: "DATE_YEAR_MASK",
181 }
182 DataMaskingPolicy_PredefinedExpression_value = map[string]int32{
183 "PREDEFINED_EXPRESSION_UNSPECIFIED": 0,
184 "SHA256": 3,
185 "ALWAYS_NULL": 5,
186 "DEFAULT_MASKING_VALUE": 7,
187 "LAST_FOUR_CHARACTERS": 9,
188 "FIRST_FOUR_CHARACTERS": 10,
189 "EMAIL_MASK": 12,
190 "DATE_YEAR_MASK": 13,
191 }
192 )
193
194 func (x DataMaskingPolicy_PredefinedExpression) Enum() *DataMaskingPolicy_PredefinedExpression {
195 p := new(DataMaskingPolicy_PredefinedExpression)
196 *p = x
197 return p
198 }
199
200 func (x DataMaskingPolicy_PredefinedExpression) String() string {
201 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
202 }
203
204 func (DataMaskingPolicy_PredefinedExpression) Descriptor() protoreflect.EnumDescriptor {
205 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_enumTypes[1].Descriptor()
206 }
207
208 func (DataMaskingPolicy_PredefinedExpression) Type() protoreflect.EnumType {
209 return &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_enumTypes[1]
210 }
211
212 func (x DataMaskingPolicy_PredefinedExpression) Number() protoreflect.EnumNumber {
213 return protoreflect.EnumNumber(x)
214 }
215
216 // Deprecated: Use DataMaskingPolicy_PredefinedExpression.Descriptor instead.
217 func (DataMaskingPolicy_PredefinedExpression) EnumDescriptor() ([]byte, []int) {
218 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{8, 0}
219 }
220
221 // Request message for the CreateDataPolicy method.
222 type CreateDataPolicyRequest struct {
223 state protoimpl.MessageState
224 sizeCache protoimpl.SizeCache
225 unknownFields protoimpl.UnknownFields
226
227 // Required. Resource name of the project that the data policy will belong to.
228 // The format is `projects/{project_number}/locations/{location_id}`.
229 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
230 // Required. The data policy to create. The `name` field does not need to be
231 // provided for the data policy creation.
232 DataPolicy *DataPolicy `protobuf:"bytes,2,opt,name=data_policy,json=dataPolicy,proto3" json:"data_policy,omitempty"`
233 }
234
235 func (x *CreateDataPolicyRequest) Reset() {
236 *x = CreateDataPolicyRequest{}
237 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[0]
238 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
239 ms.StoreMessageInfo(mi)
240 }
241
242 func (x *CreateDataPolicyRequest) String() string {
243 return protoimpl.X.MessageStringOf(x)
244 }
245
246 func (*CreateDataPolicyRequest) ProtoMessage() {}
247
248 func (x *CreateDataPolicyRequest) ProtoReflect() protoreflect.Message {
249 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[0]
250 if x != nil {
251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
252 if ms.LoadMessageInfo() == nil {
253 ms.StoreMessageInfo(mi)
254 }
255 return ms
256 }
257 return mi.MessageOf(x)
258 }
259
260 // Deprecated: Use CreateDataPolicyRequest.ProtoReflect.Descriptor instead.
261 func (*CreateDataPolicyRequest) Descriptor() ([]byte, []int) {
262 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{0}
263 }
264
265 func (x *CreateDataPolicyRequest) GetParent() string {
266 if x != nil {
267 return x.Parent
268 }
269 return ""
270 }
271
272 func (x *CreateDataPolicyRequest) GetDataPolicy() *DataPolicy {
273 if x != nil {
274 return x.DataPolicy
275 }
276 return nil
277 }
278
279 // Response message for the UpdateDataPolicy method.
280 type UpdateDataPolicyRequest struct {
281 state protoimpl.MessageState
282 sizeCache protoimpl.SizeCache
283 unknownFields protoimpl.UnknownFields
284
285 // Required. Update the data policy's metadata.
286 //
287 // The target data policy is determined by the `name` field.
288 // Other fields are updated to the specified values based on the field masks.
289 DataPolicy *DataPolicy `protobuf:"bytes,1,opt,name=data_policy,json=dataPolicy,proto3" json:"data_policy,omitempty"`
290 // The update mask applies to the resource. For the `FieldMask` definition,
291 // see
292 // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
293 // If not set, defaults to all of the fields that are allowed to update.
294 //
295 // Updates to the `name` and `dataPolicyId` fields are not allowed.
296 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
297 }
298
299 func (x *UpdateDataPolicyRequest) Reset() {
300 *x = UpdateDataPolicyRequest{}
301 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[1]
302 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
303 ms.StoreMessageInfo(mi)
304 }
305
306 func (x *UpdateDataPolicyRequest) String() string {
307 return protoimpl.X.MessageStringOf(x)
308 }
309
310 func (*UpdateDataPolicyRequest) ProtoMessage() {}
311
312 func (x *UpdateDataPolicyRequest) ProtoReflect() protoreflect.Message {
313 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[1]
314 if x != nil {
315 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
316 if ms.LoadMessageInfo() == nil {
317 ms.StoreMessageInfo(mi)
318 }
319 return ms
320 }
321 return mi.MessageOf(x)
322 }
323
324 // Deprecated: Use UpdateDataPolicyRequest.ProtoReflect.Descriptor instead.
325 func (*UpdateDataPolicyRequest) Descriptor() ([]byte, []int) {
326 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{1}
327 }
328
329 func (x *UpdateDataPolicyRequest) GetDataPolicy() *DataPolicy {
330 if x != nil {
331 return x.DataPolicy
332 }
333 return nil
334 }
335
336 func (x *UpdateDataPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
337 if x != nil {
338 return x.UpdateMask
339 }
340 return nil
341 }
342
343 // Request message for the RenameDataPolicy method.
344 type RenameDataPolicyRequest struct {
345 state protoimpl.MessageState
346 sizeCache protoimpl.SizeCache
347 unknownFields protoimpl.UnknownFields
348
349 // Required. Resource name of the data policy to rename. The format is
350 // `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`
351 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
352 // Required. The new data policy id.
353 NewDataPolicyId string `protobuf:"bytes,2,opt,name=new_data_policy_id,json=newDataPolicyId,proto3" json:"new_data_policy_id,omitempty"`
354 }
355
356 func (x *RenameDataPolicyRequest) Reset() {
357 *x = RenameDataPolicyRequest{}
358 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[2]
359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
360 ms.StoreMessageInfo(mi)
361 }
362
363 func (x *RenameDataPolicyRequest) String() string {
364 return protoimpl.X.MessageStringOf(x)
365 }
366
367 func (*RenameDataPolicyRequest) ProtoMessage() {}
368
369 func (x *RenameDataPolicyRequest) ProtoReflect() protoreflect.Message {
370 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[2]
371 if x != nil {
372 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
373 if ms.LoadMessageInfo() == nil {
374 ms.StoreMessageInfo(mi)
375 }
376 return ms
377 }
378 return mi.MessageOf(x)
379 }
380
381 // Deprecated: Use RenameDataPolicyRequest.ProtoReflect.Descriptor instead.
382 func (*RenameDataPolicyRequest) Descriptor() ([]byte, []int) {
383 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{2}
384 }
385
386 func (x *RenameDataPolicyRequest) GetName() string {
387 if x != nil {
388 return x.Name
389 }
390 return ""
391 }
392
393 func (x *RenameDataPolicyRequest) GetNewDataPolicyId() string {
394 if x != nil {
395 return x.NewDataPolicyId
396 }
397 return ""
398 }
399
400 // Request message for the DeleteDataPolicy method.
401 type DeleteDataPolicyRequest struct {
402 state protoimpl.MessageState
403 sizeCache protoimpl.SizeCache
404 unknownFields protoimpl.UnknownFields
405
406 // Required. Resource name of the data policy to delete. Format is
407 // `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.
408 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
409 }
410
411 func (x *DeleteDataPolicyRequest) Reset() {
412 *x = DeleteDataPolicyRequest{}
413 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[3]
414 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
415 ms.StoreMessageInfo(mi)
416 }
417
418 func (x *DeleteDataPolicyRequest) String() string {
419 return protoimpl.X.MessageStringOf(x)
420 }
421
422 func (*DeleteDataPolicyRequest) ProtoMessage() {}
423
424 func (x *DeleteDataPolicyRequest) ProtoReflect() protoreflect.Message {
425 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[3]
426 if x != nil {
427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
428 if ms.LoadMessageInfo() == nil {
429 ms.StoreMessageInfo(mi)
430 }
431 return ms
432 }
433 return mi.MessageOf(x)
434 }
435
436 // Deprecated: Use DeleteDataPolicyRequest.ProtoReflect.Descriptor instead.
437 func (*DeleteDataPolicyRequest) Descriptor() ([]byte, []int) {
438 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{3}
439 }
440
441 func (x *DeleteDataPolicyRequest) GetName() string {
442 if x != nil {
443 return x.Name
444 }
445 return ""
446 }
447
448 // Request message for the GetDataPolicy method.
449 type GetDataPolicyRequest struct {
450 state protoimpl.MessageState
451 sizeCache protoimpl.SizeCache
452 unknownFields protoimpl.UnknownFields
453
454 // Required. Resource name of the requested data policy. Format is
455 // `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.
456 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
457 }
458
459 func (x *GetDataPolicyRequest) Reset() {
460 *x = GetDataPolicyRequest{}
461 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[4]
462 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
463 ms.StoreMessageInfo(mi)
464 }
465
466 func (x *GetDataPolicyRequest) String() string {
467 return protoimpl.X.MessageStringOf(x)
468 }
469
470 func (*GetDataPolicyRequest) ProtoMessage() {}
471
472 func (x *GetDataPolicyRequest) ProtoReflect() protoreflect.Message {
473 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[4]
474 if x != nil {
475 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
476 if ms.LoadMessageInfo() == nil {
477 ms.StoreMessageInfo(mi)
478 }
479 return ms
480 }
481 return mi.MessageOf(x)
482 }
483
484 // Deprecated: Use GetDataPolicyRequest.ProtoReflect.Descriptor instead.
485 func (*GetDataPolicyRequest) Descriptor() ([]byte, []int) {
486 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{4}
487 }
488
489 func (x *GetDataPolicyRequest) GetName() string {
490 if x != nil {
491 return x.Name
492 }
493 return ""
494 }
495
496 // Request message for the ListDataPolicies method.
497 type ListDataPoliciesRequest struct {
498 state protoimpl.MessageState
499 sizeCache protoimpl.SizeCache
500 unknownFields protoimpl.UnknownFields
501
502 // Required. Resource name of the project for which to list data policies.
503 // Format is `projects/{project_number}/locations/{location_id}`.
504 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
505 // The maximum number of data policies to return. Must be a value between 1
506 // and 1000.
507 // If not set, defaults to 50.
508 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
509 // The `nextPageToken` value returned from a previous list request, if any. If
510 // not set, defaults to an empty string.
511 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
512 // Filters the data policies by policy tags that they
513 // are associated with. Currently filter only supports
514 // "policy<span></span>_tag" based filtering and OR based predicates. Sample
515 // filter can be "policy<span></span>_tag:
516 // projects/1/locations/us/taxonomies/2/policyTags/3".
517 // You may also use wildcard such as "policy<span></span>_tag:
518 // projects/1/locations/us/taxonomies/2*". Please note that OR predicates
519 // cannot be used with wildcard filters.
520 Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
521 }
522
523 func (x *ListDataPoliciesRequest) Reset() {
524 *x = ListDataPoliciesRequest{}
525 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[5]
526 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
527 ms.StoreMessageInfo(mi)
528 }
529
530 func (x *ListDataPoliciesRequest) String() string {
531 return protoimpl.X.MessageStringOf(x)
532 }
533
534 func (*ListDataPoliciesRequest) ProtoMessage() {}
535
536 func (x *ListDataPoliciesRequest) ProtoReflect() protoreflect.Message {
537 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[5]
538 if x != nil {
539 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
540 if ms.LoadMessageInfo() == nil {
541 ms.StoreMessageInfo(mi)
542 }
543 return ms
544 }
545 return mi.MessageOf(x)
546 }
547
548 // Deprecated: Use ListDataPoliciesRequest.ProtoReflect.Descriptor instead.
549 func (*ListDataPoliciesRequest) Descriptor() ([]byte, []int) {
550 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{5}
551 }
552
553 func (x *ListDataPoliciesRequest) GetParent() string {
554 if x != nil {
555 return x.Parent
556 }
557 return ""
558 }
559
560 func (x *ListDataPoliciesRequest) GetPageSize() int32 {
561 if x != nil {
562 return x.PageSize
563 }
564 return 0
565 }
566
567 func (x *ListDataPoliciesRequest) GetPageToken() string {
568 if x != nil {
569 return x.PageToken
570 }
571 return ""
572 }
573
574 func (x *ListDataPoliciesRequest) GetFilter() string {
575 if x != nil {
576 return x.Filter
577 }
578 return ""
579 }
580
581 // Response message for the ListDataPolicies method.
582 type ListDataPoliciesResponse struct {
583 state protoimpl.MessageState
584 sizeCache protoimpl.SizeCache
585 unknownFields protoimpl.UnknownFields
586
587 // Data policies that belong to the requested project.
588 DataPolicies []*DataPolicy `protobuf:"bytes,1,rep,name=data_policies,json=dataPolicies,proto3" json:"data_policies,omitempty"`
589 // Token used to retrieve the next page of results, or empty if there are no
590 // more results.
591 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
592 }
593
594 func (x *ListDataPoliciesResponse) Reset() {
595 *x = ListDataPoliciesResponse{}
596 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[6]
597 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
598 ms.StoreMessageInfo(mi)
599 }
600
601 func (x *ListDataPoliciesResponse) String() string {
602 return protoimpl.X.MessageStringOf(x)
603 }
604
605 func (*ListDataPoliciesResponse) ProtoMessage() {}
606
607 func (x *ListDataPoliciesResponse) ProtoReflect() protoreflect.Message {
608 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[6]
609 if x != nil {
610 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
611 if ms.LoadMessageInfo() == nil {
612 ms.StoreMessageInfo(mi)
613 }
614 return ms
615 }
616 return mi.MessageOf(x)
617 }
618
619 // Deprecated: Use ListDataPoliciesResponse.ProtoReflect.Descriptor instead.
620 func (*ListDataPoliciesResponse) Descriptor() ([]byte, []int) {
621 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{6}
622 }
623
624 func (x *ListDataPoliciesResponse) GetDataPolicies() []*DataPolicy {
625 if x != nil {
626 return x.DataPolicies
627 }
628 return nil
629 }
630
631 func (x *ListDataPoliciesResponse) GetNextPageToken() string {
632 if x != nil {
633 return x.NextPageToken
634 }
635 return ""
636 }
637
638 // Represents the label-policy binding.
639 type DataPolicy struct {
640 state protoimpl.MessageState
641 sizeCache protoimpl.SizeCache
642 unknownFields protoimpl.UnknownFields
643
644 // Label that is bound to this data policy.
645 //
646 // Types that are assignable to MatchingLabel:
647 //
648 // *DataPolicy_PolicyTag
649 MatchingLabel isDataPolicy_MatchingLabel `protobuf_oneof:"matching_label"`
650 // The policy that is bound to this data policy.
651 //
652 // Types that are assignable to Policy:
653 //
654 // *DataPolicy_DataMaskingPolicy
655 Policy isDataPolicy_Policy `protobuf_oneof:"policy"`
656 // Output only. Resource name of this data policy, in the format of
657 // `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.
658 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
659 // Type of data policy.
660 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"`
661 // User-assigned (human readable) ID of the data policy that needs to be
662 // unique within a project. Used as {data_policy_id} in part of the resource
663 // name.
664 DataPolicyId string `protobuf:"bytes,3,opt,name=data_policy_id,json=dataPolicyId,proto3" json:"data_policy_id,omitempty"`
665 }
666
667 func (x *DataPolicy) Reset() {
668 *x = DataPolicy{}
669 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[7]
670 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
671 ms.StoreMessageInfo(mi)
672 }
673
674 func (x *DataPolicy) String() string {
675 return protoimpl.X.MessageStringOf(x)
676 }
677
678 func (*DataPolicy) ProtoMessage() {}
679
680 func (x *DataPolicy) ProtoReflect() protoreflect.Message {
681 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[7]
682 if x != nil {
683 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
684 if ms.LoadMessageInfo() == nil {
685 ms.StoreMessageInfo(mi)
686 }
687 return ms
688 }
689 return mi.MessageOf(x)
690 }
691
692 // Deprecated: Use DataPolicy.ProtoReflect.Descriptor instead.
693 func (*DataPolicy) Descriptor() ([]byte, []int) {
694 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{7}
695 }
696
697 func (m *DataPolicy) GetMatchingLabel() isDataPolicy_MatchingLabel {
698 if m != nil {
699 return m.MatchingLabel
700 }
701 return nil
702 }
703
704 func (x *DataPolicy) GetPolicyTag() string {
705 if x, ok := x.GetMatchingLabel().(*DataPolicy_PolicyTag); ok {
706 return x.PolicyTag
707 }
708 return ""
709 }
710
711 func (m *DataPolicy) GetPolicy() isDataPolicy_Policy {
712 if m != nil {
713 return m.Policy
714 }
715 return nil
716 }
717
718 func (x *DataPolicy) GetDataMaskingPolicy() *DataMaskingPolicy {
719 if x, ok := x.GetPolicy().(*DataPolicy_DataMaskingPolicy); ok {
720 return x.DataMaskingPolicy
721 }
722 return nil
723 }
724
725 func (x *DataPolicy) GetName() string {
726 if x != nil {
727 return x.Name
728 }
729 return ""
730 }
731
732 func (x *DataPolicy) GetDataPolicyType() DataPolicy_DataPolicyType {
733 if x != nil {
734 return x.DataPolicyType
735 }
736 return DataPolicy_DATA_POLICY_TYPE_UNSPECIFIED
737 }
738
739 func (x *DataPolicy) GetDataPolicyId() string {
740 if x != nil {
741 return x.DataPolicyId
742 }
743 return ""
744 }
745
746 type isDataPolicy_MatchingLabel interface {
747 isDataPolicy_MatchingLabel()
748 }
749
750 type DataPolicy_PolicyTag struct {
751 // Policy tag resource name, in the format of
752 // `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`.
753 PolicyTag string `protobuf:"bytes,4,opt,name=policy_tag,json=policyTag,proto3,oneof"`
754 }
755
756 func (*DataPolicy_PolicyTag) isDataPolicy_MatchingLabel() {}
757
758 type isDataPolicy_Policy interface {
759 isDataPolicy_Policy()
760 }
761
762 type DataPolicy_DataMaskingPolicy struct {
763 // The data masking policy that specifies the data masking rule to use.
764 DataMaskingPolicy *DataMaskingPolicy `protobuf:"bytes,5,opt,name=data_masking_policy,json=dataMaskingPolicy,proto3,oneof"`
765 }
766
767 func (*DataPolicy_DataMaskingPolicy) isDataPolicy_Policy() {}
768
769 // The data masking policy that is used to specify data masking rule.
770 type DataMaskingPolicy struct {
771 state protoimpl.MessageState
772 sizeCache protoimpl.SizeCache
773 unknownFields protoimpl.UnknownFields
774
775 // A masking expression to bind to the data masking rule.
776 //
777 // Types that are assignable to MaskingExpression:
778 //
779 // *DataMaskingPolicy_PredefinedExpression_
780 // *DataMaskingPolicy_Routine
781 MaskingExpression isDataMaskingPolicy_MaskingExpression `protobuf_oneof:"masking_expression"`
782 }
783
784 func (x *DataMaskingPolicy) Reset() {
785 *x = DataMaskingPolicy{}
786 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[8]
787 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
788 ms.StoreMessageInfo(mi)
789 }
790
791 func (x *DataMaskingPolicy) String() string {
792 return protoimpl.X.MessageStringOf(x)
793 }
794
795 func (*DataMaskingPolicy) ProtoMessage() {}
796
797 func (x *DataMaskingPolicy) ProtoReflect() protoreflect.Message {
798 mi := &file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[8]
799 if x != nil {
800 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
801 if ms.LoadMessageInfo() == nil {
802 ms.StoreMessageInfo(mi)
803 }
804 return ms
805 }
806 return mi.MessageOf(x)
807 }
808
809 // Deprecated: Use DataMaskingPolicy.ProtoReflect.Descriptor instead.
810 func (*DataMaskingPolicy) Descriptor() ([]byte, []int) {
811 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP(), []int{8}
812 }
813
814 func (m *DataMaskingPolicy) GetMaskingExpression() isDataMaskingPolicy_MaskingExpression {
815 if m != nil {
816 return m.MaskingExpression
817 }
818 return nil
819 }
820
821 func (x *DataMaskingPolicy) GetPredefinedExpression() DataMaskingPolicy_PredefinedExpression {
822 if x, ok := x.GetMaskingExpression().(*DataMaskingPolicy_PredefinedExpression_); ok {
823 return x.PredefinedExpression
824 }
825 return DataMaskingPolicy_PREDEFINED_EXPRESSION_UNSPECIFIED
826 }
827
828 func (x *DataMaskingPolicy) GetRoutine() string {
829 if x, ok := x.GetMaskingExpression().(*DataMaskingPolicy_Routine); ok {
830 return x.Routine
831 }
832 return ""
833 }
834
835 type isDataMaskingPolicy_MaskingExpression interface {
836 isDataMaskingPolicy_MaskingExpression()
837 }
838
839 type DataMaskingPolicy_PredefinedExpression_ struct {
840 // A predefined masking expression.
841 PredefinedExpression DataMaskingPolicy_PredefinedExpression `protobuf:"varint,1,opt,name=predefined_expression,json=predefinedExpression,proto3,enum=google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy_PredefinedExpression,oneof"`
842 }
843
844 type DataMaskingPolicy_Routine struct {
845 // The name of the BigQuery routine that contains the custom masking
846 // routine, in the format of
847 // `projects/{project_number}/datasets/{dataset_id}/routines/{routine_id}`.
848 Routine string `protobuf:"bytes,3,opt,name=routine,proto3,oneof"`
849 }
850
851 func (*DataMaskingPolicy_PredefinedExpression_) isDataMaskingPolicy_MaskingExpression() {}
852
853 func (*DataMaskingPolicy_Routine) isDataMaskingPolicy_MaskingExpression() {}
854
855 var File_google_cloud_bigquery_datapolicies_v1_datapolicy_proto protoreflect.FileDescriptor
856
857 var file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDesc = []byte{
858 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
859 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69,
860 0x63, 0x69, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69,
861 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
862 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
863 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a,
864 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
865 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67,
866 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
867 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
868 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
869 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
870 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
871 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76,
872 0x31, 0x2f, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f,
873 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76,
874 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b,
875 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
876 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f,
877 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65,
878 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc0, 0x01,
879 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69,
880 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x06, 0x70, 0x61, 0x72,
881 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x34, 0xe0, 0x41, 0x02, 0xfa, 0x41,
882 0x2e, 0x12, 0x2c, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x64, 0x61, 0x74, 0x61, 0x70,
883 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
884 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
885 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x57, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f,
886 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67,
887 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71,
888 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
889 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42,
890 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
891 0x22, 0xaf, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50,
892 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x0b,
893 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
894 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
895 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f,
896 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f,
897 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x50,
898 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
899 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
900 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65,
901 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61,
902 0x73, 0x6b, 0x22, 0x64, 0x0a, 0x17, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61,
903 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a,
904 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
905 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x12, 0x6e, 0x65, 0x77, 0x5f, 0x64, 0x61,
906 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
907 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x6e, 0x65, 0x77, 0x44, 0x61, 0x74, 0x61,
908 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x63, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65,
909 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75,
910 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
911 0x09, 0x42, 0x34, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2e, 0x0a, 0x2c, 0x62, 0x69, 0x67, 0x71, 0x75,
912 0x65, 0x72, 0x79, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x67, 0x6f,
913 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74,
914 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x60, 0x0a,
915 0x14, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65,
916 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
917 0x01, 0x28, 0x09, 0x42, 0x34, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2e, 0x0a, 0x2c, 0x62, 0x69, 0x67,
918 0x71, 0x75, 0x65, 0x72, 0x79, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
919 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44,
920 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
921 0xbb, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69,
922 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x06, 0x70,
923 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x34, 0xe0, 0x41, 0x02,
924 0xfa, 0x41, 0x2e, 0x12, 0x2c, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x64, 0x61, 0x74,
925 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
926 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63,
927 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,
928 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,
929 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,
930 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65,
931 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18,
932 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x9a, 0x01,
933 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
934 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x64, 0x61,
935 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
936 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
937 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f,
938 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f,
939 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
940 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f,
941 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78,
942 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xc6, 0x04, 0x0a, 0x0a, 0x44,
943 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1f, 0x0a, 0x0a, 0x70, 0x6f, 0x6c,
944 0x69, 0x63, 0x79, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
945 0x09, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x61, 0x67, 0x12, 0x6a, 0x0a, 0x13, 0x64, 0x61,
946 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
947 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
948 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
949 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
950 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63,
951 0x79, 0x48, 0x01, 0x52, 0x11, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67,
952 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
953 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
954 0x6a, 0x0a, 0x10, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x74,
955 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
956 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72,
957 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76,
958 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 0x61, 0x74,
959 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x64, 0x61, 0x74,
960 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x64,
961 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
962 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49,
963 0x64, 0x22, 0x6d, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54,
964 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x50, 0x4f, 0x4c, 0x49,
965 0x43, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
966 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x5f,
967 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x53, 0x45, 0x43, 0x55, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x50,
968 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x41, 0x54, 0x41, 0x5f,
969 0x4d, 0x41, 0x53, 0x4b, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x10, 0x02,
970 0x3a, 0x75, 0xea, 0x41, 0x72, 0x0a, 0x2c, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x64,
971 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
972 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c,
973 0x69, 0x63, 0x79, 0x12, 0x42, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70,
974 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
975 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x64, 0x61, 0x74,
976 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x5f,
977 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x42, 0x10, 0x0a, 0x0e, 0x6d, 0x61, 0x74, 0x63, 0x68,
978 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x42, 0x08, 0x0a, 0x06, 0x70, 0x6f, 0x6c,
979 0x69, 0x63, 0x79, 0x22, 0x9d, 0x03, 0x0a, 0x11, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x73, 0x6b,
980 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x84, 0x01, 0x0a, 0x15, 0x70, 0x72,
981 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73,
982 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
983 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72,
984 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76,
985 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c,
986 0x69, 0x63, 0x79, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x45, 0x78,
987 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x14, 0x70, 0x72, 0x65, 0x64,
988 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
989 0x12, 0x1a, 0x0a, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
990 0x09, 0x48, 0x00, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x22, 0xce, 0x01, 0x0a,
991 0x14, 0x50, 0x72, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x65,
992 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x21, 0x50, 0x52, 0x45, 0x44, 0x45, 0x46, 0x49,
993 0x4e, 0x45, 0x44, 0x5f, 0x45, 0x58, 0x50, 0x52, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x55,
994 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06,
995 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x4c, 0x57, 0x41,
996 0x59, 0x53, 0x5f, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x05, 0x12, 0x19, 0x0a, 0x15, 0x44, 0x45, 0x46,
997 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x49, 0x4e, 0x47, 0x5f, 0x56, 0x41, 0x4c,
998 0x55, 0x45, 0x10, 0x07, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x41, 0x53, 0x54, 0x5f, 0x46, 0x4f, 0x55,
999 0x52, 0x5f, 0x43, 0x48, 0x41, 0x52, 0x41, 0x43, 0x54, 0x45, 0x52, 0x53, 0x10, 0x09, 0x12, 0x19,
1000 0x0a, 0x15, 0x46, 0x49, 0x52, 0x53, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x52, 0x5f, 0x43, 0x48, 0x41,
1001 0x52, 0x41, 0x43, 0x54, 0x45, 0x52, 0x53, 0x10, 0x0a, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x4d, 0x41,
1002 0x49, 0x4c, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0x0c, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x41, 0x54,
1003 0x45, 0x5f, 0x59, 0x45, 0x41, 0x52, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0x0d, 0x42, 0x14, 0x0a,
1004 0x12, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73,
1005 0x69, 0x6f, 0x6e, 0x32, 0x90, 0x0f, 0x0a, 0x11, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69,
1006 0x63, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xe1, 0x01, 0x0a, 0x10, 0x43, 0x72,
1007 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3e,
1008 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
1009 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63,
1010 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74,
1011 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31,
1012 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
1013 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63,
1014 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63,
1015 0x79, 0x22, 0x5a, 0xda, 0x41, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x64, 0x61, 0x74,
1016 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x3a, 0x0b,
1017 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x30, 0x2f, 0x76, 0x31,
1018 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
1019 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d,
1020 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0xf2, 0x01,
1021 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69,
1022 0x63, 0x79, 0x12, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1023 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70,
1024 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
1025 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
1026 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1027 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70,
1028 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x50,
1029 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x6b, 0xda, 0x41, 0x17, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70,
1030 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73,
1031 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b, 0x3a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f,
1032 0x6c, 0x69, 0x63, 0x79, 0x32, 0x3c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x5f,
1033 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
1034 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
1035 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f,
1036 0x2a, 0x7d, 0x12, 0xe3, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x61, 0x74,
1037 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1038 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
1039 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
1040 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1041 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1042 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
1043 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
1044 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x5c, 0xda, 0x41, 0x17, 0x6e,
1045 0x61, 0x6d, 0x65, 0x2c, 0x6e, 0x65, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x6c,
1046 0x69, 0x63, 0x79, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x3a, 0x01, 0x2a, 0x22,
1047 0x37, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
1048 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
1049 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a,
1050 0x7d, 0x3a, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xab, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x6c,
1051 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3e, 0x2e,
1052 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67,
1053 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69,
1054 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,
1055 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
1056 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
1057 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x3f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3,
1058 0xe4, 0x93, 0x02, 0x32, 0x2a, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
1059 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
1060 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63,
1061 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xc0, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x44, 0x61,
1062 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1063 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
1064 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31,
1065 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65,
1066 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1067 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61,
1068 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61,
1069 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x3f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
1070 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,
1071 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f,
1072 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f,
1073 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xd6, 0x01, 0x0a, 0x10, 0x4c, 0x69,
1074 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x3e,
1075 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
1076 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63,
1077 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x50,
1078 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f,
1079 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
1080 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63,
1081 0x69, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x50,
1082 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
1083 0x41, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32,
1084 0x12, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,
1085 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
1086 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
1087 0x65, 0x73, 0x12, 0x97, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c,
1088 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d,
1089 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1090 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1091 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x4c,
1092 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x46, 0x3a, 0x01, 0x2a, 0x22, 0x41, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
1093 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
1094 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f,
1095 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,
1096 0x67, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x97, 0x01, 0x0a,
1097 0x0c, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e,
1098 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65,
1099 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1100 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76,
1101 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x4c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x46,
1102 0x3a, 0x01, 0x2a, 0x22, 0x41, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
1103 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f,
1104 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f,
1105 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d,
1106 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0xbd, 0x01, 0x0a, 0x12, 0x54, 0x65, 0x73, 0x74, 0x49,
1107 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x2e,
1108 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65,
1109 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
1110 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1111 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50,
1112 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1113 0x73, 0x65, 0x22, 0x52, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4c, 0x3a, 0x01, 0x2a, 0x22, 0x47, 0x2f,
1114 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f,
1115 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1116 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
1117 0x2f, 0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69,
1118 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x7e, 0xca, 0x41, 0x21, 0x62, 0x69, 0x67, 0x71, 0x75,
1119 0x65, 0x72, 0x79, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x67, 0x6f,
1120 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x57, 0x68,
1121 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1122 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x62,
1123 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f,
1124 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
1125 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c,
1126 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x89, 0x02, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
1127 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71,
1128 0x75, 0x65, 0x72, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
1129 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1130 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
1131 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67,
1132 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69,
1133 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c,
1134 0x69, 0x63, 0x69, 0x65, 0x73, 0x70, 0x62, 0x3b, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x6c, 0x69,
1135 0x63, 0x69, 0x65, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1136 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x44,
1137 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02,
1138 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x69,
1139 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x5c, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63,
1140 0x69, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x29, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
1141 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x42, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
1142 0x3a, 0x3a, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x3a, 0x3a,
1143 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1144 }
1145
1146 var (
1147 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescOnce sync.Once
1148 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescData = file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDesc
1149 )
1150
1151 func file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescGZIP() []byte {
1152 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescOnce.Do(func() {
1153 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescData)
1154 })
1155 return file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDescData
1156 }
1157
1158 var file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1159 var file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
1160 var file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_goTypes = []any{
1161 (DataPolicy_DataPolicyType)(0), // 0: google.cloud.bigquery.datapolicies.v1.DataPolicy.DataPolicyType
1162 (DataMaskingPolicy_PredefinedExpression)(0), // 1: google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy.PredefinedExpression
1163 (*CreateDataPolicyRequest)(nil), // 2: google.cloud.bigquery.datapolicies.v1.CreateDataPolicyRequest
1164 (*UpdateDataPolicyRequest)(nil), // 3: google.cloud.bigquery.datapolicies.v1.UpdateDataPolicyRequest
1165 (*RenameDataPolicyRequest)(nil), // 4: google.cloud.bigquery.datapolicies.v1.RenameDataPolicyRequest
1166 (*DeleteDataPolicyRequest)(nil), // 5: google.cloud.bigquery.datapolicies.v1.DeleteDataPolicyRequest
1167 (*GetDataPolicyRequest)(nil), // 6: google.cloud.bigquery.datapolicies.v1.GetDataPolicyRequest
1168 (*ListDataPoliciesRequest)(nil), // 7: google.cloud.bigquery.datapolicies.v1.ListDataPoliciesRequest
1169 (*ListDataPoliciesResponse)(nil), // 8: google.cloud.bigquery.datapolicies.v1.ListDataPoliciesResponse
1170 (*DataPolicy)(nil), // 9: google.cloud.bigquery.datapolicies.v1.DataPolicy
1171 (*DataMaskingPolicy)(nil), // 10: google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy
1172 (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask
1173 (*iampb.GetIamPolicyRequest)(nil), // 12: google.iam.v1.GetIamPolicyRequest
1174 (*iampb.SetIamPolicyRequest)(nil), // 13: google.iam.v1.SetIamPolicyRequest
1175 (*iampb.TestIamPermissionsRequest)(nil), // 14: google.iam.v1.TestIamPermissionsRequest
1176 (*emptypb.Empty)(nil), // 15: google.protobuf.Empty
1177 (*iampb.Policy)(nil), // 16: google.iam.v1.Policy
1178 (*iampb.TestIamPermissionsResponse)(nil), // 17: google.iam.v1.TestIamPermissionsResponse
1179 }
1180 var file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_depIdxs = []int32{
1181 9, // 0: google.cloud.bigquery.datapolicies.v1.CreateDataPolicyRequest.data_policy:type_name -> google.cloud.bigquery.datapolicies.v1.DataPolicy
1182 9, // 1: google.cloud.bigquery.datapolicies.v1.UpdateDataPolicyRequest.data_policy:type_name -> google.cloud.bigquery.datapolicies.v1.DataPolicy
1183 11, // 2: google.cloud.bigquery.datapolicies.v1.UpdateDataPolicyRequest.update_mask:type_name -> google.protobuf.FieldMask
1184 9, // 3: google.cloud.bigquery.datapolicies.v1.ListDataPoliciesResponse.data_policies:type_name -> google.cloud.bigquery.datapolicies.v1.DataPolicy
1185 10, // 4: google.cloud.bigquery.datapolicies.v1.DataPolicy.data_masking_policy:type_name -> google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy
1186 0, // 5: google.cloud.bigquery.datapolicies.v1.DataPolicy.data_policy_type:type_name -> google.cloud.bigquery.datapolicies.v1.DataPolicy.DataPolicyType
1187 1, // 6: google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy.predefined_expression:type_name -> google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy.PredefinedExpression
1188 2, // 7: google.cloud.bigquery.datapolicies.v1.DataPolicyService.CreateDataPolicy:input_type -> google.cloud.bigquery.datapolicies.v1.CreateDataPolicyRequest
1189 3, // 8: google.cloud.bigquery.datapolicies.v1.DataPolicyService.UpdateDataPolicy:input_type -> google.cloud.bigquery.datapolicies.v1.UpdateDataPolicyRequest
1190 4, // 9: google.cloud.bigquery.datapolicies.v1.DataPolicyService.RenameDataPolicy:input_type -> google.cloud.bigquery.datapolicies.v1.RenameDataPolicyRequest
1191 5, // 10: google.cloud.bigquery.datapolicies.v1.DataPolicyService.DeleteDataPolicy:input_type -> google.cloud.bigquery.datapolicies.v1.DeleteDataPolicyRequest
1192 6, // 11: google.cloud.bigquery.datapolicies.v1.DataPolicyService.GetDataPolicy:input_type -> google.cloud.bigquery.datapolicies.v1.GetDataPolicyRequest
1193 7, // 12: google.cloud.bigquery.datapolicies.v1.DataPolicyService.ListDataPolicies:input_type -> google.cloud.bigquery.datapolicies.v1.ListDataPoliciesRequest
1194 12, // 13: google.cloud.bigquery.datapolicies.v1.DataPolicyService.GetIamPolicy:input_type -> google.iam.v1.GetIamPolicyRequest
1195 13, // 14: google.cloud.bigquery.datapolicies.v1.DataPolicyService.SetIamPolicy:input_type -> google.iam.v1.SetIamPolicyRequest
1196 14, // 15: google.cloud.bigquery.datapolicies.v1.DataPolicyService.TestIamPermissions:input_type -> google.iam.v1.TestIamPermissionsRequest
1197 9, // 16: google.cloud.bigquery.datapolicies.v1.DataPolicyService.CreateDataPolicy:output_type -> google.cloud.bigquery.datapolicies.v1.DataPolicy
1198 9, // 17: google.cloud.bigquery.datapolicies.v1.DataPolicyService.UpdateDataPolicy:output_type -> google.cloud.bigquery.datapolicies.v1.DataPolicy
1199 9, // 18: google.cloud.bigquery.datapolicies.v1.DataPolicyService.RenameDataPolicy:output_type -> google.cloud.bigquery.datapolicies.v1.DataPolicy
1200 15, // 19: google.cloud.bigquery.datapolicies.v1.DataPolicyService.DeleteDataPolicy:output_type -> google.protobuf.Empty
1201 9, // 20: google.cloud.bigquery.datapolicies.v1.DataPolicyService.GetDataPolicy:output_type -> google.cloud.bigquery.datapolicies.v1.DataPolicy
1202 8, // 21: google.cloud.bigquery.datapolicies.v1.DataPolicyService.ListDataPolicies:output_type -> google.cloud.bigquery.datapolicies.v1.ListDataPoliciesResponse
1203 16, // 22: google.cloud.bigquery.datapolicies.v1.DataPolicyService.GetIamPolicy:output_type -> google.iam.v1.Policy
1204 16, // 23: google.cloud.bigquery.datapolicies.v1.DataPolicyService.SetIamPolicy:output_type -> google.iam.v1.Policy
1205 17, // 24: google.cloud.bigquery.datapolicies.v1.DataPolicyService.TestIamPermissions:output_type -> google.iam.v1.TestIamPermissionsResponse
1206 16, // [16:25] is the sub-list for method output_type
1207 7, // [7:16] is the sub-list for method input_type
1208 7, // [7:7] is the sub-list for extension type_name
1209 7, // [7:7] is the sub-list for extension extendee
1210 0, // [0:7] is the sub-list for field type_name
1211 }
1212
1213 func init() { file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_init() }
1214 func file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_init() {
1215 if File_google_cloud_bigquery_datapolicies_v1_datapolicy_proto != nil {
1216 return
1217 }
1218 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[7].OneofWrappers = []any{
1219 (*DataPolicy_PolicyTag)(nil),
1220 (*DataPolicy_DataMaskingPolicy)(nil),
1221 }
1222 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes[8].OneofWrappers = []any{
1223 (*DataMaskingPolicy_PredefinedExpression_)(nil),
1224 (*DataMaskingPolicy_Routine)(nil),
1225 }
1226 type x struct{}
1227 out := protoimpl.TypeBuilder{
1228 File: protoimpl.DescBuilder{
1229 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1230 RawDescriptor: file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDesc,
1231 NumEnums: 2,
1232 NumMessages: 9,
1233 NumExtensions: 0,
1234 NumServices: 1,
1235 },
1236 GoTypes: file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_goTypes,
1237 DependencyIndexes: file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_depIdxs,
1238 EnumInfos: file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_enumTypes,
1239 MessageInfos: file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_msgTypes,
1240 }.Build()
1241 File_google_cloud_bigquery_datapolicies_v1_datapolicy_proto = out.File
1242 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_rawDesc = nil
1243 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_goTypes = nil
1244 file_google_cloud_bigquery_datapolicies_v1_datapolicy_proto_depIdxs = nil
1245 }
1246
1247 // Reference imports to suppress errors if they are not otherwise used.
1248 var _ context.Context
1249 var _ grpc.ClientConnInterface
1250
1251 // This is a compile-time assertion to ensure that this generated file
1252 // is compatible with the grpc package it is being compiled against.
1253 const _ = grpc.SupportPackageIsVersion6
1254
1255 // DataPolicyServiceClient is the client API for DataPolicyService service.
1256 //
1257 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1258 type DataPolicyServiceClient interface {
1259 // Creates a new data policy under a project with the given `dataPolicyId`
1260 // (used as the display name), policy tag, and data policy type.
1261 CreateDataPolicy(ctx context.Context, in *CreateDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error)
1262 // Updates the metadata for an existing data policy. The target data policy
1263 // can be specified by the resource name.
1264 UpdateDataPolicy(ctx context.Context, in *UpdateDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error)
1265 // Renames the id (display name) of the specified data policy.
1266 RenameDataPolicy(ctx context.Context, in *RenameDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error)
1267 // Deletes the data policy specified by its resource name.
1268 DeleteDataPolicy(ctx context.Context, in *DeleteDataPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
1269 // Gets the data policy specified by its resource name.
1270 GetDataPolicy(ctx context.Context, in *GetDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error)
1271 // List all of the data policies in the specified parent project.
1272 ListDataPolicies(ctx context.Context, in *ListDataPoliciesRequest, opts ...grpc.CallOption) (*ListDataPoliciesResponse, error)
1273 // Gets the IAM policy for the specified data policy.
1274 GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
1275 // Sets the IAM policy for the specified data policy.
1276 SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
1277 // Returns the caller's permission on the specified data policy resource.
1278 TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
1279 }
1280
1281 type dataPolicyServiceClient struct {
1282 cc grpc.ClientConnInterface
1283 }
1284
1285 func NewDataPolicyServiceClient(cc grpc.ClientConnInterface) DataPolicyServiceClient {
1286 return &dataPolicyServiceClient{cc}
1287 }
1288
1289 func (c *dataPolicyServiceClient) CreateDataPolicy(ctx context.Context, in *CreateDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error) {
1290 out := new(DataPolicy)
1291 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/CreateDataPolicy", in, out, opts...)
1292 if err != nil {
1293 return nil, err
1294 }
1295 return out, nil
1296 }
1297
1298 func (c *dataPolicyServiceClient) UpdateDataPolicy(ctx context.Context, in *UpdateDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error) {
1299 out := new(DataPolicy)
1300 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/UpdateDataPolicy", in, out, opts...)
1301 if err != nil {
1302 return nil, err
1303 }
1304 return out, nil
1305 }
1306
1307 func (c *dataPolicyServiceClient) RenameDataPolicy(ctx context.Context, in *RenameDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error) {
1308 out := new(DataPolicy)
1309 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/RenameDataPolicy", in, out, opts...)
1310 if err != nil {
1311 return nil, err
1312 }
1313 return out, nil
1314 }
1315
1316 func (c *dataPolicyServiceClient) DeleteDataPolicy(ctx context.Context, in *DeleteDataPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
1317 out := new(emptypb.Empty)
1318 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/DeleteDataPolicy", in, out, opts...)
1319 if err != nil {
1320 return nil, err
1321 }
1322 return out, nil
1323 }
1324
1325 func (c *dataPolicyServiceClient) GetDataPolicy(ctx context.Context, in *GetDataPolicyRequest, opts ...grpc.CallOption) (*DataPolicy, error) {
1326 out := new(DataPolicy)
1327 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/GetDataPolicy", in, out, opts...)
1328 if err != nil {
1329 return nil, err
1330 }
1331 return out, nil
1332 }
1333
1334 func (c *dataPolicyServiceClient) ListDataPolicies(ctx context.Context, in *ListDataPoliciesRequest, opts ...grpc.CallOption) (*ListDataPoliciesResponse, error) {
1335 out := new(ListDataPoliciesResponse)
1336 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/ListDataPolicies", in, out, opts...)
1337 if err != nil {
1338 return nil, err
1339 }
1340 return out, nil
1341 }
1342
1343 func (c *dataPolicyServiceClient) GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) {
1344 out := new(iampb.Policy)
1345 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/GetIamPolicy", in, out, opts...)
1346 if err != nil {
1347 return nil, err
1348 }
1349 return out, nil
1350 }
1351
1352 func (c *dataPolicyServiceClient) SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) {
1353 out := new(iampb.Policy)
1354 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/SetIamPolicy", in, out, opts...)
1355 if err != nil {
1356 return nil, err
1357 }
1358 return out, nil
1359 }
1360
1361 func (c *dataPolicyServiceClient) TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) {
1362 out := new(iampb.TestIamPermissionsResponse)
1363 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/TestIamPermissions", in, out, opts...)
1364 if err != nil {
1365 return nil, err
1366 }
1367 return out, nil
1368 }
1369
1370 // DataPolicyServiceServer is the server API for DataPolicyService service.
1371 type DataPolicyServiceServer interface {
1372 // Creates a new data policy under a project with the given `dataPolicyId`
1373 // (used as the display name), policy tag, and data policy type.
1374 CreateDataPolicy(context.Context, *CreateDataPolicyRequest) (*DataPolicy, error)
1375 // Updates the metadata for an existing data policy. The target data policy
1376 // can be specified by the resource name.
1377 UpdateDataPolicy(context.Context, *UpdateDataPolicyRequest) (*DataPolicy, error)
1378 // Renames the id (display name) of the specified data policy.
1379 RenameDataPolicy(context.Context, *RenameDataPolicyRequest) (*DataPolicy, error)
1380 // Deletes the data policy specified by its resource name.
1381 DeleteDataPolicy(context.Context, *DeleteDataPolicyRequest) (*emptypb.Empty, error)
1382 // Gets the data policy specified by its resource name.
1383 GetDataPolicy(context.Context, *GetDataPolicyRequest) (*DataPolicy, error)
1384 // List all of the data policies in the specified parent project.
1385 ListDataPolicies(context.Context, *ListDataPoliciesRequest) (*ListDataPoliciesResponse, error)
1386 // Gets the IAM policy for the specified data policy.
1387 GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
1388 // Sets the IAM policy for the specified data policy.
1389 SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
1390 // Returns the caller's permission on the specified data policy resource.
1391 TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
1392 }
1393
1394 // UnimplementedDataPolicyServiceServer can be embedded to have forward compatible implementations.
1395 type UnimplementedDataPolicyServiceServer struct {
1396 }
1397
1398 func (*UnimplementedDataPolicyServiceServer) CreateDataPolicy(context.Context, *CreateDataPolicyRequest) (*DataPolicy, error) {
1399 return nil, status.Errorf(codes.Unimplemented, "method CreateDataPolicy not implemented")
1400 }
1401 func (*UnimplementedDataPolicyServiceServer) UpdateDataPolicy(context.Context, *UpdateDataPolicyRequest) (*DataPolicy, error) {
1402 return nil, status.Errorf(codes.Unimplemented, "method UpdateDataPolicy not implemented")
1403 }
1404 func (*UnimplementedDataPolicyServiceServer) RenameDataPolicy(context.Context, *RenameDataPolicyRequest) (*DataPolicy, error) {
1405 return nil, status.Errorf(codes.Unimplemented, "method RenameDataPolicy not implemented")
1406 }
1407 func (*UnimplementedDataPolicyServiceServer) DeleteDataPolicy(context.Context, *DeleteDataPolicyRequest) (*emptypb.Empty, error) {
1408 return nil, status.Errorf(codes.Unimplemented, "method DeleteDataPolicy not implemented")
1409 }
1410 func (*UnimplementedDataPolicyServiceServer) GetDataPolicy(context.Context, *GetDataPolicyRequest) (*DataPolicy, error) {
1411 return nil, status.Errorf(codes.Unimplemented, "method GetDataPolicy not implemented")
1412 }
1413 func (*UnimplementedDataPolicyServiceServer) ListDataPolicies(context.Context, *ListDataPoliciesRequest) (*ListDataPoliciesResponse, error) {
1414 return nil, status.Errorf(codes.Unimplemented, "method ListDataPolicies not implemented")
1415 }
1416 func (*UnimplementedDataPolicyServiceServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) {
1417 return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented")
1418 }
1419 func (*UnimplementedDataPolicyServiceServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) {
1420 return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented")
1421 }
1422 func (*UnimplementedDataPolicyServiceServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) {
1423 return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented")
1424 }
1425
1426 func RegisterDataPolicyServiceServer(s *grpc.Server, srv DataPolicyServiceServer) {
1427 s.RegisterService(&_DataPolicyService_serviceDesc, srv)
1428 }
1429
1430 func _DataPolicyService_CreateDataPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1431 in := new(CreateDataPolicyRequest)
1432 if err := dec(in); err != nil {
1433 return nil, err
1434 }
1435 if interceptor == nil {
1436 return srv.(DataPolicyServiceServer).CreateDataPolicy(ctx, in)
1437 }
1438 info := &grpc.UnaryServerInfo{
1439 Server: srv,
1440 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/CreateDataPolicy",
1441 }
1442 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1443 return srv.(DataPolicyServiceServer).CreateDataPolicy(ctx, req.(*CreateDataPolicyRequest))
1444 }
1445 return interceptor(ctx, in, info, handler)
1446 }
1447
1448 func _DataPolicyService_UpdateDataPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1449 in := new(UpdateDataPolicyRequest)
1450 if err := dec(in); err != nil {
1451 return nil, err
1452 }
1453 if interceptor == nil {
1454 return srv.(DataPolicyServiceServer).UpdateDataPolicy(ctx, in)
1455 }
1456 info := &grpc.UnaryServerInfo{
1457 Server: srv,
1458 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/UpdateDataPolicy",
1459 }
1460 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1461 return srv.(DataPolicyServiceServer).UpdateDataPolicy(ctx, req.(*UpdateDataPolicyRequest))
1462 }
1463 return interceptor(ctx, in, info, handler)
1464 }
1465
1466 func _DataPolicyService_RenameDataPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1467 in := new(RenameDataPolicyRequest)
1468 if err := dec(in); err != nil {
1469 return nil, err
1470 }
1471 if interceptor == nil {
1472 return srv.(DataPolicyServiceServer).RenameDataPolicy(ctx, in)
1473 }
1474 info := &grpc.UnaryServerInfo{
1475 Server: srv,
1476 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/RenameDataPolicy",
1477 }
1478 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1479 return srv.(DataPolicyServiceServer).RenameDataPolicy(ctx, req.(*RenameDataPolicyRequest))
1480 }
1481 return interceptor(ctx, in, info, handler)
1482 }
1483
1484 func _DataPolicyService_DeleteDataPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1485 in := new(DeleteDataPolicyRequest)
1486 if err := dec(in); err != nil {
1487 return nil, err
1488 }
1489 if interceptor == nil {
1490 return srv.(DataPolicyServiceServer).DeleteDataPolicy(ctx, in)
1491 }
1492 info := &grpc.UnaryServerInfo{
1493 Server: srv,
1494 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/DeleteDataPolicy",
1495 }
1496 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1497 return srv.(DataPolicyServiceServer).DeleteDataPolicy(ctx, req.(*DeleteDataPolicyRequest))
1498 }
1499 return interceptor(ctx, in, info, handler)
1500 }
1501
1502 func _DataPolicyService_GetDataPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1503 in := new(GetDataPolicyRequest)
1504 if err := dec(in); err != nil {
1505 return nil, err
1506 }
1507 if interceptor == nil {
1508 return srv.(DataPolicyServiceServer).GetDataPolicy(ctx, in)
1509 }
1510 info := &grpc.UnaryServerInfo{
1511 Server: srv,
1512 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/GetDataPolicy",
1513 }
1514 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1515 return srv.(DataPolicyServiceServer).GetDataPolicy(ctx, req.(*GetDataPolicyRequest))
1516 }
1517 return interceptor(ctx, in, info, handler)
1518 }
1519
1520 func _DataPolicyService_ListDataPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1521 in := new(ListDataPoliciesRequest)
1522 if err := dec(in); err != nil {
1523 return nil, err
1524 }
1525 if interceptor == nil {
1526 return srv.(DataPolicyServiceServer).ListDataPolicies(ctx, in)
1527 }
1528 info := &grpc.UnaryServerInfo{
1529 Server: srv,
1530 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/ListDataPolicies",
1531 }
1532 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1533 return srv.(DataPolicyServiceServer).ListDataPolicies(ctx, req.(*ListDataPoliciesRequest))
1534 }
1535 return interceptor(ctx, in, info, handler)
1536 }
1537
1538 func _DataPolicyService_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1539 in := new(iampb.GetIamPolicyRequest)
1540 if err := dec(in); err != nil {
1541 return nil, err
1542 }
1543 if interceptor == nil {
1544 return srv.(DataPolicyServiceServer).GetIamPolicy(ctx, in)
1545 }
1546 info := &grpc.UnaryServerInfo{
1547 Server: srv,
1548 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/GetIamPolicy",
1549 }
1550 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1551 return srv.(DataPolicyServiceServer).GetIamPolicy(ctx, req.(*iampb.GetIamPolicyRequest))
1552 }
1553 return interceptor(ctx, in, info, handler)
1554 }
1555
1556 func _DataPolicyService_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1557 in := new(iampb.SetIamPolicyRequest)
1558 if err := dec(in); err != nil {
1559 return nil, err
1560 }
1561 if interceptor == nil {
1562 return srv.(DataPolicyServiceServer).SetIamPolicy(ctx, in)
1563 }
1564 info := &grpc.UnaryServerInfo{
1565 Server: srv,
1566 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/SetIamPolicy",
1567 }
1568 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1569 return srv.(DataPolicyServiceServer).SetIamPolicy(ctx, req.(*iampb.SetIamPolicyRequest))
1570 }
1571 return interceptor(ctx, in, info, handler)
1572 }
1573
1574 func _DataPolicyService_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1575 in := new(iampb.TestIamPermissionsRequest)
1576 if err := dec(in); err != nil {
1577 return nil, err
1578 }
1579 if interceptor == nil {
1580 return srv.(DataPolicyServiceServer).TestIamPermissions(ctx, in)
1581 }
1582 info := &grpc.UnaryServerInfo{
1583 Server: srv,
1584 FullMethod: "/google.cloud.bigquery.datapolicies.v1.DataPolicyService/TestIamPermissions",
1585 }
1586 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1587 return srv.(DataPolicyServiceServer).TestIamPermissions(ctx, req.(*iampb.TestIamPermissionsRequest))
1588 }
1589 return interceptor(ctx, in, info, handler)
1590 }
1591
1592 var _DataPolicyService_serviceDesc = grpc.ServiceDesc{
1593 ServiceName: "google.cloud.bigquery.datapolicies.v1.DataPolicyService",
1594 HandlerType: (*DataPolicyServiceServer)(nil),
1595 Methods: []grpc.MethodDesc{
1596 {
1597 MethodName: "CreateDataPolicy",
1598 Handler: _DataPolicyService_CreateDataPolicy_Handler,
1599 },
1600 {
1601 MethodName: "UpdateDataPolicy",
1602 Handler: _DataPolicyService_UpdateDataPolicy_Handler,
1603 },
1604 {
1605 MethodName: "RenameDataPolicy",
1606 Handler: _DataPolicyService_RenameDataPolicy_Handler,
1607 },
1608 {
1609 MethodName: "DeleteDataPolicy",
1610 Handler: _DataPolicyService_DeleteDataPolicy_Handler,
1611 },
1612 {
1613 MethodName: "GetDataPolicy",
1614 Handler: _DataPolicyService_GetDataPolicy_Handler,
1615 },
1616 {
1617 MethodName: "ListDataPolicies",
1618 Handler: _DataPolicyService_ListDataPolicies_Handler,
1619 },
1620 {
1621 MethodName: "GetIamPolicy",
1622 Handler: _DataPolicyService_GetIamPolicy_Handler,
1623 },
1624 {
1625 MethodName: "SetIamPolicy",
1626 Handler: _DataPolicyService_SetIamPolicy_Handler,
1627 },
1628 {
1629 MethodName: "TestIamPermissions",
1630 Handler: _DataPolicyService_TestIamPermissions_Handler,
1631 },
1632 },
1633 Streams: []grpc.StreamDesc{},
1634 Metadata: "google/cloud/bigquery/datapolicies/v1/datapolicy.proto",
1635 }