1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package logs
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40 type NotificationStage_Stage int32
41
42 const (
43
44 NotificationStage_STAGE_UNSPECIFIED NotificationStage_Stage = 0
45
46 NotificationStage_SENT NotificationStage_Stage = 1
47
48 NotificationStage_SEND_FAILURE NotificationStage_Stage = 2
49
50 NotificationStage_DROPPED NotificationStage_Stage = 3
51 )
52
53
54 var (
55 NotificationStage_Stage_name = map[int32]string{
56 0: "STAGE_UNSPECIFIED",
57 1: "SENT",
58 2: "SEND_FAILURE",
59 3: "DROPPED",
60 }
61 NotificationStage_Stage_value = map[string]int32{
62 "STAGE_UNSPECIFIED": 0,
63 "SENT": 1,
64 "SEND_FAILURE": 2,
65 "DROPPED": 3,
66 }
67 )
68
69 func (x NotificationStage_Stage) Enum() *NotificationStage_Stage {
70 p := new(NotificationStage_Stage)
71 *p = x
72 return p
73 }
74
75 func (x NotificationStage_Stage) String() string {
76 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
77 }
78
79 func (NotificationStage_Stage) Descriptor() protoreflect.EnumDescriptor {
80 return file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_enumTypes[0].Descriptor()
81 }
82
83 func (NotificationStage_Stage) Type() protoreflect.EnumType {
84 return &file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_enumTypes[0]
85 }
86
87 func (x NotificationStage_Stage) Number() protoreflect.EnumNumber {
88 return protoreflect.EnumNumber(x)
89 }
90
91
92 func (NotificationStage_Stage) EnumDescriptor() ([]byte, []int) {
93 return file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_rawDescGZIP(), []int{0, 0}
94 }
95
96
97 type NotificationStage_Event int32
98
99 const (
100
101 NotificationStage_EVENT_UNSPECIFIED NotificationStage_Event = 0
102
103 NotificationStage_HEALTH_STATUS_CHANGE NotificationStage_Event = 1
104 )
105
106
107 var (
108 NotificationStage_Event_name = map[int32]string{
109 0: "EVENT_UNSPECIFIED",
110 1: "HEALTH_STATUS_CHANGE",
111 }
112 NotificationStage_Event_value = map[string]int32{
113 "EVENT_UNSPECIFIED": 0,
114 "HEALTH_STATUS_CHANGE": 1,
115 }
116 )
117
118 func (x NotificationStage_Event) Enum() *NotificationStage_Event {
119 p := new(NotificationStage_Event)
120 *p = x
121 return p
122 }
123
124 func (x NotificationStage_Event) String() string {
125 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
126 }
127
128 func (NotificationStage_Event) Descriptor() protoreflect.EnumDescriptor {
129 return file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_enumTypes[1].Descriptor()
130 }
131
132 func (NotificationStage_Event) Type() protoreflect.EnumType {
133 return &file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_enumTypes[1]
134 }
135
136 func (x NotificationStage_Event) Number() protoreflect.EnumNumber {
137 return protoreflect.EnumNumber(x)
138 }
139
140
141 func (NotificationStage_Event) EnumDescriptor() ([]byte, []int) {
142 return file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_rawDescGZIP(), []int{0, 1}
143 }
144
145
146 type NotificationStage struct {
147 state protoimpl.MessageState
148 sizeCache protoimpl.SizeCache
149 unknownFields protoimpl.UnknownFields
150
151
152 Stage NotificationStage_Stage `protobuf:"varint,1,opt,name=stage,proto3,enum=google.cloud.saasaccelerator.management.logs.v1.NotificationStage_Stage" json:"stage,omitempty"`
153
154 EventTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
155
156 NotificationId string `protobuf:"bytes,3,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"`
157
158 Event NotificationStage_Event `protobuf:"varint,4,opt,name=event,proto3,enum=google.cloud.saasaccelerator.management.logs.v1.NotificationStage_Event" json:"event,omitempty"`
159
160 Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
161 }
162
163 func (x *NotificationStage) Reset() {
164 *x = NotificationStage{}
165 if protoimpl.UnsafeEnabled {
166 mi := &file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_msgTypes[0]
167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
168 ms.StoreMessageInfo(mi)
169 }
170 }
171
172 func (x *NotificationStage) String() string {
173 return protoimpl.X.MessageStringOf(x)
174 }
175
176 func (*NotificationStage) ProtoMessage() {}
177
178 func (x *NotificationStage) ProtoReflect() protoreflect.Message {
179 mi := &file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_msgTypes[0]
180 if protoimpl.UnsafeEnabled && x != nil {
181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
182 if ms.LoadMessageInfo() == nil {
183 ms.StoreMessageInfo(mi)
184 }
185 return ms
186 }
187 return mi.MessageOf(x)
188 }
189
190
191 func (*NotificationStage) Descriptor() ([]byte, []int) {
192 return file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_rawDescGZIP(), []int{0}
193 }
194
195 func (x *NotificationStage) GetStage() NotificationStage_Stage {
196 if x != nil {
197 return x.Stage
198 }
199 return NotificationStage_STAGE_UNSPECIFIED
200 }
201
202 func (x *NotificationStage) GetEventTime() *timestamppb.Timestamp {
203 if x != nil {
204 return x.EventTime
205 }
206 return nil
207 }
208
209 func (x *NotificationStage) GetNotificationId() string {
210 if x != nil {
211 return x.NotificationId
212 }
213 return ""
214 }
215
216 func (x *NotificationStage) GetEvent() NotificationStage_Event {
217 if x != nil {
218 return x.Event
219 }
220 return NotificationStage_EVENT_UNSPECIFIED
221 }
222
223 func (x *NotificationStage) GetMessage() string {
224 if x != nil {
225 return x.Message
226 }
227 return ""
228 }
229
230 var File_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto protoreflect.FileDescriptor
231
232 var file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_rawDesc = []byte{
233 0x0a, 0x52, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
234 0x61, 0x61, 0x73, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x6d,
235 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x76,
236 0x31, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73,
237 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x70,
238 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
239 0x75, 0x64, 0x2e, 0x73, 0x61, 0x61, 0x73, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74,
240 0x6f, 0x72, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x6c, 0x6f,
241 0x67, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
242 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
243 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd4, 0x03, 0x0a, 0x11, 0x4e, 0x6f, 0x74, 0x69, 0x66,
244 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x12, 0x5e, 0x0a, 0x05,
245 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x48, 0x2e, 0x67, 0x6f,
246 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x61, 0x61, 0x73, 0x61,
247 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67,
248 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f,
249 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x2e,
250 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x39, 0x0a, 0x0a,
251 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
252 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
253 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x76,
254 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6e, 0x6f, 0x74, 0x69, 0x66,
255 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
256 0x52, 0x0e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64,
257 0x12, 0x5e, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32,
258 0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73,
259 0x61, 0x61, 0x73, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x6d,
260 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x76,
261 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74,
262 0x61, 0x67, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74,
263 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
264 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x47, 0x0a, 0x05, 0x53, 0x74,
265 0x61, 0x67, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x55, 0x4e, 0x53,
266 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x45,
267 0x4e, 0x54, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x45, 0x4e, 0x44, 0x5f, 0x46, 0x41, 0x49,
268 0x4c, 0x55, 0x52, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x52, 0x4f, 0x50, 0x50, 0x45,
269 0x44, 0x10, 0x03, 0x22, 0x38, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x15, 0x0a, 0x11,
270 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
271 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x5f, 0x53, 0x54,
272 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x01, 0x42, 0xad, 0x01,
273 0x0a, 0x33, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
274 0x75, 0x64, 0x2e, 0x73, 0x61, 0x61, 0x73, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74,
275 0x6f, 0x72, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x6c, 0x6f,
276 0x67, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x1f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
277 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61,
278 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
279 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70,
280 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f,
281 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x61, 0x61, 0x73, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65,
282 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74,
283 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x6c, 0x6f, 0x67, 0x73, 0x62, 0x06, 0x70,
284 0x72, 0x6f, 0x74, 0x6f, 0x33,
285 }
286
287 var (
288 file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_rawDescOnce sync.Once
289 file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_rawDescData = file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_rawDesc
290 )
291
292 func file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_rawDescGZIP() []byte {
293 file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_rawDescOnce.Do(func() {
294 file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_rawDescData)
295 })
296 return file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_rawDescData
297 }
298
299 var file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
300 var file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
301 var file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_goTypes = []interface{}{
302 (NotificationStage_Stage)(0),
303 (NotificationStage_Event)(0),
304 (*NotificationStage)(nil),
305 (*timestamppb.Timestamp)(nil),
306 }
307 var file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_depIdxs = []int32{
308 0,
309 3,
310 1,
311 3,
312 3,
313 3,
314 3,
315 0,
316 }
317
318 func init() {
319 file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_init()
320 }
321 func file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_init() {
322 if File_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto != nil {
323 return
324 }
325 if !protoimpl.UnsafeEnabled {
326 file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
327 switch v := v.(*NotificationStage); i {
328 case 0:
329 return &v.state
330 case 1:
331 return &v.sizeCache
332 case 2:
333 return &v.unknownFields
334 default:
335 return nil
336 }
337 }
338 }
339 type x struct{}
340 out := protoimpl.TypeBuilder{
341 File: protoimpl.DescBuilder{
342 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
343 RawDescriptor: file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_rawDesc,
344 NumEnums: 2,
345 NumMessages: 1,
346 NumExtensions: 0,
347 NumServices: 0,
348 },
349 GoTypes: file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_goTypes,
350 DependencyIndexes: file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_depIdxs,
351 EnumInfos: file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_enumTypes,
352 MessageInfos: file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_msgTypes,
353 }.Build()
354 File_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto = out.File
355 file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_rawDesc = nil
356 file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_goTypes = nil
357 file_google_cloud_saasaccelerator_management_logs_v1_notification_service_payload_proto_depIdxs = nil
358 }
359
View as plain text