Debian Codegraph @

securitycenter/apiv2/securitycenterpb/simulation.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/simulation.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 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // Attack path simulation
40 type Simulation struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // Full resource name of the Simulation:
46 // `organizations/123/simulations/456`
47 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
48 // Output only. Time simulation was created
49 CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
50 // Resource value configurations' metadata used in this simulation. Maximum of
51 // 100.
52 ResourceValueConfigsMetadata []*ResourceValueConfigMetadata `protobuf:"bytes,3,rep,name=resource_value_configs_metadata,json=resourceValueConfigsMetadata,proto3" json:"resource_value_configs_metadata,omitempty"`
53 // Indicates which cloud provider was used in this simulation.
54 CloudProvider CloudProvider `protobuf:"varint,4,opt,name=cloud_provider,json=cloudProvider,proto3,enum=google.cloud.securitycenter.v2.CloudProvider" json:"cloud_provider,omitempty"`
55 }
56
57 func (x *Simulation) Reset() {
58 *x = Simulation{}
59 mi := &file_google_cloud_securitycenter_v2_simulation_proto_msgTypes[0]
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 ms.StoreMessageInfo(mi)
62 }
63
64 func (x *Simulation) String() string {
65 return protoimpl.X.MessageStringOf(x)
66 }
67
68 func (*Simulation) ProtoMessage() {}
69
70 func (x *Simulation) ProtoReflect() protoreflect.Message {
71 mi := &file_google_cloud_securitycenter_v2_simulation_proto_msgTypes[0]
72 if x != nil {
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 if ms.LoadMessageInfo() == nil {
75 ms.StoreMessageInfo(mi)
76 }
77 return ms
78 }
79 return mi.MessageOf(x)
80 }
81
82 // Deprecated: Use Simulation.ProtoReflect.Descriptor instead.
83 func (*Simulation) Descriptor() ([]byte, []int) {
84 return file_google_cloud_securitycenter_v2_simulation_proto_rawDescGZIP(), []int{0}
85 }
86
87 func (x *Simulation) GetName() string {
88 if x != nil {
89 return x.Name
90 }
91 return ""
92 }
93
94 func (x *Simulation) GetCreateTime() *timestamppb.Timestamp {
95 if x != nil {
96 return x.CreateTime
97 }
98 return nil
99 }
100
101 func (x *Simulation) GetResourceValueConfigsMetadata() []*ResourceValueConfigMetadata {
102 if x != nil {
103 return x.ResourceValueConfigsMetadata
104 }
105 return nil
106 }
107
108 func (x *Simulation) GetCloudProvider() CloudProvider {
109 if x != nil {
110 return x.CloudProvider
111 }
112 return CloudProvider_CLOUD_PROVIDER_UNSPECIFIED
113 }
114
115 var File_google_cloud_securitycenter_v2_simulation_proto protoreflect.FileDescriptor
116
117 var file_google_cloud_securitycenter_v2_simulation_proto_rawDesc = []byte{
118 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
119 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32,
120 0x2f, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
121 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
122 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76,
123 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
124 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
125 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72,
126 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67,
127 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75,
128 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65,
129 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x67, 0x6f,
130 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72,
131 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x76, 0x61, 0x6c,
132 0x75, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
133 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
134 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72,
135 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x04, 0x0a, 0x0a, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69,
136 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
137 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
138 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
139 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
140 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72,
141 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x82, 0x01, 0x0a, 0x1f, 0x72, 0x65, 0x73,
142 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
143 0x69, 0x67, 0x73, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03,
144 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
145 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
146 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75,
147 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52,
148 0x1c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f,
149 0x6e, 0x66, 0x69, 0x67, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x54, 0x0a,
150 0x0e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18,
151 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
152 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e,
153 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76,
154 0x69, 0x64, 0x65, 0x72, 0x52, 0x0d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69,
155 0x64, 0x65, 0x72, 0x3a, 0xca, 0x01, 0xea, 0x41, 0xc6, 0x01, 0x0a, 0x28, 0x73, 0x65, 0x63, 0x75,
156 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
157 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61,
158 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
159 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
160 0x6e, 0x7d, 0x2f, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b,
161 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0x4a, 0x6f, 0x72, 0x67,
162 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61,
163 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
164 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x73,
165 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x73, 0x69, 0x6d, 0x6c,
166 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2a, 0x0b, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74,
167 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x0a, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
168 0x42, 0xe9, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
169 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
170 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x42, 0x0f, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74,
171 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75,
172 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f,
173 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61,
174 0x70, 0x69, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e,
175 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
176 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
177 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65,
178 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
179 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43,
180 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x32, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
181 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69,
182 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72,
183 0x6f, 0x74, 0x6f, 0x33,
184 }
185
186 var (
187 file_google_cloud_securitycenter_v2_simulation_proto_rawDescOnce sync.Once
188 file_google_cloud_securitycenter_v2_simulation_proto_rawDescData = file_google_cloud_securitycenter_v2_simulation_proto_rawDesc
189 )
190
191 func file_google_cloud_securitycenter_v2_simulation_proto_rawDescGZIP() []byte {
192 file_google_cloud_securitycenter_v2_simulation_proto_rawDescOnce.Do(func() {
193 file_google_cloud_securitycenter_v2_simulation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_simulation_proto_rawDescData)
194 })
195 return file_google_cloud_securitycenter_v2_simulation_proto_rawDescData
196 }
197
198 var file_google_cloud_securitycenter_v2_simulation_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
199 var file_google_cloud_securitycenter_v2_simulation_proto_goTypes = []any{
200 (*Simulation)(nil), // 0: google.cloud.securitycenter.v2.Simulation
201 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
202 (*ResourceValueConfigMetadata)(nil), // 2: google.cloud.securitycenter.v2.ResourceValueConfigMetadata
203 (CloudProvider)(0), // 3: google.cloud.securitycenter.v2.CloudProvider
204 }
205 var file_google_cloud_securitycenter_v2_simulation_proto_depIdxs = []int32{
206 1, // 0: google.cloud.securitycenter.v2.Simulation.create_time:type_name -> google.protobuf.Timestamp
207 2, // 1: google.cloud.securitycenter.v2.Simulation.resource_value_configs_metadata:type_name -> google.cloud.securitycenter.v2.ResourceValueConfigMetadata
208 3, // 2: google.cloud.securitycenter.v2.Simulation.cloud_provider:type_name -> google.cloud.securitycenter.v2.CloudProvider
209 3, // [3:3] is the sub-list for method output_type
210 3, // [3:3] is the sub-list for method input_type
211 3, // [3:3] is the sub-list for extension type_name
212 3, // [3:3] is the sub-list for extension extendee
213 0, // [0:3] is the sub-list for field type_name
214 }
215
216 func init() { file_google_cloud_securitycenter_v2_simulation_proto_init() }
217 func file_google_cloud_securitycenter_v2_simulation_proto_init() {
218 if File_google_cloud_securitycenter_v2_simulation_proto != nil {
219 return
220 }
221 file_google_cloud_securitycenter_v2_resource_proto_init()
222 file_google_cloud_securitycenter_v2_valued_resource_proto_init()
223 type x struct{}
224 out := protoimpl.TypeBuilder{
225 File: protoimpl.DescBuilder{
226 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
227 RawDescriptor: file_google_cloud_securitycenter_v2_simulation_proto_rawDesc,
228 NumEnums: 0,
229 NumMessages: 1,
230 NumExtensions: 0,
231 NumServices: 0,
232 },
233 GoTypes: file_google_cloud_securitycenter_v2_simulation_proto_goTypes,
234 DependencyIndexes: file_google_cloud_securitycenter_v2_simulation_proto_depIdxs,
235 MessageInfos: file_google_cloud_securitycenter_v2_simulation_proto_msgTypes,
236 }.Build()
237 File_google_cloud_securitycenter_v2_simulation_proto = out.File
238 file_google_cloud_securitycenter_v2_simulation_proto_rawDesc = nil
239 file_google_cloud_securitycenter_v2_simulation_proto_goTypes = nil
240 file_google_cloud_securitycenter_v2_simulation_proto_depIdxs = nil
241 }