blob: bd962dcb227e241d312428fcb182b91ca97b153e [file] [log] [blame]
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/extensions.proto
3
4package extension
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
kesavand763d8002021-01-04 16:24:42 +053010 empty "github.com/golang/protobuf/ptypes/empty"
amit.ghosh9f6af0e2020-11-04 14:09:25 +010011 config "github.com/opencord/voltha-protos/v4/go/ext/config"
12 grpc "google.golang.org/grpc"
David K. Bainbridgec4bf5382021-04-08 16:06:54 +000013 codes "google.golang.org/grpc/codes"
14 status "google.golang.org/grpc/status"
amit.ghosh9f6af0e2020-11-04 14:09:25 +010015 math "math"
16)
17
18// Reference imports to suppress errors if they are not otherwise used.
19var _ = proto.Marshal
20var _ = fmt.Errorf
21var _ = math.Inf
22
23// This is a compile-time assertion to ensure that this generated file
24// is compatible with the proto package it is being compiled against.
25// A compilation error at this line likely means your copy of the
26// proto package needs to be updated.
27const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
28
29// AlarmConfig from public import voltha_protos/ext_config.proto
30type AlarmConfig = config.AlarmConfig
31type AlarmConfig_OnuItuPonAlarmConfig = config.AlarmConfig_OnuItuPonAlarmConfig
32
33// OnuItuPonAlarm from public import voltha_protos/ext_config.proto
34type OnuItuPonAlarm = config.OnuItuPonAlarm
35type OnuItuPonAlarm_RateThresholdConfig_ = config.OnuItuPonAlarm_RateThresholdConfig_
36type OnuItuPonAlarm_RateRangeConfig_ = config.OnuItuPonAlarm_RateRangeConfig_
37type OnuItuPonAlarm_ValueThresholdConfig_ = config.OnuItuPonAlarm_ValueThresholdConfig_
38
39// OnuItuPonAlarm_SoakTime from public import voltha_protos/ext_config.proto
40type OnuItuPonAlarm_SoakTime = config.OnuItuPonAlarm_SoakTime
41
42// OnuItuPonAlarm_RateThresholdConfig from public import voltha_protos/ext_config.proto
43type OnuItuPonAlarm_RateThresholdConfig = config.OnuItuPonAlarm_RateThresholdConfig
44
45// OnuItuPonAlarm_RateRangeConfig from public import voltha_protos/ext_config.proto
46type OnuItuPonAlarm_RateRangeConfig = config.OnuItuPonAlarm_RateRangeConfig
47
48// OnuItuPonAlarm_ValueThresholdConfig from public import voltha_protos/ext_config.proto
49type OnuItuPonAlarm_ValueThresholdConfig = config.OnuItuPonAlarm_ValueThresholdConfig
50
51// OnuItuPonAlarm_AlarmID from public import voltha_protos/ext_config.proto
52type OnuItuPonAlarm_AlarmID = config.OnuItuPonAlarm_AlarmID
53
54var OnuItuPonAlarm_AlarmID_name = config.OnuItuPonAlarm_AlarmID_name
55var OnuItuPonAlarm_AlarmID_value = config.OnuItuPonAlarm_AlarmID_value
56
57const OnuItuPonAlarm_RDI_ERRORS = OnuItuPonAlarm_AlarmID(config.OnuItuPonAlarm_RDI_ERRORS)
58
59// OnuItuPonAlarm_AlarmReportingCondition from public import voltha_protos/ext_config.proto
60type OnuItuPonAlarm_AlarmReportingCondition = config.OnuItuPonAlarm_AlarmReportingCondition
61
62var OnuItuPonAlarm_AlarmReportingCondition_name = config.OnuItuPonAlarm_AlarmReportingCondition_name
63var OnuItuPonAlarm_AlarmReportingCondition_value = config.OnuItuPonAlarm_AlarmReportingCondition_value
64
65const OnuItuPonAlarm_RATE_THRESHOLD = OnuItuPonAlarm_AlarmReportingCondition(config.OnuItuPonAlarm_RATE_THRESHOLD)
66const OnuItuPonAlarm_RATE_RANGE = OnuItuPonAlarm_AlarmReportingCondition(config.OnuItuPonAlarm_RATE_RANGE)
67const OnuItuPonAlarm_VALUE_THRESHOLD = OnuItuPonAlarm_AlarmReportingCondition(config.OnuItuPonAlarm_VALUE_THRESHOLD)
68
69type GetOnuUniInfoResponse_ConfigurationInd int32
70
71const (
72 GetOnuUniInfoResponse_UNKOWN GetOnuUniInfoResponse_ConfigurationInd = 0
73 GetOnuUniInfoResponse_TEN_BASE_T_FDX GetOnuUniInfoResponse_ConfigurationInd = 1
74 GetOnuUniInfoResponse_HUNDRED_BASE_T_FDX GetOnuUniInfoResponse_ConfigurationInd = 2
75 GetOnuUniInfoResponse_GIGABIT_ETHERNET_FDX GetOnuUniInfoResponse_ConfigurationInd = 3
76 GetOnuUniInfoResponse_TEN_G_ETHERNET_FDX GetOnuUniInfoResponse_ConfigurationInd = 4
77 GetOnuUniInfoResponse_TEN_BASE_T_HDX GetOnuUniInfoResponse_ConfigurationInd = 5
78 GetOnuUniInfoResponse_HUNDRED_BASE_T_HDX GetOnuUniInfoResponse_ConfigurationInd = 6
79 GetOnuUniInfoResponse_GIGABIT_ETHERNET_HDX GetOnuUniInfoResponse_ConfigurationInd = 7
80)
81
82var GetOnuUniInfoResponse_ConfigurationInd_name = map[int32]string{
83 0: "UNKOWN",
84 1: "TEN_BASE_T_FDX",
85 2: "HUNDRED_BASE_T_FDX",
86 3: "GIGABIT_ETHERNET_FDX",
87 4: "TEN_G_ETHERNET_FDX",
88 5: "TEN_BASE_T_HDX",
89 6: "HUNDRED_BASE_T_HDX",
90 7: "GIGABIT_ETHERNET_HDX",
91}
92
93var GetOnuUniInfoResponse_ConfigurationInd_value = map[string]int32{
94 "UNKOWN": 0,
95 "TEN_BASE_T_FDX": 1,
96 "HUNDRED_BASE_T_FDX": 2,
97 "GIGABIT_ETHERNET_FDX": 3,
98 "TEN_G_ETHERNET_FDX": 4,
99 "TEN_BASE_T_HDX": 5,
100 "HUNDRED_BASE_T_HDX": 6,
101 "GIGABIT_ETHERNET_HDX": 7,
102}
103
104func (x GetOnuUniInfoResponse_ConfigurationInd) String() string {
105 return proto.EnumName(GetOnuUniInfoResponse_ConfigurationInd_name, int32(x))
106}
107
108func (GetOnuUniInfoResponse_ConfigurationInd) EnumDescriptor() ([]byte, []int) {
109 return fileDescriptor_7ecf6e9799a9202d, []int{3, 0}
110}
111
112type GetOnuUniInfoResponse_AdministrativeState int32
113
114const (
115 GetOnuUniInfoResponse_ADMSTATE_UNDEFINED GetOnuUniInfoResponse_AdministrativeState = 0
116 GetOnuUniInfoResponse_LOCKED GetOnuUniInfoResponse_AdministrativeState = 1
117 GetOnuUniInfoResponse_UNLOCKED GetOnuUniInfoResponse_AdministrativeState = 2
118)
119
120var GetOnuUniInfoResponse_AdministrativeState_name = map[int32]string{
121 0: "ADMSTATE_UNDEFINED",
122 1: "LOCKED",
123 2: "UNLOCKED",
124}
125
126var GetOnuUniInfoResponse_AdministrativeState_value = map[string]int32{
127 "ADMSTATE_UNDEFINED": 0,
128 "LOCKED": 1,
129 "UNLOCKED": 2,
130}
131
132func (x GetOnuUniInfoResponse_AdministrativeState) String() string {
133 return proto.EnumName(GetOnuUniInfoResponse_AdministrativeState_name, int32(x))
134}
135
136func (GetOnuUniInfoResponse_AdministrativeState) EnumDescriptor() ([]byte, []int) {
137 return fileDescriptor_7ecf6e9799a9202d, []int{3, 1}
138}
139
140type GetOnuUniInfoResponse_OperationalState int32
141
142const (
143 GetOnuUniInfoResponse_OPERSTATE_UNDEFINED GetOnuUniInfoResponse_OperationalState = 0
144 GetOnuUniInfoResponse_ENABLED GetOnuUniInfoResponse_OperationalState = 1
145 GetOnuUniInfoResponse_DISABLED GetOnuUniInfoResponse_OperationalState = 2
146)
147
148var GetOnuUniInfoResponse_OperationalState_name = map[int32]string{
149 0: "OPERSTATE_UNDEFINED",
150 1: "ENABLED",
151 2: "DISABLED",
152}
153
154var GetOnuUniInfoResponse_OperationalState_value = map[string]int32{
155 "OPERSTATE_UNDEFINED": 0,
156 "ENABLED": 1,
157 "DISABLED": 2,
158}
159
160func (x GetOnuUniInfoResponse_OperationalState) String() string {
161 return proto.EnumName(GetOnuUniInfoResponse_OperationalState_name, int32(x))
162}
163
164func (GetOnuUniInfoResponse_OperationalState) EnumDescriptor() ([]byte, []int) {
165 return fileDescriptor_7ecf6e9799a9202d, []int{3, 2}
166}
167
kesavand763d8002021-01-04 16:24:42 +0530168type GetOltPortCounters_PortType int32
169
170const (
171 GetOltPortCounters_Port_UNKNOWN GetOltPortCounters_PortType = 0
172 GetOltPortCounters_Port_ETHERNET_NNI GetOltPortCounters_PortType = 1
173 GetOltPortCounters_Port_PON_OLT GetOltPortCounters_PortType = 2
174)
175
176var GetOltPortCounters_PortType_name = map[int32]string{
177 0: "Port_UNKNOWN",
178 1: "Port_ETHERNET_NNI",
179 2: "Port_PON_OLT",
180}
181
182var GetOltPortCounters_PortType_value = map[string]int32{
183 "Port_UNKNOWN": 0,
184 "Port_ETHERNET_NNI": 1,
185 "Port_PON_OLT": 2,
186}
187
188func (x GetOltPortCounters_PortType) String() string {
189 return proto.EnumName(GetOltPortCounters_PortType_name, int32(x))
190}
191
192func (GetOltPortCounters_PortType) EnumDescriptor() ([]byte, []int) {
193 return fileDescriptor_7ecf6e9799a9202d, []int{4, 0}
194}
195
196type GetOnuEthernetBridgePortHistory_Direction int32
197
198const (
199 GetOnuEthernetBridgePortHistory_UNDEFINED GetOnuEthernetBridgePortHistory_Direction = 0
200 GetOnuEthernetBridgePortHistory_UPSTREAM GetOnuEthernetBridgePortHistory_Direction = 1
201 GetOnuEthernetBridgePortHistory_DOWNSTREAM GetOnuEthernetBridgePortHistory_Direction = 2
202)
203
204var GetOnuEthernetBridgePortHistory_Direction_name = map[int32]string{
205 0: "UNDEFINED",
206 1: "UPSTREAM",
207 2: "DOWNSTREAM",
208}
209
210var GetOnuEthernetBridgePortHistory_Direction_value = map[string]int32{
211 "UNDEFINED": 0,
212 "UPSTREAM": 1,
213 "DOWNSTREAM": 2,
214}
215
216func (x GetOnuEthernetBridgePortHistory_Direction) String() string {
217 return proto.EnumName(GetOnuEthernetBridgePortHistory_Direction_name, int32(x))
218}
219
220func (GetOnuEthernetBridgePortHistory_Direction) EnumDescriptor() ([]byte, []int) {
221 return fileDescriptor_7ecf6e9799a9202d, []int{8, 0}
222}
223
amit.ghosh9f6af0e2020-11-04 14:09:25 +0100224type GetValueResponse_Status int32
225
226const (
227 GetValueResponse_STATUS_UNDEFINED GetValueResponse_Status = 0
228 GetValueResponse_OK GetValueResponse_Status = 1
229 GetValueResponse_ERROR GetValueResponse_Status = 2
230)
231
232var GetValueResponse_Status_name = map[int32]string{
233 0: "STATUS_UNDEFINED",
234 1: "OK",
235 2: "ERROR",
236}
237
238var GetValueResponse_Status_value = map[string]int32{
239 "STATUS_UNDEFINED": 0,
240 "OK": 1,
241 "ERROR": 2,
242}
243
244func (x GetValueResponse_Status) String() string {
245 return proto.EnumName(GetValueResponse_Status_name, int32(x))
246}
247
248func (GetValueResponse_Status) EnumDescriptor() ([]byte, []int) {
kesavand763d8002021-01-04 16:24:42 +0530249 return fileDescriptor_7ecf6e9799a9202d, []int{13, 0}
amit.ghosh9f6af0e2020-11-04 14:09:25 +0100250}
251
252type GetValueResponse_ErrorReason int32
253
254const (
kesavand763d8002021-01-04 16:24:42 +0530255 GetValueResponse_REASON_UNDEFINED GetValueResponse_ErrorReason = 0
256 GetValueResponse_UNSUPPORTED GetValueResponse_ErrorReason = 1
257 GetValueResponse_INVALID_DEVICE_ID GetValueResponse_ErrorReason = 2
258 GetValueResponse_INVALID_PORT_TYPE GetValueResponse_ErrorReason = 3
259 GetValueResponse_TIMEOUT GetValueResponse_ErrorReason = 4
260 GetValueResponse_INVALID_REQ_TYPE GetValueResponse_ErrorReason = 5
261 GetValueResponse_INTERNAL_ERROR GetValueResponse_ErrorReason = 6
amit.ghosh9f6af0e2020-11-04 14:09:25 +0100262)
263
264var GetValueResponse_ErrorReason_name = map[int32]string{
265 0: "REASON_UNDEFINED",
266 1: "UNSUPPORTED",
kesavand763d8002021-01-04 16:24:42 +0530267 2: "INVALID_DEVICE_ID",
268 3: "INVALID_PORT_TYPE",
269 4: "TIMEOUT",
270 5: "INVALID_REQ_TYPE",
271 6: "INTERNAL_ERROR",
amit.ghosh9f6af0e2020-11-04 14:09:25 +0100272}
273
274var GetValueResponse_ErrorReason_value = map[string]int32{
kesavand763d8002021-01-04 16:24:42 +0530275 "REASON_UNDEFINED": 0,
276 "UNSUPPORTED": 1,
277 "INVALID_DEVICE_ID": 2,
278 "INVALID_PORT_TYPE": 3,
279 "TIMEOUT": 4,
280 "INVALID_REQ_TYPE": 5,
281 "INTERNAL_ERROR": 6,
amit.ghosh9f6af0e2020-11-04 14:09:25 +0100282}
283
284func (x GetValueResponse_ErrorReason) String() string {
285 return proto.EnumName(GetValueResponse_ErrorReason_name, int32(x))
286}
287
288func (GetValueResponse_ErrorReason) EnumDescriptor() ([]byte, []int) {
kesavand763d8002021-01-04 16:24:42 +0530289 return fileDescriptor_7ecf6e9799a9202d, []int{13, 1}
amit.ghosh9f6af0e2020-11-04 14:09:25 +0100290}
291
292type SetValueResponse_Status int32
293
294const (
295 SetValueResponse_STATUS_UNDEFINED SetValueResponse_Status = 0
296 SetValueResponse_OK SetValueResponse_Status = 1
297 SetValueResponse_ERROR SetValueResponse_Status = 2
298)
299
300var SetValueResponse_Status_name = map[int32]string{
301 0: "STATUS_UNDEFINED",
302 1: "OK",
303 2: "ERROR",
304}
305
306var SetValueResponse_Status_value = map[string]int32{
307 "STATUS_UNDEFINED": 0,
308 "OK": 1,
309 "ERROR": 2,
310}
311
312func (x SetValueResponse_Status) String() string {
313 return proto.EnumName(SetValueResponse_Status_name, int32(x))
314}
315
316func (SetValueResponse_Status) EnumDescriptor() ([]byte, []int) {
kesavand763d8002021-01-04 16:24:42 +0530317 return fileDescriptor_7ecf6e9799a9202d, []int{15, 0}
amit.ghosh9f6af0e2020-11-04 14:09:25 +0100318}
319
320type SetValueResponse_ErrorReason int32
321
322const (
323 SetValueResponse_REASON_UNDEFINED SetValueResponse_ErrorReason = 0
324 SetValueResponse_UNSUPPORTED SetValueResponse_ErrorReason = 1
325)
326
327var SetValueResponse_ErrorReason_name = map[int32]string{
328 0: "REASON_UNDEFINED",
329 1: "UNSUPPORTED",
330}
331
332var SetValueResponse_ErrorReason_value = map[string]int32{
333 "REASON_UNDEFINED": 0,
334 "UNSUPPORTED": 1,
335}
336
337func (x SetValueResponse_ErrorReason) String() string {
338 return proto.EnumName(SetValueResponse_ErrorReason_name, int32(x))
339}
340
341func (SetValueResponse_ErrorReason) EnumDescriptor() ([]byte, []int) {
kesavand763d8002021-01-04 16:24:42 +0530342 return fileDescriptor_7ecf6e9799a9202d, []int{15, 1}
amit.ghosh9f6af0e2020-11-04 14:09:25 +0100343}
344
345type GetDistanceRequest struct {
346 OnuDeviceId string `protobuf:"bytes,1,opt,name=onuDeviceId,proto3" json:"onuDeviceId,omitempty"`
347 XXX_NoUnkeyedLiteral struct{} `json:"-"`
348 XXX_unrecognized []byte `json:"-"`
349 XXX_sizecache int32 `json:"-"`
350}
351
352func (m *GetDistanceRequest) Reset() { *m = GetDistanceRequest{} }
353func (m *GetDistanceRequest) String() string { return proto.CompactTextString(m) }
354func (*GetDistanceRequest) ProtoMessage() {}
355func (*GetDistanceRequest) Descriptor() ([]byte, []int) {
356 return fileDescriptor_7ecf6e9799a9202d, []int{0}
357}
358
359func (m *GetDistanceRequest) XXX_Unmarshal(b []byte) error {
360 return xxx_messageInfo_GetDistanceRequest.Unmarshal(m, b)
361}
362func (m *GetDistanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
363 return xxx_messageInfo_GetDistanceRequest.Marshal(b, m, deterministic)
364}
365func (m *GetDistanceRequest) XXX_Merge(src proto.Message) {
366 xxx_messageInfo_GetDistanceRequest.Merge(m, src)
367}
368func (m *GetDistanceRequest) XXX_Size() int {
369 return xxx_messageInfo_GetDistanceRequest.Size(m)
370}
371func (m *GetDistanceRequest) XXX_DiscardUnknown() {
372 xxx_messageInfo_GetDistanceRequest.DiscardUnknown(m)
373}
374
375var xxx_messageInfo_GetDistanceRequest proto.InternalMessageInfo
376
377func (m *GetDistanceRequest) GetOnuDeviceId() string {
378 if m != nil {
379 return m.OnuDeviceId
380 }
381 return ""
382}
383
384type GetDistanceResponse struct {
385 Distance uint32 `protobuf:"varint,1,opt,name=distance,proto3" json:"distance,omitempty"`
386 XXX_NoUnkeyedLiteral struct{} `json:"-"`
387 XXX_unrecognized []byte `json:"-"`
388 XXX_sizecache int32 `json:"-"`
389}
390
391func (m *GetDistanceResponse) Reset() { *m = GetDistanceResponse{} }
392func (m *GetDistanceResponse) String() string { return proto.CompactTextString(m) }
393func (*GetDistanceResponse) ProtoMessage() {}
394func (*GetDistanceResponse) Descriptor() ([]byte, []int) {
395 return fileDescriptor_7ecf6e9799a9202d, []int{1}
396}
397
398func (m *GetDistanceResponse) XXX_Unmarshal(b []byte) error {
399 return xxx_messageInfo_GetDistanceResponse.Unmarshal(m, b)
400}
401func (m *GetDistanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
402 return xxx_messageInfo_GetDistanceResponse.Marshal(b, m, deterministic)
403}
404func (m *GetDistanceResponse) XXX_Merge(src proto.Message) {
405 xxx_messageInfo_GetDistanceResponse.Merge(m, src)
406}
407func (m *GetDistanceResponse) XXX_Size() int {
408 return xxx_messageInfo_GetDistanceResponse.Size(m)
409}
410func (m *GetDistanceResponse) XXX_DiscardUnknown() {
411 xxx_messageInfo_GetDistanceResponse.DiscardUnknown(m)
412}
413
414var xxx_messageInfo_GetDistanceResponse proto.InternalMessageInfo
415
416func (m *GetDistanceResponse) GetDistance() uint32 {
417 if m != nil {
418 return m.Distance
419 }
420 return 0
421}
422
423type GetOnuUniInfoRequest struct {
424 UniIndex uint32 `protobuf:"varint,1,opt,name=uniIndex,proto3" json:"uniIndex,omitempty"`
425 XXX_NoUnkeyedLiteral struct{} `json:"-"`
426 XXX_unrecognized []byte `json:"-"`
427 XXX_sizecache int32 `json:"-"`
428}
429
430func (m *GetOnuUniInfoRequest) Reset() { *m = GetOnuUniInfoRequest{} }
431func (m *GetOnuUniInfoRequest) String() string { return proto.CompactTextString(m) }
432func (*GetOnuUniInfoRequest) ProtoMessage() {}
433func (*GetOnuUniInfoRequest) Descriptor() ([]byte, []int) {
434 return fileDescriptor_7ecf6e9799a9202d, []int{2}
435}
436
437func (m *GetOnuUniInfoRequest) XXX_Unmarshal(b []byte) error {
438 return xxx_messageInfo_GetOnuUniInfoRequest.Unmarshal(m, b)
439}
440func (m *GetOnuUniInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
441 return xxx_messageInfo_GetOnuUniInfoRequest.Marshal(b, m, deterministic)
442}
443func (m *GetOnuUniInfoRequest) XXX_Merge(src proto.Message) {
444 xxx_messageInfo_GetOnuUniInfoRequest.Merge(m, src)
445}
446func (m *GetOnuUniInfoRequest) XXX_Size() int {
447 return xxx_messageInfo_GetOnuUniInfoRequest.Size(m)
448}
449func (m *GetOnuUniInfoRequest) XXX_DiscardUnknown() {
450 xxx_messageInfo_GetOnuUniInfoRequest.DiscardUnknown(m)
451}
452
453var xxx_messageInfo_GetOnuUniInfoRequest proto.InternalMessageInfo
454
455func (m *GetOnuUniInfoRequest) GetUniIndex() uint32 {
456 if m != nil {
457 return m.UniIndex
458 }
459 return 0
460}
461
462type GetOnuUniInfoResponse struct {
463 AdmState GetOnuUniInfoResponse_AdministrativeState `protobuf:"varint,1,opt,name=admState,proto3,enum=extension.GetOnuUniInfoResponse_AdministrativeState" json:"admState,omitempty"`
464 OperState GetOnuUniInfoResponse_OperationalState `protobuf:"varint,2,opt,name=operState,proto3,enum=extension.GetOnuUniInfoResponse_OperationalState" json:"operState,omitempty"`
465 ConfigInd GetOnuUniInfoResponse_ConfigurationInd `protobuf:"varint,3,opt,name=configInd,proto3,enum=extension.GetOnuUniInfoResponse_ConfigurationInd" json:"configInd,omitempty"`
466 XXX_NoUnkeyedLiteral struct{} `json:"-"`
467 XXX_unrecognized []byte `json:"-"`
468 XXX_sizecache int32 `json:"-"`
469}
470
471func (m *GetOnuUniInfoResponse) Reset() { *m = GetOnuUniInfoResponse{} }
472func (m *GetOnuUniInfoResponse) String() string { return proto.CompactTextString(m) }
473func (*GetOnuUniInfoResponse) ProtoMessage() {}
474func (*GetOnuUniInfoResponse) Descriptor() ([]byte, []int) {
475 return fileDescriptor_7ecf6e9799a9202d, []int{3}
476}
477
478func (m *GetOnuUniInfoResponse) XXX_Unmarshal(b []byte) error {
479 return xxx_messageInfo_GetOnuUniInfoResponse.Unmarshal(m, b)
480}
481func (m *GetOnuUniInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
482 return xxx_messageInfo_GetOnuUniInfoResponse.Marshal(b, m, deterministic)
483}
484func (m *GetOnuUniInfoResponse) XXX_Merge(src proto.Message) {
485 xxx_messageInfo_GetOnuUniInfoResponse.Merge(m, src)
486}
487func (m *GetOnuUniInfoResponse) XXX_Size() int {
488 return xxx_messageInfo_GetOnuUniInfoResponse.Size(m)
489}
490func (m *GetOnuUniInfoResponse) XXX_DiscardUnknown() {
491 xxx_messageInfo_GetOnuUniInfoResponse.DiscardUnknown(m)
492}
493
494var xxx_messageInfo_GetOnuUniInfoResponse proto.InternalMessageInfo
495
496func (m *GetOnuUniInfoResponse) GetAdmState() GetOnuUniInfoResponse_AdministrativeState {
497 if m != nil {
498 return m.AdmState
499 }
500 return GetOnuUniInfoResponse_ADMSTATE_UNDEFINED
501}
502
503func (m *GetOnuUniInfoResponse) GetOperState() GetOnuUniInfoResponse_OperationalState {
504 if m != nil {
505 return m.OperState
506 }
507 return GetOnuUniInfoResponse_OPERSTATE_UNDEFINED
508}
509
510func (m *GetOnuUniInfoResponse) GetConfigInd() GetOnuUniInfoResponse_ConfigurationInd {
511 if m != nil {
512 return m.ConfigInd
513 }
514 return GetOnuUniInfoResponse_UNKOWN
515}
516
kesavand763d8002021-01-04 16:24:42 +0530517type GetOltPortCounters struct {
518 PortNo uint32 `protobuf:"varint,1,opt,name=portNo,proto3" json:"portNo,omitempty"`
519 PortType GetOltPortCounters_PortType `protobuf:"varint,2,opt,name=portType,proto3,enum=extension.GetOltPortCounters_PortType" json:"portType,omitempty"`
520 XXX_NoUnkeyedLiteral struct{} `json:"-"`
521 XXX_unrecognized []byte `json:"-"`
522 XXX_sizecache int32 `json:"-"`
523}
524
525func (m *GetOltPortCounters) Reset() { *m = GetOltPortCounters{} }
526func (m *GetOltPortCounters) String() string { return proto.CompactTextString(m) }
527func (*GetOltPortCounters) ProtoMessage() {}
528func (*GetOltPortCounters) Descriptor() ([]byte, []int) {
529 return fileDescriptor_7ecf6e9799a9202d, []int{4}
530}
531
532func (m *GetOltPortCounters) XXX_Unmarshal(b []byte) error {
533 return xxx_messageInfo_GetOltPortCounters.Unmarshal(m, b)
534}
535func (m *GetOltPortCounters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
536 return xxx_messageInfo_GetOltPortCounters.Marshal(b, m, deterministic)
537}
538func (m *GetOltPortCounters) XXX_Merge(src proto.Message) {
539 xxx_messageInfo_GetOltPortCounters.Merge(m, src)
540}
541func (m *GetOltPortCounters) XXX_Size() int {
542 return xxx_messageInfo_GetOltPortCounters.Size(m)
543}
544func (m *GetOltPortCounters) XXX_DiscardUnknown() {
545 xxx_messageInfo_GetOltPortCounters.DiscardUnknown(m)
546}
547
548var xxx_messageInfo_GetOltPortCounters proto.InternalMessageInfo
549
550func (m *GetOltPortCounters) GetPortNo() uint32 {
551 if m != nil {
552 return m.PortNo
553 }
554 return 0
555}
556
557func (m *GetOltPortCounters) GetPortType() GetOltPortCounters_PortType {
558 if m != nil {
559 return m.PortType
560 }
561 return GetOltPortCounters_Port_UNKNOWN
562}
563
564type GetOltPortCountersResponse struct {
565 TxBytes uint64 `protobuf:"varint,1,opt,name=txBytes,proto3" json:"txBytes,omitempty"`
566 RxBytes uint64 `protobuf:"varint,2,opt,name=rxBytes,proto3" json:"rxBytes,omitempty"`
567 TxPackets uint64 `protobuf:"varint,3,opt,name=txPackets,proto3" json:"txPackets,omitempty"`
568 RxPackets uint64 `protobuf:"varint,4,opt,name=rxPackets,proto3" json:"rxPackets,omitempty"`
569 TxErrorPackets uint64 `protobuf:"varint,5,opt,name=txErrorPackets,proto3" json:"txErrorPackets,omitempty"`
570 RxErrorPackets uint64 `protobuf:"varint,6,opt,name=rxErrorPackets,proto3" json:"rxErrorPackets,omitempty"`
571 TxBcastPackets uint64 `protobuf:"varint,7,opt,name=txBcastPackets,proto3" json:"txBcastPackets,omitempty"`
572 RxBcastPackets uint64 `protobuf:"varint,8,opt,name=rxBcastPackets,proto3" json:"rxBcastPackets,omitempty"`
573 TxUcastPackets uint64 `protobuf:"varint,9,opt,name=txUcastPackets,proto3" json:"txUcastPackets,omitempty"`
574 RxUcastPackets uint64 `protobuf:"varint,10,opt,name=rxUcastPackets,proto3" json:"rxUcastPackets,omitempty"`
575 TxMcastPackets uint64 `protobuf:"varint,11,opt,name=txMcastPackets,proto3" json:"txMcastPackets,omitempty"`
576 RxMcastPackets uint64 `protobuf:"varint,12,opt,name=rxMcastPackets,proto3" json:"rxMcastPackets,omitempty"`
577 XXX_NoUnkeyedLiteral struct{} `json:"-"`
578 XXX_unrecognized []byte `json:"-"`
579 XXX_sizecache int32 `json:"-"`
580}
581
582func (m *GetOltPortCountersResponse) Reset() { *m = GetOltPortCountersResponse{} }
583func (m *GetOltPortCountersResponse) String() string { return proto.CompactTextString(m) }
584func (*GetOltPortCountersResponse) ProtoMessage() {}
585func (*GetOltPortCountersResponse) Descriptor() ([]byte, []int) {
586 return fileDescriptor_7ecf6e9799a9202d, []int{5}
587}
588
589func (m *GetOltPortCountersResponse) XXX_Unmarshal(b []byte) error {
590 return xxx_messageInfo_GetOltPortCountersResponse.Unmarshal(m, b)
591}
592func (m *GetOltPortCountersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
593 return xxx_messageInfo_GetOltPortCountersResponse.Marshal(b, m, deterministic)
594}
595func (m *GetOltPortCountersResponse) XXX_Merge(src proto.Message) {
596 xxx_messageInfo_GetOltPortCountersResponse.Merge(m, src)
597}
598func (m *GetOltPortCountersResponse) XXX_Size() int {
599 return xxx_messageInfo_GetOltPortCountersResponse.Size(m)
600}
601func (m *GetOltPortCountersResponse) XXX_DiscardUnknown() {
602 xxx_messageInfo_GetOltPortCountersResponse.DiscardUnknown(m)
603}
604
605var xxx_messageInfo_GetOltPortCountersResponse proto.InternalMessageInfo
606
607func (m *GetOltPortCountersResponse) GetTxBytes() uint64 {
608 if m != nil {
609 return m.TxBytes
610 }
611 return 0
612}
613
614func (m *GetOltPortCountersResponse) GetRxBytes() uint64 {
615 if m != nil {
616 return m.RxBytes
617 }
618 return 0
619}
620
621func (m *GetOltPortCountersResponse) GetTxPackets() uint64 {
622 if m != nil {
623 return m.TxPackets
624 }
625 return 0
626}
627
628func (m *GetOltPortCountersResponse) GetRxPackets() uint64 {
629 if m != nil {
630 return m.RxPackets
631 }
632 return 0
633}
634
635func (m *GetOltPortCountersResponse) GetTxErrorPackets() uint64 {
636 if m != nil {
637 return m.TxErrorPackets
638 }
639 return 0
640}
641
642func (m *GetOltPortCountersResponse) GetRxErrorPackets() uint64 {
643 if m != nil {
644 return m.RxErrorPackets
645 }
646 return 0
647}
648
649func (m *GetOltPortCountersResponse) GetTxBcastPackets() uint64 {
650 if m != nil {
651 return m.TxBcastPackets
652 }
653 return 0
654}
655
656func (m *GetOltPortCountersResponse) GetRxBcastPackets() uint64 {
657 if m != nil {
658 return m.RxBcastPackets
659 }
660 return 0
661}
662
663func (m *GetOltPortCountersResponse) GetTxUcastPackets() uint64 {
664 if m != nil {
665 return m.TxUcastPackets
666 }
667 return 0
668}
669
670func (m *GetOltPortCountersResponse) GetRxUcastPackets() uint64 {
671 if m != nil {
672 return m.RxUcastPackets
673 }
674 return 0
675}
676
677func (m *GetOltPortCountersResponse) GetTxMcastPackets() uint64 {
678 if m != nil {
679 return m.TxMcastPackets
680 }
681 return 0
682}
683
684func (m *GetOltPortCountersResponse) GetRxMcastPackets() uint64 {
685 if m != nil {
686 return m.RxMcastPackets
687 }
688 return 0
689}
690
691type GetOnuPonOpticalInfo struct {
692 Empty *empty.Empty `protobuf:"bytes,1,opt,name=empty,proto3" json:"empty,omitempty"`
693 XXX_NoUnkeyedLiteral struct{} `json:"-"`
694 XXX_unrecognized []byte `json:"-"`
695 XXX_sizecache int32 `json:"-"`
696}
697
698func (m *GetOnuPonOpticalInfo) Reset() { *m = GetOnuPonOpticalInfo{} }
699func (m *GetOnuPonOpticalInfo) String() string { return proto.CompactTextString(m) }
700func (*GetOnuPonOpticalInfo) ProtoMessage() {}
701func (*GetOnuPonOpticalInfo) Descriptor() ([]byte, []int) {
702 return fileDescriptor_7ecf6e9799a9202d, []int{6}
703}
704
705func (m *GetOnuPonOpticalInfo) XXX_Unmarshal(b []byte) error {
706 return xxx_messageInfo_GetOnuPonOpticalInfo.Unmarshal(m, b)
707}
708func (m *GetOnuPonOpticalInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
709 return xxx_messageInfo_GetOnuPonOpticalInfo.Marshal(b, m, deterministic)
710}
711func (m *GetOnuPonOpticalInfo) XXX_Merge(src proto.Message) {
712 xxx_messageInfo_GetOnuPonOpticalInfo.Merge(m, src)
713}
714func (m *GetOnuPonOpticalInfo) XXX_Size() int {
715 return xxx_messageInfo_GetOnuPonOpticalInfo.Size(m)
716}
717func (m *GetOnuPonOpticalInfo) XXX_DiscardUnknown() {
718 xxx_messageInfo_GetOnuPonOpticalInfo.DiscardUnknown(m)
719}
720
721var xxx_messageInfo_GetOnuPonOpticalInfo proto.InternalMessageInfo
722
723func (m *GetOnuPonOpticalInfo) GetEmpty() *empty.Empty {
724 if m != nil {
725 return m.Empty
726 }
727 return nil
728}
729
Girish Gowdrab1d742d2021-05-01 15:34:32 -0700730// These values correspond to the Optical Line Supervision Test results
731// described in section A3.39.5 of ITU-T G.988 (11/2017) specification.
kesavand763d8002021-01-04 16:24:42 +0530732type GetOnuPonOpticalInfoResponse struct {
Girish Gowdrab1d742d2021-05-01 15:34:32 -0700733 PowerFeedVoltage float32 `protobuf:"fixed32,1,opt,name=powerFeedVoltage,proto3" json:"powerFeedVoltage,omitempty"`
734 ReceivedOpticalPower float32 `protobuf:"fixed32,2,opt,name=receivedOpticalPower,proto3" json:"receivedOpticalPower,omitempty"`
735 MeanOpticalLaunchPower float32 `protobuf:"fixed32,3,opt,name=meanOpticalLaunchPower,proto3" json:"meanOpticalLaunchPower,omitempty"`
736 LaserBiasCurrent float32 `protobuf:"fixed32,4,opt,name=laserBiasCurrent,proto3" json:"laserBiasCurrent,omitempty"`
737 Temperature float32 `protobuf:"fixed32,5,opt,name=temperature,proto3" json:"temperature,omitempty"`
738 XXX_NoUnkeyedLiteral struct{} `json:"-"`
739 XXX_unrecognized []byte `json:"-"`
740 XXX_sizecache int32 `json:"-"`
kesavand763d8002021-01-04 16:24:42 +0530741}
742
743func (m *GetOnuPonOpticalInfoResponse) Reset() { *m = GetOnuPonOpticalInfoResponse{} }
744func (m *GetOnuPonOpticalInfoResponse) String() string { return proto.CompactTextString(m) }
745func (*GetOnuPonOpticalInfoResponse) ProtoMessage() {}
746func (*GetOnuPonOpticalInfoResponse) Descriptor() ([]byte, []int) {
747 return fileDescriptor_7ecf6e9799a9202d, []int{7}
748}
749
750func (m *GetOnuPonOpticalInfoResponse) XXX_Unmarshal(b []byte) error {
751 return xxx_messageInfo_GetOnuPonOpticalInfoResponse.Unmarshal(m, b)
752}
753func (m *GetOnuPonOpticalInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
754 return xxx_messageInfo_GetOnuPonOpticalInfoResponse.Marshal(b, m, deterministic)
755}
756func (m *GetOnuPonOpticalInfoResponse) XXX_Merge(src proto.Message) {
757 xxx_messageInfo_GetOnuPonOpticalInfoResponse.Merge(m, src)
758}
759func (m *GetOnuPonOpticalInfoResponse) XXX_Size() int {
760 return xxx_messageInfo_GetOnuPonOpticalInfoResponse.Size(m)
761}
762func (m *GetOnuPonOpticalInfoResponse) XXX_DiscardUnknown() {
763 xxx_messageInfo_GetOnuPonOpticalInfoResponse.DiscardUnknown(m)
764}
765
766var xxx_messageInfo_GetOnuPonOpticalInfoResponse proto.InternalMessageInfo
767
Girish Gowdrab1d742d2021-05-01 15:34:32 -0700768func (m *GetOnuPonOpticalInfoResponse) GetPowerFeedVoltage() float32 {
kesavand763d8002021-01-04 16:24:42 +0530769 if m != nil {
770 return m.PowerFeedVoltage
771 }
772 return 0
773}
774
Girish Gowdrab1d742d2021-05-01 15:34:32 -0700775func (m *GetOnuPonOpticalInfoResponse) GetReceivedOpticalPower() float32 {
kesavand763d8002021-01-04 16:24:42 +0530776 if m != nil {
777 return m.ReceivedOpticalPower
778 }
779 return 0
780}
781
Girish Gowdrab1d742d2021-05-01 15:34:32 -0700782func (m *GetOnuPonOpticalInfoResponse) GetMeanOpticalLaunchPower() float32 {
kesavand763d8002021-01-04 16:24:42 +0530783 if m != nil {
Girish Gowdrab1d742d2021-05-01 15:34:32 -0700784 return m.MeanOpticalLaunchPower
kesavand763d8002021-01-04 16:24:42 +0530785 }
786 return 0
787}
788
Girish Gowdrab1d742d2021-05-01 15:34:32 -0700789func (m *GetOnuPonOpticalInfoResponse) GetLaserBiasCurrent() float32 {
790 if m != nil {
791 return m.LaserBiasCurrent
792 }
793 return 0
794}
795
796func (m *GetOnuPonOpticalInfoResponse) GetTemperature() float32 {
kesavand763d8002021-01-04 16:24:42 +0530797 if m != nil {
798 return m.Temperature
799 }
800 return 0
801}
802
kesavand763d8002021-01-04 16:24:42 +0530803type GetOnuEthernetBridgePortHistory struct {
804 Direction GetOnuEthernetBridgePortHistory_Direction `protobuf:"varint,1,opt,name=direction,proto3,enum=extension.GetOnuEthernetBridgePortHistory_Direction" json:"direction,omitempty"`
805 XXX_NoUnkeyedLiteral struct{} `json:"-"`
806 XXX_unrecognized []byte `json:"-"`
807 XXX_sizecache int32 `json:"-"`
808}
809
810func (m *GetOnuEthernetBridgePortHistory) Reset() { *m = GetOnuEthernetBridgePortHistory{} }
811func (m *GetOnuEthernetBridgePortHistory) String() string { return proto.CompactTextString(m) }
812func (*GetOnuEthernetBridgePortHistory) ProtoMessage() {}
813func (*GetOnuEthernetBridgePortHistory) Descriptor() ([]byte, []int) {
814 return fileDescriptor_7ecf6e9799a9202d, []int{8}
815}
816
817func (m *GetOnuEthernetBridgePortHistory) XXX_Unmarshal(b []byte) error {
818 return xxx_messageInfo_GetOnuEthernetBridgePortHistory.Unmarshal(m, b)
819}
820func (m *GetOnuEthernetBridgePortHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
821 return xxx_messageInfo_GetOnuEthernetBridgePortHistory.Marshal(b, m, deterministic)
822}
823func (m *GetOnuEthernetBridgePortHistory) XXX_Merge(src proto.Message) {
824 xxx_messageInfo_GetOnuEthernetBridgePortHistory.Merge(m, src)
825}
826func (m *GetOnuEthernetBridgePortHistory) XXX_Size() int {
827 return xxx_messageInfo_GetOnuEthernetBridgePortHistory.Size(m)
828}
829func (m *GetOnuEthernetBridgePortHistory) XXX_DiscardUnknown() {
830 xxx_messageInfo_GetOnuEthernetBridgePortHistory.DiscardUnknown(m)
831}
832
833var xxx_messageInfo_GetOnuEthernetBridgePortHistory proto.InternalMessageInfo
834
835func (m *GetOnuEthernetBridgePortHistory) GetDirection() GetOnuEthernetBridgePortHistory_Direction {
836 if m != nil {
837 return m.Direction
838 }
839 return GetOnuEthernetBridgePortHistory_UNDEFINED
840}
841
842type GetOnuEthernetBridgePortHistoryResponse struct {
843 DropEvents uint32 `protobuf:"varint,1,opt,name=dropEvents,proto3" json:"dropEvents,omitempty"`
844 Octets uint32 `protobuf:"varint,2,opt,name=octets,proto3" json:"octets,omitempty"`
845 Packets uint32 `protobuf:"varint,3,opt,name=packets,proto3" json:"packets,omitempty"`
846 BroadcastPackets uint32 `protobuf:"varint,4,opt,name=broadcastPackets,proto3" json:"broadcastPackets,omitempty"`
847 MulticastPackets uint32 `protobuf:"varint,5,opt,name=multicastPackets,proto3" json:"multicastPackets,omitempty"`
848 CrcErroredPackets uint32 `protobuf:"varint,6,opt,name=crcErroredPackets,proto3" json:"crcErroredPackets,omitempty"`
849 UndersizePackets uint32 `protobuf:"varint,7,opt,name=undersizePackets,proto3" json:"undersizePackets,omitempty"`
850 OversizePackets uint32 `protobuf:"varint,8,opt,name=oversizePackets,proto3" json:"oversizePackets,omitempty"`
851 Packets64Octets uint32 `protobuf:"varint,9,opt,name=packets64octets,proto3" json:"packets64octets,omitempty"`
852 Packets65To127Octets uint32 `protobuf:"varint,10,opt,name=packets65To127octets,proto3" json:"packets65To127octets,omitempty"`
853 Packets128To255Octets uint32 `protobuf:"varint,11,opt,name=packets128To255Octets,proto3" json:"packets128To255Octets,omitempty"`
854 Packets256To511Octets uint32 `protobuf:"varint,12,opt,name=packets256To511octets,proto3" json:"packets256To511octets,omitempty"`
855 Packets512To1023Octets uint32 `protobuf:"varint,13,opt,name=packets512To1023octets,proto3" json:"packets512To1023octets,omitempty"`
856 Packets1024To1518Octets uint32 `protobuf:"varint,14,opt,name=packets1024To1518octets,proto3" json:"packets1024To1518octets,omitempty"`
857 XXX_NoUnkeyedLiteral struct{} `json:"-"`
858 XXX_unrecognized []byte `json:"-"`
859 XXX_sizecache int32 `json:"-"`
860}
861
862func (m *GetOnuEthernetBridgePortHistoryResponse) Reset() {
863 *m = GetOnuEthernetBridgePortHistoryResponse{}
864}
865func (m *GetOnuEthernetBridgePortHistoryResponse) String() string { return proto.CompactTextString(m) }
866func (*GetOnuEthernetBridgePortHistoryResponse) ProtoMessage() {}
867func (*GetOnuEthernetBridgePortHistoryResponse) Descriptor() ([]byte, []int) {
868 return fileDescriptor_7ecf6e9799a9202d, []int{9}
869}
870
871func (m *GetOnuEthernetBridgePortHistoryResponse) XXX_Unmarshal(b []byte) error {
872 return xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse.Unmarshal(m, b)
873}
874func (m *GetOnuEthernetBridgePortHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
875 return xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse.Marshal(b, m, deterministic)
876}
877func (m *GetOnuEthernetBridgePortHistoryResponse) XXX_Merge(src proto.Message) {
878 xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse.Merge(m, src)
879}
880func (m *GetOnuEthernetBridgePortHistoryResponse) XXX_Size() int {
881 return xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse.Size(m)
882}
883func (m *GetOnuEthernetBridgePortHistoryResponse) XXX_DiscardUnknown() {
884 xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse.DiscardUnknown(m)
885}
886
887var xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse proto.InternalMessageInfo
888
889func (m *GetOnuEthernetBridgePortHistoryResponse) GetDropEvents() uint32 {
890 if m != nil {
891 return m.DropEvents
892 }
893 return 0
894}
895
896func (m *GetOnuEthernetBridgePortHistoryResponse) GetOctets() uint32 {
897 if m != nil {
898 return m.Octets
899 }
900 return 0
901}
902
903func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets() uint32 {
904 if m != nil {
905 return m.Packets
906 }
907 return 0
908}
909
910func (m *GetOnuEthernetBridgePortHistoryResponse) GetBroadcastPackets() uint32 {
911 if m != nil {
912 return m.BroadcastPackets
913 }
914 return 0
915}
916
917func (m *GetOnuEthernetBridgePortHistoryResponse) GetMulticastPackets() uint32 {
918 if m != nil {
919 return m.MulticastPackets
920 }
921 return 0
922}
923
924func (m *GetOnuEthernetBridgePortHistoryResponse) GetCrcErroredPackets() uint32 {
925 if m != nil {
926 return m.CrcErroredPackets
927 }
928 return 0
929}
930
931func (m *GetOnuEthernetBridgePortHistoryResponse) GetUndersizePackets() uint32 {
932 if m != nil {
933 return m.UndersizePackets
934 }
935 return 0
936}
937
938func (m *GetOnuEthernetBridgePortHistoryResponse) GetOversizePackets() uint32 {
939 if m != nil {
940 return m.OversizePackets
941 }
942 return 0
943}
944
945func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets64Octets() uint32 {
946 if m != nil {
947 return m.Packets64Octets
948 }
949 return 0
950}
951
952func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets65To127Octets() uint32 {
953 if m != nil {
954 return m.Packets65To127Octets
955 }
956 return 0
957}
958
959func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets128To255Octets() uint32 {
960 if m != nil {
961 return m.Packets128To255Octets
962 }
963 return 0
964}
965
966func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets256To511Octets() uint32 {
967 if m != nil {
968 return m.Packets256To511Octets
969 }
970 return 0
971}
972
973func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets512To1023Octets() uint32 {
974 if m != nil {
975 return m.Packets512To1023Octets
976 }
977 return 0
978}
979
980func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets1024To1518Octets() uint32 {
981 if m != nil {
982 return m.Packets1024To1518Octets
983 }
984 return 0
985}
986
987type GetOnuFecHistory struct {
988 Empty *empty.Empty `protobuf:"bytes,1,opt,name=empty,proto3" json:"empty,omitempty"`
989 XXX_NoUnkeyedLiteral struct{} `json:"-"`
990 XXX_unrecognized []byte `json:"-"`
991 XXX_sizecache int32 `json:"-"`
992}
993
994func (m *GetOnuFecHistory) Reset() { *m = GetOnuFecHistory{} }
995func (m *GetOnuFecHistory) String() string { return proto.CompactTextString(m) }
996func (*GetOnuFecHistory) ProtoMessage() {}
997func (*GetOnuFecHistory) Descriptor() ([]byte, []int) {
998 return fileDescriptor_7ecf6e9799a9202d, []int{10}
999}
1000
1001func (m *GetOnuFecHistory) XXX_Unmarshal(b []byte) error {
1002 return xxx_messageInfo_GetOnuFecHistory.Unmarshal(m, b)
1003}
1004func (m *GetOnuFecHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1005 return xxx_messageInfo_GetOnuFecHistory.Marshal(b, m, deterministic)
1006}
1007func (m *GetOnuFecHistory) XXX_Merge(src proto.Message) {
1008 xxx_messageInfo_GetOnuFecHistory.Merge(m, src)
1009}
1010func (m *GetOnuFecHistory) XXX_Size() int {
1011 return xxx_messageInfo_GetOnuFecHistory.Size(m)
1012}
1013func (m *GetOnuFecHistory) XXX_DiscardUnknown() {
1014 xxx_messageInfo_GetOnuFecHistory.DiscardUnknown(m)
1015}
1016
1017var xxx_messageInfo_GetOnuFecHistory proto.InternalMessageInfo
1018
1019func (m *GetOnuFecHistory) GetEmpty() *empty.Empty {
1020 if m != nil {
1021 return m.Empty
1022 }
1023 return nil
1024}
1025
1026type GetOnuFecHistoryResponse struct {
1027 CorrectedBytes uint32 `protobuf:"varint,1,opt,name=correctedBytes,proto3" json:"correctedBytes,omitempty"`
1028 CorrectedCodeWords uint32 `protobuf:"varint,2,opt,name=correctedCodeWords,proto3" json:"correctedCodeWords,omitempty"`
1029 FecSeconds uint32 `protobuf:"varint,3,opt,name=fecSeconds,proto3" json:"fecSeconds,omitempty"`
1030 TotalCodeWords uint32 `protobuf:"varint,4,opt,name=totalCodeWords,proto3" json:"totalCodeWords,omitempty"`
1031 UncorrectableCodeWords uint32 `protobuf:"varint,5,opt,name=uncorrectableCodeWords,proto3" json:"uncorrectableCodeWords,omitempty"`
1032 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1033 XXX_unrecognized []byte `json:"-"`
1034 XXX_sizecache int32 `json:"-"`
1035}
1036
1037func (m *GetOnuFecHistoryResponse) Reset() { *m = GetOnuFecHistoryResponse{} }
1038func (m *GetOnuFecHistoryResponse) String() string { return proto.CompactTextString(m) }
1039func (*GetOnuFecHistoryResponse) ProtoMessage() {}
1040func (*GetOnuFecHistoryResponse) Descriptor() ([]byte, []int) {
1041 return fileDescriptor_7ecf6e9799a9202d, []int{11}
1042}
1043
1044func (m *GetOnuFecHistoryResponse) XXX_Unmarshal(b []byte) error {
1045 return xxx_messageInfo_GetOnuFecHistoryResponse.Unmarshal(m, b)
1046}
1047func (m *GetOnuFecHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1048 return xxx_messageInfo_GetOnuFecHistoryResponse.Marshal(b, m, deterministic)
1049}
1050func (m *GetOnuFecHistoryResponse) XXX_Merge(src proto.Message) {
1051 xxx_messageInfo_GetOnuFecHistoryResponse.Merge(m, src)
1052}
1053func (m *GetOnuFecHistoryResponse) XXX_Size() int {
1054 return xxx_messageInfo_GetOnuFecHistoryResponse.Size(m)
1055}
1056func (m *GetOnuFecHistoryResponse) XXX_DiscardUnknown() {
1057 xxx_messageInfo_GetOnuFecHistoryResponse.DiscardUnknown(m)
1058}
1059
1060var xxx_messageInfo_GetOnuFecHistoryResponse proto.InternalMessageInfo
1061
1062func (m *GetOnuFecHistoryResponse) GetCorrectedBytes() uint32 {
1063 if m != nil {
1064 return m.CorrectedBytes
1065 }
1066 return 0
1067}
1068
1069func (m *GetOnuFecHistoryResponse) GetCorrectedCodeWords() uint32 {
1070 if m != nil {
1071 return m.CorrectedCodeWords
1072 }
1073 return 0
1074}
1075
1076func (m *GetOnuFecHistoryResponse) GetFecSeconds() uint32 {
1077 if m != nil {
1078 return m.FecSeconds
1079 }
1080 return 0
1081}
1082
1083func (m *GetOnuFecHistoryResponse) GetTotalCodeWords() uint32 {
1084 if m != nil {
1085 return m.TotalCodeWords
1086 }
1087 return 0
1088}
1089
1090func (m *GetOnuFecHistoryResponse) GetUncorrectableCodeWords() uint32 {
1091 if m != nil {
1092 return m.UncorrectableCodeWords
1093 }
1094 return 0
1095}
1096
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001097type GetValueRequest struct {
1098 // Types that are valid to be assigned to Request:
1099 // *GetValueRequest_Distance
1100 // *GetValueRequest_UniInfo
kesavand763d8002021-01-04 16:24:42 +05301101 // *GetValueRequest_OltPortInfo
1102 // *GetValueRequest_OnuOpticalInfo
1103 // *GetValueRequest_EthBridgePort
1104 // *GetValueRequest_FecHistory
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001105 Request isGetValueRequest_Request `protobuf_oneof:"request"`
1106 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1107 XXX_unrecognized []byte `json:"-"`
1108 XXX_sizecache int32 `json:"-"`
1109}
1110
1111func (m *GetValueRequest) Reset() { *m = GetValueRequest{} }
1112func (m *GetValueRequest) String() string { return proto.CompactTextString(m) }
1113func (*GetValueRequest) ProtoMessage() {}
1114func (*GetValueRequest) Descriptor() ([]byte, []int) {
kesavand763d8002021-01-04 16:24:42 +05301115 return fileDescriptor_7ecf6e9799a9202d, []int{12}
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001116}
1117
1118func (m *GetValueRequest) XXX_Unmarshal(b []byte) error {
1119 return xxx_messageInfo_GetValueRequest.Unmarshal(m, b)
1120}
1121func (m *GetValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1122 return xxx_messageInfo_GetValueRequest.Marshal(b, m, deterministic)
1123}
1124func (m *GetValueRequest) XXX_Merge(src proto.Message) {
1125 xxx_messageInfo_GetValueRequest.Merge(m, src)
1126}
1127func (m *GetValueRequest) XXX_Size() int {
1128 return xxx_messageInfo_GetValueRequest.Size(m)
1129}
1130func (m *GetValueRequest) XXX_DiscardUnknown() {
1131 xxx_messageInfo_GetValueRequest.DiscardUnknown(m)
1132}
1133
1134var xxx_messageInfo_GetValueRequest proto.InternalMessageInfo
1135
1136type isGetValueRequest_Request interface {
1137 isGetValueRequest_Request()
1138}
1139
1140type GetValueRequest_Distance struct {
1141 Distance *GetDistanceRequest `protobuf:"bytes,1,opt,name=distance,proto3,oneof"`
1142}
1143
1144type GetValueRequest_UniInfo struct {
1145 UniInfo *GetOnuUniInfoRequest `protobuf:"bytes,2,opt,name=uniInfo,proto3,oneof"`
1146}
1147
kesavand763d8002021-01-04 16:24:42 +05301148type GetValueRequest_OltPortInfo struct {
1149 OltPortInfo *GetOltPortCounters `protobuf:"bytes,3,opt,name=oltPortInfo,proto3,oneof"`
1150}
1151
1152type GetValueRequest_OnuOpticalInfo struct {
1153 OnuOpticalInfo *GetOnuPonOpticalInfo `protobuf:"bytes,4,opt,name=onuOpticalInfo,proto3,oneof"`
1154}
1155
1156type GetValueRequest_EthBridgePort struct {
1157 EthBridgePort *GetOnuEthernetBridgePortHistory `protobuf:"bytes,5,opt,name=ethBridgePort,proto3,oneof"`
1158}
1159
1160type GetValueRequest_FecHistory struct {
1161 FecHistory *GetOnuFecHistory `protobuf:"bytes,6,opt,name=fecHistory,proto3,oneof"`
1162}
1163
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001164func (*GetValueRequest_Distance) isGetValueRequest_Request() {}
1165
1166func (*GetValueRequest_UniInfo) isGetValueRequest_Request() {}
1167
kesavand763d8002021-01-04 16:24:42 +05301168func (*GetValueRequest_OltPortInfo) isGetValueRequest_Request() {}
1169
1170func (*GetValueRequest_OnuOpticalInfo) isGetValueRequest_Request() {}
1171
1172func (*GetValueRequest_EthBridgePort) isGetValueRequest_Request() {}
1173
1174func (*GetValueRequest_FecHistory) isGetValueRequest_Request() {}
1175
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001176func (m *GetValueRequest) GetRequest() isGetValueRequest_Request {
1177 if m != nil {
1178 return m.Request
1179 }
1180 return nil
1181}
1182
1183func (m *GetValueRequest) GetDistance() *GetDistanceRequest {
1184 if x, ok := m.GetRequest().(*GetValueRequest_Distance); ok {
1185 return x.Distance
1186 }
1187 return nil
1188}
1189
1190func (m *GetValueRequest) GetUniInfo() *GetOnuUniInfoRequest {
1191 if x, ok := m.GetRequest().(*GetValueRequest_UniInfo); ok {
1192 return x.UniInfo
1193 }
1194 return nil
1195}
1196
kesavand763d8002021-01-04 16:24:42 +05301197func (m *GetValueRequest) GetOltPortInfo() *GetOltPortCounters {
1198 if x, ok := m.GetRequest().(*GetValueRequest_OltPortInfo); ok {
1199 return x.OltPortInfo
1200 }
1201 return nil
1202}
1203
1204func (m *GetValueRequest) GetOnuOpticalInfo() *GetOnuPonOpticalInfo {
1205 if x, ok := m.GetRequest().(*GetValueRequest_OnuOpticalInfo); ok {
1206 return x.OnuOpticalInfo
1207 }
1208 return nil
1209}
1210
1211func (m *GetValueRequest) GetEthBridgePort() *GetOnuEthernetBridgePortHistory {
1212 if x, ok := m.GetRequest().(*GetValueRequest_EthBridgePort); ok {
1213 return x.EthBridgePort
1214 }
1215 return nil
1216}
1217
1218func (m *GetValueRequest) GetFecHistory() *GetOnuFecHistory {
1219 if x, ok := m.GetRequest().(*GetValueRequest_FecHistory); ok {
1220 return x.FecHistory
1221 }
1222 return nil
1223}
1224
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001225// XXX_OneofWrappers is for the internal use of the proto package.
1226func (*GetValueRequest) XXX_OneofWrappers() []interface{} {
1227 return []interface{}{
1228 (*GetValueRequest_Distance)(nil),
1229 (*GetValueRequest_UniInfo)(nil),
kesavand763d8002021-01-04 16:24:42 +05301230 (*GetValueRequest_OltPortInfo)(nil),
1231 (*GetValueRequest_OnuOpticalInfo)(nil),
1232 (*GetValueRequest_EthBridgePort)(nil),
1233 (*GetValueRequest_FecHistory)(nil),
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001234 }
1235}
1236
1237type GetValueResponse struct {
1238 Status GetValueResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=extension.GetValueResponse_Status" json:"status,omitempty"`
1239 ErrReason GetValueResponse_ErrorReason `protobuf:"varint,2,opt,name=errReason,proto3,enum=extension.GetValueResponse_ErrorReason" json:"errReason,omitempty"`
1240 // Types that are valid to be assigned to Response:
1241 // *GetValueResponse_Distance
1242 // *GetValueResponse_UniInfo
kesavand763d8002021-01-04 16:24:42 +05301243 // *GetValueResponse_PortCoutners
1244 // *GetValueResponse_OnuOpticalInfo
1245 // *GetValueResponse_EthBridgePortInfo
1246 // *GetValueResponse_FecHistory
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001247 Response isGetValueResponse_Response `protobuf_oneof:"response"`
1248 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1249 XXX_unrecognized []byte `json:"-"`
1250 XXX_sizecache int32 `json:"-"`
1251}
1252
1253func (m *GetValueResponse) Reset() { *m = GetValueResponse{} }
1254func (m *GetValueResponse) String() string { return proto.CompactTextString(m) }
1255func (*GetValueResponse) ProtoMessage() {}
1256func (*GetValueResponse) Descriptor() ([]byte, []int) {
kesavand763d8002021-01-04 16:24:42 +05301257 return fileDescriptor_7ecf6e9799a9202d, []int{13}
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001258}
1259
1260func (m *GetValueResponse) XXX_Unmarshal(b []byte) error {
1261 return xxx_messageInfo_GetValueResponse.Unmarshal(m, b)
1262}
1263func (m *GetValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1264 return xxx_messageInfo_GetValueResponse.Marshal(b, m, deterministic)
1265}
1266func (m *GetValueResponse) XXX_Merge(src proto.Message) {
1267 xxx_messageInfo_GetValueResponse.Merge(m, src)
1268}
1269func (m *GetValueResponse) XXX_Size() int {
1270 return xxx_messageInfo_GetValueResponse.Size(m)
1271}
1272func (m *GetValueResponse) XXX_DiscardUnknown() {
1273 xxx_messageInfo_GetValueResponse.DiscardUnknown(m)
1274}
1275
1276var xxx_messageInfo_GetValueResponse proto.InternalMessageInfo
1277
1278func (m *GetValueResponse) GetStatus() GetValueResponse_Status {
1279 if m != nil {
1280 return m.Status
1281 }
1282 return GetValueResponse_STATUS_UNDEFINED
1283}
1284
1285func (m *GetValueResponse) GetErrReason() GetValueResponse_ErrorReason {
1286 if m != nil {
1287 return m.ErrReason
1288 }
1289 return GetValueResponse_REASON_UNDEFINED
1290}
1291
1292type isGetValueResponse_Response interface {
1293 isGetValueResponse_Response()
1294}
1295
1296type GetValueResponse_Distance struct {
1297 Distance *GetDistanceResponse `protobuf:"bytes,3,opt,name=distance,proto3,oneof"`
1298}
1299
1300type GetValueResponse_UniInfo struct {
1301 UniInfo *GetOnuUniInfoResponse `protobuf:"bytes,4,opt,name=uniInfo,proto3,oneof"`
1302}
1303
kesavand763d8002021-01-04 16:24:42 +05301304type GetValueResponse_PortCoutners struct {
1305 PortCoutners *GetOltPortCountersResponse `protobuf:"bytes,5,opt,name=portCoutners,proto3,oneof"`
1306}
1307
1308type GetValueResponse_OnuOpticalInfo struct {
1309 OnuOpticalInfo *GetOnuPonOpticalInfoResponse `protobuf:"bytes,6,opt,name=onuOpticalInfo,proto3,oneof"`
1310}
1311
1312type GetValueResponse_EthBridgePortInfo struct {
1313 EthBridgePortInfo *GetOnuEthernetBridgePortHistoryResponse `protobuf:"bytes,7,opt,name=ethBridgePortInfo,proto3,oneof"`
1314}
1315
1316type GetValueResponse_FecHistory struct {
1317 FecHistory *GetOnuFecHistoryResponse `protobuf:"bytes,8,opt,name=fecHistory,proto3,oneof"`
1318}
1319
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001320func (*GetValueResponse_Distance) isGetValueResponse_Response() {}
1321
1322func (*GetValueResponse_UniInfo) isGetValueResponse_Response() {}
1323
kesavand763d8002021-01-04 16:24:42 +05301324func (*GetValueResponse_PortCoutners) isGetValueResponse_Response() {}
1325
1326func (*GetValueResponse_OnuOpticalInfo) isGetValueResponse_Response() {}
1327
1328func (*GetValueResponse_EthBridgePortInfo) isGetValueResponse_Response() {}
1329
1330func (*GetValueResponse_FecHistory) isGetValueResponse_Response() {}
1331
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001332func (m *GetValueResponse) GetResponse() isGetValueResponse_Response {
1333 if m != nil {
1334 return m.Response
1335 }
1336 return nil
1337}
1338
1339func (m *GetValueResponse) GetDistance() *GetDistanceResponse {
1340 if x, ok := m.GetResponse().(*GetValueResponse_Distance); ok {
1341 return x.Distance
1342 }
1343 return nil
1344}
1345
1346func (m *GetValueResponse) GetUniInfo() *GetOnuUniInfoResponse {
1347 if x, ok := m.GetResponse().(*GetValueResponse_UniInfo); ok {
1348 return x.UniInfo
1349 }
1350 return nil
1351}
1352
kesavand763d8002021-01-04 16:24:42 +05301353func (m *GetValueResponse) GetPortCoutners() *GetOltPortCountersResponse {
1354 if x, ok := m.GetResponse().(*GetValueResponse_PortCoutners); ok {
1355 return x.PortCoutners
1356 }
1357 return nil
1358}
1359
1360func (m *GetValueResponse) GetOnuOpticalInfo() *GetOnuPonOpticalInfoResponse {
1361 if x, ok := m.GetResponse().(*GetValueResponse_OnuOpticalInfo); ok {
1362 return x.OnuOpticalInfo
1363 }
1364 return nil
1365}
1366
1367func (m *GetValueResponse) GetEthBridgePortInfo() *GetOnuEthernetBridgePortHistoryResponse {
1368 if x, ok := m.GetResponse().(*GetValueResponse_EthBridgePortInfo); ok {
1369 return x.EthBridgePortInfo
1370 }
1371 return nil
1372}
1373
1374func (m *GetValueResponse) GetFecHistory() *GetOnuFecHistoryResponse {
1375 if x, ok := m.GetResponse().(*GetValueResponse_FecHistory); ok {
1376 return x.FecHistory
1377 }
1378 return nil
1379}
1380
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001381// XXX_OneofWrappers is for the internal use of the proto package.
1382func (*GetValueResponse) XXX_OneofWrappers() []interface{} {
1383 return []interface{}{
1384 (*GetValueResponse_Distance)(nil),
1385 (*GetValueResponse_UniInfo)(nil),
kesavand763d8002021-01-04 16:24:42 +05301386 (*GetValueResponse_PortCoutners)(nil),
1387 (*GetValueResponse_OnuOpticalInfo)(nil),
1388 (*GetValueResponse_EthBridgePortInfo)(nil),
1389 (*GetValueResponse_FecHistory)(nil),
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001390 }
1391}
1392
1393type SetValueRequest struct {
1394 // Types that are valid to be assigned to Request:
1395 // *SetValueRequest_AlarmConfig
1396 Request isSetValueRequest_Request `protobuf_oneof:"request"`
1397 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1398 XXX_unrecognized []byte `json:"-"`
1399 XXX_sizecache int32 `json:"-"`
1400}
1401
1402func (m *SetValueRequest) Reset() { *m = SetValueRequest{} }
1403func (m *SetValueRequest) String() string { return proto.CompactTextString(m) }
1404func (*SetValueRequest) ProtoMessage() {}
1405func (*SetValueRequest) Descriptor() ([]byte, []int) {
kesavand763d8002021-01-04 16:24:42 +05301406 return fileDescriptor_7ecf6e9799a9202d, []int{14}
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001407}
1408
1409func (m *SetValueRequest) XXX_Unmarshal(b []byte) error {
1410 return xxx_messageInfo_SetValueRequest.Unmarshal(m, b)
1411}
1412func (m *SetValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1413 return xxx_messageInfo_SetValueRequest.Marshal(b, m, deterministic)
1414}
1415func (m *SetValueRequest) XXX_Merge(src proto.Message) {
1416 xxx_messageInfo_SetValueRequest.Merge(m, src)
1417}
1418func (m *SetValueRequest) XXX_Size() int {
1419 return xxx_messageInfo_SetValueRequest.Size(m)
1420}
1421func (m *SetValueRequest) XXX_DiscardUnknown() {
1422 xxx_messageInfo_SetValueRequest.DiscardUnknown(m)
1423}
1424
1425var xxx_messageInfo_SetValueRequest proto.InternalMessageInfo
1426
1427type isSetValueRequest_Request interface {
1428 isSetValueRequest_Request()
1429}
1430
1431type SetValueRequest_AlarmConfig struct {
1432 AlarmConfig *config.AlarmConfig `protobuf:"bytes,1,opt,name=alarm_config,json=alarmConfig,proto3,oneof"`
1433}
1434
1435func (*SetValueRequest_AlarmConfig) isSetValueRequest_Request() {}
1436
1437func (m *SetValueRequest) GetRequest() isSetValueRequest_Request {
1438 if m != nil {
1439 return m.Request
1440 }
1441 return nil
1442}
1443
1444func (m *SetValueRequest) GetAlarmConfig() *config.AlarmConfig {
1445 if x, ok := m.GetRequest().(*SetValueRequest_AlarmConfig); ok {
1446 return x.AlarmConfig
1447 }
1448 return nil
1449}
1450
1451// XXX_OneofWrappers is for the internal use of the proto package.
1452func (*SetValueRequest) XXX_OneofWrappers() []interface{} {
1453 return []interface{}{
1454 (*SetValueRequest_AlarmConfig)(nil),
1455 }
1456}
1457
1458type SetValueResponse struct {
1459 Status SetValueResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=extension.SetValueResponse_Status" json:"status,omitempty"`
1460 ErrReason SetValueResponse_ErrorReason `protobuf:"varint,2,opt,name=errReason,proto3,enum=extension.SetValueResponse_ErrorReason" json:"errReason,omitempty"`
1461 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1462 XXX_unrecognized []byte `json:"-"`
1463 XXX_sizecache int32 `json:"-"`
1464}
1465
1466func (m *SetValueResponse) Reset() { *m = SetValueResponse{} }
1467func (m *SetValueResponse) String() string { return proto.CompactTextString(m) }
1468func (*SetValueResponse) ProtoMessage() {}
1469func (*SetValueResponse) Descriptor() ([]byte, []int) {
kesavand763d8002021-01-04 16:24:42 +05301470 return fileDescriptor_7ecf6e9799a9202d, []int{15}
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001471}
1472
1473func (m *SetValueResponse) XXX_Unmarshal(b []byte) error {
1474 return xxx_messageInfo_SetValueResponse.Unmarshal(m, b)
1475}
1476func (m *SetValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1477 return xxx_messageInfo_SetValueResponse.Marshal(b, m, deterministic)
1478}
1479func (m *SetValueResponse) XXX_Merge(src proto.Message) {
1480 xxx_messageInfo_SetValueResponse.Merge(m, src)
1481}
1482func (m *SetValueResponse) XXX_Size() int {
1483 return xxx_messageInfo_SetValueResponse.Size(m)
1484}
1485func (m *SetValueResponse) XXX_DiscardUnknown() {
1486 xxx_messageInfo_SetValueResponse.DiscardUnknown(m)
1487}
1488
1489var xxx_messageInfo_SetValueResponse proto.InternalMessageInfo
1490
1491func (m *SetValueResponse) GetStatus() SetValueResponse_Status {
1492 if m != nil {
1493 return m.Status
1494 }
1495 return SetValueResponse_STATUS_UNDEFINED
1496}
1497
1498func (m *SetValueResponse) GetErrReason() SetValueResponse_ErrorReason {
1499 if m != nil {
1500 return m.ErrReason
1501 }
1502 return SetValueResponse_REASON_UNDEFINED
1503}
1504
1505type SingleGetValueRequest struct {
1506 TargetId string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId,omitempty"`
1507 Request *GetValueRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
1508 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1509 XXX_unrecognized []byte `json:"-"`
1510 XXX_sizecache int32 `json:"-"`
1511}
1512
1513func (m *SingleGetValueRequest) Reset() { *m = SingleGetValueRequest{} }
1514func (m *SingleGetValueRequest) String() string { return proto.CompactTextString(m) }
1515func (*SingleGetValueRequest) ProtoMessage() {}
1516func (*SingleGetValueRequest) Descriptor() ([]byte, []int) {
kesavand763d8002021-01-04 16:24:42 +05301517 return fileDescriptor_7ecf6e9799a9202d, []int{16}
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001518}
1519
1520func (m *SingleGetValueRequest) XXX_Unmarshal(b []byte) error {
1521 return xxx_messageInfo_SingleGetValueRequest.Unmarshal(m, b)
1522}
1523func (m *SingleGetValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1524 return xxx_messageInfo_SingleGetValueRequest.Marshal(b, m, deterministic)
1525}
1526func (m *SingleGetValueRequest) XXX_Merge(src proto.Message) {
1527 xxx_messageInfo_SingleGetValueRequest.Merge(m, src)
1528}
1529func (m *SingleGetValueRequest) XXX_Size() int {
1530 return xxx_messageInfo_SingleGetValueRequest.Size(m)
1531}
1532func (m *SingleGetValueRequest) XXX_DiscardUnknown() {
1533 xxx_messageInfo_SingleGetValueRequest.DiscardUnknown(m)
1534}
1535
1536var xxx_messageInfo_SingleGetValueRequest proto.InternalMessageInfo
1537
1538func (m *SingleGetValueRequest) GetTargetId() string {
1539 if m != nil {
1540 return m.TargetId
1541 }
1542 return ""
1543}
1544
1545func (m *SingleGetValueRequest) GetRequest() *GetValueRequest {
1546 if m != nil {
1547 return m.Request
1548 }
1549 return nil
1550}
1551
1552type SingleGetValueResponse struct {
1553 Response *GetValueResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
1554 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1555 XXX_unrecognized []byte `json:"-"`
1556 XXX_sizecache int32 `json:"-"`
1557}
1558
1559func (m *SingleGetValueResponse) Reset() { *m = SingleGetValueResponse{} }
1560func (m *SingleGetValueResponse) String() string { return proto.CompactTextString(m) }
1561func (*SingleGetValueResponse) ProtoMessage() {}
1562func (*SingleGetValueResponse) Descriptor() ([]byte, []int) {
kesavand763d8002021-01-04 16:24:42 +05301563 return fileDescriptor_7ecf6e9799a9202d, []int{17}
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001564}
1565
1566func (m *SingleGetValueResponse) XXX_Unmarshal(b []byte) error {
1567 return xxx_messageInfo_SingleGetValueResponse.Unmarshal(m, b)
1568}
1569func (m *SingleGetValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1570 return xxx_messageInfo_SingleGetValueResponse.Marshal(b, m, deterministic)
1571}
1572func (m *SingleGetValueResponse) XXX_Merge(src proto.Message) {
1573 xxx_messageInfo_SingleGetValueResponse.Merge(m, src)
1574}
1575func (m *SingleGetValueResponse) XXX_Size() int {
1576 return xxx_messageInfo_SingleGetValueResponse.Size(m)
1577}
1578func (m *SingleGetValueResponse) XXX_DiscardUnknown() {
1579 xxx_messageInfo_SingleGetValueResponse.DiscardUnknown(m)
1580}
1581
1582var xxx_messageInfo_SingleGetValueResponse proto.InternalMessageInfo
1583
1584func (m *SingleGetValueResponse) GetResponse() *GetValueResponse {
1585 if m != nil {
1586 return m.Response
1587 }
1588 return nil
1589}
1590
1591type SingleSetValueRequest struct {
1592 TargetId string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId,omitempty"`
1593 Request *SetValueRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
1594 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1595 XXX_unrecognized []byte `json:"-"`
1596 XXX_sizecache int32 `json:"-"`
1597}
1598
1599func (m *SingleSetValueRequest) Reset() { *m = SingleSetValueRequest{} }
1600func (m *SingleSetValueRequest) String() string { return proto.CompactTextString(m) }
1601func (*SingleSetValueRequest) ProtoMessage() {}
1602func (*SingleSetValueRequest) Descriptor() ([]byte, []int) {
kesavand763d8002021-01-04 16:24:42 +05301603 return fileDescriptor_7ecf6e9799a9202d, []int{18}
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001604}
1605
1606func (m *SingleSetValueRequest) XXX_Unmarshal(b []byte) error {
1607 return xxx_messageInfo_SingleSetValueRequest.Unmarshal(m, b)
1608}
1609func (m *SingleSetValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1610 return xxx_messageInfo_SingleSetValueRequest.Marshal(b, m, deterministic)
1611}
1612func (m *SingleSetValueRequest) XXX_Merge(src proto.Message) {
1613 xxx_messageInfo_SingleSetValueRequest.Merge(m, src)
1614}
1615func (m *SingleSetValueRequest) XXX_Size() int {
1616 return xxx_messageInfo_SingleSetValueRequest.Size(m)
1617}
1618func (m *SingleSetValueRequest) XXX_DiscardUnknown() {
1619 xxx_messageInfo_SingleSetValueRequest.DiscardUnknown(m)
1620}
1621
1622var xxx_messageInfo_SingleSetValueRequest proto.InternalMessageInfo
1623
1624func (m *SingleSetValueRequest) GetTargetId() string {
1625 if m != nil {
1626 return m.TargetId
1627 }
1628 return ""
1629}
1630
1631func (m *SingleSetValueRequest) GetRequest() *SetValueRequest {
1632 if m != nil {
1633 return m.Request
1634 }
1635 return nil
1636}
1637
1638type SingleSetValueResponse struct {
1639 Response *SetValueResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
1640 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1641 XXX_unrecognized []byte `json:"-"`
1642 XXX_sizecache int32 `json:"-"`
1643}
1644
1645func (m *SingleSetValueResponse) Reset() { *m = SingleSetValueResponse{} }
1646func (m *SingleSetValueResponse) String() string { return proto.CompactTextString(m) }
1647func (*SingleSetValueResponse) ProtoMessage() {}
1648func (*SingleSetValueResponse) Descriptor() ([]byte, []int) {
kesavand763d8002021-01-04 16:24:42 +05301649 return fileDescriptor_7ecf6e9799a9202d, []int{19}
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001650}
1651
1652func (m *SingleSetValueResponse) XXX_Unmarshal(b []byte) error {
1653 return xxx_messageInfo_SingleSetValueResponse.Unmarshal(m, b)
1654}
1655func (m *SingleSetValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1656 return xxx_messageInfo_SingleSetValueResponse.Marshal(b, m, deterministic)
1657}
1658func (m *SingleSetValueResponse) XXX_Merge(src proto.Message) {
1659 xxx_messageInfo_SingleSetValueResponse.Merge(m, src)
1660}
1661func (m *SingleSetValueResponse) XXX_Size() int {
1662 return xxx_messageInfo_SingleSetValueResponse.Size(m)
1663}
1664func (m *SingleSetValueResponse) XXX_DiscardUnknown() {
1665 xxx_messageInfo_SingleSetValueResponse.DiscardUnknown(m)
1666}
1667
1668var xxx_messageInfo_SingleSetValueResponse proto.InternalMessageInfo
1669
1670func (m *SingleSetValueResponse) GetResponse() *SetValueResponse {
1671 if m != nil {
1672 return m.Response
1673 }
1674 return nil
1675}
1676
1677func init() {
1678 proto.RegisterEnum("extension.GetOnuUniInfoResponse_ConfigurationInd", GetOnuUniInfoResponse_ConfigurationInd_name, GetOnuUniInfoResponse_ConfigurationInd_value)
1679 proto.RegisterEnum("extension.GetOnuUniInfoResponse_AdministrativeState", GetOnuUniInfoResponse_AdministrativeState_name, GetOnuUniInfoResponse_AdministrativeState_value)
1680 proto.RegisterEnum("extension.GetOnuUniInfoResponse_OperationalState", GetOnuUniInfoResponse_OperationalState_name, GetOnuUniInfoResponse_OperationalState_value)
kesavand763d8002021-01-04 16:24:42 +05301681 proto.RegisterEnum("extension.GetOltPortCounters_PortType", GetOltPortCounters_PortType_name, GetOltPortCounters_PortType_value)
1682 proto.RegisterEnum("extension.GetOnuEthernetBridgePortHistory_Direction", GetOnuEthernetBridgePortHistory_Direction_name, GetOnuEthernetBridgePortHistory_Direction_value)
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001683 proto.RegisterEnum("extension.GetValueResponse_Status", GetValueResponse_Status_name, GetValueResponse_Status_value)
1684 proto.RegisterEnum("extension.GetValueResponse_ErrorReason", GetValueResponse_ErrorReason_name, GetValueResponse_ErrorReason_value)
1685 proto.RegisterEnum("extension.SetValueResponse_Status", SetValueResponse_Status_name, SetValueResponse_Status_value)
1686 proto.RegisterEnum("extension.SetValueResponse_ErrorReason", SetValueResponse_ErrorReason_name, SetValueResponse_ErrorReason_value)
1687 proto.RegisterType((*GetDistanceRequest)(nil), "extension.GetDistanceRequest")
1688 proto.RegisterType((*GetDistanceResponse)(nil), "extension.GetDistanceResponse")
1689 proto.RegisterType((*GetOnuUniInfoRequest)(nil), "extension.GetOnuUniInfoRequest")
1690 proto.RegisterType((*GetOnuUniInfoResponse)(nil), "extension.GetOnuUniInfoResponse")
kesavand763d8002021-01-04 16:24:42 +05301691 proto.RegisterType((*GetOltPortCounters)(nil), "extension.GetOltPortCounters")
1692 proto.RegisterType((*GetOltPortCountersResponse)(nil), "extension.GetOltPortCountersResponse")
1693 proto.RegisterType((*GetOnuPonOpticalInfo)(nil), "extension.GetOnuPonOpticalInfo")
1694 proto.RegisterType((*GetOnuPonOpticalInfoResponse)(nil), "extension.GetOnuPonOpticalInfoResponse")
1695 proto.RegisterType((*GetOnuEthernetBridgePortHistory)(nil), "extension.GetOnuEthernetBridgePortHistory")
1696 proto.RegisterType((*GetOnuEthernetBridgePortHistoryResponse)(nil), "extension.GetOnuEthernetBridgePortHistoryResponse")
1697 proto.RegisterType((*GetOnuFecHistory)(nil), "extension.GetOnuFecHistory")
1698 proto.RegisterType((*GetOnuFecHistoryResponse)(nil), "extension.GetOnuFecHistoryResponse")
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001699 proto.RegisterType((*GetValueRequest)(nil), "extension.GetValueRequest")
1700 proto.RegisterType((*GetValueResponse)(nil), "extension.GetValueResponse")
1701 proto.RegisterType((*SetValueRequest)(nil), "extension.SetValueRequest")
1702 proto.RegisterType((*SetValueResponse)(nil), "extension.SetValueResponse")
1703 proto.RegisterType((*SingleGetValueRequest)(nil), "extension.SingleGetValueRequest")
1704 proto.RegisterType((*SingleGetValueResponse)(nil), "extension.SingleGetValueResponse")
1705 proto.RegisterType((*SingleSetValueRequest)(nil), "extension.SingleSetValueRequest")
1706 proto.RegisterType((*SingleSetValueResponse)(nil), "extension.SingleSetValueResponse")
1707}
1708
1709func init() { proto.RegisterFile("voltha_protos/extensions.proto", fileDescriptor_7ecf6e9799a9202d) }
1710
1711var fileDescriptor_7ecf6e9799a9202d = []byte{
Girish Gowdrab1d742d2021-05-01 15:34:32 -07001712 // 1816 bytes of a gzipped FileDescriptorProto
1713 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xdd, 0x52, 0xe3, 0xc8,
1714 0x15, 0xc6, 0x06, 0x8c, 0x7d, 0x0c, 0x8c, 0xa6, 0x67, 0x60, 0x29, 0x76, 0x77, 0x76, 0xa2, 0x54,
1715 0x66, 0xb6, 0xb6, 0x36, 0x66, 0xed, 0x85, 0x59, 0x2a, 0xbb, 0xa9, 0x8a, 0x8d, 0x05, 0xb8, 0x00,
1716 0xd9, 0xd3, 0x92, 0x99, 0x4d, 0x6e, 0x5c, 0xc2, 0xea, 0x31, 0xae, 0x18, 0xb5, 0xd3, 0x6a, 0x13,
1717 0x26, 0xd7, 0x79, 0x83, 0x5c, 0xe5, 0x29, 0x72, 0x91, 0x8b, 0xb9, 0xcf, 0x75, 0x5e, 0x22, 0xaf,
1718 0x90, 0x07, 0x48, 0xa5, 0xfa, 0x47, 0xb2, 0x24, 0xdb, 0x30, 0xb3, 0xc9, 0x9d, 0xfb, 0x9c, 0xef,
1719 0xfb, 0xba, 0xdd, 0xe7, 0xeb, 0xa3, 0x96, 0xe0, 0xd9, 0x2d, 0x1d, 0xf1, 0x6b, 0xaf, 0x37, 0x66,
1720 0x94, 0xd3, 0x70, 0x8f, 0xdc, 0x71, 0x12, 0x84, 0x43, 0x1a, 0x84, 0x15, 0x19, 0x41, 0xa5, 0x38,
1721 0xb2, 0x3b, 0x0b, 0xed, 0xf5, 0x69, 0xf0, 0x76, 0x38, 0x50, 0xd0, 0xdd, 0x4f, 0x07, 0x94, 0x0e,
1722 0x46, 0x64, 0x4f, 0x8e, 0xae, 0x26, 0x6f, 0xf7, 0xc8, 0xcd, 0x98, 0xbf, 0x53, 0x49, 0xf3, 0x15,
1723 0xa0, 0x13, 0xc2, 0x9b, 0xc3, 0x90, 0x7b, 0x41, 0x9f, 0x60, 0xf2, 0x87, 0x09, 0x09, 0x39, 0x7a,
1724 0x0e, 0x65, 0x1a, 0x4c, 0x9a, 0xe4, 0x76, 0xd8, 0x27, 0x2d, 0x7f, 0x27, 0xf7, 0x3c, 0xf7, 0x65,
1725 0x09, 0x27, 0x43, 0x66, 0x15, 0x9e, 0xa4, 0x78, 0xe1, 0x98, 0x06, 0x21, 0x41, 0xbb, 0x50, 0xf4,
1726 0x75, 0x4c, 0xb2, 0x36, 0x70, 0x3c, 0x36, 0x6b, 0xf0, 0xf4, 0x84, 0xf0, 0x76, 0x30, 0xe9, 0x06,
1727 0xc3, 0x56, 0xf0, 0x96, 0x46, 0x93, 0xed, 0x42, 0x71, 0x22, 0x22, 0x3e, 0xb9, 0x8b, 0x38, 0xd1,
1728 0xd8, 0xfc, 0xd7, 0x0a, 0x6c, 0x65, 0x48, 0x7a, 0xa6, 0x0e, 0x14, 0x3d, 0xff, 0xc6, 0xe1, 0x1e,
1729 0x57, 0x33, 0x6d, 0xd6, 0xf6, 0x2b, 0xf1, 0x9e, 0x54, 0xe6, 0x72, 0x2a, 0x75, 0xff, 0x66, 0x18,
1730 0x0c, 0x43, 0xce, 0x3c, 0x3e, 0xbc, 0x25, 0x92, 0x8b, 0x63, 0x15, 0xd4, 0x86, 0x12, 0x1d, 0x13,
1731 0xa6, 0x24, 0xf3, 0x52, 0xb2, 0xfa, 0xa0, 0x64, 0x7b, 0x4c, 0x84, 0x1a, 0x0d, 0xbc, 0x91, 0xd2,
1732 0x9b, 0x6a, 0x08, 0x41, 0x55, 0x88, 0x56, 0xe0, 0xef, 0x2c, 0x7f, 0xa0, 0xe0, 0x91, 0x64, 0x4c,
1733 0x94, 0x68, 0x2b, 0xf0, 0xf1, 0x54, 0xc3, 0xfc, 0x47, 0x0e, 0x8c, 0x6c, 0x1e, 0x01, 0x14, 0xba,
1734 0xf6, 0x59, 0xfb, 0x8d, 0x6d, 0x2c, 0x21, 0x04, 0x9b, 0xae, 0x65, 0xf7, 0x1a, 0x75, 0xc7, 0xea,
1735 0xb9, 0xbd, 0xe3, 0xe6, 0x8f, 0x46, 0x0e, 0x6d, 0x03, 0x3a, 0xed, 0xda, 0x4d, 0x6c, 0x35, 0x93,
1736 0xf1, 0x3c, 0xda, 0x81, 0xa7, 0x27, 0xad, 0x93, 0x7a, 0xa3, 0xe5, 0xf6, 0x2c, 0xf7, 0xd4, 0xc2,
1737 0xb6, 0xa5, 0x32, 0xcb, 0x82, 0x21, 0x54, 0x4e, 0xd2, 0xf1, 0x95, 0x8c, 0xfa, 0x69, 0xf3, 0x47,
1738 0x63, 0x75, 0x8e, 0xba, 0x88, 0x17, 0xe6, 0xaa, 0x8b, 0xcc, 0x9a, 0x79, 0x02, 0x4f, 0xe6, 0xd4,
1739 0x41, 0x08, 0xd5, 0x9b, 0x17, 0x8e, 0x5b, 0x77, 0xad, 0x5e, 0xd7, 0x6e, 0x5a, 0xc7, 0x2d, 0xdb,
1740 0x6a, 0x1a, 0x4b, 0xe2, 0xef, 0x9d, 0xb7, 0x8f, 0xce, 0xac, 0xa6, 0x91, 0x43, 0xeb, 0x50, 0xec,
1741 0xda, 0x7a, 0x94, 0x37, 0x8f, 0xc1, 0xc8, 0xee, 0x3e, 0xfa, 0x04, 0x9e, 0xb4, 0x3b, 0x16, 0x9e,
1742 0x95, 0x29, 0xc3, 0x9a, 0x65, 0xd7, 0x1b, 0xe7, 0x91, 0x4e, 0xb3, 0xe5, 0xa8, 0x51, 0xde, 0x7c,
1743 0x9f, 0x93, 0x67, 0xa0, 0x3d, 0xe2, 0x1d, 0xca, 0xf8, 0x11, 0x9d, 0x04, 0x9c, 0xb0, 0x10, 0x6d,
1744 0x43, 0x61, 0x4c, 0x19, 0xb7, 0xa9, 0x36, 0xa5, 0x1e, 0xa1, 0x06, 0x14, 0xc5, 0x2f, 0xf7, 0xdd,
1745 0x38, 0x72, 0xc9, 0x8b, 0x4c, 0x51, 0xd3, 0x42, 0x95, 0x8e, 0x46, 0xe3, 0x98, 0x67, 0x5a, 0x50,
1746 0x8c, 0xa2, 0xc8, 0x80, 0x75, 0xf1, 0xbb, 0xd7, 0xb5, 0xcf, 0x6c, 0x55, 0xc5, 0x2d, 0x78, 0x2c,
1747 0x23, 0xf1, 0xc6, 0xd9, 0x76, 0xcb, 0xc8, 0xc5, 0xc0, 0x4e, 0xdb, 0xee, 0xb5, 0xcf, 0x5d, 0x23,
1748 0x6f, 0xfe, 0x73, 0x19, 0x76, 0x67, 0x27, 0x8c, 0x8f, 0xc8, 0x0e, 0xac, 0xf1, 0xbb, 0xc6, 0x3b,
1749 0x4e, 0x42, 0xf9, 0x17, 0x56, 0x70, 0x34, 0x14, 0x19, 0xa6, 0x33, 0x79, 0x95, 0xd1, 0x43, 0xf4,
1750 0x19, 0x94, 0xf8, 0x5d, 0xc7, 0xeb, 0xff, 0x9e, 0xf0, 0x50, 0x7a, 0x76, 0x05, 0x4f, 0x03, 0x22,
1751 0xcb, 0xe2, 0xec, 0x8a, 0xca, 0xc6, 0x01, 0xf4, 0x02, 0x36, 0xf9, 0x9d, 0xc5, 0x18, 0x65, 0x11,
1752 0x64, 0x55, 0x42, 0x32, 0x51, 0x81, 0x63, 0x69, 0x5c, 0x41, 0xe1, 0xd8, 0x0c, 0x8e, 0xdf, 0x35,
1753 0xfa, 0x5e, 0xc8, 0x23, 0xdc, 0x5a, 0xa4, 0x97, 0x8c, 0x2a, 0xbd, 0x14, 0xae, 0x18, 0xe9, 0x65,
1754 0x71, 0xfc, 0xae, 0x9b, 0xc4, 0x95, 0x22, 0xbd, 0xee, 0x8c, 0x5e, 0x0a, 0x07, 0x91, 0x5e, 0x77,
1755 0x46, 0xef, 0x22, 0x89, 0x2b, 0x47, 0x7a, 0x17, 0x33, 0x7a, 0x29, 0xdc, 0x7a, 0xa4, 0x97, 0x8c,
1756 0x9a, 0xcd, 0xa8, 0x41, 0x76, 0x68, 0xd0, 0x1e, 0xf3, 0x61, 0xdf, 0x1b, 0x89, 0xd6, 0x80, 0xbe,
1757 0x86, 0x55, 0xd9, 0xb2, 0x65, 0x15, 0xcb, 0xb5, 0xed, 0x8a, 0x6a, 0xe8, 0x95, 0xa8, 0xa1, 0x57,
1758 0x2c, 0x91, 0xc5, 0x0a, 0x64, 0xfe, 0x39, 0x0f, 0x9f, 0xcd, 0x93, 0x89, 0x6d, 0xf1, 0x15, 0x18,
1759 0x63, 0xfa, 0x47, 0xc2, 0x8e, 0x09, 0xf1, 0x2f, 0xe9, 0x88, 0x7b, 0x03, 0xd5, 0x41, 0xf3, 0x78,
1760 0x26, 0x8e, 0x6a, 0xf0, 0x94, 0x91, 0x3e, 0x19, 0xde, 0x12, 0x5f, 0x4b, 0x75, 0x04, 0x44, 0xba,
1761 0x26, 0x8f, 0xe7, 0xe6, 0xd0, 0x2b, 0xd8, 0xbe, 0x21, 0x5e, 0x34, 0xf5, 0xb9, 0x37, 0x09, 0xfa,
1762 0xd7, 0x8a, 0xb5, 0x2c, 0x59, 0x0b, 0xb2, 0x62, 0x5d, 0x23, 0x2f, 0x24, 0xac, 0x31, 0xf4, 0xc2,
1763 0xa3, 0x09, 0x63, 0x24, 0xe0, 0xd2, 0x63, 0x79, 0x3c, 0x13, 0x17, 0x0f, 0x28, 0x4e, 0x6e, 0xe4,
1764 0xe9, 0x9f, 0x30, 0x22, 0x7d, 0x96, 0xc7, 0xc9, 0x90, 0xf9, 0xb7, 0x1c, 0x7c, 0xa1, 0xb6, 0xc1,
1765 0xe2, 0xd7, 0x84, 0x05, 0x84, 0x37, 0xd8, 0xd0, 0x1f, 0x10, 0x71, 0x52, 0x4e, 0x87, 0x21, 0xa7,
1766 0xec, 0x1d, 0xc2, 0x50, 0xf2, 0x87, 0x8c, 0xf4, 0x45, 0x07, 0x59, 0xf8, 0x10, 0x59, 0x48, 0xaf,
1767 0x34, 0x23, 0x2e, 0x9e, 0xca, 0x98, 0x87, 0x50, 0x8a, 0xe3, 0x68, 0x03, 0x4a, 0xc9, 0x26, 0x24,
1768 0xfa, 0x57, 0xc7, 0x71, 0xb1, 0x55, 0xbf, 0x30, 0x72, 0x68, 0x13, 0xa0, 0xd9, 0x7e, 0x63, 0xeb,
1769 0x71, 0xde, 0xfc, 0xcb, 0x2a, 0xbc, 0x7c, 0x60, 0xca, 0xb8, 0x86, 0xcf, 0x00, 0x7c, 0x46, 0xc7,
1770 0xd6, 0x2d, 0x09, 0x78, 0xa8, 0x1b, 0x54, 0x22, 0x22, 0x9a, 0x17, 0xed, 0x73, 0x61, 0xb5, 0xbc,
1771 0x6a, 0x5e, 0x6a, 0x24, 0x0e, 0xfe, 0x38, 0x71, 0xb8, 0x37, 0x70, 0x34, 0x14, 0xbb, 0x7f, 0xc5,
1772 0xa8, 0xe7, 0x27, 0x6d, 0xba, 0x22, 0x21, 0x33, 0x71, 0x81, 0xbd, 0x99, 0x8c, 0x44, 0x01, 0xa7,
1773 0xd8, 0x55, 0x85, 0xcd, 0xc6, 0xd1, 0xd7, 0xf0, 0xb8, 0xcf, 0xfa, 0xf2, 0x5c, 0x13, 0x3f, 0x79,
1774 0xde, 0x37, 0xf0, 0x6c, 0x42, 0x28, 0x4f, 0x02, 0x9f, 0xb0, 0x70, 0xf8, 0x27, 0x92, 0x3c, 0xf4,
1775 0x1b, 0x78, 0x26, 0x8e, 0xbe, 0x84, 0x47, 0xf4, 0x36, 0x0d, 0x2d, 0x4a, 0x68, 0x36, 0x2c, 0x90,
1776 0xfa, 0x6f, 0xbe, 0xda, 0xd7, 0xdb, 0x52, 0x52, 0xc8, 0x4c, 0x58, 0xf8, 0x3d, 0x0a, 0x1d, 0xb8,
1777 0xb4, 0x5a, 0xfb, 0x4e, 0xc3, 0x41, 0xc2, 0xe7, 0xe6, 0xd0, 0x3e, 0x6c, 0xe9, 0x78, 0xb5, 0x76,
1778 0xe8, 0xd2, 0xda, 0xc1, 0x41, 0x5b, 0x91, 0xca, 0x92, 0x34, 0x3f, 0x99, 0x60, 0xd5, 0x0e, 0x5e,
1779 0xb9, 0xf4, 0xa0, 0x5a, 0xd5, 0x53, 0xad, 0xa7, 0x58, 0xe9, 0xa4, 0x38, 0x5b, 0x3a, 0x71, 0x50,
1780 0xad, 0xb9, 0xb4, 0xfa, 0x4d, 0xed, 0x5b, 0x4d, 0xdb, 0x90, 0xb4, 0x05, 0x59, 0x74, 0x08, 0x9f,
1781 0x44, 0xcb, 0xf8, 0xa6, 0xb6, 0xef, 0xd2, 0xea, 0x41, 0xf5, 0x50, 0x13, 0x37, 0x25, 0x71, 0x51,
1782 0xda, 0xfc, 0x0d, 0x18, 0xca, 0x94, 0xc7, 0xa4, 0x1f, 0x9d, 0x9b, 0x8f, 0x6b, 0x48, 0xff, 0xce,
1783 0xc1, 0x4e, 0x56, 0x22, 0x36, 0xf2, 0x0b, 0xd8, 0xec, 0x53, 0x26, 0xce, 0x0b, 0xf1, 0xa7, 0x8f,
1784 0xaa, 0x0d, 0x9c, 0x89, 0xa2, 0x0a, 0xa0, 0x38, 0x72, 0x44, 0x7d, 0xf2, 0x86, 0x32, 0x3f, 0x32,
1785 0xf7, 0x9c, 0x8c, 0x38, 0x20, 0x6f, 0x49, 0xdf, 0x21, 0x7d, 0x1a, 0xf8, 0x91, 0xd7, 0x13, 0x11,
1786 0xd9, 0xbb, 0x29, 0xf7, 0x46, 0x53, 0x2d, 0x65, 0xf6, 0x4c, 0x54, 0x6c, 0xf8, 0x24, 0xd0, 0xfa,
1787 0xde, 0xd5, 0x88, 0x4c, 0xf1, 0xca, 0xf0, 0x0b, 0xb2, 0xe6, 0xfb, 0x65, 0x78, 0x74, 0x42, 0xf8,
1788 0xa5, 0x37, 0x9a, 0xc4, 0xb7, 0xea, 0xef, 0x33, 0x97, 0xe3, 0x72, 0xed, 0xf3, 0x74, 0xb7, 0xc9,
1789 0x5c, 0xc3, 0x4f, 0x97, 0xa6, 0xb7, 0x67, 0xf4, 0x3d, 0xac, 0x4d, 0xd4, 0x55, 0x51, 0xfe, 0xeb,
1790 0x72, 0xed, 0x8b, 0xc5, 0x57, 0xc9, 0x88, 0x1d, 0x31, 0x50, 0x1d, 0xca, 0x54, 0x5d, 0x12, 0xa4,
1791 0xc0, 0xf2, 0xbc, 0xc9, 0x33, 0xb7, 0x88, 0xd3, 0x25, 0x9c, 0xe4, 0xa0, 0x16, 0x6c, 0xd2, 0x60,
1792 0x92, 0x78, 0x9e, 0xc8, 0x0d, 0x9b, 0xb7, 0x8c, 0xf4, 0x63, 0xe7, 0x74, 0x09, 0x67, 0x88, 0x08,
1793 0xc3, 0x06, 0xe1, 0xd7, 0xd3, 0xe6, 0x26, 0xb7, 0xb2, 0x5c, 0xfb, 0xea, 0xc3, 0x5b, 0xef, 0xe9,
1794 0x12, 0x4e, 0x4b, 0xa0, 0x5f, 0xcb, 0x7a, 0xeb, 0xb4, 0xec, 0x2f, 0xe5, 0xda, 0xa7, 0x33, 0x82,
1795 0x53, 0x03, 0x9e, 0x2e, 0xe1, 0x04, 0xa1, 0x51, 0x82, 0x35, 0xa6, 0xb6, 0xcd, 0x7c, 0x5f, 0x90,
1796 0x8e, 0xd7, 0x95, 0xd3, 0x36, 0xfd, 0x15, 0x14, 0x42, 0xee, 0xf1, 0x49, 0xa8, 0x1f, 0x13, 0x66,
1797 0x5a, 0x3a, 0x05, 0xae, 0x38, 0x12, 0x89, 0x35, 0x03, 0x59, 0x50, 0x22, 0x8c, 0x61, 0xe2, 0x85,
1798 0x34, 0xd0, 0x37, 0xc6, 0x97, 0xf7, 0xd1, 0x65, 0x4b, 0x54, 0x70, 0x3c, 0x65, 0xa2, 0x1f, 0x12,
1799 0xee, 0x51, 0x05, 0x7c, 0xb6, 0xc8, 0x3d, 0x4a, 0x28, 0x65, 0x9f, 0x1f, 0xa6, 0xf6, 0x51, 0x75,
1800 0x7b, 0xfe, 0xd0, 0x9b, 0x48, 0xd2, 0x3f, 0x67, 0xb0, 0x3e, 0x56, 0xde, 0xe0, 0x01, 0x61, 0xa1,
1801 0x2e, 0xd8, 0x2f, 0xee, 0x35, 0x50, 0x42, 0x27, 0x45, 0x46, 0xaf, 0x67, 0x9c, 0xa4, 0xca, 0xf5,
1802 0xf2, 0x01, 0x27, 0x25, 0x04, 0xb3, 0x8e, 0xba, 0x82, 0xc7, 0x29, 0x3b, 0x48, 0xd5, 0x35, 0xa9,
1803 0x5a, 0xfb, 0x70, 0x57, 0x25, 0x26, 0x98, 0x95, 0x43, 0x56, 0xca, 0x61, 0x45, 0x29, 0xfe, 0xf3,
1804 0x7b, 0x1c, 0x96, 0x50, 0x4b, 0x10, 0xcd, 0x2a, 0x14, 0x94, 0x3f, 0xd0, 0x53, 0x30, 0xc4, 0x7b,
1805 0x4a, 0xd7, 0x49, 0xbd, 0xa8, 0x14, 0x20, 0xdf, 0x3e, 0x33, 0x72, 0xa8, 0x04, 0xab, 0x16, 0xc6,
1806 0x6d, 0x6c, 0xe4, 0xcd, 0xbf, 0xe6, 0xa0, 0x9c, 0x30, 0x85, 0x20, 0x62, 0xab, 0xee, 0xb4, 0xed,
1807 0x14, 0xf1, 0x11, 0x94, 0xbb, 0xb6, 0xd3, 0xed, 0x74, 0xda, 0xd8, 0x95, 0x6f, 0x39, 0x5b, 0xf0,
1808 0xb8, 0x65, 0x5f, 0xd6, 0xcf, 0x5b, 0xcd, 0x5e, 0xd3, 0xba, 0x6c, 0x1d, 0x59, 0xbd, 0x56, 0xd3,
1809 0xc8, 0x27, 0xc3, 0x02, 0xda, 0x73, 0x7f, 0xdb, 0xb1, 0x8c, 0x65, 0xf1, 0x82, 0xe4, 0xb6, 0x2e,
1810 0xac, 0x76, 0xd7, 0x35, 0x56, 0xc4, 0x0c, 0x11, 0x06, 0x5b, 0xaf, 0x15, 0x64, 0x55, 0xbc, 0xff,
1811 0xb5, 0x6c, 0xd7, 0xc2, 0x76, 0xfd, 0xbc, 0xa7, 0xd6, 0x56, 0x68, 0x00, 0x14, 0x99, 0xfe, 0xa3,
1812 0xe6, 0x25, 0x3c, 0x72, 0x32, 0x2d, 0xef, 0x10, 0xd6, 0xbd, 0x91, 0xc7, 0x6e, 0xf4, 0x17, 0x09,
1813 0xdd, 0xf6, 0x9e, 0x54, 0xf4, 0x07, 0x8a, 0xba, 0xc8, 0xa9, 0x37, 0x5a, 0xd1, 0x6f, 0xbc, 0xe9,
1814 0x30, 0x79, 0x22, 0xff, 0x93, 0x03, 0xc3, 0xf9, 0x98, 0x13, 0xe9, 0xfc, 0x6f, 0x27, 0xd2, 0xf9,
1815 0xb0, 0x13, 0xf9, 0x53, 0x4a, 0xb9, 0xff, 0x53, 0x2a, 0x69, 0x0e, 0x61, 0xcb, 0x19, 0x06, 0x83,
1816 0x11, 0xc9, 0x3e, 0x51, 0x76, 0xa1, 0xc8, 0x3d, 0x36, 0x20, 0x3c, 0xfe, 0x48, 0x13, 0x8f, 0xd1,
1817 0x7e, 0xbc, 0x81, 0xfa, 0x81, 0xb1, 0x3b, 0xb7, 0xe9, 0x48, 0x04, 0x8e, 0xf7, 0xfa, 0x35, 0x6c,
1818 0x67, 0xa7, 0xd2, 0x1b, 0xfe, 0xdd, 0xb4, 0xd2, 0xba, 0x8c, 0x9f, 0xde, 0xd3, 0xc5, 0xf0, 0xd4,
1819 0x16, 0xf1, 0xea, 0x9d, 0xff, 0xd7, 0xea, 0x9d, 0x07, 0x57, 0xef, 0x7c, 0xdc, 0xea, 0x9d, 0x85,
1820 0xab, 0xaf, 0xfd, 0x3d, 0x07, 0x25, 0x2b, 0x02, 0x22, 0x0c, 0xe5, 0x13, 0xc2, 0xad, 0x3b, 0x05,
1821 0x47, 0xc9, 0x26, 0x3a, 0xb7, 0x42, 0xbb, 0x3f, 0xbb, 0x07, 0xa1, 0x97, 0x86, 0xa1, 0xec, 0xdc,
1822 0xab, 0xe9, 0x3c, 0xa8, 0x99, 0x5d, 0x7f, 0x03, 0xc3, 0xe7, 0x94, 0x0d, 0x2a, 0x74, 0x4c, 0xc4,
1823 0xf5, 0xc4, 0xaf, 0xa8, 0x4f, 0x84, 0x53, 0xde, 0xef, 0xaa, 0x83, 0x21, 0xbf, 0x9e, 0x5c, 0x55,
1824 0xfa, 0xf4, 0x66, 0x2f, 0x42, 0xed, 0x29, 0xd4, 0x2f, 0xf5, 0x87, 0xc4, 0xdb, 0xfd, 0xbd, 0x01,
1825 0x9d, 0x7e, 0x79, 0xec, 0x2c, 0x5d, 0x15, 0x64, 0xe6, 0xdb, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff,
1826 0x04, 0xc2, 0xa6, 0x22, 0x9d, 0x14, 0x00, 0x00,
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001827}
1828
1829// Reference imports to suppress errors if they are not otherwise used.
1830var _ context.Context
1831var _ grpc.ClientConn
1832
1833// This is a compile-time assertion to ensure that this generated file
1834// is compatible with the grpc package it is being compiled against.
1835const _ = grpc.SupportPackageIsVersion4
1836
1837// ExtensionClient is the client API for Extension service.
1838//
1839// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1840type ExtensionClient interface {
1841 // Get a single attribute
1842 GetExtValue(ctx context.Context, in *SingleGetValueRequest, opts ...grpc.CallOption) (*SingleGetValueResponse, error)
1843 // Set a single attribute
1844 SetExtValue(ctx context.Context, in *SingleSetValueRequest, opts ...grpc.CallOption) (*SingleSetValueResponse, error)
1845}
1846
1847type extensionClient struct {
1848 cc *grpc.ClientConn
1849}
1850
1851func NewExtensionClient(cc *grpc.ClientConn) ExtensionClient {
1852 return &extensionClient{cc}
1853}
1854
1855func (c *extensionClient) GetExtValue(ctx context.Context, in *SingleGetValueRequest, opts ...grpc.CallOption) (*SingleGetValueResponse, error) {
1856 out := new(SingleGetValueResponse)
1857 err := c.cc.Invoke(ctx, "/extension.Extension/GetExtValue", in, out, opts...)
1858 if err != nil {
1859 return nil, err
1860 }
1861 return out, nil
1862}
1863
1864func (c *extensionClient) SetExtValue(ctx context.Context, in *SingleSetValueRequest, opts ...grpc.CallOption) (*SingleSetValueResponse, error) {
1865 out := new(SingleSetValueResponse)
1866 err := c.cc.Invoke(ctx, "/extension.Extension/SetExtValue", in, out, opts...)
1867 if err != nil {
1868 return nil, err
1869 }
1870 return out, nil
1871}
1872
1873// ExtensionServer is the server API for Extension service.
1874type ExtensionServer interface {
1875 // Get a single attribute
1876 GetExtValue(context.Context, *SingleGetValueRequest) (*SingleGetValueResponse, error)
1877 // Set a single attribute
1878 SetExtValue(context.Context, *SingleSetValueRequest) (*SingleSetValueResponse, error)
1879}
1880
David K. Bainbridgec4bf5382021-04-08 16:06:54 +00001881// UnimplementedExtensionServer can be embedded to have forward compatible implementations.
1882type UnimplementedExtensionServer struct {
1883}
1884
1885func (*UnimplementedExtensionServer) GetExtValue(ctx context.Context, req *SingleGetValueRequest) (*SingleGetValueResponse, error) {
1886 return nil, status.Errorf(codes.Unimplemented, "method GetExtValue not implemented")
1887}
1888func (*UnimplementedExtensionServer) SetExtValue(ctx context.Context, req *SingleSetValueRequest) (*SingleSetValueResponse, error) {
1889 return nil, status.Errorf(codes.Unimplemented, "method SetExtValue not implemented")
1890}
1891
amit.ghosh9f6af0e2020-11-04 14:09:25 +01001892func RegisterExtensionServer(s *grpc.Server, srv ExtensionServer) {
1893 s.RegisterService(&_Extension_serviceDesc, srv)
1894}
1895
1896func _Extension_GetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1897 in := new(SingleGetValueRequest)
1898 if err := dec(in); err != nil {
1899 return nil, err
1900 }
1901 if interceptor == nil {
1902 return srv.(ExtensionServer).GetExtValue(ctx, in)
1903 }
1904 info := &grpc.UnaryServerInfo{
1905 Server: srv,
1906 FullMethod: "/extension.Extension/GetExtValue",
1907 }
1908 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1909 return srv.(ExtensionServer).GetExtValue(ctx, req.(*SingleGetValueRequest))
1910 }
1911 return interceptor(ctx, in, info, handler)
1912}
1913
1914func _Extension_SetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1915 in := new(SingleSetValueRequest)
1916 if err := dec(in); err != nil {
1917 return nil, err
1918 }
1919 if interceptor == nil {
1920 return srv.(ExtensionServer).SetExtValue(ctx, in)
1921 }
1922 info := &grpc.UnaryServerInfo{
1923 Server: srv,
1924 FullMethod: "/extension.Extension/SetExtValue",
1925 }
1926 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1927 return srv.(ExtensionServer).SetExtValue(ctx, req.(*SingleSetValueRequest))
1928 }
1929 return interceptor(ctx, in, info, handler)
1930}
1931
1932var _Extension_serviceDesc = grpc.ServiceDesc{
1933 ServiceName: "extension.Extension",
1934 HandlerType: (*ExtensionServer)(nil),
1935 Methods: []grpc.MethodDesc{
1936 {
1937 MethodName: "GetExtValue",
1938 Handler: _Extension_GetExtValue_Handler,
1939 },
1940 {
1941 MethodName: "SetExtValue",
1942 Handler: _Extension_SetExtValue_Handler,
1943 },
1944 },
1945 Streams: []grpc.StreamDesc{},
1946 Metadata: "voltha_protos/extensions.proto",
1947}