| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright 2018 - present the original author or authors. |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 17 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 18 | // versions: |
| 19 | // protoc-gen-go v1.36.11 |
| 20 | // protoc v4.25.8 |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 21 | // source: voltha_protos/omci_mib_db.proto |
| 22 | |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 23 | package omci |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 24 | |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 25 | import ( |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 26 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 27 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 28 | reflect "reflect" |
| 29 | sync "sync" |
| 30 | unsafe "unsafe" |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 31 | ) |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 32 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 33 | const ( |
| 34 | // Verify that this generated code is sufficiently up-to-date. |
| 35 | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 36 | // Verify that runtime/protoimpl is sufficiently up-to-date. |
| 37 | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 38 | ) |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 39 | |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 40 | type OpenOmciEventType_Types int32 |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 41 | |
| 42 | const ( |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 43 | OpenOmciEventType_state_change OpenOmciEventType_Types = 0 // A state machine has transitioned to a new state |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 44 | ) |
| 45 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 46 | // Enum value maps for OpenOmciEventType_Types. |
| 47 | var ( |
| 48 | OpenOmciEventType_Types_name = map[int32]string{ |
| 49 | 0: "state_change", |
| 50 | } |
| 51 | OpenOmciEventType_Types_value = map[string]int32{ |
| 52 | "state_change": 0, |
| 53 | } |
| 54 | ) |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 55 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 56 | func (x OpenOmciEventType_Types) Enum() *OpenOmciEventType_Types { |
| 57 | p := new(OpenOmciEventType_Types) |
| 58 | *p = x |
| 59 | return p |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 60 | } |
| 61 | |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 62 | func (x OpenOmciEventType_Types) String() string { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 63 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 64 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 65 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 66 | func (OpenOmciEventType_Types) Descriptor() protoreflect.EnumDescriptor { |
| 67 | return file_voltha_protos_omci_mib_db_proto_enumTypes[0].Descriptor() |
| 68 | } |
| 69 | |
| 70 | func (OpenOmciEventType_Types) Type() protoreflect.EnumType { |
| 71 | return &file_voltha_protos_omci_mib_db_proto_enumTypes[0] |
| 72 | } |
| 73 | |
| 74 | func (x OpenOmciEventType_Types) Number() protoreflect.EnumNumber { |
| 75 | return protoreflect.EnumNumber(x) |
| 76 | } |
| 77 | |
| 78 | // Deprecated: Use OpenOmciEventType_Types.Descriptor instead. |
| Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 79 | func (OpenOmciEventType_Types) EnumDescriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 80 | return file_voltha_protos_omci_mib_db_proto_rawDescGZIP(), []int{6, 0} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 81 | } |
| 82 | |
| 83 | type MibAttributeData struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 84 | state protoimpl.MessageState `protogen:"open.v1"` |
| 85 | Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 86 | Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| 87 | unknownFields protoimpl.UnknownFields |
| 88 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 89 | } |
| 90 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 91 | func (x *MibAttributeData) Reset() { |
| 92 | *x = MibAttributeData{} |
| 93 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[0] |
| 94 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 95 | ms.StoreMessageInfo(mi) |
| 96 | } |
| 97 | |
| 98 | func (x *MibAttributeData) String() string { |
| 99 | return protoimpl.X.MessageStringOf(x) |
| 100 | } |
| 101 | |
| 102 | func (*MibAttributeData) ProtoMessage() {} |
| 103 | |
| 104 | func (x *MibAttributeData) ProtoReflect() protoreflect.Message { |
| 105 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[0] |
| 106 | if x != nil { |
| 107 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 108 | if ms.LoadMessageInfo() == nil { |
| 109 | ms.StoreMessageInfo(mi) |
| 110 | } |
| 111 | return ms |
| 112 | } |
| 113 | return mi.MessageOf(x) |
| 114 | } |
| 115 | |
| 116 | // Deprecated: Use MibAttributeData.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 117 | func (*MibAttributeData) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 118 | return file_voltha_protos_omci_mib_db_proto_rawDescGZIP(), []int{0} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 119 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 120 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 121 | func (x *MibAttributeData) GetName() string { |
| 122 | if x != nil { |
| 123 | return x.Name |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 124 | } |
| 125 | return "" |
| 126 | } |
| 127 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 128 | func (x *MibAttributeData) GetValue() string { |
| 129 | if x != nil { |
| 130 | return x.Value |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 131 | } |
| 132 | return "" |
| 133 | } |
| 134 | |
| 135 | type MibInstanceData struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 136 | state protoimpl.MessageState `protogen:"open.v1"` |
| 137 | InstanceId uint32 `protobuf:"varint,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` |
| 138 | Created string `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"` |
| 139 | Modified string `protobuf:"bytes,3,opt,name=modified,proto3" json:"modified,omitempty"` |
| 140 | Attributes []*MibAttributeData `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"` |
| 141 | unknownFields protoimpl.UnknownFields |
| 142 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 143 | } |
| 144 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 145 | func (x *MibInstanceData) Reset() { |
| 146 | *x = MibInstanceData{} |
| 147 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[1] |
| 148 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 149 | ms.StoreMessageInfo(mi) |
| 150 | } |
| 151 | |
| 152 | func (x *MibInstanceData) String() string { |
| 153 | return protoimpl.X.MessageStringOf(x) |
| 154 | } |
| 155 | |
| 156 | func (*MibInstanceData) ProtoMessage() {} |
| 157 | |
| 158 | func (x *MibInstanceData) ProtoReflect() protoreflect.Message { |
| 159 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[1] |
| 160 | if x != nil { |
| 161 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 162 | if ms.LoadMessageInfo() == nil { |
| 163 | ms.StoreMessageInfo(mi) |
| 164 | } |
| 165 | return ms |
| 166 | } |
| 167 | return mi.MessageOf(x) |
| 168 | } |
| 169 | |
| 170 | // Deprecated: Use MibInstanceData.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 171 | func (*MibInstanceData) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 172 | return file_voltha_protos_omci_mib_db_proto_rawDescGZIP(), []int{1} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 173 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 174 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 175 | func (x *MibInstanceData) GetInstanceId() uint32 { |
| 176 | if x != nil { |
| 177 | return x.InstanceId |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 178 | } |
| 179 | return 0 |
| 180 | } |
| 181 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 182 | func (x *MibInstanceData) GetCreated() string { |
| 183 | if x != nil { |
| 184 | return x.Created |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 185 | } |
| 186 | return "" |
| 187 | } |
| 188 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 189 | func (x *MibInstanceData) GetModified() string { |
| 190 | if x != nil { |
| 191 | return x.Modified |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 192 | } |
| 193 | return "" |
| 194 | } |
| 195 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 196 | func (x *MibInstanceData) GetAttributes() []*MibAttributeData { |
| 197 | if x != nil { |
| 198 | return x.Attributes |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 199 | } |
| 200 | return nil |
| 201 | } |
| 202 | |
| 203 | type MibClassData struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 204 | state protoimpl.MessageState `protogen:"open.v1"` |
| 205 | ClassId uint32 `protobuf:"varint,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` |
| 206 | Instances []*MibInstanceData `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"` |
| 207 | unknownFields protoimpl.UnknownFields |
| 208 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 209 | } |
| 210 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 211 | func (x *MibClassData) Reset() { |
| 212 | *x = MibClassData{} |
| 213 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[2] |
| 214 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 215 | ms.StoreMessageInfo(mi) |
| 216 | } |
| 217 | |
| 218 | func (x *MibClassData) String() string { |
| 219 | return protoimpl.X.MessageStringOf(x) |
| 220 | } |
| 221 | |
| 222 | func (*MibClassData) ProtoMessage() {} |
| 223 | |
| 224 | func (x *MibClassData) ProtoReflect() protoreflect.Message { |
| 225 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[2] |
| 226 | if x != nil { |
| 227 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 228 | if ms.LoadMessageInfo() == nil { |
| 229 | ms.StoreMessageInfo(mi) |
| 230 | } |
| 231 | return ms |
| 232 | } |
| 233 | return mi.MessageOf(x) |
| 234 | } |
| 235 | |
| 236 | // Deprecated: Use MibClassData.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 237 | func (*MibClassData) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 238 | return file_voltha_protos_omci_mib_db_proto_rawDescGZIP(), []int{2} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 239 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 240 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 241 | func (x *MibClassData) GetClassId() uint32 { |
| 242 | if x != nil { |
| 243 | return x.ClassId |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 244 | } |
| 245 | return 0 |
| 246 | } |
| 247 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 248 | func (x *MibClassData) GetInstances() []*MibInstanceData { |
| 249 | if x != nil { |
| 250 | return x.Instances |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 251 | } |
| 252 | return nil |
| 253 | } |
| 254 | |
| 255 | type ManagedEntity struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 256 | state protoimpl.MessageState `protogen:"open.v1"` |
| 257 | ClassId uint32 `protobuf:"varint,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"` |
| 258 | Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| 259 | unknownFields protoimpl.UnknownFields |
| 260 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 261 | } |
| 262 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 263 | func (x *ManagedEntity) Reset() { |
| 264 | *x = ManagedEntity{} |
| 265 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[3] |
| 266 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 267 | ms.StoreMessageInfo(mi) |
| 268 | } |
| 269 | |
| 270 | func (x *ManagedEntity) String() string { |
| 271 | return protoimpl.X.MessageStringOf(x) |
| 272 | } |
| 273 | |
| 274 | func (*ManagedEntity) ProtoMessage() {} |
| 275 | |
| 276 | func (x *ManagedEntity) ProtoReflect() protoreflect.Message { |
| 277 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[3] |
| 278 | if x != nil { |
| 279 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 280 | if ms.LoadMessageInfo() == nil { |
| 281 | ms.StoreMessageInfo(mi) |
| 282 | } |
| 283 | return ms |
| 284 | } |
| 285 | return mi.MessageOf(x) |
| 286 | } |
| 287 | |
| 288 | // Deprecated: Use ManagedEntity.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 289 | func (*ManagedEntity) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 290 | return file_voltha_protos_omci_mib_db_proto_rawDescGZIP(), []int{3} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 291 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 292 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 293 | func (x *ManagedEntity) GetClassId() uint32 { |
| 294 | if x != nil { |
| 295 | return x.ClassId |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 296 | } |
| 297 | return 0 |
| 298 | } |
| 299 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 300 | func (x *ManagedEntity) GetName() string { |
| 301 | if x != nil { |
| 302 | return x.Name |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 303 | } |
| 304 | return "" |
| 305 | } |
| 306 | |
| 307 | type MessageType struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 308 | state protoimpl.MessageState `protogen:"open.v1"` |
| 309 | MessageType uint32 `protobuf:"varint,1,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"` |
| 310 | unknownFields protoimpl.UnknownFields |
| 311 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 312 | } |
| 313 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 314 | func (x *MessageType) Reset() { |
| 315 | *x = MessageType{} |
| 316 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[4] |
| 317 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 318 | ms.StoreMessageInfo(mi) |
| 319 | } |
| 320 | |
| 321 | func (x *MessageType) String() string { |
| 322 | return protoimpl.X.MessageStringOf(x) |
| 323 | } |
| 324 | |
| 325 | func (*MessageType) ProtoMessage() {} |
| 326 | |
| 327 | func (x *MessageType) ProtoReflect() protoreflect.Message { |
| 328 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[4] |
| 329 | if x != nil { |
| 330 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 331 | if ms.LoadMessageInfo() == nil { |
| 332 | ms.StoreMessageInfo(mi) |
| 333 | } |
| 334 | return ms |
| 335 | } |
| 336 | return mi.MessageOf(x) |
| 337 | } |
| 338 | |
| 339 | // Deprecated: Use MessageType.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 340 | func (*MessageType) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 341 | return file_voltha_protos_omci_mib_db_proto_rawDescGZIP(), []int{4} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 342 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 343 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 344 | func (x *MessageType) GetMessageType() uint32 { |
| 345 | if x != nil { |
| 346 | return x.MessageType |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 347 | } |
| 348 | return 0 |
| 349 | } |
| 350 | |
| 351 | type MibDeviceData struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 352 | state protoimpl.MessageState `protogen:"open.v1"` |
| 353 | DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 354 | Created string `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"` |
| 355 | LastSyncTime string `protobuf:"bytes,3,opt,name=last_sync_time,json=lastSyncTime,proto3" json:"last_sync_time,omitempty"` |
| 356 | MibDataSync uint32 `protobuf:"varint,4,opt,name=mib_data_sync,json=mibDataSync,proto3" json:"mib_data_sync,omitempty"` |
| 357 | Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` |
| 358 | Classes []*MibClassData `protobuf:"bytes,6,rep,name=classes,proto3" json:"classes,omitempty"` |
| 359 | ManagedEntities []*ManagedEntity `protobuf:"bytes,7,rep,name=managed_entities,json=managedEntities,proto3" json:"managed_entities,omitempty"` |
| 360 | MessageTypes []*MessageType `protobuf:"bytes,8,rep,name=message_types,json=messageTypes,proto3" json:"message_types,omitempty"` |
| 361 | unknownFields protoimpl.UnknownFields |
| 362 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 363 | } |
| 364 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 365 | func (x *MibDeviceData) Reset() { |
| 366 | *x = MibDeviceData{} |
| 367 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[5] |
| 368 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 369 | ms.StoreMessageInfo(mi) |
| 370 | } |
| 371 | |
| 372 | func (x *MibDeviceData) String() string { |
| 373 | return protoimpl.X.MessageStringOf(x) |
| 374 | } |
| 375 | |
| 376 | func (*MibDeviceData) ProtoMessage() {} |
| 377 | |
| 378 | func (x *MibDeviceData) ProtoReflect() protoreflect.Message { |
| 379 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[5] |
| 380 | if x != nil { |
| 381 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 382 | if ms.LoadMessageInfo() == nil { |
| 383 | ms.StoreMessageInfo(mi) |
| 384 | } |
| 385 | return ms |
| 386 | } |
| 387 | return mi.MessageOf(x) |
| 388 | } |
| 389 | |
| 390 | // Deprecated: Use MibDeviceData.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 391 | func (*MibDeviceData) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 392 | return file_voltha_protos_omci_mib_db_proto_rawDescGZIP(), []int{5} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 393 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 394 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 395 | func (x *MibDeviceData) GetDeviceId() string { |
| 396 | if x != nil { |
| 397 | return x.DeviceId |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 398 | } |
| 399 | return "" |
| 400 | } |
| 401 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 402 | func (x *MibDeviceData) GetCreated() string { |
| 403 | if x != nil { |
| 404 | return x.Created |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 405 | } |
| 406 | return "" |
| 407 | } |
| 408 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 409 | func (x *MibDeviceData) GetLastSyncTime() string { |
| 410 | if x != nil { |
| 411 | return x.LastSyncTime |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 412 | } |
| 413 | return "" |
| 414 | } |
| 415 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 416 | func (x *MibDeviceData) GetMibDataSync() uint32 { |
| 417 | if x != nil { |
| 418 | return x.MibDataSync |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 419 | } |
| 420 | return 0 |
| 421 | } |
| 422 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 423 | func (x *MibDeviceData) GetVersion() uint32 { |
| 424 | if x != nil { |
| 425 | return x.Version |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 426 | } |
| 427 | return 0 |
| 428 | } |
| 429 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 430 | func (x *MibDeviceData) GetClasses() []*MibClassData { |
| 431 | if x != nil { |
| 432 | return x.Classes |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 433 | } |
| 434 | return nil |
| 435 | } |
| 436 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 437 | func (x *MibDeviceData) GetManagedEntities() []*ManagedEntity { |
| 438 | if x != nil { |
| 439 | return x.ManagedEntities |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 440 | } |
| 441 | return nil |
| 442 | } |
| 443 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 444 | func (x *MibDeviceData) GetMessageTypes() []*MessageType { |
| 445 | if x != nil { |
| 446 | return x.MessageTypes |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 447 | } |
| 448 | return nil |
| 449 | } |
| 450 | |
| 451 | type OpenOmciEventType struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 452 | state protoimpl.MessageState `protogen:"open.v1"` |
| 453 | unknownFields protoimpl.UnknownFields |
| 454 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 455 | } |
| 456 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 457 | func (x *OpenOmciEventType) Reset() { |
| 458 | *x = OpenOmciEventType{} |
| 459 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[6] |
| 460 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 461 | ms.StoreMessageInfo(mi) |
| 462 | } |
| 463 | |
| 464 | func (x *OpenOmciEventType) String() string { |
| 465 | return protoimpl.X.MessageStringOf(x) |
| 466 | } |
| 467 | |
| 468 | func (*OpenOmciEventType) ProtoMessage() {} |
| 469 | |
| 470 | func (x *OpenOmciEventType) ProtoReflect() protoreflect.Message { |
| 471 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[6] |
| 472 | if x != nil { |
| 473 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 474 | if ms.LoadMessageInfo() == nil { |
| 475 | ms.StoreMessageInfo(mi) |
| 476 | } |
| 477 | return ms |
| 478 | } |
| 479 | return mi.MessageOf(x) |
| 480 | } |
| 481 | |
| 482 | // Deprecated: Use OpenOmciEventType.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 483 | func (*OpenOmciEventType) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 484 | return file_voltha_protos_omci_mib_db_proto_rawDescGZIP(), []int{6} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 485 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 486 | |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 487 | type OpenOmciEvent struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 488 | state protoimpl.MessageState `protogen:"open.v1"` |
| 489 | Type OpenOmciEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=omci.OpenOmciEventType_Types" json:"type,omitempty"` |
| 490 | Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // associated data, in json format |
| 491 | unknownFields protoimpl.UnknownFields |
| 492 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 493 | } |
| 494 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 495 | func (x *OpenOmciEvent) Reset() { |
| 496 | *x = OpenOmciEvent{} |
| 497 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[7] |
| 498 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 499 | ms.StoreMessageInfo(mi) |
| 500 | } |
| 501 | |
| 502 | func (x *OpenOmciEvent) String() string { |
| 503 | return protoimpl.X.MessageStringOf(x) |
| 504 | } |
| 505 | |
| 506 | func (*OpenOmciEvent) ProtoMessage() {} |
| 507 | |
| 508 | func (x *OpenOmciEvent) ProtoReflect() protoreflect.Message { |
| 509 | mi := &file_voltha_protos_omci_mib_db_proto_msgTypes[7] |
| 510 | if x != nil { |
| 511 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 512 | if ms.LoadMessageInfo() == nil { |
| 513 | ms.StoreMessageInfo(mi) |
| 514 | } |
| 515 | return ms |
| 516 | } |
| 517 | return mi.MessageOf(x) |
| 518 | } |
| 519 | |
| 520 | // Deprecated: Use OpenOmciEvent.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 521 | func (*OpenOmciEvent) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 522 | return file_voltha_protos_omci_mib_db_proto_rawDescGZIP(), []int{7} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 523 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 524 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 525 | func (x *OpenOmciEvent) GetType() OpenOmciEventType_Types { |
| 526 | if x != nil { |
| 527 | return x.Type |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 528 | } |
| 529 | return OpenOmciEventType_state_change |
| 530 | } |
| 531 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 532 | func (x *OpenOmciEvent) GetData() string { |
| 533 | if x != nil { |
| 534 | return x.Data |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 535 | } |
| 536 | return "" |
| 537 | } |
| 538 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 539 | var File_voltha_protos_omci_mib_db_proto protoreflect.FileDescriptor |
| 540 | |
| 541 | const file_voltha_protos_omci_mib_db_proto_rawDesc = "" + |
| 542 | "\n" + |
| 543 | "\x1fvoltha_protos/omci_mib_db.proto\x12\x04omci\"<\n" + |
| 544 | "\x10MibAttributeData\x12\x12\n" + |
| 545 | "\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" + |
| 546 | "\x05value\x18\x02 \x01(\tR\x05value\"\xa0\x01\n" + |
| 547 | "\x0fMibInstanceData\x12\x1f\n" + |
| 548 | "\vinstance_id\x18\x01 \x01(\rR\n" + |
| 549 | "instanceId\x12\x18\n" + |
| 550 | "\acreated\x18\x02 \x01(\tR\acreated\x12\x1a\n" + |
| 551 | "\bmodified\x18\x03 \x01(\tR\bmodified\x126\n" + |
| 552 | "\n" + |
| 553 | "attributes\x18\x04 \x03(\v2\x16.omci.MibAttributeDataR\n" + |
| 554 | "attributes\"^\n" + |
| 555 | "\fMibClassData\x12\x19\n" + |
| 556 | "\bclass_id\x18\x01 \x01(\rR\aclassId\x123\n" + |
| 557 | "\tinstances\x18\x02 \x03(\v2\x15.omci.MibInstanceDataR\tinstances\">\n" + |
| 558 | "\rManagedEntity\x12\x19\n" + |
| 559 | "\bclass_id\x18\x01 \x01(\rR\aclassId\x12\x12\n" + |
| 560 | "\x04name\x18\x02 \x01(\tR\x04name\"0\n" + |
| 561 | "\vMessageType\x12!\n" + |
| 562 | "\fmessage_type\x18\x01 \x01(\rR\vmessageType\"\xd0\x02\n" + |
| 563 | "\rMibDeviceData\x12\x1b\n" + |
| 564 | "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x18\n" + |
| 565 | "\acreated\x18\x02 \x01(\tR\acreated\x12$\n" + |
| 566 | "\x0elast_sync_time\x18\x03 \x01(\tR\flastSyncTime\x12\"\n" + |
| 567 | "\rmib_data_sync\x18\x04 \x01(\rR\vmibDataSync\x12\x18\n" + |
| 568 | "\aversion\x18\x05 \x01(\rR\aversion\x12,\n" + |
| 569 | "\aclasses\x18\x06 \x03(\v2\x12.omci.MibClassDataR\aclasses\x12>\n" + |
| 570 | "\x10managed_entities\x18\a \x03(\v2\x13.omci.ManagedEntityR\x0fmanagedEntities\x126\n" + |
| 571 | "\rmessage_types\x18\b \x03(\v2\x11.omci.MessageTypeR\fmessageTypes\".\n" + |
| 572 | "\x11OpenOmciEventType\"\x19\n" + |
| 573 | "\x05Types\x12\x10\n" + |
| 574 | "\fstate_change\x10\x00\"V\n" + |
| 575 | "\rOpenOmciEvent\x121\n" + |
| 576 | "\x04type\x18\x01 \x01(\x0e2\x1d.omci.OpenOmciEventType.TypesR\x04type\x12\x12\n" + |
| 577 | "\x04data\x18\x02 \x01(\tR\x04dataBH\n" + |
| 578 | "\x18org.opencord.voltha.omciZ,github.com/opencord/voltha-protos/v5/go/omcib\x06proto3" |
| 579 | |
| 580 | var ( |
| 581 | file_voltha_protos_omci_mib_db_proto_rawDescOnce sync.Once |
| 582 | file_voltha_protos_omci_mib_db_proto_rawDescData []byte |
| 583 | ) |
| 584 | |
| 585 | func file_voltha_protos_omci_mib_db_proto_rawDescGZIP() []byte { |
| 586 | file_voltha_protos_omci_mib_db_proto_rawDescOnce.Do(func() { |
| 587 | file_voltha_protos_omci_mib_db_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_voltha_protos_omci_mib_db_proto_rawDesc), len(file_voltha_protos_omci_mib_db_proto_rawDesc))) |
| 588 | }) |
| 589 | return file_voltha_protos_omci_mib_db_proto_rawDescData |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 590 | } |
| 591 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 592 | var file_voltha_protos_omci_mib_db_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 593 | var file_voltha_protos_omci_mib_db_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| 594 | var file_voltha_protos_omci_mib_db_proto_goTypes = []any{ |
| 595 | (OpenOmciEventType_Types)(0), // 0: omci.OpenOmciEventType.Types |
| 596 | (*MibAttributeData)(nil), // 1: omci.MibAttributeData |
| 597 | (*MibInstanceData)(nil), // 2: omci.MibInstanceData |
| 598 | (*MibClassData)(nil), // 3: omci.MibClassData |
| 599 | (*ManagedEntity)(nil), // 4: omci.ManagedEntity |
| 600 | (*MessageType)(nil), // 5: omci.MessageType |
| 601 | (*MibDeviceData)(nil), // 6: omci.MibDeviceData |
| 602 | (*OpenOmciEventType)(nil), // 7: omci.OpenOmciEventType |
| 603 | (*OpenOmciEvent)(nil), // 8: omci.OpenOmciEvent |
| 604 | } |
| 605 | var file_voltha_protos_omci_mib_db_proto_depIdxs = []int32{ |
| 606 | 1, // 0: omci.MibInstanceData.attributes:type_name -> omci.MibAttributeData |
| 607 | 2, // 1: omci.MibClassData.instances:type_name -> omci.MibInstanceData |
| 608 | 3, // 2: omci.MibDeviceData.classes:type_name -> omci.MibClassData |
| 609 | 4, // 3: omci.MibDeviceData.managed_entities:type_name -> omci.ManagedEntity |
| 610 | 5, // 4: omci.MibDeviceData.message_types:type_name -> omci.MessageType |
| 611 | 0, // 5: omci.OpenOmciEvent.type:type_name -> omci.OpenOmciEventType.Types |
| 612 | 6, // [6:6] is the sub-list for method output_type |
| 613 | 6, // [6:6] is the sub-list for method input_type |
| 614 | 6, // [6:6] is the sub-list for extension type_name |
| 615 | 6, // [6:6] is the sub-list for extension extendee |
| 616 | 0, // [0:6] is the sub-list for field type_name |
| 617 | } |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 618 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame] | 619 | func init() { file_voltha_protos_omci_mib_db_proto_init() } |
| 620 | func file_voltha_protos_omci_mib_db_proto_init() { |
| 621 | if File_voltha_protos_omci_mib_db_proto != nil { |
| 622 | return |
| 623 | } |
| 624 | type x struct{} |
| 625 | out := protoimpl.TypeBuilder{ |
| 626 | File: protoimpl.DescBuilder{ |
| 627 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 628 | RawDescriptor: unsafe.Slice(unsafe.StringData(file_voltha_protos_omci_mib_db_proto_rawDesc), len(file_voltha_protos_omci_mib_db_proto_rawDesc)), |
| 629 | NumEnums: 1, |
| 630 | NumMessages: 8, |
| 631 | NumExtensions: 0, |
| 632 | NumServices: 0, |
| 633 | }, |
| 634 | GoTypes: file_voltha_protos_omci_mib_db_proto_goTypes, |
| 635 | DependencyIndexes: file_voltha_protos_omci_mib_db_proto_depIdxs, |
| 636 | EnumInfos: file_voltha_protos_omci_mib_db_proto_enumTypes, |
| 637 | MessageInfos: file_voltha_protos_omci_mib_db_proto_msgTypes, |
| 638 | }.Build() |
| 639 | File_voltha_protos_omci_mib_db_proto = out.File |
| 640 | file_voltha_protos_omci_mib_db_proto_goTypes = nil |
| 641 | file_voltha_protos_omci_mib_db_proto_depIdxs = nil |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 642 | } |