# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: inference_head_detection.proto

import sys

_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode('latin1'))
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()

DESCRIPTOR = _descriptor.FileDescriptor(
    name='inference_head_detection.proto',
    package='inference_head_detection',
    syntax='proto3',
    serialized_options=None,
    serialized_pb=_b(
        '\n\x1einference_head_detection.proto\x12\x18inference_head_detection\"Y\n\x16ObjectDetectionRequest\x12\x14\n\x0crequest_info\x18\x01 \x01(\t\x12\x15\n\rmodel_version\x18\x02 \x01(\x03\x12\x12\n\nimage_data\x18\x03 \x01(\x0c\"=\n\x03\x42ox\x12\x0c\n\x04xmin\x18\x01 \x01(\x02\x12\x0c\n\x04ymin\x18\x02 \x01(\x02\x12\x0c\n\x04xmax\x18\x03 \x01(\x02\x12\x0c\n\x04ymax\x18\x04 \x01(\x02\"R\n\x06Object\x12*\n\x03\x62ox\x18\x01 \x01(\x0b\x32\x1d.inference_head_detection.Box\x12\r\n\x05score\x18\x02 \x01(\x02\x12\r\n\x05label\x18\x03 \x01(\x03\"u\n\x17ObjectDetectionResponse\x12\x15\n\rresponse_info\x18\x01 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x02 \x01(\x03\x12\x31\n\x07objects\x18\x03 \x03(\x0b\x32 .inference_head_detection.Object2\x82\x01\n\rHeadDetection\x12q\n\nDetectHead\x12\x30.inference_head_detection.ObjectDetectionRequest\x1a\x31.inference_head_detection.ObjectDetectionResponseb\x06proto3')
)

_OBJECTDETECTIONREQUEST = _descriptor.Descriptor(
    name='ObjectDetectionRequest',
    full_name='inference_head_detection.ObjectDetectionRequest',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='request_info',
            full_name='inference_head_detection.ObjectDetectionRequest.request_info', index=0,
            number=1, 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),
        _descriptor.FieldDescriptor(
            name='model_version',
            full_name='inference_head_detection.ObjectDetectionRequest.model_version', 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),
        _descriptor.FieldDescriptor(
            name='image_data',
            full_name='inference_head_detection.ObjectDetectionRequest.image_data', index=2,
            number=3, type=12, cpp_type=9, label=1,
            has_default_value=False, default_value=_b(""),
            message_type=None, enum_type=None, containing_type=None,
            is_extension=False, extension_scope=None,
            serialized_options=None, file=DESCRIPTOR),
    ],
    extensions=[
    ],
    nested_types=[],
    enum_types=[
    ],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=60,
    serialized_end=149,
)

_BOX = _descriptor.Descriptor(
    name='Box',
    full_name='inference_head_detection.Box',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='xmin', full_name='inference_head_detection.Box.xmin', 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),
        _descriptor.FieldDescriptor(
            name='ymin', full_name='inference_head_detection.Box.ymin', 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),
        _descriptor.FieldDescriptor(
            name='xmax', full_name='inference_head_detection.Box.xmax', 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),
        _descriptor.FieldDescriptor(
            name='ymax', full_name='inference_head_detection.Box.ymax', 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),
    ],
    extensions=[
    ],
    nested_types=[],
    enum_types=[
    ],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=151,
    serialized_end=212,
)

_OBJECT = _descriptor.Descriptor(
    name='Object',
    full_name='inference_head_detection.Object',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='box', full_name='inference_head_detection.Object.box', index=0,
            number=1, 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),
        _descriptor.FieldDescriptor(
            name='score', full_name='inference_head_detection.Object.score', 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),
        _descriptor.FieldDescriptor(
            name='label', full_name='inference_head_detection.Object.label', index=2,
            number=3, 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),
    ],
    extensions=[
    ],
    nested_types=[],
    enum_types=[
    ],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=214,
    serialized_end=296,
)

_OBJECTDETECTIONRESPONSE = _descriptor.Descriptor(
    name='ObjectDetectionResponse',
    full_name='inference_head_detection.ObjectDetectionResponse',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='response_info',
            full_name='inference_head_detection.ObjectDetectionResponse.response_info', index=0,
            number=1, 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),
        _descriptor.FieldDescriptor(
            name='category', full_name='inference_head_detection.ObjectDetectionResponse.category',
            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),
        _descriptor.FieldDescriptor(
            name='objects', full_name='inference_head_detection.ObjectDetectionResponse.objects',
            index=2,
            number=3, type=11, cpp_type=10, label=3,
            has_default_value=False, default_value=[],
            message_type=None, enum_type=None, containing_type=None,
            is_extension=False, extension_scope=None,
            serialized_options=None, file=DESCRIPTOR),
    ],
    extensions=[
    ],
    nested_types=[],
    enum_types=[
    ],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=298,
    serialized_end=415,
)

_OBJECT.fields_by_name['box'].message_type = _BOX
_OBJECTDETECTIONRESPONSE.fields_by_name['objects'].message_type = _OBJECT
DESCRIPTOR.message_types_by_name['ObjectDetectionRequest'] = _OBJECTDETECTIONREQUEST
DESCRIPTOR.message_types_by_name['Box'] = _BOX
DESCRIPTOR.message_types_by_name['Object'] = _OBJECT
DESCRIPTOR.message_types_by_name['ObjectDetectionResponse'] = _OBJECTDETECTIONRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ObjectDetectionRequest = _reflection.GeneratedProtocolMessageType('ObjectDetectionRequest',
                                                                  (_message.Message,), dict(
        DESCRIPTOR=_OBJECTDETECTIONREQUEST,
        __module__='inference_head_detection_pb2'
        # @@protoc_insertion_point(class_scope:inference_head_detection.ObjectDetectionRequest)
    ))
_sym_db.RegisterMessage(ObjectDetectionRequest)

Box = _reflection.GeneratedProtocolMessageType('Box', (_message.Message,), dict(
    DESCRIPTOR=_BOX,
    __module__='inference_head_detection_pb2'
    # @@protoc_insertion_point(class_scope:inference_head_detection.Box)
))
_sym_db.RegisterMessage(Box)

Object = _reflection.GeneratedProtocolMessageType('Object', (_message.Message,), dict(
    DESCRIPTOR=_OBJECT,
    __module__='inference_head_detection_pb2'
    # @@protoc_insertion_point(class_scope:inference_head_detection.Object)
))
_sym_db.RegisterMessage(Object)

ObjectDetectionResponse = _reflection.GeneratedProtocolMessageType('ObjectDetectionResponse',
                                                                   (_message.Message,), dict(
        DESCRIPTOR=_OBJECTDETECTIONRESPONSE,
        __module__='inference_head_detection_pb2'
        # @@protoc_insertion_point(class_scope:inference_head_detection.ObjectDetectionResponse)
    ))
_sym_db.RegisterMessage(ObjectDetectionResponse)

_HEADDETECTION = _descriptor.ServiceDescriptor(
    name='HeadDetection',
    full_name='inference_head_detection.HeadDetection',
    file=DESCRIPTOR,
    index=0,
    serialized_options=None,
    serialized_start=418,
    serialized_end=548,
    methods=[
        _descriptor.MethodDescriptor(
            name='DetectHead',
            full_name='inference_head_detection.HeadDetection.DetectHead',
            index=0,
            containing_service=None,
            input_type=_OBJECTDETECTIONREQUEST,
            output_type=_OBJECTDETECTIONRESPONSE,
            serialized_options=None,
        ),
    ])
_sym_db.RegisterServiceDescriptor(_HEADDETECTION)

DESCRIPTOR.services_by_name['HeadDetection'] = _HEADDETECTION

# @@protoc_insertion_point(module_scope)
