blob: b69638f606e27674900f5a0238eb0c5a080d3d32 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: voltha_protos/ietf_interfaces.proto
package ietf
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
type Interface_LinkUpDownTrapEnableType int32
const (
Interface_TRAP_DISABLED Interface_LinkUpDownTrapEnableType = 0
Interface_TRAP_ENABLED Interface_LinkUpDownTrapEnableType = 1
)
var Interface_LinkUpDownTrapEnableType_name = map[int32]string{
0: "TRAP_DISABLED",
1: "TRAP_ENABLED",
}
var Interface_LinkUpDownTrapEnableType_value = map[string]int32{
"TRAP_DISABLED": 0,
"TRAP_ENABLED": 1,
}
func (x Interface_LinkUpDownTrapEnableType) String() string {
return proto.EnumName(Interface_LinkUpDownTrapEnableType_name, int32(x))
}
func (Interface_LinkUpDownTrapEnableType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_5a91e49a45099096, []int{1, 0}
}
type InterfaceState_AdminStatusType int32
const (
InterfaceState_ADMIN_DOWN InterfaceState_AdminStatusType = 0
InterfaceState_ADMIN_TESTING InterfaceState_AdminStatusType = 1
InterfaceState_ADMIN_UP InterfaceState_AdminStatusType = 2
)
var InterfaceState_AdminStatusType_name = map[int32]string{
0: "ADMIN_DOWN",
1: "ADMIN_TESTING",
2: "ADMIN_UP",
}
var InterfaceState_AdminStatusType_value = map[string]int32{
"ADMIN_DOWN": 0,
"ADMIN_TESTING": 1,
"ADMIN_UP": 2,
}
func (x InterfaceState_AdminStatusType) String() string {
return proto.EnumName(InterfaceState_AdminStatusType_name, int32(x))
}
func (InterfaceState_AdminStatusType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_5a91e49a45099096, []int{3, 0}
}
type InterfaceState_OperStatusType int32
const (
InterfaceState_DORMANT InterfaceState_OperStatusType = 0
InterfaceState_LOWER_LAYER_DOWN InterfaceState_OperStatusType = 1
InterfaceState_UNKNOWN InterfaceState_OperStatusType = 2
InterfaceState_TESTING InterfaceState_OperStatusType = 3
InterfaceState_UP InterfaceState_OperStatusType = 4
InterfaceState_DOWN InterfaceState_OperStatusType = 5
InterfaceState_NOT_PRESENT InterfaceState_OperStatusType = 6
)
var InterfaceState_OperStatusType_name = map[int32]string{
0: "DORMANT",
1: "LOWER_LAYER_DOWN",
2: "UNKNOWN",
3: "TESTING",
4: "UP",
5: "DOWN",
6: "NOT_PRESENT",
}
var InterfaceState_OperStatusType_value = map[string]int32{
"DORMANT": 0,
"LOWER_LAYER_DOWN": 1,
"UNKNOWN": 2,
"TESTING": 3,
"UP": 4,
"DOWN": 5,
"NOT_PRESENT": 6,
}
func (x InterfaceState_OperStatusType) String() string {
return proto.EnumName(InterfaceState_OperStatusType_name, int32(x))
}
func (InterfaceState_OperStatusType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_5a91e49a45099096, []int{3, 1}
}
type Interfaces struct {
AllInterfaces []*Interface `protobuf:"bytes,1,rep,name=all_interfaces,json=allInterfaces,proto3" json:"all_interfaces,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Interfaces) Reset() { *m = Interfaces{} }
func (m *Interfaces) String() string { return proto.CompactTextString(m) }
func (*Interfaces) ProtoMessage() {}
func (*Interfaces) Descriptor() ([]byte, []int) {
return fileDescriptor_5a91e49a45099096, []int{0}
}
func (m *Interfaces) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Interfaces.Unmarshal(m, b)
}
func (m *Interfaces) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Interfaces.Marshal(b, m, deterministic)
}
func (m *Interfaces) XXX_Merge(src proto.Message) {
xxx_messageInfo_Interfaces.Merge(m, src)
}
func (m *Interfaces) XXX_Size() int {
return xxx_messageInfo_Interfaces.Size(m)
}
func (m *Interfaces) XXX_DiscardUnknown() {
xxx_messageInfo_Interfaces.DiscardUnknown(m)
}
var xxx_messageInfo_Interfaces proto.InternalMessageInfo
func (m *Interfaces) GetAllInterfaces() []*Interface {
if m != nil {
return m.AllInterfaces
}
return nil
}
type Interface struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
LinkUpDownTrapEnable Interface_LinkUpDownTrapEnableType `protobuf:"varint,5,opt,name=link_up_down_trap_enable,json=linkUpDownTrapEnable,proto3,enum=ietf.Interface_LinkUpDownTrapEnableType" json:"link_up_down_trap_enable,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Interface) Reset() { *m = Interface{} }
func (m *Interface) String() string { return proto.CompactTextString(m) }
func (*Interface) ProtoMessage() {}
func (*Interface) Descriptor() ([]byte, []int) {
return fileDescriptor_5a91e49a45099096, []int{1}
}
func (m *Interface) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Interface.Unmarshal(m, b)
}
func (m *Interface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Interface.Marshal(b, m, deterministic)
}
func (m *Interface) XXX_Merge(src proto.Message) {
xxx_messageInfo_Interface.Merge(m, src)
}
func (m *Interface) XXX_Size() int {
return xxx_messageInfo_Interface.Size(m)
}
func (m *Interface) XXX_DiscardUnknown() {
xxx_messageInfo_Interface.DiscardUnknown(m)
}
var xxx_messageInfo_Interface proto.InternalMessageInfo
func (m *Interface) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Interface) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *Interface) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *Interface) GetEnabled() bool {
if m != nil {
return m.Enabled
}
return false
}
func (m *Interface) GetLinkUpDownTrapEnable() Interface_LinkUpDownTrapEnableType {
if m != nil {
return m.LinkUpDownTrapEnable
}
return Interface_TRAP_DISABLED
}
type InterfacesState struct {
AllInterfacs []*InterfaceState `protobuf:"bytes,1,rep,name=all_interfacs,json=allInterfacs,proto3" json:"all_interfacs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *InterfacesState) Reset() { *m = InterfacesState{} }
func (m *InterfacesState) String() string { return proto.CompactTextString(m) }
func (*InterfacesState) ProtoMessage() {}
func (*InterfacesState) Descriptor() ([]byte, []int) {
return fileDescriptor_5a91e49a45099096, []int{2}
}
func (m *InterfacesState) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_InterfacesState.Unmarshal(m, b)
}
func (m *InterfacesState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_InterfacesState.Marshal(b, m, deterministic)
}
func (m *InterfacesState) XXX_Merge(src proto.Message) {
xxx_messageInfo_InterfacesState.Merge(m, src)
}
func (m *InterfacesState) XXX_Size() int {
return xxx_messageInfo_InterfacesState.Size(m)
}
func (m *InterfacesState) XXX_DiscardUnknown() {
xxx_messageInfo_InterfacesState.DiscardUnknown(m)
}
var xxx_messageInfo_InterfacesState proto.InternalMessageInfo
func (m *InterfacesState) GetAllInterfacs() []*InterfaceState {
if m != nil {
return m.AllInterfacs
}
return nil
}
type InterfaceState struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
AdminStatus InterfaceState_AdminStatusType `protobuf:"varint,3,opt,name=admin_status,json=adminStatus,proto3,enum=ietf.InterfaceState_AdminStatusType" json:"admin_status,omitempty"`
OperStatus InterfaceState_OperStatusType `protobuf:"varint,4,opt,name=oper_status,json=operStatus,proto3,enum=ietf.InterfaceState_OperStatusType" json:"oper_status,omitempty"`
LastChange string `protobuf:"bytes,5,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"`
IfIndex int32 `protobuf:"varint,6,opt,name=if_index,json=ifIndex,proto3" json:"if_index,omitempty"`
PhysAddress string `protobuf:"bytes,7,opt,name=phys_address,json=physAddress,proto3" json:"phys_address,omitempty"`
HigherLayerIf []string `protobuf:"bytes,8,rep,name=higher_layer_if,json=higherLayerIf,proto3" json:"higher_layer_if,omitempty"`
LowerLayerIf []string `protobuf:"bytes,9,rep,name=lower_layer_if,json=lowerLayerIf,proto3" json:"lower_layer_if,omitempty"`
Speed uint64 `protobuf:"varint,10,opt,name=speed,proto3" json:"speed,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *InterfaceState) Reset() { *m = InterfaceState{} }
func (m *InterfaceState) String() string { return proto.CompactTextString(m) }
func (*InterfaceState) ProtoMessage() {}
func (*InterfaceState) Descriptor() ([]byte, []int) {
return fileDescriptor_5a91e49a45099096, []int{3}
}
func (m *InterfaceState) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_InterfaceState.Unmarshal(m, b)
}
func (m *InterfaceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_InterfaceState.Marshal(b, m, deterministic)
}
func (m *InterfaceState) XXX_Merge(src proto.Message) {
xxx_messageInfo_InterfaceState.Merge(m, src)
}
func (m *InterfaceState) XXX_Size() int {
return xxx_messageInfo_InterfaceState.Size(m)
}
func (m *InterfaceState) XXX_DiscardUnknown() {
xxx_messageInfo_InterfaceState.DiscardUnknown(m)
}
var xxx_messageInfo_InterfaceState proto.InternalMessageInfo
func (m *InterfaceState) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *InterfaceState) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *InterfaceState) GetAdminStatus() InterfaceState_AdminStatusType {
if m != nil {
return m.AdminStatus
}
return InterfaceState_ADMIN_DOWN
}
func (m *InterfaceState) GetOperStatus() InterfaceState_OperStatusType {
if m != nil {
return m.OperStatus
}
return InterfaceState_DORMANT
}
func (m *InterfaceState) GetLastChange() string {
if m != nil {
return m.LastChange
}
return ""
}
func (m *InterfaceState) GetIfIndex() int32 {
if m != nil {
return m.IfIndex
}
return 0
}
func (m *InterfaceState) GetPhysAddress() string {
if m != nil {
return m.PhysAddress
}
return ""
}
func (m *InterfaceState) GetHigherLayerIf() []string {
if m != nil {
return m.HigherLayerIf
}
return nil
}
func (m *InterfaceState) GetLowerLayerIf() []string {
if m != nil {
return m.LowerLayerIf
}
return nil
}
func (m *InterfaceState) GetSpeed() uint64 {
if m != nil {
return m.Speed
}
return 0
}
func init() {
proto.RegisterEnum("ietf.Interface_LinkUpDownTrapEnableType", Interface_LinkUpDownTrapEnableType_name, Interface_LinkUpDownTrapEnableType_value)
proto.RegisterEnum("ietf.InterfaceState_AdminStatusType", InterfaceState_AdminStatusType_name, InterfaceState_AdminStatusType_value)
proto.RegisterEnum("ietf.InterfaceState_OperStatusType", InterfaceState_OperStatusType_name, InterfaceState_OperStatusType_value)
proto.RegisterType((*Interfaces)(nil), "ietf.Interfaces")
proto.RegisterType((*Interface)(nil), "ietf.Interface")
proto.RegisterType((*InterfacesState)(nil), "ietf.InterfacesState")
proto.RegisterType((*InterfaceState)(nil), "ietf.InterfaceState")
}
func init() {
proto.RegisterFile("voltha_protos/ietf_interfaces.proto", fileDescriptor_5a91e49a45099096)
}
var fileDescriptor_5a91e49a45099096 = []byte{
// 630 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x94, 0xcd, 0x6e, 0xdb, 0x38,
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