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