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/inter_container.proto |
| 3 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 4 | package inter_container |
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 | any "github.com/golang/protobuf/ptypes/any" |
| 10 | openflow_13 "github.com/opencord/voltha-protos/go/openflow_13" |
| 11 | voltha "github.com/opencord/voltha-protos/go/voltha" |
| 12 | math "math" |
| 13 | ) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 14 | |
| 15 | // Reference imports to suppress errors if they are not otherwise used. |
| 16 | var _ = proto.Marshal |
| 17 | var _ = fmt.Errorf |
| 18 | var _ = math.Inf |
| 19 | |
| 20 | // This is a compile-time assertion to ensure that this generated file |
| 21 | // is compatible with the proto package it is being compiled against. |
| 22 | // A compilation error at this line likely means your copy of the |
| 23 | // proto package needs to be updated. |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 24 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 25 | |
| 26 | // LogicalPortId from public import voltha_protos/logical_device.proto |
| 27 | type LogicalPortId = voltha.LogicalPortId |
| 28 | |
| 29 | // LogicalPort from public import voltha_protos/logical_device.proto |
| 30 | type LogicalPort = voltha.LogicalPort |
| 31 | |
| 32 | // LogicalPorts from public import voltha_protos/logical_device.proto |
| 33 | type LogicalPorts = voltha.LogicalPorts |
| 34 | |
| 35 | // LogicalDevice from public import voltha_protos/logical_device.proto |
| 36 | type LogicalDevice = voltha.LogicalDevice |
| 37 | |
| 38 | // LogicalDevices from public import voltha_protos/logical_device.proto |
| 39 | type LogicalDevices = voltha.LogicalDevices |
| 40 | |
| 41 | type MessageType int32 |
| 42 | |
| 43 | const ( |
| 44 | MessageType_REQUEST MessageType = 0 |
| 45 | MessageType_RESPONSE MessageType = 1 |
| 46 | MessageType_DEVICE_DISCOVERED MessageType = 2 |
| 47 | ) |
| 48 | |
| 49 | var MessageType_name = map[int32]string{ |
| 50 | 0: "REQUEST", |
| 51 | 1: "RESPONSE", |
| 52 | 2: "DEVICE_DISCOVERED", |
| 53 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 54 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 55 | var MessageType_value = map[string]int32{ |
| 56 | "REQUEST": 0, |
| 57 | "RESPONSE": 1, |
| 58 | "DEVICE_DISCOVERED": 2, |
| 59 | } |
| 60 | |
| 61 | func (x MessageType) String() string { |
| 62 | return proto.EnumName(MessageType_name, int32(x)) |
| 63 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 64 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 65 | func (MessageType) EnumDescriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 66 | return fileDescriptor_941f0031a549667f, []int{0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 67 | } |
| 68 | |
| 69 | type ErrorCodeCodes int32 |
| 70 | |
| 71 | const ( |
| 72 | ErrorCode_UNSUPPORTED_REQUEST ErrorCodeCodes = 0 |
| 73 | ErrorCode_INVALID_PARAMETERS ErrorCodeCodes = 1 |
| 74 | ) |
| 75 | |
| 76 | var ErrorCodeCodes_name = map[int32]string{ |
| 77 | 0: "UNSUPPORTED_REQUEST", |
| 78 | 1: "INVALID_PARAMETERS", |
| 79 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 80 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 81 | var ErrorCodeCodes_value = map[string]int32{ |
| 82 | "UNSUPPORTED_REQUEST": 0, |
| 83 | "INVALID_PARAMETERS": 1, |
| 84 | } |
| 85 | |
| 86 | func (x ErrorCodeCodes) String() string { |
| 87 | return proto.EnumName(ErrorCodeCodes_name, int32(x)) |
| 88 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 89 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 90 | func (ErrorCodeCodes) EnumDescriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 91 | return fileDescriptor_941f0031a549667f, []int{4, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 92 | } |
| 93 | |
| 94 | type InterAdapterMessageType_Types int32 |
| 95 | |
| 96 | const ( |
Matt Jeanneret | 15249fa | 2019-04-12 20:25:31 -0400 | [diff] [blame] | 97 | InterAdapterMessageType_FLOW_REQUEST InterAdapterMessageType_Types = 0 |
| 98 | InterAdapterMessageType_FLOW_RESPONSE InterAdapterMessageType_Types = 1 |
| 99 | InterAdapterMessageType_OMCI_REQUEST InterAdapterMessageType_Types = 2 |
| 100 | InterAdapterMessageType_OMCI_RESPONSE InterAdapterMessageType_Types = 3 |
| 101 | InterAdapterMessageType_METRICS_REQUEST InterAdapterMessageType_Types = 4 |
| 102 | InterAdapterMessageType_METRICS_RESPONSE InterAdapterMessageType_Types = 5 |
| 103 | InterAdapterMessageType_ONU_IND_REQUEST InterAdapterMessageType_Types = 6 |
| 104 | InterAdapterMessageType_ONU_IND_RESPONSE InterAdapterMessageType_Types = 7 |
| 105 | InterAdapterMessageType_TECH_PROFILE_DOWNLOAD_REQUEST InterAdapterMessageType_Types = 8 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 106 | ) |
| 107 | |
| 108 | var InterAdapterMessageType_Types_name = map[int32]string{ |
| 109 | 0: "FLOW_REQUEST", |
| 110 | 1: "FLOW_RESPONSE", |
| 111 | 2: "OMCI_REQUEST", |
| 112 | 3: "OMCI_RESPONSE", |
| 113 | 4: "METRICS_REQUEST", |
| 114 | 5: "METRICS_RESPONSE", |
Matt Jeanneret | 4604c42 | 2019-03-14 19:04:43 -0400 | [diff] [blame] | 115 | 6: "ONU_IND_REQUEST", |
| 116 | 7: "ONU_IND_RESPONSE", |
Matt Jeanneret | 15249fa | 2019-04-12 20:25:31 -0400 | [diff] [blame] | 117 | 8: "TECH_PROFILE_DOWNLOAD_REQUEST", |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 118 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 119 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 120 | var InterAdapterMessageType_Types_value = map[string]int32{ |
Matt Jeanneret | 15249fa | 2019-04-12 20:25:31 -0400 | [diff] [blame] | 121 | "FLOW_REQUEST": 0, |
| 122 | "FLOW_RESPONSE": 1, |
| 123 | "OMCI_REQUEST": 2, |
| 124 | "OMCI_RESPONSE": 3, |
| 125 | "METRICS_REQUEST": 4, |
| 126 | "METRICS_RESPONSE": 5, |
| 127 | "ONU_IND_REQUEST": 6, |
| 128 | "ONU_IND_RESPONSE": 7, |
| 129 | "TECH_PROFILE_DOWNLOAD_REQUEST": 8, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 130 | } |
| 131 | |
| 132 | func (x InterAdapterMessageType_Types) String() string { |
| 133 | return proto.EnumName(InterAdapterMessageType_Types_name, int32(x)) |
| 134 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 135 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 136 | func (InterAdapterMessageType_Types) EnumDescriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 137 | return fileDescriptor_941f0031a549667f, []int{14, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 138 | } |
| 139 | |
| 140 | type StrType struct { |
| 141 | Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` |
| 142 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 143 | XXX_unrecognized []byte `json:"-"` |
| 144 | XXX_sizecache int32 `json:"-"` |
| 145 | } |
| 146 | |
| 147 | func (m *StrType) Reset() { *m = StrType{} } |
| 148 | func (m *StrType) String() string { return proto.CompactTextString(m) } |
| 149 | func (*StrType) ProtoMessage() {} |
| 150 | func (*StrType) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 151 | return fileDescriptor_941f0031a549667f, []int{0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 152 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 153 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 154 | func (m *StrType) XXX_Unmarshal(b []byte) error { |
| 155 | return xxx_messageInfo_StrType.Unmarshal(m, b) |
| 156 | } |
| 157 | func (m *StrType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 158 | return xxx_messageInfo_StrType.Marshal(b, m, deterministic) |
| 159 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 160 | func (m *StrType) XXX_Merge(src proto.Message) { |
| 161 | xxx_messageInfo_StrType.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 162 | } |
| 163 | func (m *StrType) XXX_Size() int { |
| 164 | return xxx_messageInfo_StrType.Size(m) |
| 165 | } |
| 166 | func (m *StrType) XXX_DiscardUnknown() { |
| 167 | xxx_messageInfo_StrType.DiscardUnknown(m) |
| 168 | } |
| 169 | |
| 170 | var xxx_messageInfo_StrType proto.InternalMessageInfo |
| 171 | |
| 172 | func (m *StrType) GetVal() string { |
| 173 | if m != nil { |
| 174 | return m.Val |
| 175 | } |
| 176 | return "" |
| 177 | } |
| 178 | |
| 179 | type IntType struct { |
| 180 | Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` |
| 181 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 182 | XXX_unrecognized []byte `json:"-"` |
| 183 | XXX_sizecache int32 `json:"-"` |
| 184 | } |
| 185 | |
| 186 | func (m *IntType) Reset() { *m = IntType{} } |
| 187 | func (m *IntType) String() string { return proto.CompactTextString(m) } |
| 188 | func (*IntType) ProtoMessage() {} |
| 189 | func (*IntType) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 190 | return fileDescriptor_941f0031a549667f, []int{1} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 191 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 192 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 193 | func (m *IntType) XXX_Unmarshal(b []byte) error { |
| 194 | return xxx_messageInfo_IntType.Unmarshal(m, b) |
| 195 | } |
| 196 | func (m *IntType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 197 | return xxx_messageInfo_IntType.Marshal(b, m, deterministic) |
| 198 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 199 | func (m *IntType) XXX_Merge(src proto.Message) { |
| 200 | xxx_messageInfo_IntType.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 201 | } |
| 202 | func (m *IntType) XXX_Size() int { |
| 203 | return xxx_messageInfo_IntType.Size(m) |
| 204 | } |
| 205 | func (m *IntType) XXX_DiscardUnknown() { |
| 206 | xxx_messageInfo_IntType.DiscardUnknown(m) |
| 207 | } |
| 208 | |
| 209 | var xxx_messageInfo_IntType proto.InternalMessageInfo |
| 210 | |
| 211 | func (m *IntType) GetVal() int64 { |
| 212 | if m != nil { |
| 213 | return m.Val |
| 214 | } |
| 215 | return 0 |
| 216 | } |
| 217 | |
| 218 | type BoolType struct { |
| 219 | Val bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` |
| 220 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 221 | XXX_unrecognized []byte `json:"-"` |
| 222 | XXX_sizecache int32 `json:"-"` |
| 223 | } |
| 224 | |
| 225 | func (m *BoolType) Reset() { *m = BoolType{} } |
| 226 | func (m *BoolType) String() string { return proto.CompactTextString(m) } |
| 227 | func (*BoolType) ProtoMessage() {} |
| 228 | func (*BoolType) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 229 | return fileDescriptor_941f0031a549667f, []int{2} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 230 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 231 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 232 | func (m *BoolType) XXX_Unmarshal(b []byte) error { |
| 233 | return xxx_messageInfo_BoolType.Unmarshal(m, b) |
| 234 | } |
| 235 | func (m *BoolType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 236 | return xxx_messageInfo_BoolType.Marshal(b, m, deterministic) |
| 237 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 238 | func (m *BoolType) XXX_Merge(src proto.Message) { |
| 239 | xxx_messageInfo_BoolType.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 240 | } |
| 241 | func (m *BoolType) XXX_Size() int { |
| 242 | return xxx_messageInfo_BoolType.Size(m) |
| 243 | } |
| 244 | func (m *BoolType) XXX_DiscardUnknown() { |
| 245 | xxx_messageInfo_BoolType.DiscardUnknown(m) |
| 246 | } |
| 247 | |
| 248 | var xxx_messageInfo_BoolType proto.InternalMessageInfo |
| 249 | |
| 250 | func (m *BoolType) GetVal() bool { |
| 251 | if m != nil { |
| 252 | return m.Val |
| 253 | } |
| 254 | return false |
| 255 | } |
| 256 | |
| 257 | type Packet struct { |
| 258 | Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` |
| 259 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 260 | XXX_unrecognized []byte `json:"-"` |
| 261 | XXX_sizecache int32 `json:"-"` |
| 262 | } |
| 263 | |
| 264 | func (m *Packet) Reset() { *m = Packet{} } |
| 265 | func (m *Packet) String() string { return proto.CompactTextString(m) } |
| 266 | func (*Packet) ProtoMessage() {} |
| 267 | func (*Packet) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 268 | return fileDescriptor_941f0031a549667f, []int{3} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 269 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 270 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 271 | func (m *Packet) XXX_Unmarshal(b []byte) error { |
| 272 | return xxx_messageInfo_Packet.Unmarshal(m, b) |
| 273 | } |
| 274 | func (m *Packet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 275 | return xxx_messageInfo_Packet.Marshal(b, m, deterministic) |
| 276 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 277 | func (m *Packet) XXX_Merge(src proto.Message) { |
| 278 | xxx_messageInfo_Packet.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 279 | } |
| 280 | func (m *Packet) XXX_Size() int { |
| 281 | return xxx_messageInfo_Packet.Size(m) |
| 282 | } |
| 283 | func (m *Packet) XXX_DiscardUnknown() { |
| 284 | xxx_messageInfo_Packet.DiscardUnknown(m) |
| 285 | } |
| 286 | |
| 287 | var xxx_messageInfo_Packet proto.InternalMessageInfo |
| 288 | |
| 289 | func (m *Packet) GetPayload() []byte { |
| 290 | if m != nil { |
| 291 | return m.Payload |
| 292 | } |
| 293 | return nil |
| 294 | } |
| 295 | |
| 296 | type ErrorCode struct { |
| 297 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 298 | XXX_unrecognized []byte `json:"-"` |
| 299 | XXX_sizecache int32 `json:"-"` |
| 300 | } |
| 301 | |
| 302 | func (m *ErrorCode) Reset() { *m = ErrorCode{} } |
| 303 | func (m *ErrorCode) String() string { return proto.CompactTextString(m) } |
| 304 | func (*ErrorCode) ProtoMessage() {} |
| 305 | func (*ErrorCode) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 306 | return fileDescriptor_941f0031a549667f, []int{4} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 307 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 308 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 309 | func (m *ErrorCode) XXX_Unmarshal(b []byte) error { |
| 310 | return xxx_messageInfo_ErrorCode.Unmarshal(m, b) |
| 311 | } |
| 312 | func (m *ErrorCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 313 | return xxx_messageInfo_ErrorCode.Marshal(b, m, deterministic) |
| 314 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 315 | func (m *ErrorCode) XXX_Merge(src proto.Message) { |
| 316 | xxx_messageInfo_ErrorCode.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 317 | } |
| 318 | func (m *ErrorCode) XXX_Size() int { |
| 319 | return xxx_messageInfo_ErrorCode.Size(m) |
| 320 | } |
| 321 | func (m *ErrorCode) XXX_DiscardUnknown() { |
| 322 | xxx_messageInfo_ErrorCode.DiscardUnknown(m) |
| 323 | } |
| 324 | |
| 325 | var xxx_messageInfo_ErrorCode proto.InternalMessageInfo |
| 326 | |
| 327 | type Error struct { |
| 328 | Code *ErrorCode `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` |
| 329 | Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` |
| 330 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 331 | XXX_unrecognized []byte `json:"-"` |
| 332 | XXX_sizecache int32 `json:"-"` |
| 333 | } |
| 334 | |
| 335 | func (m *Error) Reset() { *m = Error{} } |
| 336 | func (m *Error) String() string { return proto.CompactTextString(m) } |
| 337 | func (*Error) ProtoMessage() {} |
| 338 | func (*Error) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 339 | return fileDescriptor_941f0031a549667f, []int{5} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 340 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 341 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 342 | func (m *Error) XXX_Unmarshal(b []byte) error { |
| 343 | return xxx_messageInfo_Error.Unmarshal(m, b) |
| 344 | } |
| 345 | func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 346 | return xxx_messageInfo_Error.Marshal(b, m, deterministic) |
| 347 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 348 | func (m *Error) XXX_Merge(src proto.Message) { |
| 349 | xxx_messageInfo_Error.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 350 | } |
| 351 | func (m *Error) XXX_Size() int { |
| 352 | return xxx_messageInfo_Error.Size(m) |
| 353 | } |
| 354 | func (m *Error) XXX_DiscardUnknown() { |
| 355 | xxx_messageInfo_Error.DiscardUnknown(m) |
| 356 | } |
| 357 | |
| 358 | var xxx_messageInfo_Error proto.InternalMessageInfo |
| 359 | |
| 360 | func (m *Error) GetCode() *ErrorCode { |
| 361 | if m != nil { |
| 362 | return m.Code |
| 363 | } |
| 364 | return nil |
| 365 | } |
| 366 | |
| 367 | func (m *Error) GetReason() string { |
| 368 | if m != nil { |
| 369 | return m.Reason |
| 370 | } |
| 371 | return "" |
| 372 | } |
| 373 | |
| 374 | type Header struct { |
| 375 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 376 | Type MessageType `protobuf:"varint,2,opt,name=type,proto3,enum=voltha.MessageType" json:"type,omitempty"` |
| 377 | FromTopic string `protobuf:"bytes,3,opt,name=from_topic,json=fromTopic,proto3" json:"from_topic,omitempty"` |
| 378 | ToTopic string `protobuf:"bytes,4,opt,name=to_topic,json=toTopic,proto3" json:"to_topic,omitempty"` |
| 379 | KeyTopic string `protobuf:"bytes,5,opt,name=key_topic,json=keyTopic,proto3" json:"key_topic,omitempty"` |
| 380 | Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` |
| 381 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 382 | XXX_unrecognized []byte `json:"-"` |
| 383 | XXX_sizecache int32 `json:"-"` |
| 384 | } |
| 385 | |
| 386 | func (m *Header) Reset() { *m = Header{} } |
| 387 | func (m *Header) String() string { return proto.CompactTextString(m) } |
| 388 | func (*Header) ProtoMessage() {} |
| 389 | func (*Header) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 390 | return fileDescriptor_941f0031a549667f, []int{6} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 391 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 392 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 393 | func (m *Header) XXX_Unmarshal(b []byte) error { |
| 394 | return xxx_messageInfo_Header.Unmarshal(m, b) |
| 395 | } |
| 396 | func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 397 | return xxx_messageInfo_Header.Marshal(b, m, deterministic) |
| 398 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 399 | func (m *Header) XXX_Merge(src proto.Message) { |
| 400 | xxx_messageInfo_Header.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 401 | } |
| 402 | func (m *Header) XXX_Size() int { |
| 403 | return xxx_messageInfo_Header.Size(m) |
| 404 | } |
| 405 | func (m *Header) XXX_DiscardUnknown() { |
| 406 | xxx_messageInfo_Header.DiscardUnknown(m) |
| 407 | } |
| 408 | |
| 409 | var xxx_messageInfo_Header proto.InternalMessageInfo |
| 410 | |
| 411 | func (m *Header) GetId() string { |
| 412 | if m != nil { |
| 413 | return m.Id |
| 414 | } |
| 415 | return "" |
| 416 | } |
| 417 | |
| 418 | func (m *Header) GetType() MessageType { |
| 419 | if m != nil { |
| 420 | return m.Type |
| 421 | } |
| 422 | return MessageType_REQUEST |
| 423 | } |
| 424 | |
| 425 | func (m *Header) GetFromTopic() string { |
| 426 | if m != nil { |
| 427 | return m.FromTopic |
| 428 | } |
| 429 | return "" |
| 430 | } |
| 431 | |
| 432 | func (m *Header) GetToTopic() string { |
| 433 | if m != nil { |
| 434 | return m.ToTopic |
| 435 | } |
| 436 | return "" |
| 437 | } |
| 438 | |
| 439 | func (m *Header) GetKeyTopic() string { |
| 440 | if m != nil { |
| 441 | return m.KeyTopic |
| 442 | } |
| 443 | return "" |
| 444 | } |
| 445 | |
| 446 | func (m *Header) GetTimestamp() int64 { |
| 447 | if m != nil { |
| 448 | return m.Timestamp |
| 449 | } |
| 450 | return 0 |
| 451 | } |
| 452 | |
| 453 | type Argument struct { |
| 454 | Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` |
| 455 | Value *any.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| 456 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 457 | XXX_unrecognized []byte `json:"-"` |
| 458 | XXX_sizecache int32 `json:"-"` |
| 459 | } |
| 460 | |
| 461 | func (m *Argument) Reset() { *m = Argument{} } |
| 462 | func (m *Argument) String() string { return proto.CompactTextString(m) } |
| 463 | func (*Argument) ProtoMessage() {} |
| 464 | func (*Argument) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 465 | return fileDescriptor_941f0031a549667f, []int{7} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 466 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 467 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 468 | func (m *Argument) XXX_Unmarshal(b []byte) error { |
| 469 | return xxx_messageInfo_Argument.Unmarshal(m, b) |
| 470 | } |
| 471 | func (m *Argument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 472 | return xxx_messageInfo_Argument.Marshal(b, m, deterministic) |
| 473 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 474 | func (m *Argument) XXX_Merge(src proto.Message) { |
| 475 | xxx_messageInfo_Argument.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 476 | } |
| 477 | func (m *Argument) XXX_Size() int { |
| 478 | return xxx_messageInfo_Argument.Size(m) |
| 479 | } |
| 480 | func (m *Argument) XXX_DiscardUnknown() { |
| 481 | xxx_messageInfo_Argument.DiscardUnknown(m) |
| 482 | } |
| 483 | |
| 484 | var xxx_messageInfo_Argument proto.InternalMessageInfo |
| 485 | |
| 486 | func (m *Argument) GetKey() string { |
| 487 | if m != nil { |
| 488 | return m.Key |
| 489 | } |
| 490 | return "" |
| 491 | } |
| 492 | |
| 493 | func (m *Argument) GetValue() *any.Any { |
| 494 | if m != nil { |
| 495 | return m.Value |
| 496 | } |
| 497 | return nil |
| 498 | } |
| 499 | |
| 500 | type InterContainerMessage struct { |
| 501 | Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` |
| 502 | Body *any.Any `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` |
| 503 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 504 | XXX_unrecognized []byte `json:"-"` |
| 505 | XXX_sizecache int32 `json:"-"` |
| 506 | } |
| 507 | |
| 508 | func (m *InterContainerMessage) Reset() { *m = InterContainerMessage{} } |
| 509 | func (m *InterContainerMessage) String() string { return proto.CompactTextString(m) } |
| 510 | func (*InterContainerMessage) ProtoMessage() {} |
| 511 | func (*InterContainerMessage) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 512 | return fileDescriptor_941f0031a549667f, []int{8} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 513 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 514 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 515 | func (m *InterContainerMessage) XXX_Unmarshal(b []byte) error { |
| 516 | return xxx_messageInfo_InterContainerMessage.Unmarshal(m, b) |
| 517 | } |
| 518 | func (m *InterContainerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 519 | return xxx_messageInfo_InterContainerMessage.Marshal(b, m, deterministic) |
| 520 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 521 | func (m *InterContainerMessage) XXX_Merge(src proto.Message) { |
| 522 | xxx_messageInfo_InterContainerMessage.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 523 | } |
| 524 | func (m *InterContainerMessage) XXX_Size() int { |
| 525 | return xxx_messageInfo_InterContainerMessage.Size(m) |
| 526 | } |
| 527 | func (m *InterContainerMessage) XXX_DiscardUnknown() { |
| 528 | xxx_messageInfo_InterContainerMessage.DiscardUnknown(m) |
| 529 | } |
| 530 | |
| 531 | var xxx_messageInfo_InterContainerMessage proto.InternalMessageInfo |
| 532 | |
| 533 | func (m *InterContainerMessage) GetHeader() *Header { |
| 534 | if m != nil { |
| 535 | return m.Header |
| 536 | } |
| 537 | return nil |
| 538 | } |
| 539 | |
| 540 | func (m *InterContainerMessage) GetBody() *any.Any { |
| 541 | if m != nil { |
| 542 | return m.Body |
| 543 | } |
| 544 | return nil |
| 545 | } |
| 546 | |
| 547 | type InterContainerRequestBody struct { |
| 548 | Rpc string `protobuf:"bytes,2,opt,name=rpc,proto3" json:"rpc,omitempty"` |
| 549 | Args []*Argument `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` |
| 550 | ResponseRequired bool `protobuf:"varint,4,opt,name=response_required,json=responseRequired,proto3" json:"response_required,omitempty"` |
| 551 | ReplyToTopic string `protobuf:"bytes,5,opt,name=reply_to_topic,json=replyToTopic,proto3" json:"reply_to_topic,omitempty"` |
| 552 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 553 | XXX_unrecognized []byte `json:"-"` |
| 554 | XXX_sizecache int32 `json:"-"` |
| 555 | } |
| 556 | |
| 557 | func (m *InterContainerRequestBody) Reset() { *m = InterContainerRequestBody{} } |
| 558 | func (m *InterContainerRequestBody) String() string { return proto.CompactTextString(m) } |
| 559 | func (*InterContainerRequestBody) ProtoMessage() {} |
| 560 | func (*InterContainerRequestBody) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 561 | return fileDescriptor_941f0031a549667f, []int{9} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 562 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 563 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 564 | func (m *InterContainerRequestBody) XXX_Unmarshal(b []byte) error { |
| 565 | return xxx_messageInfo_InterContainerRequestBody.Unmarshal(m, b) |
| 566 | } |
| 567 | func (m *InterContainerRequestBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 568 | return xxx_messageInfo_InterContainerRequestBody.Marshal(b, m, deterministic) |
| 569 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 570 | func (m *InterContainerRequestBody) XXX_Merge(src proto.Message) { |
| 571 | xxx_messageInfo_InterContainerRequestBody.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 572 | } |
| 573 | func (m *InterContainerRequestBody) XXX_Size() int { |
| 574 | return xxx_messageInfo_InterContainerRequestBody.Size(m) |
| 575 | } |
| 576 | func (m *InterContainerRequestBody) XXX_DiscardUnknown() { |
| 577 | xxx_messageInfo_InterContainerRequestBody.DiscardUnknown(m) |
| 578 | } |
| 579 | |
| 580 | var xxx_messageInfo_InterContainerRequestBody proto.InternalMessageInfo |
| 581 | |
| 582 | func (m *InterContainerRequestBody) GetRpc() string { |
| 583 | if m != nil { |
| 584 | return m.Rpc |
| 585 | } |
| 586 | return "" |
| 587 | } |
| 588 | |
| 589 | func (m *InterContainerRequestBody) GetArgs() []*Argument { |
| 590 | if m != nil { |
| 591 | return m.Args |
| 592 | } |
| 593 | return nil |
| 594 | } |
| 595 | |
| 596 | func (m *InterContainerRequestBody) GetResponseRequired() bool { |
| 597 | if m != nil { |
| 598 | return m.ResponseRequired |
| 599 | } |
| 600 | return false |
| 601 | } |
| 602 | |
| 603 | func (m *InterContainerRequestBody) GetReplyToTopic() string { |
| 604 | if m != nil { |
| 605 | return m.ReplyToTopic |
| 606 | } |
| 607 | return "" |
| 608 | } |
| 609 | |
| 610 | type InterContainerResponseBody struct { |
| 611 | Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` |
| 612 | Result *any.Any `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` |
| 613 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 614 | XXX_unrecognized []byte `json:"-"` |
| 615 | XXX_sizecache int32 `json:"-"` |
| 616 | } |
| 617 | |
| 618 | func (m *InterContainerResponseBody) Reset() { *m = InterContainerResponseBody{} } |
| 619 | func (m *InterContainerResponseBody) String() string { return proto.CompactTextString(m) } |
| 620 | func (*InterContainerResponseBody) ProtoMessage() {} |
| 621 | func (*InterContainerResponseBody) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 622 | return fileDescriptor_941f0031a549667f, []int{10} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 623 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 624 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 625 | func (m *InterContainerResponseBody) XXX_Unmarshal(b []byte) error { |
| 626 | return xxx_messageInfo_InterContainerResponseBody.Unmarshal(m, b) |
| 627 | } |
| 628 | func (m *InterContainerResponseBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 629 | return xxx_messageInfo_InterContainerResponseBody.Marshal(b, m, deterministic) |
| 630 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 631 | func (m *InterContainerResponseBody) XXX_Merge(src proto.Message) { |
| 632 | xxx_messageInfo_InterContainerResponseBody.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 633 | } |
| 634 | func (m *InterContainerResponseBody) XXX_Size() int { |
| 635 | return xxx_messageInfo_InterContainerResponseBody.Size(m) |
| 636 | } |
| 637 | func (m *InterContainerResponseBody) XXX_DiscardUnknown() { |
| 638 | xxx_messageInfo_InterContainerResponseBody.DiscardUnknown(m) |
| 639 | } |
| 640 | |
| 641 | var xxx_messageInfo_InterContainerResponseBody proto.InternalMessageInfo |
| 642 | |
| 643 | func (m *InterContainerResponseBody) GetSuccess() bool { |
| 644 | if m != nil { |
| 645 | return m.Success |
| 646 | } |
| 647 | return false |
| 648 | } |
| 649 | |
| 650 | func (m *InterContainerResponseBody) GetResult() *any.Any { |
| 651 | if m != nil { |
| 652 | return m.Result |
| 653 | } |
| 654 | return nil |
| 655 | } |
| 656 | |
| 657 | type SwitchCapability struct { |
| 658 | Desc *openflow_13.OfpDesc `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"` |
| 659 | SwitchFeatures *openflow_13.OfpSwitchFeatures `protobuf:"bytes,2,opt,name=switch_features,json=switchFeatures,proto3" json:"switch_features,omitempty"` |
| 660 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 661 | XXX_unrecognized []byte `json:"-"` |
| 662 | XXX_sizecache int32 `json:"-"` |
| 663 | } |
| 664 | |
| 665 | func (m *SwitchCapability) Reset() { *m = SwitchCapability{} } |
| 666 | func (m *SwitchCapability) String() string { return proto.CompactTextString(m) } |
| 667 | func (*SwitchCapability) ProtoMessage() {} |
| 668 | func (*SwitchCapability) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 669 | return fileDescriptor_941f0031a549667f, []int{11} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 670 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 671 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 672 | func (m *SwitchCapability) XXX_Unmarshal(b []byte) error { |
| 673 | return xxx_messageInfo_SwitchCapability.Unmarshal(m, b) |
| 674 | } |
| 675 | func (m *SwitchCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 676 | return xxx_messageInfo_SwitchCapability.Marshal(b, m, deterministic) |
| 677 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 678 | func (m *SwitchCapability) XXX_Merge(src proto.Message) { |
| 679 | xxx_messageInfo_SwitchCapability.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 680 | } |
| 681 | func (m *SwitchCapability) XXX_Size() int { |
| 682 | return xxx_messageInfo_SwitchCapability.Size(m) |
| 683 | } |
| 684 | func (m *SwitchCapability) XXX_DiscardUnknown() { |
| 685 | xxx_messageInfo_SwitchCapability.DiscardUnknown(m) |
| 686 | } |
| 687 | |
| 688 | var xxx_messageInfo_SwitchCapability proto.InternalMessageInfo |
| 689 | |
| 690 | func (m *SwitchCapability) GetDesc() *openflow_13.OfpDesc { |
| 691 | if m != nil { |
| 692 | return m.Desc |
| 693 | } |
| 694 | return nil |
| 695 | } |
| 696 | |
| 697 | func (m *SwitchCapability) GetSwitchFeatures() *openflow_13.OfpSwitchFeatures { |
| 698 | if m != nil { |
| 699 | return m.SwitchFeatures |
| 700 | } |
| 701 | return nil |
| 702 | } |
| 703 | |
| 704 | type PortCapability struct { |
| 705 | Port *voltha.LogicalPort `protobuf:"bytes,1,opt,name=port,proto3" json:"port,omitempty"` |
| 706 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 707 | XXX_unrecognized []byte `json:"-"` |
| 708 | XXX_sizecache int32 `json:"-"` |
| 709 | } |
| 710 | |
| 711 | func (m *PortCapability) Reset() { *m = PortCapability{} } |
| 712 | func (m *PortCapability) String() string { return proto.CompactTextString(m) } |
| 713 | func (*PortCapability) ProtoMessage() {} |
| 714 | func (*PortCapability) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 715 | return fileDescriptor_941f0031a549667f, []int{12} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 716 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 717 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 718 | func (m *PortCapability) XXX_Unmarshal(b []byte) error { |
| 719 | return xxx_messageInfo_PortCapability.Unmarshal(m, b) |
| 720 | } |
| 721 | func (m *PortCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 722 | return xxx_messageInfo_PortCapability.Marshal(b, m, deterministic) |
| 723 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 724 | func (m *PortCapability) XXX_Merge(src proto.Message) { |
| 725 | xxx_messageInfo_PortCapability.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 726 | } |
| 727 | func (m *PortCapability) XXX_Size() int { |
| 728 | return xxx_messageInfo_PortCapability.Size(m) |
| 729 | } |
| 730 | func (m *PortCapability) XXX_DiscardUnknown() { |
| 731 | xxx_messageInfo_PortCapability.DiscardUnknown(m) |
| 732 | } |
| 733 | |
| 734 | var xxx_messageInfo_PortCapability proto.InternalMessageInfo |
| 735 | |
| 736 | func (m *PortCapability) GetPort() *voltha.LogicalPort { |
| 737 | if m != nil { |
| 738 | return m.Port |
| 739 | } |
| 740 | return nil |
| 741 | } |
| 742 | |
| 743 | type DeviceDiscovered struct { |
| 744 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 745 | ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` |
| 746 | DeviceType string `protobuf:"bytes,3,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` |
| 747 | Publisher string `protobuf:"bytes,4,opt,name=publisher,proto3" json:"publisher,omitempty"` |
| 748 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 749 | XXX_unrecognized []byte `json:"-"` |
| 750 | XXX_sizecache int32 `json:"-"` |
| 751 | } |
| 752 | |
| 753 | func (m *DeviceDiscovered) Reset() { *m = DeviceDiscovered{} } |
| 754 | func (m *DeviceDiscovered) String() string { return proto.CompactTextString(m) } |
| 755 | func (*DeviceDiscovered) ProtoMessage() {} |
| 756 | func (*DeviceDiscovered) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 757 | return fileDescriptor_941f0031a549667f, []int{13} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 758 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 759 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 760 | func (m *DeviceDiscovered) XXX_Unmarshal(b []byte) error { |
| 761 | return xxx_messageInfo_DeviceDiscovered.Unmarshal(m, b) |
| 762 | } |
| 763 | func (m *DeviceDiscovered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 764 | return xxx_messageInfo_DeviceDiscovered.Marshal(b, m, deterministic) |
| 765 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 766 | func (m *DeviceDiscovered) XXX_Merge(src proto.Message) { |
| 767 | xxx_messageInfo_DeviceDiscovered.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 768 | } |
| 769 | func (m *DeviceDiscovered) XXX_Size() int { |
| 770 | return xxx_messageInfo_DeviceDiscovered.Size(m) |
| 771 | } |
| 772 | func (m *DeviceDiscovered) XXX_DiscardUnknown() { |
| 773 | xxx_messageInfo_DeviceDiscovered.DiscardUnknown(m) |
| 774 | } |
| 775 | |
| 776 | var xxx_messageInfo_DeviceDiscovered proto.InternalMessageInfo |
| 777 | |
| 778 | func (m *DeviceDiscovered) GetId() string { |
| 779 | if m != nil { |
| 780 | return m.Id |
| 781 | } |
| 782 | return "" |
| 783 | } |
| 784 | |
| 785 | func (m *DeviceDiscovered) GetParentId() string { |
| 786 | if m != nil { |
| 787 | return m.ParentId |
| 788 | } |
| 789 | return "" |
| 790 | } |
| 791 | |
| 792 | func (m *DeviceDiscovered) GetDeviceType() string { |
| 793 | if m != nil { |
| 794 | return m.DeviceType |
| 795 | } |
| 796 | return "" |
| 797 | } |
| 798 | |
| 799 | func (m *DeviceDiscovered) GetPublisher() string { |
| 800 | if m != nil { |
| 801 | return m.Publisher |
| 802 | } |
| 803 | return "" |
| 804 | } |
| 805 | |
| 806 | type InterAdapterMessageType struct { |
| 807 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 808 | XXX_unrecognized []byte `json:"-"` |
| 809 | XXX_sizecache int32 `json:"-"` |
| 810 | } |
| 811 | |
| 812 | func (m *InterAdapterMessageType) Reset() { *m = InterAdapterMessageType{} } |
| 813 | func (m *InterAdapterMessageType) String() string { return proto.CompactTextString(m) } |
| 814 | func (*InterAdapterMessageType) ProtoMessage() {} |
| 815 | func (*InterAdapterMessageType) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 816 | return fileDescriptor_941f0031a549667f, []int{14} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 817 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 818 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 819 | func (m *InterAdapterMessageType) XXX_Unmarshal(b []byte) error { |
| 820 | return xxx_messageInfo_InterAdapterMessageType.Unmarshal(m, b) |
| 821 | } |
| 822 | func (m *InterAdapterMessageType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 823 | return xxx_messageInfo_InterAdapterMessageType.Marshal(b, m, deterministic) |
| 824 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 825 | func (m *InterAdapterMessageType) XXX_Merge(src proto.Message) { |
| 826 | xxx_messageInfo_InterAdapterMessageType.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 827 | } |
| 828 | func (m *InterAdapterMessageType) XXX_Size() int { |
| 829 | return xxx_messageInfo_InterAdapterMessageType.Size(m) |
| 830 | } |
| 831 | func (m *InterAdapterMessageType) XXX_DiscardUnknown() { |
| 832 | xxx_messageInfo_InterAdapterMessageType.DiscardUnknown(m) |
| 833 | } |
| 834 | |
| 835 | var xxx_messageInfo_InterAdapterMessageType proto.InternalMessageInfo |
| 836 | |
| 837 | type InterAdapterHeader struct { |
| 838 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 839 | Type InterAdapterMessageType_Types `protobuf:"varint,2,opt,name=type,proto3,enum=voltha.InterAdapterMessageType_Types" json:"type,omitempty"` |
| 840 | FromTopic string `protobuf:"bytes,3,opt,name=from_topic,json=fromTopic,proto3" json:"from_topic,omitempty"` |
| 841 | ToTopic string `protobuf:"bytes,4,opt,name=to_topic,json=toTopic,proto3" json:"to_topic,omitempty"` |
| 842 | ToDeviceId string `protobuf:"bytes,5,opt,name=to_device_id,json=toDeviceId,proto3" json:"to_device_id,omitempty"` |
| 843 | ProxyDeviceId string `protobuf:"bytes,6,opt,name=proxy_device_id,json=proxyDeviceId,proto3" json:"proxy_device_id,omitempty"` |
| 844 | Timestamp int64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` |
| 845 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 846 | XXX_unrecognized []byte `json:"-"` |
| 847 | XXX_sizecache int32 `json:"-"` |
| 848 | } |
| 849 | |
| 850 | func (m *InterAdapterHeader) Reset() { *m = InterAdapterHeader{} } |
| 851 | func (m *InterAdapterHeader) String() string { return proto.CompactTextString(m) } |
| 852 | func (*InterAdapterHeader) ProtoMessage() {} |
| 853 | func (*InterAdapterHeader) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 854 | return fileDescriptor_941f0031a549667f, []int{15} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 855 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 856 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 857 | func (m *InterAdapterHeader) XXX_Unmarshal(b []byte) error { |
| 858 | return xxx_messageInfo_InterAdapterHeader.Unmarshal(m, b) |
| 859 | } |
| 860 | func (m *InterAdapterHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 861 | return xxx_messageInfo_InterAdapterHeader.Marshal(b, m, deterministic) |
| 862 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 863 | func (m *InterAdapterHeader) XXX_Merge(src proto.Message) { |
| 864 | xxx_messageInfo_InterAdapterHeader.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 865 | } |
| 866 | func (m *InterAdapterHeader) XXX_Size() int { |
| 867 | return xxx_messageInfo_InterAdapterHeader.Size(m) |
| 868 | } |
| 869 | func (m *InterAdapterHeader) XXX_DiscardUnknown() { |
| 870 | xxx_messageInfo_InterAdapterHeader.DiscardUnknown(m) |
| 871 | } |
| 872 | |
| 873 | var xxx_messageInfo_InterAdapterHeader proto.InternalMessageInfo |
| 874 | |
| 875 | func (m *InterAdapterHeader) GetId() string { |
| 876 | if m != nil { |
| 877 | return m.Id |
| 878 | } |
| 879 | return "" |
| 880 | } |
| 881 | |
| 882 | func (m *InterAdapterHeader) GetType() InterAdapterMessageType_Types { |
| 883 | if m != nil { |
| 884 | return m.Type |
| 885 | } |
| 886 | return InterAdapterMessageType_FLOW_REQUEST |
| 887 | } |
| 888 | |
| 889 | func (m *InterAdapterHeader) GetFromTopic() string { |
| 890 | if m != nil { |
| 891 | return m.FromTopic |
| 892 | } |
| 893 | return "" |
| 894 | } |
| 895 | |
| 896 | func (m *InterAdapterHeader) GetToTopic() string { |
| 897 | if m != nil { |
| 898 | return m.ToTopic |
| 899 | } |
| 900 | return "" |
| 901 | } |
| 902 | |
| 903 | func (m *InterAdapterHeader) GetToDeviceId() string { |
| 904 | if m != nil { |
| 905 | return m.ToDeviceId |
| 906 | } |
| 907 | return "" |
| 908 | } |
| 909 | |
| 910 | func (m *InterAdapterHeader) GetProxyDeviceId() string { |
| 911 | if m != nil { |
| 912 | return m.ProxyDeviceId |
| 913 | } |
| 914 | return "" |
| 915 | } |
| 916 | |
| 917 | func (m *InterAdapterHeader) GetTimestamp() int64 { |
| 918 | if m != nil { |
| 919 | return m.Timestamp |
| 920 | } |
| 921 | return 0 |
| 922 | } |
| 923 | |
| 924 | type InterAdapterOmciMessage struct { |
| 925 | Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` |
| 926 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 927 | XXX_unrecognized []byte `json:"-"` |
| 928 | XXX_sizecache int32 `json:"-"` |
| 929 | } |
| 930 | |
| 931 | func (m *InterAdapterOmciMessage) Reset() { *m = InterAdapterOmciMessage{} } |
| 932 | func (m *InterAdapterOmciMessage) String() string { return proto.CompactTextString(m) } |
| 933 | func (*InterAdapterOmciMessage) ProtoMessage() {} |
| 934 | func (*InterAdapterOmciMessage) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 935 | return fileDescriptor_941f0031a549667f, []int{16} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 936 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 937 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 938 | func (m *InterAdapterOmciMessage) XXX_Unmarshal(b []byte) error { |
| 939 | return xxx_messageInfo_InterAdapterOmciMessage.Unmarshal(m, b) |
| 940 | } |
| 941 | func (m *InterAdapterOmciMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 942 | return xxx_messageInfo_InterAdapterOmciMessage.Marshal(b, m, deterministic) |
| 943 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 944 | func (m *InterAdapterOmciMessage) XXX_Merge(src proto.Message) { |
| 945 | xxx_messageInfo_InterAdapterOmciMessage.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 946 | } |
| 947 | func (m *InterAdapterOmciMessage) XXX_Size() int { |
| 948 | return xxx_messageInfo_InterAdapterOmciMessage.Size(m) |
| 949 | } |
| 950 | func (m *InterAdapterOmciMessage) XXX_DiscardUnknown() { |
| 951 | xxx_messageInfo_InterAdapterOmciMessage.DiscardUnknown(m) |
| 952 | } |
| 953 | |
| 954 | var xxx_messageInfo_InterAdapterOmciMessage proto.InternalMessageInfo |
| 955 | |
| 956 | func (m *InterAdapterOmciMessage) GetMessage() []byte { |
| 957 | if m != nil { |
| 958 | return m.Message |
| 959 | } |
| 960 | return nil |
| 961 | } |
| 962 | |
Matt Jeanneret | 15249fa | 2019-04-12 20:25:31 -0400 | [diff] [blame] | 963 | type InterAdapterTechProfileDownloadMessage struct { |
| 964 | UniId uint32 `protobuf:"varint,1,opt,name=uni_id,json=uniId,proto3" json:"uni_id,omitempty"` |
| 965 | Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` |
| 966 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 967 | XXX_unrecognized []byte `json:"-"` |
| 968 | XXX_sizecache int32 `json:"-"` |
| 969 | } |
| 970 | |
| 971 | func (m *InterAdapterTechProfileDownloadMessage) Reset() { |
| 972 | *m = InterAdapterTechProfileDownloadMessage{} |
| 973 | } |
| 974 | func (m *InterAdapterTechProfileDownloadMessage) String() string { return proto.CompactTextString(m) } |
| 975 | func (*InterAdapterTechProfileDownloadMessage) ProtoMessage() {} |
| 976 | func (*InterAdapterTechProfileDownloadMessage) Descriptor() ([]byte, []int) { |
| 977 | return fileDescriptor_941f0031a549667f, []int{17} |
| 978 | } |
| 979 | |
| 980 | func (m *InterAdapterTechProfileDownloadMessage) XXX_Unmarshal(b []byte) error { |
| 981 | return xxx_messageInfo_InterAdapterTechProfileDownloadMessage.Unmarshal(m, b) |
| 982 | } |
| 983 | func (m *InterAdapterTechProfileDownloadMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 984 | return xxx_messageInfo_InterAdapterTechProfileDownloadMessage.Marshal(b, m, deterministic) |
| 985 | } |
| 986 | func (m *InterAdapterTechProfileDownloadMessage) XXX_Merge(src proto.Message) { |
| 987 | xxx_messageInfo_InterAdapterTechProfileDownloadMessage.Merge(m, src) |
| 988 | } |
| 989 | func (m *InterAdapterTechProfileDownloadMessage) XXX_Size() int { |
| 990 | return xxx_messageInfo_InterAdapterTechProfileDownloadMessage.Size(m) |
| 991 | } |
| 992 | func (m *InterAdapterTechProfileDownloadMessage) XXX_DiscardUnknown() { |
| 993 | xxx_messageInfo_InterAdapterTechProfileDownloadMessage.DiscardUnknown(m) |
| 994 | } |
| 995 | |
| 996 | var xxx_messageInfo_InterAdapterTechProfileDownloadMessage proto.InternalMessageInfo |
| 997 | |
| 998 | func (m *InterAdapterTechProfileDownloadMessage) GetUniId() uint32 { |
| 999 | if m != nil { |
| 1000 | return m.UniId |
| 1001 | } |
| 1002 | return 0 |
| 1003 | } |
| 1004 | |
| 1005 | func (m *InterAdapterTechProfileDownloadMessage) GetPath() string { |
| 1006 | if m != nil { |
| 1007 | return m.Path |
| 1008 | } |
| 1009 | return "" |
| 1010 | } |
| 1011 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1012 | type InterAdapterResponseBody struct { |
| 1013 | Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` |
| 1014 | // Types that are valid to be assigned to Payload: |
| 1015 | // *InterAdapterResponseBody_Body |
| 1016 | // *InterAdapterResponseBody_Omci |
| 1017 | Payload isInterAdapterResponseBody_Payload `protobuf_oneof:"payload"` |
| 1018 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1019 | XXX_unrecognized []byte `json:"-"` |
| 1020 | XXX_sizecache int32 `json:"-"` |
| 1021 | } |
| 1022 | |
| 1023 | func (m *InterAdapterResponseBody) Reset() { *m = InterAdapterResponseBody{} } |
| 1024 | func (m *InterAdapterResponseBody) String() string { return proto.CompactTextString(m) } |
| 1025 | func (*InterAdapterResponseBody) ProtoMessage() {} |
| 1026 | func (*InterAdapterResponseBody) Descriptor() ([]byte, []int) { |
Matt Jeanneret | 15249fa | 2019-04-12 20:25:31 -0400 | [diff] [blame] | 1027 | return fileDescriptor_941f0031a549667f, []int{18} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1028 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1029 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1030 | func (m *InterAdapterResponseBody) XXX_Unmarshal(b []byte) error { |
| 1031 | return xxx_messageInfo_InterAdapterResponseBody.Unmarshal(m, b) |
| 1032 | } |
| 1033 | func (m *InterAdapterResponseBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1034 | return xxx_messageInfo_InterAdapterResponseBody.Marshal(b, m, deterministic) |
| 1035 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1036 | func (m *InterAdapterResponseBody) XXX_Merge(src proto.Message) { |
| 1037 | xxx_messageInfo_InterAdapterResponseBody.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1038 | } |
| 1039 | func (m *InterAdapterResponseBody) XXX_Size() int { |
| 1040 | return xxx_messageInfo_InterAdapterResponseBody.Size(m) |
| 1041 | } |
| 1042 | func (m *InterAdapterResponseBody) XXX_DiscardUnknown() { |
| 1043 | xxx_messageInfo_InterAdapterResponseBody.DiscardUnknown(m) |
| 1044 | } |
| 1045 | |
| 1046 | var xxx_messageInfo_InterAdapterResponseBody proto.InternalMessageInfo |
| 1047 | |
| 1048 | func (m *InterAdapterResponseBody) GetStatus() bool { |
| 1049 | if m != nil { |
| 1050 | return m.Status |
| 1051 | } |
| 1052 | return false |
| 1053 | } |
| 1054 | |
| 1055 | type isInterAdapterResponseBody_Payload interface { |
| 1056 | isInterAdapterResponseBody_Payload() |
| 1057 | } |
| 1058 | |
| 1059 | type InterAdapterResponseBody_Body struct { |
| 1060 | Body *any.Any `protobuf:"bytes,2,opt,name=body,proto3,oneof"` |
| 1061 | } |
| 1062 | |
| 1063 | type InterAdapterResponseBody_Omci struct { |
| 1064 | Omci *InterAdapterOmciMessage `protobuf:"bytes,3,opt,name=omci,proto3,oneof"` |
| 1065 | } |
| 1066 | |
| 1067 | func (*InterAdapterResponseBody_Body) isInterAdapterResponseBody_Payload() {} |
| 1068 | |
| 1069 | func (*InterAdapterResponseBody_Omci) isInterAdapterResponseBody_Payload() {} |
| 1070 | |
| 1071 | func (m *InterAdapterResponseBody) GetPayload() isInterAdapterResponseBody_Payload { |
| 1072 | if m != nil { |
| 1073 | return m.Payload |
| 1074 | } |
| 1075 | return nil |
| 1076 | } |
| 1077 | |
| 1078 | func (m *InterAdapterResponseBody) GetBody() *any.Any { |
| 1079 | if x, ok := m.GetPayload().(*InterAdapterResponseBody_Body); ok { |
| 1080 | return x.Body |
| 1081 | } |
| 1082 | return nil |
| 1083 | } |
| 1084 | |
| 1085 | func (m *InterAdapterResponseBody) GetOmci() *InterAdapterOmciMessage { |
| 1086 | if x, ok := m.GetPayload().(*InterAdapterResponseBody_Omci); ok { |
| 1087 | return x.Omci |
| 1088 | } |
| 1089 | return nil |
| 1090 | } |
| 1091 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1092 | // XXX_OneofWrappers is for the internal use of the proto package. |
| 1093 | func (*InterAdapterResponseBody) XXX_OneofWrappers() []interface{} { |
| 1094 | return []interface{}{ |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1095 | (*InterAdapterResponseBody_Body)(nil), |
| 1096 | (*InterAdapterResponseBody_Omci)(nil), |
| 1097 | } |
| 1098 | } |
| 1099 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1100 | type InterAdapterMessage struct { |
| 1101 | Header *InterAdapterHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` |
| 1102 | Body *any.Any `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` |
| 1103 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1104 | XXX_unrecognized []byte `json:"-"` |
| 1105 | XXX_sizecache int32 `json:"-"` |
| 1106 | } |
| 1107 | |
| 1108 | func (m *InterAdapterMessage) Reset() { *m = InterAdapterMessage{} } |
| 1109 | func (m *InterAdapterMessage) String() string { return proto.CompactTextString(m) } |
| 1110 | func (*InterAdapterMessage) ProtoMessage() {} |
| 1111 | func (*InterAdapterMessage) Descriptor() ([]byte, []int) { |
Matt Jeanneret | 15249fa | 2019-04-12 20:25:31 -0400 | [diff] [blame] | 1112 | return fileDescriptor_941f0031a549667f, []int{19} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1113 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1114 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1115 | func (m *InterAdapterMessage) XXX_Unmarshal(b []byte) error { |
| 1116 | return xxx_messageInfo_InterAdapterMessage.Unmarshal(m, b) |
| 1117 | } |
| 1118 | func (m *InterAdapterMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1119 | return xxx_messageInfo_InterAdapterMessage.Marshal(b, m, deterministic) |
| 1120 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1121 | func (m *InterAdapterMessage) XXX_Merge(src proto.Message) { |
| 1122 | xxx_messageInfo_InterAdapterMessage.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1123 | } |
| 1124 | func (m *InterAdapterMessage) XXX_Size() int { |
| 1125 | return xxx_messageInfo_InterAdapterMessage.Size(m) |
| 1126 | } |
| 1127 | func (m *InterAdapterMessage) XXX_DiscardUnknown() { |
| 1128 | xxx_messageInfo_InterAdapterMessage.DiscardUnknown(m) |
| 1129 | } |
| 1130 | |
| 1131 | var xxx_messageInfo_InterAdapterMessage proto.InternalMessageInfo |
| 1132 | |
| 1133 | func (m *InterAdapterMessage) GetHeader() *InterAdapterHeader { |
| 1134 | if m != nil { |
| 1135 | return m.Header |
| 1136 | } |
| 1137 | return nil |
| 1138 | } |
| 1139 | |
| 1140 | func (m *InterAdapterMessage) GetBody() *any.Any { |
| 1141 | if m != nil { |
| 1142 | return m.Body |
| 1143 | } |
| 1144 | return nil |
| 1145 | } |
| 1146 | |
| 1147 | func init() { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1148 | proto.RegisterEnum("voltha.MessageType", MessageType_name, MessageType_value) |
| 1149 | proto.RegisterEnum("voltha.ErrorCodeCodes", ErrorCodeCodes_name, ErrorCodeCodes_value) |
| 1150 | proto.RegisterEnum("voltha.InterAdapterMessageType_Types", InterAdapterMessageType_Types_name, InterAdapterMessageType_Types_value) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1151 | proto.RegisterType((*StrType)(nil), "voltha.StrType") |
| 1152 | proto.RegisterType((*IntType)(nil), "voltha.IntType") |
| 1153 | proto.RegisterType((*BoolType)(nil), "voltha.BoolType") |
| 1154 | proto.RegisterType((*Packet)(nil), "voltha.Packet") |
| 1155 | proto.RegisterType((*ErrorCode)(nil), "voltha.ErrorCode") |
| 1156 | proto.RegisterType((*Error)(nil), "voltha.Error") |
| 1157 | proto.RegisterType((*Header)(nil), "voltha.Header") |
| 1158 | proto.RegisterType((*Argument)(nil), "voltha.Argument") |
| 1159 | proto.RegisterType((*InterContainerMessage)(nil), "voltha.InterContainerMessage") |
| 1160 | proto.RegisterType((*InterContainerRequestBody)(nil), "voltha.InterContainerRequestBody") |
| 1161 | proto.RegisterType((*InterContainerResponseBody)(nil), "voltha.InterContainerResponseBody") |
| 1162 | proto.RegisterType((*SwitchCapability)(nil), "voltha.SwitchCapability") |
| 1163 | proto.RegisterType((*PortCapability)(nil), "voltha.PortCapability") |
| 1164 | proto.RegisterType((*DeviceDiscovered)(nil), "voltha.DeviceDiscovered") |
| 1165 | proto.RegisterType((*InterAdapterMessageType)(nil), "voltha.InterAdapterMessageType") |
| 1166 | proto.RegisterType((*InterAdapterHeader)(nil), "voltha.InterAdapterHeader") |
| 1167 | proto.RegisterType((*InterAdapterOmciMessage)(nil), "voltha.InterAdapterOmciMessage") |
Matt Jeanneret | 15249fa | 2019-04-12 20:25:31 -0400 | [diff] [blame] | 1168 | proto.RegisterType((*InterAdapterTechProfileDownloadMessage)(nil), "voltha.InterAdapterTechProfileDownloadMessage") |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1169 | proto.RegisterType((*InterAdapterResponseBody)(nil), "voltha.InterAdapterResponseBody") |
| 1170 | proto.RegisterType((*InterAdapterMessage)(nil), "voltha.InterAdapterMessage") |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1171 | } |
| 1172 | |
| 1173 | func init() { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1174 | proto.RegisterFile("voltha_protos/inter_container.proto", fileDescriptor_941f0031a549667f) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1175 | } |
| 1176 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1177 | var fileDescriptor_941f0031a549667f = []byte{ |
Matt Jeanneret | 15249fa | 2019-04-12 20:25:31 -0400 | [diff] [blame] | 1178 | // 1136 bytes of a gzipped FileDescriptorProto |
| 1179 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xcd, 0x6e, 0xdb, 0x46, |
| 1180 | 0x17, 0x8d, 0xfe, 0xa5, 0x2b, 0x47, 0x91, 0xc7, 0x71, 0xa2, 0x38, 0x09, 0xec, 0x8f, 0x5f, 0xe2, |
| 1181 | 0xb8, 0x6e, 0x2b, 0xa3, 0x76, 0x5b, 0x34, 0xab, 0x42, 0x96, 0x68, 0x98, 0x80, 0x2d, 0xa9, 0x94, |
| 1182 | 0xec, 0x00, 0xdd, 0x10, 0x14, 0x39, 0x92, 0x08, 0x53, 0x1c, 0x66, 0x38, 0xb4, 0xcb, 0x4d, 0x81, |
| 1183 | 0xee, 0xfa, 0x18, 0x5d, 0xf5, 0x11, 0xfa, 0x10, 0x7d, 0x90, 0x3e, 0x47, 0x31, 0x3f, 0xd4, 0x5f, |
| 1184 | 0xed, 0x16, 0x68, 0x77, 0x33, 0xe7, 0x9c, 0xb9, 0x33, 0x73, 0xef, 0x9d, 0x43, 0xc2, 0xff, 0x6f, |
| 1185 | 0x89, 0xcf, 0xa6, 0xb6, 0x15, 0x52, 0xc2, 0x48, 0x74, 0xe4, 0x05, 0x0c, 0x53, 0xcb, 0x21, 0x01, |
| 1186 | 0xb3, 0xbd, 0x00, 0xd3, 0xa6, 0x80, 0x51, 0x51, 0x8a, 0x76, 0x5e, 0x4c, 0x08, 0x99, 0xf8, 0xf8, |
| 1187 | 0x48, 0xa0, 0xa3, 0x78, 0x7c, 0x64, 0x07, 0x89, 0x94, 0xec, 0xec, 0xae, 0xc6, 0x21, 0x21, 0x0e, |
| 1188 | 0xc6, 0x3e, 0xb9, 0xb3, 0xbe, 0x38, 0x51, 0x02, 0x6d, 0x55, 0xe0, 0x93, 0x89, 0xe7, 0xd8, 0xbe, |
| 1189 | 0xe5, 0xe2, 0x5b, 0xcf, 0xc1, 0x52, 0xa3, 0xbd, 0x84, 0xd2, 0x80, 0xd1, 0x61, 0x12, 0x62, 0x54, |
| 1190 | 0x87, 0xdc, 0xad, 0xed, 0x37, 0x32, 0x7b, 0x99, 0x83, 0x8a, 0xc9, 0x87, 0x9c, 0x34, 0x02, 0xb6, |
| 1191 | 0x4e, 0xe6, 0x24, 0xf9, 0x0a, 0xca, 0xa7, 0x84, 0xf8, 0xeb, 0x6c, 0x59, 0xb2, 0x1a, 0x14, 0xfb, |
| 1192 | 0xb6, 0x73, 0x83, 0x19, 0x6a, 0x40, 0x29, 0xb4, 0x13, 0x9f, 0xd8, 0xae, 0xe0, 0x37, 0xcc, 0x74, |
| 1193 | 0xaa, 0xe9, 0x50, 0xd1, 0x29, 0x25, 0xb4, 0x4d, 0x5c, 0xac, 0x7d, 0x03, 0x05, 0x87, 0xb8, 0x38, |
| 1194 | 0x42, 0xcf, 0x61, 0xeb, 0xaa, 0x3b, 0xb8, 0xea, 0xf7, 0x7b, 0xe6, 0x50, 0xef, 0x58, 0xa6, 0xfe, |
| 1195 | 0xdd, 0x95, 0x3e, 0x18, 0xd6, 0x1f, 0xa1, 0x67, 0x80, 0x8c, 0xee, 0x75, 0xeb, 0xc2, 0xe8, 0x58, |
| 1196 | 0xfd, 0x96, 0xd9, 0xba, 0xd4, 0x87, 0xba, 0x39, 0xa8, 0x67, 0xb4, 0x33, 0x28, 0x88, 0x30, 0xe8, |
| 1197 | 0x2d, 0xe4, 0x79, 0x08, 0xb1, 0x4d, 0xf5, 0x78, 0xb3, 0x29, 0xaf, 0xdf, 0x9c, 0xef, 0x61, 0x0a, |
| 1198 | 0x1a, 0x3d, 0x83, 0x22, 0xc5, 0x76, 0x44, 0x82, 0x46, 0x56, 0x5c, 0x55, 0xcd, 0xb4, 0xdf, 0x32, |
| 1199 | 0x50, 0x3c, 0xc7, 0xb6, 0x8b, 0x29, 0xaa, 0x41, 0xd6, 0x73, 0x55, 0x26, 0xb2, 0x9e, 0x8b, 0xde, |
| 1200 | 0x41, 0x9e, 0x25, 0x21, 0x16, 0x0b, 0x6a, 0xc7, 0x5b, 0x69, 0xe4, 0x4b, 0x1c, 0x45, 0xf6, 0x04, |
| 1201 | 0xf3, 0x14, 0x98, 0x42, 0x80, 0x5e, 0x03, 0x8c, 0x29, 0x99, 0x59, 0x8c, 0x84, 0x9e, 0xd3, 0xc8, |
| 1202 | 0x89, 0x00, 0x15, 0x8e, 0x0c, 0x39, 0x80, 0x5e, 0x40, 0x99, 0x11, 0x45, 0xe6, 0x05, 0x59, 0x62, |
| 1203 | 0x44, 0x52, 0x2f, 0xa1, 0x72, 0x83, 0x13, 0xc5, 0x15, 0x04, 0x57, 0xbe, 0xc1, 0x89, 0x24, 0x5f, |
| 1204 | 0x41, 0x85, 0x79, 0x33, 0x1c, 0x31, 0x7b, 0x16, 0x36, 0x8a, 0xa2, 0x06, 0x0b, 0x40, 0x3b, 0x87, |
| 1205 | 0x72, 0x8b, 0x4e, 0xe2, 0x19, 0x0e, 0x18, 0xaf, 0xc4, 0x0d, 0x4e, 0xd2, 0x22, 0xde, 0xe0, 0x04, |
| 1206 | 0x1d, 0x42, 0xe1, 0xd6, 0xf6, 0x63, 0x79, 0xf8, 0xea, 0xf1, 0xd3, 0xa6, 0xec, 0xa8, 0x66, 0xda, |
| 1207 | 0x51, 0xcd, 0x56, 0x90, 0x98, 0x52, 0xa2, 0x79, 0xb0, 0x6d, 0xf0, 0x76, 0x6c, 0xa7, 0xdd, 0xa8, |
| 1208 | 0x6e, 0x88, 0xf6, 0xa1, 0x38, 0x15, 0xa9, 0x51, 0xc9, 0xad, 0xa5, 0x29, 0x90, 0x09, 0x33, 0x15, |
| 1209 | 0x8b, 0x0e, 0x20, 0x3f, 0x22, 0x6e, 0xf2, 0xb7, 0x7b, 0x09, 0x85, 0xf6, 0x6b, 0x06, 0x5e, 0xac, |
| 1210 | 0xee, 0x65, 0xe2, 0x8f, 0x31, 0x8e, 0xd8, 0x29, 0x71, 0x13, 0x7e, 0x0d, 0x1a, 0x3a, 0xaa, 0x40, |
| 1211 | 0x7c, 0x88, 0xde, 0x40, 0xde, 0xa6, 0x93, 0xa8, 0x91, 0xdb, 0xcb, 0x1d, 0x54, 0x8f, 0xeb, 0xe9, |
| 1212 | 0xfe, 0xe9, 0xc5, 0x4d, 0xc1, 0xa2, 0x4f, 0x61, 0x93, 0xe2, 0x28, 0x24, 0x41, 0x84, 0x2d, 0x8a, |
| 1213 | 0x3f, 0xc6, 0x1e, 0xc5, 0xae, 0xc8, 0x74, 0xd9, 0xac, 0xa7, 0x84, 0xa9, 0x70, 0xf4, 0x06, 0x6a, |
| 1214 | 0x14, 0x87, 0x3e, 0x4f, 0xfa, 0x4a, 0xde, 0x37, 0x04, 0x3a, 0x94, 0x85, 0xd1, 0x5c, 0xd8, 0x59, |
| 1215 | 0x3f, 0xa7, 0x8c, 0x23, 0x0e, 0xda, 0x80, 0x52, 0x14, 0x3b, 0x0e, 0x8e, 0x22, 0xd5, 0xfd, 0xe9, |
| 1216 | 0x14, 0x7d, 0xc6, 0xdb, 0x2c, 0x8a, 0x7d, 0x26, 0xda, 0xe0, 0xa1, 0x64, 0x28, 0x8d, 0xf6, 0x73, |
| 1217 | 0x06, 0xea, 0x83, 0x3b, 0x8f, 0x39, 0xd3, 0xb6, 0x1d, 0xda, 0x23, 0xcf, 0xf7, 0x58, 0x82, 0x3e, |
| 1218 | 0x81, 0xbc, 0x8b, 0x23, 0x47, 0xe5, 0x7c, 0xbb, 0xb9, 0xfc, 0xc4, 0xc9, 0x38, 0xb4, 0x38, 0x69, |
| 1219 | 0x0a, 0x09, 0x32, 0xe0, 0x49, 0x24, 0x96, 0x5b, 0x63, 0x6c, 0xb3, 0x98, 0xe2, 0x48, 0xd5, 0x60, |
| 1220 | 0xef, 0x2f, 0xab, 0xd6, 0x74, 0x66, 0x4d, 0x02, 0x67, 0x6a, 0xae, 0xbd, 0x87, 0x5a, 0x9f, 0x50, |
| 1221 | 0xb6, 0x74, 0x8e, 0x77, 0x90, 0x0f, 0x09, 0x65, 0xea, 0x1c, 0xf3, 0xf6, 0xbf, 0x90, 0x86, 0xc2, |
| 1222 | 0xc5, 0xa6, 0x10, 0x68, 0x3f, 0x42, 0xbd, 0x23, 0xdc, 0xa5, 0xe3, 0x45, 0x0e, 0xb9, 0xc5, 0x3c, |
| 1223 | 0xcb, 0xeb, 0x6f, 0xe9, 0x25, 0x54, 0x42, 0x9b, 0xe2, 0x80, 0x59, 0x9e, 0xab, 0x0a, 0x5c, 0x96, |
| 1224 | 0x80, 0xe1, 0xa2, 0x5d, 0xa8, 0x4a, 0x7b, 0xb2, 0xc4, 0x7b, 0x93, 0x0f, 0x08, 0x24, 0x24, 0x9c, |
| 1225 | 0xe6, 0x15, 0x54, 0xc2, 0x78, 0xe4, 0x7b, 0xd1, 0x14, 0x53, 0xf5, 0x84, 0x16, 0x80, 0xf6, 0x47, |
| 1226 | 0x06, 0x9e, 0x8b, 0x62, 0xb5, 0x5c, 0x3b, 0x64, 0xf3, 0xf6, 0xe5, 0x2b, 0xb5, 0xdf, 0x33, 0x50, |
| 1227 | 0xe0, 0x83, 0x08, 0xd5, 0x61, 0xe3, 0xec, 0xa2, 0xf7, 0x61, 0xc9, 0x5a, 0x36, 0xe1, 0xb1, 0x42, |
| 1228 | 0x06, 0xfd, 0x5e, 0x77, 0xa0, 0xd7, 0x33, 0x5c, 0xd4, 0xbb, 0x6c, 0x1b, 0x73, 0x51, 0x96, 0x8b, |
| 1229 | 0x14, 0xa2, 0x44, 0x39, 0xb4, 0x05, 0x4f, 0x2e, 0xf5, 0xa1, 0x69, 0xb4, 0x07, 0x73, 0x5d, 0x1e, |
| 1230 | 0x3d, 0x85, 0xfa, 0x02, 0x54, 0xd2, 0x02, 0x97, 0xf6, 0xba, 0x57, 0x96, 0xd1, 0x5d, 0x58, 0x5a, |
| 1231 | 0x91, 0x4b, 0x17, 0xa0, 0x92, 0x96, 0xd0, 0xff, 0xe0, 0xf5, 0x50, 0x6f, 0x9f, 0x5b, 0x7d, 0xb3, |
| 1232 | 0x77, 0x66, 0x5c, 0xe8, 0x56, 0xa7, 0xf7, 0xa1, 0x7b, 0xd1, 0x6b, 0x2d, 0x16, 0x96, 0xb5, 0x9f, |
| 1233 | 0xb2, 0x80, 0x96, 0x2f, 0xfa, 0x80, 0x6f, 0xbd, 0x5f, 0xf1, 0xad, 0xb7, 0x69, 0xe1, 0x1e, 0x48, |
| 1234 | 0x51, 0x53, 0xa4, 0xe7, 0x3f, 0x3b, 0xd9, 0x1e, 0x6c, 0x30, 0xa2, 0xbe, 0x32, 0xbc, 0xc6, 0xf2, |
| 1235 | 0x51, 0x01, 0x23, 0xb2, 0x35, 0x0c, 0x17, 0xed, 0xc3, 0x93, 0x90, 0x92, 0x1f, 0x92, 0x25, 0x51, |
| 1236 | 0x51, 0x88, 0x1e, 0x0b, 0x78, 0xae, 0x5b, 0xb1, 0xbd, 0xd2, 0xba, 0xed, 0x9d, 0xac, 0xd6, 0xba, |
| 1237 | 0x37, 0x73, 0xbc, 0xd4, 0xae, 0x1a, 0x50, 0x9a, 0xc9, 0x61, 0xfa, 0xcd, 0x51, 0x53, 0x6d, 0x00, |
| 1238 | 0xfb, 0xcb, 0x8b, 0x86, 0xd8, 0x99, 0xf6, 0x29, 0x19, 0x7b, 0x3e, 0xee, 0x90, 0xbb, 0x80, 0x7f, |
| 1239 | 0x96, 0xd2, 0x18, 0xdb, 0x50, 0x8c, 0x03, 0xcf, 0x52, 0xf9, 0x7c, 0x6c, 0x16, 0xe2, 0xc0, 0x33, |
| 1240 | 0x5c, 0x84, 0x20, 0x1f, 0xda, 0x6c, 0xaa, 0x3a, 0x57, 0x8c, 0xb5, 0x5f, 0x32, 0xd0, 0x58, 0x8e, |
| 1241 | 0xba, 0xe2, 0x10, 0xcf, 0xa0, 0x18, 0x31, 0x9b, 0xc5, 0xa9, 0x41, 0xa8, 0x19, 0x3a, 0xfc, 0x67, |
| 1242 | 0xab, 0x3c, 0x7f, 0x24, 0xcd, 0x12, 0x7d, 0x05, 0x79, 0x32, 0x73, 0x3c, 0xe5, 0x24, 0xbb, 0xf7, |
| 1243 | 0xd5, 0x71, 0xe9, 0xfa, 0x7c, 0x19, 0x97, 0x9f, 0x56, 0xe6, 0x9f, 0x5e, 0x2d, 0x82, 0xad, 0x7b, |
| 1244 | 0xaa, 0x8e, 0x8e, 0xd7, 0x7c, 0x7d, 0xe7, 0xbe, 0xd0, 0xff, 0xd6, 0xe3, 0x0f, 0xbf, 0x85, 0xea, |
| 1245 | 0x52, 0x7b, 0xa1, 0x2a, 0x94, 0x16, 0x4f, 0x6e, 0x03, 0xca, 0x4b, 0xaf, 0x6d, 0x1b, 0x36, 0x3b, |
| 1246 | 0xfa, 0xb5, 0xd1, 0xd6, 0xad, 0x8e, 0x31, 0x68, 0xf7, 0xae, 0x75, 0x53, 0xef, 0xd4, 0xb3, 0xa7, |
| 1247 | 0x5f, 0x7f, 0xff, 0xe5, 0xc4, 0x63, 0xd3, 0x78, 0xd4, 0x74, 0xc8, 0x4c, 0xfc, 0xe1, 0x38, 0x84, |
| 1248 | 0xba, 0x47, 0xf2, 0x8c, 0x9f, 0xab, 0xff, 0x9a, 0x09, 0x59, 0xff, 0x87, 0xea, 0x67, 0x47, 0x45, |
| 1249 | 0x41, 0x9e, 0xfc, 0x19, 0x00, 0x00, 0xff, 0xff, 0x1a, 0xaf, 0x50, 0xc3, 0x6d, 0x09, 0x00, 0x00, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1250 | } |