# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: sentry_protos/snuba/v1alpha/endpoint_aggregate_bucket.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 sentry_protos.snuba.v1alpha import request_common_pb2 as sentry__protos_dot_snuba_dot_v1alpha_dot_request__common__pb2
from sentry_protos.snuba.v1alpha import trace_item_attribute_pb2 as sentry__protos_dot_snuba_dot_v1alpha_dot_trace__item__attribute__pb2
from sentry_protos.snuba.v1alpha import trace_item_filter_pb2 as sentry__protos_dot_snuba_dot_v1alpha_dot_trace__item__filter__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;sentry_protos/snuba/v1alpha/endpoint_aggregate_bucket.proto\x12\x1bsentry_protos.snuba.v1alpha\x1a\x30sentry_protos/snuba/v1alpha/request_common.proto\x1a\x36sentry_protos/snuba/v1alpha/trace_item_attribute.proto\x1a\x33sentry_protos/snuba/v1alpha/trace_item_filter.proto\"\xaf\x04\n\x16\x41ggregateBucketRequest\x12\x36\n\x04meta\x18\x01 \x01(\x0b\x32(.sentry_protos.snuba.v1alpha.RequestMeta\x12O\n\taggregate\x18\x04 \x01(\x0e\x32<.sentry_protos.snuba.v1alpha.AggregateBucketRequest.Function\x12<\n\x06\x66ilter\x18\x05 \x01(\x0b\x32,.sentry_protos.snuba.v1alpha.TraceItemFilter\x12\x18\n\x10granularity_secs\x18\x06 \x01(\x04\x12\x36\n\x03key\x18\x07 \x01(\x0b\x32).sentry_protos.snuba.v1alpha.AttributeKey\x12Q\n\x16virtual_column_context\x18\x08 \x03(\x0b\x32\x31.sentry_protos.snuba.v1alpha.VirtualColumnContext\"\xa8\x01\n\x08\x46unction\x12\x18\n\x14\x46UNCTION_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x46UNCTION_SUM\x10\x01\x12\x14\n\x10\x46UNCTION_AVERAGE\x10\x02\x12\x12\n\x0e\x46UNCTION_COUNT\x10\x03\x12\x10\n\x0c\x46UNCTION_P50\x10\x04\x12\x10\n\x0c\x46UNCTION_P95\x10\x05\x12\x10\n\x0c\x46UNCTION_P99\x10\x06\x12\x10\n\x0c\x46UNCTION_AVG\x10\x07\")\n\x17\x41ggregateBucketResponse\x12\x0e\n\x06result\x18\x01 \x03(\x02\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sentry_protos.snuba.v1alpha.endpoint_aggregate_bucket_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_AGGREGATEBUCKETREQUEST']._serialized_start=252
  _globals['_AGGREGATEBUCKETREQUEST']._serialized_end=811
  _globals['_AGGREGATEBUCKETREQUEST_FUNCTION']._serialized_start=643
  _globals['_AGGREGATEBUCKETREQUEST_FUNCTION']._serialized_end=811
  _globals['_AGGREGATEBUCKETRESPONSE']._serialized_start=813
  _globals['_AGGREGATEBUCKETRESPONSE']._serialized_end=854
# @@protoc_insertion_point(module_scope)
