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