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