Debian Codegraph @

securitycenter/apiv2/securitycenterpb/compliance.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/v2/compliance.proto
20
21 package securitycenterpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // Contains compliance information about a security standard indicating unmet
38 // recommendations.
39 type Compliance struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // Industry-wide compliance standards or benchmarks, such as CIS, PCI, and
45 // OWASP.
46 Standard string `protobuf:"bytes,1,opt,name=standard,proto3" json:"standard,omitempty"`
47 // Version of the standard or benchmark, for example, 1.1
48 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
49 // Policies within the standard or benchmark, for example, A.12.4.1
50 Ids []string `protobuf:"bytes,3,rep,name=ids,proto3" json:"ids,omitempty"`
51 }
52
53 func (x *Compliance) Reset() {
54 *x = Compliance{}
55 mi := &file_google_cloud_securitycenter_v2_compliance_proto_msgTypes[0]
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 ms.StoreMessageInfo(mi)
58 }
59
60 func (x *Compliance) String() string {
61 return protoimpl.X.MessageStringOf(x)
62 }
63
64 func (*Compliance) ProtoMessage() {}
65
66 func (x *Compliance) ProtoReflect() protoreflect.Message {
67 mi := &file_google_cloud_securitycenter_v2_compliance_proto_msgTypes[0]
68 if x != nil {
69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70 if ms.LoadMessageInfo() == nil {
71 ms.StoreMessageInfo(mi)
72 }
73 return ms
74 }
75 return mi.MessageOf(x)
76 }
77
78 // Deprecated: Use Compliance.ProtoReflect.Descriptor instead.
79 func (*Compliance) Descriptor() ([]byte, []int) {
80 return file_google_cloud_securitycenter_v2_compliance_proto_rawDescGZIP(), []int{0}
81 }
82
83 func (x *Compliance) GetStandard() string {
84 if x != nil {
85 return x.Standard
86 }
87 return ""
88 }
89
90 func (x *Compliance) GetVersion() string {
91 if x != nil {
92 return x.Version
93 }
94 return ""
95 }
96
97 func (x *Compliance) GetIds() []string {
98 if x != nil {
99 return x.Ids
100 }
101 return nil
102 }
103
104 var File_google_cloud_securitycenter_v2_compliance_proto protoreflect.FileDescriptor
105
106 var file_google_cloud_securitycenter_v2_compliance_proto_rawDesc = []byte{
107 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
108 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32,
109 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
110 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
111 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76,
112 0x32, 0x22, 0x54, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x12,
113 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
114 0x09, 0x52, 0x08, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76,
115 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65,
116 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03,
117 0x28, 0x09, 0x52, 0x03, 0x69, 0x64, 0x73, 0x42, 0xe9, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e,
118 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63,
119 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x42, 0x0f,
120 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
121 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
122 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
123 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x63, 0x75,
124 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63,
125 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e,
126 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63,
127 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x32, 0xca, 0x02,
128 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65,
129 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x32, 0xea,
130 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
131 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a,
132 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
133 }
134
135 var (
136 file_google_cloud_securitycenter_v2_compliance_proto_rawDescOnce sync.Once
137 file_google_cloud_securitycenter_v2_compliance_proto_rawDescData = file_google_cloud_securitycenter_v2_compliance_proto_rawDesc
138 )
139
140 func file_google_cloud_securitycenter_v2_compliance_proto_rawDescGZIP() []byte {
141 file_google_cloud_securitycenter_v2_compliance_proto_rawDescOnce.Do(func() {
142 file_google_cloud_securitycenter_v2_compliance_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_compliance_proto_rawDescData)
143 })
144 return file_google_cloud_securitycenter_v2_compliance_proto_rawDescData
145 }
146
147 var file_google_cloud_securitycenter_v2_compliance_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
148 var file_google_cloud_securitycenter_v2_compliance_proto_goTypes = []any{
149 (*Compliance)(nil), // 0: google.cloud.securitycenter.v2.Compliance
150 }
151 var file_google_cloud_securitycenter_v2_compliance_proto_depIdxs = []int32{
152 0, // [0:0] is the sub-list for method output_type
153 0, // [0:0] is the sub-list for method input_type
154 0, // [0:0] is the sub-list for extension type_name
155 0, // [0:0] is the sub-list for extension extendee
156 0, // [0:0] is the sub-list for field type_name
157 }
158
159 func init() { file_google_cloud_securitycenter_v2_compliance_proto_init() }
160 func file_google_cloud_securitycenter_v2_compliance_proto_init() {
161 if File_google_cloud_securitycenter_v2_compliance_proto != nil {
162 return
163 }
164 type x struct{}
165 out := protoimpl.TypeBuilder{
166 File: protoimpl.DescBuilder{
167 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
168 RawDescriptor: file_google_cloud_securitycenter_v2_compliance_proto_rawDesc,
169 NumEnums: 0,
170 NumMessages: 1,
171 NumExtensions: 0,
172 NumServices: 0,
173 },
174 GoTypes: file_google_cloud_securitycenter_v2_compliance_proto_goTypes,
175 DependencyIndexes: file_google_cloud_securitycenter_v2_compliance_proto_depIdxs,
176 MessageInfos: file_google_cloud_securitycenter_v2_compliance_proto_msgTypes,
177 }.Build()
178 File_google_cloud_securitycenter_v2_compliance_proto = out.File
179 file_google_cloud_securitycenter_v2_compliance_proto_rawDesc = nil
180 file_google_cloud_securitycenter_v2_compliance_proto_goTypes = nil
181 file_google_cloud_securitycenter_v2_compliance_proto_depIdxs = nil
182 }