blob: c476a088b293f7bb99797cc3ab65748688f2f565 [file] [log] [blame]
Don Newton98fd8812019-09-23 15:15:02 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/common.proto
3
4package common
5
6import (
7 fmt "fmt"
8 proto "github.com/golang/protobuf/proto"
9 math "math"
10)
11
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.
21const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
22
23type TestModeKeys int32
24
25const (
26 TestModeKeys_api_test TestModeKeys = 0
27)
28
29var TestModeKeys_name = map[int32]string{
30 0: "api_test",
31}
32
33var 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}
40
41func (TestModeKeys) EnumDescriptor() ([]byte, []int) {
42 return fileDescriptor_c2e3fd231961e826, []int{0}
43}
44
Don Newton98fd8812019-09-23 15:15:02 -040045// Administrative State
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080046type AdminState_Types int32
Don Newton98fd8812019-09-23 15:15:02 -040047
48const (
49 // The administrative state of the device is unknown
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080050 AdminState_UNKNOWN AdminState_Types = 0
Don Newton98fd8812019-09-23 15:15:02 -040051 // The device is pre-provisioned into Voltha, but not contacted by it
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080052 AdminState_PREPROVISIONED AdminState_Types = 1
Don Newton98fd8812019-09-23 15:15:02 -040053 // The device is enabled for activation and operation
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080054 AdminState_ENABLED AdminState_Types = 2
Don Newton98fd8812019-09-23 15:15:02 -040055 // The device is disabled and shall not perform its intended forwarding
56 // functions other than being available for re-activation.
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080057 AdminState_DISABLED AdminState_Types = 3
Don Newton98fd8812019-09-23 15:15:02 -040058 // The device is in the state of image download
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080059 AdminState_DOWNLOADING_IMAGE AdminState_Types = 4
Don Newton98fd8812019-09-23 15:15:02 -040060 // The device is marked to be deleted
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080061 AdminState_DELETED AdminState_Types = 5
Maninder12b909f2020-10-23 14:23:36 +053062 // The device is marked to be in deleting state
63 AdminState_DELETING AdminState_Types = 6
Don Newton98fd8812019-09-23 15:15:02 -040064)
65
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080066var AdminState_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -040067 0: "UNKNOWN",
68 1: "PREPROVISIONED",
69 2: "ENABLED",
70 3: "DISABLED",
71 4: "DOWNLOADING_IMAGE",
72 5: "DELETED",
Maninder12b909f2020-10-23 14:23:36 +053073 6: "DELETING",
Don Newton98fd8812019-09-23 15:15:02 -040074}
75
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080076var AdminState_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -040077 "UNKNOWN": 0,
78 "PREPROVISIONED": 1,
79 "ENABLED": 2,
80 "DISABLED": 3,
81 "DOWNLOADING_IMAGE": 4,
82 "DELETED": 5,
Maninder12b909f2020-10-23 14:23:36 +053083 "DELETING": 6,
Don Newton98fd8812019-09-23 15:15:02 -040084}
85
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080086func (x AdminState_Types) String() string {
87 return proto.EnumName(AdminState_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -040088}
89
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080090func (AdminState_Types) EnumDescriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +000091 return fileDescriptor_c2e3fd231961e826, []int{2, 0}
Don Newton98fd8812019-09-23 15:15:02 -040092}
93
94// Operational Status
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080095type OperStatus_Types int32
Don Newton98fd8812019-09-23 15:15:02 -040096
97const (
98 // The status of the device is unknown at this point
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080099 OperStatus_UNKNOWN OperStatus_Types = 0
Don Newton98fd8812019-09-23 15:15:02 -0400100 // The device has been discovered, but not yet activated
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800101 OperStatus_DISCOVERED OperStatus_Types = 1
Don Newton98fd8812019-09-23 15:15:02 -0400102 // The device is being activated (booted, rebooted, upgraded, etc.)
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800103 OperStatus_ACTIVATING OperStatus_Types = 2
Don Newton98fd8812019-09-23 15:15:02 -0400104 // Service impacting tests are being conducted
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800105 OperStatus_TESTING OperStatus_Types = 3
Don Newton98fd8812019-09-23 15:15:02 -0400106 // The device is up and active
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800107 OperStatus_ACTIVE OperStatus_Types = 4
Don Newton98fd8812019-09-23 15:15:02 -0400108 // The device has failed and cannot fulfill its intended role
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800109 OperStatus_FAILED OperStatus_Types = 5
Don Newton98fd8812019-09-23 15:15:02 -0400110)
111
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800112var OperStatus_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -0400113 0: "UNKNOWN",
114 1: "DISCOVERED",
115 2: "ACTIVATING",
116 3: "TESTING",
117 4: "ACTIVE",
118 5: "FAILED",
119}
120
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800121var OperStatus_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -0400122 "UNKNOWN": 0,
123 "DISCOVERED": 1,
124 "ACTIVATING": 2,
125 "TESTING": 3,
126 "ACTIVE": 4,
127 "FAILED": 5,
128}
129
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800130func (x OperStatus_Types) String() string {
131 return proto.EnumName(OperStatus_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -0400132}
133
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800134func (OperStatus_Types) EnumDescriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000135 return fileDescriptor_c2e3fd231961e826, []int{3, 0}
Don Newton98fd8812019-09-23 15:15:02 -0400136}
137
138// Connectivity Status
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800139type ConnectStatus_Types int32
Don Newton98fd8812019-09-23 15:15:02 -0400140
141const (
142 // The device connectivity status is unknown
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800143 ConnectStatus_UNKNOWN ConnectStatus_Types = 0
Don Newton98fd8812019-09-23 15:15:02 -0400144 // The device cannot be reached by Voltha
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800145 ConnectStatus_UNREACHABLE ConnectStatus_Types = 1
Don Newton98fd8812019-09-23 15:15:02 -0400146 // There is live communication between device and Voltha
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800147 ConnectStatus_REACHABLE ConnectStatus_Types = 2
Don Newton98fd8812019-09-23 15:15:02 -0400148)
149
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800150var ConnectStatus_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -0400151 0: "UNKNOWN",
152 1: "UNREACHABLE",
153 2: "REACHABLE",
154}
155
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800156var ConnectStatus_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -0400157 "UNKNOWN": 0,
158 "UNREACHABLE": 1,
159 "REACHABLE": 2,
160}
161
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800162func (x ConnectStatus_Types) String() string {
163 return proto.EnumName(ConnectStatus_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -0400164}
165
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800166func (ConnectStatus_Types) EnumDescriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000167 return fileDescriptor_c2e3fd231961e826, []int{4, 0}
Don Newton98fd8812019-09-23 15:15:02 -0400168}
169
170type OperationResp_OperationReturnCode int32
171
172const (
173 OperationResp_OPERATION_SUCCESS OperationResp_OperationReturnCode = 0
174 OperationResp_OPERATION_FAILURE OperationResp_OperationReturnCode = 1
175 OperationResp_OPERATION_UNSUPPORTED OperationResp_OperationReturnCode = 2
176)
177
178var OperationResp_OperationReturnCode_name = map[int32]string{
179 0: "OPERATION_SUCCESS",
180 1: "OPERATION_FAILURE",
181 2: "OPERATION_UNSUPPORTED",
182}
183
184var OperationResp_OperationReturnCode_value = map[string]int32{
185 "OPERATION_SUCCESS": 0,
186 "OPERATION_FAILURE": 1,
187 "OPERATION_UNSUPPORTED": 2,
188}
189
190func (x OperationResp_OperationReturnCode) String() string {
191 return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x))
192}
193
194func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000195 return fileDescriptor_c2e3fd231961e826, []int{5, 0}
Don Newton98fd8812019-09-23 15:15:02 -0400196}
197
Neha Sharma87d43d72020-04-08 14:10:40 +0000198type ValueType_Type int32
199
200const (
201 ValueType_EMPTY ValueType_Type = 0
202 ValueType_DISTANCE ValueType_Type = 1
203)
204
205var ValueType_Type_name = map[int32]string{
206 0: "EMPTY",
207 1: "DISTANCE",
208}
209
210var ValueType_Type_value = map[string]int32{
211 "EMPTY": 0,
212 "DISTANCE": 1,
213}
214
215func (x ValueType_Type) String() string {
216 return proto.EnumName(ValueType_Type_name, int32(x))
217}
218
219func (ValueType_Type) EnumDescriptor() ([]byte, []int) {
220 return fileDescriptor_c2e3fd231961e826, []int{6, 0}
221}
222
Don Newton98fd8812019-09-23 15:15:02 -0400223// Convey a resource identifier
224type ID struct {
225 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
226 XXX_NoUnkeyedLiteral struct{} `json:"-"`
227 XXX_unrecognized []byte `json:"-"`
228 XXX_sizecache int32 `json:"-"`
229}
230
231func (m *ID) Reset() { *m = ID{} }
232func (m *ID) String() string { return proto.CompactTextString(m) }
233func (*ID) ProtoMessage() {}
234func (*ID) Descriptor() ([]byte, []int) {
235 return fileDescriptor_c2e3fd231961e826, []int{0}
236}
237
238func (m *ID) XXX_Unmarshal(b []byte) error {
239 return xxx_messageInfo_ID.Unmarshal(m, b)
240}
241func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
242 return xxx_messageInfo_ID.Marshal(b, m, deterministic)
243}
244func (m *ID) XXX_Merge(src proto.Message) {
245 xxx_messageInfo_ID.Merge(m, src)
246}
247func (m *ID) XXX_Size() int {
248 return xxx_messageInfo_ID.Size(m)
249}
250func (m *ID) XXX_DiscardUnknown() {
251 xxx_messageInfo_ID.DiscardUnknown(m)
252}
253
254var xxx_messageInfo_ID proto.InternalMessageInfo
255
256func (m *ID) GetId() string {
257 if m != nil {
258 return m.Id
259 }
260 return ""
261}
262
263// Represents a list of IDs
264type IDs struct {
265 Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
266 XXX_NoUnkeyedLiteral struct{} `json:"-"`
267 XXX_unrecognized []byte `json:"-"`
268 XXX_sizecache int32 `json:"-"`
269}
270
271func (m *IDs) Reset() { *m = IDs{} }
272func (m *IDs) String() string { return proto.CompactTextString(m) }
273func (*IDs) ProtoMessage() {}
274func (*IDs) Descriptor() ([]byte, []int) {
275 return fileDescriptor_c2e3fd231961e826, []int{1}
276}
277
278func (m *IDs) XXX_Unmarshal(b []byte) error {
279 return xxx_messageInfo_IDs.Unmarshal(m, b)
280}
281func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
282 return xxx_messageInfo_IDs.Marshal(b, m, deterministic)
283}
284func (m *IDs) XXX_Merge(src proto.Message) {
285 xxx_messageInfo_IDs.Merge(m, src)
286}
287func (m *IDs) XXX_Size() int {
288 return xxx_messageInfo_IDs.Size(m)
289}
290func (m *IDs) XXX_DiscardUnknown() {
291 xxx_messageInfo_IDs.DiscardUnknown(m)
292}
293
294var xxx_messageInfo_IDs proto.InternalMessageInfo
295
296func (m *IDs) GetItems() []*ID {
297 if m != nil {
298 return m.Items
299 }
300 return nil
301}
302
Don Newton98fd8812019-09-23 15:15:02 -0400303type AdminState struct {
304 XXX_NoUnkeyedLiteral struct{} `json:"-"`
305 XXX_unrecognized []byte `json:"-"`
306 XXX_sizecache int32 `json:"-"`
307}
308
309func (m *AdminState) Reset() { *m = AdminState{} }
310func (m *AdminState) String() string { return proto.CompactTextString(m) }
311func (*AdminState) ProtoMessage() {}
312func (*AdminState) Descriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000313 return fileDescriptor_c2e3fd231961e826, []int{2}
Don Newton98fd8812019-09-23 15:15:02 -0400314}
315
316func (m *AdminState) XXX_Unmarshal(b []byte) error {
317 return xxx_messageInfo_AdminState.Unmarshal(m, b)
318}
319func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
320 return xxx_messageInfo_AdminState.Marshal(b, m, deterministic)
321}
322func (m *AdminState) XXX_Merge(src proto.Message) {
323 xxx_messageInfo_AdminState.Merge(m, src)
324}
325func (m *AdminState) XXX_Size() int {
326 return xxx_messageInfo_AdminState.Size(m)
327}
328func (m *AdminState) XXX_DiscardUnknown() {
329 xxx_messageInfo_AdminState.DiscardUnknown(m)
330}
331
332var xxx_messageInfo_AdminState proto.InternalMessageInfo
333
334type OperStatus struct {
335 XXX_NoUnkeyedLiteral struct{} `json:"-"`
336 XXX_unrecognized []byte `json:"-"`
337 XXX_sizecache int32 `json:"-"`
338}
339
340func (m *OperStatus) Reset() { *m = OperStatus{} }
341func (m *OperStatus) String() string { return proto.CompactTextString(m) }
342func (*OperStatus) ProtoMessage() {}
343func (*OperStatus) Descriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000344 return fileDescriptor_c2e3fd231961e826, []int{3}
Don Newton98fd8812019-09-23 15:15:02 -0400345}
346
347func (m *OperStatus) XXX_Unmarshal(b []byte) error {
348 return xxx_messageInfo_OperStatus.Unmarshal(m, b)
349}
350func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
351 return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic)
352}
353func (m *OperStatus) XXX_Merge(src proto.Message) {
354 xxx_messageInfo_OperStatus.Merge(m, src)
355}
356func (m *OperStatus) XXX_Size() int {
357 return xxx_messageInfo_OperStatus.Size(m)
358}
359func (m *OperStatus) XXX_DiscardUnknown() {
360 xxx_messageInfo_OperStatus.DiscardUnknown(m)
361}
362
363var xxx_messageInfo_OperStatus proto.InternalMessageInfo
364
365type ConnectStatus struct {
366 XXX_NoUnkeyedLiteral struct{} `json:"-"`
367 XXX_unrecognized []byte `json:"-"`
368 XXX_sizecache int32 `json:"-"`
369}
370
371func (m *ConnectStatus) Reset() { *m = ConnectStatus{} }
372func (m *ConnectStatus) String() string { return proto.CompactTextString(m) }
373func (*ConnectStatus) ProtoMessage() {}
374func (*ConnectStatus) Descriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000375 return fileDescriptor_c2e3fd231961e826, []int{4}
Don Newton98fd8812019-09-23 15:15:02 -0400376}
377
378func (m *ConnectStatus) XXX_Unmarshal(b []byte) error {
379 return xxx_messageInfo_ConnectStatus.Unmarshal(m, b)
380}
381func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
382 return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic)
383}
384func (m *ConnectStatus) XXX_Merge(src proto.Message) {
385 xxx_messageInfo_ConnectStatus.Merge(m, src)
386}
387func (m *ConnectStatus) XXX_Size() int {
388 return xxx_messageInfo_ConnectStatus.Size(m)
389}
390func (m *ConnectStatus) XXX_DiscardUnknown() {
391 xxx_messageInfo_ConnectStatus.DiscardUnknown(m)
392}
393
394var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo
395
396type OperationResp struct {
397 // Return code
398 Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"`
399 // Additional Info
400 AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
401 XXX_NoUnkeyedLiteral struct{} `json:"-"`
402 XXX_unrecognized []byte `json:"-"`
403 XXX_sizecache int32 `json:"-"`
404}
405
406func (m *OperationResp) Reset() { *m = OperationResp{} }
407func (m *OperationResp) String() string { return proto.CompactTextString(m) }
408func (*OperationResp) ProtoMessage() {}
409func (*OperationResp) Descriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000410 return fileDescriptor_c2e3fd231961e826, []int{5}
Don Newton98fd8812019-09-23 15:15:02 -0400411}
412
413func (m *OperationResp) XXX_Unmarshal(b []byte) error {
414 return xxx_messageInfo_OperationResp.Unmarshal(m, b)
415}
416func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
417 return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic)
418}
419func (m *OperationResp) XXX_Merge(src proto.Message) {
420 xxx_messageInfo_OperationResp.Merge(m, src)
421}
422func (m *OperationResp) XXX_Size() int {
423 return xxx_messageInfo_OperationResp.Size(m)
424}
425func (m *OperationResp) XXX_DiscardUnknown() {
426 xxx_messageInfo_OperationResp.DiscardUnknown(m)
427}
428
429var xxx_messageInfo_OperationResp proto.InternalMessageInfo
430
431func (m *OperationResp) GetCode() OperationResp_OperationReturnCode {
432 if m != nil {
433 return m.Code
434 }
435 return OperationResp_OPERATION_SUCCESS
436}
437
438func (m *OperationResp) GetAdditionalInfo() string {
439 if m != nil {
440 return m.AdditionalInfo
441 }
442 return ""
443}
444
Neha Sharma87d43d72020-04-08 14:10:40 +0000445type ValueType struct {
446 XXX_NoUnkeyedLiteral struct{} `json:"-"`
447 XXX_unrecognized []byte `json:"-"`
448 XXX_sizecache int32 `json:"-"`
449}
450
451func (m *ValueType) Reset() { *m = ValueType{} }
452func (m *ValueType) String() string { return proto.CompactTextString(m) }
453func (*ValueType) ProtoMessage() {}
454func (*ValueType) Descriptor() ([]byte, []int) {
455 return fileDescriptor_c2e3fd231961e826, []int{6}
456}
457
458func (m *ValueType) XXX_Unmarshal(b []byte) error {
459 return xxx_messageInfo_ValueType.Unmarshal(m, b)
460}
461func (m *ValueType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
462 return xxx_messageInfo_ValueType.Marshal(b, m, deterministic)
463}
464func (m *ValueType) XXX_Merge(src proto.Message) {
465 xxx_messageInfo_ValueType.Merge(m, src)
466}
467func (m *ValueType) XXX_Size() int {
468 return xxx_messageInfo_ValueType.Size(m)
469}
470func (m *ValueType) XXX_DiscardUnknown() {
471 xxx_messageInfo_ValueType.DiscardUnknown(m)
472}
473
474var xxx_messageInfo_ValueType proto.InternalMessageInfo
475
476type ValueSpecifier struct {
477 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
478 Value ValueType_Type `protobuf:"varint,2,opt,name=value,proto3,enum=common.ValueType_Type" json:"value,omitempty"`
479 XXX_NoUnkeyedLiteral struct{} `json:"-"`
480 XXX_unrecognized []byte `json:"-"`
481 XXX_sizecache int32 `json:"-"`
482}
483
484func (m *ValueSpecifier) Reset() { *m = ValueSpecifier{} }
485func (m *ValueSpecifier) String() string { return proto.CompactTextString(m) }
486func (*ValueSpecifier) ProtoMessage() {}
487func (*ValueSpecifier) Descriptor() ([]byte, []int) {
488 return fileDescriptor_c2e3fd231961e826, []int{7}
489}
490
491func (m *ValueSpecifier) XXX_Unmarshal(b []byte) error {
492 return xxx_messageInfo_ValueSpecifier.Unmarshal(m, b)
493}
494func (m *ValueSpecifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
495 return xxx_messageInfo_ValueSpecifier.Marshal(b, m, deterministic)
496}
497func (m *ValueSpecifier) XXX_Merge(src proto.Message) {
498 xxx_messageInfo_ValueSpecifier.Merge(m, src)
499}
500func (m *ValueSpecifier) XXX_Size() int {
501 return xxx_messageInfo_ValueSpecifier.Size(m)
502}
503func (m *ValueSpecifier) XXX_DiscardUnknown() {
504 xxx_messageInfo_ValueSpecifier.DiscardUnknown(m)
505}
506
507var xxx_messageInfo_ValueSpecifier proto.InternalMessageInfo
508
509func (m *ValueSpecifier) GetId() string {
510 if m != nil {
511 return m.Id
512 }
513 return ""
514}
515
516func (m *ValueSpecifier) GetValue() ValueType_Type {
517 if m != nil {
518 return m.Value
519 }
520 return ValueType_EMPTY
521}
522
523type ReturnValues struct {
524 Set uint32 `protobuf:"varint,1,opt,name=Set,proto3" json:"Set,omitempty"`
525 Unsupported uint32 `protobuf:"varint,2,opt,name=Unsupported,proto3" json:"Unsupported,omitempty"`
526 Error uint32 `protobuf:"varint,3,opt,name=Error,proto3" json:"Error,omitempty"`
527 Distance uint32 `protobuf:"varint,4,opt,name=Distance,proto3" json:"Distance,omitempty"`
528 XXX_NoUnkeyedLiteral struct{} `json:"-"`
529 XXX_unrecognized []byte `json:"-"`
530 XXX_sizecache int32 `json:"-"`
531}
532
533func (m *ReturnValues) Reset() { *m = ReturnValues{} }
534func (m *ReturnValues) String() string { return proto.CompactTextString(m) }
535func (*ReturnValues) ProtoMessage() {}
536func (*ReturnValues) Descriptor() ([]byte, []int) {
537 return fileDescriptor_c2e3fd231961e826, []int{8}
538}
539
540func (m *ReturnValues) XXX_Unmarshal(b []byte) error {
541 return xxx_messageInfo_ReturnValues.Unmarshal(m, b)
542}
543func (m *ReturnValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
544 return xxx_messageInfo_ReturnValues.Marshal(b, m, deterministic)
545}
546func (m *ReturnValues) XXX_Merge(src proto.Message) {
547 xxx_messageInfo_ReturnValues.Merge(m, src)
548}
549func (m *ReturnValues) XXX_Size() int {
550 return xxx_messageInfo_ReturnValues.Size(m)
551}
552func (m *ReturnValues) XXX_DiscardUnknown() {
553 xxx_messageInfo_ReturnValues.DiscardUnknown(m)
554}
555
556var xxx_messageInfo_ReturnValues proto.InternalMessageInfo
557
558func (m *ReturnValues) GetSet() uint32 {
559 if m != nil {
560 return m.Set
561 }
562 return 0
563}
564
565func (m *ReturnValues) GetUnsupported() uint32 {
566 if m != nil {
567 return m.Unsupported
568 }
569 return 0
570}
571
572func (m *ReturnValues) GetError() uint32 {
573 if m != nil {
574 return m.Error
575 }
576 return 0
577}
578
579func (m *ReturnValues) GetDistance() uint32 {
580 if m != nil {
581 return m.Distance
582 }
583 return 0
584}
585
Don Newton98fd8812019-09-23 15:15:02 -0400586func init() {
587 proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value)
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800588 proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value)
589 proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value)
590 proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value)
Don Newton98fd8812019-09-23 15:15:02 -0400591 proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value)
Neha Sharma87d43d72020-04-08 14:10:40 +0000592 proto.RegisterEnum("common.ValueType_Type", ValueType_Type_name, ValueType_Type_value)
Don Newton98fd8812019-09-23 15:15:02 -0400593 proto.RegisterType((*ID)(nil), "common.ID")
594 proto.RegisterType((*IDs)(nil), "common.IDs")
Don Newton98fd8812019-09-23 15:15:02 -0400595 proto.RegisterType((*AdminState)(nil), "common.AdminState")
596 proto.RegisterType((*OperStatus)(nil), "common.OperStatus")
597 proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus")
598 proto.RegisterType((*OperationResp)(nil), "common.OperationResp")
Neha Sharma87d43d72020-04-08 14:10:40 +0000599 proto.RegisterType((*ValueType)(nil), "common.ValueType")
600 proto.RegisterType((*ValueSpecifier)(nil), "common.ValueSpecifier")
601 proto.RegisterType((*ReturnValues)(nil), "common.ReturnValues")
Don Newton98fd8812019-09-23 15:15:02 -0400602}
603
604func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) }
605
606var fileDescriptor_c2e3fd231961e826 = []byte{
Maninder12b909f2020-10-23 14:23:36 +0530607 // 614 bytes of a gzipped FileDescriptorProto
608 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x4f, 0x4f, 0xdb, 0x4e,
609 0x10, 0x8d, 0x9d, 0x3f, 0x3f, 0x32, 0x21, 0xc6, 0xbf, 0x05, 0xaa, 0x14, 0x55, 0x6a, 0xe4, 0x0b,
610 0xb4, 0xa2, 0x89, 0x44, 0xb9, 0xf6, 0x60, 0xec, 0x2d, 0x5d, 0x01, 0xeb, 0x68, 0x6d, 0x07, 0xd1,
611 0x43, 0x23, 0x13, 0x2f, 0xc1, 0x12, 0xf1, 0x5a, 0xf6, 0x06, 0x89, 0x73, 0x3f, 0x64, 0xbf, 0x4e,
612 0xb5, 0xeb, 0xf0, 0xaf, 0xe2, 0x62, 0xfb, 0xcd, 0x7b, 0x3b, 0x33, 0x6f, 0xc6, 0x0b, 0x7b, 0xf7,
613 0xe2, 0x4e, 0xde, 0x26, 0xb3, 0xa2, 0x14, 0x52, 0x54, 0xe3, 0xb9, 0x58, 0x2e, 0x45, 0x3e, 0xd2,
614 0x08, 0x75, 0x6a, 0xe4, 0xec, 0x80, 0x49, 0x7c, 0x64, 0x81, 0x99, 0xa5, 0x03, 0x63, 0x68, 0x1c,
615 0x74, 0x99, 0x99, 0xa5, 0xce, 0x3e, 0x34, 0x89, 0x5f, 0xa1, 0x21, 0xb4, 0x33, 0xc9, 0x97, 0xd5,
616 0xc0, 0x18, 0x36, 0x0f, 0x7a, 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, 0xfa, 0x44, 0x43, 0xe8,
639 0xc5, 0x79, 0xb5, 0x2a, 0x0a, 0x51, 0x4a, 0x9e, 0xea, 0xac, 0x7d, 0xf6, 0x32, 0x84, 0x76, 0xa0,
640 0x8d, 0xcb, 0x52, 0x94, 0x83, 0xa6, 0xe6, 0x6a, 0x80, 0xf6, 0x60, 0xc3, 0xcf, 0x2a, 0x99, 0xe4,
641 0x73, 0x3e, 0x68, 0x69, 0xe2, 0x09, 0x7f, 0xfe, 0x00, 0x9b, 0x11, 0xaf, 0xe4, 0x85, 0x48, 0xf9,
642 0x19, 0x7f, 0xa8, 0x94, 0xc7, 0xa4, 0xc8, 0x66, 0x92, 0x57, 0xd2, 0x6e, 0x9c, 0x60, 0xd8, 0x16,
643 0xe5, 0x62, 0x24, 0x0a, 0x9e, 0xcf, 0x45, 0x99, 0x8e, 0xea, 0x3b, 0xf9, 0x73, 0xb4, 0xc8, 0xe4,
644 0xed, 0xea, 0x5a, 0xf9, 0x19, 0x3f, 0x72, 0xe3, 0x9a, 0xfb, 0xb2, 0xbe, 0xaf, 0xf7, 0xc7, 0xe3,
645 0x85, 0x58, 0xdf, 0xda, 0xeb, 0x8e, 0x0e, 0x7e, 0xfd, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x36, 0xc3,
646 0x8c, 0xb0, 0xd4, 0x03, 0x00, 0x00,
Don Newton98fd8812019-09-23 15:15:02 -0400647}