blob: 64d42d0e44dc523dad321e546880aa720863ad58 [file] [log] [blame]
Manindere2af7e42020-12-04 11:46:26 +05301// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/core.proto
3
4package voltha
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
23// Transient State for devices
24type DeviceTransientState_Types int32
25
26const (
27 // The transient state of the device is not set
28 DeviceTransientState_NONE DeviceTransientState_Types = 0
29 // The state of the device in core is any state, i.e DELETING, DELETED, DELETE_FAILED, NONE.
30 // This state is only used for transitions.
31 DeviceTransientState_ANY DeviceTransientState_Types = 1
32 // The device is in FORCE_DELETING state
33 DeviceTransientState_FORCE_DELETING DeviceTransientState_Types = 2
34 // The device is getting deleted from adapter state
35 DeviceTransientState_DELETING_FROM_ADAPTER DeviceTransientState_Types = 3
36 // The device is deleted from adapter and is getting deleted in core.
37 DeviceTransientState_DELETING_POST_ADAPTER_RESPONSE DeviceTransientState_Types = 4
38 // State to represent that the device deletion is failed
39 DeviceTransientState_DELETE_FAILED DeviceTransientState_Types = 5
Andrea Campanella18448bc2021-07-08 18:47:22 +020040 // State to represent that reconcile is in progress
41 DeviceTransientState_RECONCILE_IN_PROGRESS DeviceTransientState_Types = 6
Manindere2af7e42020-12-04 11:46:26 +053042)
43
44var DeviceTransientState_Types_name = map[int32]string{
45 0: "NONE",
46 1: "ANY",
47 2: "FORCE_DELETING",
48 3: "DELETING_FROM_ADAPTER",
49 4: "DELETING_POST_ADAPTER_RESPONSE",
50 5: "DELETE_FAILED",
Andrea Campanella18448bc2021-07-08 18:47:22 +020051 6: "RECONCILE_IN_PROGRESS",
Manindere2af7e42020-12-04 11:46:26 +053052}
53
54var DeviceTransientState_Types_value = map[string]int32{
55 "NONE": 0,
56 "ANY": 1,
57 "FORCE_DELETING": 2,
58 "DELETING_FROM_ADAPTER": 3,
59 "DELETING_POST_ADAPTER_RESPONSE": 4,
60 "DELETE_FAILED": 5,
Andrea Campanella18448bc2021-07-08 18:47:22 +020061 "RECONCILE_IN_PROGRESS": 6,
Manindere2af7e42020-12-04 11:46:26 +053062}
63
64func (x DeviceTransientState_Types) String() string {
65 return proto.EnumName(DeviceTransientState_Types_name, int32(x))
66}
67
68func (DeviceTransientState_Types) EnumDescriptor() ([]byte, []int) {
69 return fileDescriptor_39634f15fb8a505e, []int{0, 0}
70}
71
72type DeviceTransientState struct {
73 TransientState DeviceTransientState_Types `protobuf:"varint,1,opt,name=transient_state,json=transientState,proto3,enum=voltha.DeviceTransientState_Types" json:"transient_state,omitempty"`
74 XXX_NoUnkeyedLiteral struct{} `json:"-"`
75 XXX_unrecognized []byte `json:"-"`
76 XXX_sizecache int32 `json:"-"`
77}
78
79func (m *DeviceTransientState) Reset() { *m = DeviceTransientState{} }
80func (m *DeviceTransientState) String() string { return proto.CompactTextString(m) }
81func (*DeviceTransientState) ProtoMessage() {}
82func (*DeviceTransientState) Descriptor() ([]byte, []int) {
83 return fileDescriptor_39634f15fb8a505e, []int{0}
84}
85
86func (m *DeviceTransientState) XXX_Unmarshal(b []byte) error {
87 return xxx_messageInfo_DeviceTransientState.Unmarshal(m, b)
88}
89func (m *DeviceTransientState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
90 return xxx_messageInfo_DeviceTransientState.Marshal(b, m, deterministic)
91}
92func (m *DeviceTransientState) XXX_Merge(src proto.Message) {
93 xxx_messageInfo_DeviceTransientState.Merge(m, src)
94}
95func (m *DeviceTransientState) XXX_Size() int {
96 return xxx_messageInfo_DeviceTransientState.Size(m)
97}
98func (m *DeviceTransientState) XXX_DiscardUnknown() {
99 xxx_messageInfo_DeviceTransientState.DiscardUnknown(m)
100}
101
102var xxx_messageInfo_DeviceTransientState proto.InternalMessageInfo
103
104func (m *DeviceTransientState) GetTransientState() DeviceTransientState_Types {
105 if m != nil {
106 return m.TransientState
107 }
108 return DeviceTransientState_NONE
109}
110
111func init() {
112 proto.RegisterEnum("voltha.DeviceTransientState_Types", DeviceTransientState_Types_name, DeviceTransientState_Types_value)
113 proto.RegisterType((*DeviceTransientState)(nil), "voltha.DeviceTransientState")
114}
115
116func init() { proto.RegisterFile("voltha_protos/core.proto", fileDescriptor_39634f15fb8a505e) }
117
118var fileDescriptor_39634f15fb8a505e = []byte{
Andrea Campanella18448bc2021-07-08 18:47:22 +0200119 // 284 bytes of a gzipped FileDescriptorProto
120 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x4d, 0x4b, 0xf4, 0x30,
121 0x10, 0xc7, 0x9f, 0xee, 0xdb, 0x23, 0x01, 0xd7, 0x18, 0x15, 0xd6, 0x8b, 0x48, 0x4f, 0x5e, 0x4c,
122 0x41, 0xfd, 0x02, 0x75, 0x3b, 0xbb, 0x14, 0xd7, 0xa4, 0x24, 0xbd, 0xe8, 0x25, 0x74, 0x6b, 0xe8,
123 0x16, 0xb4, 0x29, 0x6d, 0x2c, 0x78, 0xf4, 0x73, 0xf8, 0x65, 0x65, 0xfb, 0x22, 0x08, 0xde, 0x66,
124 0x7e, 0xbf, 0xf9, 0x0f, 0xcc, 0xa0, 0x45, 0x63, 0x5e, 0xed, 0x2e, 0x51, 0x65, 0x65, 0xac, 0xa9,
125 0xbd, 0xd4, 0x54, 0x9a, 0xb6, 0x35, 0x99, 0x75, 0xc6, 0xfd, 0x1c, 0xa1, 0xd3, 0x40, 0x37, 0x79,
126 0xaa, 0xe3, 0x2a, 0x29, 0xea, 0x5c, 0x17, 0x56, 0xda, 0xc4, 0x6a, 0xf2, 0x80, 0x8e, 0xec, 0x40,
127 0x54, 0xbd, 0x47, 0x0b, 0xe7, 0xd2, 0xb9, 0x9a, 0xdf, 0xb8, 0xb4, 0x8b, 0xd2, 0xbf, 0x62, 0x34,
128 0xfe, 0x28, 0x75, 0x2d, 0xe6, 0xf6, 0x17, 0x75, 0xbf, 0x1c, 0x34, 0x6d, 0x0d, 0x39, 0x40, 0x13,
129 0xc6, 0x19, 0xe0, 0x7f, 0xe4, 0x3f, 0x1a, 0xfb, 0xec, 0x09, 0x3b, 0x84, 0xa0, 0xf9, 0x8a, 0x8b,
130 0x25, 0xa8, 0x00, 0x36, 0x10, 0x87, 0x6c, 0x8d, 0x47, 0xe4, 0x1c, 0x9d, 0x0d, 0x9d, 0x5a, 0x09,
131 0xfe, 0xa8, 0xfc, 0xc0, 0x8f, 0x62, 0x10, 0x78, 0x4c, 0x5c, 0x74, 0xf1, 0xa3, 0x22, 0x2e, 0xe3,
132 0x41, 0x29, 0x01, 0x32, 0xe2, 0x4c, 0x02, 0x9e, 0x90, 0x63, 0x74, 0xd8, 0xce, 0x80, 0x5a, 0xf9,
133 0xe1, 0x06, 0x02, 0x3c, 0xdd, 0x6f, 0x14, 0xb0, 0xe4, 0x6c, 0x19, 0x6e, 0x40, 0x85, 0x4c, 0x45,
134 0x82, 0xaf, 0x05, 0x48, 0x89, 0x67, 0xf7, 0x80, 0x4e, 0x4c, 0x95, 0x51, 0x53, 0xea, 0x22, 0x35,
135 0xd5, 0x4b, 0x7f, 0xdf, 0x33, 0xcd, 0x72, 0xbb, 0x7b, 0xdf, 0xd2, 0xd4, 0xbc, 0x79, 0x83, 0xf3,
136 0x3a, 0x77, 0xdd, 0x3f, 0xb4, 0xb9, 0xf3, 0x32, 0xd3, 0xb3, 0xed, 0xac, 0x85, 0xb7, 0xdf, 0x01,
137 0x00, 0x00, 0xff, 0xff, 0x1a, 0x0c, 0x99, 0x87, 0x75, 0x01, 0x00, 0x00,
Manindere2af7e42020-12-04 11:46:26 +0530138}