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_mib_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 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 23 | type OpenOmciEventType_Types int32 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 24 | |
| 25 | const ( |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 26 | OpenOmciEventType_state_change OpenOmciEventType_Types = 0 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 27 | ) |
| 28 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 29 | var OpenOmciEventType_Types_name = map[int32]string{ |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 30 | 0: "state_change", |
| 31 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 32 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 33 | var OpenOmciEventType_Types_value = map[string]int32{ |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 34 | "state_change": 0, |
| 35 | } |
| 36 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 37 | func (x OpenOmciEventType_Types) String() string { |
| 38 | return proto.EnumName(OpenOmciEventType_Types_name, int32(x)) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 39 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 40 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 41 | func (OpenOmciEventType_Types) EnumDescriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 42 | return fileDescriptor_4fa402a2df36dcc1, []int{6, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 43 | } |
| 44 | |
| 45 | type MibAttributeData 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 *MibAttributeData) Reset() { *m = MibAttributeData{} } |
| 54 | func (m *MibAttributeData) String() string { return proto.CompactTextString(m) } |
| 55 | func (*MibAttributeData) ProtoMessage() {} |
| 56 | func (*MibAttributeData) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 57 | return fileDescriptor_4fa402a2df36dcc1, []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 *MibAttributeData) XXX_Unmarshal(b []byte) error { |
| 61 | return xxx_messageInfo_MibAttributeData.Unmarshal(m, b) |
| 62 | } |
| 63 | func (m *MibAttributeData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 64 | return xxx_messageInfo_MibAttributeData.Marshal(b, m, deterministic) |
| 65 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 66 | func (m *MibAttributeData) XXX_Merge(src proto.Message) { |
| 67 | xxx_messageInfo_MibAttributeData.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 68 | } |
| 69 | func (m *MibAttributeData) XXX_Size() int { |
| 70 | return xxx_messageInfo_MibAttributeData.Size(m) |
| 71 | } |
| 72 | func (m *MibAttributeData) XXX_DiscardUnknown() { |
| 73 | xxx_messageInfo_MibAttributeData.DiscardUnknown(m) |
| 74 | } |
| 75 | |
| 76 | var xxx_messageInfo_MibAttributeData proto.InternalMessageInfo |
| 77 | |
| 78 | func (m *MibAttributeData) GetName() string { |
| 79 | if m != nil { |
| 80 | return m.Name |
| 81 | } |
| 82 | return "" |
| 83 | } |
| 84 | |
| 85 | func (m *MibAttributeData) GetValue() string { |
| 86 | if m != nil { |
| 87 | return m.Value |
| 88 | } |
| 89 | return "" |
| 90 | } |
| 91 | |
| 92 | type MibInstanceData 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 []*MibAttributeData `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 *MibInstanceData) Reset() { *m = MibInstanceData{} } |
| 103 | func (m *MibInstanceData) String() string { return proto.CompactTextString(m) } |
| 104 | func (*MibInstanceData) ProtoMessage() {} |
| 105 | func (*MibInstanceData) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 106 | return fileDescriptor_4fa402a2df36dcc1, []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 *MibInstanceData) XXX_Unmarshal(b []byte) error { |
| 110 | return xxx_messageInfo_MibInstanceData.Unmarshal(m, b) |
| 111 | } |
| 112 | func (m *MibInstanceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 113 | return xxx_messageInfo_MibInstanceData.Marshal(b, m, deterministic) |
| 114 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 115 | func (m *MibInstanceData) XXX_Merge(src proto.Message) { |
| 116 | xxx_messageInfo_MibInstanceData.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 117 | } |
| 118 | func (m *MibInstanceData) XXX_Size() int { |
| 119 | return xxx_messageInfo_MibInstanceData.Size(m) |
| 120 | } |
| 121 | func (m *MibInstanceData) XXX_DiscardUnknown() { |
| 122 | xxx_messageInfo_MibInstanceData.DiscardUnknown(m) |
| 123 | } |
| 124 | |
| 125 | var xxx_messageInfo_MibInstanceData proto.InternalMessageInfo |
| 126 | |
| 127 | func (m *MibInstanceData) GetInstanceId() uint32 { |
| 128 | if m != nil { |
| 129 | return m.InstanceId |
| 130 | } |
| 131 | return 0 |
| 132 | } |
| 133 | |
| 134 | func (m *MibInstanceData) GetCreated() string { |
| 135 | if m != nil { |
| 136 | return m.Created |
| 137 | } |
| 138 | return "" |
| 139 | } |
| 140 | |
| 141 | func (m *MibInstanceData) GetModified() string { |
| 142 | if m != nil { |
| 143 | return m.Modified |
| 144 | } |
| 145 | return "" |
| 146 | } |
| 147 | |
| 148 | func (m *MibInstanceData) GetAttributes() []*MibAttributeData { |
| 149 | if m != nil { |
| 150 | return m.Attributes |
| 151 | } |
| 152 | return nil |
| 153 | } |
| 154 | |
| 155 | type MibClassData struct { |
| 156 | ClassId uint32 `protobuf:"varint,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` |
| 157 | Instances []*MibInstanceData `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 *MibClassData) Reset() { *m = MibClassData{} } |
| 164 | func (m *MibClassData) String() string { return proto.CompactTextString(m) } |
| 165 | func (*MibClassData) ProtoMessage() {} |
| 166 | func (*MibClassData) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 167 | return fileDescriptor_4fa402a2df36dcc1, []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 *MibClassData) XXX_Unmarshal(b []byte) error { |
| 171 | return xxx_messageInfo_MibClassData.Unmarshal(m, b) |
| 172 | } |
| 173 | func (m *MibClassData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 174 | return xxx_messageInfo_MibClassData.Marshal(b, m, deterministic) |
| 175 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 176 | func (m *MibClassData) XXX_Merge(src proto.Message) { |
| 177 | xxx_messageInfo_MibClassData.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 178 | } |
| 179 | func (m *MibClassData) XXX_Size() int { |
| 180 | return xxx_messageInfo_MibClassData.Size(m) |
| 181 | } |
| 182 | func (m *MibClassData) XXX_DiscardUnknown() { |
| 183 | xxx_messageInfo_MibClassData.DiscardUnknown(m) |
| 184 | } |
| 185 | |
| 186 | var xxx_messageInfo_MibClassData proto.InternalMessageInfo |
| 187 | |
| 188 | func (m *MibClassData) GetClassId() uint32 { |
| 189 | if m != nil { |
| 190 | return m.ClassId |
| 191 | } |
| 192 | return 0 |
| 193 | } |
| 194 | |
| 195 | func (m *MibClassData) GetInstances() []*MibInstanceData { |
| 196 | if m != nil { |
| 197 | return m.Instances |
| 198 | } |
| 199 | return nil |
| 200 | } |
| 201 | |
| 202 | type ManagedEntity 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 *ManagedEntity) Reset() { *m = ManagedEntity{} } |
| 211 | func (m *ManagedEntity) String() string { return proto.CompactTextString(m) } |
| 212 | func (*ManagedEntity) ProtoMessage() {} |
| 213 | func (*ManagedEntity) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 214 | return fileDescriptor_4fa402a2df36dcc1, []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 *ManagedEntity) XXX_Unmarshal(b []byte) error { |
| 218 | return xxx_messageInfo_ManagedEntity.Unmarshal(m, b) |
| 219 | } |
| 220 | func (m *ManagedEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 221 | return xxx_messageInfo_ManagedEntity.Marshal(b, m, deterministic) |
| 222 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 223 | func (m *ManagedEntity) XXX_Merge(src proto.Message) { |
| 224 | xxx_messageInfo_ManagedEntity.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 225 | } |
| 226 | func (m *ManagedEntity) XXX_Size() int { |
| 227 | return xxx_messageInfo_ManagedEntity.Size(m) |
| 228 | } |
| 229 | func (m *ManagedEntity) XXX_DiscardUnknown() { |
| 230 | xxx_messageInfo_ManagedEntity.DiscardUnknown(m) |
| 231 | } |
| 232 | |
| 233 | var xxx_messageInfo_ManagedEntity proto.InternalMessageInfo |
| 234 | |
| 235 | func (m *ManagedEntity) GetClassId() uint32 { |
| 236 | if m != nil { |
| 237 | return m.ClassId |
| 238 | } |
| 239 | return 0 |
| 240 | } |
| 241 | |
| 242 | func (m *ManagedEntity) GetName() string { |
| 243 | if m != nil { |
| 244 | return m.Name |
| 245 | } |
| 246 | return "" |
| 247 | } |
| 248 | |
| 249 | type MessageType 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 *MessageType) Reset() { *m = MessageType{} } |
| 257 | func (m *MessageType) String() string { return proto.CompactTextString(m) } |
| 258 | func (*MessageType) ProtoMessage() {} |
| 259 | func (*MessageType) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 260 | return fileDescriptor_4fa402a2df36dcc1, []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 *MessageType) XXX_Unmarshal(b []byte) error { |
| 264 | return xxx_messageInfo_MessageType.Unmarshal(m, b) |
| 265 | } |
| 266 | func (m *MessageType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 267 | return xxx_messageInfo_MessageType.Marshal(b, m, deterministic) |
| 268 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 269 | func (m *MessageType) XXX_Merge(src proto.Message) { |
| 270 | xxx_messageInfo_MessageType.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 271 | } |
| 272 | func (m *MessageType) XXX_Size() int { |
| 273 | return xxx_messageInfo_MessageType.Size(m) |
| 274 | } |
| 275 | func (m *MessageType) XXX_DiscardUnknown() { |
| 276 | xxx_messageInfo_MessageType.DiscardUnknown(m) |
| 277 | } |
| 278 | |
| 279 | var xxx_messageInfo_MessageType proto.InternalMessageInfo |
| 280 | |
| 281 | func (m *MessageType) GetMessageType() uint32 { |
| 282 | if m != nil { |
| 283 | return m.MessageType |
| 284 | } |
| 285 | return 0 |
| 286 | } |
| 287 | |
| 288 | type MibDeviceData 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 | LastSyncTime string `protobuf:"bytes,3,opt,name=last_sync_time,json=lastSyncTime,proto3" json:"last_sync_time,omitempty"` |
| 292 | MibDataSync uint32 `protobuf:"varint,4,opt,name=mib_data_sync,json=mibDataSync,proto3" json:"mib_data_sync,omitempty"` |
| 293 | Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` |
| 294 | Classes []*MibClassData `protobuf:"bytes,6,rep,name=classes,proto3" json:"classes,omitempty"` |
| 295 | ManagedEntities []*ManagedEntity `protobuf:"bytes,7,rep,name=managed_entities,json=managedEntities,proto3" json:"managed_entities,omitempty"` |
| 296 | MessageTypes []*MessageType `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 *MibDeviceData) Reset() { *m = MibDeviceData{} } |
| 303 | func (m *MibDeviceData) String() string { return proto.CompactTextString(m) } |
| 304 | func (*MibDeviceData) ProtoMessage() {} |
| 305 | func (*MibDeviceData) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 306 | return fileDescriptor_4fa402a2df36dcc1, []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 *MibDeviceData) XXX_Unmarshal(b []byte) error { |
| 310 | return xxx_messageInfo_MibDeviceData.Unmarshal(m, b) |
| 311 | } |
| 312 | func (m *MibDeviceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 313 | return xxx_messageInfo_MibDeviceData.Marshal(b, m, deterministic) |
| 314 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 315 | func (m *MibDeviceData) XXX_Merge(src proto.Message) { |
| 316 | xxx_messageInfo_MibDeviceData.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 317 | } |
| 318 | func (m *MibDeviceData) XXX_Size() int { |
| 319 | return xxx_messageInfo_MibDeviceData.Size(m) |
| 320 | } |
| 321 | func (m *MibDeviceData) XXX_DiscardUnknown() { |
| 322 | xxx_messageInfo_MibDeviceData.DiscardUnknown(m) |
| 323 | } |
| 324 | |
| 325 | var xxx_messageInfo_MibDeviceData proto.InternalMessageInfo |
| 326 | |
| 327 | func (m *MibDeviceData) GetDeviceId() string { |
| 328 | if m != nil { |
| 329 | return m.DeviceId |
| 330 | } |
| 331 | return "" |
| 332 | } |
| 333 | |
| 334 | func (m *MibDeviceData) GetCreated() string { |
| 335 | if m != nil { |
| 336 | return m.Created |
| 337 | } |
| 338 | return "" |
| 339 | } |
| 340 | |
| 341 | func (m *MibDeviceData) GetLastSyncTime() string { |
| 342 | if m != nil { |
| 343 | return m.LastSyncTime |
| 344 | } |
| 345 | return "" |
| 346 | } |
| 347 | |
| 348 | func (m *MibDeviceData) GetMibDataSync() uint32 { |
| 349 | if m != nil { |
| 350 | return m.MibDataSync |
| 351 | } |
| 352 | return 0 |
| 353 | } |
| 354 | |
| 355 | func (m *MibDeviceData) GetVersion() uint32 { |
| 356 | if m != nil { |
| 357 | return m.Version |
| 358 | } |
| 359 | return 0 |
| 360 | } |
| 361 | |
| 362 | func (m *MibDeviceData) GetClasses() []*MibClassData { |
| 363 | if m != nil { |
| 364 | return m.Classes |
| 365 | } |
| 366 | return nil |
| 367 | } |
| 368 | |
| 369 | func (m *MibDeviceData) GetManagedEntities() []*ManagedEntity { |
| 370 | if m != nil { |
| 371 | return m.ManagedEntities |
| 372 | } |
| 373 | return nil |
| 374 | } |
| 375 | |
| 376 | func (m *MibDeviceData) GetMessageTypes() []*MessageType { |
| 377 | if m != nil { |
| 378 | return m.MessageTypes |
| 379 | } |
| 380 | return nil |
| 381 | } |
| 382 | |
| 383 | type OpenOmciEventType struct { |
| 384 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 385 | XXX_unrecognized []byte `json:"-"` |
| 386 | XXX_sizecache int32 `json:"-"` |
| 387 | } |
| 388 | |
| 389 | func (m *OpenOmciEventType) Reset() { *m = OpenOmciEventType{} } |
| 390 | func (m *OpenOmciEventType) String() string { return proto.CompactTextString(m) } |
| 391 | func (*OpenOmciEventType) ProtoMessage() {} |
| 392 | func (*OpenOmciEventType) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 393 | return fileDescriptor_4fa402a2df36dcc1, []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 *OpenOmciEventType) XXX_Unmarshal(b []byte) error { |
| 397 | return xxx_messageInfo_OpenOmciEventType.Unmarshal(m, b) |
| 398 | } |
| 399 | func (m *OpenOmciEventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 400 | return xxx_messageInfo_OpenOmciEventType.Marshal(b, m, deterministic) |
| 401 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 402 | func (m *OpenOmciEventType) XXX_Merge(src proto.Message) { |
| 403 | xxx_messageInfo_OpenOmciEventType.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 404 | } |
| 405 | func (m *OpenOmciEventType) XXX_Size() int { |
| 406 | return xxx_messageInfo_OpenOmciEventType.Size(m) |
| 407 | } |
| 408 | func (m *OpenOmciEventType) XXX_DiscardUnknown() { |
| 409 | xxx_messageInfo_OpenOmciEventType.DiscardUnknown(m) |
| 410 | } |
| 411 | |
| 412 | var xxx_messageInfo_OpenOmciEventType proto.InternalMessageInfo |
| 413 | |
| 414 | type OpenOmciEvent struct { |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 415 | Type OpenOmciEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=omci.OpenOmciEventType_Types" json:"type,omitempty"` |
| 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:"-"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 420 | } |
| 421 | |
| 422 | func (m *OpenOmciEvent) Reset() { *m = OpenOmciEvent{} } |
| 423 | func (m *OpenOmciEvent) String() string { return proto.CompactTextString(m) } |
| 424 | func (*OpenOmciEvent) ProtoMessage() {} |
| 425 | func (*OpenOmciEvent) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 426 | return fileDescriptor_4fa402a2df36dcc1, []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 *OpenOmciEvent) XXX_Unmarshal(b []byte) error { |
| 430 | return xxx_messageInfo_OpenOmciEvent.Unmarshal(m, b) |
| 431 | } |
| 432 | func (m *OpenOmciEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 433 | return xxx_messageInfo_OpenOmciEvent.Marshal(b, m, deterministic) |
| 434 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 435 | func (m *OpenOmciEvent) XXX_Merge(src proto.Message) { |
| 436 | xxx_messageInfo_OpenOmciEvent.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 437 | } |
| 438 | func (m *OpenOmciEvent) XXX_Size() int { |
| 439 | return xxx_messageInfo_OpenOmciEvent.Size(m) |
| 440 | } |
| 441 | func (m *OpenOmciEvent) XXX_DiscardUnknown() { |
| 442 | xxx_messageInfo_OpenOmciEvent.DiscardUnknown(m) |
| 443 | } |
| 444 | |
| 445 | var xxx_messageInfo_OpenOmciEvent proto.InternalMessageInfo |
| 446 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 447 | func (m *OpenOmciEvent) GetType() OpenOmciEventType_Types { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 448 | if m != nil { |
| 449 | return m.Type |
| 450 | } |
| 451 | return OpenOmciEventType_state_change |
| 452 | } |
| 453 | |
| 454 | func (m *OpenOmciEvent) GetData() string { |
| 455 | if m != nil { |
| 456 | return m.Data |
| 457 | } |
| 458 | return "" |
| 459 | } |
| 460 | |
| 461 | func init() { |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 462 | proto.RegisterEnum("omci.OpenOmciEventType_Types", OpenOmciEventType_Types_name, OpenOmciEventType_Types_value) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 463 | proto.RegisterType((*MibAttributeData)(nil), "omci.MibAttributeData") |
| 464 | proto.RegisterType((*MibInstanceData)(nil), "omci.MibInstanceData") |
| 465 | proto.RegisterType((*MibClassData)(nil), "omci.MibClassData") |
| 466 | proto.RegisterType((*ManagedEntity)(nil), "omci.ManagedEntity") |
| 467 | proto.RegisterType((*MessageType)(nil), "omci.MessageType") |
| 468 | proto.RegisterType((*MibDeviceData)(nil), "omci.MibDeviceData") |
| 469 | proto.RegisterType((*OpenOmciEventType)(nil), "omci.OpenOmciEventType") |
| 470 | proto.RegisterType((*OpenOmciEvent)(nil), "omci.OpenOmciEvent") |
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_mib_db.proto", fileDescriptor_4fa402a2df36dcc1) } |
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_4fa402a2df36dcc1 = []byte{ |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 476 | // 548 bytes of a gzipped FileDescriptorProto |
| 477 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0x4d, 0x6f, 0xd3, 0x30, |
| 478 | 0x18, 0xc7, 0x69, 0xd7, 0xae, 0xed, 0xd3, 0x66, 0xeb, 0xcc, 0x8b, 0x3c, 0x10, 0xda, 0x88, 0x38, |
| 479 | 0xec, 0x30, 0x52, 0xd8, 0xc4, 0x4e, 0x68, 0x12, 0xb0, 0x49, 0xf4, 0x10, 0x4d, 0x0a, 0x13, 0x07, |
| 480 | 0x0e, 0x44, 0x4e, 0xf2, 0x90, 0x5a, 0xaa, 0xed, 0x2a, 0x76, 0x23, 0xf5, 0xdb, 0xf0, 0x91, 0xf8, |
| 481 | 0x48, 0xc8, 0x4e, 0xd2, 0x06, 0x90, 0x76, 0xcb, 0xff, 0xc9, 0xff, 0x79, 0xfb, 0xd9, 0x86, 0x93, |
| 482 | 0x52, 0x2d, 0xcd, 0x82, 0xc5, 0xab, 0x42, 0x19, 0xa5, 0x67, 0x4a, 0xa4, 0x3c, 0x16, 0x3c, 0x89, |
| 483 | 0xb3, 0x24, 0x70, 0x21, 0xd2, 0xb3, 0x21, 0xff, 0x03, 0x4c, 0x43, 0x9e, 0x7c, 0x34, 0xa6, 0xe0, |
| 484 | 0xc9, 0xda, 0xe0, 0x0d, 0x33, 0x8c, 0x10, 0xe8, 0x49, 0x26, 0x90, 0x76, 0x4e, 0x3b, 0x67, 0xa3, |
| 485 | 0xc8, 0x7d, 0x93, 0x27, 0xd0, 0x2f, 0xd9, 0x72, 0x8d, 0xb4, 0xeb, 0x82, 0x95, 0xf0, 0x7f, 0x75, |
| 486 | 0xe0, 0x30, 0xe4, 0xc9, 0x5c, 0x6a, 0xc3, 0x64, 0x5a, 0x65, 0x9f, 0xc0, 0x98, 0xd7, 0x3a, 0xe6, |
| 487 | 0x99, 0x2b, 0xe2, 0x45, 0xd0, 0x84, 0xe6, 0x19, 0xa1, 0x30, 0x48, 0x0b, 0x64, 0x06, 0xb3, 0xba, |
| 488 | 0x58, 0x23, 0xc9, 0x73, 0x18, 0x0a, 0x95, 0xf1, 0x9f, 0x1c, 0x33, 0xba, 0xe7, 0x7e, 0x6d, 0x35, |
| 489 | 0xb9, 0x02, 0x60, 0xcd, 0x94, 0x9a, 0xf6, 0x4e, 0xf7, 0xce, 0xc6, 0x17, 0xcf, 0x02, 0xbb, 0x43, |
| 490 | 0xf0, 0xef, 0x02, 0x51, 0xcb, 0xe9, 0xff, 0x80, 0x49, 0xc8, 0x93, 0xcf, 0x4b, 0xa6, 0xb5, 0x1b, |
| 491 | 0xef, 0x18, 0x86, 0xa9, 0x15, 0xbb, 0xd9, 0x06, 0x4e, 0xcf, 0x33, 0x72, 0x09, 0xa3, 0x66, 0x4c, |
| 492 | 0x4d, 0xbb, 0xae, 0xc3, 0xd3, 0x6d, 0x87, 0xf6, 0x8e, 0xd1, 0xce, 0xe7, 0x5f, 0x83, 0x17, 0x32, |
| 493 | 0xc9, 0x72, 0xcc, 0x6e, 0xa5, 0xe1, 0x66, 0xf3, 0x50, 0x83, 0x06, 0x6c, 0x77, 0x07, 0xd6, 0x7f, |
| 494 | 0x0b, 0xe3, 0x10, 0xb5, 0x66, 0x39, 0xde, 0x6f, 0x56, 0x48, 0x5e, 0xc1, 0x44, 0x54, 0x32, 0x36, |
| 495 | 0x9b, 0x15, 0xd6, 0x15, 0xc6, 0x62, 0x67, 0xf1, 0x7f, 0x77, 0xc1, 0x0b, 0x79, 0x72, 0x83, 0x25, |
| 496 | 0xaf, 0x91, 0xbf, 0x80, 0x51, 0xe6, 0x54, 0xd3, 0x73, 0x14, 0x0d, 0xab, 0xc0, 0x83, 0xb8, 0x5f, |
| 497 | 0xc3, 0xc1, 0x92, 0x69, 0x13, 0xeb, 0x8d, 0x4c, 0x63, 0xc3, 0x05, 0xd6, 0xd0, 0x27, 0x36, 0xfa, |
| 498 | 0x75, 0x23, 0xd3, 0x7b, 0x2e, 0x90, 0xf8, 0xe0, 0xb9, 0x7b, 0xc3, 0x0c, 0x73, 0x4e, 0xda, 0xab, |
| 499 | 0x47, 0xe2, 0x89, 0x6d, 0x6e, 0x7d, 0xb6, 0x47, 0x89, 0x85, 0xe6, 0x4a, 0xd2, 0x7e, 0xb5, 0x72, |
| 500 | 0x2d, 0xc9, 0x39, 0x54, 0xdb, 0xa3, 0xa6, 0xfb, 0x8e, 0x28, 0xd9, 0x12, 0xdd, 0x9e, 0x49, 0xd4, |
| 501 | 0x58, 0xc8, 0x35, 0x4c, 0x45, 0x05, 0x33, 0x46, 0x4b, 0x93, 0xa3, 0xa6, 0x03, 0x97, 0xf6, 0xb8, |
| 502 | 0x4e, 0x6b, 0xa3, 0x8e, 0x0e, 0x45, 0x4b, 0x72, 0xd4, 0xe4, 0x0a, 0xbc, 0x36, 0x3d, 0x4d, 0x87, |
| 503 | 0x2e, 0xf9, 0xa8, 0x4e, 0xde, 0x41, 0x8c, 0x26, 0x2d, 0xa2, 0xda, 0x0f, 0xe0, 0xe8, 0x6e, 0x85, |
| 504 | 0xf2, 0x4e, 0xa4, 0xfc, 0xb6, 0x44, 0x69, 0x1c, 0xe7, 0x63, 0xe8, 0xbb, 0xbf, 0x64, 0x0a, 0x13, |
| 505 | 0x6d, 0x98, 0xc1, 0x38, 0x5d, 0x30, 0x99, 0xe3, 0xf4, 0x91, 0xff, 0x0d, 0xbc, 0xbf, 0xfc, 0xe4, |
| 506 | 0x1d, 0xf4, 0xb6, 0xc7, 0x75, 0x70, 0xf1, 0xb2, 0xea, 0xf7, 0x5f, 0xc9, 0xc0, 0xd5, 0x8b, 0x9c, |
| 507 | 0xd5, 0x5e, 0x06, 0xcb, 0xb4, 0xb9, 0x0c, 0xf6, 0xfb, 0xd3, 0x17, 0xa0, 0xaa, 0xc8, 0x03, 0xb5, |
| 508 | 0x42, 0x99, 0xaa, 0x22, 0x0b, 0xaa, 0x37, 0xec, 0xaa, 0x7d, 0x3f, 0xcf, 0xb9, 0x59, 0xac, 0x93, |
| 509 | 0x20, 0x55, 0x62, 0xd6, 0x18, 0x66, 0x95, 0xe1, 0x4d, 0xfd, 0xc8, 0xcb, 0xf7, 0xb3, 0x5c, 0xb9, |
| 510 | 0xa7, 0x9e, 0xec, 0xbb, 0xd0, 0xe5, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc6, 0x6b, 0x99, 0x13, |
| 511 | 0x07, 0x04, 0x00, 0x00, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 512 | } |