Debian Codegraph @

datacatalog/apiv1/datacatalogpb/dump_content.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/datacatalog/v1/dump_content.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 // Wrapper containing Entry and information about Tags
39 // that should and should not be attached to it.
40 type TaggedEntry struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // Required. Entry to be ingested.
46 //
47 // Types that are assignable to Entry:
48 //
49 // *TaggedEntry_V1Entry
50 Entry isTaggedEntry_Entry `protobuf_oneof:"entry"`
51 // Optional. Tags that should be ingested into the Data Catalog.
52 // Caller should populate template name, column and fields.
53 PresentTags []*Tag `protobuf:"bytes,2,rep,name=present_tags,json=presentTags,proto3" json:"present_tags,omitempty"`
54 // Optional. Tags that should be deleted from the Data Catalog.
55 // Caller should populate template name and column only.
56 AbsentTags []*Tag `protobuf:"bytes,3,rep,name=absent_tags,json=absentTags,proto3" json:"absent_tags,omitempty"`
57 }
58
59 func (x *TaggedEntry) Reset() {
60 *x = TaggedEntry{}
61 mi := &file_google_cloud_datacatalog_v1_dump_content_proto_msgTypes[0]
62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63 ms.StoreMessageInfo(mi)
64 }
65
66 func (x *TaggedEntry) String() string {
67 return protoimpl.X.MessageStringOf(x)
68 }
69
70 func (*TaggedEntry) ProtoMessage() {}
71
72 func (x *TaggedEntry) ProtoReflect() protoreflect.Message {
73 mi := &file_google_cloud_datacatalog_v1_dump_content_proto_msgTypes[0]
74 if x != nil {
75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76 if ms.LoadMessageInfo() == nil {
77 ms.StoreMessageInfo(mi)
78 }
79 return ms
80 }
81 return mi.MessageOf(x)
82 }
83
84 // Deprecated: Use TaggedEntry.ProtoReflect.Descriptor instead.
85 func (*TaggedEntry) Descriptor() ([]byte, []int) {
86 return file_google_cloud_datacatalog_v1_dump_content_proto_rawDescGZIP(), []int{0}
87 }
88
89 func (m *TaggedEntry) GetEntry() isTaggedEntry_Entry {
90 if m != nil {
91 return m.Entry
92 }
93 return nil
94 }
95
96 func (x *TaggedEntry) GetV1Entry() *Entry {
97 if x, ok := x.GetEntry().(*TaggedEntry_V1Entry); ok {
98 return x.V1Entry
99 }
100 return nil
101 }
102
103 func (x *TaggedEntry) GetPresentTags() []*Tag {
104 if x != nil {
105 return x.PresentTags
106 }
107 return nil
108 }
109
110 func (x *TaggedEntry) GetAbsentTags() []*Tag {
111 if x != nil {
112 return x.AbsentTags
113 }
114 return nil
115 }
116
117 type isTaggedEntry_Entry interface {
118 isTaggedEntry_Entry()
119 }
120
121 type TaggedEntry_V1Entry struct {
122 // Non-encrypted Data Catalog v1 Entry.
123 V1Entry *Entry `protobuf:"bytes,1,opt,name=v1_entry,json=v1Entry,proto3,oneof"`
124 }
125
126 func (*TaggedEntry_V1Entry) isTaggedEntry_Entry() {}
127
128 // Wrapper for any item that can be contained in the dump.
129 type DumpItem struct {
130 state protoimpl.MessageState
131 sizeCache protoimpl.SizeCache
132 unknownFields protoimpl.UnknownFields
133
134 // Types that are assignable to Item:
135 //
136 // *DumpItem_TaggedEntry
137 Item isDumpItem_Item `protobuf_oneof:"item"`
138 }
139
140 func (x *DumpItem) Reset() {
141 *x = DumpItem{}
142 mi := &file_google_cloud_datacatalog_v1_dump_content_proto_msgTypes[1]
143 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
144 ms.StoreMessageInfo(mi)
145 }
146
147 func (x *DumpItem) String() string {
148 return protoimpl.X.MessageStringOf(x)
149 }
150
151 func (*DumpItem) ProtoMessage() {}
152
153 func (x *DumpItem) ProtoReflect() protoreflect.Message {
154 mi := &file_google_cloud_datacatalog_v1_dump_content_proto_msgTypes[1]
155 if x != nil {
156 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
157 if ms.LoadMessageInfo() == nil {
158 ms.StoreMessageInfo(mi)
159 }
160 return ms
161 }
162 return mi.MessageOf(x)
163 }
164
165 // Deprecated: Use DumpItem.ProtoReflect.Descriptor instead.
166 func (*DumpItem) Descriptor() ([]byte, []int) {
167 return file_google_cloud_datacatalog_v1_dump_content_proto_rawDescGZIP(), []int{1}
168 }
169
170 func (m *DumpItem) GetItem() isDumpItem_Item {
171 if m != nil {
172 return m.Item
173 }
174 return nil
175 }
176
177 func (x *DumpItem) GetTaggedEntry() *TaggedEntry {
178 if x, ok := x.GetItem().(*DumpItem_TaggedEntry); ok {
179 return x.TaggedEntry
180 }
181 return nil
182 }
183
184 type isDumpItem_Item interface {
185 isDumpItem_Item()
186 }
187
188 type DumpItem_TaggedEntry struct {
189 // Entry and its tags.
190 TaggedEntry *TaggedEntry `protobuf:"bytes,1,opt,name=tagged_entry,json=taggedEntry,proto3,oneof"`
191 }
192
193 func (*DumpItem_TaggedEntry) isDumpItem_Item() {}
194
195 var File_google_cloud_datacatalog_v1_dump_content_proto protoreflect.FileDescriptor
196
197 var file_google_cloud_datacatalog_v1_dump_content_proto_rawDesc = []byte{
198 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64,
199 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x75,
200 0x6d, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
201 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64,
202 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67,
203 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
204 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d,
205 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x61, 0x74,
206 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61,
207 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x67,
208 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x61, 0x74, 0x61,
209 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x67, 0x73, 0x2e,
210 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe9, 0x01, 0x0a, 0x0b, 0x54, 0x61, 0x67, 0x67, 0x65, 0x64,
211 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x3f, 0x0a, 0x08, 0x76, 0x31, 0x5f, 0x65, 0x6e, 0x74, 0x72,
212 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
213 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c,
214 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x48, 0x00, 0x52, 0x07, 0x76,
215 0x31, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x48, 0x0a, 0x0c, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e,
216 0x74, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67,
217 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61,
218 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x42, 0x03,
219 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x67, 0x73,
220 0x12, 0x46, 0x0a, 0x0b, 0x61, 0x62, 0x73, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18,
221 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
222 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
223 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x61, 0x62,
224 0x73, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x67, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72,
225 0x79, 0x22, 0x61, 0x0a, 0x08, 0x44, 0x75, 0x6d, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x4d, 0x0a,
226 0x0c, 0x74, 0x61, 0x67, 0x67, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20,
227 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
228 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76,
229 0x31, 0x2e, 0x54, 0x61, 0x67, 0x67, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x48, 0x00, 0x52,
230 0x0b, 0x74, 0x61, 0x67, 0x67, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x06, 0x0a, 0x04,
231 0x69, 0x74, 0x65, 0x6d, 0x42, 0xd5, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
232 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61,
233 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x44, 0x75, 0x6d, 0x70, 0x43, 0x6f,
234 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x63, 0x6c,
235 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
236 0x6f, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x61, 0x70,
237 0x69, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x70,
238 0x62, 0x3b, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x70, 0x62, 0xaa,
239 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44,
240 0x61, 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1b,
241 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x61, 0x74,
242 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1e, 0x47, 0x6f,
243 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x44, 0x61, 0x74,
244 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
245 0x6f, 0x74, 0x6f, 0x33,
246 }
247
248 var (
249 file_google_cloud_datacatalog_v1_dump_content_proto_rawDescOnce sync.Once
250 file_google_cloud_datacatalog_v1_dump_content_proto_rawDescData = file_google_cloud_datacatalog_v1_dump_content_proto_rawDesc
251 )
252
253 func file_google_cloud_datacatalog_v1_dump_content_proto_rawDescGZIP() []byte {
254 file_google_cloud_datacatalog_v1_dump_content_proto_rawDescOnce.Do(func() {
255 file_google_cloud_datacatalog_v1_dump_content_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_datacatalog_v1_dump_content_proto_rawDescData)
256 })
257 return file_google_cloud_datacatalog_v1_dump_content_proto_rawDescData
258 }
259
260 var file_google_cloud_datacatalog_v1_dump_content_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
261 var file_google_cloud_datacatalog_v1_dump_content_proto_goTypes = []any{
262 (*TaggedEntry)(nil), // 0: google.cloud.datacatalog.v1.TaggedEntry
263 (*DumpItem)(nil), // 1: google.cloud.datacatalog.v1.DumpItem
264 (*Entry)(nil), // 2: google.cloud.datacatalog.v1.Entry
265 (*Tag)(nil), // 3: google.cloud.datacatalog.v1.Tag
266 }
267 var file_google_cloud_datacatalog_v1_dump_content_proto_depIdxs = []int32{
268 2, // 0: google.cloud.datacatalog.v1.TaggedEntry.v1_entry:type_name -> google.cloud.datacatalog.v1.Entry
269 3, // 1: google.cloud.datacatalog.v1.TaggedEntry.present_tags:type_name -> google.cloud.datacatalog.v1.Tag
270 3, // 2: google.cloud.datacatalog.v1.TaggedEntry.absent_tags:type_name -> google.cloud.datacatalog.v1.Tag
271 0, // 3: google.cloud.datacatalog.v1.DumpItem.tagged_entry:type_name -> google.cloud.datacatalog.v1.TaggedEntry
272 4, // [4:4] is the sub-list for method output_type
273 4, // [4:4] is the sub-list for method input_type
274 4, // [4:4] is the sub-list for extension type_name
275 4, // [4:4] is the sub-list for extension extendee
276 0, // [0:4] is the sub-list for field type_name
277 }
278
279 func init() { file_google_cloud_datacatalog_v1_dump_content_proto_init() }
280 func file_google_cloud_datacatalog_v1_dump_content_proto_init() {
281 if File_google_cloud_datacatalog_v1_dump_content_proto != nil {
282 return
283 }
284 file_google_cloud_datacatalog_v1_datacatalog_proto_init()
285 file_google_cloud_datacatalog_v1_tags_proto_init()
286 file_google_cloud_datacatalog_v1_dump_content_proto_msgTypes[0].OneofWrappers = []any{
287 (*TaggedEntry_V1Entry)(nil),
288 }
289 file_google_cloud_datacatalog_v1_dump_content_proto_msgTypes[1].OneofWrappers = []any{
290 (*DumpItem_TaggedEntry)(nil),
291 }
292 type x struct{}
293 out := protoimpl.TypeBuilder{
294 File: protoimpl.DescBuilder{
295 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
296 RawDescriptor: file_google_cloud_datacatalog_v1_dump_content_proto_rawDesc,
297 NumEnums: 0,
298 NumMessages: 2,
299 NumExtensions: 0,
300 NumServices: 0,
301 },
302 GoTypes: file_google_cloud_datacatalog_v1_dump_content_proto_goTypes,
303 DependencyIndexes: file_google_cloud_datacatalog_v1_dump_content_proto_depIdxs,
304 MessageInfos: file_google_cloud_datacatalog_v1_dump_content_proto_msgTypes,
305 }.Build()
306 File_google_cloud_datacatalog_v1_dump_content_proto = out.File
307 file_google_cloud_datacatalog_v1_dump_content_proto_rawDesc = nil
308 file_google_cloud_datacatalog_v1_dump_content_proto_goTypes = nil
309 file_google_cloud_datacatalog_v1_dump_content_proto_depIdxs = nil
310 }