blob: 0956330c9e8a0c830ebfa0ed52d54c8c440956c8 [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)
61
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080062var AdminState_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -040063 0: "UNKNOWN",
64 1: "PREPROVISIONED",
65 2: "ENABLED",
66 3: "DISABLED",
67 4: "DOWNLOADING_IMAGE",
Don Newton98fd8812019-09-23 15:15:02 -040068}
69
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080070var AdminState_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -040071 "UNKNOWN": 0,
72 "PREPROVISIONED": 1,
73 "ENABLED": 2,
74 "DISABLED": 3,
75 "DOWNLOADING_IMAGE": 4,
Don Newton98fd8812019-09-23 15:15:02 -040076}
77
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080078func (x AdminState_Types) String() string {
79 return proto.EnumName(AdminState_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -040080}
81
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080082func (AdminState_Types) EnumDescriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +000083 return fileDescriptor_c2e3fd231961e826, []int{2, 0}
Don Newton98fd8812019-09-23 15:15:02 -040084}
85
86// Operational Status
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080087type OperStatus_Types int32
Don Newton98fd8812019-09-23 15:15:02 -040088
89const (
90 // The status of the device is unknown at this point
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080091 OperStatus_UNKNOWN OperStatus_Types = 0
Don Newton98fd8812019-09-23 15:15:02 -040092 // The device has been discovered, but not yet activated
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080093 OperStatus_DISCOVERED OperStatus_Types = 1
Don Newton98fd8812019-09-23 15:15:02 -040094 // The device is being activated (booted, rebooted, upgraded, etc.)
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080095 OperStatus_ACTIVATING OperStatus_Types = 2
Don Newton98fd8812019-09-23 15:15:02 -040096 // Service impacting tests are being conducted
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080097 OperStatus_TESTING OperStatus_Types = 3
Don Newton98fd8812019-09-23 15:15:02 -040098 // The device is up and active
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080099 OperStatus_ACTIVE OperStatus_Types = 4
Don Newton98fd8812019-09-23 15:15:02 -0400100 // The device has failed and cannot fulfill its intended role
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800101 OperStatus_FAILED OperStatus_Types = 5
Don Newton98fd8812019-09-23 15:15:02 -0400102)
103
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800104var OperStatus_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -0400105 0: "UNKNOWN",
106 1: "DISCOVERED",
107 2: "ACTIVATING",
108 3: "TESTING",
109 4: "ACTIVE",
110 5: "FAILED",
111}
112
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800113var OperStatus_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -0400114 "UNKNOWN": 0,
115 "DISCOVERED": 1,
116 "ACTIVATING": 2,
117 "TESTING": 3,
118 "ACTIVE": 4,
119 "FAILED": 5,
120}
121
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800122func (x OperStatus_Types) String() string {
123 return proto.EnumName(OperStatus_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -0400124}
125
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800126func (OperStatus_Types) EnumDescriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000127 return fileDescriptor_c2e3fd231961e826, []int{3, 0}
Don Newton98fd8812019-09-23 15:15:02 -0400128}
129
130// Connectivity Status
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800131type ConnectStatus_Types int32
Don Newton98fd8812019-09-23 15:15:02 -0400132
133const (
134 // The device connectivity status is unknown
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800135 ConnectStatus_UNKNOWN ConnectStatus_Types = 0
Don Newton98fd8812019-09-23 15:15:02 -0400136 // The device cannot be reached by Voltha
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800137 ConnectStatus_UNREACHABLE ConnectStatus_Types = 1
Don Newton98fd8812019-09-23 15:15:02 -0400138 // There is live communication between device and Voltha
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800139 ConnectStatus_REACHABLE ConnectStatus_Types = 2
Don Newton98fd8812019-09-23 15:15:02 -0400140)
141
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800142var ConnectStatus_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -0400143 0: "UNKNOWN",
144 1: "UNREACHABLE",
145 2: "REACHABLE",
146}
147
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800148var ConnectStatus_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -0400149 "UNKNOWN": 0,
150 "UNREACHABLE": 1,
151 "REACHABLE": 2,
152}
153
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800154func (x ConnectStatus_Types) String() string {
155 return proto.EnumName(ConnectStatus_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -0400156}
157
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800158func (ConnectStatus_Types) EnumDescriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000159 return fileDescriptor_c2e3fd231961e826, []int{4, 0}
Don Newton98fd8812019-09-23 15:15:02 -0400160}
161
162type OperationResp_OperationReturnCode int32
163
164const (
165 OperationResp_OPERATION_SUCCESS OperationResp_OperationReturnCode = 0
166 OperationResp_OPERATION_FAILURE OperationResp_OperationReturnCode = 1
167 OperationResp_OPERATION_UNSUPPORTED OperationResp_OperationReturnCode = 2
168)
169
170var OperationResp_OperationReturnCode_name = map[int32]string{
171 0: "OPERATION_SUCCESS",
172 1: "OPERATION_FAILURE",
173 2: "OPERATION_UNSUPPORTED",
174}
175
176var OperationResp_OperationReturnCode_value = map[string]int32{
177 "OPERATION_SUCCESS": 0,
178 "OPERATION_FAILURE": 1,
179 "OPERATION_UNSUPPORTED": 2,
180}
181
182func (x OperationResp_OperationReturnCode) String() string {
183 return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x))
184}
185
186func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000187 return fileDescriptor_c2e3fd231961e826, []int{5, 0}
Don Newton98fd8812019-09-23 15:15:02 -0400188}
189
Neha Sharma87d43d72020-04-08 14:10:40 +0000190type ValueType_Type int32
191
192const (
193 ValueType_EMPTY ValueType_Type = 0
194 ValueType_DISTANCE ValueType_Type = 1
195)
196
197var ValueType_Type_name = map[int32]string{
198 0: "EMPTY",
199 1: "DISTANCE",
200}
201
202var ValueType_Type_value = map[string]int32{
203 "EMPTY": 0,
204 "DISTANCE": 1,
205}
206
207func (x ValueType_Type) String() string {
208 return proto.EnumName(ValueType_Type_name, int32(x))
209}
210
211func (ValueType_Type) EnumDescriptor() ([]byte, []int) {
212 return fileDescriptor_c2e3fd231961e826, []int{6, 0}
213}
214
Don Newton98fd8812019-09-23 15:15:02 -0400215// Convey a resource identifier
216type ID struct {
217 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
218 XXX_NoUnkeyedLiteral struct{} `json:"-"`
219 XXX_unrecognized []byte `json:"-"`
220 XXX_sizecache int32 `json:"-"`
221}
222
223func (m *ID) Reset() { *m = ID{} }
224func (m *ID) String() string { return proto.CompactTextString(m) }
225func (*ID) ProtoMessage() {}
226func (*ID) Descriptor() ([]byte, []int) {
227 return fileDescriptor_c2e3fd231961e826, []int{0}
228}
229
230func (m *ID) XXX_Unmarshal(b []byte) error {
231 return xxx_messageInfo_ID.Unmarshal(m, b)
232}
233func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
234 return xxx_messageInfo_ID.Marshal(b, m, deterministic)
235}
236func (m *ID) XXX_Merge(src proto.Message) {
237 xxx_messageInfo_ID.Merge(m, src)
238}
239func (m *ID) XXX_Size() int {
240 return xxx_messageInfo_ID.Size(m)
241}
242func (m *ID) XXX_DiscardUnknown() {
243 xxx_messageInfo_ID.DiscardUnknown(m)
244}
245
246var xxx_messageInfo_ID proto.InternalMessageInfo
247
248func (m *ID) GetId() string {
249 if m != nil {
250 return m.Id
251 }
252 return ""
253}
254
255// Represents a list of IDs
256type IDs struct {
257 Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
258 XXX_NoUnkeyedLiteral struct{} `json:"-"`
259 XXX_unrecognized []byte `json:"-"`
260 XXX_sizecache int32 `json:"-"`
261}
262
263func (m *IDs) Reset() { *m = IDs{} }
264func (m *IDs) String() string { return proto.CompactTextString(m) }
265func (*IDs) ProtoMessage() {}
266func (*IDs) Descriptor() ([]byte, []int) {
267 return fileDescriptor_c2e3fd231961e826, []int{1}
268}
269
270func (m *IDs) XXX_Unmarshal(b []byte) error {
271 return xxx_messageInfo_IDs.Unmarshal(m, b)
272}
273func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
274 return xxx_messageInfo_IDs.Marshal(b, m, deterministic)
275}
276func (m *IDs) XXX_Merge(src proto.Message) {
277 xxx_messageInfo_IDs.Merge(m, src)
278}
279func (m *IDs) XXX_Size() int {
280 return xxx_messageInfo_IDs.Size(m)
281}
282func (m *IDs) XXX_DiscardUnknown() {
283 xxx_messageInfo_IDs.DiscardUnknown(m)
284}
285
286var xxx_messageInfo_IDs proto.InternalMessageInfo
287
288func (m *IDs) GetItems() []*ID {
289 if m != nil {
290 return m.Items
291 }
292 return nil
293}
294
Don Newton98fd8812019-09-23 15:15:02 -0400295type AdminState struct {
296 XXX_NoUnkeyedLiteral struct{} `json:"-"`
297 XXX_unrecognized []byte `json:"-"`
298 XXX_sizecache int32 `json:"-"`
299}
300
301func (m *AdminState) Reset() { *m = AdminState{} }
302func (m *AdminState) String() string { return proto.CompactTextString(m) }
303func (*AdminState) ProtoMessage() {}
304func (*AdminState) Descriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000305 return fileDescriptor_c2e3fd231961e826, []int{2}
Don Newton98fd8812019-09-23 15:15:02 -0400306}
307
308func (m *AdminState) XXX_Unmarshal(b []byte) error {
309 return xxx_messageInfo_AdminState.Unmarshal(m, b)
310}
311func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
312 return xxx_messageInfo_AdminState.Marshal(b, m, deterministic)
313}
314func (m *AdminState) XXX_Merge(src proto.Message) {
315 xxx_messageInfo_AdminState.Merge(m, src)
316}
317func (m *AdminState) XXX_Size() int {
318 return xxx_messageInfo_AdminState.Size(m)
319}
320func (m *AdminState) XXX_DiscardUnknown() {
321 xxx_messageInfo_AdminState.DiscardUnknown(m)
322}
323
324var xxx_messageInfo_AdminState proto.InternalMessageInfo
325
326type OperStatus struct {
327 XXX_NoUnkeyedLiteral struct{} `json:"-"`
328 XXX_unrecognized []byte `json:"-"`
329 XXX_sizecache int32 `json:"-"`
330}
331
332func (m *OperStatus) Reset() { *m = OperStatus{} }
333func (m *OperStatus) String() string { return proto.CompactTextString(m) }
334func (*OperStatus) ProtoMessage() {}
335func (*OperStatus) Descriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000336 return fileDescriptor_c2e3fd231961e826, []int{3}
Don Newton98fd8812019-09-23 15:15:02 -0400337}
338
339func (m *OperStatus) XXX_Unmarshal(b []byte) error {
340 return xxx_messageInfo_OperStatus.Unmarshal(m, b)
341}
342func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
343 return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic)
344}
345func (m *OperStatus) XXX_Merge(src proto.Message) {
346 xxx_messageInfo_OperStatus.Merge(m, src)
347}
348func (m *OperStatus) XXX_Size() int {
349 return xxx_messageInfo_OperStatus.Size(m)
350}
351func (m *OperStatus) XXX_DiscardUnknown() {
352 xxx_messageInfo_OperStatus.DiscardUnknown(m)
353}
354
355var xxx_messageInfo_OperStatus proto.InternalMessageInfo
356
357type ConnectStatus struct {
358 XXX_NoUnkeyedLiteral struct{} `json:"-"`
359 XXX_unrecognized []byte `json:"-"`
360 XXX_sizecache int32 `json:"-"`
361}
362
363func (m *ConnectStatus) Reset() { *m = ConnectStatus{} }
364func (m *ConnectStatus) String() string { return proto.CompactTextString(m) }
365func (*ConnectStatus) ProtoMessage() {}
366func (*ConnectStatus) Descriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000367 return fileDescriptor_c2e3fd231961e826, []int{4}
Don Newton98fd8812019-09-23 15:15:02 -0400368}
369
370func (m *ConnectStatus) XXX_Unmarshal(b []byte) error {
371 return xxx_messageInfo_ConnectStatus.Unmarshal(m, b)
372}
373func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
374 return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic)
375}
376func (m *ConnectStatus) XXX_Merge(src proto.Message) {
377 xxx_messageInfo_ConnectStatus.Merge(m, src)
378}
379func (m *ConnectStatus) XXX_Size() int {
380 return xxx_messageInfo_ConnectStatus.Size(m)
381}
382func (m *ConnectStatus) XXX_DiscardUnknown() {
383 xxx_messageInfo_ConnectStatus.DiscardUnknown(m)
384}
385
386var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo
387
388type OperationResp struct {
389 // Return code
390 Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"`
391 // Additional Info
392 AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
393 XXX_NoUnkeyedLiteral struct{} `json:"-"`
394 XXX_unrecognized []byte `json:"-"`
395 XXX_sizecache int32 `json:"-"`
396}
397
398func (m *OperationResp) Reset() { *m = OperationResp{} }
399func (m *OperationResp) String() string { return proto.CompactTextString(m) }
400func (*OperationResp) ProtoMessage() {}
401func (*OperationResp) Descriptor() ([]byte, []int) {
Rohan Agrawal00d3a412020-04-22 10:51:39 +0000402 return fileDescriptor_c2e3fd231961e826, []int{5}
Don Newton98fd8812019-09-23 15:15:02 -0400403}
404
405func (m *OperationResp) XXX_Unmarshal(b []byte) error {
406 return xxx_messageInfo_OperationResp.Unmarshal(m, b)
407}
408func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
409 return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic)
410}
411func (m *OperationResp) XXX_Merge(src proto.Message) {
412 xxx_messageInfo_OperationResp.Merge(m, src)
413}
414func (m *OperationResp) XXX_Size() int {
415 return xxx_messageInfo_OperationResp.Size(m)
416}
417func (m *OperationResp) XXX_DiscardUnknown() {
418 xxx_messageInfo_OperationResp.DiscardUnknown(m)
419}
420
421var xxx_messageInfo_OperationResp proto.InternalMessageInfo
422
423func (m *OperationResp) GetCode() OperationResp_OperationReturnCode {
424 if m != nil {
425 return m.Code
426 }
427 return OperationResp_OPERATION_SUCCESS
428}
429
430func (m *OperationResp) GetAdditionalInfo() string {
431 if m != nil {
432 return m.AdditionalInfo
433 }
434 return ""
435}
436
Neha Sharma87d43d72020-04-08 14:10:40 +0000437type ValueType struct {
438 XXX_NoUnkeyedLiteral struct{} `json:"-"`
439 XXX_unrecognized []byte `json:"-"`
440 XXX_sizecache int32 `json:"-"`
441}
442
443func (m *ValueType) Reset() { *m = ValueType{} }
444func (m *ValueType) String() string { return proto.CompactTextString(m) }
445func (*ValueType) ProtoMessage() {}
446func (*ValueType) Descriptor() ([]byte, []int) {
447 return fileDescriptor_c2e3fd231961e826, []int{6}
448}
449
450func (m *ValueType) XXX_Unmarshal(b []byte) error {
451 return xxx_messageInfo_ValueType.Unmarshal(m, b)
452}
453func (m *ValueType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
454 return xxx_messageInfo_ValueType.Marshal(b, m, deterministic)
455}
456func (m *ValueType) XXX_Merge(src proto.Message) {
457 xxx_messageInfo_ValueType.Merge(m, src)
458}
459func (m *ValueType) XXX_Size() int {
460 return xxx_messageInfo_ValueType.Size(m)
461}
462func (m *ValueType) XXX_DiscardUnknown() {
463 xxx_messageInfo_ValueType.DiscardUnknown(m)
464}
465
466var xxx_messageInfo_ValueType proto.InternalMessageInfo
467
468type ValueSpecifier struct {
469 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
470 Value ValueType_Type `protobuf:"varint,2,opt,name=value,proto3,enum=common.ValueType_Type" json:"value,omitempty"`
471 XXX_NoUnkeyedLiteral struct{} `json:"-"`
472 XXX_unrecognized []byte `json:"-"`
473 XXX_sizecache int32 `json:"-"`
474}
475
476func (m *ValueSpecifier) Reset() { *m = ValueSpecifier{} }
477func (m *ValueSpecifier) String() string { return proto.CompactTextString(m) }
478func (*ValueSpecifier) ProtoMessage() {}
479func (*ValueSpecifier) Descriptor() ([]byte, []int) {
480 return fileDescriptor_c2e3fd231961e826, []int{7}
481}
482
483func (m *ValueSpecifier) XXX_Unmarshal(b []byte) error {
484 return xxx_messageInfo_ValueSpecifier.Unmarshal(m, b)
485}
486func (m *ValueSpecifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
487 return xxx_messageInfo_ValueSpecifier.Marshal(b, m, deterministic)
488}
489func (m *ValueSpecifier) XXX_Merge(src proto.Message) {
490 xxx_messageInfo_ValueSpecifier.Merge(m, src)
491}
492func (m *ValueSpecifier) XXX_Size() int {
493 return xxx_messageInfo_ValueSpecifier.Size(m)
494}
495func (m *ValueSpecifier) XXX_DiscardUnknown() {
496 xxx_messageInfo_ValueSpecifier.DiscardUnknown(m)
497}
498
499var xxx_messageInfo_ValueSpecifier proto.InternalMessageInfo
500
501func (m *ValueSpecifier) GetId() string {
502 if m != nil {
503 return m.Id
504 }
505 return ""
506}
507
508func (m *ValueSpecifier) GetValue() ValueType_Type {
509 if m != nil {
510 return m.Value
511 }
512 return ValueType_EMPTY
513}
514
515type ReturnValues struct {
516 Set uint32 `protobuf:"varint,1,opt,name=Set,proto3" json:"Set,omitempty"`
517 Unsupported uint32 `protobuf:"varint,2,opt,name=Unsupported,proto3" json:"Unsupported,omitempty"`
518 Error uint32 `protobuf:"varint,3,opt,name=Error,proto3" json:"Error,omitempty"`
519 Distance uint32 `protobuf:"varint,4,opt,name=Distance,proto3" json:"Distance,omitempty"`
520 XXX_NoUnkeyedLiteral struct{} `json:"-"`
521 XXX_unrecognized []byte `json:"-"`
522 XXX_sizecache int32 `json:"-"`
523}
524
525func (m *ReturnValues) Reset() { *m = ReturnValues{} }
526func (m *ReturnValues) String() string { return proto.CompactTextString(m) }
527func (*ReturnValues) ProtoMessage() {}
528func (*ReturnValues) Descriptor() ([]byte, []int) {
529 return fileDescriptor_c2e3fd231961e826, []int{8}
530}
531
532func (m *ReturnValues) XXX_Unmarshal(b []byte) error {
533 return xxx_messageInfo_ReturnValues.Unmarshal(m, b)
534}
535func (m *ReturnValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
536 return xxx_messageInfo_ReturnValues.Marshal(b, m, deterministic)
537}
538func (m *ReturnValues) XXX_Merge(src proto.Message) {
539 xxx_messageInfo_ReturnValues.Merge(m, src)
540}
541func (m *ReturnValues) XXX_Size() int {
542 return xxx_messageInfo_ReturnValues.Size(m)
543}
544func (m *ReturnValues) XXX_DiscardUnknown() {
545 xxx_messageInfo_ReturnValues.DiscardUnknown(m)
546}
547
548var xxx_messageInfo_ReturnValues proto.InternalMessageInfo
549
550func (m *ReturnValues) GetSet() uint32 {
551 if m != nil {
552 return m.Set
553 }
554 return 0
555}
556
557func (m *ReturnValues) GetUnsupported() uint32 {
558 if m != nil {
559 return m.Unsupported
560 }
561 return 0
562}
563
564func (m *ReturnValues) GetError() uint32 {
565 if m != nil {
566 return m.Error
567 }
568 return 0
569}
570
571func (m *ReturnValues) GetDistance() uint32 {
572 if m != nil {
573 return m.Distance
574 }
575 return 0
576}
577
Don Newton98fd8812019-09-23 15:15:02 -0400578func init() {
579 proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value)
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800580 proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value)
581 proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value)
582 proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value)
Don Newton98fd8812019-09-23 15:15:02 -0400583 proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value)
Neha Sharma87d43d72020-04-08 14:10:40 +0000584 proto.RegisterEnum("common.ValueType_Type", ValueType_Type_name, ValueType_Type_value)
Don Newton98fd8812019-09-23 15:15:02 -0400585 proto.RegisterType((*ID)(nil), "common.ID")
586 proto.RegisterType((*IDs)(nil), "common.IDs")
Don Newton98fd8812019-09-23 15:15:02 -0400587 proto.RegisterType((*AdminState)(nil), "common.AdminState")
588 proto.RegisterType((*OperStatus)(nil), "common.OperStatus")
589 proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus")
590 proto.RegisterType((*OperationResp)(nil), "common.OperationResp")
Neha Sharma87d43d72020-04-08 14:10:40 +0000591 proto.RegisterType((*ValueType)(nil), "common.ValueType")
592 proto.RegisterType((*ValueSpecifier)(nil), "common.ValueSpecifier")
593 proto.RegisterType((*ReturnValues)(nil), "common.ReturnValues")
Don Newton98fd8812019-09-23 15:15:02 -0400594}
595
596func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) }
597
598var fileDescriptor_c2e3fd231961e826 = []byte{
Manindere2af7e42020-12-04 11:46:26 +0530599 // 598 bytes of a gzipped FileDescriptorProto
600 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5f, 0x4f, 0xdb, 0x3e,
601 0x14, 0x6d, 0xd2, 0x96, 0x1f, 0xbd, 0xa5, 0x21, 0x3f, 0x03, 0x53, 0x87, 0x26, 0xad, 0xca, 0x0b,
602 0x6c, 0x62, 0xad, 0xc4, 0x78, 0xdd, 0x43, 0x48, 0x3c, 0x66, 0x01, 0x4e, 0xe5, 0x24, 0x45, 0xf0,
603 0xb0, 0x2a, 0x34, 0xa6, 0x44, 0xa2, 0x71, 0x94, 0xb8, 0x48, 0x7c, 0xd2, 0x7d, 0x9d, 0xc9, 0x4e,
604 0xf9, 0x37, 0xf5, 0x25, 0xf1, 0xb9, 0xe7, 0xe4, 0x1e, 0xdf, 0xe3, 0x18, 0xf6, 0x1f, 0xc5, 0x83,
605 0xbc, 0x4f, 0xa6, 0x45, 0x29, 0xa4, 0xa8, 0x46, 0x33, 0xb1, 0x58, 0x88, 0x7c, 0xa8, 0x11, 0xda,
606 0xa8, 0x91, 0xb3, 0x0b, 0x26, 0xf1, 0x91, 0x05, 0x66, 0x96, 0xf6, 0x8d, 0x81, 0x71, 0xd8, 0x61,
607 0x66, 0x96, 0x3a, 0x07, 0xd0, 0x24, 0x7e, 0x85, 0x06, 0xd0, 0xce, 0x24, 0x5f, 0x54, 0x7d, 0x63,
608 0xd0, 0x3c, 0xec, 0x1e, 0xc3, 0x70, 0xd5, 0x82, 0xf8, 0xac, 0x26, 0x9c, 0x7b, 0x00, 0x37, 0x5d,
609 0x64, 0x79, 0x28, 0x13, 0xc9, 0x9d, 0x1b, 0x68, 0x47, 0x4f, 0x05, 0xaf, 0x50, 0x17, 0xfe, 0x8b,
610 0xe9, 0x39, 0x0d, 0xae, 0xa8, 0xdd, 0x40, 0x08, 0xac, 0x31, 0xc3, 0x63, 0x16, 0x4c, 0x48, 0x48,
611 0x02, 0x8a,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 0xaf, 0xa4, 0xdd, 0x38, 0xc5, 0xb0, 0x23, 0xca,
634 0xf9, 0x50, 0x14, 0x3c, 0x9f, 0x89, 0x32, 0x1d, 0xd6, 0xf7, 0xee, 0x66, 0x38, 0xcf, 0xe4, 0xfd,
635 0xf2, 0x56, 0xcd, 0x33, 0x7a, 0xe6, 0x46, 0x35, 0xf7, 0x6d, 0x75, 0x27, 0x1f, 0x4f, 0x46, 0x73,
636 0xb1, 0xba, 0x99, 0xb7, 0x1b, 0xba, 0xf8, 0xfd, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7d, 0x32,
637 0x70, 0x38, 0xb8, 0x03, 0x00, 0x00,
Don Newton98fd8812019-09-23 15:15:02 -0400638}