Debian Codegraph @

securitycenter/apiv2/securitycenterpb/container.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/container.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 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
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 // Container associated with the finding.
39 type Container struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // Name of the container.
45 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
46 // Container image URI provided when configuring a pod or container. This
47 // string can identify a container image version using mutable tags.
48 Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
49 // Optional container image ID, if provided by the container runtime. Uniquely
50 // identifies the container image launched using a container image digest.
51 ImageId string `protobuf:"bytes,3,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
52 // Container labels, as provided by the container runtime.
53 Labels []*Label `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`
54 // The time that the container was created.
55 CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
56 }
57
58 func (x *Container) Reset() {
59 *x = Container{}
60 mi := &file_google_cloud_securitycenter_v2_container_proto_msgTypes[0]
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 ms.StoreMessageInfo(mi)
63 }
64
65 func (x *Container) String() string {
66 return protoimpl.X.MessageStringOf(x)
67 }
68
69 func (*Container) ProtoMessage() {}
70
71 func (x *Container) ProtoReflect() protoreflect.Message {
72 mi := &file_google_cloud_securitycenter_v2_container_proto_msgTypes[0]
73 if x != nil {
74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75 if ms.LoadMessageInfo() == nil {
76 ms.StoreMessageInfo(mi)
77 }
78 return ms
79 }
80 return mi.MessageOf(x)
81 }
82
83 // Deprecated: Use Container.ProtoReflect.Descriptor instead.
84 func (*Container) Descriptor() ([]byte, []int) {
85 return file_google_cloud_securitycenter_v2_container_proto_rawDescGZIP(), []int{0}
86 }
87
88 func (x *Container) GetName() string {
89 if x != nil {
90 return x.Name
91 }
92 return ""
93 }
94
95 func (x *Container) GetUri() string {
96 if x != nil {
97 return x.Uri
98 }
99 return ""
100 }
101
102 func (x *Container) GetImageId() string {
103 if x != nil {
104 return x.ImageId
105 }
106 return ""
107 }
108
109 func (x *Container) GetLabels() []*Label {
110 if x != nil {
111 return x.Labels
112 }
113 return nil
114 }
115
116 func (x *Container) GetCreateTime() *timestamppb.Timestamp {
117 if x != nil {
118 return x.CreateTime
119 }
120 return nil
121 }
122
123 var File_google_cloud_securitycenter_v2_container_proto protoreflect.FileDescriptor
124
125 var file_google_cloud_securitycenter_v2_container_proto_rawDesc = []byte{
126 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
127 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32,
128 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
129 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73,
130 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32,
131 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
132 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32,
133 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
134 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
135 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc8, 0x01,
136 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e,
137 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
138 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72,
139 0x69, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
140 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x06,
141 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67,
142 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75,
143 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x61,
144 0x62, 0x65, 0x6c, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x63,
145 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
146 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
147 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72,
148 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x42, 0xe8, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d,
149 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65,
150 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x42,
151 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
152 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
153 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
154 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x63, 0x75,
155 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63,
156 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e,
157 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63,
158 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x32, 0xca, 0x02,
159 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65,
160 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x32, 0xea,
161 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
162 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a,
163 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
164 }
165
166 var (
167 file_google_cloud_securitycenter_v2_container_proto_rawDescOnce sync.Once
168 file_google_cloud_securitycenter_v2_container_proto_rawDescData = file_google_cloud_securitycenter_v2_container_proto_rawDesc
169 )
170
171 func file_google_cloud_securitycenter_v2_container_proto_rawDescGZIP() []byte {
172 file_google_cloud_securitycenter_v2_container_proto_rawDescOnce.Do(func() {
173 file_google_cloud_securitycenter_v2_container_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_container_proto_rawDescData)
174 })
175 return file_google_cloud_securitycenter_v2_container_proto_rawDescData
176 }
177
178 var file_google_cloud_securitycenter_v2_container_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
179 var file_google_cloud_securitycenter_v2_container_proto_goTypes = []any{
180 (*Container)(nil), // 0: google.cloud.securitycenter.v2.Container
181 (*Label)(nil), // 1: google.cloud.securitycenter.v2.Label
182 (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp
183 }
184 var file_google_cloud_securitycenter_v2_container_proto_depIdxs = []int32{
185 1, // 0: google.cloud.securitycenter.v2.Container.labels:type_name -> google.cloud.securitycenter.v2.Label
186 2, // 1: google.cloud.securitycenter.v2.Container.create_time:type_name -> google.protobuf.Timestamp
187 2, // [2:2] is the sub-list for method output_type
188 2, // [2:2] is the sub-list for method input_type
189 2, // [2:2] is the sub-list for extension type_name
190 2, // [2:2] is the sub-list for extension extendee
191 0, // [0:2] is the sub-list for field type_name
192 }
193
194 func init() { file_google_cloud_securitycenter_v2_container_proto_init() }
195 func file_google_cloud_securitycenter_v2_container_proto_init() {
196 if File_google_cloud_securitycenter_v2_container_proto != nil {
197 return
198 }
199 file_google_cloud_securitycenter_v2_label_proto_init()
200 type x struct{}
201 out := protoimpl.TypeBuilder{
202 File: protoimpl.DescBuilder{
203 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
204 RawDescriptor: file_google_cloud_securitycenter_v2_container_proto_rawDesc,
205 NumEnums: 0,
206 NumMessages: 1,
207 NumExtensions: 0,
208 NumServices: 0,
209 },
210 GoTypes: file_google_cloud_securitycenter_v2_container_proto_goTypes,
211 DependencyIndexes: file_google_cloud_securitycenter_v2_container_proto_depIdxs,
212 MessageInfos: file_google_cloud_securitycenter_v2_container_proto_msgTypes,
213 }.Build()
214 File_google_cloud_securitycenter_v2_container_proto = out.File
215 file_google_cloud_securitycenter_v2_container_proto_rawDesc = nil
216 file_google_cloud_securitycenter_v2_container_proto_goTypes = nil
217 file_google_cloud_securitycenter_v2_container_proto_depIdxs = nil
218 }