khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [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 |
| 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", |
| 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, |
| 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) { |
sepon | 82ac758 | 2023-06-12 21:05:41 +0300 | [diff] [blame] | 83 | return fileDescriptor_c2e3fd231961e826, []int{4, 0} |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 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 | // The device is reconciling |
| 103 | OperStatus_RECONCILING OperStatus_Types = 6 |
| 104 | // The device is in reconciling failed |
| 105 | OperStatus_RECONCILING_FAILED OperStatus_Types = 7 |
Abhilash Laxmeshwar | d0f58cf | 2022-06-01 12:15:19 +0530 | [diff] [blame] | 106 | // The device has rebooted |
| 107 | OperStatus_REBOOTED OperStatus_Types = 8 |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 108 | ) |
| 109 | |
| 110 | var OperStatus_Types_name = map[int32]string{ |
| 111 | 0: "UNKNOWN", |
| 112 | 1: "DISCOVERED", |
| 113 | 2: "ACTIVATING", |
| 114 | 3: "TESTING", |
| 115 | 4: "ACTIVE", |
| 116 | 5: "FAILED", |
| 117 | 6: "RECONCILING", |
| 118 | 7: "RECONCILING_FAILED", |
Abhilash Laxmeshwar | d0f58cf | 2022-06-01 12:15:19 +0530 | [diff] [blame] | 119 | 8: "REBOOTED", |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 120 | } |
| 121 | |
| 122 | var OperStatus_Types_value = map[string]int32{ |
| 123 | "UNKNOWN": 0, |
| 124 | "DISCOVERED": 1, |
| 125 | "ACTIVATING": 2, |
| 126 | "TESTING": 3, |
| 127 | "ACTIVE": 4, |
| 128 | "FAILED": 5, |
| 129 | "RECONCILING": 6, |
| 130 | "RECONCILING_FAILED": 7, |
Abhilash Laxmeshwar | d0f58cf | 2022-06-01 12:15:19 +0530 | [diff] [blame] | 131 | "REBOOTED": 8, |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 132 | } |
| 133 | |
| 134 | func (x OperStatus_Types) String() string { |
| 135 | return proto.EnumName(OperStatus_Types_name, int32(x)) |
| 136 | } |
| 137 | |
| 138 | func (OperStatus_Types) EnumDescriptor() ([]byte, []int) { |
sepon | 82ac758 | 2023-06-12 21:05:41 +0300 | [diff] [blame] | 139 | return fileDescriptor_c2e3fd231961e826, []int{5, 0} |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 140 | } |
| 141 | |
| 142 | // Connectivity Status |
| 143 | type ConnectStatus_Types int32 |
| 144 | |
| 145 | const ( |
| 146 | // The device connectivity status is unknown |
| 147 | ConnectStatus_UNKNOWN ConnectStatus_Types = 0 |
| 148 | // The device cannot be reached by Voltha |
| 149 | ConnectStatus_UNREACHABLE ConnectStatus_Types = 1 |
| 150 | // There is live communication between device and Voltha |
| 151 | ConnectStatus_REACHABLE ConnectStatus_Types = 2 |
| 152 | ) |
| 153 | |
| 154 | var ConnectStatus_Types_name = map[int32]string{ |
| 155 | 0: "UNKNOWN", |
| 156 | 1: "UNREACHABLE", |
| 157 | 2: "REACHABLE", |
| 158 | } |
| 159 | |
| 160 | var ConnectStatus_Types_value = map[string]int32{ |
| 161 | "UNKNOWN": 0, |
| 162 | "UNREACHABLE": 1, |
| 163 | "REACHABLE": 2, |
| 164 | } |
| 165 | |
| 166 | func (x ConnectStatus_Types) String() string { |
| 167 | return proto.EnumName(ConnectStatus_Types_name, int32(x)) |
| 168 | } |
| 169 | |
| 170 | func (ConnectStatus_Types) EnumDescriptor() ([]byte, []int) { |
sepon | 82ac758 | 2023-06-12 21:05:41 +0300 | [diff] [blame] | 171 | return fileDescriptor_c2e3fd231961e826, []int{6, 0} |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 172 | } |
| 173 | |
| 174 | type OperationResp_OperationReturnCode int32 |
| 175 | |
| 176 | const ( |
| 177 | OperationResp_OPERATION_SUCCESS OperationResp_OperationReturnCode = 0 |
| 178 | OperationResp_OPERATION_FAILURE OperationResp_OperationReturnCode = 1 |
| 179 | OperationResp_OPERATION_UNSUPPORTED OperationResp_OperationReturnCode = 2 |
| 180 | OperationResp_OPERATION_IN_PROGRESS OperationResp_OperationReturnCode = 3 |
| 181 | ) |
| 182 | |
| 183 | var OperationResp_OperationReturnCode_name = map[int32]string{ |
| 184 | 0: "OPERATION_SUCCESS", |
| 185 | 1: "OPERATION_FAILURE", |
| 186 | 2: "OPERATION_UNSUPPORTED", |
| 187 | 3: "OPERATION_IN_PROGRESS", |
| 188 | } |
| 189 | |
| 190 | var OperationResp_OperationReturnCode_value = map[string]int32{ |
| 191 | "OPERATION_SUCCESS": 0, |
| 192 | "OPERATION_FAILURE": 1, |
| 193 | "OPERATION_UNSUPPORTED": 2, |
| 194 | "OPERATION_IN_PROGRESS": 3, |
| 195 | } |
| 196 | |
| 197 | func (x OperationResp_OperationReturnCode) String() string { |
| 198 | return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x)) |
| 199 | } |
| 200 | |
| 201 | func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) { |
sepon | 82ac758 | 2023-06-12 21:05:41 +0300 | [diff] [blame] | 202 | return fileDescriptor_c2e3fd231961e826, []int{7, 0} |
| 203 | } |
| 204 | |
| 205 | // Full path for KV store |
| 206 | type Key struct { |
| 207 | Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` |
| 208 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 209 | XXX_unrecognized []byte `json:"-"` |
| 210 | XXX_sizecache int32 `json:"-"` |
| 211 | } |
| 212 | |
| 213 | func (m *Key) Reset() { *m = Key{} } |
| 214 | func (m *Key) String() string { return proto.CompactTextString(m) } |
| 215 | func (*Key) ProtoMessage() {} |
| 216 | func (*Key) Descriptor() ([]byte, []int) { |
| 217 | return fileDescriptor_c2e3fd231961e826, []int{0} |
| 218 | } |
| 219 | |
| 220 | func (m *Key) XXX_Unmarshal(b []byte) error { |
| 221 | return xxx_messageInfo_Key.Unmarshal(m, b) |
| 222 | } |
| 223 | func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 224 | return xxx_messageInfo_Key.Marshal(b, m, deterministic) |
| 225 | } |
| 226 | func (m *Key) XXX_Merge(src proto.Message) { |
| 227 | xxx_messageInfo_Key.Merge(m, src) |
| 228 | } |
| 229 | func (m *Key) XXX_Size() int { |
| 230 | return xxx_messageInfo_Key.Size(m) |
| 231 | } |
| 232 | func (m *Key) XXX_DiscardUnknown() { |
| 233 | xxx_messageInfo_Key.DiscardUnknown(m) |
| 234 | } |
| 235 | |
| 236 | var xxx_messageInfo_Key proto.InternalMessageInfo |
| 237 | |
| 238 | func (m *Key) GetKey() string { |
| 239 | if m != nil { |
| 240 | return m.Key |
| 241 | } |
| 242 | return "" |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 243 | } |
| 244 | |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 245 | // Convey a resource identifier |
| 246 | type ID struct { |
| 247 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 248 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 249 | XXX_unrecognized []byte `json:"-"` |
| 250 | XXX_sizecache int32 `json:"-"` |
| 251 | } |
| 252 | |
| 253 | func (m *ID) Reset() { *m = ID{} } |
| 254 | func (m *ID) String() string { return proto.CompactTextString(m) } |
| 255 | func (*ID) ProtoMessage() {} |
| 256 | func (*ID) Descriptor() ([]byte, []int) { |
sepon | 82ac758 | 2023-06-12 21:05:41 +0300 | [diff] [blame] | 257 | return fileDescriptor_c2e3fd231961e826, []int{1} |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 258 | } |
| 259 | |
| 260 | func (m *ID) XXX_Unmarshal(b []byte) error { |
| 261 | return xxx_messageInfo_ID.Unmarshal(m, b) |
| 262 | } |
| 263 | func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 264 | return xxx_messageInfo_ID.Marshal(b, m, deterministic) |
| 265 | } |
| 266 | func (m *ID) XXX_Merge(src proto.Message) { |
| 267 | xxx_messageInfo_ID.Merge(m, src) |
| 268 | } |
| 269 | func (m *ID) XXX_Size() int { |
| 270 | return xxx_messageInfo_ID.Size(m) |
| 271 | } |
| 272 | func (m *ID) XXX_DiscardUnknown() { |
| 273 | xxx_messageInfo_ID.DiscardUnknown(m) |
| 274 | } |
| 275 | |
| 276 | var xxx_messageInfo_ID proto.InternalMessageInfo |
| 277 | |
| 278 | func (m *ID) GetId() string { |
| 279 | if m != nil { |
| 280 | return m.Id |
| 281 | } |
| 282 | return "" |
| 283 | } |
| 284 | |
| 285 | // Represents a list of IDs |
| 286 | type IDs struct { |
| 287 | Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 288 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 289 | XXX_unrecognized []byte `json:"-"` |
| 290 | XXX_sizecache int32 `json:"-"` |
| 291 | } |
| 292 | |
| 293 | func (m *IDs) Reset() { *m = IDs{} } |
| 294 | func (m *IDs) String() string { return proto.CompactTextString(m) } |
| 295 | func (*IDs) ProtoMessage() {} |
| 296 | func (*IDs) Descriptor() ([]byte, []int) { |
sepon | 82ac758 | 2023-06-12 21:05:41 +0300 | [diff] [blame] | 297 | return fileDescriptor_c2e3fd231961e826, []int{2} |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 298 | } |
| 299 | |
| 300 | func (m *IDs) XXX_Unmarshal(b []byte) error { |
| 301 | return xxx_messageInfo_IDs.Unmarshal(m, b) |
| 302 | } |
| 303 | func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 304 | return xxx_messageInfo_IDs.Marshal(b, m, deterministic) |
| 305 | } |
| 306 | func (m *IDs) XXX_Merge(src proto.Message) { |
| 307 | xxx_messageInfo_IDs.Merge(m, src) |
| 308 | } |
| 309 | func (m *IDs) XXX_Size() int { |
| 310 | return xxx_messageInfo_IDs.Size(m) |
| 311 | } |
| 312 | func (m *IDs) XXX_DiscardUnknown() { |
| 313 | xxx_messageInfo_IDs.DiscardUnknown(m) |
| 314 | } |
| 315 | |
| 316 | var xxx_messageInfo_IDs proto.InternalMessageInfo |
| 317 | |
| 318 | func (m *IDs) GetItems() []*ID { |
| 319 | if m != nil { |
| 320 | return m.Items |
| 321 | } |
| 322 | return nil |
| 323 | } |
| 324 | |
khenaidoo | 27e7ac9 | 2021-12-08 14:43:09 -0500 | [diff] [blame] | 325 | type Connection struct { |
| 326 | // endpoint is the endpoint sending the request |
| 327 | Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` |
| 328 | // contextInfo represents additional contextual information |
| 329 | ContextInfo string `protobuf:"bytes,2,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` |
| 330 | // keep_alive_interval is used to indicate to the remote endpoint how often it |
| 331 | // will get a keep alive notification |
| 332 | KeepAliveInterval int64 `protobuf:"varint,3,opt,name=keep_alive_interval,json=keepAliveInterval,proto3" json:"keep_alive_interval,omitempty"` |
| 333 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 334 | XXX_unrecognized []byte `json:"-"` |
| 335 | XXX_sizecache int32 `json:"-"` |
| 336 | } |
| 337 | |
| 338 | func (m *Connection) Reset() { *m = Connection{} } |
| 339 | func (m *Connection) String() string { return proto.CompactTextString(m) } |
| 340 | func (*Connection) ProtoMessage() {} |
| 341 | func (*Connection) Descriptor() ([]byte, []int) { |
sepon | 82ac758 | 2023-06-12 21:05:41 +0300 | [diff] [blame] | 342 | return fileDescriptor_c2e3fd231961e826, []int{3} |
khenaidoo | 27e7ac9 | 2021-12-08 14:43:09 -0500 | [diff] [blame] | 343 | } |
| 344 | |
| 345 | func (m *Connection) XXX_Unmarshal(b []byte) error { |
| 346 | return xxx_messageInfo_Connection.Unmarshal(m, b) |
| 347 | } |
| 348 | func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 349 | return xxx_messageInfo_Connection.Marshal(b, m, deterministic) |
| 350 | } |
| 351 | func (m *Connection) XXX_Merge(src proto.Message) { |
| 352 | xxx_messageInfo_Connection.Merge(m, src) |
| 353 | } |
| 354 | func (m *Connection) XXX_Size() int { |
| 355 | return xxx_messageInfo_Connection.Size(m) |
| 356 | } |
| 357 | func (m *Connection) XXX_DiscardUnknown() { |
| 358 | xxx_messageInfo_Connection.DiscardUnknown(m) |
| 359 | } |
| 360 | |
| 361 | var xxx_messageInfo_Connection proto.InternalMessageInfo |
| 362 | |
| 363 | func (m *Connection) GetEndpoint() string { |
| 364 | if m != nil { |
| 365 | return m.Endpoint |
| 366 | } |
| 367 | return "" |
| 368 | } |
| 369 | |
| 370 | func (m *Connection) GetContextInfo() string { |
| 371 | if m != nil { |
| 372 | return m.ContextInfo |
| 373 | } |
| 374 | return "" |
| 375 | } |
| 376 | |
| 377 | func (m *Connection) GetKeepAliveInterval() int64 { |
| 378 | if m != nil { |
| 379 | return m.KeepAliveInterval |
| 380 | } |
| 381 | return 0 |
| 382 | } |
| 383 | |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 384 | type AdminState struct { |
| 385 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 386 | XXX_unrecognized []byte `json:"-"` |
| 387 | XXX_sizecache int32 `json:"-"` |
| 388 | } |
| 389 | |
| 390 | func (m *AdminState) Reset() { *m = AdminState{} } |
| 391 | func (m *AdminState) String() string { return proto.CompactTextString(m) } |
| 392 | func (*AdminState) ProtoMessage() {} |
| 393 | func (*AdminState) Descriptor() ([]byte, []int) { |
sepon | 82ac758 | 2023-06-12 21:05:41 +0300 | [diff] [blame] | 394 | return fileDescriptor_c2e3fd231961e826, []int{4} |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 395 | } |
| 396 | |
| 397 | func (m *AdminState) XXX_Unmarshal(b []byte) error { |
| 398 | return xxx_messageInfo_AdminState.Unmarshal(m, b) |
| 399 | } |
| 400 | func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 401 | return xxx_messageInfo_AdminState.Marshal(b, m, deterministic) |
| 402 | } |
| 403 | func (m *AdminState) XXX_Merge(src proto.Message) { |
| 404 | xxx_messageInfo_AdminState.Merge(m, src) |
| 405 | } |
| 406 | func (m *AdminState) XXX_Size() int { |
| 407 | return xxx_messageInfo_AdminState.Size(m) |
| 408 | } |
| 409 | func (m *AdminState) XXX_DiscardUnknown() { |
| 410 | xxx_messageInfo_AdminState.DiscardUnknown(m) |
| 411 | } |
| 412 | |
| 413 | var xxx_messageInfo_AdminState proto.InternalMessageInfo |
| 414 | |
| 415 | type OperStatus struct { |
| 416 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 417 | XXX_unrecognized []byte `json:"-"` |
| 418 | XXX_sizecache int32 `json:"-"` |
| 419 | } |
| 420 | |
| 421 | func (m *OperStatus) Reset() { *m = OperStatus{} } |
| 422 | func (m *OperStatus) String() string { return proto.CompactTextString(m) } |
| 423 | func (*OperStatus) ProtoMessage() {} |
| 424 | func (*OperStatus) Descriptor() ([]byte, []int) { |
sepon | 82ac758 | 2023-06-12 21:05:41 +0300 | [diff] [blame] | 425 | return fileDescriptor_c2e3fd231961e826, []int{5} |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 426 | } |
| 427 | |
| 428 | func (m *OperStatus) XXX_Unmarshal(b []byte) error { |
| 429 | return xxx_messageInfo_OperStatus.Unmarshal(m, b) |
| 430 | } |
| 431 | func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 432 | return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic) |
| 433 | } |
| 434 | func (m *OperStatus) XXX_Merge(src proto.Message) { |
| 435 | xxx_messageInfo_OperStatus.Merge(m, src) |
| 436 | } |
| 437 | func (m *OperStatus) XXX_Size() int { |
| 438 | return xxx_messageInfo_OperStatus.Size(m) |
| 439 | } |
| 440 | func (m *OperStatus) XXX_DiscardUnknown() { |
| 441 | xxx_messageInfo_OperStatus.DiscardUnknown(m) |
| 442 | } |
| 443 | |
| 444 | var xxx_messageInfo_OperStatus proto.InternalMessageInfo |
| 445 | |
| 446 | type ConnectStatus struct { |
| 447 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 448 | XXX_unrecognized []byte `json:"-"` |
| 449 | XXX_sizecache int32 `json:"-"` |
| 450 | } |
| 451 | |
| 452 | func (m *ConnectStatus) Reset() { *m = ConnectStatus{} } |
| 453 | func (m *ConnectStatus) String() string { return proto.CompactTextString(m) } |
| 454 | func (*ConnectStatus) ProtoMessage() {} |
| 455 | func (*ConnectStatus) Descriptor() ([]byte, []int) { |
sepon | 82ac758 | 2023-06-12 21:05:41 +0300 | [diff] [blame] | 456 | return fileDescriptor_c2e3fd231961e826, []int{6} |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 457 | } |
| 458 | |
| 459 | func (m *ConnectStatus) XXX_Unmarshal(b []byte) error { |
| 460 | return xxx_messageInfo_ConnectStatus.Unmarshal(m, b) |
| 461 | } |
| 462 | func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 463 | return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic) |
| 464 | } |
| 465 | func (m *ConnectStatus) XXX_Merge(src proto.Message) { |
| 466 | xxx_messageInfo_ConnectStatus.Merge(m, src) |
| 467 | } |
| 468 | func (m *ConnectStatus) XXX_Size() int { |
| 469 | return xxx_messageInfo_ConnectStatus.Size(m) |
| 470 | } |
| 471 | func (m *ConnectStatus) XXX_DiscardUnknown() { |
| 472 | xxx_messageInfo_ConnectStatus.DiscardUnknown(m) |
| 473 | } |
| 474 | |
| 475 | var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo |
| 476 | |
| 477 | type OperationResp struct { |
| 478 | // Return code |
| 479 | Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"` |
| 480 | // Additional Info |
| 481 | AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"` |
| 482 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 483 | XXX_unrecognized []byte `json:"-"` |
| 484 | XXX_sizecache int32 `json:"-"` |
| 485 | } |
| 486 | |
| 487 | func (m *OperationResp) Reset() { *m = OperationResp{} } |
| 488 | func (m *OperationResp) String() string { return proto.CompactTextString(m) } |
| 489 | func (*OperationResp) ProtoMessage() {} |
| 490 | func (*OperationResp) Descriptor() ([]byte, []int) { |
sepon | 82ac758 | 2023-06-12 21:05:41 +0300 | [diff] [blame] | 491 | return fileDescriptor_c2e3fd231961e826, []int{7} |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 492 | } |
| 493 | |
| 494 | func (m *OperationResp) XXX_Unmarshal(b []byte) error { |
| 495 | return xxx_messageInfo_OperationResp.Unmarshal(m, b) |
| 496 | } |
| 497 | func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 498 | return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic) |
| 499 | } |
| 500 | func (m *OperationResp) XXX_Merge(src proto.Message) { |
| 501 | xxx_messageInfo_OperationResp.Merge(m, src) |
| 502 | } |
| 503 | func (m *OperationResp) XXX_Size() int { |
| 504 | return xxx_messageInfo_OperationResp.Size(m) |
| 505 | } |
| 506 | func (m *OperationResp) XXX_DiscardUnknown() { |
| 507 | xxx_messageInfo_OperationResp.DiscardUnknown(m) |
| 508 | } |
| 509 | |
| 510 | var xxx_messageInfo_OperationResp proto.InternalMessageInfo |
| 511 | |
| 512 | func (m *OperationResp) GetCode() OperationResp_OperationReturnCode { |
| 513 | if m != nil { |
| 514 | return m.Code |
| 515 | } |
| 516 | return OperationResp_OPERATION_SUCCESS |
| 517 | } |
| 518 | |
| 519 | func (m *OperationResp) GetAdditionalInfo() string { |
| 520 | if m != nil { |
| 521 | return m.AdditionalInfo |
| 522 | } |
| 523 | return "" |
| 524 | } |
| 525 | |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 526 | func init() { |
| 527 | proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value) |
| 528 | proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value) |
| 529 | proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value) |
| 530 | proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value) |
| 531 | proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value) |
sepon | 82ac758 | 2023-06-12 21:05:41 +0300 | [diff] [blame] | 532 | proto.RegisterType((*Key)(nil), "common.Key") |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 533 | proto.RegisterType((*ID)(nil), "common.ID") |
| 534 | proto.RegisterType((*IDs)(nil), "common.IDs") |
khenaidoo | 27e7ac9 | 2021-12-08 14:43:09 -0500 | [diff] [blame] | 535 | proto.RegisterType((*Connection)(nil), "common.Connection") |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 536 | proto.RegisterType((*AdminState)(nil), "common.AdminState") |
| 537 | proto.RegisterType((*OperStatus)(nil), "common.OperStatus") |
| 538 | proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus") |
| 539 | proto.RegisterType((*OperationResp)(nil), "common.OperationResp") |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 540 | } |
| 541 | |
| 542 | func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) } |
| 543 | |
| 544 | var fileDescriptor_c2e3fd231961e826 = []byte{ |
sepon | 82ac758 | 2023-06-12 21:05:41 +0300 | [diff] [blame] | 545 | // 593 bytes of a gzipped FileDescriptorProto |
Abhilash Laxmeshwar | d0f58cf | 2022-06-01 12:15:19 +0530 | [diff] [blame] | 546 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0xdd, 0x4e, 0xdb, 0x30, |
sepon | 82ac758 | 2023-06-12 21:05:41 +0300 | [diff] [blame] | 547 | 0x14, 0x26, 0x09, 0x14, 0x38, 0x85, 0x12, 0xcc, 0xd8, 0x3a, 0xb4, 0x8b, 0x2a, 0x37, 0xb0, 0x49, |
Abhilash Laxmeshwar | d0f58cf | 2022-06-01 12:15:19 +0530 | [diff] [blame] | 548 | 0x6b, 0x25, 0xb6, 0x5d, 0xee, 0x22, 0x24, 0x5e, 0x67, 0x01, 0x76, 0xe5, 0xa4, 0x20, 0x71, 0x13, |
sepon | 82ac758 | 2023-06-12 21:05:41 +0300 | [diff] [blame] | 549 | 0x85, 0xc6, 0x83, 0x88, 0xd6, 0x8e, 0x1a, 0x53, 0xad, 0x7b, 0x8a, 0xbd, 0xc1, 0xde, 0x71, 0x4f, |
| 550 | 0x30, 0x39, 0x0d, 0x2b, 0x48, 0xbd, 0xf3, 0xf7, 0x7d, 0x27, 0xe7, 0xef, 0xcb, 0x81, 0xa3, 0x99, |
| 551 | 0x1a, 0xeb, 0xfb, 0x34, 0x29, 0xa6, 0x4a, 0xab, 0xb2, 0x37, 0x52, 0x93, 0x89, 0x92, 0xdd, 0x0a, |
| 552 | 0xa1, 0xc6, 0x02, 0x79, 0x6f, 0xc0, 0x39, 0x17, 0x73, 0xe4, 0x82, 0xf3, 0x20, 0xe6, 0x6d, 0xab, |
| 553 | 0x63, 0x9d, 0x6c, 0x73, 0xf3, 0xf4, 0x5e, 0x81, 0x4d, 0x42, 0xd4, 0x02, 0x3b, 0xcf, 0x6a, 0xda, |
| 554 | 0xce, 0x33, 0xef, 0x18, 0x1c, 0x12, 0x96, 0xa8, 0x03, 0x1b, 0xb9, 0x16, 0x93, 0xb2, 0x6d, 0x75, |
| 555 | 0x9c, 0x93, 0xe6, 0x29, 0x74, 0xeb, 0xdc, 0x24, 0xe4, 0x0b, 0xc1, 0xfb, 0x05, 0x10, 0x28, 0x29, |
| 556 | 0xc5, 0x48, 0xe7, 0x4a, 0xa2, 0x23, 0xd8, 0x12, 0x32, 0x2b, 0x54, 0x2e, 0x75, 0x9d, 0xec, 0x3f, |
| 557 | 0x46, 0x1d, 0x68, 0x8e, 0x94, 0xd4, 0xe2, 0xa7, 0x26, 0xf2, 0x87, 0x6a, 0xdb, 0x95, 0xfc, 0x9c, |
| 558 | 0x42, 0x5d, 0x38, 0x78, 0x10, 0xa2, 0x48, 0xd2, 0x71, 0x3e, 0x13, 0x49, 0x2e, 0xb5, 0x98, 0xce, |
| 559 | 0xd2, 0x71, 0xdb, 0xe9, 0x58, 0x27, 0x0e, 0xdf, 0x37, 0x92, 0x6f, 0x14, 0x52, 0x0b, 0xde, 0x3d, |
| 560 | 0x80, 0x9f, 0x4d, 0x72, 0x19, 0xe9, 0x54, 0x0b, 0xef, 0x06, 0x36, 0xe2, 0x79, 0x21, 0x4a, 0xd4, |
| 561 | 0x84, 0xcd, 0x21, 0x3d, 0xa7, 0xec, 0x9a, 0xba, 0x6b, 0x08, 0x41, 0x6b, 0xc0, 0xf1, 0x80, 0xb3, |
| 562 | 0x2b, 0x12, 0x11, 0x46, 0x71, 0xe8, 0x5a, 0x26, 0x00, 0x53, 0xff, 0xec, 0x02, 0x87, 0xae, 0x8d, |
| 563 | 0x76, 0x60, 0x2b, 0x24, 0xd1, 0x02, 0x39, 0xe8, 0x10, 0xf6, 0x43, 0x76, 0x4d, 0x2f, 0x98, 0x1f, |
| 564 | 0x12, 0xda, 0x4f, 0xc8, 0xa5, 0xdf, 0xc7, 0xee, 0xba, 0xf7, 0xc7, 0x02, 0x60, 0x85, 0x98, 0x9a, |
| 565 | 0x4a, 0x8f, 0xa5, 0xf7, 0xdb, 0x5a, 0x59, 0xab, 0x05, 0x10, 0x92, 0x28, 0x60, 0x57, 0x98, 0x57, |
| 566 | 0x75, 0x5a, 0x00, 0x7e, 0x10, 0x93, 0x2b, 0x3f, 0x26, 0xb4, 0xef, 0xda, 0x26, 0x38, 0xc6, 0x51, |
| 567 | 0x05, 0x1c, 0x04, 0xd0, 0xa8, 0x44, 0xec, 0xae, 0x9b, 0xf7, 0x37, 0x9f, 0x98, 0x0e, 0x36, 0xd0, |
| 568 | 0x1e, 0x34, 0x39, 0x0e, 0x18, 0x0d, 0xc8, 0x85, 0x09, 0x6c, 0xa0, 0xd7, 0x80, 0x9e, 0x11, 0x49, |
| 569 | 0x1d, 0xb8, 0x69, 0x1a, 0xe7, 0xf8, 0x8c, 0xb1, 0x18, 0x87, 0xee, 0x96, 0x87, 0x61, 0xb7, 0xf6, |
| 570 | 0xa1, 0xee, 0xf1, 0xf3, 0xca, 0x16, 0xf7, 0xa0, 0x39, 0xa4, 0x1c, 0xfb, 0xc1, 0x77, 0x33, 0xb1, |
| 571 | 0x6b, 0xa1, 0x5d, 0xd8, 0x5e, 0x42, 0xdb, 0xfb, 0x6b, 0xc1, 0xae, 0x19, 0x34, 0x35, 0x76, 0x72, |
| 572 | 0x51, 0x16, 0xe8, 0x2b, 0xac, 0x8f, 0x54, 0x26, 0x2a, 0x3b, 0x5b, 0xa7, 0xef, 0x9f, 0xfe, 0x80, |
| 573 | 0x17, 0x41, 0xcf, 0x91, 0x7e, 0x9c, 0xca, 0x40, 0x65, 0x82, 0x57, 0x9f, 0xa1, 0x63, 0xd8, 0x4b, |
| 574 | 0xb3, 0x2c, 0x37, 0x5a, 0x3a, 0x4e, 0xf2, 0xa5, 0xf3, 0xad, 0x25, 0x6d, 0xcc, 0xf7, 0xe6, 0x70, |
| 575 | 0xb0, 0x22, 0x8b, 0x31, 0x84, 0x0d, 0x30, 0xf7, 0x63, 0xc2, 0x68, 0x12, 0x0d, 0x83, 0x00, 0x47, |
| 576 | 0x91, 0xbb, 0xf6, 0x92, 0x36, 0x2b, 0x19, 0x72, 0x33, 0xcd, 0x5b, 0x38, 0x5c, 0xd2, 0x43, 0x1a, |
| 577 | 0x0d, 0x07, 0x03, 0xc6, 0xe3, 0xca, 0xe7, 0x17, 0x12, 0xa1, 0xc9, 0x80, 0xb3, 0x3e, 0x37, 0xc9, |
| 578 | 0x9c, 0x0f, 0xef, 0x60, 0x27, 0x16, 0xa5, 0xbe, 0x54, 0x99, 0x38, 0x17, 0xf3, 0xd2, 0x6c, 0x36, |
| 579 | 0x2d, 0xf2, 0x44, 0x8b, 0x52, 0xbb, 0x6b, 0x67, 0x18, 0x0e, 0xd4, 0xf4, 0xae, 0xab, 0x0a, 0x21, |
| 580 | 0x47, 0x6a, 0x9a, 0x75, 0x17, 0xc7, 0x76, 0xd3, 0xbd, 0xcb, 0xf5, 0xfd, 0xe3, 0xad, 0xd9, 0x47, |
| 581 | 0xef, 0x49, 0xeb, 0x2d, 0xb4, 0x8f, 0xf5, 0x21, 0xce, 0xbe, 0xf4, 0xee, 0x54, 0x7d, 0x8e, 0xb7, |
| 582 | 0x8d, 0x8a, 0xfc, 0xf4, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x78, 0x80, 0xdb, 0x29, 0xad, 0x03, 0x00, |
| 583 | 0x00, |
khenaidoo | 106c61a | 2021-08-11 18:05:46 -0400 | [diff] [blame] | 584 | } |