Debian Codegraph @

datacatalog/apiv1/datacatalogpb/common.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/common.proto
20
21 package datacatalogpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
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 // This enum lists all the systems that Data Catalog integrates with.
39 type IntegratedSystem int32
40
41 const (
42 // Default unknown system.
43 IntegratedSystem_INTEGRATED_SYSTEM_UNSPECIFIED IntegratedSystem = 0
44 // BigQuery.
45 IntegratedSystem_BIGQUERY IntegratedSystem = 1
46 // Cloud Pub/Sub.
47 IntegratedSystem_CLOUD_PUBSUB IntegratedSystem = 2
48 // Dataproc Metastore.
49 IntegratedSystem_DATAPROC_METASTORE IntegratedSystem = 3
50 // Dataplex.
51 IntegratedSystem_DATAPLEX IntegratedSystem = 4
52 // Cloud Spanner
53 IntegratedSystem_CLOUD_SPANNER IntegratedSystem = 6
54 // Cloud Bigtable
55 IntegratedSystem_CLOUD_BIGTABLE IntegratedSystem = 7
56 // Cloud Sql
57 IntegratedSystem_CLOUD_SQL IntegratedSystem = 8
58 // Looker
59 IntegratedSystem_LOOKER IntegratedSystem = 9
60 // Vertex AI
61 IntegratedSystem_VERTEX_AI IntegratedSystem = 10
62 )
63
64 // Enum value maps for IntegratedSystem.
65 var (
66 IntegratedSystem_name = map[int32]string{
67 0: "INTEGRATED_SYSTEM_UNSPECIFIED",
68 1: "BIGQUERY",
69 2: "CLOUD_PUBSUB",
70 3: "DATAPROC_METASTORE",
71 4: "DATAPLEX",
72 6: "CLOUD_SPANNER",
73 7: "CLOUD_BIGTABLE",
74 8: "CLOUD_SQL",
75 9: "LOOKER",
76 10: "VERTEX_AI",
77 }
78 IntegratedSystem_value = map[string]int32{
79 "INTEGRATED_SYSTEM_UNSPECIFIED": 0,
80 "BIGQUERY": 1,
81 "CLOUD_PUBSUB": 2,
82 "DATAPROC_METASTORE": 3,
83 "DATAPLEX": 4,
84 "CLOUD_SPANNER": 6,
85 "CLOUD_BIGTABLE": 7,
86 "CLOUD_SQL": 8,
87 "LOOKER": 9,
88 "VERTEX_AI": 10,
89 }
90 )
91
92 func (x IntegratedSystem) Enum() *IntegratedSystem {
93 p := new(IntegratedSystem)
94 *p = x
95 return p
96 }
97
98 func (x IntegratedSystem) String() string {
99 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
100 }
101
102 func (IntegratedSystem) Descriptor() protoreflect.EnumDescriptor {
103 return file_google_cloud_datacatalog_v1_common_proto_enumTypes[0].Descriptor()
104 }
105
106 func (IntegratedSystem) Type() protoreflect.EnumType {
107 return &file_google_cloud_datacatalog_v1_common_proto_enumTypes[0]
108 }
109
110 func (x IntegratedSystem) Number() protoreflect.EnumNumber {
111 return protoreflect.EnumNumber(x)
112 }
113
114 // Deprecated: Use IntegratedSystem.Descriptor instead.
115 func (IntegratedSystem) EnumDescriptor() ([]byte, []int) {
116 return file_google_cloud_datacatalog_v1_common_proto_rawDescGZIP(), []int{0}
117 }
118
119 // This enum describes all the systems that manage
120 // Taxonomy and PolicyTag resources in DataCatalog.
121 type ManagingSystem int32
122
123 const (
124 // Default value
125 ManagingSystem_MANAGING_SYSTEM_UNSPECIFIED ManagingSystem = 0
126 // Dataplex.
127 ManagingSystem_MANAGING_SYSTEM_DATAPLEX ManagingSystem = 1
128 // Other
129 ManagingSystem_MANAGING_SYSTEM_OTHER ManagingSystem = 2
130 )
131
132 // Enum value maps for ManagingSystem.
133 var (
134 ManagingSystem_name = map[int32]string{
135 0: "MANAGING_SYSTEM_UNSPECIFIED",
136 1: "MANAGING_SYSTEM_DATAPLEX",
137 2: "MANAGING_SYSTEM_OTHER",
138 }
139 ManagingSystem_value = map[string]int32{
140 "MANAGING_SYSTEM_UNSPECIFIED": 0,
141 "MANAGING_SYSTEM_DATAPLEX": 1,
142 "MANAGING_SYSTEM_OTHER": 2,
143 }
144 )
145
146 func (x ManagingSystem) Enum() *ManagingSystem {
147 p := new(ManagingSystem)
148 *p = x
149 return p
150 }
151
152 func (x ManagingSystem) String() string {
153 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
154 }
155
156 func (ManagingSystem) Descriptor() protoreflect.EnumDescriptor {
157 return file_google_cloud_datacatalog_v1_common_proto_enumTypes[1].Descriptor()
158 }
159
160 func (ManagingSystem) Type() protoreflect.EnumType {
161 return &file_google_cloud_datacatalog_v1_common_proto_enumTypes[1]
162 }
163
164 func (x ManagingSystem) Number() protoreflect.EnumNumber {
165 return protoreflect.EnumNumber(x)
166 }
167
168 // Deprecated: Use ManagingSystem.Descriptor instead.
169 func (ManagingSystem) EnumDescriptor() ([]byte, []int) {
170 return file_google_cloud_datacatalog_v1_common_proto_rawDescGZIP(), []int{1}
171 }
172
173 // Entry metadata relevant only to the user and private to them.
174 type PersonalDetails struct {
175 state protoimpl.MessageState
176 sizeCache protoimpl.SizeCache
177 unknownFields protoimpl.UnknownFields
178
179 // True if the entry is starred by the user; false otherwise.
180 Starred bool `protobuf:"varint,1,opt,name=starred,proto3" json:"starred,omitempty"`
181 // Set if the entry is starred; unset otherwise.
182 StarTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=star_time,json=starTime,proto3" json:"star_time,omitempty"`
183 }
184
185 func (x *PersonalDetails) Reset() {
186 *x = PersonalDetails{}
187 mi := &file_google_cloud_datacatalog_v1_common_proto_msgTypes[0]
188 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
189 ms.StoreMessageInfo(mi)
190 }
191
192 func (x *PersonalDetails) String() string {
193 return protoimpl.X.MessageStringOf(x)
194 }
195
196 func (*PersonalDetails) ProtoMessage() {}
197
198 func (x *PersonalDetails) ProtoReflect() protoreflect.Message {
199 mi := &file_google_cloud_datacatalog_v1_common_proto_msgTypes[0]
200 if x != nil {
201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
202 if ms.LoadMessageInfo() == nil {
203 ms.StoreMessageInfo(mi)
204 }
205 return ms
206 }
207 return mi.MessageOf(x)
208 }
209
210 // Deprecated: Use PersonalDetails.ProtoReflect.Descriptor instead.
211 func (*PersonalDetails) Descriptor() ([]byte, []int) {
212 return file_google_cloud_datacatalog_v1_common_proto_rawDescGZIP(), []int{0}
213 }
214
215 func (x *PersonalDetails) GetStarred() bool {
216 if x != nil {
217 return x.Starred
218 }
219 return false
220 }
221
222 func (x *PersonalDetails) GetStarTime() *timestamppb.Timestamp {
223 if x != nil {
224 return x.StarTime
225 }
226 return nil
227 }
228
229 var File_google_cloud_datacatalog_v1_common_proto protoreflect.FileDescriptor
230
231 var file_google_cloud_datacatalog_v1_common_proto_rawDesc = []byte{
232 0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64,
233 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f,
234 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67,
235 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74,
236 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
237 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
238 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x0f, 0x50, 0x65, 0x72, 0x73,
239 0x6f, 0x6e, 0x61, 0x6c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73,
240 0x74, 0x61, 0x72, 0x72, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x74,
241 0x61, 0x72, 0x72, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x5f, 0x74, 0x69,
242 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
243 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
244 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x2a, 0xcc,
245 0x01, 0x0a, 0x10, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x65, 0x64, 0x53, 0x79, 0x73,
246 0x74, 0x65, 0x6d, 0x12, 0x21, 0x0a, 0x1d, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x52, 0x41, 0x54, 0x45,
247 0x44, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
248 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x42, 0x49, 0x47, 0x51, 0x55, 0x45,
249 0x52, 0x59, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x50, 0x55,
250 0x42, 0x53, 0x55, 0x42, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x44, 0x41, 0x54, 0x41, 0x50, 0x52,
251 0x4f, 0x43, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x10, 0x03, 0x12, 0x0c,
252 0x0a, 0x08, 0x44, 0x41, 0x54, 0x41, 0x50, 0x4c, 0x45, 0x58, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d,
253 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x53, 0x50, 0x41, 0x4e, 0x4e, 0x45, 0x52, 0x10, 0x06, 0x12,
254 0x12, 0x0a, 0x0e, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x42, 0x49, 0x47, 0x54, 0x41, 0x42, 0x4c,
255 0x45, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x53, 0x51, 0x4c,
256 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06, 0x4c, 0x4f, 0x4f, 0x4b, 0x45, 0x52, 0x10, 0x09, 0x12, 0x0d,
257 0x0a, 0x09, 0x56, 0x45, 0x52, 0x54, 0x45, 0x58, 0x5f, 0x41, 0x49, 0x10, 0x0a, 0x2a, 0x6a, 0x0a,
258 0x0e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12,
259 0x1f, 0x0a, 0x1b, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x59, 0x53, 0x54,
260 0x45, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
261 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x59, 0x53,
262 0x54, 0x45, 0x4d, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x50, 0x4c, 0x45, 0x58, 0x10, 0x01, 0x12, 0x19,
263 0x0a, 0x15, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45,
264 0x4d, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x02, 0x42, 0xc3, 0x01, 0x0a, 0x1f, 0x63, 0x6f,
265 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64,
266 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a,
267 0x41, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f,
268 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
269 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c,
270 0x6f, 0x67, 0x70, 0x62, 0x3b, 0x64, 0x61, 0x74, 0x61, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
271 0x70, 0x62, 0xaa, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75,
272 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x56, 0x31,
273 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c,
274 0x44, 0x61, 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5c, 0x56, 0x31, 0xea, 0x02,
275 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
276 0x44, 0x61, 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62,
277 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
278 }
279
280 var (
281 file_google_cloud_datacatalog_v1_common_proto_rawDescOnce sync.Once
282 file_google_cloud_datacatalog_v1_common_proto_rawDescData = file_google_cloud_datacatalog_v1_common_proto_rawDesc
283 )
284
285 func file_google_cloud_datacatalog_v1_common_proto_rawDescGZIP() []byte {
286 file_google_cloud_datacatalog_v1_common_proto_rawDescOnce.Do(func() {
287 file_google_cloud_datacatalog_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_datacatalog_v1_common_proto_rawDescData)
288 })
289 return file_google_cloud_datacatalog_v1_common_proto_rawDescData
290 }
291
292 var file_google_cloud_datacatalog_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
293 var file_google_cloud_datacatalog_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
294 var file_google_cloud_datacatalog_v1_common_proto_goTypes = []any{
295 (IntegratedSystem)(0), // 0: google.cloud.datacatalog.v1.IntegratedSystem
296 (ManagingSystem)(0), // 1: google.cloud.datacatalog.v1.ManagingSystem
297 (*PersonalDetails)(nil), // 2: google.cloud.datacatalog.v1.PersonalDetails
298 (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
299 }
300 var file_google_cloud_datacatalog_v1_common_proto_depIdxs = []int32{
301 3, // 0: google.cloud.datacatalog.v1.PersonalDetails.star_time:type_name -> google.protobuf.Timestamp
302 1, // [1:1] is the sub-list for method output_type
303 1, // [1:1] is the sub-list for method input_type
304 1, // [1:1] is the sub-list for extension type_name
305 1, // [1:1] is the sub-list for extension extendee
306 0, // [0:1] is the sub-list for field type_name
307 }
308
309 func init() { file_google_cloud_datacatalog_v1_common_proto_init() }
310 func file_google_cloud_datacatalog_v1_common_proto_init() {
311 if File_google_cloud_datacatalog_v1_common_proto != nil {
312 return
313 }
314 type x struct{}
315 out := protoimpl.TypeBuilder{
316 File: protoimpl.DescBuilder{
317 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
318 RawDescriptor: file_google_cloud_datacatalog_v1_common_proto_rawDesc,
319 NumEnums: 2,
320 NumMessages: 1,
321 NumExtensions: 0,
322 NumServices: 0,
323 },
324 GoTypes: file_google_cloud_datacatalog_v1_common_proto_goTypes,
325 DependencyIndexes: file_google_cloud_datacatalog_v1_common_proto_depIdxs,
326 EnumInfos: file_google_cloud_datacatalog_v1_common_proto_enumTypes,
327 MessageInfos: file_google_cloud_datacatalog_v1_common_proto_msgTypes,
328 }.Build()
329 File_google_cloud_datacatalog_v1_common_proto = out.File
330 file_google_cloud_datacatalog_v1_common_proto_rawDesc = nil
331 file_google_cloud_datacatalog_v1_common_proto_goTypes = nil
332 file_google_cloud_datacatalog_v1_common_proto_depIdxs = nil
333 }