William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: voltha_protos/omci_alarm_db.proto |
| 3 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 4 | package omci |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 5 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 6 | import ( |
| 7 | fmt "fmt" |
| 8 | proto "github.com/golang/protobuf/proto" |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 9 | math "math" |
| 10 | ) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 11 | |
| 12 | // Reference imports to suppress errors if they are not otherwise used. |
| 13 | var _ = proto.Marshal |
| 14 | var _ = fmt.Errorf |
| 15 | var _ = math.Inf |
| 16 | |
| 17 | // This is a compile-time assertion to ensure that this generated file |
| 18 | // is compatible with the proto package it is being compiled against. |
| 19 | // A compilation error at this line likely means your copy of the |
| 20 | // proto package needs to be updated. |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 21 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 22 | |
| 23 | type AlarmOpenOmciEventType_OpenOmciEventType int32 |
| 24 | |
| 25 | const ( |
| 26 | AlarmOpenOmciEventType_state_change AlarmOpenOmciEventType_OpenOmciEventType = 0 |
| 27 | ) |
| 28 | |
| 29 | var AlarmOpenOmciEventType_OpenOmciEventType_name = map[int32]string{ |
| 30 | 0: "state_change", |
| 31 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 32 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 33 | var AlarmOpenOmciEventType_OpenOmciEventType_value = map[string]int32{ |
| 34 | "state_change": 0, |
| 35 | } |
| 36 | |
| 37 | func (x AlarmOpenOmciEventType_OpenOmciEventType) String() string { |
| 38 | return proto.EnumName(AlarmOpenOmciEventType_OpenOmciEventType_name, int32(x)) |
| 39 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 40 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 41 | func (AlarmOpenOmciEventType_OpenOmciEventType) EnumDescriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 42 | return fileDescriptor_8d41f1e38aadb08d, []int{6, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 43 | } |
| 44 | |
| 45 | type AlarmAttributeData struct { |
| 46 | Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 47 | Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| 48 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 49 | XXX_unrecognized []byte `json:"-"` |
| 50 | XXX_sizecache int32 `json:"-"` |
| 51 | } |
| 52 | |
| 53 | func (m *AlarmAttributeData) Reset() { *m = AlarmAttributeData{} } |
| 54 | func (m *AlarmAttributeData) String() string { return proto.CompactTextString(m) } |
| 55 | func (*AlarmAttributeData) ProtoMessage() {} |
| 56 | func (*AlarmAttributeData) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 57 | return fileDescriptor_8d41f1e38aadb08d, []int{0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 58 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 59 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 60 | func (m *AlarmAttributeData) XXX_Unmarshal(b []byte) error { |
| 61 | return xxx_messageInfo_AlarmAttributeData.Unmarshal(m, b) |
| 62 | } |
| 63 | func (m *AlarmAttributeData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 64 | return xxx_messageInfo_AlarmAttributeData.Marshal(b, m, deterministic) |
| 65 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 66 | func (m *AlarmAttributeData) XXX_Merge(src proto.Message) { |
| 67 | xxx_messageInfo_AlarmAttributeData.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 68 | } |
| 69 | func (m *AlarmAttributeData) XXX_Size() int { |
| 70 | return xxx_messageInfo_AlarmAttributeData.Size(m) |
| 71 | } |
| 72 | func (m *AlarmAttributeData) XXX_DiscardUnknown() { |
| 73 | xxx_messageInfo_AlarmAttributeData.DiscardUnknown(m) |
| 74 | } |
| 75 | |
| 76 | var xxx_messageInfo_AlarmAttributeData proto.InternalMessageInfo |
| 77 | |
| 78 | func (m *AlarmAttributeData) GetName() string { |
| 79 | if m != nil { |
| 80 | return m.Name |
| 81 | } |
| 82 | return "" |
| 83 | } |
| 84 | |
| 85 | func (m *AlarmAttributeData) GetValue() string { |
| 86 | if m != nil { |
| 87 | return m.Value |
| 88 | } |
| 89 | return "" |
| 90 | } |
| 91 | |
| 92 | type AlarmInstanceData struct { |
| 93 | InstanceId uint32 `protobuf:"varint,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` |
| 94 | Created string `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"` |
| 95 | Modified string `protobuf:"bytes,3,opt,name=modified,proto3" json:"modified,omitempty"` |
| 96 | Attributes []*AlarmAttributeData `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"` |
| 97 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 98 | XXX_unrecognized []byte `json:"-"` |
| 99 | XXX_sizecache int32 `json:"-"` |
| 100 | } |
| 101 | |
| 102 | func (m *AlarmInstanceData) Reset() { *m = AlarmInstanceData{} } |
| 103 | func (m *AlarmInstanceData) String() string { return proto.CompactTextString(m) } |
| 104 | func (*AlarmInstanceData) ProtoMessage() {} |
| 105 | func (*AlarmInstanceData) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 106 | return fileDescriptor_8d41f1e38aadb08d, []int{1} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 107 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 108 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 109 | func (m *AlarmInstanceData) XXX_Unmarshal(b []byte) error { |
| 110 | return xxx_messageInfo_AlarmInstanceData.Unmarshal(m, b) |
| 111 | } |
| 112 | func (m *AlarmInstanceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 113 | return xxx_messageInfo_AlarmInstanceData.Marshal(b, m, deterministic) |
| 114 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 115 | func (m *AlarmInstanceData) XXX_Merge(src proto.Message) { |
| 116 | xxx_messageInfo_AlarmInstanceData.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 117 | } |
| 118 | func (m *AlarmInstanceData) XXX_Size() int { |
| 119 | return xxx_messageInfo_AlarmInstanceData.Size(m) |
| 120 | } |
| 121 | func (m *AlarmInstanceData) XXX_DiscardUnknown() { |
| 122 | xxx_messageInfo_AlarmInstanceData.DiscardUnknown(m) |
| 123 | } |
| 124 | |
| 125 | var xxx_messageInfo_AlarmInstanceData proto.InternalMessageInfo |
| 126 | |
| 127 | func (m *AlarmInstanceData) GetInstanceId() uint32 { |
| 128 | if m != nil { |
| 129 | return m.InstanceId |
| 130 | } |
| 131 | return 0 |
| 132 | } |
| 133 | |
| 134 | func (m *AlarmInstanceData) GetCreated() string { |
| 135 | if m != nil { |
| 136 | return m.Created |
| 137 | } |
| 138 | return "" |
| 139 | } |
| 140 | |
| 141 | func (m *AlarmInstanceData) GetModified() string { |
| 142 | if m != nil { |
| 143 | return m.Modified |
| 144 | } |
| 145 | return "" |
| 146 | } |
| 147 | |
| 148 | func (m *AlarmInstanceData) GetAttributes() []*AlarmAttributeData { |
| 149 | if m != nil { |
| 150 | return m.Attributes |
| 151 | } |
| 152 | return nil |
| 153 | } |
| 154 | |
| 155 | type AlarmClassData struct { |
| 156 | ClassId uint32 `protobuf:"varint,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` |
| 157 | Instances []*AlarmInstanceData `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"` |
| 158 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 159 | XXX_unrecognized []byte `json:"-"` |
| 160 | XXX_sizecache int32 `json:"-"` |
| 161 | } |
| 162 | |
| 163 | func (m *AlarmClassData) Reset() { *m = AlarmClassData{} } |
| 164 | func (m *AlarmClassData) String() string { return proto.CompactTextString(m) } |
| 165 | func (*AlarmClassData) ProtoMessage() {} |
| 166 | func (*AlarmClassData) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 167 | return fileDescriptor_8d41f1e38aadb08d, []int{2} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 168 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 169 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 170 | func (m *AlarmClassData) XXX_Unmarshal(b []byte) error { |
| 171 | return xxx_messageInfo_AlarmClassData.Unmarshal(m, b) |
| 172 | } |
| 173 | func (m *AlarmClassData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 174 | return xxx_messageInfo_AlarmClassData.Marshal(b, m, deterministic) |
| 175 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 176 | func (m *AlarmClassData) XXX_Merge(src proto.Message) { |
| 177 | xxx_messageInfo_AlarmClassData.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 178 | } |
| 179 | func (m *AlarmClassData) XXX_Size() int { |
| 180 | return xxx_messageInfo_AlarmClassData.Size(m) |
| 181 | } |
| 182 | func (m *AlarmClassData) XXX_DiscardUnknown() { |
| 183 | xxx_messageInfo_AlarmClassData.DiscardUnknown(m) |
| 184 | } |
| 185 | |
| 186 | var xxx_messageInfo_AlarmClassData proto.InternalMessageInfo |
| 187 | |
| 188 | func (m *AlarmClassData) GetClassId() uint32 { |
| 189 | if m != nil { |
| 190 | return m.ClassId |
| 191 | } |
| 192 | return 0 |
| 193 | } |
| 194 | |
| 195 | func (m *AlarmClassData) GetInstances() []*AlarmInstanceData { |
| 196 | if m != nil { |
| 197 | return m.Instances |
| 198 | } |
| 199 | return nil |
| 200 | } |
| 201 | |
| 202 | type AlarmManagedEntity struct { |
| 203 | ClassId uint32 `protobuf:"varint,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` |
| 204 | Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| 205 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 206 | XXX_unrecognized []byte `json:"-"` |
| 207 | XXX_sizecache int32 `json:"-"` |
| 208 | } |
| 209 | |
| 210 | func (m *AlarmManagedEntity) Reset() { *m = AlarmManagedEntity{} } |
| 211 | func (m *AlarmManagedEntity) String() string { return proto.CompactTextString(m) } |
| 212 | func (*AlarmManagedEntity) ProtoMessage() {} |
| 213 | func (*AlarmManagedEntity) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 214 | return fileDescriptor_8d41f1e38aadb08d, []int{3} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 215 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 216 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 217 | func (m *AlarmManagedEntity) XXX_Unmarshal(b []byte) error { |
| 218 | return xxx_messageInfo_AlarmManagedEntity.Unmarshal(m, b) |
| 219 | } |
| 220 | func (m *AlarmManagedEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 221 | return xxx_messageInfo_AlarmManagedEntity.Marshal(b, m, deterministic) |
| 222 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 223 | func (m *AlarmManagedEntity) XXX_Merge(src proto.Message) { |
| 224 | xxx_messageInfo_AlarmManagedEntity.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 225 | } |
| 226 | func (m *AlarmManagedEntity) XXX_Size() int { |
| 227 | return xxx_messageInfo_AlarmManagedEntity.Size(m) |
| 228 | } |
| 229 | func (m *AlarmManagedEntity) XXX_DiscardUnknown() { |
| 230 | xxx_messageInfo_AlarmManagedEntity.DiscardUnknown(m) |
| 231 | } |
| 232 | |
| 233 | var xxx_messageInfo_AlarmManagedEntity proto.InternalMessageInfo |
| 234 | |
| 235 | func (m *AlarmManagedEntity) GetClassId() uint32 { |
| 236 | if m != nil { |
| 237 | return m.ClassId |
| 238 | } |
| 239 | return 0 |
| 240 | } |
| 241 | |
| 242 | func (m *AlarmManagedEntity) GetName() string { |
| 243 | if m != nil { |
| 244 | return m.Name |
| 245 | } |
| 246 | return "" |
| 247 | } |
| 248 | |
| 249 | type AlarmMessageType struct { |
| 250 | MessageType uint32 `protobuf:"varint,1,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"` |
| 251 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 252 | XXX_unrecognized []byte `json:"-"` |
| 253 | XXX_sizecache int32 `json:"-"` |
| 254 | } |
| 255 | |
| 256 | func (m *AlarmMessageType) Reset() { *m = AlarmMessageType{} } |
| 257 | func (m *AlarmMessageType) String() string { return proto.CompactTextString(m) } |
| 258 | func (*AlarmMessageType) ProtoMessage() {} |
| 259 | func (*AlarmMessageType) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 260 | return fileDescriptor_8d41f1e38aadb08d, []int{4} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 261 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 262 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 263 | func (m *AlarmMessageType) XXX_Unmarshal(b []byte) error { |
| 264 | return xxx_messageInfo_AlarmMessageType.Unmarshal(m, b) |
| 265 | } |
| 266 | func (m *AlarmMessageType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 267 | return xxx_messageInfo_AlarmMessageType.Marshal(b, m, deterministic) |
| 268 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 269 | func (m *AlarmMessageType) XXX_Merge(src proto.Message) { |
| 270 | xxx_messageInfo_AlarmMessageType.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 271 | } |
| 272 | func (m *AlarmMessageType) XXX_Size() int { |
| 273 | return xxx_messageInfo_AlarmMessageType.Size(m) |
| 274 | } |
| 275 | func (m *AlarmMessageType) XXX_DiscardUnknown() { |
| 276 | xxx_messageInfo_AlarmMessageType.DiscardUnknown(m) |
| 277 | } |
| 278 | |
| 279 | var xxx_messageInfo_AlarmMessageType proto.InternalMessageInfo |
| 280 | |
| 281 | func (m *AlarmMessageType) GetMessageType() uint32 { |
| 282 | if m != nil { |
| 283 | return m.MessageType |
| 284 | } |
| 285 | return 0 |
| 286 | } |
| 287 | |
| 288 | type AlarmDeviceData struct { |
| 289 | DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 290 | Created string `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"` |
| 291 | LastAlarmSequence uint32 `protobuf:"varint,3,opt,name=last_alarm_sequence,json=lastAlarmSequence,proto3" json:"last_alarm_sequence,omitempty"` |
| 292 | LastSyncTime string `protobuf:"bytes,4,opt,name=last_sync_time,json=lastSyncTime,proto3" json:"last_sync_time,omitempty"` |
| 293 | Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` |
| 294 | Classes []*AlarmClassData `protobuf:"bytes,6,rep,name=classes,proto3" json:"classes,omitempty"` |
| 295 | ManagedEntities []*AlarmManagedEntity `protobuf:"bytes,7,rep,name=managed_entities,json=managedEntities,proto3" json:"managed_entities,omitempty"` |
| 296 | MessageTypes []*AlarmMessageType `protobuf:"bytes,8,rep,name=message_types,json=messageTypes,proto3" json:"message_types,omitempty"` |
| 297 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 298 | XXX_unrecognized []byte `json:"-"` |
| 299 | XXX_sizecache int32 `json:"-"` |
| 300 | } |
| 301 | |
| 302 | func (m *AlarmDeviceData) Reset() { *m = AlarmDeviceData{} } |
| 303 | func (m *AlarmDeviceData) String() string { return proto.CompactTextString(m) } |
| 304 | func (*AlarmDeviceData) ProtoMessage() {} |
| 305 | func (*AlarmDeviceData) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 306 | return fileDescriptor_8d41f1e38aadb08d, []int{5} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 307 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 308 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 309 | func (m *AlarmDeviceData) XXX_Unmarshal(b []byte) error { |
| 310 | return xxx_messageInfo_AlarmDeviceData.Unmarshal(m, b) |
| 311 | } |
| 312 | func (m *AlarmDeviceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 313 | return xxx_messageInfo_AlarmDeviceData.Marshal(b, m, deterministic) |
| 314 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 315 | func (m *AlarmDeviceData) XXX_Merge(src proto.Message) { |
| 316 | xxx_messageInfo_AlarmDeviceData.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 317 | } |
| 318 | func (m *AlarmDeviceData) XXX_Size() int { |
| 319 | return xxx_messageInfo_AlarmDeviceData.Size(m) |
| 320 | } |
| 321 | func (m *AlarmDeviceData) XXX_DiscardUnknown() { |
| 322 | xxx_messageInfo_AlarmDeviceData.DiscardUnknown(m) |
| 323 | } |
| 324 | |
| 325 | var xxx_messageInfo_AlarmDeviceData proto.InternalMessageInfo |
| 326 | |
| 327 | func (m *AlarmDeviceData) GetDeviceId() string { |
| 328 | if m != nil { |
| 329 | return m.DeviceId |
| 330 | } |
| 331 | return "" |
| 332 | } |
| 333 | |
| 334 | func (m *AlarmDeviceData) GetCreated() string { |
| 335 | if m != nil { |
| 336 | return m.Created |
| 337 | } |
| 338 | return "" |
| 339 | } |
| 340 | |
| 341 | func (m *AlarmDeviceData) GetLastAlarmSequence() uint32 { |
| 342 | if m != nil { |
| 343 | return m.LastAlarmSequence |
| 344 | } |
| 345 | return 0 |
| 346 | } |
| 347 | |
| 348 | func (m *AlarmDeviceData) GetLastSyncTime() string { |
| 349 | if m != nil { |
| 350 | return m.LastSyncTime |
| 351 | } |
| 352 | return "" |
| 353 | } |
| 354 | |
| 355 | func (m *AlarmDeviceData) GetVersion() uint32 { |
| 356 | if m != nil { |
| 357 | return m.Version |
| 358 | } |
| 359 | return 0 |
| 360 | } |
| 361 | |
| 362 | func (m *AlarmDeviceData) GetClasses() []*AlarmClassData { |
| 363 | if m != nil { |
| 364 | return m.Classes |
| 365 | } |
| 366 | return nil |
| 367 | } |
| 368 | |
| 369 | func (m *AlarmDeviceData) GetManagedEntities() []*AlarmManagedEntity { |
| 370 | if m != nil { |
| 371 | return m.ManagedEntities |
| 372 | } |
| 373 | return nil |
| 374 | } |
| 375 | |
| 376 | func (m *AlarmDeviceData) GetMessageTypes() []*AlarmMessageType { |
| 377 | if m != nil { |
| 378 | return m.MessageTypes |
| 379 | } |
| 380 | return nil |
| 381 | } |
| 382 | |
| 383 | type AlarmOpenOmciEventType struct { |
| 384 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 385 | XXX_unrecognized []byte `json:"-"` |
| 386 | XXX_sizecache int32 `json:"-"` |
| 387 | } |
| 388 | |
| 389 | func (m *AlarmOpenOmciEventType) Reset() { *m = AlarmOpenOmciEventType{} } |
| 390 | func (m *AlarmOpenOmciEventType) String() string { return proto.CompactTextString(m) } |
| 391 | func (*AlarmOpenOmciEventType) ProtoMessage() {} |
| 392 | func (*AlarmOpenOmciEventType) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 393 | return fileDescriptor_8d41f1e38aadb08d, []int{6} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 394 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 395 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 396 | func (m *AlarmOpenOmciEventType) XXX_Unmarshal(b []byte) error { |
| 397 | return xxx_messageInfo_AlarmOpenOmciEventType.Unmarshal(m, b) |
| 398 | } |
| 399 | func (m *AlarmOpenOmciEventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 400 | return xxx_messageInfo_AlarmOpenOmciEventType.Marshal(b, m, deterministic) |
| 401 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 402 | func (m *AlarmOpenOmciEventType) XXX_Merge(src proto.Message) { |
| 403 | xxx_messageInfo_AlarmOpenOmciEventType.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 404 | } |
| 405 | func (m *AlarmOpenOmciEventType) XXX_Size() int { |
| 406 | return xxx_messageInfo_AlarmOpenOmciEventType.Size(m) |
| 407 | } |
| 408 | func (m *AlarmOpenOmciEventType) XXX_DiscardUnknown() { |
| 409 | xxx_messageInfo_AlarmOpenOmciEventType.DiscardUnknown(m) |
| 410 | } |
| 411 | |
| 412 | var xxx_messageInfo_AlarmOpenOmciEventType proto.InternalMessageInfo |
| 413 | |
| 414 | type AlarmOpenOmciEvent struct { |
William Kurkian | 12fc0af | 2019-04-18 14:27:45 -0400 | [diff] [blame] | 415 | Type AlarmOpenOmciEventType_OpenOmciEventType `protobuf:"varint,1,opt,name=type,proto3,enum=omci.AlarmOpenOmciEventType_OpenOmciEventType" json:"type,omitempty"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 416 | Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` |
| 417 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 418 | XXX_unrecognized []byte `json:"-"` |
| 419 | XXX_sizecache int32 `json:"-"` |
| 420 | } |
| 421 | |
| 422 | func (m *AlarmOpenOmciEvent) Reset() { *m = AlarmOpenOmciEvent{} } |
| 423 | func (m *AlarmOpenOmciEvent) String() string { return proto.CompactTextString(m) } |
| 424 | func (*AlarmOpenOmciEvent) ProtoMessage() {} |
| 425 | func (*AlarmOpenOmciEvent) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 426 | return fileDescriptor_8d41f1e38aadb08d, []int{7} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 427 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 428 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 429 | func (m *AlarmOpenOmciEvent) XXX_Unmarshal(b []byte) error { |
| 430 | return xxx_messageInfo_AlarmOpenOmciEvent.Unmarshal(m, b) |
| 431 | } |
| 432 | func (m *AlarmOpenOmciEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 433 | return xxx_messageInfo_AlarmOpenOmciEvent.Marshal(b, m, deterministic) |
| 434 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 435 | func (m *AlarmOpenOmciEvent) XXX_Merge(src proto.Message) { |
| 436 | xxx_messageInfo_AlarmOpenOmciEvent.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 437 | } |
| 438 | func (m *AlarmOpenOmciEvent) XXX_Size() int { |
| 439 | return xxx_messageInfo_AlarmOpenOmciEvent.Size(m) |
| 440 | } |
| 441 | func (m *AlarmOpenOmciEvent) XXX_DiscardUnknown() { |
| 442 | xxx_messageInfo_AlarmOpenOmciEvent.DiscardUnknown(m) |
| 443 | } |
| 444 | |
| 445 | var xxx_messageInfo_AlarmOpenOmciEvent proto.InternalMessageInfo |
| 446 | |
| 447 | func (m *AlarmOpenOmciEvent) GetType() AlarmOpenOmciEventType_OpenOmciEventType { |
| 448 | if m != nil { |
| 449 | return m.Type |
| 450 | } |
| 451 | return AlarmOpenOmciEventType_state_change |
| 452 | } |
| 453 | |
| 454 | func (m *AlarmOpenOmciEvent) GetData() string { |
| 455 | if m != nil { |
| 456 | return m.Data |
| 457 | } |
| 458 | return "" |
| 459 | } |
| 460 | |
| 461 | func init() { |
William Kurkian | 12fc0af | 2019-04-18 14:27:45 -0400 | [diff] [blame] | 462 | proto.RegisterEnum("omci.AlarmOpenOmciEventType_OpenOmciEventType", AlarmOpenOmciEventType_OpenOmciEventType_name, AlarmOpenOmciEventType_OpenOmciEventType_value) |
| 463 | proto.RegisterType((*AlarmAttributeData)(nil), "omci.AlarmAttributeData") |
| 464 | proto.RegisterType((*AlarmInstanceData)(nil), "omci.AlarmInstanceData") |
| 465 | proto.RegisterType((*AlarmClassData)(nil), "omci.AlarmClassData") |
| 466 | proto.RegisterType((*AlarmManagedEntity)(nil), "omci.AlarmManagedEntity") |
| 467 | proto.RegisterType((*AlarmMessageType)(nil), "omci.AlarmMessageType") |
| 468 | proto.RegisterType((*AlarmDeviceData)(nil), "omci.AlarmDeviceData") |
| 469 | proto.RegisterType((*AlarmOpenOmciEventType)(nil), "omci.AlarmOpenOmciEventType") |
| 470 | proto.RegisterType((*AlarmOpenOmciEvent)(nil), "omci.AlarmOpenOmciEvent") |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 471 | } |
| 472 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 473 | func init() { proto.RegisterFile("voltha_protos/omci_alarm_db.proto", fileDescriptor_8d41f1e38aadb08d) } |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 474 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 475 | var fileDescriptor_8d41f1e38aadb08d = []byte{ |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 476 | // 557 bytes of a gzipped FileDescriptorProto |
| 477 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xc1, 0x6a, 0xdb, 0x40, |
| 478 | 0x10, 0x6d, 0x1c, 0x27, 0xb1, 0x27, 0xb6, 0x63, 0x6f, 0x43, 0xba, 0x6d, 0x0f, 0x4d, 0x44, 0x0b, |
| 479 | 0x39, 0xb4, 0x32, 0xa4, 0x18, 0x0a, 0x85, 0x96, 0xc4, 0x09, 0xd4, 0x87, 0x12, 0x50, 0x72, 0xea, |
| 480 | 0x45, 0xac, 0xa5, 0xa9, 0xbc, 0xa0, 0xdd, 0x75, 0xb5, 0x6b, 0x81, 0xff, 0xa7, 0x5f, 0xd7, 0xaf, |
| 481 | 0x28, 0x1a, 0x49, 0xb6, 0x82, 0x21, 0x37, 0xbd, 0xa7, 0xb7, 0x6f, 0x66, 0xdf, 0x0c, 0x0b, 0x17, |
| 482 | 0xb9, 0x49, 0xdd, 0x42, 0x84, 0xcb, 0xcc, 0x38, 0x63, 0xc7, 0x46, 0x45, 0x32, 0x14, 0xa9, 0xc8, |
| 483 | 0x54, 0x18, 0xcf, 0x7d, 0x22, 0x59, 0xbb, 0x20, 0xbd, 0x6f, 0xc0, 0xae, 0x0b, 0xfe, 0xda, 0xb9, |
| 484 | 0x4c, 0xce, 0x57, 0x0e, 0x6f, 0x85, 0x13, 0x8c, 0x41, 0x5b, 0x0b, 0x85, 0x7c, 0xef, 0x7c, 0xef, |
| 485 | 0xb2, 0x1b, 0xd0, 0x37, 0x3b, 0x85, 0x83, 0x5c, 0xa4, 0x2b, 0xe4, 0x2d, 0x22, 0x4b, 0xe0, 0xfd, |
| 486 | 0xdd, 0x83, 0x11, 0x19, 0xcc, 0xb4, 0x75, 0x42, 0x47, 0xe5, 0xf9, 0x77, 0x70, 0x2c, 0x2b, 0x1c, |
| 487 | 0xca, 0x98, 0x6c, 0xfa, 0x01, 0xd4, 0xd4, 0x2c, 0x66, 0x1c, 0x8e, 0xa2, 0x0c, 0x85, 0xc3, 0xb8, |
| 488 | 0xb2, 0xab, 0x21, 0x7b, 0x03, 0x1d, 0x65, 0x62, 0xf9, 0x5b, 0x62, 0xcc, 0xf7, 0xe9, 0xd7, 0x06, |
| 489 | 0xb3, 0x2f, 0x00, 0xa2, 0xee, 0xd3, 0xf2, 0xf6, 0xf9, 0xfe, 0xe5, 0xf1, 0x15, 0xf7, 0x8b, 0x7b, |
| 490 | 0xf8, 0xbb, 0x97, 0x08, 0x1a, 0x5a, 0x6f, 0x0e, 0x03, 0x52, 0x4c, 0x53, 0x61, 0x2d, 0xb5, 0xf8, |
| 491 | 0x1a, 0x3a, 0x51, 0x01, 0xb6, 0xfd, 0x1d, 0x11, 0x9e, 0xc5, 0x6c, 0x02, 0xdd, 0xba, 0x55, 0xcb, |
| 492 | 0x5b, 0x54, 0xe5, 0x55, 0xa3, 0x4a, 0xf3, 0xa6, 0xc1, 0x56, 0xe9, 0x4d, 0xab, 0x28, 0x7f, 0x0a, |
| 493 | 0x2d, 0x12, 0x8c, 0xef, 0xb4, 0x93, 0x6e, 0xfd, 0x5c, 0x9d, 0x3a, 0xe5, 0xd6, 0x36, 0x65, 0x6f, |
| 494 | 0x02, 0xc3, 0xd2, 0x04, 0xad, 0x15, 0x09, 0x3e, 0xae, 0x97, 0xc8, 0x2e, 0xa0, 0xa7, 0x4a, 0x18, |
| 495 | 0xba, 0xf5, 0x12, 0x2b, 0x9b, 0x63, 0xb5, 0x95, 0x78, 0xff, 0x5a, 0x70, 0x42, 0xe7, 0x6e, 0x31, |
| 496 | 0x97, 0xd5, 0x10, 0xde, 0x42, 0x37, 0x26, 0x54, 0x97, 0xee, 0x06, 0x9d, 0x92, 0x78, 0x76, 0x00, |
| 497 | 0x3e, 0xbc, 0x4c, 0x85, 0x75, 0xd5, 0xba, 0x58, 0xfc, 0xb3, 0x42, 0x1d, 0x21, 0xcd, 0xa2, 0x1f, |
| 498 | 0x8c, 0x8a, 0x5f, 0x54, 0xe8, 0xa1, 0xfa, 0xc1, 0xde, 0xc3, 0x80, 0xf4, 0x76, 0xad, 0xa3, 0xd0, |
| 499 | 0x49, 0x85, 0xbc, 0x4d, 0x86, 0xbd, 0x82, 0x7d, 0x58, 0xeb, 0xe8, 0x51, 0x2a, 0x2c, 0xea, 0xe5, |
| 500 | 0x98, 0x59, 0x69, 0x34, 0x3f, 0x28, 0x53, 0xa8, 0x20, 0xf3, 0xa1, 0x0c, 0x04, 0x2d, 0x3f, 0xa4, |
| 501 | 0xac, 0x4f, 0x1b, 0x59, 0x6f, 0xe6, 0x15, 0xd4, 0x22, 0x36, 0x85, 0xa1, 0x2a, 0x13, 0x0e, 0xb1, |
| 502 | 0x88, 0x58, 0xa2, 0xe5, 0x47, 0x3b, 0xab, 0xf0, 0x64, 0x08, 0xc1, 0x89, 0x6a, 0x40, 0x89, 0x96, |
| 503 | 0x7d, 0x85, 0x7e, 0x33, 0x52, 0xcb, 0x3b, 0xe4, 0x70, 0xd6, 0x74, 0xd8, 0xc6, 0x1b, 0xf4, 0x1a, |
| 504 | 0x59, 0x5b, 0xef, 0x3b, 0x9c, 0x91, 0xe2, 0x7e, 0x89, 0xfa, 0x5e, 0x45, 0xf2, 0x2e, 0x47, 0xed, |
| 505 | 0x68, 0x0c, 0x1f, 0x60, 0xb4, 0x43, 0xb2, 0x21, 0xf4, 0xac, 0x13, 0x0e, 0xc3, 0x68, 0x21, 0x74, |
| 506 | 0x82, 0xc3, 0x17, 0x5e, 0x5a, 0x6d, 0xca, 0x13, 0x2d, 0xbb, 0x81, 0xf6, 0x66, 0xbc, 0x83, 0x2b, |
| 507 | 0xbf, 0xd1, 0xca, 0x8e, 0xa7, 0xbf, 0xc3, 0x04, 0x74, 0xb6, 0x58, 0xa9, 0x58, 0x38, 0x51, 0xaf, |
| 508 | 0x54, 0xf1, 0x7d, 0xf3, 0x03, 0xb8, 0xc9, 0x12, 0xdf, 0x2c, 0x51, 0x47, 0x26, 0x8b, 0xfd, 0xf2, |
| 509 | 0x69, 0x20, 0xfb, 0x5f, 0x1f, 0x13, 0xe9, 0x16, 0xab, 0xb9, 0x1f, 0x19, 0x35, 0xae, 0x05, 0xe3, |
| 510 | 0x52, 0xf0, 0xa9, 0x7a, 0x3b, 0xf2, 0xc9, 0x38, 0x31, 0xf4, 0x82, 0xcc, 0x0f, 0x89, 0xfa, 0xfc, |
| 511 | 0x3f, 0x00, 0x00, 0xff, 0xff, 0x2f, 0xc0, 0x0c, 0x6c, 0x5e, 0x04, 0x00, 0x00, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 512 | } |