blob: 96d2f34841c7f6e4f1ef0f0414420f418a4d117d [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
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030046type LogLevel_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -040047
48const (
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030049 LogLevel_DEBUG LogLevel_Types = 0
50 LogLevel_INFO LogLevel_Types = 1
51 LogLevel_WARNING LogLevel_Types = 2
52 LogLevel_ERROR LogLevel_Types = 3
53 LogLevel_CRITICAL LogLevel_Types = 4
54 LogLevel_FATAL LogLevel_Types = 5
William Kurkian1b363f42019-03-12 15:28:12 -040055)
56
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030057var LogLevel_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -040058 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
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030066var LogLevel_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -040067 "DEBUG": 0,
68 "INFO": 1,
69 "WARNING": 2,
70 "ERROR": 3,
71 "CRITICAL": 4,
72 "FATAL": 5,
73}
74
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030075func (x LogLevel_Types) String() string {
76 return proto.EnumName(LogLevel_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -040077}
William Kurkianad745652019-03-20 08:45:51 -040078
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030079func (LogLevel_Types) 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
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030084type AdminState_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -040085
86const (
87 // The administrative state of the device is unknown
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030088 AdminState_UNKNOWN AdminState_Types = 0
William Kurkian1b363f42019-03-12 15:28:12 -040089 // The device is pre-provisioned into Voltha, but not contacted by it
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030090 AdminState_PREPROVISIONED AdminState_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -040091 // The device is enabled for activation and operation
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030092 AdminState_ENABLED AdminState_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -040093 // The device is disabled and shall not perform its intended forwarding
94 // functions other than being available for re-activation.
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030095 AdminState_DISABLED AdminState_Types = 3
William Kurkian1b363f42019-03-12 15:28:12 -040096 // The device is in the state of image download
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030097 AdminState_DOWNLOADING_IMAGE AdminState_Types = 4
William Kurkian1b363f42019-03-12 15:28:12 -040098 // The device is marked to be deleted
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030099 AdminState_DELETED AdminState_Types = 5
William Kurkian1b363f42019-03-12 15:28:12 -0400100)
101
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300102var AdminState_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400103 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
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300111var AdminState_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -0400112 "UNKNOWN": 0,
113 "PREPROVISIONED": 1,
114 "ENABLED": 2,
115 "DISABLED": 3,
116 "DOWNLOADING_IMAGE": 4,
117 "DELETED": 5,
118}
119
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300120func (x AdminState_Types) String() string {
121 return proto.EnumName(AdminState_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -0400122}
William Kurkianad745652019-03-20 08:45:51 -0400123
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300124func (AdminState_Types) 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
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300129type OperStatus_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -0400130
131const (
132 // The status of the device is unknown at this point
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300133 OperStatus_UNKNOWN OperStatus_Types = 0
William Kurkian1b363f42019-03-12 15:28:12 -0400134 // The device has been discovered, but not yet activated
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300135 OperStatus_DISCOVERED OperStatus_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -0400136 // The device is being activated (booted, rebooted, upgraded, etc.)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300137 OperStatus_ACTIVATING OperStatus_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -0400138 // Service impacting tests are being conducted
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300139 OperStatus_TESTING OperStatus_Types = 3
William Kurkian1b363f42019-03-12 15:28:12 -0400140 // The device is up and active
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300141 OperStatus_ACTIVE OperStatus_Types = 4
William Kurkian1b363f42019-03-12 15:28:12 -0400142 // The device has failed and cannot fulfill its intended role
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300143 OperStatus_FAILED OperStatus_Types = 5
William Kurkian1b363f42019-03-12 15:28:12 -0400144)
145
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300146var OperStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400147 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
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300155var OperStatus_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -0400156 "UNKNOWN": 0,
157 "DISCOVERED": 1,
158 "ACTIVATING": 2,
159 "TESTING": 3,
160 "ACTIVE": 4,
161 "FAILED": 5,
162}
163
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300164func (x OperStatus_Types) String() string {
165 return proto.EnumName(OperStatus_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -0400166}
William Kurkianad745652019-03-20 08:45:51 -0400167
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300168func (OperStatus_Types) 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
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300173type ConnectStatus_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -0400174
175const (
176 // The device connectivity status is unknown
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300177 ConnectStatus_UNKNOWN ConnectStatus_Types = 0
William Kurkian1b363f42019-03-12 15:28:12 -0400178 // The device cannot be reached by Voltha
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300179 ConnectStatus_UNREACHABLE ConnectStatus_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -0400180 // There is live communication between device and Voltha
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300181 ConnectStatus_REACHABLE ConnectStatus_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -0400182)
183
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300184var ConnectStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400185 0: "UNKNOWN",
186 1: "UNREACHABLE",
187 2: "REACHABLE",
188}
William Kurkianad745652019-03-20 08:45:51 -0400189
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300190var ConnectStatus_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -0400191 "UNKNOWN": 0,
192 "UNREACHABLE": 1,
193 "REACHABLE": 2,
194}
195
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300196func (x ConnectStatus_Types) String() string {
197 return proto.EnumName(ConnectStatus_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -0400198}
William Kurkianad745652019-03-20 08:45:51 -0400199
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300200func (ConnectStatus_Types) 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 {
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300344 Level LogLevel_Types `protobuf:"varint,1,opt,name=level,proto3,enum=common.LogLevel_Types" 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:"-"`
Scott Baker99af94e2019-08-20 10:45:06 -0700350}
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
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300377func (m *Logging) GetLevel() LogLevel_Types {
Scott Baker99af94e2019-08-20 10:45:06 -0700378 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)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300622 proto.RegisterEnum("common.LogLevel_Types", LogLevel_Types_name, LogLevel_Types_value)
623 proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value)
624 proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value)
625 proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value)
William Kurkian12fc0af2019-04-18 14:27:45 -0400626 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{
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300642 // 640 bytes of a gzipped FileDescriptorProto
643 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5d, 0x4f, 0xdb, 0x4a,
644 0x10, 0x8d, 0x9d, 0x2f, 0x98, 0x90, 0xb0, 0x77, 0xb9, 0x5c, 0x71, 0xab, 0x3e, 0x50, 0x4b, 0x08,
645 0x5a, 0xb5, 0x89, 0x0a, 0x7d, 0xe9, 0x43, 0x1f, 0x8c, 0xbd, 0xa4, 0x2b, 0xcc, 0x3a, 0x5a, 0x3b,
646 0xa0, 0xf6, 0xa1, 0x91, 0x89, 0x17, 0x63, 0x35, 0xf1, 0x5a, 0xb1, 0x83, 0xc4, 0x63, 0x7f, 0x65,
647 0xff, 0x4e, 0xb5, 0xfe, 0x28, 0x20, 0xe5, 0x71, 0xce, 0x9c, 0xd9, 0x33, 0x73, 0x66, 0x07, 0x5e,
648 0x3d, 0xc8, 0x45, 0x7e, 0x1f, 0xcc, 0xd2, 0x95, 0xcc, 0x65, 0x36, 0x9a, 0xcb, 0xe5, 0x52, 0x26,
649 0xc3, 0x22, 0xc2, 0x9d, 0x32, 0x32, 0xfe, 0x05, 0x9d, 0xda, 0x78, 0x00, 0x7a, 0x1c, 0x1e, 0x68,
650 0x87, 0xda, 0xc9, 0x36, 0xd7, 0xe3, 0xd0, 0x38, 0x86, 0x26, 0xb5, 0x33, 0x7c, 0x08, 0xed, 0x38,
651 0x17, 0xcb, 0xec, 0x40, 0x3b, 0x6c, 0x9e, 0xf4, 0x4e, 0x61, 0x58, 0x3d, 0x41, 0x6d, 0x5e, 0x26,
652 0x8c, 0x6f, 0xb0, 0xe5, 0xc8, 0xc8, 0x11, 0x0f, 0x62, 0x61, 0x5c, 0x41, 0xdb, 0x7f, 0x4c, 0x45,
653 0x86, 0xb7, 0xa1, 0x6d, 0x93, 0xf3, 0xe9, 0x18, 0x35, 0xf0, 0x16, 0xb4, 0x28, 0xbb, 0x70, 0x91,
654 0x86, 0x7b, 0xd0, 0xbd, 0x31, 0x39, 0xa3, 0x6c, 0x8c, 0x74, 0xc5, 0x20, 0x9c, 0xbb, 0x1c, 0x35,
655 0xf1, 0x0e, 0x6c, 0x59, 0x9c, 0xfa, 0xd4, 0x32, 0x1d, 0xd4, 0x52, 0x89, 0x0b, 0xd3, 0x37, 0x1d,
656 0xd4, 0x36, 0x7e, 0x69, 0xd0, 0x75, 0x64, 0x14, 0xc5, 0x49, 0x84, 0xdf, 0x43, 0x7b, 0xa1, 0x34,
657 0x8a, 0x16, 0x07, 0xa7, 0xff, 0xd5, 0x8d, 0xd4, 0xda, 0xc3, 0x42, 0x98, 0x97, 0x24, 0xfc, 0x06,
658 0x76, 0xd2, 0x60, 0xfe, 0x33, 0x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d5, 0xd0, 0xa3,
681 0x3a, 0x37, 0x2a, 0x73, 0x1f, 0xaa, 0xcb, 0x7f, 0x38, 0x1b, 0x45, 0xb2, 0xba, 0xff, 0xdb, 0x4e,
682 0x01, 0x9e, 0xfd, 0x09, 0x00, 0x00, 0xff, 0xff, 0x80, 0xbf, 0xca, 0x42, 0x1e, 0x04, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -0400683}