blob: 87d3dcad077826d35ab763e5dcb633f6f59e5015 [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
William Kurkian1b363f42019-03-12 15:28:12 -0400106)
107
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300108var OperStatus_Types_name = map[int32]string{
William Kurkian1b363f42019-03-12 15:28:12 -0400109 0: "UNKNOWN",
110 1: "DISCOVERED",
111 2: "ACTIVATING",
112 3: "TESTING",
113 4: "ACTIVE",
114 5: "FAILED",
Maninder4ed97f52021-03-15 10:14:55 +0530115 6: "RECONCILING",
Manindera4b9e552021-06-16 17:33:04 +0530116 7: "RECONCILING_FAILED",
William Kurkian1b363f42019-03-12 15:28:12 -0400117}
William Kurkianad745652019-03-20 08:45:51 -0400118
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300119var OperStatus_Types_value = map[string]int32{
Manindera4b9e552021-06-16 17:33:04 +0530120 "UNKNOWN": 0,
121 "DISCOVERED": 1,
122 "ACTIVATING": 2,
123 "TESTING": 3,
124 "ACTIVE": 4,
125 "FAILED": 5,
126 "RECONCILING": 6,
127 "RECONCILING_FAILED": 7,
William Kurkian1b363f42019-03-12 15:28:12 -0400128}
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) {
khenaidoo5cb0d402021-12-08 14:09:16 -0500135 return fileDescriptor_c2e3fd231961e826, []int{4, 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) {
khenaidoo5cb0d402021-12-08 14:09:16 -0500167 return fileDescriptor_c2e3fd231961e826, []int{5, 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
Maninder2f9d63e2021-02-08 11:42:19 +0530176 OperationResp_OPERATION_IN_PROGRESS OperationResp_OperationReturnCode = 3
William Kurkian1b363f42019-03-12 15:28:12 -0400177)
178
179var OperationResp_OperationReturnCode_name = map[int32]string{
180 0: "OPERATION_SUCCESS",
181 1: "OPERATION_FAILURE",
182 2: "OPERATION_UNSUPPORTED",
Maninder2f9d63e2021-02-08 11:42:19 +0530183 3: "OPERATION_IN_PROGRESS",
William Kurkian1b363f42019-03-12 15:28:12 -0400184}
William Kurkianad745652019-03-20 08:45:51 -0400185
William Kurkian1b363f42019-03-12 15:28:12 -0400186var OperationResp_OperationReturnCode_value = map[string]int32{
187 "OPERATION_SUCCESS": 0,
188 "OPERATION_FAILURE": 1,
189 "OPERATION_UNSUPPORTED": 2,
Maninder2f9d63e2021-02-08 11:42:19 +0530190 "OPERATION_IN_PROGRESS": 3,
William Kurkian1b363f42019-03-12 15:28:12 -0400191}
192
193func (x OperationResp_OperationReturnCode) String() string {
194 return proto.EnumName(OperationResp_OperationReturnCode_name, int32(x))
195}
William Kurkianad745652019-03-20 08:45:51 -0400196
William Kurkian1b363f42019-03-12 15:28:12 -0400197func (OperationResp_OperationReturnCode) EnumDescriptor() ([]byte, []int) {
khenaidoo5cb0d402021-12-08 14:09:16 -0500198 return fileDescriptor_c2e3fd231961e826, []int{6, 0}
William Kurkian1b363f42019-03-12 15:28:12 -0400199}
200
201// Convey a resource identifier
202type ID struct {
203 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
204 XXX_NoUnkeyedLiteral struct{} `json:"-"`
205 XXX_unrecognized []byte `json:"-"`
206 XXX_sizecache int32 `json:"-"`
207}
208
209func (m *ID) Reset() { *m = ID{} }
210func (m *ID) String() string { return proto.CompactTextString(m) }
211func (*ID) ProtoMessage() {}
212func (*ID) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400213 return fileDescriptor_c2e3fd231961e826, []int{0}
William Kurkian1b363f42019-03-12 15:28:12 -0400214}
William Kurkianad745652019-03-20 08:45:51 -0400215
William Kurkian1b363f42019-03-12 15:28:12 -0400216func (m *ID) XXX_Unmarshal(b []byte) error {
217 return xxx_messageInfo_ID.Unmarshal(m, b)
218}
219func (m *ID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
220 return xxx_messageInfo_ID.Marshal(b, m, deterministic)
221}
William Kurkianad745652019-03-20 08:45:51 -0400222func (m *ID) XXX_Merge(src proto.Message) {
223 xxx_messageInfo_ID.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400224}
225func (m *ID) XXX_Size() int {
226 return xxx_messageInfo_ID.Size(m)
227}
228func (m *ID) XXX_DiscardUnknown() {
229 xxx_messageInfo_ID.DiscardUnknown(m)
230}
231
232var xxx_messageInfo_ID proto.InternalMessageInfo
233
234func (m *ID) GetId() string {
235 if m != nil {
236 return m.Id
237 }
238 return ""
239}
240
241// Represents a list of IDs
242type IDs struct {
243 Items []*ID `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
244 XXX_NoUnkeyedLiteral struct{} `json:"-"`
245 XXX_unrecognized []byte `json:"-"`
246 XXX_sizecache int32 `json:"-"`
247}
248
249func (m *IDs) Reset() { *m = IDs{} }
250func (m *IDs) String() string { return proto.CompactTextString(m) }
251func (*IDs) ProtoMessage() {}
252func (*IDs) Descriptor() ([]byte, []int) {
William Kurkianad745652019-03-20 08:45:51 -0400253 return fileDescriptor_c2e3fd231961e826, []int{1}
William Kurkian1b363f42019-03-12 15:28:12 -0400254}
William Kurkianad745652019-03-20 08:45:51 -0400255
William Kurkian1b363f42019-03-12 15:28:12 -0400256func (m *IDs) XXX_Unmarshal(b []byte) error {
257 return xxx_messageInfo_IDs.Unmarshal(m, b)
258}
259func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
260 return xxx_messageInfo_IDs.Marshal(b, m, deterministic)
261}
William Kurkianad745652019-03-20 08:45:51 -0400262func (m *IDs) XXX_Merge(src proto.Message) {
263 xxx_messageInfo_IDs.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400264}
265func (m *IDs) XXX_Size() int {
266 return xxx_messageInfo_IDs.Size(m)
267}
268func (m *IDs) XXX_DiscardUnknown() {
269 xxx_messageInfo_IDs.DiscardUnknown(m)
270}
271
272var xxx_messageInfo_IDs proto.InternalMessageInfo
273
274func (m *IDs) GetItems() []*ID {
275 if m != nil {
276 return m.Items
277 }
278 return nil
279}
280
khenaidoo5cb0d402021-12-08 14:09:16 -0500281type Connection struct {
282 // endpoint is the endpoint sending the request
283 Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
284 // contextInfo represents additional contextual information
285 ContextInfo string `protobuf:"bytes,2,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"`
286 // keep_alive_interval is used to indicate to the remote endpoint how often it
287 // will get a keep alive notification
288 KeepAliveInterval int64 `protobuf:"varint,3,opt,name=keep_alive_interval,json=keepAliveInterval,proto3" json:"keep_alive_interval,omitempty"`
289 XXX_NoUnkeyedLiteral struct{} `json:"-"`
290 XXX_unrecognized []byte `json:"-"`
291 XXX_sizecache int32 `json:"-"`
292}
293
294func (m *Connection) Reset() { *m = Connection{} }
295func (m *Connection) String() string { return proto.CompactTextString(m) }
296func (*Connection) ProtoMessage() {}
297func (*Connection) Descriptor() ([]byte, []int) {
298 return fileDescriptor_c2e3fd231961e826, []int{2}
299}
300
301func (m *Connection) XXX_Unmarshal(b []byte) error {
302 return xxx_messageInfo_Connection.Unmarshal(m, b)
303}
304func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
305 return xxx_messageInfo_Connection.Marshal(b, m, deterministic)
306}
307func (m *Connection) XXX_Merge(src proto.Message) {
308 xxx_messageInfo_Connection.Merge(m, src)
309}
310func (m *Connection) XXX_Size() int {
311 return xxx_messageInfo_Connection.Size(m)
312}
313func (m *Connection) XXX_DiscardUnknown() {
314 xxx_messageInfo_Connection.DiscardUnknown(m)
315}
316
317var xxx_messageInfo_Connection proto.InternalMessageInfo
318
319func (m *Connection) GetEndpoint() string {
320 if m != nil {
321 return m.Endpoint
322 }
323 return ""
324}
325
326func (m *Connection) GetContextInfo() string {
327 if m != nil {
328 return m.ContextInfo
329 }
330 return ""
331}
332
333func (m *Connection) GetKeepAliveInterval() int64 {
334 if m != nil {
335 return m.KeepAliveInterval
336 }
337 return 0
338}
339
William Kurkian1b363f42019-03-12 15:28:12 -0400340type AdminState struct {
341 XXX_NoUnkeyedLiteral struct{} `json:"-"`
342 XXX_unrecognized []byte `json:"-"`
343 XXX_sizecache int32 `json:"-"`
344}
345
346func (m *AdminState) Reset() { *m = AdminState{} }
347func (m *AdminState) String() string { return proto.CompactTextString(m) }
348func (*AdminState) ProtoMessage() {}
349func (*AdminState) Descriptor() ([]byte, []int) {
khenaidoo5cb0d402021-12-08 14:09:16 -0500350 return fileDescriptor_c2e3fd231961e826, []int{3}
William Kurkian1b363f42019-03-12 15:28:12 -0400351}
William Kurkianad745652019-03-20 08:45:51 -0400352
William Kurkian1b363f42019-03-12 15:28:12 -0400353func (m *AdminState) XXX_Unmarshal(b []byte) error {
354 return xxx_messageInfo_AdminState.Unmarshal(m, b)
355}
356func (m *AdminState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
357 return xxx_messageInfo_AdminState.Marshal(b, m, deterministic)
358}
William Kurkianad745652019-03-20 08:45:51 -0400359func (m *AdminState) XXX_Merge(src proto.Message) {
360 xxx_messageInfo_AdminState.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400361}
362func (m *AdminState) XXX_Size() int {
363 return xxx_messageInfo_AdminState.Size(m)
364}
365func (m *AdminState) XXX_DiscardUnknown() {
366 xxx_messageInfo_AdminState.DiscardUnknown(m)
367}
368
369var xxx_messageInfo_AdminState proto.InternalMessageInfo
370
371type OperStatus struct {
372 XXX_NoUnkeyedLiteral struct{} `json:"-"`
373 XXX_unrecognized []byte `json:"-"`
374 XXX_sizecache int32 `json:"-"`
375}
376
377func (m *OperStatus) Reset() { *m = OperStatus{} }
378func (m *OperStatus) String() string { return proto.CompactTextString(m) }
379func (*OperStatus) ProtoMessage() {}
380func (*OperStatus) Descriptor() ([]byte, []int) {
khenaidoo5cb0d402021-12-08 14:09:16 -0500381 return fileDescriptor_c2e3fd231961e826, []int{4}
William Kurkian1b363f42019-03-12 15:28:12 -0400382}
William Kurkianad745652019-03-20 08:45:51 -0400383
William Kurkian1b363f42019-03-12 15:28:12 -0400384func (m *OperStatus) XXX_Unmarshal(b []byte) error {
385 return xxx_messageInfo_OperStatus.Unmarshal(m, b)
386}
387func (m *OperStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
388 return xxx_messageInfo_OperStatus.Marshal(b, m, deterministic)
389}
William Kurkianad745652019-03-20 08:45:51 -0400390func (m *OperStatus) XXX_Merge(src proto.Message) {
391 xxx_messageInfo_OperStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400392}
393func (m *OperStatus) XXX_Size() int {
394 return xxx_messageInfo_OperStatus.Size(m)
395}
396func (m *OperStatus) XXX_DiscardUnknown() {
397 xxx_messageInfo_OperStatus.DiscardUnknown(m)
398}
399
400var xxx_messageInfo_OperStatus proto.InternalMessageInfo
401
402type ConnectStatus struct {
403 XXX_NoUnkeyedLiteral struct{} `json:"-"`
404 XXX_unrecognized []byte `json:"-"`
405 XXX_sizecache int32 `json:"-"`
406}
407
408func (m *ConnectStatus) Reset() { *m = ConnectStatus{} }
409func (m *ConnectStatus) String() string { return proto.CompactTextString(m) }
410func (*ConnectStatus) ProtoMessage() {}
411func (*ConnectStatus) Descriptor() ([]byte, []int) {
khenaidoo5cb0d402021-12-08 14:09:16 -0500412 return fileDescriptor_c2e3fd231961e826, []int{5}
William Kurkian1b363f42019-03-12 15:28:12 -0400413}
William Kurkianad745652019-03-20 08:45:51 -0400414
William Kurkian1b363f42019-03-12 15:28:12 -0400415func (m *ConnectStatus) XXX_Unmarshal(b []byte) error {
416 return xxx_messageInfo_ConnectStatus.Unmarshal(m, b)
417}
418func (m *ConnectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
419 return xxx_messageInfo_ConnectStatus.Marshal(b, m, deterministic)
420}
William Kurkianad745652019-03-20 08:45:51 -0400421func (m *ConnectStatus) XXX_Merge(src proto.Message) {
422 xxx_messageInfo_ConnectStatus.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400423}
424func (m *ConnectStatus) XXX_Size() int {
425 return xxx_messageInfo_ConnectStatus.Size(m)
426}
427func (m *ConnectStatus) XXX_DiscardUnknown() {
428 xxx_messageInfo_ConnectStatus.DiscardUnknown(m)
429}
430
431var xxx_messageInfo_ConnectStatus proto.InternalMessageInfo
432
433type OperationResp struct {
434 // Return code
William Kurkian12fc0af2019-04-18 14:27:45 -0400435 Code OperationResp_OperationReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=common.OperationResp_OperationReturnCode" json:"code,omitempty"`
William Kurkian1b363f42019-03-12 15:28:12 -0400436 // Additional Info
437 AdditionalInfo string `protobuf:"bytes,2,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
438 XXX_NoUnkeyedLiteral struct{} `json:"-"`
439 XXX_unrecognized []byte `json:"-"`
440 XXX_sizecache int32 `json:"-"`
441}
442
443func (m *OperationResp) Reset() { *m = OperationResp{} }
444func (m *OperationResp) String() string { return proto.CompactTextString(m) }
445func (*OperationResp) ProtoMessage() {}
446func (*OperationResp) Descriptor() ([]byte, []int) {
khenaidoo5cb0d402021-12-08 14:09:16 -0500447 return fileDescriptor_c2e3fd231961e826, []int{6}
William Kurkian1b363f42019-03-12 15:28:12 -0400448}
William Kurkianad745652019-03-20 08:45:51 -0400449
William Kurkian1b363f42019-03-12 15:28:12 -0400450func (m *OperationResp) XXX_Unmarshal(b []byte) error {
451 return xxx_messageInfo_OperationResp.Unmarshal(m, b)
452}
453func (m *OperationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
454 return xxx_messageInfo_OperationResp.Marshal(b, m, deterministic)
455}
William Kurkianad745652019-03-20 08:45:51 -0400456func (m *OperationResp) XXX_Merge(src proto.Message) {
457 xxx_messageInfo_OperationResp.Merge(m, src)
William Kurkian1b363f42019-03-12 15:28:12 -0400458}
459func (m *OperationResp) XXX_Size() int {
460 return xxx_messageInfo_OperationResp.Size(m)
461}
462func (m *OperationResp) XXX_DiscardUnknown() {
463 xxx_messageInfo_OperationResp.DiscardUnknown(m)
464}
465
466var xxx_messageInfo_OperationResp proto.InternalMessageInfo
467
468func (m *OperationResp) GetCode() OperationResp_OperationReturnCode {
469 if m != nil {
470 return m.Code
471 }
472 return OperationResp_OPERATION_SUCCESS
473}
474
475func (m *OperationResp) GetAdditionalInfo() string {
476 if m != nil {
477 return m.AdditionalInfo
478 }
479 return ""
480}
481
482func init() {
William Kurkian12fc0af2019-04-18 14:27:45 -0400483 proto.RegisterEnum("common.TestModeKeys", TestModeKeys_name, TestModeKeys_value)
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +0300484 proto.RegisterEnum("common.AdminState_Types", AdminState_Types_name, AdminState_Types_value)
485 proto.RegisterEnum("common.OperStatus_Types", OperStatus_Types_name, OperStatus_Types_value)
486 proto.RegisterEnum("common.ConnectStatus_Types", ConnectStatus_Types_name, ConnectStatus_Types_value)
William Kurkian12fc0af2019-04-18 14:27:45 -0400487 proto.RegisterEnum("common.OperationResp_OperationReturnCode", OperationResp_OperationReturnCode_name, OperationResp_OperationReturnCode_value)
488 proto.RegisterType((*ID)(nil), "common.ID")
489 proto.RegisterType((*IDs)(nil), "common.IDs")
khenaidoo5cb0d402021-12-08 14:09:16 -0500490 proto.RegisterType((*Connection)(nil), "common.Connection")
William Kurkian12fc0af2019-04-18 14:27:45 -0400491 proto.RegisterType((*AdminState)(nil), "common.AdminState")
492 proto.RegisterType((*OperStatus)(nil), "common.OperStatus")
493 proto.RegisterType((*ConnectStatus)(nil), "common.ConnectStatus")
494 proto.RegisterType((*OperationResp)(nil), "common.OperationResp")
William Kurkian1b363f42019-03-12 15:28:12 -0400495}
496
William Kurkianad745652019-03-20 08:45:51 -0400497func init() { proto.RegisterFile("voltha_protos/common.proto", fileDescriptor_c2e3fd231961e826) }
William Kurkian1b363f42019-03-12 15:28:12 -0400498
William Kurkianad745652019-03-20 08:45:51 -0400499var fileDescriptor_c2e3fd231961e826 = []byte{
khenaidoo5cb0d402021-12-08 14:09:16 -0500500 // 570 bytes of a gzipped FileDescriptorProto
501 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x5d, 0x4f, 0xdb, 0x30,
502 0x14, 0x25, 0x09, 0x14, 0xb8, 0x85, 0x12, 0xcc, 0x98, 0x3a, 0xb4, 0x87, 0x2a, 0x2f, 0xb0, 0x49,
503 0x6b, 0x25, 0xb6, 0x3d, 0xee, 0x21, 0x24, 0x5e, 0x67, 0x01, 0x4e, 0xe5, 0xa4, 0x20, 0xf1, 0x12,
504 0x85, 0xc6, 0x03, 0x6b, 0xad, 0x1d, 0x25, 0xa6, 0x1a, 0x7b, 0xdc, 0x3f, 0xd8, 0x5f, 0xdd, 0x2f,
505 0x98, 0x9c, 0x86, 0x15, 0xa4, 0xbe, 0xe5, 0x9c, 0x73, 0x73, 0xbf, 0x8e, 0x2f, 0x1c, 0xcd, 0xd5,
506 0x54, 0xdf, 0x67, 0x69, 0x51, 0x2a, 0xad, 0xaa, 0xc1, 0x44, 0xcd, 0x66, 0x4a, 0xf6, 0x6b, 0x84,
507 0x5a, 0x0b, 0xe4, 0xbd, 0x02, 0x9b, 0x84, 0xa8, 0x03, 0xb6, 0xc8, 0xbb, 0x56, 0xcf, 0x3a, 0xd9,
508 0x66, 0xb6, 0xc8, 0xbd, 0x63, 0x70, 0x48, 0x58, 0xa1, 0x1e, 0x6c, 0x08, 0xcd, 0x67, 0x55, 0xd7,
509 0xea, 0x39, 0x27, 0xed, 0x53, 0xe8, 0x37, 0x29, 0x48, 0xc8, 0x16, 0x82, 0xf7, 0x0b, 0x20, 0x50,
510 0x52, 0xf2, 0x89, 0x16, 0x4a, 0xa2, 0x23, 0xd8, 0xe2, 0x32, 0x2f, 0x94, 0x90, 0xba, 0x49, 0xf6,
511 0x1f, 0xa3, 0x1e, 0xb4, 0x27, 0x4a, 0x6a, 0xfe, 0x53, 0x13, 0xf9, 0x5d, 0x75, 0xed, 0x5a, 0x7e,
512 0x4e, 0xa1, 0x3e, 0x1c, 0xfc, 0xe0, 0xbc, 0x48, 0xb3, 0xa9, 0x98, 0xf3, 0x54, 0x48, 0xcd, 0xcb,
513 0x79, 0x36, 0xed, 0x3a, 0x3d, 0xeb, 0xc4, 0x61, 0xfb, 0x46, 0xf2, 0x8d, 0x42, 0x1a, 0xc1, 0xbb,
514 0x07, 0xf0, 0xf3, 0x99, 0x90, 0xb1, 0xce, 0x34, 0xf7, 0x6e, 0x60, 0x23, 0x79, 0x2c, 0x78, 0x85,
515 0xda, 0xb0, 0x39, 0xa6, 0xe7, 0x34, 0xba, 0xa6, 0xee, 0x1a, 0x42, 0xd0, 0x19, 0x31, 0x3c, 0x62,
516 0xd1, 0x15, 0x89, 0x49, 0x44, 0x71, 0xe8, 0x5a, 0x26, 0x00, 0x53, 0xff, 0xec, 0x02, 0x87, 0xae,
517 0x8d, 0x76, 0x60, 0x2b, 0x24, 0xf1, 0x02, 0x39, 0xe8, 0x10, 0xf6, 0xc3, 0xe8, 0x9a, 0x5e, 0x44,
518 0x7e, 0x48, 0xe8, 0x30, 0x25, 0x97, 0xfe, 0x10, 0xbb, 0xeb, 0xde, 0x1f, 0x0b, 0x20, 0x2a, 0x78,
519 0x69, 0x2a, 0x3d, 0x54, 0xde, 0x6f, 0x6b, 0x65, 0xad, 0x0e, 0x40, 0x48, 0xe2, 0x20, 0xba, 0xc2,
520 0xac, 0xae, 0xd3, 0x01, 0xf0, 0x83, 0x84, 0x5c, 0xf9, 0x09, 0xa1, 0x43, 0xd7, 0x36, 0xc1, 0x09,
521 0x8e, 0x6b, 0xe0, 0x20, 0x80, 0x56, 0x2d, 0x62, 0x77, 0xdd, 0x7c, 0x7f, 0xf5, 0x89, 0xe9, 0x60,
522 0x03, 0xed, 0x41, 0x9b, 0xe1, 0x20, 0xa2, 0x01, 0xb9, 0x30, 0x81, 0x2d, 0xf4, 0x1a, 0xd0, 0x33,
523 0x22, 0x6d, 0x02, 0x37, 0x3d, 0x0c, 0xbb, 0xcd, 0xe6, 0x9b, 0xae, 0x3e, 0xad, 0x6c, 0x6a, 0x0f,
524 0xda, 0x63, 0xca, 0xb0, 0x1f, 0x7c, 0x33, 0x33, 0xba, 0x16, 0xda, 0x85, 0xed, 0x25, 0xb4, 0xbd,
525 0xbf, 0x16, 0xec, 0x9a, 0xd1, 0x32, 0x63, 0x20, 0xe3, 0x55, 0x81, 0xbe, 0xc0, 0xfa, 0x44, 0xe5,
526 0xbc, 0x36, 0xb0, 0x73, 0xfa, 0xee, 0xc9, 0xf3, 0x17, 0x41, 0xcf, 0x91, 0x7e, 0x28, 0x65, 0xa0,
527 0x72, 0xce, 0xea, 0xdf, 0xd0, 0x31, 0xec, 0x65, 0x79, 0x2e, 0x8c, 0x96, 0x4d, 0x53, 0xb1, 0xf4,
528 0xba, 0xb3, 0xa4, 0x8d, 0xdd, 0xde, 0x23, 0x1c, 0xac, 0xc8, 0x62, 0x2c, 0x88, 0x46, 0x98, 0xf9,
529 0x09, 0x89, 0x68, 0x1a, 0x8f, 0x83, 0x00, 0xc7, 0xb1, 0xbb, 0xf6, 0x92, 0x36, 0x4b, 0x18, 0x33,
530 0x33, 0xcd, 0x1b, 0x38, 0x5c, 0xd2, 0x63, 0x1a, 0x8f, 0x47, 0xa3, 0x88, 0x25, 0xb5, 0xb3, 0x2f,
531 0x24, 0x42, 0xd3, 0x11, 0x8b, 0x86, 0xcc, 0x24, 0x73, 0xde, 0xbf, 0x85, 0x9d, 0x84, 0x57, 0xfa,
532 0x52, 0xe5, 0xfc, 0x9c, 0x3f, 0x56, 0xe6, 0x11, 0x64, 0x85, 0x48, 0x35, 0xaf, 0xb4, 0xbb, 0x76,
533 0x86, 0xe1, 0x40, 0x95, 0x77, 0x7d, 0x55, 0x70, 0x39, 0x51, 0x65, 0xde, 0x5f, 0x5c, 0xd1, 0x4d,
534 0xff, 0x4e, 0xe8, 0xfb, 0x87, 0x5b, 0xb3, 0x8f, 0xc1, 0x93, 0x36, 0x58, 0x68, 0x1f, 0x9a, 0x0b,
535 0x9b, 0x7f, 0x1e, 0xdc, 0xa9, 0xe6, 0xce, 0x6e, 0x5b, 0x35, 0xf9, 0xf1, 0x5f, 0x00, 0x00, 0x00,
536 0xff, 0xff, 0x62, 0x34, 0x9d, 0xbf, 0x86, 0x03, 0x00, 0x00,
William Kurkian1b363f42019-03-12 15:28:12 -0400537}