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