# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: optimizer_model.proto

from . import routing_model_pb2 as routing__model__pb2
from . import linear_model_pb2 as linear__model__pb2
from google.protobuf import symbol_database as _symbol_database
from google.protobuf import reflection as _reflection
from google.protobuf import message as _message
from google.protobuf import descriptor as _descriptor
import sys
_b = sys.version_info[0] < 3 and (
    lambda x: x) or (
        lambda x: x.encode('latin1'))
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


DESCRIPTOR = _descriptor.FileDescriptor(
    name='optimizer_model.proto',
    package='optilab',
    syntax='proto3',
    serialized_options=None,
    serialized_pb=_b('\n\x15optimizer_model.proto\x12\x07optilab\x1a\x12linear_model.proto\x1a\x13routing_model.proto\"\x8d\x01\n\x0eOptimizerModel\x12\x35\n\x0clinear_model\x18\x01 \x01(\x0b\x32\x1d.optilab.LinearModelSpecProtoH\x00\x12;\n\rrouting_model\x18\x02 \x01(\x0b\x32\".optilab.toolbox.RoutingModelProtoH\x00\x42\x07\n\x05modelb\x06proto3'),
    dependencies=[
        linear__model__pb2.DESCRIPTOR,
        routing__model__pb2.DESCRIPTOR,
    ])


_OPTIMIZERMODEL = _descriptor.Descriptor(
    name='OptimizerModel',
    full_name='optilab.OptimizerModel',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='linear_model',
            full_name='optilab.OptimizerModel.linear_model',
            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='routing_model',
            full_name='optilab.OptimizerModel.routing_model',
            index=1,
            number=2,
            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),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
        _descriptor.OneofDescriptor(
            name='model',
            full_name='optilab.OptimizerModel.model',
            index=0,
            containing_type=None,
            fields=[]),
    ],
    serialized_start=76,
    serialized_end=217,
)

_OPTIMIZERMODEL.fields_by_name['linear_model'].message_type = linear__model__pb2._LINEARMODELSPECPROTO
_OPTIMIZERMODEL.fields_by_name['routing_model'].message_type = routing__model__pb2._ROUTINGMODELPROTO
_OPTIMIZERMODEL.oneofs_by_name['model'].fields.append(
    _OPTIMIZERMODEL.fields_by_name['linear_model'])
_OPTIMIZERMODEL.fields_by_name['linear_model'].containing_oneof = _OPTIMIZERMODEL.oneofs_by_name['model']
_OPTIMIZERMODEL.oneofs_by_name['model'].fields.append(
    _OPTIMIZERMODEL.fields_by_name['routing_model'])
_OPTIMIZERMODEL.fields_by_name['routing_model'].containing_oneof = _OPTIMIZERMODEL.oneofs_by_name['model']
DESCRIPTOR.message_types_by_name['OptimizerModel'] = _OPTIMIZERMODEL
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

OptimizerModel = _reflection.GeneratedProtocolMessageType('OptimizerModel', (_message.Message,), dict(
    DESCRIPTOR=_OPTIMIZERMODEL,
    __module__='optimizer_model_pb2'
    # @@protoc_insertion_point(class_scope:optilab.OptimizerModel)
))
_sym_db.RegisterMessage(OptimizerModel)


# @@protoc_insertion_point(module_scope)
