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