Debian Codegraph @

crit/images/bpfmap-data/bpfmap-data.pb.go

raw symbols SCIP
1 // SPDX-License-Identifier: MIT
2
3 // Code generated by protoc-gen-go. DO NOT EDIT.
4 // versions:
5 // protoc-gen-go v1.30.0
6 // protoc v4.23.4
7 // source: bpfmap-data.proto
8
9 package bpfmap_data
10
11 import (
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 type BpfmapDataEntry struct {
26 state protoimpl.MessageState
27 sizeCache protoimpl.SizeCache
28 unknownFields protoimpl.UnknownFields
29
30 MapId *uint32 `protobuf:"varint,1,req,name=map_id,json=mapId" json:"map_id,omitempty"`
31 KeysBytes *uint32 `protobuf:"varint,2,req,name=keys_bytes,json=keysBytes" json:"keys_bytes,omitempty"` // Bytes required to store keys
32 ValuesBytes *uint32 `protobuf:"varint,3,req,name=values_bytes,json=valuesBytes" json:"values_bytes,omitempty"` // Bytes required to store values
33 Count *uint32 `protobuf:"varint,4,req,name=count" json:"count,omitempty"` // Number of key-value pairs stored
34 }
35
36 func (x *BpfmapDataEntry) Reset() {
37 *x = BpfmapDataEntry{}
38 if protoimpl.UnsafeEnabled {
39 mi := &file_bpfmap_data_proto_msgTypes[0]
40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
41 ms.StoreMessageInfo(mi)
42 }
43 }
44
45 func (x *BpfmapDataEntry) String() string {
46 return protoimpl.X.MessageStringOf(x)
47 }
48
49 func (*BpfmapDataEntry) ProtoMessage() {}
50
51 func (x *BpfmapDataEntry) ProtoReflect() protoreflect.Message {
52 mi := &file_bpfmap_data_proto_msgTypes[0]
53 if protoimpl.UnsafeEnabled && x != nil {
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 if ms.LoadMessageInfo() == nil {
56 ms.StoreMessageInfo(mi)
57 }
58 return ms
59 }
60 return mi.MessageOf(x)
61 }
62
63 // Deprecated: Use BpfmapDataEntry.ProtoReflect.Descriptor instead.
64 func (*BpfmapDataEntry) Descriptor() ([]byte, []int) {
65 return file_bpfmap_data_proto_rawDescGZIP(), []int{0}
66 }
67
68 func (x *BpfmapDataEntry) GetMapId() uint32 {
69 if x != nil && x.MapId != nil {
70 return *x.MapId
71 }
72 return 0
73 }
74
75 func (x *BpfmapDataEntry) GetKeysBytes() uint32 {
76 if x != nil && x.KeysBytes != nil {
77 return *x.KeysBytes
78 }
79 return 0
80 }
81
82 func (x *BpfmapDataEntry) GetValuesBytes() uint32 {
83 if x != nil && x.ValuesBytes != nil {
84 return *x.ValuesBytes
85 }
86 return 0
87 }
88
89 func (x *BpfmapDataEntry) GetCount() uint32 {
90 if x != nil && x.Count != nil {
91 return *x.Count
92 }
93 return 0
94 }
95
96 var File_bpfmap_data_proto protoreflect.FileDescriptor
97
98 var file_bpfmap_data_proto_rawDesc = []byte{
99 0x0a, 0x11, 0x62, 0x70, 0x66, 0x6d, 0x61, 0x70, 0x2d, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72,
100 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x11, 0x62, 0x70, 0x66, 0x6d, 0x61, 0x70, 0x5f, 0x64,
101 0x61, 0x74, 0x61, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x15, 0x0a, 0x06, 0x6d, 0x61, 0x70,
102 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x05, 0x6d, 0x61, 0x70, 0x49, 0x64,
103 0x12, 0x1d, 0x0a, 0x0a, 0x6b, 0x65, 0x79, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02,
104 0x20, 0x02, 0x28, 0x0d, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12,
105 0x21, 0x0a, 0x0c, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18,
106 0x03, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x79, 0x74,
107 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x02, 0x28,
108 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74,
109 }
110
111 var (
112 file_bpfmap_data_proto_rawDescOnce sync.Once
113 file_bpfmap_data_proto_rawDescData = file_bpfmap_data_proto_rawDesc
114 )
115
116 func file_bpfmap_data_proto_rawDescGZIP() []byte {
117 file_bpfmap_data_proto_rawDescOnce.Do(func() {
118 file_bpfmap_data_proto_rawDescData = protoimpl.X.CompressGZIP(file_bpfmap_data_proto_rawDescData)
119 })
120 return file_bpfmap_data_proto_rawDescData
121 }
122
123 var file_bpfmap_data_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
124 var file_bpfmap_data_proto_goTypes = []interface{}{
125 (*BpfmapDataEntry)(nil), // 0: bpfmap_data_entry
126 }
127 var file_bpfmap_data_proto_depIdxs = []int32{
128 0, // [0:0] is the sub-list for method output_type
129 0, // [0:0] is the sub-list for method input_type
130 0, // [0:0] is the sub-list for extension type_name
131 0, // [0:0] is the sub-list for extension extendee
132 0, // [0:0] is the sub-list for field type_name
133 }
134
135 func init() { file_bpfmap_data_proto_init() }
136 func file_bpfmap_data_proto_init() {
137 if File_bpfmap_data_proto != nil {
138 return
139 }
140 if !protoimpl.UnsafeEnabled {
141 file_bpfmap_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
142 switch v := v.(*BpfmapDataEntry); i {
143 case 0:
144 return &v.state
145 case 1:
146 return &v.sizeCache
147 case 2:
148 return &v.unknownFields
149 default:
150 return nil
151 }
152 }
153 }
154 type x struct{}
155 out := protoimpl.TypeBuilder{
156 File: protoimpl.DescBuilder{
157 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
158 RawDescriptor: file_bpfmap_data_proto_rawDesc,
159 NumEnums: 0,
160 NumMessages: 1,
161 NumExtensions: 0,
162 NumServices: 0,
163 },
164 GoTypes: file_bpfmap_data_proto_goTypes,
165 DependencyIndexes: file_bpfmap_data_proto_depIdxs,
166 MessageInfos: file_bpfmap_data_proto_msgTypes,
167 }.Build()
168 File_bpfmap_data_proto = out.File
169 file_bpfmap_data_proto_rawDesc = nil
170 file_bpfmap_data_proto_goTypes = nil
171 file_bpfmap_data_proto_depIdxs = nil
172 }