1# -*- coding: utf-8 -*-
2# Generated by the protocol buffer compiler.  DO NOT EDIT!
3# source: protos/perfetto/trace_processor/trace_processor.proto
4# Protobuf Python Version: 4.25.1
5"""Generated protocol buffer code."""
6from google.protobuf import descriptor as _descriptor
7from google.protobuf import descriptor_pool as _descriptor_pool
8from google.protobuf import symbol_database as _symbol_database
9from google.protobuf.internal import builder as _builder
10# @@protoc_insertion_point(imports)
11
12_sym_db = _symbol_database.Default()
13
14from perfetto.bigtrace.protos.perfetto.common import descriptor_pb2 as protos_dot_perfetto_dot_common_dot_descriptor__pb2
15from perfetto.bigtrace.protos.perfetto.trace_processor import metatrace_categories_pb2 as protos_dot_perfetto_dot_trace__processor_dot_metatrace__categories__pb2
16
17DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
18    b'\n5protos/perfetto/trace_processor/trace_processor.proto\x12\x0fperfetto.protos\x1a\'protos/perfetto/common/descriptor.proto\x1a:protos/perfetto/trace_processor/metatrace_categories.proto\"J\n\x17TraceProcessorRpcStream\x12/\n\x03msg\x18\x01 \x03(\x0b\x32\".perfetto.protos.TraceProcessorRpc\"\xc1\n\n\x11TraceProcessorRpc\x12\x0b\n\x03seq\x18\x01 \x01(\x03\x12\x13\n\x0b\x66\x61tal_error\x18\x05 \x01(\t\x12J\n\x07request\x18\x02 \x01(\x0e\x32\x37.perfetto.protos.TraceProcessorRpc.TraceProcessorMethodH\x00\x12K\n\x08response\x18\x03 \x01(\x0e\x32\x37.perfetto.protos.TraceProcessorRpc.TraceProcessorMethodH\x00\x12R\n\x0finvalid_request\x18\x04 \x01(\x0e\x32\x37.perfetto.protos.TraceProcessorRpc.TraceProcessorMethodH\x00\x12\x1b\n\x11\x61ppend_trace_data\x18\x65 \x01(\x0cH\x01\x12\x30\n\nquery_args\x18g \x01(\x0b\x32\x1a.perfetto.protos.QueryArgsH\x01\x12\x41\n\x13\x63ompute_metric_args\x18i \x01(\x0b\x32\".perfetto.protos.ComputeMetricArgsH\x01\x12\x45\n\x15\x65nable_metatrace_args\x18j \x01(\x0b\x32$.perfetto.protos.EnableMetatraceArgsH\x01\x12N\n\x1areset_trace_processor_args\x18k \x01(\x0b\x32(.perfetto.protos.ResetTraceProcessorArgsH\x01\x12@\n\rappend_result\x18\xc9\x01 \x01(\x0b\x32&.perfetto.protos.AppendTraceDataResultH\x01\x12\x35\n\x0cquery_result\x18\xcb\x01 \x01(\x0b\x32\x1c.perfetto.protos.QueryResultH\x01\x12>\n\rmetric_result\x18\xcd\x01 \x01(\x0b\x32$.perfetto.protos.ComputeMetricResultH\x01\x12=\n\x12metric_descriptors\x18\xce\x01 \x01(\x0b\x32\x1e.perfetto.protos.DescriptorSetH\x01\x12\x44\n\tmetatrace\x18\xd1\x01 \x01(\x0b\x32..perfetto.protos.DisableAndReadMetatraceResultH\x01\x12\x30\n\x06status\x18\xd2\x01 \x01(\x0b\x32\x1d.perfetto.protos.StatusResultH\x01\"\xe5\x02\n\x14TraceProcessorMethod\x12\x13\n\x0fTPM_UNSPECIFIED\x10\x00\x12\x19\n\x15TPM_APPEND_TRACE_DATA\x10\x01\x12\x1b\n\x17TPM_FINALIZE_TRACE_DATA\x10\x02\x12\x17\n\x13TPM_QUERY_STREAMING\x10\x03\x12\x16\n\x12TPM_COMPUTE_METRIC\x10\x05\x12\x1e\n\x1aTPM_GET_METRIC_DESCRIPTORS\x10\x06\x12\x1e\n\x1aTPM_RESTORE_INITIAL_TABLES\x10\x07\x12\x18\n\x14TPM_ENABLE_METATRACE\x10\x08\x12\"\n\x1eTPM_DISABLE_AND_READ_METATRACE\x10\t\x12\x12\n\x0eTPM_GET_STATUS\x10\n\x12\x1d\n\x19TPM_RESET_TRACE_PROCESSOR\x10\x0b\"\x04\x08\x04\x10\x04*\x18TPM_QUERY_RAW_DEPRECATEDB\x06\n\x04typeB\x06\n\x04\x61rgsJ\x04\x08h\x10iJ\x06\x08\xcc\x01\x10\xcd\x01\"B\n\x15\x41ppendTraceDataResult\x12\x1a\n\x12total_bytes_parsed\x18\x01 \x01(\x03\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"1\n\tQueryArgs\x12\x11\n\tsql_query\x18\x01 \x01(\t\x12\x0b\n\x03tag\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03\"\x84\x04\n\x0bQueryResult\x12\x14\n\x0c\x63olumn_names\x18\x01 \x03(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x36\n\x05\x62\x61tch\x18\x03 \x03(\x0b\x32\'.perfetto.protos.QueryResult.CellsBatch\x12\x17\n\x0fstatement_count\x18\x04 \x01(\r\x12#\n\x1bstatement_with_output_count\x18\x05 \x01(\r\x12\x1a\n\x12last_statement_sql\x18\x06 \x01(\t\x1a\xbd\x02\n\nCellsBatch\x12\x43\n\x05\x63\x65lls\x18\x01 \x03(\x0e\x32\x30.perfetto.protos.QueryResult.CellsBatch.CellTypeB\x02\x10\x01\x12\x18\n\x0cvarint_cells\x18\x02 \x03(\x03\x42\x02\x10\x01\x12\x19\n\rfloat64_cells\x18\x03 \x03(\x01\x42\x02\x10\x01\x12\x12\n\nblob_cells\x18\x04 \x03(\x0c\x12\x14\n\x0cstring_cells\x18\x05 \x01(\t\x12\x15\n\ris_last_batch\x18\x06 \x01(\x08\"n\n\x08\x43\x65llType\x12\x10\n\x0c\x43\x45LL_INVALID\x10\x00\x12\r\n\tCELL_NULL\x10\x01\x12\x0f\n\x0b\x43\x45LL_VARINT\x10\x02\x12\x10\n\x0c\x43\x45LL_FLOAT64\x10\x03\x12\x0f\n\x0b\x43\x45LL_STRING\x10\x04\x12\r\n\tCELL_BLOB\x10\x05J\x04\x08\x07\x10\x08\"\x0c\n\nStatusArgs\"t\n\x0cStatusResult\x12\x19\n\x11loaded_trace_name\x18\x01 \x01(\t\x12\x1e\n\x16human_readable_version\x18\x02 \x01(\t\x12\x13\n\x0b\x61pi_version\x18\x03 \x01(\x05\x12\x14\n\x0cversion_code\x18\x04 \x01(\t\"\xa8\x01\n\x11\x43omputeMetricArgs\x12\x14\n\x0cmetric_names\x18\x01 \x03(\t\x12?\n\x06\x66ormat\x18\x02 \x01(\x0e\x32/.perfetto.protos.ComputeMetricArgs.ResultFormat\"<\n\x0cResultFormat\x12\x13\n\x0f\x42INARY_PROTOBUF\x10\x00\x12\r\n\tTEXTPROTO\x10\x01\x12\x08\n\x04JSON\x10\x02\"|\n\x13\x43omputeMetricResult\x12\x11\n\x07metrics\x18\x01 \x01(\x0cH\x00\x12\x1e\n\x14metrics_as_prototext\x18\x03 \x01(\tH\x00\x12\x19\n\x0fmetrics_as_json\x18\x04 \x01(\tH\x00\x12\r\n\x05\x65rror\x18\x02 \x01(\tB\x08\n\x06result\"O\n\x13\x45nableMetatraceArgs\x12\x38\n\ncategories\x18\x01 \x01(\x0e\x32$.perfetto.protos.MetatraceCategories\"\x17\n\x15\x45nableMetatraceResult\"\x1d\n\x1b\x44isableAndReadMetatraceArgs\"A\n\x1d\x44isableAndReadMetatraceResult\x12\x11\n\tmetatrace\x18\x01 \x01(\x0c\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"F\n\rDescriptorSet\x12\x35\n\x0b\x64\x65scriptors\x18\x01 \x03(\x0b\x32 .perfetto.protos.DescriptorProto\"\xc1\x02\n\x17ResetTraceProcessorArgs\x12g\n\x1c\x64rop_track_event_data_before\x18\x01 \x01(\x0e\x32\x41.perfetto.protos.ResetTraceProcessorArgs.DropTrackEventDataBefore\x12\"\n\x1aingest_ftrace_in_raw_table\x18\x02 \x01(\x08\x12#\n\x1b\x61nalyze_trace_proto_content\x18\x03 \x01(\x08\x12(\n ftrace_drop_until_all_cpus_valid\x18\x04 \x01(\x08\"J\n\x18\x44ropTrackEventDataBefore\x12\x0b\n\x07NO_DROP\x10\x00\x12!\n\x1dTRACK_EVENT_RANGE_OF_INTEREST\x10\x01*C\n\x18TraceProcessorApiVersion\x12\'\n#TRACE_PROCESSOR_CURRENT_API_VERSION\x10\x0c'
19)
20
21_globals = globals()
22_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23_builder.BuildTopDescriptorsAndMessages(
24    DESCRIPTOR,
25    'perfetto.bigtrace.protos.perfetto.trace_processor.trace_processor_pb2',
26    _globals)
27if _descriptor._USE_C_DESCRIPTORS == False:
28  DESCRIPTOR._options = None
29  _globals['_QUERYRESULT_CELLSBATCH'].fields_by_name['cells']._options = None
30  _globals['_QUERYRESULT_CELLSBATCH'].fields_by_name[
31      'cells']._serialized_options = b'\020\001'
32  _globals['_QUERYRESULT_CELLSBATCH'].fields_by_name[
33      'varint_cells']._options = None
34  _globals['_QUERYRESULT_CELLSBATCH'].fields_by_name[
35      'varint_cells']._serialized_options = b'\020\001'
36  _globals['_QUERYRESULT_CELLSBATCH'].fields_by_name[
37      'float64_cells']._options = None
38  _globals['_QUERYRESULT_CELLSBATCH'].fields_by_name[
39      'float64_cells']._serialized_options = b'\020\001'
40  _globals['_TRACEPROCESSORAPIVERSION']._serialized_start = 3266
41  _globals['_TRACEPROCESSORAPIVERSION']._serialized_end = 3333
42  _globals['_TRACEPROCESSORRPCSTREAM']._serialized_start = 175
43  _globals['_TRACEPROCESSORRPCSTREAM']._serialized_end = 249
44  _globals['_TRACEPROCESSORRPC']._serialized_start = 252
45  _globals['_TRACEPROCESSORRPC']._serialized_end = 1597
46  _globals['_TRACEPROCESSORRPC_TRACEPROCESSORMETHOD']._serialized_start = 1210
47  _globals['_TRACEPROCESSORRPC_TRACEPROCESSORMETHOD']._serialized_end = 1567
48  _globals['_APPENDTRACEDATARESULT']._serialized_start = 1599
49  _globals['_APPENDTRACEDATARESULT']._serialized_end = 1665
50  _globals['_QUERYARGS']._serialized_start = 1667
51  _globals['_QUERYARGS']._serialized_end = 1716
52  _globals['_QUERYRESULT']._serialized_start = 1719
53  _globals['_QUERYRESULT']._serialized_end = 2235
54  _globals['_QUERYRESULT_CELLSBATCH']._serialized_start = 1918
55  _globals['_QUERYRESULT_CELLSBATCH']._serialized_end = 2235
56  _globals['_QUERYRESULT_CELLSBATCH_CELLTYPE']._serialized_start = 2119
57  _globals['_QUERYRESULT_CELLSBATCH_CELLTYPE']._serialized_end = 2229
58  _globals['_STATUSARGS']._serialized_start = 2237
59  _globals['_STATUSARGS']._serialized_end = 2249
60  _globals['_STATUSRESULT']._serialized_start = 2251
61  _globals['_STATUSRESULT']._serialized_end = 2367
62  _globals['_COMPUTEMETRICARGS']._serialized_start = 2370
63  _globals['_COMPUTEMETRICARGS']._serialized_end = 2538
64  _globals['_COMPUTEMETRICARGS_RESULTFORMAT']._serialized_start = 2478
65  _globals['_COMPUTEMETRICARGS_RESULTFORMAT']._serialized_end = 2538
66  _globals['_COMPUTEMETRICRESULT']._serialized_start = 2540
67  _globals['_COMPUTEMETRICRESULT']._serialized_end = 2664
68  _globals['_ENABLEMETATRACEARGS']._serialized_start = 2666
69  _globals['_ENABLEMETATRACEARGS']._serialized_end = 2745
70  _globals['_ENABLEMETATRACERESULT']._serialized_start = 2747
71  _globals['_ENABLEMETATRACERESULT']._serialized_end = 2770
72  _globals['_DISABLEANDREADMETATRACEARGS']._serialized_start = 2772
73  _globals['_DISABLEANDREADMETATRACEARGS']._serialized_end = 2801
74  _globals['_DISABLEANDREADMETATRACERESULT']._serialized_start = 2803
75  _globals['_DISABLEANDREADMETATRACERESULT']._serialized_end = 2868
76  _globals['_DESCRIPTORSET']._serialized_start = 2870
77  _globals['_DESCRIPTORSET']._serialized_end = 2940
78  _globals['_RESETTRACEPROCESSORARGS']._serialized_start = 2943
79  _globals['_RESETTRACEPROCESSORARGS']._serialized_end = 3264
80  _globals[
81      '_RESETTRACEPROCESSORARGS_DROPTRACKEVENTDATABEFORE']._serialized_start = 3190
82  _globals[
83      '_RESETTRACEPROCESSORARGS_DROPTRACKEVENTDATABEFORE']._serialized_end = 3264
84# @@protoc_insertion_point(module_scope)
85