blob: 3975047d198a0191e5661919b085d697f73621d4 [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 // The device is marked to be deleted
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030061 AdminState_DELETED AdminState_Types = 5
William Kurkian1b363f42019-03-12 15:28:12 -040062)
63
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030064var AdminState_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -040065 0: "UNKNOWN",
66 1: "PREPROVISIONED",
67 2: "ENABLED",
68 3: "DISABLED",
69 4: "DOWNLOADING_IMAGE",
70 5: "DELETED",
71}
William Kurkianad745652019-03-20 08:45:51 -040072
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030073var AdminState_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -040074 "UNKNOWN": 0,
75 "PREPROVISIONED": 1,
76 "ENABLED": 2,
77 "DISABLED": 3,
78 "DOWNLOADING_IMAGE": 4,
79 "DELETED": 5,
80}
81
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030082func (x AdminState_Types) String() string {
83 return proto.EnumName(AdminState_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -040084}
William Kurkianad745652019-03-20 08:45:51 -040085
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030086func (AdminState_Types) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +000087 return fileDescriptor_c2e3fd231961e826, []int{2, 0}
William Kurkian1b363f42019-03-12 15:28:12 -040088}
89
90// Operational Status
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030091type OperStatus_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -040092
93const (
94 // The status of the device is unknown at this point
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030095 OperStatus_UNKNOWN OperStatus_Types = 0
William Kurkian1b363f42019-03-12 15:28:12 -040096 // The device has been discovered, but not yet activated
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030097 OperStatus_DISCOVERED OperStatus_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -040098 // The device is being activated (booted, rebooted, upgraded, etc.)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030099 OperStatus_ACTIVATING OperStatus_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -0400100 // Service impacting tests are being conducted
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300101 OperStatus_TESTING OperStatus_Types = 3
William Kurkian1b363f42019-03-12 15:28:12 -0400102 // The device is up and active
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300103 OperStatus_ACTIVE OperStatus_Types = 4
William Kurkian1b363f42019-03-12 15:28:12 -0400104 // The device has failed and cannot fulfill its intended role
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300105 OperStatus_FAILED OperStatus_Types = 5
William Kurkian1b363f42019-03-12 15:28:12 -0400106)
107
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300108var OperStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400109 0: "UNKNOWN",
110 1: "DISCOVERED",
111 2: "ACTIVATING",
112 3: "TESTING",
113 4: "ACTIVE",
114 5: "FAILED",
115}
William Kurkianad745652019-03-20 08:45:51 -0400116
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300117var OperStatus_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -0400118 "UNKNOWN": 0,
119 "DISCOVERED": 1,
120 "ACTIVATING": 2,
121 "TESTING": 3,
122 "ACTIVE": 4,
123 "FAILED": 5,
124}
125
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300126func (x OperStatus_Types) String() string {
127 return proto.EnumName(OperStatus_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -0400128}
William Kurkianad745652019-03-20 08:45:51 -0400129
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300130func (OperStatus_Types) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000131 return fileDescriptor_c2e3fd231961e826, []int{3, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400132}
133
134// Connectivity Status
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300135type ConnectStatus_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -0400136
137const (
138 // The device connectivity status is unknown
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300139 ConnectStatus_UNKNOWN ConnectStatus_Types = 0
William Kurkian1b363f42019-03-12 15:28:12 -0400140 // The device cannot be reached by Voltha
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300141 ConnectStatus_UNREACHABLE ConnectStatus_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -0400142 // There is live communication between device and Voltha
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300143 ConnectStatus_REACHABLE ConnectStatus_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -0400144)
145
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300146var ConnectStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400147 0: "UNKNOWN",
148 1: "UNREACHABLE",
149 2: "REACHABLE",
150}
William Kurkianad745652019-03-20 08:45:51 -0400151
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300152var ConnectStatus_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -0400153 "UNKNOWN": 0,
154 "UNREACHABLE": 1,
155 "REACHABLE": 2,
156}
157
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300158func (x ConnectStatus_Types) String() string {
159 return proto.EnumName(ConnectStatus_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -0400160}
William Kurkianad745652019-03-20 08:45:51 -0400161
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300162func (ConnectStatus_Types) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000163 return fileDescriptor_c2e3fd231961e826, []int{4, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400164}
165
166type OperationResp_OperationReturnCode int32
167
168const (
169 OperationResp_OPERATION_SUCCESS OperationResp_OperationReturnCode = 0
170 OperationResp_OPERATION_FAILURE OperationResp_OperationReturnCode = 1
171 OperationResp_OPERATION_UNSUPPORTED OperationResp_OperationReturnCode = 2
172)
173
174var OperationResp_OperationReturnCode_name = map[int32]string{
175 0: "OPERATION_SUCCESS",
176 1: "OPERATION_FAILURE",
177 2: "OPERATION_UNSUPPORTED",
178}
William Kurkianad745652019-03-20 08:45:51 -0400179
William Kurkian1b363f42019-03-12 15:28:12 -0400180var OperationResp_OperationReturnCode_value = map[string]int32{
181 "OPERATION_SUCCESS": 0,
182 "OPERATION_FAILURE": 1,
183 "OPERATION_UNSUPPORTED": 2,
184}
185
186func (x OperationResp_OperationReturnCode) String() string {
187 return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x))
188}
William Kurkianad745652019-03-20 08:45:51 -0400189
William Kurkian1b363f42019-03-12 15:28:12 -0400190func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000191 return fileDescriptor_c2e3fd231961e826, []int{5, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400192}
193
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800194type ValueType_Type int32
195
196const (
197 ValueType_EMPTY ValueType_Type = 0
198 ValueType_DISTANCE ValueType_Type = 1
199)
200
201var ValueType_Type_name = map[int32]string{
202 0: "EMPTY",
203 1: "DISTANCE",
204}
205
206var ValueType_Type_value = map[string]int32{
207 "EMPTY": 0,
208 "DISTANCE": 1,
209}
210
211func (x ValueType_Type) String() string {
212 return proto.EnumName(ValueType_Type_name, int32(x))
213}
214
215func (ValueType_Type) EnumDescriptor() ([]byte, []int) {
216 return fileDescriptor_c2e3fd231961e826, []int{6, 0}
217}
218
William Kurkian1b363f42019-03-12 15:28:12 -0400219// Convey a resource identifier
220type ID struct {
221 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
222 XXX_NoUnkeyedLiteral struct{} `json:"-"`
223 XXX_unrecognized []byte `json:"-"`
224 XXX_sizecache int32 `json:"-"`
225}
226
227func (m *ID) Reset() { *m = ID{} }
228func (m *ID) String() string { return proto.CompactTextString(m) }
229func (*ID) ProtoMessage() {}
230func (*ID) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400231 return fileDescriptor_c2e3fd231961e826, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -0400232}
William Kurkianad745652019-03-20 08:45:51 -0400233
William Kurkian1b363f42019-03-12 15:28:12 -0400234func (m *ID) XXX_Unmarshal(b []byte) error {
235 return xxx_messageInfo_ID.Unmarshal(m, b)
236}
237func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
238 return xxx_messageInfo_ID.Marshal(b, m, deterministic)
239}
William Kurkianad745652019-03-20 08:45:51 -0400240func (m *ID) XXX_Merge(src proto.Message) {
241 xxx_messageInfo_ID.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400242}
243func (m *ID) XXX_Size() int {
244 return xxx_messageInfo_ID.Size(m)
245}
246func (m *ID) XXX_DiscardUnknown() {
247 xxx_messageInfo_ID.DiscardUnknown(m)
248}
249
250var xxx_messageInfo_ID proto.InternalMessageInfo
251
252func (m *ID) GetId() string {
253 if m != nil {
254 return m.Id
255 }
256 return ""
257}
258
259// Represents a list of IDs
260type IDs struct {
261 Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
262 XXX_NoUnkeyedLiteral struct{} `json:"-"`
263 XXX_unrecognized []byte `json:"-"`
264 XXX_sizecache int32 `json:"-"`
265}
266
267func (m *IDs) Reset() { *m = IDs{} }
268func (m *IDs) String() string { return proto.CompactTextString(m) }
269func (*IDs) ProtoMessage() {}
270func (*IDs) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400271 return fileDescriptor_c2e3fd231961e826, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -0400272}
William Kurkianad745652019-03-20 08:45:51 -0400273
William Kurkian1b363f42019-03-12 15:28:12 -0400274func (m *IDs) XXX_Unmarshal(b []byte) error {
275 return xxx_messageInfo_IDs.Unmarshal(m, b)
276}
277func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
278 return xxx_messageInfo_IDs.Marshal(b, m, deterministic)
279}
William Kurkianad745652019-03-20 08:45:51 -0400280func (m *IDs) XXX_Merge(src proto.Message) {
281 xxx_messageInfo_IDs.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400282}
283func (m *IDs) XXX_Size() int {
284 return xxx_messageInfo_IDs.Size(m)
285}
286func (m *IDs) XXX_DiscardUnknown() {
287 xxx_messageInfo_IDs.DiscardUnknown(m)
288}
289
290var xxx_messageInfo_IDs proto.InternalMessageInfo
291
292func (m *IDs) GetItems() []*ID {
293 if m != nil {
294 return m.Items
295 }
296 return nil
297}
298
William Kurkian1b363f42019-03-12 15:28:12 -0400299type AdminState struct {
300 XXX_NoUnkeyedLiteral struct{} `json:"-"`
301 XXX_unrecognized []byte `json:"-"`
302 XXX_sizecache int32 `json:"-"`
303}
304
305func (m *AdminState) Reset() { *m = AdminState{} }
306func (m *AdminState) String() string { return proto.CompactTextString(m) }
307func (*AdminState) ProtoMessage() {}
308func (*AdminState) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000309 return fileDescriptor_c2e3fd231961e826, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -0400310}
William Kurkianad745652019-03-20 08:45:51 -0400311
William Kurkian1b363f42019-03-12 15:28:12 -0400312func (m *AdminState) XXX_Unmarshal(b []byte) error {
313 return xxx_messageInfo_AdminState.Unmarshal(m, b)
314}
315func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
316 return xxx_messageInfo_AdminState.Marshal(b, m, deterministic)
317}
William Kurkianad745652019-03-20 08:45:51 -0400318func (m *AdminState) XXX_Merge(src proto.Message) {
319 xxx_messageInfo_AdminState.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400320}
321func (m *AdminState) XXX_Size() int {
322 return xxx_messageInfo_AdminState.Size(m)
323}
324func (m *AdminState) XXX_DiscardUnknown() {
325 xxx_messageInfo_AdminState.DiscardUnknown(m)
326}
327
328var xxx_messageInfo_AdminState proto.InternalMessageInfo
329
330type OperStatus struct {
331 XXX_NoUnkeyedLiteral struct{} `json:"-"`
332 XXX_unrecognized []byte `json:"-"`
333 XXX_sizecache int32 `json:"-"`
334}
335
336func (m *OperStatus) Reset() { *m = OperStatus{} }
337func (m *OperStatus) String() string { return proto.CompactTextString(m) }
338func (*OperStatus) ProtoMessage() {}
339func (*OperStatus) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000340 return fileDescriptor_c2e3fd231961e826, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -0400341}
William Kurkianad745652019-03-20 08:45:51 -0400342
William Kurkian1b363f42019-03-12 15:28:12 -0400343func (m *OperStatus) XXX_Unmarshal(b []byte) error {
344 return xxx_messageInfo_OperStatus.Unmarshal(m, b)
345}
346func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
347 return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic)
348}
William Kurkianad745652019-03-20 08:45:51 -0400349func (m *OperStatus) XXX_Merge(src proto.Message) {
350 xxx_messageInfo_OperStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400351}
352func (m *OperStatus) XXX_Size() int {
353 return xxx_messageInfo_OperStatus.Size(m)
354}
355func (m *OperStatus) XXX_DiscardUnknown() {
356 xxx_messageInfo_OperStatus.DiscardUnknown(m)
357}
358
359var xxx_messageInfo_OperStatus proto.InternalMessageInfo
360
361type ConnectStatus struct {
362 XXX_NoUnkeyedLiteral struct{} `json:"-"`
363 XXX_unrecognized []byte `json:"-"`
364 XXX_sizecache int32 `json:"-"`
365}
366
367func (m *ConnectStatus) Reset() { *m = ConnectStatus{} }
368func (m *ConnectStatus) String() string { return proto.CompactTextString(m) }
369func (*ConnectStatus) ProtoMessage() {}
370func (*ConnectStatus) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000371 return fileDescriptor_c2e3fd231961e826, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -0400372}
William Kurkianad745652019-03-20 08:45:51 -0400373
William Kurkian1b363f42019-03-12 15:28:12 -0400374func (m *ConnectStatus) XXX_Unmarshal(b []byte) error {
375 return xxx_messageInfo_ConnectStatus.Unmarshal(m, b)
376}
377func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
378 return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic)
379}
William Kurkianad745652019-03-20 08:45:51 -0400380func (m *ConnectStatus) XXX_Merge(src proto.Message) {
381 xxx_messageInfo_ConnectStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400382}
383func (m *ConnectStatus) XXX_Size() int {
384 return xxx_messageInfo_ConnectStatus.Size(m)
385}
386func (m *ConnectStatus) XXX_DiscardUnknown() {
387 xxx_messageInfo_ConnectStatus.DiscardUnknown(m)
388}
389
390var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo
391
392type OperationResp struct {
393 // Return code
William Kurkian12fc0af2019-04-18 14:27:45 -0400394 Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -0400395 // Additional Info
396 AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
397 XXX_NoUnkeyedLiteral struct{} `json:"-"`
398 XXX_unrecognized []byte `json:"-"`
399 XXX_sizecache int32 `json:"-"`
400}
401
402func (m *OperationResp) Reset() { *m = OperationResp{} }
403func (m *OperationResp) String() string { return proto.CompactTextString(m) }
404func (*OperationResp) ProtoMessage() {}
405func (*OperationResp) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000406 return fileDescriptor_c2e3fd231961e826, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -0400407}
William Kurkianad745652019-03-20 08:45:51 -0400408
William Kurkian1b363f42019-03-12 15:28:12 -0400409func (m *OperationResp) XXX_Unmarshal(b []byte) error {
410 return xxx_messageInfo_OperationResp.Unmarshal(m, b)
411}
412func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
413 return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic)
414}
William Kurkianad745652019-03-20 08:45:51 -0400415func (m *OperationResp) XXX_Merge(src proto.Message) {
416 xxx_messageInfo_OperationResp.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400417}
418func (m *OperationResp) XXX_Size() int {
419 return xxx_messageInfo_OperationResp.Size(m)
420}
421func (m *OperationResp) XXX_DiscardUnknown() {
422 xxx_messageInfo_OperationResp.DiscardUnknown(m)
423}
424
425var xxx_messageInfo_OperationResp proto.InternalMessageInfo
426
427func (m *OperationResp) GetCode() OperationResp_OperationReturnCode {
428 if m != nil {
429 return m.Code
430 }
431 return OperationResp_OPERATION_SUCCESS
432}
433
434func (m *OperationResp) GetAdditionalInfo() string {
435 if m != nil {
436 return m.AdditionalInfo
437 }
438 return ""
439}
440
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800441type ValueType struct {
442 XXX_NoUnkeyedLiteral struct{} `json:"-"`
443 XXX_unrecognized []byte `json:"-"`
444 XXX_sizecache int32 `json:"-"`
445}
446
447func (m *ValueType) Reset() { *m = ValueType{} }
448func (m *ValueType) String() string { return proto.CompactTextString(m) }
449func (*ValueType) ProtoMessage() {}
450func (*ValueType) Descriptor() ([]byte, []int) {
451 return fileDescriptor_c2e3fd231961e826, []int{6}
452}
453
454func (m *ValueType) XXX_Unmarshal(b []byte) error {
455 return xxx_messageInfo_ValueType.Unmarshal(m, b)
456}
457func (m *ValueType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
458 return xxx_messageInfo_ValueType.Marshal(b, m, deterministic)
459}
460func (m *ValueType) XXX_Merge(src proto.Message) {
461 xxx_messageInfo_ValueType.Merge(m, src)
462}
463func (m *ValueType) XXX_Size() int {
464 return xxx_messageInfo_ValueType.Size(m)
465}
466func (m *ValueType) XXX_DiscardUnknown() {
467 xxx_messageInfo_ValueType.DiscardUnknown(m)
468}
469
470var xxx_messageInfo_ValueType proto.InternalMessageInfo
471
472type ValueSpecifier struct {
473 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
474 Value ValueType_Type `protobuf:"varint,2,opt,name=value,proto3,enum=common.ValueType_Type" json:"value,omitempty"`
475 XXX_NoUnkeyedLiteral struct{} `json:"-"`
476 XXX_unrecognized []byte `json:"-"`
477 XXX_sizecache int32 `json:"-"`
478}
479
480func (m *ValueSpecifier) Reset() { *m = ValueSpecifier{} }
481func (m *ValueSpecifier) String() string { return proto.CompactTextString(m) }
482func (*ValueSpecifier) ProtoMessage() {}
483func (*ValueSpecifier) Descriptor() ([]byte, []int) {
484 return fileDescriptor_c2e3fd231961e826, []int{7}
485}
486
487func (m *ValueSpecifier) XXX_Unmarshal(b []byte) error {
488 return xxx_messageInfo_ValueSpecifier.Unmarshal(m, b)
489}
490func (m *ValueSpecifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
491 return xxx_messageInfo_ValueSpecifier.Marshal(b, m, deterministic)
492}
493func (m *ValueSpecifier) XXX_Merge(src proto.Message) {
494 xxx_messageInfo_ValueSpecifier.Merge(m, src)
495}
496func (m *ValueSpecifier) XXX_Size() int {
497 return xxx_messageInfo_ValueSpecifier.Size(m)
498}
499func (m *ValueSpecifier) XXX_DiscardUnknown() {
500 xxx_messageInfo_ValueSpecifier.DiscardUnknown(m)
501}
502
503var xxx_messageInfo_ValueSpecifier proto.InternalMessageInfo
504
505func (m *ValueSpecifier) GetId() string {
506 if m != nil {
507 return m.Id
508 }
509 return ""
510}
511
512func (m *ValueSpecifier) GetValue() ValueType_Type {
513 if m != nil {
514 return m.Value
515 }
516 return ValueType_EMPTY
517}
518
519type ReturnValues struct {
520 Set uint32 `protobuf:"varint,1,opt,name=Set,proto3" json:"Set,omitempty"`
521 Unsupported uint32 `protobuf:"varint,2,opt,name=Unsupported,proto3" json:"Unsupported,omitempty"`
522 Error uint32 `protobuf:"varint,3,opt,name=Error,proto3" json:"Error,omitempty"`
523 Distance uint32 `protobuf:"varint,4,opt,name=Distance,proto3" json:"Distance,omitempty"`
524 XXX_NoUnkeyedLiteral struct{} `json:"-"`
525 XXX_unrecognized []byte `json:"-"`
526 XXX_sizecache int32 `json:"-"`
527}
528
529func (m *ReturnValues) Reset() { *m = ReturnValues{} }
530func (m *ReturnValues) String() string { return proto.CompactTextString(m) }
531func (*ReturnValues) ProtoMessage() {}
532func (*ReturnValues) Descriptor() ([]byte, []int) {
533 return fileDescriptor_c2e3fd231961e826, []int{8}
534}
535
536func (m *ReturnValues) XXX_Unmarshal(b []byte) error {
537 return xxx_messageInfo_ReturnValues.Unmarshal(m, b)
538}
539func (m *ReturnValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
540 return xxx_messageInfo_ReturnValues.Marshal(b, m, deterministic)
541}
542func (m *ReturnValues) XXX_Merge(src proto.Message) {
543 xxx_messageInfo_ReturnValues.Merge(m, src)
544}
545func (m *ReturnValues) XXX_Size() int {
546 return xxx_messageInfo_ReturnValues.Size(m)
547}
548func (m *ReturnValues) XXX_DiscardUnknown() {
549 xxx_messageInfo_ReturnValues.DiscardUnknown(m)
550}
551
552var xxx_messageInfo_ReturnValues proto.InternalMessageInfo
553
554func (m *ReturnValues) GetSet() uint32 {
555 if m != nil {
556 return m.Set
557 }
558 return 0
559}
560
561func (m *ReturnValues) GetUnsupported() uint32 {
562 if m != nil {
563 return m.Unsupported
564 }
565 return 0
566}
567
568func (m *ReturnValues) GetError() uint32 {
569 if m != nil {
570 return m.Error
571 }
572 return 0
573}
574
575func (m *ReturnValues) GetDistance() uint32 {
576 if m != nil {
577 return m.Distance
578 }
579 return 0
580}
581
William Kurkian1b363f42019-03-12 15:28:12 -0400582func init() {
William Kurkian12fc0af2019-04-18 14:27:45 -0400583 proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300584 proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value)
585 proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value)
586 proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value)
William Kurkian12fc0af2019-04-18 14:27:45 -0400587 proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800588 proto.RegisterEnum("common.ValueType_Type", ValueType_Type_name, ValueType_Type_value)
William Kurkian12fc0af2019-04-18 14:27:45 -0400589 proto.RegisterType((*ID)(nil), "common.ID")
590 proto.RegisterType((*IDs)(nil), "common.IDs")
William Kurkian12fc0af2019-04-18 14:27:45 -0400591 proto.RegisterType((*AdminState)(nil), "common.AdminState")
592 proto.RegisterType((*OperStatus)(nil), "common.OperStatus")
593 proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus")
594 proto.RegisterType((*OperationResp)(nil), "common.OperationResp")
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800595 proto.RegisterType((*ValueType)(nil), "common.ValueType")
596 proto.RegisterType((*ValueSpecifier)(nil), "common.ValueSpecifier")
597 proto.RegisterType((*ReturnValues)(nil), "common.ReturnValues")
William Kurkian1b363f42019-03-12 15:28:12 -0400598}
599
William Kurkianad745652019-03-20 08:45:51 -0400600func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) }
William Kurkian1b363f42019-03-12 15:28:12 -0400601
William Kurkianad745652019-03-20 08:45:51 -0400602var fileDescriptor_c2e3fd231961e826 = []byte{
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800603 // 606 bytes of a gzipped FileDescriptorProto
604 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x4d, 0x4f, 0xdb, 0x4a,
605 0x14, 0x8d, 0x9d, 0x8f, 0x47, 0x6e, 0x88, 0xf1, 0x1b, 0xe0, 0x29, 0x0f, 0x55, 0x6a, 0xe4, 0x0d,
606 0xb4, 0xa2, 0x89, 0x04, 0xdd, 0x76, 0x61, 0xec, 0x29, 0x1d, 0x11, 0xc6, 0xd1, 0xd8, 0x0e, 0xa2,
607 0x8b, 0x46, 0x26, 0x1e, 0x82, 0x25, 0xe2, 0xb1, 0xec, 0x09, 0x12, 0xbf, 0xb4, 0x7f, 0xa7, 0x9a,
608 0x71, 0xf8, 0xaa, 0xd8, 0x24, 0x3e, 0xf7, 0xdc, 0xb9, 0xc7, 0xe7, 0x8c, 0x2f, 0x1c, 0x3c, 0x88,
609 0x7b, 0x79, 0x97, 0xcc, 0x8b, 0x52, 0x48, 0x51, 0x8d, 0x17, 0x62, 0xb5, 0x12, 0xf9, 0x48, 0x23,
610 0xd4, 0xa9, 0x91, 0xb3, 0x07, 0x26, 0xf1, 0x91, 0x05, 0x66, 0x96, 0x0e, 0x8c, 0xa1, 0x71, 0xd4,
611 0x65, 0x66, 0x96, 0x3a, 0x87, 0xd0, 0x24, 0x7e, 0x85, 0x86, 0xd0, 0xce, 0x24, 0x5f, 0x55, 0x03,
612 0x63, 0xd8, 0x3c, 0xea, 0x9d, 0xc0, 0x68, 0x33, 0x82, 0xf8, 0xac, 0x26, 0x9c, 0x35, 0x80, 0x9b,
613 0xae, 0xb2, 0x3c, 0x94, 0x89, 0xe4, 0xce, 0x12, 0xda, 0xd1, 0x63, 0xc1, 0x2b, 0xd4, 0x83, 0x7f,
614 0x62, 0x7a, 0x41, 0x83, 0x2b, 0x6a, 0x37, 0x10, 0x02, 0x6b, 0xca, 0xf0, 0x94, 0x05, 0x33, 0x12,
615 0x92, 0x80, 0x62, 0xdf, 0x36, 0x54, 0x03, 0xa6, 0xee, 0xd9, 0x04, 0xfb, 0xb6, 0x89, 0xb6, 0x61,
616 0xcb, 0x27, 0x61, 0x8d, 0x9a, 0x68, 0x1f, 0xfe, 0xf5, 0x83, 0x2b, 0x3a, 0x09, 0x5c, 0x9f, 0xd0,
617 0xf3, 0x39, 0xb9, 0x74, 0xcf, 0xb1, 0xdd, 0x52, 0x27, 0x7c, 0x3c, 0xc1, 0x11, 0xf6, 0xed, 0xb6,
618 0xb3, 0x04, 0x08, 0x0a, 0x5e, 0x2a, 0xd5, 0x75, 0xe5, 0x5c, 0xbf, 0x2b, 0x6b, 0x01, 0xf8, 0x24,
619 0xf4, 0x82, 0x19, 0x66, 0x5a, 0xd2, 0x02, 0x70, 0xbd, 0x88, 0xcc, 0xdc, 0x88, 0xd0, 0x73, 0xdb,
620 0x54, 0xcd, 0x11, 0x0e, 0x35, 0x68, 0x22, 0x80, 0x8e, 0x26, 0x95, 0x12, 0x40, 0xe7, 0xbb, 0x4b,
621 0x26, 0x5a, 0x08, 0x43, 0xdf, 0x13, 0x79, 0xce, 0x17, 0x72, 0xa3, 0xf5, 0xf5, 0x5d, 0xad, 0x1d,
622 0xe8, 0xc5, 0x94, 0x61, 0xd7, 0xfb, 0xa1, 0x5c, 0xd8, 0x06, 0xea, 0x43, 0xf7, 0x05, 0x9a, 0xce,
623 0x6f, 0x03, 0xfa, 0xea, 0x85, 0x13, 0x99, 0x89, 0x9c, 0xf1, 0xaa, 0x40, 0xdf, 0xa0, 0xb5, 0x10,
624 0x29, 0xd7, 0x99, 0x5b, 0x27, 0x9f, 0x9e, 0x92, 0x7d, 0xd3, 0xf4, 0x1a, 0xc9, 0x75, 0x99, 0x7b,
625 0x22, 0xe5, 0x4c, 0x1f, 0x43, 0x87, 0xb0, 0x93, 0xa4, 0x69, 0xa6, 0xb8, 0xe4, 0x7e, 0x9e, 0xe5,
626 0xb7, 0x62, 0x60, 0xea, 0xdb, 0xb3, 0x5e, 0xca, 0x24, 0xbf, 0x15, 0xce, 0x2f, 0xd8, 0x7d, 0x67,
627 0x8a, 0x0a, 0x39, 0x98, 0x62, 0xe6, 0x46, 0x24, 0xa0, 0xf3, 0x30, 0xf6, 0x3c, 0x1c, 0x86, 0x76,
628 0xe3, 0x6d, 0x59, 0x85, 0x10, 0x33, 0xe5, 0xe6, 0x7f, 0xd8, 0x7f, 0x29, 0xc7, 0x34, 0x8c, 0xa7,
629 0xd3, 0x80, 0xa9, 0x9b, 0x30, 0x9d, 0x63, 0xe8, 0xce, 0x92, 0xfb, 0x35, 0x57, 0xa1, 0x38, 0x1f,
630 0xa1, 0xa5, 0xfe, 0x51, 0x17, 0xda, 0xf8, 0x72, 0x1a, 0x5d, 0xdb, 0x8d, 0xcd, 0xdd, 0x46, 0x2e,
631 0xf5, 0xb0, 0x6d, 0x38, 0x14, 0x2c, 0xdd, 0x1d, 0x16, 0x7c, 0x91, 0xdd, 0x66, 0xbc, 0xfc, 0xfb,
632 0xcb, 0x43, 0xc7, 0xd0, 0x7e, 0x50, 0x1d, 0xda, 0x8e, 0x75, 0xf2, 0xdf, 0x53, 0x30, 0xcf, 0x22,
633 0x23, 0xf5, 0xc3, 0xea, 0x26, 0x47, 0xc2, 0x76, 0x6d, 0x4a, 0xd3, 0x15, 0xb2, 0xa1, 0x19, 0x72,
634 0xa9, 0xc7, 0xf5, 0x99, 0x7a, 0x44, 0x43, 0xe8, 0xc5, 0x79, 0xb5, 0x2e, 0x0a, 0x51, 0x4a, 0x9e,
635 0xea, 0xa9, 0x7d, 0xf6, 0xba, 0x84, 0xf6, 0xa0, 0x8d, 0xcb, 0x52, 0x94, 0x83, 0xa6, 0xe6, 0x6a,
636 0x80, 0x0e, 0x60, 0xcb, 0xcf, 0x2a, 0x99, 0xe4, 0x0b, 0x3e, 0x68, 0x69, 0xe2, 0x19, 0x7f, 0xfe,
637 0x00, 0xdb, 0x11, 0xaf, 0xe4, 0xa5, 0x48, 0xf9, 0x05, 0x7f, 0xac, 0x94, 0xc7, 0xa4, 0xc8, 0xe6,
638 0x92, 0x57, 0xd2, 0x6e, 0x9c, 0x61, 0xd8, 0x15, 0xe5, 0x72, 0x24, 0x0a, 0x9e, 0x2f, 0x44, 0x99,
639 0x8e, 0xea, 0x25, 0xfc, 0x39, 0x5a, 0x66, 0xf2, 0x6e, 0x7d, 0xa3, 0xfc, 0x8c, 0x9f, 0xb8, 0x71,
640 0xcd, 0x7d, 0xd9, 0x2c, 0xe8, 0xc3, 0xe9, 0x78, 0x29, 0x36, 0x6b, 0x7a, 0xd3, 0xd1, 0xc5, 0xd3,
641 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb5, 0x2a, 0xdd, 0x48, 0xc5, 0x03, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -0400642}