| 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/bigquery.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 |
// The type of the BigQuery connection. |
| 39 |
type BigQueryConnectionSpec_ConnectionType int32 |
| 40 |
|
| 41 |
const ( |
| 42 |
// Unspecified type. |
| 43 |
BigQueryConnectionSpec_CONNECTION_TYPE_UNSPECIFIED BigQueryConnectionSpec_ConnectionType = 0 |
| 44 |
// Cloud SQL connection. |
| 45 |
BigQueryConnectionSpec_CLOUD_SQL BigQueryConnectionSpec_ConnectionType = 1 |
| 46 |
) |
| 47 |
|
| 48 |
// Enum value maps for BigQueryConnectionSpec_ConnectionType. |
| 49 |
var ( |
| 50 |
BigQueryConnectionSpec_ConnectionType_name = map[int32]string{ |
| 51 |
0: "CONNECTION_TYPE_UNSPECIFIED", |
| 52 |
1: "CLOUD_SQL", |
| 53 |
} |
| 54 |
BigQueryConnectionSpec_ConnectionType_value = map[string]int32{ |
| 55 |
"CONNECTION_TYPE_UNSPECIFIED": 0, |
| 56 |
"CLOUD_SQL": 1, |
| 57 |
} |
| 58 |
) |
| 59 |
|
| 60 |
func (x BigQueryConnectionSpec_ConnectionType) Enum() *BigQueryConnectionSpec_ConnectionType { |
| 61 |
p := new(BigQueryConnectionSpec_ConnectionType) |
| 62 |
*p = x |
| 63 |
return p |
| 64 |
} |
| 65 |
|
| 66 |
func (x BigQueryConnectionSpec_ConnectionType) String() string { |
| 67 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 68 |
} |
| 69 |
|
| 70 |
func (BigQueryConnectionSpec_ConnectionType) Descriptor() protoreflect.EnumDescriptor { |
| 71 |
return file_google_cloud_datacatalog_v1_bigquery_proto_enumTypes[0].Descriptor() |
| 72 |
} |
| 73 |
|
| 74 |
func (BigQueryConnectionSpec_ConnectionType) Type() protoreflect.EnumType { |
| 75 |
return &file_google_cloud_datacatalog_v1_bigquery_proto_enumTypes[0] |
| 76 |
} |
| 77 |
|
| 78 |
func (x BigQueryConnectionSpec_ConnectionType) Number() protoreflect.EnumNumber { |
| 79 |
return protoreflect.EnumNumber(x) |
| 80 |
} |
| 81 |
|
| 82 |
// Deprecated: Use BigQueryConnectionSpec_ConnectionType.Descriptor instead. |
| 83 |
func (BigQueryConnectionSpec_ConnectionType) EnumDescriptor() ([]byte, []int) { |
| 84 |
return file_google_cloud_datacatalog_v1_bigquery_proto_rawDescGZIP(), []int{0, 0} |
| 85 |
} |
| 86 |
|
| 87 |
// Supported Cloud SQL database types. |
| 88 |
type CloudSqlBigQueryConnectionSpec_DatabaseType int32 |
| 89 |
|
| 90 |
const ( |
| 91 |
// Unspecified database type. |
| 92 |
CloudSqlBigQueryConnectionSpec_DATABASE_TYPE_UNSPECIFIED CloudSqlBigQueryConnectionSpec_DatabaseType = 0 |
| 93 |
// Cloud SQL for PostgreSQL. |
| 94 |
CloudSqlBigQueryConnectionSpec_POSTGRES CloudSqlBigQueryConnectionSpec_DatabaseType = 1 |
| 95 |
// Cloud SQL for MySQL. |
| 96 |
CloudSqlBigQueryConnectionSpec_MYSQL CloudSqlBigQueryConnectionSpec_DatabaseType = 2 |
| 97 |
) |
| 98 |
|
| 99 |
// Enum value maps for CloudSqlBigQueryConnectionSpec_DatabaseType. |
| 100 |
var ( |
| 101 |
CloudSqlBigQueryConnectionSpec_DatabaseType_name = map[int32]string{ |
| 102 |
0: "DATABASE_TYPE_UNSPECIFIED", |
| 103 |
1: "POSTGRES", |
| 104 |
2: "MYSQL", |
| 105 |
} |
| 106 |
CloudSqlBigQueryConnectionSpec_DatabaseType_value = map[string]int32{ |
| 107 |
"DATABASE_TYPE_UNSPECIFIED": 0, |
| 108 |
"POSTGRES": 1, |
| 109 |
"MYSQL": 2, |
| 110 |
} |
| 111 |
) |
| 112 |
|
| 113 |
func (x CloudSqlBigQueryConnectionSpec_DatabaseType) Enum() *CloudSqlBigQueryConnectionSpec_DatabaseType { |
| 114 |
p := new(CloudSqlBigQueryConnectionSpec_DatabaseType) |
| 115 |
*p = x |
| 116 |
return p |
| 117 |
} |
| 118 |
|
| 119 |
func (x CloudSqlBigQueryConnectionSpec_DatabaseType) String() string { |
| 120 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 121 |
} |
| 122 |
|
| 123 |
func (CloudSqlBigQueryConnectionSpec_DatabaseType) Descriptor() protoreflect.EnumDescriptor { |
| 124 |
return file_google_cloud_datacatalog_v1_bigquery_proto_enumTypes[1].Descriptor() |
| 125 |
} |
| 126 |
|
| 127 |
func (CloudSqlBigQueryConnectionSpec_DatabaseType) Type() protoreflect.EnumType { |
| 128 |
return &file_google_cloud_datacatalog_v1_bigquery_proto_enumTypes[1] |
| 129 |
} |
| 130 |
|
| 131 |
func (x CloudSqlBigQueryConnectionSpec_DatabaseType) Number() protoreflect.EnumNumber { |
| 132 |
return protoreflect.EnumNumber(x) |
| 133 |
} |
| 134 |
|
| 135 |
// Deprecated: Use CloudSqlBigQueryConnectionSpec_DatabaseType.Descriptor instead. |
| 136 |
func (CloudSqlBigQueryConnectionSpec_DatabaseType) EnumDescriptor() ([]byte, []int) { |
| 137 |
return file_google_cloud_datacatalog_v1_bigquery_proto_rawDescGZIP(), []int{1, 0} |
| 138 |
} |
| 139 |
|
| 140 |
// Specification for the BigQuery connection. |
| 141 |
type BigQueryConnectionSpec struct { |
| 142 |
state protoimpl.MessageState |
| 143 |
sizeCache protoimpl.SizeCache |
| 144 |
unknownFields protoimpl.UnknownFields |
| 145 |
|
| 146 |
// The type of the BigQuery connection. |
| 147 |
ConnectionType BigQueryConnectionSpec_ConnectionType `protobuf:"varint,1,opt,name=connection_type,json=connectionType,proto3,enum=google.cloud.datacatalog.v1.BigQueryConnectionSpec_ConnectionType" json:"connection_type,omitempty"` |
| 148 |
// Types that are assignable to ConnectionSpec: |
| 149 |
// |
| 150 |
// *BigQueryConnectionSpec_CloudSql |
| 151 |
ConnectionSpec isBigQueryConnectionSpec_ConnectionSpec `protobuf_oneof:"connection_spec"` |
| 152 |
// True if there are credentials attached to the BigQuery connection; false |
| 153 |
// otherwise. |
| 154 |
HasCredential bool `protobuf:"varint,3,opt,name=has_credential,json=hasCredential,proto3" json:"has_credential,omitempty"` |
| 155 |
} |
| 156 |
|
| 157 |
func (x *BigQueryConnectionSpec) Reset() { |
| 158 |
*x = BigQueryConnectionSpec{} |
| 159 |
mi := &file_google_cloud_datacatalog_v1_bigquery_proto_msgTypes[0] |
| 160 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 161 |
ms.StoreMessageInfo(mi) |
| 162 |
} |
| 163 |
|
| 164 |
func (x *BigQueryConnectionSpec) String() string { |
| 165 |
return protoimpl.X.MessageStringOf(x) |
| 166 |
} |
| 167 |
|
| 168 |
func (*BigQueryConnectionSpec) ProtoMessage() {} |
| 169 |
|
| 170 |
func (x *BigQueryConnectionSpec) ProtoReflect() protoreflect.Message { |
| 171 |
mi := &file_google_cloud_datacatalog_v1_bigquery_proto_msgTypes[0] |
| 172 |
if x != nil { |
| 173 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 174 |
if ms.LoadMessageInfo() == nil { |
| 175 |
ms.StoreMessageInfo(mi) |
| 176 |
} |
| 177 |
return ms |
| 178 |
} |
| 179 |
return mi.MessageOf(x) |
| 180 |
} |
| 181 |
|
| 182 |
// Deprecated: Use BigQueryConnectionSpec.ProtoReflect.Descriptor instead. |
| 183 |
func (*BigQueryConnectionSpec) Descriptor() ([]byte, []int) { |
| 184 |
return file_google_cloud_datacatalog_v1_bigquery_proto_rawDescGZIP(), []int{0} |
| 185 |
} |
| 186 |
|
| 187 |
func (x *BigQueryConnectionSpec) GetConnectionType() BigQueryConnectionSpec_ConnectionType { |
| 188 |
if x != nil { |
| 189 |
return x.ConnectionType |
| 190 |
} |
| 191 |
return BigQueryConnectionSpec_CONNECTION_TYPE_UNSPECIFIED |
| 192 |
} |
| 193 |
|
| 194 |
func (m *BigQueryConnectionSpec) GetConnectionSpec() isBigQueryConnectionSpec_ConnectionSpec { |
| 195 |
if m != nil { |
| 196 |
return m.ConnectionSpec |
| 197 |
} |
| 198 |
return nil |
| 199 |
} |
| 200 |
|
| 201 |
func (x *BigQueryConnectionSpec) GetCloudSql() *CloudSqlBigQueryConnectionSpec { |
| 202 |
if x, ok := x.GetConnectionSpec().(*BigQueryConnectionSpec_CloudSql); ok { |
| 203 |
return x.CloudSql |
| 204 |
} |
| 205 |
return nil |
| 206 |
} |
| 207 |
|
| 208 |
func (x *BigQueryConnectionSpec) GetHasCredential() bool { |
| 209 |
if x != nil { |
| 210 |
return x.HasCredential |
| 211 |
} |
| 212 |
return false |
| 213 |
} |
| 214 |
|
| 215 |
type isBigQueryConnectionSpec_ConnectionSpec interface { |
| 216 |
isBigQueryConnectionSpec_ConnectionSpec() |
| 217 |
} |
| 218 |
|
| 219 |
type BigQueryConnectionSpec_CloudSql struct { |
| 220 |
// Specification for the BigQuery connection to a Cloud SQL instance. |
| 221 |
CloudSql *CloudSqlBigQueryConnectionSpec `protobuf:"bytes,2,opt,name=cloud_sql,json=cloudSql,proto3,oneof"` |
| 222 |
} |
| 223 |
|
| 224 |
func (*BigQueryConnectionSpec_CloudSql) isBigQueryConnectionSpec_ConnectionSpec() {} |
| 225 |
|
| 226 |
// Specification for the BigQuery connection to a Cloud SQL instance. |
| 227 |
type CloudSqlBigQueryConnectionSpec struct { |
| 228 |
state protoimpl.MessageState |
| 229 |
sizeCache protoimpl.SizeCache |
| 230 |
unknownFields protoimpl.UnknownFields |
| 231 |
|
| 232 |
// Cloud SQL instance ID in the format of `project:location:instance`. |
| 233 |
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` |
| 234 |
// Database name. |
| 235 |
Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` |
| 236 |
// Type of the Cloud SQL database. |
| 237 |
Type CloudSqlBigQueryConnectionSpec_DatabaseType `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec_DatabaseType" json:"type,omitempty"` |
| 238 |
} |
| 239 |
|
| 240 |
func (x *CloudSqlBigQueryConnectionSpec) Reset() { |
| 241 |
*x = CloudSqlBigQueryConnectionSpec{} |
| 242 |
mi := &file_google_cloud_datacatalog_v1_bigquery_proto_msgTypes[1] |
| 243 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 244 |
ms.StoreMessageInfo(mi) |
| 245 |
} |
| 246 |
|
| 247 |
func (x *CloudSqlBigQueryConnectionSpec) String() string { |
| 248 |
return protoimpl.X.MessageStringOf(x) |
| 249 |
} |
| 250 |
|
| 251 |
func (*CloudSqlBigQueryConnectionSpec) ProtoMessage() {} |
| 252 |
|
| 253 |
func (x *CloudSqlBigQueryConnectionSpec) ProtoReflect() protoreflect.Message { |
| 254 |
mi := &file_google_cloud_datacatalog_v1_bigquery_proto_msgTypes[1] |
| 255 |
if x != nil { |
| 256 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 257 |
if ms.LoadMessageInfo() == nil { |
| 258 |
ms.StoreMessageInfo(mi) |
| 259 |
} |
| 260 |
return ms |
| 261 |
} |
| 262 |
return mi.MessageOf(x) |
| 263 |
} |
| 264 |
|
| 265 |
// Deprecated: Use CloudSqlBigQueryConnectionSpec.ProtoReflect.Descriptor instead. |
| 266 |
func (*CloudSqlBigQueryConnectionSpec) Descriptor() ([]byte, []int) { |
| 267 |
return file_google_cloud_datacatalog_v1_bigquery_proto_rawDescGZIP(), []int{1} |
| 268 |
} |
| 269 |
|
| 270 |
func (x *CloudSqlBigQueryConnectionSpec) GetInstanceId() string { |
| 271 |
if x != nil { |
| 272 |
return x.InstanceId |
| 273 |
} |
| 274 |
return "" |
| 275 |
} |
| 276 |
|
| 277 |
func (x *CloudSqlBigQueryConnectionSpec) GetDatabase() string { |
| 278 |
if x != nil { |
| 279 |
return x.Database |
| 280 |
} |
| 281 |
return "" |
| 282 |
} |
| 283 |
|
| 284 |
func (x *CloudSqlBigQueryConnectionSpec) GetType() CloudSqlBigQueryConnectionSpec_DatabaseType { |
| 285 |
if x != nil { |
| 286 |
return x.Type |
| 287 |
} |
| 288 |
return CloudSqlBigQueryConnectionSpec_DATABASE_TYPE_UNSPECIFIED |
| 289 |
} |
| 290 |
|
| 291 |
// Fields specific for BigQuery routines. |
| 292 |
type BigQueryRoutineSpec struct { |
| 293 |
state protoimpl.MessageState |
| 294 |
sizeCache protoimpl.SizeCache |
| 295 |
unknownFields protoimpl.UnknownFields |
| 296 |
|
| 297 |
// Paths of the imported libraries. |
| 298 |
ImportedLibraries []string `protobuf:"bytes,1,rep,name=imported_libraries,json=importedLibraries,proto3" json:"imported_libraries,omitempty"` |
| 299 |
} |
| 300 |
|
| 301 |
func (x *BigQueryRoutineSpec) Reset() { |
| 302 |
*x = BigQueryRoutineSpec{} |
| 303 |
mi := &file_google_cloud_datacatalog_v1_bigquery_proto_msgTypes[2] |
| 304 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 305 |
ms.StoreMessageInfo(mi) |
| 306 |
} |
| 307 |
|
| 308 |
func (x *BigQueryRoutineSpec) String() string { |
| 309 |
return protoimpl.X.MessageStringOf(x) |
| 310 |
} |
| 311 |
|
| 312 |
func (*BigQueryRoutineSpec) ProtoMessage() {} |
| 313 |
|
| 314 |
func (x *BigQueryRoutineSpec) ProtoReflect() protoreflect.Message { |
| 315 |
mi := &file_google_cloud_datacatalog_v1_bigquery_proto_msgTypes[2] |
| 316 |
if x != nil { |
| 317 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 318 |
if ms.LoadMessageInfo() == nil { |
| 319 |
ms.StoreMessageInfo(mi) |
| 320 |
} |
| 321 |
return ms |
| 322 |
} |
| 323 |
return mi.MessageOf(x) |
| 324 |
} |
| 325 |
|
| 326 |
// Deprecated: Use BigQueryRoutineSpec.ProtoReflect.Descriptor instead. |
| 327 |
func (*BigQueryRoutineSpec) Descriptor() ([]byte, []int) { |
| 328 |
return file_google_cloud_datacatalog_v1_bigquery_proto_rawDescGZIP(), []int{2} |
| 329 |
} |
| 330 |
|
| 331 |
func (x *BigQueryRoutineSpec) GetImportedLibraries() []string { |
| 332 |
if x != nil { |
| 333 |
return x.ImportedLibraries |
| 334 |
} |
| 335 |
return nil |
| 336 |
} |
| 337 |
|
| 338 |
var File_google_cloud_datacatalog_v1_bigquery_proto protoreflect.FileDescriptor |
| 339 |
|
| 340 |
var file_google_cloud_datacatalog_v1_bigquery_proto_rawDesc = []byte{ |
| 341 |
0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, |
| 342 |
0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x69, |
| 343 |
0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, |
| 344 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, |
| 345 |
0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 346 |
0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, |
| 347 |
0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdd, 0x02, 0x0a, 0x16, 0x42, |
| 348 |
0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, |
| 349 |
0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x6b, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, |
| 350 |
0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x42, |
| 351 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, |
| 352 |
0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x67, |
| 353 |
0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, |
| 354 |
0x70, 0x65, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, |
| 355 |
0x70, 0x65, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, |
| 356 |
0x70, 0x65, 0x12, 0x5a, 0x0a, 0x09, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x71, 0x6c, 0x18, |
| 357 |
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 358 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, |
| 359 |
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x71, 0x6c, 0x42, 0x69, 0x67, 0x51, |
| 360 |
0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, |
| 361 |
0x65, 0x63, 0x48, 0x00, 0x52, 0x08, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x71, 0x6c, 0x12, 0x25, |
| 362 |
0x0a, 0x0e, 0x68, 0x61, 0x73, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, |
| 363 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x68, 0x61, 0x73, 0x43, 0x72, 0x65, 0x64, 0x65, |
| 364 |
0x6e, 0x74, 0x69, 0x61, 0x6c, 0x22, 0x40, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, |
| 365 |
0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x4f, 0x4e, 0x4e, 0x45, |
| 366 |
0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, |
| 367 |
0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4c, 0x4f, 0x55, |
| 368 |
0x44, 0x5f, 0x53, 0x51, 0x4c, 0x10, 0x01, 0x42, 0x11, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, |
| 369 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x22, 0x83, 0x02, 0x0a, 0x1e, 0x43, |
| 370 |
0x6c, 0x6f, 0x75, 0x64, 0x53, 0x71, 0x6c, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, |
| 371 |
0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x1f, 0x0a, |
| 372 |
0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, |
| 373 |
0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1a, |
| 374 |
0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, |
| 375 |
0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x04, 0x74, 0x79, |
| 376 |
0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 377 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, |
| 378 |
0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x71, 0x6c, 0x42, |
| 379 |
0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, |
| 380 |
0x6e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x79, |
| 381 |
0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x46, 0x0a, 0x0c, 0x44, 0x61, 0x74, 0x61, |
| 382 |
0x62, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x41, 0x54, 0x41, |
| 383 |
0x42, 0x41, 0x53, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, |
| 384 |
0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x4f, 0x53, 0x54, 0x47, |
| 385 |
0x52, 0x45, 0x53, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x59, 0x53, 0x51, 0x4c, 0x10, 0x02, |
| 386 |
0x22, 0x44, 0x0a, 0x13, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x6f, 0x75, 0x74, |
| 387 |
0x69, 0x6e, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x2d, 0x0a, 0x12, 0x69, 0x6d, 0x70, 0x6f, 0x72, |
| 388 |
0x74, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, |
| 389 |
0x03, 0x28, 0x09, 0x52, 0x11, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x4c, 0x69, 0x62, |
| 390 |
0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x42, 0xd2, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, |
| 391 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, |
| 392 |
0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x42, 0x69, 0x67, 0x51, |
| 393 |
0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x63, 0x6c, 0x6f, |
| 394 |
0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, |
| 395 |
0x2f, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x61, 0x70, 0x69, |
| 396 |
0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x70, 0x62, |
| 397 |
0x3b, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x70, 0x62, 0xaa, 0x02, |
| 398 |
0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x61, |
| 399 |
0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1b, 0x47, |
| 400 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x61, 0x74, 0x61, |
| 401 |
0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, |
| 402 |
0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x44, 0x61, 0x74, 0x61, |
| 403 |
0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, |
| 404 |
0x74, 0x6f, 0x33, |
| 405 |
} |
| 406 |
|
| 407 |
var ( |
| 408 |
file_google_cloud_datacatalog_v1_bigquery_proto_rawDescOnce sync.Once |
| 409 |
file_google_cloud_datacatalog_v1_bigquery_proto_rawDescData = file_google_cloud_datacatalog_v1_bigquery_proto_rawDesc |
| 410 |
) |
| 411 |
|
| 412 |
func file_google_cloud_datacatalog_v1_bigquery_proto_rawDescGZIP() []byte { |
| 413 |
file_google_cloud_datacatalog_v1_bigquery_proto_rawDescOnce.Do(func() { |
| 414 |
file_google_cloud_datacatalog_v1_bigquery_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_datacatalog_v1_bigquery_proto_rawDescData) |
| 415 |
}) |
| 416 |
return file_google_cloud_datacatalog_v1_bigquery_proto_rawDescData |
| 417 |
} |
| 418 |
|
| 419 |
var file_google_cloud_datacatalog_v1_bigquery_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| 420 |
var file_google_cloud_datacatalog_v1_bigquery_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
| 421 |
var file_google_cloud_datacatalog_v1_bigquery_proto_goTypes = []any{ |
| 422 |
(BigQueryConnectionSpec_ConnectionType)(0), // 0: google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType |
| 423 |
(CloudSqlBigQueryConnectionSpec_DatabaseType)(0), // 1: google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType |
| 424 |
(*BigQueryConnectionSpec)(nil), // 2: google.cloud.datacatalog.v1.BigQueryConnectionSpec |
| 425 |
(*CloudSqlBigQueryConnectionSpec)(nil), // 3: google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec |
| 426 |
(*BigQueryRoutineSpec)(nil), // 4: google.cloud.datacatalog.v1.BigQueryRoutineSpec |
| 427 |
} |
| 428 |
var file_google_cloud_datacatalog_v1_bigquery_proto_depIdxs = []int32{ |
| 429 |
0, // 0: google.cloud.datacatalog.v1.BigQueryConnectionSpec.connection_type:type_name -> google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType |
| 430 |
3, // 1: google.cloud.datacatalog.v1.BigQueryConnectionSpec.cloud_sql:type_name -> google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec |
| 431 |
1, // 2: google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.type:type_name -> google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType |
| 432 |
3, // [3:3] is the sub-list for method output_type |
| 433 |
3, // [3:3] is the sub-list for method input_type |
| 434 |
3, // [3:3] is the sub-list for extension type_name |
| 435 |
3, // [3:3] is the sub-list for extension extendee |
| 436 |
0, // [0:3] is the sub-list for field type_name |
| 437 |
} |
| 438 |
|
| 439 |
func init() { file_google_cloud_datacatalog_v1_bigquery_proto_init() } |
| 440 |
func file_google_cloud_datacatalog_v1_bigquery_proto_init() { |
| 441 |
if File_google_cloud_datacatalog_v1_bigquery_proto != nil { |
| 442 |
return |
| 443 |
} |
| 444 |
file_google_cloud_datacatalog_v1_bigquery_proto_msgTypes[0].OneofWrappers = []any{ |
| 445 |
(*BigQueryConnectionSpec_CloudSql)(nil), |
| 446 |
} |
| 447 |
type x struct{} |
| 448 |
out := protoimpl.TypeBuilder{ |
| 449 |
File: protoimpl.DescBuilder{ |
| 450 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 451 |
RawDescriptor: file_google_cloud_datacatalog_v1_bigquery_proto_rawDesc, |
| 452 |
NumEnums: 2, |
| 453 |
NumMessages: 3, |
| 454 |
NumExtensions: 0, |
| 455 |
NumServices: 0, |
| 456 |
}, |
| 457 |
GoTypes: file_google_cloud_datacatalog_v1_bigquery_proto_goTypes, |
| 458 |
DependencyIndexes: file_google_cloud_datacatalog_v1_bigquery_proto_depIdxs, |
| 459 |
EnumInfos: file_google_cloud_datacatalog_v1_bigquery_proto_enumTypes, |
| 460 |
MessageInfos: file_google_cloud_datacatalog_v1_bigquery_proto_msgTypes, |
| 461 |
}.Build() |
| 462 |
File_google_cloud_datacatalog_v1_bigquery_proto = out.File |
| 463 |
file_google_cloud_datacatalog_v1_bigquery_proto_rawDesc = nil |
| 464 |
file_google_cloud_datacatalog_v1_bigquery_proto_goTypes = nil |
| 465 |
file_google_cloud_datacatalog_v1_bigquery_proto_depIdxs = nil |
| 466 |
} |