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