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