Debian Codegraph @

securitycenter/apiv1beta1/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/v1beta1/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 }
66
67 func (x *Source) Reset() {
68 *x = Source{}
69 mi := &file_google_cloud_securitycenter_v1beta1_source_proto_msgTypes[0]
70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
71 ms.StoreMessageInfo(mi)
72 }
73
74 func (x *Source) String() string {
75 return protoimpl.X.MessageStringOf(x)
76 }
77
78 func (*Source) ProtoMessage() {}
79
80 func (x *Source) ProtoReflect() protoreflect.Message {
81 mi := &file_google_cloud_securitycenter_v1beta1_source_proto_msgTypes[0]
82 if x != nil {
83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
84 if ms.LoadMessageInfo() == nil {
85 ms.StoreMessageInfo(mi)
86 }
87 return ms
88 }
89 return mi.MessageOf(x)
90 }
91
92 // Deprecated: Use Source.ProtoReflect.Descriptor instead.
93 func (*Source) Descriptor() ([]byte, []int) {
94 return file_google_cloud_securitycenter_v1beta1_source_proto_rawDescGZIP(), []int{0}
95 }
96
97 func (x *Source) GetName() string {
98 if x != nil {
99 return x.Name
100 }
101 return ""
102 }
103
104 func (x *Source) GetDisplayName() string {
105 if x != nil {
106 return x.DisplayName
107 }
108 return ""
109 }
110
111 func (x *Source) GetDescription() string {
112 if x != nil {
113 return x.Description
114 }
115 return ""
116 }
117
118 var File_google_cloud_securitycenter_v1beta1_source_proto protoreflect.FileDescriptor
119
120 var file_google_cloud_securitycenter_v1beta1_source_proto_rawDesc = []byte{
121 0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
122 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31,
123 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
124 0x74, 0x6f, 0x12, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
125 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
126 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
127 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
128 0x74, 0x6f, 0x22, 0xbb, 0x01, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a,
129 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
130 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d,
131 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
132 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
133 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
134 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x58, 0xea, 0x41, 0x55, 0x0a, 0x24, 0x73, 0x65, 0x63,
135 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
136 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x6f, 0x75, 0x72, 0x63,
137 0x65, 0x12, 0x2d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
138 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f,
139 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x7d,
140 0x42, 0x7c, 0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
141 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e,
142 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x50, 0x01, 0x5a, 0x4f, 0x63,
143 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
144 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65,
145 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x65, 0x63,
146 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65,
147 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x62, 0x06,
148 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
149 }
150
151 var (
152 file_google_cloud_securitycenter_v1beta1_source_proto_rawDescOnce sync.Once
153 file_google_cloud_securitycenter_v1beta1_source_proto_rawDescData = file_google_cloud_securitycenter_v1beta1_source_proto_rawDesc
154 )
155
156 func file_google_cloud_securitycenter_v1beta1_source_proto_rawDescGZIP() []byte {
157 file_google_cloud_securitycenter_v1beta1_source_proto_rawDescOnce.Do(func() {
158 file_google_cloud_securitycenter_v1beta1_source_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1beta1_source_proto_rawDescData)
159 })
160 return file_google_cloud_securitycenter_v1beta1_source_proto_rawDescData
161 }
162
163 var file_google_cloud_securitycenter_v1beta1_source_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
164 var file_google_cloud_securitycenter_v1beta1_source_proto_goTypes = []any{
165 (*Source)(nil), // 0: google.cloud.securitycenter.v1beta1.Source
166 }
167 var file_google_cloud_securitycenter_v1beta1_source_proto_depIdxs = []int32{
168 0, // [0:0] is the sub-list for method output_type
169 0, // [0:0] is the sub-list for method input_type
170 0, // [0:0] is the sub-list for extension type_name
171 0, // [0:0] is the sub-list for extension extendee
172 0, // [0:0] is the sub-list for field type_name
173 }
174
175 func init() { file_google_cloud_securitycenter_v1beta1_source_proto_init() }
176 func file_google_cloud_securitycenter_v1beta1_source_proto_init() {
177 if File_google_cloud_securitycenter_v1beta1_source_proto != nil {
178 return
179 }
180 type x struct{}
181 out := protoimpl.TypeBuilder{
182 File: protoimpl.DescBuilder{
183 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
184 RawDescriptor: file_google_cloud_securitycenter_v1beta1_source_proto_rawDesc,
185 NumEnums: 0,
186 NumMessages: 1,
187 NumExtensions: 0,
188 NumServices: 0,
189 },
190 GoTypes: file_google_cloud_securitycenter_v1beta1_source_proto_goTypes,
191 DependencyIndexes: file_google_cloud_securitycenter_v1beta1_source_proto_depIdxs,
192 MessageInfos: file_google_cloud_securitycenter_v1beta1_source_proto_msgTypes,
193 }.Build()
194 File_google_cloud_securitycenter_v1beta1_source_proto = out.File
195 file_google_cloud_securitycenter_v1beta1_source_proto_rawDesc = nil
196 file_google_cloud_securitycenter_v1beta1_source_proto_goTypes = nil
197 file_google_cloud_securitycenter_v1beta1_source_proto_depIdxs = nil
198 }