# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: protos/perfetto/trace_processor/trace_processor.proto
# Protobuf Python Version: 5.29.0
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder

_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC, 5, 29, 0, '',
    'protos/perfetto/trace_processor/trace_processor.proto')
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()

from perfetto.bigtrace.protos.perfetto.common import descriptor_pb2 as protos_dot_perfetto_dot_common_dot_descriptor__pb2
from perfetto.bigtrace.protos.perfetto.trace_processor import metatrace_categories_pb2 as protos_dot_perfetto_dot_trace__processor_dot_metatrace__categories__pb2
from perfetto.bigtrace.protos.perfetto.perfetto_sql import structured_query_pb2 as protos_dot_perfetto_dot_perfetto__sql_dot_structured__query__pb2

DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
    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\x1a\x33protos/perfetto/perfetto_sql/structured_query.proto\"J\n\x17TraceProcessorRpcStream\x12/\n\x03msg\x18\x01 \x03(\x0b\x32\".perfetto.protos.TraceProcessorRpc\"\xb8\x0e\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\x12L\n\x19register_sql_package_args\x18l \x01(\x0b\x32\'.perfetto.protos.RegisterSqlPackageArgsH\x01\x12T\n\x1d\x61nalyze_structured_query_args\x18m \x01(\x0b\x32+.perfetto.protos.AnalyzeStructuredQueryArgsH\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\x12Q\n\x1bregister_sql_package_result\x18\xd3\x01 \x01(\x0b\x32).perfetto.protos.RegisterSqlPackageResultH\x01\x12\x44\n\x14\x66inalize_data_result\x18\xd4\x01 \x01(\x0b\x32#.perfetto.protos.FinalizeDataResultH\x01\x12Y\n\x1f\x61nalyze_structured_query_result\x18\xd5\x01 \x01(\x0b\x32-.perfetto.protos.AnalyzeStructuredQueryResultH\x01\"\xc4\x03\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\x12\x1c\n\x18TPM_REGISTER_SQL_PACKAGE\x10\r\x12 \n\x1cTPM_ANALYZE_STRUCTURED_QUERY\x10\x0e\"\x04\x08\x04\x10\x04\"\x04\x08\x0c\x10\x0c*\x18TPM_QUERY_RAW_DEPRECATED*\x17TPM_REGISTER_SQL_MODULEB\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\"\xd3\x03\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\x12J\n\x0cparsing_mode\x18\x05 \x01(\x0e\x32\x34.perfetto.protos.ResetTraceProcessorArgs.ParsingMode\"J\n\x18\x44ropTrackEventDataBefore\x12\x0b\n\x07NO_DROP\x10\x00\x12!\n\x1dTRACK_EVENT_RANGE_OF_INTEREST\x10\x01\"D\n\x0bParsingMode\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x11\n\rTOKENIZE_ONLY\x10\x01\x12\x15\n\x11TOKENIZE_AND_SORT\x10\x02\"\xac\x01\n\x16RegisterSqlPackageArgs\x12\x14\n\x0cpackage_name\x18\x01 \x01(\t\x12?\n\x07modules\x18\x02 \x03(\x0b\x32..perfetto.protos.RegisterSqlPackageArgs.Module\x12\x16\n\x0e\x61llow_override\x18\x03 \x01(\x08\x1a#\n\x06Module\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03sql\x18\x02 \x01(\t\")\n\x18RegisterSqlPackageResult\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"#\n\x12\x46inalizeDataResult\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"Z\n\x1a\x41nalyzeStructuredQueryArgs\x12<\n\x07queries\x18\x01 \x03(\x0b\x32+.perfetto.protos.PerfettoSqlStructuredQuery\"\xe0\x01\n\x1c\x41nalyzeStructuredQueryResult\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12T\n\x07results\x18\x02 \x03(\x0b\x32\x43.perfetto.protos.AnalyzeStructuredQueryResult.StructuredQueryResult\x1a[\n\x15StructuredQueryResult\x12\x0b\n\x03sql\x18\x01 \x01(\t\x12\x11\n\ttextproto\x18\x04 \x01(\t\x12\x0f\n\x07modules\x18\x02 \x03(\t\x12\x11\n\tpreambles\x18\x03 \x03(\t*C\n\x18TraceProcessorApiVersion\x12\'\n#TRACE_PROCESSOR_CURRENT_API_VERSION\x10\x0e'
)

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(
    DESCRIPTOR,
    'perfetto.bigtrace.protos.perfetto.trace_processor.trace_processor_pb2',
    _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_QUERYRESULT_CELLSBATCH'].fields_by_name[
      'cells']._loaded_options = None
  _globals['_QUERYRESULT_CELLSBATCH'].fields_by_name[
      'cells']._serialized_options = b'\020\001'
  _globals['_QUERYRESULT_CELLSBATCH'].fields_by_name[
      'varint_cells']._loaded_options = None
  _globals['_QUERYRESULT_CELLSBATCH'].fields_by_name[
      'varint_cells']._serialized_options = b'\020\001'
  _globals['_QUERYRESULT_CELLSBATCH'].fields_by_name[
      'float64_cells']._loaded_options = None
  _globals['_QUERYRESULT_CELLSBATCH'].fields_by_name[
      'float64_cells']._serialized_options = b'\020\001'
  _globals['_TRACEPROCESSORAPIVERSION']._serialized_start = 4542
  _globals['_TRACEPROCESSORAPIVERSION']._serialized_end = 4609
  _globals['_TRACEPROCESSORRPCSTREAM']._serialized_start = 228
  _globals['_TRACEPROCESSORRPCSTREAM']._serialized_end = 302
  _globals['_TRACEPROCESSORRPC']._serialized_start = 305
  _globals['_TRACEPROCESSORRPC']._serialized_end = 2153
  _globals['_TRACEPROCESSORRPC_TRACEPROCESSORMETHOD']._serialized_start = 1671
  _globals['_TRACEPROCESSORRPC_TRACEPROCESSORMETHOD']._serialized_end = 2123
  _globals['_APPENDTRACEDATARESULT']._serialized_start = 2155
  _globals['_APPENDTRACEDATARESULT']._serialized_end = 2221
  _globals['_QUERYARGS']._serialized_start = 2223
  _globals['_QUERYARGS']._serialized_end = 2272
  _globals['_QUERYRESULT']._serialized_start = 2275
  _globals['_QUERYRESULT']._serialized_end = 2791
  _globals['_QUERYRESULT_CELLSBATCH']._serialized_start = 2474
  _globals['_QUERYRESULT_CELLSBATCH']._serialized_end = 2791
  _globals['_QUERYRESULT_CELLSBATCH_CELLTYPE']._serialized_start = 2675
  _globals['_QUERYRESULT_CELLSBATCH_CELLTYPE']._serialized_end = 2785
  _globals['_STATUSARGS']._serialized_start = 2793
  _globals['_STATUSARGS']._serialized_end = 2805
  _globals['_STATUSRESULT']._serialized_start = 2807
  _globals['_STATUSRESULT']._serialized_end = 2923
  _globals['_COMPUTEMETRICARGS']._serialized_start = 2926
  _globals['_COMPUTEMETRICARGS']._serialized_end = 3094
  _globals['_COMPUTEMETRICARGS_RESULTFORMAT']._serialized_start = 3034
  _globals['_COMPUTEMETRICARGS_RESULTFORMAT']._serialized_end = 3094
  _globals['_COMPUTEMETRICRESULT']._serialized_start = 3096
  _globals['_COMPUTEMETRICRESULT']._serialized_end = 3220
  _globals['_ENABLEMETATRACEARGS']._serialized_start = 3222
  _globals['_ENABLEMETATRACEARGS']._serialized_end = 3301
  _globals['_ENABLEMETATRACERESULT']._serialized_start = 3303
  _globals['_ENABLEMETATRACERESULT']._serialized_end = 3326
  _globals['_DISABLEANDREADMETATRACEARGS']._serialized_start = 3328
  _globals['_DISABLEANDREADMETATRACEARGS']._serialized_end = 3357
  _globals['_DISABLEANDREADMETATRACERESULT']._serialized_start = 3359
  _globals['_DISABLEANDREADMETATRACERESULT']._serialized_end = 3424
  _globals['_DESCRIPTORSET']._serialized_start = 3426
  _globals['_DESCRIPTORSET']._serialized_end = 3496
  _globals['_RESETTRACEPROCESSORARGS']._serialized_start = 3499
  _globals['_RESETTRACEPROCESSORARGS']._serialized_end = 3966
  _globals[
      '_RESETTRACEPROCESSORARGS_DROPTRACKEVENTDATABEFORE']._serialized_start = 3822
  _globals[
      '_RESETTRACEPROCESSORARGS_DROPTRACKEVENTDATABEFORE']._serialized_end = 3896
  _globals['_RESETTRACEPROCESSORARGS_PARSINGMODE']._serialized_start = 3898
  _globals['_RESETTRACEPROCESSORARGS_PARSINGMODE']._serialized_end = 3966
  _globals['_REGISTERSQLPACKAGEARGS']._serialized_start = 3969
  _globals['_REGISTERSQLPACKAGEARGS']._serialized_end = 4141
  _globals['_REGISTERSQLPACKAGEARGS_MODULE']._serialized_start = 4106
  _globals['_REGISTERSQLPACKAGEARGS_MODULE']._serialized_end = 4141
  _globals['_REGISTERSQLPACKAGERESULT']._serialized_start = 4143
  _globals['_REGISTERSQLPACKAGERESULT']._serialized_end = 4184
  _globals['_FINALIZEDATARESULT']._serialized_start = 4186
  _globals['_FINALIZEDATARESULT']._serialized_end = 4221
  _globals['_ANALYZESTRUCTUREDQUERYARGS']._serialized_start = 4223
  _globals['_ANALYZESTRUCTUREDQUERYARGS']._serialized_end = 4313
  _globals['_ANALYZESTRUCTUREDQUERYRESULT']._serialized_start = 4316
  _globals['_ANALYZESTRUCTUREDQUERYRESULT']._serialized_end = 4540
  _globals[
      '_ANALYZESTRUCTUREDQUERYRESULT_STRUCTUREDQUERYRESULT']._serialized_start = 4449
  _globals[
      '_ANALYZESTRUCTUREDQUERYRESULT_STRUCTUREDQUERYRESULT']._serialized_end = 4540
# @@protoc_insertion_point(module_scope)
