blob: 7bfcb3311b3745e14521ccdc24043861eacb9eca [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
William Kurkian1b363f42019-03-12 15:28:12 -040045// Administrative State
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030046type AdminState_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -040047
48const (
49 // The administrative state of the device is unknown
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030050 AdminState_UNKNOWN AdminState_Types = 0
William Kurkian1b363f42019-03-12 15:28:12 -040051 // The device is pre-provisioned into Voltha, but not contacted by it
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030052 AdminState_PREPROVISIONED AdminState_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -040053 // The device is enabled for activation and operation
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030054 AdminState_ENABLED AdminState_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -040055 // The device is disabled and shall not perform its intended forwarding
56 // functions other than being available for re-activation.
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030057 AdminState_DISABLED AdminState_Types = 3
William Kurkian1b363f42019-03-12 15:28:12 -040058 // The device is in the state of image download
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030059 AdminState_DOWNLOADING_IMAGE AdminState_Types = 4
William Kurkian1b363f42019-03-12 15:28:12 -040060)
61
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030062var AdminState_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -040063 0: "UNKNOWN",
64 1: "PREPROVISIONED",
65 2: "ENABLED",
66 3: "DISABLED",
67 4: "DOWNLOADING_IMAGE",
William Kurkian1b363f42019-03-12 15:28:12 -040068}
William Kurkianad745652019-03-20 08:45:51 -040069
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030070var AdminState_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -040071 "UNKNOWN": 0,
72 "PREPROVISIONED": 1,
73 "ENABLED": 2,
74 "DISABLED": 3,
75 "DOWNLOADING_IMAGE": 4,
William Kurkian1b363f42019-03-12 15:28:12 -040076}
77
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030078func (x AdminState_Types) String() string {
79 return proto.EnumName(AdminState_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -040080}
William Kurkianad745652019-03-20 08:45:51 -040081
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030082func (AdminState_Types) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +000083 return fileDescriptor_c2e3fd231961e826, []int{2, 0}
William Kurkian1b363f42019-03-12 15:28:12 -040084}
85
86// Operational Status
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030087type OperStatus_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -040088
89const (
90 // The status of the device is unknown at this point
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030091 OperStatus_UNKNOWN OperStatus_Types = 0
William Kurkian1b363f42019-03-12 15:28:12 -040092 // The device has been discovered, but not yet activated
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030093 OperStatus_DISCOVERED OperStatus_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -040094 // The device is being activated (booted, rebooted, upgraded, etc.)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030095 OperStatus_ACTIVATING OperStatus_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -040096 // Service impacting tests are being conducted
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030097 OperStatus_TESTING OperStatus_Types = 3
William Kurkian1b363f42019-03-12 15:28:12 -040098 // The device is up and active
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030099 OperStatus_ACTIVE OperStatus_Types = 4
William Kurkian1b363f42019-03-12 15:28:12 -0400100 // The device has failed and cannot fulfill its intended role
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300101 OperStatus_FAILED OperStatus_Types = 5
William Kurkian1b363f42019-03-12 15:28:12 -0400102)
103
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300104var OperStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400105 0: "UNKNOWN",
106 1: "DISCOVERED",
107 2: "ACTIVATING",
108 3: "TESTING",
109 4: "ACTIVE",
110 5: "FAILED",
111}
William Kurkianad745652019-03-20 08:45:51 -0400112
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300113var OperStatus_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -0400114 "UNKNOWN": 0,
115 "DISCOVERED": 1,
116 "ACTIVATING": 2,
117 "TESTING": 3,
118 "ACTIVE": 4,
119 "FAILED": 5,
120}
121
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300122func (x OperStatus_Types) String() string {
123 return proto.EnumName(OperStatus_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -0400124}
William Kurkianad745652019-03-20 08:45:51 -0400125
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300126func (OperStatus_Types) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000127 return fileDescriptor_c2e3fd231961e826, []int{3, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400128}
129
130// Connectivity Status
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300131type ConnectStatus_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -0400132
133const (
134 // The device connectivity status is unknown
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300135 ConnectStatus_UNKNOWN ConnectStatus_Types = 0
William Kurkian1b363f42019-03-12 15:28:12 -0400136 // The device cannot be reached by Voltha
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300137 ConnectStatus_UNREACHABLE ConnectStatus_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -0400138 // There is live communication between device and Voltha
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300139 ConnectStatus_REACHABLE ConnectStatus_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -0400140)
141
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300142var ConnectStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400143 0: "UNKNOWN",
144 1: "UNREACHABLE",
145 2: "REACHABLE",
146}
William Kurkianad745652019-03-20 08:45:51 -0400147
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300148var ConnectStatus_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -0400149 "UNKNOWN": 0,
150 "UNREACHABLE": 1,
151 "REACHABLE": 2,
152}
153
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300154func (x ConnectStatus_Types) String() string {
155 return proto.EnumName(ConnectStatus_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -0400156}
William Kurkianad745652019-03-20 08:45:51 -0400157
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300158func (ConnectStatus_Types) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000159 return fileDescriptor_c2e3fd231961e826, []int{4, 0}
William Kurkian1b363f42019-03-12 15:28:12 -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
Maninder2f9d63e2021-02-08 11:42:19 +0530168 OperationResp_OPERATION_IN_PROGRESS OperationResp_OperationReturnCode = 3
William Kurkian1b363f42019-03-12 15:28:12 -0400169)
170
171var OperationResp_OperationReturnCode_name = map[int32]string{
172 0: "OPERATION_SUCCESS",
173 1: "OPERATION_FAILURE",
174 2: "OPERATION_UNSUPPORTED",
Maninder2f9d63e2021-02-08 11:42:19 +0530175 3: "OPERATION_IN_PROGRESS",
William Kurkian1b363f42019-03-12 15:28:12 -0400176}
William Kurkianad745652019-03-20 08:45:51 -0400177
William Kurkian1b363f42019-03-12 15:28:12 -0400178var OperationResp_OperationReturnCode_value = map[string]int32{
179 "OPERATION_SUCCESS": 0,
180 "OPERATION_FAILURE": 1,
181 "OPERATION_UNSUPPORTED": 2,
Maninder2f9d63e2021-02-08 11:42:19 +0530182 "OPERATION_IN_PROGRESS": 3,
William Kurkian1b363f42019-03-12 15:28:12 -0400183}
184
185func (x OperationResp_OperationReturnCode) String() string {
186 return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x))
187}
William Kurkianad745652019-03-20 08:45:51 -0400188
William Kurkian1b363f42019-03-12 15:28:12 -0400189func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000190 return fileDescriptor_c2e3fd231961e826, []int{5, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400191}
192
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800193type ValueType_Type int32
194
195const (
196 ValueType_EMPTY ValueType_Type = 0
197 ValueType_DISTANCE ValueType_Type = 1
198)
199
200var ValueType_Type_name = map[int32]string{
201 0: "EMPTY",
202 1: "DISTANCE",
203}
204
205var ValueType_Type_value = map[string]int32{
206 "EMPTY": 0,
207 "DISTANCE": 1,
208}
209
210func (x ValueType_Type) String() string {
211 return proto.EnumName(ValueType_Type_name, int32(x))
212}
213
214func (ValueType_Type) EnumDescriptor() ([]byte, []int) {
215 return fileDescriptor_c2e3fd231961e826, []int{6, 0}
216}
217
William Kurkian1b363f42019-03-12 15:28:12 -0400218// Convey a resource identifier
219type ID struct {
220 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
221 XXX_NoUnkeyedLiteral struct{} `json:"-"`
222 XXX_unrecognized []byte `json:"-"`
223 XXX_sizecache int32 `json:"-"`
224}
225
226func (m *ID) Reset() { *m = ID{} }
227func (m *ID) String() string { return proto.CompactTextString(m) }
228func (*ID) ProtoMessage() {}
229func (*ID) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400230 return fileDescriptor_c2e3fd231961e826, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -0400231}
William Kurkianad745652019-03-20 08:45:51 -0400232
William Kurkian1b363f42019-03-12 15:28:12 -0400233func (m *ID) XXX_Unmarshal(b []byte) error {
234 return xxx_messageInfo_ID.Unmarshal(m, b)
235}
236func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
237 return xxx_messageInfo_ID.Marshal(b, m, deterministic)
238}
William Kurkianad745652019-03-20 08:45:51 -0400239func (m *ID) XXX_Merge(src proto.Message) {
240 xxx_messageInfo_ID.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400241}
242func (m *ID) XXX_Size() int {
243 return xxx_messageInfo_ID.Size(m)
244}
245func (m *ID) XXX_DiscardUnknown() {
246 xxx_messageInfo_ID.DiscardUnknown(m)
247}
248
249var xxx_messageInfo_ID proto.InternalMessageInfo
250
251func (m *ID) GetId() string {
252 if m != nil {
253 return m.Id
254 }
255 return ""
256}
257
258// Represents a list of IDs
259type IDs struct {
260 Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
261 XXX_NoUnkeyedLiteral struct{} `json:"-"`
262 XXX_unrecognized []byte `json:"-"`
263 XXX_sizecache int32 `json:"-"`
264}
265
266func (m *IDs) Reset() { *m = IDs{} }
267func (m *IDs) String() string { return proto.CompactTextString(m) }
268func (*IDs) ProtoMessage() {}
269func (*IDs) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400270 return fileDescriptor_c2e3fd231961e826, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -0400271}
William Kurkianad745652019-03-20 08:45:51 -0400272
William Kurkian1b363f42019-03-12 15:28:12 -0400273func (m *IDs) XXX_Unmarshal(b []byte) error {
274 return xxx_messageInfo_IDs.Unmarshal(m, b)
275}
276func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
277 return xxx_messageInfo_IDs.Marshal(b, m, deterministic)
278}
William Kurkianad745652019-03-20 08:45:51 -0400279func (m *IDs) XXX_Merge(src proto.Message) {
280 xxx_messageInfo_IDs.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400281}
282func (m *IDs) XXX_Size() int {
283 return xxx_messageInfo_IDs.Size(m)
284}
285func (m *IDs) XXX_DiscardUnknown() {
286 xxx_messageInfo_IDs.DiscardUnknown(m)
287}
288
289var xxx_messageInfo_IDs proto.InternalMessageInfo
290
291func (m *IDs) GetItems() []*ID {
292 if m != nil {
293 return m.Items
294 }
295 return nil
296}
297
William Kurkian1b363f42019-03-12 15:28:12 -0400298type AdminState struct {
299 XXX_NoUnkeyedLiteral struct{} `json:"-"`
300 XXX_unrecognized []byte `json:"-"`
301 XXX_sizecache int32 `json:"-"`
302}
303
304func (m *AdminState) Reset() { *m = AdminState{} }
305func (m *AdminState) String() string { return proto.CompactTextString(m) }
306func (*AdminState) ProtoMessage() {}
307func (*AdminState) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000308 return fileDescriptor_c2e3fd231961e826, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -0400309}
William Kurkianad745652019-03-20 08:45:51 -0400310
William Kurkian1b363f42019-03-12 15:28:12 -0400311func (m *AdminState) XXX_Unmarshal(b []byte) error {
312 return xxx_messageInfo_AdminState.Unmarshal(m, b)
313}
314func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
315 return xxx_messageInfo_AdminState.Marshal(b, m, deterministic)
316}
William Kurkianad745652019-03-20 08:45:51 -0400317func (m *AdminState) XXX_Merge(src proto.Message) {
318 xxx_messageInfo_AdminState.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400319}
320func (m *AdminState) XXX_Size() int {
321 return xxx_messageInfo_AdminState.Size(m)
322}
323func (m *AdminState) XXX_DiscardUnknown() {
324 xxx_messageInfo_AdminState.DiscardUnknown(m)
325}
326
327var xxx_messageInfo_AdminState proto.InternalMessageInfo
328
329type OperStatus struct {
330 XXX_NoUnkeyedLiteral struct{} `json:"-"`
331 XXX_unrecognized []byte `json:"-"`
332 XXX_sizecache int32 `json:"-"`
333}
334
335func (m *OperStatus) Reset() { *m = OperStatus{} }
336func (m *OperStatus) String() string { return proto.CompactTextString(m) }
337func (*OperStatus) ProtoMessage() {}
338func (*OperStatus) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000339 return fileDescriptor_c2e3fd231961e826, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -0400340}
William Kurkianad745652019-03-20 08:45:51 -0400341
William Kurkian1b363f42019-03-12 15:28:12 -0400342func (m *OperStatus) XXX_Unmarshal(b []byte) error {
343 return xxx_messageInfo_OperStatus.Unmarshal(m, b)
344}
345func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
346 return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic)
347}
William Kurkianad745652019-03-20 08:45:51 -0400348func (m *OperStatus) XXX_Merge(src proto.Message) {
349 xxx_messageInfo_OperStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400350}
351func (m *OperStatus) XXX_Size() int {
352 return xxx_messageInfo_OperStatus.Size(m)
353}
354func (m *OperStatus) XXX_DiscardUnknown() {
355 xxx_messageInfo_OperStatus.DiscardUnknown(m)
356}
357
358var xxx_messageInfo_OperStatus proto.InternalMessageInfo
359
360type ConnectStatus struct {
361 XXX_NoUnkeyedLiteral struct{} `json:"-"`
362 XXX_unrecognized []byte `json:"-"`
363 XXX_sizecache int32 `json:"-"`
364}
365
366func (m *ConnectStatus) Reset() { *m = ConnectStatus{} }
367func (m *ConnectStatus) String() string { return proto.CompactTextString(m) }
368func (*ConnectStatus) ProtoMessage() {}
369func (*ConnectStatus) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000370 return fileDescriptor_c2e3fd231961e826, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -0400371}
William Kurkianad745652019-03-20 08:45:51 -0400372
William Kurkian1b363f42019-03-12 15:28:12 -0400373func (m *ConnectStatus) XXX_Unmarshal(b []byte) error {
374 return xxx_messageInfo_ConnectStatus.Unmarshal(m, b)
375}
376func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
377 return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic)
378}
William Kurkianad745652019-03-20 08:45:51 -0400379func (m *ConnectStatus) XXX_Merge(src proto.Message) {
380 xxx_messageInfo_ConnectStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400381}
382func (m *ConnectStatus) XXX_Size() int {
383 return xxx_messageInfo_ConnectStatus.Size(m)
384}
385func (m *ConnectStatus) XXX_DiscardUnknown() {
386 xxx_messageInfo_ConnectStatus.DiscardUnknown(m)
387}
388
389var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo
390
391type OperationResp struct {
392 // Return code
William Kurkian12fc0af2019-04-18 14:27:45 -0400393 Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -0400394 // Additional Info
395 AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
396 XXX_NoUnkeyedLiteral struct{} `json:"-"`
397 XXX_unrecognized []byte `json:"-"`
398 XXX_sizecache int32 `json:"-"`
399}
400
401func (m *OperationResp) Reset() { *m = OperationResp{} }
402func (m *OperationResp) String() string { return proto.CompactTextString(m) }
403func (*OperationResp) ProtoMessage() {}
404func (*OperationResp) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000405 return fileDescriptor_c2e3fd231961e826, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -0400406}
William Kurkianad745652019-03-20 08:45:51 -0400407
William Kurkian1b363f42019-03-12 15:28:12 -0400408func (m *OperationResp) XXX_Unmarshal(b []byte) error {
409 return xxx_messageInfo_OperationResp.Unmarshal(m, b)
410}
411func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
412 return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic)
413}
William Kurkianad745652019-03-20 08:45:51 -0400414func (m *OperationResp) XXX_Merge(src proto.Message) {
415 xxx_messageInfo_OperationResp.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400416}
417func (m *OperationResp) XXX_Size() int {
418 return xxx_messageInfo_OperationResp.Size(m)
419}
420func (m *OperationResp) XXX_DiscardUnknown() {
421 xxx_messageInfo_OperationResp.DiscardUnknown(m)
422}
423
424var xxx_messageInfo_OperationResp proto.InternalMessageInfo
425
426func (m *OperationResp) GetCode() OperationResp_OperationReturnCode {
427 if m != nil {
428 return m.Code
429 }
430 return OperationResp_OPERATION_SUCCESS
431}
432
433func (m *OperationResp) GetAdditionalInfo() string {
434 if m != nil {
435 return m.AdditionalInfo
436 }
437 return ""
438}
439
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800440type ValueType struct {
441 XXX_NoUnkeyedLiteral struct{} `json:"-"`
442 XXX_unrecognized []byte `json:"-"`
443 XXX_sizecache int32 `json:"-"`
444}
445
446func (m *ValueType) Reset() { *m = ValueType{} }
447func (m *ValueType) String() string { return proto.CompactTextString(m) }
448func (*ValueType) ProtoMessage() {}
449func (*ValueType) Descriptor() ([]byte, []int) {
450 return fileDescriptor_c2e3fd231961e826, []int{6}
451}
452
453func (m *ValueType) XXX_Unmarshal(b []byte) error {
454 return xxx_messageInfo_ValueType.Unmarshal(m, b)
455}
456func (m *ValueType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
457 return xxx_messageInfo_ValueType.Marshal(b, m, deterministic)
458}
459func (m *ValueType) XXX_Merge(src proto.Message) {
460 xxx_messageInfo_ValueType.Merge(m, src)
461}
462func (m *ValueType) XXX_Size() int {
463 return xxx_messageInfo_ValueType.Size(m)
464}
465func (m *ValueType) XXX_DiscardUnknown() {
466 xxx_messageInfo_ValueType.DiscardUnknown(m)
467}
468
469var xxx_messageInfo_ValueType proto.InternalMessageInfo
470
471type ValueSpecifier struct {
472 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
473 Value ValueType_Type `protobuf:"varint,2,opt,name=value,proto3,enum=common.ValueType_Type" json:"value,omitempty"`
474 XXX_NoUnkeyedLiteral struct{} `json:"-"`
475 XXX_unrecognized []byte `json:"-"`
476 XXX_sizecache int32 `json:"-"`
477}
478
479func (m *ValueSpecifier) Reset() { *m = ValueSpecifier{} }
480func (m *ValueSpecifier) String() string { return proto.CompactTextString(m) }
481func (*ValueSpecifier) ProtoMessage() {}
482func (*ValueSpecifier) Descriptor() ([]byte, []int) {
483 return fileDescriptor_c2e3fd231961e826, []int{7}
484}
485
486func (m *ValueSpecifier) XXX_Unmarshal(b []byte) error {
487 return xxx_messageInfo_ValueSpecifier.Unmarshal(m, b)
488}
489func (m *ValueSpecifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
490 return xxx_messageInfo_ValueSpecifier.Marshal(b, m, deterministic)
491}
492func (m *ValueSpecifier) XXX_Merge(src proto.Message) {
493 xxx_messageInfo_ValueSpecifier.Merge(m, src)
494}
495func (m *ValueSpecifier) XXX_Size() int {
496 return xxx_messageInfo_ValueSpecifier.Size(m)
497}
498func (m *ValueSpecifier) XXX_DiscardUnknown() {
499 xxx_messageInfo_ValueSpecifier.DiscardUnknown(m)
500}
501
502var xxx_messageInfo_ValueSpecifier proto.InternalMessageInfo
503
504func (m *ValueSpecifier) GetId() string {
505 if m != nil {
506 return m.Id
507 }
508 return ""
509}
510
511func (m *ValueSpecifier) GetValue() ValueType_Type {
512 if m != nil {
513 return m.Value
514 }
515 return ValueType_EMPTY
516}
517
518type ReturnValues struct {
519 Set uint32 `protobuf:"varint,1,opt,name=Set,proto3" json:"Set,omitempty"`
520 Unsupported uint32 `protobuf:"varint,2,opt,name=Unsupported,proto3" json:"Unsupported,omitempty"`
521 Error uint32 `protobuf:"varint,3,opt,name=Error,proto3" json:"Error,omitempty"`
522 Distance uint32 `protobuf:"varint,4,opt,name=Distance,proto3" json:"Distance,omitempty"`
523 XXX_NoUnkeyedLiteral struct{} `json:"-"`
524 XXX_unrecognized []byte `json:"-"`
525 XXX_sizecache int32 `json:"-"`
526}
527
528func (m *ReturnValues) Reset() { *m = ReturnValues{} }
529func (m *ReturnValues) String() string { return proto.CompactTextString(m) }
530func (*ReturnValues) ProtoMessage() {}
531func (*ReturnValues) Descriptor() ([]byte, []int) {
532 return fileDescriptor_c2e3fd231961e826, []int{8}
533}
534
535func (m *ReturnValues) XXX_Unmarshal(b []byte) error {
536 return xxx_messageInfo_ReturnValues.Unmarshal(m, b)
537}
538func (m *ReturnValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
539 return xxx_messageInfo_ReturnValues.Marshal(b, m, deterministic)
540}
541func (m *ReturnValues) XXX_Merge(src proto.Message) {
542 xxx_messageInfo_ReturnValues.Merge(m, src)
543}
544func (m *ReturnValues) XXX_Size() int {
545 return xxx_messageInfo_ReturnValues.Size(m)
546}
547func (m *ReturnValues) XXX_DiscardUnknown() {
548 xxx_messageInfo_ReturnValues.DiscardUnknown(m)
549}
550
551var xxx_messageInfo_ReturnValues proto.InternalMessageInfo
552
553func (m *ReturnValues) GetSet() uint32 {
554 if m != nil {
555 return m.Set
556 }
557 return 0
558}
559
560func (m *ReturnValues) GetUnsupported() uint32 {
561 if m != nil {
562 return m.Unsupported
563 }
564 return 0
565}
566
567func (m *ReturnValues) GetError() uint32 {
568 if m != nil {
569 return m.Error
570 }
571 return 0
572}
573
574func (m *ReturnValues) GetDistance() uint32 {
575 if m != nil {
576 return m.Distance
577 }
578 return 0
579}
580
William Kurkian1b363f42019-03-12 15:28:12 -0400581func init() {
William Kurkian12fc0af2019-04-18 14:27:45 -0400582 proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300583 proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value)
584 proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value)
585 proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value)
William Kurkian12fc0af2019-04-18 14:27:45 -0400586 proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800587 proto.RegisterEnum("common.ValueType_Type", ValueType_Type_name, ValueType_Type_value)
William Kurkian12fc0af2019-04-18 14:27:45 -0400588 proto.RegisterType((*ID)(nil), "common.ID")
589 proto.RegisterType((*IDs)(nil), "common.IDs")
William Kurkian12fc0af2019-04-18 14:27:45 -0400590 proto.RegisterType((*AdminState)(nil), "common.AdminState")
591 proto.RegisterType((*OperStatus)(nil), "common.OperStatus")
592 proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus")
593 proto.RegisterType((*OperationResp)(nil), "common.OperationResp")
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800594 proto.RegisterType((*ValueType)(nil), "common.ValueType")
595 proto.RegisterType((*ValueSpecifier)(nil), "common.ValueSpecifier")
596 proto.RegisterType((*ReturnValues)(nil), "common.ReturnValues")
William Kurkian1b363f42019-03-12 15:28:12 -0400597}
598
William Kurkianad745652019-03-20 08:45:51 -0400599func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) }
William Kurkian1b363f42019-03-12 15:28:12 -0400600
William Kurkianad745652019-03-20 08:45:51 -0400601var fileDescriptor_c2e3fd231961e826 = []byte{
Maninder2f9d63e2021-02-08 11:42:19 +0530602 // 606 bytes of a gzipped FileDescriptorProto
603 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5d, 0x4f, 0xdb, 0x30,
604 0x14, 0x6d, 0x9b, 0x96, 0xd1, 0x5b, 0x1a, 0x32, 0x03, 0x53, 0x87, 0x26, 0xad, 0xca, 0x0b, 0x6c,
605 0x62, 0xad, 0xc4, 0x78, 0xdd, 0x43, 0x48, 0xbc, 0xce, 0x02, 0x9c, 0xc8, 0x49, 0x8a, 0xe0, 0xa5,
606 0x0a, 0x8d, 0x29, 0x91, 0x68, 0x1c, 0x25, 0x2e, 0x12, 0x7f, 0x7b, 0xbf, 0x60, 0xb2, 0x53, 0xbe,
607 0x26, 0x5e, 0x12, 0x9f, 0x7b, 0x4e, 0xee, 0xf1, 0x3d, 0x8e, 0x61, 0xff, 0x41, 0xdc, 0xcb, 0xbb,
608 0x64, 0x56, 0x94, 0x42, 0x8a, 0x6a, 0x3c, 0x17, 0xcb, 0xa5, 0xc8, 0x47, 0x1a, 0xa1, 0x8d, 0x1a,
609 0xd9, 0xbb, 0xd0, 0x22, 0x1e, 0x32, 0xa1, 0x95, 0xa5, 0x83, 0xe6, 0xb0, 0x79, 0xd8, 0x65, 0xad,
610 0x2c, 0xb5, 0x0f, 0xc0, 0x20, 0x5e, 0x85, 0x86, 0xd0, 0xc9, 0x24, 0x5f, 0x56, 0x83, 0xe6, 0xd0,
611 0x38, 0xec, 0x1d, 0xc3, 0x68, 0xdd, 0x82, 0x78, 0xac, 0x26, 0xec, 0x3b, 0x00, 0x27, 0x5d, 0x66,
612 0x79, 0x28, 0x13, 0xc9, 0xed, 0x6b, 0xe8, 0x44, 0x8f, 0x05, 0xaf, 0x50, 0x0f, 0x3e, 0xc4, 0xf4,
613 0x8c, 0xfa, 0x97, 0xd4, 0x6a, 0x20, 0x04, 0x66, 0xc0, 0x70, 0xc0, 0xfc, 0x29, 0x09, 0x89, 0x4f,
614 0xb1, 0x67, 0x35, 0x95, 0x00, 0x53, 0xe7, 0xf4, 0x1c, 0x7b, 0x56, 0x0b, 0x6d, 0xc1, 0xa6, 0x47,
615 0xc2, 0x1a, 0x19, 0x68, 0x0f, 0x3e, 0x7a, 0xfe, 0x25, 0x3d, 0xf7, 0x1d, 0x8f, 0xd0, 0xc9, 0x8c,
616 0x5c, 0x38, 0x13, 0x6c, 0xb5, 0xed, 0x05, 0x80, 0x5f, 0xf0, 0x52, 0x19, 0xad, 0x2a, 0xfb, 0xea,
617 0x5d, 0x27, 0x13, 0xc0, 0x23, 0xa1, 0xeb, 0x4f, 0x31, 0xd3, 0x2e, 0x26, 0x80, 0xe3, 0x46, 0x64,
618 0xea, 0x44, 0x84, 0x4e, 0xac, 0x96, 0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
William Kurkian1b363f42019-03-12 15:28:12 -0400641}