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