Matteo Scandolo | 618a658 | 2020-09-09 12:21:29 -0700 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: voltha_protos/common.proto |
| 3 | |
| 4 | package common |
| 5 | |
| 6 | import ( |
| 7 | fmt "fmt" |
| 8 | proto "github.com/golang/protobuf/proto" |
| 9 | math "math" |
| 10 | ) |
| 11 | |
| 12 | // Reference imports to suppress errors if they are not otherwise used. |
| 13 | var _ = proto.Marshal |
| 14 | var _ = fmt.Errorf |
| 15 | var _ = math.Inf |
| 16 | |
| 17 | // This is a compile-time assertion to ensure that this generated file |
| 18 | // is compatible with the proto package it is being compiled against. |
| 19 | // A compilation error at this line likely means your copy of the |
| 20 | // proto package needs to be updated. |
| 21 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 22 | |
| 23 | type TestModeKeys int32 |
| 24 | |
| 25 | const ( |
| 26 | TestModeKeys_api_test TestModeKeys = 0 |
| 27 | ) |
| 28 | |
| 29 | var TestModeKeys_name = map[int32]string{ |
| 30 | 0: "api_test", |
| 31 | } |
| 32 | |
| 33 | var TestModeKeys_value = map[string]int32{ |
| 34 | "api_test": 0, |
| 35 | } |
| 36 | |
| 37 | func (x TestModeKeys) String() string { |
| 38 | return proto.EnumName(TestModeKeys_name, int32(x)) |
| 39 | } |
| 40 | |
| 41 | func (TestModeKeys) EnumDescriptor() ([]byte, []int) { |
| 42 | return fileDescriptor_c2e3fd231961e826, []int{0} |
| 43 | } |
| 44 | |
| 45 | // Administrative State |
| 46 | type AdminState_Types int32 |
| 47 | |
| 48 | const ( |
| 49 | // The administrative state of the device is unknown |
| 50 | AdminState_UNKNOWN AdminState_Types = 0 |
| 51 | // The device is pre-provisioned into Voltha, but not contacted by it |
| 52 | AdminState_PREPROVISIONED AdminState_Types = 1 |
| 53 | // The device is enabled for activation and operation |
| 54 | AdminState_ENABLED AdminState_Types = 2 |
| 55 | // The device is disabled and shall not perform its intended forwarding |
| 56 | // functions other than being available for re-activation. |
| 57 | AdminState_DISABLED AdminState_Types = 3 |
| 58 | // The device is in the state of image download |
| 59 | AdminState_DOWNLOADING_IMAGE AdminState_Types = 4 |
Matteo Scandolo | 618a658 | 2020-09-09 12:21:29 -0700 | [diff] [blame] | 60 | ) |
| 61 | |
| 62 | var AdminState_Types_name = map[int32]string{ |
| 63 | 0: "UNKNOWN", |
| 64 | 1: "PREPROVISIONED", |
| 65 | 2: "ENABLED", |
| 66 | 3: "DISABLED", |
| 67 | 4: "DOWNLOADING_IMAGE", |
Matteo Scandolo | 618a658 | 2020-09-09 12:21:29 -0700 | [diff] [blame] | 68 | } |
| 69 | |
| 70 | var AdminState_Types_value = map[string]int32{ |
| 71 | "UNKNOWN": 0, |
| 72 | "PREPROVISIONED": 1, |
| 73 | "ENABLED": 2, |
| 74 | "DISABLED": 3, |
| 75 | "DOWNLOADING_IMAGE": 4, |
Matteo Scandolo | 618a658 | 2020-09-09 12:21:29 -0700 | [diff] [blame] | 76 | } |
| 77 | |
| 78 | func (x AdminState_Types) String() string { |
| 79 | return proto.EnumName(AdminState_Types_name, int32(x)) |
| 80 | } |
| 81 | |
| 82 | func (AdminState_Types) EnumDescriptor() ([]byte, []int) { |
| 83 | return fileDescriptor_c2e3fd231961e826, []int{2, 0} |
| 84 | } |
| 85 | |
| 86 | // Operational Status |
| 87 | type OperStatus_Types int32 |
| 88 | |
| 89 | const ( |
| 90 | // The status of the device is unknown at this point |
| 91 | OperStatus_UNKNOWN OperStatus_Types = 0 |
| 92 | // The device has been discovered, but not yet activated |
| 93 | OperStatus_DISCOVERED OperStatus_Types = 1 |
| 94 | // The device is being activated (booted, rebooted, upgraded, etc.) |
| 95 | OperStatus_ACTIVATING OperStatus_Types = 2 |
| 96 | // Service impacting tests are being conducted |
| 97 | OperStatus_TESTING OperStatus_Types = 3 |
| 98 | // The device is up and active |
| 99 | OperStatus_ACTIVE OperStatus_Types = 4 |
| 100 | // The device has failed and cannot fulfill its intended role |
| 101 | OperStatus_FAILED OperStatus_Types = 5 |
| 102 | ) |
| 103 | |
| 104 | var OperStatus_Types_name = map[int32]string{ |
| 105 | 0: "UNKNOWN", |
| 106 | 1: "DISCOVERED", |
| 107 | 2: "ACTIVATING", |
| 108 | 3: "TESTING", |
| 109 | 4: "ACTIVE", |
| 110 | 5: "FAILED", |
| 111 | } |
| 112 | |
| 113 | var OperStatus_Types_value = map[string]int32{ |
| 114 | "UNKNOWN": 0, |
| 115 | "DISCOVERED": 1, |
| 116 | "ACTIVATING": 2, |
| 117 | "TESTING": 3, |
| 118 | "ACTIVE": 4, |
| 119 | "FAILED": 5, |
| 120 | } |
| 121 | |
| 122 | func (x OperStatus_Types) String() string { |
| 123 | return proto.EnumName(OperStatus_Types_name, int32(x)) |
| 124 | } |
| 125 | |
| 126 | func (OperStatus_Types) EnumDescriptor() ([]byte, []int) { |
| 127 | return fileDescriptor_c2e3fd231961e826, []int{3, 0} |
| 128 | } |
| 129 | |
| 130 | // Connectivity Status |
| 131 | type ConnectStatus_Types int32 |
| 132 | |
| 133 | const ( |
| 134 | // The device connectivity status is unknown |
| 135 | ConnectStatus_UNKNOWN ConnectStatus_Types = 0 |
| 136 | // The device cannot be reached by Voltha |
| 137 | ConnectStatus_UNREACHABLE ConnectStatus_Types = 1 |
| 138 | // There is live communication between device and Voltha |
| 139 | ConnectStatus_REACHABLE ConnectStatus_Types = 2 |
| 140 | ) |
| 141 | |
| 142 | var ConnectStatus_Types_name = map[int32]string{ |
| 143 | 0: "UNKNOWN", |
| 144 | 1: "UNREACHABLE", |
| 145 | 2: "REACHABLE", |
| 146 | } |
| 147 | |
| 148 | var ConnectStatus_Types_value = map[string]int32{ |
| 149 | "UNKNOWN": 0, |
| 150 | "UNREACHABLE": 1, |
| 151 | "REACHABLE": 2, |
| 152 | } |
| 153 | |
| 154 | func (x ConnectStatus_Types) String() string { |
| 155 | return proto.EnumName(ConnectStatus_Types_name, int32(x)) |
| 156 | } |
| 157 | |
| 158 | func (ConnectStatus_Types) EnumDescriptor() ([]byte, []int) { |
| 159 | return fileDescriptor_c2e3fd231961e826, []int{4, 0} |
| 160 | } |
| 161 | |
| 162 | type OperationResp_OperationReturnCode int32 |
| 163 | |
| 164 | const ( |
| 165 | OperationResp_OPERATION_SUCCESS OperationResp_OperationReturnCode = 0 |
| 166 | OperationResp_OPERATION_FAILURE OperationResp_OperationReturnCode = 1 |
| 167 | OperationResp_OPERATION_UNSUPPORTED OperationResp_OperationReturnCode = 2 |
Matteo Scandolo | 96f8919 | 2021-03-12 13:17:26 -0800 | [diff] [blame^] | 168 | OperationResp_OPERATION_IN_PROGRESS OperationResp_OperationReturnCode = 3 |
Matteo Scandolo | 618a658 | 2020-09-09 12:21:29 -0700 | [diff] [blame] | 169 | ) |
| 170 | |
| 171 | var OperationResp_OperationReturnCode_name = map[int32]string{ |
| 172 | 0: "OPERATION_SUCCESS", |
| 173 | 1: "OPERATION_FAILURE", |
| 174 | 2: "OPERATION_UNSUPPORTED", |
Matteo Scandolo | 96f8919 | 2021-03-12 13:17:26 -0800 | [diff] [blame^] | 175 | 3: "OPERATION_IN_PROGRESS", |
Matteo Scandolo | 618a658 | 2020-09-09 12:21:29 -0700 | [diff] [blame] | 176 | } |
| 177 | |
| 178 | var OperationResp_OperationReturnCode_value = map[string]int32{ |
| 179 | "OPERATION_SUCCESS": 0, |
| 180 | "OPERATION_FAILURE": 1, |
| 181 | "OPERATION_UNSUPPORTED": 2, |
Matteo Scandolo | 96f8919 | 2021-03-12 13:17:26 -0800 | [diff] [blame^] | 182 | "OPERATION_IN_PROGRESS": 3, |
Matteo Scandolo | 618a658 | 2020-09-09 12:21:29 -0700 | [diff] [blame] | 183 | } |
| 184 | |
| 185 | func (x OperationResp_OperationReturnCode) String() string { |
| 186 | return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x)) |
| 187 | } |
| 188 | |
| 189 | func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) { |
| 190 | return fileDescriptor_c2e3fd231961e826, []int{5, 0} |
| 191 | } |
| 192 | |
| 193 | type ValueType_Type int32 |
| 194 | |
| 195 | const ( |
| 196 | ValueType_EMPTY ValueType_Type = 0 |
| 197 | ValueType_DISTANCE ValueType_Type = 1 |
| 198 | ) |
| 199 | |
| 200 | var ValueType_Type_name = map[int32]string{ |
| 201 | 0: "EMPTY", |
| 202 | 1: "DISTANCE", |
| 203 | } |
| 204 | |
| 205 | var ValueType_Type_value = map[string]int32{ |
| 206 | "EMPTY": 0, |
| 207 | "DISTANCE": 1, |
| 208 | } |
| 209 | |
| 210 | func (x ValueType_Type) String() string { |
| 211 | return proto.EnumName(ValueType_Type_name, int32(x)) |
| 212 | } |
| 213 | |
| 214 | func (ValueType_Type) EnumDescriptor() ([]byte, []int) { |
| 215 | return fileDescriptor_c2e3fd231961e826, []int{6, 0} |
| 216 | } |
| 217 | |
| 218 | // Convey a resource identifier |
| 219 | type ID struct { |
| 220 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 221 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 222 | XXX_unrecognized []byte `json:"-"` |
| 223 | XXX_sizecache int32 `json:"-"` |
| 224 | } |
| 225 | |
| 226 | func (m *ID) Reset() { *m = ID{} } |
| 227 | func (m *ID) String() string { return proto.CompactTextString(m) } |
| 228 | func (*ID) ProtoMessage() {} |
| 229 | func (*ID) Descriptor() ([]byte, []int) { |
| 230 | return fileDescriptor_c2e3fd231961e826, []int{0} |
| 231 | } |
| 232 | |
| 233 | func (m *ID) XXX_Unmarshal(b []byte) error { |
| 234 | return xxx_messageInfo_ID.Unmarshal(m, b) |
| 235 | } |
| 236 | func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 237 | return xxx_messageInfo_ID.Marshal(b, m, deterministic) |
| 238 | } |
| 239 | func (m *ID) XXX_Merge(src proto.Message) { |
| 240 | xxx_messageInfo_ID.Merge(m, src) |
| 241 | } |
| 242 | func (m *ID) XXX_Size() int { |
| 243 | return xxx_messageInfo_ID.Size(m) |
| 244 | } |
| 245 | func (m *ID) XXX_DiscardUnknown() { |
| 246 | xxx_messageInfo_ID.DiscardUnknown(m) |
| 247 | } |
| 248 | |
| 249 | var xxx_messageInfo_ID proto.InternalMessageInfo |
| 250 | |
| 251 | func (m *ID) GetId() string { |
| 252 | if m != nil { |
| 253 | return m.Id |
| 254 | } |
| 255 | return "" |
| 256 | } |
| 257 | |
| 258 | // Represents a list of IDs |
| 259 | type IDs struct { |
| 260 | Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 261 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 262 | XXX_unrecognized []byte `json:"-"` |
| 263 | XXX_sizecache int32 `json:"-"` |
| 264 | } |
| 265 | |
| 266 | func (m *IDs) Reset() { *m = IDs{} } |
| 267 | func (m *IDs) String() string { return proto.CompactTextString(m) } |
| 268 | func (*IDs) ProtoMessage() {} |
| 269 | func (*IDs) Descriptor() ([]byte, []int) { |
| 270 | return fileDescriptor_c2e3fd231961e826, []int{1} |
| 271 | } |
| 272 | |
| 273 | func (m *IDs) XXX_Unmarshal(b []byte) error { |
| 274 | return xxx_messageInfo_IDs.Unmarshal(m, b) |
| 275 | } |
| 276 | func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 277 | return xxx_messageInfo_IDs.Marshal(b, m, deterministic) |
| 278 | } |
| 279 | func (m *IDs) XXX_Merge(src proto.Message) { |
| 280 | xxx_messageInfo_IDs.Merge(m, src) |
| 281 | } |
| 282 | func (m *IDs) XXX_Size() int { |
| 283 | return xxx_messageInfo_IDs.Size(m) |
| 284 | } |
| 285 | func (m *IDs) XXX_DiscardUnknown() { |
| 286 | xxx_messageInfo_IDs.DiscardUnknown(m) |
| 287 | } |
| 288 | |
| 289 | var xxx_messageInfo_IDs proto.InternalMessageInfo |
| 290 | |
| 291 | func (m *IDs) GetItems() []*ID { |
| 292 | if m != nil { |
| 293 | return m.Items |
| 294 | } |
| 295 | return nil |
| 296 | } |
| 297 | |
| 298 | type AdminState struct { |
| 299 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 300 | XXX_unrecognized []byte `json:"-"` |
| 301 | XXX_sizecache int32 `json:"-"` |
| 302 | } |
| 303 | |
| 304 | func (m *AdminState) Reset() { *m = AdminState{} } |
| 305 | func (m *AdminState) String() string { return proto.CompactTextString(m) } |
| 306 | func (*AdminState) ProtoMessage() {} |
| 307 | func (*AdminState) Descriptor() ([]byte, []int) { |
| 308 | return fileDescriptor_c2e3fd231961e826, []int{2} |
| 309 | } |
| 310 | |
| 311 | func (m *AdminState) XXX_Unmarshal(b []byte) error { |
| 312 | return xxx_messageInfo_AdminState.Unmarshal(m, b) |
| 313 | } |
| 314 | func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 315 | return xxx_messageInfo_AdminState.Marshal(b, m, deterministic) |
| 316 | } |
| 317 | func (m *AdminState) XXX_Merge(src proto.Message) { |
| 318 | xxx_messageInfo_AdminState.Merge(m, src) |
| 319 | } |
| 320 | func (m *AdminState) XXX_Size() int { |
| 321 | return xxx_messageInfo_AdminState.Size(m) |
| 322 | } |
| 323 | func (m *AdminState) XXX_DiscardUnknown() { |
| 324 | xxx_messageInfo_AdminState.DiscardUnknown(m) |
| 325 | } |
| 326 | |
| 327 | var xxx_messageInfo_AdminState proto.InternalMessageInfo |
| 328 | |
| 329 | type OperStatus struct { |
| 330 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 331 | XXX_unrecognized []byte `json:"-"` |
| 332 | XXX_sizecache int32 `json:"-"` |
| 333 | } |
| 334 | |
| 335 | func (m *OperStatus) Reset() { *m = OperStatus{} } |
| 336 | func (m *OperStatus) String() string { return proto.CompactTextString(m) } |
| 337 | func (*OperStatus) ProtoMessage() {} |
| 338 | func (*OperStatus) Descriptor() ([]byte, []int) { |
| 339 | return fileDescriptor_c2e3fd231961e826, []int{3} |
| 340 | } |
| 341 | |
| 342 | func (m *OperStatus) XXX_Unmarshal(b []byte) error { |
| 343 | return xxx_messageInfo_OperStatus.Unmarshal(m, b) |
| 344 | } |
| 345 | func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 346 | return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic) |
| 347 | } |
| 348 | func (m *OperStatus) XXX_Merge(src proto.Message) { |
| 349 | xxx_messageInfo_OperStatus.Merge(m, src) |
| 350 | } |
| 351 | func (m *OperStatus) XXX_Size() int { |
| 352 | return xxx_messageInfo_OperStatus.Size(m) |
| 353 | } |
| 354 | func (m *OperStatus) XXX_DiscardUnknown() { |
| 355 | xxx_messageInfo_OperStatus.DiscardUnknown(m) |
| 356 | } |
| 357 | |
| 358 | var xxx_messageInfo_OperStatus proto.InternalMessageInfo |
| 359 | |
| 360 | type ConnectStatus struct { |
| 361 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 362 | XXX_unrecognized []byte `json:"-"` |
| 363 | XXX_sizecache int32 `json:"-"` |
| 364 | } |
| 365 | |
| 366 | func (m *ConnectStatus) Reset() { *m = ConnectStatus{} } |
| 367 | func (m *ConnectStatus) String() string { return proto.CompactTextString(m) } |
| 368 | func (*ConnectStatus) ProtoMessage() {} |
| 369 | func (*ConnectStatus) Descriptor() ([]byte, []int) { |
| 370 | return fileDescriptor_c2e3fd231961e826, []int{4} |
| 371 | } |
| 372 | |
| 373 | func (m *ConnectStatus) XXX_Unmarshal(b []byte) error { |
| 374 | return xxx_messageInfo_ConnectStatus.Unmarshal(m, b) |
| 375 | } |
| 376 | func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 377 | return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic) |
| 378 | } |
| 379 | func (m *ConnectStatus) XXX_Merge(src proto.Message) { |
| 380 | xxx_messageInfo_ConnectStatus.Merge(m, src) |
| 381 | } |
| 382 | func (m *ConnectStatus) XXX_Size() int { |
| 383 | return xxx_messageInfo_ConnectStatus.Size(m) |
| 384 | } |
| 385 | func (m *ConnectStatus) XXX_DiscardUnknown() { |
| 386 | xxx_messageInfo_ConnectStatus.DiscardUnknown(m) |
| 387 | } |
| 388 | |
| 389 | var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo |
| 390 | |
| 391 | type OperationResp struct { |
| 392 | // Return code |
| 393 | Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"` |
| 394 | // Additional Info |
| 395 | AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"` |
| 396 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 397 | XXX_unrecognized []byte `json:"-"` |
| 398 | XXX_sizecache int32 `json:"-"` |
| 399 | } |
| 400 | |
| 401 | func (m *OperationResp) Reset() { *m = OperationResp{} } |
| 402 | func (m *OperationResp) String() string { return proto.CompactTextString(m) } |
| 403 | func (*OperationResp) ProtoMessage() {} |
| 404 | func (*OperationResp) Descriptor() ([]byte, []int) { |
| 405 | return fileDescriptor_c2e3fd231961e826, []int{5} |
| 406 | } |
| 407 | |
| 408 | func (m *OperationResp) XXX_Unmarshal(b []byte) error { |
| 409 | return xxx_messageInfo_OperationResp.Unmarshal(m, b) |
| 410 | } |
| 411 | func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 412 | return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic) |
| 413 | } |
| 414 | func (m *OperationResp) XXX_Merge(src proto.Message) { |
| 415 | xxx_messageInfo_OperationResp.Merge(m, src) |
| 416 | } |
| 417 | func (m *OperationResp) XXX_Size() int { |
| 418 | return xxx_messageInfo_OperationResp.Size(m) |
| 419 | } |
| 420 | func (m *OperationResp) XXX_DiscardUnknown() { |
| 421 | xxx_messageInfo_OperationResp.DiscardUnknown(m) |
| 422 | } |
| 423 | |
| 424 | var xxx_messageInfo_OperationResp proto.InternalMessageInfo |
| 425 | |
| 426 | func (m *OperationResp) GetCode() OperationResp_OperationReturnCode { |
| 427 | if m != nil { |
| 428 | return m.Code |
| 429 | } |
| 430 | return OperationResp_OPERATION_SUCCESS |
| 431 | } |
| 432 | |
| 433 | func (m *OperationResp) GetAdditionalInfo() string { |
| 434 | if m != nil { |
| 435 | return m.AdditionalInfo |
| 436 | } |
| 437 | return "" |
| 438 | } |
| 439 | |
| 440 | type ValueType struct { |
| 441 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 442 | XXX_unrecognized []byte `json:"-"` |
| 443 | XXX_sizecache int32 `json:"-"` |
| 444 | } |
| 445 | |
| 446 | func (m *ValueType) Reset() { *m = ValueType{} } |
| 447 | func (m *ValueType) String() string { return proto.CompactTextString(m) } |
| 448 | func (*ValueType) ProtoMessage() {} |
| 449 | func (*ValueType) Descriptor() ([]byte, []int) { |
| 450 | return fileDescriptor_c2e3fd231961e826, []int{6} |
| 451 | } |
| 452 | |
| 453 | func (m *ValueType) XXX_Unmarshal(b []byte) error { |
| 454 | return xxx_messageInfo_ValueType.Unmarshal(m, b) |
| 455 | } |
| 456 | func (m *ValueType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 457 | return xxx_messageInfo_ValueType.Marshal(b, m, deterministic) |
| 458 | } |
| 459 | func (m *ValueType) XXX_Merge(src proto.Message) { |
| 460 | xxx_messageInfo_ValueType.Merge(m, src) |
| 461 | } |
| 462 | func (m *ValueType) XXX_Size() int { |
| 463 | return xxx_messageInfo_ValueType.Size(m) |
| 464 | } |
| 465 | func (m *ValueType) XXX_DiscardUnknown() { |
| 466 | xxx_messageInfo_ValueType.DiscardUnknown(m) |
| 467 | } |
| 468 | |
| 469 | var xxx_messageInfo_ValueType proto.InternalMessageInfo |
| 470 | |
| 471 | type ValueSpecifier struct { |
| 472 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 473 | Value ValueType_Type `protobuf:"varint,2,opt,name=value,proto3,enum=common.ValueType_Type" json:"value,omitempty"` |
| 474 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 475 | XXX_unrecognized []byte `json:"-"` |
| 476 | XXX_sizecache int32 `json:"-"` |
| 477 | } |
| 478 | |
| 479 | func (m *ValueSpecifier) Reset() { *m = ValueSpecifier{} } |
| 480 | func (m *ValueSpecifier) String() string { return proto.CompactTextString(m) } |
| 481 | func (*ValueSpecifier) ProtoMessage() {} |
| 482 | func (*ValueSpecifier) Descriptor() ([]byte, []int) { |
| 483 | return fileDescriptor_c2e3fd231961e826, []int{7} |
| 484 | } |
| 485 | |
| 486 | func (m *ValueSpecifier) XXX_Unmarshal(b []byte) error { |
| 487 | return xxx_messageInfo_ValueSpecifier.Unmarshal(m, b) |
| 488 | } |
| 489 | func (m *ValueSpecifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 490 | return xxx_messageInfo_ValueSpecifier.Marshal(b, m, deterministic) |
| 491 | } |
| 492 | func (m *ValueSpecifier) XXX_Merge(src proto.Message) { |
| 493 | xxx_messageInfo_ValueSpecifier.Merge(m, src) |
| 494 | } |
| 495 | func (m *ValueSpecifier) XXX_Size() int { |
| 496 | return xxx_messageInfo_ValueSpecifier.Size(m) |
| 497 | } |
| 498 | func (m *ValueSpecifier) XXX_DiscardUnknown() { |
| 499 | xxx_messageInfo_ValueSpecifier.DiscardUnknown(m) |
| 500 | } |
| 501 | |
| 502 | var xxx_messageInfo_ValueSpecifier proto.InternalMessageInfo |
| 503 | |
| 504 | func (m *ValueSpecifier) GetId() string { |
| 505 | if m != nil { |
| 506 | return m.Id |
| 507 | } |
| 508 | return "" |
| 509 | } |
| 510 | |
| 511 | func (m *ValueSpecifier) GetValue() ValueType_Type { |
| 512 | if m != nil { |
| 513 | return m.Value |
| 514 | } |
| 515 | return ValueType_EMPTY |
| 516 | } |
| 517 | |
| 518 | type ReturnValues struct { |
| 519 | Set uint32 `protobuf:"varint,1,opt,name=Set,proto3" json:"Set,omitempty"` |
| 520 | Unsupported uint32 `protobuf:"varint,2,opt,name=Unsupported,proto3" json:"Unsupported,omitempty"` |
| 521 | Error uint32 `protobuf:"varint,3,opt,name=Error,proto3" json:"Error,omitempty"` |
| 522 | Distance uint32 `protobuf:"varint,4,opt,name=Distance,proto3" json:"Distance,omitempty"` |
| 523 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 524 | XXX_unrecognized []byte `json:"-"` |
| 525 | XXX_sizecache int32 `json:"-"` |
| 526 | } |
| 527 | |
| 528 | func (m *ReturnValues) Reset() { *m = ReturnValues{} } |
| 529 | func (m *ReturnValues) String() string { return proto.CompactTextString(m) } |
| 530 | func (*ReturnValues) ProtoMessage() {} |
| 531 | func (*ReturnValues) Descriptor() ([]byte, []int) { |
| 532 | return fileDescriptor_c2e3fd231961e826, []int{8} |
| 533 | } |
| 534 | |
| 535 | func (m *ReturnValues) XXX_Unmarshal(b []byte) error { |
| 536 | return xxx_messageInfo_ReturnValues.Unmarshal(m, b) |
| 537 | } |
| 538 | func (m *ReturnValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 539 | return xxx_messageInfo_ReturnValues.Marshal(b, m, deterministic) |
| 540 | } |
| 541 | func (m *ReturnValues) XXX_Merge(src proto.Message) { |
| 542 | xxx_messageInfo_ReturnValues.Merge(m, src) |
| 543 | } |
| 544 | func (m *ReturnValues) XXX_Size() int { |
| 545 | return xxx_messageInfo_ReturnValues.Size(m) |
| 546 | } |
| 547 | func (m *ReturnValues) XXX_DiscardUnknown() { |
| 548 | xxx_messageInfo_ReturnValues.DiscardUnknown(m) |
| 549 | } |
| 550 | |
| 551 | var xxx_messageInfo_ReturnValues proto.InternalMessageInfo |
| 552 | |
| 553 | func (m *ReturnValues) GetSet() uint32 { |
| 554 | if m != nil { |
| 555 | return m.Set |
| 556 | } |
| 557 | return 0 |
| 558 | } |
| 559 | |
| 560 | func (m *ReturnValues) GetUnsupported() uint32 { |
| 561 | if m != nil { |
| 562 | return m.Unsupported |
| 563 | } |
| 564 | return 0 |
| 565 | } |
| 566 | |
| 567 | func (m *ReturnValues) GetError() uint32 { |
| 568 | if m != nil { |
| 569 | return m.Error |
| 570 | } |
| 571 | return 0 |
| 572 | } |
| 573 | |
| 574 | func (m *ReturnValues) GetDistance() uint32 { |
| 575 | if m != nil { |
| 576 | return m.Distance |
| 577 | } |
| 578 | return 0 |
| 579 | } |
| 580 | |
| 581 | func init() { |
| 582 | proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value) |
| 583 | proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value) |
| 584 | proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value) |
| 585 | proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value) |
| 586 | proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value) |
| 587 | proto.RegisterEnum("common.ValueType_Type", ValueType_Type_name, ValueType_Type_value) |
| 588 | proto.RegisterType((*ID)(nil), "common.ID") |
| 589 | proto.RegisterType((*IDs)(nil), "common.IDs") |
| 590 | proto.RegisterType((*AdminState)(nil), "common.AdminState") |
| 591 | proto.RegisterType((*OperStatus)(nil), "common.OperStatus") |
| 592 | proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus") |
| 593 | proto.RegisterType((*OperationResp)(nil), "common.OperationResp") |
| 594 | proto.RegisterType((*ValueType)(nil), "common.ValueType") |
| 595 | proto.RegisterType((*ValueSpecifier)(nil), "common.ValueSpecifier") |
| 596 | proto.RegisterType((*ReturnValues)(nil), "common.ReturnValues") |
| 597 | } |
| 598 | |
| 599 | func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) } |
| 600 | |
| 601 | var fileDescriptor_c2e3fd231961e826 = []byte{ |
Matteo Scandolo | 96f8919 | 2021-03-12 13:17:26 -0800 | [diff] [blame^] | 602 | // 606 bytes of a gzipped FileDescriptorProto |
| 603 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5d, 0x4f, 0xdb, 0x30, |
| 604 | 0x14, 0x6d, 0x9b, 0x96, 0xd1, 0x5b, 0x1a, 0x32, 0x03, 0x53, 0x87, 0x26, 0xad, 0xca, 0x0b, 0x6c, |
| 605 | 0x62, 0xad, 0xc4, 0x78, 0xdd, 0x43, 0x48, 0xbc, 0xce, 0x02, 0x9c, 0xc8, 0x49, 0x8a, 0xe0, 0xa5, |
| 606 | 0x0a, 0x8d, 0x29, 0x91, 0x68, 0x1c, 0x25, 0x2e, 0x12, 0x7f, 0x7b, 0xbf, 0x60, 0xb2, 0x53, 0xbe, |
| 607 | 0x26, 0x5e, 0x12, 0x9f, 0x7b, 0x4e, 0xee, 0xf1, 0x3d, 0x8e, 0x61, 0xff, 0x41, 0xdc, 0xcb, 0xbb, |
| 608 | 0x64, 0x56, 0x94, 0x42, 0x8a, 0x6a, 0x3c, 0x17, 0xcb, 0xa5, 0xc8, 0x47, 0x1a, 0xa1, 0x8d, 0x1a, |
| 609 | 0xd9, 0xbb, 0xd0, 0x22, 0x1e, 0x32, 0xa1, 0x95, 0xa5, 0x83, 0xe6, 0xb0, 0x79, 0xd8, 0x65, 0xad, |
| 610 | 0x2c, 0xb5, 0x0f, 0xc0, 0x20, 0x5e, 0x85, 0x86, 0xd0, 0xc9, 0x24, 0x5f, 0x56, 0x83, 0xe6, 0xd0, |
| 611 | 0x38, 0xec, 0x1d, 0xc3, 0x68, 0xdd, 0x82, 0x78, 0xac, 0x26, 0xec, 0x3b, 0x00, 0x27, 0x5d, 0x66, |
| 612 | 0x79, 0x28, 0x13, 0xc9, 0xed, 0x6b, 0xe8, 0x44, 0x8f, 0x05, 0xaf, 0x50, 0x0f, 0x3e, 0xc4, 0xf4, |
| 613 | 0x8c, 0xfa, 0x97, 0xd4, 0x6a, 0x20, 0x04, 0x66, 0xc0, 0x70, 0xc0, 0xfc, 0x29, 0x09, 0x89, 0x4f, |
| 614 | 0xb1, 0x67, 0x35, 0x95, 0x00, 0x53, 0xe7, 0xf4, 0x1c, 0x7b, 0x56, 0x0b, 0x6d, 0xc1, 0xa6, 0x47, |
| 615 | 0xc2, 0x1a, 0x19, 0x68, 0x0f, 0x3e, 0x7a, 0xfe, 0x25, 0x3d, 0xf7, 0x1d, 0x8f, 0xd0, 0xc9, 0x8c, |
| 616 | 0x5c, 0x38, 0x13, 0x6c, 0xb5, 0xed, 0x05, 0x80, 0x5f, 0xf0, 0x52, 0x19, 0xad, 0x2a, 0xfb, 0xea, |
| 617 | 0x5d, 0x27, 0x13, 0xc0, 0x23, 0xa1, 0xeb, 0x4f, 0x31, 0xd3, 0x2e, 0x26, 0x80, 0xe3, 0x46, 0x64, |
| 618 | 0xea, 0x44, 0x84, 0x4e, 0xac, 0x96, 0x12, 0x47, 0x38, 0xd4, 0xc0, 0x40, 0x00, 0x1b, 0x9a, 0xc4, |
| 619 | 0x56, 0x5b, 0xad, 0x7f, 0x3b, 0x44, 0xf9, 0x77, 0x6c, 0x0c, 0x7d, 0x57, 0xe4, 0x39, 0x9f, 0xcb, |
| 620 | 0xb5, 0xd7, 0xc9, 0xbb, 0x5e, 0xdb, 0xd0, 0x8b, 0x29, 0xc3, 0x8e, 0xfb, 0x47, 0x6d, 0xdc, 0x6a, |
| 621 | 0xa2, 0x3e, 0x74, 0x5f, 0x60, 0xcb, 0xfe, 0xdb, 0x84, 0xbe, 0xda, 0x70, 0x22, 0x33, 0x91, 0x33, |
| 622 | 0x5e, 0x15, 0xe8, 0x17, 0xb4, 0xe7, 0x22, 0xe5, 0x3a, 0x66, 0xf3, 0xf8, 0xdb, 0x53, 0x98, 0x6f, |
| 623 | 0x44, 0xaf, 0x91, 0x5c, 0x95, 0xb9, 0x2b, 0x52, 0xce, 0xf4, 0x67, 0xe8, 0x00, 0xb6, 0x93, 0x34, |
| 624 | 0xcd, 0x14, 0x97, 0xdc, 0xcf, 0xb2, 0xfc, 0x56, 0x0c, 0x5a, 0xfa, 0xc0, 0xcc, 0x97, 0x32, 0xc9, |
| 625 | 0x6f, 0x85, 0xfd, 0x08, 0x3b, 0xef, 0x74, 0x51, 0xb9, 0xfa, 0x01, 0x66, 0x4e, 0x44, 0x7c, 0x3a, |
| 626 | 0x0b, 0x63, 0xd7, 0xc5, 0x61, 0x68, 0x35, 0xde, 0x96, 0x55, 0x08, 0x31, 0x53, 0xd3, 0x7c, 0x86, |
| 627 | 0xbd, 0x97, 0x72, 0x4c, 0xc3, 0x38, 0x08, 0x7c, 0x16, 0xe9, 0xe3, 0x7a, 0x43, 0x11, 0x3a, 0x0b, |
| 628 | 0x98, 0x3f, 0x61, 0xaa, 0x99, 0x61, 0x1f, 0x41, 0x77, 0x9a, 0xdc, 0xaf, 0xb8, 0xca, 0xcb, 0xfe, |
| 629 | 0x0a, 0x6d, 0xf5, 0x46, 0x5d, 0xe8, 0xe0, 0x8b, 0x20, 0xba, 0xb2, 0x1a, 0xeb, 0x93, 0x8e, 0x1c, |
| 630 | 0xea, 0x62, 0xab, 0x69, 0x53, 0x30, 0xb5, 0x3a, 0x2c, 0xf8, 0x3c, 0xbb, 0xcd, 0x78, 0xf9, 0xff, |
| 631 | 0x7f, 0x88, 0x8e, 0xa0, 0xf3, 0xa0, 0x14, 0x7a, 0x52, 0xf3, 0xf8, 0xd3, 0x53, 0x66, 0xcf, 0x26, |
| 632 | 0x23, 0xf5, 0x60, 0xb5, 0xc8, 0x96, 0xb0, 0x55, 0xcf, 0xab, 0xe9, 0x0a, 0x59, 0x60, 0x84, 0x5c, |
| 633 | 0xea, 0x76, 0x7d, 0xa6, 0x96, 0x68, 0x08, 0xbd, 0x38, 0xaf, 0x56, 0x45, 0x21, 0x4a, 0xc9, 0x53, |
| 634 | 0xdd, 0xb5, 0xcf, 0x5e, 0x97, 0xd0, 0x2e, 0x74, 0x70, 0x59, 0x8a, 0x72, 0x60, 0x68, 0xae, 0x06, |
| 635 | 0x68, 0x1f, 0x36, 0xbd, 0xac, 0x92, 0x49, 0x3e, 0xe7, 0x83, 0xb6, 0x26, 0x9e, 0xf1, 0xf7, 0x2f, |
| 636 | 0xb0, 0x15, 0xf1, 0x4a, 0x5e, 0x88, 0x94, 0x9f, 0xf1, 0xc7, 0x4a, 0xcd, 0x98, 0x14, 0xd9, 0x4c, |
| 637 | 0xf2, 0x4a, 0x5a, 0x8d, 0x53, 0x0c, 0x3b, 0xa2, 0x5c, 0x8c, 0x44, 0xc1, 0xf3, 0xb9, 0x28, 0xd3, |
| 638 | 0x51, 0x7d, 0x25, 0xaf, 0x47, 0x8b, 0x4c, 0xde, 0xad, 0x6e, 0xd4, 0x3c, 0xe3, 0x27, 0x6e, 0x5c, |
| 639 | 0x73, 0x3f, 0xd6, 0xd7, 0xf5, 0xe1, 0x64, 0xbc, 0x10, 0xeb, 0x4b, 0x7b, 0xb3, 0xa1, 0x8b, 0x3f, |
| 640 | 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x27, 0x0a, 0x9c, 0xc8, 0xd3, 0x03, 0x00, 0x00, |
Matteo Scandolo | 618a658 | 2020-09-09 12:21:29 -0700 | [diff] [blame] | 641 | } |