| 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/v1beta1/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_v1beta1_table_spec_proto_enumTypes[0].Descriptor() |
| 80 |
} |
| 81 |
|
| 82 |
func (TableSourceType) Type() protoreflect.EnumType { |
| 83 |
return &file_google_cloud_datacatalog_v1beta1_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_v1beta1_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.v1beta1.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_v1beta1_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_v1beta1_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_v1beta1_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. This field should only be populated if |
| 176 |
// `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 |
// Spec of a BigQuery table. This field should only be populated if |
| 182 |
// `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_v1beta1_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_v1beta1_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_v1beta1_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 spec. |
| 238 |
type 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 |
| 244 |
// `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of |
| 245 |
// the date sharded 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 |
|
| 251 |
func (x *TableSpec) Reset() { |
| 252 |
*x = TableSpec{} |
| 253 |
mi := &file_google_cloud_datacatalog_v1beta1_table_spec_proto_msgTypes[2] |
| 254 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 255 |
ms.StoreMessageInfo(mi) |
| 256 |
} |
| 257 |
|
| 258 |
func (x *TableSpec) String() string { |
| 259 |
return protoimpl.X.MessageStringOf(x) |
| 260 |
} |
| 261 |
|
| 262 |
func (*TableSpec) ProtoMessage() {} |
| 263 |
|
| 264 |
func (x *TableSpec) ProtoReflect() protoreflect.Message { |
| 265 |
mi := &file_google_cloud_datacatalog_v1beta1_table_spec_proto_msgTypes[2] |
| 266 |
if x != nil { |
| 267 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 268 |
if ms.LoadMessageInfo() == nil { |
| 269 |
ms.StoreMessageInfo(mi) |
| 270 |
} |
| 271 |
return ms |
| 272 |
} |
| 273 |
return mi.MessageOf(x) |
| 274 |
} |
| 275 |
|
| 276 |
// Deprecated: Use TableSpec.ProtoReflect.Descriptor instead. |
| 277 |
func (*TableSpec) Descriptor() ([]byte, []int) { |
| 278 |
return file_google_cloud_datacatalog_v1beta1_table_spec_proto_rawDescGZIP(), []int{2} |
| 279 |
} |
| 280 |
|
| 281 |
func (x *TableSpec) GetGroupedEntry() string { |
| 282 |
if x != nil { |
| 283 |
return x.GroupedEntry |
| 284 |
} |
| 285 |
return "" |
| 286 |
} |
| 287 |
|
| 288 |
// Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. |
| 289 |
// Context: |
| 290 |
// https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding |
| 291 |
type BigQueryDateShardedSpec struct { |
| 292 |
state protoimpl.MessageState |
| 293 |
sizeCache protoimpl.SizeCache |
| 294 |
unknownFields protoimpl.UnknownFields |
| 295 |
|
| 296 |
// Output only. The Data Catalog resource name of the dataset entry the |
| 297 |
// current table belongs to, for example, |
| 298 |
// `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. |
| 299 |
Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` |
| 300 |
// Output only. The table name prefix of the shards. The name of any given |
| 301 |
// shard is |
| 302 |
// `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the |
| 303 |
// `table_prefix` is `MyTable`. |
| 304 |
TablePrefix string `protobuf:"bytes,2,opt,name=table_prefix,json=tablePrefix,proto3" json:"table_prefix,omitempty"` |
| 305 |
// Output only. Total number of shards. |
| 306 |
ShardCount int64 `protobuf:"varint,3,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"` |
| 307 |
} |
| 308 |
|
| 309 |
func (x *BigQueryDateShardedSpec) Reset() { |
| 310 |
*x = BigQueryDateShardedSpec{} |
| 311 |
mi := &file_google_cloud_datacatalog_v1beta1_table_spec_proto_msgTypes[3] |
| 312 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 313 |
ms.StoreMessageInfo(mi) |
| 314 |
} |
| 315 |
|
| 316 |
func (x *BigQueryDateShardedSpec) String() string { |
| 317 |
return protoimpl.X.MessageStringOf(x) |
| 318 |
} |
| 319 |
|
| 320 |
func (*BigQueryDateShardedSpec) ProtoMessage() {} |
| 321 |
|
| 322 |
func (x *BigQueryDateShardedSpec) ProtoReflect() protoreflect.Message { |
| 323 |
mi := &file_google_cloud_datacatalog_v1beta1_table_spec_proto_msgTypes[3] |
| 324 |
if x != nil { |
| 325 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 326 |
if ms.LoadMessageInfo() == nil { |
| 327 |
ms.StoreMessageInfo(mi) |
| 328 |
} |
| 329 |
return ms |
| 330 |
} |
| 331 |
return mi.MessageOf(x) |
| 332 |
} |
| 333 |
|
| 334 |
// Deprecated: Use BigQueryDateShardedSpec.ProtoReflect.Descriptor instead. |
| 335 |
func (*BigQueryDateShardedSpec) Descriptor() ([]byte, []int) { |
| 336 |
return file_google_cloud_datacatalog_v1beta1_table_spec_proto_rawDescGZIP(), []int{3} |
| 337 |
} |
| 338 |
|
| 339 |
func (x *BigQueryDateShardedSpec) GetDataset() string { |
| 340 |
if x != nil { |
| 341 |
return x.Dataset |
| 342 |
} |
| 343 |
return "" |
| 344 |
} |
| 345 |
|
| 346 |
func (x *BigQueryDateShardedSpec) GetTablePrefix() string { |
| 347 |
if x != nil { |
| 348 |
return x.TablePrefix |
| 349 |
} |
| 350 |
return "" |
| 351 |
} |
| 352 |
|
| 353 |
func (x *BigQueryDateShardedSpec) GetShardCount() int64 { |
| 354 |
if x != nil { |
| 355 |
return x.ShardCount |
| 356 |
} |
| 357 |
return 0 |
| 358 |
} |
| 359 |
|
| 360 |
var File_google_cloud_datacatalog_v1beta1_table_spec_proto protoreflect.FileDescriptor |
| 361 |
|
| 362 |
var file_google_cloud_datacatalog_v1beta1_table_spec_proto_rawDesc = []byte{ |
| 363 |
0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, |
| 364 |
0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 365 |
0x61, 0x31, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, |
| 366 |
0x6f, 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 367 |
0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, |
| 368 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, |
| 369 |
0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, |
| 370 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 371 |
0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 372 |
0x6f, 0x22, 0x9d, 0x02, 0x0a, 0x11, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x61, |
| 373 |
0x62, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x62, 0x0a, 0x11, 0x74, 0x61, 0x62, 0x6c, 0x65, |
| 374 |
0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, |
| 375 |
0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 376 |
0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, |
| 377 |
0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, |
| 378 |
0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x74, 0x61, 0x62, 0x6c, |
| 379 |
0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x49, 0x0a, 0x09, 0x76, |
| 380 |
0x69, 0x65, 0x77, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, |
| 381 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, |
| 382 |
0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 383 |
0x31, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x53, 0x70, 0x65, 0x63, 0x48, 0x00, 0x52, 0x08, 0x76, 0x69, |
| 384 |
0x65, 0x77, 0x53, 0x70, 0x65, 0x63, 0x12, 0x4c, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, |
| 385 |
0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, |
| 386 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, |
| 387 |
0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x61, |
| 388 |
0x62, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x48, 0x00, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, |
| 389 |
0x53, 0x70, 0x65, 0x63, 0x42, 0x0b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x73, 0x70, 0x65, |
| 390 |
0x63, 0x22, 0x2e, 0x0a, 0x08, 0x56, 0x69, 0x65, 0x77, 0x53, 0x70, 0x65, 0x63, 0x12, 0x22, 0x0a, |
| 391 |
0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 392 |
0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x51, 0x75, 0x65, 0x72, |
| 393 |
0x79, 0x22, 0x5a, 0x0a, 0x09, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x4d, |
| 394 |
0x0a, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, |
| 395 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x03, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x64, |
| 396 |
0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 397 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, |
| 398 |
0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x22, 0xab, 0x01, |
| 399 |
0x0a, 0x17, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x61, 0x74, 0x65, 0x53, 0x68, |
| 400 |
0x61, 0x72, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x63, 0x12, 0x42, 0x0a, 0x07, 0x64, 0x61, 0x74, |
| 401 |
0x61, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x03, 0xfa, |
| 402 |
0x41, 0x22, 0x0a, 0x20, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, |
| 403 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, |
| 404 |
0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x26, 0x0a, |
| 405 |
0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, |
| 406 |
0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x50, |
| 407 |
0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x24, 0x0a, 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x63, |
| 408 |
0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, |
| 409 |
0x0a, 0x73, 0x68, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x2a, 0x7b, 0x0a, 0x0f, 0x54, |
| 410 |
0x61, 0x62, 0x6c, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, |
| 411 |
0x0a, 0x1d, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, |
| 412 |
0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, |
| 413 |
0x00, 0x12, 0x11, 0x0a, 0x0d, 0x42, 0x49, 0x47, 0x51, 0x55, 0x45, 0x52, 0x59, 0x5f, 0x56, 0x49, |
| 414 |
0x45, 0x57, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x42, 0x49, 0x47, 0x51, 0x55, 0x45, 0x52, 0x59, |
| 415 |
0x5f, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x05, 0x12, 0x1e, 0x0a, 0x1a, 0x42, 0x49, 0x47, 0x51, |
| 416 |
0x55, 0x45, 0x52, 0x59, 0x5f, 0x4d, 0x41, 0x54, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x45, |
| 417 |
0x44, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x10, 0x07, 0x42, 0xdc, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, |
| 418 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, |
| 419 |
0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 420 |
0x31, 0x50, 0x01, 0x5a, 0x46, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 421 |
0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, |
| 422 |
0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, |
| 423 |
0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x70, 0x62, 0x3b, 0x64, 0x61, |
| 424 |
0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x70, 0x62, 0xaa, 0x02, 0x20, 0x47, 0x6f, |
| 425 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, |
| 426 |
0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, |
| 427 |
0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x61, |
| 428 |
0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 429 |
0x31, 0xea, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, |
| 430 |
0x64, 0x3a, 0x3a, 0x44, 0x61, 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x3a, 0x3a, |
| 431 |
0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 432 |
} |
| 433 |
|
| 434 |
var ( |
| 435 |
file_google_cloud_datacatalog_v1beta1_table_spec_proto_rawDescOnce sync.Once |
| 436 |
file_google_cloud_datacatalog_v1beta1_table_spec_proto_rawDescData = file_google_cloud_datacatalog_v1beta1_table_spec_proto_rawDesc |
| 437 |
) |
| 438 |
|
| 439 |
func file_google_cloud_datacatalog_v1beta1_table_spec_proto_rawDescGZIP() []byte { |
| 440 |
file_google_cloud_datacatalog_v1beta1_table_spec_proto_rawDescOnce.Do(func() { |
| 441 |
file_google_cloud_datacatalog_v1beta1_table_spec_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_datacatalog_v1beta1_table_spec_proto_rawDescData) |
| 442 |
}) |
| 443 |
return file_google_cloud_datacatalog_v1beta1_table_spec_proto_rawDescData |
| 444 |
} |
| 445 |
|
| 446 |
var file_google_cloud_datacatalog_v1beta1_table_spec_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 447 |
var file_google_cloud_datacatalog_v1beta1_table_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
| 448 |
var file_google_cloud_datacatalog_v1beta1_table_spec_proto_goTypes = []any{ |
| 449 |
(TableSourceType)(0), // 0: google.cloud.datacatalog.v1beta1.TableSourceType |
| 450 |
(*BigQueryTableSpec)(nil), // 1: google.cloud.datacatalog.v1beta1.BigQueryTableSpec |
| 451 |
(*ViewSpec)(nil), // 2: google.cloud.datacatalog.v1beta1.ViewSpec |
| 452 |
(*TableSpec)(nil), // 3: google.cloud.datacatalog.v1beta1.TableSpec |
| 453 |
(*BigQueryDateShardedSpec)(nil), // 4: google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec |
| 454 |
} |
| 455 |
var file_google_cloud_datacatalog_v1beta1_table_spec_proto_depIdxs = []int32{ |
| 456 |
0, // 0: google.cloud.datacatalog.v1beta1.BigQueryTableSpec.table_source_type:type_name -> google.cloud.datacatalog.v1beta1.TableSourceType |
| 457 |
2, // 1: google.cloud.datacatalog.v1beta1.BigQueryTableSpec.view_spec:type_name -> google.cloud.datacatalog.v1beta1.ViewSpec |
| 458 |
3, // 2: google.cloud.datacatalog.v1beta1.BigQueryTableSpec.table_spec:type_name -> google.cloud.datacatalog.v1beta1.TableSpec |
| 459 |
3, // [3:3] is the sub-list for method output_type |
| 460 |
3, // [3:3] is the sub-list for method input_type |
| 461 |
3, // [3:3] is the sub-list for extension type_name |
| 462 |
3, // [3:3] is the sub-list for extension extendee |
| 463 |
0, // [0:3] is the sub-list for field type_name |
| 464 |
} |
| 465 |
|
| 466 |
func init() { file_google_cloud_datacatalog_v1beta1_table_spec_proto_init() } |
| 467 |
func file_google_cloud_datacatalog_v1beta1_table_spec_proto_init() { |
| 468 |
if File_google_cloud_datacatalog_v1beta1_table_spec_proto != nil { |
| 469 |
return |
| 470 |
} |
| 471 |
file_google_cloud_datacatalog_v1beta1_table_spec_proto_msgTypes[0].OneofWrappers = []any{ |
| 472 |
(*BigQueryTableSpec_ViewSpec)(nil), |
| 473 |
(*BigQueryTableSpec_TableSpec)(nil), |
| 474 |
} |
| 475 |
type x struct{} |
| 476 |
out := protoimpl.TypeBuilder{ |
| 477 |
File: protoimpl.DescBuilder{ |
| 478 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 479 |
RawDescriptor: file_google_cloud_datacatalog_v1beta1_table_spec_proto_rawDesc, |
| 480 |
NumEnums: 1, |
| 481 |
NumMessages: 4, |
| 482 |
NumExtensions: 0, |
| 483 |
NumServices: 0, |
| 484 |
}, |
| 485 |
GoTypes: file_google_cloud_datacatalog_v1beta1_table_spec_proto_goTypes, |
| 486 |
DependencyIndexes: file_google_cloud_datacatalog_v1beta1_table_spec_proto_depIdxs, |
| 487 |
EnumInfos: file_google_cloud_datacatalog_v1beta1_table_spec_proto_enumTypes, |
| 488 |
MessageInfos: file_google_cloud_datacatalog_v1beta1_table_spec_proto_msgTypes, |
| 489 |
}.Build() |
| 490 |
File_google_cloud_datacatalog_v1beta1_table_spec_proto = out.File |
| 491 |
file_google_cloud_datacatalog_v1beta1_table_spec_proto_rawDesc = nil |
| 492 |
file_google_cloud_datacatalog_v1beta1_table_spec_proto_goTypes = nil |
| 493 |
file_google_cloud_datacatalog_v1beta1_table_spec_proto_depIdxs = nil |
| 494 |
} |