blob: a37049776ef5b392c786d34ea2cda1e88bbaea8f [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
Maninder4ed97f52021-03-15 10:14:55 +0530102 // The device is reconciling
103 OperStatus_RECONCILING OperStatus_Types = 6
William Kurkian1b363f42019-03-12 15:28:12 -0400104)
105
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300106var OperStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400107 0: "UNKNOWN",
108 1: "DISCOVERED",
109 2: "ACTIVATING",
110 3: "TESTING",
111 4: "ACTIVE",
112 5: "FAILED",
Maninder4ed97f52021-03-15 10:14:55 +0530113 6: "RECONCILING",
William Kurkian1b363f42019-03-12 15:28:12 -0400114}
William Kurkianad745652019-03-20 08:45:51 -0400115
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300116var OperStatus_Types_value = map[string]int32{
Maninder4ed97f52021-03-15 10:14:55 +0530117 "UNKNOWN": 0,
118 "DISCOVERED": 1,
119 "ACTIVATING": 2,
120 "TESTING": 3,
121 "ACTIVE": 4,
122 "FAILED": 5,
123 "RECONCILING": 6,
William Kurkian1b363f42019-03-12 15:28:12 -0400124}
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
Maninder2f9d63e2021-02-08 11:42:19 +0530172 OperationResp_OPERATION_IN_PROGRESS OperationResp_OperationReturnCode = 3
William Kurkian1b363f42019-03-12 15:28:12 -0400173)
174
175var OperationResp_OperationReturnCode_name = map[int32]string{
176 0: "OPERATION_SUCCESS",
177 1: "OPERATION_FAILURE",
178 2: "OPERATION_UNSUPPORTED",
Maninder2f9d63e2021-02-08 11:42:19 +0530179 3: "OPERATION_IN_PROGRESS",
William Kurkian1b363f42019-03-12 15:28:12 -0400180}
William Kurkianad745652019-03-20 08:45:51 -0400181
William Kurkian1b363f42019-03-12 15:28:12 -0400182var OperationResp_OperationReturnCode_value = map[string]int32{
183 "OPERATION_SUCCESS": 0,
184 "OPERATION_FAILURE": 1,
185 "OPERATION_UNSUPPORTED": 2,
Maninder2f9d63e2021-02-08 11:42:19 +0530186 "OPERATION_IN_PROGRESS": 3,
William Kurkian1b363f42019-03-12 15:28:12 -0400187}
188
189func (x OperationResp_OperationReturnCode) String() string {
190 return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x))
191}
William Kurkianad745652019-03-20 08:45:51 -0400192
William Kurkian1b363f42019-03-12 15:28:12 -0400193func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000194 return fileDescriptor_c2e3fd231961e826, []int{5, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400195}
196
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800197type ValueType_Type int32
198
199const (
200 ValueType_EMPTY ValueType_Type = 0
201 ValueType_DISTANCE ValueType_Type = 1
202)
203
204var ValueType_Type_name = map[int32]string{
205 0: "EMPTY",
206 1: "DISTANCE",
207}
208
209var ValueType_Type_value = map[string]int32{
210 "EMPTY": 0,
211 "DISTANCE": 1,
212}
213
214func (x ValueType_Type) String() string {
215 return proto.EnumName(ValueType_Type_name, int32(x))
216}
217
218func (ValueType_Type) EnumDescriptor() ([]byte, []int) {
219 return fileDescriptor_c2e3fd231961e826, []int{6, 0}
220}
221
William Kurkian1b363f42019-03-12 15:28:12 -0400222// Convey a resource identifier
223type ID struct {
224 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
225 XXX_NoUnkeyedLiteral struct{} `json:"-"`
226 XXX_unrecognized []byte `json:"-"`
227 XXX_sizecache int32 `json:"-"`
228}
229
230func (m *ID) Reset() { *m = ID{} }
231func (m *ID) String() string { return proto.CompactTextString(m) }
232func (*ID) ProtoMessage() {}
233func (*ID) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400234 return fileDescriptor_c2e3fd231961e826, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -0400235}
William Kurkianad745652019-03-20 08:45:51 -0400236
William Kurkian1b363f42019-03-12 15:28:12 -0400237func (m *ID) XXX_Unmarshal(b []byte) error {
238 return xxx_messageInfo_ID.Unmarshal(m, b)
239}
240func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
241 return xxx_messageInfo_ID.Marshal(b, m, deterministic)
242}
William Kurkianad745652019-03-20 08:45:51 -0400243func (m *ID) XXX_Merge(src proto.Message) {
244 xxx_messageInfo_ID.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400245}
246func (m *ID) XXX_Size() int {
247 return xxx_messageInfo_ID.Size(m)
248}
249func (m *ID) XXX_DiscardUnknown() {
250 xxx_messageInfo_ID.DiscardUnknown(m)
251}
252
253var xxx_messageInfo_ID proto.InternalMessageInfo
254
255func (m *ID) GetId() string {
256 if m != nil {
257 return m.Id
258 }
259 return ""
260}
261
262// Represents a list of IDs
263type IDs struct {
264 Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
265 XXX_NoUnkeyedLiteral struct{} `json:"-"`
266 XXX_unrecognized []byte `json:"-"`
267 XXX_sizecache int32 `json:"-"`
268}
269
270func (m *IDs) Reset() { *m = IDs{} }
271func (m *IDs) String() string { return proto.CompactTextString(m) }
272func (*IDs) ProtoMessage() {}
273func (*IDs) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400274 return fileDescriptor_c2e3fd231961e826, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -0400275}
William Kurkianad745652019-03-20 08:45:51 -0400276
William Kurkian1b363f42019-03-12 15:28:12 -0400277func (m *IDs) XXX_Unmarshal(b []byte) error {
278 return xxx_messageInfo_IDs.Unmarshal(m, b)
279}
280func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
281 return xxx_messageInfo_IDs.Marshal(b, m, deterministic)
282}
William Kurkianad745652019-03-20 08:45:51 -0400283func (m *IDs) XXX_Merge(src proto.Message) {
284 xxx_messageInfo_IDs.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400285}
286func (m *IDs) XXX_Size() int {
287 return xxx_messageInfo_IDs.Size(m)
288}
289func (m *IDs) XXX_DiscardUnknown() {
290 xxx_messageInfo_IDs.DiscardUnknown(m)
291}
292
293var xxx_messageInfo_IDs proto.InternalMessageInfo
294
295func (m *IDs) GetItems() []*ID {
296 if m != nil {
297 return m.Items
298 }
299 return nil
300}
301
William Kurkian1b363f42019-03-12 15:28:12 -0400302type AdminState struct {
303 XXX_NoUnkeyedLiteral struct{} `json:"-"`
304 XXX_unrecognized []byte `json:"-"`
305 XXX_sizecache int32 `json:"-"`
306}
307
308func (m *AdminState) Reset() { *m = AdminState{} }
309func (m *AdminState) String() string { return proto.CompactTextString(m) }
310func (*AdminState) ProtoMessage() {}
311func (*AdminState) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000312 return fileDescriptor_c2e3fd231961e826, []int{2}
William Kurkian1b363f42019-03-12 15:28:12 -0400313}
William Kurkianad745652019-03-20 08:45:51 -0400314
William Kurkian1b363f42019-03-12 15:28:12 -0400315func (m *AdminState) XXX_Unmarshal(b []byte) error {
316 return xxx_messageInfo_AdminState.Unmarshal(m, b)
317}
318func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
319 return xxx_messageInfo_AdminState.Marshal(b, m, deterministic)
320}
William Kurkianad745652019-03-20 08:45:51 -0400321func (m *AdminState) XXX_Merge(src proto.Message) {
322 xxx_messageInfo_AdminState.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400323}
324func (m *AdminState) XXX_Size() int {
325 return xxx_messageInfo_AdminState.Size(m)
326}
327func (m *AdminState) XXX_DiscardUnknown() {
328 xxx_messageInfo_AdminState.DiscardUnknown(m)
329}
330
331var xxx_messageInfo_AdminState proto.InternalMessageInfo
332
333type OperStatus struct {
334 XXX_NoUnkeyedLiteral struct{} `json:"-"`
335 XXX_unrecognized []byte `json:"-"`
336 XXX_sizecache int32 `json:"-"`
337}
338
339func (m *OperStatus) Reset() { *m = OperStatus{} }
340func (m *OperStatus) String() string { return proto.CompactTextString(m) }
341func (*OperStatus) ProtoMessage() {}
342func (*OperStatus) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000343 return fileDescriptor_c2e3fd231961e826, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -0400344}
William Kurkianad745652019-03-20 08:45:51 -0400345
William Kurkian1b363f42019-03-12 15:28:12 -0400346func (m *OperStatus) XXX_Unmarshal(b []byte) error {
347 return xxx_messageInfo_OperStatus.Unmarshal(m, b)
348}
349func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
350 return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic)
351}
William Kurkianad745652019-03-20 08:45:51 -0400352func (m *OperStatus) XXX_Merge(src proto.Message) {
353 xxx_messageInfo_OperStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400354}
355func (m *OperStatus) XXX_Size() int {
356 return xxx_messageInfo_OperStatus.Size(m)
357}
358func (m *OperStatus) XXX_DiscardUnknown() {
359 xxx_messageInfo_OperStatus.DiscardUnknown(m)
360}
361
362var xxx_messageInfo_OperStatus proto.InternalMessageInfo
363
364type ConnectStatus struct {
365 XXX_NoUnkeyedLiteral struct{} `json:"-"`
366 XXX_unrecognized []byte `json:"-"`
367 XXX_sizecache int32 `json:"-"`
368}
369
370func (m *ConnectStatus) Reset() { *m = ConnectStatus{} }
371func (m *ConnectStatus) String() string { return proto.CompactTextString(m) }
372func (*ConnectStatus) ProtoMessage() {}
373func (*ConnectStatus) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000374 return fileDescriptor_c2e3fd231961e826, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -0400375}
William Kurkianad745652019-03-20 08:45:51 -0400376
William Kurkian1b363f42019-03-12 15:28:12 -0400377func (m *ConnectStatus) XXX_Unmarshal(b []byte) error {
378 return xxx_messageInfo_ConnectStatus.Unmarshal(m, b)
379}
380func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
381 return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic)
382}
William Kurkianad745652019-03-20 08:45:51 -0400383func (m *ConnectStatus) XXX_Merge(src proto.Message) {
384 xxx_messageInfo_ConnectStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400385}
386func (m *ConnectStatus) XXX_Size() int {
387 return xxx_messageInfo_ConnectStatus.Size(m)
388}
389func (m *ConnectStatus) XXX_DiscardUnknown() {
390 xxx_messageInfo_ConnectStatus.DiscardUnknown(m)
391}
392
393var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo
394
395type OperationResp struct {
396 // Return code
William Kurkian12fc0af2019-04-18 14:27:45 -0400397 Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -0400398 // Additional Info
399 AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
400 XXX_NoUnkeyedLiteral struct{} `json:"-"`
401 XXX_unrecognized []byte `json:"-"`
402 XXX_sizecache int32 `json:"-"`
403}
404
405func (m *OperationResp) Reset() { *m = OperationResp{} }
406func (m *OperationResp) String() string { return proto.CompactTextString(m) }
407func (*OperationResp) ProtoMessage() {}
408func (*OperationResp) Descriptor() ([]byte, []int) {
divyadesaid11cf312020-02-26 12:23:31 +0000409 return fileDescriptor_c2e3fd231961e826, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -0400410}
William Kurkianad745652019-03-20 08:45:51 -0400411
William Kurkian1b363f42019-03-12 15:28:12 -0400412func (m *OperationResp) XXX_Unmarshal(b []byte) error {
413 return xxx_messageInfo_OperationResp.Unmarshal(m, b)
414}
415func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
416 return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic)
417}
William Kurkianad745652019-03-20 08:45:51 -0400418func (m *OperationResp) XXX_Merge(src proto.Message) {
419 xxx_messageInfo_OperationResp.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400420}
421func (m *OperationResp) XXX_Size() int {
422 return xxx_messageInfo_OperationResp.Size(m)
423}
424func (m *OperationResp) XXX_DiscardUnknown() {
425 xxx_messageInfo_OperationResp.DiscardUnknown(m)
426}
427
428var xxx_messageInfo_OperationResp proto.InternalMessageInfo
429
430func (m *OperationResp) GetCode() OperationResp_OperationReturnCode {
431 if m != nil {
432 return m.Code
433 }
434 return OperationResp_OPERATION_SUCCESS
435}
436
437func (m *OperationResp) GetAdditionalInfo() string {
438 if m != nil {
439 return m.AdditionalInfo
440 }
441 return ""
442}
443
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800444type ValueType struct {
445 XXX_NoUnkeyedLiteral struct{} `json:"-"`
446 XXX_unrecognized []byte `json:"-"`
447 XXX_sizecache int32 `json:"-"`
448}
449
450func (m *ValueType) Reset() { *m = ValueType{} }
451func (m *ValueType) String() string { return proto.CompactTextString(m) }
452func (*ValueType) ProtoMessage() {}
453func (*ValueType) Descriptor() ([]byte, []int) {
454 return fileDescriptor_c2e3fd231961e826, []int{6}
455}
456
457func (m *ValueType) XXX_Unmarshal(b []byte) error {
458 return xxx_messageInfo_ValueType.Unmarshal(m, b)
459}
460func (m *ValueType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
461 return xxx_messageInfo_ValueType.Marshal(b, m, deterministic)
462}
463func (m *ValueType) XXX_Merge(src proto.Message) {
464 xxx_messageInfo_ValueType.Merge(m, src)
465}
466func (m *ValueType) XXX_Size() int {
467 return xxx_messageInfo_ValueType.Size(m)
468}
469func (m *ValueType) XXX_DiscardUnknown() {
470 xxx_messageInfo_ValueType.DiscardUnknown(m)
471}
472
473var xxx_messageInfo_ValueType proto.InternalMessageInfo
474
475type ValueSpecifier struct {
476 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
477 Value ValueType_Type `protobuf:"varint,2,opt,name=value,proto3,enum=common.ValueType_Type" json:"value,omitempty"`
478 XXX_NoUnkeyedLiteral struct{} `json:"-"`
479 XXX_unrecognized []byte `json:"-"`
480 XXX_sizecache int32 `json:"-"`
481}
482
483func (m *ValueSpecifier) Reset() { *m = ValueSpecifier{} }
484func (m *ValueSpecifier) String() string { return proto.CompactTextString(m) }
485func (*ValueSpecifier) ProtoMessage() {}
486func (*ValueSpecifier) Descriptor() ([]byte, []int) {
487 return fileDescriptor_c2e3fd231961e826, []int{7}
488}
489
490func (m *ValueSpecifier) XXX_Unmarshal(b []byte) error {
491 return xxx_messageInfo_ValueSpecifier.Unmarshal(m, b)
492}
493func (m *ValueSpecifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
494 return xxx_messageInfo_ValueSpecifier.Marshal(b, m, deterministic)
495}
496func (m *ValueSpecifier) XXX_Merge(src proto.Message) {
497 xxx_messageInfo_ValueSpecifier.Merge(m, src)
498}
499func (m *ValueSpecifier) XXX_Size() int {
500 return xxx_messageInfo_ValueSpecifier.Size(m)
501}
502func (m *ValueSpecifier) XXX_DiscardUnknown() {
503 xxx_messageInfo_ValueSpecifier.DiscardUnknown(m)
504}
505
506var xxx_messageInfo_ValueSpecifier proto.InternalMessageInfo
507
508func (m *ValueSpecifier) GetId() string {
509 if m != nil {
510 return m.Id
511 }
512 return ""
513}
514
515func (m *ValueSpecifier) GetValue() ValueType_Type {
516 if m != nil {
517 return m.Value
518 }
519 return ValueType_EMPTY
520}
521
522type ReturnValues struct {
523 Set uint32 `protobuf:"varint,1,opt,name=Set,proto3" json:"Set,omitempty"`
524 Unsupported uint32 `protobuf:"varint,2,opt,name=Unsupported,proto3" json:"Unsupported,omitempty"`
525 Error uint32 `protobuf:"varint,3,opt,name=Error,proto3" json:"Error,omitempty"`
526 Distance uint32 `protobuf:"varint,4,opt,name=Distance,proto3" json:"Distance,omitempty"`
527 XXX_NoUnkeyedLiteral struct{} `json:"-"`
528 XXX_unrecognized []byte `json:"-"`
529 XXX_sizecache int32 `json:"-"`
530}
531
532func (m *ReturnValues) Reset() { *m = ReturnValues{} }
533func (m *ReturnValues) String() string { return proto.CompactTextString(m) }
534func (*ReturnValues) ProtoMessage() {}
535func (*ReturnValues) Descriptor() ([]byte, []int) {
536 return fileDescriptor_c2e3fd231961e826, []int{8}
537}
538
539func (m *ReturnValues) XXX_Unmarshal(b []byte) error {
540 return xxx_messageInfo_ReturnValues.Unmarshal(m, b)
541}
542func (m *ReturnValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
543 return xxx_messageInfo_ReturnValues.Marshal(b, m, deterministic)
544}
545func (m *ReturnValues) XXX_Merge(src proto.Message) {
546 xxx_messageInfo_ReturnValues.Merge(m, src)
547}
548func (m *ReturnValues) XXX_Size() int {
549 return xxx_messageInfo_ReturnValues.Size(m)
550}
551func (m *ReturnValues) XXX_DiscardUnknown() {
552 xxx_messageInfo_ReturnValues.DiscardUnknown(m)
553}
554
555var xxx_messageInfo_ReturnValues proto.InternalMessageInfo
556
557func (m *ReturnValues) GetSet() uint32 {
558 if m != nil {
559 return m.Set
560 }
561 return 0
562}
563
564func (m *ReturnValues) GetUnsupported() uint32 {
565 if m != nil {
566 return m.Unsupported
567 }
568 return 0
569}
570
571func (m *ReturnValues) GetError() uint32 {
572 if m != nil {
573 return m.Error
574 }
575 return 0
576}
577
578func (m *ReturnValues) GetDistance() uint32 {
579 if m != nil {
580 return m.Distance
581 }
582 return 0
583}
584
William Kurkian1b363f42019-03-12 15:28:12 -0400585func init() {
William Kurkian12fc0af2019-04-18 14:27:45 -0400586 proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300587 proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value)
588 proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value)
589 proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value)
William Kurkian12fc0af2019-04-18 14:27:45 -0400590 proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value)
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800591 proto.RegisterEnum("common.ValueType_Type", ValueType_Type_name, ValueType_Type_value)
William Kurkian12fc0af2019-04-18 14:27:45 -0400592 proto.RegisterType((*ID)(nil), "common.ID")
593 proto.RegisterType((*IDs)(nil), "common.IDs")
William Kurkian12fc0af2019-04-18 14:27:45 -0400594 proto.RegisterType((*AdminState)(nil), "common.AdminState")
595 proto.RegisterType((*OperStatus)(nil), "common.OperStatus")
596 proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus")
597 proto.RegisterType((*OperationResp)(nil), "common.OperationResp")
Dinesh Belwalkared6da5e2020-02-25 11:23:57 -0800598 proto.RegisterType((*ValueType)(nil), "common.ValueType")
599 proto.RegisterType((*ValueSpecifier)(nil), "common.ValueSpecifier")
600 proto.RegisterType((*ReturnValues)(nil), "common.ReturnValues")
William Kurkian1b363f42019-03-12 15:28:12 -0400601}
602
William Kurkianad745652019-03-20 08:45:51 -0400603func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) }
William Kurkian1b363f42019-03-12 15:28:12 -0400604
William Kurkianad745652019-03-20 08:45:51 -0400605var fileDescriptor_c2e3fd231961e826 = []byte{
Maninder4ed97f52021-03-15 10:14:55 +0530606 // 619 bytes of a gzipped FileDescriptorProto
607 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5f, 0x4f, 0xdb, 0x3e,
608 0x14, 0x6d, 0x9b, 0xb6, 0x3f, 0x7a, 0x4b, 0x43, 0x7e, 0x06, 0xa6, 0x0e, 0x4d, 0x5a, 0x95, 0x17,
609 0xd8, 0xc4, 0x5a, 0x89, 0xf1, 0xba, 0x87, 0x90, 0x78, 0x9d, 0x05, 0x38, 0x91, 0x93, 0x14, 0x8d,
610 0x97, 0x2a, 0x34, 0x06, 0x32, 0xd1, 0x38, 0x4a, 0x5c, 0x34, 0xbe, 0xf6, 0x3e, 0xc1, 0x64, 0xa7,
611 0xfc, 0x9b, 0x78, 0x49, 0x7c, 0xee, 0x39, 0xb9, 0x47, 0xe7, 0x3a, 0x17, 0xf6, 0xee, 0xc5, 0x9d,
612 0xbc, 0x4d, 0xe6, 0x45, 0x29, 0xa4, 0xa8, 0x26, 0x0b, 0xb1, 0x5c, 0x8a, 0x7c, 0xac, 0x11, 0xea,
613 0xd6, 0xc8, 0xde, 0x81, 0x16, 0xf1, 0x90, 0x09, 0xad, 0x2c, 0x1d, 0x36, 0x47, 0xcd, 0x83, 0x1e,
614 0x6b, 0x65, 0xa9, 0xbd, 0x0f, 0x06, 0xf1, 0x2a, 0x34, 0x82, 0x4e, 0x26, 0xf9, 0xb2, 0x1a, 0x36,
615 0x47, 0xc6, 0x41, 0xff, 0x08, 0xc6, 0xeb, 0x16, 0xc4, 0x63, 0x35, 0x61, 0xdf, 0x02, 0x38, 0xe9,
616 0x32, 0xcb, 0x43, 0x99, 0x48, 0x6e, 0x5f, 0x42, 0x27, 0x7a, 0x28, 0x78, 0x85, 0xfa, 0xf0, 0x5f,
617 0x4c, 0x4f, 0xa9, 0x7f, 0x41, 0xad, 0x06, 0x42, 0x60, 0x06, 0x0c, 0x07, 0xcc, 0x9f, 0x91, 0x90,
618 0xf8, 0x14, 0x7b, 0x56, 0x53, 0x09, 0x30, 0x75, 0x4e, 0xce, 0xb0, 0x67, 0xb5, 0xd0, 0x26, 0x6c,
619 0x78, 0x24, 0xac, 0x91, 0x81, 0x76, 0xe1, 0x7f, 0xcf, 0xbf, 0xa0, 0x67, 0xbe, 0xe3, 0x11, 0x3a,
620 0x9d, 0x93, 0x73, 0x67, 0x8a, 0xad, 0xb6, 0xfd, 0x1b, 0xc0, 0x2f, 0x78, 0xa9, 0x8c, 0x56, 0x95,
621 0xfd, 0xeb, 0x4d, 0x27, 0x13, 0xc0, 0x23, 0xa1, 0xeb, 0xcf, 0x30, 0xd3, 0x2e, 0x26, 0x80, 0xe3,
622 0x46, 0x64, 0xe6, 0x44, 0x84, 0x4e, 0xad, 0x96, 0x12, 0x47, 0x38, 0xd4, 0xc0, 0x40, 0x00, 0x5d,
623 0x4d, 0x62, 0xab, 0xad, 0xce, 0xdf, 0x1d, 0xa2, 0xfc, 0x3b, 0x68, 0x0b, 0xfa, 0x0c, 0xbb, 0x3e,
624 0x75, 0xc9, 0x99, 0x12, 0x76, 0x6d, 0x0c, 0x03, 0x57, 0xe4, 0x39, 0x5f, 0xc8, 0xb5, 0xf9, 0xf1,
625 0x9b, 0xe6, 0x5b, 0xd0, 0x8f, 0x29, 0xc3, 0x8e, 0xfb, 0x43, 0x25, 0xb1, 0x9a, 0x68, 0x00, 0xbd,
626 0x67, 0xd8, 0xb2, 0xff, 0x34, 0x61, 0xa0, 0x12, 0x24, 0x32, 0x13, 0x39, 0xe3, 0x55, 0x81, 0xbe,
627 0x41, 0x7b, 0x21, 0x52, 0xae, 0xe7, 0x6e, 0x1e, 0x7d, 0x7a, 0x9c, 0xee, 0x2b, 0xd1, 0x4b, 0x24,
628 0x57, 0x65, 0xee, 0x8a, 0x94, 0x33, 0xfd, 0x19, 0xda, 0x87, 0xad, 0x24, 0x4d, 0x33, 0xc5, 0x25,
629 0x77, 0xf3, 0x2c, 0xbf, 0x16, 0xc3, 0x96, 0xbe, 0x41, 0xf3, 0xb9, 0x4c, 0xf2, 0x6b, 0x61, 0x3f,
630 0xc0, 0xf6, 0x1b, 0x5d, 0xd4, 0xa0, 0xfd, 0x00, 0x33, 0x27, 0x22, 0x3e, 0x9d, 0x87, 0xb1, 0xeb,
631 0xe2, 0x30, 0xb4, 0x1a, 0xaf, 0xcb, 0x6a, 0x2a, 0x31, 0x53, 0x69, 0xde, 0xc3, 0xee, 0x73, 0x39,
632 0xa6, 0x61, 0x1c, 0x04, 0x3e, 0x8b, 0xf4, 0xfd, 0xbd, 0xa2, 0x08, 0x9d, 0x07, 0xcc, 0x9f, 0x32,
633 0xd5, 0xcc, 0xb0, 0x0f, 0xa1, 0x37, 0x4b, 0xee, 0x56, 0x5c, 0xcd, 0xcb, 0xfe, 0x08, 0x6d, 0xf5,
634 0x46, 0x3d, 0xe8, 0xe0, 0xf3, 0x20, 0xfa, 0x69, 0x35, 0xd6, 0x57, 0x1f, 0x39, 0xd4, 0xc5, 0x56,
635 0xd3, 0xa6, 0x60, 0x6a, 0x75, 0x58, 0xf0, 0x45, 0x76, 0x9d, 0xf1, 0xf2, 0xdf, 0x1f, 0x13, 0x1d,
636 0x42, 0xe7, 0x5e, 0x29, 0x74, 0x52, 0xf3, 0xe8, 0xdd, 0xe3, 0xcc, 0x9e, 0x4c, 0xc6, 0xea, 0xc1,
637 0x6a, 0x91, 0x2d, 0x61, 0xb3, 0xce, 0xab, 0xe9, 0x0a, 0x59, 0x60, 0x84, 0x5c, 0xea, 0x76, 0x03,
638 0xa6, 0x8e, 0x68, 0x04, 0xfd, 0x38, 0xaf, 0x56, 0x45, 0x21, 0x4a, 0xc9, 0x53, 0xdd, 0x75, 0xc0,
639 0x5e, 0x96, 0xd0, 0x0e, 0x74, 0x70, 0x59, 0x8a, 0x72, 0x68, 0x68, 0xae, 0x06, 0x68, 0x0f, 0x36,
640 0xbc, 0xac, 0x92, 0x49, 0xbe, 0xe0, 0xc3, 0xb6, 0x26, 0x9e, 0xf0, 0xe7, 0x0f, 0xb0, 0x19, 0xf1,
641 0x4a, 0x9e, 0x8b, 0x94, 0x9f, 0xf2, 0x87, 0x4a, 0x65, 0x4c, 0x8a, 0x6c, 0x2e, 0x79, 0x25, 0xad,
642 0xc6, 0x09, 0x86, 0x6d, 0x51, 0xde, 0x8c, 0x45, 0xc1, 0xf3, 0x85, 0x28, 0xd3, 0x71, 0xbd, 0xa3,
643 0x97, 0xe3, 0x9b, 0x4c, 0xde, 0xae, 0xae, 0x54, 0x9e, 0xc9, 0x23, 0x37, 0xa9, 0xb9, 0x2f, 0xeb,
644 0xfd, 0xbd, 0x3f, 0x9e, 0xdc, 0x88, 0xf5, 0x16, 0x5f, 0x75, 0x75, 0xf1, 0xeb, 0xdf, 0x00, 0x00,
645 0x00, 0xff, 0xff, 0x4d, 0x6f, 0x2b, 0x79, 0xe4, 0x03, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -0400646}