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