blob: 901deb82cdd2b7784b3cee256faedf53801b23d4 [file] [log] [blame]
khenaidoo4c6543e2021-10-19 17:25:58 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
Abhay Kumar03713392025-12-30 05:20:58 +00002// versions:
3// protoc-gen-go v1.36.11
4// protoc v4.25.8
khenaidoo4c6543e2021-10-19 17:25:58 -04005// source: voltha_protos/inter_adapter.proto
6
7package inter_adapter
8
9import (
khenaidoo4c6543e2021-10-19 17:25:58 -040010 common "github.com/opencord/voltha-protos/v5/go/common"
11 openolt "github.com/opencord/voltha-protos/v5/go/openolt"
12 tech_profile "github.com/opencord/voltha-protos/v5/go/tech_profile"
13 voltha "github.com/opencord/voltha-protos/v5/go/voltha"
Abhay Kumar03713392025-12-30 05:20:58 +000014 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16 reflect "reflect"
17 sync "sync"
18 unsafe "unsafe"
khenaidoo4c6543e2021-10-19 17:25:58 -040019)
20
Abhay Kumar03713392025-12-30 05:20:58 +000021const (
22 // Verify that this generated code is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24 // Verify that runtime/protoimpl is sufficiently up-to-date.
25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26)
khenaidoo4c6543e2021-10-19 17:25:58 -040027
28type OmciMessage struct {
Abhay Kumar03713392025-12-30 05:20:58 +000029 state protoimpl.MessageState `protogen:"open.v1"`
30 Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
31 ConnectStatus common.ConnectStatus_Types `protobuf:"varint,2,opt,name=connect_status,json=connectStatus,proto3,enum=common.ConnectStatus_Types" json:"connect_status,omitempty"`
32 ProxyAddress *voltha.Device_ProxyAddress `protobuf:"bytes,3,opt,name=proxy_address,json=proxyAddress,proto3" json:"proxy_address,omitempty"`
33 ParentDeviceId string `protobuf:"bytes,4,opt,name=parent_device_id,json=parentDeviceId,proto3" json:"parent_device_id,omitempty"`
34 ChildDeviceId string `protobuf:"bytes,5,opt,name=child_device_id,json=childDeviceId,proto3" json:"child_device_id,omitempty"`
35 unknownFields protoimpl.UnknownFields
36 sizeCache protoimpl.SizeCache
khenaidoo4c6543e2021-10-19 17:25:58 -040037}
38
Abhay Kumar03713392025-12-30 05:20:58 +000039func (x *OmciMessage) Reset() {
40 *x = OmciMessage{}
41 mi := &file_voltha_protos_inter_adapter_proto_msgTypes[0]
42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
43 ms.StoreMessageInfo(mi)
44}
45
46func (x *OmciMessage) String() string {
47 return protoimpl.X.MessageStringOf(x)
48}
49
50func (*OmciMessage) ProtoMessage() {}
51
52func (x *OmciMessage) ProtoReflect() protoreflect.Message {
53 mi := &file_voltha_protos_inter_adapter_proto_msgTypes[0]
54 if x != nil {
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 if ms.LoadMessageInfo() == nil {
57 ms.StoreMessageInfo(mi)
58 }
59 return ms
60 }
61 return mi.MessageOf(x)
62}
63
64// Deprecated: Use OmciMessage.ProtoReflect.Descriptor instead.
khenaidoo4c6543e2021-10-19 17:25:58 -040065func (*OmciMessage) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +000066 return file_voltha_protos_inter_adapter_proto_rawDescGZIP(), []int{0}
khenaidoo4c6543e2021-10-19 17:25:58 -040067}
68
Abhay Kumar03713392025-12-30 05:20:58 +000069func (x *OmciMessage) GetMessage() []byte {
70 if x != nil {
71 return x.Message
khenaidoo4c6543e2021-10-19 17:25:58 -040072 }
73 return nil
74}
75
Abhay Kumar03713392025-12-30 05:20:58 +000076func (x *OmciMessage) GetConnectStatus() common.ConnectStatus_Types {
77 if x != nil {
78 return x.ConnectStatus
khenaidoo4c6543e2021-10-19 17:25:58 -040079 }
Abhay Kumar03713392025-12-30 05:20:58 +000080 return common.ConnectStatus_Types(0)
khenaidoo4c6543e2021-10-19 17:25:58 -040081}
82
Abhay Kumar03713392025-12-30 05:20:58 +000083func (x *OmciMessage) GetProxyAddress() *voltha.Device_ProxyAddress {
84 if x != nil {
85 return x.ProxyAddress
khenaidoo4c6543e2021-10-19 17:25:58 -040086 }
87 return nil
88}
89
Abhay Kumar03713392025-12-30 05:20:58 +000090func (x *OmciMessage) GetParentDeviceId() string {
91 if x != nil {
92 return x.ParentDeviceId
khenaidoo4c6543e2021-10-19 17:25:58 -040093 }
94 return ""
95}
96
Abhay Kumar03713392025-12-30 05:20:58 +000097func (x *OmciMessage) GetChildDeviceId() string {
98 if x != nil {
99 return x.ChildDeviceId
khenaidoo4c6543e2021-10-19 17:25:58 -0400100 }
101 return ""
102}
103
kesavand5c6ff8a2021-11-25 11:18:06 +0530104type OmciMessages struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000105 state protoimpl.MessageState `protogen:"open.v1"`
106 Messages [][]byte `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
107 ConnectStatus common.ConnectStatus_Types `protobuf:"varint,2,opt,name=connect_status,json=connectStatus,proto3,enum=common.ConnectStatus_Types" json:"connect_status,omitempty"`
108 ProxyAddress *voltha.Device_ProxyAddress `protobuf:"bytes,3,opt,name=proxy_address,json=proxyAddress,proto3" json:"proxy_address,omitempty"`
109 ParentDeviceId string `protobuf:"bytes,4,opt,name=parent_device_id,json=parentDeviceId,proto3" json:"parent_device_id,omitempty"`
110 ChildDeviceId string `protobuf:"bytes,5,opt,name=child_device_id,json=childDeviceId,proto3" json:"child_device_id,omitempty"`
111 unknownFields protoimpl.UnknownFields
112 sizeCache protoimpl.SizeCache
kesavand5c6ff8a2021-11-25 11:18:06 +0530113}
114
Abhay Kumar03713392025-12-30 05:20:58 +0000115func (x *OmciMessages) Reset() {
116 *x = OmciMessages{}
117 mi := &file_voltha_protos_inter_adapter_proto_msgTypes[1]
118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
119 ms.StoreMessageInfo(mi)
120}
121
122func (x *OmciMessages) String() string {
123 return protoimpl.X.MessageStringOf(x)
124}
125
126func (*OmciMessages) ProtoMessage() {}
127
128func (x *OmciMessages) ProtoReflect() protoreflect.Message {
129 mi := &file_voltha_protos_inter_adapter_proto_msgTypes[1]
130 if x != nil {
131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
132 if ms.LoadMessageInfo() == nil {
133 ms.StoreMessageInfo(mi)
134 }
135 return ms
136 }
137 return mi.MessageOf(x)
138}
139
140// Deprecated: Use OmciMessages.ProtoReflect.Descriptor instead.
kesavand5c6ff8a2021-11-25 11:18:06 +0530141func (*OmciMessages) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000142 return file_voltha_protos_inter_adapter_proto_rawDescGZIP(), []int{1}
kesavand5c6ff8a2021-11-25 11:18:06 +0530143}
144
Abhay Kumar03713392025-12-30 05:20:58 +0000145func (x *OmciMessages) GetMessages() [][]byte {
146 if x != nil {
147 return x.Messages
kesavand5c6ff8a2021-11-25 11:18:06 +0530148 }
149 return nil
150}
151
Abhay Kumar03713392025-12-30 05:20:58 +0000152func (x *OmciMessages) GetConnectStatus() common.ConnectStatus_Types {
153 if x != nil {
154 return x.ConnectStatus
kesavand5c6ff8a2021-11-25 11:18:06 +0530155 }
Abhay Kumar03713392025-12-30 05:20:58 +0000156 return common.ConnectStatus_Types(0)
kesavand5c6ff8a2021-11-25 11:18:06 +0530157}
158
Abhay Kumar03713392025-12-30 05:20:58 +0000159func (x *OmciMessages) GetProxyAddress() *voltha.Device_ProxyAddress {
160 if x != nil {
161 return x.ProxyAddress
kesavand5c6ff8a2021-11-25 11:18:06 +0530162 }
163 return nil
164}
165
Abhay Kumar03713392025-12-30 05:20:58 +0000166func (x *OmciMessages) GetParentDeviceId() string {
167 if x != nil {
168 return x.ParentDeviceId
kesavand5c6ff8a2021-11-25 11:18:06 +0530169 }
170 return ""
171}
172
Abhay Kumar03713392025-12-30 05:20:58 +0000173func (x *OmciMessages) GetChildDeviceId() string {
174 if x != nil {
175 return x.ChildDeviceId
kesavand5c6ff8a2021-11-25 11:18:06 +0530176 }
177 return ""
178}
179
khenaidoo4c6543e2021-10-19 17:25:58 -0400180type TechProfileDownloadMessage struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000181 state protoimpl.MessageState `protogen:"open.v1"`
182 DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
183 UniId uint32 `protobuf:"varint,2,opt,name=uni_id,json=uniId,proto3" json:"uni_id,omitempty"`
184 TpInstancePath string `protobuf:"bytes,3,opt,name=tp_instance_path,json=tpInstancePath,proto3" json:"tp_instance_path,omitempty"`
khenaidoo4c6543e2021-10-19 17:25:58 -0400185 // Types that are valid to be assigned to TechTpInstance:
Abhay Kumar03713392025-12-30 05:20:58 +0000186 //
khenaidoo4c6543e2021-10-19 17:25:58 -0400187 // *TechProfileDownloadMessage_TpInstance
188 // *TechProfileDownloadMessage_EponTpInstance
Abhay Kumar03713392025-12-30 05:20:58 +0000189 TechTpInstance isTechProfileDownloadMessage_TechTpInstance `protobuf_oneof:"tech_tp_instance"`
190 unknownFields protoimpl.UnknownFields
191 sizeCache protoimpl.SizeCache
khenaidoo4c6543e2021-10-19 17:25:58 -0400192}
193
Abhay Kumar03713392025-12-30 05:20:58 +0000194func (x *TechProfileDownloadMessage) Reset() {
195 *x = TechProfileDownloadMessage{}
196 mi := &file_voltha_protos_inter_adapter_proto_msgTypes[2]
197 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
198 ms.StoreMessageInfo(mi)
199}
200
201func (x *TechProfileDownloadMessage) String() string {
202 return protoimpl.X.MessageStringOf(x)
203}
204
205func (*TechProfileDownloadMessage) ProtoMessage() {}
206
207func (x *TechProfileDownloadMessage) ProtoReflect() protoreflect.Message {
208 mi := &file_voltha_protos_inter_adapter_proto_msgTypes[2]
209 if x != nil {
210 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
211 if ms.LoadMessageInfo() == nil {
212 ms.StoreMessageInfo(mi)
213 }
214 return ms
215 }
216 return mi.MessageOf(x)
217}
218
219// Deprecated: Use TechProfileDownloadMessage.ProtoReflect.Descriptor instead.
khenaidoo4c6543e2021-10-19 17:25:58 -0400220func (*TechProfileDownloadMessage) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000221 return file_voltha_protos_inter_adapter_proto_rawDescGZIP(), []int{2}
khenaidoo4c6543e2021-10-19 17:25:58 -0400222}
223
Abhay Kumar03713392025-12-30 05:20:58 +0000224func (x *TechProfileDownloadMessage) GetDeviceId() string {
225 if x != nil {
226 return x.DeviceId
khenaidoo4c6543e2021-10-19 17:25:58 -0400227 }
228 return ""
229}
230
Abhay Kumar03713392025-12-30 05:20:58 +0000231func (x *TechProfileDownloadMessage) GetUniId() uint32 {
232 if x != nil {
233 return x.UniId
khenaidoo4c6543e2021-10-19 17:25:58 -0400234 }
235 return 0
236}
237
Abhay Kumar03713392025-12-30 05:20:58 +0000238func (x *TechProfileDownloadMessage) GetTpInstancePath() string {
239 if x != nil {
240 return x.TpInstancePath
khenaidoo4c6543e2021-10-19 17:25:58 -0400241 }
242 return ""
243}
244
Abhay Kumar03713392025-12-30 05:20:58 +0000245func (x *TechProfileDownloadMessage) GetTechTpInstance() isTechProfileDownloadMessage_TechTpInstance {
246 if x != nil {
247 return x.TechTpInstance
248 }
249 return nil
250}
251
252func (x *TechProfileDownloadMessage) GetTpInstance() *tech_profile.TechProfileInstance {
253 if x != nil {
254 if x, ok := x.TechTpInstance.(*TechProfileDownloadMessage_TpInstance); ok {
255 return x.TpInstance
256 }
257 }
258 return nil
259}
260
261func (x *TechProfileDownloadMessage) GetEponTpInstance() *tech_profile.EponTechProfileInstance {
262 if x != nil {
263 if x, ok := x.TechTpInstance.(*TechProfileDownloadMessage_EponTpInstance); ok {
264 return x.EponTpInstance
265 }
266 }
267 return nil
268}
269
khenaidoo4c6543e2021-10-19 17:25:58 -0400270type isTechProfileDownloadMessage_TechTpInstance interface {
271 isTechProfileDownloadMessage_TechTpInstance()
272}
273
274type TechProfileDownloadMessage_TpInstance struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000275 TpInstance *tech_profile.TechProfileInstance `protobuf:"bytes,4,opt,name=tp_instance,json=tpInstance,proto3,oneof"` // relevant for GPON, XGPON and XGS-PON technologies
khenaidoo4c6543e2021-10-19 17:25:58 -0400276}
277
278type TechProfileDownloadMessage_EponTpInstance struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000279 EponTpInstance *tech_profile.EponTechProfileInstance `protobuf:"bytes,5,opt,name=epon_tp_instance,json=eponTpInstance,proto3,oneof"` // relevant for EPON technology
khenaidoo4c6543e2021-10-19 17:25:58 -0400280}
281
282func (*TechProfileDownloadMessage_TpInstance) isTechProfileDownloadMessage_TechTpInstance() {}
283
284func (*TechProfileDownloadMessage_EponTpInstance) isTechProfileDownloadMessage_TechTpInstance() {}
285
khenaidoo4c6543e2021-10-19 17:25:58 -0400286type DeleteGemPortMessage struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000287 state protoimpl.MessageState `protogen:"open.v1"`
288 DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
289 UniId uint32 `protobuf:"varint,2,opt,name=uni_id,json=uniId,proto3" json:"uni_id,omitempty"`
290 TpInstancePath string `protobuf:"bytes,3,opt,name=tp_instance_path,json=tpInstancePath,proto3" json:"tp_instance_path,omitempty"`
291 GemPortId uint32 `protobuf:"varint,4,opt,name=gem_port_id,json=gemPortId,proto3" json:"gem_port_id,omitempty"`
292 unknownFields protoimpl.UnknownFields
293 sizeCache protoimpl.SizeCache
khenaidoo4c6543e2021-10-19 17:25:58 -0400294}
295
Abhay Kumar03713392025-12-30 05:20:58 +0000296func (x *DeleteGemPortMessage) Reset() {
297 *x = DeleteGemPortMessage{}
298 mi := &file_voltha_protos_inter_adapter_proto_msgTypes[3]
299 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
300 ms.StoreMessageInfo(mi)
301}
302
303func (x *DeleteGemPortMessage) String() string {
304 return protoimpl.X.MessageStringOf(x)
305}
306
307func (*DeleteGemPortMessage) ProtoMessage() {}
308
309func (x *DeleteGemPortMessage) ProtoReflect() protoreflect.Message {
310 mi := &file_voltha_protos_inter_adapter_proto_msgTypes[3]
311 if x != nil {
312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
313 if ms.LoadMessageInfo() == nil {
314 ms.StoreMessageInfo(mi)
315 }
316 return ms
317 }
318 return mi.MessageOf(x)
319}
320
321// Deprecated: Use DeleteGemPortMessage.ProtoReflect.Descriptor instead.
khenaidoo4c6543e2021-10-19 17:25:58 -0400322func (*DeleteGemPortMessage) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000323 return file_voltha_protos_inter_adapter_proto_rawDescGZIP(), []int{3}
khenaidoo4c6543e2021-10-19 17:25:58 -0400324}
325
Abhay Kumar03713392025-12-30 05:20:58 +0000326func (x *DeleteGemPortMessage) GetDeviceId() string {
327 if x != nil {
328 return x.DeviceId
khenaidoo4c6543e2021-10-19 17:25:58 -0400329 }
330 return ""
331}
332
Abhay Kumar03713392025-12-30 05:20:58 +0000333func (x *DeleteGemPortMessage) GetUniId() uint32 {
334 if x != nil {
335 return x.UniId
khenaidoo4c6543e2021-10-19 17:25:58 -0400336 }
337 return 0
338}
339
Abhay Kumar03713392025-12-30 05:20:58 +0000340func (x *DeleteGemPortMessage) GetTpInstancePath() string {
341 if x != nil {
342 return x.TpInstancePath
khenaidoo4c6543e2021-10-19 17:25:58 -0400343 }
344 return ""
345}
346
Abhay Kumar03713392025-12-30 05:20:58 +0000347func (x *DeleteGemPortMessage) GetGemPortId() uint32 {
348 if x != nil {
349 return x.GemPortId
khenaidoo4c6543e2021-10-19 17:25:58 -0400350 }
351 return 0
352}
353
354type DeleteTcontMessage struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000355 state protoimpl.MessageState `protogen:"open.v1"`
356 DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
357 UniId uint32 `protobuf:"varint,2,opt,name=uni_id,json=uniId,proto3" json:"uni_id,omitempty"`
358 TpInstancePath string `protobuf:"bytes,3,opt,name=tp_instance_path,json=tpInstancePath,proto3" json:"tp_instance_path,omitempty"`
359 AllocId uint32 `protobuf:"varint,4,opt,name=alloc_id,json=allocId,proto3" json:"alloc_id,omitempty"`
360 unknownFields protoimpl.UnknownFields
361 sizeCache protoimpl.SizeCache
khenaidoo4c6543e2021-10-19 17:25:58 -0400362}
363
Abhay Kumar03713392025-12-30 05:20:58 +0000364func (x *DeleteTcontMessage) Reset() {
365 *x = DeleteTcontMessage{}
366 mi := &file_voltha_protos_inter_adapter_proto_msgTypes[4]
367 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
368 ms.StoreMessageInfo(mi)
369}
370
371func (x *DeleteTcontMessage) String() string {
372 return protoimpl.X.MessageStringOf(x)
373}
374
375func (*DeleteTcontMessage) ProtoMessage() {}
376
377func (x *DeleteTcontMessage) ProtoReflect() protoreflect.Message {
378 mi := &file_voltha_protos_inter_adapter_proto_msgTypes[4]
379 if x != nil {
380 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
381 if ms.LoadMessageInfo() == nil {
382 ms.StoreMessageInfo(mi)
383 }
384 return ms
385 }
386 return mi.MessageOf(x)
387}
388
389// Deprecated: Use DeleteTcontMessage.ProtoReflect.Descriptor instead.
khenaidoo4c6543e2021-10-19 17:25:58 -0400390func (*DeleteTcontMessage) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000391 return file_voltha_protos_inter_adapter_proto_rawDescGZIP(), []int{4}
khenaidoo4c6543e2021-10-19 17:25:58 -0400392}
393
Abhay Kumar03713392025-12-30 05:20:58 +0000394func (x *DeleteTcontMessage) GetDeviceId() string {
395 if x != nil {
396 return x.DeviceId
khenaidoo4c6543e2021-10-19 17:25:58 -0400397 }
398 return ""
399}
400
Abhay Kumar03713392025-12-30 05:20:58 +0000401func (x *DeleteTcontMessage) GetUniId() uint32 {
402 if x != nil {
403 return x.UniId
khenaidoo4c6543e2021-10-19 17:25:58 -0400404 }
405 return 0
406}
407
Abhay Kumar03713392025-12-30 05:20:58 +0000408func (x *DeleteTcontMessage) GetTpInstancePath() string {
409 if x != nil {
410 return x.TpInstancePath
khenaidoo4c6543e2021-10-19 17:25:58 -0400411 }
412 return ""
413}
414
Abhay Kumar03713392025-12-30 05:20:58 +0000415func (x *DeleteTcontMessage) GetAllocId() uint32 {
416 if x != nil {
417 return x.AllocId
khenaidoo4c6543e2021-10-19 17:25:58 -0400418 }
419 return 0
420}
421
422type OnuIndicationMessage struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000423 state protoimpl.MessageState `protogen:"open.v1"`
424 DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
425 OnuIndication *openolt.OnuIndication `protobuf:"bytes,2,opt,name=onu_indication,json=onuIndication,proto3" json:"onu_indication,omitempty"`
426 unknownFields protoimpl.UnknownFields
427 sizeCache protoimpl.SizeCache
khenaidoo4c6543e2021-10-19 17:25:58 -0400428}
429
Abhay Kumar03713392025-12-30 05:20:58 +0000430func (x *OnuIndicationMessage) Reset() {
431 *x = OnuIndicationMessage{}
432 mi := &file_voltha_protos_inter_adapter_proto_msgTypes[5]
433 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
434 ms.StoreMessageInfo(mi)
435}
436
437func (x *OnuIndicationMessage) String() string {
438 return protoimpl.X.MessageStringOf(x)
439}
440
441func (*OnuIndicationMessage) ProtoMessage() {}
442
443func (x *OnuIndicationMessage) ProtoReflect() protoreflect.Message {
444 mi := &file_voltha_protos_inter_adapter_proto_msgTypes[5]
445 if x != nil {
446 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
447 if ms.LoadMessageInfo() == nil {
448 ms.StoreMessageInfo(mi)
449 }
450 return ms
451 }
452 return mi.MessageOf(x)
453}
454
455// Deprecated: Use OnuIndicationMessage.ProtoReflect.Descriptor instead.
khenaidoo4c6543e2021-10-19 17:25:58 -0400456func (*OnuIndicationMessage) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000457 return file_voltha_protos_inter_adapter_proto_rawDescGZIP(), []int{5}
khenaidoo4c6543e2021-10-19 17:25:58 -0400458}
459
Abhay Kumar03713392025-12-30 05:20:58 +0000460func (x *OnuIndicationMessage) GetDeviceId() string {
461 if x != nil {
462 return x.DeviceId
khenaidoo4c6543e2021-10-19 17:25:58 -0400463 }
464 return ""
465}
466
Abhay Kumar03713392025-12-30 05:20:58 +0000467func (x *OnuIndicationMessage) GetOnuIndication() *openolt.OnuIndication {
468 if x != nil {
469 return x.OnuIndication
khenaidoo4c6543e2021-10-19 17:25:58 -0400470 }
471 return nil
472}
473
474type TechProfileInstanceRequestMessage struct {
Abhay Kumar03713392025-12-30 05:20:58 +0000475 state protoimpl.MessageState `protogen:"open.v1"`
476 DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
477 TpInstancePath string `protobuf:"bytes,2,opt,name=tp_instance_path,json=tpInstancePath,proto3" json:"tp_instance_path,omitempty"` // technology profile instance path
478 ParentDeviceId string `protobuf:"bytes,3,opt,name=parent_device_id,json=parentDeviceId,proto3" json:"parent_device_id,omitempty"`
479 ParentPonPort uint32 `protobuf:"varint,4,opt,name=parent_pon_port,json=parentPonPort,proto3" json:"parent_pon_port,omitempty"`
480 OnuId uint32 `protobuf:"varint,5,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
481 UniId uint32 `protobuf:"varint,6,opt,name=uni_id,json=uniId,proto3" json:"uni_id,omitempty"`
482 unknownFields protoimpl.UnknownFields
483 sizeCache protoimpl.SizeCache
khenaidoo4c6543e2021-10-19 17:25:58 -0400484}
485
Abhay Kumar03713392025-12-30 05:20:58 +0000486func (x *TechProfileInstanceRequestMessage) Reset() {
487 *x = TechProfileInstanceRequestMessage{}
488 mi := &file_voltha_protos_inter_adapter_proto_msgTypes[6]
489 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
490 ms.StoreMessageInfo(mi)
491}
492
493func (x *TechProfileInstanceRequestMessage) String() string {
494 return protoimpl.X.MessageStringOf(x)
495}
496
497func (*TechProfileInstanceRequestMessage) ProtoMessage() {}
498
499func (x *TechProfileInstanceRequestMessage) ProtoReflect() protoreflect.Message {
500 mi := &file_voltha_protos_inter_adapter_proto_msgTypes[6]
501 if x != nil {
502 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
503 if ms.LoadMessageInfo() == nil {
504 ms.StoreMessageInfo(mi)
505 }
506 return ms
507 }
508 return mi.MessageOf(x)
509}
510
511// Deprecated: Use TechProfileInstanceRequestMessage.ProtoReflect.Descriptor instead.
khenaidoo4c6543e2021-10-19 17:25:58 -0400512func (*TechProfileInstanceRequestMessage) Descriptor() ([]byte, []int) {
Abhay Kumar03713392025-12-30 05:20:58 +0000513 return file_voltha_protos_inter_adapter_proto_rawDescGZIP(), []int{6}
khenaidoo4c6543e2021-10-19 17:25:58 -0400514}
515
Abhay Kumar03713392025-12-30 05:20:58 +0000516func (x *TechProfileInstanceRequestMessage) GetDeviceId() string {
517 if x != nil {
518 return x.DeviceId
khenaidoo4c6543e2021-10-19 17:25:58 -0400519 }
520 return ""
521}
522
Abhay Kumar03713392025-12-30 05:20:58 +0000523func (x *TechProfileInstanceRequestMessage) GetTpInstancePath() string {
524 if x != nil {
525 return x.TpInstancePath
khenaidoo4c6543e2021-10-19 17:25:58 -0400526 }
527 return ""
528}
529
Abhay Kumar03713392025-12-30 05:20:58 +0000530func (x *TechProfileInstanceRequestMessage) GetParentDeviceId() string {
531 if x != nil {
532 return x.ParentDeviceId
khenaidoo4c6543e2021-10-19 17:25:58 -0400533 }
534 return ""
535}
536
Abhay Kumar03713392025-12-30 05:20:58 +0000537func (x *TechProfileInstanceRequestMessage) GetParentPonPort() uint32 {
538 if x != nil {
539 return x.ParentPonPort
khenaidoo4c6543e2021-10-19 17:25:58 -0400540 }
541 return 0
542}
543
Abhay Kumar03713392025-12-30 05:20:58 +0000544func (x *TechProfileInstanceRequestMessage) GetOnuId() uint32 {
545 if x != nil {
546 return x.OnuId
khenaidoo4c6543e2021-10-19 17:25:58 -0400547 }
548 return 0
549}
550
Abhay Kumar03713392025-12-30 05:20:58 +0000551func (x *TechProfileInstanceRequestMessage) GetUniId() uint32 {
552 if x != nil {
553 return x.UniId
khenaidoo4c6543e2021-10-19 17:25:58 -0400554 }
555 return 0
556}
557
Abhay Kumar03713392025-12-30 05:20:58 +0000558var File_voltha_protos_inter_adapter_proto protoreflect.FileDescriptor
559
560const file_voltha_protos_inter_adapter_proto_rawDesc = "" +
561 "\n" +
562 "!voltha_protos/inter_adapter.proto\x12\rinter_adapter\x1a\x1avoltha_protos/common.proto\x1a\x1avoltha_protos/voltha.proto\x1a voltha_protos/tech_profile.proto\x1a\x1bvoltha_protos/openolt.proto\x1a\x1avoltha_protos/device.proto\"\xff\x01\n" +
563 "\vOmciMessage\x12\x18\n" +
564 "\amessage\x18\x01 \x01(\fR\amessage\x12B\n" +
565 "\x0econnect_status\x18\x02 \x01(\x0e2\x1b.common.ConnectStatus.TypesR\rconnectStatus\x12@\n" +
566 "\rproxy_address\x18\x03 \x01(\v2\x1b.device.Device.ProxyAddressR\fproxyAddress\x12(\n" +
567 "\x10parent_device_id\x18\x04 \x01(\tR\x0eparentDeviceId\x12&\n" +
568 "\x0fchild_device_id\x18\x05 \x01(\tR\rchildDeviceId\"\x82\x02\n" +
569 "\fOmciMessages\x12\x1a\n" +
570 "\bmessages\x18\x01 \x03(\fR\bmessages\x12B\n" +
571 "\x0econnect_status\x18\x02 \x01(\x0e2\x1b.common.ConnectStatus.TypesR\rconnectStatus\x12@\n" +
572 "\rproxy_address\x18\x03 \x01(\v2\x1b.device.Device.ProxyAddressR\fproxyAddress\x12(\n" +
573 "\x10parent_device_id\x18\x04 \x01(\tR\x0eparentDeviceId\x12&\n" +
574 "\x0fchild_device_id\x18\x05 \x01(\tR\rchildDeviceId\"\xa7\x02\n" +
575 "\x1aTechProfileDownloadMessage\x12\x1b\n" +
576 "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x15\n" +
577 "\x06uni_id\x18\x02 \x01(\rR\x05uniId\x12(\n" +
578 "\x10tp_instance_path\x18\x03 \x01(\tR\x0etpInstancePath\x12D\n" +
579 "\vtp_instance\x18\x04 \x01(\v2!.tech_profile.TechProfileInstanceH\x00R\n" +
580 "tpInstance\x12Q\n" +
581 "\x10epon_tp_instance\x18\x05 \x01(\v2%.tech_profile.EponTechProfileInstanceH\x00R\x0eeponTpInstanceB\x12\n" +
582 "\x10tech_tp_instance\"\x94\x01\n" +
583 "\x14DeleteGemPortMessage\x12\x1b\n" +
584 "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x15\n" +
585 "\x06uni_id\x18\x02 \x01(\rR\x05uniId\x12(\n" +
586 "\x10tp_instance_path\x18\x03 \x01(\tR\x0etpInstancePath\x12\x1e\n" +
587 "\vgem_port_id\x18\x04 \x01(\rR\tgemPortId\"\x8d\x01\n" +
588 "\x12DeleteTcontMessage\x12\x1b\n" +
589 "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x15\n" +
590 "\x06uni_id\x18\x02 \x01(\rR\x05uniId\x12(\n" +
591 "\x10tp_instance_path\x18\x03 \x01(\tR\x0etpInstancePath\x12\x19\n" +
592 "\balloc_id\x18\x04 \x01(\rR\aallocId\"r\n" +
593 "\x14OnuIndicationMessage\x12\x1b\n" +
594 "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12=\n" +
595 "\x0eonu_indication\x18\x02 \x01(\v2\x16.openolt.OnuIndicationR\ronuIndication\"\xea\x01\n" +
596 "!TechProfileInstanceRequestMessage\x12\x1b\n" +
597 "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12(\n" +
598 "\x10tp_instance_path\x18\x02 \x01(\tR\x0etpInstancePath\x12(\n" +
599 "\x10parent_device_id\x18\x03 \x01(\tR\x0eparentDeviceId\x12&\n" +
600 "\x0fparent_pon_port\x18\x04 \x01(\rR\rparentPonPort\x12\x15\n" +
601 "\x06onu_id\x18\x05 \x01(\rR\x05onuId\x12\x15\n" +
602 "\x06uni_id\x18\x06 \x01(\rR\x05uniIdBZ\n" +
603 "!org.opencord.voltha.inter_adapterZ5github.com/opencord/voltha-protos/v5/go/inter_adapterb\x06proto3"
604
605var (
606 file_voltha_protos_inter_adapter_proto_rawDescOnce sync.Once
607 file_voltha_protos_inter_adapter_proto_rawDescData []byte
608)
609
610func file_voltha_protos_inter_adapter_proto_rawDescGZIP() []byte {
611 file_voltha_protos_inter_adapter_proto_rawDescOnce.Do(func() {
612 file_voltha_protos_inter_adapter_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_voltha_protos_inter_adapter_proto_rawDesc), len(file_voltha_protos_inter_adapter_proto_rawDesc)))
613 })
614 return file_voltha_protos_inter_adapter_proto_rawDescData
khenaidoo4c6543e2021-10-19 17:25:58 -0400615}
616
Abhay Kumar03713392025-12-30 05:20:58 +0000617var file_voltha_protos_inter_adapter_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
618var file_voltha_protos_inter_adapter_proto_goTypes = []any{
619 (*OmciMessage)(nil), // 0: inter_adapter.OmciMessage
620 (*OmciMessages)(nil), // 1: inter_adapter.OmciMessages
621 (*TechProfileDownloadMessage)(nil), // 2: inter_adapter.TechProfileDownloadMessage
622 (*DeleteGemPortMessage)(nil), // 3: inter_adapter.DeleteGemPortMessage
623 (*DeleteTcontMessage)(nil), // 4: inter_adapter.DeleteTcontMessage
624 (*OnuIndicationMessage)(nil), // 5: inter_adapter.OnuIndicationMessage
625 (*TechProfileInstanceRequestMessage)(nil), // 6: inter_adapter.TechProfileInstanceRequestMessage
626 (common.ConnectStatus_Types)(0), // 7: common.ConnectStatus.Types
627 (*voltha.Device_ProxyAddress)(nil), // 8: device.Device.ProxyAddress
628 (*tech_profile.TechProfileInstance)(nil), // 9: tech_profile.TechProfileInstance
629 (*tech_profile.EponTechProfileInstance)(nil), // 10: tech_profile.EponTechProfileInstance
630 (*openolt.OnuIndication)(nil), // 11: openolt.OnuIndication
631}
632var file_voltha_protos_inter_adapter_proto_depIdxs = []int32{
633 7, // 0: inter_adapter.OmciMessage.connect_status:type_name -> common.ConnectStatus.Types
634 8, // 1: inter_adapter.OmciMessage.proxy_address:type_name -> device.Device.ProxyAddress
635 7, // 2: inter_adapter.OmciMessages.connect_status:type_name -> common.ConnectStatus.Types
636 8, // 3: inter_adapter.OmciMessages.proxy_address:type_name -> device.Device.ProxyAddress
637 9, // 4: inter_adapter.TechProfileDownloadMessage.tp_instance:type_name -> tech_profile.TechProfileInstance
638 10, // 5: inter_adapter.TechProfileDownloadMessage.epon_tp_instance:type_name -> tech_profile.EponTechProfileInstance
639 11, // 6: inter_adapter.OnuIndicationMessage.onu_indication:type_name -> openolt.OnuIndication
640 7, // [7:7] is the sub-list for method output_type
641 7, // [7:7] is the sub-list for method input_type
642 7, // [7:7] is the sub-list for extension type_name
643 7, // [7:7] is the sub-list for extension extendee
644 0, // [0:7] is the sub-list for field type_name
645}
khenaidoo4c6543e2021-10-19 17:25:58 -0400646
Abhay Kumar03713392025-12-30 05:20:58 +0000647func init() { file_voltha_protos_inter_adapter_proto_init() }
648func file_voltha_protos_inter_adapter_proto_init() {
649 if File_voltha_protos_inter_adapter_proto != nil {
650 return
651 }
652 file_voltha_protos_inter_adapter_proto_msgTypes[2].OneofWrappers = []any{
653 (*TechProfileDownloadMessage_TpInstance)(nil),
654 (*TechProfileDownloadMessage_EponTpInstance)(nil),
655 }
656 type x struct{}
657 out := protoimpl.TypeBuilder{
658 File: protoimpl.DescBuilder{
659 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
660 RawDescriptor: unsafe.Slice(unsafe.StringData(file_voltha_protos_inter_adapter_proto_rawDesc), len(file_voltha_protos_inter_adapter_proto_rawDesc)),
661 NumEnums: 0,
662 NumMessages: 7,
663 NumExtensions: 0,
664 NumServices: 0,
665 },
666 GoTypes: file_voltha_protos_inter_adapter_proto_goTypes,
667 DependencyIndexes: file_voltha_protos_inter_adapter_proto_depIdxs,
668 MessageInfos: file_voltha_protos_inter_adapter_proto_msgTypes,
669 }.Build()
670 File_voltha_protos_inter_adapter_proto = out.File
671 file_voltha_protos_inter_adapter_proto_goTypes = nil
672 file_voltha_protos_inter_adapter_proto_depIdxs = nil
khenaidoo4c6543e2021-10-19 17:25:58 -0400673}