Debian Codegraph @

bigquery/v2/apiv2/bigquerypb/biglake_config.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/bigquery/v2/biglake_config.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 // Supported file formats for BigQuery tables for Apache Iceberg.
39 type BigLakeConfiguration_FileFormat int32
40
41 const (
42 // Default Value.
43 BigLakeConfiguration_FILE_FORMAT_UNSPECIFIED BigLakeConfiguration_FileFormat = 0
44 // Apache Parquet format.
45 BigLakeConfiguration_PARQUET BigLakeConfiguration_FileFormat = 1
46 )
47
48 // Enum value maps for BigLakeConfiguration_FileFormat.
49 var (
50 BigLakeConfiguration_FileFormat_name = map[int32]string{
51 0: "FILE_FORMAT_UNSPECIFIED",
52 1: "PARQUET",
53 }
54 BigLakeConfiguration_FileFormat_value = map[string]int32{
55 "FILE_FORMAT_UNSPECIFIED": 0,
56 "PARQUET": 1,
57 }
58 )
59
60 func (x BigLakeConfiguration_FileFormat) Enum() *BigLakeConfiguration_FileFormat {
61 p := new(BigLakeConfiguration_FileFormat)
62 *p = x
63 return p
64 }
65
66 func (x BigLakeConfiguration_FileFormat) String() string {
67 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
68 }
69
70 func (BigLakeConfiguration_FileFormat) Descriptor() protoreflect.EnumDescriptor {
71 return file_google_cloud_bigquery_v2_biglake_config_proto_enumTypes[0].Descriptor()
72 }
73
74 func (BigLakeConfiguration_FileFormat) Type() protoreflect.EnumType {
75 return &file_google_cloud_bigquery_v2_biglake_config_proto_enumTypes[0]
76 }
77
78 func (x BigLakeConfiguration_FileFormat) Number() protoreflect.EnumNumber {
79 return protoreflect.EnumNumber(x)
80 }
81
82 // Deprecated: Use BigLakeConfiguration_FileFormat.Descriptor instead.
83 func (BigLakeConfiguration_FileFormat) EnumDescriptor() ([]byte, []int) {
84 return file_google_cloud_bigquery_v2_biglake_config_proto_rawDescGZIP(), []int{0, 0}
85 }
86
87 // Supported table formats for BigQuery tables for Apache Iceberg.
88 type BigLakeConfiguration_TableFormat int32
89
90 const (
91 // Default Value.
92 BigLakeConfiguration_TABLE_FORMAT_UNSPECIFIED BigLakeConfiguration_TableFormat = 0
93 // Apache Iceberg format.
94 BigLakeConfiguration_ICEBERG BigLakeConfiguration_TableFormat = 1
95 )
96
97 // Enum value maps for BigLakeConfiguration_TableFormat.
98 var (
99 BigLakeConfiguration_TableFormat_name = map[int32]string{
100 0: "TABLE_FORMAT_UNSPECIFIED",
101 1: "ICEBERG",
102 }
103 BigLakeConfiguration_TableFormat_value = map[string]int32{
104 "TABLE_FORMAT_UNSPECIFIED": 0,
105 "ICEBERG": 1,
106 }
107 )
108
109 func (x BigLakeConfiguration_TableFormat) Enum() *BigLakeConfiguration_TableFormat {
110 p := new(BigLakeConfiguration_TableFormat)
111 *p = x
112 return p
113 }
114
115 func (x BigLakeConfiguration_TableFormat) String() string {
116 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
117 }
118
119 func (BigLakeConfiguration_TableFormat) Descriptor() protoreflect.EnumDescriptor {
120 return file_google_cloud_bigquery_v2_biglake_config_proto_enumTypes[1].Descriptor()
121 }
122
123 func (BigLakeConfiguration_TableFormat) Type() protoreflect.EnumType {
124 return &file_google_cloud_bigquery_v2_biglake_config_proto_enumTypes[1]
125 }
126
127 func (x BigLakeConfiguration_TableFormat) Number() protoreflect.EnumNumber {
128 return protoreflect.EnumNumber(x)
129 }
130
131 // Deprecated: Use BigLakeConfiguration_TableFormat.Descriptor instead.
132 func (BigLakeConfiguration_TableFormat) EnumDescriptor() ([]byte, []int) {
133 return file_google_cloud_bigquery_v2_biglake_config_proto_rawDescGZIP(), []int{0, 1}
134 }
135
136 // Configuration for BigQuery tables for Apache Iceberg (formerly BigLake
137 // managed tables.)
138 type BigLakeConfiguration struct {
139 state protoimpl.MessageState
140 sizeCache protoimpl.SizeCache
141 unknownFields protoimpl.UnknownFields
142
143 // Optional. The connection specifying the credentials to be used to read and
144 // write to external storage, such as Cloud Storage. The connection_id can
145 // have the form `{project}.{location}.{connection_id}` or
146 // `projects/{project}/locations/{location}/connections/{connection_id}".
147 ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
148 // Optional. The fully qualified location prefix of the external folder where
149 // table data is stored. The '*' wildcard character is not allowed. The URI
150 // should be in the format `gs://bucket/path_to_table/`
151 StorageUri string `protobuf:"bytes,2,opt,name=storage_uri,json=storageUri,proto3" json:"storage_uri,omitempty"`
152 // Optional. The file format the table data is stored in.
153 FileFormat BigLakeConfiguration_FileFormat `protobuf:"varint,3,opt,name=file_format,json=fileFormat,proto3,enum=google.cloud.bigquery.v2.BigLakeConfiguration_FileFormat" json:"file_format,omitempty"`
154 // Optional. The table format the metadata only snapshots are stored in.
155 TableFormat BigLakeConfiguration_TableFormat `protobuf:"varint,4,opt,name=table_format,json=tableFormat,proto3,enum=google.cloud.bigquery.v2.BigLakeConfiguration_TableFormat" json:"table_format,omitempty"`
156 }
157
158 func (x *BigLakeConfiguration) Reset() {
159 *x = BigLakeConfiguration{}
160 mi := &file_google_cloud_bigquery_v2_biglake_config_proto_msgTypes[0]
161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
162 ms.StoreMessageInfo(mi)
163 }
164
165 func (x *BigLakeConfiguration) String() string {
166 return protoimpl.X.MessageStringOf(x)
167 }
168
169 func (*BigLakeConfiguration) ProtoMessage() {}
170
171 func (x *BigLakeConfiguration) ProtoReflect() protoreflect.Message {
172 mi := &file_google_cloud_bigquery_v2_biglake_config_proto_msgTypes[0]
173 if x != nil {
174 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
175 if ms.LoadMessageInfo() == nil {
176 ms.StoreMessageInfo(mi)
177 }
178 return ms
179 }
180 return mi.MessageOf(x)
181 }
182
183 // Deprecated: Use BigLakeConfiguration.ProtoReflect.Descriptor instead.
184 func (*BigLakeConfiguration) Descriptor() ([]byte, []int) {
185 return file_google_cloud_bigquery_v2_biglake_config_proto_rawDescGZIP(), []int{0}
186 }
187
188 func (x *BigLakeConfiguration) GetConnectionId() string {
189 if x != nil {
190 return x.ConnectionId
191 }
192 return ""
193 }
194
195 func (x *BigLakeConfiguration) GetStorageUri() string {
196 if x != nil {
197 return x.StorageUri
198 }
199 return ""
200 }
201
202 func (x *BigLakeConfiguration) GetFileFormat() BigLakeConfiguration_FileFormat {
203 if x != nil {
204 return x.FileFormat
205 }
206 return BigLakeConfiguration_FILE_FORMAT_UNSPECIFIED
207 }
208
209 func (x *BigLakeConfiguration) GetTableFormat() BigLakeConfiguration_TableFormat {
210 if x != nil {
211 return x.TableFormat
212 }
213 return BigLakeConfiguration_TABLE_FORMAT_UNSPECIFIED
214 }
215
216 var File_google_cloud_bigquery_v2_biglake_config_proto protoreflect.FileDescriptor
217
218 var file_google_cloud_bigquery_v2_biglake_config_proto_rawDesc = []byte{
219 0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
220 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x62, 0x69, 0x67, 0x6c, 0x61,
221 0x6b, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
222 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
223 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
224 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
225 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x03, 0x0a, 0x14, 0x42,
226 0x69, 0x67, 0x4c, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74,
227 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
228 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
229 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x24, 0x0a,
230 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01,
231 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
232 0x55, 0x72, 0x69, 0x12, 0x5f, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d,
233 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
234 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
235 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x69, 0x67, 0x4c, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
236 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x46, 0x6f, 0x72,
237 0x6d, 0x61, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x46, 0x6f,
238 0x72, 0x6d, 0x61, 0x74, 0x12, 0x62, 0x0a, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x6f,
239 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f,
240 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65,
241 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x69, 0x67, 0x4c, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6e,
242 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65,
243 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x74, 0x61, 0x62,
244 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x36, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65,
245 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x46,
246 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
247 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x41, 0x52, 0x51, 0x55, 0x45, 0x54, 0x10, 0x01,
248 0x22, 0x38, 0x0a, 0x0b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12,
249 0x1c, 0x0a, 0x18, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f,
250 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a,
251 0x07, 0x49, 0x43, 0x45, 0x42, 0x45, 0x52, 0x47, 0x10, 0x01, 0x42, 0x71, 0x0a, 0x1c, 0x63, 0x6f,
252 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
253 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x12, 0x42, 0x69, 0x67, 0x4c,
254 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
255 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
256 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76,
257 0x32, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
258 0x70, 0x62, 0x3b, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70,
259 0x72, 0x6f, 0x74, 0x6f, 0x33,
260 }
261
262 var (
263 file_google_cloud_bigquery_v2_biglake_config_proto_rawDescOnce sync.Once
264 file_google_cloud_bigquery_v2_biglake_config_proto_rawDescData = file_google_cloud_bigquery_v2_biglake_config_proto_rawDesc
265 )
266
267 func file_google_cloud_bigquery_v2_biglake_config_proto_rawDescGZIP() []byte {
268 file_google_cloud_bigquery_v2_biglake_config_proto_rawDescOnce.Do(func() {
269 file_google_cloud_bigquery_v2_biglake_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_biglake_config_proto_rawDescData)
270 })
271 return file_google_cloud_bigquery_v2_biglake_config_proto_rawDescData
272 }
273
274 var file_google_cloud_bigquery_v2_biglake_config_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
275 var file_google_cloud_bigquery_v2_biglake_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
276 var file_google_cloud_bigquery_v2_biglake_config_proto_goTypes = []any{
277 (BigLakeConfiguration_FileFormat)(0), // 0: google.cloud.bigquery.v2.BigLakeConfiguration.FileFormat
278 (BigLakeConfiguration_TableFormat)(0), // 1: google.cloud.bigquery.v2.BigLakeConfiguration.TableFormat
279 (*BigLakeConfiguration)(nil), // 2: google.cloud.bigquery.v2.BigLakeConfiguration
280 }
281 var file_google_cloud_bigquery_v2_biglake_config_proto_depIdxs = []int32{
282 0, // 0: google.cloud.bigquery.v2.BigLakeConfiguration.file_format:type_name -> google.cloud.bigquery.v2.BigLakeConfiguration.FileFormat
283 1, // 1: google.cloud.bigquery.v2.BigLakeConfiguration.table_format:type_name -> google.cloud.bigquery.v2.BigLakeConfiguration.TableFormat
284 2, // [2:2] is the sub-list for method output_type
285 2, // [2:2] is the sub-list for method input_type
286 2, // [2:2] is the sub-list for extension type_name
287 2, // [2:2] is the sub-list for extension extendee
288 0, // [0:2] is the sub-list for field type_name
289 }
290
291 func init() { file_google_cloud_bigquery_v2_biglake_config_proto_init() }
292 func file_google_cloud_bigquery_v2_biglake_config_proto_init() {
293 if File_google_cloud_bigquery_v2_biglake_config_proto != nil {
294 return
295 }
296 type x struct{}
297 out := protoimpl.TypeBuilder{
298 File: protoimpl.DescBuilder{
299 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
300 RawDescriptor: file_google_cloud_bigquery_v2_biglake_config_proto_rawDesc,
301 NumEnums: 2,
302 NumMessages: 1,
303 NumExtensions: 0,
304 NumServices: 0,
305 },
306 GoTypes: file_google_cloud_bigquery_v2_biglake_config_proto_goTypes,
307 DependencyIndexes: file_google_cloud_bigquery_v2_biglake_config_proto_depIdxs,
308 EnumInfos: file_google_cloud_bigquery_v2_biglake_config_proto_enumTypes,
309 MessageInfos: file_google_cloud_bigquery_v2_biglake_config_proto_msgTypes,
310 }.Build()
311 File_google_cloud_bigquery_v2_biglake_config_proto = out.File
312 file_google_cloud_bigquery_v2_biglake_config_proto_rawDesc = nil
313 file_google_cloud_bigquery_v2_biglake_config_proto_goTypes = nil
314 file_google_cloud_bigquery_v2_biglake_config_proto_depIdxs = nil
315 }