This repository has been archived by the owner on Aug 3, 2020. It is now read-only.
forked from ligato/vpp-agent
/
vrf.pb.go
130 lines (111 loc) · 4.52 KB
/
vrf.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: models/vpp/l3/vrf.proto
package vpp_l3
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/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.GoGoProtoPackageIsVersion2 // please upgrade the proto package
type VrfTable_Protocol int32
const (
VrfTable_IPV4 VrfTable_Protocol = 0
VrfTable_IPV6 VrfTable_Protocol = 1
)
var VrfTable_Protocol_name = map[int32]string{
0: "IPV4",
1: "IPV6",
}
var VrfTable_Protocol_value = map[string]int32{
"IPV4": 0,
"IPV6": 1,
}
func (x VrfTable_Protocol) String() string {
return proto.EnumName(VrfTable_Protocol_name, int32(x))
}
func (VrfTable_Protocol) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_1f737b4f5eb6705c, []int{0, 0}
}
type VrfTable struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Protocol VrfTable_Protocol `protobuf:"varint,2,opt,name=protocol,proto3,enum=vpp.l3.VrfTable_Protocol" json:"protocol,omitempty"`
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VrfTable) Reset() { *m = VrfTable{} }
func (m *VrfTable) String() string { return proto.CompactTextString(m) }
func (*VrfTable) ProtoMessage() {}
func (*VrfTable) Descriptor() ([]byte, []int) {
return fileDescriptor_1f737b4f5eb6705c, []int{0}
}
func (m *VrfTable) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VrfTable.Unmarshal(m, b)
}
func (m *VrfTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VrfTable.Marshal(b, m, deterministic)
}
func (m *VrfTable) XXX_Merge(src proto.Message) {
xxx_messageInfo_VrfTable.Merge(m, src)
}
func (m *VrfTable) XXX_Size() int {
return xxx_messageInfo_VrfTable.Size(m)
}
func (m *VrfTable) XXX_DiscardUnknown() {
xxx_messageInfo_VrfTable.DiscardUnknown(m)
}
var xxx_messageInfo_VrfTable proto.InternalMessageInfo
func (m *VrfTable) GetId() uint32 {
if m != nil {
return m.Id
}
return 0
}
func (m *VrfTable) GetProtocol() VrfTable_Protocol {
if m != nil {
return m.Protocol
}
return VrfTable_IPV4
}
func (m *VrfTable) GetLabel() string {
if m != nil {
return m.Label
}
return ""
}
func (*VrfTable) XXX_MessageName() string {
return "vpp.l3.VrfTable"
}
func init() {
proto.RegisterEnum("vpp.l3.VrfTable_Protocol", VrfTable_Protocol_name, VrfTable_Protocol_value)
proto.RegisterType((*VrfTable)(nil), "vpp.l3.VrfTable")
}
func init() { proto.RegisterFile("models/vpp/l3/vrf.proto", fileDescriptor_1f737b4f5eb6705c) }
var fileDescriptor_1f737b4f5eb6705c = []byte{
// 229 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcf, 0xcd, 0x4f, 0x49,
0xc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