# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: chromiumos/config/api/schedqos_config.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 DESCRIPTOR = _descriptor.FileDescriptor( name='chromiumos/config/api/schedqos_config.proto', package='chromiumos.config.api', syntax='proto3', serialized_options=b'Z(go.chromium.org/chromiumos/config/go/api', create_key=_descriptor._internal_create_key, serialized_pb=b'\n+chromiumos/config/api/schedqos_config.proto\x12\x15\x63hromiumos.config.api\x1a\x1egoogle/protobuf/wrappers.proto\"\x98\t\n\x0eSchedqosConfig\x12@\n\x07\x64\x65\x66\x61ult\x18\x01 \x01(\x0b\x32/.chromiumos.config.api.SchedqosConfig.ConfigSet\x1a\x9f\x02\n\x0cThreadConfig\x12\x30\n\x0brt_priority\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12)\n\x04nice\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x30\n\nuclamp_min\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.UInt32Value\x12I\n\rcpuset_cgroup\x18\x04 \x01(\x0e\x32\x32.chromiumos.config.api.SchedqosConfig.CpusetCgroup\x12\x35\n\x11latency_sensitive\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1a\xc2\x05\n\tConfigSet\x12\x18\n\x10normal_cpu_share\x18\x01 \x01(\r\x12\x1c\n\x14\x62\x61\x63kground_cpu_share\x18\x02 \x01(\r\x12P\n\x14thread_urgent_bursty\x18\x03 \x01(\x0b\x32\x32.chromiumos.config.api.SchedqosConfig.ThreadConfig\x12I\n\rthread_urgent\x18\x04 \x01(\x0b\x32\x32.chromiumos.config.api.SchedqosConfig.ThreadConfig\x12K\n\x0fthread_balanced\x18\x05 \x01(\x0b\x32\x32.chromiumos.config.api.SchedqosConfig.ThreadConfig\x12\x46\n\nthread_eco\x18\x06 \x01(\x0b\x32\x32.chromiumos.config.api.SchedqosConfig.ThreadConfig\x12J\n\x0ethread_utility\x18\x07 \x01(\x0b\x32\x32.chromiumos.config.api.SchedqosConfig.ThreadConfig\x12M\n\x11thread_background\x18\x08 \x01(\x0b\x32\x32.chromiumos.config.api.SchedqosConfig.ThreadConfig\x12W\n\x1bthread_urgent_bursty_server\x18\t \x01(\x0b\x32\x32.chromiumos.config.api.SchedqosConfig.ThreadConfig\x12W\n\x1bthread_urgent_bursty_client\x18\n \x01(\x0b\x32\x32.chromiumos.config.api.SchedqosConfig.ThreadConfig\"]\n\x0c\x43pusetCgroup\x12\x19\n\x15\x43PUSET_CGROUP_DEFAULT\x10\x00\x12\x15\n\x11\x43PUSET_CGROUP_ALL\x10\x01\x12\x1b\n\x17\x43PUSET_CGROUP_EFFICIENT\x10\x02\x42*Z(go.chromium.org/chromiumos/config/go/apib\x06proto3' , dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) _SCHEDQOSCONFIG_CPUSETCGROUP = _descriptor.EnumDescriptor( name='CpusetCgroup', full_name='chromiumos.config.api.SchedqosConfig.CpusetCgroup', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='CPUSET_CGROUP_DEFAULT', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CPUSET_CGROUP_ALL', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CPUSET_CGROUP_EFFICIENT', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=1186, serialized_end=1279, ) _sym_db.RegisterEnumDescriptor(_SCHEDQOSCONFIG_CPUSETCGROUP) _SCHEDQOSCONFIG_THREADCONFIG = _descriptor.Descriptor( name='ThreadConfig', full_name='chromiumos.config.api.SchedqosConfig.ThreadConfig', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='rt_priority', full_name='chromiumos.config.api.SchedqosConfig.ThreadConfig.rt_priority', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='nice', full_name='chromiumos.config.api.SchedqosConfig.ThreadConfig.nice', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='uclamp_min', full_name='chromiumos.config.api.SchedqosConfig.ThreadConfig.uclamp_min', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='cpuset_cgroup', full_name='chromiumos.config.api.SchedqosConfig.ThreadConfig.cpuset_cgroup', index=3, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='latency_sensitive', full_name='chromiumos.config.api.SchedqosConfig.ThreadConfig.latency_sensitive', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=188, serialized_end=475, ) _SCHEDQOSCONFIG_CONFIGSET = _descriptor.Descriptor( name='ConfigSet', full_name='chromiumos.config.api.SchedqosConfig.ConfigSet', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='normal_cpu_share', full_name='chromiumos.config.api.SchedqosConfig.ConfigSet.normal_cpu_share', index=0, number=1, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='background_cpu_share', full_name='chromiumos.config.api.SchedqosConfig.ConfigSet.background_cpu_share', index=1, number=2, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='thread_urgent_bursty', full_name='chromiumos.config.api.SchedqosConfig.ConfigSet.thread_urgent_bursty', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='thread_urgent', full_name='chromiumos.config.api.SchedqosConfig.ConfigSet.thread_urgent', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='thread_balanced', full_name='chromiumos.config.api.SchedqosConfig.ConfigSet.thread_balanced', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='thread_eco', full_name='chromiumos.config.api.SchedqosConfig.ConfigSet.thread_eco', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='thread_utility', full_name='chromiumos.config.api.SchedqosConfig.ConfigSet.thread_utility', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='thread_background', full_name='chromiumos.config.api.SchedqosConfig.ConfigSet.thread_background', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='thread_urgent_bursty_server', full_name='chromiumos.config.api.SchedqosConfig.ConfigSet.thread_urgent_bursty_server', index=8, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='thread_urgent_bursty_client', full_name='chromiumos.config.api.SchedqosConfig.ConfigSet.thread_urgent_bursty_client', index=9, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=478, serialized_end=1184, ) _SCHEDQOSCONFIG = _descriptor.Descriptor( name='SchedqosConfig', full_name='chromiumos.config.api.SchedqosConfig', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='default', full_name='chromiumos.config.api.SchedqosConfig.default', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_SCHEDQOSCONFIG_THREADCONFIG, _SCHEDQOSCONFIG_CONFIGSET, ], enum_types=[ _SCHEDQOSCONFIG_CPUSETCGROUP, ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=103, serialized_end=1279, ) _SCHEDQOSCONFIG_THREADCONFIG.fields_by_name['rt_priority'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE _SCHEDQOSCONFIG_THREADCONFIG.fields_by_name['nice'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE _SCHEDQOSCONFIG_THREADCONFIG.fields_by_name['uclamp_min'].message_type = google_dot_protobuf_dot_wrappers__pb2._UINT32VALUE _SCHEDQOSCONFIG_THREADCONFIG.fields_by_name['cpuset_cgroup'].enum_type = _SCHEDQOSCONFIG_CPUSETCGROUP _SCHEDQOSCONFIG_THREADCONFIG.fields_by_name['latency_sensitive'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _SCHEDQOSCONFIG_THREADCONFIG.containing_type = _SCHEDQOSCONFIG _SCHEDQOSCONFIG_CONFIGSET.fields_by_name['thread_urgent_bursty'].message_type = _SCHEDQOSCONFIG_THREADCONFIG _SCHEDQOSCONFIG_CONFIGSET.fields_by_name['thread_urgent'].message_type = _SCHEDQOSCONFIG_THREADCONFIG _SCHEDQOSCONFIG_CONFIGSET.fields_by_name['thread_balanced'].message_type = _SCHEDQOSCONFIG_THREADCONFIG _SCHEDQOSCONFIG_CONFIGSET.fields_by_name['thread_eco'].message_type = _SCHEDQOSCONFIG_THREADCONFIG _SCHEDQOSCONFIG_CONFIGSET.fields_by_name['thread_utility'].message_type = _SCHEDQOSCONFIG_THREADCONFIG _SCHEDQOSCONFIG_CONFIGSET.fields_by_name['thread_background'].message_type = _SCHEDQOSCONFIG_THREADCONFIG _SCHEDQOSCONFIG_CONFIGSET.fields_by_name['thread_urgent_bursty_server'].message_type = _SCHEDQOSCONFIG_THREADCONFIG _SCHEDQOSCONFIG_CONFIGSET.fields_by_name['thread_urgent_bursty_client'].message_type = _SCHEDQOSCONFIG_THREADCONFIG _SCHEDQOSCONFIG_CONFIGSET.containing_type = _SCHEDQOSCONFIG _SCHEDQOSCONFIG.fields_by_name['default'].message_type = _SCHEDQOSCONFIG_CONFIGSET _SCHEDQOSCONFIG_CPUSETCGROUP.containing_type = _SCHEDQOSCONFIG DESCRIPTOR.message_types_by_name['SchedqosConfig'] = _SCHEDQOSCONFIG _sym_db.RegisterFileDescriptor(DESCRIPTOR) SchedqosConfig = _reflection.GeneratedProtocolMessageType('SchedqosConfig', (_message.Message,), { 'ThreadConfig' : _reflection.GeneratedProtocolMessageType('ThreadConfig', (_message.Message,), { 'DESCRIPTOR' : _SCHEDQOSCONFIG_THREADCONFIG, '__module__' : 'chromiumos.config.api.schedqos_config_pb2' # @@protoc_insertion_point(class_scope:chromiumos.config.api.SchedqosConfig.ThreadConfig) }) , 'ConfigSet' : _reflection.GeneratedProtocolMessageType('ConfigSet', (_message.Message,), { 'DESCRIPTOR' : _SCHEDQOSCONFIG_CONFIGSET, '__module__' : 'chromiumos.config.api.schedqos_config_pb2' # @@protoc_insertion_point(class_scope:chromiumos.config.api.SchedqosConfig.ConfigSet) }) , 'DESCRIPTOR' : _SCHEDQOSCONFIG, '__module__' : 'chromiumos.config.api.schedqos_config_pb2' # @@protoc_insertion_point(class_scope:chromiumos.config.api.SchedqosConfig) }) _sym_db.RegisterMessage(SchedqosConfig) _sym_db.RegisterMessage(SchedqosConfig.ThreadConfig) _sym_db.RegisterMessage(SchedqosConfig.ConfigSet) DESCRIPTOR._options = None # @@protoc_insertion_point(module_scope)