Debian Codegraph @

bigquery/v2/apiv2/bigquerypb/row_access_policy.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/v2/row_access_policy.proto
20
21 package bigquerypb
22
23 import (
24 context "context"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 grpc "google.golang.org/grpc"
27 codes "google.golang.org/grpc/codes"
28 status "google.golang.org/grpc/status"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 emptypb "google.golang.org/protobuf/types/known/emptypb"
32 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
33 reflect "reflect"
34 sync "sync"
35 )
36
37 const (
38 // Verify that this generated code is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40 // Verify that runtime/protoimpl is sufficiently up-to-date.
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44 // Request message for the ListRowAccessPolicies method.
45 type ListRowAccessPoliciesRequest struct {
46 state protoimpl.MessageState
47 sizeCache protoimpl.SizeCache
48 unknownFields protoimpl.UnknownFields
49
50 // Required. Project ID of the row access policies to list.
51 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
52 // Required. Dataset ID of row access policies to list.
53 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
54 // Required. Table ID of the table to list row access policies.
55 TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
56 // Page token, returned by a previous call, to request the next page of
57 // results.
58 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
59 // The maximum number of results to return in a single response page. Leverage
60 // the page tokens to iterate through the entire collection.
61 PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
62 }
63
64 func (x *ListRowAccessPoliciesRequest) Reset() {
65 *x = ListRowAccessPoliciesRequest{}
66 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[0]
67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
68 ms.StoreMessageInfo(mi)
69 }
70
71 func (x *ListRowAccessPoliciesRequest) String() string {
72 return protoimpl.X.MessageStringOf(x)
73 }
74
75 func (*ListRowAccessPoliciesRequest) ProtoMessage() {}
76
77 func (x *ListRowAccessPoliciesRequest) ProtoReflect() protoreflect.Message {
78 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[0]
79 if x != nil {
80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
81 if ms.LoadMessageInfo() == nil {
82 ms.StoreMessageInfo(mi)
83 }
84 return ms
85 }
86 return mi.MessageOf(x)
87 }
88
89 // Deprecated: Use ListRowAccessPoliciesRequest.ProtoReflect.Descriptor instead.
90 func (*ListRowAccessPoliciesRequest) Descriptor() ([]byte, []int) {
91 return file_google_cloud_bigquery_v2_row_access_policy_proto_rawDescGZIP(), []int{0}
92 }
93
94 func (x *ListRowAccessPoliciesRequest) GetProjectId() string {
95 if x != nil {
96 return x.ProjectId
97 }
98 return ""
99 }
100
101 func (x *ListRowAccessPoliciesRequest) GetDatasetId() string {
102 if x != nil {
103 return x.DatasetId
104 }
105 return ""
106 }
107
108 func (x *ListRowAccessPoliciesRequest) GetTableId() string {
109 if x != nil {
110 return x.TableId
111 }
112 return ""
113 }
114
115 func (x *ListRowAccessPoliciesRequest) GetPageToken() string {
116 if x != nil {
117 return x.PageToken
118 }
119 return ""
120 }
121
122 func (x *ListRowAccessPoliciesRequest) GetPageSize() int32 {
123 if x != nil {
124 return x.PageSize
125 }
126 return 0
127 }
128
129 // Response message for the ListRowAccessPolicies method.
130 type ListRowAccessPoliciesResponse struct {
131 state protoimpl.MessageState
132 sizeCache protoimpl.SizeCache
133 unknownFields protoimpl.UnknownFields
134
135 // Row access policies on the requested table.
136 RowAccessPolicies []*RowAccessPolicy `protobuf:"bytes,1,rep,name=row_access_policies,json=rowAccessPolicies,proto3" json:"row_access_policies,omitempty"`
137 // A token to request the next page of results.
138 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
139 }
140
141 func (x *ListRowAccessPoliciesResponse) Reset() {
142 *x = ListRowAccessPoliciesResponse{}
143 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[1]
144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
145 ms.StoreMessageInfo(mi)
146 }
147
148 func (x *ListRowAccessPoliciesResponse) String() string {
149 return protoimpl.X.MessageStringOf(x)
150 }
151
152 func (*ListRowAccessPoliciesResponse) ProtoMessage() {}
153
154 func (x *ListRowAccessPoliciesResponse) ProtoReflect() protoreflect.Message {
155 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[1]
156 if x != nil {
157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
158 if ms.LoadMessageInfo() == nil {
159 ms.StoreMessageInfo(mi)
160 }
161 return ms
162 }
163 return mi.MessageOf(x)
164 }
165
166 // Deprecated: Use ListRowAccessPoliciesResponse.ProtoReflect.Descriptor instead.
167 func (*ListRowAccessPoliciesResponse) Descriptor() ([]byte, []int) {
168 return file_google_cloud_bigquery_v2_row_access_policy_proto_rawDescGZIP(), []int{1}
169 }
170
171 func (x *ListRowAccessPoliciesResponse) GetRowAccessPolicies() []*RowAccessPolicy {
172 if x != nil {
173 return x.RowAccessPolicies
174 }
175 return nil
176 }
177
178 func (x *ListRowAccessPoliciesResponse) GetNextPageToken() string {
179 if x != nil {
180 return x.NextPageToken
181 }
182 return ""
183 }
184
185 // Request message for the GetRowAccessPolicy method.
186 type GetRowAccessPolicyRequest struct {
187 state protoimpl.MessageState
188 sizeCache protoimpl.SizeCache
189 unknownFields protoimpl.UnknownFields
190
191 // Required. Project ID of the table to get the row access policy.
192 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
193 // Required. Dataset ID of the table to get the row access policy.
194 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
195 // Required. Table ID of the table to get the row access policy.
196 TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
197 // Required. Policy ID of the row access policy.
198 PolicyId string `protobuf:"bytes,4,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
199 }
200
201 func (x *GetRowAccessPolicyRequest) Reset() {
202 *x = GetRowAccessPolicyRequest{}
203 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[2]
204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
205 ms.StoreMessageInfo(mi)
206 }
207
208 func (x *GetRowAccessPolicyRequest) String() string {
209 return protoimpl.X.MessageStringOf(x)
210 }
211
212 func (*GetRowAccessPolicyRequest) ProtoMessage() {}
213
214 func (x *GetRowAccessPolicyRequest) ProtoReflect() protoreflect.Message {
215 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[2]
216 if x != nil {
217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
218 if ms.LoadMessageInfo() == nil {
219 ms.StoreMessageInfo(mi)
220 }
221 return ms
222 }
223 return mi.MessageOf(x)
224 }
225
226 // Deprecated: Use GetRowAccessPolicyRequest.ProtoReflect.Descriptor instead.
227 func (*GetRowAccessPolicyRequest) Descriptor() ([]byte, []int) {
228 return file_google_cloud_bigquery_v2_row_access_policy_proto_rawDescGZIP(), []int{2}
229 }
230
231 func (x *GetRowAccessPolicyRequest) GetProjectId() string {
232 if x != nil {
233 return x.ProjectId
234 }
235 return ""
236 }
237
238 func (x *GetRowAccessPolicyRequest) GetDatasetId() string {
239 if x != nil {
240 return x.DatasetId
241 }
242 return ""
243 }
244
245 func (x *GetRowAccessPolicyRequest) GetTableId() string {
246 if x != nil {
247 return x.TableId
248 }
249 return ""
250 }
251
252 func (x *GetRowAccessPolicyRequest) GetPolicyId() string {
253 if x != nil {
254 return x.PolicyId
255 }
256 return ""
257 }
258
259 // Request message for the CreateRowAccessPolicy method.
260 type CreateRowAccessPolicyRequest struct {
261 state protoimpl.MessageState
262 sizeCache protoimpl.SizeCache
263 unknownFields protoimpl.UnknownFields
264
265 // Required. Project ID of the table to get the row access policy.
266 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
267 // Required. Dataset ID of the table to get the row access policy.
268 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
269 // Required. Table ID of the table to get the row access policy.
270 TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
271 // Required. The row access policy to create.
272 RowAccessPolicy *RowAccessPolicy `protobuf:"bytes,4,opt,name=row_access_policy,json=rowAccessPolicy,proto3" json:"row_access_policy,omitempty"`
273 }
274
275 func (x *CreateRowAccessPolicyRequest) Reset() {
276 *x = CreateRowAccessPolicyRequest{}
277 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[3]
278 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
279 ms.StoreMessageInfo(mi)
280 }
281
282 func (x *CreateRowAccessPolicyRequest) String() string {
283 return protoimpl.X.MessageStringOf(x)
284 }
285
286 func (*CreateRowAccessPolicyRequest) ProtoMessage() {}
287
288 func (x *CreateRowAccessPolicyRequest) ProtoReflect() protoreflect.Message {
289 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[3]
290 if x != nil {
291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
292 if ms.LoadMessageInfo() == nil {
293 ms.StoreMessageInfo(mi)
294 }
295 return ms
296 }
297 return mi.MessageOf(x)
298 }
299
300 // Deprecated: Use CreateRowAccessPolicyRequest.ProtoReflect.Descriptor instead.
301 func (*CreateRowAccessPolicyRequest) Descriptor() ([]byte, []int) {
302 return file_google_cloud_bigquery_v2_row_access_policy_proto_rawDescGZIP(), []int{3}
303 }
304
305 func (x *CreateRowAccessPolicyRequest) GetProjectId() string {
306 if x != nil {
307 return x.ProjectId
308 }
309 return ""
310 }
311
312 func (x *CreateRowAccessPolicyRequest) GetDatasetId() string {
313 if x != nil {
314 return x.DatasetId
315 }
316 return ""
317 }
318
319 func (x *CreateRowAccessPolicyRequest) GetTableId() string {
320 if x != nil {
321 return x.TableId
322 }
323 return ""
324 }
325
326 func (x *CreateRowAccessPolicyRequest) GetRowAccessPolicy() *RowAccessPolicy {
327 if x != nil {
328 return x.RowAccessPolicy
329 }
330 return nil
331 }
332
333 // Request message for the UpdateRowAccessPolicy method.
334 type UpdateRowAccessPolicyRequest struct {
335 state protoimpl.MessageState
336 sizeCache protoimpl.SizeCache
337 unknownFields protoimpl.UnknownFields
338
339 // Required. Project ID of the table to get the row access policy.
340 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
341 // Required. Dataset ID of the table to get the row access policy.
342 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
343 // Required. Table ID of the table to get the row access policy.
344 TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
345 // Required. Policy ID of the row access policy.
346 PolicyId string `protobuf:"bytes,4,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
347 // Required. The row access policy to update.
348 RowAccessPolicy *RowAccessPolicy `protobuf:"bytes,5,opt,name=row_access_policy,json=rowAccessPolicy,proto3" json:"row_access_policy,omitempty"`
349 }
350
351 func (x *UpdateRowAccessPolicyRequest) Reset() {
352 *x = UpdateRowAccessPolicyRequest{}
353 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[4]
354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
355 ms.StoreMessageInfo(mi)
356 }
357
358 func (x *UpdateRowAccessPolicyRequest) String() string {
359 return protoimpl.X.MessageStringOf(x)
360 }
361
362 func (*UpdateRowAccessPolicyRequest) ProtoMessage() {}
363
364 func (x *UpdateRowAccessPolicyRequest) ProtoReflect() protoreflect.Message {
365 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[4]
366 if x != nil {
367 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
368 if ms.LoadMessageInfo() == nil {
369 ms.StoreMessageInfo(mi)
370 }
371 return ms
372 }
373 return mi.MessageOf(x)
374 }
375
376 // Deprecated: Use UpdateRowAccessPolicyRequest.ProtoReflect.Descriptor instead.
377 func (*UpdateRowAccessPolicyRequest) Descriptor() ([]byte, []int) {
378 return file_google_cloud_bigquery_v2_row_access_policy_proto_rawDescGZIP(), []int{4}
379 }
380
381 func (x *UpdateRowAccessPolicyRequest) GetProjectId() string {
382 if x != nil {
383 return x.ProjectId
384 }
385 return ""
386 }
387
388 func (x *UpdateRowAccessPolicyRequest) GetDatasetId() string {
389 if x != nil {
390 return x.DatasetId
391 }
392 return ""
393 }
394
395 func (x *UpdateRowAccessPolicyRequest) GetTableId() string {
396 if x != nil {
397 return x.TableId
398 }
399 return ""
400 }
401
402 func (x *UpdateRowAccessPolicyRequest) GetPolicyId() string {
403 if x != nil {
404 return x.PolicyId
405 }
406 return ""
407 }
408
409 func (x *UpdateRowAccessPolicyRequest) GetRowAccessPolicy() *RowAccessPolicy {
410 if x != nil {
411 return x.RowAccessPolicy
412 }
413 return nil
414 }
415
416 // Request message for the DeleteRowAccessPolicy method.
417 type DeleteRowAccessPolicyRequest struct {
418 state protoimpl.MessageState
419 sizeCache protoimpl.SizeCache
420 unknownFields protoimpl.UnknownFields
421
422 // Required. Project ID of the table to delete the row access policy.
423 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
424 // Required. Dataset ID of the table to delete the row access policy.
425 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
426 // Required. Table ID of the table to delete the row access policy.
427 TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
428 // Required. Policy ID of the row access policy.
429 PolicyId string `protobuf:"bytes,4,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
430 // If set to true, it deletes the row access policy even if it's the last row
431 // access policy on the table and the deletion will widen the access rather
432 // narrowing it.
433 Force *bool `protobuf:"varint,5,opt,name=force,proto3,oneof" json:"force,omitempty"`
434 }
435
436 func (x *DeleteRowAccessPolicyRequest) Reset() {
437 *x = DeleteRowAccessPolicyRequest{}
438 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[5]
439 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
440 ms.StoreMessageInfo(mi)
441 }
442
443 func (x *DeleteRowAccessPolicyRequest) String() string {
444 return protoimpl.X.MessageStringOf(x)
445 }
446
447 func (*DeleteRowAccessPolicyRequest) ProtoMessage() {}
448
449 func (x *DeleteRowAccessPolicyRequest) ProtoReflect() protoreflect.Message {
450 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[5]
451 if x != nil {
452 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
453 if ms.LoadMessageInfo() == nil {
454 ms.StoreMessageInfo(mi)
455 }
456 return ms
457 }
458 return mi.MessageOf(x)
459 }
460
461 // Deprecated: Use DeleteRowAccessPolicyRequest.ProtoReflect.Descriptor instead.
462 func (*DeleteRowAccessPolicyRequest) Descriptor() ([]byte, []int) {
463 return file_google_cloud_bigquery_v2_row_access_policy_proto_rawDescGZIP(), []int{5}
464 }
465
466 func (x *DeleteRowAccessPolicyRequest) GetProjectId() string {
467 if x != nil {
468 return x.ProjectId
469 }
470 return ""
471 }
472
473 func (x *DeleteRowAccessPolicyRequest) GetDatasetId() string {
474 if x != nil {
475 return x.DatasetId
476 }
477 return ""
478 }
479
480 func (x *DeleteRowAccessPolicyRequest) GetTableId() string {
481 if x != nil {
482 return x.TableId
483 }
484 return ""
485 }
486
487 func (x *DeleteRowAccessPolicyRequest) GetPolicyId() string {
488 if x != nil {
489 return x.PolicyId
490 }
491 return ""
492 }
493
494 func (x *DeleteRowAccessPolicyRequest) GetForce() bool {
495 if x != nil && x.Force != nil {
496 return *x.Force
497 }
498 return false
499 }
500
501 // Request message for the BatchDeleteRowAccessPoliciesRequest method.
502 type BatchDeleteRowAccessPoliciesRequest struct {
503 state protoimpl.MessageState
504 sizeCache protoimpl.SizeCache
505 unknownFields protoimpl.UnknownFields
506
507 // Required. Project ID of the table to delete the row access policies.
508 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
509 // Required. Dataset ID of the table to delete the row access policies.
510 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
511 // Required. Table ID of the table to delete the row access policies.
512 TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
513 // Required. Policy IDs of the row access policies.
514 PolicyIds []string `protobuf:"bytes,4,rep,name=policy_ids,json=policyIds,proto3" json:"policy_ids,omitempty"`
515 // If set to true, it deletes the row access policy even if it's the last row
516 // access policy on the table and the deletion will widen the access rather
517 // narrowing it.
518 Force *bool `protobuf:"varint,5,opt,name=force,proto3,oneof" json:"force,omitempty"`
519 }
520
521 func (x *BatchDeleteRowAccessPoliciesRequest) Reset() {
522 *x = BatchDeleteRowAccessPoliciesRequest{}
523 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[6]
524 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
525 ms.StoreMessageInfo(mi)
526 }
527
528 func (x *BatchDeleteRowAccessPoliciesRequest) String() string {
529 return protoimpl.X.MessageStringOf(x)
530 }
531
532 func (*BatchDeleteRowAccessPoliciesRequest) ProtoMessage() {}
533
534 func (x *BatchDeleteRowAccessPoliciesRequest) ProtoReflect() protoreflect.Message {
535 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[6]
536 if x != nil {
537 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
538 if ms.LoadMessageInfo() == nil {
539 ms.StoreMessageInfo(mi)
540 }
541 return ms
542 }
543 return mi.MessageOf(x)
544 }
545
546 // Deprecated: Use BatchDeleteRowAccessPoliciesRequest.ProtoReflect.Descriptor instead.
547 func (*BatchDeleteRowAccessPoliciesRequest) Descriptor() ([]byte, []int) {
548 return file_google_cloud_bigquery_v2_row_access_policy_proto_rawDescGZIP(), []int{6}
549 }
550
551 func (x *BatchDeleteRowAccessPoliciesRequest) GetProjectId() string {
552 if x != nil {
553 return x.ProjectId
554 }
555 return ""
556 }
557
558 func (x *BatchDeleteRowAccessPoliciesRequest) GetDatasetId() string {
559 if x != nil {
560 return x.DatasetId
561 }
562 return ""
563 }
564
565 func (x *BatchDeleteRowAccessPoliciesRequest) GetTableId() string {
566 if x != nil {
567 return x.TableId
568 }
569 return ""
570 }
571
572 func (x *BatchDeleteRowAccessPoliciesRequest) GetPolicyIds() []string {
573 if x != nil {
574 return x.PolicyIds
575 }
576 return nil
577 }
578
579 func (x *BatchDeleteRowAccessPoliciesRequest) GetForce() bool {
580 if x != nil && x.Force != nil {
581 return *x.Force
582 }
583 return false
584 }
585
586 // Represents access on a subset of rows on the specified table, defined by its
587 // filter predicate. Access to the subset of rows is controlled by its IAM
588 // policy.
589 type RowAccessPolicy struct {
590 state protoimpl.MessageState
591 sizeCache protoimpl.SizeCache
592 unknownFields protoimpl.UnknownFields
593
594 // Output only. A hash of this resource.
595 Etag string `protobuf:"bytes,1,opt,name=etag,proto3" json:"etag,omitempty"`
596 // Required. Reference describing the ID of this row access policy.
597 RowAccessPolicyReference *RowAccessPolicyReference `protobuf:"bytes,2,opt,name=row_access_policy_reference,json=rowAccessPolicyReference,proto3" json:"row_access_policy_reference,omitempty"`
598 // Required. A SQL boolean expression that represents the rows defined by this
599 // row access policy, similar to the boolean expression in a WHERE clause of a
600 // SELECT query on a table.
601 // References to other tables, routines, and temporary functions are not
602 // supported.
603 //
604 // Examples: region="EU"
605 //
606 // date_field = CAST('2019-9-27' as DATE)
607 // nullable_field is not NULL
608 // numeric_field BETWEEN 1.0 AND 5.0
609 FilterPredicate string `protobuf:"bytes,3,opt,name=filter_predicate,json=filterPredicate,proto3" json:"filter_predicate,omitempty"`
610 // Output only. The time when this row access policy was created, in
611 // milliseconds since the epoch.
612 CreationTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
613 // Output only. The time when this row access policy was last modified, in
614 // milliseconds since the epoch.
615 LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
616 // Optional. Input only. The optional list of iam_member users or groups that
617 // specifies the initial members that the row-level access policy should be
618 // created with.
619 //
620 // grantees types:
621 // - "user:[email protected]": An email address that represents a specific
622 // Google account.
623 // - "serviceAccount:[email protected]": An email
624 // address that represents a service account.
625 // - "group:[email protected]": An email address that represents a Google
626 // group.
627 // - "domain:example.com":The Google Workspace domain (primary) that
628 // represents all the users of that domain.
629 // - "allAuthenticatedUsers": A special identifier that represents all service
630 // accounts and all users on the internet who have authenticated with a Google
631 // Account. This identifier includes accounts that aren't connected to a
632 // Google Workspace or Cloud Identity domain, such as personal Gmail accounts.
633 // Users who aren't authenticated, such as anonymous visitors, aren't
634 // included.
635 // - "allUsers":A special identifier that represents anyone who is on
636 // the internet, including authenticated and unauthenticated users. Because
637 // BigQuery requires authentication before a user can access the service,
638 // allUsers includes only authenticated users.
639 Grantees []string `protobuf:"bytes,6,rep,name=grantees,proto3" json:"grantees,omitempty"`
640 }
641
642 func (x *RowAccessPolicy) Reset() {
643 *x = RowAccessPolicy{}
644 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[7]
645 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
646 ms.StoreMessageInfo(mi)
647 }
648
649 func (x *RowAccessPolicy) String() string {
650 return protoimpl.X.MessageStringOf(x)
651 }
652
653 func (*RowAccessPolicy) ProtoMessage() {}
654
655 func (x *RowAccessPolicy) ProtoReflect() protoreflect.Message {
656 mi := &file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[7]
657 if x != nil {
658 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
659 if ms.LoadMessageInfo() == nil {
660 ms.StoreMessageInfo(mi)
661 }
662 return ms
663 }
664 return mi.MessageOf(x)
665 }
666
667 // Deprecated: Use RowAccessPolicy.ProtoReflect.Descriptor instead.
668 func (*RowAccessPolicy) Descriptor() ([]byte, []int) {
669 return file_google_cloud_bigquery_v2_row_access_policy_proto_rawDescGZIP(), []int{7}
670 }
671
672 func (x *RowAccessPolicy) GetEtag() string {
673 if x != nil {
674 return x.Etag
675 }
676 return ""
677 }
678
679 func (x *RowAccessPolicy) GetRowAccessPolicyReference() *RowAccessPolicyReference {
680 if x != nil {
681 return x.RowAccessPolicyReference
682 }
683 return nil
684 }
685
686 func (x *RowAccessPolicy) GetFilterPredicate() string {
687 if x != nil {
688 return x.FilterPredicate
689 }
690 return ""
691 }
692
693 func (x *RowAccessPolicy) GetCreationTime() *timestamppb.Timestamp {
694 if x != nil {
695 return x.CreationTime
696 }
697 return nil
698 }
699
700 func (x *RowAccessPolicy) GetLastModifiedTime() *timestamppb.Timestamp {
701 if x != nil {
702 return x.LastModifiedTime
703 }
704 return nil
705 }
706
707 func (x *RowAccessPolicy) GetGrantees() []string {
708 if x != nil {
709 return x.Grantees
710 }
711 return nil
712 }
713
714 var File_google_cloud_bigquery_v2_row_access_policy_proto protoreflect.FileDescriptor
715
716 var file_google_cloud_bigquery_v2_row_access_policy_proto_rawDesc = []byte{
717 0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
718 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x6f, 0x77, 0x5f, 0x61,
719 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f,
720 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
721 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1c, 0x67, 0x6f,
722 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
723 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67,
724 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72,
725 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
726 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70,
727 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f,
728 0x75, 0x64, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x72,
729 0x6f, 0x77, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
730 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
731 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
732 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
733 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
734 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2,
735 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
736 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
737 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
738 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
739 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69,
740 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61,
741 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65,
742 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07,
743 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f,
744 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67,
745 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73,
746 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53,
747 0x69, 0x7a, 0x65, 0x22, 0xa2, 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x77, 0x41,
748 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73,
749 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x13, 0x72, 0x6f, 0x77, 0x5f, 0x61, 0x63, 0x63,
750 0x65, 0x73, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
751 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
752 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f,
753 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x11, 0x72,
754 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
755 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f,
756 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50,
757 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa5, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74,
758 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
759 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
760 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
761 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61,
762 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
763 0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1e,
764 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
765 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x20,
766 0x0a, 0x09, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
767 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64,
768 0x22, 0xe2, 0x01, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x77, 0x41, 0x63,
769 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
770 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18,
771 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a,
772 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74,
773 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09,
774 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x08, 0x74, 0x61, 0x62,
775 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
776 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x5a, 0x0a, 0x11, 0x72, 0x6f, 0x77,
777 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04,
778 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
779 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e,
780 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42,
781 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x72, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50,
782 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x84, 0x02, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
783 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
784 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
785 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
786 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61,
787 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
788 0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1e,
789 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
790 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x20,
791 0x0a, 0x09, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
792 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64,
793 0x12, 0x5a, 0x0a, 0x11, 0x72, 0x6f, 0x77, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x70,
794 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f,
795 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75,
796 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
797 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x72, 0x6f, 0x77,
798 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0xcd, 0x01, 0x0a,
799 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
800 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a,
801 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
802 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49,
803 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18,
804 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61,
805 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69,
806 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x74, 0x61,
807 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f,
808 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x70,
809 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65,
810 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x88,
811 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0xd6, 0x01, 0x0a,
812 0x23, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x77, 0x41,
813 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71,
814 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f,
815 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70,
816 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61,
817 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
818 0x02, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x08,
819 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
820 0xe0, 0x41, 0x02, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a,
821 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09,
822 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x73,
823 0x12, 0x19, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48,
824 0x00, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f,
825 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x8b, 0x03, 0x0a, 0x0f, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63,
826 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x17, 0x0a, 0x04, 0x65, 0x74, 0x61,
827 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x65, 0x74,
828 0x61, 0x67, 0x12, 0x76, 0x0a, 0x1b, 0x72, 0x6f, 0x77, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
829 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
830 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
831 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
832 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69,
833 0x63, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02,
834 0x52, 0x18, 0x72, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63,
835 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x10, 0x66, 0x69,
836 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x03,
837 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x66, 0x69, 0x6c, 0x74, 0x65,
838 0x72, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x72,
839 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
840 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
841 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0,
842 0x41, 0x03, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65,
843 0x12, 0x4d, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65,
844 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
845 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
846 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x6c,
847 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
848 0x22, 0x0a, 0x08, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
849 0x09, 0x42, 0x06, 0xe0, 0x41, 0x04, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x67, 0x72, 0x61, 0x6e, 0x74,
850 0x65, 0x65, 0x73, 0x32, 0x90, 0x0d, 0x0a, 0x16, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73,
851 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xf4,
852 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
853 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
854 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
855 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73,
856 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
857 0x1a, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
858 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74,
859 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
860 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6a, 0x82, 0xd3, 0xe4, 0x93, 0x02,
861 0x64, 0x12, 0x62, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f,
862 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
863 0x74, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73,
864 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f,
865 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64,
866 0x3d, 0x2a, 0x7d, 0x2f, 0x72, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c,
867 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0xee, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x77,
868 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x33, 0x2e, 0x67,
869 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71,
870 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x77, 0x41, 0x63,
871 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
872 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
873 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x77,
874 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x78, 0x82, 0xd3,
875 0xe4, 0x93, 0x02, 0x72, 0x12, 0x70, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f,
876 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f,
877 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73,
878 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x3d,
879 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x62, 0x6c, 0x65,
880 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x72, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
881 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
882 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x12, 0xf9, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74,
883 0x65, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
884 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
885 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61,
886 0x74, 0x65, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63,
887 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
888 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
889 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c,
890 0x69, 0x63, 0x79, 0x22, 0x7d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x77, 0x3a, 0x11, 0x72, 0x6f, 0x77,
891 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x62,
892 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f,
893 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69,
894 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x64,
895 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x62,
896 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d,
897 0x2f, 0x72, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
898 0x65, 0x73, 0x12, 0x89, 0x02, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x77,
899 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x36, 0x2e, 0x67,
900 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71,
901 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f,
902 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71,
903 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
904 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e,
905 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22,
906 0x8c, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x85, 0x01, 0x3a, 0x11, 0x72, 0x6f, 0x77, 0x5f, 0x61,
907 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x1a, 0x70, 0x2f, 0x62,
908 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65,
909 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x3d,
910 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74,
911 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65,
912 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x72,
913 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
914 0x2f, 0x7b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x12, 0xe1,
915 0x01, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65,
916 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
917 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
918 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63,
919 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
920 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
921 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x78, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x72,
922 0x2a, 0x70, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x70,
923 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
924 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f,
925 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x74,
926 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x3d,
927 0x2a, 0x7d, 0x2f, 0x72, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69,
928 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x69, 0x64, 0x3d,
929 0x2a, 0x7d, 0x12, 0xf0, 0x01, 0x0a, 0x1c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65,
930 0x74, 0x65, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63,
931 0x69, 0x65, 0x73, 0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
932 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x42,
933 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63,
934 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
935 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
936 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x79, 0x82, 0xd3, 0xe4, 0x93,
937 0x02, 0x73, 0x3a, 0x01, 0x2a, 0x22, 0x6e, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
938 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72,
939 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61,
940 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64,
941 0x3d, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x62, 0x6c,
942 0x65, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x72, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73,
943 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x44,
944 0x65, 0x6c, 0x65, 0x74, 0x65, 0x1a, 0xae, 0x01, 0xca, 0x41, 0x17, 0x62, 0x69, 0x67, 0x71, 0x75,
945 0x65, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
946 0x6f, 0x6d, 0xd2, 0x41, 0x90, 0x01, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77,
947 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
948 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2c, 0x68,
949 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
950 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63,
951 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74,
952 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
953 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c,
954 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x72, 0x65, 0x61,
955 0x64, 0x2d, 0x6f, 0x6e, 0x6c, 0x79, 0x42, 0x73, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
956 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75,
957 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x14, 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73,
958 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b,
959 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
960 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f,
961 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62,
962 0x3b, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
963 0x74, 0x6f, 0x33,
964 }
965
966 var (
967 file_google_cloud_bigquery_v2_row_access_policy_proto_rawDescOnce sync.Once
968 file_google_cloud_bigquery_v2_row_access_policy_proto_rawDescData = file_google_cloud_bigquery_v2_row_access_policy_proto_rawDesc
969 )
970
971 func file_google_cloud_bigquery_v2_row_access_policy_proto_rawDescGZIP() []byte {
972 file_google_cloud_bigquery_v2_row_access_policy_proto_rawDescOnce.Do(func() {
973 file_google_cloud_bigquery_v2_row_access_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_row_access_policy_proto_rawDescData)
974 })
975 return file_google_cloud_bigquery_v2_row_access_policy_proto_rawDescData
976 }
977
978 var file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
979 var file_google_cloud_bigquery_v2_row_access_policy_proto_goTypes = []any{
980 (*ListRowAccessPoliciesRequest)(nil), // 0: google.cloud.bigquery.v2.ListRowAccessPoliciesRequest
981 (*ListRowAccessPoliciesResponse)(nil), // 1: google.cloud.bigquery.v2.ListRowAccessPoliciesResponse
982 (*GetRowAccessPolicyRequest)(nil), // 2: google.cloud.bigquery.v2.GetRowAccessPolicyRequest
983 (*CreateRowAccessPolicyRequest)(nil), // 3: google.cloud.bigquery.v2.CreateRowAccessPolicyRequest
984 (*UpdateRowAccessPolicyRequest)(nil), // 4: google.cloud.bigquery.v2.UpdateRowAccessPolicyRequest
985 (*DeleteRowAccessPolicyRequest)(nil), // 5: google.cloud.bigquery.v2.DeleteRowAccessPolicyRequest
986 (*BatchDeleteRowAccessPoliciesRequest)(nil), // 6: google.cloud.bigquery.v2.BatchDeleteRowAccessPoliciesRequest
987 (*RowAccessPolicy)(nil), // 7: google.cloud.bigquery.v2.RowAccessPolicy
988 (*RowAccessPolicyReference)(nil), // 8: google.cloud.bigquery.v2.RowAccessPolicyReference
989 (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
990 (*emptypb.Empty)(nil), // 10: google.protobuf.Empty
991 }
992 var file_google_cloud_bigquery_v2_row_access_policy_proto_depIdxs = []int32{
993 7, // 0: google.cloud.bigquery.v2.ListRowAccessPoliciesResponse.row_access_policies:type_name -> google.cloud.bigquery.v2.RowAccessPolicy
994 7, // 1: google.cloud.bigquery.v2.CreateRowAccessPolicyRequest.row_access_policy:type_name -> google.cloud.bigquery.v2.RowAccessPolicy
995 7, // 2: google.cloud.bigquery.v2.UpdateRowAccessPolicyRequest.row_access_policy:type_name -> google.cloud.bigquery.v2.RowAccessPolicy
996 8, // 3: google.cloud.bigquery.v2.RowAccessPolicy.row_access_policy_reference:type_name -> google.cloud.bigquery.v2.RowAccessPolicyReference
997 9, // 4: google.cloud.bigquery.v2.RowAccessPolicy.creation_time:type_name -> google.protobuf.Timestamp
998 9, // 5: google.cloud.bigquery.v2.RowAccessPolicy.last_modified_time:type_name -> google.protobuf.Timestamp
999 0, // 6: google.cloud.bigquery.v2.RowAccessPolicyService.ListRowAccessPolicies:input_type -> google.cloud.bigquery.v2.ListRowAccessPoliciesRequest
1000 2, // 7: google.cloud.bigquery.v2.RowAccessPolicyService.GetRowAccessPolicy:input_type -> google.cloud.bigquery.v2.GetRowAccessPolicyRequest
1001 3, // 8: google.cloud.bigquery.v2.RowAccessPolicyService.CreateRowAccessPolicy:input_type -> google.cloud.bigquery.v2.CreateRowAccessPolicyRequest
1002 4, // 9: google.cloud.bigquery.v2.RowAccessPolicyService.UpdateRowAccessPolicy:input_type -> google.cloud.bigquery.v2.UpdateRowAccessPolicyRequest
1003 5, // 10: google.cloud.bigquery.v2.RowAccessPolicyService.DeleteRowAccessPolicy:input_type -> google.cloud.bigquery.v2.DeleteRowAccessPolicyRequest
1004 6, // 11: google.cloud.bigquery.v2.RowAccessPolicyService.BatchDeleteRowAccessPolicies:input_type -> google.cloud.bigquery.v2.BatchDeleteRowAccessPoliciesRequest
1005 1, // 12: google.cloud.bigquery.v2.RowAccessPolicyService.ListRowAccessPolicies:output_type -> google.cloud.bigquery.v2.ListRowAccessPoliciesResponse
1006 7, // 13: google.cloud.bigquery.v2.RowAccessPolicyService.GetRowAccessPolicy:output_type -> google.cloud.bigquery.v2.RowAccessPolicy
1007 7, // 14: google.cloud.bigquery.v2.RowAccessPolicyService.CreateRowAccessPolicy:output_type -> google.cloud.bigquery.v2.RowAccessPolicy
1008 7, // 15: google.cloud.bigquery.v2.RowAccessPolicyService.UpdateRowAccessPolicy:output_type -> google.cloud.bigquery.v2.RowAccessPolicy
1009 10, // 16: google.cloud.bigquery.v2.RowAccessPolicyService.DeleteRowAccessPolicy:output_type -> google.protobuf.Empty
1010 10, // 17: google.cloud.bigquery.v2.RowAccessPolicyService.BatchDeleteRowAccessPolicies:output_type -> google.protobuf.Empty
1011 12, // [12:18] is the sub-list for method output_type
1012 6, // [6:12] is the sub-list for method input_type
1013 6, // [6:6] is the sub-list for extension type_name
1014 6, // [6:6] is the sub-list for extension extendee
1015 0, // [0:6] is the sub-list for field type_name
1016 }
1017
1018 func init() { file_google_cloud_bigquery_v2_row_access_policy_proto_init() }
1019 func file_google_cloud_bigquery_v2_row_access_policy_proto_init() {
1020 if File_google_cloud_bigquery_v2_row_access_policy_proto != nil {
1021 return
1022 }
1023 file_google_cloud_bigquery_v2_row_access_policy_reference_proto_init()
1024 file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[5].OneofWrappers = []any{}
1025 file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes[6].OneofWrappers = []any{}
1026 type x struct{}
1027 out := protoimpl.TypeBuilder{
1028 File: protoimpl.DescBuilder{
1029 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1030 RawDescriptor: file_google_cloud_bigquery_v2_row_access_policy_proto_rawDesc,
1031 NumEnums: 0,
1032 NumMessages: 8,
1033 NumExtensions: 0,
1034 NumServices: 1,
1035 },
1036 GoTypes: file_google_cloud_bigquery_v2_row_access_policy_proto_goTypes,
1037 DependencyIndexes: file_google_cloud_bigquery_v2_row_access_policy_proto_depIdxs,
1038 MessageInfos: file_google_cloud_bigquery_v2_row_access_policy_proto_msgTypes,
1039 }.Build()
1040 File_google_cloud_bigquery_v2_row_access_policy_proto = out.File
1041 file_google_cloud_bigquery_v2_row_access_policy_proto_rawDesc = nil
1042 file_google_cloud_bigquery_v2_row_access_policy_proto_goTypes = nil
1043 file_google_cloud_bigquery_v2_row_access_policy_proto_depIdxs = nil
1044 }
1045
1046 // Reference imports to suppress errors if they are not otherwise used.
1047 var _ context.Context
1048 var _ grpc.ClientConnInterface
1049
1050 // This is a compile-time assertion to ensure that this generated file
1051 // is compatible with the grpc package it is being compiled against.
1052 const _ = grpc.SupportPackageIsVersion6
1053
1054 // RowAccessPolicyServiceClient is the client API for RowAccessPolicyService service.
1055 //
1056 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1057 type RowAccessPolicyServiceClient interface {
1058 // Lists all row access policies on the specified table.
1059 ListRowAccessPolicies(ctx context.Context, in *ListRowAccessPoliciesRequest, opts ...grpc.CallOption) (*ListRowAccessPoliciesResponse, error)
1060 // Gets the specified row access policy by policy ID.
1061 GetRowAccessPolicy(ctx context.Context, in *GetRowAccessPolicyRequest, opts ...grpc.CallOption) (*RowAccessPolicy, error)
1062 // Creates a row access policy.
1063 CreateRowAccessPolicy(ctx context.Context, in *CreateRowAccessPolicyRequest, opts ...grpc.CallOption) (*RowAccessPolicy, error)
1064 // Updates a row access policy.
1065 UpdateRowAccessPolicy(ctx context.Context, in *UpdateRowAccessPolicyRequest, opts ...grpc.CallOption) (*RowAccessPolicy, error)
1066 // Deletes a row access policy.
1067 DeleteRowAccessPolicy(ctx context.Context, in *DeleteRowAccessPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
1068 // Deletes provided row access policies.
1069 BatchDeleteRowAccessPolicies(ctx context.Context, in *BatchDeleteRowAccessPoliciesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
1070 }
1071
1072 type rowAccessPolicyServiceClient struct {
1073 cc grpc.ClientConnInterface
1074 }
1075
1076 func NewRowAccessPolicyServiceClient(cc grpc.ClientConnInterface) RowAccessPolicyServiceClient {
1077 return &rowAccessPolicyServiceClient{cc}
1078 }
1079
1080 func (c *rowAccessPolicyServiceClient) ListRowAccessPolicies(ctx context.Context, in *ListRowAccessPoliciesRequest, opts ...grpc.CallOption) (*ListRowAccessPoliciesResponse, error) {
1081 out := new(ListRowAccessPoliciesResponse)
1082 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.RowAccessPolicyService/ListRowAccessPolicies", in, out, opts...)
1083 if err != nil {
1084 return nil, err
1085 }
1086 return out, nil
1087 }
1088
1089 func (c *rowAccessPolicyServiceClient) GetRowAccessPolicy(ctx context.Context, in *GetRowAccessPolicyRequest, opts ...grpc.CallOption) (*RowAccessPolicy, error) {
1090 out := new(RowAccessPolicy)
1091 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.RowAccessPolicyService/GetRowAccessPolicy", in, out, opts...)
1092 if err != nil {
1093 return nil, err
1094 }
1095 return out, nil
1096 }
1097
1098 func (c *rowAccessPolicyServiceClient) CreateRowAccessPolicy(ctx context.Context, in *CreateRowAccessPolicyRequest, opts ...grpc.CallOption) (*RowAccessPolicy, error) {
1099 out := new(RowAccessPolicy)
1100 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.RowAccessPolicyService/CreateRowAccessPolicy", in, out, opts...)
1101 if err != nil {
1102 return nil, err
1103 }
1104 return out, nil
1105 }
1106
1107 func (c *rowAccessPolicyServiceClient) UpdateRowAccessPolicy(ctx context.Context, in *UpdateRowAccessPolicyRequest, opts ...grpc.CallOption) (*RowAccessPolicy, error) {
1108 out := new(RowAccessPolicy)
1109 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.RowAccessPolicyService/UpdateRowAccessPolicy", in, out, opts...)
1110 if err != nil {
1111 return nil, err
1112 }
1113 return out, nil
1114 }
1115
1116 func (c *rowAccessPolicyServiceClient) DeleteRowAccessPolicy(ctx context.Context, in *DeleteRowAccessPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
1117 out := new(emptypb.Empty)
1118 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.RowAccessPolicyService/DeleteRowAccessPolicy", in, out, opts...)
1119 if err != nil {
1120 return nil, err
1121 }
1122 return out, nil
1123 }
1124
1125 func (c *rowAccessPolicyServiceClient) BatchDeleteRowAccessPolicies(ctx context.Context, in *BatchDeleteRowAccessPoliciesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
1126 out := new(emptypb.Empty)
1127 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.RowAccessPolicyService/BatchDeleteRowAccessPolicies", in, out, opts...)
1128 if err != nil {
1129 return nil, err
1130 }
1131 return out, nil
1132 }
1133
1134 // RowAccessPolicyServiceServer is the server API for RowAccessPolicyService service.
1135 type RowAccessPolicyServiceServer interface {
1136 // Lists all row access policies on the specified table.
1137 ListRowAccessPolicies(context.Context, *ListRowAccessPoliciesRequest) (*ListRowAccessPoliciesResponse, error)
1138 // Gets the specified row access policy by policy ID.
1139 GetRowAccessPolicy(context.Context, *GetRowAccessPolicyRequest) (*RowAccessPolicy, error)
1140 // Creates a row access policy.
1141 CreateRowAccessPolicy(context.Context, *CreateRowAccessPolicyRequest) (*RowAccessPolicy, error)
1142 // Updates a row access policy.
1143 UpdateRowAccessPolicy(context.Context, *UpdateRowAccessPolicyRequest) (*RowAccessPolicy, error)
1144 // Deletes a row access policy.
1145 DeleteRowAccessPolicy(context.Context, *DeleteRowAccessPolicyRequest) (*emptypb.Empty, error)
1146 // Deletes provided row access policies.
1147 BatchDeleteRowAccessPolicies(context.Context, *BatchDeleteRowAccessPoliciesRequest) (*emptypb.Empty, error)
1148 }
1149
1150 // UnimplementedRowAccessPolicyServiceServer can be embedded to have forward compatible implementations.
1151 type UnimplementedRowAccessPolicyServiceServer struct {
1152 }
1153
1154 func (*UnimplementedRowAccessPolicyServiceServer) ListRowAccessPolicies(context.Context, *ListRowAccessPoliciesRequest) (*ListRowAccessPoliciesResponse, error) {
1155 return nil, status.Errorf(codes.Unimplemented, "method ListRowAccessPolicies not implemented")
1156 }
1157 func (*UnimplementedRowAccessPolicyServiceServer) GetRowAccessPolicy(context.Context, *GetRowAccessPolicyRequest) (*RowAccessPolicy, error) {
1158 return nil, status.Errorf(codes.Unimplemented, "method GetRowAccessPolicy not implemented")
1159 }
1160 func (*UnimplementedRowAccessPolicyServiceServer) CreateRowAccessPolicy(context.Context, *CreateRowAccessPolicyRequest) (*RowAccessPolicy, error) {
1161 return nil, status.Errorf(codes.Unimplemented, "method CreateRowAccessPolicy not implemented")
1162 }
1163 func (*UnimplementedRowAccessPolicyServiceServer) UpdateRowAccessPolicy(context.Context, *UpdateRowAccessPolicyRequest) (*RowAccessPolicy, error) {
1164 return nil, status.Errorf(codes.Unimplemented, "method UpdateRowAccessPolicy not implemented")
1165 }
1166 func (*UnimplementedRowAccessPolicyServiceServer) DeleteRowAccessPolicy(context.Context, *DeleteRowAccessPolicyRequest) (*emptypb.Empty, error) {
1167 return nil, status.Errorf(codes.Unimplemented, "method DeleteRowAccessPolicy not implemented")
1168 }
1169 func (*UnimplementedRowAccessPolicyServiceServer) BatchDeleteRowAccessPolicies(context.Context, *BatchDeleteRowAccessPoliciesRequest) (*emptypb.Empty, error) {
1170 return nil, status.Errorf(codes.Unimplemented, "method BatchDeleteRowAccessPolicies not implemented")
1171 }
1172
1173 func RegisterRowAccessPolicyServiceServer(s *grpc.Server, srv RowAccessPolicyServiceServer) {
1174 s.RegisterService(&_RowAccessPolicyService_serviceDesc, srv)
1175 }
1176
1177 func _RowAccessPolicyService_ListRowAccessPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1178 in := new(ListRowAccessPoliciesRequest)
1179 if err := dec(in); err != nil {
1180 return nil, err
1181 }
1182 if interceptor == nil {
1183 return srv.(RowAccessPolicyServiceServer).ListRowAccessPolicies(ctx, in)
1184 }
1185 info := &grpc.UnaryServerInfo{
1186 Server: srv,
1187 FullMethod: "/google.cloud.bigquery.v2.RowAccessPolicyService/ListRowAccessPolicies",
1188 }
1189 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1190 return srv.(RowAccessPolicyServiceServer).ListRowAccessPolicies(ctx, req.(*ListRowAccessPoliciesRequest))
1191 }
1192 return interceptor(ctx, in, info, handler)
1193 }
1194
1195 func _RowAccessPolicyService_GetRowAccessPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1196 in := new(GetRowAccessPolicyRequest)
1197 if err := dec(in); err != nil {
1198 return nil, err
1199 }
1200 if interceptor == nil {
1201 return srv.(RowAccessPolicyServiceServer).GetRowAccessPolicy(ctx, in)
1202 }
1203 info := &grpc.UnaryServerInfo{
1204 Server: srv,
1205 FullMethod: "/google.cloud.bigquery.v2.RowAccessPolicyService/GetRowAccessPolicy",
1206 }
1207 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1208 return srv.(RowAccessPolicyServiceServer).GetRowAccessPolicy(ctx, req.(*GetRowAccessPolicyRequest))
1209 }
1210 return interceptor(ctx, in, info, handler)
1211 }
1212
1213 func _RowAccessPolicyService_CreateRowAccessPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1214 in := new(CreateRowAccessPolicyRequest)
1215 if err := dec(in); err != nil {
1216 return nil, err
1217 }
1218 if interceptor == nil {
1219 return srv.(RowAccessPolicyServiceServer).CreateRowAccessPolicy(ctx, in)
1220 }
1221 info := &grpc.UnaryServerInfo{
1222 Server: srv,
1223 FullMethod: "/google.cloud.bigquery.v2.RowAccessPolicyService/CreateRowAccessPolicy",
1224 }
1225 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1226 return srv.(RowAccessPolicyServiceServer).CreateRowAccessPolicy(ctx, req.(*CreateRowAccessPolicyRequest))
1227 }
1228 return interceptor(ctx, in, info, handler)
1229 }
1230
1231 func _RowAccessPolicyService_UpdateRowAccessPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1232 in := new(UpdateRowAccessPolicyRequest)
1233 if err := dec(in); err != nil {
1234 return nil, err
1235 }
1236 if interceptor == nil {
1237 return srv.(RowAccessPolicyServiceServer).UpdateRowAccessPolicy(ctx, in)
1238 }
1239 info := &grpc.UnaryServerInfo{
1240 Server: srv,
1241 FullMethod: "/google.cloud.bigquery.v2.RowAccessPolicyService/UpdateRowAccessPolicy",
1242 }
1243 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1244 return srv.(RowAccessPolicyServiceServer).UpdateRowAccessPolicy(ctx, req.(*UpdateRowAccessPolicyRequest))
1245 }
1246 return interceptor(ctx, in, info, handler)
1247 }
1248
1249 func _RowAccessPolicyService_DeleteRowAccessPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1250 in := new(DeleteRowAccessPolicyRequest)
1251 if err := dec(in); err != nil {
1252 return nil, err
1253 }
1254 if interceptor == nil {
1255 return srv.(RowAccessPolicyServiceServer).DeleteRowAccessPolicy(ctx, in)
1256 }
1257 info := &grpc.UnaryServerInfo{
1258 Server: srv,
1259 FullMethod: "/google.cloud.bigquery.v2.RowAccessPolicyService/DeleteRowAccessPolicy",
1260 }
1261 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1262 return srv.(RowAccessPolicyServiceServer).DeleteRowAccessPolicy(ctx, req.(*DeleteRowAccessPolicyRequest))
1263 }
1264 return interceptor(ctx, in, info, handler)
1265 }
1266
1267 func _RowAccessPolicyService_BatchDeleteRowAccessPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1268 in := new(BatchDeleteRowAccessPoliciesRequest)
1269 if err := dec(in); err != nil {
1270 return nil, err
1271 }
1272 if interceptor == nil {
1273 return srv.(RowAccessPolicyServiceServer).BatchDeleteRowAccessPolicies(ctx, in)
1274 }
1275 info := &grpc.UnaryServerInfo{
1276 Server: srv,
1277 FullMethod: "/google.cloud.bigquery.v2.RowAccessPolicyService/BatchDeleteRowAccessPolicies",
1278 }
1279 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1280 return srv.(RowAccessPolicyServiceServer).BatchDeleteRowAccessPolicies(ctx, req.(*BatchDeleteRowAccessPoliciesRequest))
1281 }
1282 return interceptor(ctx, in, info, handler)
1283 }
1284
1285 var _RowAccessPolicyService_serviceDesc = grpc.ServiceDesc{
1286 ServiceName: "google.cloud.bigquery.v2.RowAccessPolicyService",
1287 HandlerType: (*RowAccessPolicyServiceServer)(nil),
1288 Methods: []grpc.MethodDesc{
1289 {
1290 MethodName: "ListRowAccessPolicies",
1291 Handler: _RowAccessPolicyService_ListRowAccessPolicies_Handler,
1292 },
1293 {
1294 MethodName: "GetRowAccessPolicy",
1295 Handler: _RowAccessPolicyService_GetRowAccessPolicy_Handler,
1296 },
1297 {
1298 MethodName: "CreateRowAccessPolicy",
1299 Handler: _RowAccessPolicyService_CreateRowAccessPolicy_Handler,
1300 },
1301 {
1302 MethodName: "UpdateRowAccessPolicy",
1303 Handler: _RowAccessPolicyService_UpdateRowAccessPolicy_Handler,
1304 },
1305 {
1306 MethodName: "DeleteRowAccessPolicy",
1307 Handler: _RowAccessPolicyService_DeleteRowAccessPolicy_Handler,
1308 },
1309 {
1310 MethodName: "BatchDeleteRowAccessPolicies",
1311 Handler: _RowAccessPolicyService_BatchDeleteRowAccessPolicies_Handler,
1312 },
1313 },
1314 Streams: []grpc.StreamDesc{},
1315 Metadata: "google/cloud/bigquery/v2/row_access_policy.proto",
1316 }