Debian Codegraph @

datacatalog/apiv1/datacatalogpb/table_spec.pb.go

raw
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/datacatalog/v1/table_spec.proto
20
21 package datacatalogpb
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 // Table source type.
39 type TableSourceType int32
40
41 const (
42 // Default unknown type.
43 TableSourceType_TABLE_SOURCE_TYPE_UNSPECIFIED TableSourceType = 0
44 // Table view.
45 TableSourceType_BIGQUERY_VIEW TableSourceType = 2
46 // BigQuery native table.
47 TableSourceType_BIGQUERY_TABLE TableSourceType = 5
48 // BigQuery materialized view.
49 TableSourceType_BIGQUERY_MATERIALIZED_VIEW TableSourceType = 7
50 )
51
52 // Enum value maps for TableSourceType.
53 var (
54 TableSourceType_name = map[int32]string{
55 0: "TABLE_SOURCE_TYPE_UNSPECIFIED",
56 2: "BIGQUERY_VIEW",
57 5: "BIGQUERY_TABLE",
58 7: "BIGQUERY_MATERIALIZED_VIEW",
59 }
60 TableSourceType_value = map[string]int32{
61 "TABLE_SOURCE_TYPE_UNSPECIFIED": 0,
62 "BIGQUERY_VIEW": 2,
63 "BIGQUERY_TABLE": 5,
64 "BIGQUERY_MATERIALIZED_VIEW": 7,
65 }
66 )
67
68 func (x TableSourceType) Enum() *TableSourceType {
69 p := new(TableSourceType)
70 *p = x
71 return p
72 }
73
74 func (x TableSourceType) String() string {
75 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
76 }
77
78 func (TableSourceType) Descriptor() protoreflect.EnumDescriptor {
79 return file_google_cloud_datacatalog_v1_table_spec_proto_enumTypes[0].Descriptor()
80 }
81
82 func (TableSourceType) Type() protoreflect.EnumType {
83 return &file_google_cloud_datacatalog_v1_table_spec_proto_enumTypes[0]
84 }
85
86 func (x TableSourceType) Number() protoreflect.EnumNumber {
87 return protoreflect.EnumNumber(x)
88 }
89
90 // Deprecated: Use TableSourceType.Descriptor instead.
91 func (TableSourceType) EnumDescriptor() ([]byte, []int) {
92 return file_google_cloud_datacatalog_v1_table_spec_proto_rawDescGZIP(), []int{0}
93 }
94
95 // Describes a BigQuery table.
96 type BigQueryTableSpec struct {
97 state protoimpl.MessageState
98 sizeCache protoimpl.SizeCache
99 unknownFields protoimpl.UnknownFields
100
101 // Output only. The table source type.
102 TableSourceType TableSourceType `protobuf:"varint,1,opt,name=table_source_type,json=tableSourceType,proto3,enum=google.cloud.datacatalog.v1.TableSourceType" json:"table_source_type,omitempty"`
103 // Output only.
104 //
105 // Types that are assignable to TypeSpec:
106 //
107 // *BigQueryTableSpec_ViewSpec
108 // *BigQueryTableSpec_TableSpec
109 TypeSpec isBigQueryTableSpec_TypeSpec `protobuf_oneof:"type_spec"`
110 }
111
112 func (x *BigQueryTableSpec) Reset() {
113 *x = BigQueryTableSpec{}
114 mi := &file_google_cloud_datacatalog_v1_table_spec_proto_msgTypes[0]
115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
116 ms.StoreMessageInfo(mi)
117 }
118
119 func (x *BigQueryTableSpec) String() string {
120 return protoimpl.X.MessageStringOf(x)
121 }
122
123 func (*BigQueryTableSpec) ProtoMessage() {}
124
125 func (x *BigQueryTableSpec) ProtoReflect() protoreflect.Message {
126 mi := &file_google_cloud_datacatalog_v1_table_spec_proto_msgTypes[0]
127 if x != nil {
128 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
129 if ms.LoadMessageInfo() == nil {
130 ms.StoreMessageInfo(mi)
131 }
132 return ms
133 }
134 return mi.MessageOf(x)
135 }
136
137 // Deprecated: Use BigQueryTableSpec.ProtoReflect.Descriptor instead.
138 func (*BigQueryTableSpec) Descriptor() ([]byte, []int) {
139 return file_google_cloud_datacatalog_v1_table_spec_proto_rawDescGZIP(), []int{0}
140 }
141
142 func (x *BigQueryTableSpec) GetTableSourceType() TableSourceType {
143 if x != nil {
144 return x.TableSourceType
145 }
146 return TableSourceType_TABLE_SOURCE_TYPE_UNSPECIFIED
147 }
148
149 func (m *BigQueryTableSpec) GetTypeSpec() isBigQueryTableSpec_TypeSpec {
150 if m != nil {
151 return m.TypeSpec
152 }
153 return nil
154 }
155
156 func (x *BigQueryTableSpec) GetViewSpec() *ViewSpec {
157 if x, ok := x.GetTypeSpec().(*BigQueryTableSpec_ViewSpec); ok {
158 return x.ViewSpec
159 }
160 return nil
161 }
162
163 func (x *BigQueryTableSpec) GetTableSpec() *TableSpec {
164 if x, ok := x.GetTypeSpec().(*BigQueryTableSpec_TableSpec); ok {
165 return x.TableSpec
166 }
167 return nil
168 }
169
170 type isBigQueryTableSpec_TypeSpec interface {
171 isBigQueryTableSpec_TypeSpec()
172 }
173
174 type BigQueryTableSpec_ViewSpec struct {
175 // Table view specification. Populated only if
176 // the `table_source_type` is `BIGQUERY_VIEW`.
177 ViewSpec *ViewSpec `protobuf:"bytes,2,opt,name=view_spec,json=viewSpec,proto3,oneof"`
178 }
179
180 type BigQueryTableSpec_TableSpec struct {
181 // Specification of a BigQuery table. Populated only if
182 // the `table_source_type` is `BIGQUERY_TABLE`.
183 TableSpec *TableSpec `protobuf:"bytes,3,opt,name=table_spec,json=tableSpec,proto3,oneof"`
184 }
185
186 func (*BigQueryTableSpec_ViewSpec) isBigQueryTableSpec_TypeSpec() {}
187
188 func (*BigQueryTableSpec_TableSpec) isBigQueryTableSpec_TypeSpec() {}
189
190 // Table view specification.
191 type ViewSpec struct {
192 state protoimpl.MessageState
193 sizeCache protoimpl.SizeCache
194 unknownFields protoimpl.UnknownFields
195
196 // Output only. The query that defines the table view.
197 ViewQuery string `protobuf:"bytes,1,opt,name=view_query,json=viewQuery,proto3" json:"view_query,omitempty"`
198 }
199
200 func (x *ViewSpec) Reset() {
201 *x = ViewSpec{}
202 mi := &file_google_cloud_datacatalog_v1_table_spec_proto_msgTypes[1]
203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
204 ms.StoreMessageInfo(mi)
205 }
206
207 func (x *ViewSpec) String() string {
208 return protoimpl.X.MessageStringOf(x)
209 }
210
211 func (*ViewSpec) ProtoMessage() {}
212
213 func (x *ViewSpec) ProtoReflect() protoreflect.Message {
214 mi := &file_google_cloud_datacatalog_v1_table_spec_proto_msgTypes[1]
215 if x != nil {
216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
217 if ms.LoadMessageInfo() == nil {
218 ms.StoreMessageInfo(mi)
219 }
220 return ms
221 }
222 return mi.MessageOf(x)
223 }
224
225 // Deprecated: Use ViewSpec.ProtoReflect.Descriptor instead.
226 func (*ViewSpec) Descriptor() ([]byte, []int) {
227 return file_google_cloud_datacatalog_v1_table_spec_proto_rawDescGZIP(), []int{1}
228 }
229
230 func (x *ViewSpec) GetViewQuery() string {
231 if x != nil {
232 return x.ViewQuery
233 }
234 return ""
235 }
236
237 // Normal BigQuery table specification.
238 type TableSpec struct {
239 state protoimpl.MessageState
240 sizeCache protoimpl.SizeCache
241 unknownFields protoimpl.UnknownFields
242
243 // Output only. If the table is date-sharded, that is, it matches the
244 // `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
245 // name of the date-sharded grouped entry. For example:
246 //
247 // `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
248 //
249 // Otherwise, `grouped_entry` is empty.
250 GroupedEntry string `protobuf:"bytes,1,opt,name=grouped_entry,json=groupedEntry,proto3" json:"grouped_entry,omitempty"`
251 }
252
253 func (x *TableSpec) Reset() {
254 *x = TableSpec{}
255 mi := &file_google_cloud_datacatalog_v1_table_spec_proto_msgTypes[2]
256 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
257 ms.StoreMessageInfo(mi)
258 }
259
260 func (x *TableSpec) String() string {
261 return protoimpl.X.MessageStringOf(x)
262 }
263
264 func (*TableSpec) ProtoMessage() {}
265
266 func (x *TableSpec) ProtoReflect() protoreflect.Message {
267 mi := &file_google_cloud_datacatalog_v1_table_spec_proto_msgTypes[2]
268 if x != nil {
269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
270 if ms.LoadMessageInfo() == nil {
271 ms.StoreMessageInfo(mi)
272 }
273 return ms
274 }
275 return mi.MessageOf(x)
276 }
277
278 // Deprecated: Use TableSpec.ProtoReflect.Descriptor instead.
279 func (*TableSpec) Descriptor() ([]byte, []int) {
280 return file_google_cloud_datacatalog_v1_table_spec_proto_rawDescGZIP(), []int{2}
281 }
282
283 func (x *TableSpec) GetGroupedEntry() string {
284 if x != nil {
285 return x.GroupedEntry
286 }
287 return ""
288 }
289
290 // Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name
291 // pattern.
292 //
293 // For more information, see [Introduction to partitioned tables]
294 // (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
295 type BigQueryDateShardedSpec struct {
296 state protoimpl.MessageState
297 sizeCache protoimpl.SizeCache
298 unknownFields protoimpl.UnknownFields
299
300 // Output only. The Data Catalog resource name of the dataset entry the
301 // current table belongs to. For example:
302 //
303 // `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
304 Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
305 // Output only. The table name prefix of the shards.
306 //
307 // The name of any given shard is `[table_prefix]YYYYMMDD`.
308 // For example, for the `MyTable20180101` shard, the
309 // `table_prefix` is `MyTable`.
310 TablePrefix string `protobuf:"bytes,2,opt,name=table_prefix,json=tablePrefix,proto3" json:"table_prefix,omitempty"`
311 // Output only. Total number of shards.
312 ShardCount int64 `protobuf:"varint,3,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"`
313 // Output only. BigQuery resource name of the latest shard.
314 LatestShardResource string `protobuf:"bytes,4,opt,name=latest_shard_resource,json=latestShardResource,proto3" json:"latest_shard_resource,omitempty"`
315 }
316
317 func (x *BigQueryDateShardedSpec) Reset() {
318 *x = BigQueryDateShardedSpec{}
319 mi := &file_google_cloud_datacatalog_v1_table_spec_proto_msgTypes[3]
320 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
321 ms.StoreMessageInfo(mi)
322 }
323
324 func (x *BigQueryDateShardedSpec) String() string {
325 return protoimpl.X.MessageStringOf(x)
326 }
327
328 func (*BigQueryDateShardedSpec) ProtoMessage() {}
329
330 func (x *BigQueryDateShardedSpec) ProtoReflect() protoreflect.Message {
331 mi := &file_google_cloud_datacatalog_v1_table_spec_proto_msgTypes[3]
332 if x != nil {
333 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
334 if ms.LoadMessageInfo() == nil {
335 ms.StoreMessageInfo(mi)
336 }
337 return ms
338 }
339 return mi.MessageOf(x)
340 }
341
342 // Deprecated: Use BigQueryDateShardedSpec.ProtoReflect.Descriptor instead.
343 func (*BigQueryDateShardedSpec) Descriptor() ([]byte, []int) {
344 return file_google_cloud_datacatalog_v1_table_spec_proto_rawDescGZIP(), []int{3}
345 }
346
347 func (x *BigQueryDateShardedSpec) GetDataset() string {
348 if x != nil {
349 return x.Dataset
350 }
351 return ""
352 }
353
354 func (x *BigQueryDateShardedSpec) GetTablePrefix() string {
355 if x != nil {
356 return x.TablePrefix
357 }
358 return ""
359 }
360
361 func (x *BigQueryDateShardedSpec) GetShardCount() int64 {
362 if x != nil {
363 return x.ShardCount
364 }
365 return 0
366 }
367
368 func (x *BigQueryDateShardedSpec) GetLatestShardResource() string {
369 if x != nil {
370 return x.LatestShardResource
371 }
372 return ""
373 }
374
375 var File_google_cloud_datacatalog_v1_table_spec_proto protoreflect.FileDescriptor
376
377 var file_google_cloud_datacatalog_v1_table_spec_proto_rawDesc = []byte{
378 0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64,
379 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61,
380 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b,
381 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74,
382 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
383 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65,
384 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f,
385 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
386 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x02, 0x0a, 0x11, 0x42, 0x69, 0x67, 0x51,
387 0x75, 0x65, 0x72, 0x79, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x5d, 0x0a,
388 0x11, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79,
389 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
390 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61,
391 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x6f, 0x75, 0x72,
392 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x74, 0x61, 0x62,
393 0x6c, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x44, 0x0a, 0x09,
394 0x76, 0x69, 0x65, 0x77, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
395 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64,
396 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69,
397 0x65, 0x77, 0x53, 0x70, 0x65, 0x63, 0x48, 0x00, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x53, 0x70,
398 0x65, 0x63, 0x12, 0x47, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63,
399 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
400 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f,
401 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x48, 0x00,
402 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x42, 0x0b, 0x0a, 0x09, 0x74,
403 0x79, 0x70, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x22, 0x2e, 0x0a, 0x08, 0x56, 0x69, 0x65, 0x77,
404 0x53, 0x70, 0x65, 0x63, 0x12, 0x22, 0x0a, 0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x71, 0x75, 0x65,
405 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x76,
406 0x69, 0x65, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x22, 0x5a, 0x0a, 0x09, 0x54, 0x61, 0x62, 0x6c,
407 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x4d, 0x0a, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64,
408 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41,
409 0x03, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f,
410 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
411 0x2f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x45,
412 0x6e, 0x74, 0x72, 0x79, 0x22, 0xe4, 0x01, 0x0a, 0x17, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72,
413 0x79, 0x44, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x63,
414 0x12, 0x42, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
415 0x09, 0x42, 0x28, 0xe0, 0x41, 0x03, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x64, 0x61, 0x74, 0x61, 0x63,
416 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
417 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x64, 0x61, 0x74,
418 0x61, 0x73, 0x65, 0x74, 0x12, 0x26, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x70, 0x72,
419 0x65, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
420 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x24, 0x0a, 0x0b,
421 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
422 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x73, 0x68, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x75,
423 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x15, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x68, 0x61,
424 0x72, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
425 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x13, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x68,
426 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2a, 0x7b, 0x0a, 0x0f, 0x54,
427 0x61, 0x62, 0x6c, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21,
428 0x0a, 0x1d, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54,
429 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
430 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x42, 0x49, 0x47, 0x51, 0x55, 0x45, 0x52, 0x59, 0x5f, 0x56, 0x49,
431 0x45, 0x57, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x42, 0x49, 0x47, 0x51, 0x55, 0x45, 0x52, 0x59,
432 0x5f, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x05, 0x12, 0x1e, 0x0a, 0x1a, 0x42, 0x49, 0x47, 0x51,
433 0x55, 0x45, 0x52, 0x59, 0x5f, 0x4d, 0x41, 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x45,
434 0x44, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x10, 0x07, 0x42, 0xc3, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d,
435 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61,
436 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x41,
437 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
438 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f,
439 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f,
440 0x67, 0x70, 0x62, 0x3b, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x70,
441 0x62, 0xaa, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
442 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x56, 0x31, 0xca,
443 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44,
444 0x61, 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1e,
445 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x44,
446 0x61, 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
447 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
448 }
449
450 var (
451 file_google_cloud_datacatalog_v1_table_spec_proto_rawDescOnce sync.Once
452 file_google_cloud_datacatalog_v1_table_spec_proto_rawDescData = file_google_cloud_datacatalog_v1_table_spec_proto_rawDesc
453 )
454
455 func file_google_cloud_datacatalog_v1_table_spec_proto_rawDescGZIP() []byte {
456 file_google_cloud_datacatalog_v1_table_spec_proto_rawDescOnce.Do(func() {
457 file_google_cloud_datacatalog_v1_table_spec_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_datacatalog_v1_table_spec_proto_rawDescData)
458 })
459 return file_google_cloud_datacatalog_v1_table_spec_proto_rawDescData
460 }
461
462 var file_google_cloud_datacatalog_v1_table_spec_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
463 var file_google_cloud_datacatalog_v1_table_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
464 var file_google_cloud_datacatalog_v1_table_spec_proto_goTypes = []any{
465 (TableSourceType)(0), // 0: google.cloud.datacatalog.v1.TableSourceType
466 (*BigQueryTableSpec)(nil), // 1: google.cloud.datacatalog.v1.BigQueryTableSpec
467 (*ViewSpec)(nil), // 2: google.cloud.datacatalog.v1.ViewSpec
468 (*TableSpec)(nil), // 3: google.cloud.datacatalog.v1.TableSpec
469 (*BigQueryDateShardedSpec)(nil), // 4: google.cloud.datacatalog.v1.BigQueryDateShardedSpec
470 }
471 var file_google_cloud_datacatalog_v1_table_spec_proto_depIdxs = []int32{
472 0, // 0: google.cloud.datacatalog.v1.BigQueryTableSpec.table_source_type:type_name -> google.cloud.datacatalog.v1.TableSourceType
473 2, // 1: google.cloud.datacatalog.v1.BigQueryTableSpec.view_spec:type_name -> google.cloud.datacatalog.v1.ViewSpec
474 3, // 2: google.cloud.datacatalog.v1.BigQueryTableSpec.table_spec:type_name -> google.cloud.datacatalog.v1.TableSpec
475 3, // [3:3] is the sub-list for method output_type
476 3, // [3:3] is the sub-list for method input_type
477 3, // [3:3] is the sub-list for extension type_name
478 3, // [3:3] is the sub-list for extension extendee
479 0, // [0:3] is the sub-list for field type_name
480 }
481
482 func init() { file_google_cloud_datacatalog_v1_table_spec_proto_init() }
483 func file_google_cloud_datacatalog_v1_table_spec_proto_init() {
484 if File_google_cloud_datacatalog_v1_table_spec_proto != nil {
485 return
486 }
487 file_google_cloud_datacatalog_v1_table_spec_proto_msgTypes[0].OneofWrappers = []any{
488 (*BigQueryTableSpec_ViewSpec)(nil),
489 (*BigQueryTableSpec_TableSpec)(nil),
490 }
491 type x struct{}
492 out := protoimpl.TypeBuilder{
493 File: protoimpl.DescBuilder{
494 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
495 RawDescriptor: file_google_cloud_datacatalog_v1_table_spec_proto_rawDesc,
496 NumEnums: 1,
497 NumMessages: 4,
498 NumExtensions: 0,
499 NumServices: 0,
500 },
501 GoTypes: file_google_cloud_datacatalog_v1_table_spec_proto_goTypes,
502 DependencyIndexes: file_google_cloud_datacatalog_v1_table_spec_proto_depIdxs,
503 EnumInfos: file_google_cloud_datacatalog_v1_table_spec_proto_enumTypes,
504 MessageInfos: file_google_cloud_datacatalog_v1_table_spec_proto_msgTypes,
505 }.Build()
506 File_google_cloud_datacatalog_v1_table_spec_proto = out.File
507 file_google_cloud_datacatalog_v1_table_spec_proto_rawDesc = nil
508 file_google_cloud_datacatalog_v1_table_spec_proto_goTypes = nil
509 file_google_cloud_datacatalog_v1_table_spec_proto_depIdxs = nil
510 }