1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package bigquery
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 type StandardSqlDataType_TypeKind int32
40
41 const (
42
43 StandardSqlDataType_TYPE_KIND_UNSPECIFIED StandardSqlDataType_TypeKind = 0
44
45 StandardSqlDataType_INT64 StandardSqlDataType_TypeKind = 2
46
47 StandardSqlDataType_BOOL StandardSqlDataType_TypeKind = 5
48
49 StandardSqlDataType_FLOAT64 StandardSqlDataType_TypeKind = 7
50
51 StandardSqlDataType_STRING StandardSqlDataType_TypeKind = 8
52
53 StandardSqlDataType_BYTES StandardSqlDataType_TypeKind = 9
54
55
56 StandardSqlDataType_TIMESTAMP StandardSqlDataType_TypeKind = 19
57
58 StandardSqlDataType_DATE StandardSqlDataType_TypeKind = 10
59
60 StandardSqlDataType_TIME StandardSqlDataType_TypeKind = 20
61
62 StandardSqlDataType_DATETIME StandardSqlDataType_TypeKind = 21
63
64 StandardSqlDataType_INTERVAL StandardSqlDataType_TypeKind = 26
65
66 StandardSqlDataType_GEOGRAPHY StandardSqlDataType_TypeKind = 22
67
68 StandardSqlDataType_NUMERIC StandardSqlDataType_TypeKind = 23
69
70 StandardSqlDataType_BIGNUMERIC StandardSqlDataType_TypeKind = 24
71
72 StandardSqlDataType_JSON StandardSqlDataType_TypeKind = 25
73
74 StandardSqlDataType_ARRAY StandardSqlDataType_TypeKind = 16
75
76
77 StandardSqlDataType_STRUCT StandardSqlDataType_TypeKind = 17
78 )
79
80
81 var (
82 StandardSqlDataType_TypeKind_name = map[int32]string{
83 0: "TYPE_KIND_UNSPECIFIED",
84 2: "INT64",
85 5: "BOOL",
86 7: "FLOAT64",
87 8: "STRING",
88 9: "BYTES",
89 19: "TIMESTAMP",
90 10: "DATE",
91 20: "TIME",
92 21: "DATETIME",
93 26: "INTERVAL",
94 22: "GEOGRAPHY",
95 23: "NUMERIC",
96 24: "BIGNUMERIC",
97 25: "JSON",
98 16: "ARRAY",
99 17: "STRUCT",
100 }
101 StandardSqlDataType_TypeKind_value = map[string]int32{
102 "TYPE_KIND_UNSPECIFIED": 0,
103 "INT64": 2,
104 "BOOL": 5,
105 "FLOAT64": 7,
106 "STRING": 8,
107 "BYTES": 9,
108 "TIMESTAMP": 19,
109 "DATE": 10,
110 "TIME": 20,
111 "DATETIME": 21,
112 "INTERVAL": 26,
113 "GEOGRAPHY": 22,
114 "NUMERIC": 23,
115 "BIGNUMERIC": 24,
116 "JSON": 25,
117 "ARRAY": 16,
118 "STRUCT": 17,
119 }
120 )
121
122 func (x StandardSqlDataType_TypeKind) Enum() *StandardSqlDataType_TypeKind {
123 p := new(StandardSqlDataType_TypeKind)
124 *p = x
125 return p
126 }
127
128 func (x StandardSqlDataType_TypeKind) String() string {
129 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
130 }
131
132 func (StandardSqlDataType_TypeKind) Descriptor() protoreflect.EnumDescriptor {
133 return file_google_cloud_bigquery_v2_standard_sql_proto_enumTypes[0].Descriptor()
134 }
135
136 func (StandardSqlDataType_TypeKind) Type() protoreflect.EnumType {
137 return &file_google_cloud_bigquery_v2_standard_sql_proto_enumTypes[0]
138 }
139
140 func (x StandardSqlDataType_TypeKind) Number() protoreflect.EnumNumber {
141 return protoreflect.EnumNumber(x)
142 }
143
144
145 func (StandardSqlDataType_TypeKind) EnumDescriptor() ([]byte, []int) {
146 return file_google_cloud_bigquery_v2_standard_sql_proto_rawDescGZIP(), []int{0, 0}
147 }
148
149
150
151
152
153
154
155
156
157
158
159
160 type StandardSqlDataType struct {
161 state protoimpl.MessageState
162 sizeCache protoimpl.SizeCache
163 unknownFields protoimpl.UnknownFields
164
165
166
167 TypeKind StandardSqlDataType_TypeKind `protobuf:"varint,1,opt,name=type_kind,json=typeKind,proto3,enum=google.cloud.bigquery.v2.StandardSqlDataType_TypeKind" json:"type_kind,omitempty"`
168
169
170
171 SubType isStandardSqlDataType_SubType `protobuf_oneof:"sub_type"`
172 }
173
174 func (x *StandardSqlDataType) Reset() {
175 *x = StandardSqlDataType{}
176 if protoimpl.UnsafeEnabled {
177 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[0]
178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
179 ms.StoreMessageInfo(mi)
180 }
181 }
182
183 func (x *StandardSqlDataType) String() string {
184 return protoimpl.X.MessageStringOf(x)
185 }
186
187 func (*StandardSqlDataType) ProtoMessage() {}
188
189 func (x *StandardSqlDataType) ProtoReflect() protoreflect.Message {
190 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[0]
191 if protoimpl.UnsafeEnabled && x != nil {
192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
193 if ms.LoadMessageInfo() == nil {
194 ms.StoreMessageInfo(mi)
195 }
196 return ms
197 }
198 return mi.MessageOf(x)
199 }
200
201
202 func (*StandardSqlDataType) Descriptor() ([]byte, []int) {
203 return file_google_cloud_bigquery_v2_standard_sql_proto_rawDescGZIP(), []int{0}
204 }
205
206 func (x *StandardSqlDataType) GetTypeKind() StandardSqlDataType_TypeKind {
207 if x != nil {
208 return x.TypeKind
209 }
210 return StandardSqlDataType_TYPE_KIND_UNSPECIFIED
211 }
212
213 func (m *StandardSqlDataType) GetSubType() isStandardSqlDataType_SubType {
214 if m != nil {
215 return m.SubType
216 }
217 return nil
218 }
219
220 func (x *StandardSqlDataType) GetArrayElementType() *StandardSqlDataType {
221 if x, ok := x.GetSubType().(*StandardSqlDataType_ArrayElementType); ok {
222 return x.ArrayElementType
223 }
224 return nil
225 }
226
227 func (x *StandardSqlDataType) GetStructType() *StandardSqlStructType {
228 if x, ok := x.GetSubType().(*StandardSqlDataType_StructType); ok {
229 return x.StructType
230 }
231 return nil
232 }
233
234 type isStandardSqlDataType_SubType interface {
235 isStandardSqlDataType_SubType()
236 }
237
238 type StandardSqlDataType_ArrayElementType struct {
239
240 ArrayElementType *StandardSqlDataType `protobuf:"bytes,2,opt,name=array_element_type,json=arrayElementType,proto3,oneof"`
241 }
242
243 type StandardSqlDataType_StructType struct {
244
245 StructType *StandardSqlStructType `protobuf:"bytes,3,opt,name=struct_type,json=structType,proto3,oneof"`
246 }
247
248 func (*StandardSqlDataType_ArrayElementType) isStandardSqlDataType_SubType() {}
249
250 func (*StandardSqlDataType_StructType) isStandardSqlDataType_SubType() {}
251
252
253 type StandardSqlField struct {
254 state protoimpl.MessageState
255 sizeCache protoimpl.SizeCache
256 unknownFields protoimpl.UnknownFields
257
258
259 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
260
261
262
263 Type *StandardSqlDataType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
264 }
265
266 func (x *StandardSqlField) Reset() {
267 *x = StandardSqlField{}
268 if protoimpl.UnsafeEnabled {
269 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[1]
270 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
271 ms.StoreMessageInfo(mi)
272 }
273 }
274
275 func (x *StandardSqlField) String() string {
276 return protoimpl.X.MessageStringOf(x)
277 }
278
279 func (*StandardSqlField) ProtoMessage() {}
280
281 func (x *StandardSqlField) ProtoReflect() protoreflect.Message {
282 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[1]
283 if protoimpl.UnsafeEnabled && x != nil {
284 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
285 if ms.LoadMessageInfo() == nil {
286 ms.StoreMessageInfo(mi)
287 }
288 return ms
289 }
290 return mi.MessageOf(x)
291 }
292
293
294 func (*StandardSqlField) Descriptor() ([]byte, []int) {
295 return file_google_cloud_bigquery_v2_standard_sql_proto_rawDescGZIP(), []int{1}
296 }
297
298 func (x *StandardSqlField) GetName() string {
299 if x != nil {
300 return x.Name
301 }
302 return ""
303 }
304
305 func (x *StandardSqlField) GetType() *StandardSqlDataType {
306 if x != nil {
307 return x.Type
308 }
309 return nil
310 }
311
312 type StandardSqlStructType struct {
313 state protoimpl.MessageState
314 sizeCache protoimpl.SizeCache
315 unknownFields protoimpl.UnknownFields
316
317 Fields []*StandardSqlField `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
318 }
319
320 func (x *StandardSqlStructType) Reset() {
321 *x = StandardSqlStructType{}
322 if protoimpl.UnsafeEnabled {
323 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[2]
324 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
325 ms.StoreMessageInfo(mi)
326 }
327 }
328
329 func (x *StandardSqlStructType) String() string {
330 return protoimpl.X.MessageStringOf(x)
331 }
332
333 func (*StandardSqlStructType) ProtoMessage() {}
334
335 func (x *StandardSqlStructType) ProtoReflect() protoreflect.Message {
336 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[2]
337 if protoimpl.UnsafeEnabled && x != nil {
338 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
339 if ms.LoadMessageInfo() == nil {
340 ms.StoreMessageInfo(mi)
341 }
342 return ms
343 }
344 return mi.MessageOf(x)
345 }
346
347
348 func (*StandardSqlStructType) Descriptor() ([]byte, []int) {
349 return file_google_cloud_bigquery_v2_standard_sql_proto_rawDescGZIP(), []int{2}
350 }
351
352 func (x *StandardSqlStructType) GetFields() []*StandardSqlField {
353 if x != nil {
354 return x.Fields
355 }
356 return nil
357 }
358
359
360 type StandardSqlTableType struct {
361 state protoimpl.MessageState
362 sizeCache protoimpl.SizeCache
363 unknownFields protoimpl.UnknownFields
364
365
366 Columns []*StandardSqlField `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
367 }
368
369 func (x *StandardSqlTableType) Reset() {
370 *x = StandardSqlTableType{}
371 if protoimpl.UnsafeEnabled {
372 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[3]
373 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
374 ms.StoreMessageInfo(mi)
375 }
376 }
377
378 func (x *StandardSqlTableType) String() string {
379 return protoimpl.X.MessageStringOf(x)
380 }
381
382 func (*StandardSqlTableType) ProtoMessage() {}
383
384 func (x *StandardSqlTableType) ProtoReflect() protoreflect.Message {
385 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[3]
386 if protoimpl.UnsafeEnabled && x != nil {
387 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
388 if ms.LoadMessageInfo() == nil {
389 ms.StoreMessageInfo(mi)
390 }
391 return ms
392 }
393 return mi.MessageOf(x)
394 }
395
396
397 func (*StandardSqlTableType) Descriptor() ([]byte, []int) {
398 return file_google_cloud_bigquery_v2_standard_sql_proto_rawDescGZIP(), []int{3}
399 }
400
401 func (x *StandardSqlTableType) GetColumns() []*StandardSqlField {
402 if x != nil {
403 return x.Columns
404 }
405 return nil
406 }
407
408 var File_google_cloud_bigquery_v2_standard_sql_proto protoreflect.FileDescriptor
409
410 var file_google_cloud_bigquery_v2_standard_sql_proto_rawDesc = []byte{
411 0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
412 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x74, 0x61, 0x6e, 0x64,
413 0x61, 0x72, 0x64, 0x5f, 0x73, 0x71, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67,
414 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71,
415 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
416 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69,
417 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x04, 0x0a, 0x13, 0x53, 0x74, 0x61,
418 0x6e, 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65,
419 0x12, 0x58, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20,
420 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
421 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53,
422 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79,
423 0x70, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x42, 0x03, 0xe0, 0x41, 0x02,
424 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x5d, 0x0a, 0x12, 0x61, 0x72,
425 0x72, 0x61, 0x79, 0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65,
426 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
427 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76,
428 0x32, 0x2e, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x44, 0x61, 0x74,
429 0x61, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x10, 0x61, 0x72, 0x72, 0x61, 0x79, 0x45, 0x6c,
430 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x52, 0x0a, 0x0b, 0x73, 0x74, 0x72,
431 0x75, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f,
432 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
433 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61,
434 0x72, 0x64, 0x53, 0x71, 0x6c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48,
435 0x00, 0x52, 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0xea, 0x01,
436 0x0a, 0x08, 0x54, 0x79, 0x70, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x59,
437 0x50, 0x45, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
438 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x02,
439 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c,
440 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e,
441 0x47, 0x10, 0x08, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x09, 0x12, 0x0d,
442 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x13, 0x12, 0x08, 0x0a,
443 0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x0a, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x49, 0x4d, 0x45, 0x10,
444 0x14, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x15, 0x12,
445 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x10, 0x1a, 0x12, 0x0d, 0x0a,
446 0x09, 0x47, 0x45, 0x4f, 0x47, 0x52, 0x41, 0x50, 0x48, 0x59, 0x10, 0x16, 0x12, 0x0b, 0x0a, 0x07,
447 0x4e, 0x55, 0x4d, 0x45, 0x52, 0x49, 0x43, 0x10, 0x17, 0x12, 0x0e, 0x0a, 0x0a, 0x42, 0x49, 0x47,
448 0x4e, 0x55, 0x4d, 0x45, 0x52, 0x49, 0x43, 0x10, 0x18, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f,
449 0x4e, 0x10, 0x19, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x52, 0x41, 0x59, 0x10, 0x10, 0x12, 0x0a,
450 0x0a, 0x06, 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x10, 0x11, 0x42, 0x0a, 0x0a, 0x08, 0x73, 0x75,
451 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x73, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61,
452 0x72, 0x64, 0x53, 0x71, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61,
453 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6e,
454 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
455 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
456 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61,
457 0x6e, 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65,
458 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x5b, 0x0a, 0x15, 0x53,
459 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74,
460 0x54, 0x79, 0x70, 0x65, 0x12, 0x42, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01,
461 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
462 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e,
463 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64,
464 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0x5c, 0x0a, 0x14, 0x53, 0x74, 0x61, 0x6e,
465 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65,
466 0x12, 0x44, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
467 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
468 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61,
469 0x6e, 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x07, 0x63,
470 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x42, 0x72, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
471 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75,
472 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x10, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64,
473 0x53, 0x71, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
474 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70,
475 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f,
476 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76,
477 0x32, 0x3b, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
478 0x6f, 0x33,
479 }
480
481 var (
482 file_google_cloud_bigquery_v2_standard_sql_proto_rawDescOnce sync.Once
483 file_google_cloud_bigquery_v2_standard_sql_proto_rawDescData = file_google_cloud_bigquery_v2_standard_sql_proto_rawDesc
484 )
485
486 func file_google_cloud_bigquery_v2_standard_sql_proto_rawDescGZIP() []byte {
487 file_google_cloud_bigquery_v2_standard_sql_proto_rawDescOnce.Do(func() {
488 file_google_cloud_bigquery_v2_standard_sql_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_standard_sql_proto_rawDescData)
489 })
490 return file_google_cloud_bigquery_v2_standard_sql_proto_rawDescData
491 }
492
493 var file_google_cloud_bigquery_v2_standard_sql_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
494 var file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
495 var file_google_cloud_bigquery_v2_standard_sql_proto_goTypes = []interface{}{
496 (StandardSqlDataType_TypeKind)(0),
497 (*StandardSqlDataType)(nil),
498 (*StandardSqlField)(nil),
499 (*StandardSqlStructType)(nil),
500 (*StandardSqlTableType)(nil),
501 }
502 var file_google_cloud_bigquery_v2_standard_sql_proto_depIdxs = []int32{
503 0,
504 1,
505 3,
506 1,
507 2,
508 2,
509 6,
510 6,
511 6,
512 6,
513 0,
514 }
515
516 func init() { file_google_cloud_bigquery_v2_standard_sql_proto_init() }
517 func file_google_cloud_bigquery_v2_standard_sql_proto_init() {
518 if File_google_cloud_bigquery_v2_standard_sql_proto != nil {
519 return
520 }
521 if !protoimpl.UnsafeEnabled {
522 file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
523 switch v := v.(*StandardSqlDataType); i {
524 case 0:
525 return &v.state
526 case 1:
527 return &v.sizeCache
528 case 2:
529 return &v.unknownFields
530 default:
531 return nil
532 }
533 }
534 file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
535 switch v := v.(*StandardSqlField); i {
536 case 0:
537 return &v.state
538 case 1:
539 return &v.sizeCache
540 case 2:
541 return &v.unknownFields
542 default:
543 return nil
544 }
545 }
546 file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
547 switch v := v.(*StandardSqlStructType); i {
548 case 0:
549 return &v.state
550 case 1:
551 return &v.sizeCache
552 case 2:
553 return &v.unknownFields
554 default:
555 return nil
556 }
557 }
558 file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
559 switch v := v.(*StandardSqlTableType); i {
560 case 0:
561 return &v.state
562 case 1:
563 return &v.sizeCache
564 case 2:
565 return &v.unknownFields
566 default:
567 return nil
568 }
569 }
570 }
571 file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[0].OneofWrappers = []interface{}{
572 (*StandardSqlDataType_ArrayElementType)(nil),
573 (*StandardSqlDataType_StructType)(nil),
574 }
575 type x struct{}
576 out := protoimpl.TypeBuilder{
577 File: protoimpl.DescBuilder{
578 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
579 RawDescriptor: file_google_cloud_bigquery_v2_standard_sql_proto_rawDesc,
580 NumEnums: 1,
581 NumMessages: 4,
582 NumExtensions: 0,
583 NumServices: 0,
584 },
585 GoTypes: file_google_cloud_bigquery_v2_standard_sql_proto_goTypes,
586 DependencyIndexes: file_google_cloud_bigquery_v2_standard_sql_proto_depIdxs,
587 EnumInfos: file_google_cloud_bigquery_v2_standard_sql_proto_enumTypes,
588 MessageInfos: file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes,
589 }.Build()
590 File_google_cloud_bigquery_v2_standard_sql_proto = out.File
591 file_google_cloud_bigquery_v2_standard_sql_proto_rawDesc = nil
592 file_google_cloud_bigquery_v2_standard_sql_proto_goTypes = nil
593 file_google_cloud_bigquery_v2_standard_sql_proto_depIdxs = nil
594 }
595
View as plain text