Debian Codegraph @

securitycenter/apiv1/securitycenterpb/notification_config.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/v1/notification_config.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 // Cloud Security Command Center (Cloud SCC) notification configs.
39 //
40 // A notification config is a Cloud SCC resource that contains the configuration
41 // to send notifications for create/update events of findings, assets and etc.
42 type NotificationConfig struct {
43 state protoimpl.MessageState
44 sizeCache protoimpl.SizeCache
45 unknownFields protoimpl.UnknownFields
46
47 // The relative resource name of this notification config. See:
48 // https://cloud.google.com/apis/design/resource_names#relative_resource_name
49 // Example:
50 // "organizations/{organization_id}/notificationConfigs/notify_public_bucket",
51 // "folders/{folder_id}/notificationConfigs/notify_public_bucket",
52 // or "projects/{project_id}/notificationConfigs/notify_public_bucket".
53 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
54 // The description of the notification config (max of 1024 characters).
55 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
56 // The Pub/Sub topic to send notifications to. Its format is
57 // "projects/[project_id]/topics/[topic]".
58 PubsubTopic string `protobuf:"bytes,3,opt,name=pubsub_topic,json=pubsubTopic,proto3" json:"pubsub_topic,omitempty"`
59 // Output only. The service account that needs "pubsub.topics.publish"
60 // permission to publish to the Pub/Sub topic.
61 ServiceAccount string `protobuf:"bytes,4,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
62 // The config for triggering notifications.
63 //
64 // Types that are assignable to NotifyConfig:
65 //
66 // *NotificationConfig_StreamingConfig_
67 NotifyConfig isNotificationConfig_NotifyConfig `protobuf_oneof:"notify_config"`
68 }
69
70 func (x *NotificationConfig) Reset() {
71 *x = NotificationConfig{}
72 mi := &file_google_cloud_securitycenter_v1_notification_config_proto_msgTypes[0]
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 ms.StoreMessageInfo(mi)
75 }
76
77 func (x *NotificationConfig) String() string {
78 return protoimpl.X.MessageStringOf(x)
79 }
80
81 func (*NotificationConfig) ProtoMessage() {}
82
83 func (x *NotificationConfig) ProtoReflect() protoreflect.Message {
84 mi := &file_google_cloud_securitycenter_v1_notification_config_proto_msgTypes[0]
85 if x != nil {
86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
87 if ms.LoadMessageInfo() == nil {
88 ms.StoreMessageInfo(mi)
89 }
90 return ms
91 }
92 return mi.MessageOf(x)
93 }
94
95 // Deprecated: Use NotificationConfig.ProtoReflect.Descriptor instead.
96 func (*NotificationConfig) Descriptor() ([]byte, []int) {
97 return file_google_cloud_securitycenter_v1_notification_config_proto_rawDescGZIP(), []int{0}
98 }
99
100 func (x *NotificationConfig) GetName() string {
101 if x != nil {
102 return x.Name
103 }
104 return ""
105 }
106
107 func (x *NotificationConfig) GetDescription() string {
108 if x != nil {
109 return x.Description
110 }
111 return ""
112 }
113
114 func (x *NotificationConfig) GetPubsubTopic() string {
115 if x != nil {
116 return x.PubsubTopic
117 }
118 return ""
119 }
120
121 func (x *NotificationConfig) GetServiceAccount() string {
122 if x != nil {
123 return x.ServiceAccount
124 }
125 return ""
126 }
127
128 func (m *NotificationConfig) GetNotifyConfig() isNotificationConfig_NotifyConfig {
129 if m != nil {
130 return m.NotifyConfig
131 }
132 return nil
133 }
134
135 func (x *NotificationConfig) GetStreamingConfig() *NotificationConfig_StreamingConfig {
136 if x, ok := x.GetNotifyConfig().(*NotificationConfig_StreamingConfig_); ok {
137 return x.StreamingConfig
138 }
139 return nil
140 }
141
142 type isNotificationConfig_NotifyConfig interface {
143 isNotificationConfig_NotifyConfig()
144 }
145
146 type NotificationConfig_StreamingConfig_ struct {
147 // The config for triggering streaming-based notifications.
148 StreamingConfig *NotificationConfig_StreamingConfig `protobuf:"bytes,5,opt,name=streaming_config,json=streamingConfig,proto3,oneof"`
149 }
150
151 func (*NotificationConfig_StreamingConfig_) isNotificationConfig_NotifyConfig() {}
152
153 // The config for streaming-based notifications, which send each event as soon
154 // as it is detected.
155 type NotificationConfig_StreamingConfig struct {
156 state protoimpl.MessageState
157 sizeCache protoimpl.SizeCache
158 unknownFields protoimpl.UnknownFields
159
160 // Expression that defines the filter to apply across create/update events
161 // of assets or findings as specified by the event type. The expression is a
162 // list of zero or more restrictions combined via logical operators `AND`
163 // and `OR`. Parentheses are supported, and `OR` has higher precedence than
164 // `AND`.
165 //
166 // Restrictions have the form `<field> <operator> <value>` and may have a
167 // `-` character in front of them to indicate negation. The fields map to
168 // those defined in the corresponding resource.
169 //
170 // The supported operators are:
171 //
172 // * `=` for all value types.
173 // * `>`, `<`, `>=`, `<=` for integer values.
174 // * `:`, meaning substring matching, for strings.
175 //
176 // The supported value types are:
177 //
178 // * string literals in quotes.
179 // * integer literals without quotes.
180 // * boolean literals `true` and `false` without quotes.
181 Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
182 }
183
184 func (x *NotificationConfig_StreamingConfig) Reset() {
185 *x = NotificationConfig_StreamingConfig{}
186 mi := &file_google_cloud_securitycenter_v1_notification_config_proto_msgTypes[1]
187 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
188 ms.StoreMessageInfo(mi)
189 }
190
191 func (x *NotificationConfig_StreamingConfig) String() string {
192 return protoimpl.X.MessageStringOf(x)
193 }
194
195 func (*NotificationConfig_StreamingConfig) ProtoMessage() {}
196
197 func (x *NotificationConfig_StreamingConfig) ProtoReflect() protoreflect.Message {
198 mi := &file_google_cloud_securitycenter_v1_notification_config_proto_msgTypes[1]
199 if x != nil {
200 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
201 if ms.LoadMessageInfo() == nil {
202 ms.StoreMessageInfo(mi)
203 }
204 return ms
205 }
206 return mi.MessageOf(x)
207 }
208
209 // Deprecated: Use NotificationConfig_StreamingConfig.ProtoReflect.Descriptor instead.
210 func (*NotificationConfig_StreamingConfig) Descriptor() ([]byte, []int) {
211 return file_google_cloud_securitycenter_v1_notification_config_proto_rawDescGZIP(), []int{0, 0}
212 }
213
214 func (x *NotificationConfig_StreamingConfig) GetFilter() string {
215 if x != nil {
216 return x.Filter
217 }
218 return ""
219 }
220
221 var File_google_cloud_securitycenter_v1_notification_config_proto protoreflect.FileDescriptor
222
223 var file_google_cloud_securitycenter_v1_notification_config_proto_rawDesc = []byte{
224 0x0a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
225 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31,
226 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f,
227 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67,
228 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
229 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
230 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
231 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
232 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
233 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x05, 0x0a, 0x12, 0x4e, 0x6f, 0x74, 0x69, 0x66,
234 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a,
235 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
236 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
237 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
238 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x6f,
239 0x70, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x20, 0xfa, 0x41, 0x1d, 0x0a, 0x1b,
240 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
241 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x0b, 0x70, 0x75, 0x62,
242 0x73, 0x75, 0x62, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x2c, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76,
243 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
244 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41,
245 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x6f, 0x0a, 0x10, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d,
246 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
247 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
248 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76,
249 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f,
250 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x43, 0x6f,
251 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e,
252 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x29, 0x0a, 0x0f, 0x53, 0x74, 0x72, 0x65, 0x61,
253 0x6d, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69,
254 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74,
255 0x65, 0x72, 0x3a, 0xa1, 0x02, 0xea, 0x41, 0x9d, 0x02, 0x0a, 0x30, 0x73, 0x65, 0x63, 0x75, 0x72,
256 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
257 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63,
258 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x46, 0x6f, 0x72, 0x67,
259 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61,
260 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69,
261 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x7b, 0x6e,
262 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
263 0x69, 0x67, 0x7d, 0x12, 0x3a, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x66, 0x6f,
264 0x6c, 0x64, 0x65, 0x72, 0x7d, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
265 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x7b, 0x6e, 0x6f, 0x74, 0x69, 0x66,
266 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x12,
267 0x3c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65,
268 0x63, 0x74, 0x7d, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
269 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x7b, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63,
270 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x2a, 0x13, 0x6e,
271 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69,
272 0x67, 0x73, 0x32, 0x12, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
273 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x0f, 0x0a, 0x0d, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79,
274 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0xb4, 0x02, 0xea, 0x41, 0x40, 0x0a, 0x1b, 0x70,
275 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
276 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x21, 0x70, 0x72, 0x6f, 0x6a,
277 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x74,
278 0x6f, 0x70, 0x69, 0x63, 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x7d, 0x0a, 0x22, 0x63,
279 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
280 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76,
281 0x31, 0x42, 0x17, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43,
282 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c,
283 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
284 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
285 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
286 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
287 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
288 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
289 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67,
290 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
291 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f,
292 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75,
293 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
294 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
295 }
296
297 var (
298 file_google_cloud_securitycenter_v1_notification_config_proto_rawDescOnce sync.Once
299 file_google_cloud_securitycenter_v1_notification_config_proto_rawDescData = file_google_cloud_securitycenter_v1_notification_config_proto_rawDesc
300 )
301
302 func file_google_cloud_securitycenter_v1_notification_config_proto_rawDescGZIP() []byte {
303 file_google_cloud_securitycenter_v1_notification_config_proto_rawDescOnce.Do(func() {
304 file_google_cloud_securitycenter_v1_notification_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1_notification_config_proto_rawDescData)
305 })
306 return file_google_cloud_securitycenter_v1_notification_config_proto_rawDescData
307 }
308
309 var file_google_cloud_securitycenter_v1_notification_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
310 var file_google_cloud_securitycenter_v1_notification_config_proto_goTypes = []any{
311 (*NotificationConfig)(nil), // 0: google.cloud.securitycenter.v1.NotificationConfig
312 (*NotificationConfig_StreamingConfig)(nil), // 1: google.cloud.securitycenter.v1.NotificationConfig.StreamingConfig
313 }
314 var file_google_cloud_securitycenter_v1_notification_config_proto_depIdxs = []int32{
315 1, // 0: google.cloud.securitycenter.v1.NotificationConfig.streaming_config:type_name -> google.cloud.securitycenter.v1.NotificationConfig.StreamingConfig
316 1, // [1:1] is the sub-list for method output_type
317 1, // [1:1] is the sub-list for method input_type
318 1, // [1:1] is the sub-list for extension type_name
319 1, // [1:1] is the sub-list for extension extendee
320 0, // [0:1] is the sub-list for field type_name
321 }
322
323 func init() { file_google_cloud_securitycenter_v1_notification_config_proto_init() }
324 func file_google_cloud_securitycenter_v1_notification_config_proto_init() {
325 if File_google_cloud_securitycenter_v1_notification_config_proto != nil {
326 return
327 }
328 file_google_cloud_securitycenter_v1_notification_config_proto_msgTypes[0].OneofWrappers = []any{
329 (*NotificationConfig_StreamingConfig_)(nil),
330 }
331 type x struct{}
332 out := protoimpl.TypeBuilder{
333 File: protoimpl.DescBuilder{
334 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
335 RawDescriptor: file_google_cloud_securitycenter_v1_notification_config_proto_rawDesc,
336 NumEnums: 0,
337 NumMessages: 2,
338 NumExtensions: 0,
339 NumServices: 0,
340 },
341 GoTypes: file_google_cloud_securitycenter_v1_notification_config_proto_goTypes,
342 DependencyIndexes: file_google_cloud_securitycenter_v1_notification_config_proto_depIdxs,
343 MessageInfos: file_google_cloud_securitycenter_v1_notification_config_proto_msgTypes,
344 }.Build()
345 File_google_cloud_securitycenter_v1_notification_config_proto = out.File
346 file_google_cloud_securitycenter_v1_notification_config_proto_rawDesc = nil
347 file_google_cloud_securitycenter_v1_notification_config_proto_goTypes = nil
348 file_google_cloud_securitycenter_v1_notification_config_proto_depIdxs = nil
349 }