ortools.math_opt.rpc_pb2

Generated protocol buffer code.

 1# -*- coding: utf-8 -*-
 2# Generated by the protocol buffer compiler.  DO NOT EDIT!
 3# NO CHECKED-IN PROTOBUF GENCODE
 4# source: ortools/math_opt/rpc.proto
 5# Protobuf Python Version: 6.31.0
 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    0,
17    '',
18    'ortools/math_opt/rpc.proto'
19)
20# @@protoc_insertion_point(imports)
21
22_sym_db = _symbol_database.Default()
23
24
25from ortools.math_opt import callback_pb2 as ortools_dot_math__opt_dot_callback__pb2
26from ortools.math_opt import infeasible_subsystem_pb2 as ortools_dot_math__opt_dot_infeasible__subsystem__pb2
27from ortools.math_opt import model_pb2 as ortools_dot_math__opt_dot_model__pb2
28from ortools.math_opt import model_parameters_pb2 as ortools_dot_math__opt_dot_model__parameters__pb2
29from ortools.math_opt import model_update_pb2 as ortools_dot_math__opt_dot_model__update__pb2
30from ortools.math_opt import parameters_pb2 as ortools_dot_math__opt_dot_parameters__pb2
31from ortools.math_opt import result_pb2 as ortools_dot_math__opt_dot_result__pb2
32
33
34DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1aortools/math_opt/rpc.proto\x12\x1coperations_research.math_opt\x1a\x1fortools/math_opt/callback.proto\x1a+ortools/math_opt/infeasible_subsystem.proto\x1a\x1cortools/math_opt/model.proto\x1a\'ortools/math_opt/model_parameters.proto\x1a#ortools/math_opt/model_update.proto\x1a!ortools/math_opt/parameters.proto\x1a\x1dortools/math_opt/result.proto\"J\n\x14SolverResourcesProto\x12\x10\n\x03\x63pu\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x10\n\x03ram\x18\x02 \x01(\x01H\x01\x88\x01\x01\x42\x06\n\x04_cpuB\x06\n\x04_ram\"\xb8\x03\n\x0cSolveRequest\x12\x42\n\x0bsolver_type\x18\x01 \x01(\x0e\x32-.operations_research.math_opt.SolverTypeProto\x12\x37\n\x05model\x18\x02 \x01(\x0b\x32(.operations_research.math_opt.ModelProto\x12\x45\n\tresources\x18\x06 \x01(\x0b\x32\x32.operations_research.math_opt.SolverResourcesProto\x12I\n\x0binitializer\x18\x03 \x01(\x0b\x32\x34.operations_research.math_opt.SolverInitializerProto\x12\x46\n\nparameters\x18\x04 \x01(\x0b\x32\x32.operations_research.math_opt.SolveParametersProto\x12Q\n\x10model_parameters\x18\x05 \x01(\x0b\x32\x37.operations_research.math_opt.ModelSolveParametersProto\"\xad\x01\n\rSolveResponse\x12@\n\x06result\x18\x01 \x01(\x0b\x32..operations_research.math_opt.SolveResultProtoH\x00\x12;\n\x06status\x18\x03 \x01(\x0b\x32).operations_research.math_opt.StatusProtoH\x00\x12\x10\n\x08messages\x18\x02 \x03(\tB\x0b\n\tstatus_or\",\n\x0bStatusProto\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\tB\x1e\n\x1a\x63om.google.ortools.mathoptP\x01\x62\x06proto3')
35
36_globals = globals()
37_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
38_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ortools.math_opt.rpc_pb2', _globals)
39if not _descriptor._USE_C_DESCRIPTORS:
40  _globals['DESCRIPTOR']._loaded_options = None
41  _globals['DESCRIPTOR']._serialized_options = b'\n\032com.google.ortools.mathoptP\001'
42  _globals['_SOLVERRESOURCESPROTO']._serialized_start=312
43  _globals['_SOLVERRESOURCESPROTO']._serialized_end=386
44  _globals['_SOLVEREQUEST']._serialized_start=389
45  _globals['_SOLVEREQUEST']._serialized_end=829
46  _globals['_SOLVERESPONSE']._serialized_start=832
47  _globals['_SOLVERESPONSE']._serialized_end=1005
48  _globals['_STATUSPROTO']._serialized_start=1007
49  _globals['_STATUSPROTO']._serialized_end=1051
50# @@protoc_insertion_point(module_scope)
DESCRIPTOR = <google._upb._message.FileDescriptor object>
class SolverResourcesProto(google._upb._message.Message, google.protobuf.message.Message):

A ProtocolMessage

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

A ProtocolMessage

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

A ProtocolMessage

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

A ProtocolMessage

DESCRIPTOR = <google._upb._message.Descriptor object>