1// Copyright 2021 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.26.0 18// protoc v3.12.2 19// source: google/cloud/bigquery/v2/standard_sql.proto 20 21package bigquery 22 23import ( 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 32const ( 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 39type StandardSqlDataType_TypeKind int32 40 41const ( 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) 79 80// Enum value maps for StandardSqlDataType_TypeKind. 81var ( 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 122func (x StandardSqlDataType_TypeKind) Enum() *StandardSqlDataType_TypeKind { 123 p := new(StandardSqlDataType_TypeKind) 124 *p = x 125 return p 126} 127 128func (x StandardSqlDataType_TypeKind) String() string { 129 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 130} 131 132func (StandardSqlDataType_TypeKind) Descriptor() protoreflect.EnumDescriptor { 133 return file_google_cloud_bigquery_v2_standard_sql_proto_enumTypes[0].Descriptor() 134} 135 136func (StandardSqlDataType_TypeKind) Type() protoreflect.EnumType { 137 return &file_google_cloud_bigquery_v2_standard_sql_proto_enumTypes[0] 138} 139 140func (x StandardSqlDataType_TypeKind) Number() protoreflect.EnumNumber { 141 return protoreflect.EnumNumber(x) 142} 143 144// Deprecated: Use StandardSqlDataType_TypeKind.Descriptor instead. 145func (StandardSqlDataType_TypeKind) EnumDescriptor() ([]byte, []int) { 146 return file_google_cloud_bigquery_v2_standard_sql_proto_rawDescGZIP(), []int{0, 0} 147} 148 149// The type of a variable, e.g., a function argument. 150// Examples: 151// INT64: {type_kind="INT64"} 152// ARRAY<STRING>: {type_kind="ARRAY", array_element_type="STRING"} 153// STRUCT<x STRING, y ARRAY<DATE>>: 154// {type_kind="STRUCT", 155// struct_type={fields=[ 156// {name="x", type={type_kind="STRING"}}, 157// {name="y", type={type_kind="ARRAY", array_element_type="DATE"}} 158// ]}} 159type StandardSqlDataType struct { 160 state protoimpl.MessageState 161 sizeCache protoimpl.SizeCache 162 unknownFields protoimpl.UnknownFields 163 164 // Required. The top level type of this field. 165 // Can be any standard SQL data type (e.g., "INT64", "DATE", "ARRAY"). 166 TypeKind StandardSqlDataType_TypeKind `protobuf:"varint,1,opt,name=type_kind,json=typeKind,proto3,enum=google.cloud.bigquery.v2.StandardSqlDataType_TypeKind" json:"type_kind,omitempty"` 167 // Types that are assignable to SubType: 168 // *StandardSqlDataType_ArrayElementType 169 // *StandardSqlDataType_StructType 170 SubType isStandardSqlDataType_SubType `protobuf_oneof:"sub_type"` 171} 172 173func (x *StandardSqlDataType) Reset() { 174 *x = StandardSqlDataType{} 175 if protoimpl.UnsafeEnabled { 176 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[0] 177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 178 ms.StoreMessageInfo(mi) 179 } 180} 181 182func (x *StandardSqlDataType) String() string { 183 return protoimpl.X.MessageStringOf(x) 184} 185 186func (*StandardSqlDataType) ProtoMessage() {} 187 188func (x *StandardSqlDataType) ProtoReflect() protoreflect.Message { 189 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[0] 190 if protoimpl.UnsafeEnabled && x != nil { 191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 192 if ms.LoadMessageInfo() == nil { 193 ms.StoreMessageInfo(mi) 194 } 195 return ms 196 } 197 return mi.MessageOf(x) 198} 199 200// Deprecated: Use StandardSqlDataType.ProtoReflect.Descriptor instead. 201func (*StandardSqlDataType) Descriptor() ([]byte, []int) { 202 return file_google_cloud_bigquery_v2_standard_sql_proto_rawDescGZIP(), []int{0} 203} 204 205func (x *StandardSqlDataType) GetTypeKind() StandardSqlDataType_TypeKind { 206 if x != nil { 207 return x.TypeKind 208 } 209 return StandardSqlDataType_TYPE_KIND_UNSPECIFIED 210} 211 212func (m *StandardSqlDataType) GetSubType() isStandardSqlDataType_SubType { 213 if m != nil { 214 return m.SubType 215 } 216 return nil 217} 218 219func (x *StandardSqlDataType) GetArrayElementType() *StandardSqlDataType { 220 if x, ok := x.GetSubType().(*StandardSqlDataType_ArrayElementType); ok { 221 return x.ArrayElementType 222 } 223 return nil 224} 225 226func (x *StandardSqlDataType) GetStructType() *StandardSqlStructType { 227 if x, ok := x.GetSubType().(*StandardSqlDataType_StructType); ok { 228 return x.StructType 229 } 230 return nil 231} 232 233type isStandardSqlDataType_SubType interface { 234 isStandardSqlDataType_SubType() 235} 236 237type StandardSqlDataType_ArrayElementType struct { 238 // The type of the array's elements, if type_kind = "ARRAY". 239 ArrayElementType *StandardSqlDataType `protobuf:"bytes,2,opt,name=array_element_type,json=arrayElementType,proto3,oneof"` 240} 241 242type StandardSqlDataType_StructType struct { 243 // The fields of this struct, in order, if type_kind = "STRUCT". 244 StructType *StandardSqlStructType `protobuf:"bytes,3,opt,name=struct_type,json=structType,proto3,oneof"` 245} 246 247func (*StandardSqlDataType_ArrayElementType) isStandardSqlDataType_SubType() {} 248 249func (*StandardSqlDataType_StructType) isStandardSqlDataType_SubType() {} 250 251// A field or a column. 252type StandardSqlField struct { 253 state protoimpl.MessageState 254 sizeCache protoimpl.SizeCache 255 unknownFields protoimpl.UnknownFields 256 257 // Optional. The name of this field. Can be absent for struct fields. 258 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 259 // Optional. The type of this parameter. Absent if not explicitly 260 // specified (e.g., CREATE FUNCTION statement can omit the return type; 261 // in this case the output parameter does not have this "type" field). 262 Type *StandardSqlDataType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` 263} 264 265func (x *StandardSqlField) Reset() { 266 *x = StandardSqlField{} 267 if protoimpl.UnsafeEnabled { 268 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[1] 269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 270 ms.StoreMessageInfo(mi) 271 } 272} 273 274func (x *StandardSqlField) String() string { 275 return protoimpl.X.MessageStringOf(x) 276} 277 278func (*StandardSqlField) ProtoMessage() {} 279 280func (x *StandardSqlField) ProtoReflect() protoreflect.Message { 281 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[1] 282 if protoimpl.UnsafeEnabled && x != nil { 283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 284 if ms.LoadMessageInfo() == nil { 285 ms.StoreMessageInfo(mi) 286 } 287 return ms 288 } 289 return mi.MessageOf(x) 290} 291 292// Deprecated: Use StandardSqlField.ProtoReflect.Descriptor instead. 293func (*StandardSqlField) Descriptor() ([]byte, []int) { 294 return file_google_cloud_bigquery_v2_standard_sql_proto_rawDescGZIP(), []int{1} 295} 296 297func (x *StandardSqlField) GetName() string { 298 if x != nil { 299 return x.Name 300 } 301 return "" 302} 303 304func (x *StandardSqlField) GetType() *StandardSqlDataType { 305 if x != nil { 306 return x.Type 307 } 308 return nil 309} 310 311type StandardSqlStructType struct { 312 state protoimpl.MessageState 313 sizeCache protoimpl.SizeCache 314 unknownFields protoimpl.UnknownFields 315 316 Fields []*StandardSqlField `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` 317} 318 319func (x *StandardSqlStructType) Reset() { 320 *x = StandardSqlStructType{} 321 if protoimpl.UnsafeEnabled { 322 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[2] 323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 324 ms.StoreMessageInfo(mi) 325 } 326} 327 328func (x *StandardSqlStructType) String() string { 329 return protoimpl.X.MessageStringOf(x) 330} 331 332func (*StandardSqlStructType) ProtoMessage() {} 333 334func (x *StandardSqlStructType) ProtoReflect() protoreflect.Message { 335 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[2] 336 if protoimpl.UnsafeEnabled && x != nil { 337 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 338 if ms.LoadMessageInfo() == nil { 339 ms.StoreMessageInfo(mi) 340 } 341 return ms 342 } 343 return mi.MessageOf(x) 344} 345 346// Deprecated: Use StandardSqlStructType.ProtoReflect.Descriptor instead. 347func (*StandardSqlStructType) Descriptor() ([]byte, []int) { 348 return file_google_cloud_bigquery_v2_standard_sql_proto_rawDescGZIP(), []int{2} 349} 350 351func (x *StandardSqlStructType) GetFields() []*StandardSqlField { 352 if x != nil { 353 return x.Fields 354 } 355 return nil 356} 357 358// A table type 359type StandardSqlTableType struct { 360 state protoimpl.MessageState 361 sizeCache protoimpl.SizeCache 362 unknownFields protoimpl.UnknownFields 363 364 // The columns in this table type 365 Columns []*StandardSqlField `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"` 366} 367 368func (x *StandardSqlTableType) Reset() { 369 *x = StandardSqlTableType{} 370 if protoimpl.UnsafeEnabled { 371 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[3] 372 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 373 ms.StoreMessageInfo(mi) 374 } 375} 376 377func (x *StandardSqlTableType) String() string { 378 return protoimpl.X.MessageStringOf(x) 379} 380 381func (*StandardSqlTableType) ProtoMessage() {} 382 383func (x *StandardSqlTableType) ProtoReflect() protoreflect.Message { 384 mi := &file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes[3] 385 if protoimpl.UnsafeEnabled && x != nil { 386 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 387 if ms.LoadMessageInfo() == nil { 388 ms.StoreMessageInfo(mi) 389 } 390 return ms 391 } 392 return mi.MessageOf(x) 393} 394 395// Deprecated: Use StandardSqlTableType.ProtoReflect.Descriptor instead. 396func (*StandardSqlTableType) Descriptor() ([]byte, []int) { 397 return file_google_cloud_bigquery_v2_standard_sql_proto_rawDescGZIP(), []int{3} 398} 399 400func (x *StandardSqlTableType) GetColumns() []*StandardSqlField { 401 if x != nil { 402 return x.Columns 403 } 404 return nil 405} 406 407var File_google_cloud_bigquery_v2_standard_sql_proto protoreflect.FileDescriptor 408 409var file_google_cloud_bigquery_v2_standard_sql_proto_rawDesc = []byte{ 410 0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 411 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x74, 0x61, 0x6e, 0x64, 412 0x61, 0x72, 0x64, 0x5f, 0x73, 0x71, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 413 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 414 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 415 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 416 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 417 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 418 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x04, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x6e, 0x64, 419 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x58, 420 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 421 0x0e, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 422 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 423 0x6e, 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 424 0x2e, 0x54, 0x79, 0x70, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 425 0x74, 0x79, 0x70, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x5d, 0x0a, 0x12, 0x61, 0x72, 0x72, 0x61, 426 0x79, 0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 427 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 428 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 429 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x54, 430 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x10, 0x61, 0x72, 0x72, 0x61, 0x79, 0x45, 0x6c, 0x65, 0x6d, 431 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x52, 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x75, 0x63, 432 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 433 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 434 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 435 0x53, 0x71, 0x6c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 436 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0xea, 0x01, 0x0a, 0x08, 437 0x54, 0x79, 0x70, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x59, 0x50, 0x45, 438 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 439 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x02, 0x12, 0x08, 440 0x0a, 0x04, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 441 0x54, 0x36, 0x34, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 442 0x08, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 443 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x13, 0x12, 0x08, 0x0a, 0x04, 0x44, 444 0x41, 0x54, 0x45, 0x10, 0x0a, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x14, 0x12, 445 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x15, 0x12, 0x0c, 0x0a, 446 0x08, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x10, 0x1a, 0x12, 0x0d, 0x0a, 0x09, 0x47, 447 0x45, 0x4f, 0x47, 0x52, 0x41, 0x50, 0x48, 0x59, 0x10, 0x16, 0x12, 0x0b, 0x0a, 0x07, 0x4e, 0x55, 448 0x4d, 0x45, 0x52, 0x49, 0x43, 0x10, 0x17, 0x12, 0x0e, 0x0a, 0x0a, 0x42, 0x49, 0x47, 0x4e, 0x55, 449 0x4d, 0x45, 0x52, 0x49, 0x43, 0x10, 0x18, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 450 0x19, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x52, 0x41, 0x59, 0x10, 0x10, 0x12, 0x0a, 0x0a, 0x06, 451 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x10, 0x11, 0x42, 0x0a, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x5f, 452 0x74, 0x79, 0x70, 0x65, 0x22, 0x73, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 453 0x53, 0x71, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 454 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 455 0x65, 0x12, 0x46, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 456 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 457 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x6e, 0x64, 458 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 459 0xe0, 0x41, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x5b, 0x0a, 0x15, 0x53, 0x74, 0x61, 460 0x6e, 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 461 0x70, 0x65, 0x12, 0x42, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 462 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 463 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 464 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 465 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0x5c, 0x0a, 0x14, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 466 0x72, 0x64, 0x53, 0x71, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x44, 467 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 468 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 469 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x6e, 0x64, 470 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6c, 471 0x75, 0x6d, 0x6e, 0x73, 0x42, 0x72, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 472 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 473 0x79, 0x2e, 0x76, 0x32, 0x42, 0x10, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 474 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 475 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 476 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 477 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x3b, 478 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 479} 480 481var ( 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 486func 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 493var file_google_cloud_bigquery_v2_standard_sql_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 494var file_google_cloud_bigquery_v2_standard_sql_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 495var file_google_cloud_bigquery_v2_standard_sql_proto_goTypes = []interface{}{ 496 (StandardSqlDataType_TypeKind)(0), // 0: google.cloud.bigquery.v2.StandardSqlDataType.TypeKind 497 (*StandardSqlDataType)(nil), // 1: google.cloud.bigquery.v2.StandardSqlDataType 498 (*StandardSqlField)(nil), // 2: google.cloud.bigquery.v2.StandardSqlField 499 (*StandardSqlStructType)(nil), // 3: google.cloud.bigquery.v2.StandardSqlStructType 500 (*StandardSqlTableType)(nil), // 4: google.cloud.bigquery.v2.StandardSqlTableType 501} 502var file_google_cloud_bigquery_v2_standard_sql_proto_depIdxs = []int32{ 503 0, // 0: google.cloud.bigquery.v2.StandardSqlDataType.type_kind:type_name -> google.cloud.bigquery.v2.StandardSqlDataType.TypeKind 504 1, // 1: google.cloud.bigquery.v2.StandardSqlDataType.array_element_type:type_name -> google.cloud.bigquery.v2.StandardSqlDataType 505 3, // 2: google.cloud.bigquery.v2.StandardSqlDataType.struct_type:type_name -> google.cloud.bigquery.v2.StandardSqlStructType 506 1, // 3: google.cloud.bigquery.v2.StandardSqlField.type:type_name -> google.cloud.bigquery.v2.StandardSqlDataType 507 2, // 4: google.cloud.bigquery.v2.StandardSqlStructType.fields:type_name -> google.cloud.bigquery.v2.StandardSqlField 508 2, // 5: google.cloud.bigquery.v2.StandardSqlTableType.columns:type_name -> google.cloud.bigquery.v2.StandardSqlField 509 6, // [6:6] is the sub-list for method output_type 510 6, // [6:6] is the sub-list for method input_type 511 6, // [6:6] is the sub-list for extension type_name 512 6, // [6:6] is the sub-list for extension extendee 513 0, // [0:6] is the sub-list for field type_name 514} 515 516func init() { file_google_cloud_bigquery_v2_standard_sql_proto_init() } 517func 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