5 #pragma warning disable 1591, 0612, 3021
6 #region Designer generated code
8 using pb = global::Google.Protobuf;
9 using pbc = global::Google.Protobuf.Collections;
10 using pbr = global::Google.Protobuf.Reflection;
11 using scg = global::System.Collections.Generic;
12 namespace Google.OrTools.ConstraintSolver {
20 get {
return descriptor; }
22 private static pbr::FileDescriptor descriptor;
25 byte[] descriptorData = global::System.Convert.FromBase64String(
27 "CixvcnRvb2xzL2NvbnN0cmFpbnRfc29sdmVyL3NlYXJjaF9saW1pdC5wcm90",
28 "bxITb3BlcmF0aW9uc19yZXNlYXJjaCKLAQoWUmVndWxhckxpbWl0UGFyYW1l",
29 "dGVycxIMCgR0aW1lGAEgASgDEhAKCGJyYW5jaGVzGAIgASgDEhAKCGZhaWx1",
30 "cmVzGAMgASgDEhEKCXNvbHV0aW9ucxgEIAEoAxIYChBzbWFydF90aW1lX2No",
31 "ZWNrGAUgASgIEhIKCmN1bXVsYXRpdmUYBiABKAhCXgojY29tLmdvb2dsZS5v",
32 "cnRvb2xzLmNvbnN0cmFpbnRzb2x2ZXJCE1NlYXJjaExpbWl0UHJvdG9idWZQ",
33 "AaoCH0dvb2dsZS5PclRvb2xzLkNvbnN0cmFpbnRTb2x2ZXJiBnByb3RvMw=="));
34 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
35 new pbr::FileDescriptor[] { },
36 new pbr::GeneratedClrTypeInfo(
null,
null,
new pbr::GeneratedClrTypeInfo[] {
37 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.ConstraintSolver.RegularLimitParameters), global::Google.OrTools.ConstraintSolver.RegularLimitParameters.Parser,
new[]{
"Time",
"Branches",
"Failures",
"Solutions",
"SmartTimeCheck",
"Cumulative" },
null,
null,
null,
null)
49 private static readonly pb::MessageParser<RegularLimitParameters>
_parser =
new pb::MessageParser<RegularLimitParameters>(() =>
new RegularLimitParameters());
51 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
52 public static pb::MessageParser<RegularLimitParameters>
Parser { get {
return _parser; } }
54 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
55 public static pbr::MessageDescriptor
Descriptor {
56 get {
return global::Google.OrTools.ConstraintSolver.SearchLimitReflection.Descriptor.MessageTypes[0]; }
59 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
60 pbr::MessageDescriptor pb::IMessage.Descriptor {
64 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
69 partial
void OnConstruction();
71 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
82 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
90 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
99 public const int BranchesFieldNumber = 2;
101 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
110 public const int FailuresFieldNumber = 3;
112 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
121 public const int SolutionsFieldNumber = 4;
123 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
132 public const int SmartTimeCheckFieldNumber = 5;
134 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
143 public const int CumulativeFieldNumber = 6;
145 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
146 public bool Cumulative {
153 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
154 public override bool Equals(
object other) {
158 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
160 if (ReferenceEquals(other,
null)) {
163 if (ReferenceEquals(other,
this)) {
166 if (
Time != other.Time)
return false;
167 if (
Branches != other.Branches)
return false;
168 if (
Failures != other.Failures)
return false;
169 if (
Solutions != other.Solutions)
return false;
171 if (Cumulative != other.Cumulative)
return false;
175 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
178 if (
Time != 0L) hash ^=
Time.GetHashCode();
183 if (Cumulative !=
false) hash ^= Cumulative.GetHashCode();
190 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
192 return pb::JsonFormatter.ToDiagnosticString(
this);
195 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
196 public void WriteTo(pb::CodedOutputStream output) {
198 output.WriteRawTag(8);
199 output.WriteInt64(
Time);
202 output.WriteRawTag(16);
206 output.WriteRawTag(24);
210 output.WriteRawTag(32);
214 output.WriteRawTag(40);
217 if (Cumulative !=
false) {
218 output.WriteRawTag(48);
219 output.WriteBool(Cumulative);
226 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
230 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
Time);
233 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
Branches);
236 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
Failures);
239 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
Solutions);
244 if (Cumulative !=
false) {
253 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
258 if (other.Time != 0L) {
261 if (other.Branches != 0L) {
264 if (other.Failures != 0L) {
267 if (other.Solutions != 0L) {
270 if (other.SmartTimeCheck !=
false) {
273 if (other.Cumulative !=
false) {
274 Cumulative = other.Cumulative;
279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
280 public void MergeFrom(pb::CodedInputStream input) {
282 while ((tag = input.ReadTag()) != 0) {
288 Time = input.ReadInt64();
308 Cumulative = input.ReadBool();
321 #endregion Designer generated code