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