khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: voltha_protos/inter_adapter.proto |
| 3 | |
| 4 | package inter_adapter |
| 5 | |
| 6 | import ( |
| 7 | fmt "fmt" |
| 8 | proto "github.com/golang/protobuf/proto" |
| 9 | common "github.com/opencord/voltha-protos/v5/go/common" |
| 10 | openolt "github.com/opencord/voltha-protos/v5/go/openolt" |
| 11 | tech_profile "github.com/opencord/voltha-protos/v5/go/tech_profile" |
| 12 | voltha "github.com/opencord/voltha-protos/v5/go/voltha" |
| 13 | math "math" |
| 14 | ) |
| 15 | |
| 16 | // Reference imports to suppress errors if they are not otherwise used. |
| 17 | var _ = proto.Marshal |
| 18 | var _ = fmt.Errorf |
| 19 | var _ = math.Inf |
| 20 | |
| 21 | // This is a compile-time assertion to ensure that this generated file |
| 22 | // is compatible with the proto package it is being compiled against. |
| 23 | // A compilation error at this line likely means your copy of the |
| 24 | // proto package needs to be updated. |
| 25 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 26 | |
| 27 | type OmciMessage struct { |
| 28 | Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` |
| 29 | ConnectStatus common.ConnectStatus_Types `protobuf:"varint,2,opt,name=connect_status,json=connectStatus,proto3,enum=common.ConnectStatus_Types" json:"connect_status,omitempty"` |
| 30 | ProxyAddress *voltha.Device_ProxyAddress `protobuf:"bytes,3,opt,name=proxy_address,json=proxyAddress,proto3" json:"proxy_address,omitempty"` |
| 31 | ParentDeviceId string `protobuf:"bytes,4,opt,name=parent_device_id,json=parentDeviceId,proto3" json:"parent_device_id,omitempty"` |
| 32 | ChildDeviceId string `protobuf:"bytes,5,opt,name=child_device_id,json=childDeviceId,proto3" json:"child_device_id,omitempty"` |
| 33 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 34 | XXX_unrecognized []byte `json:"-"` |
| 35 | XXX_sizecache int32 `json:"-"` |
| 36 | } |
| 37 | |
| 38 | func (m *OmciMessage) Reset() { *m = OmciMessage{} } |
| 39 | func (m *OmciMessage) String() string { return proto.CompactTextString(m) } |
| 40 | func (*OmciMessage) ProtoMessage() {} |
| 41 | func (*OmciMessage) Descriptor() ([]byte, []int) { |
| 42 | return fileDescriptor_a316e60f0a1fb837, []int{0} |
| 43 | } |
| 44 | |
| 45 | func (m *OmciMessage) XXX_Unmarshal(b []byte) error { |
| 46 | return xxx_messageInfo_OmciMessage.Unmarshal(m, b) |
| 47 | } |
| 48 | func (m *OmciMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 49 | return xxx_messageInfo_OmciMessage.Marshal(b, m, deterministic) |
| 50 | } |
| 51 | func (m *OmciMessage) XXX_Merge(src proto.Message) { |
| 52 | xxx_messageInfo_OmciMessage.Merge(m, src) |
| 53 | } |
| 54 | func (m *OmciMessage) XXX_Size() int { |
| 55 | return xxx_messageInfo_OmciMessage.Size(m) |
| 56 | } |
| 57 | func (m *OmciMessage) XXX_DiscardUnknown() { |
| 58 | xxx_messageInfo_OmciMessage.DiscardUnknown(m) |
| 59 | } |
| 60 | |
| 61 | var xxx_messageInfo_OmciMessage proto.InternalMessageInfo |
| 62 | |
| 63 | func (m *OmciMessage) GetMessage() []byte { |
| 64 | if m != nil { |
| 65 | return m.Message |
| 66 | } |
| 67 | return nil |
| 68 | } |
| 69 | |
| 70 | func (m *OmciMessage) GetConnectStatus() common.ConnectStatus_Types { |
| 71 | if m != nil { |
| 72 | return m.ConnectStatus |
| 73 | } |
| 74 | return common.ConnectStatus_UNKNOWN |
| 75 | } |
| 76 | |
| 77 | func (m *OmciMessage) GetProxyAddress() *voltha.Device_ProxyAddress { |
| 78 | if m != nil { |
| 79 | return m.ProxyAddress |
| 80 | } |
| 81 | return nil |
| 82 | } |
| 83 | |
| 84 | func (m *OmciMessage) GetParentDeviceId() string { |
| 85 | if m != nil { |
| 86 | return m.ParentDeviceId |
| 87 | } |
| 88 | return "" |
| 89 | } |
| 90 | |
| 91 | func (m *OmciMessage) GetChildDeviceId() string { |
| 92 | if m != nil { |
| 93 | return m.ChildDeviceId |
| 94 | } |
| 95 | return "" |
| 96 | } |
| 97 | |
kesavand | 5c6ff8a | 2021-11-25 11:18:06 +0530 | [diff] [blame] | 98 | type OmciMessages struct { |
| 99 | Messages [][]byte `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` |
| 100 | ConnectStatus common.ConnectStatus_Types `protobuf:"varint,2,opt,name=connect_status,json=connectStatus,proto3,enum=common.ConnectStatus_Types" json:"connect_status,omitempty"` |
| 101 | ProxyAddress *voltha.Device_ProxyAddress `protobuf:"bytes,3,opt,name=proxy_address,json=proxyAddress,proto3" json:"proxy_address,omitempty"` |
| 102 | ParentDeviceId string `protobuf:"bytes,4,opt,name=parent_device_id,json=parentDeviceId,proto3" json:"parent_device_id,omitempty"` |
| 103 | ChildDeviceId string `protobuf:"bytes,5,opt,name=child_device_id,json=childDeviceId,proto3" json:"child_device_id,omitempty"` |
| 104 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 105 | XXX_unrecognized []byte `json:"-"` |
| 106 | XXX_sizecache int32 `json:"-"` |
| 107 | } |
| 108 | |
| 109 | func (m *OmciMessages) Reset() { *m = OmciMessages{} } |
| 110 | func (m *OmciMessages) String() string { return proto.CompactTextString(m) } |
| 111 | func (*OmciMessages) ProtoMessage() {} |
| 112 | func (*OmciMessages) Descriptor() ([]byte, []int) { |
| 113 | return fileDescriptor_a316e60f0a1fb837, []int{1} |
| 114 | } |
| 115 | |
| 116 | func (m *OmciMessages) XXX_Unmarshal(b []byte) error { |
| 117 | return xxx_messageInfo_OmciMessages.Unmarshal(m, b) |
| 118 | } |
| 119 | func (m *OmciMessages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 120 | return xxx_messageInfo_OmciMessages.Marshal(b, m, deterministic) |
| 121 | } |
| 122 | func (m *OmciMessages) XXX_Merge(src proto.Message) { |
| 123 | xxx_messageInfo_OmciMessages.Merge(m, src) |
| 124 | } |
| 125 | func (m *OmciMessages) XXX_Size() int { |
| 126 | return xxx_messageInfo_OmciMessages.Size(m) |
| 127 | } |
| 128 | func (m *OmciMessages) XXX_DiscardUnknown() { |
| 129 | xxx_messageInfo_OmciMessages.DiscardUnknown(m) |
| 130 | } |
| 131 | |
| 132 | var xxx_messageInfo_OmciMessages proto.InternalMessageInfo |
| 133 | |
| 134 | func (m *OmciMessages) GetMessages() [][]byte { |
| 135 | if m != nil { |
| 136 | return m.Messages |
| 137 | } |
| 138 | return nil |
| 139 | } |
| 140 | |
| 141 | func (m *OmciMessages) GetConnectStatus() common.ConnectStatus_Types { |
| 142 | if m != nil { |
| 143 | return m.ConnectStatus |
| 144 | } |
| 145 | return common.ConnectStatus_UNKNOWN |
| 146 | } |
| 147 | |
| 148 | func (m *OmciMessages) GetProxyAddress() *voltha.Device_ProxyAddress { |
| 149 | if m != nil { |
| 150 | return m.ProxyAddress |
| 151 | } |
| 152 | return nil |
| 153 | } |
| 154 | |
| 155 | func (m *OmciMessages) GetParentDeviceId() string { |
| 156 | if m != nil { |
| 157 | return m.ParentDeviceId |
| 158 | } |
| 159 | return "" |
| 160 | } |
| 161 | |
| 162 | func (m *OmciMessages) GetChildDeviceId() string { |
| 163 | if m != nil { |
| 164 | return m.ChildDeviceId |
| 165 | } |
| 166 | return "" |
| 167 | } |
| 168 | |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 169 | type TechProfileDownloadMessage struct { |
| 170 | DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 171 | UniId uint32 `protobuf:"varint,2,opt,name=uni_id,json=uniId,proto3" json:"uni_id,omitempty"` |
| 172 | TpInstancePath string `protobuf:"bytes,3,opt,name=tp_instance_path,json=tpInstancePath,proto3" json:"tp_instance_path,omitempty"` |
| 173 | // Types that are valid to be assigned to TechTpInstance: |
| 174 | // *TechProfileDownloadMessage_TpInstance |
| 175 | // *TechProfileDownloadMessage_EponTpInstance |
| 176 | TechTpInstance isTechProfileDownloadMessage_TechTpInstance `protobuf_oneof:"tech_tp_instance"` |
| 177 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 178 | XXX_unrecognized []byte `json:"-"` |
| 179 | XXX_sizecache int32 `json:"-"` |
| 180 | } |
| 181 | |
| 182 | func (m *TechProfileDownloadMessage) Reset() { *m = TechProfileDownloadMessage{} } |
| 183 | func (m *TechProfileDownloadMessage) String() string { return proto.CompactTextString(m) } |
| 184 | func (*TechProfileDownloadMessage) ProtoMessage() {} |
| 185 | func (*TechProfileDownloadMessage) Descriptor() ([]byte, []int) { |
kesavand | 5c6ff8a | 2021-11-25 11:18:06 +0530 | [diff] [blame] | 186 | return fileDescriptor_a316e60f0a1fb837, []int{2} |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 187 | } |
| 188 | |
| 189 | func (m *TechProfileDownloadMessage) XXX_Unmarshal(b []byte) error { |
| 190 | return xxx_messageInfo_TechProfileDownloadMessage.Unmarshal(m, b) |
| 191 | } |
| 192 | func (m *TechProfileDownloadMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 193 | return xxx_messageInfo_TechProfileDownloadMessage.Marshal(b, m, deterministic) |
| 194 | } |
| 195 | func (m *TechProfileDownloadMessage) XXX_Merge(src proto.Message) { |
| 196 | xxx_messageInfo_TechProfileDownloadMessage.Merge(m, src) |
| 197 | } |
| 198 | func (m *TechProfileDownloadMessage) XXX_Size() int { |
| 199 | return xxx_messageInfo_TechProfileDownloadMessage.Size(m) |
| 200 | } |
| 201 | func (m *TechProfileDownloadMessage) XXX_DiscardUnknown() { |
| 202 | xxx_messageInfo_TechProfileDownloadMessage.DiscardUnknown(m) |
| 203 | } |
| 204 | |
| 205 | var xxx_messageInfo_TechProfileDownloadMessage proto.InternalMessageInfo |
| 206 | |
| 207 | func (m *TechProfileDownloadMessage) GetDeviceId() string { |
| 208 | if m != nil { |
| 209 | return m.DeviceId |
| 210 | } |
| 211 | return "" |
| 212 | } |
| 213 | |
| 214 | func (m *TechProfileDownloadMessage) GetUniId() uint32 { |
| 215 | if m != nil { |
| 216 | return m.UniId |
| 217 | } |
| 218 | return 0 |
| 219 | } |
| 220 | |
| 221 | func (m *TechProfileDownloadMessage) GetTpInstancePath() string { |
| 222 | if m != nil { |
| 223 | return m.TpInstancePath |
| 224 | } |
| 225 | return "" |
| 226 | } |
| 227 | |
| 228 | type isTechProfileDownloadMessage_TechTpInstance interface { |
| 229 | isTechProfileDownloadMessage_TechTpInstance() |
| 230 | } |
| 231 | |
| 232 | type TechProfileDownloadMessage_TpInstance struct { |
| 233 | TpInstance *tech_profile.TechProfileInstance `protobuf:"bytes,4,opt,name=tp_instance,json=tpInstance,proto3,oneof"` |
| 234 | } |
| 235 | |
| 236 | type TechProfileDownloadMessage_EponTpInstance struct { |
| 237 | EponTpInstance *tech_profile.EponTechProfileInstance `protobuf:"bytes,5,opt,name=epon_tp_instance,json=eponTpInstance,proto3,oneof"` |
| 238 | } |
| 239 | |
| 240 | func (*TechProfileDownloadMessage_TpInstance) isTechProfileDownloadMessage_TechTpInstance() {} |
| 241 | |
| 242 | func (*TechProfileDownloadMessage_EponTpInstance) isTechProfileDownloadMessage_TechTpInstance() {} |
| 243 | |
| 244 | func (m *TechProfileDownloadMessage) GetTechTpInstance() isTechProfileDownloadMessage_TechTpInstance { |
| 245 | if m != nil { |
| 246 | return m.TechTpInstance |
| 247 | } |
| 248 | return nil |
| 249 | } |
| 250 | |
| 251 | func (m *TechProfileDownloadMessage) GetTpInstance() *tech_profile.TechProfileInstance { |
| 252 | if x, ok := m.GetTechTpInstance().(*TechProfileDownloadMessage_TpInstance); ok { |
| 253 | return x.TpInstance |
| 254 | } |
| 255 | return nil |
| 256 | } |
| 257 | |
| 258 | func (m *TechProfileDownloadMessage) GetEponTpInstance() *tech_profile.EponTechProfileInstance { |
| 259 | if x, ok := m.GetTechTpInstance().(*TechProfileDownloadMessage_EponTpInstance); ok { |
| 260 | return x.EponTpInstance |
| 261 | } |
| 262 | return nil |
| 263 | } |
| 264 | |
| 265 | // XXX_OneofWrappers is for the internal use of the proto package. |
| 266 | func (*TechProfileDownloadMessage) XXX_OneofWrappers() []interface{} { |
| 267 | return []interface{}{ |
| 268 | (*TechProfileDownloadMessage_TpInstance)(nil), |
| 269 | (*TechProfileDownloadMessage_EponTpInstance)(nil), |
| 270 | } |
| 271 | } |
| 272 | |
| 273 | type DeleteGemPortMessage struct { |
| 274 | DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 275 | UniId uint32 `protobuf:"varint,2,opt,name=uni_id,json=uniId,proto3" json:"uni_id,omitempty"` |
| 276 | TpInstancePath string `protobuf:"bytes,3,opt,name=tp_instance_path,json=tpInstancePath,proto3" json:"tp_instance_path,omitempty"` |
| 277 | GemPortId uint32 `protobuf:"varint,4,opt,name=gem_port_id,json=gemPortId,proto3" json:"gem_port_id,omitempty"` |
| 278 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 279 | XXX_unrecognized []byte `json:"-"` |
| 280 | XXX_sizecache int32 `json:"-"` |
| 281 | } |
| 282 | |
| 283 | func (m *DeleteGemPortMessage) Reset() { *m = DeleteGemPortMessage{} } |
| 284 | func (m *DeleteGemPortMessage) String() string { return proto.CompactTextString(m) } |
| 285 | func (*DeleteGemPortMessage) ProtoMessage() {} |
| 286 | func (*DeleteGemPortMessage) Descriptor() ([]byte, []int) { |
kesavand | 5c6ff8a | 2021-11-25 11:18:06 +0530 | [diff] [blame] | 287 | return fileDescriptor_a316e60f0a1fb837, []int{3} |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 288 | } |
| 289 | |
| 290 | func (m *DeleteGemPortMessage) XXX_Unmarshal(b []byte) error { |
| 291 | return xxx_messageInfo_DeleteGemPortMessage.Unmarshal(m, b) |
| 292 | } |
| 293 | func (m *DeleteGemPortMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 294 | return xxx_messageInfo_DeleteGemPortMessage.Marshal(b, m, deterministic) |
| 295 | } |
| 296 | func (m *DeleteGemPortMessage) XXX_Merge(src proto.Message) { |
| 297 | xxx_messageInfo_DeleteGemPortMessage.Merge(m, src) |
| 298 | } |
| 299 | func (m *DeleteGemPortMessage) XXX_Size() int { |
| 300 | return xxx_messageInfo_DeleteGemPortMessage.Size(m) |
| 301 | } |
| 302 | func (m *DeleteGemPortMessage) XXX_DiscardUnknown() { |
| 303 | xxx_messageInfo_DeleteGemPortMessage.DiscardUnknown(m) |
| 304 | } |
| 305 | |
| 306 | var xxx_messageInfo_DeleteGemPortMessage proto.InternalMessageInfo |
| 307 | |
| 308 | func (m *DeleteGemPortMessage) GetDeviceId() string { |
| 309 | if m != nil { |
| 310 | return m.DeviceId |
| 311 | } |
| 312 | return "" |
| 313 | } |
| 314 | |
| 315 | func (m *DeleteGemPortMessage) GetUniId() uint32 { |
| 316 | if m != nil { |
| 317 | return m.UniId |
| 318 | } |
| 319 | return 0 |
| 320 | } |
| 321 | |
| 322 | func (m *DeleteGemPortMessage) GetTpInstancePath() string { |
| 323 | if m != nil { |
| 324 | return m.TpInstancePath |
| 325 | } |
| 326 | return "" |
| 327 | } |
| 328 | |
| 329 | func (m *DeleteGemPortMessage) GetGemPortId() uint32 { |
| 330 | if m != nil { |
| 331 | return m.GemPortId |
| 332 | } |
| 333 | return 0 |
| 334 | } |
| 335 | |
| 336 | type DeleteTcontMessage struct { |
| 337 | DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 338 | UniId uint32 `protobuf:"varint,2,opt,name=uni_id,json=uniId,proto3" json:"uni_id,omitempty"` |
| 339 | TpInstancePath string `protobuf:"bytes,3,opt,name=tp_instance_path,json=tpInstancePath,proto3" json:"tp_instance_path,omitempty"` |
| 340 | AllocId uint32 `protobuf:"varint,4,opt,name=alloc_id,json=allocId,proto3" json:"alloc_id,omitempty"` |
| 341 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 342 | XXX_unrecognized []byte `json:"-"` |
| 343 | XXX_sizecache int32 `json:"-"` |
| 344 | } |
| 345 | |
| 346 | func (m *DeleteTcontMessage) Reset() { *m = DeleteTcontMessage{} } |
| 347 | func (m *DeleteTcontMessage) String() string { return proto.CompactTextString(m) } |
| 348 | func (*DeleteTcontMessage) ProtoMessage() {} |
| 349 | func (*DeleteTcontMessage) Descriptor() ([]byte, []int) { |
kesavand | 5c6ff8a | 2021-11-25 11:18:06 +0530 | [diff] [blame] | 350 | return fileDescriptor_a316e60f0a1fb837, []int{4} |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 351 | } |
| 352 | |
| 353 | func (m *DeleteTcontMessage) XXX_Unmarshal(b []byte) error { |
| 354 | return xxx_messageInfo_DeleteTcontMessage.Unmarshal(m, b) |
| 355 | } |
| 356 | func (m *DeleteTcontMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 357 | return xxx_messageInfo_DeleteTcontMessage.Marshal(b, m, deterministic) |
| 358 | } |
| 359 | func (m *DeleteTcontMessage) XXX_Merge(src proto.Message) { |
| 360 | xxx_messageInfo_DeleteTcontMessage.Merge(m, src) |
| 361 | } |
| 362 | func (m *DeleteTcontMessage) XXX_Size() int { |
| 363 | return xxx_messageInfo_DeleteTcontMessage.Size(m) |
| 364 | } |
| 365 | func (m *DeleteTcontMessage) XXX_DiscardUnknown() { |
| 366 | xxx_messageInfo_DeleteTcontMessage.DiscardUnknown(m) |
| 367 | } |
| 368 | |
| 369 | var xxx_messageInfo_DeleteTcontMessage proto.InternalMessageInfo |
| 370 | |
| 371 | func (m *DeleteTcontMessage) GetDeviceId() string { |
| 372 | if m != nil { |
| 373 | return m.DeviceId |
| 374 | } |
| 375 | return "" |
| 376 | } |
| 377 | |
| 378 | func (m *DeleteTcontMessage) GetUniId() uint32 { |
| 379 | if m != nil { |
| 380 | return m.UniId |
| 381 | } |
| 382 | return 0 |
| 383 | } |
| 384 | |
| 385 | func (m *DeleteTcontMessage) GetTpInstancePath() string { |
| 386 | if m != nil { |
| 387 | return m.TpInstancePath |
| 388 | } |
| 389 | return "" |
| 390 | } |
| 391 | |
| 392 | func (m *DeleteTcontMessage) GetAllocId() uint32 { |
| 393 | if m != nil { |
| 394 | return m.AllocId |
| 395 | } |
| 396 | return 0 |
| 397 | } |
| 398 | |
| 399 | type OnuIndicationMessage struct { |
| 400 | DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 401 | OnuIndication *openolt.OnuIndication `protobuf:"bytes,2,opt,name=onu_indication,json=onuIndication,proto3" json:"onu_indication,omitempty"` |
| 402 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 403 | XXX_unrecognized []byte `json:"-"` |
| 404 | XXX_sizecache int32 `json:"-"` |
| 405 | } |
| 406 | |
| 407 | func (m *OnuIndicationMessage) Reset() { *m = OnuIndicationMessage{} } |
| 408 | func (m *OnuIndicationMessage) String() string { return proto.CompactTextString(m) } |
| 409 | func (*OnuIndicationMessage) ProtoMessage() {} |
| 410 | func (*OnuIndicationMessage) Descriptor() ([]byte, []int) { |
kesavand | 5c6ff8a | 2021-11-25 11:18:06 +0530 | [diff] [blame] | 411 | return fileDescriptor_a316e60f0a1fb837, []int{5} |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 412 | } |
| 413 | |
| 414 | func (m *OnuIndicationMessage) XXX_Unmarshal(b []byte) error { |
| 415 | return xxx_messageInfo_OnuIndicationMessage.Unmarshal(m, b) |
| 416 | } |
| 417 | func (m *OnuIndicationMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 418 | return xxx_messageInfo_OnuIndicationMessage.Marshal(b, m, deterministic) |
| 419 | } |
| 420 | func (m *OnuIndicationMessage) XXX_Merge(src proto.Message) { |
| 421 | xxx_messageInfo_OnuIndicationMessage.Merge(m, src) |
| 422 | } |
| 423 | func (m *OnuIndicationMessage) XXX_Size() int { |
| 424 | return xxx_messageInfo_OnuIndicationMessage.Size(m) |
| 425 | } |
| 426 | func (m *OnuIndicationMessage) XXX_DiscardUnknown() { |
| 427 | xxx_messageInfo_OnuIndicationMessage.DiscardUnknown(m) |
| 428 | } |
| 429 | |
| 430 | var xxx_messageInfo_OnuIndicationMessage proto.InternalMessageInfo |
| 431 | |
| 432 | func (m *OnuIndicationMessage) GetDeviceId() string { |
| 433 | if m != nil { |
| 434 | return m.DeviceId |
| 435 | } |
| 436 | return "" |
| 437 | } |
| 438 | |
| 439 | func (m *OnuIndicationMessage) GetOnuIndication() *openolt.OnuIndication { |
| 440 | if m != nil { |
| 441 | return m.OnuIndication |
| 442 | } |
| 443 | return nil |
| 444 | } |
| 445 | |
| 446 | type TechProfileInstanceRequestMessage struct { |
| 447 | DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 448 | TpInstancePath string `protobuf:"bytes,2,opt,name=tp_instance_path,json=tpInstancePath,proto3" json:"tp_instance_path,omitempty"` |
| 449 | ParentDeviceId string `protobuf:"bytes,3,opt,name=parent_device_id,json=parentDeviceId,proto3" json:"parent_device_id,omitempty"` |
| 450 | ParentPonPort uint32 `protobuf:"varint,4,opt,name=parent_pon_port,json=parentPonPort,proto3" json:"parent_pon_port,omitempty"` |
| 451 | OnuId uint32 `protobuf:"varint,5,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| 452 | UniId uint32 `protobuf:"varint,6,opt,name=uni_id,json=uniId,proto3" json:"uni_id,omitempty"` |
| 453 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 454 | XXX_unrecognized []byte `json:"-"` |
| 455 | XXX_sizecache int32 `json:"-"` |
| 456 | } |
| 457 | |
| 458 | func (m *TechProfileInstanceRequestMessage) Reset() { *m = TechProfileInstanceRequestMessage{} } |
| 459 | func (m *TechProfileInstanceRequestMessage) String() string { return proto.CompactTextString(m) } |
| 460 | func (*TechProfileInstanceRequestMessage) ProtoMessage() {} |
| 461 | func (*TechProfileInstanceRequestMessage) Descriptor() ([]byte, []int) { |
kesavand | 5c6ff8a | 2021-11-25 11:18:06 +0530 | [diff] [blame] | 462 | return fileDescriptor_a316e60f0a1fb837, []int{6} |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 463 | } |
| 464 | |
| 465 | func (m *TechProfileInstanceRequestMessage) XXX_Unmarshal(b []byte) error { |
| 466 | return xxx_messageInfo_TechProfileInstanceRequestMessage.Unmarshal(m, b) |
| 467 | } |
| 468 | func (m *TechProfileInstanceRequestMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 469 | return xxx_messageInfo_TechProfileInstanceRequestMessage.Marshal(b, m, deterministic) |
| 470 | } |
| 471 | func (m *TechProfileInstanceRequestMessage) XXX_Merge(src proto.Message) { |
| 472 | xxx_messageInfo_TechProfileInstanceRequestMessage.Merge(m, src) |
| 473 | } |
| 474 | func (m *TechProfileInstanceRequestMessage) XXX_Size() int { |
| 475 | return xxx_messageInfo_TechProfileInstanceRequestMessage.Size(m) |
| 476 | } |
| 477 | func (m *TechProfileInstanceRequestMessage) XXX_DiscardUnknown() { |
| 478 | xxx_messageInfo_TechProfileInstanceRequestMessage.DiscardUnknown(m) |
| 479 | } |
| 480 | |
| 481 | var xxx_messageInfo_TechProfileInstanceRequestMessage proto.InternalMessageInfo |
| 482 | |
| 483 | func (m *TechProfileInstanceRequestMessage) GetDeviceId() string { |
| 484 | if m != nil { |
| 485 | return m.DeviceId |
| 486 | } |
| 487 | return "" |
| 488 | } |
| 489 | |
| 490 | func (m *TechProfileInstanceRequestMessage) GetTpInstancePath() string { |
| 491 | if m != nil { |
| 492 | return m.TpInstancePath |
| 493 | } |
| 494 | return "" |
| 495 | } |
| 496 | |
| 497 | func (m *TechProfileInstanceRequestMessage) GetParentDeviceId() string { |
| 498 | if m != nil { |
| 499 | return m.ParentDeviceId |
| 500 | } |
| 501 | return "" |
| 502 | } |
| 503 | |
| 504 | func (m *TechProfileInstanceRequestMessage) GetParentPonPort() uint32 { |
| 505 | if m != nil { |
| 506 | return m.ParentPonPort |
| 507 | } |
| 508 | return 0 |
| 509 | } |
| 510 | |
| 511 | func (m *TechProfileInstanceRequestMessage) GetOnuId() uint32 { |
| 512 | if m != nil { |
| 513 | return m.OnuId |
| 514 | } |
| 515 | return 0 |
| 516 | } |
| 517 | |
| 518 | func (m *TechProfileInstanceRequestMessage) GetUniId() uint32 { |
| 519 | if m != nil { |
| 520 | return m.UniId |
| 521 | } |
| 522 | return 0 |
| 523 | } |
| 524 | |
| 525 | func init() { |
| 526 | proto.RegisterType((*OmciMessage)(nil), "inter_adapter.OmciMessage") |
kesavand | 5c6ff8a | 2021-11-25 11:18:06 +0530 | [diff] [blame] | 527 | proto.RegisterType((*OmciMessages)(nil), "inter_adapter.OmciMessages") |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 528 | proto.RegisterType((*TechProfileDownloadMessage)(nil), "inter_adapter.TechProfileDownloadMessage") |
| 529 | proto.RegisterType((*DeleteGemPortMessage)(nil), "inter_adapter.DeleteGemPortMessage") |
| 530 | proto.RegisterType((*DeleteTcontMessage)(nil), "inter_adapter.DeleteTcontMessage") |
| 531 | proto.RegisterType((*OnuIndicationMessage)(nil), "inter_adapter.OnuIndicationMessage") |
| 532 | proto.RegisterType((*TechProfileInstanceRequestMessage)(nil), "inter_adapter.TechProfileInstanceRequestMessage") |
| 533 | } |
| 534 | |
| 535 | func init() { proto.RegisterFile("voltha_protos/inter_adapter.proto", fileDescriptor_a316e60f0a1fb837) } |
| 536 | |
| 537 | var fileDescriptor_a316e60f0a1fb837 = []byte{ |
kesavand | 5c6ff8a | 2021-11-25 11:18:06 +0530 | [diff] [blame] | 538 | // 632 bytes of a gzipped FileDescriptorProto |
| 539 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x55, 0xc1, 0x6e, 0xd3, 0x4c, |
| 540 | 0x10, 0xfe, 0x9d, 0xfe, 0x69, 0x9b, 0x49, 0x1c, 0x2a, 0xab, 0xa0, 0x90, 0x48, 0x28, 0x89, 0x04, |
| 541 | 0xca, 0x05, 0x57, 0x0a, 0xea, 0x11, 0x09, 0x4a, 0x10, 0xe4, 0x80, 0x1a, 0x4c, 0x4e, 0xbd, 0x58, |
| 542 | 0xdb, 0xdd, 0x25, 0x5e, 0xc9, 0xd9, 0x59, 0xec, 0x75, 0xa1, 0x57, 0xee, 0xdc, 0x78, 0x07, 0xde, |
| 543 | 0x8d, 0x97, 0x00, 0x79, 0xd7, 0x6e, 0x6c, 0x64, 0xa4, 0x9e, 0x7a, 0xe0, 0x14, 0xcf, 0xcc, 0x37, |
| 544 | 0x5f, 0xbe, 0x99, 0xd9, 0xdd, 0x81, 0xc9, 0x15, 0xc6, 0x3a, 0x22, 0xa1, 0x4a, 0x50, 0x63, 0x7a, |
| 545 | 0x22, 0xa4, 0xe6, 0x49, 0x48, 0x18, 0x51, 0x9a, 0x27, 0xbe, 0x71, 0x7a, 0x6e, 0xcd, 0x39, 0x1c, |
| 546 | 0xd6, 0x33, 0x28, 0x6e, 0xb7, 0x28, 0x2d, 0xf4, 0xcf, 0x98, 0xb5, 0x8a, 0xd8, 0xb8, 0x1e, 0xd3, |
| 547 | 0x9c, 0x46, 0xf9, 0xf7, 0x47, 0x11, 0xf3, 0x02, 0x31, 0xaa, 0x23, 0x50, 0x71, 0x89, 0xb1, 0x6e, |
| 548 | 0xa6, 0x66, 0xfc, 0x4a, 0xd0, 0x22, 0x71, 0xfa, 0xcb, 0x81, 0xee, 0xf9, 0x96, 0x8a, 0x77, 0x3c, |
| 549 | 0x4d, 0xc9, 0x86, 0x7b, 0x03, 0x38, 0xd8, 0xda, 0xcf, 0x81, 0x33, 0x76, 0x66, 0xbd, 0xa0, 0x34, |
| 550 | 0xbd, 0x33, 0xe8, 0x53, 0x94, 0x92, 0x53, 0x1d, 0xa6, 0x9a, 0xe8, 0x2c, 0x1d, 0xb4, 0xc6, 0xce, |
| 551 | 0xac, 0x3f, 0x1f, 0xf9, 0x45, 0x1d, 0xaf, 0x6c, 0xf4, 0x83, 0x09, 0xfa, 0xeb, 0x6b, 0xc5, 0xd3, |
| 552 | 0xc0, 0xa5, 0x55, 0xa7, 0xf7, 0x02, 0x5c, 0x95, 0xe0, 0x97, 0xeb, 0x90, 0x30, 0x96, 0xf0, 0x34, |
| 553 | 0x1d, 0xec, 0x8d, 0x9d, 0x59, 0x77, 0x3e, 0xf2, 0x0b, 0x4d, 0x0b, 0xfb, 0xb3, 0xca, 0x31, 0x2f, |
| 554 | 0x2d, 0x24, 0xe8, 0xa9, 0x8a, 0xe5, 0xcd, 0xe0, 0x48, 0x91, 0x84, 0x4b, 0x1d, 0xda, 0x94, 0x50, |
| 555 | 0xb0, 0xc1, 0xff, 0x63, 0x67, 0xd6, 0x09, 0xfa, 0xd6, 0x6f, 0x29, 0x96, 0xcc, 0x7b, 0x02, 0xf7, |
| 556 | 0x68, 0x24, 0x62, 0x56, 0x01, 0xb6, 0x0d, 0xd0, 0x35, 0xee, 0x12, 0x37, 0xfd, 0xda, 0x82, 0x5e, |
| 557 | 0xa5, 0x03, 0xa9, 0x37, 0x84, 0xc3, 0xa2, 0xe6, 0x74, 0xe0, 0x8c, 0xf7, 0x66, 0xbd, 0xe0, 0xc6, |
| 558 | 0xfe, 0x67, 0x9b, 0xf0, 0xa3, 0x05, 0xc3, 0x35, 0xa7, 0xd1, 0xca, 0x9e, 0xaa, 0x05, 0x7e, 0x96, |
| 559 | 0x31, 0x12, 0x56, 0x9e, 0x8a, 0x11, 0x74, 0x76, 0x04, 0x8e, 0x21, 0x38, 0x64, 0xe5, 0x7f, 0xdc, |
| 560 | 0x87, 0xfd, 0x4c, 0x8a, 0x3c, 0x92, 0xf7, 0xc2, 0x0d, 0xda, 0x99, 0x14, 0x4b, 0x96, 0x8b, 0xd4, |
| 561 | 0x2a, 0x14, 0x32, 0xd5, 0x44, 0x52, 0x1e, 0x2a, 0xa2, 0x23, 0x53, 0x69, 0x27, 0xe8, 0x6b, 0xb5, |
| 562 | 0x2c, 0xdc, 0x2b, 0xa2, 0x23, 0x6f, 0x01, 0xdd, 0x0a, 0xd2, 0x54, 0xd2, 0x9d, 0x4f, 0xfc, 0xda, |
| 563 | 0x31, 0xaf, 0x88, 0x2b, 0x73, 0xdf, 0xfe, 0x17, 0xc0, 0x8e, 0xc9, 0x7b, 0x0f, 0x47, 0x5c, 0xa1, |
| 564 | 0x0c, 0xab, 0x54, 0x6d, 0x43, 0xf5, 0xb8, 0x4e, 0xf5, 0x5a, 0xa1, 0x6c, 0xa6, 0xeb, 0xe7, 0x04, |
| 565 | 0xeb, 0x1b, 0xca, 0x33, 0x0f, 0x8e, 0x4c, 0x66, 0x85, 0x72, 0xfa, 0xdd, 0x81, 0xe3, 0x05, 0x8f, |
| 566 | 0xb9, 0xe6, 0x6f, 0xf8, 0x76, 0x85, 0x89, 0xbe, 0x9b, 0x1e, 0x3d, 0x82, 0xee, 0x86, 0x6f, 0x43, |
| 567 | 0x85, 0x89, 0x2e, 0xa7, 0xed, 0x06, 0x9d, 0x8d, 0x95, 0xb0, 0x64, 0xd3, 0x6f, 0x0e, 0x78, 0x56, |
| 568 | 0xd6, 0x9a, 0xa2, 0xbc, 0x23, 0x51, 0x0f, 0xe1, 0x90, 0xc4, 0x31, 0xd2, 0x9d, 0xa2, 0x03, 0x63, |
| 569 | 0x2f, 0xd9, 0x34, 0x81, 0xe3, 0x73, 0x99, 0x2d, 0x25, 0x13, 0x94, 0x68, 0x81, 0xf2, 0x56, 0x82, |
| 570 | 0x9e, 0x43, 0x1f, 0x65, 0x16, 0x8a, 0x9b, 0x2c, 0x23, 0xac, 0x3b, 0x7f, 0xe0, 0x97, 0x0f, 0x5a, |
| 571 | 0x8d, 0x33, 0x70, 0xb1, 0x6a, 0x4e, 0x7f, 0x3a, 0x30, 0x69, 0x18, 0x6c, 0xc0, 0x3f, 0x65, 0x3c, |
| 572 | 0xbd, 0x5d, 0x4b, 0x9a, 0x6a, 0x6f, 0x35, 0xd6, 0xde, 0x74, 0x07, 0xf7, 0xfe, 0x76, 0x07, 0x0b, |
| 573 | 0x64, 0x7e, 0x3c, 0xf3, 0x09, 0x16, 0xcd, 0x72, 0xad, 0x7b, 0x85, 0x32, 0x1f, 0x62, 0x3e, 0x0e, |
| 574 | 0x53, 0xbd, 0xbd, 0xa2, 0x6e, 0xd0, 0xce, 0xab, 0xab, 0x4e, 0x69, 0xbf, 0x32, 0xa5, 0xb3, 0x0b, |
| 575 | 0x98, 0x60, 0xb2, 0x31, 0x8d, 0xa1, 0x98, 0x30, 0xbf, 0x58, 0x18, 0xb5, 0x85, 0x73, 0x71, 0xba, |
| 576 | 0x11, 0x3a, 0xca, 0x2e, 0xf3, 0xc7, 0xe9, 0xa4, 0x44, 0x16, 0xab, 0xe5, 0x69, 0xb9, 0x68, 0x4e, |
| 577 | 0x4f, 0x36, 0x58, 0x5f, 0x5e, 0x97, 0xfb, 0x26, 0xf6, 0xec, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, |
| 578 | 0xeb, 0x5f, 0xd8, 0xf3, 0xe2, 0x06, 0x00, 0x00, |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 579 | } |