blob: e01c94e57c4d61326d256277d5b4878a4d6f5e14 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: voltha_protos/core.proto
package core
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=core.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("core.DeviceTransientState_Types", DeviceTransientState_Types_name, DeviceTransientState_Types_value)
proto.RegisterType((*DeviceTransientState)(nil), "core.DeviceTransientState")
}
func init() { proto.RegisterFile("voltha_protos/core.proto", fileDescriptor_39634f15fb8a505e) }
var fileDescriptor_39634f15fb8a505e = []byte{
// 286 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x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