Debian Codegraph @

securitycenter/apiv1/securitycenterpb/cloud_dlp_data_profile.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/securitycenter/v1/cloud_dlp_data_profile.proto
20
21 package securitycenterpb
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 // Parents for configurations that produce data profile findings.
39 type CloudDlpDataProfile_ParentType int32
40
41 const (
42 // Unspecified parent type.
43 CloudDlpDataProfile_PARENT_TYPE_UNSPECIFIED CloudDlpDataProfile_ParentType = 0
44 // Organization-level configurations.
45 CloudDlpDataProfile_ORGANIZATION CloudDlpDataProfile_ParentType = 1
46 // Project-level configurations.
47 CloudDlpDataProfile_PROJECT CloudDlpDataProfile_ParentType = 2
48 )
49
50 // Enum value maps for CloudDlpDataProfile_ParentType.
51 var (
52 CloudDlpDataProfile_ParentType_name = map[int32]string{
53 0: "PARENT_TYPE_UNSPECIFIED",
54 1: "ORGANIZATION",
55 2: "PROJECT",
56 }
57 CloudDlpDataProfile_ParentType_value = map[string]int32{
58 "PARENT_TYPE_UNSPECIFIED": 0,
59 "ORGANIZATION": 1,
60 "PROJECT": 2,
61 }
62 )
63
64 func (x CloudDlpDataProfile_ParentType) Enum() *CloudDlpDataProfile_ParentType {
65 p := new(CloudDlpDataProfile_ParentType)
66 *p = x
67 return p
68 }
69
70 func (x CloudDlpDataProfile_ParentType) String() string {
71 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
72 }
73
74 func (CloudDlpDataProfile_ParentType) Descriptor() protoreflect.EnumDescriptor {
75 return file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_enumTypes[0].Descriptor()
76 }
77
78 func (CloudDlpDataProfile_ParentType) Type() protoreflect.EnumType {
79 return &file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_enumTypes[0]
80 }
81
82 func (x CloudDlpDataProfile_ParentType) Number() protoreflect.EnumNumber {
83 return protoreflect.EnumNumber(x)
84 }
85
86 // Deprecated: Use CloudDlpDataProfile_ParentType.Descriptor instead.
87 func (CloudDlpDataProfile_ParentType) EnumDescriptor() ([]byte, []int) {
88 return file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_rawDescGZIP(), []int{0, 0}
89 }
90
91 // The [data profile](https://cloud.google.com/dlp/docs/data-profiles)
92 // associated with the finding.
93 type CloudDlpDataProfile struct {
94 state protoimpl.MessageState
95 sizeCache protoimpl.SizeCache
96 unknownFields protoimpl.UnknownFields
97
98 // Name of the data profile, for example,
99 // `projects/123/locations/europe/tableProfiles/8383929`.
100 DataProfile string `protobuf:"bytes,1,opt,name=data_profile,json=dataProfile,proto3" json:"data_profile,omitempty"`
101 // The resource hierarchy level at which the data profile was generated.
102 ParentType CloudDlpDataProfile_ParentType `protobuf:"varint,2,opt,name=parent_type,json=parentType,proto3,enum=google.cloud.securitycenter.v1.CloudDlpDataProfile_ParentType" json:"parent_type,omitempty"`
103 }
104
105 func (x *CloudDlpDataProfile) Reset() {
106 *x = CloudDlpDataProfile{}
107 mi := &file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_msgTypes[0]
108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
109 ms.StoreMessageInfo(mi)
110 }
111
112 func (x *CloudDlpDataProfile) String() string {
113 return protoimpl.X.MessageStringOf(x)
114 }
115
116 func (*CloudDlpDataProfile) ProtoMessage() {}
117
118 func (x *CloudDlpDataProfile) ProtoReflect() protoreflect.Message {
119 mi := &file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_msgTypes[0]
120 if x != nil {
121 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
122 if ms.LoadMessageInfo() == nil {
123 ms.StoreMessageInfo(mi)
124 }
125 return ms
126 }
127 return mi.MessageOf(x)
128 }
129
130 // Deprecated: Use CloudDlpDataProfile.ProtoReflect.Descriptor instead.
131 func (*CloudDlpDataProfile) Descriptor() ([]byte, []int) {
132 return file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_rawDescGZIP(), []int{0}
133 }
134
135 func (x *CloudDlpDataProfile) GetDataProfile() string {
136 if x != nil {
137 return x.DataProfile
138 }
139 return ""
140 }
141
142 func (x *CloudDlpDataProfile) GetParentType() CloudDlpDataProfile_ParentType {
143 if x != nil {
144 return x.ParentType
145 }
146 return CloudDlpDataProfile_PARENT_TYPE_UNSPECIFIED
147 }
148
149 var File_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto protoreflect.FileDescriptor
150
151 var file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_rawDesc = []byte{
152 0x0a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
153 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31,
154 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x64, 0x6c, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f,
155 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67,
156 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75,
157 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67,
158 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
159 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x02, 0x0a, 0x13, 0x43, 0x6c, 0x6f,
160 0x75, 0x64, 0x44, 0x6c, 0x70, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
161 0x12, 0x4b, 0x0a, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
162 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x64, 0x6c, 0x70,
163 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
164 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
165 0x52, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x5f, 0x0a,
166 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
167 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
168 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
169 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x44, 0x6c, 0x70, 0x44, 0x61, 0x74, 0x61,
170 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x79,
171 0x70, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x48,
172 0x0a, 0x0a, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17,
173 0x50, 0x41, 0x52, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
174 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x52, 0x47,
175 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50,
176 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x02, 0x42, 0x94, 0x03, 0xea, 0x41, 0x9e, 0x01, 0x0a,
177 0x23, 0x64, 0x6c, 0x70, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
178 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f,
179 0x66, 0x69, 0x6c, 0x65, 0x12, 0x30, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b,
180 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72,
181 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x70, 0x72,
182 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x7d, 0x12, 0x45, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
183 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
184 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f,
185 0x74, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x74,
186 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x7d, 0x0a, 0x22, 0x63,
187 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
188 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76,
189 0x31, 0x42, 0x18, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x44, 0x6c, 0x70, 0x44, 0x61, 0x74, 0x61, 0x50,
190 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63,
191 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
192 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65,
193 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
194 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
195 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67,
196 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
197 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f,
198 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69,
199 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x21, 0x47, 0x6f,
200 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63,
201 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62,
202 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
203 }
204
205 var (
206 file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_rawDescOnce sync.Once
207 file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_rawDescData = file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_rawDesc
208 )
209
210 func file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_rawDescGZIP() []byte {
211 file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_rawDescOnce.Do(func() {
212 file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_rawDescData)
213 })
214 return file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_rawDescData
215 }
216
217 var file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
218 var file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
219 var file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_goTypes = []any{
220 (CloudDlpDataProfile_ParentType)(0), // 0: google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType
221 (*CloudDlpDataProfile)(nil), // 1: google.cloud.securitycenter.v1.CloudDlpDataProfile
222 }
223 var file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_depIdxs = []int32{
224 0, // 0: google.cloud.securitycenter.v1.CloudDlpDataProfile.parent_type:type_name -> google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType
225 1, // [1:1] is the sub-list for method output_type
226 1, // [1:1] is the sub-list for method input_type
227 1, // [1:1] is the sub-list for extension type_name
228 1, // [1:1] is the sub-list for extension extendee
229 0, // [0:1] is the sub-list for field type_name
230 }
231
232 func init() { file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_init() }
233 func file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_init() {
234 if File_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto != nil {
235 return
236 }
237 type x struct{}
238 out := protoimpl.TypeBuilder{
239 File: protoimpl.DescBuilder{
240 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
241 RawDescriptor: file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_rawDesc,
242 NumEnums: 1,
243 NumMessages: 1,
244 NumExtensions: 0,
245 NumServices: 0,
246 },
247 GoTypes: file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_goTypes,
248 DependencyIndexes: file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_depIdxs,
249 EnumInfos: file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_enumTypes,
250 MessageInfos: file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_msgTypes,
251 }.Build()
252 File_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto = out.File
253 file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_rawDesc = nil
254 file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_goTypes = nil
255 file_google_cloud_securitycenter_v1_cloud_dlp_data_profile_proto_depIdxs = nil
256 }