1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package storage
22
23 import (
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
33 const (
34
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40
41
42 const _ = proto.ProtoPackageIsVersion4
43
44 type TableFieldSchema_Type int32
45
46 const (
47
48 TableFieldSchema_TYPE_UNSPECIFIED TableFieldSchema_Type = 0
49
50 TableFieldSchema_STRING TableFieldSchema_Type = 1
51
52 TableFieldSchema_INT64 TableFieldSchema_Type = 2
53
54 TableFieldSchema_DOUBLE TableFieldSchema_Type = 3
55
56 TableFieldSchema_STRUCT TableFieldSchema_Type = 4
57
58 TableFieldSchema_BYTES TableFieldSchema_Type = 5
59
60 TableFieldSchema_BOOL TableFieldSchema_Type = 6
61
62 TableFieldSchema_TIMESTAMP TableFieldSchema_Type = 7
63
64 TableFieldSchema_DATE TableFieldSchema_Type = 8
65
66 TableFieldSchema_TIME TableFieldSchema_Type = 9
67
68 TableFieldSchema_DATETIME TableFieldSchema_Type = 10
69
70 TableFieldSchema_GEOGRAPHY TableFieldSchema_Type = 11
71
72 TableFieldSchema_NUMERIC TableFieldSchema_Type = 12
73 )
74
75
76 var (
77 TableFieldSchema_Type_name = map[int32]string{
78 0: "TYPE_UNSPECIFIED",
79 1: "STRING",
80 2: "INT64",
81 3: "DOUBLE",
82 4: "STRUCT",
83 5: "BYTES",
84 6: "BOOL",
85 7: "TIMESTAMP",
86 8: "DATE",
87 9: "TIME",
88 10: "DATETIME",
89 11: "GEOGRAPHY",
90 12: "NUMERIC",
91 }
92 TableFieldSchema_Type_value = map[string]int32{
93 "TYPE_UNSPECIFIED": 0,
94 "STRING": 1,
95 "INT64": 2,
96 "DOUBLE": 3,
97 "STRUCT": 4,
98 "BYTES": 5,
99 "BOOL": 6,
100 "TIMESTAMP": 7,
101 "DATE": 8,
102 "TIME": 9,
103 "DATETIME": 10,
104 "GEOGRAPHY": 11,
105 "NUMERIC": 12,
106 }
107 )
108
109 func (x TableFieldSchema_Type) Enum() *TableFieldSchema_Type {
110 p := new(TableFieldSchema_Type)
111 *p = x
112 return p
113 }
114
115 func (x TableFieldSchema_Type) String() string {
116 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
117 }
118
119 func (TableFieldSchema_Type) Descriptor() protoreflect.EnumDescriptor {
120 return file_google_cloud_bigquery_storage_v1alpha2_table_proto_enumTypes[0].Descriptor()
121 }
122
123 func (TableFieldSchema_Type) Type() protoreflect.EnumType {
124 return &file_google_cloud_bigquery_storage_v1alpha2_table_proto_enumTypes[0]
125 }
126
127 func (x TableFieldSchema_Type) Number() protoreflect.EnumNumber {
128 return protoreflect.EnumNumber(x)
129 }
130
131
132 func (TableFieldSchema_Type) EnumDescriptor() ([]byte, []int) {
133 return file_google_cloud_bigquery_storage_v1alpha2_table_proto_rawDescGZIP(), []int{1, 0}
134 }
135
136 type TableFieldSchema_Mode int32
137
138 const (
139
140 TableFieldSchema_MODE_UNSPECIFIED TableFieldSchema_Mode = 0
141 TableFieldSchema_NULLABLE TableFieldSchema_Mode = 1
142 TableFieldSchema_REQUIRED TableFieldSchema_Mode = 2
143 TableFieldSchema_REPEATED TableFieldSchema_Mode = 3
144 )
145
146
147 var (
148 TableFieldSchema_Mode_name = map[int32]string{
149 0: "MODE_UNSPECIFIED",
150 1: "NULLABLE",
151 2: "REQUIRED",
152 3: "REPEATED",
153 }
154 TableFieldSchema_Mode_value = map[string]int32{
155 "MODE_UNSPECIFIED": 0,
156 "NULLABLE": 1,
157 "REQUIRED": 2,
158 "REPEATED": 3,
159 }
160 )
161
162 func (x TableFieldSchema_Mode) Enum() *TableFieldSchema_Mode {
163 p := new(TableFieldSchema_Mode)
164 *p = x
165 return p
166 }
167
168 func (x TableFieldSchema_Mode) String() string {
169 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
170 }
171
172 func (TableFieldSchema_Mode) Descriptor() protoreflect.EnumDescriptor {
173 return file_google_cloud_bigquery_storage_v1alpha2_table_proto_enumTypes[1].Descriptor()
174 }
175
176 func (TableFieldSchema_Mode) Type() protoreflect.EnumType {
177 return &file_google_cloud_bigquery_storage_v1alpha2_table_proto_enumTypes[1]
178 }
179
180 func (x TableFieldSchema_Mode) Number() protoreflect.EnumNumber {
181 return protoreflect.EnumNumber(x)
182 }
183
184
185 func (TableFieldSchema_Mode) EnumDescriptor() ([]byte, []int) {
186 return file_google_cloud_bigquery_storage_v1alpha2_table_proto_rawDescGZIP(), []int{1, 1}
187 }
188
189
190 type TableSchema struct {
191 state protoimpl.MessageState
192 sizeCache protoimpl.SizeCache
193 unknownFields protoimpl.UnknownFields
194
195
196 Fields []*TableFieldSchema `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
197 }
198
199 func (x *TableSchema) Reset() {
200 *x = TableSchema{}
201 if protoimpl.UnsafeEnabled {
202 mi := &file_google_cloud_bigquery_storage_v1alpha2_table_proto_msgTypes[0]
203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
204 ms.StoreMessageInfo(mi)
205 }
206 }
207
208 func (x *TableSchema) String() string {
209 return protoimpl.X.MessageStringOf(x)
210 }
211
212 func (*TableSchema) ProtoMessage() {}
213
214 func (x *TableSchema) ProtoReflect() protoreflect.Message {
215 mi := &file_google_cloud_bigquery_storage_v1alpha2_table_proto_msgTypes[0]
216 if protoimpl.UnsafeEnabled && x != nil {
217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
218 if ms.LoadMessageInfo() == nil {
219 ms.StoreMessageInfo(mi)
220 }
221 return ms
222 }
223 return mi.MessageOf(x)
224 }
225
226
227 func (*TableSchema) Descriptor() ([]byte, []int) {
228 return file_google_cloud_bigquery_storage_v1alpha2_table_proto_rawDescGZIP(), []int{0}
229 }
230
231 func (x *TableSchema) GetFields() []*TableFieldSchema {
232 if x != nil {
233 return x.Fields
234 }
235 return nil
236 }
237
238
239 type TableFieldSchema struct {
240 state protoimpl.MessageState
241 sizeCache protoimpl.SizeCache
242 unknownFields protoimpl.UnknownFields
243
244
245
246
247 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
248
249 Type TableFieldSchema_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.bigquery.storage.v1alpha2.TableFieldSchema_Type" json:"type,omitempty"`
250
251 Mode TableFieldSchema_Mode `protobuf:"varint,3,opt,name=mode,proto3,enum=google.cloud.bigquery.storage.v1alpha2.TableFieldSchema_Mode" json:"mode,omitempty"`
252
253 Fields []*TableFieldSchema `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"`
254
255 Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
256 }
257
258 func (x *TableFieldSchema) Reset() {
259 *x = TableFieldSchema{}
260 if protoimpl.UnsafeEnabled {
261 mi := &file_google_cloud_bigquery_storage_v1alpha2_table_proto_msgTypes[1]
262 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
263 ms.StoreMessageInfo(mi)
264 }
265 }
266
267 func (x *TableFieldSchema) String() string {
268 return protoimpl.X.MessageStringOf(x)
269 }
270
271 func (*TableFieldSchema) ProtoMessage() {}
272
273 func (x *TableFieldSchema) ProtoReflect() protoreflect.Message {
274 mi := &file_google_cloud_bigquery_storage_v1alpha2_table_proto_msgTypes[1]
275 if protoimpl.UnsafeEnabled && x != nil {
276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
277 if ms.LoadMessageInfo() == nil {
278 ms.StoreMessageInfo(mi)
279 }
280 return ms
281 }
282 return mi.MessageOf(x)
283 }
284
285
286 func (*TableFieldSchema) Descriptor() ([]byte, []int) {
287 return file_google_cloud_bigquery_storage_v1alpha2_table_proto_rawDescGZIP(), []int{1}
288 }
289
290 func (x *TableFieldSchema) GetName() string {
291 if x != nil {
292 return x.Name
293 }
294 return ""
295 }
296
297 func (x *TableFieldSchema) GetType() TableFieldSchema_Type {
298 if x != nil {
299 return x.Type
300 }
301 return TableFieldSchema_TYPE_UNSPECIFIED
302 }
303
304 func (x *TableFieldSchema) GetMode() TableFieldSchema_Mode {
305 if x != nil {
306 return x.Mode
307 }
308 return TableFieldSchema_MODE_UNSPECIFIED
309 }
310
311 func (x *TableFieldSchema) GetFields() []*TableFieldSchema {
312 if x != nil {
313 return x.Fields
314 }
315 return nil
316 }
317
318 func (x *TableFieldSchema) GetDescription() string {
319 if x != nil {
320 return x.Description
321 }
322 return ""
323 }
324
325 var File_google_cloud_bigquery_storage_v1alpha2_table_proto protoreflect.FileDescriptor
326
327 var file_google_cloud_bigquery_storage_v1alpha2_table_proto_rawDesc = []byte{
328 0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
329 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f,
330 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x70,
331 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
332 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x73, 0x74, 0x6f, 0x72,
333 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 0x1f, 0x67, 0x6f,
334 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
335 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5f, 0x0a,
336 0x0b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x50, 0x0a, 0x06,
337 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67,
338 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71,
339 0x75, 0x65, 0x72, 0x79, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x61,
340 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64,
341 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0xd1,
342 0x04, 0x0a, 0x10, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63, 0x68,
343 0x65, 0x6d, 0x61, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
344 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x56, 0x0a, 0x04,
345 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f,
346 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65,
347 0x72, 0x79, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
348 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63,
349 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04,
350 0x74, 0x79, 0x70, 0x65, 0x12, 0x56, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01,
351 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
352 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61,
353 0x67, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x62, 0x6c,
354 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x4d, 0x6f, 0x64,
355 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x55, 0x0a, 0x06,
356 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67,
357 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71,
358 0x75, 0x65, 0x72, 0x79, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x61,
359 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64,
360 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x66, 0x69, 0x65,
361 0x6c, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
362 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64,
363 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xad, 0x01, 0x0a, 0x04, 0x54,
364 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
365 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52,
366 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x02,
367 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06,
368 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x59, 0x54, 0x45,
369 0x53, 0x10, 0x05, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x06, 0x12, 0x0d, 0x0a,
370 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x07, 0x12, 0x08, 0x0a, 0x04,
371 0x44, 0x41, 0x54, 0x45, 0x10, 0x08, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x09,
372 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0a, 0x12, 0x0d,
373 0x0a, 0x09, 0x47, 0x45, 0x4f, 0x47, 0x52, 0x41, 0x50, 0x48, 0x59, 0x10, 0x0b, 0x12, 0x0b, 0x0a,
374 0x07, 0x4e, 0x55, 0x4d, 0x45, 0x52, 0x49, 0x43, 0x10, 0x0c, 0x22, 0x46, 0x0a, 0x04, 0x4d, 0x6f,
375 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
376 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x55, 0x4c, 0x4c,
377 0x41, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52,
378 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x45, 0x44,
379 0x10, 0x03, 0x42, 0x7b, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
380 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
381 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32,
382 0x5a, 0x4d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
383 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f,
384 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69,
385 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76,
386 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x3b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x62,
387 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
388 }
389
390 var (
391 file_google_cloud_bigquery_storage_v1alpha2_table_proto_rawDescOnce sync.Once
392 file_google_cloud_bigquery_storage_v1alpha2_table_proto_rawDescData = file_google_cloud_bigquery_storage_v1alpha2_table_proto_rawDesc
393 )
394
395 func file_google_cloud_bigquery_storage_v1alpha2_table_proto_rawDescGZIP() []byte {
396 file_google_cloud_bigquery_storage_v1alpha2_table_proto_rawDescOnce.Do(func() {
397 file_google_cloud_bigquery_storage_v1alpha2_table_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_storage_v1alpha2_table_proto_rawDescData)
398 })
399 return file_google_cloud_bigquery_storage_v1alpha2_table_proto_rawDescData
400 }
401
402 var file_google_cloud_bigquery_storage_v1alpha2_table_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
403 var file_google_cloud_bigquery_storage_v1alpha2_table_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
404 var file_google_cloud_bigquery_storage_v1alpha2_table_proto_goTypes = []interface{}{
405 (TableFieldSchema_Type)(0),
406 (TableFieldSchema_Mode)(0),
407 (*TableSchema)(nil),
408 (*TableFieldSchema)(nil),
409 }
410 var file_google_cloud_bigquery_storage_v1alpha2_table_proto_depIdxs = []int32{
411 3,
412 0,
413 1,
414 3,
415 4,
416 4,
417 4,
418 4,
419 0,
420 }
421
422 func init() { file_google_cloud_bigquery_storage_v1alpha2_table_proto_init() }
423 func file_google_cloud_bigquery_storage_v1alpha2_table_proto_init() {
424 if File_google_cloud_bigquery_storage_v1alpha2_table_proto != nil {
425 return
426 }
427 if !protoimpl.UnsafeEnabled {
428 file_google_cloud_bigquery_storage_v1alpha2_table_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
429 switch v := v.(*TableSchema); i {
430 case 0:
431 return &v.state
432 case 1:
433 return &v.sizeCache
434 case 2:
435 return &v.unknownFields
436 default:
437 return nil
438 }
439 }
440 file_google_cloud_bigquery_storage_v1alpha2_table_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
441 switch v := v.(*TableFieldSchema); i {
442 case 0:
443 return &v.state
444 case 1:
445 return &v.sizeCache
446 case 2:
447 return &v.unknownFields
448 default:
449 return nil
450 }
451 }
452 }
453 type x struct{}
454 out := protoimpl.TypeBuilder{
455 File: protoimpl.DescBuilder{
456 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
457 RawDescriptor: file_google_cloud_bigquery_storage_v1alpha2_table_proto_rawDesc,
458 NumEnums: 2,
459 NumMessages: 2,
460 NumExtensions: 0,
461 NumServices: 0,
462 },
463 GoTypes: file_google_cloud_bigquery_storage_v1alpha2_table_proto_goTypes,
464 DependencyIndexes: file_google_cloud_bigquery_storage_v1alpha2_table_proto_depIdxs,
465 EnumInfos: file_google_cloud_bigquery_storage_v1alpha2_table_proto_enumTypes,
466 MessageInfos: file_google_cloud_bigquery_storage_v1alpha2_table_proto_msgTypes,
467 }.Build()
468 File_google_cloud_bigquery_storage_v1alpha2_table_proto = out.File
469 file_google_cloud_bigquery_storage_v1alpha2_table_proto_rawDesc = nil
470 file_google_cloud_bigquery_storage_v1alpha2_table_proto_goTypes = nil
471 file_google_cloud_bigquery_storage_v1alpha2_table_proto_depIdxs = nil
472 }
473
View as plain text