1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package logging
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 Event struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45
46 EventTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
47
48
49 Srcid int64 `protobuf:"varint,2,opt,name=srcid,proto3" json:"srcid,omitempty"`
50
51
52 ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
53
54 EventId int32 `protobuf:"varint,4,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
55
56 Component string `protobuf:"bytes,5,opt,name=component,proto3" json:"component,omitempty"`
57
58
59 ApplianceId int64 `protobuf:"varint,6,opt,name=appliance_id,json=applianceId,proto3" json:"appliance_id,omitempty"`
60
61
62 ApplianceName string `protobuf:"bytes,7,opt,name=appliance_name,json=applianceName,proto3" json:"appliance_name,omitempty"`
63
64
65 SourceEventTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=source_event_time,json=sourceEventTime,proto3" json:"source_event_time,omitempty"`
66
67
68 AppName string `protobuf:"bytes,9,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
69
70
71 AppType string `protobuf:"bytes,10,opt,name=app_type,json=appType,proto3" json:"app_type,omitempty"`
72
73 JobName string `protobuf:"bytes,11,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
74 }
75
76 func (x *Event) Reset() {
77 *x = Event{}
78 if protoimpl.UnsafeEnabled {
79 mi := &file_google_cloud_backupdr_logging_v1_eventlog_proto_msgTypes[0]
80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
81 ms.StoreMessageInfo(mi)
82 }
83 }
84
85 func (x *Event) String() string {
86 return protoimpl.X.MessageStringOf(x)
87 }
88
89 func (*Event) ProtoMessage() {}
90
91 func (x *Event) ProtoReflect() protoreflect.Message {
92 mi := &file_google_cloud_backupdr_logging_v1_eventlog_proto_msgTypes[0]
93 if protoimpl.UnsafeEnabled && x != nil {
94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
95 if ms.LoadMessageInfo() == nil {
96 ms.StoreMessageInfo(mi)
97 }
98 return ms
99 }
100 return mi.MessageOf(x)
101 }
102
103
104 func (*Event) Descriptor() ([]byte, []int) {
105 return file_google_cloud_backupdr_logging_v1_eventlog_proto_rawDescGZIP(), []int{0}
106 }
107
108 func (x *Event) GetEventTime() *timestamppb.Timestamp {
109 if x != nil {
110 return x.EventTime
111 }
112 return nil
113 }
114
115 func (x *Event) GetSrcid() int64 {
116 if x != nil {
117 return x.Srcid
118 }
119 return 0
120 }
121
122 func (x *Event) GetErrorMessage() string {
123 if x != nil {
124 return x.ErrorMessage
125 }
126 return ""
127 }
128
129 func (x *Event) GetEventId() int32 {
130 if x != nil {
131 return x.EventId
132 }
133 return 0
134 }
135
136 func (x *Event) GetComponent() string {
137 if x != nil {
138 return x.Component
139 }
140 return ""
141 }
142
143 func (x *Event) GetApplianceId() int64 {
144 if x != nil {
145 return x.ApplianceId
146 }
147 return 0
148 }
149
150 func (x *Event) GetApplianceName() string {
151 if x != nil {
152 return x.ApplianceName
153 }
154 return ""
155 }
156
157 func (x *Event) GetSourceEventTime() *timestamppb.Timestamp {
158 if x != nil {
159 return x.SourceEventTime
160 }
161 return nil
162 }
163
164 func (x *Event) GetAppName() string {
165 if x != nil {
166 return x.AppName
167 }
168 return ""
169 }
170
171 func (x *Event) GetAppType() string {
172 if x != nil {
173 return x.AppType
174 }
175 return ""
176 }
177
178 func (x *Event) GetJobName() string {
179 if x != nil {
180 return x.JobName
181 }
182 return ""
183 }
184
185 var File_google_cloud_backupdr_logging_v1_eventlog_proto protoreflect.FileDescriptor
186
187 var file_google_cloud_backupdr_logging_v1_eventlog_proto_rawDesc = []byte{
188 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
189 0x61, 0x63, 0x6b, 0x75, 0x70, 0x64, 0x72, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f,
190 0x76, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
191 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
192 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x64, 0x72, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
193 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
194 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
195 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x99, 0x03, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x39,
196 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
197 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
198 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09,
199 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x72, 0x63,
200 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x72, 0x63, 0x69, 0x64, 0x12,
201 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
202 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73,
203 0x73, 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64,
204 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12,
205 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
206 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a,
207 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20,
208 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64,
209 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x6e, 0x61,
210 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x61,
211 0x6e, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63,
212 0x65, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01,
213 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
214 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f,
215 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12,
216 0x19, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
217 0x09, 0x52, 0x07, 0x61, 0x70, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x70,
218 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x70,
219 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6a, 0x6f, 0x62, 0x5f, 0x6e, 0x61, 0x6d,
220 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6a, 0x6f, 0x62, 0x4e, 0x61, 0x6d, 0x65,
221 0x42, 0x49, 0x5a, 0x47, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
222 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
223 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f,
224 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x64, 0x72, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
225 0x2f, 0x76, 0x31, 0x3b, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f,
226 0x74, 0x6f, 0x33,
227 }
228
229 var (
230 file_google_cloud_backupdr_logging_v1_eventlog_proto_rawDescOnce sync.Once
231 file_google_cloud_backupdr_logging_v1_eventlog_proto_rawDescData = file_google_cloud_backupdr_logging_v1_eventlog_proto_rawDesc
232 )
233
234 func file_google_cloud_backupdr_logging_v1_eventlog_proto_rawDescGZIP() []byte {
235 file_google_cloud_backupdr_logging_v1_eventlog_proto_rawDescOnce.Do(func() {
236 file_google_cloud_backupdr_logging_v1_eventlog_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_backupdr_logging_v1_eventlog_proto_rawDescData)
237 })
238 return file_google_cloud_backupdr_logging_v1_eventlog_proto_rawDescData
239 }
240
241 var file_google_cloud_backupdr_logging_v1_eventlog_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
242 var file_google_cloud_backupdr_logging_v1_eventlog_proto_goTypes = []interface{}{
243 (*Event)(nil),
244 (*timestamppb.Timestamp)(nil),
245 }
246 var file_google_cloud_backupdr_logging_v1_eventlog_proto_depIdxs = []int32{
247 1,
248 1,
249 2,
250 2,
251 2,
252 2,
253 0,
254 }
255
256 func init() { file_google_cloud_backupdr_logging_v1_eventlog_proto_init() }
257 func file_google_cloud_backupdr_logging_v1_eventlog_proto_init() {
258 if File_google_cloud_backupdr_logging_v1_eventlog_proto != nil {
259 return
260 }
261 if !protoimpl.UnsafeEnabled {
262 file_google_cloud_backupdr_logging_v1_eventlog_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
263 switch v := v.(*Event); i {
264 case 0:
265 return &v.state
266 case 1:
267 return &v.sizeCache
268 case 2:
269 return &v.unknownFields
270 default:
271 return nil
272 }
273 }
274 }
275 type x struct{}
276 out := protoimpl.TypeBuilder{
277 File: protoimpl.DescBuilder{
278 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
279 RawDescriptor: file_google_cloud_backupdr_logging_v1_eventlog_proto_rawDesc,
280 NumEnums: 0,
281 NumMessages: 1,
282 NumExtensions: 0,
283 NumServices: 0,
284 },
285 GoTypes: file_google_cloud_backupdr_logging_v1_eventlog_proto_goTypes,
286 DependencyIndexes: file_google_cloud_backupdr_logging_v1_eventlog_proto_depIdxs,
287 MessageInfos: file_google_cloud_backupdr_logging_v1_eventlog_proto_msgTypes,
288 }.Build()
289 File_google_cloud_backupdr_logging_v1_eventlog_proto = out.File
290 file_google_cloud_backupdr_logging_v1_eventlog_proto_rawDesc = nil
291 file_google_cloud_backupdr_logging_v1_eventlog_proto_goTypes = nil
292 file_google_cloud_backupdr_logging_v1_eventlog_proto_depIdxs = nil
293 }
294
View as plain text