# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: fsai_grpc_api/protos/query/query_detection_aggregate_api.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='fsai_grpc_api/protos/query/query_detection_aggregate_api.proto',
  package='',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n>fsai_grpc_api/protos/query/query_detection_aggregate_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"_\n\x19\x44\x65tectionAggregateRequest\x12\x0f\n\x07min_lat\x18\x01 \x01(\x02\x12\x0f\n\x07max_lat\x18\x02 \x01(\x02\x12\x0f\n\x07min_lon\x18\x03 \x01(\x02\x12\x0f\n\x07max_lon\x18\x04 \x01(\x02\"\x8a\x03\n\x1a\x44\x65tectionAggregateResponse\x12\x14\n\x0c\x64\x65tection_id\x18\x01 \x01(\x03\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x02 \x01(\x03\x12\x0b\n\x03lat\x18\x03 \x01(\x02\x12\x0b\n\x03lon\x18\x04 \x01(\x02\x12\x15\n\rcategory_name\x18\x05 \x01(\t\x12\x11\n\tmax_score\x18\x06 \x01(\x02\x12\x18\n\x10\x65stimated_height\x18\x07 \x01(\x02\x12\x15\n\rtotal_sources\x18\x08 \x01(\x03\x12\x16\n\x0ehuman_verified\x18\t \x01(\x08\x12.\n\nfirst_seen\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tlast_seen\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bvendor_name\x18\x0c \x01(\x08\x12\x19\n\x11vendor_feature_id\x18\r \x01(\x08\x12\x1b\n\x13vendor_feature_meta\x18\x0e \x01(\x08\x32q\n\x1aQueryDetectionAggregateApi\x12S\n\x16GetDetectionAggregates\x12\x1a.DetectionAggregateRequest\x1a\x1b.DetectionAggregateResponse0\x01\x62\x06proto3'
  ,
  dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,])




_DETECTIONAGGREGATEREQUEST = _descriptor.Descriptor(
  name='DetectionAggregateRequest',
  full_name='DetectionAggregateRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='min_lat', full_name='DetectionAggregateRequest.min_lat', index=0,
      number=1, type=2, cpp_type=6, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='max_lat', full_name='DetectionAggregateRequest.max_lat', index=1,
      number=2, type=2, cpp_type=6, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='min_lon', full_name='DetectionAggregateRequest.min_lon', index=2,
      number=3, type=2, cpp_type=6, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='max_lon', full_name='DetectionAggregateRequest.max_lon', index=3,
      number=4, type=2, cpp_type=6, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=99,
  serialized_end=194,
)


_DETECTIONAGGREGATERESPONSE = _descriptor.Descriptor(
  name='DetectionAggregateResponse',
  full_name='DetectionAggregateResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='detection_id', full_name='DetectionAggregateResponse.detection_id', index=0,
      number=1, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='detection_instance_id', full_name='DetectionAggregateResponse.detection_instance_id', index=1,
      number=2, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='lat', full_name='DetectionAggregateResponse.lat', index=2,
      number=3, type=2, cpp_type=6, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='lon', full_name='DetectionAggregateResponse.lon', index=3,
      number=4, type=2, cpp_type=6, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='category_name', full_name='DetectionAggregateResponse.category_name', index=4,
      number=5, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='max_score', full_name='DetectionAggregateResponse.max_score', index=5,
      number=6, type=2, cpp_type=6, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='estimated_height', full_name='DetectionAggregateResponse.estimated_height', index=6,
      number=7, type=2, cpp_type=6, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='total_sources', full_name='DetectionAggregateResponse.total_sources', index=7,
      number=8, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='human_verified', full_name='DetectionAggregateResponse.human_verified', index=8,
      number=9, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='first_seen', full_name='DetectionAggregateResponse.first_seen', index=9,
      number=10, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='last_seen', full_name='DetectionAggregateResponse.last_seen', index=10,
      number=11, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='vendor_name', full_name='DetectionAggregateResponse.vendor_name', index=11,
      number=12, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='vendor_feature_id', full_name='DetectionAggregateResponse.vendor_feature_id', index=12,
      number=13, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='vendor_feature_meta', full_name='DetectionAggregateResponse.vendor_feature_meta', index=13,
      number=14, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=197,
  serialized_end=591,
)

_DETECTIONAGGREGATERESPONSE.fields_by_name['first_seen'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_DETECTIONAGGREGATERESPONSE.fields_by_name['last_seen'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
DESCRIPTOR.message_types_by_name['DetectionAggregateRequest'] = _DETECTIONAGGREGATEREQUEST
DESCRIPTOR.message_types_by_name['DetectionAggregateResponse'] = _DETECTIONAGGREGATERESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

DetectionAggregateRequest = _reflection.GeneratedProtocolMessageType('DetectionAggregateRequest', (_message.Message,), {
  'DESCRIPTOR' : _DETECTIONAGGREGATEREQUEST,
  '__module__' : 'fsai_grpc_api.protos.query.query_detection_aggregate_api_pb2'
  # @@protoc_insertion_point(class_scope:DetectionAggregateRequest)
  })
_sym_db.RegisterMessage(DetectionAggregateRequest)

DetectionAggregateResponse = _reflection.GeneratedProtocolMessageType('DetectionAggregateResponse', (_message.Message,), {
  'DESCRIPTOR' : _DETECTIONAGGREGATERESPONSE,
  '__module__' : 'fsai_grpc_api.protos.query.query_detection_aggregate_api_pb2'
  # @@protoc_insertion_point(class_scope:DetectionAggregateResponse)
  })
_sym_db.RegisterMessage(DetectionAggregateResponse)



_QUERYDETECTIONAGGREGATEAPI = _descriptor.ServiceDescriptor(
  name='QueryDetectionAggregateApi',
  full_name='QueryDetectionAggregateApi',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=593,
  serialized_end=706,
  methods=[
  _descriptor.MethodDescriptor(
    name='GetDetectionAggregates',
    full_name='QueryDetectionAggregateApi.GetDetectionAggregates',
    index=0,
    containing_service=None,
    input_type=_DETECTIONAGGREGATEREQUEST,
    output_type=_DETECTIONAGGREGATERESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_QUERYDETECTIONAGGREGATEAPI)

DESCRIPTOR.services_by_name['QueryDetectionAggregateApi'] = _QUERYDETECTIONAGGREGATEAPI

# @@protoc_insertion_point(module_scope)
