15 public static partial class SetCoverReflection {
20 get {
return descriptor; }
22 private static pbr::FileDescriptor descriptor;
25 byte[] descriptorData = global::System.Convert.FromBase64String(
27 "CiJvcnRvb2xzL2FsZ29yaXRobXMvc2V0X2NvdmVyLnByb3RvEhNvcGVyYXRp",
28 "b25zX3Jlc2VhcmNoGhlvcnRvb2xzL3V0aWwvaW50MTI4LnByb3RvIugBCg1T",
29 "ZXRDb3ZlclByb3RvEjkKBnN1YnNldBgBIAMoCzIpLm9wZXJhdGlvbnNfcmVz",
30 "ZWFyY2guU2V0Q292ZXJQcm90by5TdWJzZXQSEQoEbmFtZRgCIAEoCUgAiAEB",
31 "EjUKC2ZpbmdlcnByaW50GAMgASgLMhsub3BlcmF0aW9uc19yZXNlYXJjaC5J",
32 "bnQxMjhIAYgBARo5CgZTdWJzZXQSEQoEY29zdBgBIAEoAUgAiAEBEhMKB2Vs",
33 "ZW1lbnQYAiADKAVCAhABQgcKBV9jb3N0QgcKBV9uYW1lQg4KDF9maW5nZXJw",
34 "cmludCLpAwoYU2V0Q292ZXJTb2x1dGlvblJlc3BvbnNlEkkKBnN0YXR1cxgB",
35 "IAEoDjI0Lm9wZXJhdGlvbnNfcmVzZWFyY2guU2V0Q292ZXJTb2x1dGlvblJl",
36 "c3BvbnNlLlN0YXR1c0gAiAEBEhgKC251bV9zdWJzZXRzGAIgASgFSAGIAQES",
37 "EgoGc3Vic2V0GAMgAygFQgIQARIRCgRjb3N0GAQgASgBSAKIAQESHQoQY29z",
38 "dF9sb3dlcl9ib3VuZBgFIAEoAUgDiAEBEjUKC2ZpbmdlcnByaW50GAYgASgL",
39 "Mhsub3BlcmF0aW9uc19yZXNlYXJjaC5JbnQxMjhIBIgBARI7ChFtb2RlbF9m",
40 "aW5nZXJwcmludBgHIAEoCzIbLm9wZXJhdGlvbnNfcmVzZWFyY2guSW50MTI4",
41 "SAWIAQEiTwoGU3RhdHVzEg0KCVVOREVGSU5FRBAAEgsKB09QVElNQUwQARIM",
42 "CghGRUFTSUJMRRACEg4KCklORkVBU0lCTEUQAxILCgdJTlZBTElEEARCCQoH",
43 "X3N0YXR1c0IOCgxfbnVtX3N1YnNldHNCBwoFX2Nvc3RCEwoRX2Nvc3RfbG93",
44 "ZXJfYm91bmRCDgoMX2ZpbmdlcnByaW50QhQKEl9tb2RlbF9maW5nZXJwcmlu",
45 "dEIhCh1jb20uZ29vZ2xlLm9ydG9vbHMuYWxnb3JpdGhtc1ABYgZwcm90bzM="));
46 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
47 new pbr::FileDescriptor[] { global::Google.OrTools.Util.Int128Reflection.Descriptor, },
48 new pbr::GeneratedClrTypeInfo(
null,
null,
new pbr::GeneratedClrTypeInfo[] {
49 new pbr::GeneratedClrTypeInfo(typeof(global::OperationsResearch.SetCoverProto), global::OperationsResearch.SetCoverProto.Parser,
new[]{
"Subset",
"Name",
"Fingerprint" },
new[]{
"Name",
"Fingerprint" },
null,
null,
new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::OperationsResearch.SetCoverProto.Types.Subset), global::OperationsResearch.SetCoverProto.Types.Subset.Parser, new[]{
"Cost",
"Element" },
new[]{
"Cost" },
null,
null,
null)}),
50 new pbr::GeneratedClrTypeInfo(typeof(global::OperationsResearch.SetCoverSolutionResponse), global::OperationsResearch.SetCoverSolutionResponse.Parser,
new[]{
"Status",
"NumSubsets",
"Subset",
"Cost",
"CostLowerBound",
"Fingerprint",
"ModelFingerprint" },
new[]{
"Status",
"NumSubsets",
"Cost",
"CostLowerBound",
"Fingerprint",
"ModelFingerprint" },
new[]{ typeof(global::OperationsResearch.SetCoverSolutionResponse.Types.Status) },
null,
null)
63 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
67 private static readonly pb::MessageParser<SetCoverProto> _parser =
new pb::MessageParser<SetCoverProto>(() =>
new SetCoverProto());
68 private pb::UnknownFieldSet _unknownFields;
69 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
70 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
71 public static pb::MessageParser<SetCoverProto>
Parser {
get {
return _parser; } }
73 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
74 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
76 get {
return global::OperationsResearch.SetCoverReflection.Descriptor.MessageTypes[0]; }
79 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
80 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
81 pbr::MessageDescriptor pb::IMessage.Descriptor {
82 get {
return Descriptor; }
85 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
86 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
91 partial
void OnConstruction();
93 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
94 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
96 subset_ = other.subset_.Clone();
98 fingerprint_ = other.fingerprint_ !=
null ? other.fingerprint_.Clone() :
null;
99 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
102 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
103 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
110 private static readonly pb::FieldCodec<global::OperationsResearch.SetCoverProto.Types.Subset> _repeated_subset_codec
111 = pb::FieldCodec.ForMessage(10, global::OperationsResearch.
SetCoverProto.Types.Subset.Parser);
112 private readonly pbc::RepeatedField<global::OperationsResearch.SetCoverProto.Types.Subset> subset_ =
new pbc::RepeatedField<global::OperationsResearch.SetCoverProto.Types.Subset>();
116 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
117 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
118 public pbc::RepeatedField<global::OperationsResearch.SetCoverProto.Types.Subset>
Subset {
119 get { return subset_; }
124 private readonly
static string NameDefaultValue =
"";
126 private string name_;
130 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
131 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
133 get {
return name_ ?? NameDefaultValue; }
135 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
139 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
140 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
142 get {
return name_ !=
null; }
145 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
146 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
153 private global::Google.OrTools.Util.Int128 fingerprint_;
157 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
158 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
160 get { return fingerprint_; }
162 fingerprint_ = value;
166 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
167 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
168 public override bool Equals(
object other) {
172 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
173 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
175 if (ReferenceEquals(other,
null)) {
178 if (ReferenceEquals(other,
this)) {
181 if(!subset_.Equals(other.subset_))
return false;
182 if (
Name != other.
Name)
return false;
184 return Equals(_unknownFields, other._unknownFields);
187 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
188 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
191 hash ^= subset_.GetHashCode();
193 if (fingerprint_ !=
null) hash ^=
Fingerprint.GetHashCode();
194 if (_unknownFields !=
null) {
195 hash ^= _unknownFields.GetHashCode();
200 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
201 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
203 return pb::JsonFormatter.ToDiagnosticString(
this);
206 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
207 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
208 public void WriteTo(pb::CodedOutputStream output) {
209 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
210 output.WriteRawMessage(
this);
212 subset_.WriteTo(output, _repeated_subset_codec);
214 output.WriteRawTag(18);
215 output.WriteString(
Name);
217 if (fingerprint_ !=
null) {
218 output.WriteRawTag(26);
221 if (_unknownFields !=
null) {
222 _unknownFields.WriteTo(output);
227 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
228 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
229 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
230 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
231 subset_.WriteTo(ref output, _repeated_subset_codec);
233 output.WriteRawTag(18);
234 output.WriteString(Name);
236 if (fingerprint_ !=
null) {
237 output.WriteRawTag(26);
238 output.WriteMessage(Fingerprint);
240 if (_unknownFields !=
null) {
241 _unknownFields.WriteTo(ref output);
246 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
247 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
250 size += subset_.CalculateSize(_repeated_subset_codec);
252 size += 1 + pb::CodedOutputStream.ComputeStringSize(
Name);
254 if (fingerprint_ !=
null) {
255 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
Fingerprint);
257 if (_unknownFields !=
null) {
258 size += _unknownFields.CalculateSize();
263 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
264 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
269 subset_.Add(other.subset_);
273 if (other.fingerprint_ !=
null) {
274 if (fingerprint_ ==
null) {
275 Fingerprint =
new global::Google.OrTools.Util.Int128();
279 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
282 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
283 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
285 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
286 input.ReadRawMessage(
this);
289 while ((tag = input.ReadTag()) != 0) {
290 if ((tag & 7) == 4) {
296 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
299 subset_.AddEntriesFrom(input, _repeated_subset_codec);
303 Name = input.ReadString();
307 if (fingerprint_ ==
null) {
308 Fingerprint =
new global::Google.OrTools.Util.Int128();
318 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
320 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
321 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
323 while ((tag = input.ReadTag()) != 0) {
324 if ((tag & 7) == 4) {
330 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
333 subset_.AddEntriesFrom(ref input, _repeated_subset_codec);
337 Name = input.ReadString();
341 if (fingerprint_ ==
null) {
342 Fingerprint =
new global::Google.OrTools.Util.Int128();
344 input.ReadMessage(Fingerprint);
354 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
355 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
357 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
358 public sealed partial class Subset : pb::IMessage<Subset>
359 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
363 private static readonly pb::MessageParser<Subset> _parser =
new pb::MessageParser<Subset>(() =>
new Subset());
364 private pb::UnknownFieldSet _unknownFields;
365 private int _hasBits0;
366 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
367 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
368 public static pb::MessageParser<Subset>
Parser {
get {
return _parser; } }
370 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
371 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
373 get {
return global::OperationsResearch.SetCoverProto.Descriptor.NestedTypes[0]; }
376 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
377 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
378 pbr::MessageDescriptor pb::IMessage.Descriptor {
382 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
383 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
388 partial
void OnConstruction();
390 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
391 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
393 _hasBits0 = other._hasBits0;
395 element_ = other.element_.Clone();
396 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
399 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
400 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
407 private readonly
static double CostDefaultValue = 0D;
409 private double cost_;
413 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
414 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
416 get {
if ((_hasBits0 & 1) != 0) {
return cost_; }
else {
return CostDefaultValue; } }
423 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
424 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
426 get {
return (_hasBits0 & 1) != 0; }
429 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
430 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
437 private static readonly pb::FieldCodec<int> _repeated_element_codec
438 = pb::FieldCodec.ForInt32(18);
439 private readonly pbc::RepeatedField<int> element_ =
new pbc::RepeatedField<int>();
443 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
444 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
446 get {
return element_; }
449 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
450 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
451 public override bool Equals(
object other) {
455 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
456 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
458 if (ReferenceEquals(other,
null)) {
461 if (ReferenceEquals(other,
this)) {
464 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
Cost, other.
Cost))
return false;
465 if(!element_.Equals(other.element_))
return false;
466 return Equals(_unknownFields, other._unknownFields);
469 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
470 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
473 if (
HasCost) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
Cost);
474 hash ^= element_.GetHashCode();
475 if (_unknownFields !=
null) {
476 hash ^= _unknownFields.GetHashCode();
481 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
482 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
484 return pb::JsonFormatter.ToDiagnosticString(
this);
487 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
488 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
489 public void WriteTo(pb::CodedOutputStream output) {
490 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
491 output.WriteRawMessage(
this);
494 output.WriteRawTag(9);
495 output.WriteDouble(
Cost);
497 element_.WriteTo(output, _repeated_element_codec);
498 if (_unknownFields !=
null) {
499 _unknownFields.WriteTo(output);
504 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
505 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
506 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
507 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
509 output.WriteRawTag(9);
510 output.WriteDouble(Cost);
512 element_.WriteTo(ref output, _repeated_element_codec);
513 if (_unknownFields !=
null) {
514 _unknownFields.WriteTo(ref output);
519 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
520 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
526 size += element_.CalculateSize(_repeated_element_codec);
527 if (_unknownFields !=
null) {
528 size += _unknownFields.CalculateSize();
533 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
534 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
542 element_.Add(other.element_);
543 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
546 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
547 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
549 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
550 input.ReadRawMessage(
this);
553 while ((tag = input.ReadTag()) != 0) {
554 if ((tag & 7) == 4) {
560 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
563 Cost = input.ReadDouble();
568 element_.AddEntriesFrom(input, _repeated_element_codec);
576 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
577 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
578 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
579 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
581 while ((tag = input.ReadTag()) != 0) {
582 if ((tag & 7) == 4) {
588 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
591 Cost = input.ReadDouble();
596 element_.AddEntriesFrom(ref input, _repeated_element_codec);
613 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
617 private static readonly pb::MessageParser<SetCoverSolutionResponse> _parser =
new pb::MessageParser<SetCoverSolutionResponse>(() =>
new SetCoverSolutionResponse());
618 private pb::UnknownFieldSet _unknownFields;
619 private int _hasBits0;
620 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
621 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
622 public static pb::MessageParser<SetCoverSolutionResponse>
Parser {
get {
return _parser; } }
624 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
625 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
627 get {
return global::OperationsResearch.SetCoverReflection.Descriptor.MessageTypes[1]; }
630 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
631 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
632 pbr::MessageDescriptor pb::IMessage.Descriptor {
633 get {
return Descriptor; }
636 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
637 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
642 partial
void OnConstruction();
644 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
645 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
647 _hasBits0 = other._hasBits0;
648 status_ = other.status_;
649 numSubsets_ = other.numSubsets_;
650 subset_ = other.subset_.Clone();
652 costLowerBound_ = other.costLowerBound_;
653 fingerprint_ = other.fingerprint_ !=
null ? other.fingerprint_.Clone() :
null;
654 modelFingerprint_ = other.modelFingerprint_ !=
null ? other.modelFingerprint_.Clone() :
null;
655 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
658 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
659 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
666 private readonly
static global::OperationsResearch.SetCoverSolutionResponse.Types.Status StatusDefaultValue = global::OperationsResearch.SetCoverSolutionResponse.Types.Status.Undefined;
668 private global::OperationsResearch.SetCoverSolutionResponse.Types.Status status_;
672 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
673 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
675 get { if ((_hasBits0 & 1) != 0) { return status_; } else { return StatusDefaultValue; } }
682 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
683 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
685 get {
return (_hasBits0 & 1) != 0; }
688 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
689 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
696 private readonly
static int NumSubsetsDefaultValue = 0;
698 private int numSubsets_;
703 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
704 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
706 get {
if ((_hasBits0 & 2) != 0) {
return numSubsets_; }
else {
return NumSubsetsDefaultValue; } }
713 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
714 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
716 get {
return (_hasBits0 & 2) != 0; }
719 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
720 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
727 private static readonly pb::FieldCodec<int> _repeated_subset_codec
728 = pb::FieldCodec.ForInt32(26);
729 private readonly pbc::RepeatedField<int> subset_ =
new pbc::RepeatedField<int>();
733 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
734 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
736 get {
return subset_; }
741 private readonly
static double CostDefaultValue = 0D;
743 private double cost_;
747 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
748 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
750 get {
if ((_hasBits0 & 4) != 0) {
return cost_; }
else {
return CostDefaultValue; } }
757 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
758 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
760 get {
return (_hasBits0 & 4) != 0; }
763 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
764 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
771 private readonly
static double CostLowerBoundDefaultValue = 0D;
773 private double costLowerBound_;
777 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
778 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
780 get {
if ((_hasBits0 & 8) != 0) {
return costLowerBound_; }
else {
return CostLowerBoundDefaultValue; } }
783 costLowerBound_ = value;
787 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
788 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
790 get {
return (_hasBits0 & 8) != 0; }
793 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
794 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
801 private global::Google.OrTools.Util.Int128 fingerprint_;
805 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
806 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
808 get {
return fingerprint_; }
810 fingerprint_ = value;
816 private global::Google.OrTools.Util.Int128 modelFingerprint_;
820 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
821 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
823 get {
return modelFingerprint_; }
825 modelFingerprint_ = value;
829 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
830 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
831 public override bool Equals(
object other) {
835 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
836 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
838 if (ReferenceEquals(other,
null)) {
841 if (ReferenceEquals(other,
this)) {
846 if(!subset_.Equals(other.subset_))
return false;
847 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
Cost, other.
Cost))
return false;
851 return Equals(_unknownFields, other._unknownFields);
854 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
855 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
860 hash ^= subset_.GetHashCode();
861 if (
HasCost) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
Cost);
863 if (fingerprint_ !=
null) hash ^=
Fingerprint.GetHashCode();
865 if (_unknownFields !=
null) {
866 hash ^= _unknownFields.GetHashCode();
871 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
872 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
874 return pb::JsonFormatter.ToDiagnosticString(
this);
877 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
878 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
879 public void WriteTo(pb::CodedOutputStream output) {
880 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
881 output.WriteRawMessage(
this);
884 output.WriteRawTag(8);
885 output.WriteEnum((
int)
Status);
888 output.WriteRawTag(16);
891 subset_.WriteTo(output, _repeated_subset_codec);
893 output.WriteRawTag(33);
894 output.WriteDouble(
Cost);
897 output.WriteRawTag(41);
900 if (fingerprint_ !=
null) {
901 output.WriteRawTag(50);
904 if (modelFingerprint_ !=
null) {
905 output.WriteRawTag(58);
908 if (_unknownFields !=
null) {
909 _unknownFields.WriteTo(output);
914 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
915 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
916 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
917 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
919 output.WriteRawTag(8);
920 output.WriteEnum((
int) Status);
923 output.WriteRawTag(16);
924 output.WriteInt32(NumSubsets);
926 subset_.WriteTo(ref output, _repeated_subset_codec);
928 output.WriteRawTag(33);
929 output.WriteDouble(Cost);
931 if (HasCostLowerBound) {
932 output.WriteRawTag(41);
933 output.WriteDouble(CostLowerBound);
935 if (fingerprint_ !=
null) {
936 output.WriteRawTag(50);
937 output.WriteMessage(Fingerprint);
939 if (modelFingerprint_ !=
null) {
940 output.WriteRawTag(58);
941 output.WriteMessage(ModelFingerprint);
943 if (_unknownFields !=
null) {
944 _unknownFields.WriteTo(ref output);
949 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
950 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
954 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int)
Status);
957 size += 1 + pb::CodedOutputStream.ComputeInt32Size(
NumSubsets);
959 size += subset_.CalculateSize(_repeated_subset_codec);
966 if (fingerprint_ !=
null) {
967 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
Fingerprint);
969 if (modelFingerprint_ !=
null) {
972 if (_unknownFields !=
null) {
973 size += _unknownFields.CalculateSize();
978 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
979 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
990 subset_.Add(other.subset_);
997 if (other.fingerprint_ !=
null) {
998 if (fingerprint_ ==
null) {
999 Fingerprint =
new global::Google.OrTools.Util.Int128();
1003 if (other.modelFingerprint_ !=
null) {
1004 if (modelFingerprint_ ==
null) {
1009 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1012 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1013 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1015 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1016 input.ReadRawMessage(
this);
1019 while ((tag = input.ReadTag()) != 0) {
1020 if ((tag & 7) == 4) {
1026 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1029 Status = (global::OperationsResearch.SetCoverSolutionResponse.Types.Status) input.ReadEnum();
1038 subset_.AddEntriesFrom(input, _repeated_subset_codec);
1042 Cost = input.ReadDouble();
1050 if (fingerprint_ ==
null) {
1051 Fingerprint =
new global::Google.OrTools.Util.Int128();
1057 if (modelFingerprint_ ==
null) {
1068 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1069 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1070 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1071 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1073 while ((tag = input.ReadTag()) != 0) {
1074 if ((tag & 7) == 4) {
1080 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1083 Status = (global::OperationsResearch.SetCoverSolutionResponse.Types.Status) input.ReadEnum();
1087 NumSubsets = input.ReadInt32();
1092 subset_.AddEntriesFrom(ref input, _repeated_subset_codec);
1096 Cost = input.ReadDouble();
1100 CostLowerBound = input.ReadDouble();
1104 if (fingerprint_ ==
null) {
1105 Fingerprint =
new global::Google.OrTools.Util.Int128();
1107 input.ReadMessage(Fingerprint);
1111 if (modelFingerprint_ ==
null) {
1112 ModelFingerprint =
new global::Google.OrTools.Util.Int128();
1114 input.ReadMessage(ModelFingerprint);
1122 #region Nested types
1124 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1125 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]