blob: 79ce1b16f3ca53980b60e1b08dcce32fa709ce5c [file] [log] [blame]
William Kurkian1b363f42019-03-12 15:28:12 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/inter_container.proto
3
William Kurkianad745652019-03-20 08:45:51 -04004package inter_container
William Kurkian1b363f42019-03-12 15:28:12 -04005
William Kurkianad745652019-03-20 08:45:51 -04006import (
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 Kurkian1b363f42019-03-12 15:28:12 -040014
15// Reference imports to suppress errors if they are not otherwise used.
16var _ = proto.Marshal
17var _ = fmt.Errorf
18var _ = 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 Kurkianad745652019-03-20 08:45:51 -040024const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
William Kurkian1b363f42019-03-12 15:28:12 -040025
26// LogicalPortId from public import voltha_protos/logical_device.proto
27type LogicalPortId = voltha.LogicalPortId
28
29// LogicalPort from public import voltha_protos/logical_device.proto
30type LogicalPort = voltha.LogicalPort
31
32// LogicalPorts from public import voltha_protos/logical_device.proto
33type LogicalPorts = voltha.LogicalPorts
34
35// LogicalDevice from public import voltha_protos/logical_device.proto
36type LogicalDevice = voltha.LogicalDevice
37
38// LogicalDevices from public import voltha_protos/logical_device.proto
39type LogicalDevices = voltha.LogicalDevices
40
41type MessageType int32
42
43const (
44 MessageType_REQUEST MessageType = 0
45 MessageType_RESPONSE MessageType = 1
46 MessageType_DEVICE_DISCOVERED MessageType = 2
47)
48
49var MessageType_name = map[int32]string{
50 0: "REQUEST",
51 1: "RESPONSE",
52 2: "DEVICE_DISCOVERED",
53}
William Kurkianad745652019-03-20 08:45:51 -040054
William Kurkian1b363f42019-03-12 15:28:12 -040055var MessageType_value = map[string]int32{
56 "REQUEST": 0,
57 "RESPONSE": 1,
58 "DEVICE_DISCOVERED": 2,
59}
60
61func (x MessageType) String() string {
62 return proto.EnumName(MessageType_name, int32(x))
63}
William Kurkianad745652019-03-20 08:45:51 -040064
William Kurkian1b363f42019-03-12 15:28:12 -040065func (MessageType) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -040066 return fileDescriptor_941f0031a549667f, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -040067}
68
69type ErrorCodeCodes int32
70
71const (
72 ErrorCode_UNSUPPORTED_REQUEST ErrorCodeCodes = 0
73 ErrorCode_INVALID_PARAMETERS ErrorCodeCodes = 1
74)
75
76var ErrorCodeCodes_name = map[int32]string{
77 0: "UNSUPPORTED_REQUEST",
78 1: "INVALID_PARAMETERS",
79}
William Kurkianad745652019-03-20 08:45:51 -040080
William Kurkian1b363f42019-03-12 15:28:12 -040081var ErrorCodeCodes_value = map[string]int32{
82 "UNSUPPORTED_REQUEST": 0,
83 "INVALID_PARAMETERS": 1,
84}
85
86func (x ErrorCodeCodes) String() string {
87 return proto.EnumName(ErrorCodeCodes_name, int32(x))
88}
William Kurkianad745652019-03-20 08:45:51 -040089
William Kurkian1b363f42019-03-12 15:28:12 -040090func (ErrorCodeCodes) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -040091 return fileDescriptor_941f0031a549667f, []int{4, 0}
William Kurkian1b363f42019-03-12 15:28:12 -040092}
93
94type InterAdapterMessageType_Types int32
95
96const (
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
Matt Jeanneret4604c422019-03-14 19:04:43 -0400103 InterAdapterMessageType_ONU_IND_REQUEST InterAdapterMessageType_Types = 6
104 InterAdapterMessageType_ONU_IND_RESPONSE InterAdapterMessageType_Types = 7
William Kurkian1b363f42019-03-12 15:28:12 -0400105)
106
107var InterAdapterMessageType_Types_name = map[int32]string{
108 0: "FLOW_REQUEST",
109 1: "FLOW_RESPONSE",
110 2: "OMCI_REQUEST",
111 3: "OMCI_RESPONSE",
112 4: "METRICS_REQUEST",
113 5: "METRICS_RESPONSE",
Matt Jeanneret4604c422019-03-14 19:04:43 -0400114 6: "ONU_IND_REQUEST",
115 7: "ONU_IND_RESPONSE",
William Kurkian1b363f42019-03-12 15:28:12 -0400116}
William Kurkianad745652019-03-20 08:45:51 -0400117
William Kurkian1b363f42019-03-12 15:28:12 -0400118var InterAdapterMessageType_Types_value = map[string]int32{
119 "FLOW_REQUEST": 0,
120 "FLOW_RESPONSE": 1,
121 "OMCI_REQUEST": 2,
122 "OMCI_RESPONSE": 3,
123 "METRICS_REQUEST": 4,
124 "METRICS_RESPONSE": 5,
Matt Jeanneret4604c422019-03-14 19:04:43 -0400125 "ONU_IND_REQUEST": 6,
126 "ONU_IND_RESPONSE": 7,
William Kurkian1b363f42019-03-12 15:28:12 -0400127}
128
129func (x InterAdapterMessageType_Types) String() string {
130 return proto.EnumName(InterAdapterMessageType_Types_name, int32(x))
131}
William Kurkianad745652019-03-20 08:45:51 -0400132
William Kurkian1b363f42019-03-12 15:28:12 -0400133func (InterAdapterMessageType_Types) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400134 return fileDescriptor_941f0031a549667f, []int{14, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400135}
136
137type StrType struct {
138 Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"`
139 XXX_NoUnkeyedLiteral struct{} `json:"-"`
140 XXX_unrecognized []byte `json:"-"`
141 XXX_sizecache int32 `json:"-"`
142}
143
144func (m *StrType) Reset() { *m = StrType{} }
145func (m *StrType) String() string { return proto.CompactTextString(m) }
146func (*StrType) ProtoMessage() {}
147func (*StrType) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400148 return fileDescriptor_941f0031a549667f, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -0400149}
William Kurkianad745652019-03-20 08:45:51 -0400150
William Kurkian1b363f42019-03-12 15:28:12 -0400151func (m *StrType) XXX_Unmarshal(b []byte) error {
152 return xxx_messageInfo_StrType.Unmarshal(m, b)
153}
154func (m *StrType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
155 return xxx_messageInfo_StrType.Marshal(b, m, deterministic)
156}
William Kurkianad745652019-03-20 08:45:51 -0400157func (m *StrType) XXX_Merge(src proto.Message) {
158 xxx_messageInfo_StrType.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400159}
160func (m *StrType) XXX_Size() int {
161 return xxx_messageInfo_StrType.Size(m)
162}
163func (m *StrType) XXX_DiscardUnknown() {
164 xxx_messageInfo_StrType.DiscardUnknown(m)
165}
166
167var xxx_messageInfo_StrType proto.InternalMessageInfo
168
169func (m *StrType) GetVal() string {
170 if m != nil {
171 return m.Val
172 }
173 return ""
174}
175
176type IntType struct {
177 Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"`
178 XXX_NoUnkeyedLiteral struct{} `json:"-"`
179 XXX_unrecognized []byte `json:"-"`
180 XXX_sizecache int32 `json:"-"`
181}
182
183func (m *IntType) Reset() { *m = IntType{} }
184func (m *IntType) String() string { return proto.CompactTextString(m) }
185func (*IntType) ProtoMessage() {}
186func (*IntType) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400187 return fileDescriptor_941f0031a549667f, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -0400188}
William Kurkianad745652019-03-20 08:45:51 -0400189
William Kurkian1b363f42019-03-12 15:28:12 -0400190func (m *IntType) XXX_Unmarshal(b []byte) error {
191 return xxx_messageInfo_IntType.Unmarshal(m, b)
192}
193func (m *IntType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
194 return xxx_messageInfo_IntType.Marshal(b, m, deterministic)
195}
William Kurkianad745652019-03-20 08:45:51 -0400196func (m *IntType) XXX_Merge(src proto.Message) {
197 xxx_messageInfo_IntType.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400198}
199func (m *IntType) XXX_Size() int {
200 return xxx_messageInfo_IntType.Size(m)
201}
202func (m *IntType) XXX_DiscardUnknown() {
203 xxx_messageInfo_IntType.DiscardUnknown(m)
204}
205
206var xxx_messageInfo_IntType proto.InternalMessageInfo
207
208func (m *IntType) GetVal() int64 {
209 if m != nil {
210 return m.Val
211 }
212 return 0
213}
214
215type BoolType struct {
216 Val bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"`
217 XXX_NoUnkeyedLiteral struct{} `json:"-"`
218 XXX_unrecognized []byte `json:"-"`
219 XXX_sizecache int32 `json:"-"`
220}
221
222func (m *BoolType) Reset() { *m = BoolType{} }
223func (m *BoolType) String() string { return proto.CompactTextString(m) }
224func (*BoolType) ProtoMessage() {}
225func (*BoolType) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400226 return fileDescriptor_941f0031a549667f, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -0400227}
William Kurkianad745652019-03-20 08:45:51 -0400228
William Kurkian1b363f42019-03-12 15:28:12 -0400229func (m *BoolType) XXX_Unmarshal(b []byte) error {
230 return xxx_messageInfo_BoolType.Unmarshal(m, b)
231}
232func (m *BoolType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
233 return xxx_messageInfo_BoolType.Marshal(b, m, deterministic)
234}
William Kurkianad745652019-03-20 08:45:51 -0400235func (m *BoolType) XXX_Merge(src proto.Message) {
236 xxx_messageInfo_BoolType.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400237}
238func (m *BoolType) XXX_Size() int {
239 return xxx_messageInfo_BoolType.Size(m)
240}
241func (m *BoolType) XXX_DiscardUnknown() {
242 xxx_messageInfo_BoolType.DiscardUnknown(m)
243}
244
245var xxx_messageInfo_BoolType proto.InternalMessageInfo
246
247func (m *BoolType) GetVal() bool {
248 if m != nil {
249 return m.Val
250 }
251 return false
252}
253
254type Packet struct {
255 Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
256 XXX_NoUnkeyedLiteral struct{} `json:"-"`
257 XXX_unrecognized []byte `json:"-"`
258 XXX_sizecache int32 `json:"-"`
259}
260
261func (m *Packet) Reset() { *m = Packet{} }
262func (m *Packet) String() string { return proto.CompactTextString(m) }
263func (*Packet) ProtoMessage() {}
264func (*Packet) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400265 return fileDescriptor_941f0031a549667f, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -0400266}
William Kurkianad745652019-03-20 08:45:51 -0400267
William Kurkian1b363f42019-03-12 15:28:12 -0400268func (m *Packet) XXX_Unmarshal(b []byte) error {
269 return xxx_messageInfo_Packet.Unmarshal(m, b)
270}
271func (m *Packet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
272 return xxx_messageInfo_Packet.Marshal(b, m, deterministic)
273}
William Kurkianad745652019-03-20 08:45:51 -0400274func (m *Packet) XXX_Merge(src proto.Message) {
275 xxx_messageInfo_Packet.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400276}
277func (m *Packet) XXX_Size() int {
278 return xxx_messageInfo_Packet.Size(m)
279}
280func (m *Packet) XXX_DiscardUnknown() {
281 xxx_messageInfo_Packet.DiscardUnknown(m)
282}
283
284var xxx_messageInfo_Packet proto.InternalMessageInfo
285
286func (m *Packet) GetPayload() []byte {
287 if m != nil {
288 return m.Payload
289 }
290 return nil
291}
292
293type ErrorCode struct {
294 XXX_NoUnkeyedLiteral struct{} `json:"-"`
295 XXX_unrecognized []byte `json:"-"`
296 XXX_sizecache int32 `json:"-"`
297}
298
299func (m *ErrorCode) Reset() { *m = ErrorCode{} }
300func (m *ErrorCode) String() string { return proto.CompactTextString(m) }
301func (*ErrorCode) ProtoMessage() {}
302func (*ErrorCode) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400303 return fileDescriptor_941f0031a549667f, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -0400304}
William Kurkianad745652019-03-20 08:45:51 -0400305
William Kurkian1b363f42019-03-12 15:28:12 -0400306func (m *ErrorCode) XXX_Unmarshal(b []byte) error {
307 return xxx_messageInfo_ErrorCode.Unmarshal(m, b)
308}
309func (m *ErrorCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
310 return xxx_messageInfo_ErrorCode.Marshal(b, m, deterministic)
311}
William Kurkianad745652019-03-20 08:45:51 -0400312func (m *ErrorCode) XXX_Merge(src proto.Message) {
313 xxx_messageInfo_ErrorCode.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400314}
315func (m *ErrorCode) XXX_Size() int {
316 return xxx_messageInfo_ErrorCode.Size(m)
317}
318func (m *ErrorCode) XXX_DiscardUnknown() {
319 xxx_messageInfo_ErrorCode.DiscardUnknown(m)
320}
321
322var xxx_messageInfo_ErrorCode proto.InternalMessageInfo
323
324type Error struct {
325 Code *ErrorCode `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
326 Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
327 XXX_NoUnkeyedLiteral struct{} `json:"-"`
328 XXX_unrecognized []byte `json:"-"`
329 XXX_sizecache int32 `json:"-"`
330}
331
332func (m *Error) Reset() { *m = Error{} }
333func (m *Error) String() string { return proto.CompactTextString(m) }
334func (*Error) ProtoMessage() {}
335func (*Error) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400336 return fileDescriptor_941f0031a549667f, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -0400337}
William Kurkianad745652019-03-20 08:45:51 -0400338
William Kurkian1b363f42019-03-12 15:28:12 -0400339func (m *Error) XXX_Unmarshal(b []byte) error {
340 return xxx_messageInfo_Error.Unmarshal(m, b)
341}
342func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
343 return xxx_messageInfo_Error.Marshal(b, m, deterministic)
344}
William Kurkianad745652019-03-20 08:45:51 -0400345func (m *Error) XXX_Merge(src proto.Message) {
346 xxx_messageInfo_Error.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400347}
348func (m *Error) XXX_Size() int {
349 return xxx_messageInfo_Error.Size(m)
350}
351func (m *Error) XXX_DiscardUnknown() {
352 xxx_messageInfo_Error.DiscardUnknown(m)
353}
354
355var xxx_messageInfo_Error proto.InternalMessageInfo
356
357func (m *Error) GetCode() *ErrorCode {
358 if m != nil {
359 return m.Code
360 }
361 return nil
362}
363
364func (m *Error) GetReason() string {
365 if m != nil {
366 return m.Reason
367 }
368 return ""
369}
370
371type Header struct {
372 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
373 Type MessageType `protobuf:"varint,2,opt,name=type,proto3,enum=voltha.MessageType" json:"type,omitempty"`
374 FromTopic string `protobuf:"bytes,3,opt,name=from_topic,json=fromTopic,proto3" json:"from_topic,omitempty"`
375 ToTopic string `protobuf:"bytes,4,opt,name=to_topic,json=toTopic,proto3" json:"to_topic,omitempty"`
376 KeyTopic string `protobuf:"bytes,5,opt,name=key_topic,json=keyTopic,proto3" json:"key_topic,omitempty"`
377 Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
378 XXX_NoUnkeyedLiteral struct{} `json:"-"`
379 XXX_unrecognized []byte `json:"-"`
380 XXX_sizecache int32 `json:"-"`
381}
382
383func (m *Header) Reset() { *m = Header{} }
384func (m *Header) String() string { return proto.CompactTextString(m) }
385func (*Header) ProtoMessage() {}
386func (*Header) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400387 return fileDescriptor_941f0031a549667f, []int{6}
William Kurkian1b363f42019-03-12 15:28:12 -0400388}
William Kurkianad745652019-03-20 08:45:51 -0400389
William Kurkian1b363f42019-03-12 15:28:12 -0400390func (m *Header) XXX_Unmarshal(b []byte) error {
391 return xxx_messageInfo_Header.Unmarshal(m, b)
392}
393func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
394 return xxx_messageInfo_Header.Marshal(b, m, deterministic)
395}
William Kurkianad745652019-03-20 08:45:51 -0400396func (m *Header) XXX_Merge(src proto.Message) {
397 xxx_messageInfo_Header.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400398}
399func (m *Header) XXX_Size() int {
400 return xxx_messageInfo_Header.Size(m)
401}
402func (m *Header) XXX_DiscardUnknown() {
403 xxx_messageInfo_Header.DiscardUnknown(m)
404}
405
406var xxx_messageInfo_Header proto.InternalMessageInfo
407
408func (m *Header) GetId() string {
409 if m != nil {
410 return m.Id
411 }
412 return ""
413}
414
415func (m *Header) GetType() MessageType {
416 if m != nil {
417 return m.Type
418 }
419 return MessageType_REQUEST
420}
421
422func (m *Header) GetFromTopic() string {
423 if m != nil {
424 return m.FromTopic
425 }
426 return ""
427}
428
429func (m *Header) GetToTopic() string {
430 if m != nil {
431 return m.ToTopic
432 }
433 return ""
434}
435
436func (m *Header) GetKeyTopic() string {
437 if m != nil {
438 return m.KeyTopic
439 }
440 return ""
441}
442
443func (m *Header) GetTimestamp() int64 {
444 if m != nil {
445 return m.Timestamp
446 }
447 return 0
448}
449
450type Argument struct {
451 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
452 Value *any.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
453 XXX_NoUnkeyedLiteral struct{} `json:"-"`
454 XXX_unrecognized []byte `json:"-"`
455 XXX_sizecache int32 `json:"-"`
456}
457
458func (m *Argument) Reset() { *m = Argument{} }
459func (m *Argument) String() string { return proto.CompactTextString(m) }
460func (*Argument) ProtoMessage() {}
461func (*Argument) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400462 return fileDescriptor_941f0031a549667f, []int{7}
William Kurkian1b363f42019-03-12 15:28:12 -0400463}
William Kurkianad745652019-03-20 08:45:51 -0400464
William Kurkian1b363f42019-03-12 15:28:12 -0400465func (m *Argument) XXX_Unmarshal(b []byte) error {
466 return xxx_messageInfo_Argument.Unmarshal(m, b)
467}
468func (m *Argument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
469 return xxx_messageInfo_Argument.Marshal(b, m, deterministic)
470}
William Kurkianad745652019-03-20 08:45:51 -0400471func (m *Argument) XXX_Merge(src proto.Message) {
472 xxx_messageInfo_Argument.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400473}
474func (m *Argument) XXX_Size() int {
475 return xxx_messageInfo_Argument.Size(m)
476}
477func (m *Argument) XXX_DiscardUnknown() {
478 xxx_messageInfo_Argument.DiscardUnknown(m)
479}
480
481var xxx_messageInfo_Argument proto.InternalMessageInfo
482
483func (m *Argument) GetKey() string {
484 if m != nil {
485 return m.Key
486 }
487 return ""
488}
489
490func (m *Argument) GetValue() *any.Any {
491 if m != nil {
492 return m.Value
493 }
494 return nil
495}
496
497type InterContainerMessage struct {
498 Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
499 Body *any.Any `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
500 XXX_NoUnkeyedLiteral struct{} `json:"-"`
501 XXX_unrecognized []byte `json:"-"`
502 XXX_sizecache int32 `json:"-"`
503}
504
505func (m *InterContainerMessage) Reset() { *m = InterContainerMessage{} }
506func (m *InterContainerMessage) String() string { return proto.CompactTextString(m) }
507func (*InterContainerMessage) ProtoMessage() {}
508func (*InterContainerMessage) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400509 return fileDescriptor_941f0031a549667f, []int{8}
William Kurkian1b363f42019-03-12 15:28:12 -0400510}
William Kurkianad745652019-03-20 08:45:51 -0400511
William Kurkian1b363f42019-03-12 15:28:12 -0400512func (m *InterContainerMessage) XXX_Unmarshal(b []byte) error {
513 return xxx_messageInfo_InterContainerMessage.Unmarshal(m, b)
514}
515func (m *InterContainerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
516 return xxx_messageInfo_InterContainerMessage.Marshal(b, m, deterministic)
517}
William Kurkianad745652019-03-20 08:45:51 -0400518func (m *InterContainerMessage) XXX_Merge(src proto.Message) {
519 xxx_messageInfo_InterContainerMessage.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400520}
521func (m *InterContainerMessage) XXX_Size() int {
522 return xxx_messageInfo_InterContainerMessage.Size(m)
523}
524func (m *InterContainerMessage) XXX_DiscardUnknown() {
525 xxx_messageInfo_InterContainerMessage.DiscardUnknown(m)
526}
527
528var xxx_messageInfo_InterContainerMessage proto.InternalMessageInfo
529
530func (m *InterContainerMessage) GetHeader() *Header {
531 if m != nil {
532 return m.Header
533 }
534 return nil
535}
536
537func (m *InterContainerMessage) GetBody() *any.Any {
538 if m != nil {
539 return m.Body
540 }
541 return nil
542}
543
544type InterContainerRequestBody struct {
545 Rpc string `protobuf:"bytes,2,opt,name=rpc,proto3" json:"rpc,omitempty"`
546 Args []*Argument `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
547 ResponseRequired bool `protobuf:"varint,4,opt,name=response_required,json=responseRequired,proto3" json:"response_required,omitempty"`
548 ReplyToTopic string `protobuf:"bytes,5,opt,name=reply_to_topic,json=replyToTopic,proto3" json:"reply_to_topic,omitempty"`
549 XXX_NoUnkeyedLiteral struct{} `json:"-"`
550 XXX_unrecognized []byte `json:"-"`
551 XXX_sizecache int32 `json:"-"`
552}
553
554func (m *InterContainerRequestBody) Reset() { *m = InterContainerRequestBody{} }
555func (m *InterContainerRequestBody) String() string { return proto.CompactTextString(m) }
556func (*InterContainerRequestBody) ProtoMessage() {}
557func (*InterContainerRequestBody) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400558 return fileDescriptor_941f0031a549667f, []int{9}
William Kurkian1b363f42019-03-12 15:28:12 -0400559}
William Kurkianad745652019-03-20 08:45:51 -0400560
William Kurkian1b363f42019-03-12 15:28:12 -0400561func (m *InterContainerRequestBody) XXX_Unmarshal(b []byte) error {
562 return xxx_messageInfo_InterContainerRequestBody.Unmarshal(m, b)
563}
564func (m *InterContainerRequestBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
565 return xxx_messageInfo_InterContainerRequestBody.Marshal(b, m, deterministic)
566}
William Kurkianad745652019-03-20 08:45:51 -0400567func (m *InterContainerRequestBody) XXX_Merge(src proto.Message) {
568 xxx_messageInfo_InterContainerRequestBody.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400569}
570func (m *InterContainerRequestBody) XXX_Size() int {
571 return xxx_messageInfo_InterContainerRequestBody.Size(m)
572}
573func (m *InterContainerRequestBody) XXX_DiscardUnknown() {
574 xxx_messageInfo_InterContainerRequestBody.DiscardUnknown(m)
575}
576
577var xxx_messageInfo_InterContainerRequestBody proto.InternalMessageInfo
578
579func (m *InterContainerRequestBody) GetRpc() string {
580 if m != nil {
581 return m.Rpc
582 }
583 return ""
584}
585
586func (m *InterContainerRequestBody) GetArgs() []*Argument {
587 if m != nil {
588 return m.Args
589 }
590 return nil
591}
592
593func (m *InterContainerRequestBody) GetResponseRequired() bool {
594 if m != nil {
595 return m.ResponseRequired
596 }
597 return false
598}
599
600func (m *InterContainerRequestBody) GetReplyToTopic() string {
601 if m != nil {
602 return m.ReplyToTopic
603 }
604 return ""
605}
606
607type InterContainerResponseBody struct {
608 Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
609 Result *any.Any `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
610 XXX_NoUnkeyedLiteral struct{} `json:"-"`
611 XXX_unrecognized []byte `json:"-"`
612 XXX_sizecache int32 `json:"-"`
613}
614
615func (m *InterContainerResponseBody) Reset() { *m = InterContainerResponseBody{} }
616func (m *InterContainerResponseBody) String() string { return proto.CompactTextString(m) }
617func (*InterContainerResponseBody) ProtoMessage() {}
618func (*InterContainerResponseBody) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400619 return fileDescriptor_941f0031a549667f, []int{10}
William Kurkian1b363f42019-03-12 15:28:12 -0400620}
William Kurkianad745652019-03-20 08:45:51 -0400621
William Kurkian1b363f42019-03-12 15:28:12 -0400622func (m *InterContainerResponseBody) XXX_Unmarshal(b []byte) error {
623 return xxx_messageInfo_InterContainerResponseBody.Unmarshal(m, b)
624}
625func (m *InterContainerResponseBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
626 return xxx_messageInfo_InterContainerResponseBody.Marshal(b, m, deterministic)
627}
William Kurkianad745652019-03-20 08:45:51 -0400628func (m *InterContainerResponseBody) XXX_Merge(src proto.Message) {
629 xxx_messageInfo_InterContainerResponseBody.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400630}
631func (m *InterContainerResponseBody) XXX_Size() int {
632 return xxx_messageInfo_InterContainerResponseBody.Size(m)
633}
634func (m *InterContainerResponseBody) XXX_DiscardUnknown() {
635 xxx_messageInfo_InterContainerResponseBody.DiscardUnknown(m)
636}
637
638var xxx_messageInfo_InterContainerResponseBody proto.InternalMessageInfo
639
640func (m *InterContainerResponseBody) GetSuccess() bool {
641 if m != nil {
642 return m.Success
643 }
644 return false
645}
646
647func (m *InterContainerResponseBody) GetResult() *any.Any {
648 if m != nil {
649 return m.Result
650 }
651 return nil
652}
653
654type SwitchCapability struct {
655 Desc *openflow_13.OfpDesc `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"`
656 SwitchFeatures *openflow_13.OfpSwitchFeatures `protobuf:"bytes,2,opt,name=switch_features,json=switchFeatures,proto3" json:"switch_features,omitempty"`
657 XXX_NoUnkeyedLiteral struct{} `json:"-"`
658 XXX_unrecognized []byte `json:"-"`
659 XXX_sizecache int32 `json:"-"`
660}
661
662func (m *SwitchCapability) Reset() { *m = SwitchCapability{} }
663func (m *SwitchCapability) String() string { return proto.CompactTextString(m) }
664func (*SwitchCapability) ProtoMessage() {}
665func (*SwitchCapability) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400666 return fileDescriptor_941f0031a549667f, []int{11}
William Kurkian1b363f42019-03-12 15:28:12 -0400667}
William Kurkianad745652019-03-20 08:45:51 -0400668
William Kurkian1b363f42019-03-12 15:28:12 -0400669func (m *SwitchCapability) XXX_Unmarshal(b []byte) error {
670 return xxx_messageInfo_SwitchCapability.Unmarshal(m, b)
671}
672func (m *SwitchCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
673 return xxx_messageInfo_SwitchCapability.Marshal(b, m, deterministic)
674}
William Kurkianad745652019-03-20 08:45:51 -0400675func (m *SwitchCapability) XXX_Merge(src proto.Message) {
676 xxx_messageInfo_SwitchCapability.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400677}
678func (m *SwitchCapability) XXX_Size() int {
679 return xxx_messageInfo_SwitchCapability.Size(m)
680}
681func (m *SwitchCapability) XXX_DiscardUnknown() {
682 xxx_messageInfo_SwitchCapability.DiscardUnknown(m)
683}
684
685var xxx_messageInfo_SwitchCapability proto.InternalMessageInfo
686
687func (m *SwitchCapability) GetDesc() *openflow_13.OfpDesc {
688 if m != nil {
689 return m.Desc
690 }
691 return nil
692}
693
694func (m *SwitchCapability) GetSwitchFeatures() *openflow_13.OfpSwitchFeatures {
695 if m != nil {
696 return m.SwitchFeatures
697 }
698 return nil
699}
700
701type PortCapability struct {
702 Port *voltha.LogicalPort `protobuf:"bytes,1,opt,name=port,proto3" json:"port,omitempty"`
703 XXX_NoUnkeyedLiteral struct{} `json:"-"`
704 XXX_unrecognized []byte `json:"-"`
705 XXX_sizecache int32 `json:"-"`
706}
707
708func (m *PortCapability) Reset() { *m = PortCapability{} }
709func (m *PortCapability) String() string { return proto.CompactTextString(m) }
710func (*PortCapability) ProtoMessage() {}
711func (*PortCapability) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400712 return fileDescriptor_941f0031a549667f, []int{12}
William Kurkian1b363f42019-03-12 15:28:12 -0400713}
William Kurkianad745652019-03-20 08:45:51 -0400714
William Kurkian1b363f42019-03-12 15:28:12 -0400715func (m *PortCapability) XXX_Unmarshal(b []byte) error {
716 return xxx_messageInfo_PortCapability.Unmarshal(m, b)
717}
718func (m *PortCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
719 return xxx_messageInfo_PortCapability.Marshal(b, m, deterministic)
720}
William Kurkianad745652019-03-20 08:45:51 -0400721func (m *PortCapability) XXX_Merge(src proto.Message) {
722 xxx_messageInfo_PortCapability.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400723}
724func (m *PortCapability) XXX_Size() int {
725 return xxx_messageInfo_PortCapability.Size(m)
726}
727func (m *PortCapability) XXX_DiscardUnknown() {
728 xxx_messageInfo_PortCapability.DiscardUnknown(m)
729}
730
731var xxx_messageInfo_PortCapability proto.InternalMessageInfo
732
733func (m *PortCapability) GetPort() *voltha.LogicalPort {
734 if m != nil {
735 return m.Port
736 }
737 return nil
738}
739
740type DeviceDiscovered struct {
741 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
742 ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
743 DeviceType string `protobuf:"bytes,3,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
744 Publisher string `protobuf:"bytes,4,opt,name=publisher,proto3" json:"publisher,omitempty"`
745 XXX_NoUnkeyedLiteral struct{} `json:"-"`
746 XXX_unrecognized []byte `json:"-"`
747 XXX_sizecache int32 `json:"-"`
748}
749
750func (m *DeviceDiscovered) Reset() { *m = DeviceDiscovered{} }
751func (m *DeviceDiscovered) String() string { return proto.CompactTextString(m) }
752func (*DeviceDiscovered) ProtoMessage() {}
753func (*DeviceDiscovered) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400754 return fileDescriptor_941f0031a549667f, []int{13}
William Kurkian1b363f42019-03-12 15:28:12 -0400755}
William Kurkianad745652019-03-20 08:45:51 -0400756
William Kurkian1b363f42019-03-12 15:28:12 -0400757func (m *DeviceDiscovered) XXX_Unmarshal(b []byte) error {
758 return xxx_messageInfo_DeviceDiscovered.Unmarshal(m, b)
759}
760func (m *DeviceDiscovered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
761 return xxx_messageInfo_DeviceDiscovered.Marshal(b, m, deterministic)
762}
William Kurkianad745652019-03-20 08:45:51 -0400763func (m *DeviceDiscovered) XXX_Merge(src proto.Message) {
764 xxx_messageInfo_DeviceDiscovered.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400765}
766func (m *DeviceDiscovered) XXX_Size() int {
767 return xxx_messageInfo_DeviceDiscovered.Size(m)
768}
769func (m *DeviceDiscovered) XXX_DiscardUnknown() {
770 xxx_messageInfo_DeviceDiscovered.DiscardUnknown(m)
771}
772
773var xxx_messageInfo_DeviceDiscovered proto.InternalMessageInfo
774
775func (m *DeviceDiscovered) GetId() string {
776 if m != nil {
777 return m.Id
778 }
779 return ""
780}
781
782func (m *DeviceDiscovered) GetParentId() string {
783 if m != nil {
784 return m.ParentId
785 }
786 return ""
787}
788
789func (m *DeviceDiscovered) GetDeviceType() string {
790 if m != nil {
791 return m.DeviceType
792 }
793 return ""
794}
795
796func (m *DeviceDiscovered) GetPublisher() string {
797 if m != nil {
798 return m.Publisher
799 }
800 return ""
801}
802
803type InterAdapterMessageType struct {
804 XXX_NoUnkeyedLiteral struct{} `json:"-"`
805 XXX_unrecognized []byte `json:"-"`
806 XXX_sizecache int32 `json:"-"`
807}
808
809func (m *InterAdapterMessageType) Reset() { *m = InterAdapterMessageType{} }
810func (m *InterAdapterMessageType) String() string { return proto.CompactTextString(m) }
811func (*InterAdapterMessageType) ProtoMessage() {}
812func (*InterAdapterMessageType) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400813 return fileDescriptor_941f0031a549667f, []int{14}
William Kurkian1b363f42019-03-12 15:28:12 -0400814}
William Kurkianad745652019-03-20 08:45:51 -0400815
William Kurkian1b363f42019-03-12 15:28:12 -0400816func (m *InterAdapterMessageType) XXX_Unmarshal(b []byte) error {
817 return xxx_messageInfo_InterAdapterMessageType.Unmarshal(m, b)
818}
819func (m *InterAdapterMessageType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
820 return xxx_messageInfo_InterAdapterMessageType.Marshal(b, m, deterministic)
821}
William Kurkianad745652019-03-20 08:45:51 -0400822func (m *InterAdapterMessageType) XXX_Merge(src proto.Message) {
823 xxx_messageInfo_InterAdapterMessageType.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400824}
825func (m *InterAdapterMessageType) XXX_Size() int {
826 return xxx_messageInfo_InterAdapterMessageType.Size(m)
827}
828func (m *InterAdapterMessageType) XXX_DiscardUnknown() {
829 xxx_messageInfo_InterAdapterMessageType.DiscardUnknown(m)
830}
831
832var xxx_messageInfo_InterAdapterMessageType proto.InternalMessageInfo
833
834type InterAdapterHeader struct {
835 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
836 Type InterAdapterMessageType_Types `protobuf:"varint,2,opt,name=type,proto3,enum=voltha.InterAdapterMessageType_Types" json:"type,omitempty"`
837 FromTopic string `protobuf:"bytes,3,opt,name=from_topic,json=fromTopic,proto3" json:"from_topic,omitempty"`
838 ToTopic string `protobuf:"bytes,4,opt,name=to_topic,json=toTopic,proto3" json:"to_topic,omitempty"`
839 ToDeviceId string `protobuf:"bytes,5,opt,name=to_device_id,json=toDeviceId,proto3" json:"to_device_id,omitempty"`
840 ProxyDeviceId string `protobuf:"bytes,6,opt,name=proxy_device_id,json=proxyDeviceId,proto3" json:"proxy_device_id,omitempty"`
841 Timestamp int64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
842 XXX_NoUnkeyedLiteral struct{} `json:"-"`
843 XXX_unrecognized []byte `json:"-"`
844 XXX_sizecache int32 `json:"-"`
845}
846
847func (m *InterAdapterHeader) Reset() { *m = InterAdapterHeader{} }
848func (m *InterAdapterHeader) String() string { return proto.CompactTextString(m) }
849func (*InterAdapterHeader) ProtoMessage() {}
850func (*InterAdapterHeader) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400851 return fileDescriptor_941f0031a549667f, []int{15}
William Kurkian1b363f42019-03-12 15:28:12 -0400852}
William Kurkianad745652019-03-20 08:45:51 -0400853
William Kurkian1b363f42019-03-12 15:28:12 -0400854func (m *InterAdapterHeader) XXX_Unmarshal(b []byte) error {
855 return xxx_messageInfo_InterAdapterHeader.Unmarshal(m, b)
856}
857func (m *InterAdapterHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
858 return xxx_messageInfo_InterAdapterHeader.Marshal(b, m, deterministic)
859}
William Kurkianad745652019-03-20 08:45:51 -0400860func (m *InterAdapterHeader) XXX_Merge(src proto.Message) {
861 xxx_messageInfo_InterAdapterHeader.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400862}
863func (m *InterAdapterHeader) XXX_Size() int {
864 return xxx_messageInfo_InterAdapterHeader.Size(m)
865}
866func (m *InterAdapterHeader) XXX_DiscardUnknown() {
867 xxx_messageInfo_InterAdapterHeader.DiscardUnknown(m)
868}
869
870var xxx_messageInfo_InterAdapterHeader proto.InternalMessageInfo
871
872func (m *InterAdapterHeader) GetId() string {
873 if m != nil {
874 return m.Id
875 }
876 return ""
877}
878
879func (m *InterAdapterHeader) GetType() InterAdapterMessageType_Types {
880 if m != nil {
881 return m.Type
882 }
883 return InterAdapterMessageType_FLOW_REQUEST
884}
885
886func (m *InterAdapterHeader) GetFromTopic() string {
887 if m != nil {
888 return m.FromTopic
889 }
890 return ""
891}
892
893func (m *InterAdapterHeader) GetToTopic() string {
894 if m != nil {
895 return m.ToTopic
896 }
897 return ""
898}
899
900func (m *InterAdapterHeader) GetToDeviceId() string {
901 if m != nil {
902 return m.ToDeviceId
903 }
904 return ""
905}
906
907func (m *InterAdapterHeader) GetProxyDeviceId() string {
908 if m != nil {
909 return m.ProxyDeviceId
910 }
911 return ""
912}
913
914func (m *InterAdapterHeader) GetTimestamp() int64 {
915 if m != nil {
916 return m.Timestamp
917 }
918 return 0
919}
920
921type InterAdapterOmciMessage struct {
922 Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
923 XXX_NoUnkeyedLiteral struct{} `json:"-"`
924 XXX_unrecognized []byte `json:"-"`
925 XXX_sizecache int32 `json:"-"`
926}
927
928func (m *InterAdapterOmciMessage) Reset() { *m = InterAdapterOmciMessage{} }
929func (m *InterAdapterOmciMessage) String() string { return proto.CompactTextString(m) }
930func (*InterAdapterOmciMessage) ProtoMessage() {}
931func (*InterAdapterOmciMessage) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400932 return fileDescriptor_941f0031a549667f, []int{16}
William Kurkian1b363f42019-03-12 15:28:12 -0400933}
William Kurkianad745652019-03-20 08:45:51 -0400934
William Kurkian1b363f42019-03-12 15:28:12 -0400935func (m *InterAdapterOmciMessage) XXX_Unmarshal(b []byte) error {
936 return xxx_messageInfo_InterAdapterOmciMessage.Unmarshal(m, b)
937}
938func (m *InterAdapterOmciMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
939 return xxx_messageInfo_InterAdapterOmciMessage.Marshal(b, m, deterministic)
940}
William Kurkianad745652019-03-20 08:45:51 -0400941func (m *InterAdapterOmciMessage) XXX_Merge(src proto.Message) {
942 xxx_messageInfo_InterAdapterOmciMessage.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400943}
944func (m *InterAdapterOmciMessage) XXX_Size() int {
945 return xxx_messageInfo_InterAdapterOmciMessage.Size(m)
946}
947func (m *InterAdapterOmciMessage) XXX_DiscardUnknown() {
948 xxx_messageInfo_InterAdapterOmciMessage.DiscardUnknown(m)
949}
950
951var xxx_messageInfo_InterAdapterOmciMessage proto.InternalMessageInfo
952
953func (m *InterAdapterOmciMessage) GetMessage() []byte {
954 if m != nil {
955 return m.Message
956 }
957 return nil
958}
959
960type InterAdapterResponseBody struct {
961 Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
962 // Types that are valid to be assigned to Payload:
963 // *InterAdapterResponseBody_Body
964 // *InterAdapterResponseBody_Omci
965 Payload isInterAdapterResponseBody_Payload `protobuf_oneof:"payload"`
966 XXX_NoUnkeyedLiteral struct{} `json:"-"`
967 XXX_unrecognized []byte `json:"-"`
968 XXX_sizecache int32 `json:"-"`
969}
970
971func (m *InterAdapterResponseBody) Reset() { *m = InterAdapterResponseBody{} }
972func (m *InterAdapterResponseBody) String() string { return proto.CompactTextString(m) }
973func (*InterAdapterResponseBody) ProtoMessage() {}
974func (*InterAdapterResponseBody) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400975 return fileDescriptor_941f0031a549667f, []int{17}
William Kurkian1b363f42019-03-12 15:28:12 -0400976}
William Kurkianad745652019-03-20 08:45:51 -0400977
William Kurkian1b363f42019-03-12 15:28:12 -0400978func (m *InterAdapterResponseBody) XXX_Unmarshal(b []byte) error {
979 return xxx_messageInfo_InterAdapterResponseBody.Unmarshal(m, b)
980}
981func (m *InterAdapterResponseBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
982 return xxx_messageInfo_InterAdapterResponseBody.Marshal(b, m, deterministic)
983}
William Kurkianad745652019-03-20 08:45:51 -0400984func (m *InterAdapterResponseBody) XXX_Merge(src proto.Message) {
985 xxx_messageInfo_InterAdapterResponseBody.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400986}
987func (m *InterAdapterResponseBody) XXX_Size() int {
988 return xxx_messageInfo_InterAdapterResponseBody.Size(m)
989}
990func (m *InterAdapterResponseBody) XXX_DiscardUnknown() {
991 xxx_messageInfo_InterAdapterResponseBody.DiscardUnknown(m)
992}
993
994var xxx_messageInfo_InterAdapterResponseBody proto.InternalMessageInfo
995
996func (m *InterAdapterResponseBody) GetStatus() bool {
997 if m != nil {
998 return m.Status
999 }
1000 return false
1001}
1002
1003type isInterAdapterResponseBody_Payload interface {
1004 isInterAdapterResponseBody_Payload()
1005}
1006
1007type InterAdapterResponseBody_Body struct {
1008 Body *any.Any `protobuf:"bytes,2,opt,name=body,proto3,oneof"`
1009}
1010
1011type InterAdapterResponseBody_Omci struct {
1012 Omci *InterAdapterOmciMessage `protobuf:"bytes,3,opt,name=omci,proto3,oneof"`
1013}
1014
1015func (*InterAdapterResponseBody_Body) isInterAdapterResponseBody_Payload() {}
1016
1017func (*InterAdapterResponseBody_Omci) isInterAdapterResponseBody_Payload() {}
1018
1019func (m *InterAdapterResponseBody) GetPayload() isInterAdapterResponseBody_Payload {
1020 if m != nil {
1021 return m.Payload
1022 }
1023 return nil
1024}
1025
1026func (m *InterAdapterResponseBody) GetBody() *any.Any {
1027 if x, ok := m.GetPayload().(*InterAdapterResponseBody_Body); ok {
1028 return x.Body
1029 }
1030 return nil
1031}
1032
1033func (m *InterAdapterResponseBody) GetOmci() *InterAdapterOmciMessage {
1034 if x, ok := m.GetPayload().(*InterAdapterResponseBody_Omci); ok {
1035 return x.Omci
1036 }
1037 return nil
1038}
1039
William Kurkianad745652019-03-20 08:45:51 -04001040// XXX_OneofWrappers is for the internal use of the proto package.
1041func (*InterAdapterResponseBody) XXX_OneofWrappers() []interface{} {
1042 return []interface{}{
William Kurkian1b363f42019-03-12 15:28:12 -04001043 (*InterAdapterResponseBody_Body)(nil),
1044 (*InterAdapterResponseBody_Omci)(nil),
1045 }
1046}
1047
William Kurkian1b363f42019-03-12 15:28:12 -04001048type InterAdapterMessage struct {
1049 Header *InterAdapterHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
1050 Body *any.Any `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
1051 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1052 XXX_unrecognized []byte `json:"-"`
1053 XXX_sizecache int32 `json:"-"`
1054}
1055
1056func (m *InterAdapterMessage) Reset() { *m = InterAdapterMessage{} }
1057func (m *InterAdapterMessage) String() string { return proto.CompactTextString(m) }
1058func (*InterAdapterMessage) ProtoMessage() {}
1059func (*InterAdapterMessage) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -04001060 return fileDescriptor_941f0031a549667f, []int{18}
William Kurkian1b363f42019-03-12 15:28:12 -04001061}
William Kurkianad745652019-03-20 08:45:51 -04001062
William Kurkian1b363f42019-03-12 15:28:12 -04001063func (m *InterAdapterMessage) XXX_Unmarshal(b []byte) error {
1064 return xxx_messageInfo_InterAdapterMessage.Unmarshal(m, b)
1065}
1066func (m *InterAdapterMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1067 return xxx_messageInfo_InterAdapterMessage.Marshal(b, m, deterministic)
1068}
William Kurkianad745652019-03-20 08:45:51 -04001069func (m *InterAdapterMessage) XXX_Merge(src proto.Message) {
1070 xxx_messageInfo_InterAdapterMessage.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -04001071}
1072func (m *InterAdapterMessage) XXX_Size() int {
1073 return xxx_messageInfo_InterAdapterMessage.Size(m)
1074}
1075func (m *InterAdapterMessage) XXX_DiscardUnknown() {
1076 xxx_messageInfo_InterAdapterMessage.DiscardUnknown(m)
1077}
1078
1079var xxx_messageInfo_InterAdapterMessage proto.InternalMessageInfo
1080
1081func (m *InterAdapterMessage) GetHeader() *InterAdapterHeader {
1082 if m != nil {
1083 return m.Header
1084 }
1085 return nil
1086}
1087
1088func (m *InterAdapterMessage) GetBody() *any.Any {
1089 if m != nil {
1090 return m.Body
1091 }
1092 return nil
1093}
1094
1095func init() {
William Kurkianad745652019-03-20 08:45:51 -04001096 proto.RegisterEnum("voltha.MessageType", MessageType_name, MessageType_value)
1097 proto.RegisterEnum("voltha.ErrorCodeCodes", ErrorCodeCodes_name, ErrorCodeCodes_value)
1098 proto.RegisterEnum("voltha.InterAdapterMessageType_Types", InterAdapterMessageType_Types_name, InterAdapterMessageType_Types_value)
William Kurkian1b363f42019-03-12 15:28:12 -04001099 proto.RegisterType((*StrType)(nil), "voltha.StrType")
1100 proto.RegisterType((*IntType)(nil), "voltha.IntType")
1101 proto.RegisterType((*BoolType)(nil), "voltha.BoolType")
1102 proto.RegisterType((*Packet)(nil), "voltha.Packet")
1103 proto.RegisterType((*ErrorCode)(nil), "voltha.ErrorCode")
1104 proto.RegisterType((*Error)(nil), "voltha.Error")
1105 proto.RegisterType((*Header)(nil), "voltha.Header")
1106 proto.RegisterType((*Argument)(nil), "voltha.Argument")
1107 proto.RegisterType((*InterContainerMessage)(nil), "voltha.InterContainerMessage")
1108 proto.RegisterType((*InterContainerRequestBody)(nil), "voltha.InterContainerRequestBody")
1109 proto.RegisterType((*InterContainerResponseBody)(nil), "voltha.InterContainerResponseBody")
1110 proto.RegisterType((*SwitchCapability)(nil), "voltha.SwitchCapability")
1111 proto.RegisterType((*PortCapability)(nil), "voltha.PortCapability")
1112 proto.RegisterType((*DeviceDiscovered)(nil), "voltha.DeviceDiscovered")
1113 proto.RegisterType((*InterAdapterMessageType)(nil), "voltha.InterAdapterMessageType")
1114 proto.RegisterType((*InterAdapterHeader)(nil), "voltha.InterAdapterHeader")
1115 proto.RegisterType((*InterAdapterOmciMessage)(nil), "voltha.InterAdapterOmciMessage")
1116 proto.RegisterType((*InterAdapterResponseBody)(nil), "voltha.InterAdapterResponseBody")
1117 proto.RegisterType((*InterAdapterMessage)(nil), "voltha.InterAdapterMessage")
William Kurkian1b363f42019-03-12 15:28:12 -04001118}
1119
1120func init() {
William Kurkianad745652019-03-20 08:45:51 -04001121 proto.RegisterFile("voltha_protos/inter_container.proto", fileDescriptor_941f0031a549667f)
William Kurkian1b363f42019-03-12 15:28:12 -04001122}
1123
William Kurkianad745652019-03-20 08:45:51 -04001124var fileDescriptor_941f0031a549667f = []byte{
Matt Jeanneret4604c422019-03-14 19:04:43 -04001125 // 1061 bytes of a gzipped FileDescriptorProto
1126 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdb, 0x6e, 0xe3, 0x44,
1127 0x18, 0xde, 0x9c, 0x93, 0x3f, 0xdd, 0x34, 0x9d, 0x6e, 0xbb, 0xe9, 0x01, 0xb5, 0x32, 0x7b, 0x28,
1128 0x05, 0x52, 0xd1, 0x02, 0x62, 0xaf, 0x50, 0x9a, 0xb8, 0xaa, 0xa5, 0xb6, 0x09, 0x4e, 0x5a, 0x24,
1129 0x6e, 0x2c, 0xc7, 0x9e, 0xa6, 0x56, 0x9d, 0x8c, 0x77, 0x66, 0xdc, 0xc5, 0x37, 0x48, 0xdc, 0xf1,
1130 0x18, 0x5c, 0xc1, 0x1b, 0xf0, 0x02, 0xbc, 0x18, 0x9a, 0x83, 0x73, 0xa2, 0x05, 0x09, 0xee, 0x66,
1131 0xbe, 0xef, 0x9b, 0xd3, 0x7f, 0xf8, 0x6c, 0xf8, 0xf8, 0x81, 0x84, 0xfc, 0xce, 0x75, 0x22, 0x4a,
1132 0x38, 0x61, 0x47, 0xc1, 0x84, 0x63, 0xea, 0x78, 0x64, 0xc2, 0xdd, 0x60, 0x82, 0x69, 0x53, 0xc2,
1133 0xa8, 0xa8, 0x44, 0xdb, 0x5b, 0x23, 0x42, 0x46, 0x21, 0x3e, 0x92, 0xe8, 0x30, 0xbe, 0x3d, 0x72,
1134 0x27, 0x89, 0x92, 0x6c, 0xef, 0x2d, 0xee, 0x43, 0x22, 0x3c, 0xb9, 0x0d, 0xc9, 0x07, 0xe7, 0x8b,
1135 0x13, 0x2d, 0x30, 0x16, 0x05, 0x21, 0x19, 0x05, 0x9e, 0x1b, 0x3a, 0x3e, 0x7e, 0x08, 0x3c, 0xac,
1136 0x34, 0xc6, 0x0e, 0x94, 0xfa, 0x9c, 0x0e, 0x92, 0x08, 0xa3, 0x3a, 0xe4, 0x1e, 0xdc, 0xb0, 0x91,
1137 0xd9, 0xcf, 0x1c, 0x54, 0x6c, 0x31, 0x14, 0xa4, 0x35, 0xe1, 0xcb, 0x64, 0x4e, 0x91, 0xbb, 0x50,
1138 0x3e, 0x25, 0x24, 0x5c, 0x66, 0xcb, 0x8a, 0x35, 0xa0, 0xd8, 0x73, 0xbd, 0x7b, 0xcc, 0x51, 0x03,
1139 0x4a, 0x91, 0x9b, 0x84, 0xc4, 0xf5, 0x25, 0xbf, 0x62, 0xa7, 0x53, 0xc3, 0x84, 0x8a, 0x49, 0x29,
1140 0xa1, 0x6d, 0xe2, 0x63, 0xe3, 0x1b, 0x28, 0x78, 0xc4, 0xc7, 0x0c, 0xbd, 0x84, 0xf5, 0xeb, 0xab,
1141 0xfe, 0x75, 0xaf, 0xd7, 0xb5, 0x07, 0x66, 0xc7, 0xb1, 0xcd, 0xef, 0xae, 0xcd, 0xfe, 0xa0, 0xfe,
1142 0x0c, 0x6d, 0x02, 0xb2, 0xae, 0x6e, 0x5a, 0x17, 0x56, 0xc7, 0xe9, 0xb5, 0xec, 0xd6, 0xa5, 0x39,
1143 0x30, 0xed, 0x7e, 0x3d, 0x63, 0x9c, 0x41, 0x41, 0x6e, 0x83, 0x5e, 0x43, 0x5e, 0x6c, 0x21, 0x8f,
1144 0xa9, 0x1e, 0xaf, 0x35, 0xd5, 0xf3, 0x9b, 0xd3, 0x33, 0x6c, 0x49, 0xa3, 0x4d, 0x28, 0x52, 0xec,
1145 0x32, 0x32, 0x69, 0x64, 0xe5, 0x53, 0xf5, 0xcc, 0xf8, 0x23, 0x03, 0xc5, 0x73, 0xec, 0xfa, 0x98,
1146 0xa2, 0x1a, 0x64, 0x03, 0x5f, 0x47, 0x22, 0x1b, 0xf8, 0xe8, 0x2d, 0xe4, 0x79, 0x12, 0x61, 0xb9,
1147 0xa0, 0x76, 0xbc, 0x9e, 0xee, 0x7c, 0x89, 0x19, 0x73, 0x47, 0x58, 0x84, 0xc0, 0x96, 0x02, 0xf4,
1148 0x11, 0xc0, 0x2d, 0x25, 0x63, 0x87, 0x93, 0x28, 0xf0, 0x1a, 0x39, 0xb9, 0x41, 0x45, 0x20, 0x03,
1149 0x01, 0xa0, 0x2d, 0x28, 0x73, 0xa2, 0xc9, 0xbc, 0x24, 0x4b, 0x9c, 0x28, 0x6a, 0x07, 0x2a, 0xf7,
1150 0x38, 0xd1, 0x5c, 0x41, 0x72, 0xe5, 0x7b, 0x9c, 0x28, 0x72, 0x17, 0x2a, 0x3c, 0x18, 0x63, 0xc6,
1151 0xdd, 0x71, 0xd4, 0x28, 0xca, 0x1c, 0xcc, 0x00, 0xe3, 0x1c, 0xca, 0x2d, 0x3a, 0x8a, 0xc7, 0x78,
1152 0xc2, 0x45, 0x26, 0xee, 0x71, 0x92, 0x26, 0xf1, 0x1e, 0x27, 0xe8, 0x10, 0x0a, 0x0f, 0x6e, 0x18,
1153 0xab, 0xcb, 0x57, 0x8f, 0x5f, 0x34, 0x55, 0x45, 0x35, 0xd3, 0x8a, 0x6a, 0xb6, 0x26, 0x89, 0xad,
1154 0x24, 0x46, 0x00, 0x1b, 0x96, 0x28, 0xc7, 0x76, 0x5a, 0x8d, 0xfa, 0x85, 0xe8, 0x0d, 0x14, 0xef,
1155 0x64, 0x68, 0x74, 0x70, 0x6b, 0x69, 0x08, 0x54, 0xc0, 0x6c, 0xcd, 0xa2, 0x03, 0xc8, 0x0f, 0x89,
1156 0x9f, 0xfc, 0xe3, 0x59, 0x52, 0x61, 0xfc, 0x96, 0x81, 0xad, 0xc5, 0xb3, 0x6c, 0xfc, 0x3e, 0xc6,
1157 0x8c, 0x9f, 0x12, 0x3f, 0x11, 0xcf, 0xa0, 0x91, 0xa7, 0x13, 0x24, 0x86, 0xe8, 0x15, 0xe4, 0x5d,
1158 0x3a, 0x62, 0x8d, 0xdc, 0x7e, 0xee, 0xa0, 0x7a, 0x5c, 0x4f, 0xcf, 0x4f, 0x1f, 0x6e, 0x4b, 0x16,
1159 0x7d, 0x0a, 0x6b, 0x14, 0xb3, 0x88, 0x4c, 0x18, 0x76, 0x28, 0x7e, 0x1f, 0x07, 0x14, 0xfb, 0x32,
1160 0xd2, 0x65, 0xbb, 0x9e, 0x12, 0xb6, 0xc6, 0xd1, 0x2b, 0xa8, 0x51, 0x1c, 0x85, 0x22, 0xe8, 0x0b,
1161 0x71, 0x5f, 0x91, 0xe8, 0x40, 0x25, 0xc6, 0xf0, 0x61, 0x7b, 0xf9, 0x9e, 0x6a, 0x1f, 0x79, 0xd1,
1162 0x06, 0x94, 0x58, 0xec, 0x79, 0x98, 0x31, 0x5d, 0xfd, 0xe9, 0x14, 0x7d, 0x26, 0xca, 0x8c, 0xc5,
1163 0x21, 0x97, 0x65, 0xf0, 0x54, 0x30, 0xb4, 0xc6, 0xf8, 0x25, 0x03, 0xf5, 0xfe, 0x87, 0x80, 0x7b,
1164 0x77, 0x6d, 0x37, 0x72, 0x87, 0x41, 0x18, 0xf0, 0x04, 0x7d, 0x02, 0x79, 0x1f, 0x33, 0x4f, 0xc7,
1165 0x7c, 0xa3, 0x39, 0xdf, 0xe2, 0xe4, 0x36, 0x72, 0x04, 0x69, 0x4b, 0x09, 0xb2, 0x60, 0x95, 0xc9,
1166 0xe5, 0xce, 0x2d, 0x76, 0x79, 0x4c, 0x31, 0xd3, 0x39, 0xd8, 0xff, 0xdb, 0xaa, 0x25, 0x9d, 0x5d,
1167 0x53, 0xc0, 0x99, 0x9e, 0x1b, 0xef, 0xa0, 0xd6, 0x23, 0x94, 0xcf, 0xdd, 0xe3, 0x2d, 0xe4, 0x23,
1168 0x42, 0xb9, 0xbe, 0xc7, 0xb4, 0xfc, 0x2f, 0x94, 0xa1, 0x08, 0xb1, 0x2d, 0x05, 0xc6, 0x4f, 0x50,
1169 0xef, 0x48, 0x77, 0xe9, 0x04, 0xcc, 0x23, 0x0f, 0x58, 0x44, 0x79, 0xb9, 0x97, 0x76, 0xa0, 0x12,
1170 0xb9, 0x14, 0x4f, 0xb8, 0x13, 0xf8, 0x3a, 0xc1, 0x65, 0x05, 0x58, 0x3e, 0xda, 0x83, 0xaa, 0xb2,
1171 0x27, 0x47, 0xf6, 0x9b, 0x6a, 0x20, 0x50, 0x90, 0x74, 0x9a, 0x5d, 0xa8, 0x44, 0xf1, 0x30, 0x0c,
1172 0xd8, 0x1d, 0xa6, 0xba, 0x85, 0x66, 0x80, 0xf1, 0x67, 0x06, 0x5e, 0xca, 0x64, 0xb5, 0x7c, 0x37,
1173 0xe2, 0xd3, 0xf2, 0x15, 0x2b, 0x8d, 0xdf, 0x33, 0x50, 0x10, 0x03, 0x86, 0xea, 0xb0, 0x72, 0x76,
1174 0xd1, 0xfd, 0x7e, 0xce, 0x5a, 0xd6, 0xe0, 0xb9, 0x46, 0xfa, 0xbd, 0xee, 0x55, 0xdf, 0xac, 0x67,
1175 0x84, 0xa8, 0x7b, 0xd9, 0xb6, 0xa6, 0xa2, 0xac, 0x10, 0x69, 0x44, 0x8b, 0x72, 0x68, 0x1d, 0x56,
1176 0x2f, 0xcd, 0x81, 0x6d, 0xb5, 0xfb, 0x53, 0x5d, 0x1e, 0xbd, 0x80, 0xfa, 0x0c, 0xd4, 0xd2, 0x82,
1177 0x90, 0x76, 0xaf, 0xae, 0x1d, 0xeb, 0x6a, 0x66, 0x69, 0x45, 0x21, 0x9d, 0x81, 0x5a, 0x5a, 0x32,
1178 0x7e, 0xce, 0x02, 0x9a, 0x7f, 0xc5, 0x13, 0xa6, 0xf4, 0x6e, 0xc1, 0x94, 0x5e, 0xa7, 0x59, 0x79,
1179 0xe2, 0xfd, 0x4d, 0xf9, 0xf6, 0xff, 0x6d, 0x53, 0xfb, 0xb0, 0xc2, 0x89, 0xfe, 0x84, 0x88, 0x04,
1180 0xaa, 0x8e, 0x01, 0x4e, 0x54, 0xde, 0x2d, 0x1f, 0xbd, 0x81, 0xd5, 0x88, 0x92, 0x1f, 0x93, 0x39,
1181 0x51, 0x51, 0x8a, 0x9e, 0x4b, 0x78, 0xaa, 0x5b, 0xf0, 0xb4, 0xd2, 0xb2, 0xa7, 0x9d, 0x2c, 0x26,
1182 0xb2, 0x3b, 0xf6, 0x82, 0xd4, 0x8b, 0x1a, 0x50, 0x1a, 0xab, 0x61, 0xfa, 0x41, 0xd1, 0x53, 0xe3,
1183 0xd7, 0x0c, 0x34, 0xe6, 0x57, 0x2d, 0x74, 0xea, 0x26, 0x14, 0x19, 0x77, 0x79, 0x9c, 0x36, 0xaa,
1184 0x9e, 0xa1, 0xc3, 0x7f, 0xb7, 0xac, 0xf3, 0x67, 0xca, 0xb4, 0xd0, 0x57, 0x90, 0x27, 0x63, 0x2f,
1185 0xd0, 0x1d, 0xbd, 0xf7, 0x58, 0xc8, 0xe7, 0x6e, 0x2a, 0x96, 0x09, 0xf9, 0x69, 0x65, 0xfa, 0x09,
1186 0x34, 0x18, 0xac, 0x3f, 0x92, 0x20, 0x74, 0xbc, 0xe4, 0xaf, 0xdb, 0x8f, 0x6d, 0xfd, 0x5f, 0xbd,
1187 0xf6, 0xf0, 0x5b, 0xa8, 0xce, 0x55, 0x02, 0xaa, 0x42, 0x69, 0x56, 0xfa, 0x2b, 0x50, 0x9e, 0xab,
1188 0xfa, 0x0d, 0x58, 0xeb, 0x98, 0x37, 0x56, 0xdb, 0x74, 0x3a, 0x56, 0xbf, 0xdd, 0xbd, 0x31, 0x6d,
1189 0xb3, 0x53, 0xcf, 0x9e, 0x7e, 0xfd, 0xc3, 0x97, 0xa3, 0x80, 0xdf, 0xc5, 0xc3, 0xa6, 0x47, 0xc6,
1190 0xf2, 0x4f, 0xc3, 0x23, 0xd4, 0x3f, 0x52, 0x77, 0xfc, 0x5c, 0xff, 0x5f, 0x8c, 0xc8, 0xf2, 0xbf,
1191 0x4c, 0x2f, 0x3b, 0x2c, 0x4a, 0xf2, 0xe4, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x90, 0x60, 0x04,
1192 0xd3, 0xf5, 0x08, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -04001193}