# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: clappform/data/v1/aggregate.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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2

from clappform.proto.grpc.gateway.protoc_gen_openapiv2.options import \
    annotations_pb2 as \
    grpc_dot_gateway_dot_protoc__gen__openapiv2_dot_options_dot_annotations__pb2

DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!clappform/data/v1/aggregate.proto\x12\x1b\x63lappform.data.v1.aggregate\x1a\x1cgoogle/api/annotations.proto\x1a;grpc/gateway/protoc_gen_openapiv2/options/annotations.proto\"`\n\x16\x41ggregateFilterOptions\x12\x0c\n\x04keys\x18\x01 \x03(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08main_key\x18\x03 \x01(\t\x12\x18\n\x10selected_options\x18\x04 \x03(\t\"\x85\x03\n\x16\x41ggregateStreamRequest\x12\x15\n\x08pipeline\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x17\n\nbatch_size\x18\x02 \x01(\rH\x01\x88\x01\x01\x12\x17\n\ncollection\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x12\n\x05query\x18\x04 \x01(\tH\x03\x88\x01\x01\x12P\n\x0e\x66ilter_options\x18\x05 \x01(\x0b\x32\x33.clappform.data.v1.aggregate.AggregateFilterOptionsH\x04\x88\x01\x01\x12\x16\n\tdeep_dive\x18\x06 \x01(\x0cH\x05\x88\x01\x01\x12\x14\n\x07options\x18\x07 \x01(\x0cH\x06\x88\x01\x01\x12\x1a\n\rinner_options\x18\x08 \x01(\x0cH\x07\x88\x01\x01\x42\x0b\n\t_pipelineB\r\n\x0b_batch_sizeB\r\n\x0b_collectionB\x08\n\x06_queryB\x11\n\x0f_filter_optionsB\x0c\n\n_deep_diveB\n\n\x08_optionsB\x10\n\x0e_inner_options\"\xaa\x03\n\x15\x41ggregateUnaryRequest\x12\x15\n\x08pipeline\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x17\n\nbatch_size\x18\x02 \x01(\rH\x01\x88\x01\x01\x12\x17\n\ncollection\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x12\n\x05query\x18\x04 \x01(\tH\x03\x88\x01\x01\x12P\n\x0e\x66ilter_options\x18\x05 \x01(\x0b\x32\x33.clappform.data.v1.aggregate.AggregateFilterOptionsH\x04\x88\x01\x01\x12\x16\n\tdeep_dive\x18\x06 \x01(\x0cH\x05\x88\x01\x01\x12\x14\n\x07options\x18\x07 \x01(\x0cH\x06\x88\x01\x01\x12\x1a\n\rinner_options\x18\x08 \x01(\x0cH\x07\x88\x01\x01\x12\x16\n\tnext_page\x18\t \x01(\rH\x08\x88\x01\x01\x42\x0b\n\t_pipelineB\r\n\x0b_batch_sizeB\r\n\x0b_collectionB\x08\n\x06_queryB\x11\n\x0f_filter_optionsB\x0c\n\n_deep_diveB\n\n\x08_optionsB\x10\n\x0e_inner_optionsB\x0c\n\n_next_page\"\x81\x01\n\x11\x41ggregateResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\r\n\x05total\x18\x02 \x01(\x05\x12\x12\n\ntotal_sent\x18\x03 \x01(\x05\x12\x11\n\tnext_page\x18\x04 \x01(\x05\x12\x15\n\rprevious_page\x18\x05 \x01(\x05\x12\x11\n\tlast_page\x18\x06 \x01(\x05\x32\x98\x05\n\x13\x41ggregateManagement\x12\xc4\x02\n\x0f\x41ggregateStream\x12\x33.clappform.data.v1.aggregate.AggregateStreamRequest\x1a..clappform.data.v1.aggregate.AggregateResponse\"\xc9\x01\x92\x41\xa2\x01\x1a\x42Retrieve data from a database collection based on a supplied queryb\x10\n\x0e\n\nJWT Bearer\x12\x00rJ\nH\n\x16Grpc-Metadata-Location\x12\"Location of the client (subdomain)\x18\x01\"\x06string(\x01\x82\xd3\xe4\x93\x02\x1d\"\x18/api/v1/aggregate/stream:\x01*0\x01\x12\xb9\x02\n\x0e\x41ggregateUnary\x12\x32.clappform.data.v1.aggregate.AggregateUnaryRequest\x1a..clappform.data.v1.aggregate.AggregateResponse\"\xc2\x01\x92\x41\xa2\x01\x1a\x42Retrieve data from a database collection based on a supplied queryb\x10\n\x0e\n\nJWT Bearer\x12\x00rJ\nH\n\x16Grpc-Metadata-Location\x12\"Location of the client (subdomain)\x18\x01\"\x06string(\x01\x82\xd3\xe4\x93\x02\x16\"\x11/api/v1/aggregate:\x01*BIZGgithub.com/ClappFormOrg/Framework-API-Data-Connector/proto/v1/aggregateb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'clappform.data.v1.aggregate_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'ZGgithub.com/ClappFormOrg/Framework-API-Data-Connector/proto/v1/aggregate'
  _globals['_AGGREGATEMANAGEMENT'].methods_by_name['AggregateStream']._loaded_options = None
  _globals['_AGGREGATEMANAGEMENT'].methods_by_name['AggregateStream']._serialized_options = b'\222A\242\001\032BRetrieve data from a database collection based on a supplied queryb\020\n\016\n\nJWT Bearer\022\000rJ\nH\n\026Grpc-Metadata-Location\022\"Location of the client (subdomain)\030\001\"\006string(\001\202\323\344\223\002\035\"\030/api/v1/aggregate/stream:\001*'
  _globals['_AGGREGATEMANAGEMENT'].methods_by_name['AggregateUnary']._loaded_options = None
  _globals['_AGGREGATEMANAGEMENT'].methods_by_name['AggregateUnary']._serialized_options = b'\222A\242\001\032BRetrieve data from a database collection based on a supplied queryb\020\n\016\n\nJWT Bearer\022\000rJ\nH\n\026Grpc-Metadata-Location\022\"Location of the client (subdomain)\030\001\"\006string(\001\202\323\344\223\002\026\"\021/api/v1/aggregate:\001*'
  _globals['_AGGREGATEFILTEROPTIONS']._serialized_start=157
  _globals['_AGGREGATEFILTEROPTIONS']._serialized_end=253
  _globals['_AGGREGATESTREAMREQUEST']._serialized_start=256
  _globals['_AGGREGATESTREAMREQUEST']._serialized_end=645
  _globals['_AGGREGATEUNARYREQUEST']._serialized_start=648
  _globals['_AGGREGATEUNARYREQUEST']._serialized_end=1074
  _globals['_AGGREGATERESPONSE']._serialized_start=1077
  _globals['_AGGREGATERESPONSE']._serialized_end=1206
  _globals['_AGGREGATEMANAGEMENT']._serialized_start=1209
  _globals['_AGGREGATEMANAGEMENT']._serialized_end=1873
# @@protoc_insertion_point(module_scope)
