blob: f7472d5f5b5ec05e516780ae36e4a4420f693cd5 [file] [log] [blame]
Don Newton98fd8812019-09-23 15:15:02 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/common.proto
3
4package common
5
6import (
7 fmt "fmt"
8 proto "github.com/golang/protobuf/proto"
9 math "math"
10)
11
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.
21const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
22
23type TestModeKeys int32
24
25const (
26 TestModeKeys_api_test TestModeKeys = 0
27)
28
29var TestModeKeys_name = map[int32]string{
30 0: "api_test",
31}
32
33var 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}
40
41func (TestModeKeys) EnumDescriptor() ([]byte, []int) {
42 return fileDescriptor_c2e3fd231961e826, []int{0}
43}
44
Don Newton98fd8812019-09-23 15:15:02 -040045// Administrative State
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080046type AdminState_Types int32
Don Newton98fd8812019-09-23 15:15:02 -040047
48const (
49 // The administrative state of the device is unknown
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080050 AdminState_UNKNOWN AdminState_Types = 0
Don Newton98fd8812019-09-23 15:15:02 -040051 // The device is pre-provisioned into Voltha, but not contacted by it
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080052 AdminState_PREPROVISIONED AdminState_Types = 1
Don Newton98fd8812019-09-23 15:15:02 -040053 // The device is enabled for activation and operation
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080054 AdminState_ENABLED AdminState_Types = 2
Don Newton98fd8812019-09-23 15:15:02 -040055 // The device is disabled and shall not perform its intended forwarding
56 // functions other than being available for re-activation.
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080057 AdminState_DISABLED AdminState_Types = 3
Don Newton98fd8812019-09-23 15:15:02 -040058 // The device is in the state of image download
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080059 AdminState_DOWNLOADING_IMAGE AdminState_Types = 4
Don Newton98fd8812019-09-23 15:15:02 -040060)
61
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080062var AdminState_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -040063 0: "UNKNOWN",
64 1: "PREPROVISIONED",
65 2: "ENABLED",
66 3: "DISABLED",
67 4: "DOWNLOADING_IMAGE",
Don Newton98fd8812019-09-23 15:15:02 -040068}
69
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080070var AdminState_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -040071 "UNKNOWN": 0,
72 "PREPROVISIONED": 1,
73 "ENABLED": 2,
74 "DISABLED": 3,
75 "DOWNLOADING_IMAGE": 4,
Don Newton98fd8812019-09-23 15:15:02 -040076}
77
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080078func (x AdminState_Types) String() string {
79 return proto.EnumName(AdminState_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -040080}
81
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080082func (AdminState_Types) EnumDescriptor() ([]byte, []int) {
Mahir Gunyel82f98dd2023-07-24 10:29:49 +030083 return fileDescriptor_c2e3fd231961e826, []int{4, 0}
Don Newton98fd8812019-09-23 15:15:02 -040084}
85
86// Operational Status
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080087type OperStatus_Types int32
Don Newton98fd8812019-09-23 15:15:02 -040088
89const (
90 // The status of the device is unknown at this point
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080091 OperStatus_UNKNOWN OperStatus_Types = 0
Don Newton98fd8812019-09-23 15:15:02 -040092 // The device has been discovered, but not yet activated
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080093 OperStatus_DISCOVERED OperStatus_Types = 1
Don Newton98fd8812019-09-23 15:15:02 -040094 // The device is being activated (booted, rebooted, upgraded, etc.)
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080095 OperStatus_ACTIVATING OperStatus_Types = 2
Don Newton98fd8812019-09-23 15:15:02 -040096 // Service impacting tests are being conducted
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080097 OperStatus_TESTING OperStatus_Types = 3
Don Newton98fd8812019-09-23 15:15:02 -040098 // The device is up and active
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -080099 OperStatus_ACTIVE OperStatus_Types = 4
Don Newton98fd8812019-09-23 15:15:02 -0400100 // The device has failed and cannot fulfill its intended role
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800101 OperStatus_FAILED OperStatus_Types = 5
David K. Bainbridge595b6702021-04-09 16:10:58 +0000102 // The device is reconciling
103 OperStatus_RECONCILING OperStatus_Types = 6
Andrea Campanella18448bc2021-07-08 18:47:22 +0200104 // The device is in reconciling failed
105 OperStatus_RECONCILING_FAILED OperStatus_Types = 7
Mahir Gunyel82f98dd2023-07-24 10:29:49 +0300106 // The device has rebooted
107 OperStatus_REBOOTED OperStatus_Types = 8
Don Newton98fd8812019-09-23 15:15:02 -0400108)
109
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800110var OperStatus_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -0400111 0: "UNKNOWN",
112 1: "DISCOVERED",
113 2: "ACTIVATING",
114 3: "TESTING",
115 4: "ACTIVE",
116 5: "FAILED",
David K. Bainbridge595b6702021-04-09 16:10:58 +0000117 6: "RECONCILING",
Andrea Campanella18448bc2021-07-08 18:47:22 +0200118 7: "RECONCILING_FAILED",
Mahir Gunyel82f98dd2023-07-24 10:29:49 +0300119 8: "REBOOTED",
Don Newton98fd8812019-09-23 15:15:02 -0400120}
121
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800122var OperStatus_Types_value = map[string]int32{
Andrea Campanella18448bc2021-07-08 18:47:22 +0200123 "UNKNOWN": 0,
124 "DISCOVERED": 1,
125 "ACTIVATING": 2,
126 "TESTING": 3,
127 "ACTIVE": 4,
128 "FAILED": 5,
129 "RECONCILING": 6,
130 "RECONCILING_FAILED": 7,
Mahir Gunyel82f98dd2023-07-24 10:29:49 +0300131 "REBOOTED": 8,
Don Newton98fd8812019-09-23 15:15:02 -0400132}
133
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800134func (x OperStatus_Types) String() string {
135 return proto.EnumName(OperStatus_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -0400136}
137
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800138func (OperStatus_Types) EnumDescriptor() ([]byte, []int) {
Mahir Gunyel82f98dd2023-07-24 10:29:49 +0300139 return fileDescriptor_c2e3fd231961e826, []int{5, 0}
Don Newton98fd8812019-09-23 15:15:02 -0400140}
141
142// Connectivity Status
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800143type ConnectStatus_Types int32
Don Newton98fd8812019-09-23 15:15:02 -0400144
145const (
146 // The device connectivity status is unknown
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800147 ConnectStatus_UNKNOWN ConnectStatus_Types = 0
Don Newton98fd8812019-09-23 15:15:02 -0400148 // The device cannot be reached by Voltha
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800149 ConnectStatus_UNREACHABLE ConnectStatus_Types = 1
Don Newton98fd8812019-09-23 15:15:02 -0400150 // There is live communication between device and Voltha
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800151 ConnectStatus_REACHABLE ConnectStatus_Types = 2
Don Newton98fd8812019-09-23 15:15:02 -0400152)
153
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800154var ConnectStatus_Types_name = map[int32]string{
Don Newton98fd8812019-09-23 15:15:02 -0400155 0: "UNKNOWN",
156 1: "UNREACHABLE",
157 2: "REACHABLE",
158}
159
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800160var ConnectStatus_Types_value = map[string]int32{
Don Newton98fd8812019-09-23 15:15:02 -0400161 "UNKNOWN": 0,
162 "UNREACHABLE": 1,
163 "REACHABLE": 2,
164}
165
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800166func (x ConnectStatus_Types) String() string {
167 return proto.EnumName(ConnectStatus_Types_name, int32(x))
Don Newton98fd8812019-09-23 15:15:02 -0400168}
169
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800170func (ConnectStatus_Types) EnumDescriptor() ([]byte, []int) {
Mahir Gunyel82f98dd2023-07-24 10:29:49 +0300171 return fileDescriptor_c2e3fd231961e826, []int{6, 0}
Don Newton98fd8812019-09-23 15:15:02 -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
David K. Bainbridge595b6702021-04-09 16:10:58 +0000180 OperationResp_OPERATION_IN_PROGRESS OperationResp_OperationReturnCode = 3
Don Newton98fd8812019-09-23 15:15:02 -0400181)
182
183var OperationResp_OperationReturnCode_name = map[int32]string{
184 0: "OPERATION_SUCCESS",
185 1: "OPERATION_FAILURE",
186 2: "OPERATION_UNSUPPORTED",
David K. Bainbridge595b6702021-04-09 16:10:58 +0000187 3: "OPERATION_IN_PROGRESS",
Don Newton98fd8812019-09-23 15:15:02 -0400188}
189
190var OperationResp_OperationReturnCode_value = map[string]int32{
191 "OPERATION_SUCCESS": 0,
192 "OPERATION_FAILURE": 1,
193 "OPERATION_UNSUPPORTED": 2,
David K. Bainbridge595b6702021-04-09 16:10:58 +0000194 "OPERATION_IN_PROGRESS": 3,
Don Newton98fd8812019-09-23 15:15:02 -0400195}
196
197func (x OperationResp_OperationReturnCode) String() string {
198 return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x))
199}
200
201func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) {
Mahir Gunyel82f98dd2023-07-24 10:29:49 +0300202 return fileDescriptor_c2e3fd231961e826, []int{7, 0}
203}
204
205// Full path for KV store
206type Key struct {
207 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
208 XXX_NoUnkeyedLiteral struct{} `json:"-"`
209 XXX_unrecognized []byte `json:"-"`
210 XXX_sizecache int32 `json:"-"`
211}
212
213func (m *Key) Reset() { *m = Key{} }
214func (m *Key) String() string { return proto.CompactTextString(m) }
215func (*Key) ProtoMessage() {}
216func (*Key) Descriptor() ([]byte, []int) {
217 return fileDescriptor_c2e3fd231961e826, []int{0}
218}
219
220func (m *Key) XXX_Unmarshal(b []byte) error {
221 return xxx_messageInfo_Key.Unmarshal(m, b)
222}
223func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
224 return xxx_messageInfo_Key.Marshal(b, m, deterministic)
225}
226func (m *Key) XXX_Merge(src proto.Message) {
227 xxx_messageInfo_Key.Merge(m, src)
228}
229func (m *Key) XXX_Size() int {
230 return xxx_messageInfo_Key.Size(m)
231}
232func (m *Key) XXX_DiscardUnknown() {
233 xxx_messageInfo_Key.DiscardUnknown(m)
234}
235
236var xxx_messageInfo_Key proto.InternalMessageInfo
237
238func (m *Key) GetKey() string {
239 if m != nil {
240 return m.Key
241 }
242 return ""
Don Newton98fd8812019-09-23 15:15:02 -0400243}
244
245// Convey a resource identifier
246type ID struct {
247 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
248 XXX_NoUnkeyedLiteral struct{} `json:"-"`
249 XXX_unrecognized []byte `json:"-"`
250 XXX_sizecache int32 `json:"-"`
251}
252
253func (m *ID) Reset() { *m = ID{} }
254func (m *ID) String() string { return proto.CompactTextString(m) }
255func (*ID) ProtoMessage() {}
256func (*ID) Descriptor() ([]byte, []int) {
Mahir Gunyel82f98dd2023-07-24 10:29:49 +0300257 return fileDescriptor_c2e3fd231961e826, []int{1}
Don Newton98fd8812019-09-23 15:15:02 -0400258}
259
260func (m *ID) XXX_Unmarshal(b []byte) error {
261 return xxx_messageInfo_ID.Unmarshal(m, b)
262}
263func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
264 return xxx_messageInfo_ID.Marshal(b, m, deterministic)
265}
266func (m *ID) XXX_Merge(src proto.Message) {
267 xxx_messageInfo_ID.Merge(m, src)
268}
269func (m *ID) XXX_Size() int {
270 return xxx_messageInfo_ID.Size(m)
271}
272func (m *ID) XXX_DiscardUnknown() {
273 xxx_messageInfo_ID.DiscardUnknown(m)
274}
275
276var xxx_messageInfo_ID proto.InternalMessageInfo
277
278func (m *ID) GetId() string {
279 if m != nil {
280 return m.Id
281 }
282 return ""
283}
284
285// Represents a list of IDs
286type IDs struct {
287 Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
288 XXX_NoUnkeyedLiteral struct{} `json:"-"`
289 XXX_unrecognized []byte `json:"-"`
290 XXX_sizecache int32 `json:"-"`
291}
292
293func (m *IDs) Reset() { *m = IDs{} }
294func (m *IDs) String() string { return proto.CompactTextString(m) }
295func (*IDs) ProtoMessage() {}
296func (*IDs) Descriptor() ([]byte, []int) {
Mahir Gunyel82f98dd2023-07-24 10:29:49 +0300297 return fileDescriptor_c2e3fd231961e826, []int{2}
Don Newton98fd8812019-09-23 15:15:02 -0400298}
299
300func (m *IDs) XXX_Unmarshal(b []byte) error {
301 return xxx_messageInfo_IDs.Unmarshal(m, b)
302}
303func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
304 return xxx_messageInfo_IDs.Marshal(b, m, deterministic)
305}
306func (m *IDs) XXX_Merge(src proto.Message) {
307 xxx_messageInfo_IDs.Merge(m, src)
308}
309func (m *IDs) XXX_Size() int {
310 return xxx_messageInfo_IDs.Size(m)
311}
312func (m *IDs) XXX_DiscardUnknown() {
313 xxx_messageInfo_IDs.DiscardUnknown(m)
314}
315
316var xxx_messageInfo_IDs proto.InternalMessageInfo
317
318func (m *IDs) GetItems() []*ID {
319 if m != nil {
320 return m.Items
321 }
322 return nil
323}
324
khenaidooae87a402021-12-09 09:05:26 -0500325type Connection struct {
326 // endpoint is the endpoint sending the request
327 Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
328 // contextInfo represents additional contextual information
329 ContextInfo string `protobuf:"bytes,2,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"`
330 // keep_alive_interval is used to indicate to the remote endpoint how often it
331 // will get a keep alive notification
332 KeepAliveInterval int64 `protobuf:"varint,3,opt,name=keep_alive_interval,json=keepAliveInterval,proto3" json:"keep_alive_interval,omitempty"`
333 XXX_NoUnkeyedLiteral struct{} `json:"-"`
334 XXX_unrecognized []byte `json:"-"`
335 XXX_sizecache int32 `json:"-"`
336}
337
338func (m *Connection) Reset() { *m = Connection{} }
339func (m *Connection) String() string { return proto.CompactTextString(m) }
340func (*Connection) ProtoMessage() {}
341func (*Connection) Descriptor() ([]byte, []int) {
Mahir Gunyel82f98dd2023-07-24 10:29:49 +0300342 return fileDescriptor_c2e3fd231961e826, []int{3}
khenaidooae87a402021-12-09 09:05:26 -0500343}
344
345func (m *Connection) XXX_Unmarshal(b []byte) error {
346 return xxx_messageInfo_Connection.Unmarshal(m, b)
347}
348func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
349 return xxx_messageInfo_Connection.Marshal(b, m, deterministic)
350}
351func (m *Connection) XXX_Merge(src proto.Message) {
352 xxx_messageInfo_Connection.Merge(m, src)
353}
354func (m *Connection) XXX_Size() int {
355 return xxx_messageInfo_Connection.Size(m)
356}
357func (m *Connection) XXX_DiscardUnknown() {
358 xxx_messageInfo_Connection.DiscardUnknown(m)
359}
360
361var xxx_messageInfo_Connection proto.InternalMessageInfo
362
363func (m *Connection) GetEndpoint() string {
364 if m != nil {
365 return m.Endpoint
366 }
367 return ""
368}
369
370func (m *Connection) GetContextInfo() string {
371 if m != nil {
372 return m.ContextInfo
373 }
374 return ""
375}
376
377func (m *Connection) GetKeepAliveInterval() int64 {
378 if m != nil {
379 return m.KeepAliveInterval
380 }
381 return 0
382}
383
Don Newton98fd8812019-09-23 15:15:02 -0400384type AdminState struct {
385 XXX_NoUnkeyedLiteral struct{} `json:"-"`
386 XXX_unrecognized []byte `json:"-"`
387 XXX_sizecache int32 `json:"-"`
388}
389
390func (m *AdminState) Reset() { *m = AdminState{} }
391func (m *AdminState) String() string { return proto.CompactTextString(m) }
392func (*AdminState) ProtoMessage() {}
393func (*AdminState) Descriptor() ([]byte, []int) {
Mahir Gunyel82f98dd2023-07-24 10:29:49 +0300394 return fileDescriptor_c2e3fd231961e826, []int{4}
Don Newton98fd8812019-09-23 15:15:02 -0400395}
396
397func (m *AdminState) XXX_Unmarshal(b []byte) error {
398 return xxx_messageInfo_AdminState.Unmarshal(m, b)
399}
400func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
401 return xxx_messageInfo_AdminState.Marshal(b, m, deterministic)
402}
403func (m *AdminState) XXX_Merge(src proto.Message) {
404 xxx_messageInfo_AdminState.Merge(m, src)
405}
406func (m *AdminState) XXX_Size() int {
407 return xxx_messageInfo_AdminState.Size(m)
408}
409func (m *AdminState) XXX_DiscardUnknown() {
410 xxx_messageInfo_AdminState.DiscardUnknown(m)
411}
412
413var xxx_messageInfo_AdminState proto.InternalMessageInfo
414
415type OperStatus struct {
416 XXX_NoUnkeyedLiteral struct{} `json:"-"`
417 XXX_unrecognized []byte `json:"-"`
418 XXX_sizecache int32 `json:"-"`
419}
420
421func (m *OperStatus) Reset() { *m = OperStatus{} }
422func (m *OperStatus) String() string { return proto.CompactTextString(m) }
423func (*OperStatus) ProtoMessage() {}
424func (*OperStatus) Descriptor() ([]byte, []int) {
Mahir Gunyel82f98dd2023-07-24 10:29:49 +0300425 return fileDescriptor_c2e3fd231961e826, []int{5}
Don Newton98fd8812019-09-23 15:15:02 -0400426}
427
428func (m *OperStatus) XXX_Unmarshal(b []byte) error {
429 return xxx_messageInfo_OperStatus.Unmarshal(m, b)
430}
431func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
432 return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic)
433}
434func (m *OperStatus) XXX_Merge(src proto.Message) {
435 xxx_messageInfo_OperStatus.Merge(m, src)
436}
437func (m *OperStatus) XXX_Size() int {
438 return xxx_messageInfo_OperStatus.Size(m)
439}
440func (m *OperStatus) XXX_DiscardUnknown() {
441 xxx_messageInfo_OperStatus.DiscardUnknown(m)
442}
443
444var xxx_messageInfo_OperStatus proto.InternalMessageInfo
445
446type ConnectStatus struct {
447 XXX_NoUnkeyedLiteral struct{} `json:"-"`
448 XXX_unrecognized []byte `json:"-"`
449 XXX_sizecache int32 `json:"-"`
450}
451
452func (m *ConnectStatus) Reset() { *m = ConnectStatus{} }
453func (m *ConnectStatus) String() string { return proto.CompactTextString(m) }
454func (*ConnectStatus) ProtoMessage() {}
455func (*ConnectStatus) Descriptor() ([]byte, []int) {
Mahir Gunyel82f98dd2023-07-24 10:29:49 +0300456 return fileDescriptor_c2e3fd231961e826, []int{6}
Don Newton98fd8812019-09-23 15:15:02 -0400457}
458
459func (m *ConnectStatus) XXX_Unmarshal(b []byte) error {
460 return xxx_messageInfo_ConnectStatus.Unmarshal(m, b)
461}
462func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
463 return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic)
464}
465func (m *ConnectStatus) XXX_Merge(src proto.Message) {
466 xxx_messageInfo_ConnectStatus.Merge(m, src)
467}
468func (m *ConnectStatus) XXX_Size() int {
469 return xxx_messageInfo_ConnectStatus.Size(m)
470}
471func (m *ConnectStatus) XXX_DiscardUnknown() {
472 xxx_messageInfo_ConnectStatus.DiscardUnknown(m)
473}
474
475var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo
476
477type OperationResp struct {
478 // Return code
479 Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"`
480 // Additional Info
481 AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
482 XXX_NoUnkeyedLiteral struct{} `json:"-"`
483 XXX_unrecognized []byte `json:"-"`
484 XXX_sizecache int32 `json:"-"`
485}
486
487func (m *OperationResp) Reset() { *m = OperationResp{} }
488func (m *OperationResp) String() string { return proto.CompactTextString(m) }
489func (*OperationResp) ProtoMessage() {}
490func (*OperationResp) Descriptor() ([]byte, []int) {
Mahir Gunyel82f98dd2023-07-24 10:29:49 +0300491 return fileDescriptor_c2e3fd231961e826, []int{7}
Don Newton98fd8812019-09-23 15:15:02 -0400492}
493
494func (m *OperationResp) XXX_Unmarshal(b []byte) error {
495 return xxx_messageInfo_OperationResp.Unmarshal(m, b)
496}
497func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
498 return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic)
499}
500func (m *OperationResp) XXX_Merge(src proto.Message) {
501 xxx_messageInfo_OperationResp.Merge(m, src)
502}
503func (m *OperationResp) XXX_Size() int {
504 return xxx_messageInfo_OperationResp.Size(m)
505}
506func (m *OperationResp) XXX_DiscardUnknown() {
507 xxx_messageInfo_OperationResp.DiscardUnknown(m)
508}
509
510var xxx_messageInfo_OperationResp proto.InternalMessageInfo
511
512func (m *OperationResp) GetCode() OperationResp_OperationReturnCode {
513 if m != nil {
514 return m.Code
515 }
516 return OperationResp_OPERATION_SUCCESS
517}
518
519func (m *OperationResp) GetAdditionalInfo() string {
520 if m != nil {
521 return m.AdditionalInfo
522 }
523 return ""
524}
525
526func init() {
527 proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value)
David K. Bainbridgeaea73cd2020-01-27 10:44:50 -0800528 proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value)
529 proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value)
530 proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value)
Don Newton98fd8812019-09-23 15:15:02 -0400531 proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value)
Mahir Gunyel82f98dd2023-07-24 10:29:49 +0300532 proto.RegisterType((*Key)(nil), "common.Key")
Don Newton98fd8812019-09-23 15:15:02 -0400533 proto.RegisterType((*ID)(nil), "common.ID")
534 proto.RegisterType((*IDs)(nil), "common.IDs")
khenaidooae87a402021-12-09 09:05:26 -0500535 proto.RegisterType((*Connection)(nil), "common.Connection")
Don Newton98fd8812019-09-23 15:15:02 -0400536 proto.RegisterType((*AdminState)(nil), "common.AdminState")
537 proto.RegisterType((*OperStatus)(nil), "common.OperStatus")
538 proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus")
539 proto.RegisterType((*OperationResp)(nil), "common.OperationResp")
540}
541
542func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) }
543
544var fileDescriptor_c2e3fd231961e826 = []byte{
Mahir Gunyel82f98dd2023-07-24 10:29:49 +0300545 // 593 bytes of a gzipped FileDescriptorProto
546 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0xdd, 0x4e, 0xdb, 0x30,
547 0x14, 0x26, 0x09, 0x14, 0x38, 0x85, 0x12, 0xcc, 0xd8, 0x3a, 0xb4, 0x8b, 0x2a, 0x37, 0xb0, 0x49,
548 0x6b, 0x25, 0xb6, 0x5d, 0xee, 0x22, 0x24, 0x5e, 0x67, 0x01, 0x76, 0xe5, 0xa4, 0x20, 0x71, 0x13,
549 0x85, 0xc6, 0x83, 0x88, 0xd6, 0x8e, 0x1a, 0x53, 0xad, 0x7b, 0x8a, 0xbd, 0xc1, 0xde, 0x71, 0x4f,
550 0x30, 0x39, 0x0d, 0x2b, 0x48, 0xbd, 0xf3, 0xf7, 0x7d, 0x27, 0xe7, 0xef, 0xcb, 0x81, 0xa3, 0x99,
551 0x1a, 0xeb, 0xfb, 0x34, 0x29, 0xa6, 0x4a, 0xab, 0xb2, 0x37, 0x52, 0x93, 0x89, 0x92, 0xdd, 0x0a,
552 0xa1, 0xc6, 0x02, 0x79, 0x6f, 0xc0, 0x39, 0x17, 0x73, 0xe4, 0x82, 0xf3, 0x20, 0xe6, 0x6d, 0xab,
553 0x63, 0x9d, 0x6c, 0x73, 0xf3, 0xf4, 0x5e, 0x81, 0x4d, 0x42, 0xd4, 0x02, 0x3b, 0xcf, 0x6a, 0xda,
554 0xce, 0x33, 0xef, 0x18, 0x1c, 0x12, 0x96, 0xa8, 0x03, 0x1b, 0xb9, 0x16, 0x93, 0xb2, 0x6d, 0x75,
555 0x9c, 0x93, 0xe6, 0x29, 0x74, 0xeb, 0xdc, 0x24, 0xe4, 0x0b, 0xc1, 0xfb, 0x05, 0x10, 0x28, 0x29,
556 0xc5, 0x48, 0xe7, 0x4a, 0xa2, 0x23, 0xd8, 0x12, 0x32, 0x2b, 0x54, 0x2e, 0x75, 0x9d, 0xec, 0x3f,
557 0x46, 0x1d, 0x68, 0x8e, 0x94, 0xd4, 0xe2, 0xa7, 0x26, 0xf2, 0x87, 0x6a, 0xdb, 0x95, 0xfc, 0x9c,
558 0x42, 0x5d, 0x38, 0x78, 0x10, 0xa2, 0x48, 0xd2, 0x71, 0x3e, 0x13, 0x49, 0x2e, 0xb5, 0x98, 0xce,
559 0xd2, 0x71, 0xdb, 0xe9, 0x58, 0x27, 0x0e, 0xdf, 0x37, 0x92, 0x6f, 0x14, 0x52, 0x0b, 0xde, 0x3d,
560 0x80, 0x9f, 0x4d, 0x72, 0x19, 0xe9, 0x54, 0x0b, 0xef, 0x06, 0x36, 0xe2, 0x79, 0x21, 0x4a, 0xd4,
561 0x84, 0xcd, 0x21, 0x3d, 0xa7, 0xec, 0x9a, 0xba, 0x6b, 0x08, 0x41, 0x6b, 0xc0, 0xf1, 0x80, 0xb3,
562 0x2b, 0x12, 0x11, 0x46, 0x71, 0xe8, 0x5a, 0x26, 0x00, 0x53, 0xff, 0xec, 0x02, 0x87, 0xae, 0x8d,
563 0x76, 0x60, 0x2b, 0x24, 0xd1, 0x02, 0x39, 0xe8, 0x10, 0xf6, 0x43, 0x76, 0x4d, 0x2f, 0x98, 0x1f,
564 0x12, 0xda, 0x4f, 0xc8, 0xa5, 0xdf, 0xc7, 0xee, 0xba, 0xf7, 0xc7, 0x02, 0x60, 0x85, 0x98, 0x9a,
565 0x4a, 0x8f, 0xa5, 0xf7, 0xdb, 0x5a, 0x59, 0xab, 0x05, 0x10, 0x92, 0x28, 0x60, 0x57, 0x98, 0x57,
566 0x75, 0x5a, 0x00, 0x7e, 0x10, 0x93, 0x2b, 0x3f, 0x26, 0xb4, 0xef, 0xda, 0x26, 0x38, 0xc6, 0x51,
567 0x05, 0x1c, 0x04, 0xd0, 0xa8, 0x44, 0xec, 0xae, 0x9b, 0xf7, 0x37, 0x9f, 0x98, 0x0e, 0x36, 0xd0,
568 0x1e, 0x34, 0x39, 0x0e, 0x18, 0x0d, 0xc8, 0x85, 0x09, 0x6c, 0xa0, 0xd7, 0x80, 0x9e, 0x11, 0x49,
569 0x1d, 0xb8, 0x69, 0x1a, 0xe7, 0xf8, 0x8c, 0xb1, 0x18, 0x87, 0xee, 0x96, 0x87, 0x61, 0xb7, 0xf6,
570 0xa1, 0xee, 0xf1, 0xf3, 0xca, 0x16, 0xf7, 0xa0, 0x39, 0xa4, 0x1c, 0xfb, 0xc1, 0x77, 0x33, 0xb1,
571 0x6b, 0xa1, 0x5d, 0xd8, 0x5e, 0x42, 0xdb, 0xfb, 0x6b, 0xc1, 0xae, 0x19, 0x34, 0x35, 0x76, 0x72,
572 0x51, 0x16, 0xe8, 0x2b, 0xac, 0x8f, 0x54, 0x26, 0x2a, 0x3b, 0x5b, 0xa7, 0xef, 0x9f, 0xfe, 0x80,
573 0x17, 0x41, 0xcf, 0x91, 0x7e, 0x9c, 0xca, 0x40, 0x65, 0x82, 0x57, 0x9f, 0xa1, 0x63, 0xd8, 0x4b,
574 0xb3, 0x2c, 0x37, 0x5a, 0x3a, 0x4e, 0xf2, 0xa5, 0xf3, 0xad, 0x25, 0x6d, 0xcc, 0xf7, 0xe6, 0x70,
575 0xb0, 0x22, 0x8b, 0x31, 0x84, 0x0d, 0x30, 0xf7, 0x63, 0xc2, 0x68, 0x12, 0x0d, 0x83, 0x00, 0x47,
576 0x91, 0xbb, 0xf6, 0x92, 0x36, 0x2b, 0x19, 0x72, 0x33, 0xcd, 0x5b, 0x38, 0x5c, 0xd2, 0x43, 0x1a,
577 0x0d, 0x07, 0x03, 0xc6, 0xe3, 0xca, 0xe7, 0x17, 0x12, 0xa1, 0xc9, 0x80, 0xb3, 0x3e, 0x37, 0xc9,
578 0x9c, 0x0f, 0xef, 0x60, 0x27, 0x16, 0xa5, 0xbe, 0x54, 0x99, 0x38, 0x17, 0xf3, 0xd2, 0x6c, 0x36,
579 0x2d, 0xf2, 0x44, 0x8b, 0x52, 0xbb, 0x6b, 0x67, 0x18, 0x0e, 0xd4, 0xf4, 0xae, 0xab, 0x0a, 0x21,
580 0x47, 0x6a, 0x9a, 0x75, 0x17, 0xc7, 0x76, 0xd3, 0xbd, 0xcb, 0xf5, 0xfd, 0xe3, 0xad, 0xd9, 0x47,
581 0xef, 0x49, 0xeb, 0x2d, 0xb4, 0x8f, 0xf5, 0x21, 0xce, 0xbe, 0xf4, 0xee, 0x54, 0x7d, 0x8e, 0xb7,
582 0x8d, 0x8a, 0xfc, 0xf4, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x78, 0x80, 0xdb, 0x29, 0xad, 0x03, 0x00,
583 0x00,
Don Newton98fd8812019-09-23 15:15:02 -0400584}