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