# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: sentry_protos/snuba/v1/request_common.proto
# Protobuf Python Version: 5.26.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from sentry_protos.snuba.v1 import trace_item_filter_pb2 as sentry__protos_dot_snuba_dot_v1_dot_trace__item__filter__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+sentry_protos/snuba/v1/request_common.proto\x12\x16sentry_protos.snuba.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.sentry_protos/snuba/v1/trace_item_filter.proto\"\xaf\x02\n\x0bRequestMeta\x12\x17\n\x0forganization_id\x18\x01 \x01(\x04\x12\x15\n\rcogs_category\x18\x02 \x01(\t\x12\x10\n\x08referrer\x18\x03 \x01(\t\x12\x13\n\x0bproject_ids\x18\x04 \x03(\x04\x12\x33\n\x0fstart_timestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rend_timestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x0ftrace_item_name\x18\x07 \x01(\x0e\x32%.sentry_protos.snuba.v1.TraceItemName\x12\r\n\x05\x64\x65\x62ug\x18\n \x01(\x08\x12\x12\n\nrequest_id\x18\x0b \x01(\t\"Y\n\x0cResponseMeta\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x35\n\nquery_info\x18\x02 \x03(\x0b\x32!.sentry_protos.snuba.v1.QueryInfo\"h\n\tPageToken\x12\x10\n\x06offset\x18\x01 \x01(\x04H\x00\x12@\n\rfilter_offset\x18\x02 \x01(\x0b\x32\'.sentry_protos.snuba.v1.TraceItemFilterH\x00\x42\x07\n\x05value\"\xad\x01\n\nQueryStats\x12\x11\n\trows_read\x18\x01 \x01(\x03\x12\x14\n\x0c\x63olumns_read\x18\x02 \x01(\x03\x12\x0e\n\x06\x62locks\x18\x04 \x01(\x05\x12\x16\n\x0eprogress_bytes\x18\x05 \x01(\x03\x12\x13\n\x0bmax_threads\x18\x08 \x01(\x05\x12\x39\n\x0ctiming_marks\x18\x0b \x01(\x0b\x32#.sentry_protos.snuba.v1.TimingMarks\"\xa4\x01\n\rQueryMetadata\x12\x0b\n\x03sql\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x18\n\x10\x63lickhouse_table\x18\x03 \x01(\t\x12\r\n\x05\x66inal\x18\x04 \x01(\x08\x12\x10\n\x08query_id\x18\x06 \x01(\t\x12\x12\n\nconsistent\x18\x07 \x01(\x08\x12\x11\n\tcache_hit\x18\t \x01(\x08\x12\x14\n\x0c\x63luster_name\x18\n \x01(\t\"\x93\x02\n\x0bTimingMarks\x12\x13\n\x0b\x64uration_ms\x18\x01 \x01(\x03\x12\x42\n\x08marks_ms\x18\x02 \x03(\x0b\x32\x30.sentry_protos.snuba.v1.TimingMarks.MarksMsEntry\x12;\n\x04tags\x18\x03 \x03(\x0b\x32-.sentry_protos.snuba.v1.TimingMarks.TagsEntry\x12\x11\n\ttimestamp\x18\x04 \x01(\x03\x1a.\n\x0cMarksMsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8b\x01\n\tQueryInfo\x12\x31\n\x05stats\x18\x01 \x01(\x0b\x32\".sentry_protos.snuba.v1.QueryStats\x12\x37\n\x08metadata\x18\x02 \x01(\x0b\x32%.sentry_protos.snuba.v1.QueryMetadata\x12\x12\n\ntrace_logs\x18\x03 \x01(\t*o\n\rTraceItemName\x12\x1f\n\x1bTRACE_ITEM_NAME_UNSPECIFIED\x10\x00\x12\x1d\n\x19TRACE_ITEM_NAME_EAP_SPANS\x10\x01\x12\x1e\n\x1aTRACE_ITEM_NAME_EAP_ERRORS\x10\x02\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sentry_protos.snuba.v1.request_common_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_TIMINGMARKS_MARKSMSENTRY']._loaded_options = None
  _globals['_TIMINGMARKS_MARKSMSENTRY']._serialized_options = b'8\001'
  _globals['_TIMINGMARKS_TAGSENTRY']._loaded_options = None
  _globals['_TIMINGMARKS_TAGSENTRY']._serialized_options = b'8\001'
  _globals['_TRACEITEMNAME']._serialized_start=1418
  _globals['_TRACEITEMNAME']._serialized_end=1529
  _globals['_REQUESTMETA']._serialized_start=153
  _globals['_REQUESTMETA']._serialized_end=456
  _globals['_RESPONSEMETA']._serialized_start=458
  _globals['_RESPONSEMETA']._serialized_end=547
  _globals['_PAGETOKEN']._serialized_start=549
  _globals['_PAGETOKEN']._serialized_end=653
  _globals['_QUERYSTATS']._serialized_start=656
  _globals['_QUERYSTATS']._serialized_end=829
  _globals['_QUERYMETADATA']._serialized_start=832
  _globals['_QUERYMETADATA']._serialized_end=996
  _globals['_TIMINGMARKS']._serialized_start=999
  _globals['_TIMINGMARKS']._serialized_end=1274
  _globals['_TIMINGMARKS_MARKSMSENTRY']._serialized_start=1183
  _globals['_TIMINGMARKS_MARKSMSENTRY']._serialized_end=1229
  _globals['_TIMINGMARKS_TAGSENTRY']._serialized_start=1231
  _globals['_TIMINGMARKS_TAGSENTRY']._serialized_end=1274
  _globals['_QUERYINFO']._serialized_start=1277
  _globals['_QUERYINFO']._serialized_end=1416
# @@protoc_insertion_point(module_scope)
