blob: a1486d3addd4978441af5d9408e61ba85c8b6903 [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/adapter_service.proto
6
7package adapter_service
8
9import (
khenaidoo4c6543e2021-10-19 17:25:58 -040010 common "github.com/opencord/voltha-protos/v5/go/common"
11 core_adapter "github.com/opencord/voltha-protos/v5/go/core_adapter"
12 extension "github.com/opencord/voltha-protos/v5/go/extension"
13 health "github.com/opencord/voltha-protos/v5/go/health"
14 omci "github.com/opencord/voltha-protos/v5/go/omci"
15 voltha "github.com/opencord/voltha-protos/v5/go/voltha"
Abhay Kumar03713392025-12-30 05:20:58 +000016 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
17 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
18 emptypb "google.golang.org/protobuf/types/known/emptypb"
19 reflect "reflect"
20 unsafe "unsafe"
khenaidoo4c6543e2021-10-19 17:25:58 -040021)
22
Abhay Kumar03713392025-12-30 05:20:58 +000023const (
24 // Verify that this generated code is sufficiently up-to-date.
25 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
26 // Verify that runtime/protoimpl is sufficiently up-to-date.
27 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
28)
khenaidoo4c6543e2021-10-19 17:25:58 -040029
Abhay Kumar03713392025-12-30 05:20:58 +000030var File_voltha_protos_adapter_service_proto protoreflect.FileDescriptor
khenaidoo4c6543e2021-10-19 17:25:58 -040031
Abhay Kumar03713392025-12-30 05:20:58 +000032const file_voltha_protos_adapter_service_proto_rawDesc = "" +
33 "\n" +
34 "#voltha_protos/adapter_service.proto\x12\x0fadapter_service\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1avoltha_protos/common.proto\x1a voltha_protos/core_adapter.proto\x1a\x1avoltha_protos/device.proto\x1a\x1evoltha_protos/extensions.proto\x1a\x1avoltha_protos/health.proto\x1a\x1avoltha_protos/voltha.proto\x1a\x1dvoltha_protos/omci_test.proto\x1a\x1avoltha_protos/events.proto2\xf2\x15\n" +
35 "\x0eAdapterService\x12?\n" +
36 "\x0fGetHealthStatus\x12\x12.common.Connection\x1a\x14.health.HealthStatus(\x010\x01\x125\n" +
37 "\vAdoptDevice\x12\x0e.device.Device\x1a\x16.google.protobuf.Empty\x129\n" +
38 "\x0fReconcileDevice\x12\x0e.device.Device\x1a\x16.google.protobuf.Empty\x126\n" +
39 "\fDeleteDevice\x12\x0e.device.Device\x1a\x16.google.protobuf.Empty\x127\n" +
40 "\rDisableDevice\x12\x0e.device.Device\x1a\x16.google.protobuf.Empty\x128\n" +
41 "\x0eReEnableDevice\x12\x0e.device.Device\x1a\x16.google.protobuf.Empty\x126\n" +
42 "\fRebootDevice\x12\x0e.device.Device\x1a\x16.google.protobuf.Empty\x128\n" +
43 "\x0eSelfTestDevice\x12\x0e.device.Device\x1a\x16.google.protobuf.Empty\x12B\n" +
44 "\x10GetOfpDeviceInfo\x12\x0e.device.Device\x1a\x1e.core_adapter.SwitchCapability\x129\n" +
45 "\x0fChildDeviceLost\x12\x0e.device.Device\x1a\x16.google.protobuf.Empty\x122\n" +
46 "\n" +
47 "EnablePort\x12\f.device.Port\x1a\x16.google.protobuf.Empty\x123\n" +
48 "\vDisablePort\x12\f.device.Port\x1a\x16.google.protobuf.Empty\x12B\n" +
49 "\x0fUpdateFlowsBulk\x12\x17.core_adapter.BulkFlows\x1a\x16.google.protobuf.Empty\x12R\n" +
50 "\x18UpdateFlowsIncrementally\x12\x1e.core_adapter.IncrementalFlows\x1a\x16.google.protobuf.Empty\x12@\n" +
51 "\rSendPacketOut\x12\x17.core_adapter.PacketOut\x1a\x16.google.protobuf.Empty\x12E\n" +
52 "\x0eUpdatePmConfig\x12\x1b.core_adapter.PmConfigsInfo\x1a\x16.google.protobuf.Empty\x12S\n" +
53 "\x10DownloadOnuImage\x12\".device.DeviceImageDownloadRequest\x1a\x1b.device.DeviceImageResponse\x12L\n" +
54 "\x11GetOnuImageStatus\x12\x1a.device.DeviceImageRequest\x1a\x1b.device.DeviceImageResponse\x12O\n" +
55 "\x14AbortOnuImageUpgrade\x12\x1a.device.DeviceImageRequest\x1a\x1b.device.DeviceImageResponse\x12-\n" +
56 "\fGetOnuImages\x12\n" +
57 ".common.ID\x1a\x11.device.OnuImages\x12K\n" +
58 "\x10ActivateOnuImage\x12\x1a.device.DeviceImageRequest\x1a\x1b.device.DeviceImageResponse\x12I\n" +
59 "\x0eCommitOnuImage\x12\x1a.device.DeviceImageRequest\x1a\x1b.device.DeviceImageResponse\x12O\n" +
60 "\rDownloadImage\x12\".core_adapter.ImageDownloadMessage\x1a\x15.device.ImageDownload\"\x03\x88\x02\x01\x12X\n" +
61 "\x16GetImageDownloadStatus\x12\".core_adapter.ImageDownloadMessage\x1a\x15.device.ImageDownload\"\x03\x88\x02\x01\x12U\n" +
62 "\x13CancelImageDownload\x12\".core_adapter.ImageDownloadMessage\x1a\x15.device.ImageDownload\"\x03\x88\x02\x01\x12U\n" +
63 "\x13ActivateImageUpdate\x12\".core_adapter.ImageDownloadMessage\x1a\x15.device.ImageDownload\"\x03\x88\x02\x01\x12S\n" +
64 "\x11RevertImageUpdate\x12\".core_adapter.ImageDownloadMessage\x1a\x15.device.ImageDownload\"\x03\x88\x02\x01\x12;\n" +
65 "\rStartOmciTest\x12\x16.core_adapter.OMCITest\x1a\x12.omci.TestResponse\x12J\n" +
66 "\rSimulateAlarm\x12\".core_adapter.SimulateAlarmMessage\x1a\x15.common.OperationResp\x12;\n" +
67 "\rSuppressEvent\x12\x12.event.EventFilter\x1a\x16.google.protobuf.Empty\x12=\n" +
68 "\x0fUnSuppressEvent\x12\x12.event.EventFilter\x1a\x16.google.protobuf.Empty\x12H\n" +
69 "\vGetExtValue\x12 .core_adapter.GetExtValueMessage\x1a\x17.extension.ReturnValues\x12G\n" +
70 "\vSetExtValue\x12 .core_adapter.SetExtValueMessage\x1a\x16.google.protobuf.Empty\x12U\n" +
71 "\x0eGetSingleValue\x12 .extension.SingleGetValueRequest\x1a!.extension.SingleGetValueResponse\x12U\n" +
72 "\x0eSetSingleValue\x12 .extension.SingleSetValueRequest\x1a!.extension.SingleSetValueResponse\x12:\n" +
73 "\x10DisableOnuDevice\x12\x0e.device.Device\x1a\x16.google.protobuf.Empty\x129\n" +
74 "\x0fEnableOnuDevice\x12\x0e.device.Device\x1a\x16.google.protobuf.Empty\x12Q\n" +
75 "\x16DisableOnuSerialNumber\x12\x1f.device.OnuSerialNumberOnOLTPon\x1a\x16.google.protobuf.Empty\x12P\n" +
76 "\x15EnableOnuSerialNumber\x12\x1f.device.OnuSerialNumberOnOLTPon\x1a\x16.google.protobuf.Empty\x12<\n" +
77 "\fUpdateDevice\x12\x14.device.UpdateDevice\x1a\x16.google.protobuf.EmptyBt\n" +
78 "#org.opencord.voltha.adapter_serviceB\x14VolthaAdapterServiceZ7github.com/opencord/voltha-protos/v5/go/adapter_serviceb\x06proto3"
khenaidoo4c6543e2021-10-19 17:25:58 -040079
Abhay Kumar03713392025-12-30 05:20:58 +000080var file_voltha_protos_adapter_service_proto_goTypes = []any{
81 (*common.Connection)(nil), // 0: common.Connection
82 (*voltha.Device)(nil), // 1: device.Device
83 (*voltha.Port)(nil), // 2: device.Port
84 (*core_adapter.BulkFlows)(nil), // 3: core_adapter.BulkFlows
85 (*core_adapter.IncrementalFlows)(nil), // 4: core_adapter.IncrementalFlows
86 (*core_adapter.PacketOut)(nil), // 5: core_adapter.PacketOut
87 (*core_adapter.PmConfigsInfo)(nil), // 6: core_adapter.PmConfigsInfo
88 (*voltha.DeviceImageDownloadRequest)(nil), // 7: device.DeviceImageDownloadRequest
89 (*voltha.DeviceImageRequest)(nil), // 8: device.DeviceImageRequest
90 (*common.ID)(nil), // 9: common.ID
91 (*core_adapter.ImageDownloadMessage)(nil), // 10: core_adapter.ImageDownloadMessage
92 (*core_adapter.OMCITest)(nil), // 11: core_adapter.OMCITest
93 (*core_adapter.SimulateAlarmMessage)(nil), // 12: core_adapter.SimulateAlarmMessage
94 (*voltha.EventFilter)(nil), // 13: event.EventFilter
95 (*core_adapter.GetExtValueMessage)(nil), // 14: core_adapter.GetExtValueMessage
96 (*core_adapter.SetExtValueMessage)(nil), // 15: core_adapter.SetExtValueMessage
97 (*extension.SingleGetValueRequest)(nil), // 16: extension.SingleGetValueRequest
98 (*extension.SingleSetValueRequest)(nil), // 17: extension.SingleSetValueRequest
99 (*voltha.OnuSerialNumberOnOLTPon)(nil), // 18: device.OnuSerialNumberOnOLTPon
100 (*voltha.UpdateDevice)(nil), // 19: device.UpdateDevice
101 (*health.HealthStatus)(nil), // 20: health.HealthStatus
102 (*emptypb.Empty)(nil), // 21: google.protobuf.Empty
103 (*core_adapter.SwitchCapability)(nil), // 22: core_adapter.SwitchCapability
104 (*voltha.DeviceImageResponse)(nil), // 23: device.DeviceImageResponse
105 (*voltha.OnuImages)(nil), // 24: device.OnuImages
106 (*voltha.ImageDownload)(nil), // 25: device.ImageDownload
107 (*omci.TestResponse)(nil), // 26: omci.TestResponse
108 (*common.OperationResp)(nil), // 27: common.OperationResp
109 (*extension.ReturnValues)(nil), // 28: extension.ReturnValues
110 (*extension.SingleGetValueResponse)(nil), // 29: extension.SingleGetValueResponse
111 (*extension.SingleSetValueResponse)(nil), // 30: extension.SingleSetValueResponse
khenaidoo4c6543e2021-10-19 17:25:58 -0400112}
Abhay Kumar03713392025-12-30 05:20:58 +0000113var file_voltha_protos_adapter_service_proto_depIdxs = []int32{
114 0, // 0: adapter_service.AdapterService.GetHealthStatus:input_type -> common.Connection
115 1, // 1: adapter_service.AdapterService.AdoptDevice:input_type -> device.Device
116 1, // 2: adapter_service.AdapterService.ReconcileDevice:input_type -> device.Device
117 1, // 3: adapter_service.AdapterService.DeleteDevice:input_type -> device.Device
118 1, // 4: adapter_service.AdapterService.DisableDevice:input_type -> device.Device
119 1, // 5: adapter_service.AdapterService.ReEnableDevice:input_type -> device.Device
120 1, // 6: adapter_service.AdapterService.RebootDevice:input_type -> device.Device
121 1, // 7: adapter_service.AdapterService.SelfTestDevice:input_type -> device.Device
122 1, // 8: adapter_service.AdapterService.GetOfpDeviceInfo:input_type -> device.Device
123 1, // 9: adapter_service.AdapterService.ChildDeviceLost:input_type -> device.Device
124 2, // 10: adapter_service.AdapterService.EnablePort:input_type -> device.Port
125 2, // 11: adapter_service.AdapterService.DisablePort:input_type -> device.Port
126 3, // 12: adapter_service.AdapterService.UpdateFlowsBulk:input_type -> core_adapter.BulkFlows
127 4, // 13: adapter_service.AdapterService.UpdateFlowsIncrementally:input_type -> core_adapter.IncrementalFlows
128 5, // 14: adapter_service.AdapterService.SendPacketOut:input_type -> core_adapter.PacketOut
129 6, // 15: adapter_service.AdapterService.UpdatePmConfig:input_type -> core_adapter.PmConfigsInfo
130 7, // 16: adapter_service.AdapterService.DownloadOnuImage:input_type -> device.DeviceImageDownloadRequest
131 8, // 17: adapter_service.AdapterService.GetOnuImageStatus:input_type -> device.DeviceImageRequest
132 8, // 18: adapter_service.AdapterService.AbortOnuImageUpgrade:input_type -> device.DeviceImageRequest
133 9, // 19: adapter_service.AdapterService.GetOnuImages:input_type -> common.ID
134 8, // 20: adapter_service.AdapterService.ActivateOnuImage:input_type -> device.DeviceImageRequest
135 8, // 21: adapter_service.AdapterService.CommitOnuImage:input_type -> device.DeviceImageRequest
136 10, // 22: adapter_service.AdapterService.DownloadImage:input_type -> core_adapter.ImageDownloadMessage
137 10, // 23: adapter_service.AdapterService.GetImageDownloadStatus:input_type -> core_adapter.ImageDownloadMessage
138 10, // 24: adapter_service.AdapterService.CancelImageDownload:input_type -> core_adapter.ImageDownloadMessage
139 10, // 25: adapter_service.AdapterService.ActivateImageUpdate:input_type -> core_adapter.ImageDownloadMessage
140 10, // 26: adapter_service.AdapterService.RevertImageUpdate:input_type -> core_adapter.ImageDownloadMessage
141 11, // 27: adapter_service.AdapterService.StartOmciTest:input_type -> core_adapter.OMCITest
142 12, // 28: adapter_service.AdapterService.SimulateAlarm:input_type -> core_adapter.SimulateAlarmMessage
143 13, // 29: adapter_service.AdapterService.SuppressEvent:input_type -> event.EventFilter
144 13, // 30: adapter_service.AdapterService.UnSuppressEvent:input_type -> event.EventFilter
145 14, // 31: adapter_service.AdapterService.GetExtValue:input_type -> core_adapter.GetExtValueMessage
146 15, // 32: adapter_service.AdapterService.SetExtValue:input_type -> core_adapter.SetExtValueMessage
147 16, // 33: adapter_service.AdapterService.GetSingleValue:input_type -> extension.SingleGetValueRequest
148 17, // 34: adapter_service.AdapterService.SetSingleValue:input_type -> extension.SingleSetValueRequest
149 1, // 35: adapter_service.AdapterService.DisableOnuDevice:input_type -> device.Device
150 1, // 36: adapter_service.AdapterService.EnableOnuDevice:input_type -> device.Device
151 18, // 37: adapter_service.AdapterService.DisableOnuSerialNumber:input_type -> device.OnuSerialNumberOnOLTPon
152 18, // 38: adapter_service.AdapterService.EnableOnuSerialNumber:input_type -> device.OnuSerialNumberOnOLTPon
153 19, // 39: adapter_service.AdapterService.UpdateDevice:input_type -> device.UpdateDevice
154 20, // 40: adapter_service.AdapterService.GetHealthStatus:output_type -> health.HealthStatus
155 21, // 41: adapter_service.AdapterService.AdoptDevice:output_type -> google.protobuf.Empty
156 21, // 42: adapter_service.AdapterService.ReconcileDevice:output_type -> google.protobuf.Empty
157 21, // 43: adapter_service.AdapterService.DeleteDevice:output_type -> google.protobuf.Empty
158 21, // 44: adapter_service.AdapterService.DisableDevice:output_type -> google.protobuf.Empty
159 21, // 45: adapter_service.AdapterService.ReEnableDevice:output_type -> google.protobuf.Empty
160 21, // 46: adapter_service.AdapterService.RebootDevice:output_type -> google.protobuf.Empty
161 21, // 47: adapter_service.AdapterService.SelfTestDevice:output_type -> google.protobuf.Empty
162 22, // 48: adapter_service.AdapterService.GetOfpDeviceInfo:output_type -> core_adapter.SwitchCapability
163 21, // 49: adapter_service.AdapterService.ChildDeviceLost:output_type -> google.protobuf.Empty
164 21, // 50: adapter_service.AdapterService.EnablePort:output_type -> google.protobuf.Empty
165 21, // 51: adapter_service.AdapterService.DisablePort:output_type -> google.protobuf.Empty
166 21, // 52: adapter_service.AdapterService.UpdateFlowsBulk:output_type -> google.protobuf.Empty
167 21, // 53: adapter_service.AdapterService.UpdateFlowsIncrementally:output_type -> google.protobuf.Empty
168 21, // 54: adapter_service.AdapterService.SendPacketOut:output_type -> google.protobuf.Empty
169 21, // 55: adapter_service.AdapterService.UpdatePmConfig:output_type -> google.protobuf.Empty
170 23, // 56: adapter_service.AdapterService.DownloadOnuImage:output_type -> device.DeviceImageResponse
171 23, // 57: adapter_service.AdapterService.GetOnuImageStatus:output_type -> device.DeviceImageResponse
172 23, // 58: adapter_service.AdapterService.AbortOnuImageUpgrade:output_type -> device.DeviceImageResponse
173 24, // 59: adapter_service.AdapterService.GetOnuImages:output_type -> device.OnuImages
174 23, // 60: adapter_service.AdapterService.ActivateOnuImage:output_type -> device.DeviceImageResponse
175 23, // 61: adapter_service.AdapterService.CommitOnuImage:output_type -> device.DeviceImageResponse
176 25, // 62: adapter_service.AdapterService.DownloadImage:output_type -> device.ImageDownload
177 25, // 63: adapter_service.AdapterService.GetImageDownloadStatus:output_type -> device.ImageDownload
178 25, // 64: adapter_service.AdapterService.CancelImageDownload:output_type -> device.ImageDownload
179 25, // 65: adapter_service.AdapterService.ActivateImageUpdate:output_type -> device.ImageDownload
180 25, // 66: adapter_service.AdapterService.RevertImageUpdate:output_type -> device.ImageDownload
181 26, // 67: adapter_service.AdapterService.StartOmciTest:output_type -> omci.TestResponse
182 27, // 68: adapter_service.AdapterService.SimulateAlarm:output_type -> common.OperationResp
183 21, // 69: adapter_service.AdapterService.SuppressEvent:output_type -> google.protobuf.Empty
184 21, // 70: adapter_service.AdapterService.UnSuppressEvent:output_type -> google.protobuf.Empty
185 28, // 71: adapter_service.AdapterService.GetExtValue:output_type -> extension.ReturnValues
186 21, // 72: adapter_service.AdapterService.SetExtValue:output_type -> google.protobuf.Empty
187 29, // 73: adapter_service.AdapterService.GetSingleValue:output_type -> extension.SingleGetValueResponse
188 30, // 74: adapter_service.AdapterService.SetSingleValue:output_type -> extension.SingleSetValueResponse
189 21, // 75: adapter_service.AdapterService.DisableOnuDevice:output_type -> google.protobuf.Empty
190 21, // 76: adapter_service.AdapterService.EnableOnuDevice:output_type -> google.protobuf.Empty
191 21, // 77: adapter_service.AdapterService.DisableOnuSerialNumber:output_type -> google.protobuf.Empty
192 21, // 78: adapter_service.AdapterService.EnableOnuSerialNumber:output_type -> google.protobuf.Empty
193 21, // 79: adapter_service.AdapterService.UpdateDevice:output_type -> google.protobuf.Empty
194 40, // [40:80] is the sub-list for method output_type
195 0, // [0:40] is the sub-list for method input_type
196 0, // [0:0] is the sub-list for extension type_name
197 0, // [0:0] is the sub-list for extension extendee
198 0, // [0:0] is the sub-list for field type_name
khenaidoo4c6543e2021-10-19 17:25:58 -0400199}
200
Abhay Kumar03713392025-12-30 05:20:58 +0000201func init() { file_voltha_protos_adapter_service_proto_init() }
202func file_voltha_protos_adapter_service_proto_init() {
203 if File_voltha_protos_adapter_service_proto != nil {
204 return
khenaidoo4c6543e2021-10-19 17:25:58 -0400205 }
Abhay Kumar03713392025-12-30 05:20:58 +0000206 type x struct{}
207 out := protoimpl.TypeBuilder{
208 File: protoimpl.DescBuilder{
209 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
210 RawDescriptor: unsafe.Slice(unsafe.StringData(file_voltha_protos_adapter_service_proto_rawDesc), len(file_voltha_protos_adapter_service_proto_rawDesc)),
211 NumEnums: 0,
212 NumMessages: 0,
213 NumExtensions: 0,
214 NumServices: 1,
khenaidoo4c6543e2021-10-19 17:25:58 -0400215 },
Abhay Kumar03713392025-12-30 05:20:58 +0000216 GoTypes: file_voltha_protos_adapter_service_proto_goTypes,
217 DependencyIndexes: file_voltha_protos_adapter_service_proto_depIdxs,
218 }.Build()
219 File_voltha_protos_adapter_service_proto = out.File
220 file_voltha_protos_adapter_service_proto_goTypes = nil
221 file_voltha_protos_adapter_service_proto_depIdxs = nil
khenaidoo4c6543e2021-10-19 17:25:58 -0400222}