• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2023 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Code generated by protoc-gen-go. DO NOT EDIT.
6// versions:
7// 	protoc-gen-go v1.27.1
8// 	protoc        v3.17.1
9// source: chromiumos/config/api/schedqos_config.proto
10
11package api
12
13import (
14	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
17	reflect "reflect"
18	sync "sync"
19)
20
21const (
22	// Verify that this generated code is sufficiently up-to-date.
23	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24	// Verify that runtime/protoimpl is sufficiently up-to-date.
25	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26)
27
28type SchedqosConfig_CpusetCgroup int32
29
30const (
31	SchedqosConfig_CPUSET_CGROUP_DEFAULT SchedqosConfig_CpusetCgroup = 0
32	// The task runs on all cores
33	SchedqosConfig_CPUSET_CGROUP_ALL SchedqosConfig_CpusetCgroup = 1
34	// The task runs on efficient cores only
35	SchedqosConfig_CPUSET_CGROUP_EFFICIENT SchedqosConfig_CpusetCgroup = 2
36)
37
38// Enum value maps for SchedqosConfig_CpusetCgroup.
39var (
40	SchedqosConfig_CpusetCgroup_name = map[int32]string{
41		0: "CPUSET_CGROUP_DEFAULT",
42		1: "CPUSET_CGROUP_ALL",
43		2: "CPUSET_CGROUP_EFFICIENT",
44	}
45	SchedqosConfig_CpusetCgroup_value = map[string]int32{
46		"CPUSET_CGROUP_DEFAULT":   0,
47		"CPUSET_CGROUP_ALL":       1,
48		"CPUSET_CGROUP_EFFICIENT": 2,
49	}
50)
51
52func (x SchedqosConfig_CpusetCgroup) Enum() *SchedqosConfig_CpusetCgroup {
53	p := new(SchedqosConfig_CpusetCgroup)
54	*p = x
55	return p
56}
57
58func (x SchedqosConfig_CpusetCgroup) String() string {
59	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
60}
61
62func (SchedqosConfig_CpusetCgroup) Descriptor() protoreflect.EnumDescriptor {
63	return file_chromiumos_config_api_schedqos_config_proto_enumTypes[0].Descriptor()
64}
65
66func (SchedqosConfig_CpusetCgroup) Type() protoreflect.EnumType {
67	return &file_chromiumos_config_api_schedqos_config_proto_enumTypes[0]
68}
69
70func (x SchedqosConfig_CpusetCgroup) Number() protoreflect.EnumNumber {
71	return protoreflect.EnumNumber(x)
72}
73
74// Deprecated: Use SchedqosConfig_CpusetCgroup.Descriptor instead.
75func (SchedqosConfig_CpusetCgroup) EnumDescriptor() ([]byte, []int) {
76	return file_chromiumos_config_api_schedqos_config_proto_rawDescGZIP(), []int{0, 0}
77}
78
79// Defines configuration settings for schedqos of resourced.
80//
81// NEXT ID: 2
82type SchedqosConfig struct {
83	state         protoimpl.MessageState
84	sizeCache     protoimpl.SizeCache
85	unknownFields protoimpl.UnknownFields
86
87	// The default config set.
88	Default *SchedqosConfig_ConfigSet `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"`
89}
90
91func (x *SchedqosConfig) Reset() {
92	*x = SchedqosConfig{}
93	if protoimpl.UnsafeEnabled {
94		mi := &file_chromiumos_config_api_schedqos_config_proto_msgTypes[0]
95		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
96		ms.StoreMessageInfo(mi)
97	}
98}
99
100func (x *SchedqosConfig) String() string {
101	return protoimpl.X.MessageStringOf(x)
102}
103
104func (*SchedqosConfig) ProtoMessage() {}
105
106func (x *SchedqosConfig) ProtoReflect() protoreflect.Message {
107	mi := &file_chromiumos_config_api_schedqos_config_proto_msgTypes[0]
108	if protoimpl.UnsafeEnabled && x != nil {
109		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
110		if ms.LoadMessageInfo() == nil {
111			ms.StoreMessageInfo(mi)
112		}
113		return ms
114	}
115	return mi.MessageOf(x)
116}
117
118// Deprecated: Use SchedqosConfig.ProtoReflect.Descriptor instead.
119func (*SchedqosConfig) Descriptor() ([]byte, []int) {
120	return file_chromiumos_config_api_schedqos_config_proto_rawDescGZIP(), []int{0}
121}
122
123func (x *SchedqosConfig) GetDefault() *SchedqosConfig_ConfigSet {
124	if x != nil {
125		return x.Default
126	}
127	return nil
128}
129
130type SchedqosConfig_ThreadConfig struct {
131	state         protoimpl.MessageState
132	sizeCache     protoimpl.SizeCache
133	unknownFields protoimpl.UnknownFields
134
135	// The priority on RT mode.
136	// Negative value to disable RT.
137	RtPriority *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=rt_priority,json=rtPriority,proto3" json:"rt_priority,omitempty"`
138	// nice value
139	//
140	// Valid values: -20 ~ 19
141	Nice *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=nice,proto3" json:"nice,omitempty"`
142	// The UCLAMP_MIN value.
143	//
144	// Valid values: 0 ~ 1024
145	UclampMin *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=uclamp_min,json=uclampMin,proto3" json:"uclamp_min,omitempty"`
146	// The cpuset cgroup to use.
147	CpusetCgroup SchedqosConfig_CpusetCgroup `protobuf:"varint,4,opt,name=cpuset_cgroup,json=cpusetCgroup,proto3,enum=chromiumos.config.api.SchedqosConfig_CpusetCgroup" json:"cpuset_cgroup,omitempty"`
148	// Whether the task is latency sensitive or not.
149	//
150	// This value is set to `/proc/pid/task/tid/latency_sensitive`
151	LatencySensitive *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=latency_sensitive,json=latencySensitive,proto3" json:"latency_sensitive,omitempty"`
152}
153
154func (x *SchedqosConfig_ThreadConfig) Reset() {
155	*x = SchedqosConfig_ThreadConfig{}
156	if protoimpl.UnsafeEnabled {
157		mi := &file_chromiumos_config_api_schedqos_config_proto_msgTypes[1]
158		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
159		ms.StoreMessageInfo(mi)
160	}
161}
162
163func (x *SchedqosConfig_ThreadConfig) String() string {
164	return protoimpl.X.MessageStringOf(x)
165}
166
167func (*SchedqosConfig_ThreadConfig) ProtoMessage() {}
168
169func (x *SchedqosConfig_ThreadConfig) ProtoReflect() protoreflect.Message {
170	mi := &file_chromiumos_config_api_schedqos_config_proto_msgTypes[1]
171	if protoimpl.UnsafeEnabled && x != nil {
172		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
173		if ms.LoadMessageInfo() == nil {
174			ms.StoreMessageInfo(mi)
175		}
176		return ms
177	}
178	return mi.MessageOf(x)
179}
180
181// Deprecated: Use SchedqosConfig_ThreadConfig.ProtoReflect.Descriptor instead.
182func (*SchedqosConfig_ThreadConfig) Descriptor() ([]byte, []int) {
183	return file_chromiumos_config_api_schedqos_config_proto_rawDescGZIP(), []int{0, 0}
184}
185
186func (x *SchedqosConfig_ThreadConfig) GetRtPriority() *wrapperspb.Int32Value {
187	if x != nil {
188		return x.RtPriority
189	}
190	return nil
191}
192
193func (x *SchedqosConfig_ThreadConfig) GetNice() *wrapperspb.Int32Value {
194	if x != nil {
195		return x.Nice
196	}
197	return nil
198}
199
200func (x *SchedqosConfig_ThreadConfig) GetUclampMin() *wrapperspb.UInt32Value {
201	if x != nil {
202		return x.UclampMin
203	}
204	return nil
205}
206
207func (x *SchedqosConfig_ThreadConfig) GetCpusetCgroup() SchedqosConfig_CpusetCgroup {
208	if x != nil {
209		return x.CpusetCgroup
210	}
211	return SchedqosConfig_CPUSET_CGROUP_DEFAULT
212}
213
214func (x *SchedqosConfig_ThreadConfig) GetLatencySensitive() *wrapperspb.BoolValue {
215	if x != nil {
216		return x.LatencySensitive
217	}
218	return nil
219}
220
221type SchedqosConfig_ConfigSet struct {
222	state         protoimpl.MessageState
223	sizeCache     protoimpl.SizeCache
224	unknownFields protoimpl.UnknownFields
225
226	// The cpu share of normal cpu cgroup.
227	NormalCpuShare uint32 `protobuf:"varint,1,opt,name=normal_cpu_share,json=normalCpuShare,proto3" json:"normal_cpu_share,omitempty"`
228	// The cpu share of background cpu cgroup.
229	BackgroundCpuShare uint32 `protobuf:"varint,2,opt,name=background_cpu_share,json=backgroundCpuShare,proto3" json:"background_cpu_share,omitempty"`
230	// The thread config for URGENT_BURSTY state.
231	ThreadUrgentBursty *SchedqosConfig_ThreadConfig `protobuf:"bytes,3,opt,name=thread_urgent_bursty,json=threadUrgentBursty,proto3" json:"thread_urgent_bursty,omitempty"`
232	// The thread config for URGENT state.
233	ThreadUrgent *SchedqosConfig_ThreadConfig `protobuf:"bytes,4,opt,name=thread_urgent,json=threadUrgent,proto3" json:"thread_urgent,omitempty"`
234	// The thread config for BALANCED state.
235	ThreadBalanced *SchedqosConfig_ThreadConfig `protobuf:"bytes,5,opt,name=thread_balanced,json=threadBalanced,proto3" json:"thread_balanced,omitempty"`
236	// The thread config for ECO state.
237	ThreadEco *SchedqosConfig_ThreadConfig `protobuf:"bytes,6,opt,name=thread_eco,json=threadEco,proto3" json:"thread_eco,omitempty"`
238	// The thread config for UTILITY state.
239	ThreadUtility *SchedqosConfig_ThreadConfig `protobuf:"bytes,7,opt,name=thread_utility,json=threadUtility,proto3" json:"thread_utility,omitempty"`
240	// The thread config for BACKGROUND state.
241	ThreadBackground *SchedqosConfig_ThreadConfig `protobuf:"bytes,8,opt,name=thread_background,json=threadBackground,proto3" json:"thread_background,omitempty"`
242	// The thread config for URGENT_BURSTY_SERVER state.
243	ThreadUrgentBurstyServer *SchedqosConfig_ThreadConfig `protobuf:"bytes,9,opt,name=thread_urgent_bursty_server,json=threadUrgentBurstyServer,proto3" json:"thread_urgent_bursty_server,omitempty"`
244	// The thread config for URGENT_BURSTY_CLIENT state.
245	ThreadUrgentBurstyClient *SchedqosConfig_ThreadConfig `protobuf:"bytes,10,opt,name=thread_urgent_bursty_client,json=threadUrgentBurstyClient,proto3" json:"thread_urgent_bursty_client,omitempty"`
246}
247
248func (x *SchedqosConfig_ConfigSet) Reset() {
249	*x = SchedqosConfig_ConfigSet{}
250	if protoimpl.UnsafeEnabled {
251		mi := &file_chromiumos_config_api_schedqos_config_proto_msgTypes[2]
252		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
253		ms.StoreMessageInfo(mi)
254	}
255}
256
257func (x *SchedqosConfig_ConfigSet) String() string {
258	return protoimpl.X.MessageStringOf(x)
259}
260
261func (*SchedqosConfig_ConfigSet) ProtoMessage() {}
262
263func (x *SchedqosConfig_ConfigSet) ProtoReflect() protoreflect.Message {
264	mi := &file_chromiumos_config_api_schedqos_config_proto_msgTypes[2]
265	if protoimpl.UnsafeEnabled && x != nil {
266		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
267		if ms.LoadMessageInfo() == nil {
268			ms.StoreMessageInfo(mi)
269		}
270		return ms
271	}
272	return mi.MessageOf(x)
273}
274
275// Deprecated: Use SchedqosConfig_ConfigSet.ProtoReflect.Descriptor instead.
276func (*SchedqosConfig_ConfigSet) Descriptor() ([]byte, []int) {
277	return file_chromiumos_config_api_schedqos_config_proto_rawDescGZIP(), []int{0, 1}
278}
279
280func (x *SchedqosConfig_ConfigSet) GetNormalCpuShare() uint32 {
281	if x != nil {
282		return x.NormalCpuShare
283	}
284	return 0
285}
286
287func (x *SchedqosConfig_ConfigSet) GetBackgroundCpuShare() uint32 {
288	if x != nil {
289		return x.BackgroundCpuShare
290	}
291	return 0
292}
293
294func (x *SchedqosConfig_ConfigSet) GetThreadUrgentBursty() *SchedqosConfig_ThreadConfig {
295	if x != nil {
296		return x.ThreadUrgentBursty
297	}
298	return nil
299}
300
301func (x *SchedqosConfig_ConfigSet) GetThreadUrgent() *SchedqosConfig_ThreadConfig {
302	if x != nil {
303		return x.ThreadUrgent
304	}
305	return nil
306}
307
308func (x *SchedqosConfig_ConfigSet) GetThreadBalanced() *SchedqosConfig_ThreadConfig {
309	if x != nil {
310		return x.ThreadBalanced
311	}
312	return nil
313}
314
315func (x *SchedqosConfig_ConfigSet) GetThreadEco() *SchedqosConfig_ThreadConfig {
316	if x != nil {
317		return x.ThreadEco
318	}
319	return nil
320}
321
322func (x *SchedqosConfig_ConfigSet) GetThreadUtility() *SchedqosConfig_ThreadConfig {
323	if x != nil {
324		return x.ThreadUtility
325	}
326	return nil
327}
328
329func (x *SchedqosConfig_ConfigSet) GetThreadBackground() *SchedqosConfig_ThreadConfig {
330	if x != nil {
331		return x.ThreadBackground
332	}
333	return nil
334}
335
336func (x *SchedqosConfig_ConfigSet) GetThreadUrgentBurstyServer() *SchedqosConfig_ThreadConfig {
337	if x != nil {
338		return x.ThreadUrgentBurstyServer
339	}
340	return nil
341}
342
343func (x *SchedqosConfig_ConfigSet) GetThreadUrgentBurstyClient() *SchedqosConfig_ThreadConfig {
344	if x != nil {
345		return x.ThreadUrgentBurstyClient
346	}
347	return nil
348}
349
350var File_chromiumos_config_api_schedqos_config_proto protoreflect.FileDescriptor
351
352var file_chromiumos_config_api_schedqos_config_proto_rawDesc = []byte{
353	0x0a, 0x2b, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e,
354	0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x71, 0x6f, 0x73,
355	0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x63,
356	0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
357	0x2e, 0x61, 0x70, 0x69, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
358	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70,
359	0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x0b, 0x0a, 0x0e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x71, 0x6f,
360	0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x49, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75,
361	0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d,
362	0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69,
363	0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x71, 0x6f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
364	0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75,
365	0x6c, 0x74, 0x1a, 0xdc, 0x02, 0x0a, 0x0c, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x6e,
366	0x66, 0x69, 0x67, 0x12, 0x3c, 0x0a, 0x0b, 0x72, 0x74, 0x5f, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69,
367	0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
368	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32,
369	0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x72, 0x74, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74,
370	0x79, 0x12, 0x2f, 0x0a, 0x04, 0x6e, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
371	0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
372	0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6e, 0x69,
373	0x63, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x75, 0x63, 0x6c, 0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x69, 0x6e,
374	0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
375	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
376	0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x75, 0x63, 0x6c, 0x61, 0x6d, 0x70, 0x4d, 0x69, 0x6e, 0x12,
377	0x57, 0x0a, 0x0d, 0x63, 0x70, 0x75, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70,
378	0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75,
379	0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53,
380	0x63, 0x68, 0x65, 0x64, 0x71, 0x6f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x70,
381	0x75, 0x73, 0x65, 0x74, 0x43, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0c, 0x63, 0x70, 0x75, 0x73,
382	0x65, 0x74, 0x43, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x47, 0x0a, 0x11, 0x6c, 0x61, 0x74, 0x65,
383	0x6e, 0x63, 0x79, 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x05, 0x20,
384	0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
385	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
386	0x10, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76,
387	0x65, 0x1a, 0xf8, 0x06, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x12,
388	0x28, 0x0a, 0x10, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x73, 0x68,
389	0x61, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6e, 0x6f, 0x72, 0x6d, 0x61,
390	0x6c, 0x43, 0x70, 0x75, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x61, 0x63,
391	0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x73, 0x68, 0x61, 0x72,
392	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f,
393	0x75, 0x6e, 0x64, 0x43, 0x70, 0x75, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x64, 0x0a, 0x14, 0x74,
394	0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x75, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x75, 0x72,
395	0x73, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x68, 0x72, 0x6f,
396	0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70,
397	0x69, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x71, 0x6f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
398	0x2e, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x12, 0x74,
399	0x68, 0x72, 0x65, 0x61, 0x64, 0x55, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x42, 0x75, 0x72, 0x73, 0x74,
400	0x79, 0x12, 0x57, 0x0a, 0x0d, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x75, 0x72, 0x67, 0x65,
401	0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d,
402	0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69,
403	0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x71, 0x6f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
404	0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x74, 0x68,
405	0x72, 0x65, 0x61, 0x64, 0x55, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x5b, 0x0a, 0x0f, 0x74, 0x68,
406	0x72, 0x65, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20,
407	0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73,
408	0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x63, 0x68, 0x65,
409	0x64, 0x71, 0x6f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x61,
410	0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x42,
411	0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x51, 0x0a, 0x0a, 0x74, 0x68, 0x72, 0x65, 0x61,
412	0x64, 0x5f, 0x65, 0x63, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x68,
413	0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
414	0x61, 0x70, 0x69, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x71, 0x6f, 0x73, 0x43, 0x6f, 0x6e, 0x66,
415	0x69, 0x67, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
416	0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x45, 0x63, 0x6f, 0x12, 0x59, 0x0a, 0x0e, 0x74, 0x68,
417	0x72, 0x65, 0x61, 0x64, 0x5f, 0x75, 0x74, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01,
418	0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e,
419	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64,
420	0x71, 0x6f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64,
421	0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x55, 0x74,
422	0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x5f, 0x0a, 0x11, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f,
423	0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
424	0x32, 0x32, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f,
425	0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x71, 0x6f,
426	0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f,
427	0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x42, 0x61, 0x63, 0x6b,
428	0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x71, 0x0a, 0x1b, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64,
429	0x5f, 0x75, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x75, 0x72, 0x73, 0x74, 0x79, 0x5f, 0x73,
430	0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x68,
431	0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
432	0x61, 0x70, 0x69, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x71, 0x6f, 0x73, 0x43, 0x6f, 0x6e, 0x66,
433	0x69, 0x67, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
434	0x18, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x55, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x42, 0x75, 0x72,
435	0x73, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x71, 0x0a, 0x1b, 0x74, 0x68, 0x72,
436	0x65, 0x61, 0x64, 0x5f, 0x75, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x75, 0x72, 0x73, 0x74,
437	0x79, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32,
438	0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
439	0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x71, 0x6f, 0x73, 0x43,
440	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x6e, 0x66,
441	0x69, 0x67, 0x52, 0x18, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x55, 0x72, 0x67, 0x65, 0x6e, 0x74,
442	0x42, 0x75, 0x72, 0x73, 0x74, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x22, 0x5d, 0x0a, 0x0c,
443	0x43, 0x70, 0x75, 0x73, 0x65, 0x74, 0x43, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x19, 0x0a, 0x15,
444	0x43, 0x50, 0x55, 0x53, 0x45, 0x54, 0x5f, 0x43, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x44, 0x45,
445	0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x50, 0x55, 0x53, 0x45,
446	0x54, 0x5f, 0x43, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x41, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x1b,
447	0x0a, 0x17, 0x43, 0x50, 0x55, 0x53, 0x45, 0x54, 0x5f, 0x43, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f,
448	0x45, 0x46, 0x46, 0x49, 0x43, 0x49, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x42, 0x2a, 0x5a, 0x28, 0x67,
449	0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x63,
450	0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
451	0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
452}
453
454var (
455	file_chromiumos_config_api_schedqos_config_proto_rawDescOnce sync.Once
456	file_chromiumos_config_api_schedqos_config_proto_rawDescData = file_chromiumos_config_api_schedqos_config_proto_rawDesc
457)
458
459func file_chromiumos_config_api_schedqos_config_proto_rawDescGZIP() []byte {
460	file_chromiumos_config_api_schedqos_config_proto_rawDescOnce.Do(func() {
461		file_chromiumos_config_api_schedqos_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromiumos_config_api_schedqos_config_proto_rawDescData)
462	})
463	return file_chromiumos_config_api_schedqos_config_proto_rawDescData
464}
465
466var file_chromiumos_config_api_schedqos_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
467var file_chromiumos_config_api_schedqos_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
468var file_chromiumos_config_api_schedqos_config_proto_goTypes = []interface{}{
469	(SchedqosConfig_CpusetCgroup)(0),    // 0: chromiumos.config.api.SchedqosConfig.CpusetCgroup
470	(*SchedqosConfig)(nil),              // 1: chromiumos.config.api.SchedqosConfig
471	(*SchedqosConfig_ThreadConfig)(nil), // 2: chromiumos.config.api.SchedqosConfig.ThreadConfig
472	(*SchedqosConfig_ConfigSet)(nil),    // 3: chromiumos.config.api.SchedqosConfig.ConfigSet
473	(*wrapperspb.Int32Value)(nil),       // 4: google.protobuf.Int32Value
474	(*wrapperspb.UInt32Value)(nil),      // 5: google.protobuf.UInt32Value
475	(*wrapperspb.BoolValue)(nil),        // 6: google.protobuf.BoolValue
476}
477var file_chromiumos_config_api_schedqos_config_proto_depIdxs = []int32{
478	3,  // 0: chromiumos.config.api.SchedqosConfig.default:type_name -> chromiumos.config.api.SchedqosConfig.ConfigSet
479	4,  // 1: chromiumos.config.api.SchedqosConfig.ThreadConfig.rt_priority:type_name -> google.protobuf.Int32Value
480	4,  // 2: chromiumos.config.api.SchedqosConfig.ThreadConfig.nice:type_name -> google.protobuf.Int32Value
481	5,  // 3: chromiumos.config.api.SchedqosConfig.ThreadConfig.uclamp_min:type_name -> google.protobuf.UInt32Value
482	0,  // 4: chromiumos.config.api.SchedqosConfig.ThreadConfig.cpuset_cgroup:type_name -> chromiumos.config.api.SchedqosConfig.CpusetCgroup
483	6,  // 5: chromiumos.config.api.SchedqosConfig.ThreadConfig.latency_sensitive:type_name -> google.protobuf.BoolValue
484	2,  // 6: chromiumos.config.api.SchedqosConfig.ConfigSet.thread_urgent_bursty:type_name -> chromiumos.config.api.SchedqosConfig.ThreadConfig
485	2,  // 7: chromiumos.config.api.SchedqosConfig.ConfigSet.thread_urgent:type_name -> chromiumos.config.api.SchedqosConfig.ThreadConfig
486	2,  // 8: chromiumos.config.api.SchedqosConfig.ConfigSet.thread_balanced:type_name -> chromiumos.config.api.SchedqosConfig.ThreadConfig
487	2,  // 9: chromiumos.config.api.SchedqosConfig.ConfigSet.thread_eco:type_name -> chromiumos.config.api.SchedqosConfig.ThreadConfig
488	2,  // 10: chromiumos.config.api.SchedqosConfig.ConfigSet.thread_utility:type_name -> chromiumos.config.api.SchedqosConfig.ThreadConfig
489	2,  // 11: chromiumos.config.api.SchedqosConfig.ConfigSet.thread_background:type_name -> chromiumos.config.api.SchedqosConfig.ThreadConfig
490	2,  // 12: chromiumos.config.api.SchedqosConfig.ConfigSet.thread_urgent_bursty_server:type_name -> chromiumos.config.api.SchedqosConfig.ThreadConfig
491	2,  // 13: chromiumos.config.api.SchedqosConfig.ConfigSet.thread_urgent_bursty_client:type_name -> chromiumos.config.api.SchedqosConfig.ThreadConfig
492	14, // [14:14] is the sub-list for method output_type
493	14, // [14:14] is the sub-list for method input_type
494	14, // [14:14] is the sub-list for extension type_name
495	14, // [14:14] is the sub-list for extension extendee
496	0,  // [0:14] is the sub-list for field type_name
497}
498
499func init() { file_chromiumos_config_api_schedqos_config_proto_init() }
500func file_chromiumos_config_api_schedqos_config_proto_init() {
501	if File_chromiumos_config_api_schedqos_config_proto != nil {
502		return
503	}
504	if !protoimpl.UnsafeEnabled {
505		file_chromiumos_config_api_schedqos_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
506			switch v := v.(*SchedqosConfig); i {
507			case 0:
508				return &v.state
509			case 1:
510				return &v.sizeCache
511			case 2:
512				return &v.unknownFields
513			default:
514				return nil
515			}
516		}
517		file_chromiumos_config_api_schedqos_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
518			switch v := v.(*SchedqosConfig_ThreadConfig); i {
519			case 0:
520				return &v.state
521			case 1:
522				return &v.sizeCache
523			case 2:
524				return &v.unknownFields
525			default:
526				return nil
527			}
528		}
529		file_chromiumos_config_api_schedqos_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
530			switch v := v.(*SchedqosConfig_ConfigSet); i {
531			case 0:
532				return &v.state
533			case 1:
534				return &v.sizeCache
535			case 2:
536				return &v.unknownFields
537			default:
538				return nil
539			}
540		}
541	}
542	type x struct{}
543	out := protoimpl.TypeBuilder{
544		File: protoimpl.DescBuilder{
545			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
546			RawDescriptor: file_chromiumos_config_api_schedqos_config_proto_rawDesc,
547			NumEnums:      1,
548			NumMessages:   3,
549			NumExtensions: 0,
550			NumServices:   0,
551		},
552		GoTypes:           file_chromiumos_config_api_schedqos_config_proto_goTypes,
553		DependencyIndexes: file_chromiumos_config_api_schedqos_config_proto_depIdxs,
554		EnumInfos:         file_chromiumos_config_api_schedqos_config_proto_enumTypes,
555		MessageInfos:      file_chromiumos_config_api_schedqos_config_proto_msgTypes,
556	}.Build()
557	File_chromiumos_config_api_schedqos_config_proto = out.File
558	file_chromiumos_config_api_schedqos_config_proto_rawDesc = nil
559	file_chromiumos_config_api_schedqos_config_proto_goTypes = nil
560	file_chromiumos_config_api_schedqos_config_proto_depIdxs = nil
561}
562