blob: 6c01eb8dd3125ef3e365c4abd43b1de9469b77b6 [file] [log] [blame]
William Kurkian1b363f42019-03-12 15:28:12 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/common.proto
3
William Kurkianad745652019-03-20 08:45:51 -04004package common
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 math "math"
10)
William Kurkian1b363f42019-03-12 15:28:12 -040011
12// Reference imports to suppress errors if they are not otherwise used.
13var _ = proto.Marshal
14var _ = fmt.Errorf
15var _ = math.Inf
16
17// This is a compile-time assertion to ensure that this generated file
18// is compatible with the proto package it is being compiled against.
19// A compilation error at this line likely means your copy of the
20// proto package needs to be updated.
William Kurkianad745652019-03-20 08:45:51 -040021const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
William Kurkian1b363f42019-03-12 15:28:12 -040022
23type TestModeKeys int32
24
25const (
26 TestModeKeys_api_test TestModeKeys = 0
27)
28
29var TestModeKeys_name = map[int32]string{
30 0: "api_test",
31}
William Kurkianad745652019-03-20 08:45:51 -040032
William Kurkian1b363f42019-03-12 15:28:12 -040033var TestModeKeys_value = map[string]int32{
34 "api_test": 0,
35}
36
37func (x TestModeKeys) String() string {
38 return proto.EnumName(TestModeKeys_name, int32(x))
39}
William Kurkianad745652019-03-20 08:45:51 -040040
William Kurkian1b363f42019-03-12 15:28:12 -040041func (TestModeKeys) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -040042 return fileDescriptor_c2e3fd231961e826, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -040043}
44
45// Logging verbosity level
46type LogLevel_LogLevel int32
47
48const (
49 LogLevel_DEBUG LogLevel_LogLevel = 0
50 LogLevel_INFO LogLevel_LogLevel = 1
51 LogLevel_WARNING LogLevel_LogLevel = 2
52 LogLevel_ERROR LogLevel_LogLevel = 3
53 LogLevel_CRITICAL LogLevel_LogLevel = 4
54 LogLevel_FATAL LogLevel_LogLevel = 5
55)
56
57var LogLevel_LogLevel_name = map[int32]string{
58 0: "DEBUG",
59 1: "INFO",
60 2: "WARNING",
61 3: "ERROR",
62 4: "CRITICAL",
63 5: "FATAL",
64}
William Kurkianad745652019-03-20 08:45:51 -040065
William Kurkian1b363f42019-03-12 15:28:12 -040066var LogLevel_LogLevel_value = map[string]int32{
67 "DEBUG": 0,
68 "INFO": 1,
69 "WARNING": 2,
70 "ERROR": 3,
71 "CRITICAL": 4,
72 "FATAL": 5,
73}
74
75func (x LogLevel_LogLevel) String() string {
76 return proto.EnumName(LogLevel_LogLevel_name, int32(x))
77}
William Kurkianad745652019-03-20 08:45:51 -040078
William Kurkian1b363f42019-03-12 15:28:12 -040079func (LogLevel_LogLevel) EnumDescriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -040080 return fileDescriptor_c2e3fd231961e826, []int{2, 0}
William Kurkian1b363f42019-03-12 15:28:12 -040081}
82
83// Administrative State
84type AdminState_AdminState int32
85
86const (
87 // The administrative state of the device is unknown
88 AdminState_UNKNOWN AdminState_AdminState = 0
89 // The device is pre-provisioned into Voltha, but not contacted by it
90 AdminState_PREPROVISIONED AdminState_AdminState = 1
91 // The device is enabled for activation and operation
92 AdminState_ENABLED AdminState_AdminState = 2
93 // The device is disabled and shall not perform its intended forwarding
94 // functions other than being available for re-activation.
95 AdminState_DISABLED AdminState_AdminState = 3
96 // The device is in the state of image download
97 AdminState_DOWNLOADING_IMAGE AdminState_AdminState = 4
98 // The device is marked to be deleted
99 AdminState_DELETED AdminState_AdminState = 5
100)
101
102var AdminState_AdminState_name = map[int32]string{
103 0: "UNKNOWN",
104 1: "PREPROVISIONED",
105 2: "ENABLED",
106 3: "DISABLED",
107 4: "DOWNLOADING_IMAGE",
108 5: "DELETED",
109}
William Kurkianad745652019-03-20 08:45:51 -0400110
William Kurkian1b363f42019-03-12 15:28:12 -0400111var AdminState_AdminState_value = map[string]int32{
112 "UNKNOWN": 0,
113 "PREPROVISIONED": 1,
114 "ENABLED": 2,
115 "DISABLED": 3,
116 "DOWNLOADING_IMAGE": 4,
117 "DELETED": 5,
118}
119
120func (x AdminState_AdminState) String() string {
121 return proto.EnumName(AdminState_AdminState_name, int32(x))
122}
William Kurkianad745652019-03-20 08:45:51 -0400123
William Kurkian1b363f42019-03-12 15:28:12 -0400124func (AdminState_AdminState) EnumDescriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -0700125 return fileDescriptor_c2e3fd231961e826, []int{6, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400126}
127
128// Operational Status
129type OperStatus_OperStatus int32
130
131const (
132 // The status of the device is unknown at this point
133 OperStatus_UNKNOWN OperStatus_OperStatus = 0
134 // The device has been discovered, but not yet activated
135 OperStatus_DISCOVERED OperStatus_OperStatus = 1
136 // The device is being activated (booted, rebooted, upgraded, etc.)
137 OperStatus_ACTIVATING OperStatus_OperStatus = 2
138 // Service impacting tests are being conducted
139 OperStatus_TESTING OperStatus_OperStatus = 3
140 // The device is up and active
141 OperStatus_ACTIVE OperStatus_OperStatus = 4
142 // The device has failed and cannot fulfill its intended role
143 OperStatus_FAILED OperStatus_OperStatus = 5
144)
145
146var OperStatus_OperStatus_name = map[int32]string{
147 0: "UNKNOWN",
148 1: "DISCOVERED",
149 2: "ACTIVATING",
150 3: "TESTING",
151 4: "ACTIVE",
152 5: "FAILED",
153}
William Kurkianad745652019-03-20 08:45:51 -0400154
William Kurkian1b363f42019-03-12 15:28:12 -0400155var OperStatus_OperStatus_value = map[string]int32{
156 "UNKNOWN": 0,
157 "DISCOVERED": 1,
158 "ACTIVATING": 2,
159 "TESTING": 3,
160 "ACTIVE": 4,
161 "FAILED": 5,
162}
163
164func (x OperStatus_OperStatus) String() string {
165 return proto.EnumName(OperStatus_OperStatus_name, int32(x))
166}
William Kurkianad745652019-03-20 08:45:51 -0400167
William Kurkian1b363f42019-03-12 15:28:12 -0400168func (OperStatus_OperStatus) EnumDescriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -0700169 return fileDescriptor_c2e3fd231961e826, []int{7, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400170}
171
172// Connectivity Status
173type ConnectStatus_ConnectStatus int32
174
175const (
176 // The device connectivity status is unknown
177 ConnectStatus_UNKNOWN ConnectStatus_ConnectStatus = 0
178 // The device cannot be reached by Voltha
179 ConnectStatus_UNREACHABLE ConnectStatus_ConnectStatus = 1
180 // There is live communication between device and Voltha
181 ConnectStatus_REACHABLE ConnectStatus_ConnectStatus = 2
182)
183
184var ConnectStatus_ConnectStatus_name = map[int32]string{
185 0: "UNKNOWN",
186 1: "UNREACHABLE",
187 2: "REACHABLE",
188}
William Kurkianad745652019-03-20 08:45:51 -0400189
William Kurkian1b363f42019-03-12 15:28:12 -0400190var ConnectStatus_ConnectStatus_value = map[string]int32{
191 "UNKNOWN": 0,
192 "UNREACHABLE": 1,
193 "REACHABLE": 2,
194}
195
196func (x ConnectStatus_ConnectStatus) String() string {
197 return proto.EnumName(ConnectStatus_ConnectStatus_name, int32(x))
198}
William Kurkianad745652019-03-20 08:45:51 -0400199
William Kurkian1b363f42019-03-12 15:28:12 -0400200func (ConnectStatus_ConnectStatus) EnumDescriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -0700201 return fileDescriptor_c2e3fd231961e826, []int{8, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400202}
203
204type OperationResp_OperationReturnCode int32
205
206const (
207 OperationResp_OPERATION_SUCCESS OperationResp_OperationReturnCode = 0
208 OperationResp_OPERATION_FAILURE OperationResp_OperationReturnCode = 1
209 OperationResp_OPERATION_UNSUPPORTED OperationResp_OperationReturnCode = 2
210)
211
212var OperationResp_OperationReturnCode_name = map[int32]string{
213 0: "OPERATION_SUCCESS",
214 1: "OPERATION_FAILURE",
215 2: "OPERATION_UNSUPPORTED",
216}
William Kurkianad745652019-03-20 08:45:51 -0400217
William Kurkian1b363f42019-03-12 15:28:12 -0400218var OperationResp_OperationReturnCode_value = map[string]int32{
219 "OPERATION_SUCCESS": 0,
220 "OPERATION_FAILURE": 1,
221 "OPERATION_UNSUPPORTED": 2,
222}
223
224func (x OperationResp_OperationReturnCode) String() string {
225 return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x))
226}
William Kurkianad745652019-03-20 08:45:51 -0400227
William Kurkian1b363f42019-03-12 15:28:12 -0400228func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -0700229 return fileDescriptor_c2e3fd231961e826, []int{9, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400230}
231
232// Convey a resource identifier
233type ID struct {
234 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
235 XXX_NoUnkeyedLiteral struct{} `json:"-"`
236 XXX_unrecognized []byte `json:"-"`
237 XXX_sizecache int32 `json:"-"`
238}
239
240func (m *ID) Reset() { *m = ID{} }
241func (m *ID) String() string { return proto.CompactTextString(m) }
242func (*ID) ProtoMessage() {}
243func (*ID) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400244 return fileDescriptor_c2e3fd231961e826, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -0400245}
William Kurkianad745652019-03-20 08:45:51 -0400246
William Kurkian1b363f42019-03-12 15:28:12 -0400247func (m *ID) XXX_Unmarshal(b []byte) error {
248 return xxx_messageInfo_ID.Unmarshal(m, b)
249}
250func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
251 return xxx_messageInfo_ID.Marshal(b, m, deterministic)
252}
William Kurkianad745652019-03-20 08:45:51 -0400253func (m *ID) XXX_Merge(src proto.Message) {
254 xxx_messageInfo_ID.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400255}
256func (m *ID) XXX_Size() int {
257 return xxx_messageInfo_ID.Size(m)
258}
259func (m *ID) XXX_DiscardUnknown() {
260 xxx_messageInfo_ID.DiscardUnknown(m)
261}
262
263var xxx_messageInfo_ID proto.InternalMessageInfo
264
265func (m *ID) GetId() string {
266 if m != nil {
267 return m.Id
268 }
269 return ""
270}
271
272// Represents a list of IDs
273type IDs struct {
274 Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
275 XXX_NoUnkeyedLiteral struct{} `json:"-"`
276 XXX_unrecognized []byte `json:"-"`
277 XXX_sizecache int32 `json:"-"`
278}
279
280func (m *IDs) Reset() { *m = IDs{} }
281func (m *IDs) String() string { return proto.CompactTextString(m) }
282func (*IDs) ProtoMessage() {}
283func (*IDs) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400284 return fileDescriptor_c2e3fd231961e826, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -0400285}
William Kurkianad745652019-03-20 08:45:51 -0400286
William Kurkian1b363f42019-03-12 15:28:12 -0400287func (m *IDs) XXX_Unmarshal(b []byte) error {
288 return xxx_messageInfo_IDs.Unmarshal(m, b)
289}
290func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
291 return xxx_messageInfo_IDs.Marshal(b, m, deterministic)
292}
William Kurkianad745652019-03-20 08:45:51 -0400293func (m *IDs) XXX_Merge(src proto.Message) {
294 xxx_messageInfo_IDs.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400295}
296func (m *IDs) XXX_Size() int {
297 return xxx_messageInfo_IDs.Size(m)
298}
299func (m *IDs) XXX_DiscardUnknown() {
300 xxx_messageInfo_IDs.DiscardUnknown(m)
301}
302
303var xxx_messageInfo_IDs proto.InternalMessageInfo
304
305func (m *IDs) GetItems() []*ID {
306 if m != nil {
307 return m.Items
308 }
309 return nil
310}
311
312type LogLevel struct {
313 XXX_NoUnkeyedLiteral struct{} `json:"-"`
314 XXX_unrecognized []byte `json:"-"`
315 XXX_sizecache int32 `json:"-"`
316}
317
318func (m *LogLevel) Reset() { *m = LogLevel{} }
319func (m *LogLevel) String() string { return proto.CompactTextString(m) }
320func (*LogLevel) ProtoMessage() {}
321func (*LogLevel) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400322 return fileDescriptor_c2e3fd231961e826, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -0400323}
William Kurkianad745652019-03-20 08:45:51 -0400324
William Kurkian1b363f42019-03-12 15:28:12 -0400325func (m *LogLevel) XXX_Unmarshal(b []byte) error {
326 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
327}
328func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
329 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
330}
William Kurkianad745652019-03-20 08:45:51 -0400331func (m *LogLevel) XXX_Merge(src proto.Message) {
332 xxx_messageInfo_LogLevel.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400333}
334func (m *LogLevel) XXX_Size() int {
335 return xxx_messageInfo_LogLevel.Size(m)
336}
337func (m *LogLevel) XXX_DiscardUnknown() {
338 xxx_messageInfo_LogLevel.DiscardUnknown(m)
339}
340
341var xxx_messageInfo_LogLevel proto.InternalMessageInfo
342
Scott Baker99af94e2019-08-20 10:45:06 -0700343type Logging struct {
344 Level LogLevel_LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=common.LogLevel_LogLevel" json:"level,omitempty"`
345 PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
346 ComponentName string `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
347 XXX_NoUnkeyedLiteral struct{} `json:"-"`
348 XXX_unrecognized []byte `json:"-"`
349 XXX_sizecache int32 `json:"-"`
350}
351
352func (m *Logging) Reset() { *m = Logging{} }
353func (m *Logging) String() string { return proto.CompactTextString(m) }
354func (*Logging) ProtoMessage() {}
355func (*Logging) Descriptor() ([]byte, []int) {
356 return fileDescriptor_c2e3fd231961e826, []int{3}
357}
358
359func (m *Logging) XXX_Unmarshal(b []byte) error {
360 return xxx_messageInfo_Logging.Unmarshal(m, b)
361}
362func (m *Logging) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
363 return xxx_messageInfo_Logging.Marshal(b, m, deterministic)
364}
365func (m *Logging) XXX_Merge(src proto.Message) {
366 xxx_messageInfo_Logging.Merge(m, src)
367}
368func (m *Logging) XXX_Size() int {
369 return xxx_messageInfo_Logging.Size(m)
370}
371func (m *Logging) XXX_DiscardUnknown() {
372 xxx_messageInfo_Logging.DiscardUnknown(m)
373}
374
375var xxx_messageInfo_Logging proto.InternalMessageInfo
376
377func (m *Logging) GetLevel() LogLevel_LogLevel {
378 if m != nil {
379 return m.Level
380 }
381 return LogLevel_DEBUG
382}
383
384func (m *Logging) GetPackageName() string {
385 if m != nil {
386 return m.PackageName
387 }
388 return ""
389}
390
391func (m *Logging) GetComponentName() string {
392 if m != nil {
393 return m.ComponentName
394 }
395 return ""
396}
397
398// For GetLogLevels(), select component to query
399type LoggingComponent struct {
400 ComponentName string `protobuf:"bytes,1,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
401 XXX_NoUnkeyedLiteral struct{} `json:"-"`
402 XXX_unrecognized []byte `json:"-"`
403 XXX_sizecache int32 `json:"-"`
404}
405
406func (m *LoggingComponent) Reset() { *m = LoggingComponent{} }
407func (m *LoggingComponent) String() string { return proto.CompactTextString(m) }
408func (*LoggingComponent) ProtoMessage() {}
409func (*LoggingComponent) Descriptor() ([]byte, []int) {
410 return fileDescriptor_c2e3fd231961e826, []int{4}
411}
412
413func (m *LoggingComponent) XXX_Unmarshal(b []byte) error {
414 return xxx_messageInfo_LoggingComponent.Unmarshal(m, b)
415}
416func (m *LoggingComponent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
417 return xxx_messageInfo_LoggingComponent.Marshal(b, m, deterministic)
418}
419func (m *LoggingComponent) XXX_Merge(src proto.Message) {
420 xxx_messageInfo_LoggingComponent.Merge(m, src)
421}
422func (m *LoggingComponent) XXX_Size() int {
423 return xxx_messageInfo_LoggingComponent.Size(m)
424}
425func (m *LoggingComponent) XXX_DiscardUnknown() {
426 xxx_messageInfo_LoggingComponent.DiscardUnknown(m)
427}
428
429var xxx_messageInfo_LoggingComponent proto.InternalMessageInfo
430
431func (m *LoggingComponent) GetComponentName() string {
432 if m != nil {
433 return m.ComponentName
434 }
435 return ""
436}
437
438// For returning multiple log levels
439type Loggings struct {
440 Items []*Logging `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
441 XXX_NoUnkeyedLiteral struct{} `json:"-"`
442 XXX_unrecognized []byte `json:"-"`
443 XXX_sizecache int32 `json:"-"`
444}
445
446func (m *Loggings) Reset() { *m = Loggings{} }
447func (m *Loggings) String() string { return proto.CompactTextString(m) }
448func (*Loggings) ProtoMessage() {}
449func (*Loggings) Descriptor() ([]byte, []int) {
450 return fileDescriptor_c2e3fd231961e826, []int{5}
451}
452
453func (m *Loggings) XXX_Unmarshal(b []byte) error {
454 return xxx_messageInfo_Loggings.Unmarshal(m, b)
455}
456func (m *Loggings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
457 return xxx_messageInfo_Loggings.Marshal(b, m, deterministic)
458}
459func (m *Loggings) XXX_Merge(src proto.Message) {
460 xxx_messageInfo_Loggings.Merge(m, src)
461}
462func (m *Loggings) XXX_Size() int {
463 return xxx_messageInfo_Loggings.Size(m)
464}
465func (m *Loggings) XXX_DiscardUnknown() {
466 xxx_messageInfo_Loggings.DiscardUnknown(m)
467}
468
469var xxx_messageInfo_Loggings proto.InternalMessageInfo
470
471func (m *Loggings) GetItems() []*Logging {
472 if m != nil {
473 return m.Items
474 }
475 return nil
476}
477
William Kurkian1b363f42019-03-12 15:28:12 -0400478type AdminState struct {
479 XXX_NoUnkeyedLiteral struct{} `json:"-"`
480 XXX_unrecognized []byte `json:"-"`
481 XXX_sizecache int32 `json:"-"`
482}
483
484func (m *AdminState) Reset() { *m = AdminState{} }
485func (m *AdminState) String() string { return proto.CompactTextString(m) }
486func (*AdminState) ProtoMessage() {}
487func (*AdminState) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -0700488 return fileDescriptor_c2e3fd231961e826, []int{6}
William Kurkian1b363f42019-03-12 15:28:12 -0400489}
William Kurkianad745652019-03-20 08:45:51 -0400490
William Kurkian1b363f42019-03-12 15:28:12 -0400491func (m *AdminState) XXX_Unmarshal(b []byte) error {
492 return xxx_messageInfo_AdminState.Unmarshal(m, b)
493}
494func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
495 return xxx_messageInfo_AdminState.Marshal(b, m, deterministic)
496}
William Kurkianad745652019-03-20 08:45:51 -0400497func (m *AdminState) XXX_Merge(src proto.Message) {
498 xxx_messageInfo_AdminState.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400499}
500func (m *AdminState) XXX_Size() int {
501 return xxx_messageInfo_AdminState.Size(m)
502}
503func (m *AdminState) XXX_DiscardUnknown() {
504 xxx_messageInfo_AdminState.DiscardUnknown(m)
505}
506
507var xxx_messageInfo_AdminState proto.InternalMessageInfo
508
509type OperStatus struct {
510 XXX_NoUnkeyedLiteral struct{} `json:"-"`
511 XXX_unrecognized []byte `json:"-"`
512 XXX_sizecache int32 `json:"-"`
513}
514
515func (m *OperStatus) Reset() { *m = OperStatus{} }
516func (m *OperStatus) String() string { return proto.CompactTextString(m) }
517func (*OperStatus) ProtoMessage() {}
518func (*OperStatus) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -0700519 return fileDescriptor_c2e3fd231961e826, []int{7}
William Kurkian1b363f42019-03-12 15:28:12 -0400520}
William Kurkianad745652019-03-20 08:45:51 -0400521
William Kurkian1b363f42019-03-12 15:28:12 -0400522func (m *OperStatus) XXX_Unmarshal(b []byte) error {
523 return xxx_messageInfo_OperStatus.Unmarshal(m, b)
524}
525func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
526 return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic)
527}
William Kurkianad745652019-03-20 08:45:51 -0400528func (m *OperStatus) XXX_Merge(src proto.Message) {
529 xxx_messageInfo_OperStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400530}
531func (m *OperStatus) XXX_Size() int {
532 return xxx_messageInfo_OperStatus.Size(m)
533}
534func (m *OperStatus) XXX_DiscardUnknown() {
535 xxx_messageInfo_OperStatus.DiscardUnknown(m)
536}
537
538var xxx_messageInfo_OperStatus proto.InternalMessageInfo
539
540type ConnectStatus struct {
541 XXX_NoUnkeyedLiteral struct{} `json:"-"`
542 XXX_unrecognized []byte `json:"-"`
543 XXX_sizecache int32 `json:"-"`
544}
545
546func (m *ConnectStatus) Reset() { *m = ConnectStatus{} }
547func (m *ConnectStatus) String() string { return proto.CompactTextString(m) }
548func (*ConnectStatus) ProtoMessage() {}
549func (*ConnectStatus) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -0700550 return fileDescriptor_c2e3fd231961e826, []int{8}
William Kurkian1b363f42019-03-12 15:28:12 -0400551}
William Kurkianad745652019-03-20 08:45:51 -0400552
William Kurkian1b363f42019-03-12 15:28:12 -0400553func (m *ConnectStatus) XXX_Unmarshal(b []byte) error {
554 return xxx_messageInfo_ConnectStatus.Unmarshal(m, b)
555}
556func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
557 return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic)
558}
William Kurkianad745652019-03-20 08:45:51 -0400559func (m *ConnectStatus) XXX_Merge(src proto.Message) {
560 xxx_messageInfo_ConnectStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400561}
562func (m *ConnectStatus) XXX_Size() int {
563 return xxx_messageInfo_ConnectStatus.Size(m)
564}
565func (m *ConnectStatus) XXX_DiscardUnknown() {
566 xxx_messageInfo_ConnectStatus.DiscardUnknown(m)
567}
568
569var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo
570
571type OperationResp struct {
572 // Return code
William Kurkian12fc0af2019-04-18 14:27:45 -0400573 Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -0400574 // Additional Info
575 AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
576 XXX_NoUnkeyedLiteral struct{} `json:"-"`
577 XXX_unrecognized []byte `json:"-"`
578 XXX_sizecache int32 `json:"-"`
579}
580
581func (m *OperationResp) Reset() { *m = OperationResp{} }
582func (m *OperationResp) String() string { return proto.CompactTextString(m) }
583func (*OperationResp) ProtoMessage() {}
584func (*OperationResp) Descriptor() ([]byte, []int) {
Scott Baker99af94e2019-08-20 10:45:06 -0700585 return fileDescriptor_c2e3fd231961e826, []int{9}
William Kurkian1b363f42019-03-12 15:28:12 -0400586}
William Kurkianad745652019-03-20 08:45:51 -0400587
William Kurkian1b363f42019-03-12 15:28:12 -0400588func (m *OperationResp) XXX_Unmarshal(b []byte) error {
589 return xxx_messageInfo_OperationResp.Unmarshal(m, b)
590}
591func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
592 return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic)
593}
William Kurkianad745652019-03-20 08:45:51 -0400594func (m *OperationResp) XXX_Merge(src proto.Message) {
595 xxx_messageInfo_OperationResp.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400596}
597func (m *OperationResp) XXX_Size() int {
598 return xxx_messageInfo_OperationResp.Size(m)
599}
600func (m *OperationResp) XXX_DiscardUnknown() {
601 xxx_messageInfo_OperationResp.DiscardUnknown(m)
602}
603
604var xxx_messageInfo_OperationResp proto.InternalMessageInfo
605
606func (m *OperationResp) GetCode() OperationResp_OperationReturnCode {
607 if m != nil {
608 return m.Code
609 }
610 return OperationResp_OPERATION_SUCCESS
611}
612
613func (m *OperationResp) GetAdditionalInfo() string {
614 if m != nil {
615 return m.AdditionalInfo
616 }
617 return ""
618}
619
620func init() {
William Kurkian12fc0af2019-04-18 14:27:45 -0400621 proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value)
622 proto.RegisterEnum("common.LogLevel_LogLevel", LogLevel_LogLevel_name, LogLevel_LogLevel_value)
623 proto.RegisterEnum("common.AdminState_AdminState", AdminState_AdminState_name, AdminState_AdminState_value)
624 proto.RegisterEnum("common.OperStatus_OperStatus", OperStatus_OperStatus_name, OperStatus_OperStatus_value)
625 proto.RegisterEnum("common.ConnectStatus_ConnectStatus", ConnectStatus_ConnectStatus_name, ConnectStatus_ConnectStatus_value)
626 proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value)
627 proto.RegisterType((*ID)(nil), "common.ID")
628 proto.RegisterType((*IDs)(nil), "common.IDs")
629 proto.RegisterType((*LogLevel)(nil), "common.LogLevel")
Scott Baker99af94e2019-08-20 10:45:06 -0700630 proto.RegisterType((*Logging)(nil), "common.Logging")
631 proto.RegisterType((*LoggingComponent)(nil), "common.LoggingComponent")
632 proto.RegisterType((*Loggings)(nil), "common.Loggings")
William Kurkian12fc0af2019-04-18 14:27:45 -0400633 proto.RegisterType((*AdminState)(nil), "common.AdminState")
634 proto.RegisterType((*OperStatus)(nil), "common.OperStatus")
635 proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus")
636 proto.RegisterType((*OperationResp)(nil), "common.OperationResp")
William Kurkian1b363f42019-03-12 15:28:12 -0400637}
638
William Kurkianad745652019-03-20 08:45:51 -0400639func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) }
William Kurkian1b363f42019-03-12 15:28:12 -0400640
William Kurkianad745652019-03-20 08:45:51 -0400641var fileDescriptor_c2e3fd231961e826 = []byte{
Scott Baker383964b2019-11-01 14:26:07 -0700642 // 663 bytes of a gzipped FileDescriptorProto
643 0x1f, 0x8b, 0x08, 0x00, 0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0x0a, 0x5a, 0x87, 0x3a, 0xa1, 0xa7, 0xae, 0xae,
655 0xa1, 0x16, 0xac, 0x5d, 0x9a, 0x8c, 0x12, 0xda, 0xd7, 0xab, 0x4a, 0x81, 0x19, 0x73, 0x99, 0x5e,
656 0x43, 0x9b, 0xb0, 0x6e, 0x31, 0xe2, 0x13, 0xcb, 0x74, 0xf4, 0xba, 0x3a, 0x38, 0x35, 0x7d, 0xd3,
657 0xd1, 0x1b, 0x1f, 0x1b, 0xbf, 0xff, 0xfc, 0x7c, 0x51, 0x31, 0x7e, 0x68, 0xb0, 0xe6, 0xc8, 0x28,
658 0x8a, 0x45, 0x84, 0x7a, 0xd0, 0x98, 0x28, 0x87, 0xbc, 0xd9, 0xce, 0xf1, 0xee, 0xbc, 0xa5, 0xb9,
659 0xf3, 0xe3, 0x07, 0x2b, 0x74, 0xe8, 0x25, 0x6c, 0x26, 0xc1, 0xf8, 0x5b, 0x10, 0xf1, 0x91, 0x08,
660 0xa6, 0x7c, 0xa7, 0x9a, 0x0f, 0xd9, 0x2a, 0x39, 0x1a, 0x4c, 0x39, 0xda, 0x87, 0xce, 0x58, 0x4e,
661 0x13, 0x29, 0xb8, 0xc8, 0x0a, 0x51, 0x2d, 0x17, 0xb5, 0x1f, 0x59, 0x25, 0x33, 0x3e, 0x80, 0x5e,
662 0x76, 0x61, 0xcd, 0xf9, 0x27, 0x4a, 0xb5, 0xa7, 0x4a, 0xdf, 0xe5, 0xd1, 0xa8, 0xd2, 0x14, 0xed,
663 0xaf, 0x86, 0xba, 0xb5, 0x34, 0x81, 0x12, 0xcc, 0x93, 0xfd, 0xae, 0x01, 0x98, 0xe1, 0x34, 0x16,
664 0x5e, 0x16, 0x64, 0xdc, 0x98, 0x2c, 0x23, 0x95, 0xe4, 0x90, 0x9e, 0x51, 0xf7, 0x92, 0xea, 0x15,
665 0x84, 0xa0, 0x33, 0x60, 0x78, 0xc0, 0xdc, 0x0b, 0xe2, 0x11, 0x97, 0x62, 0xbb, 0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11, 0x37, 0xd2, 0xb8, 0x82, 0xff, 0x9f, 0xf8, 0x8b, 0x5a, 0x83, 0x3b, 0xc0, 0xcc, 0xf4, 0x89,
678 0x4b, 0x47, 0xde, 0xd0, 0xb2, 0xb0, 0xe7, 0xe9, 0x95, 0x55, 0x5a, 0x45, 0x33, 0x64, 0x6a, 0xa8,
679 0x5d, 0xd8, 0x5e, 0xd0, 0x43, 0xea, 0x0d, 0x07, 0x03, 0x97, 0xa9, 0x5d, 0xcd, 0x07, 0x7c, 0xfd,
680 0x1c, 0x36, 0x7d, 0x9e, 0x66, 0xe7, 0x32, 0xe4, 0x67, 0xfc, 0x21, 0x55, 0x4b, 0x0f, 0x92, 0x78,
681 0x94, 0xf1, 0x34, 0xd3, 0x2b, 0x27, 0x6f, 0xbf, 0x1e, 0x45, 0x71, 0x76, 0x7b, 0x77, 0xad, 0xc6,
682 0xec, 0xc9, 0x84, 0x8b, 0xb1, 0x9c, 0x85, 0xbd, 0xe2, 0x79, 0x78, 0x53, 0x3e, 0x0f, 0xf7, 0xc7,
683 0xbd, 0x48, 0x96, 0x0f, 0xc9, 0x75, 0x33, 0x27, 0xdf, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xd8,
684 0x9c, 0x7c, 0xa7, 0x67, 0x04, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -0400685}