Debian Codegraph @

bigquery/v2/apiv2/bigquerypb/table_schema.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/bigquery/v2/table_schema.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 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // External systems, such as query engines or table formats, that have their
40 // own data types.
41 type ForeignTypeInfo_TypeSystem int32
42
43 const (
44 // TypeSystem not specified.
45 ForeignTypeInfo_TYPE_SYSTEM_UNSPECIFIED ForeignTypeInfo_TypeSystem = 0
46 // Represents Hive data types.
47 ForeignTypeInfo_HIVE ForeignTypeInfo_TypeSystem = 1
48 )
49
50 // Enum value maps for ForeignTypeInfo_TypeSystem.
51 var (
52 ForeignTypeInfo_TypeSystem_name = map[int32]string{
53 0: "TYPE_SYSTEM_UNSPECIFIED",
54 1: "HIVE",
55 }
56 ForeignTypeInfo_TypeSystem_value = map[string]int32{
57 "TYPE_SYSTEM_UNSPECIFIED": 0,
58 "HIVE": 1,
59 }
60 )
61
62 func (x ForeignTypeInfo_TypeSystem) Enum() *ForeignTypeInfo_TypeSystem {
63 p := new(ForeignTypeInfo_TypeSystem)
64 *p = x
65 return p
66 }
67
68 func (x ForeignTypeInfo_TypeSystem) String() string {
69 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
70 }
71
72 func (ForeignTypeInfo_TypeSystem) Descriptor() protoreflect.EnumDescriptor {
73 return file_google_cloud_bigquery_v2_table_schema_proto_enumTypes[0].Descriptor()
74 }
75
76 func (ForeignTypeInfo_TypeSystem) Type() protoreflect.EnumType {
77 return &file_google_cloud_bigquery_v2_table_schema_proto_enumTypes[0]
78 }
79
80 func (x ForeignTypeInfo_TypeSystem) Number() protoreflect.EnumNumber {
81 return protoreflect.EnumNumber(x)
82 }
83
84 // Deprecated: Use ForeignTypeInfo_TypeSystem.Descriptor instead.
85 func (ForeignTypeInfo_TypeSystem) EnumDescriptor() ([]byte, []int) {
86 return file_google_cloud_bigquery_v2_table_schema_proto_rawDescGZIP(), []int{1, 0}
87 }
88
89 // Rounding mode options that can be used when storing NUMERIC
90 // or BIGNUMERIC values.
91 type TableFieldSchema_RoundingMode int32
92
93 const (
94 // Unspecified will default to using ROUND_HALF_AWAY_FROM_ZERO.
95 TableFieldSchema_ROUNDING_MODE_UNSPECIFIED TableFieldSchema_RoundingMode = 0
96 // ROUND_HALF_AWAY_FROM_ZERO rounds half values away from zero
97 // when applying precision and scale upon writing of NUMERIC and BIGNUMERIC
98 // values.
99 // For Scale: 0
100 // 1.1, 1.2, 1.3, 1.4 => 1
101 // 1.5, 1.6, 1.7, 1.8, 1.9 => 2
102 TableFieldSchema_ROUND_HALF_AWAY_FROM_ZERO TableFieldSchema_RoundingMode = 1
103 // ROUND_HALF_EVEN rounds half values to the nearest even value
104 // when applying precision and scale upon writing of NUMERIC and BIGNUMERIC
105 // values.
106 // For Scale: 0
107 // 1.1, 1.2, 1.3, 1.4 => 1
108 // 1.5 => 2
109 // 1.6, 1.7, 1.8, 1.9 => 2
110 // 2.5 => 2
111 TableFieldSchema_ROUND_HALF_EVEN TableFieldSchema_RoundingMode = 2
112 )
113
114 // Enum value maps for TableFieldSchema_RoundingMode.
115 var (
116 TableFieldSchema_RoundingMode_name = map[int32]string{
117 0: "ROUNDING_MODE_UNSPECIFIED",
118 1: "ROUND_HALF_AWAY_FROM_ZERO",
119 2: "ROUND_HALF_EVEN",
120 }
121 TableFieldSchema_RoundingMode_value = map[string]int32{
122 "ROUNDING_MODE_UNSPECIFIED": 0,
123 "ROUND_HALF_AWAY_FROM_ZERO": 1,
124 "ROUND_HALF_EVEN": 2,
125 }
126 )
127
128 func (x TableFieldSchema_RoundingMode) Enum() *TableFieldSchema_RoundingMode {
129 p := new(TableFieldSchema_RoundingMode)
130 *p = x
131 return p
132 }
133
134 func (x TableFieldSchema_RoundingMode) String() string {
135 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
136 }
137
138 func (TableFieldSchema_RoundingMode) Descriptor() protoreflect.EnumDescriptor {
139 return file_google_cloud_bigquery_v2_table_schema_proto_enumTypes[1].Descriptor()
140 }
141
142 func (TableFieldSchema_RoundingMode) Type() protoreflect.EnumType {
143 return &file_google_cloud_bigquery_v2_table_schema_proto_enumTypes[1]
144 }
145
146 func (x TableFieldSchema_RoundingMode) Number() protoreflect.EnumNumber {
147 return protoreflect.EnumNumber(x)
148 }
149
150 // Deprecated: Use TableFieldSchema_RoundingMode.Descriptor instead.
151 func (TableFieldSchema_RoundingMode) EnumDescriptor() ([]byte, []int) {
152 return file_google_cloud_bigquery_v2_table_schema_proto_rawDescGZIP(), []int{3, 0}
153 }
154
155 // Schema of a table
156 type TableSchema struct {
157 state protoimpl.MessageState
158 sizeCache protoimpl.SizeCache
159 unknownFields protoimpl.UnknownFields
160
161 // Describes the fields in a table.
162 Fields []*TableFieldSchema `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
163 // Optional. Specifies metadata of the foreign data type definition in field
164 // schema
165 // ([TableFieldSchema.foreign_type_definition][google.cloud.bigquery.v2.TableFieldSchema.foreign_type_definition]).
166 ForeignTypeInfo *ForeignTypeInfo `protobuf:"bytes,3,opt,name=foreign_type_info,json=foreignTypeInfo,proto3" json:"foreign_type_info,omitempty"`
167 }
168
169 func (x *TableSchema) Reset() {
170 *x = TableSchema{}
171 mi := &file_google_cloud_bigquery_v2_table_schema_proto_msgTypes[0]
172 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
173 ms.StoreMessageInfo(mi)
174 }
175
176 func (x *TableSchema) String() string {
177 return protoimpl.X.MessageStringOf(x)
178 }
179
180 func (*TableSchema) ProtoMessage() {}
181
182 func (x *TableSchema) ProtoReflect() protoreflect.Message {
183 mi := &file_google_cloud_bigquery_v2_table_schema_proto_msgTypes[0]
184 if x != nil {
185 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
186 if ms.LoadMessageInfo() == nil {
187 ms.StoreMessageInfo(mi)
188 }
189 return ms
190 }
191 return mi.MessageOf(x)
192 }
193
194 // Deprecated: Use TableSchema.ProtoReflect.Descriptor instead.
195 func (*TableSchema) Descriptor() ([]byte, []int) {
196 return file_google_cloud_bigquery_v2_table_schema_proto_rawDescGZIP(), []int{0}
197 }
198
199 func (x *TableSchema) GetFields() []*TableFieldSchema {
200 if x != nil {
201 return x.Fields
202 }
203 return nil
204 }
205
206 func (x *TableSchema) GetForeignTypeInfo() *ForeignTypeInfo {
207 if x != nil {
208 return x.ForeignTypeInfo
209 }
210 return nil
211 }
212
213 // Metadata about the foreign data type definition such as the system
214 // in which the type is defined.
215 type ForeignTypeInfo struct {
216 state protoimpl.MessageState
217 sizeCache protoimpl.SizeCache
218 unknownFields protoimpl.UnknownFields
219
220 // Required. Specifies the system which defines the foreign data type.
221 TypeSystem ForeignTypeInfo_TypeSystem `protobuf:"varint,1,opt,name=type_system,json=typeSystem,proto3,enum=google.cloud.bigquery.v2.ForeignTypeInfo_TypeSystem" json:"type_system,omitempty"`
222 }
223
224 func (x *ForeignTypeInfo) Reset() {
225 *x = ForeignTypeInfo{}
226 mi := &file_google_cloud_bigquery_v2_table_schema_proto_msgTypes[1]
227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
228 ms.StoreMessageInfo(mi)
229 }
230
231 func (x *ForeignTypeInfo) String() string {
232 return protoimpl.X.MessageStringOf(x)
233 }
234
235 func (*ForeignTypeInfo) ProtoMessage() {}
236
237 func (x *ForeignTypeInfo) ProtoReflect() protoreflect.Message {
238 mi := &file_google_cloud_bigquery_v2_table_schema_proto_msgTypes[1]
239 if x != nil {
240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
241 if ms.LoadMessageInfo() == nil {
242 ms.StoreMessageInfo(mi)
243 }
244 return ms
245 }
246 return mi.MessageOf(x)
247 }
248
249 // Deprecated: Use ForeignTypeInfo.ProtoReflect.Descriptor instead.
250 func (*ForeignTypeInfo) Descriptor() ([]byte, []int) {
251 return file_google_cloud_bigquery_v2_table_schema_proto_rawDescGZIP(), []int{1}
252 }
253
254 func (x *ForeignTypeInfo) GetTypeSystem() ForeignTypeInfo_TypeSystem {
255 if x != nil {
256 return x.TypeSystem
257 }
258 return ForeignTypeInfo_TYPE_SYSTEM_UNSPECIFIED
259 }
260
261 // Data policy option proto, it currently supports name only, will support
262 // precedence later.
263 type DataPolicyOption struct {
264 state protoimpl.MessageState
265 sizeCache protoimpl.SizeCache
266 unknownFields protoimpl.UnknownFields
267
268 // Data policy resource name in the form of
269 // projects/project_id/locations/location_id/dataPolicies/data_policy_id.
270 Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
271 }
272
273 func (x *DataPolicyOption) Reset() {
274 *x = DataPolicyOption{}
275 mi := &file_google_cloud_bigquery_v2_table_schema_proto_msgTypes[2]
276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
277 ms.StoreMessageInfo(mi)
278 }
279
280 func (x *DataPolicyOption) String() string {
281 return protoimpl.X.MessageStringOf(x)
282 }
283
284 func (*DataPolicyOption) ProtoMessage() {}
285
286 func (x *DataPolicyOption) ProtoReflect() protoreflect.Message {
287 mi := &file_google_cloud_bigquery_v2_table_schema_proto_msgTypes[2]
288 if x != nil {
289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
290 if ms.LoadMessageInfo() == nil {
291 ms.StoreMessageInfo(mi)
292 }
293 return ms
294 }
295 return mi.MessageOf(x)
296 }
297
298 // Deprecated: Use DataPolicyOption.ProtoReflect.Descriptor instead.
299 func (*DataPolicyOption) Descriptor() ([]byte, []int) {
300 return file_google_cloud_bigquery_v2_table_schema_proto_rawDescGZIP(), []int{2}
301 }
302
303 func (x *DataPolicyOption) GetName() string {
304 if x != nil && x.Name != nil {
305 return *x.Name
306 }
307 return ""
308 }
309
310 // A field in TableSchema
311 type TableFieldSchema struct {
312 state protoimpl.MessageState
313 sizeCache protoimpl.SizeCache
314 unknownFields protoimpl.UnknownFields
315
316 // Required. The field name. The name must contain only letters (a-z, A-Z),
317 // numbers (0-9), or underscores (_), and must start with a letter or
318 // underscore. The maximum length is 300 characters.
319 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
320 // Required. The field data type. Possible values include:
321 //
322 // * STRING
323 // * BYTES
324 // * INTEGER (or INT64)
325 // * FLOAT (or FLOAT64)
326 // * BOOLEAN (or BOOL)
327 // * TIMESTAMP
328 // * DATE
329 // * TIME
330 // * DATETIME
331 // * GEOGRAPHY
332 // * NUMERIC
333 // * BIGNUMERIC
334 // * JSON
335 // * RECORD (or STRUCT)
336 // * RANGE
337 //
338 // Use of RECORD/STRUCT indicates that the field contains a nested schema.
339 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
340 // Optional. The field mode. Possible values include NULLABLE, REQUIRED and
341 // REPEATED. The default value is NULLABLE.
342 Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
343 // Optional. Describes the nested schema fields if the type property is set
344 // to RECORD.
345 Fields []*TableFieldSchema `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"`
346 // Optional. The field description. The maximum length is 1,024 characters.
347 Description *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
348 // Optional. The policy tags attached to this field, used for field-level
349 // access control. If not set, defaults to empty policy_tags.
350 PolicyTags *TableFieldSchema_PolicyTagList `protobuf:"bytes,9,opt,name=policy_tags,json=policyTags,proto3" json:"policy_tags,omitempty"`
351 // Optional. Data policy options, will replace the data_policies.
352 DataPolicies []*DataPolicyOption `protobuf:"bytes,21,rep,name=data_policies,json=dataPolicies,proto3" json:"data_policies,omitempty"`
353 // Optional. Maximum length of values of this field for STRINGS or BYTES.
354 //
355 // If max_length is not specified, no maximum length constraint is imposed
356 // on this field.
357 //
358 // If type = "STRING", then max_length represents the maximum UTF-8
359 // length of strings in this field.
360 //
361 // If type = "BYTES", then max_length represents the maximum number of
362 // bytes in this field.
363 //
364 // It is invalid to set this field if type ≠ "STRING" and ≠ "BYTES".
365 MaxLength int64 `protobuf:"varint,10,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"`
366 // Optional. Precision (maximum number of total digits in base 10) and scale
367 // (maximum number of digits in the fractional part in base 10) constraints
368 // for values of this field for NUMERIC or BIGNUMERIC.
369 //
370 // It is invalid to set precision or scale if type ≠ "NUMERIC" and ≠
371 // "BIGNUMERIC".
372 //
373 // If precision and scale are not specified, no value range constraint is
374 // imposed on this field insofar as values are permitted by the type.
375 //
376 // Values of this NUMERIC or BIGNUMERIC field must be in this range when:
377 //
378 // - Precision (<var>P</var>) and scale (<var>S</var>) are specified:
379 // [-10<sup><var>P</var>-<var>S</var></sup> + 10<sup>-<var>S</var></sup>,
380 // 10<sup><var>P</var>-<var>S</var></sup> - 10<sup>-<var>S</var></sup>]
381 // - Precision (<var>P</var>) is specified but not scale (and thus scale is
382 // interpreted to be equal to zero):
383 // [-10<sup><var>P</var></sup> + 1, 10<sup><var>P</var></sup> - 1].
384 //
385 // Acceptable values for precision and scale if both are specified:
386 //
387 // - If type = "NUMERIC":
388 // 1 &le; precision - scale &le; 29 and 0 &le; scale &le; 9.
389 // - If type = "BIGNUMERIC":
390 // 1 &le; precision - scale &le; 38 and 0 &le; scale &le; 38.
391 //
392 // Acceptable values for precision if only precision is specified but not
393 // scale (and thus scale is interpreted to be equal to zero):
394 //
395 // * If type = "NUMERIC": 1 &le; precision &le; 29.
396 // * If type = "BIGNUMERIC": 1 &le; precision &le; 38.
397 //
398 // If scale is specified but not precision, then it is invalid.
399 Precision int64 `protobuf:"varint,11,opt,name=precision,proto3" json:"precision,omitempty"`
400 // Optional. See documentation for precision.
401 Scale int64 `protobuf:"varint,12,opt,name=scale,proto3" json:"scale,omitempty"`
402 // Optional. Specifies the rounding mode to be used when storing values of
403 // NUMERIC and BIGNUMERIC type.
404 RoundingMode TableFieldSchema_RoundingMode `protobuf:"varint,15,opt,name=rounding_mode,json=roundingMode,proto3,enum=google.cloud.bigquery.v2.TableFieldSchema_RoundingMode" json:"rounding_mode,omitempty"`
405 // Optional. Field collation can be set only when the type of field is STRING.
406 // The following values are supported:
407 //
408 // * 'und:ci': undetermined locale, case insensitive.
409 // * ”: empty string. Default to case-sensitive behavior.
410 Collation *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=collation,proto3" json:"collation,omitempty"`
411 // Optional. A SQL expression to specify the [default value]
412 // (https://cloud.google.com/bigquery/docs/default-values) for this field.
413 DefaultValueExpression *wrapperspb.StringValue `protobuf:"bytes,14,opt,name=default_value_expression,json=defaultValueExpression,proto3" json:"default_value_expression,omitempty"`
414 // Optional. The subtype of the RANGE, if the type of this field is RANGE. If
415 // the type is RANGE, this field is required. Values for the field element
416 // type can be the following:
417 //
418 // * DATE
419 // * DATETIME
420 // * TIMESTAMP
421 RangeElementType *TableFieldSchema_FieldElementType `protobuf:"bytes,18,opt,name=range_element_type,json=rangeElementType,proto3" json:"range_element_type,omitempty"`
422 // Optional. Definition of the foreign data type.
423 // Only valid for top-level schema fields (not nested fields).
424 // If the type is FOREIGN, this field is required.
425 ForeignTypeDefinition string `protobuf:"bytes,23,opt,name=foreign_type_definition,json=foreignTypeDefinition,proto3" json:"foreign_type_definition,omitempty"`
426 }
427
428 func (x *TableFieldSchema) Reset() {
429 *x = TableFieldSchema{}
430 mi := &file_google_cloud_bigquery_v2_table_schema_proto_msgTypes[3]
431 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
432 ms.StoreMessageInfo(mi)
433 }
434
435 func (x *TableFieldSchema) String() string {
436 return protoimpl.X.MessageStringOf(x)
437 }
438
439 func (*TableFieldSchema) ProtoMessage() {}
440
441 func (x *TableFieldSchema) ProtoReflect() protoreflect.Message {
442 mi := &file_google_cloud_bigquery_v2_table_schema_proto_msgTypes[3]
443 if x != nil {
444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
445 if ms.LoadMessageInfo() == nil {
446 ms.StoreMessageInfo(mi)
447 }
448 return ms
449 }
450 return mi.MessageOf(x)
451 }
452
453 // Deprecated: Use TableFieldSchema.ProtoReflect.Descriptor instead.
454 func (*TableFieldSchema) Descriptor() ([]byte, []int) {
455 return file_google_cloud_bigquery_v2_table_schema_proto_rawDescGZIP(), []int{3}
456 }
457
458 func (x *TableFieldSchema) GetName() string {
459 if x != nil {
460 return x.Name
461 }
462 return ""
463 }
464
465 func (x *TableFieldSchema) GetType() string {
466 if x != nil {
467 return x.Type
468 }
469 return ""
470 }
471
472 func (x *TableFieldSchema) GetMode() string {
473 if x != nil {
474 return x.Mode
475 }
476 return ""
477 }
478
479 func (x *TableFieldSchema) GetFields() []*TableFieldSchema {
480 if x != nil {
481 return x.Fields
482 }
483 return nil
484 }
485
486 func (x *TableFieldSchema) GetDescription() *wrapperspb.StringValue {
487 if x != nil {
488 return x.Description
489 }
490 return nil
491 }
492
493 func (x *TableFieldSchema) GetPolicyTags() *TableFieldSchema_PolicyTagList {
494 if x != nil {
495 return x.PolicyTags
496 }
497 return nil
498 }
499
500 func (x *TableFieldSchema) GetDataPolicies() []*DataPolicyOption {
501 if x != nil {
502 return x.DataPolicies
503 }
504 return nil
505 }
506
507 func (x *TableFieldSchema) GetMaxLength() int64 {
508 if x != nil {
509 return x.MaxLength
510 }
511 return 0
512 }
513
514 func (x *TableFieldSchema) GetPrecision() int64 {
515 if x != nil {
516 return x.Precision
517 }
518 return 0
519 }
520
521 func (x *TableFieldSchema) GetScale() int64 {
522 if x != nil {
523 return x.Scale
524 }
525 return 0
526 }
527
528 func (x *TableFieldSchema) GetRoundingMode() TableFieldSchema_RoundingMode {
529 if x != nil {
530 return x.RoundingMode
531 }
532 return TableFieldSchema_ROUNDING_MODE_UNSPECIFIED
533 }
534
535 func (x *TableFieldSchema) GetCollation() *wrapperspb.StringValue {
536 if x != nil {
537 return x.Collation
538 }
539 return nil
540 }
541
542 func (x *TableFieldSchema) GetDefaultValueExpression() *wrapperspb.StringValue {
543 if x != nil {
544 return x.DefaultValueExpression
545 }
546 return nil
547 }
548
549 func (x *TableFieldSchema) GetRangeElementType() *TableFieldSchema_FieldElementType {
550 if x != nil {
551 return x.RangeElementType
552 }
553 return nil
554 }
555
556 func (x *TableFieldSchema) GetForeignTypeDefinition() string {
557 if x != nil {
558 return x.ForeignTypeDefinition
559 }
560 return ""
561 }
562
563 type TableFieldSchema_PolicyTagList struct {
564 state protoimpl.MessageState
565 sizeCache protoimpl.SizeCache
566 unknownFields protoimpl.UnknownFields
567
568 // A list of policy tag resource names. For example,
569 // "projects/1/locations/eu/taxonomies/2/policyTags/3". At most 1 policy tag
570 // is currently allowed.
571 Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
572 }
573
574 func (x *TableFieldSchema_PolicyTagList) Reset() {
575 *x = TableFieldSchema_PolicyTagList{}
576 mi := &file_google_cloud_bigquery_v2_table_schema_proto_msgTypes[4]
577 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
578 ms.StoreMessageInfo(mi)
579 }
580
581 func (x *TableFieldSchema_PolicyTagList) String() string {
582 return protoimpl.X.MessageStringOf(x)
583 }
584
585 func (*TableFieldSchema_PolicyTagList) ProtoMessage() {}
586
587 func (x *TableFieldSchema_PolicyTagList) ProtoReflect() protoreflect.Message {
588 mi := &file_google_cloud_bigquery_v2_table_schema_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 TableFieldSchema_PolicyTagList.ProtoReflect.Descriptor instead.
600 func (*TableFieldSchema_PolicyTagList) Descriptor() ([]byte, []int) {
601 return file_google_cloud_bigquery_v2_table_schema_proto_rawDescGZIP(), []int{3, 0}
602 }
603
604 func (x *TableFieldSchema_PolicyTagList) GetNames() []string {
605 if x != nil {
606 return x.Names
607 }
608 return nil
609 }
610
611 // Represents the type of a field element.
612 type TableFieldSchema_FieldElementType struct {
613 state protoimpl.MessageState
614 sizeCache protoimpl.SizeCache
615 unknownFields protoimpl.UnknownFields
616
617 // Required. The type of a field element. For more information, see
618 // [TableFieldSchema.type][google.cloud.bigquery.v2.TableFieldSchema.type].
619 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
620 }
621
622 func (x *TableFieldSchema_FieldElementType) Reset() {
623 *x = TableFieldSchema_FieldElementType{}
624 mi := &file_google_cloud_bigquery_v2_table_schema_proto_msgTypes[5]
625 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
626 ms.StoreMessageInfo(mi)
627 }
628
629 func (x *TableFieldSchema_FieldElementType) String() string {
630 return protoimpl.X.MessageStringOf(x)
631 }
632
633 func (*TableFieldSchema_FieldElementType) ProtoMessage() {}
634
635 func (x *TableFieldSchema_FieldElementType) ProtoReflect() protoreflect.Message {
636 mi := &file_google_cloud_bigquery_v2_table_schema_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 TableFieldSchema_FieldElementType.ProtoReflect.Descriptor instead.
648 func (*TableFieldSchema_FieldElementType) Descriptor() ([]byte, []int) {
649 return file_google_cloud_bigquery_v2_table_schema_proto_rawDescGZIP(), []int{3, 1}
650 }
651
652 func (x *TableFieldSchema_FieldElementType) GetType() string {
653 if x != nil {
654 return x.Type
655 }
656 return ""
657 }
658
659 var File_google_cloud_bigquery_v2_table_schema_proto protoreflect.FileDescriptor
660
661 var file_google_cloud_bigquery_v2_table_schema_proto_rawDesc = []byte{
662 0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
663 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65,
664 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67,
665 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71,
666 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
667 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69,
668 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
669 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65,
670 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad, 0x01, 0x0a, 0x0b, 0x54, 0x61, 0x62,
671 0x6c, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x42, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c,
672 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
673 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
674 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63,
675 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x5a, 0x0a, 0x11,
676 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x6e, 0x66,
677 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
678 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
679 0x76, 0x32, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e,
680 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e,
681 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xa2, 0x01, 0x0a, 0x0f, 0x46, 0x6f, 0x72,
682 0x65, 0x69, 0x67, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5a, 0x0a, 0x0b,
683 0x74, 0x79, 0x70, 0x65, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28,
684 0x0e, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
685 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6f, 0x72,
686 0x65, 0x69, 0x67, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x54, 0x79, 0x70,
687 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x74, 0x79,
688 0x70, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x22, 0x33, 0x0a, 0x0a, 0x54, 0x79, 0x70, 0x65,
689 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53,
690 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
691 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x49, 0x56, 0x45, 0x10, 0x01, 0x22, 0x34, 0x0a,
692 0x10, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f,
693 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48,
694 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e,
695 0x61, 0x6d, 0x65, 0x22, 0xe8, 0x08, 0x0a, 0x10, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65,
696 0x6c, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
697 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d,
698 0x65, 0x12, 0x17, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
699 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6d, 0x6f,
700 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6d,
701 0x6f, 0x64, 0x65, 0x12, 0x47, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x04, 0x20,
702 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
703 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x54,
704 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42,
705 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x43, 0x0a, 0x0b,
706 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28,
707 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
708 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42,
709 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
710 0x6e, 0x12, 0x5e, 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x74, 0x61, 0x67, 0x73,
711 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
712 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76,
713 0x32, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63, 0x68, 0x65,
714 0x6d, 0x61, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74,
715 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x61, 0x67,
716 0x73, 0x12, 0x54, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69,
717 0x65, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
718 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
719 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4f, 0x70,
720 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x50,
721 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x6c,
722 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x01,
723 0x52, 0x09, 0x6d, 0x61, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x09, 0x70,
724 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03,
725 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x19,
726 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0,
727 0x41, 0x01, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x61, 0x0a, 0x0d, 0x72, 0x6f, 0x75,
728 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e,
729 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
730 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x61, 0x62, 0x6c,
731 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x52, 0x6f, 0x75,
732 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c,
733 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x3f, 0x0a, 0x09,
734 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32,
735 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
736 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0,
737 0x41, 0x01, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5b, 0x0a,
738 0x18, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x65,
739 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32,
740 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
741 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0,
742 0x41, 0x01, 0x52, 0x16, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65,
743 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x6e, 0x0a, 0x12, 0x72, 0x61,
744 0x6e, 0x67, 0x65, 0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65,
745 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
746 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76,
747 0x32, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63, 0x68, 0x65,
748 0x6d, 0x61, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54,
749 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x45,
750 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x17, 0x66, 0x6f,
751 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e,
752 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
753 0x52, 0x15, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x44, 0x65, 0x66,
754 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x25, 0x0a, 0x0d, 0x50, 0x6f, 0x6c, 0x69, 0x63,
755 0x79, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65,
756 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x1a, 0x2b,
757 0x0a, 0x10, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79,
758 0x70, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
759 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x61, 0x0a, 0x0c, 0x52,
760 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x52,
761 0x4f, 0x55, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53,
762 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x4f,
763 0x55, 0x4e, 0x44, 0x5f, 0x48, 0x41, 0x4c, 0x46, 0x5f, 0x41, 0x57, 0x41, 0x59, 0x5f, 0x46, 0x52,
764 0x4f, 0x4d, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x4f, 0x55,
765 0x4e, 0x44, 0x5f, 0x48, 0x41, 0x4c, 0x46, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x10, 0x02, 0x42, 0x6d,
766 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
767 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x10,
768 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f,
769 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
770 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76,
771 0x32, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
772 0x70, 0x62, 0x3b, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70,
773 0x72, 0x6f, 0x74, 0x6f, 0x33,
774 }
775
776 var (
777 file_google_cloud_bigquery_v2_table_schema_proto_rawDescOnce sync.Once
778 file_google_cloud_bigquery_v2_table_schema_proto_rawDescData = file_google_cloud_bigquery_v2_table_schema_proto_rawDesc
779 )
780
781 func file_google_cloud_bigquery_v2_table_schema_proto_rawDescGZIP() []byte {
782 file_google_cloud_bigquery_v2_table_schema_proto_rawDescOnce.Do(func() {
783 file_google_cloud_bigquery_v2_table_schema_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_table_schema_proto_rawDescData)
784 })
785 return file_google_cloud_bigquery_v2_table_schema_proto_rawDescData
786 }
787
788 var file_google_cloud_bigquery_v2_table_schema_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
789 var file_google_cloud_bigquery_v2_table_schema_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
790 var file_google_cloud_bigquery_v2_table_schema_proto_goTypes = []any{
791 (ForeignTypeInfo_TypeSystem)(0), // 0: google.cloud.bigquery.v2.ForeignTypeInfo.TypeSystem
792 (TableFieldSchema_RoundingMode)(0), // 1: google.cloud.bigquery.v2.TableFieldSchema.RoundingMode
793 (*TableSchema)(nil), // 2: google.cloud.bigquery.v2.TableSchema
794 (*ForeignTypeInfo)(nil), // 3: google.cloud.bigquery.v2.ForeignTypeInfo
795 (*DataPolicyOption)(nil), // 4: google.cloud.bigquery.v2.DataPolicyOption
796 (*TableFieldSchema)(nil), // 5: google.cloud.bigquery.v2.TableFieldSchema
797 (*TableFieldSchema_PolicyTagList)(nil), // 6: google.cloud.bigquery.v2.TableFieldSchema.PolicyTagList
798 (*TableFieldSchema_FieldElementType)(nil), // 7: google.cloud.bigquery.v2.TableFieldSchema.FieldElementType
799 (*wrapperspb.StringValue)(nil), // 8: google.protobuf.StringValue
800 }
801 var file_google_cloud_bigquery_v2_table_schema_proto_depIdxs = []int32{
802 5, // 0: google.cloud.bigquery.v2.TableSchema.fields:type_name -> google.cloud.bigquery.v2.TableFieldSchema
803 3, // 1: google.cloud.bigquery.v2.TableSchema.foreign_type_info:type_name -> google.cloud.bigquery.v2.ForeignTypeInfo
804 0, // 2: google.cloud.bigquery.v2.ForeignTypeInfo.type_system:type_name -> google.cloud.bigquery.v2.ForeignTypeInfo.TypeSystem
805 5, // 3: google.cloud.bigquery.v2.TableFieldSchema.fields:type_name -> google.cloud.bigquery.v2.TableFieldSchema
806 8, // 4: google.cloud.bigquery.v2.TableFieldSchema.description:type_name -> google.protobuf.StringValue
807 6, // 5: google.cloud.bigquery.v2.TableFieldSchema.policy_tags:type_name -> google.cloud.bigquery.v2.TableFieldSchema.PolicyTagList
808 4, // 6: google.cloud.bigquery.v2.TableFieldSchema.data_policies:type_name -> google.cloud.bigquery.v2.DataPolicyOption
809 1, // 7: google.cloud.bigquery.v2.TableFieldSchema.rounding_mode:type_name -> google.cloud.bigquery.v2.TableFieldSchema.RoundingMode
810 8, // 8: google.cloud.bigquery.v2.TableFieldSchema.collation:type_name -> google.protobuf.StringValue
811 8, // 9: google.cloud.bigquery.v2.TableFieldSchema.default_value_expression:type_name -> google.protobuf.StringValue
812 7, // 10: google.cloud.bigquery.v2.TableFieldSchema.range_element_type:type_name -> google.cloud.bigquery.v2.TableFieldSchema.FieldElementType
813 11, // [11:11] is the sub-list for method output_type
814 11, // [11:11] is the sub-list for method input_type
815 11, // [11:11] is the sub-list for extension type_name
816 11, // [11:11] is the sub-list for extension extendee
817 0, // [0:11] is the sub-list for field type_name
818 }
819
820 func init() { file_google_cloud_bigquery_v2_table_schema_proto_init() }
821 func file_google_cloud_bigquery_v2_table_schema_proto_init() {
822 if File_google_cloud_bigquery_v2_table_schema_proto != nil {
823 return
824 }
825 file_google_cloud_bigquery_v2_table_schema_proto_msgTypes[2].OneofWrappers = []any{}
826 type x struct{}
827 out := protoimpl.TypeBuilder{
828 File: protoimpl.DescBuilder{
829 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
830 RawDescriptor: file_google_cloud_bigquery_v2_table_schema_proto_rawDesc,
831 NumEnums: 2,
832 NumMessages: 6,
833 NumExtensions: 0,
834 NumServices: 0,
835 },
836 GoTypes: file_google_cloud_bigquery_v2_table_schema_proto_goTypes,
837 DependencyIndexes: file_google_cloud_bigquery_v2_table_schema_proto_depIdxs,
838 EnumInfos: file_google_cloud_bigquery_v2_table_schema_proto_enumTypes,
839 MessageInfos: file_google_cloud_bigquery_v2_table_schema_proto_msgTypes,
840 }.Build()
841 File_google_cloud_bigquery_v2_table_schema_proto = out.File
842 file_google_cloud_bigquery_v2_table_schema_proto_rawDesc = nil
843 file_google_cloud_bigquery_v2_table_schema_proto_goTypes = nil
844 file_google_cloud_bigquery_v2_table_schema_proto_depIdxs = nil
845 }