Debian Codegraph @

securitycenter/apiv1p1beta1/securitycenterpb/source.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/v1p1beta1/source.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 // Security Command Center finding source. A finding source
39 // is an entity or a mechanism that can produce a finding. A source is like a
40 // container of findings that come from the same scanner, logger, monitor, etc.
41 type Source struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46 // The relative resource name of this source. See:
47 // https://cloud.google.com/apis/design/resource_names#relative_resource_name
48 // Example:
49 // "organizations/{organization_id}/sources/{source_id}"
50 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
51 // The source's display name.
52 // A source's display name must be unique amongst its siblings, for example,
53 // two sources with the same parent can't share the same display name.
54 // The display name must have a length between 1 and 64 characters
55 // (inclusive).
56 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
57 // The description of the source (max of 1024 characters).
58 // Example:
59 // "Web Security Scanner is a web security scanner for common
60 // vulnerabilities in App Engine applications. It can automatically
61 // scan and detect four common vulnerabilities, including cross-site-scripting
62 // (XSS), Flash injection, mixed content (HTTP in HTTPS), and
63 // outdated/insecure libraries."
64 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
65 // The canonical name of the finding. It's either
66 // "organizations/{organization_id}/sources/{source_id}",
67 // "folders/{folder_id}/sources/{source_id}" or
68 // "projects/{project_number}/sources/{source_id}",
69 // depending on the closest CRM ancestor of the resource associated with the
70 // finding.
71 CanonicalName string `protobuf:"bytes,14,opt,name=canonical_name,json=canonicalName,proto3" json:"canonical_name,omitempty"`
72 }
73
74 func (x *Source) Reset() {
75 *x = Source{}
76 mi := &file_google_cloud_securitycenter_v1p1beta1_source_proto_msgTypes[0]
77 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
78 ms.StoreMessageInfo(mi)
79 }
80
81 func (x *Source) String() string {
82 return protoimpl.X.MessageStringOf(x)
83 }
84
85 func (*Source) ProtoMessage() {}
86
87 func (x *Source) ProtoReflect() protoreflect.Message {
88 mi := &file_google_cloud_securitycenter_v1p1beta1_source_proto_msgTypes[0]
89 if x != nil {
90 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
91 if ms.LoadMessageInfo() == nil {
92 ms.StoreMessageInfo(mi)
93 }
94 return ms
95 }
96 return mi.MessageOf(x)
97 }
98
99 // Deprecated: Use Source.ProtoReflect.Descriptor instead.
100 func (*Source) Descriptor() ([]byte, []int) {
101 return file_google_cloud_securitycenter_v1p1beta1_source_proto_rawDescGZIP(), []int{0}
102 }
103
104 func (x *Source) GetName() string {
105 if x != nil {
106 return x.Name
107 }
108 return ""
109 }
110
111 func (x *Source) GetDisplayName() string {
112 if x != nil {
113 return x.DisplayName
114 }
115 return ""
116 }
117
118 func (x *Source) GetDescription() string {
119 if x != nil {
120 return x.Description
121 }
122 return ""
123 }
124
125 func (x *Source) GetCanonicalName() string {
126 if x != nil {
127 return x.CanonicalName
128 }
129 return ""
130 }
131
132 var File_google_cloud_securitycenter_v1p1beta1_source_proto protoreflect.FileDescriptor
133
134 var file_google_cloud_securitycenter_v1p1beta1_source_proto_rawDesc = []byte{
135 0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
136 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31,
137 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
138 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
139 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65,
140 0x72, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
141 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
142 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x02, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63,
143 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
144 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
145 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73,
146 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63,
147 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
148 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61,
149 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01,
150 0x28, 0x09, 0x52, 0x0d, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x4e, 0x61, 0x6d,
151 0x65, 0x3a, 0xa1, 0x01, 0xea, 0x41, 0x9d, 0x01, 0x0a, 0x24, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
152 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
153 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2d,
154 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f,
155 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x73, 0x6f, 0x75,
156 0x72, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x7d, 0x12, 0x21, 0x66,
157 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x7d, 0x2f,
158 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x7d,
159 0x12, 0x23, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a,
160 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x6f,
161 0x75, 0x72, 0x63, 0x65, 0x7d, 0x42, 0xfb, 0x01, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
162 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72,
163 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65,
164 0x74, 0x61, 0x31, 0x50, 0x01, 0x5a, 0x51, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f,
165 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72,
166 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x70,
167 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
168 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
169 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
170 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
171 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0x50, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31,
172 0xca, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c,
173 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56,
174 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
175 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69,
176 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x70, 0x31, 0x62, 0x65,
177 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
178 }
179
180 var (
181 file_google_cloud_securitycenter_v1p1beta1_source_proto_rawDescOnce sync.Once
182 file_google_cloud_securitycenter_v1p1beta1_source_proto_rawDescData = file_google_cloud_securitycenter_v1p1beta1_source_proto_rawDesc
183 )
184
185 func file_google_cloud_securitycenter_v1p1beta1_source_proto_rawDescGZIP() []byte {
186 file_google_cloud_securitycenter_v1p1beta1_source_proto_rawDescOnce.Do(func() {
187 file_google_cloud_securitycenter_v1p1beta1_source_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1p1beta1_source_proto_rawDescData)
188 })
189 return file_google_cloud_securitycenter_v1p1beta1_source_proto_rawDescData
190 }
191
192 var file_google_cloud_securitycenter_v1p1beta1_source_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
193 var file_google_cloud_securitycenter_v1p1beta1_source_proto_goTypes = []any{
194 (*Source)(nil), // 0: google.cloud.securitycenter.v1p1beta1.Source
195 }
196 var file_google_cloud_securitycenter_v1p1beta1_source_proto_depIdxs = []int32{
197 0, // [0:0] is the sub-list for method output_type
198 0, // [0:0] is the sub-list for method input_type
199 0, // [0:0] is the sub-list for extension type_name
200 0, // [0:0] is the sub-list for extension extendee
201 0, // [0:0] is the sub-list for field type_name
202 }
203
204 func init() { file_google_cloud_securitycenter_v1p1beta1_source_proto_init() }
205 func file_google_cloud_securitycenter_v1p1beta1_source_proto_init() {
206 if File_google_cloud_securitycenter_v1p1beta1_source_proto != nil {
207 return
208 }
209 type x struct{}
210 out := protoimpl.TypeBuilder{
211 File: protoimpl.DescBuilder{
212 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
213 RawDescriptor: file_google_cloud_securitycenter_v1p1beta1_source_proto_rawDesc,
214 NumEnums: 0,
215 NumMessages: 1,
216 NumExtensions: 0,
217 NumServices: 0,
218 },
219 GoTypes: file_google_cloud_securitycenter_v1p1beta1_source_proto_goTypes,
220 DependencyIndexes: file_google_cloud_securitycenter_v1p1beta1_source_proto_depIdxs,
221 MessageInfos: file_google_cloud_securitycenter_v1p1beta1_source_proto_msgTypes,
222 }.Build()
223 File_google_cloud_securitycenter_v1p1beta1_source_proto = out.File
224 file_google_cloud_securitycenter_v1p1beta1_source_proto_rawDesc = nil
225 file_google_cloud_securitycenter_v1p1beta1_source_proto_goTypes = nil
226 file_google_cloud_securitycenter_v1p1beta1_source_proto_depIdxs = nil
227 }