ortools.service.v1.optimization_pb2

@generated by mypy-protobuf. Do not edit manually! isort:skip_file Copyright 2010-2025 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

 1# -*- coding: utf-8 -*-
 2# Generated by the protocol buffer compiler.  DO NOT EDIT!
 3# NO CHECKED-IN PROTOBUF GENCODE
 4# source: ortools/service/v1/optimization.proto
 5# Protobuf Python Version: 6.31.1
 6"""Generated protocol buffer code."""
 7from google.protobuf import descriptor as _descriptor
 8from google.protobuf import descriptor_pool as _descriptor_pool
 9from google.protobuf import runtime_version as _runtime_version
10from google.protobuf import symbol_database as _symbol_database
11from google.protobuf.internal import builder as _builder
12_runtime_version.ValidateProtobufRuntimeVersion(
13    _runtime_version.Domain.PUBLIC,
14    6,
15    31,
16    1,
17    '',
18    'ortools/service/v1/optimization.proto'
19)
20# @@protoc_insertion_point(imports)
21
22_sym_db = _symbol_database.Default()
23
24
25from ortools.service.v1.mathopt import model_pb2 as ortools_dot_service_dot_v1_dot_mathopt_dot_model__pb2
26from ortools.service.v1.mathopt import model_parameters_pb2 as ortools_dot_service_dot_v1_dot_mathopt_dot_model__parameters__pb2
27from ortools.service.v1.mathopt import parameters_pb2 as ortools_dot_service_dot_v1_dot_mathopt_dot_parameters__pb2
28from ortools.service.v1.mathopt import result_pb2 as ortools_dot_service_dot_v1_dot_mathopt_dot_result__pb2
29from ortools.service.v1.mathopt import solver_resources_pb2 as ortools_dot_service_dot_v1_dot_mathopt_dot_solver__resources__pb2
30
31
32DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ortools/service/v1/optimization.proto\x12\x1eoperations_research.service.v1\x1a&ortools/service/v1/mathopt/model.proto\x1a\x31ortools/service/v1/mathopt/model_parameters.proto\x1a+ortools/service/v1/mathopt/parameters.proto\x1a\'ortools/service/v1/mathopt/result.proto\x1a\x31ortools/service/v1/mathopt/solver_resources.proto\"\xab\x03\n\x18SolveMathOptModelRequest\x12L\n\x0bsolver_type\x18\x01 \x01(\x0e\x32\x37.operations_research.service.v1.mathopt.SolverTypeProto\x12\x41\n\x05model\x18\x02 \x01(\x0b\x32\x32.operations_research.service.v1.mathopt.ModelProto\x12O\n\tresources\x18\x06 \x01(\x0b\x32<.operations_research.service.v1.mathopt.SolverResourcesProto\x12P\n\nparameters\x18\x04 \x01(\x0b\x32<.operations_research.service.v1.mathopt.SolveParametersProto\x12[\n\x10model_parameters\x18\x05 \x01(\x0b\x32\x41.operations_research.service.v1.mathopt.ModelSolveParametersProto\"w\n\x19SolveMathOptModelResponse\x12H\n\x06result\x18\x01 \x01(\x0b\x32\x38.operations_research.service.v1.mathopt.SolveResultProto\x12\x10\n\x08messages\x18\x02 \x03(\t2\x9b\x01\n\x0cOptimization\x12\x8a\x01\n\x11SolveMathOptModel\x12\x38.operations_research.service.v1.SolveMathOptModelRequest\x1a\x39.operations_research.service.v1.SolveMathOptModelResponse\"\x00\x42:\n\x1d\x63om.google.ortools.service.v1P\x01\xaa\x02\x16Google.OrTools.Serviceb\x06proto3')
33
34_globals = globals()
35_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
36_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ortools.service.v1.optimization_pb2', _globals)
37if not _descriptor._USE_C_DESCRIPTORS:
38  _globals['DESCRIPTOR']._loaded_options = None
39  _globals['DESCRIPTOR']._serialized_options = b'\n\035com.google.ortools.service.v1P\001\252\002\026Google.OrTools.Service'
40  _globals['_SOLVEMATHOPTMODELREQUEST']._serialized_start=302
41  _globals['_SOLVEMATHOPTMODELREQUEST']._serialized_end=729
42  _globals['_SOLVEMATHOPTMODELRESPONSE']._serialized_start=731
43  _globals['_SOLVEMATHOPTMODELRESPONSE']._serialized_end=850
44  _globals['_OPTIMIZATION']._serialized_start=853
45  _globals['_OPTIMIZATION']._serialized_end=1008
46# @@protoc_insertion_point(module_scope)
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = <google._upb._message.FileDescriptor object>
class SolveMathOptModelRequest(google._upb._message.Message, google.protobuf.message.Message):

Request for a unary remote solve in MathOpt.

DESCRIPTOR: google.protobuf.descriptor.Descriptor = <google._upb._message.Descriptor object>
class SolveMathOptModelResponse(google._upb._message.Message, google.protobuf.message.Message):

Response for a unary remote solve in MathOpt.

DESCRIPTOR: google.protobuf.descriptor.Descriptor = <google._upb._message.Descriptor object>