| // |
| // Copyright 2018 - present the original author or authors. |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| // |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.36.11 |
| // protoc v4.25.8 |
| // source: voltha_protos/omci_alarm_db.proto |
| |
| package omci |
| |
| import ( |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| reflect "reflect" |
| sync "sync" |
| unsafe "unsafe" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| type AlarmOpenOmciEventType_OpenOmciEventType int32 |
| |
| const ( |
| AlarmOpenOmciEventType_state_change AlarmOpenOmciEventType_OpenOmciEventType = 0 // A state machine has transitioned to a new state |
| ) |
| |
| // Enum value maps for AlarmOpenOmciEventType_OpenOmciEventType. |
| var ( |
| AlarmOpenOmciEventType_OpenOmciEventType_name = map[int32]string{ |
| 0: "state_change", |
| } |
| AlarmOpenOmciEventType_OpenOmciEventType_value = map[string]int32{ |
| "state_change": 0, |
| } |
| ) |
| |
| func (x AlarmOpenOmciEventType_OpenOmciEventType) Enum() *AlarmOpenOmciEventType_OpenOmciEventType { |
| p := new(AlarmOpenOmciEventType_OpenOmciEventType) |
| *p = x |
| return p |
| } |
| |
| func (x AlarmOpenOmciEventType_OpenOmciEventType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (AlarmOpenOmciEventType_OpenOmciEventType) Descriptor() protoreflect.EnumDescriptor { |
| return file_voltha_protos_omci_alarm_db_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (AlarmOpenOmciEventType_OpenOmciEventType) Type() protoreflect.EnumType { |
| return &file_voltha_protos_omci_alarm_db_proto_enumTypes[0] |
| } |
| |
| func (x AlarmOpenOmciEventType_OpenOmciEventType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use AlarmOpenOmciEventType_OpenOmciEventType.Descriptor instead. |
| func (AlarmOpenOmciEventType_OpenOmciEventType) EnumDescriptor() ([]byte, []int) { |
| return file_voltha_protos_omci_alarm_db_proto_rawDescGZIP(), []int{6, 0} |
| } |
| |
| type AlarmAttributeData struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *AlarmAttributeData) Reset() { |
| *x = AlarmAttributeData{} |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *AlarmAttributeData) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AlarmAttributeData) ProtoMessage() {} |
| |
| func (x *AlarmAttributeData) ProtoReflect() protoreflect.Message { |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[0] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use AlarmAttributeData.ProtoReflect.Descriptor instead. |
| func (*AlarmAttributeData) Descriptor() ([]byte, []int) { |
| return file_voltha_protos_omci_alarm_db_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *AlarmAttributeData) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *AlarmAttributeData) GetValue() string { |
| if x != nil { |
| return x.Value |
| } |
| return "" |
| } |
| |
| type AlarmInstanceData struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| InstanceId uint32 `protobuf:"varint,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` |
| Created string `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"` |
| Modified string `protobuf:"bytes,3,opt,name=modified,proto3" json:"modified,omitempty"` |
| Attributes []*AlarmAttributeData `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *AlarmInstanceData) Reset() { |
| *x = AlarmInstanceData{} |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *AlarmInstanceData) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AlarmInstanceData) ProtoMessage() {} |
| |
| func (x *AlarmInstanceData) ProtoReflect() protoreflect.Message { |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[1] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use AlarmInstanceData.ProtoReflect.Descriptor instead. |
| func (*AlarmInstanceData) Descriptor() ([]byte, []int) { |
| return file_voltha_protos_omci_alarm_db_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *AlarmInstanceData) GetInstanceId() uint32 { |
| if x != nil { |
| return x.InstanceId |
| } |
| return 0 |
| } |
| |
| func (x *AlarmInstanceData) GetCreated() string { |
| if x != nil { |
| return x.Created |
| } |
| return "" |
| } |
| |
| func (x *AlarmInstanceData) GetModified() string { |
| if x != nil { |
| return x.Modified |
| } |
| return "" |
| } |
| |
| func (x *AlarmInstanceData) GetAttributes() []*AlarmAttributeData { |
| if x != nil { |
| return x.Attributes |
| } |
| return nil |
| } |
| |
| type AlarmClassData struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| ClassId uint32 `protobuf:"varint,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` |
| Instances []*AlarmInstanceData `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *AlarmClassData) Reset() { |
| *x = AlarmClassData{} |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *AlarmClassData) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AlarmClassData) ProtoMessage() {} |
| |
| func (x *AlarmClassData) ProtoReflect() protoreflect.Message { |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[2] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use AlarmClassData.ProtoReflect.Descriptor instead. |
| func (*AlarmClassData) Descriptor() ([]byte, []int) { |
| return file_voltha_protos_omci_alarm_db_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *AlarmClassData) GetClassId() uint32 { |
| if x != nil { |
| return x.ClassId |
| } |
| return 0 |
| } |
| |
| func (x *AlarmClassData) GetInstances() []*AlarmInstanceData { |
| if x != nil { |
| return x.Instances |
| } |
| return nil |
| } |
| |
| type AlarmManagedEntity struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| ClassId uint32 `protobuf:"varint,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` |
| Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *AlarmManagedEntity) Reset() { |
| *x = AlarmManagedEntity{} |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *AlarmManagedEntity) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AlarmManagedEntity) ProtoMessage() {} |
| |
| func (x *AlarmManagedEntity) ProtoReflect() protoreflect.Message { |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[3] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use AlarmManagedEntity.ProtoReflect.Descriptor instead. |
| func (*AlarmManagedEntity) Descriptor() ([]byte, []int) { |
| return file_voltha_protos_omci_alarm_db_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *AlarmManagedEntity) GetClassId() uint32 { |
| if x != nil { |
| return x.ClassId |
| } |
| return 0 |
| } |
| |
| func (x *AlarmManagedEntity) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| type AlarmMessageType struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| MessageType uint32 `protobuf:"varint,1,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *AlarmMessageType) Reset() { |
| *x = AlarmMessageType{} |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *AlarmMessageType) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AlarmMessageType) ProtoMessage() {} |
| |
| func (x *AlarmMessageType) ProtoReflect() protoreflect.Message { |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[4] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use AlarmMessageType.ProtoReflect.Descriptor instead. |
| func (*AlarmMessageType) Descriptor() ([]byte, []int) { |
| return file_voltha_protos_omci_alarm_db_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (x *AlarmMessageType) GetMessageType() uint32 { |
| if x != nil { |
| return x.MessageType |
| } |
| return 0 |
| } |
| |
| type AlarmDeviceData struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| Created string `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"` |
| LastAlarmSequence uint32 `protobuf:"varint,3,opt,name=last_alarm_sequence,json=lastAlarmSequence,proto3" json:"last_alarm_sequence,omitempty"` |
| LastSyncTime string `protobuf:"bytes,4,opt,name=last_sync_time,json=lastSyncTime,proto3" json:"last_sync_time,omitempty"` |
| Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` |
| Classes []*AlarmClassData `protobuf:"bytes,6,rep,name=classes,proto3" json:"classes,omitempty"` |
| ManagedEntities []*AlarmManagedEntity `protobuf:"bytes,7,rep,name=managed_entities,json=managedEntities,proto3" json:"managed_entities,omitempty"` |
| MessageTypes []*AlarmMessageType `protobuf:"bytes,8,rep,name=message_types,json=messageTypes,proto3" json:"message_types,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *AlarmDeviceData) Reset() { |
| *x = AlarmDeviceData{} |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *AlarmDeviceData) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AlarmDeviceData) ProtoMessage() {} |
| |
| func (x *AlarmDeviceData) ProtoReflect() protoreflect.Message { |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[5] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use AlarmDeviceData.ProtoReflect.Descriptor instead. |
| func (*AlarmDeviceData) Descriptor() ([]byte, []int) { |
| return file_voltha_protos_omci_alarm_db_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *AlarmDeviceData) GetDeviceId() string { |
| if x != nil { |
| return x.DeviceId |
| } |
| return "" |
| } |
| |
| func (x *AlarmDeviceData) GetCreated() string { |
| if x != nil { |
| return x.Created |
| } |
| return "" |
| } |
| |
| func (x *AlarmDeviceData) GetLastAlarmSequence() uint32 { |
| if x != nil { |
| return x.LastAlarmSequence |
| } |
| return 0 |
| } |
| |
| func (x *AlarmDeviceData) GetLastSyncTime() string { |
| if x != nil { |
| return x.LastSyncTime |
| } |
| return "" |
| } |
| |
| func (x *AlarmDeviceData) GetVersion() uint32 { |
| if x != nil { |
| return x.Version |
| } |
| return 0 |
| } |
| |
| func (x *AlarmDeviceData) GetClasses() []*AlarmClassData { |
| if x != nil { |
| return x.Classes |
| } |
| return nil |
| } |
| |
| func (x *AlarmDeviceData) GetManagedEntities() []*AlarmManagedEntity { |
| if x != nil { |
| return x.ManagedEntities |
| } |
| return nil |
| } |
| |
| func (x *AlarmDeviceData) GetMessageTypes() []*AlarmMessageType { |
| if x != nil { |
| return x.MessageTypes |
| } |
| return nil |
| } |
| |
| type AlarmOpenOmciEventType struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *AlarmOpenOmciEventType) Reset() { |
| *x = AlarmOpenOmciEventType{} |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *AlarmOpenOmciEventType) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AlarmOpenOmciEventType) ProtoMessage() {} |
| |
| func (x *AlarmOpenOmciEventType) ProtoReflect() protoreflect.Message { |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[6] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use AlarmOpenOmciEventType.ProtoReflect.Descriptor instead. |
| func (*AlarmOpenOmciEventType) Descriptor() ([]byte, []int) { |
| return file_voltha_protos_omci_alarm_db_proto_rawDescGZIP(), []int{6} |
| } |
| |
| type AlarmOpenOmciEvent struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Type AlarmOpenOmciEventType_OpenOmciEventType `protobuf:"varint,1,opt,name=type,proto3,enum=omci.AlarmOpenOmciEventType_OpenOmciEventType" json:"type,omitempty"` |
| Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // associated data, in json format |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *AlarmOpenOmciEvent) Reset() { |
| *x = AlarmOpenOmciEvent{} |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[7] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *AlarmOpenOmciEvent) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*AlarmOpenOmciEvent) ProtoMessage() {} |
| |
| func (x *AlarmOpenOmciEvent) ProtoReflect() protoreflect.Message { |
| mi := &file_voltha_protos_omci_alarm_db_proto_msgTypes[7] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use AlarmOpenOmciEvent.ProtoReflect.Descriptor instead. |
| func (*AlarmOpenOmciEvent) Descriptor() ([]byte, []int) { |
| return file_voltha_protos_omci_alarm_db_proto_rawDescGZIP(), []int{7} |
| } |
| |
| func (x *AlarmOpenOmciEvent) GetType() AlarmOpenOmciEventType_OpenOmciEventType { |
| if x != nil { |
| return x.Type |
| } |
| return AlarmOpenOmciEventType_state_change |
| } |
| |
| func (x *AlarmOpenOmciEvent) GetData() string { |
| if x != nil { |
| return x.Data |
| } |
| return "" |
| } |
| |
| var File_voltha_protos_omci_alarm_db_proto protoreflect.FileDescriptor |
| |
| const file_voltha_protos_omci_alarm_db_proto_rawDesc = "" + |
| "\n" + |
| "!voltha_protos/omci_alarm_db.proto\x12\x04omci\">\n" + |
| "\x12AlarmAttributeData\x12\x12\n" + |
| "\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" + |
| "\x05value\x18\x02 \x01(\tR\x05value\"\xa4\x01\n" + |
| "\x11AlarmInstanceData\x12\x1f\n" + |
| "\vinstance_id\x18\x01 \x01(\rR\n" + |
| "instanceId\x12\x18\n" + |
| "\acreated\x18\x02 \x01(\tR\acreated\x12\x1a\n" + |
| "\bmodified\x18\x03 \x01(\tR\bmodified\x128\n" + |
| "\n" + |
| "attributes\x18\x04 \x03(\v2\x18.omci.AlarmAttributeDataR\n" + |
| "attributes\"b\n" + |
| "\x0eAlarmClassData\x12\x19\n" + |
| "\bclass_id\x18\x01 \x01(\rR\aclassId\x125\n" + |
| "\tinstances\x18\x02 \x03(\v2\x17.omci.AlarmInstanceDataR\tinstances\"C\n" + |
| "\x12AlarmManagedEntity\x12\x19\n" + |
| "\bclass_id\x18\x01 \x01(\rR\aclassId\x12\x12\n" + |
| "\x04name\x18\x02 \x01(\tR\x04name\"5\n" + |
| "\x10AlarmMessageType\x12!\n" + |
| "\fmessage_type\x18\x01 \x01(\rR\vmessageType\"\xea\x02\n" + |
| "\x0fAlarmDeviceData\x12\x1b\n" + |
| "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x18\n" + |
| "\acreated\x18\x02 \x01(\tR\acreated\x12.\n" + |
| "\x13last_alarm_sequence\x18\x03 \x01(\rR\x11lastAlarmSequence\x12$\n" + |
| "\x0elast_sync_time\x18\x04 \x01(\tR\flastSyncTime\x12\x18\n" + |
| "\aversion\x18\x05 \x01(\rR\aversion\x12.\n" + |
| "\aclasses\x18\x06 \x03(\v2\x14.omci.AlarmClassDataR\aclasses\x12C\n" + |
| "\x10managed_entities\x18\a \x03(\v2\x18.omci.AlarmManagedEntityR\x0fmanagedEntities\x12;\n" + |
| "\rmessage_types\x18\b \x03(\v2\x16.omci.AlarmMessageTypeR\fmessageTypes\"?\n" + |
| "\x16AlarmOpenOmciEventType\"%\n" + |
| "\x11OpenOmciEventType\x12\x10\n" + |
| "\fstate_change\x10\x00\"l\n" + |
| "\x12AlarmOpenOmciEvent\x12B\n" + |
| "\x04type\x18\x01 \x01(\x0e2..omci.AlarmOpenOmciEventType.OpenOmciEventTypeR\x04type\x12\x12\n" + |
| "\x04data\x18\x02 \x01(\tR\x04dataBH\n" + |
| "\x18org.opencord.voltha.omciZ,github.com/opencord/voltha-protos/v5/go/omcib\x06proto3" |
| |
| var ( |
| file_voltha_protos_omci_alarm_db_proto_rawDescOnce sync.Once |
| file_voltha_protos_omci_alarm_db_proto_rawDescData []byte |
| ) |
| |
| func file_voltha_protos_omci_alarm_db_proto_rawDescGZIP() []byte { |
| file_voltha_protos_omci_alarm_db_proto_rawDescOnce.Do(func() { |
| file_voltha_protos_omci_alarm_db_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_voltha_protos_omci_alarm_db_proto_rawDesc), len(file_voltha_protos_omci_alarm_db_proto_rawDesc))) |
| }) |
| return file_voltha_protos_omci_alarm_db_proto_rawDescData |
| } |
| |
| var file_voltha_protos_omci_alarm_db_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| var file_voltha_protos_omci_alarm_db_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| var file_voltha_protos_omci_alarm_db_proto_goTypes = []any{ |
| (AlarmOpenOmciEventType_OpenOmciEventType)(0), // 0: omci.AlarmOpenOmciEventType.OpenOmciEventType |
| (*AlarmAttributeData)(nil), // 1: omci.AlarmAttributeData |
| (*AlarmInstanceData)(nil), // 2: omci.AlarmInstanceData |
| (*AlarmClassData)(nil), // 3: omci.AlarmClassData |
| (*AlarmManagedEntity)(nil), // 4: omci.AlarmManagedEntity |
| (*AlarmMessageType)(nil), // 5: omci.AlarmMessageType |
| (*AlarmDeviceData)(nil), // 6: omci.AlarmDeviceData |
| (*AlarmOpenOmciEventType)(nil), // 7: omci.AlarmOpenOmciEventType |
| (*AlarmOpenOmciEvent)(nil), // 8: omci.AlarmOpenOmciEvent |
| } |
| var file_voltha_protos_omci_alarm_db_proto_depIdxs = []int32{ |
| 1, // 0: omci.AlarmInstanceData.attributes:type_name -> omci.AlarmAttributeData |
| 2, // 1: omci.AlarmClassData.instances:type_name -> omci.AlarmInstanceData |
| 3, // 2: omci.AlarmDeviceData.classes:type_name -> omci.AlarmClassData |
| 4, // 3: omci.AlarmDeviceData.managed_entities:type_name -> omci.AlarmManagedEntity |
| 5, // 4: omci.AlarmDeviceData.message_types:type_name -> omci.AlarmMessageType |
| 0, // 5: omci.AlarmOpenOmciEvent.type:type_name -> omci.AlarmOpenOmciEventType.OpenOmciEventType |
| 6, // [6:6] is the sub-list for method output_type |
| 6, // [6:6] is the sub-list for method input_type |
| 6, // [6:6] is the sub-list for extension type_name |
| 6, // [6:6] is the sub-list for extension extendee |
| 0, // [0:6] is the sub-list for field type_name |
| } |
| |
| func init() { file_voltha_protos_omci_alarm_db_proto_init() } |
| func file_voltha_protos_omci_alarm_db_proto_init() { |
| if File_voltha_protos_omci_alarm_db_proto != nil { |
| return |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: unsafe.Slice(unsafe.StringData(file_voltha_protos_omci_alarm_db_proto_rawDesc), len(file_voltha_protos_omci_alarm_db_proto_rawDesc)), |
| NumEnums: 1, |
| NumMessages: 8, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_voltha_protos_omci_alarm_db_proto_goTypes, |
| DependencyIndexes: file_voltha_protos_omci_alarm_db_proto_depIdxs, |
| EnumInfos: file_voltha_protos_omci_alarm_db_proto_enumTypes, |
| MessageInfos: file_voltha_protos_omci_alarm_db_proto_msgTypes, |
| }.Build() |
| File_voltha_protos_omci_alarm_db_proto = out.File |
| file_voltha_protos_omci_alarm_db_proto_goTypes = nil |
| file_voltha_protos_omci_alarm_db_proto_depIdxs = nil |
| } |