blob: 1227e58ddfe8f1af94badc51cc466845eb75c4f9 [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
Himani Chawla503b7ce2020-10-07 13:20:03 +053062 // The device is marked to be in deleting state
63 AdminState_DELETING AdminState_Types = 6
William Kurkian1b363f42019-03-12 15:28:12 -040064)
65
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030066var AdminState_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -040067 0: "UNKNOWN",
68 1: "PREPROVISIONED",
69 2: "ENABLED",
70 3: "DISABLED",
71 4: "DOWNLOADING_IMAGE",
72 5: "DELETED",
Himani Chawla503b7ce2020-10-07 13:20:03 +053073 6: "DELETING",
William Kurkian1b363f42019-03-12 15:28:12 -040074}
William Kurkianad745652019-03-20 08:45:51 -040075
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030076var AdminState_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -040077 "UNKNOWN": 0,
78 "PREPROVISIONED": 1,
79 "ENABLED": 2,
80 "DISABLED": 3,
81 "DOWNLOADING_IMAGE": 4,
82 "DELETED": 5,
Himani Chawla503b7ce2020-10-07 13:20:03 +053083 "DELETING": 6,
William Kurkian1b363f42019-03-12 15:28:12 -040084}
85
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030086func (x AdminState_Types) String() string {
87 return proto.EnumName(AdminState_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -040088}
William Kurkianad745652019-03-20 08:45:51 -040089
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030090func (AdminState_Types) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +000091 return fileDescriptor_c2e3fd231961e826, []int{2, 0}
William Kurkian1b363f42019-03-12 15:28:12 -040092}
93
94// Operational Status
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030095type OperStatus_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -040096
97const (
98 // The status of the device is unknown at this point
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030099 OperStatus_UNKNOWN OperStatus_Types = 0
William Kurkian1b363f42019-03-12 15:28:12 -0400100 // The device has been discovered, but not yet activated
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300101 OperStatus_DISCOVERED OperStatus_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -0400102 // The device is being activated (booted, rebooted, upgraded, etc.)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300103 OperStatus_ACTIVATING OperStatus_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -0400104 // Service impacting tests are being conducted
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300105 OperStatus_TESTING OperStatus_Types = 3
William Kurkian1b363f42019-03-12 15:28:12 -0400106 // The device is up and active
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300107 OperStatus_ACTIVE OperStatus_Types = 4
William Kurkian1b363f42019-03-12 15:28:12 -0400108 // The device has failed and cannot fulfill its intended role
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300109 OperStatus_FAILED OperStatus_Types = 5
William Kurkian1b363f42019-03-12 15:28:12 -0400110)
111
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300112var OperStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400113 0: "UNKNOWN",
114 1: "DISCOVERED",
115 2: "ACTIVATING",
116 3: "TESTING",
117 4: "ACTIVE",
118 5: "FAILED",
119}
William Kurkianad745652019-03-20 08:45:51 -0400120
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300121var OperStatus_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -0400122 "UNKNOWN": 0,
123 "DISCOVERED": 1,
124 "ACTIVATING": 2,
125 "TESTING": 3,
126 "ACTIVE": 4,
127 "FAILED": 5,
128}
129
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300130func (x OperStatus_Types) String() string {
131 return proto.EnumName(OperStatus_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -0400132}
William Kurkianad745652019-03-20 08:45:51 -0400133
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300134func (OperStatus_Types) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000135 return fileDescriptor_c2e3fd231961e826, []int{3, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400136}
137
138// Connectivity Status
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300139type ConnectStatus_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -0400140
141const (
142 // The device connectivity status is unknown
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300143 ConnectStatus_UNKNOWN ConnectStatus_Types = 0
William Kurkian1b363f42019-03-12 15:28:12 -0400144 // The device cannot be reached by Voltha
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300145 ConnectStatus_UNREACHABLE ConnectStatus_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -0400146 // There is live communication between device and Voltha
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300147 ConnectStatus_REACHABLE ConnectStatus_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -0400148)
149
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300150var ConnectStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400151 0: "UNKNOWN",
152 1: "UNREACHABLE",
153 2: "REACHABLE",
154}
William Kurkianad745652019-03-20 08:45:51 -0400155
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300156var ConnectStatus_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -0400157 "UNKNOWN": 0,
158 "UNREACHABLE": 1,
159 "REACHABLE": 2,
160}
161
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300162func (x ConnectStatus_Types) String() string {
163 return proto.EnumName(ConnectStatus_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -0400164}
William Kurkianad745652019-03-20 08:45:51 -0400165
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300166func (ConnectStatus_Types) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000167 return fileDescriptor_c2e3fd231961e826, []int{4, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400168}
169
170type OperationResp_OperationReturnCode int32
171
172const (
173 OperationResp_OPERATION_SUCCESS OperationResp_OperationReturnCode = 0
174 OperationResp_OPERATION_FAILURE OperationResp_OperationReturnCode = 1
175 OperationResp_OPERATION_UNSUPPORTED OperationResp_OperationReturnCode = 2
176)
177
178var OperationResp_OperationReturnCode_name = map[int32]string{
179 0: "OPERATION_SUCCESS",
180 1: "OPERATION_FAILURE",
181 2: "OPERATION_UNSUPPORTED",
182}
William Kurkianad745652019-03-20 08:45:51 -0400183
William Kurkian1b363f42019-03-12 15:28:12 -0400184var OperationResp_OperationReturnCode_value = map[string]int32{
185 "OPERATION_SUCCESS": 0,
186 "OPERATION_FAILURE": 1,
187 "OPERATION_UNSUPPORTED": 2,
188}
189
190func (x OperationResp_OperationReturnCode) String() string {
191 return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x))
192}
William Kurkianad745652019-03-20 08:45:51 -0400193
William Kurkian1b363f42019-03-12 15:28:12 -0400194func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000195 return fileDescriptor_c2e3fd231961e826, []int{5, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400196}
197
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800198type ValueType_Type int32
199
200const (
201 ValueType_EMPTY ValueType_Type = 0
202 ValueType_DISTANCE ValueType_Type = 1
203)
204
205var ValueType_Type_name = map[int32]string{
206 0: "EMPTY",
207 1: "DISTANCE",
208}
209
210var ValueType_Type_value = map[string]int32{
211 "EMPTY": 0,
212 "DISTANCE": 1,
213}
214
215func (x ValueType_Type) String() string {
216 return proto.EnumName(ValueType_Type_name, int32(x))
217}
218
219func (ValueType_Type) EnumDescriptor() ([]byte, []int) {
220 return fileDescriptor_c2e3fd231961e826, []int{6, 0}
221}
222
William Kurkian1b363f42019-03-12 15:28:12 -0400223// Convey a resource identifier
224type ID struct {
225 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
226 XXX_NoUnkeyedLiteral struct{} `json:"-"`
227 XXX_unrecognized []byte `json:"-"`
228 XXX_sizecache int32 `json:"-"`
229}
230
231func (m *ID) Reset() { *m = ID{} }
232func (m *ID) String() string { return proto.CompactTextString(m) }
233func (*ID) ProtoMessage() {}
234func (*ID) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400235 return fileDescriptor_c2e3fd231961e826, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -0400236}
William Kurkianad745652019-03-20 08:45:51 -0400237
William Kurkian1b363f42019-03-12 15:28:12 -0400238func (m *ID) XXX_Unmarshal(b []byte) error {
239 return xxx_messageInfo_ID.Unmarshal(m, b)
240}
241func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
242 return xxx_messageInfo_ID.Marshal(b, m, deterministic)
243}
William Kurkianad745652019-03-20 08:45:51 -0400244func (m *ID) XXX_Merge(src proto.Message) {
245 xxx_messageInfo_ID.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400246}
247func (m *ID) XXX_Size() int {
248 return xxx_messageInfo_ID.Size(m)
249}
250func (m *ID) XXX_DiscardUnknown() {
251 xxx_messageInfo_ID.DiscardUnknown(m)
252}
253
254var xxx_messageInfo_ID proto.InternalMessageInfo
255
256func (m *ID) GetId() string {
257 if m != nil {
258 return m.Id
259 }
260 return ""
261}
262
263// Represents a list of IDs
264type IDs struct {
265 Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
266 XXX_NoUnkeyedLiteral struct{} `json:"-"`
267 XXX_unrecognized []byte `json:"-"`
268 XXX_sizecache int32 `json:"-"`
269}
270
271func (m *IDs) Reset() { *m = IDs{} }
272func (m *IDs) String() string { return proto.CompactTextString(m) }
273func (*IDs) ProtoMessage() {}
274func (*IDs) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400275 return fileDescriptor_c2e3fd231961e826, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -0400276}
William Kurkianad745652019-03-20 08:45:51 -0400277
William Kurkian1b363f42019-03-12 15:28:12 -0400278func (m *IDs) XXX_Unmarshal(b []byte) error {
279 return xxx_messageInfo_IDs.Unmarshal(m, b)
280}
281func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
282 return xxx_messageInfo_IDs.Marshal(b, m, deterministic)
283}
William Kurkianad745652019-03-20 08:45:51 -0400284func (m *IDs) XXX_Merge(src proto.Message) {
285 xxx_messageInfo_IDs.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400286}
287func (m *IDs) XXX_Size() int {
288 return xxx_messageInfo_IDs.Size(m)
289}
290func (m *IDs) XXX_DiscardUnknown() {
291 xxx_messageInfo_IDs.DiscardUnknown(m)
292}
293
294var xxx_messageInfo_IDs proto.InternalMessageInfo
295
296func (m *IDs) GetItems() []*ID {
297 if m != nil {
298 return m.Items
299 }
300 return nil
301}
302
William Kurkian1b363f42019-03-12 15:28:12 -0400303type AdminState struct {
304 XXX_NoUnkeyedLiteral struct{} `json:"-"`
305 XXX_unrecognized []byte `json:"-"`
306 XXX_sizecache int32 `json:"-"`
307}
308
309func (m *AdminState) Reset() { *m = AdminState{} }
310func (m *AdminState) String() string { return proto.CompactTextString(m) }
311func (*AdminState) ProtoMessage() {}
312func (*AdminState) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000313 return fileDescriptor_c2e3fd231961e826, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -0400314}
William Kurkianad745652019-03-20 08:45:51 -0400315
William Kurkian1b363f42019-03-12 15:28:12 -0400316func (m *AdminState) XXX_Unmarshal(b []byte) error {
317 return xxx_messageInfo_AdminState.Unmarshal(m, b)
318}
319func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
320 return xxx_messageInfo_AdminState.Marshal(b, m, deterministic)
321}
William Kurkianad745652019-03-20 08:45:51 -0400322func (m *AdminState) XXX_Merge(src proto.Message) {
323 xxx_messageInfo_AdminState.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400324}
325func (m *AdminState) XXX_Size() int {
326 return xxx_messageInfo_AdminState.Size(m)
327}
328func (m *AdminState) XXX_DiscardUnknown() {
329 xxx_messageInfo_AdminState.DiscardUnknown(m)
330}
331
332var xxx_messageInfo_AdminState proto.InternalMessageInfo
333
334type OperStatus struct {
335 XXX_NoUnkeyedLiteral struct{} `json:"-"`
336 XXX_unrecognized []byte `json:"-"`
337 XXX_sizecache int32 `json:"-"`
338}
339
340func (m *OperStatus) Reset() { *m = OperStatus{} }
341func (m *OperStatus) String() string { return proto.CompactTextString(m) }
342func (*OperStatus) ProtoMessage() {}
343func (*OperStatus) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000344 return fileDescriptor_c2e3fd231961e826, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -0400345}
William Kurkianad745652019-03-20 08:45:51 -0400346
William Kurkian1b363f42019-03-12 15:28:12 -0400347func (m *OperStatus) XXX_Unmarshal(b []byte) error {
348 return xxx_messageInfo_OperStatus.Unmarshal(m, b)
349}
350func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
351 return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic)
352}
William Kurkianad745652019-03-20 08:45:51 -0400353func (m *OperStatus) XXX_Merge(src proto.Message) {
354 xxx_messageInfo_OperStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400355}
356func (m *OperStatus) XXX_Size() int {
357 return xxx_messageInfo_OperStatus.Size(m)
358}
359func (m *OperStatus) XXX_DiscardUnknown() {
360 xxx_messageInfo_OperStatus.DiscardUnknown(m)
361}
362
363var xxx_messageInfo_OperStatus proto.InternalMessageInfo
364
365type ConnectStatus struct {
366 XXX_NoUnkeyedLiteral struct{} `json:"-"`
367 XXX_unrecognized []byte `json:"-"`
368 XXX_sizecache int32 `json:"-"`
369}
370
371func (m *ConnectStatus) Reset() { *m = ConnectStatus{} }
372func (m *ConnectStatus) String() string { return proto.CompactTextString(m) }
373func (*ConnectStatus) ProtoMessage() {}
374func (*ConnectStatus) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000375 return fileDescriptor_c2e3fd231961e826, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -0400376}
William Kurkianad745652019-03-20 08:45:51 -0400377
William Kurkian1b363f42019-03-12 15:28:12 -0400378func (m *ConnectStatus) XXX_Unmarshal(b []byte) error {
379 return xxx_messageInfo_ConnectStatus.Unmarshal(m, b)
380}
381func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
382 return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic)
383}
William Kurkianad745652019-03-20 08:45:51 -0400384func (m *ConnectStatus) XXX_Merge(src proto.Message) {
385 xxx_messageInfo_ConnectStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400386}
387func (m *ConnectStatus) XXX_Size() int {
388 return xxx_messageInfo_ConnectStatus.Size(m)
389}
390func (m *ConnectStatus) XXX_DiscardUnknown() {
391 xxx_messageInfo_ConnectStatus.DiscardUnknown(m)
392}
393
394var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo
395
396type OperationResp struct {
397 // Return code
William Kurkian12fc0af2019-04-18 14:27:45 -0400398 Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -0400399 // Additional Info
400 AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
401 XXX_NoUnkeyedLiteral struct{} `json:"-"`
402 XXX_unrecognized []byte `json:"-"`
403 XXX_sizecache int32 `json:"-"`
404}
405
406func (m *OperationResp) Reset() { *m = OperationResp{} }
407func (m *OperationResp) String() string { return proto.CompactTextString(m) }
408func (*OperationResp) ProtoMessage() {}
409func (*OperationResp) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000410 return fileDescriptor_c2e3fd231961e826, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -0400411}
William Kurkianad745652019-03-20 08:45:51 -0400412
William Kurkian1b363f42019-03-12 15:28:12 -0400413func (m *OperationResp) XXX_Unmarshal(b []byte) error {
414 return xxx_messageInfo_OperationResp.Unmarshal(m, b)
415}
416func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
417 return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic)
418}
William Kurkianad745652019-03-20 08:45:51 -0400419func (m *OperationResp) XXX_Merge(src proto.Message) {
420 xxx_messageInfo_OperationResp.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400421}
422func (m *OperationResp) XXX_Size() int {
423 return xxx_messageInfo_OperationResp.Size(m)
424}
425func (m *OperationResp) XXX_DiscardUnknown() {
426 xxx_messageInfo_OperationResp.DiscardUnknown(m)
427}
428
429var xxx_messageInfo_OperationResp proto.InternalMessageInfo
430
431func (m *OperationResp) GetCode() OperationResp_OperationReturnCode {
432 if m != nil {
433 return m.Code
434 }
435 return OperationResp_OPERATION_SUCCESS
436}
437
438func (m *OperationResp) GetAdditionalInfo() string {
439 if m != nil {
440 return m.AdditionalInfo
441 }
442 return ""
443}
444
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800445type ValueType struct {
446 XXX_NoUnkeyedLiteral struct{} `json:"-"`
447 XXX_unrecognized []byte `json:"-"`
448 XXX_sizecache int32 `json:"-"`
449}
450
451func (m *ValueType) Reset() { *m = ValueType{} }
452func (m *ValueType) String() string { return proto.CompactTextString(m) }
453func (*ValueType) ProtoMessage() {}
454func (*ValueType) Descriptor() ([]byte, []int) {
455 return fileDescriptor_c2e3fd231961e826, []int{6}
456}
457
458func (m *ValueType) XXX_Unmarshal(b []byte) error {
459 return xxx_messageInfo_ValueType.Unmarshal(m, b)
460}
461func (m *ValueType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
462 return xxx_messageInfo_ValueType.Marshal(b, m, deterministic)
463}
464func (m *ValueType) XXX_Merge(src proto.Message) {
465 xxx_messageInfo_ValueType.Merge(m, src)
466}
467func (m *ValueType) XXX_Size() int {
468 return xxx_messageInfo_ValueType.Size(m)
469}
470func (m *ValueType) XXX_DiscardUnknown() {
471 xxx_messageInfo_ValueType.DiscardUnknown(m)
472}
473
474var xxx_messageInfo_ValueType proto.InternalMessageInfo
475
476type ValueSpecifier struct {
477 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
478 Value ValueType_Type `protobuf:"varint,2,opt,name=value,proto3,enum=common.ValueType_Type" json:"value,omitempty"`
479 XXX_NoUnkeyedLiteral struct{} `json:"-"`
480 XXX_unrecognized []byte `json:"-"`
481 XXX_sizecache int32 `json:"-"`
482}
483
484func (m *ValueSpecifier) Reset() { *m = ValueSpecifier{} }
485func (m *ValueSpecifier) String() string { return proto.CompactTextString(m) }
486func (*ValueSpecifier) ProtoMessage() {}
487func (*ValueSpecifier) Descriptor() ([]byte, []int) {
488 return fileDescriptor_c2e3fd231961e826, []int{7}
489}
490
491func (m *ValueSpecifier) XXX_Unmarshal(b []byte) error {
492 return xxx_messageInfo_ValueSpecifier.Unmarshal(m, b)
493}
494func (m *ValueSpecifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
495 return xxx_messageInfo_ValueSpecifier.Marshal(b, m, deterministic)
496}
497func (m *ValueSpecifier) XXX_Merge(src proto.Message) {
498 xxx_messageInfo_ValueSpecifier.Merge(m, src)
499}
500func (m *ValueSpecifier) XXX_Size() int {
501 return xxx_messageInfo_ValueSpecifier.Size(m)
502}
503func (m *ValueSpecifier) XXX_DiscardUnknown() {
504 xxx_messageInfo_ValueSpecifier.DiscardUnknown(m)
505}
506
507var xxx_messageInfo_ValueSpecifier proto.InternalMessageInfo
508
509func (m *ValueSpecifier) GetId() string {
510 if m != nil {
511 return m.Id
512 }
513 return ""
514}
515
516func (m *ValueSpecifier) GetValue() ValueType_Type {
517 if m != nil {
518 return m.Value
519 }
520 return ValueType_EMPTY
521}
522
523type ReturnValues struct {
524 Set uint32 `protobuf:"varint,1,opt,name=Set,proto3" json:"Set,omitempty"`
525 Unsupported uint32 `protobuf:"varint,2,opt,name=Unsupported,proto3" json:"Unsupported,omitempty"`
526 Error uint32 `protobuf:"varint,3,opt,name=Error,proto3" json:"Error,omitempty"`
527 Distance uint32 `protobuf:"varint,4,opt,name=Distance,proto3" json:"Distance,omitempty"`
528 XXX_NoUnkeyedLiteral struct{} `json:"-"`
529 XXX_unrecognized []byte `json:"-"`
530 XXX_sizecache int32 `json:"-"`
531}
532
533func (m *ReturnValues) Reset() { *m = ReturnValues{} }
534func (m *ReturnValues) String() string { return proto.CompactTextString(m) }
535func (*ReturnValues) ProtoMessage() {}
536func (*ReturnValues) Descriptor() ([]byte, []int) {
537 return fileDescriptor_c2e3fd231961e826, []int{8}
538}
539
540func (m *ReturnValues) XXX_Unmarshal(b []byte) error {
541 return xxx_messageInfo_ReturnValues.Unmarshal(m, b)
542}
543func (m *ReturnValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
544 return xxx_messageInfo_ReturnValues.Marshal(b, m, deterministic)
545}
546func (m *ReturnValues) XXX_Merge(src proto.Message) {
547 xxx_messageInfo_ReturnValues.Merge(m, src)
548}
549func (m *ReturnValues) XXX_Size() int {
550 return xxx_messageInfo_ReturnValues.Size(m)
551}
552func (m *ReturnValues) XXX_DiscardUnknown() {
553 xxx_messageInfo_ReturnValues.DiscardUnknown(m)
554}
555
556var xxx_messageInfo_ReturnValues proto.InternalMessageInfo
557
558func (m *ReturnValues) GetSet() uint32 {
559 if m != nil {
560 return m.Set
561 }
562 return 0
563}
564
565func (m *ReturnValues) GetUnsupported() uint32 {
566 if m != nil {
567 return m.Unsupported
568 }
569 return 0
570}
571
572func (m *ReturnValues) GetError() uint32 {
573 if m != nil {
574 return m.Error
575 }
576 return 0
577}
578
579func (m *ReturnValues) GetDistance() uint32 {
580 if m != nil {
581 return m.Distance
582 }
583 return 0
584}
585
William Kurkian1b363f42019-03-12 15:28:12 -0400586func init() {
William Kurkian12fc0af2019-04-18 14:27:45 -0400587 proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300588 proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value)
589 proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value)
590 proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value)
William Kurkian12fc0af2019-04-18 14:27:45 -0400591 proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800592 proto.RegisterEnum("common.ValueType_Type", ValueType_Type_name, ValueType_Type_value)
William Kurkian12fc0af2019-04-18 14:27:45 -0400593 proto.RegisterType((*ID)(nil), "common.ID")
594 proto.RegisterType((*IDs)(nil), "common.IDs")
William Kurkian12fc0af2019-04-18 14:27:45 -0400595 proto.RegisterType((*AdminState)(nil), "common.AdminState")
596 proto.RegisterType((*OperStatus)(nil), "common.OperStatus")
597 proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus")
598 proto.RegisterType((*OperationResp)(nil), "common.OperationResp")
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800599 proto.RegisterType((*ValueType)(nil), "common.ValueType")
600 proto.RegisterType((*ValueSpecifier)(nil), "common.ValueSpecifier")
601 proto.RegisterType((*ReturnValues)(nil), "common.ReturnValues")
William Kurkian1b363f42019-03-12 15:28:12 -0400602}
603
William Kurkianad745652019-03-20 08:45:51 -0400604func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) }
William Kurkian1b363f42019-03-12 15:28:12 -0400605
William Kurkianad745652019-03-20 08:45:51 -0400606var fileDescriptor_c2e3fd231961e826 = []byte{
Himani Chawla503b7ce2020-10-07 13:20:03 +0530607 // 614 bytes of a gzipped FileDescriptorProto
608 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x4f, 0x4f, 0xdb, 0x4e,
609 0x10, 0x8d, 0x9d, 0x3f, 0x3f, 0x32, 0x21, 0xc6, 0xbf, 0x05, 0xaa, 0x14, 0x55, 0x6a, 0xe4, 0x0b,
610 0xb4, 0xa2, 0x89, 0x04, 0xbd, 0xf6, 0x60, 0xec, 0x2d, 0x5d, 0x01, 0xeb, 0x68, 0x6d, 0x07, 0xd1,
611 0x43, 0x23, 0x13, 0x2f, 0xc1, 0x12, 0xf1, 0x5a, 0xf6, 0x06, 0x89, 0x73, 0x3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,
623 0xab, 0xca, 0xb9, 0x7a, 0xb3, 0x09, 0x0b, 0xc0, 0x27, 0xa1, 0x17, 0x4c, 0x31, 0xd3, 0x0d, 0x58,
624 0x00, 0xae, 0x17, 0x91, 0xa9, 0xab, 0x73, 0x98, 0x4a, 0x1c, 0xe1, 0x50, 0x83, 0x26, 0x02, 0xe8,
625 0x68, 0x52, 0xd5, 0x05, 0xe8, 0x7c, 0x77, 0x89, 0x6a, 0xad, 0xed, 0x60, 0xe8, 0x7b, 0x22, 0xcf,
626 0xf9, 0x5c, 0xae, 0x6b, 0x7d, 0x7d, 0xb3, 0xd6, 0x16, 0xf4, 0x62, 0xca, 0xb0, 0xeb, 0xfd, 0x50,
627 0x9e, 0x6c, 0x03, 0xf5, 0xa1, 0xfb, 0x0c, 0x4d, 0xe7, 0x8f, 0x01, 0x7d, 0xd5, 0x70, 0x22, 0x33,
628 0x91, 0x33, 0x5e, 0x15, 0xe8, 0x1b, 0xb4, 0xe6, 0x22, 0xe5, 0x7a, 0x05, 0xd6, 0xd1, 0xa7, 0xc7,
629 0x41, 0xbf, 0x12, 0xbd, 0x44, 0x72, 0x55, 0xe6, 0x9e, 0x48, 0x39, 0xd3, 0xc7, 0xd0, 0x3e, 0x6c,
630 0x25, 0x69, 0x9a, 0x29, 0x2e, 0xb9, 0x9b, 0x65, 0xf9, 0x8d, 0x18, 0x98, 0x7a, 0x99, 0xd6, 0x73,
631 0x98, 0xe4, 0x37, 0xc2, 0xf9, 0x05, 0xdb, 0x6f, 0x64, 0x51, 0x23, 0x0f, 0x26, 0x98, 0xb9, 0x11,
632 0x09, 0xe8, 0x2c, 0x8c, 0x3d, 0x0f, 0x87, 0xa1, 0xdd, 0x78, 0x1d, 0x56, 0x43, 0x88, 0x99, 0x72,
633 0xf3, 0x1e, 0x76, 0x9f, 0xc3, 0x31, 0x0d, 0xe3, 0xc9, 0x24, 0x60, 0x6a, 0x2f, 0xa6, 0x73, 0x08,
634 0xdd, 0x69, 0x72, 0xb7, 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3c, 0xfe, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x7d, 0x48,
646 0xb2, 0xfa, 0xd4, 0x03, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -0400647}