blob: 64d42d0e44dc523dad321e546880aa720863ad58 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: voltha_protos/core.proto
package voltha
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Transient State for devices
type DeviceTransientState_Types int32
const (
// The transient state of the device is not set
DeviceTransientState_NONE DeviceTransientState_Types = 0
// The state of the device in core is any state, i.e DELETING, DELETED, DELETE_FAILED, NONE.
// This state is only used for transitions.
DeviceTransientState_ANY DeviceTransientState_Types = 1
// The device is in FORCE_DELETING state
DeviceTransientState_FORCE_DELETING DeviceTransientState_Types = 2
// The device is getting deleted from adapter state
DeviceTransientState_DELETING_FROM_ADAPTER DeviceTransientState_Types = 3
// The device is deleted from adapter and is getting deleted in core.
DeviceTransientState_DELETING_POST_ADAPTER_RESPONSE DeviceTransientState_Types = 4
// State to represent that the device deletion is failed
DeviceTransientState_DELETE_FAILED DeviceTransientState_Types = 5
// State to represent that reconcile is in progress
DeviceTransientState_RECONCILE_IN_PROGRESS DeviceTransientState_Types = 6
)
var DeviceTransientState_Types_name = map[int32]string{
0: "NONE",
1: "ANY",
2: "FORCE_DELETING",
3: "DELETING_FROM_ADAPTER",
4: "DELETING_POST_ADAPTER_RESPONSE",
5: "DELETE_FAILED",
6: "RECONCILE_IN_PROGRESS",
}
var DeviceTransientState_Types_value = map[string]int32{
"NONE": 0,
"ANY": 1,
"FORCE_DELETING": 2,
"DELETING_FROM_ADAPTER": 3,
"DELETING_POST_ADAPTER_RESPONSE": 4,
"DELETE_FAILED": 5,
"RECONCILE_IN_PROGRESS": 6,
}
func (x DeviceTransientState_Types) String() string {
return proto.EnumName(DeviceTransientState_Types_name, int32(x))
}
func (DeviceTransientState_Types) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_39634f15fb8a505e, []int{0, 0}
}
type DeviceTransientState struct {
TransientState DeviceTransientState_Types `protobuf:"varint,1,opt,name=transient_state,json=transientState,proto3,enum=voltha.DeviceTransientState_Types" json:"transient_state,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeviceTransientState) Reset() { *m = DeviceTransientState{} }
func (m *DeviceTransientState) String() string { return proto.CompactTextString(m) }
func (*DeviceTransientState) ProtoMessage() {}
func (*DeviceTransientState) Descriptor() ([]byte, []int) {
return fileDescriptor_39634f15fb8a505e, []int{0}
}
func (m *DeviceTransientState) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeviceTransientState.Unmarshal(m, b)
}
func (m *DeviceTransientState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeviceTransientState.Marshal(b, m, deterministic)
}
func (m *DeviceTransientState) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeviceTransientState.Merge(m, src)
}
func (m *DeviceTransientState) XXX_Size() int {
return xxx_messageInfo_DeviceTransientState.Size(m)
}
func (m *DeviceTransientState) XXX_DiscardUnknown() {
xxx_messageInfo_DeviceTransientState.DiscardUnknown(m)
}
var xxx_messageInfo_DeviceTransientState proto.InternalMessageInfo
func (m *DeviceTransientState) GetTransientState() DeviceTransientState_Types {
if m != nil {
return m.TransientState
}
return DeviceTransientState_NONE
}
func init() {
proto.RegisterEnum("voltha.DeviceTransientState_Types", DeviceTransientState_Types_name, DeviceTransientState_Types_value)
proto.RegisterType((*DeviceTransientState)(nil), "voltha.DeviceTransientState")
}
func init() { proto.RegisterFile("voltha_protos/core.proto", fileDescriptor_39634f15fb8a505e) }
var fileDescriptor_39634f15fb8a505e = []byte{
// 284 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x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