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 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 45 | // Administrative State |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 46 | type AdminState_Types int32 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 47 | |
| 48 | const ( |
| 49 | // The administrative state of the device is unknown |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 50 | AdminState_UNKNOWN AdminState_Types = 0 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 51 | // The device is pre-provisioned into Voltha, but not contacted by it |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 52 | AdminState_PREPROVISIONED AdminState_Types = 1 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 53 | // The device is enabled for activation and operation |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 54 | AdminState_ENABLED AdminState_Types = 2 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -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 | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 57 | AdminState_DISABLED AdminState_Types = 3 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 58 | // The device is in the state of image download |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 59 | AdminState_DOWNLOADING_IMAGE AdminState_Types = 4 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 60 | // The device is marked to be deleted |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 61 | AdminState_DELETED AdminState_Types = 5 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 62 | ) |
| 63 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 64 | var AdminState_Types_name = map[int32]string{ |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 65 | 0: "UNKNOWN", |
| 66 | 1: "PREPROVISIONED", |
| 67 | 2: "ENABLED", |
| 68 | 3: "DISABLED", |
| 69 | 4: "DOWNLOADING_IMAGE", |
| 70 | 5: "DELETED", |
| 71 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 72 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 73 | var AdminState_Types_value = map[string]int32{ |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -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 | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 82 | func (x AdminState_Types) String() string { |
| 83 | return proto.EnumName(AdminState_Types_name, int32(x)) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 84 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 85 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 86 | func (AdminState_Types) EnumDescriptor() ([]byte, []int) { |
divyadesai | d11cf31 | 2020-02-26 12:23:31 +0000 | [diff] [blame] | 87 | return fileDescriptor_c2e3fd231961e826, []int{2, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 88 | } |
| 89 | |
| 90 | // Operational Status |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 91 | type OperStatus_Types int32 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 92 | |
| 93 | const ( |
| 94 | // The status of the device is unknown at this point |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 95 | OperStatus_UNKNOWN OperStatus_Types = 0 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 96 | // The device has been discovered, but not yet activated |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 97 | OperStatus_DISCOVERED OperStatus_Types = 1 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 98 | // The device is being activated (booted, rebooted, upgraded, etc.) |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 99 | OperStatus_ACTIVATING OperStatus_Types = 2 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 100 | // Service impacting tests are being conducted |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 101 | OperStatus_TESTING OperStatus_Types = 3 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 102 | // The device is up and active |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 103 | OperStatus_ACTIVE OperStatus_Types = 4 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 104 | // The device has failed and cannot fulfill its intended role |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 105 | OperStatus_FAILED OperStatus_Types = 5 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 106 | ) |
| 107 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 108 | var OperStatus_Types_name = map[int32]string{ |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 109 | 0: "UNKNOWN", |
| 110 | 1: "DISCOVERED", |
| 111 | 2: "ACTIVATING", |
| 112 | 3: "TESTING", |
| 113 | 4: "ACTIVE", |
| 114 | 5: "FAILED", |
| 115 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 116 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 117 | var OperStatus_Types_value = map[string]int32{ |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -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 | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 126 | func (x OperStatus_Types) String() string { |
| 127 | return proto.EnumName(OperStatus_Types_name, int32(x)) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 128 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 129 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 130 | func (OperStatus_Types) EnumDescriptor() ([]byte, []int) { |
divyadesai | d11cf31 | 2020-02-26 12:23:31 +0000 | [diff] [blame] | 131 | return fileDescriptor_c2e3fd231961e826, []int{3, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 132 | } |
| 133 | |
| 134 | // Connectivity Status |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 135 | type ConnectStatus_Types int32 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 136 | |
| 137 | const ( |
| 138 | // The device connectivity status is unknown |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 139 | ConnectStatus_UNKNOWN ConnectStatus_Types = 0 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 140 | // The device cannot be reached by Voltha |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 141 | ConnectStatus_UNREACHABLE ConnectStatus_Types = 1 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 142 | // There is live communication between device and Voltha |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 143 | ConnectStatus_REACHABLE ConnectStatus_Types = 2 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 144 | ) |
| 145 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 146 | var ConnectStatus_Types_name = map[int32]string{ |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 147 | 0: "UNKNOWN", |
| 148 | 1: "UNREACHABLE", |
| 149 | 2: "REACHABLE", |
| 150 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 151 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 152 | var ConnectStatus_Types_value = map[string]int32{ |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 153 | "UNKNOWN": 0, |
| 154 | "UNREACHABLE": 1, |
| 155 | "REACHABLE": 2, |
| 156 | } |
| 157 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 158 | func (x ConnectStatus_Types) String() string { |
| 159 | return proto.EnumName(ConnectStatus_Types_name, int32(x)) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 160 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 161 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 162 | func (ConnectStatus_Types) EnumDescriptor() ([]byte, []int) { |
divyadesai | d11cf31 | 2020-02-26 12:23:31 +0000 | [diff] [blame] | 163 | return fileDescriptor_c2e3fd231961e826, []int{4, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -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 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 179 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 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 | } |
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 | func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) { |
divyadesai | d11cf31 | 2020-02-26 12:23:31 +0000 | [diff] [blame] | 191 | return fileDescriptor_c2e3fd231961e826, []int{5, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 192 | } |
| 193 | |
| 194 | // Convey a resource identifier |
| 195 | type ID struct { |
| 196 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 197 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 198 | XXX_unrecognized []byte `json:"-"` |
| 199 | XXX_sizecache int32 `json:"-"` |
| 200 | } |
| 201 | |
| 202 | func (m *ID) Reset() { *m = ID{} } |
| 203 | func (m *ID) String() string { return proto.CompactTextString(m) } |
| 204 | func (*ID) ProtoMessage() {} |
| 205 | func (*ID) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 206 | return fileDescriptor_c2e3fd231961e826, []int{0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 207 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 208 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 209 | func (m *ID) XXX_Unmarshal(b []byte) error { |
| 210 | return xxx_messageInfo_ID.Unmarshal(m, b) |
| 211 | } |
| 212 | func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 213 | return xxx_messageInfo_ID.Marshal(b, m, deterministic) |
| 214 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 215 | func (m *ID) XXX_Merge(src proto.Message) { |
| 216 | xxx_messageInfo_ID.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 217 | } |
| 218 | func (m *ID) XXX_Size() int { |
| 219 | return xxx_messageInfo_ID.Size(m) |
| 220 | } |
| 221 | func (m *ID) XXX_DiscardUnknown() { |
| 222 | xxx_messageInfo_ID.DiscardUnknown(m) |
| 223 | } |
| 224 | |
| 225 | var xxx_messageInfo_ID proto.InternalMessageInfo |
| 226 | |
| 227 | func (m *ID) GetId() string { |
| 228 | if m != nil { |
| 229 | return m.Id |
| 230 | } |
| 231 | return "" |
| 232 | } |
| 233 | |
| 234 | // Represents a list of IDs |
| 235 | type IDs struct { |
| 236 | Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 237 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 238 | XXX_unrecognized []byte `json:"-"` |
| 239 | XXX_sizecache int32 `json:"-"` |
| 240 | } |
| 241 | |
| 242 | func (m *IDs) Reset() { *m = IDs{} } |
| 243 | func (m *IDs) String() string { return proto.CompactTextString(m) } |
| 244 | func (*IDs) ProtoMessage() {} |
| 245 | func (*IDs) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 246 | return fileDescriptor_c2e3fd231961e826, []int{1} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 247 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 248 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 249 | func (m *IDs) XXX_Unmarshal(b []byte) error { |
| 250 | return xxx_messageInfo_IDs.Unmarshal(m, b) |
| 251 | } |
| 252 | func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 253 | return xxx_messageInfo_IDs.Marshal(b, m, deterministic) |
| 254 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 255 | func (m *IDs) XXX_Merge(src proto.Message) { |
| 256 | xxx_messageInfo_IDs.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 257 | } |
| 258 | func (m *IDs) XXX_Size() int { |
| 259 | return xxx_messageInfo_IDs.Size(m) |
| 260 | } |
| 261 | func (m *IDs) XXX_DiscardUnknown() { |
| 262 | xxx_messageInfo_IDs.DiscardUnknown(m) |
| 263 | } |
| 264 | |
| 265 | var xxx_messageInfo_IDs proto.InternalMessageInfo |
| 266 | |
| 267 | func (m *IDs) GetItems() []*ID { |
| 268 | if m != nil { |
| 269 | return m.Items |
| 270 | } |
| 271 | return nil |
| 272 | } |
| 273 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 274 | type AdminState struct { |
| 275 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 276 | XXX_unrecognized []byte `json:"-"` |
| 277 | XXX_sizecache int32 `json:"-"` |
| 278 | } |
| 279 | |
| 280 | func (m *AdminState) Reset() { *m = AdminState{} } |
| 281 | func (m *AdminState) String() string { return proto.CompactTextString(m) } |
| 282 | func (*AdminState) ProtoMessage() {} |
| 283 | func (*AdminState) Descriptor() ([]byte, []int) { |
divyadesai | d11cf31 | 2020-02-26 12:23:31 +0000 | [diff] [blame] | 284 | return fileDescriptor_c2e3fd231961e826, []int{2} |
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 *AdminState) XXX_Unmarshal(b []byte) error { |
| 288 | return xxx_messageInfo_AdminState.Unmarshal(m, b) |
| 289 | } |
| 290 | func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 291 | return xxx_messageInfo_AdminState.Marshal(b, m, deterministic) |
| 292 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 293 | func (m *AdminState) XXX_Merge(src proto.Message) { |
| 294 | xxx_messageInfo_AdminState.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 295 | } |
| 296 | func (m *AdminState) XXX_Size() int { |
| 297 | return xxx_messageInfo_AdminState.Size(m) |
| 298 | } |
| 299 | func (m *AdminState) XXX_DiscardUnknown() { |
| 300 | xxx_messageInfo_AdminState.DiscardUnknown(m) |
| 301 | } |
| 302 | |
| 303 | var xxx_messageInfo_AdminState proto.InternalMessageInfo |
| 304 | |
| 305 | type OperStatus struct { |
| 306 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 307 | XXX_unrecognized []byte `json:"-"` |
| 308 | XXX_sizecache int32 `json:"-"` |
| 309 | } |
| 310 | |
| 311 | func (m *OperStatus) Reset() { *m = OperStatus{} } |
| 312 | func (m *OperStatus) String() string { return proto.CompactTextString(m) } |
| 313 | func (*OperStatus) ProtoMessage() {} |
| 314 | func (*OperStatus) Descriptor() ([]byte, []int) { |
divyadesai | d11cf31 | 2020-02-26 12:23:31 +0000 | [diff] [blame] | 315 | return fileDescriptor_c2e3fd231961e826, []int{3} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 316 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 317 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 318 | func (m *OperStatus) XXX_Unmarshal(b []byte) error { |
| 319 | return xxx_messageInfo_OperStatus.Unmarshal(m, b) |
| 320 | } |
| 321 | func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 322 | return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic) |
| 323 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 324 | func (m *OperStatus) XXX_Merge(src proto.Message) { |
| 325 | xxx_messageInfo_OperStatus.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 326 | } |
| 327 | func (m *OperStatus) XXX_Size() int { |
| 328 | return xxx_messageInfo_OperStatus.Size(m) |
| 329 | } |
| 330 | func (m *OperStatus) XXX_DiscardUnknown() { |
| 331 | xxx_messageInfo_OperStatus.DiscardUnknown(m) |
| 332 | } |
| 333 | |
| 334 | var xxx_messageInfo_OperStatus proto.InternalMessageInfo |
| 335 | |
| 336 | type ConnectStatus struct { |
| 337 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 338 | XXX_unrecognized []byte `json:"-"` |
| 339 | XXX_sizecache int32 `json:"-"` |
| 340 | } |
| 341 | |
| 342 | func (m *ConnectStatus) Reset() { *m = ConnectStatus{} } |
| 343 | func (m *ConnectStatus) String() string { return proto.CompactTextString(m) } |
| 344 | func (*ConnectStatus) ProtoMessage() {} |
| 345 | func (*ConnectStatus) Descriptor() ([]byte, []int) { |
divyadesai | d11cf31 | 2020-02-26 12:23:31 +0000 | [diff] [blame] | 346 | return fileDescriptor_c2e3fd231961e826, []int{4} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 347 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 348 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 349 | func (m *ConnectStatus) XXX_Unmarshal(b []byte) error { |
| 350 | return xxx_messageInfo_ConnectStatus.Unmarshal(m, b) |
| 351 | } |
| 352 | func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 353 | return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic) |
| 354 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 355 | func (m *ConnectStatus) XXX_Merge(src proto.Message) { |
| 356 | xxx_messageInfo_ConnectStatus.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 357 | } |
| 358 | func (m *ConnectStatus) XXX_Size() int { |
| 359 | return xxx_messageInfo_ConnectStatus.Size(m) |
| 360 | } |
| 361 | func (m *ConnectStatus) XXX_DiscardUnknown() { |
| 362 | xxx_messageInfo_ConnectStatus.DiscardUnknown(m) |
| 363 | } |
| 364 | |
| 365 | var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo |
| 366 | |
| 367 | type OperationResp struct { |
| 368 | // Return code |
William Kurkian | 12fc0af | 2019-04-18 14:27:45 -0400 | [diff] [blame] | 369 | 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] | 370 | // Additional Info |
| 371 | AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"` |
| 372 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 373 | XXX_unrecognized []byte `json:"-"` |
| 374 | XXX_sizecache int32 `json:"-"` |
| 375 | } |
| 376 | |
| 377 | func (m *OperationResp) Reset() { *m = OperationResp{} } |
| 378 | func (m *OperationResp) String() string { return proto.CompactTextString(m) } |
| 379 | func (*OperationResp) ProtoMessage() {} |
| 380 | func (*OperationResp) Descriptor() ([]byte, []int) { |
divyadesai | d11cf31 | 2020-02-26 12:23:31 +0000 | [diff] [blame] | 381 | return fileDescriptor_c2e3fd231961e826, []int{5} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 382 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 383 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 384 | func (m *OperationResp) XXX_Unmarshal(b []byte) error { |
| 385 | return xxx_messageInfo_OperationResp.Unmarshal(m, b) |
| 386 | } |
| 387 | func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 388 | return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic) |
| 389 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 390 | func (m *OperationResp) XXX_Merge(src proto.Message) { |
| 391 | xxx_messageInfo_OperationResp.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 392 | } |
| 393 | func (m *OperationResp) XXX_Size() int { |
| 394 | return xxx_messageInfo_OperationResp.Size(m) |
| 395 | } |
| 396 | func (m *OperationResp) XXX_DiscardUnknown() { |
| 397 | xxx_messageInfo_OperationResp.DiscardUnknown(m) |
| 398 | } |
| 399 | |
| 400 | var xxx_messageInfo_OperationResp proto.InternalMessageInfo |
| 401 | |
| 402 | func (m *OperationResp) GetCode() OperationResp_OperationReturnCode { |
| 403 | if m != nil { |
| 404 | return m.Code |
| 405 | } |
| 406 | return OperationResp_OPERATION_SUCCESS |
| 407 | } |
| 408 | |
| 409 | func (m *OperationResp) GetAdditionalInfo() string { |
| 410 | if m != nil { |
| 411 | return m.AdditionalInfo |
| 412 | } |
| 413 | return "" |
| 414 | } |
| 415 | |
| 416 | func init() { |
William Kurkian | 12fc0af | 2019-04-18 14:27:45 -0400 | [diff] [blame] | 417 | proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value) |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 418 | proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value) |
| 419 | proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value) |
| 420 | proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value) |
William Kurkian | 12fc0af | 2019-04-18 14:27:45 -0400 | [diff] [blame] | 421 | proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value) |
| 422 | proto.RegisterType((*ID)(nil), "common.ID") |
| 423 | proto.RegisterType((*IDs)(nil), "common.IDs") |
William Kurkian | 12fc0af | 2019-04-18 14:27:45 -0400 | [diff] [blame] | 424 | proto.RegisterType((*AdminState)(nil), "common.AdminState") |
| 425 | proto.RegisterType((*OperStatus)(nil), "common.OperStatus") |
| 426 | proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus") |
| 427 | proto.RegisterType((*OperationResp)(nil), "common.OperationResp") |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 428 | } |
| 429 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 430 | func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) } |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 431 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 432 | var fileDescriptor_c2e3fd231961e826 = []byte{ |
divyadesai | d11cf31 | 2020-02-26 12:23:31 +0000 | [diff] [blame] | 433 | // 480 bytes of a gzipped FileDescriptorProto |
| 434 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0xd1, 0x4e, 0xdb, 0x30, |
| 435 | 0x14, 0x6d, 0x52, 0xda, 0x8d, 0x5b, 0x1a, 0x32, 0x33, 0xa4, 0x6e, 0xda, 0x43, 0x95, 0x17, 0xd8, |
| 436 | 0xa4, 0xb5, 0x12, 0xec, 0x75, 0x0f, 0x21, 0xf6, 0x3a, 0x8b, 0x62, 0x57, 0x4e, 0x52, 0xb4, 0x3d, |
| 437 | 0xac, 0x0a, 0x8d, 0x29, 0x91, 0x68, 0x1c, 0x25, 0x2e, 0x12, 0x5f, 0xba, 0xdf, 0x99, 0x9c, 0x14, |
| 438 | 0x75, 0x48, 0x7d, 0x3c, 0xe7, 0x5c, 0xdf, 0xe3, 0x7b, 0xee, 0x85, 0x8f, 0x4f, 0xea, 0x51, 0x3f, |
| 439 | 0x24, 0x8b, 0xa2, 0x54, 0x5a, 0x55, 0xe3, 0xa5, 0x5a, 0xaf, 0x55, 0x3e, 0xaa, 0x11, 0xea, 0x36, |
| 440 | 0xc8, 0x7b, 0x0f, 0x36, 0xc5, 0xc8, 0x01, 0x3b, 0x4b, 0x07, 0xd6, 0xd0, 0x3a, 0x3f, 0x14, 0x76, |
| 441 | 0x96, 0x7a, 0x67, 0xd0, 0xa6, 0xb8, 0x42, 0x43, 0xe8, 0x64, 0x5a, 0xae, 0xab, 0x81, 0x35, 0x6c, |
| 442 | 0x9f, 0xf7, 0x2e, 0x60, 0xb4, 0x6d, 0x41, 0xb1, 0x68, 0x04, 0x6f, 0x03, 0xe0, 0xa7, 0xeb, 0x2c, |
| 443 | 0x0f, 0x75, 0xa2, 0xa5, 0xb7, 0x82, 0x4e, 0xf4, 0x5c, 0xc8, 0x0a, 0xf5, 0xe0, 0x4d, 0xcc, 0xae, |
| 444 | 0x19, 0xbf, 0x65, 0x6e, 0x0b, 0x21, 0x70, 0x66, 0x82, 0xcc, 0x04, 0x9f, 0xd3, 0x90, 0x72, 0x46, |
| 445 | 0xb0, 0x6b, 0x99, 0x02, 0xc2, 0xfc, 0xab, 0x29, 0xc1, 0xae, 0x8d, 0x8e, 0xe0, 0x2d, 0xa6, 0x61, |
| 446 | 0x83, 0xda, 0xe8, 0x14, 0xde, 0x61, 0x7e, 0xcb, 0xa6, 0xdc, 0xc7, 0x94, 0x4d, 0x16, 0xf4, 0xc6, |
| 447 | 0x9f, 0x10, 0xf7, 0xc0, 0xbc, 0xc0, 0x64, 0x4a, 0x22, 0x82, 0xdd, 0x8e, 0xb7, 0x02, 0xe0, 0x85, |
| 448 | 0x2c, 0x8d, 0xeb, 0xa6, 0xf2, 0x7e, 0xed, 0xb5, 0x75, 0x00, 0x30, 0x0d, 0x03, 0x3e, 0x27, 0xa2, |
| 449 | 0xb6, 0x74, 0x00, 0xfc, 0x20, 0xa2, 0x73, 0x3f, 0xa2, 0x6c, 0xe2, 0xda, 0xa6, 0x38, 0x22, 0x61, |
| 450 | 0x0d, 0xda, 0x08, 0xa0, 0x5b, 0x8b, 0xc6, 0x09, 0xa0, 0xfb, 0xc3, 0xa7, 0xd3, 0xda, 0x88, 0x40, |
| 451 | 0x3f, 0x50, 0x79, 0x2e, 0x97, 0x7a, 0xeb, 0xf5, 0x6d, 0xaf, 0xd7, 0x31, 0xf4, 0x62, 0x26, 0x88, |
| 452 | 0x1f, 0xfc, 0x34, 0x53, 0xb8, 0x16, 0xea, 0xc3, 0xe1, 0x0e, 0xda, 0xde, 0x5f, 0x0b, 0xfa, 0xe6, |
| 453 | 0xc3, 0x89, 0xce, 0x54, 0x2e, 0x64, 0x55, 0xa0, 0xef, 0x70, 0xb0, 0x54, 0xa9, 0xac, 0x33, 0x77, |
| 454 | 0x2e, 0x3e, 0xbf, 0x24, 0xfb, 0xaa, 0xe8, 0x7f, 0xa4, 0x37, 0x65, 0x1e, 0xa8, 0x54, 0x8a, 0xfa, |
| 455 | 0x19, 0x3a, 0x83, 0xe3, 0x24, 0x4d, 0x33, 0xa3, 0x25, 0x8f, 0x8b, 0x2c, 0xbf, 0x57, 0x03, 0xbb, |
| 456 | 0xde, 0x9e, 0xb3, 0xa3, 0x69, 0x7e, 0xaf, 0xbc, 0x3f, 0x70, 0xb2, 0xa7, 0x8b, 0x09, 0x99, 0xcf, |
| 457 | 0x88, 0xf0, 0x23, 0xca, 0xd9, 0x22, 0x8c, 0x83, 0x80, 0x84, 0xa1, 0xdb, 0x7a, 0x4d, 0x9b, 0x10, |
| 458 | 0x62, 0x61, 0xa6, 0xf9, 0x00, 0xa7, 0x3b, 0x3a, 0x66, 0x61, 0x3c, 0x9b, 0x71, 0x61, 0x36, 0x61, |
| 459 | 0x7f, 0xf9, 0x04, 0x47, 0x91, 0xac, 0xf4, 0x8d, 0x4a, 0xe5, 0xb5, 0x7c, 0xae, 0xcc, 0x2e, 0x93, |
| 460 | 0x22, 0x5b, 0x68, 0x59, 0x69, 0xb7, 0x75, 0x45, 0xe0, 0x44, 0x95, 0xab, 0x91, 0x2a, 0x64, 0xbe, |
| 461 | 0x54, 0x65, 0x3a, 0x6a, 0x0e, 0xf2, 0xf7, 0x68, 0x95, 0xe9, 0x87, 0xcd, 0x9d, 0x19, 0x7a, 0xfc, |
| 462 | 0xa2, 0x8d, 0x1b, 0xed, 0xeb, 0xf6, 0x58, 0x9f, 0x2e, 0xc7, 0x2b, 0xb5, 0x3d, 0xd9, 0xbb, 0x6e, |
| 463 | 0x4d, 0x5e, 0xfe, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xd2, 0x21, 0x5c, 0x35, 0xd1, 0x02, 0x00, 0x00, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 464 | } |