15 public static partial class CpModelServiceReflection {
20 get {
return descriptor; }
22 private static pbr::FileDescriptor descriptor;
25 byte[] descriptorData = global::System.Convert.FromBase64String(
27 "CiJvcnRvb2xzL3NhdC9jcF9tb2RlbF9zZXJ2aWNlLnByb3RvEhpvcGVyYXRp",
28 "b25zX3Jlc2VhcmNoLnNhdC52MRoab3J0b29scy9zYXQvY3BfbW9kZWwucHJv",
29 "dG8aIG9ydG9vbHMvc2F0L3NhdF9wYXJhbWV0ZXJzLnByb3RvIokBCg9DcFNv",
30 "bHZlclJlcXVlc3QSNAoFbW9kZWwYASABKAsyJS5vcGVyYXRpb25zX3Jlc2Vh",
31 "cmNoLnNhdC5DcE1vZGVsUHJvdG8SOgoKcGFyYW1ldGVycxgDIAEoCzImLm9w",
32 "ZXJhdGlvbnNfcmVzZWFyY2guc2F0LlNhdFBhcmFtZXRlcnNKBAgCEAMydAoI",
33 "Q3BTb2x2ZXISaAoMU29sdmVQcm9ibGVtEisub3BlcmF0aW9uc19yZXNlYXJj",
34 "aC5zYXQudjEuQ3BTb2x2ZXJSZXF1ZXN0Gikub3BlcmF0aW9uc19yZXNlYXJj",
35 "aC5zYXQuQ3BTb2x2ZXJSZXNwb25zZSIAQkcKGWNvbS5nb29nbGUub3J0b29s",
36 "cy5zYXQudjFCE0NwTW9kZWxTZXJ2aWNlUHJvdG9QAaoCEkdvb2dsZS5PclRv",
37 "b2xzLlNhdGIGcHJvdG8z"));
38 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
39 new pbr::FileDescriptor[] { global::Google.OrTools.Sat.CpModelReflection.Descriptor, global::Google.OrTools.Sat.SatParametersReflection.Descriptor, },
40 new pbr::GeneratedClrTypeInfo(
null,
null,
new pbr::GeneratedClrTypeInfo[] {
41 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
CpSolverRequest), global::Google.OrTools.Sat.CpSolverRequest.Parser,
new[]{
"Model",
"Parameters" },
null,
null,
null,
null)
53 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
57 private static readonly pb::MessageParser<CpSolverRequest> _parser =
new pb::MessageParser<CpSolverRequest>(() =>
new CpSolverRequest());
58 private pb::UnknownFieldSet _unknownFields;
59 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
60 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
61 public static pb::MessageParser<CpSolverRequest>
Parser {
get {
return _parser; } }
63 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
64 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
66 get {
return global::Google.OrTools.Sat.CpModelServiceReflection.Descriptor.MessageTypes[0]; }
69 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
70 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
71 pbr::MessageDescriptor pb::IMessage.Descriptor {
75 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
76 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
81 partial
void OnConstruction();
83 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
84 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
86 model_ = other.model_ !=
null ? other.model_.
Clone() :
null;
87 parameters_ = other.parameters_ !=
null ? other.parameters_.
Clone() :
null;
88 _unknownFields = pb::UnknownFieldSet.
Clone(other._unknownFields);
91 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
92 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
99 private global::Google.OrTools.Sat.CpModelProto model_;
103 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
104 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
106 get { return model_; }
114 private global::Google.OrTools.Sat.SatParameters parameters_;
118 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
119 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
121 get { return parameters_; }
127 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
128 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
129 public override bool Equals(
object other) {
133 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
134 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
136 if (ReferenceEquals(other,
null)) {
139 if (ReferenceEquals(other,
this)) {
144 return Equals(_unknownFields, other._unknownFields);
147 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
148 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
151 if (model_ !=
null) hash ^=
Model.GetHashCode();
152 if (parameters_ !=
null) hash ^=
Parameters.GetHashCode();
153 if (_unknownFields !=
null) {
154 hash ^= _unknownFields.GetHashCode();
159 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
160 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
162 return pb::JsonFormatter.ToDiagnosticString(
this);
165 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
166 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
167 public void WriteTo(pb::CodedOutputStream output) {
168 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
169 output.WriteRawMessage(
this);
171 if (model_ !=
null) {
172 output.WriteRawTag(10);
173 output.WriteMessage(
Model);
175 if (parameters_ !=
null) {
176 output.WriteRawTag(26);
179 if (_unknownFields !=
null) {
180 _unknownFields.WriteTo(output);
185 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
186 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
187 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
188 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
189 if (model_ !=
null) {
190 output.WriteRawTag(10);
191 output.WriteMessage(Model);
193 if (parameters_ !=
null) {
194 output.WriteRawTag(26);
195 output.WriteMessage(Parameters);
197 if (_unknownFields !=
null) {
198 _unknownFields.WriteTo(ref output);
203 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
204 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
207 if (model_ !=
null) {
208 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
Model);
210 if (parameters_ !=
null) {
211 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
Parameters);
213 if (_unknownFields !=
null) {
214 size += _unknownFields.CalculateSize();
219 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
220 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
225 if (other.model_ !=
null) {
226 if (model_ ==
null) {
227 Model =
new global::Google.OrTools.Sat.CpModelProto();
231 if (other.parameters_ !=
null) {
232 if (parameters_ ==
null) {
233 Parameters =
new global::Google.OrTools.Sat.SatParameters();
237 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
240 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
241 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
243 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
244 input.ReadRawMessage(
this);
247 while ((tag = input.ReadTag()) != 0) {
248 if ((tag & 7) == 4) {
254 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
257 if (model_ ==
null) {
258 Model =
new global::Google.OrTools.Sat.CpModelProto();
260 input.ReadMessage(
Model);
264 if (parameters_ ==
null) {
265 Parameters =
new global::Google.OrTools.Sat.SatParameters();
275 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
276 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
277 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
278 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
280 while ((tag = input.ReadTag()) != 0) {
281 if ((tag & 7) == 4) {
287 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
290 if (model_ ==
null) {
291 Model =
new global::Google.OrTools.Sat.CpModelProto();
293 input.ReadMessage(Model);
297 if (parameters_ ==
null) {
298 Parameters =
new global::Google.OrTools.Sat.SatParameters();
300 input.ReadMessage(Parameters);