/
ldp_lsp_ingress_stats.pb.go
244 lines (218 loc) · 10.2 KB
/
ldp_lsp_ingress_stats.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: ldp_lsp_ingress_stats.proto
package telemetry
import (
fmt "fmt"
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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
// Top-level message
//
type LdpLspIngressStats struct {
// List of LDP LSP stats record
LdpLspIngressStatsRecords []*LdpLspIngressRecord `protobuf:"bytes,1,rep,name=ldp_lsp_ingress_stats_records,json=ldpLspIngressStatsRecords" json:"ldp_lsp_ingress_stats_records,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LdpLspIngressStats) Reset() { *m = LdpLspIngressStats{} }
func (m *LdpLspIngressStats) String() string { return proto.CompactTextString(m) }
func (*LdpLspIngressStats) ProtoMessage() {}
func (*LdpLspIngressStats) Descriptor() ([]byte, []int) {
return fileDescriptor_44710a4bf6e19bef, []int{0}
}
func (m *LdpLspIngressStats) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LdpLspIngressStats.Unmarshal(m, b)
}
func (m *LdpLspIngressStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LdpLspIngressStats.Marshal(b, m, deterministic)
}
func (m *LdpLspIngressStats) XXX_Merge(src proto.Message) {
xxx_messageInfo_LdpLspIngressStats.Merge(m, src)
}
func (m *LdpLspIngressStats) XXX_Size() int {
return xxx_messageInfo_LdpLspIngressStats.Size(m)
}
func (m *LdpLspIngressStats) XXX_DiscardUnknown() {
xxx_messageInfo_LdpLspIngressStats.DiscardUnknown(m)
}
var xxx_messageInfo_LdpLspIngressStats proto.InternalMessageInfo
func (m *LdpLspIngressStats) GetLdpLspIngressStatsRecords() []*LdpLspIngressRecord {
if m != nil {
return m.LdpLspIngressStatsRecords
}
return nil
}
//
// LDP LSP Ingress statistics record
//
type LdpLspIngressRecord struct {
// IP prefix
IpPrefix *string `protobuf:"bytes,1,req,name=ip_prefix,json=ipPrefix" json:"ip_prefix,omitempty"`
// Instance Identifier for cases when RPD creates multiple instances
InstanceIdentifier *uint32 `protobuf:"varint,2,opt,name=instance_identifier,json=instanceIdentifier" json:"instance_identifier,omitempty"`
// Name of the counter.
CounterName *string `protobuf:"bytes,3,opt,name=counter_name,json=counterName" json:"counter_name,omitempty"`
// Statistics
Stats *LabelDistributionProtocolLspIngressStats `protobuf:"bytes,4,opt,name=stats" json:"stats,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LdpLspIngressRecord) Reset() { *m = LdpLspIngressRecord{} }
func (m *LdpLspIngressRecord) String() string { return proto.CompactTextString(m) }
func (*LdpLspIngressRecord) ProtoMessage() {}
func (*LdpLspIngressRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_44710a4bf6e19bef, []int{1}
}
func (m *LdpLspIngressRecord) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LdpLspIngressRecord.Unmarshal(m, b)
}
func (m *LdpLspIngressRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LdpLspIngressRecord.Marshal(b, m, deterministic)
}
func (m *LdpLspIngressRecord) XXX_Merge(src proto.Message) {
xxx_messageInfo_LdpLspIngressRecord.Merge(m, src)
}
func (m *LdpLspIngressRecord) XXX_Size() int {
return xxx_messageInfo_LdpLspIngressRecord.Size(m)
}
func (m *LdpLspIngressRecord) XXX_DiscardUnknown() {
xxx_messageInfo_LdpLspIngressRecord.DiscardUnknown(m)
}
var xxx_messageInfo_LdpLspIngressRecord proto.InternalMessageInfo
func (m *LdpLspIngressRecord) GetIpPrefix() string {
if m != nil && m.IpPrefix != nil {
return *m.IpPrefix
}
return ""
}
func (m *LdpLspIngressRecord) GetInstanceIdentifier() uint32 {
if m != nil && m.InstanceIdentifier != nil {
return *m.InstanceIdentifier
}
return 0
}
func (m *LdpLspIngressRecord) GetCounterName() string {
if m != nil && m.CounterName != nil {
return *m.CounterName
}
return ""
}
func (m *LdpLspIngressRecord) GetStats() *LabelDistributionProtocolLspIngressStats {
if m != nil {
return m.Stats
}
return nil
}
type LabelDistributionProtocolLspIngressStats struct {
// Packet and Byte statistics
Packets *uint64 `protobuf:"varint,1,opt,name=packets" json:"packets,omitempty"`
Bytes *uint64 `protobuf:"varint,2,opt,name=bytes" json:"bytes,omitempty"`
// Rates of the above counters
PacketRate *uint64 `protobuf:"varint,3,opt,name=packet_rate,json=packetRate" json:"packet_rate,omitempty"`
ByteRate *uint64 `protobuf:"varint,4,opt,name=byte_rate,json=byteRate" json:"byte_rate,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LabelDistributionProtocolLspIngressStats) Reset() {
*m = LabelDistributionProtocolLspIngressStats{}
}
func (m *LabelDistributionProtocolLspIngressStats) String() string { return proto.CompactTextString(m) }
func (*LabelDistributionProtocolLspIngressStats) ProtoMessage() {}
func (*LabelDistributionProtocolLspIngressStats) Descriptor() ([]byte, []int) {
return fileDescriptor_44710a4bf6e19bef, []int{2}
}
func (m *LabelDistributionProtocolLspIngressStats) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LabelDistributionProtocolLspIngressStats.Unmarshal(m, b)
}
func (m *LabelDistributionProtocolLspIngressStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LabelDistributionProtocolLspIngressStats.Marshal(b, m, deterministic)
}
func (m *LabelDistributionProtocolLspIngressStats) XXX_Merge(src proto.Message) {
xxx_messageInfo_LabelDistributionProtocolLspIngressStats.Merge(m, src)
}
func (m *LabelDistributionProtocolLspIngressStats) XXX_Size() int {
return xxx_messageInfo_LabelDistributionProtocolLspIngressStats.Size(m)
}
func (m *LabelDistributionProtocolLspIngressStats) XXX_DiscardUnknown() {
xxx_messageInfo_LabelDistributionProtocolLspIngressStats.DiscardUnknown(m)
}
var xxx_messageInfo_LabelDistributionProtocolLspIngressStats proto.InternalMessageInfo
func (m *LabelDistributionProtocolLspIngressStats) GetPackets() uint64 {
if m != nil && m.Packets != nil {
return *m.Packets
}
return 0
}
func (m *LabelDistributionProtocolLspIngressStats) GetBytes() uint64 {
if m != nil && m.Bytes != nil {
return *m.Bytes
}
return 0
}
func (m *LabelDistributionProtocolLspIngressStats) GetPacketRate() uint64 {
if m != nil && m.PacketRate != nil {
return *m.PacketRate
}
return 0
}
func (m *LabelDistributionProtocolLspIngressStats) GetByteRate() uint64 {
if m != nil && m.ByteRate != nil {
return *m.ByteRate
}
return 0
}
var E_JnprLdpLspIngressStatsExt = &proto.ExtensionDesc{
ExtendedType: (*JuniperNetworksSensors)(nil),
ExtensionType: (*LdpLspIngressStats)(nil),
Field: 153,
Name: "jnpr_ldp_lsp_ingress_stats_ext",
Tag: "bytes,153,opt,name=jnpr_ldp_lsp_ingress_stats_ext",
Filename: "ldp_lsp_ingress_stats.proto",
}
func init() {
proto.RegisterType((*LdpLspIngressStats)(nil), "LdpLspIngressStats")
proto.RegisterType((*LdpLspIngressRecord)(nil), "LdpLspIngressRecord")
proto.RegisterType((*LabelDistributionProtocolLspIngressStats)(nil), "LabelDistributionProtocolLspIngressStats")
proto.RegisterExtension(E_JnprLdpLspIngressStatsExt)
}
func init() { proto.RegisterFile("ldp_lsp_ingress_stats.proto", fileDescriptor_44710a4bf6e19bef) }
var fileDescriptor_44710a4bf6e19bef = []byte{
// 383 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcd, 0x8e, 0xd3, 0x30,
0x14, 0x85, 0xe5, 0xfe, 0x88, 0xd6, 0x81, 0x8d, 0x83, 0x44, 0x4a, 0x05, 0x44, 0x59, 0xa0, 0xb0,
0xc9, 0xa2, 0x0b, 0x16, 0x6c, 0x40, 0x08, 0x16, 0x45, 0x55, 0x55, 0xa5, 0x12, 0x5b, 0xcb, 0x4d,
0x6e, 0x91, 0x69, 0x6a, 0x5b, 0xf6, 0xad, 0x68, 0xb7, 0xbc, 0xc5, 0xbc, 0xc7, 0x3c, 0xce, 0x3c,
0xcc, 0xc8, 0xf1, 0xb4, 0xf3, 0xd3, 0x2e, 0x66, 0x7b, 0xce, 0x77, 0xae, 0x72, 0x4e, 0x4c, 0xc7,
0x4d, 0x6d, 0x78, 0xe3, 0x0c, 0x97, 0xea, 0x8f, 0x05, 0xe7, 0xb8, 0x43, 0x81, 0xae, 0x30, 0x56,
0xa3, 0x7e, 0x1b, 0x23, 0x34, 0xb0, 0x05, 0xb4, 0x07, 0x8e, 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