Debian Codegraph @

crit/images/pstree/pstree.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: pstree.proto
8
9 package pstree
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 PstreeEntry struct {
26 state protoimpl.MessageState
27 sizeCache protoimpl.SizeCache
28 unknownFields protoimpl.UnknownFields
29
30 Pid *uint32 `protobuf:"varint,1,req,name=pid" json:"pid,omitempty"`
31 Ppid *uint32 `protobuf:"varint,2,req,name=ppid" json:"ppid,omitempty"`
32 Pgid *uint32 `protobuf:"varint,3,req,name=pgid" json:"pgid,omitempty"`
33 Sid *uint32 `protobuf:"varint,4,req,name=sid" json:"sid,omitempty"`
34 Threads []uint32 `protobuf:"varint,5,rep,name=threads" json:"threads,omitempty"`
35 }
36
37 func (x *PstreeEntry) Reset() {
38 *x = PstreeEntry{}
39 if protoimpl.UnsafeEnabled {
40 mi := &file_pstree_proto_msgTypes[0]
41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42 ms.StoreMessageInfo(mi)
43 }
44 }
45
46 func (x *PstreeEntry) String() string {
47 return protoimpl.X.MessageStringOf(x)
48 }
49
50 func (*PstreeEntry) ProtoMessage() {}
51
52 func (x *PstreeEntry) ProtoReflect() protoreflect.Message {
53 mi := &file_pstree_proto_msgTypes[0]
54 if protoimpl.UnsafeEnabled && x != nil {
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 if ms.LoadMessageInfo() == nil {
57 ms.StoreMessageInfo(mi)
58 }
59 return ms
60 }
61 return mi.MessageOf(x)
62 }
63
64 // Deprecated: Use PstreeEntry.ProtoReflect.Descriptor instead.
65 func (*PstreeEntry) Descriptor() ([]byte, []int) {
66 return file_pstree_proto_rawDescGZIP(), []int{0}
67 }
68
69 func (x *PstreeEntry) GetPid() uint32 {
70 if x != nil && x.Pid != nil {
71 return *x.Pid
72 }
73 return 0
74 }
75
76 func (x *PstreeEntry) GetPpid() uint32 {
77 if x != nil && x.Ppid != nil {
78 return *x.Ppid
79 }
80 return 0
81 }
82
83 func (x *PstreeEntry) GetPgid() uint32 {
84 if x != nil && x.Pgid != nil {
85 return *x.Pgid
86 }
87 return 0
88 }
89
90 func (x *PstreeEntry) GetSid() uint32 {
91 if x != nil && x.Sid != nil {
92 return *x.Sid
93 }
94 return 0
95 }
96
97 func (x *PstreeEntry) GetThreads() []uint32 {
98 if x != nil {
99 return x.Threads
100 }
101 return nil
102 }
103
104 var File_pstree_proto protoreflect.FileDescriptor
105
106 var file_pstree_proto_rawDesc = []byte{
107 0x0a, 0x0c, 0x70, 0x73, 0x74, 0x72, 0x65, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74,
108 0x0a, 0x0c, 0x70, 0x73, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
109 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x03, 0x70, 0x69, 0x64,
110 0x12, 0x12, 0x0a, 0x04, 0x70, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x04,
111 0x70, 0x70, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x67, 0x69, 0x64, 0x18, 0x03, 0x20, 0x02,
112 0x28, 0x0d, 0x52, 0x04, 0x70, 0x67, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x64, 0x18,
113 0x04, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x03, 0x73, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x68,
114 0x72, 0x65, 0x61, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x68, 0x72,
115 0x65, 0x61, 0x64, 0x73,
116 }
117
118 var (
119 file_pstree_proto_rawDescOnce sync.Once
120 file_pstree_proto_rawDescData = file_pstree_proto_rawDesc
121 )
122
123 func file_pstree_proto_rawDescGZIP() []byte {
124 file_pstree_proto_rawDescOnce.Do(func() {
125 file_pstree_proto_rawDescData = protoimpl.X.CompressGZIP(file_pstree_proto_rawDescData)
126 })
127 return file_pstree_proto_rawDescData
128 }
129
130 var file_pstree_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
131 var file_pstree_proto_goTypes = []interface{}{
132 (*PstreeEntry)(nil), // 0: pstree_entry
133 }
134 var file_pstree_proto_depIdxs = []int32{
135 0, // [0:0] is the sub-list for method output_type
136 0, // [0:0] is the sub-list for method input_type
137 0, // [0:0] is the sub-list for extension type_name
138 0, // [0:0] is the sub-list for extension extendee
139 0, // [0:0] is the sub-list for field type_name
140 }
141
142 func init() { file_pstree_proto_init() }
143 func file_pstree_proto_init() {
144 if File_pstree_proto != nil {
145 return
146 }
147 if !protoimpl.UnsafeEnabled {
148 file_pstree_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
149 switch v := v.(*PstreeEntry); i {
150 case 0:
151 return &v.state
152 case 1:
153 return &v.sizeCache
154 case 2:
155 return &v.unknownFields
156 default:
157 return nil
158 }
159 }
160 }
161 type x struct{}
162 out := protoimpl.TypeBuilder{
163 File: protoimpl.DescBuilder{
164 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
165 RawDescriptor: file_pstree_proto_rawDesc,
166 NumEnums: 0,
167 NumMessages: 1,
168 NumExtensions: 0,
169 NumServices: 0,
170 },
171 GoTypes: file_pstree_proto_goTypes,
172 DependencyIndexes: file_pstree_proto_depIdxs,
173 MessageInfos: file_pstree_proto_msgTypes,
174 }.Build()
175 File_pstree_proto = out.File
176 file_pstree_proto_rawDesc = nil
177 file_pstree_proto_goTypes = nil
178 file_pstree_proto_depIdxs = nil
179 }