| 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/bigquery/v2/table_constraints.proto |
| 20 |
|
| 21 |
package bigquerypb |
| 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 |
// Represents the primary key constraint on a table's columns. |
| 39 |
type PrimaryKey struct { |
| 40 |
state protoimpl.MessageState |
| 41 |
sizeCache protoimpl.SizeCache |
| 42 |
unknownFields protoimpl.UnknownFields |
| 43 |
|
| 44 |
// Required. The columns that are composed of the primary key constraint. |
| 45 |
Columns []string `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"` |
| 46 |
} |
| 47 |
|
| 48 |
func (x *PrimaryKey) Reset() { |
| 49 |
*x = PrimaryKey{} |
| 50 |
mi := &file_google_cloud_bigquery_v2_table_constraints_proto_msgTypes[0] |
| 51 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 52 |
ms.StoreMessageInfo(mi) |
| 53 |
} |
| 54 |
|
| 55 |
func (x *PrimaryKey) String() string { |
| 56 |
return protoimpl.X.MessageStringOf(x) |
| 57 |
} |
| 58 |
|
| 59 |
func (*PrimaryKey) ProtoMessage() {} |
| 60 |
|
| 61 |
func (x *PrimaryKey) ProtoReflect() protoreflect.Message { |
| 62 |
mi := &file_google_cloud_bigquery_v2_table_constraints_proto_msgTypes[0] |
| 63 |
if x != nil { |
| 64 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 65 |
if ms.LoadMessageInfo() == nil { |
| 66 |
ms.StoreMessageInfo(mi) |
| 67 |
} |
| 68 |
return ms |
| 69 |
} |
| 70 |
return mi.MessageOf(x) |
| 71 |
} |
| 72 |
|
| 73 |
// Deprecated: Use PrimaryKey.ProtoReflect.Descriptor instead. |
| 74 |
func (*PrimaryKey) Descriptor() ([]byte, []int) { |
| 75 |
return file_google_cloud_bigquery_v2_table_constraints_proto_rawDescGZIP(), []int{0} |
| 76 |
} |
| 77 |
|
| 78 |
func (x *PrimaryKey) GetColumns() []string { |
| 79 |
if x != nil { |
| 80 |
return x.Columns |
| 81 |
} |
| 82 |
return nil |
| 83 |
} |
| 84 |
|
| 85 |
// The pair of the foreign key column and primary key column. |
| 86 |
type ColumnReference struct { |
| 87 |
state protoimpl.MessageState |
| 88 |
sizeCache protoimpl.SizeCache |
| 89 |
unknownFields protoimpl.UnknownFields |
| 90 |
|
| 91 |
// Required. The column that composes the foreign key. |
| 92 |
ReferencingColumn string `protobuf:"bytes,1,opt,name=referencing_column,json=referencingColumn,proto3" json:"referencing_column,omitempty"` |
| 93 |
// Required. The column in the primary key that are referenced by the |
| 94 |
// referencing_column. |
| 95 |
ReferencedColumn string `protobuf:"bytes,2,opt,name=referenced_column,json=referencedColumn,proto3" json:"referenced_column,omitempty"` |
| 96 |
} |
| 97 |
|
| 98 |
func (x *ColumnReference) Reset() { |
| 99 |
*x = ColumnReference{} |
| 100 |
mi := &file_google_cloud_bigquery_v2_table_constraints_proto_msgTypes[1] |
| 101 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 102 |
ms.StoreMessageInfo(mi) |
| 103 |
} |
| 104 |
|
| 105 |
func (x *ColumnReference) String() string { |
| 106 |
return protoimpl.X.MessageStringOf(x) |
| 107 |
} |
| 108 |
|
| 109 |
func (*ColumnReference) ProtoMessage() {} |
| 110 |
|
| 111 |
func (x *ColumnReference) ProtoReflect() protoreflect.Message { |
| 112 |
mi := &file_google_cloud_bigquery_v2_table_constraints_proto_msgTypes[1] |
| 113 |
if x != nil { |
| 114 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 115 |
if ms.LoadMessageInfo() == nil { |
| 116 |
ms.StoreMessageInfo(mi) |
| 117 |
} |
| 118 |
return ms |
| 119 |
} |
| 120 |
return mi.MessageOf(x) |
| 121 |
} |
| 122 |
|
| 123 |
// Deprecated: Use ColumnReference.ProtoReflect.Descriptor instead. |
| 124 |
func (*ColumnReference) Descriptor() ([]byte, []int) { |
| 125 |
return file_google_cloud_bigquery_v2_table_constraints_proto_rawDescGZIP(), []int{1} |
| 126 |
} |
| 127 |
|
| 128 |
func (x *ColumnReference) GetReferencingColumn() string { |
| 129 |
if x != nil { |
| 130 |
return x.ReferencingColumn |
| 131 |
} |
| 132 |
return "" |
| 133 |
} |
| 134 |
|
| 135 |
func (x *ColumnReference) GetReferencedColumn() string { |
| 136 |
if x != nil { |
| 137 |
return x.ReferencedColumn |
| 138 |
} |
| 139 |
return "" |
| 140 |
} |
| 141 |
|
| 142 |
// Represents a foreign key constraint on a table's columns. |
| 143 |
type ForeignKey struct { |
| 144 |
state protoimpl.MessageState |
| 145 |
sizeCache protoimpl.SizeCache |
| 146 |
unknownFields protoimpl.UnknownFields |
| 147 |
|
| 148 |
// Optional. Set only if the foreign key constraint is named. |
| 149 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 150 |
// Required. The table that holds the primary key and is referenced by this |
| 151 |
// foreign key. |
| 152 |
ReferencedTable *TableReference `protobuf:"bytes,2,opt,name=referenced_table,json=referencedTable,proto3" json:"referenced_table,omitempty"` |
| 153 |
// Required. The columns that compose the foreign key. |
| 154 |
ColumnReferences []*ColumnReference `protobuf:"bytes,3,rep,name=column_references,json=columnReferences,proto3" json:"column_references,omitempty"` |
| 155 |
} |
| 156 |
|
| 157 |
func (x *ForeignKey) Reset() { |
| 158 |
*x = ForeignKey{} |
| 159 |
mi := &file_google_cloud_bigquery_v2_table_constraints_proto_msgTypes[2] |
| 160 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 161 |
ms.StoreMessageInfo(mi) |
| 162 |
} |
| 163 |
|
| 164 |
func (x *ForeignKey) String() string { |
| 165 |
return protoimpl.X.MessageStringOf(x) |
| 166 |
} |
| 167 |
|
| 168 |
func (*ForeignKey) ProtoMessage() {} |
| 169 |
|
| 170 |
func (x *ForeignKey) ProtoReflect() protoreflect.Message { |
| 171 |
mi := &file_google_cloud_bigquery_v2_table_constraints_proto_msgTypes[2] |
| 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 ForeignKey.ProtoReflect.Descriptor instead. |
| 183 |
func (*ForeignKey) Descriptor() ([]byte, []int) { |
| 184 |
return file_google_cloud_bigquery_v2_table_constraints_proto_rawDescGZIP(), []int{2} |
| 185 |
} |
| 186 |
|
| 187 |
func (x *ForeignKey) GetName() string { |
| 188 |
if x != nil { |
| 189 |
return x.Name |
| 190 |
} |
| 191 |
return "" |
| 192 |
} |
| 193 |
|
| 194 |
func (x *ForeignKey) GetReferencedTable() *TableReference { |
| 195 |
if x != nil { |
| 196 |
return x.ReferencedTable |
| 197 |
} |
| 198 |
return nil |
| 199 |
} |
| 200 |
|
| 201 |
func (x *ForeignKey) GetColumnReferences() []*ColumnReference { |
| 202 |
if x != nil { |
| 203 |
return x.ColumnReferences |
| 204 |
} |
| 205 |
return nil |
| 206 |
} |
| 207 |
|
| 208 |
// The TableConstraints defines the primary key and foreign key. |
| 209 |
type TableConstraints struct { |
| 210 |
state protoimpl.MessageState |
| 211 |
sizeCache protoimpl.SizeCache |
| 212 |
unknownFields protoimpl.UnknownFields |
| 213 |
|
| 214 |
// Optional. Represents a primary key constraint on a table's columns. |
| 215 |
// Present only if the table has a primary key. |
| 216 |
// The primary key is not enforced. |
| 217 |
PrimaryKey *PrimaryKey `protobuf:"bytes,1,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"` |
| 218 |
// Optional. Present only if the table has a foreign key. |
| 219 |
// The foreign key is not enforced. |
| 220 |
ForeignKeys []*ForeignKey `protobuf:"bytes,2,rep,name=foreign_keys,json=foreignKeys,proto3" json:"foreign_keys,omitempty"` |
| 221 |
} |
| 222 |
|
| 223 |
func (x *TableConstraints) Reset() { |
| 224 |
*x = TableConstraints{} |
| 225 |
mi := &file_google_cloud_bigquery_v2_table_constraints_proto_msgTypes[3] |
| 226 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 227 |
ms.StoreMessageInfo(mi) |
| 228 |
} |
| 229 |
|
| 230 |
func (x *TableConstraints) String() string { |
| 231 |
return protoimpl.X.MessageStringOf(x) |
| 232 |
} |
| 233 |
|
| 234 |
func (*TableConstraints) ProtoMessage() {} |
| 235 |
|
| 236 |
func (x *TableConstraints) ProtoReflect() protoreflect.Message { |
| 237 |
mi := &file_google_cloud_bigquery_v2_table_constraints_proto_msgTypes[3] |
| 238 |
if x != nil { |
| 239 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 240 |
if ms.LoadMessageInfo() == nil { |
| 241 |
ms.StoreMessageInfo(mi) |
| 242 |
} |
| 243 |
return ms |
| 244 |
} |
| 245 |
return mi.MessageOf(x) |
| 246 |
} |
| 247 |
|
| 248 |
// Deprecated: Use TableConstraints.ProtoReflect.Descriptor instead. |
| 249 |
func (*TableConstraints) Descriptor() ([]byte, []int) { |
| 250 |
return file_google_cloud_bigquery_v2_table_constraints_proto_rawDescGZIP(), []int{3} |
| 251 |
} |
| 252 |
|
| 253 |
func (x *TableConstraints) GetPrimaryKey() *PrimaryKey { |
| 254 |
if x != nil { |
| 255 |
return x.PrimaryKey |
| 256 |
} |
| 257 |
return nil |
| 258 |
} |
| 259 |
|
| 260 |
func (x *TableConstraints) GetForeignKeys() []*ForeignKey { |
| 261 |
if x != nil { |
| 262 |
return x.ForeignKeys |
| 263 |
} |
| 264 |
return nil |
| 265 |
} |
| 266 |
|
| 267 |
var File_google_cloud_bigquery_v2_table_constraints_proto protoreflect.FileDescriptor |
| 268 |
|
| 269 |
var file_google_cloud_bigquery_v2_table_constraints_proto_rawDesc = []byte{ |
| 270 |
0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, |
| 271 |
0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, |
| 272 |
0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, |
| 273 |
0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 274 |
0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, |
| 275 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, |
| 276 |
0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x67, |
| 277 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x67, 0x71, |
| 278 |
0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, |
| 279 |
0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2b, 0x0a, |
| 280 |
0x0a, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x07, 0x63, |
| 281 |
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, |
| 282 |
0x02, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x77, 0x0a, 0x0f, 0x43, 0x6f, |
| 283 |
0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x32, 0x0a, |
| 284 |
0x12, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6c, |
| 285 |
0x75, 0x6d, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x11, |
| 286 |
0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6c, 0x75, 0x6d, |
| 287 |
0x6e, 0x12, 0x30, 0x0a, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, |
| 288 |
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, |
| 289 |
0x02, 0x52, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x43, 0x6f, 0x6c, |
| 290 |
0x75, 0x6d, 0x6e, 0x22, 0xdc, 0x01, 0x0a, 0x0a, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, |
| 291 |
0x65, 0x79, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 292 |
0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x58, 0x0a, 0x10, 0x72, |
| 293 |
0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, |
| 294 |
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 295 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, |
| 296 |
0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, |
| 297 |
0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, |
| 298 |
0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x5b, 0x0a, 0x11, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, |
| 299 |
0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, |
| 300 |
0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 301 |
0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6c, 0x75, |
| 302 |
0x6d, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, |
| 303 |
0x52, 0x10, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, |
| 304 |
0x65, 0x73, 0x22, 0xac, 0x01, 0x0a, 0x10, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x73, |
| 305 |
0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x4a, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x6d, 0x61, |
| 306 |
0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, |
| 307 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, |
| 308 |
0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, |
| 309 |
0x65, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, |
| 310 |
0x4b, 0x65, 0x79, 0x12, 0x4c, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b, |
| 311 |
0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 312 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, |
| 313 |
0x79, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x42, |
| 314 |
0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, |
| 315 |
0x73, 0x42, 0x72, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 316 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, |
| 317 |
0x32, 0x42, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, |
| 318 |
0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 319 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, |
| 320 |
0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, |
| 321 |
0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x62, 0x69, 0x67, 0x71, 0x75, |
| 322 |
0x65, 0x72, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 323 |
} |
| 324 |
|
| 325 |
var ( |
| 326 |
file_google_cloud_bigquery_v2_table_constraints_proto_rawDescOnce sync.Once |
| 327 |
file_google_cloud_bigquery_v2_table_constraints_proto_rawDescData = file_google_cloud_bigquery_v2_table_constraints_proto_rawDesc |
| 328 |
) |
| 329 |
|
| 330 |
func file_google_cloud_bigquery_v2_table_constraints_proto_rawDescGZIP() []byte { |
| 331 |
file_google_cloud_bigquery_v2_table_constraints_proto_rawDescOnce.Do(func() { |
| 332 |
file_google_cloud_bigquery_v2_table_constraints_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_table_constraints_proto_rawDescData) |
| 333 |
}) |
| 334 |
return file_google_cloud_bigquery_v2_table_constraints_proto_rawDescData |
| 335 |
} |
| 336 |
|
| 337 |
var file_google_cloud_bigquery_v2_table_constraints_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
| 338 |
var file_google_cloud_bigquery_v2_table_constraints_proto_goTypes = []any{ |
| 339 |
(*PrimaryKey)(nil), // 0: google.cloud.bigquery.v2.PrimaryKey |
| 340 |
(*ColumnReference)(nil), // 1: google.cloud.bigquery.v2.ColumnReference |
| 341 |
(*ForeignKey)(nil), // 2: google.cloud.bigquery.v2.ForeignKey |
| 342 |
(*TableConstraints)(nil), // 3: google.cloud.bigquery.v2.TableConstraints |
| 343 |
(*TableReference)(nil), // 4: google.cloud.bigquery.v2.TableReference |
| 344 |
} |
| 345 |
var file_google_cloud_bigquery_v2_table_constraints_proto_depIdxs = []int32{ |
| 346 |
4, // 0: google.cloud.bigquery.v2.ForeignKey.referenced_table:type_name -> google.cloud.bigquery.v2.TableReference |
| 347 |
1, // 1: google.cloud.bigquery.v2.ForeignKey.column_references:type_name -> google.cloud.bigquery.v2.ColumnReference |
| 348 |
0, // 2: google.cloud.bigquery.v2.TableConstraints.primary_key:type_name -> google.cloud.bigquery.v2.PrimaryKey |
| 349 |
2, // 3: google.cloud.bigquery.v2.TableConstraints.foreign_keys:type_name -> google.cloud.bigquery.v2.ForeignKey |
| 350 |
4, // [4:4] is the sub-list for method output_type |
| 351 |
4, // [4:4] is the sub-list for method input_type |
| 352 |
4, // [4:4] is the sub-list for extension type_name |
| 353 |
4, // [4:4] is the sub-list for extension extendee |
| 354 |
0, // [0:4] is the sub-list for field type_name |
| 355 |
} |
| 356 |
|
| 357 |
func init() { file_google_cloud_bigquery_v2_table_constraints_proto_init() } |
| 358 |
func file_google_cloud_bigquery_v2_table_constraints_proto_init() { |
| 359 |
if File_google_cloud_bigquery_v2_table_constraints_proto != nil { |
| 360 |
return |
| 361 |
} |
| 362 |
file_google_cloud_bigquery_v2_table_reference_proto_init() |
| 363 |
type x struct{} |
| 364 |
out := protoimpl.TypeBuilder{ |
| 365 |
File: protoimpl.DescBuilder{ |
| 366 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 367 |
RawDescriptor: file_google_cloud_bigquery_v2_table_constraints_proto_rawDesc, |
| 368 |
NumEnums: 0, |
| 369 |
NumMessages: 4, |
| 370 |
NumExtensions: 0, |
| 371 |
NumServices: 0, |
| 372 |
}, |
| 373 |
GoTypes: file_google_cloud_bigquery_v2_table_constraints_proto_goTypes, |
| 374 |
DependencyIndexes: file_google_cloud_bigquery_v2_table_constraints_proto_depIdxs, |
| 375 |
MessageInfos: file_google_cloud_bigquery_v2_table_constraints_proto_msgTypes, |
| 376 |
}.Build() |
| 377 |
File_google_cloud_bigquery_v2_table_constraints_proto = out.File |
| 378 |
file_google_cloud_bigquery_v2_table_constraints_proto_rawDesc = nil |
| 379 |
file_google_cloud_bigquery_v2_table_constraints_proto_goTypes = nil |
| 380 |
file_google_cloud_bigquery_v2_table_constraints_proto_depIdxs = nil |
| 381 |
} |