Debian Codegraph @

securitycenter/apiv2/securitycenterpb/affected_resources.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/affected_resources.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 // Details about resources affected by this finding.
38 type AffectedResources struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // The count of resources affected by the finding.
44 Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
45 }
46
47 func (x *AffectedResources) Reset() {
48 *x = AffectedResources{}
49 mi := &file_google_cloud_securitycenter_v2_affected_resources_proto_msgTypes[0]
50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51 ms.StoreMessageInfo(mi)
52 }
53
54 func (x *AffectedResources) String() string {
55 return protoimpl.X.MessageStringOf(x)
56 }
57
58 func (*AffectedResources) ProtoMessage() {}
59
60 func (x *AffectedResources) ProtoReflect() protoreflect.Message {
61 mi := &file_google_cloud_securitycenter_v2_affected_resources_proto_msgTypes[0]
62 if x != nil {
63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
64 if ms.LoadMessageInfo() == nil {
65 ms.StoreMessageInfo(mi)
66 }
67 return ms
68 }
69 return mi.MessageOf(x)
70 }
71
72 // Deprecated: Use AffectedResources.ProtoReflect.Descriptor instead.
73 func (*AffectedResources) Descriptor() ([]byte, []int) {
74 return file_google_cloud_securitycenter_v2_affected_resources_proto_rawDescGZIP(), []int{0}
75 }
76
77 func (x *AffectedResources) GetCount() int64 {
78 if x != nil {
79 return x.Count
80 }
81 return 0
82 }
83
84 var File_google_cloud_securitycenter_v2_affected_resources_proto protoreflect.FileDescriptor
85
86 var file_google_cloud_securitycenter_v2_affected_resources_proto_rawDesc = []byte{
87 0x0a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
88 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32,
89 0x2f, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
90 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
91 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
92 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x22, 0x29, 0x0a, 0x11, 0x41, 0x66, 0x66,
93 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x14,
94 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63,
95 0x6f, 0x75, 0x6e, 0x74, 0x42, 0xf0, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
96 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
97 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x42, 0x16, 0x41, 0x66, 0x66,
98 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72,
99 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f,
100 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72,
101 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f,
102 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62,
103 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70,
104 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
105 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
106 0x56, 0x32, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75,
107 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72,
108 0x5c, 0x56, 0x32, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c,
109 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e,
110 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
111 }
112
113 var (
114 file_google_cloud_securitycenter_v2_affected_resources_proto_rawDescOnce sync.Once
115 file_google_cloud_securitycenter_v2_affected_resources_proto_rawDescData = file_google_cloud_securitycenter_v2_affected_resources_proto_rawDesc
116 )
117
118 func file_google_cloud_securitycenter_v2_affected_resources_proto_rawDescGZIP() []byte {
119 file_google_cloud_securitycenter_v2_affected_resources_proto_rawDescOnce.Do(func() {
120 file_google_cloud_securitycenter_v2_affected_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_affected_resources_proto_rawDescData)
121 })
122 return file_google_cloud_securitycenter_v2_affected_resources_proto_rawDescData
123 }
124
125 var file_google_cloud_securitycenter_v2_affected_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
126 var file_google_cloud_securitycenter_v2_affected_resources_proto_goTypes = []any{
127 (*AffectedResources)(nil), // 0: google.cloud.securitycenter.v2.AffectedResources
128 }
129 var file_google_cloud_securitycenter_v2_affected_resources_proto_depIdxs = []int32{
130 0, // [0:0] is the sub-list for method output_type
131 0, // [0:0] is the sub-list for method input_type
132 0, // [0:0] is the sub-list for extension type_name
133 0, // [0:0] is the sub-list for extension extendee
134 0, // [0:0] is the sub-list for field type_name
135 }
136
137 func init() { file_google_cloud_securitycenter_v2_affected_resources_proto_init() }
138 func file_google_cloud_securitycenter_v2_affected_resources_proto_init() {
139 if File_google_cloud_securitycenter_v2_affected_resources_proto != nil {
140 return
141 }
142 type x struct{}
143 out := protoimpl.TypeBuilder{
144 File: protoimpl.DescBuilder{
145 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
146 RawDescriptor: file_google_cloud_securitycenter_v2_affected_resources_proto_rawDesc,
147 NumEnums: 0,
148 NumMessages: 1,
149 NumExtensions: 0,
150 NumServices: 0,
151 },
152 GoTypes: file_google_cloud_securitycenter_v2_affected_resources_proto_goTypes,
153 DependencyIndexes: file_google_cloud_securitycenter_v2_affected_resources_proto_depIdxs,
154 MessageInfos: file_google_cloud_securitycenter_v2_affected_resources_proto_msgTypes,
155 }.Build()
156 File_google_cloud_securitycenter_v2_affected_resources_proto = out.File
157 file_google_cloud_securitycenter_v2_affected_resources_proto_rawDesc = nil
158 file_google_cloud_securitycenter_v2_affected_resources_proto_goTypes = nil
159 file_google_cloud_securitycenter_v2_affected_resources_proto_depIdxs = nil
160 }