Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
RoutingEnums.pb.cs
Go to the documentation of this file.
1// <auto-generated>
2// Generated by the protocol buffer compiler. DO NOT EDIT!
3// source: ortools/constraint_solver/routing_enums.proto
4// </auto-generated>
5#pragma warning disable 1591, 0612, 3021, 8981
6#region Designer generated code
7
8using pb = global::Google.Protobuf;
9using pbc = global::Google.Protobuf.Collections;
10using pbr = global::Google.Protobuf.Reflection;
11using scg = global::System.Collections.Generic;
13
15 public static partial class RoutingEnumsReflection {
16
17 #region Descriptor
19 public static pbr::FileDescriptor Descriptor {
20 get { return descriptor; }
21 }
22 private static pbr::FileDescriptor descriptor;
23
24 static RoutingEnumsReflection() {
25 byte[] descriptorData = global::System.Convert.FromBase64String(
26 string.Concat(
27 "Ci1vcnRvb2xzL2NvbnN0cmFpbnRfc29sdmVyL3JvdXRpbmdfZW51bXMucHJv",
28 "dG8SE29wZXJhdGlvbnNfcmVzZWFyY2gixQMKFUZpcnN0U29sdXRpb25TdHJh",
29 "dGVneSKrAwoFVmFsdWUSCQoFVU5TRVQQABINCglBVVRPTUFUSUMQDxIVChFQ",
30 "QVRIX0NIRUFQRVNUX0FSQxADEh0KGVBBVEhfTU9TVF9DT05TVFJBSU5FRF9B",
31 "UkMQBBIWChJFVkFMVUFUT1JfU1RSQVRFR1kQBRILCgdTQVZJTkdTEAoSFAoQ",
32 "UEFSQUxMRUxfU0FWSU5HUxAREgkKBVNXRUVQEAsSEAoMQ0hSSVNUT0ZJREVT",
33 "EA0SEwoPQUxMX1VOUEVSRk9STUVEEAYSEgoOQkVTVF9JTlNFUlRJT04QBxIf",
34 "ChtQQVJBTExFTF9DSEVBUEVTVF9JTlNFUlRJT04QCBIhCh1TRVFVRU5USUFM",
35 "X0NIRUFQRVNUX0lOU0VSVElPThAOEhwKGExPQ0FMX0NIRUFQRVNUX0lOU0VS",
36 "VElPThAJEiEKHUxPQ0FMX0NIRUFQRVNUX0NPU1RfSU5TRVJUSU9OEBASFwoT",
37 "R0xPQkFMX0NIRUFQRVNUX0FSQxABEhYKEkxPQ0FMX0NIRUFQRVNUX0FSQxAC",
38 "EhsKF0ZJUlNUX1VOQk9VTkRfTUlOX1ZBTFVFEAwirgEKGExvY2FsU2VhcmNo",
39 "TWV0YWhldXJpc3RpYyKRAQoFVmFsdWUSCQoFVU5TRVQQABINCglBVVRPTUFU",
40 "SUMQBhISCg5HUkVFRFlfREVTQ0VOVBABEhcKE0dVSURFRF9MT0NBTF9TRUFS",
41 "Q0gQAhIXChNTSU1VTEFURURfQU5ORUFMSU5HEAMSDwoLVEFCVV9TRUFSQ0gQ",
42 "BBIXChNHRU5FUklDX1RBQlVfU0VBUkNIEAUi8QEKE1JvdXRpbmdTZWFyY2hT",
43 "dGF0dXMi2QEKBVZhbHVlEhYKElJPVVRJTkdfTk9UX1NPTFZFRBAAEhMKD1JP",
44 "VVRJTkdfU1VDQ0VTUxABEjUKMVJPVVRJTkdfUEFSVElBTF9TVUNDRVNTX0xP",
45 "Q0FMX09QVElNVU1fTk9UX1JFQUNIRUQQAhIQCgxST1VUSU5HX0ZBSUwQAxIY",
46 "ChRST1VUSU5HX0ZBSUxfVElNRU9VVBAEEhMKD1JPVVRJTkdfSU5WQUxJRBAF",
47 "EhYKElJPVVRJTkdfSU5GRUFTSUJMRRAGEhMKD1JPVVRJTkdfT1BUSU1BTBAH",
48 "QkkKI2NvbS5nb29nbGUub3J0b29scy5jb25zdHJhaW50c29sdmVyUAGqAh9H",
49 "b29nbGUuT3JUb29scy5Db25zdHJhaW50U29sdmVyYgZwcm90bzM="));
50 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
51 new pbr::FileDescriptor[] { },
52 new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
53 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy), global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Parser, null, null, new[]{ typeof(global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value) }, null, null),
54 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic), global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Parser, null, null, new[]{ typeof(global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value) }, null, null),
55 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.ConstraintSolver.RoutingSearchStatus), global::Google.OrTools.ConstraintSolver.RoutingSearchStatus.Parser, null, null, new[]{ typeof(global::Google.OrTools.ConstraintSolver.RoutingSearchStatus.Types.Value) }, null, null)
56 }));
57 }
58 #endregion
59
60 }
61 #region Messages
65 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
66 public sealed partial class FirstSolutionStrategy : pb::IMessage<FirstSolutionStrategy>
67 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
68 , pb::IBufferMessage
69 #endif
70 {
71 private static readonly pb::MessageParser<FirstSolutionStrategy> _parser = new pb::MessageParser<FirstSolutionStrategy>(() => new FirstSolutionStrategy());
72 private pb::UnknownFieldSet _unknownFields;
73 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
74 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
75 public static pb::MessageParser<FirstSolutionStrategy> Parser { get { return _parser; } }
76
77 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
78 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
79 public static pbr::MessageDescriptor Descriptor {
80 get { return global::Google.OrTools.ConstraintSolver.RoutingEnumsReflection.Descriptor.MessageTypes[0]; }
81 }
82
83 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
84 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
85 pbr::MessageDescriptor pb::IMessage.Descriptor {
86 get { return Descriptor; }
87 }
88
89 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
90 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
92 OnConstruction();
93 }
94
95 partial void OnConstruction();
96
97 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
98 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
100 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
101 }
102
103 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
104 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
106 return new FirstSolutionStrategy(this);
107 }
108
109 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
110 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
111 public override bool Equals(object other) {
112 return Equals(other as FirstSolutionStrategy);
113 }
114
115 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
116 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
117 public bool Equals(FirstSolutionStrategy other) {
118 if (ReferenceEquals(other, null)) {
119 return false;
120 }
121 if (ReferenceEquals(other, this)) {
122 return true;
123 }
124 return Equals(_unknownFields, other._unknownFields);
125 }
126
127 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
128 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
129 public override int GetHashCode() {
130 int hash = 1;
131 if (_unknownFields != null) {
132 hash ^= _unknownFields.GetHashCode();
133 }
134 return hash;
135 }
136
137 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
138 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
139 public override string ToString() {
140 return pb::JsonFormatter.ToDiagnosticString(this);
141 }
142
143 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
144 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
145 public void WriteTo(pb::CodedOutputStream output) {
146 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
147 output.WriteRawMessage(this);
148 #else
149 if (_unknownFields != null) {
150 _unknownFields.WriteTo(output);
151 }
152 #endif
153 }
154
155 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
156 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
157 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
158 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
159 if (_unknownFields != null) {
160 _unknownFields.WriteTo(ref output);
161 }
162 }
163 #endif
164
165 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
166 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
167 public int CalculateSize() {
168 int size = 0;
169 if (_unknownFields != null) {
170 size += _unknownFields.CalculateSize();
171 }
172 return size;
173 }
174
175 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
176 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
177 public void MergeFrom(FirstSolutionStrategy other) {
178 if (other == null) {
179 return;
180 }
181 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
182 }
183
184 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
185 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
186 public void MergeFrom(pb::CodedInputStream input) {
187 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
188 input.ReadRawMessage(this);
189 #else
190 uint tag;
191 while ((tag = input.ReadTag()) != 0) {
192 if ((tag & 7) == 4) {
193 // Abort on any end group tag.
194 return;
195 }
196 switch(tag) {
197 default:
198 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
199 break;
200 }
201 }
202 #endif
203 }
204
205 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
206 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
207 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
208 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
209 uint tag;
210 while ((tag = input.ReadTag()) != 0) {
211 if ((tag & 7) == 4) {
212 // Abort on any end group tag.
213 return;
214 }
215 switch(tag) {
216 default:
217 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
218 break;
219 }
220 }
221 }
222 #endif
223
224 #region Nested types
226 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
227 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
228 public static partial class Types {
229 public enum Value {
233 [pbr::OriginalName("UNSET")] Unset = 0,
238 [pbr::OriginalName("AUTOMATIC")] Automatic = 15,
245 [pbr::OriginalName("PATH_CHEAPEST_ARC")] PathCheapestArc = 3,
252 [pbr::OriginalName("PATH_MOST_CONSTRAINED_ARC")] PathMostConstrainedArc = 4,
258 [pbr::OriginalName("EVALUATOR_STRATEGY")] EvaluatorStrategy = 5,
265 [pbr::OriginalName("SAVINGS")] Savings = 10,
272 [pbr::OriginalName("PARALLEL_SAVINGS")] ParallelSavings = 17,
280 [pbr::OriginalName("SWEEP")] Sweep = 11,
291 [pbr::OriginalName("CHRISTOFIDES")] Christofides = 13,
297 [pbr::OriginalName("ALL_UNPERFORMED")] AllUnperformed = 6,
304 [pbr::OriginalName("BEST_INSERTION")] BestInsertion = 7,
310 [pbr::OriginalName("PARALLEL_CHEAPEST_INSERTION")] ParallelCheapestInsertion = 8,
317 [pbr::OriginalName("SEQUENTIAL_CHEAPEST_INSERTION")] SequentialCheapestInsertion = 14,
326 [pbr::OriginalName("LOCAL_CHEAPEST_INSERTION")] LocalCheapestInsertion = 9,
331 [pbr::OriginalName("LOCAL_CHEAPEST_COST_INSERTION")] LocalCheapestCostInsertion = 16,
336 [pbr::OriginalName("GLOBAL_CHEAPEST_ARC")] GlobalCheapestArc = 1,
341 [pbr::OriginalName("LOCAL_CHEAPEST_ARC")] LocalCheapestArc = 2,
348 [pbr::OriginalName("FIRST_UNBOUND_MIN_VALUE")] FirstUnboundMinValue = 12,
349 }
350
351 }
352 #endregion
353
354 }
355
360 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
361 public sealed partial class LocalSearchMetaheuristic : pb::IMessage<LocalSearchMetaheuristic>
362 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
363 , pb::IBufferMessage
364 #endif
365 {
366 private static readonly pb::MessageParser<LocalSearchMetaheuristic> _parser = new pb::MessageParser<LocalSearchMetaheuristic>(() => new LocalSearchMetaheuristic());
367 private pb::UnknownFieldSet _unknownFields;
368 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
369 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
370 public static pb::MessageParser<LocalSearchMetaheuristic> Parser { get { return _parser; } }
371
372 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
373 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
374 public static pbr::MessageDescriptor Descriptor {
375 get { return global::Google.OrTools.ConstraintSolver.RoutingEnumsReflection.Descriptor.MessageTypes[1]; }
376 }
377
378 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
379 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
380 pbr::MessageDescriptor pb::IMessage.Descriptor {
381 get { return Descriptor; }
382 }
383
384 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
385 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
387 OnConstruction();
388 }
389
390 partial void OnConstruction();
391
392 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
393 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
395 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
396 }
397
398 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
399 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
401 return new LocalSearchMetaheuristic(this);
402 }
403
404 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
405 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
406 public override bool Equals(object other) {
407 return Equals(other as LocalSearchMetaheuristic);
408 }
409
410 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
411 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
412 public bool Equals(LocalSearchMetaheuristic other) {
413 if (ReferenceEquals(other, null)) {
414 return false;
415 }
416 if (ReferenceEquals(other, this)) {
417 return true;
418 }
419 return Equals(_unknownFields, other._unknownFields);
420 }
421
422 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
423 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
424 public override int GetHashCode() {
425 int hash = 1;
426 if (_unknownFields != null) {
427 hash ^= _unknownFields.GetHashCode();
428 }
429 return hash;
430 }
431
432 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
433 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
434 public override string ToString() {
435 return pb::JsonFormatter.ToDiagnosticString(this);
436 }
437
438 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
439 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
440 public void WriteTo(pb::CodedOutputStream output) {
441 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
442 output.WriteRawMessage(this);
443 #else
444 if (_unknownFields != null) {
445 _unknownFields.WriteTo(output);
446 }
447 #endif
448 }
449
450 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
451 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
452 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
453 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
454 if (_unknownFields != null) {
455 _unknownFields.WriteTo(ref output);
456 }
457 }
458 #endif
459
460 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
461 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
462 public int CalculateSize() {
463 int size = 0;
464 if (_unknownFields != null) {
465 size += _unknownFields.CalculateSize();
466 }
467 return size;
468 }
469
470 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
471 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
473 if (other == null) {
474 return;
475 }
476 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
477 }
478
479 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
480 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
481 public void MergeFrom(pb::CodedInputStream input) {
482 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
483 input.ReadRawMessage(this);
484 #else
485 uint tag;
486 while ((tag = input.ReadTag()) != 0) {
487 if ((tag & 7) == 4) {
488 // Abort on any end group tag.
489 return;
490 }
491 switch(tag) {
492 default:
493 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
494 break;
495 }
496 }
497 #endif
498 }
499
500 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
501 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
502 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
503 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
504 uint tag;
505 while ((tag = input.ReadTag()) != 0) {
506 if ((tag & 7) == 4) {
507 // Abort on any end group tag.
508 return;
509 }
510 switch(tag) {
511 default:
512 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
513 break;
514 }
515 }
516 }
517 #endif
518
519 #region Nested types
521 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
522 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
523 public static partial class Types {
524 public enum Value {
530 [pbr::OriginalName("UNSET")] Unset = 0,
534 [pbr::OriginalName("AUTOMATIC")] Automatic = 6,
539 [pbr::OriginalName("GREEDY_DESCENT")] GreedyDescent = 1,
545 [pbr::OriginalName("GUIDED_LOCAL_SEARCH")] GuidedLocalSearch = 2,
550 [pbr::OriginalName("SIMULATED_ANNEALING")] SimulatedAnnealing = 3,
555 [pbr::OriginalName("TABU_SEARCH")] TabuSearch = 4,
561 [pbr::OriginalName("GENERIC_TABU_SEARCH")] GenericTabuSearch = 5,
562 }
563
564 }
565 #endregion
566
567 }
568
572 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
573 public sealed partial class RoutingSearchStatus : pb::IMessage<RoutingSearchStatus>
574 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
575 , pb::IBufferMessage
576 #endif
577 {
578 private static readonly pb::MessageParser<RoutingSearchStatus> _parser = new pb::MessageParser<RoutingSearchStatus>(() => new RoutingSearchStatus());
579 private pb::UnknownFieldSet _unknownFields;
580 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
581 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
582 public static pb::MessageParser<RoutingSearchStatus> Parser { get { return _parser; } }
583
584 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
585 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
586 public static pbr::MessageDescriptor Descriptor {
587 get { return global::Google.OrTools.ConstraintSolver.RoutingEnumsReflection.Descriptor.MessageTypes[2]; }
588 }
589
590 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
591 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
592 pbr::MessageDescriptor pb::IMessage.Descriptor {
593 get { return Descriptor; }
594 }
595
596 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
597 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
599 OnConstruction();
600 }
601
602 partial void OnConstruction();
603
604 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
605 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
607 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
608 }
609
610 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
611 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
613 return new RoutingSearchStatus(this);
614 }
615
616 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
617 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
618 public override bool Equals(object other) {
619 return Equals(other as RoutingSearchStatus);
620 }
621
622 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
623 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
624 public bool Equals(RoutingSearchStatus other) {
625 if (ReferenceEquals(other, null)) {
626 return false;
627 }
628 if (ReferenceEquals(other, this)) {
629 return true;
630 }
631 return Equals(_unknownFields, other._unknownFields);
632 }
633
634 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
635 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
636 public override int GetHashCode() {
637 int hash = 1;
638 if (_unknownFields != null) {
639 hash ^= _unknownFields.GetHashCode();
640 }
641 return hash;
642 }
643
644 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
645 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
646 public override string ToString() {
647 return pb::JsonFormatter.ToDiagnosticString(this);
648 }
649
650 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
651 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
652 public void WriteTo(pb::CodedOutputStream output) {
653 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
654 output.WriteRawMessage(this);
655 #else
656 if (_unknownFields != null) {
657 _unknownFields.WriteTo(output);
658 }
659 #endif
660 }
661
662 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
663 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
664 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
665 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
666 if (_unknownFields != null) {
667 _unknownFields.WriteTo(ref output);
668 }
669 }
670 #endif
671
672 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
673 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
674 public int CalculateSize() {
675 int size = 0;
676 if (_unknownFields != null) {
677 size += _unknownFields.CalculateSize();
678 }
679 return size;
680 }
681
682 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
683 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
684 public void MergeFrom(RoutingSearchStatus other) {
685 if (other == null) {
686 return;
687 }
688 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
689 }
690
691 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
692 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
693 public void MergeFrom(pb::CodedInputStream input) {
694 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
695 input.ReadRawMessage(this);
696 #else
697 uint tag;
698 while ((tag = input.ReadTag()) != 0) {
699 if ((tag & 7) == 4) {
700 // Abort on any end group tag.
701 return;
702 }
703 switch(tag) {
704 default:
705 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
706 break;
707 }
708 }
709 #endif
710 }
711
712 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
713 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
714 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
715 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
716 uint tag;
717 while ((tag = input.ReadTag()) != 0) {
718 if ((tag & 7) == 4) {
719 // Abort on any end group tag.
720 return;
721 }
722 switch(tag) {
723 default:
724 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
725 break;
726 }
727 }
728 }
729 #endif
730
731 #region Nested types
733 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
734 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
735 public static partial class Types {
736 public enum Value {
740 [pbr::OriginalName("ROUTING_NOT_SOLVED")] RoutingNotSolved = 0,
744 [pbr::OriginalName("ROUTING_SUCCESS")] RoutingSuccess = 1,
750 [pbr::OriginalName("ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED")] RoutingPartialSuccessLocalOptimumNotReached = 2,
754 [pbr::OriginalName("ROUTING_FAIL")] RoutingFail = 3,
758 [pbr::OriginalName("ROUTING_FAIL_TIMEOUT")] RoutingFailTimeout = 4,
762 [pbr::OriginalName("ROUTING_INVALID")] RoutingInvalid = 5,
766 [pbr::OriginalName("ROUTING_INFEASIBLE")] RoutingInfeasible = 6,
770 [pbr::OriginalName("ROUTING_OPTIMAL")] RoutingOptimal = 7,
771 }
772
773 }
774 #endregion
775
776 }
777
778 #endregion
779
780}
781
782#endregion Designer generated code
global::Google.Protobuf pb
global::Google.Protobuf.Reflection pbr
global::System.Collections.Generic scg
global::Google.Protobuf.Collections pbc
Container for nested types declared in the FirstSolutionStrategy message type.
First solution strategies, used as starting point of local search.
static pb::MessageParser< FirstSolutionStrategy > Parser
Container for nested types declared in the LocalSearchMetaheuristic message type.
Local search metaheuristics used to guide the search. Apart from greedy descent, they will try to esc...
static pb::MessageParser< LocalSearchMetaheuristic > Parser
Holder for reflection information generated from ortools/constraint_solver/routing_enums....
static pbr::FileDescriptor Descriptor
File descriptor for ortools/constraint_solver/routing_enums.proto.
Container for nested types declared in the RoutingSearchStatus message type.
Used by RoutingModel to report the status of the search for a solution.
static pb::MessageParser< RoutingSearchStatus > Parser