15 public static partial class FlowProblemReflection {
20 get {
return descriptor; }
22 private static pbr::FileDescriptor descriptor;
25 byte[] descriptorData = global::System.Convert.FromBase64String(
27 "CiBvcnRvb2xzL2dyYXBoL2Zsb3dfcHJvYmxlbS5wcm90bxITb3BlcmF0aW9u",
28 "c19yZXNlYXJjaCJVCgxGbG93QXJjUHJvdG8SDAoEdGFpbBgBIAEoAxIMCgRo",
29 "ZWFkGAIgASgDEhMKCGNhcGFjaXR5GAMgASgDOgExEhQKCXVuaXRfY29zdBgE",
30 "IAEoAzoBMCIuCg1GbG93Tm9kZVByb3RvEgoKAmlkGAEgASgDEhEKBnN1cHBs",
31 "eRgCIAEoAzoBMCKGAgoORmxvd01vZGVsUHJvdG8SMQoFbm9kZXMYASADKAsy",
32 "Ii5vcGVyYXRpb25zX3Jlc2VhcmNoLkZsb3dOb2RlUHJvdG8SLwoEYXJjcxgC",
33 "IAMoCzIhLm9wZXJhdGlvbnNfcmVzZWFyY2guRmxvd0FyY1Byb3RvEkUKDHBy",
34 "b2JsZW1fdHlwZRgDIAEoDjIvLm9wZXJhdGlvbnNfcmVzZWFyY2guRmxvd01v",
35 "ZGVsUHJvdG8uUHJvYmxlbVR5cGUiSQoLUHJvYmxlbVR5cGUSGQoVTElORUFS",
36 "X1NVTV9BU1NJR05NRU5UEAASDAoITUFYX0ZMT1cQARIRCg1NSU5fQ09TVF9G",
37 "TE9XEAJCMwoYY29tLmdvb2dsZS5vcnRvb2xzLmdyYXBoUAGqAhRHb29nbGUu",
38 "T3JUb29scy5HcmFwaA=="));
39 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
40 new pbr::FileDescriptor[] { },
41 new pbr::GeneratedClrTypeInfo(
null,
null,
new pbr::GeneratedClrTypeInfo[] {
42 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Graph.
FlowArcProto), global::Google.OrTools.Graph.FlowArcProto.Parser,
new[]{
"Tail",
"Head",
"Capacity",
"UnitCost" },
null,
null,
null,
null),
43 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Graph.
FlowNodeProto), global::Google.OrTools.Graph.FlowNodeProto.Parser,
new[]{
"Id",
"Supply" },
null,
null,
null,
null),
44 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Graph.
FlowModelProto), global::Google.OrTools.Graph.FlowModelProto.Parser,
new[]{
"Nodes",
"Arcs",
"ProblemType" },
null,
new[]{ typeof(global::Google.OrTools.Graph.FlowModelProto.Types.ProblemType) },
null,
null)
52 public sealed partial class FlowArcProto : pb::IMessage<FlowArcProto>
53 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
57 private static readonly pb::MessageParser<FlowArcProto> _parser =
new pb::MessageParser<FlowArcProto>(() =>
new FlowArcProto());
58 private pb::UnknownFieldSet _unknownFields;
59 private int _hasBits0;
60 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
61 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
62 public static pb::MessageParser<FlowArcProto>
Parser {
get {
return _parser; } }
64 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
65 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
67 get {
return global::Google.OrTools.Graph.FlowProblemReflection.Descriptor.MessageTypes[0]; }
70 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
71 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
72 pbr::MessageDescriptor pb::IMessage.Descriptor {
76 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
77 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
82 partial
void OnConstruction();
84 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
85 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
87 _hasBits0 = other._hasBits0;
90 capacity_ = other.capacity_;
91 unitCost_ = other.unitCost_;
92 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
95 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
96 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
103 private readonly
static long TailDefaultValue = 0L;
110 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
111 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
113 get {
if ((_hasBits0 & 1) != 0) {
return tail_; }
else {
return TailDefaultValue; } }
120 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
121 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
123 get {
return (_hasBits0 & 1) != 0; }
126 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
127 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
134 private readonly
static long HeadDefaultValue = 0L;
137 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
138 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
140 get {
if ((_hasBits0 & 2) != 0) {
return head_; }
else {
return HeadDefaultValue; } }
147 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
148 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
150 get {
return (_hasBits0 & 2) != 0; }
153 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
154 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
161 private readonly
static long CapacityDefaultValue = 1L;
163 private long capacity_;
168 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
169 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
171 get {
if ((_hasBits0 & 4) != 0) {
return capacity_; }
else {
return CapacityDefaultValue; } }
178 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
179 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
181 get {
return (_hasBits0 & 4) != 0; }
184 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
185 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
192 private readonly
static long UnitCostDefaultValue = 0L;
194 private long unitCost_;
199 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
200 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
202 get {
if ((_hasBits0 & 8) != 0) {
return unitCost_; }
else {
return UnitCostDefaultValue; } }
209 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
210 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
212 get {
return (_hasBits0 & 8) != 0; }
215 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
216 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
221 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
222 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
223 public override bool Equals(
object other) {
227 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
228 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
230 if (ReferenceEquals(other,
null)) {
233 if (ReferenceEquals(other,
this)) {
236 if (
Tail != other.
Tail)
return false;
237 if (
Head != other.
Head)
return false;
240 return Equals(_unknownFields, other._unknownFields);
243 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
244 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
251 if (_unknownFields !=
null) {
252 hash ^= _unknownFields.GetHashCode();
257 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
258 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
260 return pb::JsonFormatter.ToDiagnosticString(
this);
263 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
264 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
265 public void WriteTo(pb::CodedOutputStream output) {
266 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
267 output.WriteRawMessage(
this);
270 output.WriteRawTag(8);
271 output.WriteInt64(
Tail);
274 output.WriteRawTag(16);
275 output.WriteInt64(
Head);
278 output.WriteRawTag(24);
282 output.WriteRawTag(32);
285 if (_unknownFields !=
null) {
286 _unknownFields.WriteTo(output);
291 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
292 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
293 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
294 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
296 output.WriteRawTag(8);
297 output.WriteInt64(
Tail);
300 output.WriteRawTag(16);
301 output.WriteInt64(
Head);
304 output.WriteRawTag(24);
308 output.WriteRawTag(32);
311 if (_unknownFields !=
null) {
312 _unknownFields.WriteTo(ref output);
317 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
318 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
322 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
Tail);
325 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
Head);
328 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
Capacity);
331 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
UnitCost);
333 if (_unknownFields !=
null) {
334 size += _unknownFields.CalculateSize();
339 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
340 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
357 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
360 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
361 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
363 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
364 input.ReadRawMessage(
this);
367 while ((tag = input.ReadTag()) != 0) {
368 if ((tag & 7) == 4) {
374 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
377 Tail = input.ReadInt64();
381 Head = input.ReadInt64();
397 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
398 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
399 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
400 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
402 while ((tag = input.ReadTag()) != 0) {
403 if ((tag & 7) == 4) {
409 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
412 Tail = input.ReadInt64();
416 Head = input.ReadInt64();
436 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
440 private static readonly pb::MessageParser<FlowNodeProto> _parser =
new pb::MessageParser<FlowNodeProto>(() =>
new FlowNodeProto());
441 private pb::UnknownFieldSet _unknownFields;
442 private int _hasBits0;
443 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
444 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
445 public static pb::MessageParser<FlowNodeProto>
Parser {
get {
return _parser; } }
447 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
448 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
450 get {
return global::Google.OrTools.Graph.FlowProblemReflection.Descriptor.MessageTypes[1]; }
453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
454 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
455 pbr::MessageDescriptor pb::IMessage.Descriptor {
456 get {
return Descriptor; }
459 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
460 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
465 partial
void OnConstruction();
467 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
468 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
470 _hasBits0 = other._hasBits0;
472 supply_ = other.supply_;
473 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
476 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
477 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
484 private readonly
static long IdDefaultValue = 0L;
492 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
493 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
495 get {
if ((_hasBits0 & 1) != 0) {
return id_; }
else {
return IdDefaultValue; } }
502 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
503 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
505 get {
return (_hasBits0 & 1) != 0; }
508 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
509 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
516 private readonly
static long SupplyDefaultValue = 0L;
518 private long supply_;
523 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
524 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
526 get {
if ((_hasBits0 & 2) != 0) {
return supply_; }
else {
return SupplyDefaultValue; } }
533 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
534 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
536 get {
return (_hasBits0 & 2) != 0; }
539 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
540 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
545 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
546 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
547 public override bool Equals(
object other) {
551 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
552 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
554 if (ReferenceEquals(other,
null)) {
557 if (ReferenceEquals(other,
this)) {
560 if (
Id != other.
Id)
return false;
562 return Equals(_unknownFields, other._unknownFields);
565 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
566 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
569 if (
HasId) hash ^=
Id.GetHashCode();
571 if (_unknownFields !=
null) {
572 hash ^= _unknownFields.GetHashCode();
577 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
578 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
580 return pb::JsonFormatter.ToDiagnosticString(
this);
583 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
584 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
585 public void WriteTo(pb::CodedOutputStream output) {
586 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
587 output.WriteRawMessage(
this);
590 output.WriteRawTag(8);
591 output.WriteInt64(
Id);
594 output.WriteRawTag(16);
595 output.WriteInt64(
Supply);
597 if (_unknownFields !=
null) {
598 _unknownFields.WriteTo(output);
603 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
604 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
605 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
606 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
608 output.WriteRawTag(8);
609 output.WriteInt64(Id);
612 output.WriteRawTag(16);
613 output.WriteInt64(Supply);
615 if (_unknownFields !=
null) {
616 _unknownFields.WriteTo(ref output);
621 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
622 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
626 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
Id);
629 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
Supply);
631 if (_unknownFields !=
null) {
632 size += _unknownFields.CalculateSize();
637 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
638 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
649 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
652 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
653 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
655 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
656 input.ReadRawMessage(
this);
659 while ((tag = input.ReadTag()) != 0) {
660 if ((tag & 7) == 4) {
666 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
669 Id = input.ReadInt64();
673 Supply = input.ReadInt64();
681 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
682 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
683 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
684 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
686 while ((tag = input.ReadTag()) != 0) {
687 if ((tag & 7) == 4) {
693 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
696 Id = input.ReadInt64();
700 Supply = input.ReadInt64();
715 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
719 private static readonly pb::MessageParser<FlowModelProto> _parser =
new pb::MessageParser<FlowModelProto>(() =>
new FlowModelProto());
720 private pb::UnknownFieldSet _unknownFields;
721 private int _hasBits0;
722 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
723 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
724 public static pb::MessageParser<FlowModelProto>
Parser {
get {
return _parser; } }
726 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
727 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
729 get {
return global::Google.OrTools.Graph.FlowProblemReflection.Descriptor.MessageTypes[2]; }
732 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
733 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
734 pbr::MessageDescriptor pb::IMessage.Descriptor {
735 get {
return Descriptor; }
738 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
739 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
744 partial
void OnConstruction();
746 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
747 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
749 _hasBits0 = other._hasBits0;
750 nodes_ = other.nodes_.Clone();
751 arcs_ = other.arcs_.Clone();
752 problemType_ = other.problemType_;
753 _unknownFields = pb::UnknownFieldSet.
Clone(other._unknownFields);
756 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
757 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
764 private static readonly pb::FieldCodec<global::Google.OrTools.Graph.FlowNodeProto> _repeated_nodes_codec
766 private readonly pbc::RepeatedField<global::Google.OrTools.Graph.FlowNodeProto> nodes_ =
new pbc::RepeatedField<global::Google.OrTools.Graph.FlowNodeProto>();
767 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
768 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
769 public pbc::RepeatedField<global::Google.OrTools.Graph.FlowNodeProto>
Nodes {
770 get { return nodes_; }
775 private static readonly pb::FieldCodec<global::Google.OrTools.Graph.FlowArcProto> _repeated_arcs_codec
777 private readonly pbc::RepeatedField<global::Google.OrTools.Graph.FlowArcProto> arcs_ =
new pbc::RepeatedField<global::Google.OrTools.Graph.FlowArcProto>();
778 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
779 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
780 public pbc::RepeatedField<global::Google.OrTools.Graph.FlowArcProto>
Arcs {
781 get { return arcs_; }
786 private readonly
static global::Google.OrTools.Graph.FlowModelProto.Types.ProblemType ProblemTypeDefaultValue = global::Google.OrTools.Graph.FlowModelProto.Types.ProblemType.LinearSumAssignment;
788 private global::Google.OrTools.Graph.FlowModelProto.Types.ProblemType problemType_;
789 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
790 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
792 get { if ((_hasBits0 & 1) != 0) { return problemType_; } else { return ProblemTypeDefaultValue; } }
795 problemType_ = value;
799 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
800 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
802 get {
return (_hasBits0 & 1) != 0; }
805 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
806 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
811 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
812 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
813 public override bool Equals(
object other) {
817 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
818 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
820 if (ReferenceEquals(other,
null)) {
823 if (ReferenceEquals(other,
this)) {
826 if(!nodes_.Equals(other.nodes_))
return false;
827 if(!arcs_.Equals(other.arcs_))
return false;
829 return Equals(_unknownFields, other._unknownFields);
832 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
833 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
836 hash ^= nodes_.GetHashCode();
837 hash ^= arcs_.GetHashCode();
839 if (_unknownFields !=
null) {
840 hash ^= _unknownFields.GetHashCode();
845 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
846 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
848 return pb::JsonFormatter.ToDiagnosticString(
this);
851 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
852 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
853 public void WriteTo(pb::CodedOutputStream output) {
854 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
855 output.WriteRawMessage(
this);
857 nodes_.WriteTo(output, _repeated_nodes_codec);
858 arcs_.WriteTo(output, _repeated_arcs_codec);
860 output.WriteRawTag(24);
863 if (_unknownFields !=
null) {
864 _unknownFields.WriteTo(output);
869 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
870 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
871 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
872 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
873 nodes_.WriteTo(ref output, _repeated_nodes_codec);
874 arcs_.WriteTo(ref output, _repeated_arcs_codec);
875 if (HasProblemType) {
876 output.WriteRawTag(24);
877 output.WriteEnum((
int) ProblemType);
879 if (_unknownFields !=
null) {
880 _unknownFields.WriteTo(ref output);
885 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
886 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
889 size += nodes_.CalculateSize(_repeated_nodes_codec);
890 size += arcs_.CalculateSize(_repeated_arcs_codec);
892 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int)
ProblemType);
894 if (_unknownFields !=
null) {
895 size += _unknownFields.CalculateSize();
900 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
901 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
906 nodes_.Add(other.nodes_);
907 arcs_.Add(other.arcs_);
911 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
914 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
915 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
917 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
918 input.ReadRawMessage(
this);
921 while ((tag = input.ReadTag()) != 0) {
922 if ((tag & 7) == 4) {
928 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
931 nodes_.AddEntriesFrom(input, _repeated_nodes_codec);
935 arcs_.AddEntriesFrom(input, _repeated_arcs_codec);
939 ProblemType = (global::Google.OrTools.Graph.FlowModelProto.Types.ProblemType) input.ReadEnum();
947 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
948 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
949 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
950 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
952 while ((tag = input.ReadTag()) != 0) {
953 if ((tag & 7) == 4) {
959 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
962 nodes_.AddEntriesFrom(ref input, _repeated_nodes_codec);
966 arcs_.AddEntriesFrom(ref input, _repeated_arcs_codec);
970 ProblemType = (global::Google.OrTools.Graph.FlowModelProto.Types.ProblemType) input.ReadEnum();
980 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
981 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]