ortools.sat.cp_model_service_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/sat/cp_model_service.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/sat/cp_model_service.proto'
19)
20# @@protoc_insertion_point(imports)
21
22_sym_db = _symbol_database.Default()
23
24
25from ortools.sat import cp_model_pb2 as ortools_dot_sat_dot_cp__model__pb2
26from ortools.sat import sat_parameters_pb2 as ortools_dot_sat_dot_sat__parameters__pb2
27
28
29DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"ortools/sat/cp_model_service.proto\x12\x1aoperations_research.sat.v1\x1a\x1aortools/sat/cp_model.proto\x1a ortools/sat/sat_parameters.proto\"\x89\x01\n\x0f\x43pSolverRequest\x12\x34\n\x05model\x18\x01 \x01(\x0b\x32%.operations_research.sat.CpModelProto\x12:\n\nparameters\x18\x03 \x01(\x0b\x32&.operations_research.sat.SatParametersJ\x04\x08\x02\x10\x03\x32t\n\x08\x43pSolver\x12h\n\x0cSolveProblem\x12+.operations_research.sat.v1.CpSolverRequest\x1a).operations_research.sat.CpSolverResponse\"\x00\x42G\n\x19\x63om.google.ortools.sat.v1B\x13\x43pModelServiceProtoP\x01\xaa\x02\x12Google.OrTools.Satb\x06proto3')
30
31_globals = globals()
32_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ortools.sat.cp_model_service_pb2', _globals)
34if not _descriptor._USE_C_DESCRIPTORS:
35  _globals['DESCRIPTOR']._loaded_options = None
36  _globals['DESCRIPTOR']._serialized_options = b'\n\031com.google.ortools.sat.v1B\023CpModelServiceProtoP\001\252\002\022Google.OrTools.Sat'
37  _globals['_CPSOLVERREQUEST']._serialized_start=129
38  _globals['_CPSOLVERREQUEST']._serialized_end=266
39  _globals['_CPSOLVER']._serialized_start=268
40  _globals['_CPSOLVER']._serialized_end=384
41# @@protoc_insertion_point(module_scope)
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = <google._upb._message.FileDescriptor object>
class CpSolverRequest(google._upb._message.Message, google.protobuf.message.Message):

The request sent to the remote solve service.

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