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 |
William Kurkian | 12fc0af | 2019-04-18 14:27:45 -0400 | [diff] [blame] | 438 | Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 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 | 12fc0af | 2019-04-18 14:27:45 -0400 | [diff] [blame] | 486 | proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value) |
| 487 | proto.RegisterEnum("common.LogLevel_LogLevel", LogLevel_LogLevel_name, LogLevel_LogLevel_value) |
| 488 | proto.RegisterEnum("common.AdminState_AdminState", AdminState_AdminState_name, AdminState_AdminState_value) |
| 489 | proto.RegisterEnum("common.OperStatus_OperStatus", OperStatus_OperStatus_name, OperStatus_OperStatus_value) |
| 490 | proto.RegisterEnum("common.ConnectStatus_ConnectStatus", ConnectStatus_ConnectStatus_name, ConnectStatus_ConnectStatus_value) |
| 491 | proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value) |
| 492 | proto.RegisterType((*ID)(nil), "common.ID") |
| 493 | proto.RegisterType((*IDs)(nil), "common.IDs") |
| 494 | proto.RegisterType((*LogLevel)(nil), "common.LogLevel") |
| 495 | proto.RegisterType((*AdminState)(nil), "common.AdminState") |
| 496 | proto.RegisterType((*OperStatus)(nil), "common.OperStatus") |
| 497 | proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus") |
| 498 | proto.RegisterType((*OperationResp)(nil), "common.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 | 12fc0af | 2019-04-18 14:27:45 -0400 | [diff] [blame] | 504 | // 562 bytes of a gzipped FileDescriptorProto |
| 505 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x4f, 0x4f, 0xdb, 0x4e, |
| 506 | 0x10, 0x8d, 0x9d, 0x3f, 0xc0, 0x04, 0x82, 0x7f, 0xfb, 0x2b, 0x12, 0x45, 0xad, 0x14, 0xf9, 0x02, |
| 507 | 0x6d, 0x05, 0x48, 0xf4, 0x56, 0xb5, 0x87, 0xc5, 0x5e, 0xd2, 0x15, 0x66, 0x37, 0x5a, 0xdb, 0x20, |
| 508 | 0xf5, 0x40, 0x64, 0xe2, 0x25, 0x58, 0x4a, 0xbc, 0x56, 0xbc, 0x20, 0x71, 0xec, 0x07, 0xec, 0x57, |
| 509 | 0xe8, 0x67, 0xe8, 0xa9, 0xe7, 0x6a, 0xed, 0xa0, 0x24, 0x55, 0x6f, 0x7e, 0x6f, 0x66, 0xe7, 0xcd, |
| 510 | 0xf3, 0xcc, 0xc0, 0xc1, 0x93, 0x9a, 0xea, 0x87, 0x64, 0x54, 0xcc, 0x95, 0x56, 0xe5, 0xe9, 0x58, |
| 511 | 0xcd, 0x66, 0x2a, 0x3f, 0xa9, 0x10, 0xea, 0xd4, 0xe8, 0xa0, 0xbf, 0x9e, 0xf3, 0x9c, 0xe4, 0x93, |
| 512 | 0x91, 0x2a, 0x74, 0xa6, 0xf2, 0xb2, 0xce, 0x74, 0x5f, 0x81, 0x4d, 0x7d, 0xd4, 0x03, 0x3b, 0x4b, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 513 | 0xf7, 0xad, 0xbe, 0x75, 0xb4, 0x25, 0xec, 0x2c, 0x75, 0x0f, 0xa1, 0x49, 0xfd, 0x12, 0xf5, 0xa1, |
William Kurkian | 12fc0af | 2019-04-18 14:27:45 -0400 | [diff] [blame] | 514 | 0x9d, 0x69, 0x39, 0x2b, 0xf7, 0xad, 0x7e, 0xf3, 0xa8, 0x7b, 0x06, 0x27, 0x0b, 0x11, 0xea, 0x8b, |
| 515 | 0x3a, 0xe0, 0x8e, 0x61, 0x33, 0x50, 0x93, 0x40, 0x3e, 0xc9, 0xa9, 0x3b, 0x5c, 0x7e, 0xa3, 0x2d, |
| 516 | 0x68, 0xfb, 0xe4, 0x3c, 0x1e, 0x38, 0x0d, 0xb4, 0x09, 0x2d, 0xca, 0x2e, 0xb8, 0x63, 0xa1, 0x2e, |
| 517 | 0x6c, 0xdc, 0x60, 0xc1, 0x28, 0x1b, 0x38, 0xb6, 0xc9, 0x20, 0x42, 0x70, 0xe1, 0x34, 0xd1, 0x36, |
| 518 | 0x6c, 0x7a, 0x82, 0x46, 0xd4, 0xc3, 0x81, 0xd3, 0x32, 0x81, 0x0b, 0x1c, 0xe1, 0xc0, 0x69, 0x7f, |
| 519 | 0x6a, 0xff, 0xfa, 0xfd, 0xe3, 0x6d, 0xc3, 0xfd, 0x6e, 0x01, 0xe0, 0x74, 0x96, 0xe5, 0xa1, 0x4e, |
| 520 | 0xb4, 0x74, 0xa7, 0xab, 0xc8, 0x14, 0x8d, 0xd9, 0x25, 0xe3, 0x37, 0xcc, 0x69, 0x20, 0x04, 0xbd, |
| 521 | 0xa1, 0x20, 0x43, 0xc1, 0xaf, 0x69, 0x48, 0x39, 0x23, 0x7e, 0xad, 0x4a, 0x18, 0x3e, 0x0f, 0x88, |
| 522 | 0xef, 0xd8, 0x46, 0xca, 0xa7, 0x61, 0x8d, 0x9a, 0x68, 0x0f, 0xfe, 0xf3, 0xf9, 0x0d, 0x0b, 0x38, |
| 523 | 0xf6, 0x29, 0x1b, 0x8c, 0xe8, 0x15, 0x1e, 0x10, 0xa7, 0x65, 0x5e, 0xf8, 0x24, 0x20, 0x11, 0xf1, |
| 524 | 0x97, 0x3d, 0x94, 0x00, 0xbc, 0x90, 0x73, 0xa3, 0xf9, 0x58, 0xba, 0xb7, 0xab, 0x68, 0xbd, 0x85, |
| 525 | 0x1e, 0x80, 0x4f, 0x43, 0x8f, 0x5f, 0x13, 0x51, 0xc9, 0xf7, 0x00, 0xb0, 0x17, 0xd1, 0x6b, 0x1c, |
| 526 | 0xd5, 0xbe, 0xbb, 0xb0, 0x11, 0x91, 0xb0, 0x02, 0x4d, 0x04, 0xd0, 0xa9, 0x82, 0x46, 0x15, 0xa0, |
| 527 | 0x73, 0x81, 0x69, 0xb0, 0x2a, 0x1a, 0xc1, 0x8e, 0xa7, 0xf2, 0x5c, 0x8e, 0xf5, 0x42, 0xf7, 0xf3, |
| 528 | 0x5f, 0xc4, 0xba, 0xf4, 0x2e, 0x74, 0x63, 0x26, 0x08, 0xf6, 0xbe, 0x1a, 0x83, 0x8e, 0x85, 0x76, |
| 529 | 0x60, 0x6b, 0x09, 0xed, 0x97, 0xaa, 0x3f, 0x2d, 0xd8, 0x31, 0xdd, 0x27, 0x66, 0x0f, 0x84, 0x2c, |
| 530 | 0x0b, 0xf4, 0x05, 0x5a, 0x63, 0x95, 0xca, 0x6a, 0x01, 0x7a, 0x67, 0xef, 0x5e, 0xc6, 0xbc, 0x96, |
| 531 | 0xb4, 0x8a, 0xf4, 0xe3, 0x3c, 0xf7, 0x54, 0x2a, 0x45, 0xf5, 0x0c, 0x1d, 0xc2, 0x6e, 0x92, 0xa6, |
| 532 | 0x99, 0x89, 0x25, 0xd3, 0x51, 0x96, 0xdf, 0xab, 0x7d, 0xbb, 0x5a, 0xa5, 0xde, 0x92, 0xa6, 0xf9, |
| 533 | 0xbd, 0x72, 0x6f, 0xe1, 0xff, 0x7f, 0x54, 0x31, 0x63, 0xe0, 0x43, 0x22, 0x70, 0x44, 0x39, 0x1b, |
| 534 | 0x85, 0xb1, 0xe7, 0x91, 0x30, 0x74, 0x1a, 0xeb, 0xb4, 0xf9, 0x35, 0xb1, 0x30, 0xa6, 0x5e, 0xc3, |
| 535 | 0xde, 0x92, 0x8e, 0x59, 0x18, 0x0f, 0x87, 0x5c, 0x98, 0x59, 0xbd, 0x18, 0x7c, 0xff, 0x06, 0xb6, |
| 536 | 0x23, 0x59, 0xea, 0x2b, 0x95, 0xca, 0x4b, 0xf9, 0x5c, 0x9a, 0xa1, 0x27, 0x45, 0x36, 0xd2, 0xb2, |
| 537 | 0xd4, 0x4e, 0xe3, 0xfc, 0xf8, 0xdb, 0x87, 0x49, 0xa6, 0x1f, 0x1e, 0xef, 0x8c, 0xcd, 0x53, 0x55, |
| 538 | 0xc8, 0x7c, 0xac, 0xe6, 0xe9, 0x69, 0x7d, 0x29, 0xc7, 0x8b, 0x4b, 0x99, 0xa8, 0xc5, 0x41, 0xdd, |
| 539 | 0x75, 0x2a, 0xe6, 0xe3, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbd, 0x16, 0xe2, 0xd0, 0x6f, 0x03, |
| 540 | 0x00, 0x00, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 541 | } |