blob: b57e775aa62cabb84f024479af53c9532c766e6a [file] [log] [blame]
Matt Jeanneret9fba8652019-04-02 12:00:17 -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
Matt Jeanneret9fba8652019-04-02 12:00:17 -040045// Administrative State
serkant.uluderya2ae470f2020-01-21 11:13:09 -080046type AdminState_Types int32
Matt Jeanneret9fba8652019-04-02 12:00:17 -040047
48const (
49 // The administrative state of the device is unknown
serkant.uluderya2ae470f2020-01-21 11:13:09 -080050 AdminState_UNKNOWN AdminState_Types = 0
Matt Jeanneret9fba8652019-04-02 12:00:17 -040051 // The device is pre-provisioned into Voltha, but not contacted by it
serkant.uluderya2ae470f2020-01-21 11:13:09 -080052 AdminState_PREPROVISIONED AdminState_Types = 1
Matt Jeanneret9fba8652019-04-02 12:00:17 -040053 // The device is enabled for activation and operation
serkant.uluderya2ae470f2020-01-21 11:13:09 -080054 AdminState_ENABLED AdminState_Types = 2
Matt Jeanneret9fba8652019-04-02 12:00:17 -040055 // The device is disabled and shall not perform its intended forwarding
56 // functions other than being available for re-activation.
serkant.uluderya2ae470f2020-01-21 11:13:09 -080057 AdminState_DISABLED AdminState_Types = 3
Matt Jeanneret9fba8652019-04-02 12:00:17 -040058 // The device is in the state of image download
serkant.uluderya2ae470f2020-01-21 11:13:09 -080059 AdminState_DOWNLOADING_IMAGE AdminState_Types = 4
Matt Jeanneret9fba8652019-04-02 12:00:17 -040060)
61
serkant.uluderya2ae470f2020-01-21 11:13:09 -080062var AdminState_Types_name = map[int32]string{
Matt Jeanneret9fba8652019-04-02 12:00:17 -040063 0: "UNKNOWN",
64 1: "PREPROVISIONED",
65 2: "ENABLED",
66 3: "DISABLED",
67 4: "DOWNLOADING_IMAGE",
Matt Jeanneret9fba8652019-04-02 12:00:17 -040068}
69
serkant.uluderya2ae470f2020-01-21 11:13:09 -080070var AdminState_Types_value = map[string]int32{
Matt Jeanneret9fba8652019-04-02 12:00:17 -040071 "UNKNOWN": 0,
72 "PREPROVISIONED": 1,
73 "ENABLED": 2,
74 "DISABLED": 3,
75 "DOWNLOADING_IMAGE": 4,
Matt Jeanneret9fba8652019-04-02 12:00:17 -040076}
77
serkant.uluderya2ae470f2020-01-21 11:13:09 -080078func (x AdminState_Types) String() string {
79 return proto.EnumName(AdminState_Types_name, int32(x))
Matt Jeanneret9fba8652019-04-02 12:00:17 -040080}
81
serkant.uluderya2ae470f2020-01-21 11:13:09 -080082func (AdminState_Types) EnumDescriptor() ([]byte, []int) {
divyadesaic68c9c02020-02-26 12:48:09 +000083 return fileDescriptor_c2e3fd231961e826, []int{2, 0}
Matt Jeanneret9fba8652019-04-02 12:00:17 -040084}
85
86// Operational Status
serkant.uluderya2ae470f2020-01-21 11:13:09 -080087type OperStatus_Types int32
Matt Jeanneret9fba8652019-04-02 12:00:17 -040088
89const (
90 // The status of the device is unknown at this point
serkant.uluderya2ae470f2020-01-21 11:13:09 -080091 OperStatus_UNKNOWN OperStatus_Types = 0
Matt Jeanneret9fba8652019-04-02 12:00:17 -040092 // The device has been discovered, but not yet activated
serkant.uluderya2ae470f2020-01-21 11:13:09 -080093 OperStatus_DISCOVERED OperStatus_Types = 1
Matt Jeanneret9fba8652019-04-02 12:00:17 -040094 // The device is being activated (booted, rebooted, upgraded, etc.)
serkant.uluderya2ae470f2020-01-21 11:13:09 -080095 OperStatus_ACTIVATING OperStatus_Types = 2
Matt Jeanneret9fba8652019-04-02 12:00:17 -040096 // Service impacting tests are being conducted
serkant.uluderya2ae470f2020-01-21 11:13:09 -080097 OperStatus_TESTING OperStatus_Types = 3
Matt Jeanneret9fba8652019-04-02 12:00:17 -040098 // The device is up and active
serkant.uluderya2ae470f2020-01-21 11:13:09 -080099 OperStatus_ACTIVE OperStatus_Types = 4
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400100 // The device has failed and cannot fulfill its intended role
serkant.uluderya2ae470f2020-01-21 11:13:09 -0800101 OperStatus_FAILED OperStatus_Types = 5
David K. Bainbridgefc8e1812021-04-09 16:09:49 +0000102 // The device is reconciling
103 OperStatus_RECONCILING OperStatus_Types = 6
Maninder581cf4b2021-06-16 22:42:07 +0530104 // The device is in reconciling failed
105 OperStatus_RECONCILING_FAILED OperStatus_Types = 7
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400106)
107
serkant.uluderya2ae470f2020-01-21 11:13:09 -0800108var OperStatus_Types_name = map[int32]string{
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400109 0: "UNKNOWN",
110 1: "DISCOVERED",
111 2: "ACTIVATING",
112 3: "TESTING",
113 4: "ACTIVE",
114 5: "FAILED",
David K. Bainbridgefc8e1812021-04-09 16:09:49 +0000115 6: "RECONCILING",
Maninder581cf4b2021-06-16 22:42:07 +0530116 7: "RECONCILING_FAILED",
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400117}
118
serkant.uluderya2ae470f2020-01-21 11:13:09 -0800119var OperStatus_Types_value = map[string]int32{
Maninder581cf4b2021-06-16 22:42:07 +0530120 "UNKNOWN": 0,
121 "DISCOVERED": 1,
122 "ACTIVATING": 2,
123 "TESTING": 3,
124 "ACTIVE": 4,
125 "FAILED": 5,
126 "RECONCILING": 6,
127 "RECONCILING_FAILED": 7,
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400128}
129
serkant.uluderya2ae470f2020-01-21 11:13:09 -0800130func (x OperStatus_Types) String() string {
131 return proto.EnumName(OperStatus_Types_name, int32(x))
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400132}
133
serkant.uluderya2ae470f2020-01-21 11:13:09 -0800134func (OperStatus_Types) EnumDescriptor() ([]byte, []int) {
divyadesaic68c9c02020-02-26 12:48:09 +0000135 return fileDescriptor_c2e3fd231961e826, []int{3, 0}
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400136}
137
138// Connectivity Status
serkant.uluderya2ae470f2020-01-21 11:13:09 -0800139type ConnectStatus_Types int32
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400140
141const (
142 // The device connectivity status is unknown
serkant.uluderya2ae470f2020-01-21 11:13:09 -0800143 ConnectStatus_UNKNOWN ConnectStatus_Types = 0
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400144 // The device cannot be reached by Voltha
serkant.uluderya2ae470f2020-01-21 11:13:09 -0800145 ConnectStatus_UNREACHABLE ConnectStatus_Types = 1
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400146 // There is live communication between device and Voltha
serkant.uluderya2ae470f2020-01-21 11:13:09 -0800147 ConnectStatus_REACHABLE ConnectStatus_Types = 2
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400148)
149
serkant.uluderya2ae470f2020-01-21 11:13:09 -0800150var ConnectStatus_Types_name = map[int32]string{
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400151 0: "UNKNOWN",
152 1: "UNREACHABLE",
153 2: "REACHABLE",
154}
155
serkant.uluderya2ae470f2020-01-21 11:13:09 -0800156var ConnectStatus_Types_value = map[string]int32{
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400157 "UNKNOWN": 0,
158 "UNREACHABLE": 1,
159 "REACHABLE": 2,
160}
161
serkant.uluderya2ae470f2020-01-21 11:13:09 -0800162func (x ConnectStatus_Types) String() string {
163 return proto.EnumName(ConnectStatus_Types_name, int32(x))
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400164}
165
serkant.uluderya2ae470f2020-01-21 11:13:09 -0800166func (ConnectStatus_Types) EnumDescriptor() ([]byte, []int) {
divyadesaic68c9c02020-02-26 12:48:09 +0000167 return fileDescriptor_c2e3fd231961e826, []int{4, 0}
Matt Jeanneret9fba8652019-04-02 12:00:17 -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
Andrea Campanella3614a922021-02-25 12:40:42 +0100176 OperationResp_OPERATION_IN_PROGRESS OperationResp_OperationReturnCode = 3
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400177)
178
179var OperationResp_OperationReturnCode_name = map[int32]string{
180 0: "OPERATION_SUCCESS",
181 1: "OPERATION_FAILURE",
182 2: "OPERATION_UNSUPPORTED",
Andrea Campanella3614a922021-02-25 12:40:42 +0100183 3: "OPERATION_IN_PROGRESS",
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400184}
185
186var OperationResp_OperationReturnCode_value = map[string]int32{
187 "OPERATION_SUCCESS": 0,
188 "OPERATION_FAILURE": 1,
189 "OPERATION_UNSUPPORTED": 2,
Andrea Campanella3614a922021-02-25 12:40:42 +0100190 "OPERATION_IN_PROGRESS": 3,
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400191}
192
193func (x OperationResp_OperationReturnCode) String() string {
194 return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x))
195}
196
197func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) {
divyadesaic68c9c02020-02-26 12:48:09 +0000198 return fileDescriptor_c2e3fd231961e826, []int{5, 0}
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400199}
200
Scott Bakere099e862020-04-22 11:22:35 -0700201type ValueType_Type int32
202
203const (
204 ValueType_EMPTY ValueType_Type = 0
205 ValueType_DISTANCE ValueType_Type = 1
206)
207
208var ValueType_Type_name = map[int32]string{
209 0: "EMPTY",
210 1: "DISTANCE",
211}
212
213var ValueType_Type_value = map[string]int32{
214 "EMPTY": 0,
215 "DISTANCE": 1,
216}
217
218func (x ValueType_Type) String() string {
219 return proto.EnumName(ValueType_Type_name, int32(x))
220}
221
222func (ValueType_Type) EnumDescriptor() ([]byte, []int) {
223 return fileDescriptor_c2e3fd231961e826, []int{6, 0}
224}
225
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400226// Convey a resource identifier
227type ID struct {
228 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
229 XXX_NoUnkeyedLiteral struct{} `json:"-"`
230 XXX_unrecognized []byte `json:"-"`
231 XXX_sizecache int32 `json:"-"`
232}
233
234func (m *ID) Reset() { *m = ID{} }
235func (m *ID) String() string { return proto.CompactTextString(m) }
236func (*ID) ProtoMessage() {}
237func (*ID) Descriptor() ([]byte, []int) {
238 return fileDescriptor_c2e3fd231961e826, []int{0}
239}
240
241func (m *ID) XXX_Unmarshal(b []byte) error {
242 return xxx_messageInfo_ID.Unmarshal(m, b)
243}
244func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
245 return xxx_messageInfo_ID.Marshal(b, m, deterministic)
246}
247func (m *ID) XXX_Merge(src proto.Message) {
248 xxx_messageInfo_ID.Merge(m, src)
249}
250func (m *ID) XXX_Size() int {
251 return xxx_messageInfo_ID.Size(m)
252}
253func (m *ID) XXX_DiscardUnknown() {
254 xxx_messageInfo_ID.DiscardUnknown(m)
255}
256
257var xxx_messageInfo_ID proto.InternalMessageInfo
258
259func (m *ID) GetId() string {
260 if m != nil {
261 return m.Id
262 }
263 return ""
264}
265
266// Represents a list of IDs
267type IDs struct {
268 Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
269 XXX_NoUnkeyedLiteral struct{} `json:"-"`
270 XXX_unrecognized []byte `json:"-"`
271 XXX_sizecache int32 `json:"-"`
272}
273
274func (m *IDs) Reset() { *m = IDs{} }
275func (m *IDs) String() string { return proto.CompactTextString(m) }
276func (*IDs) ProtoMessage() {}
277func (*IDs) Descriptor() ([]byte, []int) {
278 return fileDescriptor_c2e3fd231961e826, []int{1}
279}
280
281func (m *IDs) XXX_Unmarshal(b []byte) error {
282 return xxx_messageInfo_IDs.Unmarshal(m, b)
283}
284func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
285 return xxx_messageInfo_IDs.Marshal(b, m, deterministic)
286}
287func (m *IDs) XXX_Merge(src proto.Message) {
288 xxx_messageInfo_IDs.Merge(m, src)
289}
290func (m *IDs) XXX_Size() int {
291 return xxx_messageInfo_IDs.Size(m)
292}
293func (m *IDs) XXX_DiscardUnknown() {
294 xxx_messageInfo_IDs.DiscardUnknown(m)
295}
296
297var xxx_messageInfo_IDs proto.InternalMessageInfo
298
299func (m *IDs) GetItems() []*ID {
300 if m != nil {
301 return m.Items
302 }
303 return nil
304}
305
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400306type AdminState struct {
307 XXX_NoUnkeyedLiteral struct{} `json:"-"`
308 XXX_unrecognized []byte `json:"-"`
309 XXX_sizecache int32 `json:"-"`
310}
311
312func (m *AdminState) Reset() { *m = AdminState{} }
313func (m *AdminState) String() string { return proto.CompactTextString(m) }
314func (*AdminState) ProtoMessage() {}
315func (*AdminState) Descriptor() ([]byte, []int) {
divyadesaic68c9c02020-02-26 12:48:09 +0000316 return fileDescriptor_c2e3fd231961e826, []int{2}
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400317}
318
319func (m *AdminState) XXX_Unmarshal(b []byte) error {
320 return xxx_messageInfo_AdminState.Unmarshal(m, b)
321}
322func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
323 return xxx_messageInfo_AdminState.Marshal(b, m, deterministic)
324}
325func (m *AdminState) XXX_Merge(src proto.Message) {
326 xxx_messageInfo_AdminState.Merge(m, src)
327}
328func (m *AdminState) XXX_Size() int {
329 return xxx_messageInfo_AdminState.Size(m)
330}
331func (m *AdminState) XXX_DiscardUnknown() {
332 xxx_messageInfo_AdminState.DiscardUnknown(m)
333}
334
335var xxx_messageInfo_AdminState proto.InternalMessageInfo
336
337type OperStatus struct {
338 XXX_NoUnkeyedLiteral struct{} `json:"-"`
339 XXX_unrecognized []byte `json:"-"`
340 XXX_sizecache int32 `json:"-"`
341}
342
343func (m *OperStatus) Reset() { *m = OperStatus{} }
344func (m *OperStatus) String() string { return proto.CompactTextString(m) }
345func (*OperStatus) ProtoMessage() {}
346func (*OperStatus) Descriptor() ([]byte, []int) {
divyadesaic68c9c02020-02-26 12:48:09 +0000347 return fileDescriptor_c2e3fd231961e826, []int{3}
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400348}
349
350func (m *OperStatus) XXX_Unmarshal(b []byte) error {
351 return xxx_messageInfo_OperStatus.Unmarshal(m, b)
352}
353func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
354 return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic)
355}
356func (m *OperStatus) XXX_Merge(src proto.Message) {
357 xxx_messageInfo_OperStatus.Merge(m, src)
358}
359func (m *OperStatus) XXX_Size() int {
360 return xxx_messageInfo_OperStatus.Size(m)
361}
362func (m *OperStatus) XXX_DiscardUnknown() {
363 xxx_messageInfo_OperStatus.DiscardUnknown(m)
364}
365
366var xxx_messageInfo_OperStatus proto.InternalMessageInfo
367
368type ConnectStatus struct {
369 XXX_NoUnkeyedLiteral struct{} `json:"-"`
370 XXX_unrecognized []byte `json:"-"`
371 XXX_sizecache int32 `json:"-"`
372}
373
374func (m *ConnectStatus) Reset() { *m = ConnectStatus{} }
375func (m *ConnectStatus) String() string { return proto.CompactTextString(m) }
376func (*ConnectStatus) ProtoMessage() {}
377func (*ConnectStatus) Descriptor() ([]byte, []int) {
divyadesaic68c9c02020-02-26 12:48:09 +0000378 return fileDescriptor_c2e3fd231961e826, []int{4}
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400379}
380
381func (m *ConnectStatus) XXX_Unmarshal(b []byte) error {
382 return xxx_messageInfo_ConnectStatus.Unmarshal(m, b)
383}
384func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
385 return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic)
386}
387func (m *ConnectStatus) XXX_Merge(src proto.Message) {
388 xxx_messageInfo_ConnectStatus.Merge(m, src)
389}
390func (m *ConnectStatus) XXX_Size() int {
391 return xxx_messageInfo_ConnectStatus.Size(m)
392}
393func (m *ConnectStatus) XXX_DiscardUnknown() {
394 xxx_messageInfo_ConnectStatus.DiscardUnknown(m)
395}
396
397var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo
398
399type OperationResp struct {
400 // Return code
David Bainbridge142516e2019-04-19 01:34:58 +0000401 Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"`
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400402 // Additional Info
403 AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
404 XXX_NoUnkeyedLiteral struct{} `json:"-"`
405 XXX_unrecognized []byte `json:"-"`
406 XXX_sizecache int32 `json:"-"`
407}
408
409func (m *OperationResp) Reset() { *m = OperationResp{} }
410func (m *OperationResp) String() string { return proto.CompactTextString(m) }
411func (*OperationResp) ProtoMessage() {}
412func (*OperationResp) Descriptor() ([]byte, []int) {
divyadesaic68c9c02020-02-26 12:48:09 +0000413 return fileDescriptor_c2e3fd231961e826, []int{5}
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400414}
415
416func (m *OperationResp) XXX_Unmarshal(b []byte) error {
417 return xxx_messageInfo_OperationResp.Unmarshal(m, b)
418}
419func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
420 return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic)
421}
422func (m *OperationResp) XXX_Merge(src proto.Message) {
423 xxx_messageInfo_OperationResp.Merge(m, src)
424}
425func (m *OperationResp) XXX_Size() int {
426 return xxx_messageInfo_OperationResp.Size(m)
427}
428func (m *OperationResp) XXX_DiscardUnknown() {
429 xxx_messageInfo_OperationResp.DiscardUnknown(m)
430}
431
432var xxx_messageInfo_OperationResp proto.InternalMessageInfo
433
434func (m *OperationResp) GetCode() OperationResp_OperationReturnCode {
435 if m != nil {
436 return m.Code
437 }
438 return OperationResp_OPERATION_SUCCESS
439}
440
441func (m *OperationResp) GetAdditionalInfo() string {
442 if m != nil {
443 return m.AdditionalInfo
444 }
445 return ""
446}
447
Scott Bakere099e862020-04-22 11:22:35 -0700448type ValueType struct {
449 XXX_NoUnkeyedLiteral struct{} `json:"-"`
450 XXX_unrecognized []byte `json:"-"`
451 XXX_sizecache int32 `json:"-"`
452}
453
454func (m *ValueType) Reset() { *m = ValueType{} }
455func (m *ValueType) String() string { return proto.CompactTextString(m) }
456func (*ValueType) ProtoMessage() {}
457func (*ValueType) Descriptor() ([]byte, []int) {
458 return fileDescriptor_c2e3fd231961e826, []int{6}
459}
460
461func (m *ValueType) XXX_Unmarshal(b []byte) error {
462 return xxx_messageInfo_ValueType.Unmarshal(m, b)
463}
464func (m *ValueType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
465 return xxx_messageInfo_ValueType.Marshal(b, m, deterministic)
466}
467func (m *ValueType) XXX_Merge(src proto.Message) {
468 xxx_messageInfo_ValueType.Merge(m, src)
469}
470func (m *ValueType) XXX_Size() int {
471 return xxx_messageInfo_ValueType.Size(m)
472}
473func (m *ValueType) XXX_DiscardUnknown() {
474 xxx_messageInfo_ValueType.DiscardUnknown(m)
475}
476
477var xxx_messageInfo_ValueType proto.InternalMessageInfo
478
479type ValueSpecifier struct {
480 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
481 Value ValueType_Type `protobuf:"varint,2,opt,name=value,proto3,enum=common.ValueType_Type" json:"value,omitempty"`
482 XXX_NoUnkeyedLiteral struct{} `json:"-"`
483 XXX_unrecognized []byte `json:"-"`
484 XXX_sizecache int32 `json:"-"`
485}
486
487func (m *ValueSpecifier) Reset() { *m = ValueSpecifier{} }
488func (m *ValueSpecifier) String() string { return proto.CompactTextString(m) }
489func (*ValueSpecifier) ProtoMessage() {}
490func (*ValueSpecifier) Descriptor() ([]byte, []int) {
491 return fileDescriptor_c2e3fd231961e826, []int{7}
492}
493
494func (m *ValueSpecifier) XXX_Unmarshal(b []byte) error {
495 return xxx_messageInfo_ValueSpecifier.Unmarshal(m, b)
496}
497func (m *ValueSpecifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
498 return xxx_messageInfo_ValueSpecifier.Marshal(b, m, deterministic)
499}
500func (m *ValueSpecifier) XXX_Merge(src proto.Message) {
501 xxx_messageInfo_ValueSpecifier.Merge(m, src)
502}
503func (m *ValueSpecifier) XXX_Size() int {
504 return xxx_messageInfo_ValueSpecifier.Size(m)
505}
506func (m *ValueSpecifier) XXX_DiscardUnknown() {
507 xxx_messageInfo_ValueSpecifier.DiscardUnknown(m)
508}
509
510var xxx_messageInfo_ValueSpecifier proto.InternalMessageInfo
511
512func (m *ValueSpecifier) GetId() string {
513 if m != nil {
514 return m.Id
515 }
516 return ""
517}
518
519func (m *ValueSpecifier) GetValue() ValueType_Type {
520 if m != nil {
521 return m.Value
522 }
523 return ValueType_EMPTY
524}
525
526type ReturnValues struct {
527 Set uint32 `protobuf:"varint,1,opt,name=Set,proto3" json:"Set,omitempty"`
528 Unsupported uint32 `protobuf:"varint,2,opt,name=Unsupported,proto3" json:"Unsupported,omitempty"`
529 Error uint32 `protobuf:"varint,3,opt,name=Error,proto3" json:"Error,omitempty"`
530 Distance uint32 `protobuf:"varint,4,opt,name=Distance,proto3" json:"Distance,omitempty"`
531 XXX_NoUnkeyedLiteral struct{} `json:"-"`
532 XXX_unrecognized []byte `json:"-"`
533 XXX_sizecache int32 `json:"-"`
534}
535
536func (m *ReturnValues) Reset() { *m = ReturnValues{} }
537func (m *ReturnValues) String() string { return proto.CompactTextString(m) }
538func (*ReturnValues) ProtoMessage() {}
539func (*ReturnValues) Descriptor() ([]byte, []int) {
540 return fileDescriptor_c2e3fd231961e826, []int{8}
541}
542
543func (m *ReturnValues) XXX_Unmarshal(b []byte) error {
544 return xxx_messageInfo_ReturnValues.Unmarshal(m, b)
545}
546func (m *ReturnValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
547 return xxx_messageInfo_ReturnValues.Marshal(b, m, deterministic)
548}
549func (m *ReturnValues) XXX_Merge(src proto.Message) {
550 xxx_messageInfo_ReturnValues.Merge(m, src)
551}
552func (m *ReturnValues) XXX_Size() int {
553 return xxx_messageInfo_ReturnValues.Size(m)
554}
555func (m *ReturnValues) XXX_DiscardUnknown() {
556 xxx_messageInfo_ReturnValues.DiscardUnknown(m)
557}
558
559var xxx_messageInfo_ReturnValues proto.InternalMessageInfo
560
561func (m *ReturnValues) GetSet() uint32 {
562 if m != nil {
563 return m.Set
564 }
565 return 0
566}
567
568func (m *ReturnValues) GetUnsupported() uint32 {
569 if m != nil {
570 return m.Unsupported
571 }
572 return 0
573}
574
575func (m *ReturnValues) GetError() uint32 {
576 if m != nil {
577 return m.Error
578 }
579 return 0
580}
581
582func (m *ReturnValues) GetDistance() uint32 {
583 if m != nil {
584 return m.Distance
585 }
586 return 0
587}
588
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400589func init() {
David Bainbridge142516e2019-04-19 01:34:58 +0000590 proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value)
serkant.uluderya2ae470f2020-01-21 11:13:09 -0800591 proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value)
592 proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value)
593 proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value)
David Bainbridge142516e2019-04-19 01:34:58 +0000594 proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value)
Scott Bakere099e862020-04-22 11:22:35 -0700595 proto.RegisterEnum("common.ValueType_Type", ValueType_Type_name, ValueType_Type_value)
David Bainbridge142516e2019-04-19 01:34:58 +0000596 proto.RegisterType((*ID)(nil), "common.ID")
597 proto.RegisterType((*IDs)(nil), "common.IDs")
David Bainbridge142516e2019-04-19 01:34:58 +0000598 proto.RegisterType((*AdminState)(nil), "common.AdminState")
599 proto.RegisterType((*OperStatus)(nil), "common.OperStatus")
600 proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus")
601 proto.RegisterType((*OperationResp)(nil), "common.OperationResp")
Scott Bakere099e862020-04-22 11:22:35 -0700602 proto.RegisterType((*ValueType)(nil), "common.ValueType")
603 proto.RegisterType((*ValueSpecifier)(nil), "common.ValueSpecifier")
604 proto.RegisterType((*ReturnValues)(nil), "common.ReturnValues")
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400605}
606
607func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) }
608
609var fileDescriptor_c2e3fd231961e826 = []byte{
Maninder581cf4b2021-06-16 22:42:07 +0530610 // 634 bytes of a gzipped FileDescriptorProto
611 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5d, 0x4f, 0xe3, 0x3a,
612 0x10, 0x6d, 0xfa, 0x05, 0x9d, 0xd2, 0x90, 0x6b, 0x3e, 0xd4, 0x8b, 0xae, 0x74, 0xab, 0xbc, 0xc0,
613 0xbd, 0x62, 0x5b, 0x89, 0xe5, 0x75, 0x1f, 0x42, 0xe2, 0xed, 0x5a, 0x80, 0x53, 0x39, 0x49, 0xd1,
614 0xf2, 0x12,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xdf, 0xb0, 0xf7, 0x1a, 0x8e, 0x68,
637 0x10, 0xcd, 0x66, 0x3e, 0x0b, 0xf5, 0x64, 0xdf, 0x51, 0x84, 0xc6, 0x33, 0xe6, 0x4f, 0x99, 0x4a,
638 0xd6, 0xb2, 0x8f, 0xa1, 0x37, 0x4f, 0x1e, 0x56, 0x5c, 0xf5, 0xcb, 0xfe, 0x17, 0xda, 0xea, 0x1f,
639 0xf5, 0xa0, 0x83, 0x2f, 0x67, 0xe1, 0x77, 0xab, 0xb1, 0x7e, 0x14, 0xa1, 0x43, 0x5d, 0x6c, 0x19,
640 0x36, 0x05, 0x53, 0xab, 0x83, 0x82, 0x2f, 0xb2, 0xdb, 0x8c, 0x97, 0x7f, 0x3e, 0x59, 0x74, 0x0c,
641 0x9d, 0x47, 0xa5, 0xd0, 0x4e, 0xcd, 0x93, 0xfd, 0xe7, 0x9e, 0xbd, 0x14, 0x19, 0xab, 0x1f, 0x56,
642 0x8b, 0x6c, 0x09, 0x5b, 0xb5, 0x5f, 0x4d, 0x57, 0xc8, 0x82, 0x56, 0xc0, 0xa5, 0x4e, 0x37, 0x60,
643 0xea, 0x88, 0x46, 0xd0, 0x8f, 0xf2, 0x6a, 0x55, 0x14, 0xa2, 0x94, 0x3c, 0xd5, 0x59, 0x07, 0xec,
644 0x6d, 0x08, 0xed, 0x42, 0x07, 0x97, 0xa5, 0x28, 0x87, 0x2d, 0xcd, 0xd5, 0x00, 0x1d, 0xc0, 0xa6,
645 0x97, 0x55, 0x32, 0xc9, 0x17, 0x7c, 0xd8, 0xd6, 0xc4, 0x0b, 0xfe, 0xff, 0x1f, 0xd8, 0x0a, 0x79,
646 0x25, 0x2f, 0x45, 0xca, 0xcf, 0xf9, 0x53, 0xa5, 0x3c, 0x26, 0x45, 0x16, 0x4b, 0x5e, 0x49, 0xab,
647 0x71, 0x86, 0x61, 0x47, 0x94, 0x77, 0x63, 0x51, 0xf0, 0x7c, 0x21, 0xca, 0x74, 0x5c, 0x6f, 0xef,
648 0xf5, 0xf8, 0x2e, 0x93, 0xf7, 0xab, 0x1b, 0xe5, 0x67, 0xf2, 0xcc, 0x4d, 0x6a, 0xee, 0xd3, 0x7a,
649 0xb3, 0x1f, 0x4f, 0x27, 0x77, 0x62, 0xbd, 0xdf, 0x37, 0x5d, 0x1d, 0xfc, 0xfc, 0x3b, 0x00, 0x00,
650 0xff, 0xff, 0x29, 0xd3, 0x39, 0x3c, 0xfe, 0x03, 0x00, 0x00,
Matt Jeanneret9fba8652019-04-02 12:00:17 -0400651}