15 public static partial class RoutesSupportGraphReflection {
20 get {
return descriptor; }
22 private static pbr::FileDescriptor descriptor;
25 byte[] descriptorData = global::System.Convert.FromBase64String(
27 "CiZvcnRvb2xzL3NhdC9yb3V0ZXNfc3VwcG9ydF9ncmFwaC5wcm90bxIXb3Bl",
28 "cmF0aW9uc19yZXNlYXJjaC5zYXQiOgoKQXJjTHBWYWx1ZRIMCgR0YWlsGAEg",
29 "ASgFEgwKBGhlYWQYAiABKAUSEAoIbHBfdmFsdWUYAyABKAEiVQoXUm91dGVz",
30 "U3VwcG9ydEdyYXBoUHJvdG8SOgoNYXJjX2xwX3ZhbHVlcxgBIAMoCzIjLm9w",
31 "ZXJhdGlvbnNfcmVzZWFyY2guc2F0LkFyY0xwVmFsdWVCcAoWY29tLmdvb2ds",
32 "ZS5vcnRvb2xzLnNhdFABWj9naXRodWIuY29tL2dvb2dsZS9vci10b29scy9v",
33 "cnRvb2xzL3NhdC9wcm90by9yb3V0ZXNzdXBwb3J0Z3JhcGiqAhJHb29nbGUu",
35 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
36 new pbr::FileDescriptor[] { },
37 new pbr::GeneratedClrTypeInfo(
null,
null,
new pbr::GeneratedClrTypeInfo[] {
38 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
ArcLpValue), global::Google.OrTools.Sat.ArcLpValue.Parser,
new[]{
"Tail",
"Head",
"LpValue" },
null,
null,
null,
null),
39 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
RoutesSupportGraphProto), global::Google.OrTools.Sat.RoutesSupportGraphProto.Parser,
new[]{
"ArcLpValues" },
null,
null,
null,
null)
50 public sealed partial class ArcLpValue : pb::IMessage<ArcLpValue>
51 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
55 private static readonly pb::MessageParser<ArcLpValue> _parser =
new pb::MessageParser<ArcLpValue>(() =>
new ArcLpValue());
56 private pb::UnknownFieldSet _unknownFields;
57 private int _hasBits0;
58 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
59 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
60 public static pb::MessageParser<ArcLpValue>
Parser {
get {
return _parser; } }
62 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
63 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
65 get {
return global::Google.OrTools.Sat.RoutesSupportGraphReflection.Descriptor.MessageTypes[0]; }
68 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
69 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
70 pbr::MessageDescriptor pb::IMessage.Descriptor {
74 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
75 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
80 partial
void OnConstruction();
82 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
83 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
85 _hasBits0 = other._hasBits0;
88 lpValue_ = other.lpValue_;
89 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
92 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
93 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
100 private readonly
static int TailDefaultValue = 0;
103 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
104 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
106 get {
if ((_hasBits0 & 1) != 0) {
return tail_; }
else {
return TailDefaultValue; } }
113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
114 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
116 get {
return (_hasBits0 & 1) != 0; }
119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
120 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
127 private readonly
static int HeadDefaultValue = 0;
130 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
131 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
133 get {
if ((_hasBits0 & 2) != 0) {
return head_; }
else {
return HeadDefaultValue; } }
140 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
141 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
143 get {
return (_hasBits0 & 2) != 0; }
146 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
147 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
154 private readonly
static double LpValueDefaultValue = 0D;
156 private double lpValue_;
157 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
158 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
160 get {
if ((_hasBits0 & 4) != 0) {
return lpValue_; }
else {
return LpValueDefaultValue; } }
167 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
168 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
170 get {
return (_hasBits0 & 4) != 0; }
173 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
174 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
179 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
180 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
181 public override bool Equals(
object other) {
185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
186 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
188 if (ReferenceEquals(other,
null)) {
191 if (ReferenceEquals(other,
this)) {
194 if (
Tail != other.
Tail)
return false;
195 if (
Head != other.
Head)
return false;
196 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
LpValue, other.
LpValue))
return false;
197 return Equals(_unknownFields, other._unknownFields);
200 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
201 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
206 if (
HasLpValue) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
LpValue);
207 if (_unknownFields !=
null) {
208 hash ^= _unknownFields.GetHashCode();
213 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
214 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
216 return pb::JsonFormatter.ToDiagnosticString(
this);
219 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
220 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
221 public void WriteTo(pb::CodedOutputStream output) {
222 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
223 output.WriteRawMessage(
this);
226 output.WriteRawTag(8);
227 output.WriteInt32(
Tail);
230 output.WriteRawTag(16);
231 output.WriteInt32(
Head);
234 output.WriteRawTag(25);
237 if (_unknownFields !=
null) {
238 _unknownFields.WriteTo(output);
243 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
244 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
245 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
246 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
248 output.WriteRawTag(8);
249 output.WriteInt32(
Tail);
252 output.WriteRawTag(16);
253 output.WriteInt32(
Head);
256 output.WriteRawTag(25);
259 if (_unknownFields !=
null) {
260 _unknownFields.WriteTo(ref output);
265 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
266 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
270 size += 1 + pb::CodedOutputStream.ComputeInt32Size(
Tail);
273 size += 1 + pb::CodedOutputStream.ComputeInt32Size(
Head);
278 if (_unknownFields !=
null) {
279 size += _unknownFields.CalculateSize();
284 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
285 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
299 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
302 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
303 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
305 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
306 input.ReadRawMessage(
this);
309 while ((tag = input.ReadTag()) != 0) {
310 if ((tag & 7) == 4) {
316 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
319 Tail = input.ReadInt32();
323 Head = input.ReadInt32();
335 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
336 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
337 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
338 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
340 while ((tag = input.ReadTag()) != 0) {
341 if ((tag & 7) == 4) {
347 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
350 Tail = input.ReadInt32();
354 Head = input.ReadInt32();
374 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
378 private static readonly pb::MessageParser<RoutesSupportGraphProto> _parser =
new pb::MessageParser<RoutesSupportGraphProto>(() =>
new RoutesSupportGraphProto());
379 private pb::UnknownFieldSet _unknownFields;
380 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
381 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
382 public static pb::MessageParser<RoutesSupportGraphProto>
Parser {
get {
return _parser; } }
384 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
385 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
387 get {
return global::Google.OrTools.Sat.RoutesSupportGraphReflection.Descriptor.MessageTypes[1]; }
390 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
391 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
392 pbr::MessageDescriptor pb::IMessage.Descriptor {
393 get {
return Descriptor; }
396 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
397 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
402 partial
void OnConstruction();
404 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
405 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
407 arcLpValues_ = other.arcLpValues_.Clone();
408 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
411 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
412 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
419 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.ArcLpValue> _repeated_arcLpValues_codec
421 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.ArcLpValue> arcLpValues_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.ArcLpValue>();
422 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
423 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
424 public pbc::RepeatedField<global::Google.OrTools.Sat.ArcLpValue>
ArcLpValues {
425 get { return arcLpValues_; }
428 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
429 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
430 public override bool Equals(
object other) {
434 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
435 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
437 if (ReferenceEquals(other,
null)) {
440 if (ReferenceEquals(other,
this)) {
443 if(!arcLpValues_.Equals(other.arcLpValues_))
return false;
444 return Equals(_unknownFields, other._unknownFields);
447 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
448 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
451 hash ^= arcLpValues_.GetHashCode();
452 if (_unknownFields !=
null) {
453 hash ^= _unknownFields.GetHashCode();
458 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
459 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
461 return pb::JsonFormatter.ToDiagnosticString(
this);
464 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
465 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
466 public void WriteTo(pb::CodedOutputStream output) {
467 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
468 output.WriteRawMessage(
this);
470 arcLpValues_.WriteTo(output, _repeated_arcLpValues_codec);
471 if (_unknownFields !=
null) {
472 _unknownFields.WriteTo(output);
477 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
478 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
479 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
480 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
481 arcLpValues_.WriteTo(ref output, _repeated_arcLpValues_codec);
482 if (_unknownFields !=
null) {
483 _unknownFields.WriteTo(ref output);
488 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
489 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
492 size += arcLpValues_.CalculateSize(_repeated_arcLpValues_codec);
493 if (_unknownFields !=
null) {
494 size += _unknownFields.CalculateSize();
499 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
500 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
505 arcLpValues_.Add(other.arcLpValues_);
506 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
509 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
510 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
512 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
513 input.ReadRawMessage(
this);
516 while ((tag = input.ReadTag()) != 0) {
517 if ((tag & 7) == 4) {
523 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
526 arcLpValues_.AddEntriesFrom(input, _repeated_arcLpValues_codec);
534 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
535 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
536 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
537 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
539 while ((tag = input.ReadTag()) != 0) {
540 if ((tag & 7) == 4) {
546 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
549 arcLpValues_.AddEntriesFrom(ref input, _repeated_arcLpValues_codec);