Debian Codegraph @

crit/images/rlimit/rlimit.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: rlimit.proto
8
9 package rlimit
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 RlimitEntry struct {
26 state protoimpl.MessageState
27 sizeCache protoimpl.SizeCache
28 unknownFields protoimpl.UnknownFields
29
30 Cur *uint64 `protobuf:"varint,1,req,name=cur" json:"cur,omitempty"`
31 Max *uint64 `protobuf:"varint,2,req,name=max" json:"max,omitempty"`
32 }
33
34 func (x *RlimitEntry) Reset() {
35 *x = RlimitEntry{}
36 if protoimpl.UnsafeEnabled {
37 mi := &file_rlimit_proto_msgTypes[0]
38 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
39 ms.StoreMessageInfo(mi)
40 }
41 }
42
43 func (x *RlimitEntry) String() string {
44 return protoimpl.X.MessageStringOf(x)
45 }
46
47 func (*RlimitEntry) ProtoMessage() {}
48
49 func (x *RlimitEntry) ProtoReflect() protoreflect.Message {
50 mi := &file_rlimit_proto_msgTypes[0]
51 if protoimpl.UnsafeEnabled && x != nil {
52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
53 if ms.LoadMessageInfo() == nil {
54 ms.StoreMessageInfo(mi)
55 }
56 return ms
57 }
58 return mi.MessageOf(x)
59 }
60
61 // Deprecated: Use RlimitEntry.ProtoReflect.Descriptor instead.
62 func (*RlimitEntry) Descriptor() ([]byte, []int) {
63 return file_rlimit_proto_rawDescGZIP(), []int{0}
64 }
65
66 func (x *RlimitEntry) GetCur() uint64 {
67 if x != nil && x.Cur != nil {
68 return *x.Cur
69 }
70 return 0
71 }
72
73 func (x *RlimitEntry) GetMax() uint64 {
74 if x != nil && x.Max != nil {
75 return *x.Max
76 }
77 return 0
78 }
79
80 var File_rlimit_proto protoreflect.FileDescriptor
81
82 var file_rlimit_proto_rawDesc = []byte{
83 0x0a, 0x0c, 0x72, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32,
84 0x0a, 0x0c, 0x72, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
85 0x0a, 0x03, 0x63, 0x75, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x03, 0x63, 0x75, 0x72,
86 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x61, 0x78, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x03, 0x6d,
87 0x61, 0x78,
88 }
89
90 var (
91 file_rlimit_proto_rawDescOnce sync.Once
92 file_rlimit_proto_rawDescData = file_rlimit_proto_rawDesc
93 )
94
95 func file_rlimit_proto_rawDescGZIP() []byte {
96 file_rlimit_proto_rawDescOnce.Do(func() {
97 file_rlimit_proto_rawDescData = protoimpl.X.CompressGZIP(file_rlimit_proto_rawDescData)
98 })
99 return file_rlimit_proto_rawDescData
100 }
101
102 var file_rlimit_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
103 var file_rlimit_proto_goTypes = []interface{}{
104 (*RlimitEntry)(nil), // 0: rlimit_entry
105 }
106 var file_rlimit_proto_depIdxs = []int32{
107 0, // [0:0] is the sub-list for method output_type
108 0, // [0:0] is the sub-list for method input_type
109 0, // [0:0] is the sub-list for extension type_name
110 0, // [0:0] is the sub-list for extension extendee
111 0, // [0:0] is the sub-list for field type_name
112 }
113
114 func init() { file_rlimit_proto_init() }
115 func file_rlimit_proto_init() {
116 if File_rlimit_proto != nil {
117 return
118 }
119 if !protoimpl.UnsafeEnabled {
120 file_rlimit_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
121 switch v := v.(*RlimitEntry); i {
122 case 0:
123 return &v.state
124 case 1:
125 return &v.sizeCache
126 case 2:
127 return &v.unknownFields
128 default:
129 return nil
130 }
131 }
132 }
133 type x struct{}
134 out := protoimpl.TypeBuilder{
135 File: protoimpl.DescBuilder{
136 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
137 RawDescriptor: file_rlimit_proto_rawDesc,
138 NumEnums: 0,
139 NumMessages: 1,
140 NumExtensions: 0,
141 NumServices: 0,
142 },
143 GoTypes: file_rlimit_proto_goTypes,
144 DependencyIndexes: file_rlimit_proto_depIdxs,
145 MessageInfos: file_rlimit_proto_msgTypes,
146 }.Build()
147 File_rlimit_proto = out.File
148 file_rlimit_proto_rawDesc = nil
149 file_rlimit_proto_goTypes = nil
150 file_rlimit_proto_depIdxs = nil
151 }