blob: 92bc924580c2f933db25c20714cd0a29e8a48bfc [file] [log] [blame]
Salman Siddiqui1cf95042020-11-19 00:42:56 +05301// 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"
Andrea Campanella025667e2021-01-14 11:50:07 +010010 empty "github.com/golang/protobuf/ptypes/empty"
Salman Siddiqui1cf95042020-11-19 00:42:56 +053011 config "github.com/opencord/voltha-protos/v4/go/ext/config"
12 grpc "google.golang.org/grpc"
David K. Bainbridgefc8e1812021-04-09 16:09:49 +000013 codes "google.golang.org/grpc/codes"
14 status "google.golang.org/grpc/status"
Salman Siddiqui1cf95042020-11-19 00:42:56 +053015 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
Andrea Campanella025667e2021-01-14 11:50:07 +0100168type 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
Salman Siddiqui1cf95042020-11-19 00:42:56 +0530224type 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) {
Maninder581cf4b2021-06-16 22:42:07 +0530249 return fileDescriptor_7ecf6e9799a9202d, []int{20, 0}
Salman Siddiqui1cf95042020-11-19 00:42:56 +0530250}
251
252type GetValueResponse_ErrorReason int32
253
254const (
Andrea Campanella025667e2021-01-14 11:50:07 +0100255 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
Maninder581cf4b2021-06-16 22:42:07 +0530262 GetValueResponse_INVALID_DEVICE GetValueResponse_ErrorReason = 7
Salman Siddiqui1cf95042020-11-19 00:42:56 +0530263)
264
265var GetValueResponse_ErrorReason_name = map[int32]string{
266 0: "REASON_UNDEFINED",
267 1: "UNSUPPORTED",
Andrea Campanella025667e2021-01-14 11:50:07 +0100268 2: "INVALID_DEVICE_ID",
269 3: "INVALID_PORT_TYPE",
270 4: "TIMEOUT",
271 5: "INVALID_REQ_TYPE",
272 6: "INTERNAL_ERROR",
Maninder581cf4b2021-06-16 22:42:07 +0530273 7: "INVALID_DEVICE",
Salman Siddiqui1cf95042020-11-19 00:42:56 +0530274}
275
276var GetValueResponse_ErrorReason_value = map[string]int32{
Andrea Campanella025667e2021-01-14 11:50:07 +0100277 "REASON_UNDEFINED": 0,
278 "UNSUPPORTED": 1,
279 "INVALID_DEVICE_ID": 2,
280 "INVALID_PORT_TYPE": 3,
281 "TIMEOUT": 4,
282 "INVALID_REQ_TYPE": 5,
283 "INTERNAL_ERROR": 6,
Maninder581cf4b2021-06-16 22:42:07 +0530284 "INVALID_DEVICE": 7,
Salman Siddiqui1cf95042020-11-19 00:42:56 +0530285}
286
287func (x GetValueResponse_ErrorReason) String() string {
288 return proto.EnumName(GetValueResponse_ErrorReason_name, int32(x))
289}
290
291func (GetValueResponse_ErrorReason) EnumDescriptor() ([]byte, []int) {
Maninder581cf4b2021-06-16 22:42:07 +0530292 return fileDescriptor_7ecf6e9799a9202d, []int{20, 1}
Salman Siddiqui1cf95042020-11-19 00:42:56 +0530293}
294
295type SetValueResponse_Status int32
296
297const (
298 SetValueResponse_STATUS_UNDEFINED SetValueResponse_Status = 0
299 SetValueResponse_OK SetValueResponse_Status = 1
300 SetValueResponse_ERROR SetValueResponse_Status = 2
301)
302
303var SetValueResponse_Status_name = map[int32]string{
304 0: "STATUS_UNDEFINED",
305 1: "OK",
306 2: "ERROR",
307}
308
309var SetValueResponse_Status_value = map[string]int32{
310 "STATUS_UNDEFINED": 0,
311 "OK": 1,
312 "ERROR": 2,
313}
314
315func (x SetValueResponse_Status) String() string {
316 return proto.EnumName(SetValueResponse_Status_name, int32(x))
317}
318
319func (SetValueResponse_Status) EnumDescriptor() ([]byte, []int) {
Maninder581cf4b2021-06-16 22:42:07 +0530320 return fileDescriptor_7ecf6e9799a9202d, []int{22, 0}
Salman Siddiqui1cf95042020-11-19 00:42:56 +0530321}
322
323type SetValueResponse_ErrorReason int32
324
325const (
326 SetValueResponse_REASON_UNDEFINED SetValueResponse_ErrorReason = 0
327 SetValueResponse_UNSUPPORTED SetValueResponse_ErrorReason = 1
328)
329
330var SetValueResponse_ErrorReason_name = map[int32]string{
331 0: "REASON_UNDEFINED",
332 1: "UNSUPPORTED",
333}
334
335var SetValueResponse_ErrorReason_value = map[string]int32{
336 "REASON_UNDEFINED": 0,
337 "UNSUPPORTED": 1,
338}
339
340func (x SetValueResponse_ErrorReason) String() string {
341 return proto.EnumName(SetValueResponse_ErrorReason_name, int32(x))
342}
343
344func (SetValueResponse_ErrorReason) EnumDescriptor() ([]byte, []int) {
Maninder581cf4b2021-06-16 22:42:07 +0530345 return fileDescriptor_7ecf6e9799a9202d, []int{22, 1}
Salman Siddiqui1cf95042020-11-19 00:42:56 +0530346}
347
348type GetDistanceRequest struct {
349 OnuDeviceId string `protobuf:"bytes,1,opt,name=onuDeviceId,proto3" json:"onuDeviceId,omitempty"`
350 XXX_NoUnkeyedLiteral struct{} `json:"-"`
351 XXX_unrecognized []byte `json:"-"`
352 XXX_sizecache int32 `json:"-"`
353}
354
355func (m *GetDistanceRequest) Reset() { *m = GetDistanceRequest{} }
356func (m *GetDistanceRequest) String() string { return proto.CompactTextString(m) }
357func (*GetDistanceRequest) ProtoMessage() {}
358func (*GetDistanceRequest) Descriptor() ([]byte, []int) {
359 return fileDescriptor_7ecf6e9799a9202d, []int{0}
360}
361
362func (m *GetDistanceRequest) XXX_Unmarshal(b []byte) error {
363 return xxx_messageInfo_GetDistanceRequest.Unmarshal(m, b)
364}
365func (m *GetDistanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
366 return xxx_messageInfo_GetDistanceRequest.Marshal(b, m, deterministic)
367}
368func (m *GetDistanceRequest) XXX_Merge(src proto.Message) {
369 xxx_messageInfo_GetDistanceRequest.Merge(m, src)
370}
371func (m *GetDistanceRequest) XXX_Size() int {
372 return xxx_messageInfo_GetDistanceRequest.Size(m)
373}
374func (m *GetDistanceRequest) XXX_DiscardUnknown() {
375 xxx_messageInfo_GetDistanceRequest.DiscardUnknown(m)
376}
377
378var xxx_messageInfo_GetDistanceRequest proto.InternalMessageInfo
379
380func (m *GetDistanceRequest) GetOnuDeviceId() string {
381 if m != nil {
382 return m.OnuDeviceId
383 }
384 return ""
385}
386
387type GetDistanceResponse struct {
388 Distance uint32 `protobuf:"varint,1,opt,name=distance,proto3" json:"distance,omitempty"`
389 XXX_NoUnkeyedLiteral struct{} `json:"-"`
390 XXX_unrecognized []byte `json:"-"`
391 XXX_sizecache int32 `json:"-"`
392}
393
394func (m *GetDistanceResponse) Reset() { *m = GetDistanceResponse{} }
395func (m *GetDistanceResponse) String() string { return proto.CompactTextString(m) }
396func (*GetDistanceResponse) ProtoMessage() {}
397func (*GetDistanceResponse) Descriptor() ([]byte, []int) {
398 return fileDescriptor_7ecf6e9799a9202d, []int{1}
399}
400
401func (m *GetDistanceResponse) XXX_Unmarshal(b []byte) error {
402 return xxx_messageInfo_GetDistanceResponse.Unmarshal(m, b)
403}
404func (m *GetDistanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
405 return xxx_messageInfo_GetDistanceResponse.Marshal(b, m, deterministic)
406}
407func (m *GetDistanceResponse) XXX_Merge(src proto.Message) {
408 xxx_messageInfo_GetDistanceResponse.Merge(m, src)
409}
410func (m *GetDistanceResponse) XXX_Size() int {
411 return xxx_messageInfo_GetDistanceResponse.Size(m)
412}
413func (m *GetDistanceResponse) XXX_DiscardUnknown() {
414 xxx_messageInfo_GetDistanceResponse.DiscardUnknown(m)
415}
416
417var xxx_messageInfo_GetDistanceResponse proto.InternalMessageInfo
418
419func (m *GetDistanceResponse) GetDistance() uint32 {
420 if m != nil {
421 return m.Distance
422 }
423 return 0
424}
425
426type GetOnuUniInfoRequest struct {
427 UniIndex uint32 `protobuf:"varint,1,opt,name=uniIndex,proto3" json:"uniIndex,omitempty"`
428 XXX_NoUnkeyedLiteral struct{} `json:"-"`
429 XXX_unrecognized []byte `json:"-"`
430 XXX_sizecache int32 `json:"-"`
431}
432
433func (m *GetOnuUniInfoRequest) Reset() { *m = GetOnuUniInfoRequest{} }
434func (m *GetOnuUniInfoRequest) String() string { return proto.CompactTextString(m) }
435func (*GetOnuUniInfoRequest) ProtoMessage() {}
436func (*GetOnuUniInfoRequest) Descriptor() ([]byte, []int) {
437 return fileDescriptor_7ecf6e9799a9202d, []int{2}
438}
439
440func (m *GetOnuUniInfoRequest) XXX_Unmarshal(b []byte) error {
441 return xxx_messageInfo_GetOnuUniInfoRequest.Unmarshal(m, b)
442}
443func (m *GetOnuUniInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
444 return xxx_messageInfo_GetOnuUniInfoRequest.Marshal(b, m, deterministic)
445}
446func (m *GetOnuUniInfoRequest) XXX_Merge(src proto.Message) {
447 xxx_messageInfo_GetOnuUniInfoRequest.Merge(m, src)
448}
449func (m *GetOnuUniInfoRequest) XXX_Size() int {
450 return xxx_messageInfo_GetOnuUniInfoRequest.Size(m)
451}
452func (m *GetOnuUniInfoRequest) XXX_DiscardUnknown() {
453 xxx_messageInfo_GetOnuUniInfoRequest.DiscardUnknown(m)
454}
455
456var xxx_messageInfo_GetOnuUniInfoRequest proto.InternalMessageInfo
457
458func (m *GetOnuUniInfoRequest) GetUniIndex() uint32 {
459 if m != nil {
460 return m.UniIndex
461 }
462 return 0
463}
464
465type GetOnuUniInfoResponse struct {
466 AdmState GetOnuUniInfoResponse_AdministrativeState `protobuf:"varint,1,opt,name=admState,proto3,enum=extension.GetOnuUniInfoResponse_AdministrativeState" json:"admState,omitempty"`
467 OperState GetOnuUniInfoResponse_OperationalState `protobuf:"varint,2,opt,name=operState,proto3,enum=extension.GetOnuUniInfoResponse_OperationalState" json:"operState,omitempty"`
468 ConfigInd GetOnuUniInfoResponse_ConfigurationInd `protobuf:"varint,3,opt,name=configInd,proto3,enum=extension.GetOnuUniInfoResponse_ConfigurationInd" json:"configInd,omitempty"`
469 XXX_NoUnkeyedLiteral struct{} `json:"-"`
470 XXX_unrecognized []byte `json:"-"`
471 XXX_sizecache int32 `json:"-"`
472}
473
474func (m *GetOnuUniInfoResponse) Reset() { *m = GetOnuUniInfoResponse{} }
475func (m *GetOnuUniInfoResponse) String() string { return proto.CompactTextString(m) }
476func (*GetOnuUniInfoResponse) ProtoMessage() {}
477func (*GetOnuUniInfoResponse) Descriptor() ([]byte, []int) {
478 return fileDescriptor_7ecf6e9799a9202d, []int{3}
479}
480
481func (m *GetOnuUniInfoResponse) XXX_Unmarshal(b []byte) error {
482 return xxx_messageInfo_GetOnuUniInfoResponse.Unmarshal(m, b)
483}
484func (m *GetOnuUniInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
485 return xxx_messageInfo_GetOnuUniInfoResponse.Marshal(b, m, deterministic)
486}
487func (m *GetOnuUniInfoResponse) XXX_Merge(src proto.Message) {
488 xxx_messageInfo_GetOnuUniInfoResponse.Merge(m, src)
489}
490func (m *GetOnuUniInfoResponse) XXX_Size() int {
491 return xxx_messageInfo_GetOnuUniInfoResponse.Size(m)
492}
493func (m *GetOnuUniInfoResponse) XXX_DiscardUnknown() {
494 xxx_messageInfo_GetOnuUniInfoResponse.DiscardUnknown(m)
495}
496
497var xxx_messageInfo_GetOnuUniInfoResponse proto.InternalMessageInfo
498
499func (m *GetOnuUniInfoResponse) GetAdmState() GetOnuUniInfoResponse_AdministrativeState {
500 if m != nil {
501 return m.AdmState
502 }
503 return GetOnuUniInfoResponse_ADMSTATE_UNDEFINED
504}
505
506func (m *GetOnuUniInfoResponse) GetOperState() GetOnuUniInfoResponse_OperationalState {
507 if m != nil {
508 return m.OperState
509 }
510 return GetOnuUniInfoResponse_OPERSTATE_UNDEFINED
511}
512
513func (m *GetOnuUniInfoResponse) GetConfigInd() GetOnuUniInfoResponse_ConfigurationInd {
514 if m != nil {
515 return m.ConfigInd
516 }
517 return GetOnuUniInfoResponse_UNKOWN
518}
519
Andrea Campanella025667e2021-01-14 11:50:07 +0100520type GetOltPortCounters struct {
521 PortNo uint32 `protobuf:"varint,1,opt,name=portNo,proto3" json:"portNo,omitempty"`
522 PortType GetOltPortCounters_PortType `protobuf:"varint,2,opt,name=portType,proto3,enum=extension.GetOltPortCounters_PortType" json:"portType,omitempty"`
523 XXX_NoUnkeyedLiteral struct{} `json:"-"`
524 XXX_unrecognized []byte `json:"-"`
525 XXX_sizecache int32 `json:"-"`
526}
527
528func (m *GetOltPortCounters) Reset() { *m = GetOltPortCounters{} }
529func (m *GetOltPortCounters) String() string { return proto.CompactTextString(m) }
530func (*GetOltPortCounters) ProtoMessage() {}
531func (*GetOltPortCounters) Descriptor() ([]byte, []int) {
532 return fileDescriptor_7ecf6e9799a9202d, []int{4}
533}
534
535func (m *GetOltPortCounters) XXX_Unmarshal(b []byte) error {
536 return xxx_messageInfo_GetOltPortCounters.Unmarshal(m, b)
537}
538func (m *GetOltPortCounters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
539 return xxx_messageInfo_GetOltPortCounters.Marshal(b, m, deterministic)
540}
541func (m *GetOltPortCounters) XXX_Merge(src proto.Message) {
542 xxx_messageInfo_GetOltPortCounters.Merge(m, src)
543}
544func (m *GetOltPortCounters) XXX_Size() int {
545 return xxx_messageInfo_GetOltPortCounters.Size(m)
546}
547func (m *GetOltPortCounters) XXX_DiscardUnknown() {
548 xxx_messageInfo_GetOltPortCounters.DiscardUnknown(m)
549}
550
551var xxx_messageInfo_GetOltPortCounters proto.InternalMessageInfo
552
553func (m *GetOltPortCounters) GetPortNo() uint32 {
554 if m != nil {
555 return m.PortNo
556 }
557 return 0
558}
559
560func (m *GetOltPortCounters) GetPortType() GetOltPortCounters_PortType {
561 if m != nil {
562 return m.PortType
563 }
564 return GetOltPortCounters_Port_UNKNOWN
565}
566
567type GetOltPortCountersResponse struct {
568 TxBytes uint64 `protobuf:"varint,1,opt,name=txBytes,proto3" json:"txBytes,omitempty"`
569 RxBytes uint64 `protobuf:"varint,2,opt,name=rxBytes,proto3" json:"rxBytes,omitempty"`
570 TxPackets uint64 `protobuf:"varint,3,opt,name=txPackets,proto3" json:"txPackets,omitempty"`
571 RxPackets uint64 `protobuf:"varint,4,opt,name=rxPackets,proto3" json:"rxPackets,omitempty"`
572 TxErrorPackets uint64 `protobuf:"varint,5,opt,name=txErrorPackets,proto3" json:"txErrorPackets,omitempty"`
573 RxErrorPackets uint64 `protobuf:"varint,6,opt,name=rxErrorPackets,proto3" json:"rxErrorPackets,omitempty"`
574 TxBcastPackets uint64 `protobuf:"varint,7,opt,name=txBcastPackets,proto3" json:"txBcastPackets,omitempty"`
575 RxBcastPackets uint64 `protobuf:"varint,8,opt,name=rxBcastPackets,proto3" json:"rxBcastPackets,omitempty"`
576 TxUcastPackets uint64 `protobuf:"varint,9,opt,name=txUcastPackets,proto3" json:"txUcastPackets,omitempty"`
577 RxUcastPackets uint64 `protobuf:"varint,10,opt,name=rxUcastPackets,proto3" json:"rxUcastPackets,omitempty"`
578 TxMcastPackets uint64 `protobuf:"varint,11,opt,name=txMcastPackets,proto3" json:"txMcastPackets,omitempty"`
579 RxMcastPackets uint64 `protobuf:"varint,12,opt,name=rxMcastPackets,proto3" json:"rxMcastPackets,omitempty"`
580 XXX_NoUnkeyedLiteral struct{} `json:"-"`
581 XXX_unrecognized []byte `json:"-"`
582 XXX_sizecache int32 `json:"-"`
583}
584
585func (m *GetOltPortCountersResponse) Reset() { *m = GetOltPortCountersResponse{} }
586func (m *GetOltPortCountersResponse) String() string { return proto.CompactTextString(m) }
587func (*GetOltPortCountersResponse) ProtoMessage() {}
588func (*GetOltPortCountersResponse) Descriptor() ([]byte, []int) {
589 return fileDescriptor_7ecf6e9799a9202d, []int{5}
590}
591
592func (m *GetOltPortCountersResponse) XXX_Unmarshal(b []byte) error {
593 return xxx_messageInfo_GetOltPortCountersResponse.Unmarshal(m, b)
594}
595func (m *GetOltPortCountersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
596 return xxx_messageInfo_GetOltPortCountersResponse.Marshal(b, m, deterministic)
597}
598func (m *GetOltPortCountersResponse) XXX_Merge(src proto.Message) {
599 xxx_messageInfo_GetOltPortCountersResponse.Merge(m, src)
600}
601func (m *GetOltPortCountersResponse) XXX_Size() int {
602 return xxx_messageInfo_GetOltPortCountersResponse.Size(m)
603}
604func (m *GetOltPortCountersResponse) XXX_DiscardUnknown() {
605 xxx_messageInfo_GetOltPortCountersResponse.DiscardUnknown(m)
606}
607
608var xxx_messageInfo_GetOltPortCountersResponse proto.InternalMessageInfo
609
610func (m *GetOltPortCountersResponse) GetTxBytes() uint64 {
611 if m != nil {
612 return m.TxBytes
613 }
614 return 0
615}
616
617func (m *GetOltPortCountersResponse) GetRxBytes() uint64 {
618 if m != nil {
619 return m.RxBytes
620 }
621 return 0
622}
623
624func (m *GetOltPortCountersResponse) GetTxPackets() uint64 {
625 if m != nil {
626 return m.TxPackets
627 }
628 return 0
629}
630
631func (m *GetOltPortCountersResponse) GetRxPackets() uint64 {
632 if m != nil {
633 return m.RxPackets
634 }
635 return 0
636}
637
638func (m *GetOltPortCountersResponse) GetTxErrorPackets() uint64 {
639 if m != nil {
640 return m.TxErrorPackets
641 }
642 return 0
643}
644
645func (m *GetOltPortCountersResponse) GetRxErrorPackets() uint64 {
646 if m != nil {
647 return m.RxErrorPackets
648 }
649 return 0
650}
651
652func (m *GetOltPortCountersResponse) GetTxBcastPackets() uint64 {
653 if m != nil {
654 return m.TxBcastPackets
655 }
656 return 0
657}
658
659func (m *GetOltPortCountersResponse) GetRxBcastPackets() uint64 {
660 if m != nil {
661 return m.RxBcastPackets
662 }
663 return 0
664}
665
666func (m *GetOltPortCountersResponse) GetTxUcastPackets() uint64 {
667 if m != nil {
668 return m.TxUcastPackets
669 }
670 return 0
671}
672
673func (m *GetOltPortCountersResponse) GetRxUcastPackets() uint64 {
674 if m != nil {
675 return m.RxUcastPackets
676 }
677 return 0
678}
679
680func (m *GetOltPortCountersResponse) GetTxMcastPackets() uint64 {
681 if m != nil {
682 return m.TxMcastPackets
683 }
684 return 0
685}
686
687func (m *GetOltPortCountersResponse) GetRxMcastPackets() uint64 {
688 if m != nil {
689 return m.RxMcastPackets
690 }
691 return 0
692}
693
694type GetOnuPonOpticalInfo struct {
695 Empty *empty.Empty `protobuf:"bytes,1,opt,name=empty,proto3" json:"empty,omitempty"`
696 XXX_NoUnkeyedLiteral struct{} `json:"-"`
697 XXX_unrecognized []byte `json:"-"`
698 XXX_sizecache int32 `json:"-"`
699}
700
701func (m *GetOnuPonOpticalInfo) Reset() { *m = GetOnuPonOpticalInfo{} }
702func (m *GetOnuPonOpticalInfo) String() string { return proto.CompactTextString(m) }
703func (*GetOnuPonOpticalInfo) ProtoMessage() {}
704func (*GetOnuPonOpticalInfo) Descriptor() ([]byte, []int) {
705 return fileDescriptor_7ecf6e9799a9202d, []int{6}
706}
707
708func (m *GetOnuPonOpticalInfo) XXX_Unmarshal(b []byte) error {
709 return xxx_messageInfo_GetOnuPonOpticalInfo.Unmarshal(m, b)
710}
711func (m *GetOnuPonOpticalInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
712 return xxx_messageInfo_GetOnuPonOpticalInfo.Marshal(b, m, deterministic)
713}
714func (m *GetOnuPonOpticalInfo) XXX_Merge(src proto.Message) {
715 xxx_messageInfo_GetOnuPonOpticalInfo.Merge(m, src)
716}
717func (m *GetOnuPonOpticalInfo) XXX_Size() int {
718 return xxx_messageInfo_GetOnuPonOpticalInfo.Size(m)
719}
720func (m *GetOnuPonOpticalInfo) XXX_DiscardUnknown() {
721 xxx_messageInfo_GetOnuPonOpticalInfo.DiscardUnknown(m)
722}
723
724var xxx_messageInfo_GetOnuPonOpticalInfo proto.InternalMessageInfo
725
726func (m *GetOnuPonOpticalInfo) GetEmpty() *empty.Empty {
727 if m != nil {
728 return m.Empty
729 }
730 return nil
731}
732
Maninder581cf4b2021-06-16 22:42:07 +0530733// These values correspond to the Optical Line Supervision Test results
734// described in section A3.39.5 of ITU-T G.988 (11/2017) specification.
Andrea Campanella025667e2021-01-14 11:50:07 +0100735type GetOnuPonOpticalInfoResponse struct {
Maninder581cf4b2021-06-16 22:42:07 +0530736 PowerFeedVoltage float32 `protobuf:"fixed32,1,opt,name=powerFeedVoltage,proto3" json:"powerFeedVoltage,omitempty"`
737 ReceivedOpticalPower float32 `protobuf:"fixed32,2,opt,name=receivedOpticalPower,proto3" json:"receivedOpticalPower,omitempty"`
738 MeanOpticalLaunchPower float32 `protobuf:"fixed32,3,opt,name=meanOpticalLaunchPower,proto3" json:"meanOpticalLaunchPower,omitempty"`
739 LaserBiasCurrent float32 `protobuf:"fixed32,4,opt,name=laserBiasCurrent,proto3" json:"laserBiasCurrent,omitempty"`
740 Temperature float32 `protobuf:"fixed32,5,opt,name=temperature,proto3" json:"temperature,omitempty"`
741 XXX_NoUnkeyedLiteral struct{} `json:"-"`
742 XXX_unrecognized []byte `json:"-"`
743 XXX_sizecache int32 `json:"-"`
Andrea Campanella025667e2021-01-14 11:50:07 +0100744}
745
746func (m *GetOnuPonOpticalInfoResponse) Reset() { *m = GetOnuPonOpticalInfoResponse{} }
747func (m *GetOnuPonOpticalInfoResponse) String() string { return proto.CompactTextString(m) }
748func (*GetOnuPonOpticalInfoResponse) ProtoMessage() {}
749func (*GetOnuPonOpticalInfoResponse) Descriptor() ([]byte, []int) {
750 return fileDescriptor_7ecf6e9799a9202d, []int{7}
751}
752
753func (m *GetOnuPonOpticalInfoResponse) XXX_Unmarshal(b []byte) error {
754 return xxx_messageInfo_GetOnuPonOpticalInfoResponse.Unmarshal(m, b)
755}
756func (m *GetOnuPonOpticalInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
757 return xxx_messageInfo_GetOnuPonOpticalInfoResponse.Marshal(b, m, deterministic)
758}
759func (m *GetOnuPonOpticalInfoResponse) XXX_Merge(src proto.Message) {
760 xxx_messageInfo_GetOnuPonOpticalInfoResponse.Merge(m, src)
761}
762func (m *GetOnuPonOpticalInfoResponse) XXX_Size() int {
763 return xxx_messageInfo_GetOnuPonOpticalInfoResponse.Size(m)
764}
765func (m *GetOnuPonOpticalInfoResponse) XXX_DiscardUnknown() {
766 xxx_messageInfo_GetOnuPonOpticalInfoResponse.DiscardUnknown(m)
767}
768
769var xxx_messageInfo_GetOnuPonOpticalInfoResponse proto.InternalMessageInfo
770
Maninder581cf4b2021-06-16 22:42:07 +0530771func (m *GetOnuPonOpticalInfoResponse) GetPowerFeedVoltage() float32 {
Andrea Campanella025667e2021-01-14 11:50:07 +0100772 if m != nil {
773 return m.PowerFeedVoltage
774 }
775 return 0
776}
777
Maninder581cf4b2021-06-16 22:42:07 +0530778func (m *GetOnuPonOpticalInfoResponse) GetReceivedOpticalPower() float32 {
Andrea Campanella025667e2021-01-14 11:50:07 +0100779 if m != nil {
780 return m.ReceivedOpticalPower
781 }
782 return 0
783}
784
Maninder581cf4b2021-06-16 22:42:07 +0530785func (m *GetOnuPonOpticalInfoResponse) GetMeanOpticalLaunchPower() float32 {
Andrea Campanella025667e2021-01-14 11:50:07 +0100786 if m != nil {
Maninder581cf4b2021-06-16 22:42:07 +0530787 return m.MeanOpticalLaunchPower
Andrea Campanella025667e2021-01-14 11:50:07 +0100788 }
789 return 0
790}
791
Maninder581cf4b2021-06-16 22:42:07 +0530792func (m *GetOnuPonOpticalInfoResponse) GetLaserBiasCurrent() float32 {
793 if m != nil {
794 return m.LaserBiasCurrent
795 }
796 return 0
797}
798
799func (m *GetOnuPonOpticalInfoResponse) GetTemperature() float32 {
Andrea Campanella025667e2021-01-14 11:50:07 +0100800 if m != nil {
801 return m.Temperature
802 }
803 return 0
804}
805
Andrea Campanella025667e2021-01-14 11:50:07 +0100806type GetOnuEthernetBridgePortHistory struct {
807 Direction GetOnuEthernetBridgePortHistory_Direction `protobuf:"varint,1,opt,name=direction,proto3,enum=extension.GetOnuEthernetBridgePortHistory_Direction" json:"direction,omitempty"`
808 XXX_NoUnkeyedLiteral struct{} `json:"-"`
809 XXX_unrecognized []byte `json:"-"`
810 XXX_sizecache int32 `json:"-"`
811}
812
813func (m *GetOnuEthernetBridgePortHistory) Reset() { *m = GetOnuEthernetBridgePortHistory{} }
814func (m *GetOnuEthernetBridgePortHistory) String() string { return proto.CompactTextString(m) }
815func (*GetOnuEthernetBridgePortHistory) ProtoMessage() {}
816func (*GetOnuEthernetBridgePortHistory) Descriptor() ([]byte, []int) {
817 return fileDescriptor_7ecf6e9799a9202d, []int{8}
818}
819
820func (m *GetOnuEthernetBridgePortHistory) XXX_Unmarshal(b []byte) error {
821 return xxx_messageInfo_GetOnuEthernetBridgePortHistory.Unmarshal(m, b)
822}
823func (m *GetOnuEthernetBridgePortHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
824 return xxx_messageInfo_GetOnuEthernetBridgePortHistory.Marshal(b, m, deterministic)
825}
826func (m *GetOnuEthernetBridgePortHistory) XXX_Merge(src proto.Message) {
827 xxx_messageInfo_GetOnuEthernetBridgePortHistory.Merge(m, src)
828}
829func (m *GetOnuEthernetBridgePortHistory) XXX_Size() int {
830 return xxx_messageInfo_GetOnuEthernetBridgePortHistory.Size(m)
831}
832func (m *GetOnuEthernetBridgePortHistory) XXX_DiscardUnknown() {
833 xxx_messageInfo_GetOnuEthernetBridgePortHistory.DiscardUnknown(m)
834}
835
836var xxx_messageInfo_GetOnuEthernetBridgePortHistory proto.InternalMessageInfo
837
838func (m *GetOnuEthernetBridgePortHistory) GetDirection() GetOnuEthernetBridgePortHistory_Direction {
839 if m != nil {
840 return m.Direction
841 }
842 return GetOnuEthernetBridgePortHistory_UNDEFINED
843}
844
845type GetOnuEthernetBridgePortHistoryResponse struct {
846 DropEvents uint32 `protobuf:"varint,1,opt,name=dropEvents,proto3" json:"dropEvents,omitempty"`
847 Octets uint32 `protobuf:"varint,2,opt,name=octets,proto3" json:"octets,omitempty"`
848 Packets uint32 `protobuf:"varint,3,opt,name=packets,proto3" json:"packets,omitempty"`
849 BroadcastPackets uint32 `protobuf:"varint,4,opt,name=broadcastPackets,proto3" json:"broadcastPackets,omitempty"`
850 MulticastPackets uint32 `protobuf:"varint,5,opt,name=multicastPackets,proto3" json:"multicastPackets,omitempty"`
851 CrcErroredPackets uint32 `protobuf:"varint,6,opt,name=crcErroredPackets,proto3" json:"crcErroredPackets,omitempty"`
852 UndersizePackets uint32 `protobuf:"varint,7,opt,name=undersizePackets,proto3" json:"undersizePackets,omitempty"`
853 OversizePackets uint32 `protobuf:"varint,8,opt,name=oversizePackets,proto3" json:"oversizePackets,omitempty"`
854 Packets64Octets uint32 `protobuf:"varint,9,opt,name=packets64octets,proto3" json:"packets64octets,omitempty"`
855 Packets65To127Octets uint32 `protobuf:"varint,10,opt,name=packets65To127octets,proto3" json:"packets65To127octets,omitempty"`
856 Packets128To255Octets uint32 `protobuf:"varint,11,opt,name=packets128To255Octets,proto3" json:"packets128To255Octets,omitempty"`
857 Packets256To511Octets uint32 `protobuf:"varint,12,opt,name=packets256To511octets,proto3" json:"packets256To511octets,omitempty"`
858 Packets512To1023Octets uint32 `protobuf:"varint,13,opt,name=packets512To1023octets,proto3" json:"packets512To1023octets,omitempty"`
859 Packets1024To1518Octets uint32 `protobuf:"varint,14,opt,name=packets1024To1518octets,proto3" json:"packets1024To1518octets,omitempty"`
860 XXX_NoUnkeyedLiteral struct{} `json:"-"`
861 XXX_unrecognized []byte `json:"-"`
862 XXX_sizecache int32 `json:"-"`
863}
864
865func (m *GetOnuEthernetBridgePortHistoryResponse) Reset() {
866 *m = GetOnuEthernetBridgePortHistoryResponse{}
867}
868func (m *GetOnuEthernetBridgePortHistoryResponse) String() string { return proto.CompactTextString(m) }
869func (*GetOnuEthernetBridgePortHistoryResponse) ProtoMessage() {}
870func (*GetOnuEthernetBridgePortHistoryResponse) Descriptor() ([]byte, []int) {
871 return fileDescriptor_7ecf6e9799a9202d, []int{9}
872}
873
874func (m *GetOnuEthernetBridgePortHistoryResponse) XXX_Unmarshal(b []byte) error {
875 return xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse.Unmarshal(m, b)
876}
877func (m *GetOnuEthernetBridgePortHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
878 return xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse.Marshal(b, m, deterministic)
879}
880func (m *GetOnuEthernetBridgePortHistoryResponse) XXX_Merge(src proto.Message) {
881 xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse.Merge(m, src)
882}
883func (m *GetOnuEthernetBridgePortHistoryResponse) XXX_Size() int {
884 return xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse.Size(m)
885}
886func (m *GetOnuEthernetBridgePortHistoryResponse) XXX_DiscardUnknown() {
887 xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse.DiscardUnknown(m)
888}
889
890var xxx_messageInfo_GetOnuEthernetBridgePortHistoryResponse proto.InternalMessageInfo
891
892func (m *GetOnuEthernetBridgePortHistoryResponse) GetDropEvents() uint32 {
893 if m != nil {
894 return m.DropEvents
895 }
896 return 0
897}
898
899func (m *GetOnuEthernetBridgePortHistoryResponse) GetOctets() uint32 {
900 if m != nil {
901 return m.Octets
902 }
903 return 0
904}
905
906func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets() uint32 {
907 if m != nil {
908 return m.Packets
909 }
910 return 0
911}
912
913func (m *GetOnuEthernetBridgePortHistoryResponse) GetBroadcastPackets() uint32 {
914 if m != nil {
915 return m.BroadcastPackets
916 }
917 return 0
918}
919
920func (m *GetOnuEthernetBridgePortHistoryResponse) GetMulticastPackets() uint32 {
921 if m != nil {
922 return m.MulticastPackets
923 }
924 return 0
925}
926
927func (m *GetOnuEthernetBridgePortHistoryResponse) GetCrcErroredPackets() uint32 {
928 if m != nil {
929 return m.CrcErroredPackets
930 }
931 return 0
932}
933
934func (m *GetOnuEthernetBridgePortHistoryResponse) GetUndersizePackets() uint32 {
935 if m != nil {
936 return m.UndersizePackets
937 }
938 return 0
939}
940
941func (m *GetOnuEthernetBridgePortHistoryResponse) GetOversizePackets() uint32 {
942 if m != nil {
943 return m.OversizePackets
944 }
945 return 0
946}
947
948func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets64Octets() uint32 {
949 if m != nil {
950 return m.Packets64Octets
951 }
952 return 0
953}
954
955func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets65To127Octets() uint32 {
956 if m != nil {
957 return m.Packets65To127Octets
958 }
959 return 0
960}
961
962func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets128To255Octets() uint32 {
963 if m != nil {
964 return m.Packets128To255Octets
965 }
966 return 0
967}
968
969func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets256To511Octets() uint32 {
970 if m != nil {
971 return m.Packets256To511Octets
972 }
973 return 0
974}
975
976func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets512To1023Octets() uint32 {
977 if m != nil {
978 return m.Packets512To1023Octets
979 }
980 return 0
981}
982
983func (m *GetOnuEthernetBridgePortHistoryResponse) GetPackets1024To1518Octets() uint32 {
984 if m != nil {
985 return m.Packets1024To1518Octets
986 }
987 return 0
988}
989
990type GetOnuFecHistory struct {
991 Empty *empty.Empty `protobuf:"bytes,1,opt,name=empty,proto3" json:"empty,omitempty"`
992 XXX_NoUnkeyedLiteral struct{} `json:"-"`
993 XXX_unrecognized []byte `json:"-"`
994 XXX_sizecache int32 `json:"-"`
995}
996
997func (m *GetOnuFecHistory) Reset() { *m = GetOnuFecHistory{} }
998func (m *GetOnuFecHistory) String() string { return proto.CompactTextString(m) }
999func (*GetOnuFecHistory) ProtoMessage() {}
1000func (*GetOnuFecHistory) Descriptor() ([]byte, []int) {
1001 return fileDescriptor_7ecf6e9799a9202d, []int{10}
1002}
1003
1004func (m *GetOnuFecHistory) XXX_Unmarshal(b []byte) error {
1005 return xxx_messageInfo_GetOnuFecHistory.Unmarshal(m, b)
1006}
1007func (m *GetOnuFecHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1008 return xxx_messageInfo_GetOnuFecHistory.Marshal(b, m, deterministic)
1009}
1010func (m *GetOnuFecHistory) XXX_Merge(src proto.Message) {
1011 xxx_messageInfo_GetOnuFecHistory.Merge(m, src)
1012}
1013func (m *GetOnuFecHistory) XXX_Size() int {
1014 return xxx_messageInfo_GetOnuFecHistory.Size(m)
1015}
1016func (m *GetOnuFecHistory) XXX_DiscardUnknown() {
1017 xxx_messageInfo_GetOnuFecHistory.DiscardUnknown(m)
1018}
1019
1020var xxx_messageInfo_GetOnuFecHistory proto.InternalMessageInfo
1021
1022func (m *GetOnuFecHistory) GetEmpty() *empty.Empty {
1023 if m != nil {
1024 return m.Empty
1025 }
1026 return nil
1027}
1028
1029type GetOnuFecHistoryResponse struct {
1030 CorrectedBytes uint32 `protobuf:"varint,1,opt,name=correctedBytes,proto3" json:"correctedBytes,omitempty"`
1031 CorrectedCodeWords uint32 `protobuf:"varint,2,opt,name=correctedCodeWords,proto3" json:"correctedCodeWords,omitempty"`
1032 FecSeconds uint32 `protobuf:"varint,3,opt,name=fecSeconds,proto3" json:"fecSeconds,omitempty"`
1033 TotalCodeWords uint32 `protobuf:"varint,4,opt,name=totalCodeWords,proto3" json:"totalCodeWords,omitempty"`
1034 UncorrectableCodeWords uint32 `protobuf:"varint,5,opt,name=uncorrectableCodeWords,proto3" json:"uncorrectableCodeWords,omitempty"`
1035 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1036 XXX_unrecognized []byte `json:"-"`
1037 XXX_sizecache int32 `json:"-"`
1038}
1039
1040func (m *GetOnuFecHistoryResponse) Reset() { *m = GetOnuFecHistoryResponse{} }
1041func (m *GetOnuFecHistoryResponse) String() string { return proto.CompactTextString(m) }
1042func (*GetOnuFecHistoryResponse) ProtoMessage() {}
1043func (*GetOnuFecHistoryResponse) Descriptor() ([]byte, []int) {
1044 return fileDescriptor_7ecf6e9799a9202d, []int{11}
1045}
1046
1047func (m *GetOnuFecHistoryResponse) XXX_Unmarshal(b []byte) error {
1048 return xxx_messageInfo_GetOnuFecHistoryResponse.Unmarshal(m, b)
1049}
1050func (m *GetOnuFecHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1051 return xxx_messageInfo_GetOnuFecHistoryResponse.Marshal(b, m, deterministic)
1052}
1053func (m *GetOnuFecHistoryResponse) XXX_Merge(src proto.Message) {
1054 xxx_messageInfo_GetOnuFecHistoryResponse.Merge(m, src)
1055}
1056func (m *GetOnuFecHistoryResponse) XXX_Size() int {
1057 return xxx_messageInfo_GetOnuFecHistoryResponse.Size(m)
1058}
1059func (m *GetOnuFecHistoryResponse) XXX_DiscardUnknown() {
1060 xxx_messageInfo_GetOnuFecHistoryResponse.DiscardUnknown(m)
1061}
1062
1063var xxx_messageInfo_GetOnuFecHistoryResponse proto.InternalMessageInfo
1064
1065func (m *GetOnuFecHistoryResponse) GetCorrectedBytes() uint32 {
1066 if m != nil {
1067 return m.CorrectedBytes
1068 }
1069 return 0
1070}
1071
1072func (m *GetOnuFecHistoryResponse) GetCorrectedCodeWords() uint32 {
1073 if m != nil {
1074 return m.CorrectedCodeWords
1075 }
1076 return 0
1077}
1078
1079func (m *GetOnuFecHistoryResponse) GetFecSeconds() uint32 {
1080 if m != nil {
1081 return m.FecSeconds
1082 }
1083 return 0
1084}
1085
1086func (m *GetOnuFecHistoryResponse) GetTotalCodeWords() uint32 {
1087 if m != nil {
1088 return m.TotalCodeWords
1089 }
1090 return 0
1091}
1092
1093func (m *GetOnuFecHistoryResponse) GetUncorrectableCodeWords() uint32 {
1094 if m != nil {
1095 return m.UncorrectableCodeWords
1096 }
1097 return 0
1098}
1099
Maninder581cf4b2021-06-16 22:42:07 +05301100type GetOnuCountersRequest struct {
1101 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
1102 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
1103 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1104 XXX_unrecognized []byte `json:"-"`
1105 XXX_sizecache int32 `json:"-"`
1106}
1107
1108func (m *GetOnuCountersRequest) Reset() { *m = GetOnuCountersRequest{} }
1109func (m *GetOnuCountersRequest) String() string { return proto.CompactTextString(m) }
1110func (*GetOnuCountersRequest) ProtoMessage() {}
1111func (*GetOnuCountersRequest) Descriptor() ([]byte, []int) {
1112 return fileDescriptor_7ecf6e9799a9202d, []int{12}
1113}
1114
1115func (m *GetOnuCountersRequest) XXX_Unmarshal(b []byte) error {
1116 return xxx_messageInfo_GetOnuCountersRequest.Unmarshal(m, b)
1117}
1118func (m *GetOnuCountersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1119 return xxx_messageInfo_GetOnuCountersRequest.Marshal(b, m, deterministic)
1120}
1121func (m *GetOnuCountersRequest) XXX_Merge(src proto.Message) {
1122 xxx_messageInfo_GetOnuCountersRequest.Merge(m, src)
1123}
1124func (m *GetOnuCountersRequest) XXX_Size() int {
1125 return xxx_messageInfo_GetOnuCountersRequest.Size(m)
1126}
1127func (m *GetOnuCountersRequest) XXX_DiscardUnknown() {
1128 xxx_messageInfo_GetOnuCountersRequest.DiscardUnknown(m)
1129}
1130
1131var xxx_messageInfo_GetOnuCountersRequest proto.InternalMessageInfo
1132
1133func (m *GetOnuCountersRequest) GetIntfId() uint32 {
1134 if m != nil {
1135 return m.IntfId
1136 }
1137 return 0
1138}
1139
1140func (m *GetOnuCountersRequest) GetOnuId() uint32 {
1141 if m != nil {
1142 return m.OnuId
1143 }
1144 return 0
1145}
1146
1147type GetOmciEthernetFrameExtendedPmRequest struct {
1148 OnuDeviceId string `protobuf:"bytes,1,opt,name=onuDeviceId,proto3" json:"onuDeviceId,omitempty"`
1149 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1150 XXX_unrecognized []byte `json:"-"`
1151 XXX_sizecache int32 `json:"-"`
1152}
1153
1154func (m *GetOmciEthernetFrameExtendedPmRequest) Reset() { *m = GetOmciEthernetFrameExtendedPmRequest{} }
1155func (m *GetOmciEthernetFrameExtendedPmRequest) String() string { return proto.CompactTextString(m) }
1156func (*GetOmciEthernetFrameExtendedPmRequest) ProtoMessage() {}
1157func (*GetOmciEthernetFrameExtendedPmRequest) Descriptor() ([]byte, []int) {
1158 return fileDescriptor_7ecf6e9799a9202d, []int{13}
1159}
1160
1161func (m *GetOmciEthernetFrameExtendedPmRequest) XXX_Unmarshal(b []byte) error {
1162 return xxx_messageInfo_GetOmciEthernetFrameExtendedPmRequest.Unmarshal(m, b)
1163}
1164func (m *GetOmciEthernetFrameExtendedPmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1165 return xxx_messageInfo_GetOmciEthernetFrameExtendedPmRequest.Marshal(b, m, deterministic)
1166}
1167func (m *GetOmciEthernetFrameExtendedPmRequest) XXX_Merge(src proto.Message) {
1168 xxx_messageInfo_GetOmciEthernetFrameExtendedPmRequest.Merge(m, src)
1169}
1170func (m *GetOmciEthernetFrameExtendedPmRequest) XXX_Size() int {
1171 return xxx_messageInfo_GetOmciEthernetFrameExtendedPmRequest.Size(m)
1172}
1173func (m *GetOmciEthernetFrameExtendedPmRequest) XXX_DiscardUnknown() {
1174 xxx_messageInfo_GetOmciEthernetFrameExtendedPmRequest.DiscardUnknown(m)
1175}
1176
1177var xxx_messageInfo_GetOmciEthernetFrameExtendedPmRequest proto.InternalMessageInfo
1178
1179func (m *GetOmciEthernetFrameExtendedPmRequest) GetOnuDeviceId() string {
1180 if m != nil {
1181 return m.OnuDeviceId
1182 }
1183 return ""
1184}
1185
1186type GetRxPowerRequest struct {
1187 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
1188 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
1189 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1190 XXX_unrecognized []byte `json:"-"`
1191 XXX_sizecache int32 `json:"-"`
1192}
1193
1194func (m *GetRxPowerRequest) Reset() { *m = GetRxPowerRequest{} }
1195func (m *GetRxPowerRequest) String() string { return proto.CompactTextString(m) }
1196func (*GetRxPowerRequest) ProtoMessage() {}
1197func (*GetRxPowerRequest) Descriptor() ([]byte, []int) {
1198 return fileDescriptor_7ecf6e9799a9202d, []int{14}
1199}
1200
1201func (m *GetRxPowerRequest) XXX_Unmarshal(b []byte) error {
1202 return xxx_messageInfo_GetRxPowerRequest.Unmarshal(m, b)
1203}
1204func (m *GetRxPowerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1205 return xxx_messageInfo_GetRxPowerRequest.Marshal(b, m, deterministic)
1206}
1207func (m *GetRxPowerRequest) XXX_Merge(src proto.Message) {
1208 xxx_messageInfo_GetRxPowerRequest.Merge(m, src)
1209}
1210func (m *GetRxPowerRequest) XXX_Size() int {
1211 return xxx_messageInfo_GetRxPowerRequest.Size(m)
1212}
1213func (m *GetRxPowerRequest) XXX_DiscardUnknown() {
1214 xxx_messageInfo_GetRxPowerRequest.DiscardUnknown(m)
1215}
1216
1217var xxx_messageInfo_GetRxPowerRequest proto.InternalMessageInfo
1218
1219func (m *GetRxPowerRequest) GetIntfId() uint32 {
1220 if m != nil {
1221 return m.IntfId
1222 }
1223 return 0
1224}
1225
1226func (m *GetRxPowerRequest) GetOnuId() uint32 {
1227 if m != nil {
1228 return m.OnuId
1229 }
1230 return 0
1231}
1232
1233type GetOnuCountersResponse struct {
1234 // Types that are valid to be assigned to IsIntfId:
1235 // *GetOnuCountersResponse_IntfId
1236 IsIntfId isGetOnuCountersResponse_IsIntfId `protobuf_oneof:"is_intf_id"`
1237 // Types that are valid to be assigned to IsOnuId:
1238 // *GetOnuCountersResponse_OnuId
1239 IsOnuId isGetOnuCountersResponse_IsOnuId `protobuf_oneof:"is_onu_id"`
1240 // Types that are valid to be assigned to IsPositiveDrift:
1241 // *GetOnuCountersResponse_PositiveDrift
1242 IsPositiveDrift isGetOnuCountersResponse_IsPositiveDrift `protobuf_oneof:"is_positive_drift"`
1243 // Types that are valid to be assigned to IsNegativeDrift:
1244 // *GetOnuCountersResponse_NegativeDrift
1245 IsNegativeDrift isGetOnuCountersResponse_IsNegativeDrift `protobuf_oneof:"is_negative_drift"`
1246 // Types that are valid to be assigned to IsDelimiterMissDetection:
1247 // *GetOnuCountersResponse_DelimiterMissDetection
1248 IsDelimiterMissDetection isGetOnuCountersResponse_IsDelimiterMissDetection `protobuf_oneof:"is_delimiter_miss_detection"`
1249 // Types that are valid to be assigned to IsBipErrors:
1250 // *GetOnuCountersResponse_BipErrors
1251 IsBipErrors isGetOnuCountersResponse_IsBipErrors `protobuf_oneof:"is_bip_errors"`
1252 // Types that are valid to be assigned to IsBipUnits:
1253 // *GetOnuCountersResponse_BipUnits
1254 IsBipUnits isGetOnuCountersResponse_IsBipUnits `protobuf_oneof:"is_bip_units"`
1255 // Types that are valid to be assigned to IsFecCorrectedSymbols:
1256 // *GetOnuCountersResponse_FecCorrectedSymbols
1257 IsFecCorrectedSymbols isGetOnuCountersResponse_IsFecCorrectedSymbols `protobuf_oneof:"is_fec_corrected_symbols"`
1258 // Types that are valid to be assigned to IsFecCodewordsCorrected:
1259 // *GetOnuCountersResponse_FecCodewordsCorrected
1260 IsFecCodewordsCorrected isGetOnuCountersResponse_IsFecCodewordsCorrected `protobuf_oneof:"is_fec_codewords_corrected"`
1261 // Types that are valid to be assigned to IsFecCodewordsUncorrectable:
1262 // *GetOnuCountersResponse_FecCodewordsUncorrectable
1263 IsFecCodewordsUncorrectable isGetOnuCountersResponse_IsFecCodewordsUncorrectable `protobuf_oneof:"is_fec_codewords_uncorrectable"`
1264 // Types that are valid to be assigned to IsFecCodewords:
1265 // *GetOnuCountersResponse_FecCodewords
1266 IsFecCodewords isGetOnuCountersResponse_IsFecCodewords `protobuf_oneof:"is_fec_codewords"`
1267 // Types that are valid to be assigned to IsFecCorrectedUnits:
1268 // *GetOnuCountersResponse_FecCorrectedUnits
1269 IsFecCorrectedUnits isGetOnuCountersResponse_IsFecCorrectedUnits `protobuf_oneof:"is_fec_corrected_units"`
1270 // Types that are valid to be assigned to IsXgemKeyErrors:
1271 // *GetOnuCountersResponse_XgemKeyErrors
1272 IsXgemKeyErrors isGetOnuCountersResponse_IsXgemKeyErrors `protobuf_oneof:"is_xgem_key_errors"`
1273 // Types that are valid to be assigned to IsXgemLoss:
1274 // *GetOnuCountersResponse_XgemLoss
1275 IsXgemLoss isGetOnuCountersResponse_IsXgemLoss `protobuf_oneof:"is_xgem_loss"`
1276 // Types that are valid to be assigned to IsRxPloamsError:
1277 // *GetOnuCountersResponse_RxPloamsError
1278 IsRxPloamsError isGetOnuCountersResponse_IsRxPloamsError `protobuf_oneof:"is_rx_ploams_error"`
1279 // Types that are valid to be assigned to IsRxPloamsNonIdle:
1280 // *GetOnuCountersResponse_RxPloamsNonIdle
1281 IsRxPloamsNonIdle isGetOnuCountersResponse_IsRxPloamsNonIdle `protobuf_oneof:"is_rx_ploams_non_idle"`
1282 // Types that are valid to be assigned to IsRxOmci:
1283 // *GetOnuCountersResponse_RxOmci
1284 IsRxOmci isGetOnuCountersResponse_IsRxOmci `protobuf_oneof:"is_rx_omci"`
1285 // Types that are valid to be assigned to IsTxOmci:
1286 // *GetOnuCountersResponse_TxOmci
1287 IsTxOmci isGetOnuCountersResponse_IsTxOmci `protobuf_oneof:"is_tx_omci"`
1288 // Types that are valid to be assigned to IsRxOmciPacketsCrcError:
1289 // *GetOnuCountersResponse_RxOmciPacketsCrcError
1290 IsRxOmciPacketsCrcError isGetOnuCountersResponse_IsRxOmciPacketsCrcError `protobuf_oneof:"is_rx_omci_packets_crc_error"`
1291 // Types that are valid to be assigned to IsRxBytes:
1292 // *GetOnuCountersResponse_RxBytes
1293 IsRxBytes isGetOnuCountersResponse_IsRxBytes `protobuf_oneof:"is_rx_bytes"`
1294 // Types that are valid to be assigned to IsRxPackets:
1295 // *GetOnuCountersResponse_RxPackets
1296 IsRxPackets isGetOnuCountersResponse_IsRxPackets `protobuf_oneof:"is_rx_packets"`
1297 // Types that are valid to be assigned to IsTxBytes:
1298 // *GetOnuCountersResponse_TxBytes
1299 IsTxBytes isGetOnuCountersResponse_IsTxBytes `protobuf_oneof:"is_tx_bytes"`
1300 // Types that are valid to be assigned to IsTxPackets:
1301 // *GetOnuCountersResponse_TxPackets
1302 IsTxPackets isGetOnuCountersResponse_IsTxPackets `protobuf_oneof:"is_tx_packets"`
1303 // Types that are valid to be assigned to IsBerReported:
1304 // *GetOnuCountersResponse_BerReported
1305 IsBerReported isGetOnuCountersResponse_IsBerReported `protobuf_oneof:"is_ber_reported"`
1306 // Types that are valid to be assigned to IsLcdgErrors:
1307 // *GetOnuCountersResponse_LcdgErrors
1308 IsLcdgErrors isGetOnuCountersResponse_IsLcdgErrors `protobuf_oneof:"is_lcdg_errors"`
1309 // Types that are valid to be assigned to IsRdiErrors:
1310 // *GetOnuCountersResponse_RdiErrors
1311 IsRdiErrors isGetOnuCountersResponse_IsRdiErrors `protobuf_oneof:"is_rdi_errors"`
1312 // Types that are valid to be assigned to IsTimestamp:
1313 // *GetOnuCountersResponse_Timestamp
1314 IsTimestamp isGetOnuCountersResponse_IsTimestamp `protobuf_oneof:"is_timestamp"`
1315 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1316 XXX_unrecognized []byte `json:"-"`
1317 XXX_sizecache int32 `json:"-"`
1318}
1319
1320func (m *GetOnuCountersResponse) Reset() { *m = GetOnuCountersResponse{} }
1321func (m *GetOnuCountersResponse) String() string { return proto.CompactTextString(m) }
1322func (*GetOnuCountersResponse) ProtoMessage() {}
1323func (*GetOnuCountersResponse) Descriptor() ([]byte, []int) {
1324 return fileDescriptor_7ecf6e9799a9202d, []int{15}
1325}
1326
1327func (m *GetOnuCountersResponse) XXX_Unmarshal(b []byte) error {
1328 return xxx_messageInfo_GetOnuCountersResponse.Unmarshal(m, b)
1329}
1330func (m *GetOnuCountersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1331 return xxx_messageInfo_GetOnuCountersResponse.Marshal(b, m, deterministic)
1332}
1333func (m *GetOnuCountersResponse) XXX_Merge(src proto.Message) {
1334 xxx_messageInfo_GetOnuCountersResponse.Merge(m, src)
1335}
1336func (m *GetOnuCountersResponse) XXX_Size() int {
1337 return xxx_messageInfo_GetOnuCountersResponse.Size(m)
1338}
1339func (m *GetOnuCountersResponse) XXX_DiscardUnknown() {
1340 xxx_messageInfo_GetOnuCountersResponse.DiscardUnknown(m)
1341}
1342
1343var xxx_messageInfo_GetOnuCountersResponse proto.InternalMessageInfo
1344
1345type isGetOnuCountersResponse_IsIntfId interface {
1346 isGetOnuCountersResponse_IsIntfId()
1347}
1348
1349type GetOnuCountersResponse_IntfId struct {
1350 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3,oneof"`
1351}
1352
1353func (*GetOnuCountersResponse_IntfId) isGetOnuCountersResponse_IsIntfId() {}
1354
1355func (m *GetOnuCountersResponse) GetIsIntfId() isGetOnuCountersResponse_IsIntfId {
1356 if m != nil {
1357 return m.IsIntfId
1358 }
1359 return nil
1360}
1361
1362func (m *GetOnuCountersResponse) GetIntfId() uint32 {
1363 if x, ok := m.GetIsIntfId().(*GetOnuCountersResponse_IntfId); ok {
1364 return x.IntfId
1365 }
1366 return 0
1367}
1368
1369type isGetOnuCountersResponse_IsOnuId interface {
1370 isGetOnuCountersResponse_IsOnuId()
1371}
1372
1373type GetOnuCountersResponse_OnuId struct {
1374 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3,oneof"`
1375}
1376
1377func (*GetOnuCountersResponse_OnuId) isGetOnuCountersResponse_IsOnuId() {}
1378
1379func (m *GetOnuCountersResponse) GetIsOnuId() isGetOnuCountersResponse_IsOnuId {
1380 if m != nil {
1381 return m.IsOnuId
1382 }
1383 return nil
1384}
1385
1386func (m *GetOnuCountersResponse) GetOnuId() uint32 {
1387 if x, ok := m.GetIsOnuId().(*GetOnuCountersResponse_OnuId); ok {
1388 return x.OnuId
1389 }
1390 return 0
1391}
1392
1393type isGetOnuCountersResponse_IsPositiveDrift interface {
1394 isGetOnuCountersResponse_IsPositiveDrift()
1395}
1396
1397type GetOnuCountersResponse_PositiveDrift struct {
1398 PositiveDrift uint64 `protobuf:"fixed64,3,opt,name=positive_drift,json=positiveDrift,proto3,oneof"`
1399}
1400
1401func (*GetOnuCountersResponse_PositiveDrift) isGetOnuCountersResponse_IsPositiveDrift() {}
1402
1403func (m *GetOnuCountersResponse) GetIsPositiveDrift() isGetOnuCountersResponse_IsPositiveDrift {
1404 if m != nil {
1405 return m.IsPositiveDrift
1406 }
1407 return nil
1408}
1409
1410func (m *GetOnuCountersResponse) GetPositiveDrift() uint64 {
1411 if x, ok := m.GetIsPositiveDrift().(*GetOnuCountersResponse_PositiveDrift); ok {
1412 return x.PositiveDrift
1413 }
1414 return 0
1415}
1416
1417type isGetOnuCountersResponse_IsNegativeDrift interface {
1418 isGetOnuCountersResponse_IsNegativeDrift()
1419}
1420
1421type GetOnuCountersResponse_NegativeDrift struct {
1422 NegativeDrift uint64 `protobuf:"fixed64,4,opt,name=negative_drift,json=negativeDrift,proto3,oneof"`
1423}
1424
1425func (*GetOnuCountersResponse_NegativeDrift) isGetOnuCountersResponse_IsNegativeDrift() {}
1426
1427func (m *GetOnuCountersResponse) GetIsNegativeDrift() isGetOnuCountersResponse_IsNegativeDrift {
1428 if m != nil {
1429 return m.IsNegativeDrift
1430 }
1431 return nil
1432}
1433
1434func (m *GetOnuCountersResponse) GetNegativeDrift() uint64 {
1435 if x, ok := m.GetIsNegativeDrift().(*GetOnuCountersResponse_NegativeDrift); ok {
1436 return x.NegativeDrift
1437 }
1438 return 0
1439}
1440
1441type isGetOnuCountersResponse_IsDelimiterMissDetection interface {
1442 isGetOnuCountersResponse_IsDelimiterMissDetection()
1443}
1444
1445type GetOnuCountersResponse_DelimiterMissDetection struct {
1446 DelimiterMissDetection uint64 `protobuf:"fixed64,5,opt,name=delimiter_miss_detection,json=delimiterMissDetection,proto3,oneof"`
1447}
1448
1449func (*GetOnuCountersResponse_DelimiterMissDetection) isGetOnuCountersResponse_IsDelimiterMissDetection() {
1450}
1451
1452func (m *GetOnuCountersResponse) GetIsDelimiterMissDetection() isGetOnuCountersResponse_IsDelimiterMissDetection {
1453 if m != nil {
1454 return m.IsDelimiterMissDetection
1455 }
1456 return nil
1457}
1458
1459func (m *GetOnuCountersResponse) GetDelimiterMissDetection() uint64 {
1460 if x, ok := m.GetIsDelimiterMissDetection().(*GetOnuCountersResponse_DelimiterMissDetection); ok {
1461 return x.DelimiterMissDetection
1462 }
1463 return 0
1464}
1465
1466type isGetOnuCountersResponse_IsBipErrors interface {
1467 isGetOnuCountersResponse_IsBipErrors()
1468}
1469
1470type GetOnuCountersResponse_BipErrors struct {
1471 BipErrors uint64 `protobuf:"fixed64,6,opt,name=bip_errors,json=bipErrors,proto3,oneof"`
1472}
1473
1474func (*GetOnuCountersResponse_BipErrors) isGetOnuCountersResponse_IsBipErrors() {}
1475
1476func (m *GetOnuCountersResponse) GetIsBipErrors() isGetOnuCountersResponse_IsBipErrors {
1477 if m != nil {
1478 return m.IsBipErrors
1479 }
1480 return nil
1481}
1482
1483func (m *GetOnuCountersResponse) GetBipErrors() uint64 {
1484 if x, ok := m.GetIsBipErrors().(*GetOnuCountersResponse_BipErrors); ok {
1485 return x.BipErrors
1486 }
1487 return 0
1488}
1489
1490type isGetOnuCountersResponse_IsBipUnits interface {
1491 isGetOnuCountersResponse_IsBipUnits()
1492}
1493
1494type GetOnuCountersResponse_BipUnits struct {
1495 BipUnits uint64 `protobuf:"fixed64,7,opt,name=bip_units,json=bipUnits,proto3,oneof"`
1496}
1497
1498func (*GetOnuCountersResponse_BipUnits) isGetOnuCountersResponse_IsBipUnits() {}
1499
1500func (m *GetOnuCountersResponse) GetIsBipUnits() isGetOnuCountersResponse_IsBipUnits {
1501 if m != nil {
1502 return m.IsBipUnits
1503 }
1504 return nil
1505}
1506
1507func (m *GetOnuCountersResponse) GetBipUnits() uint64 {
1508 if x, ok := m.GetIsBipUnits().(*GetOnuCountersResponse_BipUnits); ok {
1509 return x.BipUnits
1510 }
1511 return 0
1512}
1513
1514type isGetOnuCountersResponse_IsFecCorrectedSymbols interface {
1515 isGetOnuCountersResponse_IsFecCorrectedSymbols()
1516}
1517
1518type GetOnuCountersResponse_FecCorrectedSymbols struct {
1519 FecCorrectedSymbols uint64 `protobuf:"fixed64,8,opt,name=fec_corrected_symbols,json=fecCorrectedSymbols,proto3,oneof"`
1520}
1521
1522func (*GetOnuCountersResponse_FecCorrectedSymbols) isGetOnuCountersResponse_IsFecCorrectedSymbols() {}
1523
1524func (m *GetOnuCountersResponse) GetIsFecCorrectedSymbols() isGetOnuCountersResponse_IsFecCorrectedSymbols {
1525 if m != nil {
1526 return m.IsFecCorrectedSymbols
1527 }
1528 return nil
1529}
1530
1531func (m *GetOnuCountersResponse) GetFecCorrectedSymbols() uint64 {
1532 if x, ok := m.GetIsFecCorrectedSymbols().(*GetOnuCountersResponse_FecCorrectedSymbols); ok {
1533 return x.FecCorrectedSymbols
1534 }
1535 return 0
1536}
1537
1538type isGetOnuCountersResponse_IsFecCodewordsCorrected interface {
1539 isGetOnuCountersResponse_IsFecCodewordsCorrected()
1540}
1541
1542type GetOnuCountersResponse_FecCodewordsCorrected struct {
1543 FecCodewordsCorrected uint64 `protobuf:"fixed64,9,opt,name=fec_codewords_corrected,json=fecCodewordsCorrected,proto3,oneof"`
1544}
1545
1546func (*GetOnuCountersResponse_FecCodewordsCorrected) isGetOnuCountersResponse_IsFecCodewordsCorrected() {
1547}
1548
1549func (m *GetOnuCountersResponse) GetIsFecCodewordsCorrected() isGetOnuCountersResponse_IsFecCodewordsCorrected {
1550 if m != nil {
1551 return m.IsFecCodewordsCorrected
1552 }
1553 return nil
1554}
1555
1556func (m *GetOnuCountersResponse) GetFecCodewordsCorrected() uint64 {
1557 if x, ok := m.GetIsFecCodewordsCorrected().(*GetOnuCountersResponse_FecCodewordsCorrected); ok {
1558 return x.FecCodewordsCorrected
1559 }
1560 return 0
1561}
1562
1563type isGetOnuCountersResponse_IsFecCodewordsUncorrectable interface {
1564 isGetOnuCountersResponse_IsFecCodewordsUncorrectable()
1565}
1566
1567type GetOnuCountersResponse_FecCodewordsUncorrectable struct {
1568 FecCodewordsUncorrectable uint64 `protobuf:"fixed64,10,opt,name=fec_codewords_uncorrectable,json=fecCodewordsUncorrectable,proto3,oneof"`
1569}
1570
1571func (*GetOnuCountersResponse_FecCodewordsUncorrectable) isGetOnuCountersResponse_IsFecCodewordsUncorrectable() {
1572}
1573
1574func (m *GetOnuCountersResponse) GetIsFecCodewordsUncorrectable() isGetOnuCountersResponse_IsFecCodewordsUncorrectable {
1575 if m != nil {
1576 return m.IsFecCodewordsUncorrectable
1577 }
1578 return nil
1579}
1580
1581func (m *GetOnuCountersResponse) GetFecCodewordsUncorrectable() uint64 {
1582 if x, ok := m.GetIsFecCodewordsUncorrectable().(*GetOnuCountersResponse_FecCodewordsUncorrectable); ok {
1583 return x.FecCodewordsUncorrectable
1584 }
1585 return 0
1586}
1587
1588type isGetOnuCountersResponse_IsFecCodewords interface {
1589 isGetOnuCountersResponse_IsFecCodewords()
1590}
1591
1592type GetOnuCountersResponse_FecCodewords struct {
1593 FecCodewords uint64 `protobuf:"fixed64,11,opt,name=fec_codewords,json=fecCodewords,proto3,oneof"`
1594}
1595
1596func (*GetOnuCountersResponse_FecCodewords) isGetOnuCountersResponse_IsFecCodewords() {}
1597
1598func (m *GetOnuCountersResponse) GetIsFecCodewords() isGetOnuCountersResponse_IsFecCodewords {
1599 if m != nil {
1600 return m.IsFecCodewords
1601 }
1602 return nil
1603}
1604
1605func (m *GetOnuCountersResponse) GetFecCodewords() uint64 {
1606 if x, ok := m.GetIsFecCodewords().(*GetOnuCountersResponse_FecCodewords); ok {
1607 return x.FecCodewords
1608 }
1609 return 0
1610}
1611
1612type isGetOnuCountersResponse_IsFecCorrectedUnits interface {
1613 isGetOnuCountersResponse_IsFecCorrectedUnits()
1614}
1615
1616type GetOnuCountersResponse_FecCorrectedUnits struct {
1617 FecCorrectedUnits uint64 `protobuf:"fixed64,12,opt,name=fec_corrected_units,json=fecCorrectedUnits,proto3,oneof"`
1618}
1619
1620func (*GetOnuCountersResponse_FecCorrectedUnits) isGetOnuCountersResponse_IsFecCorrectedUnits() {}
1621
1622func (m *GetOnuCountersResponse) GetIsFecCorrectedUnits() isGetOnuCountersResponse_IsFecCorrectedUnits {
1623 if m != nil {
1624 return m.IsFecCorrectedUnits
1625 }
1626 return nil
1627}
1628
1629func (m *GetOnuCountersResponse) GetFecCorrectedUnits() uint64 {
1630 if x, ok := m.GetIsFecCorrectedUnits().(*GetOnuCountersResponse_FecCorrectedUnits); ok {
1631 return x.FecCorrectedUnits
1632 }
1633 return 0
1634}
1635
1636type isGetOnuCountersResponse_IsXgemKeyErrors interface {
1637 isGetOnuCountersResponse_IsXgemKeyErrors()
1638}
1639
1640type GetOnuCountersResponse_XgemKeyErrors struct {
1641 XgemKeyErrors uint64 `protobuf:"fixed64,13,opt,name=xgem_key_errors,json=xgemKeyErrors,proto3,oneof"`
1642}
1643
1644func (*GetOnuCountersResponse_XgemKeyErrors) isGetOnuCountersResponse_IsXgemKeyErrors() {}
1645
1646func (m *GetOnuCountersResponse) GetIsXgemKeyErrors() isGetOnuCountersResponse_IsXgemKeyErrors {
1647 if m != nil {
1648 return m.IsXgemKeyErrors
1649 }
1650 return nil
1651}
1652
1653func (m *GetOnuCountersResponse) GetXgemKeyErrors() uint64 {
1654 if x, ok := m.GetIsXgemKeyErrors().(*GetOnuCountersResponse_XgemKeyErrors); ok {
1655 return x.XgemKeyErrors
1656 }
1657 return 0
1658}
1659
1660type isGetOnuCountersResponse_IsXgemLoss interface {
1661 isGetOnuCountersResponse_IsXgemLoss()
1662}
1663
1664type GetOnuCountersResponse_XgemLoss struct {
1665 XgemLoss uint64 `protobuf:"fixed64,14,opt,name=xgem_loss,json=xgemLoss,proto3,oneof"`
1666}
1667
1668func (*GetOnuCountersResponse_XgemLoss) isGetOnuCountersResponse_IsXgemLoss() {}
1669
1670func (m *GetOnuCountersResponse) GetIsXgemLoss() isGetOnuCountersResponse_IsXgemLoss {
1671 if m != nil {
1672 return m.IsXgemLoss
1673 }
1674 return nil
1675}
1676
1677func (m *GetOnuCountersResponse) GetXgemLoss() uint64 {
1678 if x, ok := m.GetIsXgemLoss().(*GetOnuCountersResponse_XgemLoss); ok {
1679 return x.XgemLoss
1680 }
1681 return 0
1682}
1683
1684type isGetOnuCountersResponse_IsRxPloamsError interface {
1685 isGetOnuCountersResponse_IsRxPloamsError()
1686}
1687
1688type GetOnuCountersResponse_RxPloamsError struct {
1689 RxPloamsError uint64 `protobuf:"fixed64,15,opt,name=rx_ploams_error,json=rxPloamsError,proto3,oneof"`
1690}
1691
1692func (*GetOnuCountersResponse_RxPloamsError) isGetOnuCountersResponse_IsRxPloamsError() {}
1693
1694func (m *GetOnuCountersResponse) GetIsRxPloamsError() isGetOnuCountersResponse_IsRxPloamsError {
1695 if m != nil {
1696 return m.IsRxPloamsError
1697 }
1698 return nil
1699}
1700
1701func (m *GetOnuCountersResponse) GetRxPloamsError() uint64 {
1702 if x, ok := m.GetIsRxPloamsError().(*GetOnuCountersResponse_RxPloamsError); ok {
1703 return x.RxPloamsError
1704 }
1705 return 0
1706}
1707
1708type isGetOnuCountersResponse_IsRxPloamsNonIdle interface {
1709 isGetOnuCountersResponse_IsRxPloamsNonIdle()
1710}
1711
1712type GetOnuCountersResponse_RxPloamsNonIdle struct {
1713 RxPloamsNonIdle uint64 `protobuf:"fixed64,16,opt,name=rx_ploams_non_idle,json=rxPloamsNonIdle,proto3,oneof"`
1714}
1715
1716func (*GetOnuCountersResponse_RxPloamsNonIdle) isGetOnuCountersResponse_IsRxPloamsNonIdle() {}
1717
1718func (m *GetOnuCountersResponse) GetIsRxPloamsNonIdle() isGetOnuCountersResponse_IsRxPloamsNonIdle {
1719 if m != nil {
1720 return m.IsRxPloamsNonIdle
1721 }
1722 return nil
1723}
1724
1725func (m *GetOnuCountersResponse) GetRxPloamsNonIdle() uint64 {
1726 if x, ok := m.GetIsRxPloamsNonIdle().(*GetOnuCountersResponse_RxPloamsNonIdle); ok {
1727 return x.RxPloamsNonIdle
1728 }
1729 return 0
1730}
1731
1732type isGetOnuCountersResponse_IsRxOmci interface {
1733 isGetOnuCountersResponse_IsRxOmci()
1734}
1735
1736type GetOnuCountersResponse_RxOmci struct {
1737 RxOmci uint64 `protobuf:"fixed64,17,opt,name=rx_omci,json=rxOmci,proto3,oneof"`
1738}
1739
1740func (*GetOnuCountersResponse_RxOmci) isGetOnuCountersResponse_IsRxOmci() {}
1741
1742func (m *GetOnuCountersResponse) GetIsRxOmci() isGetOnuCountersResponse_IsRxOmci {
1743 if m != nil {
1744 return m.IsRxOmci
1745 }
1746 return nil
1747}
1748
1749func (m *GetOnuCountersResponse) GetRxOmci() uint64 {
1750 if x, ok := m.GetIsRxOmci().(*GetOnuCountersResponse_RxOmci); ok {
1751 return x.RxOmci
1752 }
1753 return 0
1754}
1755
1756type isGetOnuCountersResponse_IsTxOmci interface {
1757 isGetOnuCountersResponse_IsTxOmci()
1758}
1759
1760type GetOnuCountersResponse_TxOmci struct {
1761 TxOmci uint64 `protobuf:"fixed64,18,opt,name=tx_omci,json=txOmci,proto3,oneof"`
1762}
1763
1764func (*GetOnuCountersResponse_TxOmci) isGetOnuCountersResponse_IsTxOmci() {}
1765
1766func (m *GetOnuCountersResponse) GetIsTxOmci() isGetOnuCountersResponse_IsTxOmci {
1767 if m != nil {
1768 return m.IsTxOmci
1769 }
1770 return nil
1771}
1772
1773func (m *GetOnuCountersResponse) GetTxOmci() uint64 {
1774 if x, ok := m.GetIsTxOmci().(*GetOnuCountersResponse_TxOmci); ok {
1775 return x.TxOmci
1776 }
1777 return 0
1778}
1779
1780type isGetOnuCountersResponse_IsRxOmciPacketsCrcError interface {
1781 isGetOnuCountersResponse_IsRxOmciPacketsCrcError()
1782}
1783
1784type GetOnuCountersResponse_RxOmciPacketsCrcError struct {
1785 RxOmciPacketsCrcError uint64 `protobuf:"fixed64,19,opt,name=rx_omci_packets_crc_error,json=rxOmciPacketsCrcError,proto3,oneof"`
1786}
1787
1788func (*GetOnuCountersResponse_RxOmciPacketsCrcError) isGetOnuCountersResponse_IsRxOmciPacketsCrcError() {
1789}
1790
1791func (m *GetOnuCountersResponse) GetIsRxOmciPacketsCrcError() isGetOnuCountersResponse_IsRxOmciPacketsCrcError {
1792 if m != nil {
1793 return m.IsRxOmciPacketsCrcError
1794 }
1795 return nil
1796}
1797
1798func (m *GetOnuCountersResponse) GetRxOmciPacketsCrcError() uint64 {
1799 if x, ok := m.GetIsRxOmciPacketsCrcError().(*GetOnuCountersResponse_RxOmciPacketsCrcError); ok {
1800 return x.RxOmciPacketsCrcError
1801 }
1802 return 0
1803}
1804
1805type isGetOnuCountersResponse_IsRxBytes interface {
1806 isGetOnuCountersResponse_IsRxBytes()
1807}
1808
1809type GetOnuCountersResponse_RxBytes struct {
1810 RxBytes uint64 `protobuf:"fixed64,20,opt,name=rx_bytes,json=rxBytes,proto3,oneof"`
1811}
1812
1813func (*GetOnuCountersResponse_RxBytes) isGetOnuCountersResponse_IsRxBytes() {}
1814
1815func (m *GetOnuCountersResponse) GetIsRxBytes() isGetOnuCountersResponse_IsRxBytes {
1816 if m != nil {
1817 return m.IsRxBytes
1818 }
1819 return nil
1820}
1821
1822func (m *GetOnuCountersResponse) GetRxBytes() uint64 {
1823 if x, ok := m.GetIsRxBytes().(*GetOnuCountersResponse_RxBytes); ok {
1824 return x.RxBytes
1825 }
1826 return 0
1827}
1828
1829type isGetOnuCountersResponse_IsRxPackets interface {
1830 isGetOnuCountersResponse_IsRxPackets()
1831}
1832
1833type GetOnuCountersResponse_RxPackets struct {
1834 RxPackets uint64 `protobuf:"fixed64,21,opt,name=rx_packets,json=rxPackets,proto3,oneof"`
1835}
1836
1837func (*GetOnuCountersResponse_RxPackets) isGetOnuCountersResponse_IsRxPackets() {}
1838
1839func (m *GetOnuCountersResponse) GetIsRxPackets() isGetOnuCountersResponse_IsRxPackets {
1840 if m != nil {
1841 return m.IsRxPackets
1842 }
1843 return nil
1844}
1845
1846func (m *GetOnuCountersResponse) GetRxPackets() uint64 {
1847 if x, ok := m.GetIsRxPackets().(*GetOnuCountersResponse_RxPackets); ok {
1848 return x.RxPackets
1849 }
1850 return 0
1851}
1852
1853type isGetOnuCountersResponse_IsTxBytes interface {
1854 isGetOnuCountersResponse_IsTxBytes()
1855}
1856
1857type GetOnuCountersResponse_TxBytes struct {
1858 TxBytes uint64 `protobuf:"fixed64,22,opt,name=tx_bytes,json=txBytes,proto3,oneof"`
1859}
1860
1861func (*GetOnuCountersResponse_TxBytes) isGetOnuCountersResponse_IsTxBytes() {}
1862
1863func (m *GetOnuCountersResponse) GetIsTxBytes() isGetOnuCountersResponse_IsTxBytes {
1864 if m != nil {
1865 return m.IsTxBytes
1866 }
1867 return nil
1868}
1869
1870func (m *GetOnuCountersResponse) GetTxBytes() uint64 {
1871 if x, ok := m.GetIsTxBytes().(*GetOnuCountersResponse_TxBytes); ok {
1872 return x.TxBytes
1873 }
1874 return 0
1875}
1876
1877type isGetOnuCountersResponse_IsTxPackets interface {
1878 isGetOnuCountersResponse_IsTxPackets()
1879}
1880
1881type GetOnuCountersResponse_TxPackets struct {
1882 TxPackets uint64 `protobuf:"fixed64,23,opt,name=tx_packets,json=txPackets,proto3,oneof"`
1883}
1884
1885func (*GetOnuCountersResponse_TxPackets) isGetOnuCountersResponse_IsTxPackets() {}
1886
1887func (m *GetOnuCountersResponse) GetIsTxPackets() isGetOnuCountersResponse_IsTxPackets {
1888 if m != nil {
1889 return m.IsTxPackets
1890 }
1891 return nil
1892}
1893
1894func (m *GetOnuCountersResponse) GetTxPackets() uint64 {
1895 if x, ok := m.GetIsTxPackets().(*GetOnuCountersResponse_TxPackets); ok {
1896 return x.TxPackets
1897 }
1898 return 0
1899}
1900
1901type isGetOnuCountersResponse_IsBerReported interface {
1902 isGetOnuCountersResponse_IsBerReported()
1903}
1904
1905type GetOnuCountersResponse_BerReported struct {
1906 BerReported uint64 `protobuf:"fixed64,24,opt,name=ber_reported,json=berReported,proto3,oneof"`
1907}
1908
1909func (*GetOnuCountersResponse_BerReported) isGetOnuCountersResponse_IsBerReported() {}
1910
1911func (m *GetOnuCountersResponse) GetIsBerReported() isGetOnuCountersResponse_IsBerReported {
1912 if m != nil {
1913 return m.IsBerReported
1914 }
1915 return nil
1916}
1917
1918func (m *GetOnuCountersResponse) GetBerReported() uint64 {
1919 if x, ok := m.GetIsBerReported().(*GetOnuCountersResponse_BerReported); ok {
1920 return x.BerReported
1921 }
1922 return 0
1923}
1924
1925type isGetOnuCountersResponse_IsLcdgErrors interface {
1926 isGetOnuCountersResponse_IsLcdgErrors()
1927}
1928
1929type GetOnuCountersResponse_LcdgErrors struct {
1930 LcdgErrors uint64 `protobuf:"fixed64,25,opt,name=lcdg_errors,json=lcdgErrors,proto3,oneof"`
1931}
1932
1933func (*GetOnuCountersResponse_LcdgErrors) isGetOnuCountersResponse_IsLcdgErrors() {}
1934
1935func (m *GetOnuCountersResponse) GetIsLcdgErrors() isGetOnuCountersResponse_IsLcdgErrors {
1936 if m != nil {
1937 return m.IsLcdgErrors
1938 }
1939 return nil
1940}
1941
1942func (m *GetOnuCountersResponse) GetLcdgErrors() uint64 {
1943 if x, ok := m.GetIsLcdgErrors().(*GetOnuCountersResponse_LcdgErrors); ok {
1944 return x.LcdgErrors
1945 }
1946 return 0
1947}
1948
1949type isGetOnuCountersResponse_IsRdiErrors interface {
1950 isGetOnuCountersResponse_IsRdiErrors()
1951}
1952
1953type GetOnuCountersResponse_RdiErrors struct {
1954 RdiErrors uint64 `protobuf:"fixed64,26,opt,name=rdi_errors,json=rdiErrors,proto3,oneof"`
1955}
1956
1957func (*GetOnuCountersResponse_RdiErrors) isGetOnuCountersResponse_IsRdiErrors() {}
1958
1959func (m *GetOnuCountersResponse) GetIsRdiErrors() isGetOnuCountersResponse_IsRdiErrors {
1960 if m != nil {
1961 return m.IsRdiErrors
1962 }
1963 return nil
1964}
1965
1966func (m *GetOnuCountersResponse) GetRdiErrors() uint64 {
1967 if x, ok := m.GetIsRdiErrors().(*GetOnuCountersResponse_RdiErrors); ok {
1968 return x.RdiErrors
1969 }
1970 return 0
1971}
1972
1973type isGetOnuCountersResponse_IsTimestamp interface {
1974 isGetOnuCountersResponse_IsTimestamp()
1975}
1976
1977type GetOnuCountersResponse_Timestamp struct {
1978 Timestamp uint32 `protobuf:"fixed32,27,opt,name=timestamp,proto3,oneof"`
1979}
1980
1981func (*GetOnuCountersResponse_Timestamp) isGetOnuCountersResponse_IsTimestamp() {}
1982
1983func (m *GetOnuCountersResponse) GetIsTimestamp() isGetOnuCountersResponse_IsTimestamp {
1984 if m != nil {
1985 return m.IsTimestamp
1986 }
1987 return nil
1988}
1989
1990func (m *GetOnuCountersResponse) GetTimestamp() uint32 {
1991 if x, ok := m.GetIsTimestamp().(*GetOnuCountersResponse_Timestamp); ok {
1992 return x.Timestamp
1993 }
1994 return 0
1995}
1996
1997// XXX_OneofWrappers is for the internal use of the proto package.
1998func (*GetOnuCountersResponse) XXX_OneofWrappers() []interface{} {
1999 return []interface{}{
2000 (*GetOnuCountersResponse_IntfId)(nil),
2001 (*GetOnuCountersResponse_OnuId)(nil),
2002 (*GetOnuCountersResponse_PositiveDrift)(nil),
2003 (*GetOnuCountersResponse_NegativeDrift)(nil),
2004 (*GetOnuCountersResponse_DelimiterMissDetection)(nil),
2005 (*GetOnuCountersResponse_BipErrors)(nil),
2006 (*GetOnuCountersResponse_BipUnits)(nil),
2007 (*GetOnuCountersResponse_FecCorrectedSymbols)(nil),
2008 (*GetOnuCountersResponse_FecCodewordsCorrected)(nil),
2009 (*GetOnuCountersResponse_FecCodewordsUncorrectable)(nil),
2010 (*GetOnuCountersResponse_FecCodewords)(nil),
2011 (*GetOnuCountersResponse_FecCorrectedUnits)(nil),
2012 (*GetOnuCountersResponse_XgemKeyErrors)(nil),
2013 (*GetOnuCountersResponse_XgemLoss)(nil),
2014 (*GetOnuCountersResponse_RxPloamsError)(nil),
2015 (*GetOnuCountersResponse_RxPloamsNonIdle)(nil),
2016 (*GetOnuCountersResponse_RxOmci)(nil),
2017 (*GetOnuCountersResponse_TxOmci)(nil),
2018 (*GetOnuCountersResponse_RxOmciPacketsCrcError)(nil),
2019 (*GetOnuCountersResponse_RxBytes)(nil),
2020 (*GetOnuCountersResponse_RxPackets)(nil),
2021 (*GetOnuCountersResponse_TxBytes)(nil),
2022 (*GetOnuCountersResponse_TxPackets)(nil),
2023 (*GetOnuCountersResponse_BerReported)(nil),
2024 (*GetOnuCountersResponse_LcdgErrors)(nil),
2025 (*GetOnuCountersResponse_RdiErrors)(nil),
2026 (*GetOnuCountersResponse_Timestamp)(nil),
2027 }
2028}
2029
2030type OmciEthernetFrameExtendedPm struct {
2031 DropEvents uint64 `protobuf:"fixed64,1,opt,name=drop_events,json=dropEvents,proto3" json:"drop_events,omitempty"`
2032 Octets uint64 `protobuf:"fixed64,2,opt,name=octets,proto3" json:"octets,omitempty"`
2033 Frames uint64 `protobuf:"fixed64,3,opt,name=frames,proto3" json:"frames,omitempty"`
2034 BroadcastFrames uint64 `protobuf:"fixed64,4,opt,name=broadcast_frames,json=broadcastFrames,proto3" json:"broadcast_frames,omitempty"`
2035 MulticastFrames uint64 `protobuf:"fixed64,5,opt,name=multicast_frames,json=multicastFrames,proto3" json:"multicast_frames,omitempty"`
2036 CrcErroredFrames uint64 `protobuf:"fixed64,6,opt,name=crc_errored_frames,json=crcErroredFrames,proto3" json:"crc_errored_frames,omitempty"`
2037 UndersizeFrames uint64 `protobuf:"fixed64,7,opt,name=undersize_frames,json=undersizeFrames,proto3" json:"undersize_frames,omitempty"`
2038 OversizeFrames uint64 `protobuf:"fixed64,8,opt,name=oversize_frames,json=oversizeFrames,proto3" json:"oversize_frames,omitempty"`
2039 Frames_64Octets uint64 `protobuf:"fixed64,9,opt,name=frames_64_octets,json=frames64Octets,proto3" json:"frames_64_octets,omitempty"`
2040 Frames_65To_127Octets uint64 `protobuf:"fixed64,10,opt,name=frames_65_to_127_octets,json=frames65To127Octets,proto3" json:"frames_65_to_127_octets,omitempty"`
2041 Frames_128To_255Octets uint64 `protobuf:"fixed64,11,opt,name=frames_128_to_255_octets,json=frames128To255Octets,proto3" json:"frames_128_to_255_octets,omitempty"`
2042 Frames_256To_511Octets uint64 `protobuf:"fixed64,12,opt,name=frames_256_to_511_octets,json=frames256To511Octets,proto3" json:"frames_256_to_511_octets,omitempty"`
2043 Frames_512To_1023Octets uint64 `protobuf:"fixed64,13,opt,name=frames_512_to_1023_octets,json=frames512To1023Octets,proto3" json:"frames_512_to_1023_octets,omitempty"`
2044 Frames_1024To_1518Octets uint64 `protobuf:"fixed64,14,opt,name=frames_1024_to_1518_octets,json=frames1024To1518Octets,proto3" json:"frames_1024_to_1518_octets,omitempty"`
2045 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2046 XXX_unrecognized []byte `json:"-"`
2047 XXX_sizecache int32 `json:"-"`
2048}
2049
2050func (m *OmciEthernetFrameExtendedPm) Reset() { *m = OmciEthernetFrameExtendedPm{} }
2051func (m *OmciEthernetFrameExtendedPm) String() string { return proto.CompactTextString(m) }
2052func (*OmciEthernetFrameExtendedPm) ProtoMessage() {}
2053func (*OmciEthernetFrameExtendedPm) Descriptor() ([]byte, []int) {
2054 return fileDescriptor_7ecf6e9799a9202d, []int{16}
2055}
2056
2057func (m *OmciEthernetFrameExtendedPm) XXX_Unmarshal(b []byte) error {
2058 return xxx_messageInfo_OmciEthernetFrameExtendedPm.Unmarshal(m, b)
2059}
2060func (m *OmciEthernetFrameExtendedPm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2061 return xxx_messageInfo_OmciEthernetFrameExtendedPm.Marshal(b, m, deterministic)
2062}
2063func (m *OmciEthernetFrameExtendedPm) XXX_Merge(src proto.Message) {
2064 xxx_messageInfo_OmciEthernetFrameExtendedPm.Merge(m, src)
2065}
2066func (m *OmciEthernetFrameExtendedPm) XXX_Size() int {
2067 return xxx_messageInfo_OmciEthernetFrameExtendedPm.Size(m)
2068}
2069func (m *OmciEthernetFrameExtendedPm) XXX_DiscardUnknown() {
2070 xxx_messageInfo_OmciEthernetFrameExtendedPm.DiscardUnknown(m)
2071}
2072
2073var xxx_messageInfo_OmciEthernetFrameExtendedPm proto.InternalMessageInfo
2074
2075func (m *OmciEthernetFrameExtendedPm) GetDropEvents() uint64 {
2076 if m != nil {
2077 return m.DropEvents
2078 }
2079 return 0
2080}
2081
2082func (m *OmciEthernetFrameExtendedPm) GetOctets() uint64 {
2083 if m != nil {
2084 return m.Octets
2085 }
2086 return 0
2087}
2088
2089func (m *OmciEthernetFrameExtendedPm) GetFrames() uint64 {
2090 if m != nil {
2091 return m.Frames
2092 }
2093 return 0
2094}
2095
2096func (m *OmciEthernetFrameExtendedPm) GetBroadcastFrames() uint64 {
2097 if m != nil {
2098 return m.BroadcastFrames
2099 }
2100 return 0
2101}
2102
2103func (m *OmciEthernetFrameExtendedPm) GetMulticastFrames() uint64 {
2104 if m != nil {
2105 return m.MulticastFrames
2106 }
2107 return 0
2108}
2109
2110func (m *OmciEthernetFrameExtendedPm) GetCrcErroredFrames() uint64 {
2111 if m != nil {
2112 return m.CrcErroredFrames
2113 }
2114 return 0
2115}
2116
2117func (m *OmciEthernetFrameExtendedPm) GetUndersizeFrames() uint64 {
2118 if m != nil {
2119 return m.UndersizeFrames
2120 }
2121 return 0
2122}
2123
2124func (m *OmciEthernetFrameExtendedPm) GetOversizeFrames() uint64 {
2125 if m != nil {
2126 return m.OversizeFrames
2127 }
2128 return 0
2129}
2130
2131func (m *OmciEthernetFrameExtendedPm) GetFrames_64Octets() uint64 {
2132 if m != nil {
2133 return m.Frames_64Octets
2134 }
2135 return 0
2136}
2137
2138func (m *OmciEthernetFrameExtendedPm) GetFrames_65To_127Octets() uint64 {
2139 if m != nil {
2140 return m.Frames_65To_127Octets
2141 }
2142 return 0
2143}
2144
2145func (m *OmciEthernetFrameExtendedPm) GetFrames_128To_255Octets() uint64 {
2146 if m != nil {
2147 return m.Frames_128To_255Octets
2148 }
2149 return 0
2150}
2151
2152func (m *OmciEthernetFrameExtendedPm) GetFrames_256To_511Octets() uint64 {
2153 if m != nil {
2154 return m.Frames_256To_511Octets
2155 }
2156 return 0
2157}
2158
2159func (m *OmciEthernetFrameExtendedPm) GetFrames_512To_1023Octets() uint64 {
2160 if m != nil {
2161 return m.Frames_512To_1023Octets
2162 }
2163 return 0
2164}
2165
2166func (m *OmciEthernetFrameExtendedPm) GetFrames_1024To_1518Octets() uint64 {
2167 if m != nil {
2168 return m.Frames_1024To_1518Octets
2169 }
2170 return 0
2171}
2172
2173type GetOmciEthernetFrameExtendedPmResponse struct {
2174 Upstream *OmciEthernetFrameExtendedPm `protobuf:"bytes,1,opt,name=upstream,proto3" json:"upstream,omitempty"`
2175 Downstream *OmciEthernetFrameExtendedPm `protobuf:"bytes,2,opt,name=downstream,proto3" json:"downstream,omitempty"`
2176 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2177 XXX_unrecognized []byte `json:"-"`
2178 XXX_sizecache int32 `json:"-"`
2179}
2180
2181func (m *GetOmciEthernetFrameExtendedPmResponse) Reset() {
2182 *m = GetOmciEthernetFrameExtendedPmResponse{}
2183}
2184func (m *GetOmciEthernetFrameExtendedPmResponse) String() string { return proto.CompactTextString(m) }
2185func (*GetOmciEthernetFrameExtendedPmResponse) ProtoMessage() {}
2186func (*GetOmciEthernetFrameExtendedPmResponse) Descriptor() ([]byte, []int) {
2187 return fileDescriptor_7ecf6e9799a9202d, []int{17}
2188}
2189
2190func (m *GetOmciEthernetFrameExtendedPmResponse) XXX_Unmarshal(b []byte) error {
2191 return xxx_messageInfo_GetOmciEthernetFrameExtendedPmResponse.Unmarshal(m, b)
2192}
2193func (m *GetOmciEthernetFrameExtendedPmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2194 return xxx_messageInfo_GetOmciEthernetFrameExtendedPmResponse.Marshal(b, m, deterministic)
2195}
2196func (m *GetOmciEthernetFrameExtendedPmResponse) XXX_Merge(src proto.Message) {
2197 xxx_messageInfo_GetOmciEthernetFrameExtendedPmResponse.Merge(m, src)
2198}
2199func (m *GetOmciEthernetFrameExtendedPmResponse) XXX_Size() int {
2200 return xxx_messageInfo_GetOmciEthernetFrameExtendedPmResponse.Size(m)
2201}
2202func (m *GetOmciEthernetFrameExtendedPmResponse) XXX_DiscardUnknown() {
2203 xxx_messageInfo_GetOmciEthernetFrameExtendedPmResponse.DiscardUnknown(m)
2204}
2205
2206var xxx_messageInfo_GetOmciEthernetFrameExtendedPmResponse proto.InternalMessageInfo
2207
2208func (m *GetOmciEthernetFrameExtendedPmResponse) GetUpstream() *OmciEthernetFrameExtendedPm {
2209 if m != nil {
2210 return m.Upstream
2211 }
2212 return nil
2213}
2214
2215func (m *GetOmciEthernetFrameExtendedPmResponse) GetDownstream() *OmciEthernetFrameExtendedPm {
2216 if m != nil {
2217 return m.Downstream
2218 }
2219 return nil
2220}
2221
2222type GetRxPowerResponse struct {
2223 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
2224 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
2225 Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
2226 FailReason string `protobuf:"bytes,4,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"`
2227 RxPower float64 `protobuf:"fixed64,5,opt,name=rx_power,json=rxPower,proto3" json:"rx_power,omitempty"`
2228 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2229 XXX_unrecognized []byte `json:"-"`
2230 XXX_sizecache int32 `json:"-"`
2231}
2232
2233func (m *GetRxPowerResponse) Reset() { *m = GetRxPowerResponse{} }
2234func (m *GetRxPowerResponse) String() string { return proto.CompactTextString(m) }
2235func (*GetRxPowerResponse) ProtoMessage() {}
2236func (*GetRxPowerResponse) Descriptor() ([]byte, []int) {
2237 return fileDescriptor_7ecf6e9799a9202d, []int{18}
2238}
2239
2240func (m *GetRxPowerResponse) XXX_Unmarshal(b []byte) error {
2241 return xxx_messageInfo_GetRxPowerResponse.Unmarshal(m, b)
2242}
2243func (m *GetRxPowerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2244 return xxx_messageInfo_GetRxPowerResponse.Marshal(b, m, deterministic)
2245}
2246func (m *GetRxPowerResponse) XXX_Merge(src proto.Message) {
2247 xxx_messageInfo_GetRxPowerResponse.Merge(m, src)
2248}
2249func (m *GetRxPowerResponse) XXX_Size() int {
2250 return xxx_messageInfo_GetRxPowerResponse.Size(m)
2251}
2252func (m *GetRxPowerResponse) XXX_DiscardUnknown() {
2253 xxx_messageInfo_GetRxPowerResponse.DiscardUnknown(m)
2254}
2255
2256var xxx_messageInfo_GetRxPowerResponse proto.InternalMessageInfo
2257
2258func (m *GetRxPowerResponse) GetIntfId() uint32 {
2259 if m != nil {
2260 return m.IntfId
2261 }
2262 return 0
2263}
2264
2265func (m *GetRxPowerResponse) GetOnuId() uint32 {
2266 if m != nil {
2267 return m.OnuId
2268 }
2269 return 0
2270}
2271
2272func (m *GetRxPowerResponse) GetStatus() string {
2273 if m != nil {
2274 return m.Status
2275 }
2276 return ""
2277}
2278
2279func (m *GetRxPowerResponse) GetFailReason() string {
2280 if m != nil {
2281 return m.FailReason
2282 }
2283 return ""
2284}
2285
2286func (m *GetRxPowerResponse) GetRxPower() float64 {
2287 if m != nil {
2288 return m.RxPower
2289 }
2290 return 0
2291}
2292
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302293type GetValueRequest struct {
2294 // Types that are valid to be assigned to Request:
2295 // *GetValueRequest_Distance
2296 // *GetValueRequest_UniInfo
Andrea Campanella025667e2021-01-14 11:50:07 +01002297 // *GetValueRequest_OltPortInfo
2298 // *GetValueRequest_OnuOpticalInfo
2299 // *GetValueRequest_EthBridgePort
2300 // *GetValueRequest_FecHistory
Maninder581cf4b2021-06-16 22:42:07 +05302301 // *GetValueRequest_OnuPonInfo
2302 // *GetValueRequest_OnuInfo
2303 // *GetValueRequest_RxPower
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302304 Request isGetValueRequest_Request `protobuf_oneof:"request"`
2305 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2306 XXX_unrecognized []byte `json:"-"`
2307 XXX_sizecache int32 `json:"-"`
2308}
2309
2310func (m *GetValueRequest) Reset() { *m = GetValueRequest{} }
2311func (m *GetValueRequest) String() string { return proto.CompactTextString(m) }
2312func (*GetValueRequest) ProtoMessage() {}
2313func (*GetValueRequest) Descriptor() ([]byte, []int) {
Maninder581cf4b2021-06-16 22:42:07 +05302314 return fileDescriptor_7ecf6e9799a9202d, []int{19}
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302315}
2316
2317func (m *GetValueRequest) XXX_Unmarshal(b []byte) error {
2318 return xxx_messageInfo_GetValueRequest.Unmarshal(m, b)
2319}
2320func (m *GetValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2321 return xxx_messageInfo_GetValueRequest.Marshal(b, m, deterministic)
2322}
2323func (m *GetValueRequest) XXX_Merge(src proto.Message) {
2324 xxx_messageInfo_GetValueRequest.Merge(m, src)
2325}
2326func (m *GetValueRequest) XXX_Size() int {
2327 return xxx_messageInfo_GetValueRequest.Size(m)
2328}
2329func (m *GetValueRequest) XXX_DiscardUnknown() {
2330 xxx_messageInfo_GetValueRequest.DiscardUnknown(m)
2331}
2332
2333var xxx_messageInfo_GetValueRequest proto.InternalMessageInfo
2334
2335type isGetValueRequest_Request interface {
2336 isGetValueRequest_Request()
2337}
2338
2339type GetValueRequest_Distance struct {
2340 Distance *GetDistanceRequest `protobuf:"bytes,1,opt,name=distance,proto3,oneof"`
2341}
2342
2343type GetValueRequest_UniInfo struct {
2344 UniInfo *GetOnuUniInfoRequest `protobuf:"bytes,2,opt,name=uniInfo,proto3,oneof"`
2345}
2346
Andrea Campanella025667e2021-01-14 11:50:07 +01002347type GetValueRequest_OltPortInfo struct {
2348 OltPortInfo *GetOltPortCounters `protobuf:"bytes,3,opt,name=oltPortInfo,proto3,oneof"`
2349}
2350
2351type GetValueRequest_OnuOpticalInfo struct {
2352 OnuOpticalInfo *GetOnuPonOpticalInfo `protobuf:"bytes,4,opt,name=onuOpticalInfo,proto3,oneof"`
2353}
2354
2355type GetValueRequest_EthBridgePort struct {
2356 EthBridgePort *GetOnuEthernetBridgePortHistory `protobuf:"bytes,5,opt,name=ethBridgePort,proto3,oneof"`
2357}
2358
2359type GetValueRequest_FecHistory struct {
2360 FecHistory *GetOnuFecHistory `protobuf:"bytes,6,opt,name=fecHistory,proto3,oneof"`
2361}
2362
Maninder581cf4b2021-06-16 22:42:07 +05302363type GetValueRequest_OnuPonInfo struct {
2364 OnuPonInfo *GetOnuCountersRequest `protobuf:"bytes,7,opt,name=onuPonInfo,proto3,oneof"`
2365}
2366
2367type GetValueRequest_OnuInfo struct {
2368 OnuInfo *GetOmciEthernetFrameExtendedPmRequest `protobuf:"bytes,8,opt,name=onuInfo,proto3,oneof"`
2369}
2370
2371type GetValueRequest_RxPower struct {
2372 RxPower *GetRxPowerRequest `protobuf:"bytes,9,opt,name=rxPower,proto3,oneof"`
2373}
2374
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302375func (*GetValueRequest_Distance) isGetValueRequest_Request() {}
2376
2377func (*GetValueRequest_UniInfo) isGetValueRequest_Request() {}
2378
Andrea Campanella025667e2021-01-14 11:50:07 +01002379func (*GetValueRequest_OltPortInfo) isGetValueRequest_Request() {}
2380
2381func (*GetValueRequest_OnuOpticalInfo) isGetValueRequest_Request() {}
2382
2383func (*GetValueRequest_EthBridgePort) isGetValueRequest_Request() {}
2384
2385func (*GetValueRequest_FecHistory) isGetValueRequest_Request() {}
2386
Maninder581cf4b2021-06-16 22:42:07 +05302387func (*GetValueRequest_OnuPonInfo) isGetValueRequest_Request() {}
2388
2389func (*GetValueRequest_OnuInfo) isGetValueRequest_Request() {}
2390
2391func (*GetValueRequest_RxPower) isGetValueRequest_Request() {}
2392
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302393func (m *GetValueRequest) GetRequest() isGetValueRequest_Request {
2394 if m != nil {
2395 return m.Request
2396 }
2397 return nil
2398}
2399
2400func (m *GetValueRequest) GetDistance() *GetDistanceRequest {
2401 if x, ok := m.GetRequest().(*GetValueRequest_Distance); ok {
2402 return x.Distance
2403 }
2404 return nil
2405}
2406
2407func (m *GetValueRequest) GetUniInfo() *GetOnuUniInfoRequest {
2408 if x, ok := m.GetRequest().(*GetValueRequest_UniInfo); ok {
2409 return x.UniInfo
2410 }
2411 return nil
2412}
2413
Andrea Campanella025667e2021-01-14 11:50:07 +01002414func (m *GetValueRequest) GetOltPortInfo() *GetOltPortCounters {
2415 if x, ok := m.GetRequest().(*GetValueRequest_OltPortInfo); ok {
2416 return x.OltPortInfo
2417 }
2418 return nil
2419}
2420
2421func (m *GetValueRequest) GetOnuOpticalInfo() *GetOnuPonOpticalInfo {
2422 if x, ok := m.GetRequest().(*GetValueRequest_OnuOpticalInfo); ok {
2423 return x.OnuOpticalInfo
2424 }
2425 return nil
2426}
2427
2428func (m *GetValueRequest) GetEthBridgePort() *GetOnuEthernetBridgePortHistory {
2429 if x, ok := m.GetRequest().(*GetValueRequest_EthBridgePort); ok {
2430 return x.EthBridgePort
2431 }
2432 return nil
2433}
2434
2435func (m *GetValueRequest) GetFecHistory() *GetOnuFecHistory {
2436 if x, ok := m.GetRequest().(*GetValueRequest_FecHistory); ok {
2437 return x.FecHistory
2438 }
2439 return nil
2440}
2441
Maninder581cf4b2021-06-16 22:42:07 +05302442func (m *GetValueRequest) GetOnuPonInfo() *GetOnuCountersRequest {
2443 if x, ok := m.GetRequest().(*GetValueRequest_OnuPonInfo); ok {
2444 return x.OnuPonInfo
2445 }
2446 return nil
2447}
2448
2449func (m *GetValueRequest) GetOnuInfo() *GetOmciEthernetFrameExtendedPmRequest {
2450 if x, ok := m.GetRequest().(*GetValueRequest_OnuInfo); ok {
2451 return x.OnuInfo
2452 }
2453 return nil
2454}
2455
2456func (m *GetValueRequest) GetRxPower() *GetRxPowerRequest {
2457 if x, ok := m.GetRequest().(*GetValueRequest_RxPower); ok {
2458 return x.RxPower
2459 }
2460 return nil
2461}
2462
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302463// XXX_OneofWrappers is for the internal use of the proto package.
2464func (*GetValueRequest) XXX_OneofWrappers() []interface{} {
2465 return []interface{}{
2466 (*GetValueRequest_Distance)(nil),
2467 (*GetValueRequest_UniInfo)(nil),
Andrea Campanella025667e2021-01-14 11:50:07 +01002468 (*GetValueRequest_OltPortInfo)(nil),
2469 (*GetValueRequest_OnuOpticalInfo)(nil),
2470 (*GetValueRequest_EthBridgePort)(nil),
2471 (*GetValueRequest_FecHistory)(nil),
Maninder581cf4b2021-06-16 22:42:07 +05302472 (*GetValueRequest_OnuPonInfo)(nil),
2473 (*GetValueRequest_OnuInfo)(nil),
2474 (*GetValueRequest_RxPower)(nil),
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302475 }
2476}
2477
2478type GetValueResponse struct {
2479 Status GetValueResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=extension.GetValueResponse_Status" json:"status,omitempty"`
2480 ErrReason GetValueResponse_ErrorReason `protobuf:"varint,2,opt,name=errReason,proto3,enum=extension.GetValueResponse_ErrorReason" json:"errReason,omitempty"`
2481 // Types that are valid to be assigned to Response:
2482 // *GetValueResponse_Distance
2483 // *GetValueResponse_UniInfo
Andrea Campanella025667e2021-01-14 11:50:07 +01002484 // *GetValueResponse_PortCoutners
2485 // *GetValueResponse_OnuOpticalInfo
2486 // *GetValueResponse_EthBridgePortInfo
2487 // *GetValueResponse_FecHistory
Maninder581cf4b2021-06-16 22:42:07 +05302488 // *GetValueResponse_OnuPonCounters
2489 // *GetValueResponse_OnuCounters
2490 // *GetValueResponse_RxPower
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302491 Response isGetValueResponse_Response `protobuf_oneof:"response"`
2492 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2493 XXX_unrecognized []byte `json:"-"`
2494 XXX_sizecache int32 `json:"-"`
2495}
2496
2497func (m *GetValueResponse) Reset() { *m = GetValueResponse{} }
2498func (m *GetValueResponse) String() string { return proto.CompactTextString(m) }
2499func (*GetValueResponse) ProtoMessage() {}
2500func (*GetValueResponse) Descriptor() ([]byte, []int) {
Maninder581cf4b2021-06-16 22:42:07 +05302501 return fileDescriptor_7ecf6e9799a9202d, []int{20}
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302502}
2503
2504func (m *GetValueResponse) XXX_Unmarshal(b []byte) error {
2505 return xxx_messageInfo_GetValueResponse.Unmarshal(m, b)
2506}
2507func (m *GetValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2508 return xxx_messageInfo_GetValueResponse.Marshal(b, m, deterministic)
2509}
2510func (m *GetValueResponse) XXX_Merge(src proto.Message) {
2511 xxx_messageInfo_GetValueResponse.Merge(m, src)
2512}
2513func (m *GetValueResponse) XXX_Size() int {
2514 return xxx_messageInfo_GetValueResponse.Size(m)
2515}
2516func (m *GetValueResponse) XXX_DiscardUnknown() {
2517 xxx_messageInfo_GetValueResponse.DiscardUnknown(m)
2518}
2519
2520var xxx_messageInfo_GetValueResponse proto.InternalMessageInfo
2521
2522func (m *GetValueResponse) GetStatus() GetValueResponse_Status {
2523 if m != nil {
2524 return m.Status
2525 }
2526 return GetValueResponse_STATUS_UNDEFINED
2527}
2528
2529func (m *GetValueResponse) GetErrReason() GetValueResponse_ErrorReason {
2530 if m != nil {
2531 return m.ErrReason
2532 }
2533 return GetValueResponse_REASON_UNDEFINED
2534}
2535
2536type isGetValueResponse_Response interface {
2537 isGetValueResponse_Response()
2538}
2539
2540type GetValueResponse_Distance struct {
2541 Distance *GetDistanceResponse `protobuf:"bytes,3,opt,name=distance,proto3,oneof"`
2542}
2543
2544type GetValueResponse_UniInfo struct {
2545 UniInfo *GetOnuUniInfoResponse `protobuf:"bytes,4,opt,name=uniInfo,proto3,oneof"`
2546}
2547
Andrea Campanella025667e2021-01-14 11:50:07 +01002548type GetValueResponse_PortCoutners struct {
2549 PortCoutners *GetOltPortCountersResponse `protobuf:"bytes,5,opt,name=portCoutners,proto3,oneof"`
2550}
2551
2552type GetValueResponse_OnuOpticalInfo struct {
2553 OnuOpticalInfo *GetOnuPonOpticalInfoResponse `protobuf:"bytes,6,opt,name=onuOpticalInfo,proto3,oneof"`
2554}
2555
2556type GetValueResponse_EthBridgePortInfo struct {
2557 EthBridgePortInfo *GetOnuEthernetBridgePortHistoryResponse `protobuf:"bytes,7,opt,name=ethBridgePortInfo,proto3,oneof"`
2558}
2559
2560type GetValueResponse_FecHistory struct {
2561 FecHistory *GetOnuFecHistoryResponse `protobuf:"bytes,8,opt,name=fecHistory,proto3,oneof"`
2562}
2563
Maninder581cf4b2021-06-16 22:42:07 +05302564type GetValueResponse_OnuPonCounters struct {
2565 OnuPonCounters *GetOnuCountersResponse `protobuf:"bytes,9,opt,name=onuPonCounters,proto3,oneof"`
2566}
2567
2568type GetValueResponse_OnuCounters struct {
2569 OnuCounters *GetOmciEthernetFrameExtendedPmResponse `protobuf:"bytes,10,opt,name=onuCounters,proto3,oneof"`
2570}
2571
2572type GetValueResponse_RxPower struct {
2573 RxPower *GetRxPowerResponse `protobuf:"bytes,11,opt,name=rxPower,proto3,oneof"`
2574}
2575
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302576func (*GetValueResponse_Distance) isGetValueResponse_Response() {}
2577
2578func (*GetValueResponse_UniInfo) isGetValueResponse_Response() {}
2579
Andrea Campanella025667e2021-01-14 11:50:07 +01002580func (*GetValueResponse_PortCoutners) isGetValueResponse_Response() {}
2581
2582func (*GetValueResponse_OnuOpticalInfo) isGetValueResponse_Response() {}
2583
2584func (*GetValueResponse_EthBridgePortInfo) isGetValueResponse_Response() {}
2585
2586func (*GetValueResponse_FecHistory) isGetValueResponse_Response() {}
2587
Maninder581cf4b2021-06-16 22:42:07 +05302588func (*GetValueResponse_OnuPonCounters) isGetValueResponse_Response() {}
2589
2590func (*GetValueResponse_OnuCounters) isGetValueResponse_Response() {}
2591
2592func (*GetValueResponse_RxPower) isGetValueResponse_Response() {}
2593
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302594func (m *GetValueResponse) GetResponse() isGetValueResponse_Response {
2595 if m != nil {
2596 return m.Response
2597 }
2598 return nil
2599}
2600
2601func (m *GetValueResponse) GetDistance() *GetDistanceResponse {
2602 if x, ok := m.GetResponse().(*GetValueResponse_Distance); ok {
2603 return x.Distance
2604 }
2605 return nil
2606}
2607
2608func (m *GetValueResponse) GetUniInfo() *GetOnuUniInfoResponse {
2609 if x, ok := m.GetResponse().(*GetValueResponse_UniInfo); ok {
2610 return x.UniInfo
2611 }
2612 return nil
2613}
2614
Andrea Campanella025667e2021-01-14 11:50:07 +01002615func (m *GetValueResponse) GetPortCoutners() *GetOltPortCountersResponse {
2616 if x, ok := m.GetResponse().(*GetValueResponse_PortCoutners); ok {
2617 return x.PortCoutners
2618 }
2619 return nil
2620}
2621
2622func (m *GetValueResponse) GetOnuOpticalInfo() *GetOnuPonOpticalInfoResponse {
2623 if x, ok := m.GetResponse().(*GetValueResponse_OnuOpticalInfo); ok {
2624 return x.OnuOpticalInfo
2625 }
2626 return nil
2627}
2628
2629func (m *GetValueResponse) GetEthBridgePortInfo() *GetOnuEthernetBridgePortHistoryResponse {
2630 if x, ok := m.GetResponse().(*GetValueResponse_EthBridgePortInfo); ok {
2631 return x.EthBridgePortInfo
2632 }
2633 return nil
2634}
2635
2636func (m *GetValueResponse) GetFecHistory() *GetOnuFecHistoryResponse {
2637 if x, ok := m.GetResponse().(*GetValueResponse_FecHistory); ok {
2638 return x.FecHistory
2639 }
2640 return nil
2641}
2642
Maninder581cf4b2021-06-16 22:42:07 +05302643func (m *GetValueResponse) GetOnuPonCounters() *GetOnuCountersResponse {
2644 if x, ok := m.GetResponse().(*GetValueResponse_OnuPonCounters); ok {
2645 return x.OnuPonCounters
2646 }
2647 return nil
2648}
2649
2650func (m *GetValueResponse) GetOnuCounters() *GetOmciEthernetFrameExtendedPmResponse {
2651 if x, ok := m.GetResponse().(*GetValueResponse_OnuCounters); ok {
2652 return x.OnuCounters
2653 }
2654 return nil
2655}
2656
2657func (m *GetValueResponse) GetRxPower() *GetRxPowerResponse {
2658 if x, ok := m.GetResponse().(*GetValueResponse_RxPower); ok {
2659 return x.RxPower
2660 }
2661 return nil
2662}
2663
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302664// XXX_OneofWrappers is for the internal use of the proto package.
2665func (*GetValueResponse) XXX_OneofWrappers() []interface{} {
2666 return []interface{}{
2667 (*GetValueResponse_Distance)(nil),
2668 (*GetValueResponse_UniInfo)(nil),
Andrea Campanella025667e2021-01-14 11:50:07 +01002669 (*GetValueResponse_PortCoutners)(nil),
2670 (*GetValueResponse_OnuOpticalInfo)(nil),
2671 (*GetValueResponse_EthBridgePortInfo)(nil),
2672 (*GetValueResponse_FecHistory)(nil),
Maninder581cf4b2021-06-16 22:42:07 +05302673 (*GetValueResponse_OnuPonCounters)(nil),
2674 (*GetValueResponse_OnuCounters)(nil),
2675 (*GetValueResponse_RxPower)(nil),
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302676 }
2677}
2678
2679type SetValueRequest struct {
2680 // Types that are valid to be assigned to Request:
2681 // *SetValueRequest_AlarmConfig
2682 Request isSetValueRequest_Request `protobuf_oneof:"request"`
2683 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2684 XXX_unrecognized []byte `json:"-"`
2685 XXX_sizecache int32 `json:"-"`
2686}
2687
2688func (m *SetValueRequest) Reset() { *m = SetValueRequest{} }
2689func (m *SetValueRequest) String() string { return proto.CompactTextString(m) }
2690func (*SetValueRequest) ProtoMessage() {}
2691func (*SetValueRequest) Descriptor() ([]byte, []int) {
Maninder581cf4b2021-06-16 22:42:07 +05302692 return fileDescriptor_7ecf6e9799a9202d, []int{21}
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302693}
2694
2695func (m *SetValueRequest) XXX_Unmarshal(b []byte) error {
2696 return xxx_messageInfo_SetValueRequest.Unmarshal(m, b)
2697}
2698func (m *SetValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2699 return xxx_messageInfo_SetValueRequest.Marshal(b, m, deterministic)
2700}
2701func (m *SetValueRequest) XXX_Merge(src proto.Message) {
2702 xxx_messageInfo_SetValueRequest.Merge(m, src)
2703}
2704func (m *SetValueRequest) XXX_Size() int {
2705 return xxx_messageInfo_SetValueRequest.Size(m)
2706}
2707func (m *SetValueRequest) XXX_DiscardUnknown() {
2708 xxx_messageInfo_SetValueRequest.DiscardUnknown(m)
2709}
2710
2711var xxx_messageInfo_SetValueRequest proto.InternalMessageInfo
2712
2713type isSetValueRequest_Request interface {
2714 isSetValueRequest_Request()
2715}
2716
2717type SetValueRequest_AlarmConfig struct {
2718 AlarmConfig *config.AlarmConfig `protobuf:"bytes,1,opt,name=alarm_config,json=alarmConfig,proto3,oneof"`
2719}
2720
2721func (*SetValueRequest_AlarmConfig) isSetValueRequest_Request() {}
2722
2723func (m *SetValueRequest) GetRequest() isSetValueRequest_Request {
2724 if m != nil {
2725 return m.Request
2726 }
2727 return nil
2728}
2729
2730func (m *SetValueRequest) GetAlarmConfig() *config.AlarmConfig {
2731 if x, ok := m.GetRequest().(*SetValueRequest_AlarmConfig); ok {
2732 return x.AlarmConfig
2733 }
2734 return nil
2735}
2736
2737// XXX_OneofWrappers is for the internal use of the proto package.
2738func (*SetValueRequest) XXX_OneofWrappers() []interface{} {
2739 return []interface{}{
2740 (*SetValueRequest_AlarmConfig)(nil),
2741 }
2742}
2743
2744type SetValueResponse struct {
2745 Status SetValueResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=extension.SetValueResponse_Status" json:"status,omitempty"`
2746 ErrReason SetValueResponse_ErrorReason `protobuf:"varint,2,opt,name=errReason,proto3,enum=extension.SetValueResponse_ErrorReason" json:"errReason,omitempty"`
2747 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2748 XXX_unrecognized []byte `json:"-"`
2749 XXX_sizecache int32 `json:"-"`
2750}
2751
2752func (m *SetValueResponse) Reset() { *m = SetValueResponse{} }
2753func (m *SetValueResponse) String() string { return proto.CompactTextString(m) }
2754func (*SetValueResponse) ProtoMessage() {}
2755func (*SetValueResponse) Descriptor() ([]byte, []int) {
Maninder581cf4b2021-06-16 22:42:07 +05302756 return fileDescriptor_7ecf6e9799a9202d, []int{22}
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302757}
2758
2759func (m *SetValueResponse) XXX_Unmarshal(b []byte) error {
2760 return xxx_messageInfo_SetValueResponse.Unmarshal(m, b)
2761}
2762func (m *SetValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2763 return xxx_messageInfo_SetValueResponse.Marshal(b, m, deterministic)
2764}
2765func (m *SetValueResponse) XXX_Merge(src proto.Message) {
2766 xxx_messageInfo_SetValueResponse.Merge(m, src)
2767}
2768func (m *SetValueResponse) XXX_Size() int {
2769 return xxx_messageInfo_SetValueResponse.Size(m)
2770}
2771func (m *SetValueResponse) XXX_DiscardUnknown() {
2772 xxx_messageInfo_SetValueResponse.DiscardUnknown(m)
2773}
2774
2775var xxx_messageInfo_SetValueResponse proto.InternalMessageInfo
2776
2777func (m *SetValueResponse) GetStatus() SetValueResponse_Status {
2778 if m != nil {
2779 return m.Status
2780 }
2781 return SetValueResponse_STATUS_UNDEFINED
2782}
2783
2784func (m *SetValueResponse) GetErrReason() SetValueResponse_ErrorReason {
2785 if m != nil {
2786 return m.ErrReason
2787 }
2788 return SetValueResponse_REASON_UNDEFINED
2789}
2790
2791type SingleGetValueRequest struct {
2792 TargetId string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId,omitempty"`
2793 Request *GetValueRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
2794 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2795 XXX_unrecognized []byte `json:"-"`
2796 XXX_sizecache int32 `json:"-"`
2797}
2798
2799func (m *SingleGetValueRequest) Reset() { *m = SingleGetValueRequest{} }
2800func (m *SingleGetValueRequest) String() string { return proto.CompactTextString(m) }
2801func (*SingleGetValueRequest) ProtoMessage() {}
2802func (*SingleGetValueRequest) Descriptor() ([]byte, []int) {
Maninder581cf4b2021-06-16 22:42:07 +05302803 return fileDescriptor_7ecf6e9799a9202d, []int{23}
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302804}
2805
2806func (m *SingleGetValueRequest) XXX_Unmarshal(b []byte) error {
2807 return xxx_messageInfo_SingleGetValueRequest.Unmarshal(m, b)
2808}
2809func (m *SingleGetValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2810 return xxx_messageInfo_SingleGetValueRequest.Marshal(b, m, deterministic)
2811}
2812func (m *SingleGetValueRequest) XXX_Merge(src proto.Message) {
2813 xxx_messageInfo_SingleGetValueRequest.Merge(m, src)
2814}
2815func (m *SingleGetValueRequest) XXX_Size() int {
2816 return xxx_messageInfo_SingleGetValueRequest.Size(m)
2817}
2818func (m *SingleGetValueRequest) XXX_DiscardUnknown() {
2819 xxx_messageInfo_SingleGetValueRequest.DiscardUnknown(m)
2820}
2821
2822var xxx_messageInfo_SingleGetValueRequest proto.InternalMessageInfo
2823
2824func (m *SingleGetValueRequest) GetTargetId() string {
2825 if m != nil {
2826 return m.TargetId
2827 }
2828 return ""
2829}
2830
2831func (m *SingleGetValueRequest) GetRequest() *GetValueRequest {
2832 if m != nil {
2833 return m.Request
2834 }
2835 return nil
2836}
2837
2838type SingleGetValueResponse struct {
2839 Response *GetValueResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
2840 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2841 XXX_unrecognized []byte `json:"-"`
2842 XXX_sizecache int32 `json:"-"`
2843}
2844
2845func (m *SingleGetValueResponse) Reset() { *m = SingleGetValueResponse{} }
2846func (m *SingleGetValueResponse) String() string { return proto.CompactTextString(m) }
2847func (*SingleGetValueResponse) ProtoMessage() {}
2848func (*SingleGetValueResponse) Descriptor() ([]byte, []int) {
Maninder581cf4b2021-06-16 22:42:07 +05302849 return fileDescriptor_7ecf6e9799a9202d, []int{24}
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302850}
2851
2852func (m *SingleGetValueResponse) XXX_Unmarshal(b []byte) error {
2853 return xxx_messageInfo_SingleGetValueResponse.Unmarshal(m, b)
2854}
2855func (m *SingleGetValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2856 return xxx_messageInfo_SingleGetValueResponse.Marshal(b, m, deterministic)
2857}
2858func (m *SingleGetValueResponse) XXX_Merge(src proto.Message) {
2859 xxx_messageInfo_SingleGetValueResponse.Merge(m, src)
2860}
2861func (m *SingleGetValueResponse) XXX_Size() int {
2862 return xxx_messageInfo_SingleGetValueResponse.Size(m)
2863}
2864func (m *SingleGetValueResponse) XXX_DiscardUnknown() {
2865 xxx_messageInfo_SingleGetValueResponse.DiscardUnknown(m)
2866}
2867
2868var xxx_messageInfo_SingleGetValueResponse proto.InternalMessageInfo
2869
2870func (m *SingleGetValueResponse) GetResponse() *GetValueResponse {
2871 if m != nil {
2872 return m.Response
2873 }
2874 return nil
2875}
2876
2877type SingleSetValueRequest struct {
2878 TargetId string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId,omitempty"`
2879 Request *SetValueRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
2880 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2881 XXX_unrecognized []byte `json:"-"`
2882 XXX_sizecache int32 `json:"-"`
2883}
2884
2885func (m *SingleSetValueRequest) Reset() { *m = SingleSetValueRequest{} }
2886func (m *SingleSetValueRequest) String() string { return proto.CompactTextString(m) }
2887func (*SingleSetValueRequest) ProtoMessage() {}
2888func (*SingleSetValueRequest) Descriptor() ([]byte, []int) {
Maninder581cf4b2021-06-16 22:42:07 +05302889 return fileDescriptor_7ecf6e9799a9202d, []int{25}
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302890}
2891
2892func (m *SingleSetValueRequest) XXX_Unmarshal(b []byte) error {
2893 return xxx_messageInfo_SingleSetValueRequest.Unmarshal(m, b)
2894}
2895func (m *SingleSetValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2896 return xxx_messageInfo_SingleSetValueRequest.Marshal(b, m, deterministic)
2897}
2898func (m *SingleSetValueRequest) XXX_Merge(src proto.Message) {
2899 xxx_messageInfo_SingleSetValueRequest.Merge(m, src)
2900}
2901func (m *SingleSetValueRequest) XXX_Size() int {
2902 return xxx_messageInfo_SingleSetValueRequest.Size(m)
2903}
2904func (m *SingleSetValueRequest) XXX_DiscardUnknown() {
2905 xxx_messageInfo_SingleSetValueRequest.DiscardUnknown(m)
2906}
2907
2908var xxx_messageInfo_SingleSetValueRequest proto.InternalMessageInfo
2909
2910func (m *SingleSetValueRequest) GetTargetId() string {
2911 if m != nil {
2912 return m.TargetId
2913 }
2914 return ""
2915}
2916
2917func (m *SingleSetValueRequest) GetRequest() *SetValueRequest {
2918 if m != nil {
2919 return m.Request
2920 }
2921 return nil
2922}
2923
2924type SingleSetValueResponse struct {
2925 Response *SetValueResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
2926 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2927 XXX_unrecognized []byte `json:"-"`
2928 XXX_sizecache int32 `json:"-"`
2929}
2930
2931func (m *SingleSetValueResponse) Reset() { *m = SingleSetValueResponse{} }
2932func (m *SingleSetValueResponse) String() string { return proto.CompactTextString(m) }
2933func (*SingleSetValueResponse) ProtoMessage() {}
2934func (*SingleSetValueResponse) Descriptor() ([]byte, []int) {
Maninder581cf4b2021-06-16 22:42:07 +05302935 return fileDescriptor_7ecf6e9799a9202d, []int{26}
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302936}
2937
2938func (m *SingleSetValueResponse) XXX_Unmarshal(b []byte) error {
2939 return xxx_messageInfo_SingleSetValueResponse.Unmarshal(m, b)
2940}
2941func (m *SingleSetValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2942 return xxx_messageInfo_SingleSetValueResponse.Marshal(b, m, deterministic)
2943}
2944func (m *SingleSetValueResponse) XXX_Merge(src proto.Message) {
2945 xxx_messageInfo_SingleSetValueResponse.Merge(m, src)
2946}
2947func (m *SingleSetValueResponse) XXX_Size() int {
2948 return xxx_messageInfo_SingleSetValueResponse.Size(m)
2949}
2950func (m *SingleSetValueResponse) XXX_DiscardUnknown() {
2951 xxx_messageInfo_SingleSetValueResponse.DiscardUnknown(m)
2952}
2953
2954var xxx_messageInfo_SingleSetValueResponse proto.InternalMessageInfo
2955
2956func (m *SingleSetValueResponse) GetResponse() *SetValueResponse {
2957 if m != nil {
2958 return m.Response
2959 }
2960 return nil
2961}
2962
2963func init() {
2964 proto.RegisterEnum("extension.GetOnuUniInfoResponse_ConfigurationInd", GetOnuUniInfoResponse_ConfigurationInd_name, GetOnuUniInfoResponse_ConfigurationInd_value)
2965 proto.RegisterEnum("extension.GetOnuUniInfoResponse_AdministrativeState", GetOnuUniInfoResponse_AdministrativeState_name, GetOnuUniInfoResponse_AdministrativeState_value)
2966 proto.RegisterEnum("extension.GetOnuUniInfoResponse_OperationalState", GetOnuUniInfoResponse_OperationalState_name, GetOnuUniInfoResponse_OperationalState_value)
Andrea Campanella025667e2021-01-14 11:50:07 +01002967 proto.RegisterEnum("extension.GetOltPortCounters_PortType", GetOltPortCounters_PortType_name, GetOltPortCounters_PortType_value)
2968 proto.RegisterEnum("extension.GetOnuEthernetBridgePortHistory_Direction", GetOnuEthernetBridgePortHistory_Direction_name, GetOnuEthernetBridgePortHistory_Direction_value)
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302969 proto.RegisterEnum("extension.GetValueResponse_Status", GetValueResponse_Status_name, GetValueResponse_Status_value)
2970 proto.RegisterEnum("extension.GetValueResponse_ErrorReason", GetValueResponse_ErrorReason_name, GetValueResponse_ErrorReason_value)
2971 proto.RegisterEnum("extension.SetValueResponse_Status", SetValueResponse_Status_name, SetValueResponse_Status_value)
2972 proto.RegisterEnum("extension.SetValueResponse_ErrorReason", SetValueResponse_ErrorReason_name, SetValueResponse_ErrorReason_value)
2973 proto.RegisterType((*GetDistanceRequest)(nil), "extension.GetDistanceRequest")
2974 proto.RegisterType((*GetDistanceResponse)(nil), "extension.GetDistanceResponse")
2975 proto.RegisterType((*GetOnuUniInfoRequest)(nil), "extension.GetOnuUniInfoRequest")
2976 proto.RegisterType((*GetOnuUniInfoResponse)(nil), "extension.GetOnuUniInfoResponse")
Andrea Campanella025667e2021-01-14 11:50:07 +01002977 proto.RegisterType((*GetOltPortCounters)(nil), "extension.GetOltPortCounters")
2978 proto.RegisterType((*GetOltPortCountersResponse)(nil), "extension.GetOltPortCountersResponse")
2979 proto.RegisterType((*GetOnuPonOpticalInfo)(nil), "extension.GetOnuPonOpticalInfo")
2980 proto.RegisterType((*GetOnuPonOpticalInfoResponse)(nil), "extension.GetOnuPonOpticalInfoResponse")
2981 proto.RegisterType((*GetOnuEthernetBridgePortHistory)(nil), "extension.GetOnuEthernetBridgePortHistory")
2982 proto.RegisterType((*GetOnuEthernetBridgePortHistoryResponse)(nil), "extension.GetOnuEthernetBridgePortHistoryResponse")
2983 proto.RegisterType((*GetOnuFecHistory)(nil), "extension.GetOnuFecHistory")
2984 proto.RegisterType((*GetOnuFecHistoryResponse)(nil), "extension.GetOnuFecHistoryResponse")
Maninder581cf4b2021-06-16 22:42:07 +05302985 proto.RegisterType((*GetOnuCountersRequest)(nil), "extension.GetOnuCountersRequest")
2986 proto.RegisterType((*GetOmciEthernetFrameExtendedPmRequest)(nil), "extension.GetOmciEthernetFrameExtendedPmRequest")
2987 proto.RegisterType((*GetRxPowerRequest)(nil), "extension.GetRxPowerRequest")
2988 proto.RegisterType((*GetOnuCountersResponse)(nil), "extension.GetOnuCountersResponse")
2989 proto.RegisterType((*OmciEthernetFrameExtendedPm)(nil), "extension.OmciEthernetFrameExtendedPm")
2990 proto.RegisterType((*GetOmciEthernetFrameExtendedPmResponse)(nil), "extension.GetOmciEthernetFrameExtendedPmResponse")
2991 proto.RegisterType((*GetRxPowerResponse)(nil), "extension.GetRxPowerResponse")
Salman Siddiqui1cf95042020-11-19 00:42:56 +05302992 proto.RegisterType((*GetValueRequest)(nil), "extension.GetValueRequest")
2993 proto.RegisterType((*GetValueResponse)(nil), "extension.GetValueResponse")
2994 proto.RegisterType((*SetValueRequest)(nil), "extension.SetValueRequest")
2995 proto.RegisterType((*SetValueResponse)(nil), "extension.SetValueResponse")
2996 proto.RegisterType((*SingleGetValueRequest)(nil), "extension.SingleGetValueRequest")
2997 proto.RegisterType((*SingleGetValueResponse)(nil), "extension.SingleGetValueResponse")
2998 proto.RegisterType((*SingleSetValueRequest)(nil), "extension.SingleSetValueRequest")
2999 proto.RegisterType((*SingleSetValueResponse)(nil), "extension.SingleSetValueResponse")
3000}
3001
3002func init() { proto.RegisterFile("voltha_protos/extensions.proto", fileDescriptor_7ecf6e9799a9202d) }
3003
3004var fileDescriptor_7ecf6e9799a9202d = []byte{
Maninder581cf4b2021-06-16 22:42:07 +05303005 // 2978 bytes of a gzipped FileDescriptorProto
3006 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x5a, 0xcb, 0x72, 0x1b, 0xc7,
3007 0xd5, 0x26, 0x20, 0x72, 0x08, 0x1c, 0x10, 0x24, 0xd8, 0xbc, 0x41, 0xa4, 0x6e, 0x1e, 0x97, 0x25,
3008 0xfd, 0x2e, 0x1b, 0x12, 0x60, 0x42, 0xe6, 0x2f, 0x3b, 0x55, 0xe6, 0x10, 0x43, 0x02, 0x25, 0x0a,
3009 0x80, 0x1b, 0x80, 0xec, 0x64, 0x33, 0x35, 0xc4, 0x34, 0xa9, 0x29, 0x03, 0x33, 0xc8, 0x4c, 0x43,
3010 0x86, 0xb2, 0x4d, 0x96, 0xd9, 0x65, 0x93, 0x67, 0x48, 0x55, 0x2a, 0x8b, 0xa4, 0x2a, 0xfb, 0xac,
3011 0xf3, 0x12, 0xa9, 0xca, 0x13, 0xe4, 0x01, 0x52, 0xa9, 0xbe, 0xcc, 0x15, 0x20, 0x25, 0x39, 0xd9,
3012 0xb1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ad, 0x41, 0x6e, 0xd0, 0x96, 0xa3, 0xac, 0x7a, 0x0a, 0xa5, 0xf4, 0xea,
3035 0xa3, 0x3d, 0xd8, 0xea, 0x74, 0x75, 0x3c, 0x2f, 0x53, 0x80, 0x55, 0xbd, 0x7d, 0xac, 0x9d, 0x07,
3036 0x3a, 0x8d, 0x56, 0x4f, 0x8c, 0xb2, 0xea, 0x5f, 0x33, 0x3c, 0x07, 0x3a, 0x23, 0xda, 0x75, 0x3d,
3037 0x7a, 0xe2, 0x4e, 0x1d, 0x4a, 0x3c, 0x1f, 0xed, 0x82, 0x32, 0x71, 0x3d, 0xda, 0x76, 0x65, 0x50,
3038 0xca, 0x11, 0xd2, 0x20, 0xc7, 0xfe, 0xea, 0xbf, 0x9d, 0x04, 0x51, 0xf2, 0x30, 0xb5, 0xa9, 0x49,
3039 0xa1, 0x4a, 0x57, 0xa2, 0x71, 0xc8, 0x53, 0x75, 0xc8, 0x05, 0x56, 0x54, 0x82, 0x35, 0xf6, 0xb7,
3040 0x31, 0x68, 0xbf, 0x68, 0x8b, 0x5d, 0xdc, 0x81, 0x4d, 0x6e, 0x09, 0x17, 0xae, 0xdd, 0x6e, 0x95,
3041 0x32, 0x21, 0xb0, 0xdb, 0x69, 0x1b, 0x9d, 0xf3, 0x7e, 0x29, 0xab, 0xfe, 0xfd, 0x16, 0xec, 0xcf,
3042 0x3f, 0x30, 0x4c, 0x91, 0x32, 0xac, 0xd2, 0x99, 0xf6, 0x96, 0x12, 0x9f, 0xbf, 0xc2, 0x32, 0x0e,
3043 0x86, 0xcc, 0xe3, 0x49, 0x4f, 0x56, 0x78, 0xe4, 0x10, 0xdd, 0x81, 0x3c, 0x9d, 0x75, 0xcd, 0xe1,
3044 0x0f, 0x84, 0xfa, 0x3c, 0x66, 0x97, 0x71, 0x64, 0x60, 0x5e, 0x2f, 0xf4, 0x2e, 0x0b, 0x6f, 0x68,
3045 0x40, 0x0f, 0x61, 0x9d, 0xce, 0x74, 0xcf, 0x73, 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, 0xd9, 0x22, 0x23,
3090 0x7b, 0x6c, 0x53, 0xe2, 0x19, 0x63, 0xdb, 0xf7, 0x0d, 0x8b, 0x50, 0x59, 0xe3, 0x57, 0x38, 0x65,
3091 0x19, 0xef, 0x86, 0x88, 0x97, 0xb6, 0xef, 0x37, 0x02, 0x3f, 0xba, 0x0f, 0x70, 0x61, 0x4f, 0x0c,
3092 0xc2, 0x8a, 0x92, 0xa8, 0x52, 0x4a, 0x73, 0x05, 0xe7, 0x2f, 0xec, 0x09, 0xaf, 0x53, 0x3e, 0xba,
3093 0x0b, 0x6c, 0x60, 0x4c, 0x1d, 0x5b, 0x16, 0x26, 0xa5, 0xa9, 0xe0, 0xdc, 0x85, 0x3d, 0x19, 0x30,
3094 0x0b, 0x4b, 0xea, 0x4b, 0x32, 0x34, 0xc2, 0x78, 0x34, 0xfc, 0xb7, 0xe3, 0x0b, 0x77, 0x24, 0x0a,
3095 0x93, 0xd2, 0x5c, 0xc5, 0x5b, 0x97, 0x64, 0x78, 0x12, 0x78, 0x7b, 0xc2, 0xc9, 0x92, 0x53, 0xb0,
3096 0x2c, 0xf2, 0x23, 0x0b, 0x9e, 0x88, 0xcf, 0xcb, 0x94, 0xd2, 0xcc, 0xe1, 0x1d, 0xce, 0x93, 0xfe,
3097 0x50, 0x00, 0x7d, 0x03, 0x07, 0x49, 0x66, 0x22, 0x1a, 0x79, 0xd5, 0x52, 0x9a, 0x79, 0x7c, 0x3b,
3098 0xce, 0x1e, 0xc4, 0x21, 0xe8, 0x13, 0x28, 0x26, 0x14, 0x78, 0xd1, 0x52, 0x9a, 0x80, 0xd7, 0xe2,
3099 0x1c, 0xf4, 0x14, 0xb6, 0x92, 0x2f, 0x26, 0x56, 0x60, 0x8d, 0x83, 0x0b, 0x78, 0x33, 0xfe, 0x5a,
3100 0x62, 0x29, 0x1e, 0xc3, 0xc6, 0xec, 0x8a, 0x8c, 0x8d, 0x1f, 0xc8, 0xdb, 0x60, 0x3d, 0x8b, 0x1c,
3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 0xdc, 0x89, 0x7c, 0xf3, 0x31, 0xac, 0x15, 0xa1, 0x20, 0xfc, 0x3c, 0xd2,
3124 0xe4, 0x52, 0x46, 0x91, 0x29, 0xfd, 0x34, 0xe9, 0x8f, 0x62, 0x4f, 0xdb, 0x84, 0x0d, 0xb6, 0xd4,
3125 0xb1, 0x58, 0xd3, 0x4a, 0xb0, 0x6e, 0xfb, 0x46, 0x2c, 0xb2, 0x02, 0xd5, 0x30, 0x90, 0xe4, 0x0b,
3126 0x87, 0x51, 0xa2, 0xfe, 0x76, 0x05, 0x0e, 0x6e, 0x38, 0xf4, 0xd0, 0x7d, 0x28, 0xb0, 0x76, 0xd7,
3127 0x20, 0x51, 0x07, 0xac, 0xdc, 0xd0, 0x01, 0x2b, 0x61, 0x07, 0xbc, 0x0b, 0xca, 0x25, 0xd3, 0x12,
3128 0x4d, 0x81, 0x82, 0xe5, 0x08, 0xfd, 0x5f, 0xac, 0xff, 0x35, 0x24, 0x82, 0x9f, 0x30, 0x78, 0x23,
3129 0xb4, 0x9f, 0x86, 0xd0, 0xb0, 0xcd, 0x0d, 0xa0, 0x2b, 0x02, 0x1a, 0xda, 0x25, 0xf4, 0x33, 0x40,
3130 0xe1, 0xca, 0x12, 0x2b, 0x00, 0xf3, 0x83, 0x05, 0x97, 0xa2, 0xf6, 0x37, 0x12, 0x0e, 0xbb, 0xdc,
3131 0x00, 0xbb, 0x2a, 0x84, 0x43, 0xbb, 0x84, 0x3e, 0x8a, 0x9a, 0xdf, 0x00, 0xc9, 0xcf, 0x18, 0xbc,
3132 0x1e, 0x98, 0x25, 0xf0, 0x31, 0x94, 0x84, 0xdf, 0x78, 0x76, 0x68, 0xc4, 0x9a, 0x5f, 0x05, 0xaf,
3133 0x0b, 0xfb, 0xb3, 0xc3, 0xb0, 0x23, 0xdd, 0x0b, 0x90, 0x75, 0x83, 0xba, 0x46, 0xb5, 0xf6, 0xa5,
3134 0x11, 0x6b, 0x7f, 0x15, 0xbc, 0x25, 0x09, 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3190 0x50, 0x9f, 0xcb, 0x7f, 0x94, 0x78, 0x73, 0xf8, 0xe4, 0xca, 0x8d, 0xfe, 0xb3, 0xa2, 0xbb, 0x74,
3191 0xa1, 0x70, 0xcf, 0x17, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x71, 0x00, 0x5d, 0x55, 0x7d, 0x21,
3192 0x00, 0x00,
Salman Siddiqui1cf95042020-11-19 00:42:56 +05303193}
3194
3195// Reference imports to suppress errors if they are not otherwise used.
3196var _ context.Context
3197var _ grpc.ClientConn
3198
3199// This is a compile-time assertion to ensure that this generated file
3200// is compatible with the grpc package it is being compiled against.
3201const _ = grpc.SupportPackageIsVersion4
3202
3203// ExtensionClient is the client API for Extension service.
3204//
3205// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
3206type ExtensionClient interface {
3207 // Get a single attribute
3208 GetExtValue(ctx context.Context, in *SingleGetValueRequest, opts ...grpc.CallOption) (*SingleGetValueResponse, error)
3209 // Set a single attribute
3210 SetExtValue(ctx context.Context, in *SingleSetValueRequest, opts ...grpc.CallOption) (*SingleSetValueResponse, error)
3211}
3212
3213type extensionClient struct {
3214 cc *grpc.ClientConn
3215}
3216
3217func NewExtensionClient(cc *grpc.ClientConn) ExtensionClient {
3218 return &extensionClient{cc}
3219}
3220
3221func (c *extensionClient) GetExtValue(ctx context.Context, in *SingleGetValueRequest, opts ...grpc.CallOption) (*SingleGetValueResponse, error) {
3222 out := new(SingleGetValueResponse)
3223 err := c.cc.Invoke(ctx, "/extension.Extension/GetExtValue", in, out, opts...)
3224 if err != nil {
3225 return nil, err
3226 }
3227 return out, nil
3228}
3229
3230func (c *extensionClient) SetExtValue(ctx context.Context, in *SingleSetValueRequest, opts ...grpc.CallOption) (*SingleSetValueResponse, error) {
3231 out := new(SingleSetValueResponse)
3232 err := c.cc.Invoke(ctx, "/extension.Extension/SetExtValue", in, out, opts...)
3233 if err != nil {
3234 return nil, err
3235 }
3236 return out, nil
3237}
3238
3239// ExtensionServer is the server API for Extension service.
3240type ExtensionServer interface {
3241 // Get a single attribute
3242 GetExtValue(context.Context, *SingleGetValueRequest) (*SingleGetValueResponse, error)
3243 // Set a single attribute
3244 SetExtValue(context.Context, *SingleSetValueRequest) (*SingleSetValueResponse, error)
3245}
3246
David K. Bainbridgefc8e1812021-04-09 16:09:49 +00003247// UnimplementedExtensionServer can be embedded to have forward compatible implementations.
3248type UnimplementedExtensionServer struct {
3249}
3250
3251func (*UnimplementedExtensionServer) GetExtValue(ctx context.Context, req *SingleGetValueRequest) (*SingleGetValueResponse, error) {
3252 return nil, status.Errorf(codes.Unimplemented, "method GetExtValue not implemented")
3253}
3254func (*UnimplementedExtensionServer) SetExtValue(ctx context.Context, req *SingleSetValueRequest) (*SingleSetValueResponse, error) {
3255 return nil, status.Errorf(codes.Unimplemented, "method SetExtValue not implemented")
3256}
3257
Salman Siddiqui1cf95042020-11-19 00:42:56 +05303258func RegisterExtensionServer(s *grpc.Server, srv ExtensionServer) {
3259 s.RegisterService(&_Extension_serviceDesc, srv)
3260}
3261
3262func _Extension_GetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3263 in := new(SingleGetValueRequest)
3264 if err := dec(in); err != nil {
3265 return nil, err
3266 }
3267 if interceptor == nil {
3268 return srv.(ExtensionServer).GetExtValue(ctx, in)
3269 }
3270 info := &grpc.UnaryServerInfo{
3271 Server: srv,
3272 FullMethod: "/extension.Extension/GetExtValue",
3273 }
3274 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3275 return srv.(ExtensionServer).GetExtValue(ctx, req.(*SingleGetValueRequest))
3276 }
3277 return interceptor(ctx, in, info, handler)
3278}
3279
3280func _Extension_SetExtValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3281 in := new(SingleSetValueRequest)
3282 if err := dec(in); err != nil {
3283 return nil, err
3284 }
3285 if interceptor == nil {
3286 return srv.(ExtensionServer).SetExtValue(ctx, in)
3287 }
3288 info := &grpc.UnaryServerInfo{
3289 Server: srv,
3290 FullMethod: "/extension.Extension/SetExtValue",
3291 }
3292 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3293 return srv.(ExtensionServer).SetExtValue(ctx, req.(*SingleSetValueRequest))
3294 }
3295 return interceptor(ctx, in, info, handler)
3296}
3297
3298var _Extension_serviceDesc = grpc.ServiceDesc{
3299 ServiceName: "extension.Extension",
3300 HandlerType: (*ExtensionServer)(nil),
3301 Methods: []grpc.MethodDesc{
3302 {
3303 MethodName: "GetExtValue",
3304 Handler: _Extension_GetExtValue_Handler,
3305 },
3306 {
3307 MethodName: "SetExtValue",
3308 Handler: _Extension_SetExtValue_Handler,
3309 },
3310 },
3311 Streams: []grpc.StreamDesc{},
3312 Metadata: "voltha_protos/extensions.proto",
3313}