| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/cloud/bigquery/v2/privacy_policy.proto |
| 20 |
|
| 21 |
package bigquerypb |
| 22 |
|
| 23 |
import ( |
| 24 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 25 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 26 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 27 |
reflect "reflect" |
| 28 |
sync "sync" |
| 29 |
) |
| 30 |
|
| 31 |
const ( |
| 32 |
// Verify that this generated code is sufficiently up-to-date. |
| 33 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 34 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 36 |
) |
| 37 |
|
| 38 |
// Enum for Join Restrictions policy. |
| 39 |
type JoinRestrictionPolicy_JoinCondition int32 |
| 40 |
|
| 41 |
const ( |
| 42 |
// A join is neither required nor restricted on any column. Default value. |
| 43 |
JoinRestrictionPolicy_JOIN_CONDITION_UNSPECIFIED JoinRestrictionPolicy_JoinCondition = 0 |
| 44 |
// A join is required on at least one of the specified columns. |
| 45 |
JoinRestrictionPolicy_JOIN_ANY JoinRestrictionPolicy_JoinCondition = 1 |
| 46 |
// A join is required on all specified columns. |
| 47 |
JoinRestrictionPolicy_JOIN_ALL JoinRestrictionPolicy_JoinCondition = 2 |
| 48 |
// A join is not required, but if present it is only permitted on |
| 49 |
// 'join_allowed_columns' |
| 50 |
JoinRestrictionPolicy_JOIN_NOT_REQUIRED JoinRestrictionPolicy_JoinCondition = 3 |
| 51 |
// Joins are blocked for all queries. |
| 52 |
JoinRestrictionPolicy_JOIN_BLOCKED JoinRestrictionPolicy_JoinCondition = 4 |
| 53 |
) |
| 54 |
|
| 55 |
// Enum value maps for JoinRestrictionPolicy_JoinCondition. |
| 56 |
var ( |
| 57 |
JoinRestrictionPolicy_JoinCondition_name = map[int32]string{ |
| 58 |
0: "JOIN_CONDITION_UNSPECIFIED", |
| 59 |
1: "JOIN_ANY", |
| 60 |
2: "JOIN_ALL", |
| 61 |
3: "JOIN_NOT_REQUIRED", |
| 62 |
4: "JOIN_BLOCKED", |
| 63 |
} |
| 64 |
JoinRestrictionPolicy_JoinCondition_value = map[string]int32{ |
| 65 |
"JOIN_CONDITION_UNSPECIFIED": 0, |
| 66 |
"JOIN_ANY": 1, |
| 67 |
"JOIN_ALL": 2, |
| 68 |
"JOIN_NOT_REQUIRED": 3, |
| 69 |
"JOIN_BLOCKED": 4, |
| 70 |
} |
| 71 |
) |
| 72 |
|
| 73 |
func (x JoinRestrictionPolicy_JoinCondition) Enum() *JoinRestrictionPolicy_JoinCondition { |
| 74 |
p := new(JoinRestrictionPolicy_JoinCondition) |
| 75 |
*p = x |
| 76 |
return p |
| 77 |
} |
| 78 |
|
| 79 |
func (x JoinRestrictionPolicy_JoinCondition) String() string { |
| 80 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 81 |
} |
| 82 |
|
| 83 |
func (JoinRestrictionPolicy_JoinCondition) Descriptor() protoreflect.EnumDescriptor { |
| 84 |
return file_google_cloud_bigquery_v2_privacy_policy_proto_enumTypes[0].Descriptor() |
| 85 |
} |
| 86 |
|
| 87 |
func (JoinRestrictionPolicy_JoinCondition) Type() protoreflect.EnumType { |
| 88 |
return &file_google_cloud_bigquery_v2_privacy_policy_proto_enumTypes[0] |
| 89 |
} |
| 90 |
|
| 91 |
func (x JoinRestrictionPolicy_JoinCondition) Number() protoreflect.EnumNumber { |
| 92 |
return protoreflect.EnumNumber(x) |
| 93 |
} |
| 94 |
|
| 95 |
// Deprecated: Use JoinRestrictionPolicy_JoinCondition.Descriptor instead. |
| 96 |
func (JoinRestrictionPolicy_JoinCondition) EnumDescriptor() ([]byte, []int) { |
| 97 |
return file_google_cloud_bigquery_v2_privacy_policy_proto_rawDescGZIP(), []int{2, 0} |
| 98 |
} |
| 99 |
|
| 100 |
// Represents privacy policy associated with "aggregation threshold" method. |
| 101 |
type AggregationThresholdPolicy struct { |
| 102 |
state protoimpl.MessageState |
| 103 |
sizeCache protoimpl.SizeCache |
| 104 |
unknownFields protoimpl.UnknownFields |
| 105 |
|
| 106 |
// Optional. The threshold for the "aggregation threshold" policy. |
| 107 |
Threshold *int64 `protobuf:"varint,1,opt,name=threshold,proto3,oneof" json:"threshold,omitempty"` |
| 108 |
// Optional. The privacy unit column(s) associated with this policy. |
| 109 |
// For now, only one column per data source object (table, view) is allowed as |
| 110 |
// a privacy unit column. |
| 111 |
// Representing as a repeated field in metadata for extensibility to |
| 112 |
// multiple columns in future. |
| 113 |
// Duplicates and Repeated struct fields are not allowed. |
| 114 |
// For nested fields, use dot notation ("outer.inner") |
| 115 |
PrivacyUnitColumns []string `protobuf:"bytes,2,rep,name=privacy_unit_columns,json=privacyUnitColumns,proto3" json:"privacy_unit_columns,omitempty"` |
| 116 |
} |
| 117 |
|
| 118 |
func (x *AggregationThresholdPolicy) Reset() { |
| 119 |
*x = AggregationThresholdPolicy{} |
| 120 |
mi := &file_google_cloud_bigquery_v2_privacy_policy_proto_msgTypes[0] |
| 121 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 122 |
ms.StoreMessageInfo(mi) |
| 123 |
} |
| 124 |
|
| 125 |
func (x *AggregationThresholdPolicy) String() string { |
| 126 |
return protoimpl.X.MessageStringOf(x) |
| 127 |
} |
| 128 |
|
| 129 |
func (*AggregationThresholdPolicy) ProtoMessage() {} |
| 130 |
|
| 131 |
func (x *AggregationThresholdPolicy) ProtoReflect() protoreflect.Message { |
| 132 |
mi := &file_google_cloud_bigquery_v2_privacy_policy_proto_msgTypes[0] |
| 133 |
if x != nil { |
| 134 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 135 |
if ms.LoadMessageInfo() == nil { |
| 136 |
ms.StoreMessageInfo(mi) |
| 137 |
} |
| 138 |
return ms |
| 139 |
} |
| 140 |
return mi.MessageOf(x) |
| 141 |
} |
| 142 |
|
| 143 |
// Deprecated: Use AggregationThresholdPolicy.ProtoReflect.Descriptor instead. |
| 144 |
func (*AggregationThresholdPolicy) Descriptor() ([]byte, []int) { |
| 145 |
return file_google_cloud_bigquery_v2_privacy_policy_proto_rawDescGZIP(), []int{0} |
| 146 |
} |
| 147 |
|
| 148 |
func (x *AggregationThresholdPolicy) GetThreshold() int64 { |
| 149 |
if x != nil && x.Threshold != nil { |
| 150 |
return *x.Threshold |
| 151 |
} |
| 152 |
return 0 |
| 153 |
} |
| 154 |
|
| 155 |
func (x *AggregationThresholdPolicy) GetPrivacyUnitColumns() []string { |
| 156 |
if x != nil { |
| 157 |
return x.PrivacyUnitColumns |
| 158 |
} |
| 159 |
return nil |
| 160 |
} |
| 161 |
|
| 162 |
// Represents privacy policy associated with "differential privacy" method. |
| 163 |
type DifferentialPrivacyPolicy struct { |
| 164 |
state protoimpl.MessageState |
| 165 |
sizeCache protoimpl.SizeCache |
| 166 |
unknownFields protoimpl.UnknownFields |
| 167 |
|
| 168 |
// Optional. The maximum epsilon value that a query can consume. If the |
| 169 |
// subscriber specifies epsilon as a parameter in a SELECT query, it must be |
| 170 |
// less than or equal to this value. The epsilon parameter controls the amount |
| 171 |
// of noise that is added to the groups — a higher epsilon means less noise. |
| 172 |
MaxEpsilonPerQuery *float64 `protobuf:"fixed64,1,opt,name=max_epsilon_per_query,json=maxEpsilonPerQuery,proto3,oneof" json:"max_epsilon_per_query,omitempty"` |
| 173 |
// Optional. The delta value that is used per query. Delta represents the |
| 174 |
// probability that any row will fail to be epsilon differentially private. |
| 175 |
// Indicates the risk associated with exposing aggregate rows in the result of |
| 176 |
// a query. |
| 177 |
DeltaPerQuery *float64 `protobuf:"fixed64,2,opt,name=delta_per_query,json=deltaPerQuery,proto3,oneof" json:"delta_per_query,omitempty"` |
| 178 |
// Optional. The maximum groups contributed value that is used per query. |
| 179 |
// Represents the maximum number of groups to which each protected entity can |
| 180 |
// contribute. Changing this value does not improve or worsen privacy. The |
| 181 |
// best value for accuracy and utility depends on the query and data. |
| 182 |
MaxGroupsContributed *int64 `protobuf:"varint,3,opt,name=max_groups_contributed,json=maxGroupsContributed,proto3,oneof" json:"max_groups_contributed,omitempty"` |
| 183 |
// Optional. The privacy unit column associated with this policy. Differential |
| 184 |
// privacy policies can only have one privacy unit column per data source |
| 185 |
// object (table, view). |
| 186 |
PrivacyUnitColumn *string `protobuf:"bytes,4,opt,name=privacy_unit_column,json=privacyUnitColumn,proto3,oneof" json:"privacy_unit_column,omitempty"` |
| 187 |
// Optional. The total epsilon budget for all queries against the |
| 188 |
// privacy-protected view. Each subscriber query against this view charges the |
| 189 |
// amount of epsilon they request in their query. If there is sufficient |
| 190 |
// budget, then the subscriber query attempts to complete. It might still fail |
| 191 |
// due to other reasons, in which case the charge is refunded. If there is |
| 192 |
// insufficient budget the query is rejected. There might be multiple charge |
| 193 |
// attempts if a single query references multiple views. In this case there |
| 194 |
// must be sufficient budget for all charges or the query is rejected and |
| 195 |
// charges are refunded in best effort. The budget does not have a refresh |
| 196 |
// policy and can only be updated via ALTER VIEW or circumvented by creating a |
| 197 |
// new view that can be queried with a fresh budget. |
| 198 |
EpsilonBudget *float64 `protobuf:"fixed64,5,opt,name=epsilon_budget,json=epsilonBudget,proto3,oneof" json:"epsilon_budget,omitempty"` |
| 199 |
// Optional. The total delta budget for all queries against the |
| 200 |
// privacy-protected view. Each subscriber query against this view charges the |
| 201 |
// amount of delta that is pre-defined by the contributor through the privacy |
| 202 |
// policy delta_per_query field. If there is sufficient budget, then the |
| 203 |
// subscriber query attempts to complete. It might still fail due to other |
| 204 |
// reasons, in which case the charge is refunded. If there is insufficient |
| 205 |
// budget the query is rejected. There might be multiple charge attempts if a |
| 206 |
// single query references multiple views. In this case there must be |
| 207 |
// sufficient budget for all charges or the query is rejected and charges are |
| 208 |
// refunded in best effort. The budget does not have a refresh policy and can |
| 209 |
// only be updated via ALTER VIEW or circumvented by creating a new view that |
| 210 |
// can be queried with a fresh budget. |
| 211 |
DeltaBudget *float64 `protobuf:"fixed64,6,opt,name=delta_budget,json=deltaBudget,proto3,oneof" json:"delta_budget,omitempty"` |
| 212 |
// Output only. The epsilon budget remaining. If budget is exhausted, no more |
| 213 |
// queries are allowed. Note that the budget for queries that are in progress |
| 214 |
// is deducted before the query executes. If the query fails or is cancelled |
| 215 |
// then the budget is refunded. In this case the amount of budget remaining |
| 216 |
// can increase. |
| 217 |
EpsilonBudgetRemaining *float64 `protobuf:"fixed64,7,opt,name=epsilon_budget_remaining,json=epsilonBudgetRemaining,proto3,oneof" json:"epsilon_budget_remaining,omitempty"` |
| 218 |
// Output only. The delta budget remaining. If budget is exhausted, no more |
| 219 |
// queries are allowed. Note that the budget for queries that are in progress |
| 220 |
// is deducted before the query executes. If the query fails or is cancelled |
| 221 |
// then the budget is refunded. In this case the amount of budget remaining |
| 222 |
// can increase. |
| 223 |
DeltaBudgetRemaining *float64 `protobuf:"fixed64,8,opt,name=delta_budget_remaining,json=deltaBudgetRemaining,proto3,oneof" json:"delta_budget_remaining,omitempty"` |
| 224 |
} |
| 225 |
|
| 226 |
func (x *DifferentialPrivacyPolicy) Reset() { |
| 227 |
*x = DifferentialPrivacyPolicy{} |
| 228 |
mi := &file_google_cloud_bigquery_v2_privacy_policy_proto_msgTypes[1] |
| 229 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 230 |
ms.StoreMessageInfo(mi) |
| 231 |
} |
| 232 |
|
| 233 |
func (x *DifferentialPrivacyPolicy) String() string { |
| 234 |
return protoimpl.X.MessageStringOf(x) |
| 235 |
} |
| 236 |
|
| 237 |
func (*DifferentialPrivacyPolicy) ProtoMessage() {} |
| 238 |
|
| 239 |
func (x *DifferentialPrivacyPolicy) ProtoReflect() protoreflect.Message { |
| 240 |
mi := &file_google_cloud_bigquery_v2_privacy_policy_proto_msgTypes[1] |
| 241 |
if x != nil { |
| 242 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 243 |
if ms.LoadMessageInfo() == nil { |
| 244 |
ms.StoreMessageInfo(mi) |
| 245 |
} |
| 246 |
return ms |
| 247 |
} |
| 248 |
return mi.MessageOf(x) |
| 249 |
} |
| 250 |
|
| 251 |
// Deprecated: Use DifferentialPrivacyPolicy.ProtoReflect.Descriptor instead. |
| 252 |
func (*DifferentialPrivacyPolicy) Descriptor() ([]byte, []int) { |
| 253 |
return file_google_cloud_bigquery_v2_privacy_policy_proto_rawDescGZIP(), []int{1} |
| 254 |
} |
| 255 |
|
| 256 |
func (x *DifferentialPrivacyPolicy) GetMaxEpsilonPerQuery() float64 { |
| 257 |
if x != nil && x.MaxEpsilonPerQuery != nil { |
| 258 |
return *x.MaxEpsilonPerQuery |
| 259 |
} |
| 260 |
return 0 |
| 261 |
} |
| 262 |
|
| 263 |
func (x *DifferentialPrivacyPolicy) GetDeltaPerQuery() float64 { |
| 264 |
if x != nil && x.DeltaPerQuery != nil { |
| 265 |
return *x.DeltaPerQuery |
| 266 |
} |
| 267 |
return 0 |
| 268 |
} |
| 269 |
|
| 270 |
func (x *DifferentialPrivacyPolicy) GetMaxGroupsContributed() int64 { |
| 271 |
if x != nil && x.MaxGroupsContributed != nil { |
| 272 |
return *x.MaxGroupsContributed |
| 273 |
} |
| 274 |
return 0 |
| 275 |
} |
| 276 |
|
| 277 |
func (x *DifferentialPrivacyPolicy) GetPrivacyUnitColumn() string { |
| 278 |
if x != nil && x.PrivacyUnitColumn != nil { |
| 279 |
return *x.PrivacyUnitColumn |
| 280 |
} |
| 281 |
return "" |
| 282 |
} |
| 283 |
|
| 284 |
func (x *DifferentialPrivacyPolicy) GetEpsilonBudget() float64 { |
| 285 |
if x != nil && x.EpsilonBudget != nil { |
| 286 |
return *x.EpsilonBudget |
| 287 |
} |
| 288 |
return 0 |
| 289 |
} |
| 290 |
|
| 291 |
func (x *DifferentialPrivacyPolicy) GetDeltaBudget() float64 { |
| 292 |
if x != nil && x.DeltaBudget != nil { |
| 293 |
return *x.DeltaBudget |
| 294 |
} |
| 295 |
return 0 |
| 296 |
} |
| 297 |
|
| 298 |
func (x *DifferentialPrivacyPolicy) GetEpsilonBudgetRemaining() float64 { |
| 299 |
if x != nil && x.EpsilonBudgetRemaining != nil { |
| 300 |
return *x.EpsilonBudgetRemaining |
| 301 |
} |
| 302 |
return 0 |
| 303 |
} |
| 304 |
|
| 305 |
func (x *DifferentialPrivacyPolicy) GetDeltaBudgetRemaining() float64 { |
| 306 |
if x != nil && x.DeltaBudgetRemaining != nil { |
| 307 |
return *x.DeltaBudgetRemaining |
| 308 |
} |
| 309 |
return 0 |
| 310 |
} |
| 311 |
|
| 312 |
// Represents privacy policy associated with "join restrictions". Join |
| 313 |
// restriction gives data providers the ability to enforce joins on the |
| 314 |
// 'join_allowed_columns' when data is queried from a privacy protected view. |
| 315 |
type JoinRestrictionPolicy struct { |
| 316 |
state protoimpl.MessageState |
| 317 |
sizeCache protoimpl.SizeCache |
| 318 |
unknownFields protoimpl.UnknownFields |
| 319 |
|
| 320 |
// Optional. Specifies if a join is required or not on queries for the view. |
| 321 |
// Default is JOIN_CONDITION_UNSPECIFIED. |
| 322 |
JoinCondition *JoinRestrictionPolicy_JoinCondition `protobuf:"varint,1,opt,name=join_condition,json=joinCondition,proto3,enum=google.cloud.bigquery.v2.JoinRestrictionPolicy_JoinCondition,oneof" json:"join_condition,omitempty"` |
| 323 |
// Optional. The only columns that joins are allowed on. |
| 324 |
// This field is must be specified for join_conditions JOIN_ANY and JOIN_ALL |
| 325 |
// and it cannot be set for JOIN_BLOCKED. |
| 326 |
JoinAllowedColumns []string `protobuf:"bytes,2,rep,name=join_allowed_columns,json=joinAllowedColumns,proto3" json:"join_allowed_columns,omitempty"` |
| 327 |
} |
| 328 |
|
| 329 |
func (x *JoinRestrictionPolicy) Reset() { |
| 330 |
*x = JoinRestrictionPolicy{} |
| 331 |
mi := &file_google_cloud_bigquery_v2_privacy_policy_proto_msgTypes[2] |
| 332 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 333 |
ms.StoreMessageInfo(mi) |
| 334 |
} |
| 335 |
|
| 336 |
func (x *JoinRestrictionPolicy) String() string { |
| 337 |
return protoimpl.X.MessageStringOf(x) |
| 338 |
} |
| 339 |
|
| 340 |
func (*JoinRestrictionPolicy) ProtoMessage() {} |
| 341 |
|
| 342 |
func (x *JoinRestrictionPolicy) ProtoReflect() protoreflect.Message { |
| 343 |
mi := &file_google_cloud_bigquery_v2_privacy_policy_proto_msgTypes[2] |
| 344 |
if x != nil { |
| 345 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 346 |
if ms.LoadMessageInfo() == nil { |
| 347 |
ms.StoreMessageInfo(mi) |
| 348 |
} |
| 349 |
return ms |
| 350 |
} |
| 351 |
return mi.MessageOf(x) |
| 352 |
} |
| 353 |
|
| 354 |
// Deprecated: Use JoinRestrictionPolicy.ProtoReflect.Descriptor instead. |
| 355 |
func (*JoinRestrictionPolicy) Descriptor() ([]byte, []int) { |
| 356 |
return file_google_cloud_bigquery_v2_privacy_policy_proto_rawDescGZIP(), []int{2} |
| 357 |
} |
| 358 |
|
| 359 |
func (x *JoinRestrictionPolicy) GetJoinCondition() JoinRestrictionPolicy_JoinCondition { |
| 360 |
if x != nil && x.JoinCondition != nil { |
| 361 |
return *x.JoinCondition |
| 362 |
} |
| 363 |
return JoinRestrictionPolicy_JOIN_CONDITION_UNSPECIFIED |
| 364 |
} |
| 365 |
|
| 366 |
func (x *JoinRestrictionPolicy) GetJoinAllowedColumns() []string { |
| 367 |
if x != nil { |
| 368 |
return x.JoinAllowedColumns |
| 369 |
} |
| 370 |
return nil |
| 371 |
} |
| 372 |
|
| 373 |
// Represents privacy policy that contains the privacy requirements specified by |
| 374 |
// the data owner. Currently, this is only supported on views. |
| 375 |
type PrivacyPolicy struct { |
| 376 |
state protoimpl.MessageState |
| 377 |
sizeCache protoimpl.SizeCache |
| 378 |
unknownFields protoimpl.UnknownFields |
| 379 |
|
| 380 |
// Privacy policy associated with this requirement specification. Only one of |
| 381 |
// the privacy methods is allowed per data source object. |
| 382 |
// |
| 383 |
// Types that are assignable to PrivacyPolicy: |
| 384 |
// |
| 385 |
// *PrivacyPolicy_AggregationThresholdPolicy |
| 386 |
// *PrivacyPolicy_DifferentialPrivacyPolicy |
| 387 |
PrivacyPolicy isPrivacyPolicy_PrivacyPolicy `protobuf_oneof:"privacy_policy"` |
| 388 |
// Optional. Join restriction policy is outside of the one of policies, since |
| 389 |
// this policy can be set along with other policies. This policy gives data |
| 390 |
// providers the ability to enforce joins on the 'join_allowed_columns' when |
| 391 |
// data is queried from a privacy protected view. |
| 392 |
JoinRestrictionPolicy *JoinRestrictionPolicy `protobuf:"bytes,1,opt,name=join_restriction_policy,json=joinRestrictionPolicy,proto3,oneof" json:"join_restriction_policy,omitempty"` |
| 393 |
} |
| 394 |
|
| 395 |
func (x *PrivacyPolicy) Reset() { |
| 396 |
*x = PrivacyPolicy{} |
| 397 |
mi := &file_google_cloud_bigquery_v2_privacy_policy_proto_msgTypes[3] |
| 398 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 399 |
ms.StoreMessageInfo(mi) |
| 400 |
} |
| 401 |
|
| 402 |
func (x *PrivacyPolicy) String() string { |
| 403 |
return protoimpl.X.MessageStringOf(x) |
| 404 |
} |
| 405 |
|
| 406 |
func (*PrivacyPolicy) ProtoMessage() {} |
| 407 |
|
| 408 |
func (x *PrivacyPolicy) ProtoReflect() protoreflect.Message { |
| 409 |
mi := &file_google_cloud_bigquery_v2_privacy_policy_proto_msgTypes[3] |
| 410 |
if x != nil { |
| 411 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 412 |
if ms.LoadMessageInfo() == nil { |
| 413 |
ms.StoreMessageInfo(mi) |
| 414 |
} |
| 415 |
return ms |
| 416 |
} |
| 417 |
return mi.MessageOf(x) |
| 418 |
} |
| 419 |
|
| 420 |
// Deprecated: Use PrivacyPolicy.ProtoReflect.Descriptor instead. |
| 421 |
func (*PrivacyPolicy) Descriptor() ([]byte, []int) { |
| 422 |
return file_google_cloud_bigquery_v2_privacy_policy_proto_rawDescGZIP(), []int{3} |
| 423 |
} |
| 424 |
|
| 425 |
func (m *PrivacyPolicy) GetPrivacyPolicy() isPrivacyPolicy_PrivacyPolicy { |
| 426 |
if m != nil { |
| 427 |
return m.PrivacyPolicy |
| 428 |
} |
| 429 |
return nil |
| 430 |
} |
| 431 |
|
| 432 |
func (x *PrivacyPolicy) GetAggregationThresholdPolicy() *AggregationThresholdPolicy { |
| 433 |
if x, ok := x.GetPrivacyPolicy().(*PrivacyPolicy_AggregationThresholdPolicy); ok { |
| 434 |
return x.AggregationThresholdPolicy |
| 435 |
} |
| 436 |
return nil |
| 437 |
} |
| 438 |
|
| 439 |
func (x *PrivacyPolicy) GetDifferentialPrivacyPolicy() *DifferentialPrivacyPolicy { |
| 440 |
if x, ok := x.GetPrivacyPolicy().(*PrivacyPolicy_DifferentialPrivacyPolicy); ok { |
| 441 |
return x.DifferentialPrivacyPolicy |
| 442 |
} |
| 443 |
return nil |
| 444 |
} |
| 445 |
|
| 446 |
func (x *PrivacyPolicy) GetJoinRestrictionPolicy() *JoinRestrictionPolicy { |
| 447 |
if x != nil { |
| 448 |
return x.JoinRestrictionPolicy |
| 449 |
} |
| 450 |
return nil |
| 451 |
} |
| 452 |
|
| 453 |
type isPrivacyPolicy_PrivacyPolicy interface { |
| 454 |
isPrivacyPolicy_PrivacyPolicy() |
| 455 |
} |
| 456 |
|
| 457 |
type PrivacyPolicy_AggregationThresholdPolicy struct { |
| 458 |
// Optional. Policy used for aggregation thresholds. |
| 459 |
AggregationThresholdPolicy *AggregationThresholdPolicy `protobuf:"bytes,2,opt,name=aggregation_threshold_policy,json=aggregationThresholdPolicy,proto3,oneof"` |
| 460 |
} |
| 461 |
|
| 462 |
type PrivacyPolicy_DifferentialPrivacyPolicy struct { |
| 463 |
// Optional. Policy used for differential privacy. |
| 464 |
DifferentialPrivacyPolicy *DifferentialPrivacyPolicy `protobuf:"bytes,3,opt,name=differential_privacy_policy,json=differentialPrivacyPolicy,proto3,oneof"` |
| 465 |
} |
| 466 |
|
| 467 |
func (*PrivacyPolicy_AggregationThresholdPolicy) isPrivacyPolicy_PrivacyPolicy() {} |
| 468 |
|
| 469 |
func (*PrivacyPolicy_DifferentialPrivacyPolicy) isPrivacyPolicy_PrivacyPolicy() {} |
| 470 |
|
| 471 |
var File_google_cloud_bigquery_v2_privacy_policy_proto protoreflect.FileDescriptor |
| 472 |
|
| 473 |
var file_google_cloud_bigquery_v2_privacy_policy_proto_rawDesc = []byte{ |
| 474 |
0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, |
| 475 |
0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, |
| 476 |
0x63, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, |
| 477 |
0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, |
| 478 |
0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 479 |
0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, |
| 480 |
0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x01, 0x0a, 0x1a, 0x41, |
| 481 |
0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, |
| 482 |
0x6f, 0x6c, 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x26, 0x0a, 0x09, 0x74, 0x68, 0x72, |
| 483 |
0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, |
| 484 |
0x01, 0x48, 0x00, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x88, 0x01, |
| 485 |
0x01, 0x12, 0x35, 0x0a, 0x14, 0x70, 0x72, 0x69, 0x76, 0x61, 0x63, 0x79, 0x5f, 0x75, 0x6e, 0x69, |
| 486 |
0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, |
| 487 |
0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 0x70, 0x72, 0x69, 0x76, 0x61, 0x63, 0x79, 0x55, 0x6e, 0x69, |
| 488 |
0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x74, 0x68, 0x72, |
| 489 |
0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x22, 0xa3, 0x05, 0x0a, 0x19, 0x44, 0x69, 0x66, 0x66, 0x65, |
| 490 |
0x72, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x61, 0x63, 0x79, 0x50, 0x6f, |
| 491 |
0x6c, 0x69, 0x63, 0x79, 0x12, 0x3b, 0x0a, 0x15, 0x6d, 0x61, 0x78, 0x5f, 0x65, 0x70, 0x73, 0x69, |
| 492 |
0x6c, 0x6f, 0x6e, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, |
| 493 |
0x01, 0x28, 0x01, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x61, 0x78, 0x45, |
| 494 |
0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x51, 0x75, 0x65, 0x72, 0x79, 0x88, 0x01, |
| 495 |
0x01, 0x12, 0x30, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x71, |
| 496 |
0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, |
| 497 |
0x01, 0x52, 0x0d, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x50, 0x65, 0x72, 0x51, 0x75, 0x65, 0x72, 0x79, |
| 498 |
0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x16, 0x6d, 0x61, 0x78, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, |
| 499 |
0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, |
| 500 |
0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x02, 0x52, 0x14, 0x6d, 0x61, 0x78, 0x47, |
| 501 |
0x72, 0x6f, 0x75, 0x70, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, |
| 502 |
0x88, 0x01, 0x01, 0x12, 0x38, 0x0a, 0x13, 0x70, 0x72, 0x69, 0x76, 0x61, 0x63, 0x79, 0x5f, 0x75, |
| 503 |
0x6e, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, |
| 504 |
0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x03, 0x52, 0x11, 0x70, 0x72, 0x69, 0x76, 0x61, 0x63, 0x79, |
| 505 |
0x55, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x2f, 0x0a, |
| 506 |
0x0e, 0x65, 0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e, 0x5f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x18, |
| 507 |
0x05, 0x20, 0x01, 0x28, 0x01, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x04, 0x52, 0x0d, 0x65, 0x70, |
| 508 |
0x73, 0x69, 0x6c, 0x6f, 0x6e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x88, 0x01, 0x01, 0x12, 0x2b, |
| 509 |
0x0a, 0x0c, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x5f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x18, 0x06, |
| 510 |
0x20, 0x01, 0x28, 0x01, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x05, 0x52, 0x0b, 0x64, 0x65, 0x6c, |
| 511 |
0x74, 0x61, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x88, 0x01, 0x01, 0x12, 0x42, 0x0a, 0x18, 0x65, |
| 512 |
0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e, 0x5f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, |
| 513 |
0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x42, 0x03, 0xe0, |
| 514 |
0x41, 0x03, 0x48, 0x06, 0x52, 0x16, 0x65, 0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e, 0x42, 0x75, 0x64, |
| 515 |
0x67, 0x65, 0x74, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x12, |
| 516 |
0x3e, 0x0a, 0x16, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x5f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, |
| 517 |
0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x01, 0x42, |
| 518 |
0x03, 0xe0, 0x41, 0x03, 0x48, 0x07, 0x52, 0x14, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x42, 0x75, 0x64, |
| 519 |
0x67, 0x65, 0x74, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x42, |
| 520 |
0x18, 0x0a, 0x16, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x65, 0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e, 0x5f, |
| 521 |
0x70, 0x65, 0x72, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x64, 0x65, |
| 522 |
0x6c, 0x74, 0x61, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x42, 0x19, 0x0a, |
| 523 |
0x17, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x5f, 0x63, 0x6f, 0x6e, |
| 524 |
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x70, 0x72, 0x69, |
| 525 |
0x76, 0x61, 0x63, 0x79, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, |
| 526 |
0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x65, 0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e, 0x5f, 0x62, 0x75, 0x64, |
| 527 |
0x67, 0x65, 0x74, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x5f, 0x62, 0x75, |
| 528 |
0x64, 0x67, 0x65, 0x74, 0x42, 0x1b, 0x0a, 0x19, 0x5f, 0x65, 0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e, |
| 529 |
0x5f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, |
| 530 |
0x67, 0x42, 0x19, 0x0a, 0x17, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x5f, 0x62, 0x75, 0x64, 0x67, |
| 531 |
0x65, 0x74, 0x5f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x22, 0xc7, 0x02, 0x0a, |
| 532 |
0x15, 0x4a, 0x6f, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 533 |
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x6e, 0x0a, 0x0e, 0x6a, 0x6f, 0x69, 0x6e, 0x5f, 0x63, |
| 534 |
0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3d, |
| 535 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, |
| 536 |
0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x4a, 0x6f, 0x69, 0x6e, 0x52, 0x65, |
| 537 |
0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, |
| 538 |
0x4a, 0x6f, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, |
| 539 |
0x41, 0x01, 0x48, 0x00, 0x52, 0x0d, 0x6a, 0x6f, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, |
| 540 |
0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x35, 0x0a, 0x14, 0x6a, 0x6f, 0x69, 0x6e, 0x5f, 0x61, |
| 541 |
0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, |
| 542 |
0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 0x6a, 0x6f, 0x69, 0x6e, 0x41, |
| 543 |
0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x74, 0x0a, |
| 544 |
0x0d, 0x4a, 0x6f, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, |
| 545 |
0x0a, 0x1a, 0x4a, 0x4f, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, |
| 546 |
0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, |
| 547 |
0x0a, 0x08, 0x4a, 0x4f, 0x49, 0x4e, 0x5f, 0x41, 0x4e, 0x59, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, |
| 548 |
0x4a, 0x4f, 0x49, 0x4e, 0x5f, 0x41, 0x4c, 0x4c, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x4a, 0x4f, |
| 549 |
0x49, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, |
| 550 |
0x03, 0x12, 0x10, 0x0a, 0x0c, 0x4a, 0x4f, 0x49, 0x4e, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x45, |
| 551 |
0x44, 0x10, 0x04, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x6a, 0x6f, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, |
| 552 |
0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xab, 0x03, 0x0a, 0x0d, 0x50, 0x72, 0x69, 0x76, 0x61, |
| 553 |
0x63, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x7d, 0x0a, 0x1c, 0x61, 0x67, 0x67, 0x72, |
| 554 |
0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, |
| 555 |
0x64, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, |
| 556 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, |
| 557 |
0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, |
| 558 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x50, 0x6f, |
| 559 |
0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x1a, 0x61, 0x67, 0x67, |
| 560 |
0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, |
| 561 |
0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x7a, 0x0a, 0x1b, 0x64, 0x69, 0x66, 0x66, 0x65, |
| 562 |
0x72, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x63, 0x79, 0x5f, |
| 563 |
0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, |
| 564 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, |
| 565 |
0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x65, 0x72, 0x65, 0x6e, |
| 566 |
0x74, 0x69, 0x61, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x61, 0x63, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, |
| 567 |
0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x19, 0x64, 0x69, 0x66, 0x66, 0x65, 0x72, |
| 568 |
0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x50, 0x72, 0x69, 0x76, 0x61, 0x63, 0x79, 0x50, 0x6f, 0x6c, |
| 569 |
0x69, 0x63, 0x79, 0x12, 0x71, 0x0a, 0x17, 0x6a, 0x6f, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x74, |
| 570 |
0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, |
| 571 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 572 |
0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, |
| 573 |
0x4a, 0x6f, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, |
| 574 |
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x01, 0x52, 0x15, 0x6a, 0x6f, |
| 575 |
0x69, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, |
| 576 |
0x69, 0x63, 0x79, 0x88, 0x01, 0x01, 0x42, 0x10, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x63, |
| 577 |
0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x1a, 0x0a, 0x18, 0x5f, 0x6a, 0x6f, 0x69, |
| 578 |
0x6e, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, |
| 579 |
0x6c, 0x69, 0x63, 0x79, 0x42, 0x6f, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 580 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, |
| 581 |
0x79, 0x2e, 0x76, 0x32, 0x42, 0x12, 0x50, 0x72, 0x69, 0x76, 0x61, 0x63, 0x79, 0x50, 0x6f, 0x6c, |
| 582 |
0x69, 0x63, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 583 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, |
| 584 |
0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, |
| 585 |
0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x62, 0x69, 0x67, 0x71, 0x75, |
| 586 |
0x65, 0x72, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 587 |
} |
| 588 |
|
| 589 |
var ( |
| 590 |
file_google_cloud_bigquery_v2_privacy_policy_proto_rawDescOnce sync.Once |
| 591 |
file_google_cloud_bigquery_v2_privacy_policy_proto_rawDescData = file_google_cloud_bigquery_v2_privacy_policy_proto_rawDesc |
| 592 |
) |
| 593 |
|
| 594 |
func file_google_cloud_bigquery_v2_privacy_policy_proto_rawDescGZIP() []byte { |
| 595 |
file_google_cloud_bigquery_v2_privacy_policy_proto_rawDescOnce.Do(func() { |
| 596 |
file_google_cloud_bigquery_v2_privacy_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_privacy_policy_proto_rawDescData) |
| 597 |
}) |
| 598 |
return file_google_cloud_bigquery_v2_privacy_policy_proto_rawDescData |
| 599 |
} |
| 600 |
|
| 601 |
var file_google_cloud_bigquery_v2_privacy_policy_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 602 |
var file_google_cloud_bigquery_v2_privacy_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
| 603 |
var file_google_cloud_bigquery_v2_privacy_policy_proto_goTypes = []any{ |
| 604 |
(JoinRestrictionPolicy_JoinCondition)(0), // 0: google.cloud.bigquery.v2.JoinRestrictionPolicy.JoinCondition |
| 605 |
(*AggregationThresholdPolicy)(nil), // 1: google.cloud.bigquery.v2.AggregationThresholdPolicy |
| 606 |
(*DifferentialPrivacyPolicy)(nil), // 2: google.cloud.bigquery.v2.DifferentialPrivacyPolicy |
| 607 |
(*JoinRestrictionPolicy)(nil), // 3: google.cloud.bigquery.v2.JoinRestrictionPolicy |
| 608 |
(*PrivacyPolicy)(nil), // 4: google.cloud.bigquery.v2.PrivacyPolicy |
| 609 |
} |
| 610 |
var file_google_cloud_bigquery_v2_privacy_policy_proto_depIdxs = []int32{ |
| 611 |
0, // 0: google.cloud.bigquery.v2.JoinRestrictionPolicy.join_condition:type_name -> google.cloud.bigquery.v2.JoinRestrictionPolicy.JoinCondition |
| 612 |
1, // 1: google.cloud.bigquery.v2.PrivacyPolicy.aggregation_threshold_policy:type_name -> google.cloud.bigquery.v2.AggregationThresholdPolicy |
| 613 |
2, // 2: google.cloud.bigquery.v2.PrivacyPolicy.differential_privacy_policy:type_name -> google.cloud.bigquery.v2.DifferentialPrivacyPolicy |
| 614 |
3, // 3: google.cloud.bigquery.v2.PrivacyPolicy.join_restriction_policy:type_name -> google.cloud.bigquery.v2.JoinRestrictionPolicy |
| 615 |
4, // [4:4] is the sub-list for method output_type |
| 616 |
4, // [4:4] is the sub-list for method input_type |
| 617 |
4, // [4:4] is the sub-list for extension type_name |
| 618 |
4, // [4:4] is the sub-list for extension extendee |
| 619 |
0, // [0:4] is the sub-list for field type_name |
| 620 |
} |
| 621 |
|
| 622 |
func init() { file_google_cloud_bigquery_v2_privacy_policy_proto_init() } |
| 623 |
func file_google_cloud_bigquery_v2_privacy_policy_proto_init() { |
| 624 |
if File_google_cloud_bigquery_v2_privacy_policy_proto != nil { |
| 625 |
return |
| 626 |
} |
| 627 |
file_google_cloud_bigquery_v2_privacy_policy_proto_msgTypes[0].OneofWrappers = []any{} |
| 628 |
file_google_cloud_bigquery_v2_privacy_policy_proto_msgTypes[1].OneofWrappers = []any{} |
| 629 |
file_google_cloud_bigquery_v2_privacy_policy_proto_msgTypes[2].OneofWrappers = []any{} |
| 630 |
file_google_cloud_bigquery_v2_privacy_policy_proto_msgTypes[3].OneofWrappers = []any{ |
| 631 |
(*PrivacyPolicy_AggregationThresholdPolicy)(nil), |
| 632 |
(*PrivacyPolicy_DifferentialPrivacyPolicy)(nil), |
| 633 |
} |
| 634 |
type x struct{} |
| 635 |
out := protoimpl.TypeBuilder{ |
| 636 |
File: protoimpl.DescBuilder{ |
| 637 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 638 |
RawDescriptor: file_google_cloud_bigquery_v2_privacy_policy_proto_rawDesc, |
| 639 |
NumEnums: 1, |
| 640 |
NumMessages: 4, |
| 641 |
NumExtensions: 0, |
| 642 |
NumServices: 0, |
| 643 |
}, |
| 644 |
GoTypes: file_google_cloud_bigquery_v2_privacy_policy_proto_goTypes, |
| 645 |
DependencyIndexes: file_google_cloud_bigquery_v2_privacy_policy_proto_depIdxs, |
| 646 |
EnumInfos: file_google_cloud_bigquery_v2_privacy_policy_proto_enumTypes, |
| 647 |
MessageInfos: file_google_cloud_bigquery_v2_privacy_policy_proto_msgTypes, |
| 648 |
}.Build() |
| 649 |
File_google_cloud_bigquery_v2_privacy_policy_proto = out.File |
| 650 |
file_google_cloud_bigquery_v2_privacy_policy_proto_rawDesc = nil |
| 651 |
file_google_cloud_bigquery_v2_privacy_policy_proto_goTypes = nil |
| 652 |
file_google_cloud_bigquery_v2_privacy_policy_proto_depIdxs = nil |
| 653 |
} |