Debian Codegraph @

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