blob: 47987d19bbd96aaa0f2ad89bc60d47d66d5781a2 [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) {
khenaidoo5cb0d402021-12-08 14:09:16 -050083 return fileDescriptor_c2e3fd231961e826, []int{3, 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
Manindera4b9e552021-06-16 17:33:04 +0530104 // The device is in reconciling failed
105 OperStatus_RECONCILING_FAILED OperStatus_Types = 7
Abhilash Laxmeshwar540a0b92022-06-13 11:24:06 +0530106 // The device has rebooted
107 OperStatus_REBOOTED OperStatus_Types = 8
William Kurkian1b363f42019-03-12 15:28:12 -0400108)
109
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300110var OperStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400111 0: "UNKNOWN",
112 1: "DISCOVERED",
113 2: "ACTIVATING",
114 3: "TESTING",
115 4: "ACTIVE",
116 5: "FAILED",
Maninder4ed97f52021-03-15 10:14:55 +0530117 6: "RECONCILING",
Manindera4b9e552021-06-16 17:33:04 +0530118 7: "RECONCILING_FAILED",
Abhilash Laxmeshwar540a0b92022-06-13 11:24:06 +0530119 8: "REBOOTED",
William Kurkian1b363f42019-03-12 15:28:12 -0400120}
William Kurkianad745652019-03-20 08:45:51 -0400121
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300122var OperStatus_Types_value = map[string]int32{
Manindera4b9e552021-06-16 17:33:04 +0530123 "UNKNOWN": 0,
124 "DISCOVERED": 1,
125 "ACTIVATING": 2,
126 "TESTING": 3,
127 "ACTIVE": 4,
128 "FAILED": 5,
129 "RECONCILING": 6,
130 "RECONCILING_FAILED": 7,
Abhilash Laxmeshwar540a0b92022-06-13 11:24:06 +0530131 "REBOOTED": 8,
William Kurkian1b363f42019-03-12 15:28:12 -0400132}
133
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300134func (x OperStatus_Types) String() string {
135 return proto.EnumName(OperStatus_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -0400136}
William Kurkianad745652019-03-20 08:45:51 -0400137
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300138func (OperStatus_Types) EnumDescriptor() ([]byte, []int) {
khenaidoo5cb0d402021-12-08 14:09:16 -0500139 return fileDescriptor_c2e3fd231961e826, []int{4, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400140}
141
142// Connectivity Status
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300143type ConnectStatus_Types int32
William Kurkian1b363f42019-03-12 15:28:12 -0400144
145const (
146 // The device connectivity status is unknown
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300147 ConnectStatus_UNKNOWN ConnectStatus_Types = 0
William Kurkian1b363f42019-03-12 15:28:12 -0400148 // The device cannot be reached by Voltha
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300149 ConnectStatus_UNREACHABLE ConnectStatus_Types = 1
William Kurkian1b363f42019-03-12 15:28:12 -0400150 // There is live communication between device and Voltha
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300151 ConnectStatus_REACHABLE ConnectStatus_Types = 2
William Kurkian1b363f42019-03-12 15:28:12 -0400152)
153
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300154var ConnectStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400155 0: "UNKNOWN",
156 1: "UNREACHABLE",
157 2: "REACHABLE",
158}
William Kurkianad745652019-03-20 08:45:51 -0400159
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300160var ConnectStatus_Types_value = map[string]int32{
William Kurkian1b363f42019-03-12 15:28:12 -0400161 "UNKNOWN": 0,
162 "UNREACHABLE": 1,
163 "REACHABLE": 2,
164}
165
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300166func (x ConnectStatus_Types) String() string {
167 return proto.EnumName(ConnectStatus_Types_name, int32(x))
William Kurkian1b363f42019-03-12 15:28:12 -0400168}
William Kurkianad745652019-03-20 08:45:51 -0400169
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300170func (ConnectStatus_Types) EnumDescriptor() ([]byte, []int) {
khenaidoo5cb0d402021-12-08 14:09:16 -0500171 return fileDescriptor_c2e3fd231961e826, []int{5, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400172}
173
174type OperationResp_OperationReturnCode int32
175
176const (
177 OperationResp_OPERATION_SUCCESS OperationResp_OperationReturnCode = 0
178 OperationResp_OPERATION_FAILURE OperationResp_OperationReturnCode = 1
179 OperationResp_OPERATION_UNSUPPORTED OperationResp_OperationReturnCode = 2
Maninder2f9d63e2021-02-08 11:42:19 +0530180 OperationResp_OPERATION_IN_PROGRESS OperationResp_OperationReturnCode = 3
William Kurkian1b363f42019-03-12 15:28:12 -0400181)
182
183var OperationResp_OperationReturnCode_name = map[int32]string{
184 0: "OPERATION_SUCCESS",
185 1: "OPERATION_FAILURE",
186 2: "OPERATION_UNSUPPORTED",
Maninder2f9d63e2021-02-08 11:42:19 +0530187 3: "OPERATION_IN_PROGRESS",
William Kurkian1b363f42019-03-12 15:28:12 -0400188}
William Kurkianad745652019-03-20 08:45:51 -0400189
William Kurkian1b363f42019-03-12 15:28:12 -0400190var OperationResp_OperationReturnCode_value = map[string]int32{
191 "OPERATION_SUCCESS": 0,
192 "OPERATION_FAILURE": 1,
193 "OPERATION_UNSUPPORTED": 2,
Maninder2f9d63e2021-02-08 11:42:19 +0530194 "OPERATION_IN_PROGRESS": 3,
William Kurkian1b363f42019-03-12 15:28:12 -0400195}
196
197func (x OperationResp_OperationReturnCode) String() string {
198 return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x))
199}
William Kurkianad745652019-03-20 08:45:51 -0400200
William Kurkian1b363f42019-03-12 15:28:12 -0400201func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) {
khenaidoo5cb0d402021-12-08 14:09:16 -0500202 return fileDescriptor_c2e3fd231961e826, []int{6, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400203}
204
205// Convey a resource identifier
206type ID struct {
207 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
208 XXX_NoUnkeyedLiteral struct{} `json:"-"`
209 XXX_unrecognized []byte `json:"-"`
210 XXX_sizecache int32 `json:"-"`
211}
212
213func (m *ID) Reset() { *m = ID{} }
214func (m *ID) String() string { return proto.CompactTextString(m) }
215func (*ID) ProtoMessage() {}
216func (*ID) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400217 return fileDescriptor_c2e3fd231961e826, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -0400218}
William Kurkianad745652019-03-20 08:45:51 -0400219
William Kurkian1b363f42019-03-12 15:28:12 -0400220func (m *ID) XXX_Unmarshal(b []byte) error {
221 return xxx_messageInfo_ID.Unmarshal(m, b)
222}
223func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
224 return xxx_messageInfo_ID.Marshal(b, m, deterministic)
225}
William Kurkianad745652019-03-20 08:45:51 -0400226func (m *ID) XXX_Merge(src proto.Message) {
227 xxx_messageInfo_ID.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400228}
229func (m *ID) XXX_Size() int {
230 return xxx_messageInfo_ID.Size(m)
231}
232func (m *ID) XXX_DiscardUnknown() {
233 xxx_messageInfo_ID.DiscardUnknown(m)
234}
235
236var xxx_messageInfo_ID proto.InternalMessageInfo
237
238func (m *ID) GetId() string {
239 if m != nil {
240 return m.Id
241 }
242 return ""
243}
244
245// Represents a list of IDs
246type IDs struct {
247 Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
248 XXX_NoUnkeyedLiteral struct{} `json:"-"`
249 XXX_unrecognized []byte `json:"-"`
250 XXX_sizecache int32 `json:"-"`
251}
252
253func (m *IDs) Reset() { *m = IDs{} }
254func (m *IDs) String() string { return proto.CompactTextString(m) }
255func (*IDs) ProtoMessage() {}
256func (*IDs) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400257 return fileDescriptor_c2e3fd231961e826, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -0400258}
William Kurkianad745652019-03-20 08:45:51 -0400259
William Kurkian1b363f42019-03-12 15:28:12 -0400260func (m *IDs) XXX_Unmarshal(b []byte) error {
261 return xxx_messageInfo_IDs.Unmarshal(m, b)
262}
263func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
264 return xxx_messageInfo_IDs.Marshal(b, m, deterministic)
265}
William Kurkianad745652019-03-20 08:45:51 -0400266func (m *IDs) XXX_Merge(src proto.Message) {
267 xxx_messageInfo_IDs.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400268}
269func (m *IDs) XXX_Size() int {
270 return xxx_messageInfo_IDs.Size(m)
271}
272func (m *IDs) XXX_DiscardUnknown() {
273 xxx_messageInfo_IDs.DiscardUnknown(m)
274}
275
276var xxx_messageInfo_IDs proto.InternalMessageInfo
277
278func (m *IDs) GetItems() []*ID {
279 if m != nil {
280 return m.Items
281 }
282 return nil
283}
284
khenaidoo5cb0d402021-12-08 14:09:16 -0500285type Connection struct {
286 // endpoint is the endpoint sending the request
287 Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
288 // contextInfo represents additional contextual information
289 ContextInfo string `protobuf:"bytes,2,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"`
290 // keep_alive_interval is used to indicate to the remote endpoint how often it
291 // will get a keep alive notification
292 KeepAliveInterval int64 `protobuf:"varint,3,opt,name=keep_alive_interval,json=keepAliveInterval,proto3" json:"keep_alive_interval,omitempty"`
293 XXX_NoUnkeyedLiteral struct{} `json:"-"`
294 XXX_unrecognized []byte `json:"-"`
295 XXX_sizecache int32 `json:"-"`
296}
297
298func (m *Connection) Reset() { *m = Connection{} }
299func (m *Connection) String() string { return proto.CompactTextString(m) }
300func (*Connection) ProtoMessage() {}
301func (*Connection) Descriptor() ([]byte, []int) {
302 return fileDescriptor_c2e3fd231961e826, []int{2}
303}
304
305func (m *Connection) XXX_Unmarshal(b []byte) error {
306 return xxx_messageInfo_Connection.Unmarshal(m, b)
307}
308func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
309 return xxx_messageInfo_Connection.Marshal(b, m, deterministic)
310}
311func (m *Connection) XXX_Merge(src proto.Message) {
312 xxx_messageInfo_Connection.Merge(m, src)
313}
314func (m *Connection) XXX_Size() int {
315 return xxx_messageInfo_Connection.Size(m)
316}
317func (m *Connection) XXX_DiscardUnknown() {
318 xxx_messageInfo_Connection.DiscardUnknown(m)
319}
320
321var xxx_messageInfo_Connection proto.InternalMessageInfo
322
323func (m *Connection) GetEndpoint() string {
324 if m != nil {
325 return m.Endpoint
326 }
327 return ""
328}
329
330func (m *Connection) GetContextInfo() string {
331 if m != nil {
332 return m.ContextInfo
333 }
334 return ""
335}
336
337func (m *Connection) GetKeepAliveInterval() int64 {
338 if m != nil {
339 return m.KeepAliveInterval
340 }
341 return 0
342}
343
William Kurkian1b363f42019-03-12 15:28:12 -0400344type AdminState struct {
345 XXX_NoUnkeyedLiteral struct{} `json:"-"`
346 XXX_unrecognized []byte `json:"-"`
347 XXX_sizecache int32 `json:"-"`
348}
349
350func (m *AdminState) Reset() { *m = AdminState{} }
351func (m *AdminState) String() string { return proto.CompactTextString(m) }
352func (*AdminState) ProtoMessage() {}
353func (*AdminState) Descriptor() ([]byte, []int) {
khenaidoo5cb0d402021-12-08 14:09:16 -0500354 return fileDescriptor_c2e3fd231961e826, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -0400355}
William Kurkianad745652019-03-20 08:45:51 -0400356
William Kurkian1b363f42019-03-12 15:28:12 -0400357func (m *AdminState) XXX_Unmarshal(b []byte) error {
358 return xxx_messageInfo_AdminState.Unmarshal(m, b)
359}
360func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
361 return xxx_messageInfo_AdminState.Marshal(b, m, deterministic)
362}
William Kurkianad745652019-03-20 08:45:51 -0400363func (m *AdminState) XXX_Merge(src proto.Message) {
364 xxx_messageInfo_AdminState.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400365}
366func (m *AdminState) XXX_Size() int {
367 return xxx_messageInfo_AdminState.Size(m)
368}
369func (m *AdminState) XXX_DiscardUnknown() {
370 xxx_messageInfo_AdminState.DiscardUnknown(m)
371}
372
373var xxx_messageInfo_AdminState proto.InternalMessageInfo
374
375type OperStatus struct {
376 XXX_NoUnkeyedLiteral struct{} `json:"-"`
377 XXX_unrecognized []byte `json:"-"`
378 XXX_sizecache int32 `json:"-"`
379}
380
381func (m *OperStatus) Reset() { *m = OperStatus{} }
382func (m *OperStatus) String() string { return proto.CompactTextString(m) }
383func (*OperStatus) ProtoMessage() {}
384func (*OperStatus) Descriptor() ([]byte, []int) {
khenaidoo5cb0d402021-12-08 14:09:16 -0500385 return fileDescriptor_c2e3fd231961e826, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -0400386}
William Kurkianad745652019-03-20 08:45:51 -0400387
William Kurkian1b363f42019-03-12 15:28:12 -0400388func (m *OperStatus) XXX_Unmarshal(b []byte) error {
389 return xxx_messageInfo_OperStatus.Unmarshal(m, b)
390}
391func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
392 return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic)
393}
William Kurkianad745652019-03-20 08:45:51 -0400394func (m *OperStatus) XXX_Merge(src proto.Message) {
395 xxx_messageInfo_OperStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400396}
397func (m *OperStatus) XXX_Size() int {
398 return xxx_messageInfo_OperStatus.Size(m)
399}
400func (m *OperStatus) XXX_DiscardUnknown() {
401 xxx_messageInfo_OperStatus.DiscardUnknown(m)
402}
403
404var xxx_messageInfo_OperStatus proto.InternalMessageInfo
405
406type ConnectStatus struct {
407 XXX_NoUnkeyedLiteral struct{} `json:"-"`
408 XXX_unrecognized []byte `json:"-"`
409 XXX_sizecache int32 `json:"-"`
410}
411
412func (m *ConnectStatus) Reset() { *m = ConnectStatus{} }
413func (m *ConnectStatus) String() string { return proto.CompactTextString(m) }
414func (*ConnectStatus) ProtoMessage() {}
415func (*ConnectStatus) Descriptor() ([]byte, []int) {
khenaidoo5cb0d402021-12-08 14:09:16 -0500416 return fileDescriptor_c2e3fd231961e826, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -0400417}
William Kurkianad745652019-03-20 08:45:51 -0400418
William Kurkian1b363f42019-03-12 15:28:12 -0400419func (m *ConnectStatus) XXX_Unmarshal(b []byte) error {
420 return xxx_messageInfo_ConnectStatus.Unmarshal(m, b)
421}
422func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
423 return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic)
424}
William Kurkianad745652019-03-20 08:45:51 -0400425func (m *ConnectStatus) XXX_Merge(src proto.Message) {
426 xxx_messageInfo_ConnectStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400427}
428func (m *ConnectStatus) XXX_Size() int {
429 return xxx_messageInfo_ConnectStatus.Size(m)
430}
431func (m *ConnectStatus) XXX_DiscardUnknown() {
432 xxx_messageInfo_ConnectStatus.DiscardUnknown(m)
433}
434
435var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo
436
437type OperationResp struct {
438 // Return code
William Kurkian12fc0af2019-04-18 14:27:45 -0400439 Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -0400440 // Additional Info
441 AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
442 XXX_NoUnkeyedLiteral struct{} `json:"-"`
443 XXX_unrecognized []byte `json:"-"`
444 XXX_sizecache int32 `json:"-"`
445}
446
447func (m *OperationResp) Reset() { *m = OperationResp{} }
448func (m *OperationResp) String() string { return proto.CompactTextString(m) }
449func (*OperationResp) ProtoMessage() {}
450func (*OperationResp) Descriptor() ([]byte, []int) {
khenaidoo5cb0d402021-12-08 14:09:16 -0500451 return fileDescriptor_c2e3fd231961e826, []int{6}
William Kurkian1b363f42019-03-12 15:28:12 -0400452}
William Kurkianad745652019-03-20 08:45:51 -0400453
William Kurkian1b363f42019-03-12 15:28:12 -0400454func (m *OperationResp) XXX_Unmarshal(b []byte) error {
455 return xxx_messageInfo_OperationResp.Unmarshal(m, b)
456}
457func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
458 return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic)
459}
William Kurkianad745652019-03-20 08:45:51 -0400460func (m *OperationResp) XXX_Merge(src proto.Message) {
461 xxx_messageInfo_OperationResp.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400462}
463func (m *OperationResp) XXX_Size() int {
464 return xxx_messageInfo_OperationResp.Size(m)
465}
466func (m *OperationResp) XXX_DiscardUnknown() {
467 xxx_messageInfo_OperationResp.DiscardUnknown(m)
468}
469
470var xxx_messageInfo_OperationResp proto.InternalMessageInfo
471
472func (m *OperationResp) GetCode() OperationResp_OperationReturnCode {
473 if m != nil {
474 return m.Code
475 }
476 return OperationResp_OPERATION_SUCCESS
477}
478
479func (m *OperationResp) GetAdditionalInfo() string {
480 if m != nil {
481 return m.AdditionalInfo
482 }
483 return ""
484}
485
486func init() {
William Kurkian12fc0af2019-04-18 14:27:45 -0400487 proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300488 proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value)
489 proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value)
490 proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value)
William Kurkian12fc0af2019-04-18 14:27:45 -0400491 proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value)
492 proto.RegisterType((*ID)(nil), "common.ID")
493 proto.RegisterType((*IDs)(nil), "common.IDs")
khenaidoo5cb0d402021-12-08 14:09:16 -0500494 proto.RegisterType((*Connection)(nil), "common.Connection")
William Kurkian12fc0af2019-04-18 14:27:45 -0400495 proto.RegisterType((*AdminState)(nil), "common.AdminState")
496 proto.RegisterType((*OperStatus)(nil), "common.OperStatus")
497 proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus")
498 proto.RegisterType((*OperationResp)(nil), "common.OperationResp")
William Kurkian1b363f42019-03-12 15:28:12 -0400499}
500
William Kurkianad745652019-03-20 08:45:51 -0400501func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) }
William Kurkian1b363f42019-03-12 15:28:12 -0400502
William Kurkianad745652019-03-20 08:45:51 -0400503var fileDescriptor_c2e3fd231961e826 = []byte{
Abhilash Laxmeshwar540a0b92022-06-13 11:24:06 +0530504 // 579 bytes of a gzipped FileDescriptorProto
505 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0xdd, 0x4e, 0xdb, 0x30,
506 0x14, 0x26, 0x09, 0x14, 0x38, 0x85, 0x12, 0xcc, 0x98, 0x3a, 0xb4, 0x8b, 0x2a, 0x37, 0xb0, 0x49,
507 0x6b, 0x25, 0xb6, 0x5d, 0xee, 0x22, 0x24, 0x5e, 0x67, 0x01, 0x76, 0xe5, 0xa4, 0x20, 0x71, 0x13,
508 0x85, 0xc6, 0x83, 0x68, 0xad, 0x1d, 0x25, 0xa6, 0x1a, 0x7b, 0x8a, 0xbd, 0xc1, 0xde, 0x71, 0x4f,
509 0x30, 0x39, 0x0d, 0x2b, 0x48, 0xbd, 0xcb, 0xf7, 0x7d, 0x27, 0xe7, 0xef, 0xf3, 0x81, 0xa3, 0xb9,
510 0x9a, 0xea, 0xfb, 0x34, 0x29, 0x4a, 0xa5, 0x55, 0x35, 0x98, 0xa8, 0xd9, 0x4c, 0xc9, 0x7e, 0x8d,
511 0x50, 0x6b, 0x81, 0xbc, 0x57, 0x60, 0x93, 0x10, 0x75, 0xc0, 0xce, 0xb3, 0xae, 0xd5, 0xb3, 0x4e,
512 0xb6, 0xb9, 0x9d, 0x67, 0xde, 0x31, 0x38, 0x24, 0xac, 0x50, 0x0f, 0x36, 0x72, 0x2d, 0x66, 0x55,
513 0xd7, 0xea, 0x39, 0x27, 0xed, 0x53, 0xe8, 0x37, 0x29, 0x48, 0xc8, 0x17, 0x82, 0xf7, 0x0b, 0x20,
514 0x50, 0x52, 0x8a, 0x89, 0xce, 0x95, 0x44, 0x47, 0xb0, 0x25, 0x64, 0x56, 0xa8, 0x5c, 0xea, 0x26,
515 0xd9, 0x7f, 0x8c, 0x7a, 0xd0, 0x9e, 0x28, 0xa9, 0xc5, 0x4f, 0x4d, 0xe4, 0x77, 0xd5, 0xb5, 0x6b,
516 0xf9, 0x39, 0x85, 0xfa, 0x70, 0xf0, 0x43, 0x88, 0x22, 0x49, 0xa7, 0xf9, 0x5c, 0x24, 0xb9, 0xd4,
517 0xa2, 0x9c, 0xa7, 0xd3, 0xae, 0xd3, 0xb3, 0x4e, 0x1c, 0xbe, 0x6f, 0x24, 0xdf, 0x28, 0xa4, 0x11,
518 0xbc, 0x7b, 0x00, 0x3f, 0x9b, 0xe5, 0x32, 0xd2, 0xa9, 0x16, 0xde, 0x0d, 0x6c, 0xc4, 0x8f, 0x85,
519 0xa8, 0x50, 0x1b, 0x36, 0xc7, 0xf4, 0x9c, 0xb2, 0x6b, 0xea, 0xae, 0x21, 0x04, 0x9d, 0x11, 0xc7,
520 0x23, 0xce, 0xae, 0x48, 0x44, 0x18, 0xc5, 0xa1, 0x6b, 0x99, 0x00, 0x4c, 0xfd, 0xb3, 0x0b, 0x1c,
521 0xba, 0x36, 0xda, 0x81, 0xad, 0x90, 0x44, 0x0b, 0xe4, 0xa0, 0x43, 0xd8, 0x0f, 0xd9, 0x35, 0xbd,
522 0x60, 0x7e, 0x48, 0xe8, 0x30, 0x21, 0x97, 0xfe, 0x10, 0xbb, 0xeb, 0xde, 0x1f, 0x0b, 0x80, 0x15,
523 0xa2, 0x34, 0x95, 0x1e, 0x2a, 0xef, 0xb7, 0xb5, 0xb2, 0x56, 0x07, 0x20, 0x24, 0x51, 0xc0, 0xae,
524 0x30, 0xaf, 0xeb, 0x74, 0x00, 0xfc, 0x20, 0x26, 0x57, 0x7e, 0x4c, 0xe8, 0xd0, 0xb5, 0x4d, 0x70,
525 0x8c, 0xa3, 0x1a, 0x38, 0x08, 0xa0, 0x55, 0x8b, 0xd8, 0x5d, 0x37, 0xdf, 0x5f, 0x7d, 0x62, 0x3a,
526 0xd8, 0x40, 0x7b, 0xd0, 0xe6, 0x38, 0x60, 0x34, 0x20, 0x17, 0x26, 0xb0, 0x85, 0x5e, 0x03, 0x7a,
527 0x46, 0x24, 0x4d, 0xe0, 0xa6, 0x69, 0x9c, 0xe3, 0x33, 0xc6, 0x62, 0x1c, 0xba, 0x5b, 0x1e, 0x86,
528 0xdd, 0xc6, 0x87, 0xa6, 0xc7, 0x4f, 0x2b, 0x5b, 0xdc, 0x83, 0xf6, 0x98, 0x72, 0xec, 0x07, 0xdf,
529 0xcc, 0xc4, 0xae, 0x85, 0x76, 0x61, 0x7b, 0x09, 0x6d, 0xef, 0xaf, 0x05, 0xbb, 0x66, 0xd0, 0xd4,
530 0xd8, 0xc9, 0x45, 0x55, 0xa0, 0x2f, 0xb0, 0x3e, 0x51, 0x99, 0xa8, 0xed, 0xec, 0x9c, 0xbe, 0x7b,
531 0x7a, 0x01, 0x2f, 0x82, 0x9e, 0x23, 0xfd, 0x50, 0xca, 0x40, 0x65, 0x82, 0xd7, 0xbf, 0xa1, 0x63,
532 0xd8, 0x4b, 0xb3, 0x2c, 0x37, 0x5a, 0x3a, 0x4d, 0xf2, 0xa5, 0xf3, 0x9d, 0x25, 0x6d, 0xcc, 0xf7,
533 0x1e, 0xe1, 0x60, 0x45, 0x16, 0x63, 0x08, 0x1b, 0x61, 0xee, 0xc7, 0x84, 0xd1, 0x24, 0x1a, 0x07,
534 0x01, 0x8e, 0x22, 0x77, 0xed, 0x25, 0x6d, 0x56, 0x32, 0xe6, 0x66, 0x9a, 0x37, 0x70, 0xb8, 0xa4,
535 0xc7, 0x34, 0x1a, 0x8f, 0x46, 0x8c, 0xc7, 0xb5, 0xcf, 0x2f, 0x24, 0x42, 0x93, 0x11, 0x67, 0x43,
536 0x6e, 0x92, 0x39, 0xef, 0xdf, 0xc2, 0x4e, 0x2c, 0x2a, 0x7d, 0xa9, 0x32, 0x71, 0x2e, 0x1e, 0x2b,
537 0xb3, 0xd9, 0xb4, 0xc8, 0x13, 0x2d, 0x2a, 0xed, 0xae, 0x9d, 0x61, 0x38, 0x50, 0xe5, 0x5d, 0x5f,
538 0x15, 0x42, 0x4e, 0x54, 0x99, 0xf5, 0x17, 0x37, 0x75, 0xd3, 0xbf, 0xcb, 0xf5, 0xfd, 0xc3, 0xad,
539 0xd9, 0xc7, 0xe0, 0x49, 0x1b, 0x2c, 0xb4, 0x0f, 0xcd, 0xbd, 0xcd, 0x3f, 0x0f, 0xee, 0x54, 0x73,
540 0x75, 0xb7, 0xad, 0x9a, 0xfc, 0xf8, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x0d, 0xae, 0x93, 0x94,
541 0x03, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -0400542}