William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: voltha_protos/common.proto |
| 3 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 4 | package common |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 5 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 6 | import ( |
| 7 | fmt "fmt" |
| 8 | proto "github.com/golang/protobuf/proto" |
| 9 | math "math" |
| 10 | ) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 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. |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 21 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 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 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 32 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 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 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 40 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 41 | func (TestModeKeys) EnumDescriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 42 | return fileDescriptor_c2e3fd231961e826, []int{0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 43 | } |
| 44 | |
| 45 | // Logging verbosity level |
| 46 | type LogLevel_LogLevel int32 |
| 47 | |
| 48 | const ( |
| 49 | LogLevel_DEBUG LogLevel_LogLevel = 0 |
| 50 | LogLevel_INFO LogLevel_LogLevel = 1 |
| 51 | LogLevel_WARNING LogLevel_LogLevel = 2 |
| 52 | LogLevel_ERROR LogLevel_LogLevel = 3 |
| 53 | LogLevel_CRITICAL LogLevel_LogLevel = 4 |
| 54 | LogLevel_FATAL LogLevel_LogLevel = 5 |
| 55 | ) |
| 56 | |
| 57 | var LogLevel_LogLevel_name = map[int32]string{ |
| 58 | 0: "DEBUG", |
| 59 | 1: "INFO", |
| 60 | 2: "WARNING", |
| 61 | 3: "ERROR", |
| 62 | 4: "CRITICAL", |
| 63 | 5: "FATAL", |
| 64 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 65 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 66 | var LogLevel_LogLevel_value = map[string]int32{ |
| 67 | "DEBUG": 0, |
| 68 | "INFO": 1, |
| 69 | "WARNING": 2, |
| 70 | "ERROR": 3, |
| 71 | "CRITICAL": 4, |
| 72 | "FATAL": 5, |
| 73 | } |
| 74 | |
| 75 | func (x LogLevel_LogLevel) String() string { |
| 76 | return proto.EnumName(LogLevel_LogLevel_name, int32(x)) |
| 77 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 78 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 79 | func (LogLevel_LogLevel) EnumDescriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 80 | return fileDescriptor_c2e3fd231961e826, []int{2, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 81 | } |
| 82 | |
| 83 | // Administrative State |
| 84 | type AdminState_AdminState int32 |
| 85 | |
| 86 | const ( |
| 87 | // The administrative state of the device is unknown |
| 88 | AdminState_UNKNOWN AdminState_AdminState = 0 |
| 89 | // The device is pre-provisioned into Voltha, but not contacted by it |
| 90 | AdminState_PREPROVISIONED AdminState_AdminState = 1 |
| 91 | // The device is enabled for activation and operation |
| 92 | AdminState_ENABLED AdminState_AdminState = 2 |
| 93 | // The device is disabled and shall not perform its intended forwarding |
| 94 | // functions other than being available for re-activation. |
| 95 | AdminState_DISABLED AdminState_AdminState = 3 |
| 96 | // The device is in the state of image download |
| 97 | AdminState_DOWNLOADING_IMAGE AdminState_AdminState = 4 |
| 98 | // The device is marked to be deleted |
| 99 | AdminState_DELETED AdminState_AdminState = 5 |
| 100 | ) |
| 101 | |
| 102 | var AdminState_AdminState_name = map[int32]string{ |
| 103 | 0: "UNKNOWN", |
| 104 | 1: "PREPROVISIONED", |
| 105 | 2: "ENABLED", |
| 106 | 3: "DISABLED", |
| 107 | 4: "DOWNLOADING_IMAGE", |
| 108 | 5: "DELETED", |
| 109 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 110 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 111 | var AdminState_AdminState_value = map[string]int32{ |
| 112 | "UNKNOWN": 0, |
| 113 | "PREPROVISIONED": 1, |
| 114 | "ENABLED": 2, |
| 115 | "DISABLED": 3, |
| 116 | "DOWNLOADING_IMAGE": 4, |
| 117 | "DELETED": 5, |
| 118 | } |
| 119 | |
| 120 | func (x AdminState_AdminState) String() string { |
| 121 | return proto.EnumName(AdminState_AdminState_name, int32(x)) |
| 122 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 123 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 124 | func (AdminState_AdminState) EnumDescriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 125 | return fileDescriptor_c2e3fd231961e826, []int{3, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 126 | } |
| 127 | |
| 128 | // Operational Status |
| 129 | type OperStatus_OperStatus int32 |
| 130 | |
| 131 | const ( |
| 132 | // The status of the device is unknown at this point |
| 133 | OperStatus_UNKNOWN OperStatus_OperStatus = 0 |
| 134 | // The device has been discovered, but not yet activated |
| 135 | OperStatus_DISCOVERED OperStatus_OperStatus = 1 |
| 136 | // The device is being activated (booted, rebooted, upgraded, etc.) |
| 137 | OperStatus_ACTIVATING OperStatus_OperStatus = 2 |
| 138 | // Service impacting tests are being conducted |
| 139 | OperStatus_TESTING OperStatus_OperStatus = 3 |
| 140 | // The device is up and active |
| 141 | OperStatus_ACTIVE OperStatus_OperStatus = 4 |
| 142 | // The device has failed and cannot fulfill its intended role |
| 143 | OperStatus_FAILED OperStatus_OperStatus = 5 |
| 144 | ) |
| 145 | |
| 146 | var OperStatus_OperStatus_name = map[int32]string{ |
| 147 | 0: "UNKNOWN", |
| 148 | 1: "DISCOVERED", |
| 149 | 2: "ACTIVATING", |
| 150 | 3: "TESTING", |
| 151 | 4: "ACTIVE", |
| 152 | 5: "FAILED", |
| 153 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 154 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 155 | var OperStatus_OperStatus_value = map[string]int32{ |
| 156 | "UNKNOWN": 0, |
| 157 | "DISCOVERED": 1, |
| 158 | "ACTIVATING": 2, |
| 159 | "TESTING": 3, |
| 160 | "ACTIVE": 4, |
| 161 | "FAILED": 5, |
| 162 | } |
| 163 | |
| 164 | func (x OperStatus_OperStatus) String() string { |
| 165 | return proto.EnumName(OperStatus_OperStatus_name, int32(x)) |
| 166 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 167 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 168 | func (OperStatus_OperStatus) EnumDescriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 169 | return fileDescriptor_c2e3fd231961e826, []int{4, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 170 | } |
| 171 | |
| 172 | // Connectivity Status |
| 173 | type ConnectStatus_ConnectStatus int32 |
| 174 | |
| 175 | const ( |
| 176 | // The device connectivity status is unknown |
| 177 | ConnectStatus_UNKNOWN ConnectStatus_ConnectStatus = 0 |
| 178 | // The device cannot be reached by Voltha |
| 179 | ConnectStatus_UNREACHABLE ConnectStatus_ConnectStatus = 1 |
| 180 | // There is live communication between device and Voltha |
| 181 | ConnectStatus_REACHABLE ConnectStatus_ConnectStatus = 2 |
| 182 | ) |
| 183 | |
| 184 | var ConnectStatus_ConnectStatus_name = map[int32]string{ |
| 185 | 0: "UNKNOWN", |
| 186 | 1: "UNREACHABLE", |
| 187 | 2: "REACHABLE", |
| 188 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 189 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 190 | var ConnectStatus_ConnectStatus_value = map[string]int32{ |
| 191 | "UNKNOWN": 0, |
| 192 | "UNREACHABLE": 1, |
| 193 | "REACHABLE": 2, |
| 194 | } |
| 195 | |
| 196 | func (x ConnectStatus_ConnectStatus) String() string { |
| 197 | return proto.EnumName(ConnectStatus_ConnectStatus_name, int32(x)) |
| 198 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 199 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 200 | func (ConnectStatus_ConnectStatus) EnumDescriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 201 | return fileDescriptor_c2e3fd231961e826, []int{5, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 202 | } |
| 203 | |
| 204 | type OperationResp_OperationReturnCode int32 |
| 205 | |
| 206 | const ( |
| 207 | OperationResp_OPERATION_SUCCESS OperationResp_OperationReturnCode = 0 |
| 208 | OperationResp_OPERATION_FAILURE OperationResp_OperationReturnCode = 1 |
| 209 | OperationResp_OPERATION_UNSUPPORTED OperationResp_OperationReturnCode = 2 |
| 210 | ) |
| 211 | |
| 212 | var OperationResp_OperationReturnCode_name = map[int32]string{ |
| 213 | 0: "OPERATION_SUCCESS", |
| 214 | 1: "OPERATION_FAILURE", |
| 215 | 2: "OPERATION_UNSUPPORTED", |
| 216 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 217 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 218 | var OperationResp_OperationReturnCode_value = map[string]int32{ |
| 219 | "OPERATION_SUCCESS": 0, |
| 220 | "OPERATION_FAILURE": 1, |
| 221 | "OPERATION_UNSUPPORTED": 2, |
| 222 | } |
| 223 | |
| 224 | func (x OperationResp_OperationReturnCode) String() string { |
| 225 | return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x)) |
| 226 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 227 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 228 | func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 229 | return fileDescriptor_c2e3fd231961e826, []int{6, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 230 | } |
| 231 | |
| 232 | // Convey a resource identifier |
| 233 | type ID struct { |
| 234 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 235 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 236 | XXX_unrecognized []byte `json:"-"` |
| 237 | XXX_sizecache int32 `json:"-"` |
| 238 | } |
| 239 | |
| 240 | func (m *ID) Reset() { *m = ID{} } |
| 241 | func (m *ID) String() string { return proto.CompactTextString(m) } |
| 242 | func (*ID) ProtoMessage() {} |
| 243 | func (*ID) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 244 | return fileDescriptor_c2e3fd231961e826, []int{0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 245 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 246 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 247 | func (m *ID) XXX_Unmarshal(b []byte) error { |
| 248 | return xxx_messageInfo_ID.Unmarshal(m, b) |
| 249 | } |
| 250 | func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 251 | return xxx_messageInfo_ID.Marshal(b, m, deterministic) |
| 252 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 253 | func (m *ID) XXX_Merge(src proto.Message) { |
| 254 | xxx_messageInfo_ID.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 255 | } |
| 256 | func (m *ID) XXX_Size() int { |
| 257 | return xxx_messageInfo_ID.Size(m) |
| 258 | } |
| 259 | func (m *ID) XXX_DiscardUnknown() { |
| 260 | xxx_messageInfo_ID.DiscardUnknown(m) |
| 261 | } |
| 262 | |
| 263 | var xxx_messageInfo_ID proto.InternalMessageInfo |
| 264 | |
| 265 | func (m *ID) GetId() string { |
| 266 | if m != nil { |
| 267 | return m.Id |
| 268 | } |
| 269 | return "" |
| 270 | } |
| 271 | |
| 272 | // Represents a list of IDs |
| 273 | type IDs struct { |
| 274 | Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 275 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 276 | XXX_unrecognized []byte `json:"-"` |
| 277 | XXX_sizecache int32 `json:"-"` |
| 278 | } |
| 279 | |
| 280 | func (m *IDs) Reset() { *m = IDs{} } |
| 281 | func (m *IDs) String() string { return proto.CompactTextString(m) } |
| 282 | func (*IDs) ProtoMessage() {} |
| 283 | func (*IDs) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 284 | return fileDescriptor_c2e3fd231961e826, []int{1} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 285 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 286 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 287 | func (m *IDs) XXX_Unmarshal(b []byte) error { |
| 288 | return xxx_messageInfo_IDs.Unmarshal(m, b) |
| 289 | } |
| 290 | func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 291 | return xxx_messageInfo_IDs.Marshal(b, m, deterministic) |
| 292 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 293 | func (m *IDs) XXX_Merge(src proto.Message) { |
| 294 | xxx_messageInfo_IDs.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 295 | } |
| 296 | func (m *IDs) XXX_Size() int { |
| 297 | return xxx_messageInfo_IDs.Size(m) |
| 298 | } |
| 299 | func (m *IDs) XXX_DiscardUnknown() { |
| 300 | xxx_messageInfo_IDs.DiscardUnknown(m) |
| 301 | } |
| 302 | |
| 303 | var xxx_messageInfo_IDs proto.InternalMessageInfo |
| 304 | |
| 305 | func (m *IDs) GetItems() []*ID { |
| 306 | if m != nil { |
| 307 | return m.Items |
| 308 | } |
| 309 | return nil |
| 310 | } |
| 311 | |
| 312 | type LogLevel struct { |
| 313 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 314 | XXX_unrecognized []byte `json:"-"` |
| 315 | XXX_sizecache int32 `json:"-"` |
| 316 | } |
| 317 | |
| 318 | func (m *LogLevel) Reset() { *m = LogLevel{} } |
| 319 | func (m *LogLevel) String() string { return proto.CompactTextString(m) } |
| 320 | func (*LogLevel) ProtoMessage() {} |
| 321 | func (*LogLevel) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 322 | return fileDescriptor_c2e3fd231961e826, []int{2} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 323 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 324 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 325 | func (m *LogLevel) XXX_Unmarshal(b []byte) error { |
| 326 | return xxx_messageInfo_LogLevel.Unmarshal(m, b) |
| 327 | } |
| 328 | func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 329 | return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic) |
| 330 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 331 | func (m *LogLevel) XXX_Merge(src proto.Message) { |
| 332 | xxx_messageInfo_LogLevel.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 333 | } |
| 334 | func (m *LogLevel) XXX_Size() int { |
| 335 | return xxx_messageInfo_LogLevel.Size(m) |
| 336 | } |
| 337 | func (m *LogLevel) XXX_DiscardUnknown() { |
| 338 | xxx_messageInfo_LogLevel.DiscardUnknown(m) |
| 339 | } |
| 340 | |
| 341 | var xxx_messageInfo_LogLevel proto.InternalMessageInfo |
| 342 | |
| 343 | type AdminState struct { |
| 344 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 345 | XXX_unrecognized []byte `json:"-"` |
| 346 | XXX_sizecache int32 `json:"-"` |
| 347 | } |
| 348 | |
| 349 | func (m *AdminState) Reset() { *m = AdminState{} } |
| 350 | func (m *AdminState) String() string { return proto.CompactTextString(m) } |
| 351 | func (*AdminState) ProtoMessage() {} |
| 352 | func (*AdminState) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 353 | return fileDescriptor_c2e3fd231961e826, []int{3} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 354 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 355 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 356 | func (m *AdminState) XXX_Unmarshal(b []byte) error { |
| 357 | return xxx_messageInfo_AdminState.Unmarshal(m, b) |
| 358 | } |
| 359 | func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 360 | return xxx_messageInfo_AdminState.Marshal(b, m, deterministic) |
| 361 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 362 | func (m *AdminState) XXX_Merge(src proto.Message) { |
| 363 | xxx_messageInfo_AdminState.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 364 | } |
| 365 | func (m *AdminState) XXX_Size() int { |
| 366 | return xxx_messageInfo_AdminState.Size(m) |
| 367 | } |
| 368 | func (m *AdminState) XXX_DiscardUnknown() { |
| 369 | xxx_messageInfo_AdminState.DiscardUnknown(m) |
| 370 | } |
| 371 | |
| 372 | var xxx_messageInfo_AdminState proto.InternalMessageInfo |
| 373 | |
| 374 | type OperStatus struct { |
| 375 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 376 | XXX_unrecognized []byte `json:"-"` |
| 377 | XXX_sizecache int32 `json:"-"` |
| 378 | } |
| 379 | |
| 380 | func (m *OperStatus) Reset() { *m = OperStatus{} } |
| 381 | func (m *OperStatus) String() string { return proto.CompactTextString(m) } |
| 382 | func (*OperStatus) ProtoMessage() {} |
| 383 | func (*OperStatus) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 384 | return fileDescriptor_c2e3fd231961e826, []int{4} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 385 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 386 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 387 | func (m *OperStatus) XXX_Unmarshal(b []byte) error { |
| 388 | return xxx_messageInfo_OperStatus.Unmarshal(m, b) |
| 389 | } |
| 390 | func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 391 | return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic) |
| 392 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 393 | func (m *OperStatus) XXX_Merge(src proto.Message) { |
| 394 | xxx_messageInfo_OperStatus.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 395 | } |
| 396 | func (m *OperStatus) XXX_Size() int { |
| 397 | return xxx_messageInfo_OperStatus.Size(m) |
| 398 | } |
| 399 | func (m *OperStatus) XXX_DiscardUnknown() { |
| 400 | xxx_messageInfo_OperStatus.DiscardUnknown(m) |
| 401 | } |
| 402 | |
| 403 | var xxx_messageInfo_OperStatus proto.InternalMessageInfo |
| 404 | |
| 405 | type ConnectStatus struct { |
| 406 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 407 | XXX_unrecognized []byte `json:"-"` |
| 408 | XXX_sizecache int32 `json:"-"` |
| 409 | } |
| 410 | |
| 411 | func (m *ConnectStatus) Reset() { *m = ConnectStatus{} } |
| 412 | func (m *ConnectStatus) String() string { return proto.CompactTextString(m) } |
| 413 | func (*ConnectStatus) ProtoMessage() {} |
| 414 | func (*ConnectStatus) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 415 | return fileDescriptor_c2e3fd231961e826, []int{5} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 416 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 417 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 418 | func (m *ConnectStatus) XXX_Unmarshal(b []byte) error { |
| 419 | return xxx_messageInfo_ConnectStatus.Unmarshal(m, b) |
| 420 | } |
| 421 | func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 422 | return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic) |
| 423 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 424 | func (m *ConnectStatus) XXX_Merge(src proto.Message) { |
| 425 | xxx_messageInfo_ConnectStatus.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 426 | } |
| 427 | func (m *ConnectStatus) XXX_Size() int { |
| 428 | return xxx_messageInfo_ConnectStatus.Size(m) |
| 429 | } |
| 430 | func (m *ConnectStatus) XXX_DiscardUnknown() { |
| 431 | xxx_messageInfo_ConnectStatus.DiscardUnknown(m) |
| 432 | } |
| 433 | |
| 434 | var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo |
| 435 | |
| 436 | type OperationResp struct { |
| 437 | // Return code |
| 438 | Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=voltha.OperationResp_OperationReturnCode" json:"code,omitempty"` |
| 439 | // Additional Info |
| 440 | AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"` |
| 441 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 442 | XXX_unrecognized []byte `json:"-"` |
| 443 | XXX_sizecache int32 `json:"-"` |
| 444 | } |
| 445 | |
| 446 | func (m *OperationResp) Reset() { *m = OperationResp{} } |
| 447 | func (m *OperationResp) String() string { return proto.CompactTextString(m) } |
| 448 | func (*OperationResp) ProtoMessage() {} |
| 449 | func (*OperationResp) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 450 | return fileDescriptor_c2e3fd231961e826, []int{6} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 451 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 452 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 453 | func (m *OperationResp) XXX_Unmarshal(b []byte) error { |
| 454 | return xxx_messageInfo_OperationResp.Unmarshal(m, b) |
| 455 | } |
| 456 | func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 457 | return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic) |
| 458 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 459 | func (m *OperationResp) XXX_Merge(src proto.Message) { |
| 460 | xxx_messageInfo_OperationResp.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 461 | } |
| 462 | func (m *OperationResp) XXX_Size() int { |
| 463 | return xxx_messageInfo_OperationResp.Size(m) |
| 464 | } |
| 465 | func (m *OperationResp) XXX_DiscardUnknown() { |
| 466 | xxx_messageInfo_OperationResp.DiscardUnknown(m) |
| 467 | } |
| 468 | |
| 469 | var xxx_messageInfo_OperationResp proto.InternalMessageInfo |
| 470 | |
| 471 | func (m *OperationResp) GetCode() OperationResp_OperationReturnCode { |
| 472 | if m != nil { |
| 473 | return m.Code |
| 474 | } |
| 475 | return OperationResp_OPERATION_SUCCESS |
| 476 | } |
| 477 | |
| 478 | func (m *OperationResp) GetAdditionalInfo() string { |
| 479 | if m != nil { |
| 480 | return m.AdditionalInfo |
| 481 | } |
| 482 | return "" |
| 483 | } |
| 484 | |
| 485 | func init() { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 486 | proto.RegisterEnum("voltha.TestModeKeys", TestModeKeys_name, TestModeKeys_value) |
| 487 | proto.RegisterEnum("voltha.LogLevel_LogLevel", LogLevel_LogLevel_name, LogLevel_LogLevel_value) |
| 488 | proto.RegisterEnum("voltha.AdminState_AdminState", AdminState_AdminState_name, AdminState_AdminState_value) |
| 489 | proto.RegisterEnum("voltha.OperStatus_OperStatus", OperStatus_OperStatus_name, OperStatus_OperStatus_value) |
| 490 | proto.RegisterEnum("voltha.ConnectStatus_ConnectStatus", ConnectStatus_ConnectStatus_name, ConnectStatus_ConnectStatus_value) |
| 491 | proto.RegisterEnum("voltha.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 492 | proto.RegisterType((*ID)(nil), "voltha.ID") |
| 493 | proto.RegisterType((*IDs)(nil), "voltha.IDs") |
| 494 | proto.RegisterType((*LogLevel)(nil), "voltha.LogLevel") |
| 495 | proto.RegisterType((*AdminState)(nil), "voltha.AdminState") |
| 496 | proto.RegisterType((*OperStatus)(nil), "voltha.OperStatus") |
| 497 | proto.RegisterType((*ConnectStatus)(nil), "voltha.ConnectStatus") |
| 498 | proto.RegisterType((*OperationResp)(nil), "voltha.OperationResp") |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 499 | } |
| 500 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 501 | func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) } |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 502 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 503 | var fileDescriptor_c2e3fd231961e826 = []byte{ |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 504 | // 564 bytes of a gzipped FileDescriptorProto |
| 505 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5f, 0x4f, 0xdb, 0x3e, |
| 506 | 0x14, 0x6d, 0xd2, 0x3f, 0xc0, 0x2d, 0x94, 0xfc, 0xfc, 0x1b, 0x12, 0x43, 0x9b, 0x54, 0xe5, 0x05, |
| 507 | 0xb6, 0x89, 0x22, 0xb1, 0xb7, 0x69, 0x7b, 0x30, 0x89, 0xe9, 0x2c, 0x82, 0x5d, 0x39, 0x09, 0x48, |
| 508 | 0x7b, 0xa0, 0x0a, 0x8d, 0x29, 0x91, 0xda, 0x38, 0x6a, 0x0c, 0x12, 0x8f, 0xfb, 0x80, 0xfb, 0x0a, |
| 509 | 0xfb, 0x0c, 0x7b, 0xda, 0xf3, 0xe4, 0x04, 0xd4, 0x76, 0xda, 0x5b, 0xce, 0x39, 0xd7, 0xf7, 0xf8, |
| 510 | 0xe4, 0x5e, 0xc3, 0xc1, 0xa3, 0x9a, 0xe9, 0xfb, 0x64, 0x5c, 0x2c, 0x94, 0x56, 0xe5, 0xc9, 0x44, |
| 511 | 0xcd, 0xe7, 0x2a, 0x1f, 0x54, 0x08, 0x75, 0x6a, 0xed, 0xa0, 0xbf, 0x5e, 0xf3, 0x94, 0xe4, 0xd3, |
| 512 | 0xb1, 0x2a, 0x74, 0xa6, 0xf2, 0xb2, 0xae, 0x74, 0x5f, 0x81, 0x4d, 0x7d, 0xd4, 0x03, 0x3b, 0x4b, |
| 513 | 0xf7, 0xad, 0xbe, 0x75, 0xb4, 0x25, 0xec, 0x2c, 0x75, 0x0f, 0xa1, 0x49, 0xfd, 0x12, 0xf5, 0xa1, |
| 514 | 0x9d, 0x69, 0x39, 0x2f, 0xf7, 0xad, 0x7e, 0xf3, 0xa8, 0x7b, 0x0a, 0x83, 0xba, 0xdd, 0x80, 0xfa, |
| 515 | 0xa2, 0x16, 0xdc, 0x09, 0x6c, 0x06, 0x6a, 0x1a, 0xc8, 0x47, 0x39, 0x73, 0x47, 0xcb, 0x6f, 0xb4, |
| 516 | 0x05, 0x6d, 0x9f, 0x9c, 0xc5, 0x43, 0xa7, 0x81, 0x36, 0xa1, 0x45, 0xd9, 0x39, 0x77, 0x2c, 0xd4, |
| 517 | 0x85, 0x8d, 0x6b, 0x2c, 0x18, 0x65, 0x43, 0xc7, 0x36, 0x15, 0x44, 0x08, 0x2e, 0x9c, 0x26, 0xda, |
| 518 | 0x86, 0x4d, 0x4f, 0xd0, 0x88, 0x7a, 0x38, 0x70, 0x5a, 0x46, 0x38, 0xc7, 0x11, 0x0e, 0x9c, 0xf6, |
| 519 | 0xa7, 0xf6, 0xaf, 0xdf, 0x3f, 0xde, 0x36, 0xdc, 0xef, 0x16, 0x00, 0x4e, 0xe7, 0x59, 0x1e, 0xea, |
| 520 | 0x44, 0x4b, 0x77, 0xb6, 0x8a, 0x4c, 0xd3, 0x98, 0x5d, 0x30, 0x7e, 0xcd, 0x9c, 0x06, 0x42, 0xd0, |
| 521 | 0x1b, 0x09, 0x32, 0x12, 0xfc, 0x8a, 0x86, 0x94, 0x33, 0xe2, 0xd7, 0xae, 0x84, 0xe1, 0xb3, 0x80, |
| 522 | 0xf8, 0x8e, 0x6d, 0xac, 0x7c, 0x1a, 0xd6, 0xa8, 0x89, 0xf6, 0xe0, 0x3f, 0x9f, 0x5f, 0xb3, 0x80, |
| 523 | 0x63, 0x9f, 0xb2, 0xe1, 0x98, 0x5e, 0xe2, 0x21, 0x71, 0x5a, 0xe6, 0x84, 0x4f, 0x02, 0x12, 0x11, |
| 524 | 0x7f, 0x79, 0x87, 0x12, 0x80, 0x17, 0x72, 0x61, 0x3c, 0x1f, 0x4a, 0xf7, 0x66, 0x15, 0xad, 0x5f, |
| 525 | 0xa1, 0x07, 0xe0, 0xd3, 0xd0, 0xe3, 0x57, 0x44, 0x54, 0xf6, 0x3d, 0x00, 0xec, 0x45, 0xf4, 0x0a, |
| 526 | 0x47, 0x75, 0xee, 0x2e, 0x6c, 0x44, 0x24, 0xac, 0x40, 0x13, 0x01, 0x74, 0x2a, 0xd1, 0xb8, 0x02, |
| 527 | 0x74, 0xce, 0x31, 0x0d, 0x56, 0x4d, 0x23, 0xd8, 0xf1, 0x54, 0x9e, 0xcb, 0x89, 0x7e, 0xf6, 0xfd, |
| 528 | 0xfc, 0x17, 0xb1, 0x6e, 0xbd, 0x0b, 0xdd, 0x98, 0x09, 0x82, 0xbd, 0xaf, 0x26, 0xa0, 0x63, 0xa1, |
| 529 | 0x1d, 0xd8, 0x5a, 0x42, 0xfb, 0xa5, 0xeb, 0x4f, 0x0b, 0x76, 0xcc, 0xed, 0x13, 0xb3, 0x07, 0x42, |
| 530 | 0x96, 0x05, 0xfa, 0x02, 0xad, 0x89, 0x4a, 0x65, 0xb5, 0x00, 0xbd, 0xd3, 0x77, 0x2f, 0x63, 0x5e, |
| 531 | 0x2b, 0x5a, 0x45, 0xfa, 0x61, 0x91, 0x7b, 0x2a, 0x95, 0xa2, 0x3a, 0x86, 0x0e, 0x61, 0x37, 0x49, |
| 532 | 0xd3, 0xcc, 0x68, 0xc9, 0x6c, 0x9c, 0xe5, 0x77, 0x6a, 0xdf, 0xae, 0x56, 0xa9, 0xb7, 0xa4, 0x69, |
| 533 | 0x7e, 0xa7, 0xdc, 0x1b, 0xf8, 0xff, 0x1f, 0x5d, 0xcc, 0x18, 0xf8, 0x88, 0x08, 0x1c, 0x51, 0xce, |
| 534 | 0xc6, 0x61, 0xec, 0x79, 0x24, 0x0c, 0x9d, 0xc6, 0x3a, 0x6d, 0x7e, 0x4d, 0x2c, 0x4c, 0xa8, 0xd7, |
| 535 | 0xb0, 0xb7, 0xa4, 0x63, 0x16, 0xc6, 0xa3, 0x11, 0x17, 0x66, 0x56, 0x2f, 0x01, 0xdf, 0xbf, 0x81, |
| 536 | 0xed, 0x48, 0x96, 0xfa, 0x52, 0xa5, 0xf2, 0x42, 0x3e, 0x95, 0x66, 0xe8, 0x49, 0x91, 0x8d, 0xb5, |
| 537 | 0x2c, 0xb5, 0xd3, 0x38, 0x3b, 0xfe, 0xf6, 0x61, 0x9a, 0xe9, 0xfb, 0x87, 0xdb, 0xc1, 0x44, 0xcd, |
| 538 | 0x4f, 0x54, 0x21, 0xf3, 0x89, 0x5a, 0xa4, 0x27, 0x75, 0xe6, 0xe3, 0xe7, 0x97, 0x32, 0x55, 0xcf, |
| 539 | 0x0f, 0xea, 0xb6, 0x53, 0x31, 0x1f, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x2b, 0x0d, 0x0e, 0x19, |
| 540 | 0x6f, 0x03, 0x00, 0x00, |
| 541 | } |