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;
20 get {
return descriptor; }
22 private static pbr::FileDescriptor descriptor;
25 byte[] descriptorData = global::System.Convert.FromBase64String(
27 "ChpvcnRvb2xzL3NhdC9jcF9tb2RlbC5wcm90bxIXb3BlcmF0aW9uc19yZXNl",
28 "YXJjaC5zYXQiNAoUSW50ZWdlclZhcmlhYmxlUHJvdG8SDAoEbmFtZRgBIAEo",
29 "CRIOCgZkb21haW4YAiADKAMiJQoRQm9vbEFyZ3VtZW50UHJvdG8SEAoIbGl0",
30 "ZXJhbHMYASADKAUiNAoUSW50ZWdlckFyZ3VtZW50UHJvdG8SDgoGdGFyZ2V0",
31 "GAEgASgFEgwKBHZhcnMYAiADKAUiRQoVTGluZWFyRXhwcmVzc2lvblByb3Rv",
32 "EgwKBHZhcnMYASADKAUSDgoGY29lZmZzGAIgAygDEg4KBm9mZnNldBgDIAEo",
33 "AyKUAQoTTGluZWFyQXJndW1lbnRQcm90bxI+CgZ0YXJnZXQYASABKAsyLi5v",
34 "cGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5MaW5lYXJFeHByZXNzaW9uUHJvdG8S",
35 "PQoFZXhwcnMYAiADKAsyLi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5MaW5l",
36 "YXJFeHByZXNzaW9uUHJvdG8iKwobQWxsRGlmZmVyZW50Q29uc3RyYWludFBy",
37 "b3RvEgwKBHZhcnMYASADKAUiRQoVTGluZWFyQ29uc3RyYWludFByb3RvEgwK",
38 "BHZhcnMYASADKAUSDgoGY29lZmZzGAIgAygDEg4KBmRvbWFpbhgDIAMoAyJF",
39 "ChZFbGVtZW50Q29uc3RyYWludFByb3RvEg0KBWluZGV4GAEgASgFEg4KBnRh",
40 "cmdldBgCIAEoBRIMCgR2YXJzGAMgAygFIkMKF0ludGVydmFsQ29uc3RyYWlu",
41 "dFByb3RvEg0KBXN0YXJ0GAEgASgFEgsKA2VuZBgCIAEoBRIMCgRzaXplGAMg",
42 "ASgFIi0KGE5vT3ZlcmxhcENvbnN0cmFpbnRQcm90bxIRCglpbnRlcnZhbHMY",
43 "ASADKAUicAoaTm9PdmVybGFwMkRDb25zdHJhaW50UHJvdG8SEwoLeF9pbnRl",
44 "cnZhbHMYASADKAUSEwoLeV9pbnRlcnZhbHMYAiADKAUSKAogYm94ZXNfd2l0",
45 "aF9udWxsX2FyZWFfY2FuX292ZXJsYXAYAyABKAgiUQoZQ3VtdWxhdGl2ZUNv",
46 "bnN0cmFpbnRQcm90bxIQCghjYXBhY2l0eRgBIAEoBRIRCglpbnRlcnZhbHMY",
47 "AiADKAUSDwoHZGVtYW5kcxgDIAMoBSJxChhSZXNlcnZvaXJDb25zdHJhaW50",
48 "UHJvdG8SEQoJbWluX2xldmVsGAEgASgDEhEKCW1heF9sZXZlbBgCIAEoAxIN",
49 "CgV0aW1lcxgDIAMoBRIPCgdkZW1hbmRzGAQgAygDEg8KB2FjdGl2ZXMYBSAD",
50 "KAUiSAoWQ2lyY3VpdENvbnN0cmFpbnRQcm90bxINCgV0YWlscxgDIAMoBRIN",
51 "CgVoZWFkcxgEIAMoBRIQCghsaXRlcmFscxgFIAMoBSJqChVSb3V0ZXNDb25z",
52 "dHJhaW50UHJvdG8SDQoFdGFpbHMYASADKAUSDQoFaGVhZHMYAiADKAUSEAoI",
53 "bGl0ZXJhbHMYAyADKAUSDwoHZGVtYW5kcxgEIAMoBRIQCghjYXBhY2l0eRgF",
54 "IAEoAyJMCh5DaXJjdWl0Q292ZXJpbmdDb25zdHJhaW50UHJvdG8SDQoFbmV4",
55 "dHMYASADKAUSGwoTZGlzdGluZ3Vpc2hlZF9ub2RlcxgCIAMoAyJFChRUYWJs",
56 "ZUNvbnN0cmFpbnRQcm90bxIMCgR2YXJzGAEgAygFEg4KBnZhbHVlcxgCIAMo",
57 "AxIPCgduZWdhdGVkGAMgASgIIj0KFkludmVyc2VDb25zdHJhaW50UHJvdG8S",
58 "EAoIZl9kaXJlY3QYASADKAUSEQoJZl9pbnZlcnNlGAIgAygFIqIBChhBdXRv",
59 "bWF0b25Db25zdHJhaW50UHJvdG8SFgoOc3RhcnRpbmdfc3RhdGUYAiABKAMS",
60 "FAoMZmluYWxfc3RhdGVzGAMgAygDEhcKD3RyYW5zaXRpb25fdGFpbBgEIAMo",
61 "AxIXCg90cmFuc2l0aW9uX2hlYWQYBSADKAMSGAoQdHJhbnNpdGlvbl9sYWJl",
62 "bBgGIAMoAxIMCgR2YXJzGAcgAygFIv8NCg9Db25zdHJhaW50UHJvdG8SDAoE",
63 "bmFtZRgBIAEoCRIbChNlbmZvcmNlbWVudF9saXRlcmFsGAIgAygFEj0KB2Jv",
64 "b2xfb3IYAyABKAsyKi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5Cb29sQXJn",
65 "dW1lbnRQcm90b0gAEj4KCGJvb2xfYW5kGAQgASgLMioub3BlcmF0aW9uc19y",
66 "ZXNlYXJjaC5zYXQuQm9vbEFyZ3VtZW50UHJvdG9IABJBCgthdF9tb3N0X29u",
67 "ZRgaIAEoCzIqLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkJvb2xBcmd1bWVu",
68 "dFByb3RvSAASPgoIYm9vbF94b3IYBSABKAsyKi5vcGVyYXRpb25zX3Jlc2Vh",
69 "cmNoLnNhdC5Cb29sQXJndW1lbnRQcm90b0gAEkAKB2ludF9kaXYYByABKAsy",
70 "LS5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5JbnRlZ2VyQXJndW1lbnRQcm90",
71 "b0gAEkAKB2ludF9tb2QYCCABKAsyLS5vcGVyYXRpb25zX3Jlc2VhcmNoLnNh",
72 "dC5JbnRlZ2VyQXJndW1lbnRQcm90b0gAEkAKB2ludF9tYXgYCSABKAsyLS5v",
73 "cGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5JbnRlZ2VyQXJndW1lbnRQcm90b0gA",
74 "Ej8KB2xpbl9tYXgYGyABKAsyLC5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5M",
75 "aW5lYXJBcmd1bWVudFByb3RvSAASQAoHaW50X21pbhgKIAEoCzItLm9wZXJh",
76 "dGlvbnNfcmVzZWFyY2guc2F0LkludGVnZXJBcmd1bWVudFByb3RvSAASPwoH",
77 "bGluX21pbhgcIAEoCzIsLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkxpbmVh",
78 "ckFyZ3VtZW50UHJvdG9IABJBCghpbnRfcHJvZBgLIAEoCzItLm9wZXJhdGlv",
79 "bnNfcmVzZWFyY2guc2F0LkludGVnZXJBcmd1bWVudFByb3RvSAASQAoGbGlu",
80 "ZWFyGAwgASgLMi4ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGluZWFyQ29u",
81 "c3RyYWludFByb3RvSAASSAoIYWxsX2RpZmYYDSABKAsyNC5vcGVyYXRpb25z",
82 "X3Jlc2VhcmNoLnNhdC5BbGxEaWZmZXJlbnRDb25zdHJhaW50UHJvdG9IABJC",
83 "CgdlbGVtZW50GA4gASgLMi8ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuRWxl",
84 "bWVudENvbnN0cmFpbnRQcm90b0gAEkIKB2NpcmN1aXQYDyABKAsyLy5vcGVy",
85 "YXRpb25zX3Jlc2VhcmNoLnNhdC5DaXJjdWl0Q29uc3RyYWludFByb3RvSAAS",
86 "QAoGcm91dGVzGBcgASgLMi4ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuUm91",
87 "dGVzQ29uc3RyYWludFByb3RvSAASUwoQY2lyY3VpdF9jb3ZlcmluZxgZIAEo",
88 "CzI3Lm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkNpcmN1aXRDb3ZlcmluZ0Nv",
89 "bnN0cmFpbnRQcm90b0gAEj4KBXRhYmxlGBAgASgLMi0ub3BlcmF0aW9uc19y",
90 "ZXNlYXJjaC5zYXQuVGFibGVDb25zdHJhaW50UHJvdG9IABJGCglhdXRvbWF0",
91 "b24YESABKAsyMS5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5BdXRvbWF0b25D",
92 "b25zdHJhaW50UHJvdG9IABJCCgdpbnZlcnNlGBIgASgLMi8ub3BlcmF0aW9u",
93 "c19yZXNlYXJjaC5zYXQuSW52ZXJzZUNvbnN0cmFpbnRQcm90b0gAEkYKCXJl",
94 "c2Vydm9pchgYIAEoCzIxLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LlJlc2Vy",
95 "dm9pckNvbnN0cmFpbnRQcm90b0gAEkQKCGludGVydmFsGBMgASgLMjAub3Bl",
96 "cmF0aW9uc19yZXNlYXJjaC5zYXQuSW50ZXJ2YWxDb25zdHJhaW50UHJvdG9I",
97 "ABJHCgpub19vdmVybGFwGBQgASgLMjEub3BlcmF0aW9uc19yZXNlYXJjaC5z",
98 "YXQuTm9PdmVybGFwQ29uc3RyYWludFByb3RvSAASTAoNbm9fb3ZlcmxhcF8y",
99 "ZBgVIAEoCzIzLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0Lk5vT3ZlcmxhcDJE",
100 "Q29uc3RyYWludFByb3RvSAASSAoKY3VtdWxhdGl2ZRgWIAEoCzIyLm9wZXJh",
101 "dGlvbnNfcmVzZWFyY2guc2F0LkN1bXVsYXRpdmVDb25zdHJhaW50UHJvdG9I",
102 "AEIMCgpjb25zdHJhaW50ImgKEENwT2JqZWN0aXZlUHJvdG8SDAoEdmFycxgB",
103 "IAMoBRIOCgZjb2VmZnMYBCADKAMSDgoGb2Zmc2V0GAIgASgBEhYKDnNjYWxp",
104 "bmdfZmFjdG9yGAMgASgBEg4KBmRvbWFpbhgFIAMoAyLVBQoVRGVjaXNpb25T",
105 "dHJhdGVneVByb3RvEhEKCXZhcmlhYmxlcxgBIAMoBRJtCht2YXJpYWJsZV9z",
106 "ZWxlY3Rpb25fc3RyYXRlZ3kYAiABKA4ySC5vcGVyYXRpb25zX3Jlc2VhcmNo",
107 "LnNhdC5EZWNpc2lvblN0cmF0ZWd5UHJvdG8uVmFyaWFibGVTZWxlY3Rpb25T",
108 "dHJhdGVneRJpChlkb21haW5fcmVkdWN0aW9uX3N0cmF0ZWd5GAMgASgOMkYu",
109 "b3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuRGVjaXNpb25TdHJhdGVneVByb3Rv",
110 "LkRvbWFpblJlZHVjdGlvblN0cmF0ZWd5ElwKD3RyYW5zZm9ybWF0aW9ucxgE",
111 "IAMoCzJDLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkRlY2lzaW9uU3RyYXRl",
112 "Z3lQcm90by5BZmZpbmVUcmFuc2Zvcm1hdGlvbhpLChRBZmZpbmVUcmFuc2Zv",
113 "cm1hdGlvbhILCgN2YXIYASABKAUSDgoGb2Zmc2V0GAIgASgDEhYKDnBvc2l0",
114 "aXZlX2NvZWZmGAMgASgDIpQBChlWYXJpYWJsZVNlbGVjdGlvblN0cmF0ZWd5",
115 "EhAKDENIT09TRV9GSVJTVBAAEhUKEUNIT09TRV9MT1dFU1RfTUlOEAESFgoS",
116 "Q0hPT1NFX0hJR0hFU1RfTUFYEAISGgoWQ0hPT1NFX01JTl9ET01BSU5fU0la",
117 "RRADEhoKFkNIT09TRV9NQVhfRE9NQUlOX1NJWkUQBCKMAQoXRG9tYWluUmVk",
118 "dWN0aW9uU3RyYXRlZ3kSFAoQU0VMRUNUX01JTl9WQUxVRRAAEhQKEFNFTEVD",
119 "VF9NQVhfVkFMVUUQARIVChFTRUxFQ1RfTE9XRVJfSEFMRhACEhUKEVNFTEVD",
120 "VF9VUFBFUl9IQUxGEAMSFwoTU0VMRUNUX01FRElBTl9WQUxVRRAEIjkKGVBh",
121 "cnRpYWxWYXJpYWJsZUFzc2lnbm1lbnQSDAoEdmFycxgBIAMoBRIOCgZ2YWx1",
122 "ZXMYAiADKAMihAMKDENwTW9kZWxQcm90bxIMCgRuYW1lGAEgASgJEkAKCXZh",
123 "cmlhYmxlcxgCIAMoCzItLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkludGVn",
124 "ZXJWYXJpYWJsZVByb3RvEj0KC2NvbnN0cmFpbnRzGAMgAygLMigub3BlcmF0",
125 "aW9uc19yZXNlYXJjaC5zYXQuQ29uc3RyYWludFByb3RvEjwKCW9iamVjdGl2",
126 "ZRgEIAEoCzIpLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkNwT2JqZWN0aXZl",
127 "UHJvdG8SRwoPc2VhcmNoX3N0cmF0ZWd5GAUgAygLMi4ub3BlcmF0aW9uc19y",
128 "ZXNlYXJjaC5zYXQuRGVjaXNpb25TdHJhdGVneVByb3RvEkkKDXNvbHV0aW9u",
129 "X2hpbnQYBiABKAsyMi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5QYXJ0aWFs",
130 "VmFyaWFibGVBc3NpZ25tZW50EhMKC2Fzc3VtcHRpb25zGAcgAygFIuoEChBD",
131 "cFNvbHZlclJlc3BvbnNlEjcKBnN0YXR1cxgBIAEoDjInLm9wZXJhdGlvbnNf",
132 "cmVzZWFyY2guc2F0LkNwU29sdmVyU3RhdHVzEhAKCHNvbHV0aW9uGAIgAygD",
133 "EhcKD29iamVjdGl2ZV92YWx1ZRgDIAEoARIcChRiZXN0X29iamVjdGl2ZV9i",
134 "b3VuZBgEIAEoARIdChVzb2x1dGlvbl9sb3dlcl9ib3VuZHMYEiADKAMSHQoV",
135 "c29sdXRpb25fdXBwZXJfYm91bmRzGBMgAygDEkoKE3RpZ2h0ZW5lZF92YXJp",
136 "YWJsZXMYFSADKAsyLS5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5JbnRlZ2Vy",
137 "VmFyaWFibGVQcm90bxIwCihzdWZmaWNpZW50X2Fzc3VtcHRpb25zX2Zvcl9p",
138 "bmZlYXNpYmlsaXR5GBcgAygFEiAKGGFsbF9zb2x1dGlvbnNfd2VyZV9mb3Vu",
139 "ZBgFIAEoCBIUCgxudW1fYm9vbGVhbnMYCiABKAMSFQoNbnVtX2NvbmZsaWN0",
140 "cxgLIAEoAxIUCgxudW1fYnJhbmNoZXMYDCABKAMSHwoXbnVtX2JpbmFyeV9w",
141 "cm9wYWdhdGlvbnMYDSABKAMSIAoYbnVtX2ludGVnZXJfcHJvcGFnYXRpb25z",
142 "GA4gASgDEhEKCXdhbGxfdGltZRgPIAEoARIRCgl1c2VyX3RpbWUYECABKAES",
143 "GgoSZGV0ZXJtaW5pc3RpY190aW1lGBEgASgBEhcKD3ByaW1hbF9pbnRlZ3Jh",
144 "bBgWIAEoARIVCg1zb2x1dGlvbl9pbmZvGBQgASgJKlsKDkNwU29sdmVyU3Rh",
145 "dHVzEgsKB1VOS05PV04QABIRCg1NT0RFTF9JTlZBTElEEAESDAoIRkVBU0lC",
146 "TEUQAhIOCgpJTkZFQVNJQkxFEAMSCwoHT1BUSU1BTBAEQkAKFmNvbS5nb29n",
147 "bGUub3J0b29scy5zYXRCD0NwTW9kZWxQcm90b2J1ZlABqgISR29vZ2xlLk9y",
148 "VG9vbHMuU2F0YgZwcm90bzM="));
149 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
150 new pbr::FileDescriptor[] { },
151 new pbr::GeneratedClrTypeInfo(
new[] {typeof(global::Google.OrTools.Sat.CpSolverStatus), },
null,
new pbr::GeneratedClrTypeInfo[] {
152 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.IntegerVariableProto), global::Google.OrTools.Sat.IntegerVariableProto.Parser,
new[]{
"Name",
"Domain" },
null,
null,
null,
null),
153 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.BoolArgumentProto), global::Google.OrTools.Sat.BoolArgumentProto.Parser,
new[]{
"Literals" },
null,
null,
null,
null),
154 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.IntegerArgumentProto), global::Google.OrTools.Sat.IntegerArgumentProto.Parser,
new[]{
"Target",
"Vars" },
null,
null,
null,
null),
155 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.LinearExpressionProto), global::Google.OrTools.Sat.LinearExpressionProto.Parser,
new[]{
"Vars",
"Coeffs",
"Offset" },
null,
null,
null,
null),
156 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.LinearArgumentProto), global::Google.OrTools.Sat.LinearArgumentProto.Parser,
new[]{
"Target",
"Exprs" },
null,
null,
null,
null),
157 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.AllDifferentConstraintProto), global::Google.OrTools.Sat.AllDifferentConstraintProto.Parser,
new[]{
"Vars" },
null,
null,
null,
null),
158 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.LinearConstraintProto), global::Google.OrTools.Sat.LinearConstraintProto.Parser,
new[]{
"Vars",
"Coeffs",
"Domain" },
null,
null,
null,
null),
159 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.ElementConstraintProto), global::Google.OrTools.Sat.ElementConstraintProto.Parser,
new[]{
"Index",
"Target",
"Vars" },
null,
null,
null,
null),
160 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.IntervalConstraintProto), global::Google.OrTools.Sat.IntervalConstraintProto.Parser,
new[]{
"Start",
"End",
"Size" },
null,
null,
null,
null),
161 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.NoOverlapConstraintProto), global::Google.OrTools.Sat.NoOverlapConstraintProto.Parser,
new[]{
"Intervals" },
null,
null,
null,
null),
162 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.NoOverlap2DConstraintProto), global::Google.OrTools.Sat.NoOverlap2DConstraintProto.Parser,
new[]{
"XIntervals",
"YIntervals",
"BoxesWithNullAreaCanOverlap" },
null,
null,
null,
null),
163 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CumulativeConstraintProto), global::Google.OrTools.Sat.CumulativeConstraintProto.Parser,
new[]{
"Capacity",
"Intervals",
"Demands" },
null,
null,
null,
null),
164 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.ReservoirConstraintProto), global::Google.OrTools.Sat.ReservoirConstraintProto.Parser,
new[]{
"MinLevel",
"MaxLevel",
"Times",
"Demands",
"Actives" },
null,
null,
null,
null),
165 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CircuitConstraintProto), global::Google.OrTools.Sat.CircuitConstraintProto.Parser,
new[]{
"Tails",
"Heads",
"Literals" },
null,
null,
null,
null),
166 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.RoutesConstraintProto), global::Google.OrTools.Sat.RoutesConstraintProto.Parser,
new[]{
"Tails",
"Heads",
"Literals",
"Demands",
"Capacity" },
null,
null,
null,
null),
167 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CircuitCoveringConstraintProto), global::Google.OrTools.Sat.CircuitCoveringConstraintProto.Parser,
new[]{
"Nexts",
"DistinguishedNodes" },
null,
null,
null,
null),
168 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.TableConstraintProto), global::Google.OrTools.Sat.TableConstraintProto.Parser,
new[]{
"Vars",
"Values",
"Negated" },
null,
null,
null,
null),
169 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.InverseConstraintProto), global::Google.OrTools.Sat.InverseConstraintProto.Parser,
new[]{
"FDirect",
"FInverse" },
null,
null,
null,
null),
170 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.AutomatonConstraintProto), global::Google.OrTools.Sat.AutomatonConstraintProto.Parser,
new[]{
"StartingState",
"FinalStates",
"TransitionTail",
"TransitionHead",
"TransitionLabel",
"Vars" },
null,
null,
null,
null),
171 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.ConstraintProto), global::Google.OrTools.Sat.ConstraintProto.Parser,
new[]{
"Name",
"EnforcementLiteral",
"BoolOr",
"BoolAnd",
"AtMostOne",
"BoolXor",
"IntDiv",
"IntMod",
"IntMax",
"LinMax",
"IntMin",
"LinMin",
"IntProd",
"Linear",
"AllDiff",
"Element",
"Circuit",
"Routes",
"CircuitCovering",
"Table",
"Automaton",
"Inverse",
"Reservoir",
"Interval",
"NoOverlap",
"NoOverlap2D",
"Cumulative" },
new[]{
"Constraint" },
null,
null,
null),
172 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CpObjectiveProto), global::Google.OrTools.Sat.CpObjectiveProto.Parser,
new[]{
"Vars",
"Coeffs",
"Offset",
"ScalingFactor",
"Domain" },
null,
null,
null,
null),
173 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.DecisionStrategyProto), global::Google.OrTools.Sat.DecisionStrategyProto.Parser,
new[]{
"Variables",
"VariableSelectionStrategy",
"DomainReductionStrategy",
"Transformations" },
null,
new[]{ typeof(global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy), typeof(global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy) },
null,
new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.DecisionStrategyProto.Types.AffineTransformation), global::Google.OrTools.Sat.DecisionStrategyProto.Types.AffineTransformation.Parser, new[]{
"Var",
"Offset",
"PositiveCoeff" },
null,
null,
null,
null)}),
174 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.PartialVariableAssignment), global::Google.OrTools.Sat.PartialVariableAssignment.Parser,
new[]{
"Vars",
"Values" },
null,
null,
null,
null),
175 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CpModelProto), global::Google.OrTools.Sat.CpModelProto.Parser,
new[]{
"Name",
"Variables",
"Constraints",
"Objective",
"SearchStrategy",
"SolutionHint",
"Assumptions" },
null,
null,
null,
null),
176 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CpSolverResponse), global::Google.OrTools.Sat.CpSolverResponse.Parser,
new[]{
"Status",
"Solution",
"ObjectiveValue",
"BestObjectiveBound",
"SolutionLowerBounds",
"SolutionUpperBounds",
"TightenedVariables",
"SufficientAssumptionsForInfeasibility",
"AllSolutionsWereFound",
"NumBooleans",
"NumConflicts",
"NumBranches",
"NumBinaryPropagations",
"NumIntegerPropagations",
"WallTime",
"UserTime",
"DeterministicTime",
"PrimalIntegral",
"SolutionInfo" },
null,
null,
null,
null)
191 [pbr::OriginalName(
"UNKNOWN")] Unknown = 0,
196 [pbr::OriginalName(
"MODEL_INVALID")] ModelInvalid = 1,
202 [pbr::OriginalName(
"FEASIBLE")] Feasible = 2,
206 [pbr::OriginalName(
"INFEASIBLE")] Infeasible = 3,
217 [pbr::OriginalName(
"OPTIMAL")] Optimal = 4,
223 public sealed
partial class IntegerVariableProto : pb::IMessage<IntegerVariableProto>
245 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
249 private static readonly pb::MessageParser<IntegerVariableProto> _parser =
new pb::MessageParser<IntegerVariableProto>(() =>
new IntegerVariableProto());
250 private pb::UnknownFieldSet _unknownFields;
251 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
252 public static pb::MessageParser<IntegerVariableProto> Parser {
get {
return _parser; } }
254 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
255 public static pbr::MessageDescriptor Descriptor {
256 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[0]; }
259 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
260 pbr::MessageDescriptor pb::IMessage.Descriptor {
261 get {
return Descriptor; }
264 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
269 partial
void OnConstruction();
271 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
274 domain_ = other.domain_.Clone();
275 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
278 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
284 public const int NameFieldNumber = 1;
285 private string name_ =
"";
289 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
291 get {
return name_; }
293 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
298 public const int DomainFieldNumber = 2;
299 private static readonly pb::FieldCodec<long> _repeated_domain_codec
300 = pb::FieldCodec.ForInt64(18);
301 private readonly pbc::RepeatedField<long> domain_ =
new pbc::RepeatedField<long>();
321 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
323 get {
return domain_; }
326 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
327 public override bool Equals(
object other) {
331 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
333 if (ReferenceEquals(other,
null)) {
336 if (ReferenceEquals(other,
this)) {
339 if (Name != other.Name)
return false;
340 if(!domain_.Equals(other.domain_))
return false;
341 return Equals(_unknownFields, other._unknownFields);
344 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
347 if (Name.Length != 0) hash ^= Name.GetHashCode();
348 hash ^= domain_.GetHashCode();
349 if (_unknownFields !=
null) {
350 hash ^= _unknownFields.GetHashCode();
355 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
357 return pb::JsonFormatter.ToDiagnosticString(
this);
360 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
361 public void WriteTo(pb::CodedOutputStream output) {
362 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
363 output.WriteRawMessage(
this);
365 if (Name.Length != 0) {
366 output.WriteRawTag(10);
367 output.WriteString(Name);
369 domain_.WriteTo(output, _repeated_domain_codec);
370 if (_unknownFields !=
null) {
371 _unknownFields.WriteTo(output);
376 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
377 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
378 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
379 if (Name.Length != 0) {
380 output.WriteRawTag(10);
381 output.WriteString(Name);
383 domain_.WriteTo(ref output, _repeated_domain_codec);
384 if (_unknownFields !=
null) {
385 _unknownFields.WriteTo(ref output);
390 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
393 if (Name.Length != 0) {
394 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
396 size += domain_.CalculateSize(_repeated_domain_codec);
397 if (_unknownFields !=
null) {
398 size += _unknownFields.CalculateSize();
403 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
408 if (other.Name.Length != 0) {
411 domain_.Add(other.domain_);
412 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
415 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
417 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
418 input.ReadRawMessage(
this);
421 while ((tag = input.ReadTag()) != 0) {
424 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
427 Name = input.ReadString();
432 domain_.AddEntriesFrom(input, _repeated_domain_codec);
440 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
441 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
442 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
444 while ((tag = input.ReadTag()) != 0) {
447 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
450 Name = input.ReadString();
455 domain_.AddEntriesFrom(ref input, _repeated_domain_codec);
469 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
473 private static readonly pb::MessageParser<BoolArgumentProto> _parser =
new pb::MessageParser<BoolArgumentProto>(() =>
new BoolArgumentProto());
474 private pb::UnknownFieldSet _unknownFields;
475 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
476 public static pb::MessageParser<BoolArgumentProto> Parser {
get {
return _parser; } }
478 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
479 public static pbr::MessageDescriptor Descriptor {
480 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[1]; }
483 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
484 pbr::MessageDescriptor pb::IMessage.Descriptor {
485 get {
return Descriptor; }
488 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
493 partial
void OnConstruction();
495 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
497 literals_ = other.literals_.Clone();
498 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
501 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
507 public const int LiteralsFieldNumber = 1;
508 private static readonly pb::FieldCodec<int> _repeated_literals_codec
509 = pb::FieldCodec.ForInt32(10);
510 private readonly pbc::RepeatedField<int> literals_ =
new pbc::RepeatedField<int>();
511 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
512 public pbc::RepeatedField<int> Literals {
513 get {
return literals_; }
516 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
517 public override bool Equals(
object other) {
521 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
523 if (ReferenceEquals(other,
null)) {
526 if (ReferenceEquals(other,
this)) {
529 if(!literals_.Equals(other.literals_))
return false;
530 return Equals(_unknownFields, other._unknownFields);
533 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
536 hash ^= literals_.GetHashCode();
537 if (_unknownFields !=
null) {
538 hash ^= _unknownFields.GetHashCode();
543 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
545 return pb::JsonFormatter.ToDiagnosticString(
this);
548 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
549 public void WriteTo(pb::CodedOutputStream output) {
550 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
551 output.WriteRawMessage(
this);
553 literals_.WriteTo(output, _repeated_literals_codec);
554 if (_unknownFields !=
null) {
555 _unknownFields.WriteTo(output);
560 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
561 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
562 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
563 literals_.WriteTo(ref output, _repeated_literals_codec);
564 if (_unknownFields !=
null) {
565 _unknownFields.WriteTo(ref output);
570 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
573 size += literals_.CalculateSize(_repeated_literals_codec);
574 if (_unknownFields !=
null) {
575 size += _unknownFields.CalculateSize();
580 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
585 literals_.Add(other.literals_);
586 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
589 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
591 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
592 input.ReadRawMessage(
this);
595 while ((tag = input.ReadTag()) != 0) {
598 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
602 literals_.AddEntriesFrom(input, _repeated_literals_codec);
610 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
611 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
612 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
614 while ((tag = input.ReadTag()) != 0) {
617 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
621 literals_.AddEntriesFrom(ref input, _repeated_literals_codec);
635 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
639 private static readonly pb::MessageParser<IntegerArgumentProto> _parser =
new pb::MessageParser<IntegerArgumentProto>(() =>
new IntegerArgumentProto());
640 private pb::UnknownFieldSet _unknownFields;
641 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
642 public static pb::MessageParser<IntegerArgumentProto> Parser {
get {
return _parser; } }
644 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
645 public static pbr::MessageDescriptor Descriptor {
646 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[2]; }
649 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
650 pbr::MessageDescriptor pb::IMessage.Descriptor {
651 get {
return Descriptor; }
654 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
659 partial
void OnConstruction();
661 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
663 target_ = other.target_;
664 vars_ = other.vars_.Clone();
665 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
668 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
674 public const int TargetFieldNumber = 1;
676 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
678 get {
return target_; }
685 public const int VarsFieldNumber = 2;
686 private static readonly pb::FieldCodec<int> _repeated_vars_codec
687 = pb::FieldCodec.ForInt32(18);
688 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
689 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
690 public pbc::RepeatedField<int> Vars {
691 get {
return vars_; }
694 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
695 public override bool Equals(
object other) {
699 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
701 if (ReferenceEquals(other,
null)) {
704 if (ReferenceEquals(other,
this)) {
707 if (Target != other.
Target)
return false;
708 if(!vars_.Equals(other.vars_))
return false;
709 return Equals(_unknownFields, other._unknownFields);
712 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
715 if (Target != 0) hash ^= Target.GetHashCode();
716 hash ^= vars_.GetHashCode();
717 if (_unknownFields !=
null) {
718 hash ^= _unknownFields.GetHashCode();
723 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
725 return pb::JsonFormatter.ToDiagnosticString(
this);
728 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
729 public void WriteTo(pb::CodedOutputStream output) {
730 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
731 output.WriteRawMessage(
this);
734 output.WriteRawTag(8);
735 output.WriteInt32(Target);
737 vars_.WriteTo(output, _repeated_vars_codec);
738 if (_unknownFields !=
null) {
739 _unknownFields.WriteTo(output);
744 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
745 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
746 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
748 output.WriteRawTag(8);
749 output.WriteInt32(Target);
751 vars_.WriteTo(ref output, _repeated_vars_codec);
752 if (_unknownFields !=
null) {
753 _unknownFields.WriteTo(ref output);
758 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
762 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Target);
764 size += vars_.CalculateSize(_repeated_vars_codec);
765 if (_unknownFields !=
null) {
766 size += _unknownFields.CalculateSize();
771 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
779 vars_.Add(other.vars_);
780 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
783 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
785 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
786 input.ReadRawMessage(
this);
789 while ((tag = input.ReadTag()) != 0) {
792 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
795 Target = input.ReadInt32();
800 vars_.AddEntriesFrom(input, _repeated_vars_codec);
808 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
809 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
810 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
812 while ((tag = input.ReadTag()) != 0) {
815 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
818 Target = input.ReadInt32();
823 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
834 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
838 private static readonly pb::MessageParser<LinearExpressionProto> _parser =
new pb::MessageParser<LinearExpressionProto>(() =>
new LinearExpressionProto());
839 private pb::UnknownFieldSet _unknownFields;
840 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
841 public static pb::MessageParser<LinearExpressionProto> Parser {
get {
return _parser; } }
843 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
844 public static pbr::MessageDescriptor Descriptor {
845 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[3]; }
848 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
849 pbr::MessageDescriptor pb::IMessage.Descriptor {
850 get {
return Descriptor; }
853 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
858 partial
void OnConstruction();
860 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
862 vars_ = other.vars_.Clone();
863 coeffs_ = other.coeffs_.Clone();
864 offset_ = other.offset_;
865 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
868 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
874 public const int VarsFieldNumber = 1;
875 private static readonly pb::FieldCodec<int> _repeated_vars_codec
876 = pb::FieldCodec.ForInt32(10);
877 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
878 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
879 public pbc::RepeatedField<int> Vars {
880 get {
return vars_; }
884 public const int CoeffsFieldNumber = 2;
885 private static readonly pb::FieldCodec<long> _repeated_coeffs_codec
886 = pb::FieldCodec.ForInt64(18);
887 private readonly pbc::RepeatedField<long> coeffs_ =
new pbc::RepeatedField<long>();
888 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
889 public pbc::RepeatedField<long> Coeffs {
890 get {
return coeffs_; }
894 public const int OffsetFieldNumber = 3;
895 private long offset_;
896 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
898 get {
return offset_; }
904 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
905 public override bool Equals(
object other) {
909 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
911 if (ReferenceEquals(other,
null)) {
914 if (ReferenceEquals(other,
this)) {
917 if(!vars_.Equals(other.vars_))
return false;
918 if(!coeffs_.Equals(other.coeffs_))
return false;
919 if (Offset != other.
Offset)
return false;
920 return Equals(_unknownFields, other._unknownFields);
923 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
926 hash ^= vars_.GetHashCode();
927 hash ^= coeffs_.GetHashCode();
928 if (Offset != 0L) hash ^= Offset.GetHashCode();
929 if (_unknownFields !=
null) {
930 hash ^= _unknownFields.GetHashCode();
935 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
937 return pb::JsonFormatter.ToDiagnosticString(
this);
940 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
941 public void WriteTo(pb::CodedOutputStream output) {
942 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
943 output.WriteRawMessage(
this);
945 vars_.WriteTo(output, _repeated_vars_codec);
946 coeffs_.WriteTo(output, _repeated_coeffs_codec);
948 output.WriteRawTag(24);
949 output.WriteInt64(Offset);
951 if (_unknownFields !=
null) {
952 _unknownFields.WriteTo(output);
957 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
958 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
959 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
960 vars_.WriteTo(ref output, _repeated_vars_codec);
961 coeffs_.WriteTo(ref output, _repeated_coeffs_codec);
963 output.WriteRawTag(24);
964 output.WriteInt64(Offset);
966 if (_unknownFields !=
null) {
967 _unknownFields.WriteTo(ref output);
972 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
975 size += vars_.CalculateSize(_repeated_vars_codec);
976 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
978 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Offset);
980 if (_unknownFields !=
null) {
981 size += _unknownFields.CalculateSize();
986 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
991 vars_.Add(other.vars_);
992 coeffs_.Add(other.coeffs_);
996 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
999 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1001 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1002 input.ReadRawMessage(
this);
1005 while ((tag = input.ReadTag()) != 0) {
1008 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1012 vars_.AddEntriesFrom(input, _repeated_vars_codec);
1017 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
1021 Offset = input.ReadInt64();
1029 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1030 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1031 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1033 while ((tag = input.ReadTag()) != 0) {
1036 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1040 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
1045 coeffs_.AddEntriesFrom(ref input, _repeated_coeffs_codec);
1049 Offset = input.ReadInt64();
1060 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1061 , pb::IBufferMessage
1064 private static readonly pb::MessageParser<LinearArgumentProto> _parser =
new pb::MessageParser<LinearArgumentProto>(() =>
new LinearArgumentProto());
1065 private pb::UnknownFieldSet _unknownFields;
1066 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1067 public static pb::MessageParser<LinearArgumentProto> Parser {
get {
return _parser; } }
1069 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1070 public static pbr::MessageDescriptor Descriptor {
1071 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[4]; }
1074 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1075 pbr::MessageDescriptor pb::IMessage.Descriptor {
1076 get {
return Descriptor; }
1079 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1084 partial
void OnConstruction();
1086 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1088 target_ = other.target_ !=
null ? other.target_.
Clone() :
null;
1089 exprs_ = other.exprs_.Clone();
1090 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1093 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1099 public const int TargetFieldNumber = 1;
1100 private global::Google.OrTools.Sat.LinearExpressionProto target_;
1101 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1102 public global::Google.OrTools.Sat.LinearExpressionProto Target {
1103 get {
return target_; }
1110 public const int ExprsFieldNumber = 2;
1111 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
1112 = pb::FieldCodec.ForMessage(18, global::Google.OrTools.Sat.LinearExpressionProto.Parser);
1113 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
1114 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1115 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> Exprs {
1116 get {
return exprs_; }
1119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1124 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1126 if (ReferenceEquals(other,
null)) {
1129 if (ReferenceEquals(other,
this)) {
1132 if (!
object.Equals(Target, other.
Target))
return false;
1133 if(!exprs_.Equals(other.exprs_))
return false;
1134 return Equals(_unknownFields, other._unknownFields);
1137 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1140 if (target_ !=
null) hash ^= Target.GetHashCode();
1141 hash ^= exprs_.GetHashCode();
1142 if (_unknownFields !=
null) {
1143 hash ^= _unknownFields.GetHashCode();
1148 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1150 return pb::JsonFormatter.ToDiagnosticString(
this);
1153 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1154 public void WriteTo(pb::CodedOutputStream output) {
1155 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1156 output.WriteRawMessage(
this);
1158 if (target_ !=
null) {
1159 output.WriteRawTag(10);
1160 output.WriteMessage(Target);
1162 exprs_.WriteTo(output, _repeated_exprs_codec);
1163 if (_unknownFields !=
null) {
1164 _unknownFields.WriteTo(output);
1169 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1170 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1171 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1172 if (target_ !=
null) {
1173 output.WriteRawTag(10);
1174 output.WriteMessage(Target);
1176 exprs_.WriteTo(ref output, _repeated_exprs_codec);
1177 if (_unknownFields !=
null) {
1178 _unknownFields.WriteTo(ref output);
1183 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1186 if (target_ !=
null) {
1187 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target);
1189 size += exprs_.CalculateSize(_repeated_exprs_codec);
1190 if (_unknownFields !=
null) {
1191 size += _unknownFields.CalculateSize();
1196 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1198 if (other ==
null) {
1201 if (other.target_ !=
null) {
1202 if (target_ ==
null) {
1203 Target =
new global::Google.OrTools.Sat.LinearExpressionProto();
1205 Target.MergeFrom(other.
Target);
1207 exprs_.Add(other.exprs_);
1208 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1211 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1213 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1214 input.ReadRawMessage(
this);
1217 while ((tag = input.ReadTag()) != 0) {
1220 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1223 if (target_ ==
null) {
1224 Target =
new global::Google.OrTools.Sat.LinearExpressionProto();
1226 input.ReadMessage(Target);
1230 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
1238 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1239 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1240 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1242 while ((tag = input.ReadTag()) != 0) {
1245 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1248 if (target_ ==
null) {
1249 Target =
new global::Google.OrTools.Sat.LinearExpressionProto();
1251 input.ReadMessage(Target);
1255 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
1269 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1270 , pb::IBufferMessage
1273 private static readonly pb::MessageParser<AllDifferentConstraintProto> _parser =
new pb::MessageParser<AllDifferentConstraintProto>(() =>
new AllDifferentConstraintProto());
1274 private pb::UnknownFieldSet _unknownFields;
1275 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1276 public static pb::MessageParser<AllDifferentConstraintProto> Parser {
get {
return _parser; } }
1278 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1279 public static pbr::MessageDescriptor Descriptor {
1280 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[5]; }
1283 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1284 pbr::MessageDescriptor pb::IMessage.Descriptor {
1285 get {
return Descriptor; }
1288 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1293 partial
void OnConstruction();
1295 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1297 vars_ = other.vars_.Clone();
1298 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1301 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1307 public const int VarsFieldNumber = 1;
1308 private static readonly pb::FieldCodec<int> _repeated_vars_codec
1309 = pb::FieldCodec.ForInt32(10);
1310 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
1311 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1312 public pbc::RepeatedField<int> Vars {
1313 get {
return vars_; }
1316 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1321 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1323 if (ReferenceEquals(other,
null)) {
1326 if (ReferenceEquals(other,
this)) {
1329 if(!vars_.Equals(other.vars_))
return false;
1330 return Equals(_unknownFields, other._unknownFields);
1333 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1336 hash ^= vars_.GetHashCode();
1337 if (_unknownFields !=
null) {
1338 hash ^= _unknownFields.GetHashCode();
1343 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1345 return pb::JsonFormatter.ToDiagnosticString(
this);
1348 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1349 public void WriteTo(pb::CodedOutputStream output) {
1350 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1351 output.WriteRawMessage(
this);
1353 vars_.WriteTo(output, _repeated_vars_codec);
1354 if (_unknownFields !=
null) {
1355 _unknownFields.WriteTo(output);
1360 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1361 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1362 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1363 vars_.WriteTo(ref output, _repeated_vars_codec);
1364 if (_unknownFields !=
null) {
1365 _unknownFields.WriteTo(ref output);
1370 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1373 size += vars_.CalculateSize(_repeated_vars_codec);
1374 if (_unknownFields !=
null) {
1375 size += _unknownFields.CalculateSize();
1380 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1382 if (other ==
null) {
1385 vars_.Add(other.vars_);
1386 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1389 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1391 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1392 input.ReadRawMessage(
this);
1395 while ((tag = input.ReadTag()) != 0) {
1398 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1402 vars_.AddEntriesFrom(input, _repeated_vars_codec);
1410 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1411 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1412 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1414 while ((tag = input.ReadTag()) != 0) {
1417 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1421 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
1440 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1441 , pb::IBufferMessage
1444 private static readonly pb::MessageParser<LinearConstraintProto> _parser =
new pb::MessageParser<LinearConstraintProto>(() =>
new LinearConstraintProto());
1445 private pb::UnknownFieldSet _unknownFields;
1446 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1447 public static pb::MessageParser<LinearConstraintProto> Parser {
get {
return _parser; } }
1449 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1450 public static pbr::MessageDescriptor Descriptor {
1451 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[6]; }
1454 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1455 pbr::MessageDescriptor pb::IMessage.Descriptor {
1456 get {
return Descriptor; }
1459 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1464 partial
void OnConstruction();
1466 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1468 vars_ = other.vars_.Clone();
1469 coeffs_ = other.coeffs_.Clone();
1470 domain_ = other.domain_.Clone();
1471 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1474 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1480 public const int VarsFieldNumber = 1;
1481 private static readonly pb::FieldCodec<int> _repeated_vars_codec
1482 = pb::FieldCodec.ForInt32(10);
1483 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
1484 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1485 public pbc::RepeatedField<int> Vars {
1486 get {
return vars_; }
1490 public const int CoeffsFieldNumber = 2;
1491 private static readonly pb::FieldCodec<long> _repeated_coeffs_codec
1492 = pb::FieldCodec.ForInt64(18);
1493 private readonly pbc::RepeatedField<long> coeffs_ =
new pbc::RepeatedField<long>();
1497 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1498 public pbc::RepeatedField<long> Coeffs {
1499 get {
return coeffs_; }
1503 public const int DomainFieldNumber = 3;
1504 private static readonly pb::FieldCodec<long> _repeated_domain_codec
1505 = pb::FieldCodec.ForInt64(26);
1506 private readonly pbc::RepeatedField<long> domain_ =
new pbc::RepeatedField<long>();
1507 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1509 get {
return domain_; }
1512 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1517 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1519 if (ReferenceEquals(other,
null)) {
1522 if (ReferenceEquals(other,
this)) {
1525 if(!vars_.Equals(other.vars_))
return false;
1526 if(!coeffs_.Equals(other.coeffs_))
return false;
1527 if(!domain_.Equals(other.domain_))
return false;
1528 return Equals(_unknownFields, other._unknownFields);
1531 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1534 hash ^= vars_.GetHashCode();
1535 hash ^= coeffs_.GetHashCode();
1536 hash ^= domain_.GetHashCode();
1537 if (_unknownFields !=
null) {
1538 hash ^= _unknownFields.GetHashCode();
1543 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1545 return pb::JsonFormatter.ToDiagnosticString(
this);
1548 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1549 public void WriteTo(pb::CodedOutputStream output) {
1550 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1551 output.WriteRawMessage(
this);
1553 vars_.WriteTo(output, _repeated_vars_codec);
1554 coeffs_.WriteTo(output, _repeated_coeffs_codec);
1555 domain_.WriteTo(output, _repeated_domain_codec);
1556 if (_unknownFields !=
null) {
1557 _unknownFields.WriteTo(output);
1562 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1563 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1564 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1565 vars_.WriteTo(ref output, _repeated_vars_codec);
1566 coeffs_.WriteTo(ref output, _repeated_coeffs_codec);
1567 domain_.WriteTo(ref output, _repeated_domain_codec);
1568 if (_unknownFields !=
null) {
1569 _unknownFields.WriteTo(ref output);
1574 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1577 size += vars_.CalculateSize(_repeated_vars_codec);
1578 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
1579 size += domain_.CalculateSize(_repeated_domain_codec);
1580 if (_unknownFields !=
null) {
1581 size += _unknownFields.CalculateSize();
1586 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1588 if (other ==
null) {
1591 vars_.Add(other.vars_);
1592 coeffs_.Add(other.coeffs_);
1593 domain_.Add(other.domain_);
1594 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1597 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1599 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1600 input.ReadRawMessage(
this);
1603 while ((tag = input.ReadTag()) != 0) {
1606 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1610 vars_.AddEntriesFrom(input, _repeated_vars_codec);
1615 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
1620 domain_.AddEntriesFrom(input, _repeated_domain_codec);
1628 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1629 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1630 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1632 while ((tag = input.ReadTag()) != 0) {
1635 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1639 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
1644 coeffs_.AddEntriesFrom(ref input, _repeated_coeffs_codec);
1649 domain_.AddEntriesFrom(ref input, _repeated_domain_codec);
1664 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1665 , pb::IBufferMessage
1668 private static readonly pb::MessageParser<ElementConstraintProto> _parser =
new pb::MessageParser<ElementConstraintProto>(() =>
new ElementConstraintProto());
1669 private pb::UnknownFieldSet _unknownFields;
1670 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1671 public static pb::MessageParser<ElementConstraintProto> Parser {
get {
return _parser; } }
1673 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1674 public static pbr::MessageDescriptor Descriptor {
1675 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[7]; }
1678 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1679 pbr::MessageDescriptor pb::IMessage.Descriptor {
1680 get {
return Descriptor; }
1683 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1688 partial
void OnConstruction();
1690 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1692 index_ = other.index_;
1693 target_ = other.target_;
1694 vars_ = other.vars_.Clone();
1695 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1698 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1704 public const int IndexFieldNumber = 1;
1706 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1708 get {
return index_; }
1715 public const int TargetFieldNumber = 2;
1716 private int target_;
1717 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1719 get {
return target_; }
1726 public const int VarsFieldNumber = 3;
1727 private static readonly pb::FieldCodec<int> _repeated_vars_codec
1728 = pb::FieldCodec.ForInt32(26);
1729 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
1730 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1731 public pbc::RepeatedField<int> Vars {
1732 get {
return vars_; }
1735 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1740 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1742 if (ReferenceEquals(other,
null)) {
1745 if (ReferenceEquals(other,
this)) {
1748 if (Index != other.
Index)
return false;
1749 if (Target != other.
Target)
return false;
1750 if(!vars_.Equals(other.vars_))
return false;
1751 return Equals(_unknownFields, other._unknownFields);
1754 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1757 if (Index != 0) hash ^= Index.GetHashCode();
1758 if (Target != 0) hash ^= Target.GetHashCode();
1759 hash ^= vars_.GetHashCode();
1760 if (_unknownFields !=
null) {
1761 hash ^= _unknownFields.GetHashCode();
1766 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1768 return pb::JsonFormatter.ToDiagnosticString(
this);
1771 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1772 public void WriteTo(pb::CodedOutputStream output) {
1773 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1774 output.WriteRawMessage(
this);
1777 output.WriteRawTag(8);
1778 output.WriteInt32(Index);
1781 output.WriteRawTag(16);
1782 output.WriteInt32(Target);
1784 vars_.WriteTo(output, _repeated_vars_codec);
1785 if (_unknownFields !=
null) {
1786 _unknownFields.WriteTo(output);
1791 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1792 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1793 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1795 output.WriteRawTag(8);
1796 output.WriteInt32(Index);
1799 output.WriteRawTag(16);
1800 output.WriteInt32(Target);
1802 vars_.WriteTo(ref output, _repeated_vars_codec);
1803 if (_unknownFields !=
null) {
1804 _unknownFields.WriteTo(ref output);
1809 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1813 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index);
1816 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Target);
1818 size += vars_.CalculateSize(_repeated_vars_codec);
1819 if (_unknownFields !=
null) {
1820 size += _unknownFields.CalculateSize();
1825 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1827 if (other ==
null) {
1830 if (other.
Index != 0) {
1831 Index = other.
Index;
1836 vars_.Add(other.vars_);
1837 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1840 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1842 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1843 input.ReadRawMessage(
this);
1846 while ((tag = input.ReadTag()) != 0) {
1849 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1852 Index = input.ReadInt32();
1856 Target = input.ReadInt32();
1861 vars_.AddEntriesFrom(input, _repeated_vars_codec);
1869 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1870 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1871 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1873 while ((tag = input.ReadTag()) != 0) {
1876 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1879 Index = input.ReadInt32();
1883 Target = input.ReadInt32();
1888 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
1903 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1904 , pb::IBufferMessage
1907 private static readonly pb::MessageParser<IntervalConstraintProto> _parser =
new pb::MessageParser<IntervalConstraintProto>(() =>
new IntervalConstraintProto());
1908 private pb::UnknownFieldSet _unknownFields;
1909 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1910 public static pb::MessageParser<IntervalConstraintProto> Parser {
get {
return _parser; } }
1912 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1913 public static pbr::MessageDescriptor Descriptor {
1914 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[8]; }
1917 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1918 pbr::MessageDescriptor pb::IMessage.Descriptor {
1919 get {
return Descriptor; }
1922 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1927 partial
void OnConstruction();
1929 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1931 start_ = other.start_;
1933 size_ = other.size_;
1934 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1937 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1943 public const int StartFieldNumber = 1;
1945 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1947 get {
return start_; }
1954 public const int EndFieldNumber = 2;
1956 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1958 get {
return end_; }
1965 public const int SizeFieldNumber = 3;
1967 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1969 get {
return size_; }
1975 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1980 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1982 if (ReferenceEquals(other,
null)) {
1985 if (ReferenceEquals(other,
this)) {
1988 if (Start != other.
Start)
return false;
1989 if (End != other.
End)
return false;
1990 if (Size != other.
Size)
return false;
1991 return Equals(_unknownFields, other._unknownFields);
1994 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1997 if (Start != 0) hash ^= Start.GetHashCode();
1998 if (End != 0) hash ^= End.GetHashCode();
1999 if (Size != 0) hash ^= Size.GetHashCode();
2000 if (_unknownFields !=
null) {
2001 hash ^= _unknownFields.GetHashCode();
2006 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2008 return pb::JsonFormatter.ToDiagnosticString(
this);
2011 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2012 public void WriteTo(pb::CodedOutputStream output) {
2013 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2014 output.WriteRawMessage(
this);
2017 output.WriteRawTag(8);
2018 output.WriteInt32(Start);
2021 output.WriteRawTag(16);
2022 output.WriteInt32(End);
2025 output.WriteRawTag(24);
2026 output.WriteInt32(Size);
2028 if (_unknownFields !=
null) {
2029 _unknownFields.WriteTo(output);
2034 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2035 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2036 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2038 output.WriteRawTag(8);
2039 output.WriteInt32(Start);
2042 output.WriteRawTag(16);
2043 output.WriteInt32(End);
2046 output.WriteRawTag(24);
2047 output.WriteInt32(Size);
2049 if (_unknownFields !=
null) {
2050 _unknownFields.WriteTo(ref output);
2055 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2059 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start);
2062 size += 1 + pb::CodedOutputStream.ComputeInt32Size(End);
2065 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Size);
2067 if (_unknownFields !=
null) {
2068 size += _unknownFields.CalculateSize();
2073 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2075 if (other ==
null) {
2078 if (other.
Start != 0) {
2079 Start = other.
Start;
2081 if (other.
End != 0) {
2084 if (other.
Size != 0) {
2087 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2090 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2092 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2093 input.ReadRawMessage(
this);
2096 while ((tag = input.ReadTag()) != 0) {
2099 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2102 Start = input.ReadInt32();
2106 End = input.ReadInt32();
2110 Size = input.ReadInt32();
2118 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2120 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2122 while ((tag = input.ReadTag()) != 0) {
2125 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2128 Start = input.ReadInt32();
2132 End = input.ReadInt32();
2136 Size = input.ReadInt32();
2154 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2155 , pb::IBufferMessage
2158 private static readonly pb::MessageParser<NoOverlapConstraintProto> _parser =
new pb::MessageParser<NoOverlapConstraintProto>(() =>
new NoOverlapConstraintProto());
2159 private pb::UnknownFieldSet _unknownFields;
2160 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2161 public static pb::MessageParser<NoOverlapConstraintProto> Parser {
get {
return _parser; } }
2163 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2164 public static pbr::MessageDescriptor Descriptor {
2165 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[9]; }
2168 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2169 pbr::MessageDescriptor pb::IMessage.Descriptor {
2170 get {
return Descriptor; }
2173 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2178 partial
void OnConstruction();
2180 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2182 intervals_ = other.intervals_.Clone();
2183 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2186 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2192 public const int IntervalsFieldNumber = 1;
2193 private static readonly pb::FieldCodec<int> _repeated_intervals_codec
2194 = pb::FieldCodec.ForInt32(10);
2195 private readonly pbc::RepeatedField<int> intervals_ =
new pbc::RepeatedField<int>();
2196 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2197 public pbc::RepeatedField<int> Intervals {
2198 get {
return intervals_; }
2201 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2206 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2208 if (ReferenceEquals(other,
null)) {
2211 if (ReferenceEquals(other,
this)) {
2214 if(!intervals_.Equals(other.intervals_))
return false;
2215 return Equals(_unknownFields, other._unknownFields);
2218 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2221 hash ^= intervals_.GetHashCode();
2222 if (_unknownFields !=
null) {
2223 hash ^= _unknownFields.GetHashCode();
2228 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2230 return pb::JsonFormatter.ToDiagnosticString(
this);
2233 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2234 public void WriteTo(pb::CodedOutputStream output) {
2235 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2236 output.WriteRawMessage(
this);
2238 intervals_.WriteTo(output, _repeated_intervals_codec);
2239 if (_unknownFields !=
null) {
2240 _unknownFields.WriteTo(output);
2245 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2246 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2247 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2248 intervals_.WriteTo(ref output, _repeated_intervals_codec);
2249 if (_unknownFields !=
null) {
2250 _unknownFields.WriteTo(ref output);
2255 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2258 size += intervals_.CalculateSize(_repeated_intervals_codec);
2259 if (_unknownFields !=
null) {
2260 size += _unknownFields.CalculateSize();
2265 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2267 if (other ==
null) {
2270 intervals_.Add(other.intervals_);
2271 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2274 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2276 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2277 input.ReadRawMessage(
this);
2280 while ((tag = input.ReadTag()) != 0) {
2283 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2287 intervals_.AddEntriesFrom(input, _repeated_intervals_codec);
2295 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2296 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2297 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2299 while ((tag = input.ReadTag()) != 0) {
2302 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2306 intervals_.AddEntriesFrom(ref input, _repeated_intervals_codec);
2320 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2321 , pb::IBufferMessage
2324 private static readonly pb::MessageParser<NoOverlap2DConstraintProto> _parser =
new pb::MessageParser<NoOverlap2DConstraintProto>(() =>
new NoOverlap2DConstraintProto());
2325 private pb::UnknownFieldSet _unknownFields;
2326 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2327 public static pb::MessageParser<NoOverlap2DConstraintProto> Parser {
get {
return _parser; } }
2329 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2330 public static pbr::MessageDescriptor Descriptor {
2331 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[10]; }
2334 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2335 pbr::MessageDescriptor pb::IMessage.Descriptor {
2336 get {
return Descriptor; }
2339 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2344 partial
void OnConstruction();
2346 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2348 xIntervals_ = other.xIntervals_.Clone();
2349 yIntervals_ = other.yIntervals_.Clone();
2350 boxesWithNullAreaCanOverlap_ = other.boxesWithNullAreaCanOverlap_;
2351 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2354 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2360 public const int XIntervalsFieldNumber = 1;
2361 private static readonly pb::FieldCodec<int> _repeated_xIntervals_codec
2362 = pb::FieldCodec.ForInt32(10);
2363 private readonly pbc::RepeatedField<int> xIntervals_ =
new pbc::RepeatedField<int>();
2364 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2365 public pbc::RepeatedField<int> XIntervals {
2366 get {
return xIntervals_; }
2370 public const int YIntervalsFieldNumber = 2;
2371 private static readonly pb::FieldCodec<int> _repeated_yIntervals_codec
2372 = pb::FieldCodec.ForInt32(18);
2373 private readonly pbc::RepeatedField<int> yIntervals_ =
new pbc::RepeatedField<int>();
2377 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2378 public pbc::RepeatedField<int> YIntervals {
2379 get {
return yIntervals_; }
2383 public const int BoxesWithNullAreaCanOverlapFieldNumber = 3;
2384 private bool boxesWithNullAreaCanOverlap_;
2385 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2386 public bool BoxesWithNullAreaCanOverlap {
2387 get {
return boxesWithNullAreaCanOverlap_; }
2389 boxesWithNullAreaCanOverlap_ = value;
2393 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2398 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2400 if (ReferenceEquals(other,
null)) {
2403 if (ReferenceEquals(other,
this)) {
2406 if(!xIntervals_.Equals(other.xIntervals_))
return false;
2407 if(!yIntervals_.Equals(other.yIntervals_))
return false;
2409 return Equals(_unknownFields, other._unknownFields);
2412 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2415 hash ^= xIntervals_.GetHashCode();
2416 hash ^= yIntervals_.GetHashCode();
2417 if (BoxesWithNullAreaCanOverlap !=
false) hash ^= BoxesWithNullAreaCanOverlap.GetHashCode();
2418 if (_unknownFields !=
null) {
2419 hash ^= _unknownFields.GetHashCode();
2424 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2426 return pb::JsonFormatter.ToDiagnosticString(
this);
2429 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2430 public void WriteTo(pb::CodedOutputStream output) {
2431 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2432 output.WriteRawMessage(
this);
2434 xIntervals_.WriteTo(output, _repeated_xIntervals_codec);
2435 yIntervals_.WriteTo(output, _repeated_yIntervals_codec);
2436 if (BoxesWithNullAreaCanOverlap !=
false) {
2437 output.WriteRawTag(24);
2438 output.WriteBool(BoxesWithNullAreaCanOverlap);
2440 if (_unknownFields !=
null) {
2441 _unknownFields.WriteTo(output);
2446 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2447 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2448 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2449 xIntervals_.WriteTo(ref output, _repeated_xIntervals_codec);
2450 yIntervals_.WriteTo(ref output, _repeated_yIntervals_codec);
2451 if (BoxesWithNullAreaCanOverlap !=
false) {
2452 output.WriteRawTag(24);
2453 output.WriteBool(BoxesWithNullAreaCanOverlap);
2455 if (_unknownFields !=
null) {
2456 _unknownFields.WriteTo(ref output);
2461 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2464 size += xIntervals_.CalculateSize(_repeated_xIntervals_codec);
2465 size += yIntervals_.CalculateSize(_repeated_yIntervals_codec);
2466 if (BoxesWithNullAreaCanOverlap !=
false) {
2469 if (_unknownFields !=
null) {
2470 size += _unknownFields.CalculateSize();
2475 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2477 if (other ==
null) {
2480 xIntervals_.Add(other.xIntervals_);
2481 yIntervals_.Add(other.yIntervals_);
2485 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2488 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2490 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2491 input.ReadRawMessage(
this);
2494 while ((tag = input.ReadTag()) != 0) {
2497 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2501 xIntervals_.AddEntriesFrom(input, _repeated_xIntervals_codec);
2506 yIntervals_.AddEntriesFrom(input, _repeated_yIntervals_codec);
2510 BoxesWithNullAreaCanOverlap = input.ReadBool();
2518 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2519 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2520 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2522 while ((tag = input.ReadTag()) != 0) {
2525 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2529 xIntervals_.AddEntriesFrom(ref input, _repeated_xIntervals_codec);
2534 yIntervals_.AddEntriesFrom(ref input, _repeated_yIntervals_codec);
2538 BoxesWithNullAreaCanOverlap = input.ReadBool();
2555 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2556 , pb::IBufferMessage
2559 private static readonly pb::MessageParser<CumulativeConstraintProto> _parser =
new pb::MessageParser<CumulativeConstraintProto>(() =>
new CumulativeConstraintProto());
2560 private pb::UnknownFieldSet _unknownFields;
2561 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2562 public static pb::MessageParser<CumulativeConstraintProto> Parser {
get {
return _parser; } }
2564 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2565 public static pbr::MessageDescriptor Descriptor {
2566 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[11]; }
2569 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2570 pbr::MessageDescriptor pb::IMessage.Descriptor {
2571 get {
return Descriptor; }
2574 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2579 partial
void OnConstruction();
2581 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2583 capacity_ = other.capacity_;
2584 intervals_ = other.intervals_.Clone();
2585 demands_ = other.demands_.Clone();
2586 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2589 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2595 public const int CapacityFieldNumber = 1;
2596 private int capacity_;
2597 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2598 public int Capacity {
2599 get {
return capacity_; }
2606 public const int IntervalsFieldNumber = 2;
2607 private static readonly pb::FieldCodec<int> _repeated_intervals_codec
2608 = pb::FieldCodec.ForInt32(18);
2609 private readonly pbc::RepeatedField<int> intervals_ =
new pbc::RepeatedField<int>();
2610 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2611 public pbc::RepeatedField<int> Intervals {
2612 get {
return intervals_; }
2616 public const int DemandsFieldNumber = 3;
2617 private static readonly pb::FieldCodec<int> _repeated_demands_codec
2618 = pb::FieldCodec.ForInt32(26);
2619 private readonly pbc::RepeatedField<int> demands_ =
new pbc::RepeatedField<int>();
2623 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2624 public pbc::RepeatedField<int> Demands {
2625 get {
return demands_; }
2628 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2633 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2635 if (ReferenceEquals(other,
null)) {
2638 if (ReferenceEquals(other,
this)) {
2641 if (Capacity != other.
Capacity)
return false;
2642 if(!intervals_.Equals(other.intervals_))
return false;
2643 if(!demands_.Equals(other.demands_))
return false;
2644 return Equals(_unknownFields, other._unknownFields);
2647 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2650 if (Capacity != 0) hash ^= Capacity.GetHashCode();
2651 hash ^= intervals_.GetHashCode();
2652 hash ^= demands_.GetHashCode();
2653 if (_unknownFields !=
null) {
2654 hash ^= _unknownFields.GetHashCode();
2659 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2661 return pb::JsonFormatter.ToDiagnosticString(
this);
2664 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2665 public void WriteTo(pb::CodedOutputStream output) {
2666 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2667 output.WriteRawMessage(
this);
2669 if (Capacity != 0) {
2670 output.WriteRawTag(8);
2671 output.WriteInt32(Capacity);
2673 intervals_.WriteTo(output, _repeated_intervals_codec);
2674 demands_.WriteTo(output, _repeated_demands_codec);
2675 if (_unknownFields !=
null) {
2676 _unknownFields.WriteTo(output);
2681 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2682 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2683 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2684 if (Capacity != 0) {
2685 output.WriteRawTag(8);
2686 output.WriteInt32(Capacity);
2688 intervals_.WriteTo(ref output, _repeated_intervals_codec);
2689 demands_.WriteTo(ref output, _repeated_demands_codec);
2690 if (_unknownFields !=
null) {
2691 _unknownFields.WriteTo(ref output);
2696 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2699 if (Capacity != 0) {
2700 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Capacity);
2702 size += intervals_.CalculateSize(_repeated_intervals_codec);
2703 size += demands_.CalculateSize(_repeated_demands_codec);
2704 if (_unknownFields !=
null) {
2705 size += _unknownFields.CalculateSize();
2710 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2712 if (other ==
null) {
2718 intervals_.Add(other.intervals_);
2719 demands_.Add(other.demands_);
2720 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2723 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2725 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2726 input.ReadRawMessage(
this);
2729 while ((tag = input.ReadTag()) != 0) {
2732 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2735 Capacity = input.ReadInt32();
2740 intervals_.AddEntriesFrom(input, _repeated_intervals_codec);
2745 demands_.AddEntriesFrom(input, _repeated_demands_codec);
2753 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2754 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2755 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2757 while ((tag = input.ReadTag()) != 0) {
2760 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2763 Capacity = input.ReadInt32();
2768 intervals_.AddEntriesFrom(ref input, _repeated_intervals_codec);
2773 demands_.AddEntriesFrom(ref input, _repeated_demands_codec);
2800 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2801 , pb::IBufferMessage
2804 private static readonly pb::MessageParser<ReservoirConstraintProto> _parser =
new pb::MessageParser<ReservoirConstraintProto>(() =>
new ReservoirConstraintProto());
2805 private pb::UnknownFieldSet _unknownFields;
2806 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2807 public static pb::MessageParser<ReservoirConstraintProto> Parser {
get {
return _parser; } }
2809 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2810 public static pbr::MessageDescriptor Descriptor {
2811 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[12]; }
2814 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2815 pbr::MessageDescriptor pb::IMessage.Descriptor {
2816 get {
return Descriptor; }
2819 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2824 partial
void OnConstruction();
2826 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2828 minLevel_ = other.minLevel_;
2829 maxLevel_ = other.maxLevel_;
2830 times_ = other.times_.Clone();
2831 demands_ = other.demands_.Clone();
2832 actives_ = other.actives_.Clone();
2833 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2836 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2842 public const int MinLevelFieldNumber = 1;
2843 private long minLevel_;
2844 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2845 public long MinLevel {
2846 get {
return minLevel_; }
2853 public const int MaxLevelFieldNumber = 2;
2854 private long maxLevel_;
2855 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2856 public long MaxLevel {
2857 get {
return maxLevel_; }
2864 public const int TimesFieldNumber = 3;
2865 private static readonly pb::FieldCodec<int> _repeated_times_codec
2866 = pb::FieldCodec.ForInt32(26);
2867 private readonly pbc::RepeatedField<int> times_ =
new pbc::RepeatedField<int>();
2871 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2872 public pbc::RepeatedField<int> Times {
2873 get {
return times_; }
2877 public const int DemandsFieldNumber = 4;
2878 private static readonly pb::FieldCodec<long> _repeated_demands_codec
2879 = pb::FieldCodec.ForInt64(34);
2880 private readonly pbc::RepeatedField<long> demands_ =
new pbc::RepeatedField<long>();
2884 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2885 public pbc::RepeatedField<long> Demands {
2886 get {
return demands_; }
2890 public const int ActivesFieldNumber = 5;
2891 private static readonly pb::FieldCodec<int> _repeated_actives_codec
2892 = pb::FieldCodec.ForInt32(42);
2893 private readonly pbc::RepeatedField<int> actives_ =
new pbc::RepeatedField<int>();
2897 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2898 public pbc::RepeatedField<int> Actives {
2899 get {
return actives_; }
2902 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2907 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2909 if (ReferenceEquals(other,
null)) {
2912 if (ReferenceEquals(other,
this)) {
2915 if (MinLevel != other.
MinLevel)
return false;
2916 if (MaxLevel != other.
MaxLevel)
return false;
2917 if(!times_.Equals(other.times_))
return false;
2918 if(!demands_.Equals(other.demands_))
return false;
2919 if(!actives_.Equals(other.actives_))
return false;
2920 return Equals(_unknownFields, other._unknownFields);
2923 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2926 if (MinLevel != 0L) hash ^= MinLevel.GetHashCode();
2927 if (MaxLevel != 0L) hash ^= MaxLevel.GetHashCode();
2928 hash ^= times_.GetHashCode();
2929 hash ^= demands_.GetHashCode();
2930 hash ^= actives_.GetHashCode();
2931 if (_unknownFields !=
null) {
2932 hash ^= _unknownFields.GetHashCode();
2937 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2939 return pb::JsonFormatter.ToDiagnosticString(
this);
2942 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2943 public void WriteTo(pb::CodedOutputStream output) {
2944 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2945 output.WriteRawMessage(
this);
2947 if (MinLevel != 0L) {
2948 output.WriteRawTag(8);
2949 output.WriteInt64(MinLevel);
2951 if (MaxLevel != 0L) {
2952 output.WriteRawTag(16);
2953 output.WriteInt64(MaxLevel);
2955 times_.WriteTo(output, _repeated_times_codec);
2956 demands_.WriteTo(output, _repeated_demands_codec);
2957 actives_.WriteTo(output, _repeated_actives_codec);
2958 if (_unknownFields !=
null) {
2959 _unknownFields.WriteTo(output);
2964 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2965 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2966 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2967 if (MinLevel != 0L) {
2968 output.WriteRawTag(8);
2969 output.WriteInt64(MinLevel);
2971 if (MaxLevel != 0L) {
2972 output.WriteRawTag(16);
2973 output.WriteInt64(MaxLevel);
2975 times_.WriteTo(ref output, _repeated_times_codec);
2976 demands_.WriteTo(ref output, _repeated_demands_codec);
2977 actives_.WriteTo(ref output, _repeated_actives_codec);
2978 if (_unknownFields !=
null) {
2979 _unknownFields.WriteTo(ref output);
2984 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2987 if (MinLevel != 0L) {
2988 size += 1 + pb::CodedOutputStream.ComputeInt64Size(MinLevel);
2990 if (MaxLevel != 0L) {
2991 size += 1 + pb::CodedOutputStream.ComputeInt64Size(MaxLevel);
2993 size += times_.CalculateSize(_repeated_times_codec);
2994 size += demands_.CalculateSize(_repeated_demands_codec);
2995 size += actives_.CalculateSize(_repeated_actives_codec);
2996 if (_unknownFields !=
null) {
2997 size += _unknownFields.CalculateSize();
3002 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3004 if (other ==
null) {
3013 times_.Add(other.times_);
3014 demands_.Add(other.demands_);
3015 actives_.Add(other.actives_);
3016 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3019 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3021 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3022 input.ReadRawMessage(
this);
3025 while ((tag = input.ReadTag()) != 0) {
3028 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3031 MinLevel = input.ReadInt64();
3035 MaxLevel = input.ReadInt64();
3040 times_.AddEntriesFrom(input, _repeated_times_codec);
3045 demands_.AddEntriesFrom(input, _repeated_demands_codec);
3050 actives_.AddEntriesFrom(input, _repeated_actives_codec);
3058 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3059 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3060 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3062 while ((tag = input.ReadTag()) != 0) {
3065 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3068 MinLevel = input.ReadInt64();
3072 MaxLevel = input.ReadInt64();
3077 times_.AddEntriesFrom(ref input, _repeated_times_codec);
3082 demands_.AddEntriesFrom(ref input, _repeated_demands_codec);
3087 actives_.AddEntriesFrom(ref input, _repeated_actives_codec);
3109 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3110 , pb::IBufferMessage
3113 private static readonly pb::MessageParser<CircuitConstraintProto> _parser =
new pb::MessageParser<CircuitConstraintProto>(() =>
new CircuitConstraintProto());
3114 private pb::UnknownFieldSet _unknownFields;
3115 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3116 public static pb::MessageParser<CircuitConstraintProto> Parser {
get {
return _parser; } }
3118 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3119 public static pbr::MessageDescriptor Descriptor {
3120 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[13]; }
3123 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3124 pbr::MessageDescriptor pb::IMessage.Descriptor {
3125 get {
return Descriptor; }
3128 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3133 partial
void OnConstruction();
3135 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3137 tails_ = other.tails_.Clone();
3138 heads_ = other.heads_.Clone();
3139 literals_ = other.literals_.Clone();
3140 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3143 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3149 public const int TailsFieldNumber = 3;
3150 private static readonly pb::FieldCodec<int> _repeated_tails_codec
3151 = pb::FieldCodec.ForInt32(26);
3152 private readonly pbc::RepeatedField<int> tails_ =
new pbc::RepeatedField<int>();
3153 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3154 public pbc::RepeatedField<int> Tails {
3155 get {
return tails_; }
3159 public const int HeadsFieldNumber = 4;
3160 private static readonly pb::FieldCodec<int> _repeated_heads_codec
3161 = pb::FieldCodec.ForInt32(34);
3162 private readonly pbc::RepeatedField<int> heads_ =
new pbc::RepeatedField<int>();
3163 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3164 public pbc::RepeatedField<int> Heads {
3165 get {
return heads_; }
3169 public const int LiteralsFieldNumber = 5;
3170 private static readonly pb::FieldCodec<int> _repeated_literals_codec
3171 = pb::FieldCodec.ForInt32(42);
3172 private readonly pbc::RepeatedField<int> literals_ =
new pbc::RepeatedField<int>();
3173 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3174 public pbc::RepeatedField<int> Literals {
3175 get {
return literals_; }
3178 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3183 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3185 if (ReferenceEquals(other,
null)) {
3188 if (ReferenceEquals(other,
this)) {
3191 if(!tails_.Equals(other.tails_))
return false;
3192 if(!heads_.Equals(other.heads_))
return false;
3193 if(!literals_.Equals(other.literals_))
return false;
3194 return Equals(_unknownFields, other._unknownFields);
3197 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3200 hash ^= tails_.GetHashCode();
3201 hash ^= heads_.GetHashCode();
3202 hash ^= literals_.GetHashCode();
3203 if (_unknownFields !=
null) {
3204 hash ^= _unknownFields.GetHashCode();
3209 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3211 return pb::JsonFormatter.ToDiagnosticString(
this);
3214 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3215 public void WriteTo(pb::CodedOutputStream output) {
3216 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3217 output.WriteRawMessage(
this);
3219 tails_.WriteTo(output, _repeated_tails_codec);
3220 heads_.WriteTo(output, _repeated_heads_codec);
3221 literals_.WriteTo(output, _repeated_literals_codec);
3222 if (_unknownFields !=
null) {
3223 _unknownFields.WriteTo(output);
3228 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3229 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3230 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3231 tails_.WriteTo(ref output, _repeated_tails_codec);
3232 heads_.WriteTo(ref output, _repeated_heads_codec);
3233 literals_.WriteTo(ref output, _repeated_literals_codec);
3234 if (_unknownFields !=
null) {
3235 _unknownFields.WriteTo(ref output);
3240 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3243 size += tails_.CalculateSize(_repeated_tails_codec);
3244 size += heads_.CalculateSize(_repeated_heads_codec);
3245 size += literals_.CalculateSize(_repeated_literals_codec);
3246 if (_unknownFields !=
null) {
3247 size += _unknownFields.CalculateSize();
3252 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3254 if (other ==
null) {
3257 tails_.Add(other.tails_);
3258 heads_.Add(other.heads_);
3259 literals_.Add(other.literals_);
3260 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3263 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3265 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3266 input.ReadRawMessage(
this);
3269 while ((tag = input.ReadTag()) != 0) {
3272 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3276 tails_.AddEntriesFrom(input, _repeated_tails_codec);
3281 heads_.AddEntriesFrom(input, _repeated_heads_codec);
3286 literals_.AddEntriesFrom(input, _repeated_literals_codec);
3294 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3295 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3296 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3298 while ((tag = input.ReadTag()) != 0) {
3301 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3305 tails_.AddEntriesFrom(ref input, _repeated_tails_codec);
3310 heads_.AddEntriesFrom(ref input, _repeated_heads_codec);
3315 literals_.AddEntriesFrom(ref input, _repeated_literals_codec);
3343 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3344 , pb::IBufferMessage
3347 private static readonly pb::MessageParser<RoutesConstraintProto> _parser =
new pb::MessageParser<RoutesConstraintProto>(() =>
new RoutesConstraintProto());
3348 private pb::UnknownFieldSet _unknownFields;
3349 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3350 public static pb::MessageParser<RoutesConstraintProto> Parser {
get {
return _parser; } }
3352 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3353 public static pbr::MessageDescriptor Descriptor {
3354 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[14]; }
3357 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3358 pbr::MessageDescriptor pb::IMessage.Descriptor {
3359 get {
return Descriptor; }
3362 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3367 partial
void OnConstruction();
3369 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3371 tails_ = other.tails_.Clone();
3372 heads_ = other.heads_.Clone();
3373 literals_ = other.literals_.Clone();
3374 demands_ = other.demands_.Clone();
3375 capacity_ = other.capacity_;
3376 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3379 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3385 public const int TailsFieldNumber = 1;
3386 private static readonly pb::FieldCodec<int> _repeated_tails_codec
3387 = pb::FieldCodec.ForInt32(10);
3388 private readonly pbc::RepeatedField<int> tails_ =
new pbc::RepeatedField<int>();
3389 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3390 public pbc::RepeatedField<int> Tails {
3391 get {
return tails_; }
3395 public const int HeadsFieldNumber = 2;
3396 private static readonly pb::FieldCodec<int> _repeated_heads_codec
3397 = pb::FieldCodec.ForInt32(18);
3398 private readonly pbc::RepeatedField<int> heads_ =
new pbc::RepeatedField<int>();
3399 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3400 public pbc::RepeatedField<int> Heads {
3401 get {
return heads_; }
3405 public const int LiteralsFieldNumber = 3;
3406 private static readonly pb::FieldCodec<int> _repeated_literals_codec
3407 = pb::FieldCodec.ForInt32(26);
3408 private readonly pbc::RepeatedField<int> literals_ =
new pbc::RepeatedField<int>();
3409 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3410 public pbc::RepeatedField<int> Literals {
3411 get {
return literals_; }
3415 public const int DemandsFieldNumber = 4;
3416 private static readonly pb::FieldCodec<int> _repeated_demands_codec
3417 = pb::FieldCodec.ForInt32(34);
3418 private readonly pbc::RepeatedField<int> demands_ =
new pbc::RepeatedField<int>();
3424 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3425 public pbc::RepeatedField<int> Demands {
3426 get {
return demands_; }
3430 public const int CapacityFieldNumber = 5;
3431 private long capacity_;
3432 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3433 public long Capacity {
3434 get {
return capacity_; }
3440 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3445 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3447 if (ReferenceEquals(other,
null)) {
3450 if (ReferenceEquals(other,
this)) {
3453 if(!tails_.Equals(other.tails_))
return false;
3454 if(!heads_.Equals(other.heads_))
return false;
3455 if(!literals_.Equals(other.literals_))
return false;
3456 if(!demands_.Equals(other.demands_))
return false;
3457 if (Capacity != other.
Capacity)
return false;
3458 return Equals(_unknownFields, other._unknownFields);
3461 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3464 hash ^= tails_.GetHashCode();
3465 hash ^= heads_.GetHashCode();
3466 hash ^= literals_.GetHashCode();
3467 hash ^= demands_.GetHashCode();
3468 if (Capacity != 0L) hash ^= Capacity.GetHashCode();
3469 if (_unknownFields !=
null) {
3470 hash ^= _unknownFields.GetHashCode();
3475 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3477 return pb::JsonFormatter.ToDiagnosticString(
this);
3480 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3481 public void WriteTo(pb::CodedOutputStream output) {
3482 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3483 output.WriteRawMessage(
this);
3485 tails_.WriteTo(output, _repeated_tails_codec);
3486 heads_.WriteTo(output, _repeated_heads_codec);
3487 literals_.WriteTo(output, _repeated_literals_codec);
3488 demands_.WriteTo(output, _repeated_demands_codec);
3489 if (Capacity != 0L) {
3490 output.WriteRawTag(40);
3491 output.WriteInt64(Capacity);
3493 if (_unknownFields !=
null) {
3494 _unknownFields.WriteTo(output);
3499 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3500 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3501 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3502 tails_.WriteTo(ref output, _repeated_tails_codec);
3503 heads_.WriteTo(ref output, _repeated_heads_codec);
3504 literals_.WriteTo(ref output, _repeated_literals_codec);
3505 demands_.WriteTo(ref output, _repeated_demands_codec);
3506 if (Capacity != 0L) {
3507 output.WriteRawTag(40);
3508 output.WriteInt64(Capacity);
3510 if (_unknownFields !=
null) {
3511 _unknownFields.WriteTo(ref output);
3516 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3519 size += tails_.CalculateSize(_repeated_tails_codec);
3520 size += heads_.CalculateSize(_repeated_heads_codec);
3521 size += literals_.CalculateSize(_repeated_literals_codec);
3522 size += demands_.CalculateSize(_repeated_demands_codec);
3523 if (Capacity != 0L) {
3524 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Capacity);
3526 if (_unknownFields !=
null) {
3527 size += _unknownFields.CalculateSize();
3532 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3534 if (other ==
null) {
3537 tails_.Add(other.tails_);
3538 heads_.Add(other.heads_);
3539 literals_.Add(other.literals_);
3540 demands_.Add(other.demands_);
3544 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3547 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3549 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3550 input.ReadRawMessage(
this);
3553 while ((tag = input.ReadTag()) != 0) {
3556 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3560 tails_.AddEntriesFrom(input, _repeated_tails_codec);
3565 heads_.AddEntriesFrom(input, _repeated_heads_codec);
3570 literals_.AddEntriesFrom(input, _repeated_literals_codec);
3575 demands_.AddEntriesFrom(input, _repeated_demands_codec);
3579 Capacity = input.ReadInt64();
3587 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3588 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3589 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3591 while ((tag = input.ReadTag()) != 0) {
3594 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3598 tails_.AddEntriesFrom(ref input, _repeated_tails_codec);
3603 heads_.AddEntriesFrom(ref input, _repeated_heads_codec);
3608 literals_.AddEntriesFrom(ref input, _repeated_literals_codec);
3613 demands_.AddEntriesFrom(ref input, _repeated_demands_codec);
3617 Capacity = input.ReadInt64();
3633 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3634 , pb::IBufferMessage
3637 private static readonly pb::MessageParser<CircuitCoveringConstraintProto> _parser =
new pb::MessageParser<CircuitCoveringConstraintProto>(() =>
new CircuitCoveringConstraintProto());
3638 private pb::UnknownFieldSet _unknownFields;
3639 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3640 public static pb::MessageParser<CircuitCoveringConstraintProto> Parser {
get {
return _parser; } }
3642 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3643 public static pbr::MessageDescriptor Descriptor {
3644 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[15]; }
3647 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3648 pbr::MessageDescriptor pb::IMessage.Descriptor {
3649 get {
return Descriptor; }
3652 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3657 partial
void OnConstruction();
3659 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3661 nexts_ = other.nexts_.Clone();
3662 distinguishedNodes_ = other.distinguishedNodes_.Clone();
3663 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3666 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3672 public const int NextsFieldNumber = 1;
3673 private static readonly pb::FieldCodec<int> _repeated_nexts_codec
3674 = pb::FieldCodec.ForInt32(10);
3675 private readonly pbc::RepeatedField<int> nexts_ =
new pbc::RepeatedField<int>();
3676 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3677 public pbc::RepeatedField<int> Nexts {
3678 get {
return nexts_; }
3682 public const int DistinguishedNodesFieldNumber = 2;
3683 private static readonly pb::FieldCodec<long> _repeated_distinguishedNodes_codec
3684 = pb::FieldCodec.ForInt64(18);
3685 private readonly pbc::RepeatedField<long> distinguishedNodes_ =
new pbc::RepeatedField<long>();
3686 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3687 public pbc::RepeatedField<long> DistinguishedNodes {
3688 get {
return distinguishedNodes_; }
3691 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3696 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3698 if (ReferenceEquals(other,
null)) {
3701 if (ReferenceEquals(other,
this)) {
3704 if(!nexts_.Equals(other.nexts_))
return false;
3705 if(!distinguishedNodes_.Equals(other.distinguishedNodes_))
return false;
3706 return Equals(_unknownFields, other._unknownFields);
3709 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3712 hash ^= nexts_.GetHashCode();
3713 hash ^= distinguishedNodes_.GetHashCode();
3714 if (_unknownFields !=
null) {
3715 hash ^= _unknownFields.GetHashCode();
3720 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3722 return pb::JsonFormatter.ToDiagnosticString(
this);
3725 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3726 public void WriteTo(pb::CodedOutputStream output) {
3727 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3728 output.WriteRawMessage(
this);
3730 nexts_.WriteTo(output, _repeated_nexts_codec);
3731 distinguishedNodes_.WriteTo(output, _repeated_distinguishedNodes_codec);
3732 if (_unknownFields !=
null) {
3733 _unknownFields.WriteTo(output);
3738 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3739 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3740 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3741 nexts_.WriteTo(ref output, _repeated_nexts_codec);
3742 distinguishedNodes_.WriteTo(ref output, _repeated_distinguishedNodes_codec);
3743 if (_unknownFields !=
null) {
3744 _unknownFields.WriteTo(ref output);
3749 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3752 size += nexts_.CalculateSize(_repeated_nexts_codec);
3753 size += distinguishedNodes_.CalculateSize(_repeated_distinguishedNodes_codec);
3754 if (_unknownFields !=
null) {
3755 size += _unknownFields.CalculateSize();
3760 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3762 if (other ==
null) {
3765 nexts_.Add(other.nexts_);
3766 distinguishedNodes_.Add(other.distinguishedNodes_);
3767 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3770 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3772 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3773 input.ReadRawMessage(
this);
3776 while ((tag = input.ReadTag()) != 0) {
3779 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3783 nexts_.AddEntriesFrom(input, _repeated_nexts_codec);
3788 distinguishedNodes_.AddEntriesFrom(input, _repeated_distinguishedNodes_codec);
3796 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3797 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3798 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3800 while ((tag = input.ReadTag()) != 0) {
3803 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3807 nexts_.AddEntriesFrom(ref input, _repeated_nexts_codec);
3812 distinguishedNodes_.AddEntriesFrom(ref input, _repeated_distinguishedNodes_codec);
3828 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3829 , pb::IBufferMessage
3832 private static readonly pb::MessageParser<TableConstraintProto> _parser =
new pb::MessageParser<TableConstraintProto>(() =>
new TableConstraintProto());
3833 private pb::UnknownFieldSet _unknownFields;
3834 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3835 public static pb::MessageParser<TableConstraintProto> Parser {
get {
return _parser; } }
3837 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3838 public static pbr::MessageDescriptor Descriptor {
3839 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[16]; }
3842 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3843 pbr::MessageDescriptor pb::IMessage.Descriptor {
3844 get {
return Descriptor; }
3847 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3852 partial
void OnConstruction();
3854 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3856 vars_ = other.vars_.Clone();
3857 values_ = other.values_.Clone();
3858 negated_ = other.negated_;
3859 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3862 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3868 public const int VarsFieldNumber = 1;
3869 private static readonly pb::FieldCodec<int> _repeated_vars_codec
3870 = pb::FieldCodec.ForInt32(10);
3871 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
3872 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3873 public pbc::RepeatedField<int> Vars {
3874 get {
return vars_; }
3878 public const int ValuesFieldNumber = 2;
3879 private static readonly pb::FieldCodec<long> _repeated_values_codec
3880 = pb::FieldCodec.ForInt64(18);
3881 private readonly pbc::RepeatedField<long> values_ =
new pbc::RepeatedField<long>();
3882 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3883 public pbc::RepeatedField<long> Values {
3884 get {
return values_; }
3888 public const int NegatedFieldNumber = 3;
3889 private bool negated_;
3894 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3895 public bool Negated {
3896 get {
return negated_; }
3902 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3907 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3909 if (ReferenceEquals(other,
null)) {
3912 if (ReferenceEquals(other,
this)) {
3915 if(!vars_.Equals(other.vars_))
return false;
3916 if(!values_.Equals(other.values_))
return false;
3917 if (Negated != other.
Negated)
return false;
3918 return Equals(_unknownFields, other._unknownFields);
3921 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3924 hash ^= vars_.GetHashCode();
3925 hash ^= values_.GetHashCode();
3926 if (Negated !=
false) hash ^= Negated.GetHashCode();
3927 if (_unknownFields !=
null) {
3928 hash ^= _unknownFields.GetHashCode();
3933 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3935 return pb::JsonFormatter.ToDiagnosticString(
this);
3938 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3939 public void WriteTo(pb::CodedOutputStream output) {
3940 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3941 output.WriteRawMessage(
this);
3943 vars_.WriteTo(output, _repeated_vars_codec);
3944 values_.WriteTo(output, _repeated_values_codec);
3945 if (Negated !=
false) {
3946 output.WriteRawTag(24);
3947 output.WriteBool(Negated);
3949 if (_unknownFields !=
null) {
3950 _unknownFields.WriteTo(output);
3955 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3956 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3957 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3958 vars_.WriteTo(ref output, _repeated_vars_codec);
3959 values_.WriteTo(ref output, _repeated_values_codec);
3960 if (Negated !=
false) {
3961 output.WriteRawTag(24);
3962 output.WriteBool(Negated);
3964 if (_unknownFields !=
null) {
3965 _unknownFields.WriteTo(ref output);
3970 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3973 size += vars_.CalculateSize(_repeated_vars_codec);
3974 size += values_.CalculateSize(_repeated_values_codec);
3975 if (Negated !=
false) {
3978 if (_unknownFields !=
null) {
3979 size += _unknownFields.CalculateSize();
3984 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3986 if (other ==
null) {
3989 vars_.Add(other.vars_);
3990 values_.Add(other.values_);
3994 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3997 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3999 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4000 input.ReadRawMessage(
this);
4003 while ((tag = input.ReadTag()) != 0) {
4006 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4010 vars_.AddEntriesFrom(input, _repeated_vars_codec);
4015 values_.AddEntriesFrom(input, _repeated_values_codec);
4019 Negated = input.ReadBool();
4027 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4028 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4029 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4031 while ((tag = input.ReadTag()) != 0) {
4034 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4038 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
4043 values_.AddEntriesFrom(ref input, _repeated_values_codec);
4047 Negated = input.ReadBool();
4062 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4063 , pb::IBufferMessage
4066 private static readonly pb::MessageParser<InverseConstraintProto> _parser =
new pb::MessageParser<InverseConstraintProto>(() =>
new InverseConstraintProto());
4067 private pb::UnknownFieldSet _unknownFields;
4068 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4069 public static pb::MessageParser<InverseConstraintProto> Parser {
get {
return _parser; } }
4071 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4072 public static pbr::MessageDescriptor Descriptor {
4073 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[17]; }
4076 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4077 pbr::MessageDescriptor pb::IMessage.Descriptor {
4078 get {
return Descriptor; }
4081 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4086 partial
void OnConstruction();
4088 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4090 fDirect_ = other.fDirect_.Clone();
4091 fInverse_ = other.fInverse_.Clone();
4092 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4095 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4101 public const int FDirectFieldNumber = 1;
4102 private static readonly pb::FieldCodec<int> _repeated_fDirect_codec
4103 = pb::FieldCodec.ForInt32(10);
4104 private readonly pbc::RepeatedField<int> fDirect_ =
new pbc::RepeatedField<int>();
4105 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4106 public pbc::RepeatedField<int> FDirect {
4107 get {
return fDirect_; }
4111 public const int FInverseFieldNumber = 2;
4112 private static readonly pb::FieldCodec<int> _repeated_fInverse_codec
4113 = pb::FieldCodec.ForInt32(18);
4114 private readonly pbc::RepeatedField<int> fInverse_ =
new pbc::RepeatedField<int>();
4115 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4116 public pbc::RepeatedField<int> FInverse {
4117 get {
return fInverse_; }
4120 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4127 if (ReferenceEquals(other,
null)) {
4130 if (ReferenceEquals(other,
this)) {
4133 if(!fDirect_.Equals(other.fDirect_))
return false;
4134 if(!fInverse_.Equals(other.fInverse_))
return false;
4135 return Equals(_unknownFields, other._unknownFields);
4138 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4141 hash ^= fDirect_.GetHashCode();
4142 hash ^= fInverse_.GetHashCode();
4143 if (_unknownFields !=
null) {
4144 hash ^= _unknownFields.GetHashCode();
4149 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4151 return pb::JsonFormatter.ToDiagnosticString(
this);
4154 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4155 public void WriteTo(pb::CodedOutputStream output) {
4156 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4157 output.WriteRawMessage(
this);
4159 fDirect_.WriteTo(output, _repeated_fDirect_codec);
4160 fInverse_.WriteTo(output, _repeated_fInverse_codec);
4161 if (_unknownFields !=
null) {
4162 _unknownFields.WriteTo(output);
4167 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4168 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4169 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4170 fDirect_.WriteTo(ref output, _repeated_fDirect_codec);
4171 fInverse_.WriteTo(ref output, _repeated_fInverse_codec);
4172 if (_unknownFields !=
null) {
4173 _unknownFields.WriteTo(ref output);
4178 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4181 size += fDirect_.CalculateSize(_repeated_fDirect_codec);
4182 size += fInverse_.CalculateSize(_repeated_fInverse_codec);
4183 if (_unknownFields !=
null) {
4184 size += _unknownFields.CalculateSize();
4189 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4191 if (other ==
null) {
4194 fDirect_.Add(other.fDirect_);
4195 fInverse_.Add(other.fInverse_);
4196 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4199 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4201 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4202 input.ReadRawMessage(
this);
4205 while ((tag = input.ReadTag()) != 0) {
4208 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4212 fDirect_.AddEntriesFrom(input, _repeated_fDirect_codec);
4217 fInverse_.AddEntriesFrom(input, _repeated_fInverse_codec);
4225 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4226 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4227 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4229 while ((tag = input.ReadTag()) != 0) {
4232 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4236 fDirect_.AddEntriesFrom(ref input, _repeated_fDirect_codec);
4241 fInverse_.AddEntriesFrom(ref input, _repeated_fInverse_codec);
4256 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4257 , pb::IBufferMessage
4260 private static readonly pb::MessageParser<AutomatonConstraintProto> _parser =
new pb::MessageParser<AutomatonConstraintProto>(() =>
new AutomatonConstraintProto());
4261 private pb::UnknownFieldSet _unknownFields;
4262 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4263 public static pb::MessageParser<AutomatonConstraintProto> Parser {
get {
return _parser; } }
4265 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4266 public static pbr::MessageDescriptor Descriptor {
4267 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[18]; }
4270 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4271 pbr::MessageDescriptor pb::IMessage.Descriptor {
4272 get {
return Descriptor; }
4275 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4280 partial
void OnConstruction();
4282 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4284 startingState_ = other.startingState_;
4285 finalStates_ = other.finalStates_.Clone();
4286 transitionTail_ = other.transitionTail_.Clone();
4287 transitionHead_ = other.transitionHead_.Clone();
4288 transitionLabel_ = other.transitionLabel_.Clone();
4289 vars_ = other.vars_.Clone();
4290 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4293 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4299 public const int StartingStateFieldNumber = 2;
4300 private long startingState_;
4306 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4307 public long StartingState {
4308 get {
return startingState_; }
4310 startingState_ = value;
4315 public const int FinalStatesFieldNumber = 3;
4316 private static readonly pb::FieldCodec<long> _repeated_finalStates_codec
4317 = pb::FieldCodec.ForInt64(26);
4318 private readonly pbc::RepeatedField<long> finalStates_ =
new pbc::RepeatedField<long>();
4319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4320 public pbc::RepeatedField<long> FinalStates {
4321 get {
return finalStates_; }
4325 public const int TransitionTailFieldNumber = 4;
4326 private static readonly pb::FieldCodec<long> _repeated_transitionTail_codec
4327 = pb::FieldCodec.ForInt64(34);
4328 private readonly pbc::RepeatedField<long> transitionTail_ =
new pbc::RepeatedField<long>();
4334 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4335 public pbc::RepeatedField<long> TransitionTail {
4336 get {
return transitionTail_; }
4340 public const int TransitionHeadFieldNumber = 5;
4341 private static readonly pb::FieldCodec<long> _repeated_transitionHead_codec
4342 = pb::FieldCodec.ForInt64(42);
4343 private readonly pbc::RepeatedField<long> transitionHead_ =
new pbc::RepeatedField<long>();
4344 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4345 public pbc::RepeatedField<long> TransitionHead {
4346 get {
return transitionHead_; }
4350 public const int TransitionLabelFieldNumber = 6;
4351 private static readonly pb::FieldCodec<long> _repeated_transitionLabel_codec
4352 = pb::FieldCodec.ForInt64(50);
4353 private readonly pbc::RepeatedField<long> transitionLabel_ =
new pbc::RepeatedField<long>();
4354 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4355 public pbc::RepeatedField<long> TransitionLabel {
4356 get {
return transitionLabel_; }
4360 public const int VarsFieldNumber = 7;
4361 private static readonly pb::FieldCodec<int> _repeated_vars_codec
4362 = pb::FieldCodec.ForInt32(58);
4363 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
4368 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4369 public pbc::RepeatedField<int> Vars {
4370 get {
return vars_; }
4373 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4378 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4380 if (ReferenceEquals(other,
null)) {
4383 if (ReferenceEquals(other,
this)) {
4387 if(!finalStates_.Equals(other.finalStates_))
return false;
4388 if(!transitionTail_.Equals(other.transitionTail_))
return false;
4389 if(!transitionHead_.Equals(other.transitionHead_))
return false;
4390 if(!transitionLabel_.Equals(other.transitionLabel_))
return false;
4391 if(!vars_.Equals(other.vars_))
return false;
4392 return Equals(_unknownFields, other._unknownFields);
4395 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4398 if (StartingState != 0L) hash ^= StartingState.GetHashCode();
4399 hash ^= finalStates_.GetHashCode();
4400 hash ^= transitionTail_.GetHashCode();
4401 hash ^= transitionHead_.GetHashCode();
4402 hash ^= transitionLabel_.GetHashCode();
4403 hash ^= vars_.GetHashCode();
4404 if (_unknownFields !=
null) {
4405 hash ^= _unknownFields.GetHashCode();
4410 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4412 return pb::JsonFormatter.ToDiagnosticString(
this);
4415 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4416 public void WriteTo(pb::CodedOutputStream output) {
4417 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4418 output.WriteRawMessage(
this);
4420 if (StartingState != 0L) {
4421 output.WriteRawTag(16);
4422 output.WriteInt64(StartingState);
4424 finalStates_.WriteTo(output, _repeated_finalStates_codec);
4425 transitionTail_.WriteTo(output, _repeated_transitionTail_codec);
4426 transitionHead_.WriteTo(output, _repeated_transitionHead_codec);
4427 transitionLabel_.WriteTo(output, _repeated_transitionLabel_codec);
4428 vars_.WriteTo(output, _repeated_vars_codec);
4429 if (_unknownFields !=
null) {
4430 _unknownFields.WriteTo(output);
4435 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4436 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4437 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4438 if (StartingState != 0L) {
4439 output.WriteRawTag(16);
4440 output.WriteInt64(StartingState);
4442 finalStates_.WriteTo(ref output, _repeated_finalStates_codec);
4443 transitionTail_.WriteTo(ref output, _repeated_transitionTail_codec);
4444 transitionHead_.WriteTo(ref output, _repeated_transitionHead_codec);
4445 transitionLabel_.WriteTo(ref output, _repeated_transitionLabel_codec);
4446 vars_.WriteTo(ref output, _repeated_vars_codec);
4447 if (_unknownFields !=
null) {
4448 _unknownFields.WriteTo(ref output);
4453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4456 if (StartingState != 0L) {
4457 size += 1 + pb::CodedOutputStream.ComputeInt64Size(StartingState);
4459 size += finalStates_.CalculateSize(_repeated_finalStates_codec);
4460 size += transitionTail_.CalculateSize(_repeated_transitionTail_codec);
4461 size += transitionHead_.CalculateSize(_repeated_transitionHead_codec);
4462 size += transitionLabel_.CalculateSize(_repeated_transitionLabel_codec);
4463 size += vars_.CalculateSize(_repeated_vars_codec);
4464 if (_unknownFields !=
null) {
4465 size += _unknownFields.CalculateSize();
4470 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4472 if (other ==
null) {
4478 finalStates_.Add(other.finalStates_);
4479 transitionTail_.Add(other.transitionTail_);
4480 transitionHead_.Add(other.transitionHead_);
4481 transitionLabel_.Add(other.transitionLabel_);
4482 vars_.Add(other.vars_);
4483 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4486 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4488 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4489 input.ReadRawMessage(
this);
4492 while ((tag = input.ReadTag()) != 0) {
4495 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4498 StartingState = input.ReadInt64();
4503 finalStates_.AddEntriesFrom(input, _repeated_finalStates_codec);
4508 transitionTail_.AddEntriesFrom(input, _repeated_transitionTail_codec);
4513 transitionHead_.AddEntriesFrom(input, _repeated_transitionHead_codec);
4518 transitionLabel_.AddEntriesFrom(input, _repeated_transitionLabel_codec);
4523 vars_.AddEntriesFrom(input, _repeated_vars_codec);
4531 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4532 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4533 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4535 while ((tag = input.ReadTag()) != 0) {
4538 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4541 StartingState = input.ReadInt64();
4546 finalStates_.AddEntriesFrom(ref input, _repeated_finalStates_codec);
4551 transitionTail_.AddEntriesFrom(ref input, _repeated_transitionTail_codec);
4556 transitionHead_.AddEntriesFrom(ref input, _repeated_transitionHead_codec);
4561 transitionLabel_.AddEntriesFrom(ref input, _repeated_transitionLabel_codec);
4566 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
4580 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4581 , pb::IBufferMessage
4584 private static readonly pb::MessageParser<ConstraintProto> _parser =
new pb::MessageParser<ConstraintProto>(() =>
new ConstraintProto());
4585 private pb::UnknownFieldSet _unknownFields;
4586 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4587 public static pb::MessageParser<ConstraintProto> Parser {
get {
return _parser; } }
4589 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4590 public static pbr::MessageDescriptor Descriptor {
4591 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[19]; }
4594 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4595 pbr::MessageDescriptor pb::IMessage.Descriptor {
4596 get {
return Descriptor; }
4599 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4604 partial
void OnConstruction();
4606 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4608 name_ = other.name_;
4609 enforcementLiteral_ = other.enforcementLiteral_.Clone();
4688 _unknownFields = pb::UnknownFieldSet.
Clone(other._unknownFields);
4691 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4697 public const int NameFieldNumber = 1;
4698 private string name_ =
"";
4702 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4703 public string Name {
4704 get {
return name_; }
4706 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
4711 public const int EnforcementLiteralFieldNumber = 2;
4712 private static readonly pb::FieldCodec<int> _repeated_enforcementLiteral_codec
4713 = pb::FieldCodec.ForInt32(18);
4714 private readonly pbc::RepeatedField<int> enforcementLiteral_ =
new pbc::RepeatedField<int>();
4731 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4732 public pbc::RepeatedField<int> EnforcementLiteral {
4733 get {
return enforcementLiteral_; }
4737 public const int BoolOrFieldNumber = 3;
4741 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4742 public global::Google.OrTools.Sat.BoolArgumentProto BoolOr {
4743 get {
return constraintCase_ ==
ConstraintOneofCase.BoolOr ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ :
null; }
4745 constraint_ = value;
4751 public const int BoolAndFieldNumber = 4;
4759 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4760 public global::Google.OrTools.Sat.BoolArgumentProto BoolAnd {
4761 get {
return constraintCase_ ==
ConstraintOneofCase.BoolAnd ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ :
null; }
4763 constraint_ = value;
4769 public const int AtMostOneFieldNumber = 26;
4777 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4778 public global::Google.OrTools.Sat.BoolArgumentProto AtMostOne {
4779 get {
return constraintCase_ ==
ConstraintOneofCase.AtMostOne ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ :
null; }
4781 constraint_ = value;
4787 public const int BoolXorFieldNumber = 5;
4791 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4792 public global::Google.OrTools.Sat.BoolArgumentProto BoolXor {
4793 get {
return constraintCase_ ==
ConstraintOneofCase.BoolXor ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ :
null; }
4795 constraint_ = value;
4801 public const int IntDivFieldNumber = 7;
4805 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4806 public global::Google.OrTools.Sat.IntegerArgumentProto IntDiv {
4807 get {
return constraintCase_ ==
ConstraintOneofCase.IntDiv ? (global::Google.OrTools.Sat.IntegerArgumentProto) constraint_ :
null; }
4809 constraint_ = value;
4815 public const int IntModFieldNumber = 8;
4819 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4820 public global::Google.OrTools.Sat.IntegerArgumentProto IntMod {
4821 get {
return constraintCase_ ==
ConstraintOneofCase.IntMod ? (global::Google.OrTools.Sat.IntegerArgumentProto) constraint_ :
null; }
4823 constraint_ = value;
4829 public const int IntMaxFieldNumber = 9;
4835 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4836 public global::Google.OrTools.Sat.IntegerArgumentProto IntMax {
4837 get {
return constraintCase_ ==
ConstraintOneofCase.IntMax ? (global::Google.OrTools.Sat.IntegerArgumentProto) constraint_ :
null; }
4839 constraint_ = value;
4845 public const int LinMaxFieldNumber = 27;
4850 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4851 public global::Google.OrTools.Sat.LinearArgumentProto LinMax {
4852 get {
return constraintCase_ ==
ConstraintOneofCase.LinMax ? (global::Google.OrTools.Sat.LinearArgumentProto) constraint_ :
null; }
4854 constraint_ = value;
4860 public const int IntMinFieldNumber = 10;
4866 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4867 public global::Google.OrTools.Sat.IntegerArgumentProto IntMin {
4868 get {
return constraintCase_ ==
ConstraintOneofCase.IntMin ? (global::Google.OrTools.Sat.IntegerArgumentProto) constraint_ :
null; }
4870 constraint_ = value;
4876 public const int LinMinFieldNumber = 28;
4881 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4882 public global::Google.OrTools.Sat.LinearArgumentProto LinMin {
4883 get {
return constraintCase_ ==
ConstraintOneofCase.LinMin ? (global::Google.OrTools.Sat.LinearArgumentProto) constraint_ :
null; }
4885 constraint_ = value;
4891 public const int IntProdFieldNumber = 11;
4896 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4897 public global::Google.OrTools.Sat.IntegerArgumentProto IntProd {
4898 get {
return constraintCase_ ==
ConstraintOneofCase.IntProd ? (global::Google.OrTools.Sat.IntegerArgumentProto) constraint_ :
null; }
4900 constraint_ = value;
4906 public const int LinearFieldNumber = 12;
4911 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4912 public global::Google.OrTools.Sat.LinearConstraintProto Linear {
4913 get {
return constraintCase_ ==
ConstraintOneofCase.Linear ? (global::Google.OrTools.Sat.LinearConstraintProto) constraint_ :
null; }
4915 constraint_ = value;
4921 public const int AllDiffFieldNumber = 13;
4925 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4926 public global::Google.OrTools.Sat.AllDifferentConstraintProto AllDiff {
4927 get {
return constraintCase_ ==
ConstraintOneofCase.AllDiff ? (global::Google.OrTools.Sat.AllDifferentConstraintProto) constraint_ :
null; }
4929 constraint_ = value;
4935 public const int ElementFieldNumber = 14;
4940 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4941 public global::Google.OrTools.Sat.ElementConstraintProto Element {
4942 get {
return constraintCase_ ==
ConstraintOneofCase.Element ? (global::Google.OrTools.Sat.ElementConstraintProto) constraint_ :
null; }
4944 constraint_ = value;
4950 public const int CircuitFieldNumber = 15;
4955 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4956 public global::Google.OrTools.Sat.CircuitConstraintProto Circuit {
4957 get {
return constraintCase_ ==
ConstraintOneofCase.Circuit ? (global::Google.OrTools.Sat.CircuitConstraintProto) constraint_ :
null; }
4959 constraint_ = value;
4965 public const int RoutesFieldNumber = 23;
4969 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4970 public global::Google.OrTools.Sat.RoutesConstraintProto Routes {
4971 get {
return constraintCase_ ==
ConstraintOneofCase.Routes ? (global::Google.OrTools.Sat.RoutesConstraintProto) constraint_ :
null; }
4973 constraint_ = value;
4979 public const int CircuitCoveringFieldNumber = 25;
4984 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4985 public global::Google.OrTools.Sat.CircuitCoveringConstraintProto CircuitCovering {
4986 get {
return constraintCase_ ==
ConstraintOneofCase.CircuitCovering ? (global::Google.OrTools.Sat.CircuitCoveringConstraintProto) constraint_ :
null; }
4988 constraint_ = value;
4994 public const int TableFieldNumber = 16;
4999 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5000 public global::Google.OrTools.Sat.TableConstraintProto Table {
5001 get {
return constraintCase_ ==
ConstraintOneofCase.Table ? (global::Google.OrTools.Sat.TableConstraintProto) constraint_ :
null; }
5003 constraint_ = value;
5009 public const int AutomatonFieldNumber = 17;
5014 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5015 public global::Google.OrTools.Sat.AutomatonConstraintProto Automaton {
5016 get {
return constraintCase_ ==
ConstraintOneofCase.Automaton ? (global::Google.OrTools.Sat.AutomatonConstraintProto) constraint_ :
null; }
5018 constraint_ = value;
5024 public const int InverseFieldNumber = 18;
5029 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5030 public global::Google.OrTools.Sat.InverseConstraintProto Inverse {
5031 get {
return constraintCase_ ==
ConstraintOneofCase.Inverse ? (global::Google.OrTools.Sat.InverseConstraintProto) constraint_ :
null; }
5033 constraint_ = value;
5039 public const int ReservoirFieldNumber = 24;
5045 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5046 public global::Google.OrTools.Sat.ReservoirConstraintProto Reservoir {
5047 get {
return constraintCase_ ==
ConstraintOneofCase.Reservoir ? (global::Google.OrTools.Sat.ReservoirConstraintProto) constraint_ :
null; }
5049 constraint_ = value;
5055 public const int IntervalFieldNumber = 19;
5060 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5061 public global::Google.OrTools.Sat.IntervalConstraintProto Interval {
5062 get {
return constraintCase_ ==
ConstraintOneofCase.Interval ? (global::Google.OrTools.Sat.IntervalConstraintProto) constraint_ :
null; }
5064 constraint_ = value;
5070 public const int NoOverlapFieldNumber = 20;
5076 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5077 public global::Google.OrTools.Sat.NoOverlapConstraintProto NoOverlap {
5078 get {
return constraintCase_ ==
ConstraintOneofCase.NoOverlap ? (global::Google.OrTools.Sat.NoOverlapConstraintProto) constraint_ :
null; }
5080 constraint_ = value;
5086 public const int NoOverlap2DFieldNumber = 21;
5090 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5091 public global::Google.OrTools.Sat.NoOverlap2DConstraintProto NoOverlap2D {
5092 get {
return constraintCase_ ==
ConstraintOneofCase.NoOverlap2D ? (global::Google.OrTools.Sat.NoOverlap2DConstraintProto) constraint_ :
null; }
5094 constraint_ = value;
5100 public const int CumulativeFieldNumber = 22;
5106 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5107 public global::Google.OrTools.Sat.CumulativeConstraintProto Cumulative {
5108 get {
return constraintCase_ ==
ConstraintOneofCase.Cumulative ? (global::Google.OrTools.Sat.CumulativeConstraintProto) constraint_ :
null; }
5110 constraint_ = value;
5115 private object constraint_;
5135 CircuitCovering = 25,
5145 private ConstraintOneofCase constraintCase_ = ConstraintOneofCase.None;
5146 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5148 get {
return constraintCase_; }
5151 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5157 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5162 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5164 if (ReferenceEquals(other,
null)) {
5167 if (ReferenceEquals(other,
this)) {
5170 if (Name != other.
Name)
return false;
5171 if(!enforcementLiteral_.Equals(other.enforcementLiteral_))
return false;
5172 if (!
object.Equals(BoolOr, other.
BoolOr))
return false;
5173 if (!
object.Equals(BoolAnd, other.
BoolAnd))
return false;
5174 if (!
object.Equals(AtMostOne, other.
AtMostOne))
return false;
5175 if (!
object.Equals(BoolXor, other.
BoolXor))
return false;
5176 if (!
object.Equals(IntDiv, other.
IntDiv))
return false;
5177 if (!
object.Equals(IntMod, other.
IntMod))
return false;
5178 if (!
object.Equals(IntMax, other.
IntMax))
return false;
5179 if (!
object.Equals(LinMax, other.
LinMax))
return false;
5180 if (!
object.Equals(IntMin, other.
IntMin))
return false;
5181 if (!
object.Equals(LinMin, other.
LinMin))
return false;
5182 if (!
object.Equals(IntProd, other.
IntProd))
return false;
5183 if (!
object.Equals(Linear, other.
Linear))
return false;
5184 if (!
object.Equals(AllDiff, other.
AllDiff))
return false;
5185 if (!
object.Equals(Element, other.
Element))
return false;
5186 if (!
object.Equals(Circuit, other.
Circuit))
return false;
5187 if (!
object.Equals(Routes, other.
Routes))
return false;
5188 if (!
object.Equals(CircuitCovering, other.
CircuitCovering))
return false;
5189 if (!
object.Equals(Table, other.
Table))
return false;
5190 if (!
object.Equals(Automaton, other.
Automaton))
return false;
5191 if (!
object.Equals(Inverse, other.
Inverse))
return false;
5192 if (!
object.Equals(Reservoir, other.
Reservoir))
return false;
5193 if (!
object.Equals(Interval, other.
Interval))
return false;
5194 if (!
object.Equals(NoOverlap, other.
NoOverlap))
return false;
5195 if (!
object.Equals(NoOverlap2D, other.
NoOverlap2D))
return false;
5196 if (!
object.Equals(Cumulative, other.
Cumulative))
return false;
5198 return Equals(_unknownFields, other._unknownFields);
5201 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5204 if (Name.Length != 0) hash ^= Name.GetHashCode();
5205 hash ^= enforcementLiteral_.GetHashCode();
5222 if (constraintCase_ ==
ConstraintOneofCase.CircuitCovering) hash ^= CircuitCovering.GetHashCode();
5229 if (constraintCase_ ==
ConstraintOneofCase.NoOverlap2D) hash ^= NoOverlap2D.GetHashCode();
5231 hash ^= (int) constraintCase_;
5232 if (_unknownFields !=
null) {
5233 hash ^= _unknownFields.GetHashCode();
5238 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5240 return pb::JsonFormatter.ToDiagnosticString(
this);
5243 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5244 public void WriteTo(pb::CodedOutputStream output) {
5245 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5246 output.WriteRawMessage(
this);
5248 if (Name.Length != 0) {
5249 output.WriteRawTag(10);
5250 output.WriteString(Name);
5252 enforcementLiteral_.WriteTo(output, _repeated_enforcementLiteral_codec);
5254 output.WriteRawTag(26);
5255 output.WriteMessage(BoolOr);
5258 output.WriteRawTag(34);
5259 output.WriteMessage(BoolAnd);
5262 output.WriteRawTag(42);
5263 output.WriteMessage(BoolXor);
5266 output.WriteRawTag(58);
5267 output.WriteMessage(IntDiv);
5270 output.WriteRawTag(66);
5271 output.WriteMessage(IntMod);
5274 output.WriteRawTag(74);
5275 output.WriteMessage(IntMax);
5278 output.WriteRawTag(82);
5279 output.WriteMessage(IntMin);
5282 output.WriteRawTag(90);
5283 output.WriteMessage(IntProd);
5286 output.WriteRawTag(98);
5287 output.WriteMessage(Linear);
5290 output.WriteRawTag(106);
5291 output.WriteMessage(AllDiff);
5294 output.WriteRawTag(114);
5295 output.WriteMessage(Element);
5298 output.WriteRawTag(122);
5299 output.WriteMessage(Circuit);
5302 output.WriteRawTag(130, 1);
5303 output.WriteMessage(Table);
5306 output.WriteRawTag(138, 1);
5307 output.WriteMessage(Automaton);
5310 output.WriteRawTag(146, 1);
5311 output.WriteMessage(Inverse);
5314 output.WriteRawTag(154, 1);
5315 output.WriteMessage(Interval);
5318 output.WriteRawTag(162, 1);
5319 output.WriteMessage(NoOverlap);
5322 output.WriteRawTag(170, 1);
5323 output.WriteMessage(NoOverlap2D);
5326 output.WriteRawTag(178, 1);
5327 output.WriteMessage(Cumulative);
5330 output.WriteRawTag(186, 1);
5331 output.WriteMessage(Routes);
5334 output.WriteRawTag(194, 1);
5335 output.WriteMessage(Reservoir);
5338 output.WriteRawTag(202, 1);
5339 output.WriteMessage(CircuitCovering);
5342 output.WriteRawTag(210, 1);
5343 output.WriteMessage(AtMostOne);
5346 output.WriteRawTag(218, 1);
5347 output.WriteMessage(LinMax);
5350 output.WriteRawTag(226, 1);
5351 output.WriteMessage(LinMin);
5353 if (_unknownFields !=
null) {
5354 _unknownFields.WriteTo(output);
5359 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5360 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5361 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
5362 if (Name.Length != 0) {
5363 output.WriteRawTag(10);
5364 output.WriteString(Name);
5366 enforcementLiteral_.WriteTo(ref output, _repeated_enforcementLiteral_codec);
5367 if (constraintCase_ == ConstraintOneofCase.BoolOr) {
5368 output.WriteRawTag(26);
5369 output.WriteMessage(BoolOr);
5371 if (constraintCase_ == ConstraintOneofCase.BoolAnd) {
5372 output.WriteRawTag(34);
5373 output.WriteMessage(BoolAnd);
5375 if (constraintCase_ == ConstraintOneofCase.BoolXor) {
5376 output.WriteRawTag(42);
5377 output.WriteMessage(BoolXor);
5379 if (constraintCase_ == ConstraintOneofCase.IntDiv) {
5380 output.WriteRawTag(58);
5381 output.WriteMessage(IntDiv);
5383 if (constraintCase_ == ConstraintOneofCase.IntMod) {
5384 output.WriteRawTag(66);
5385 output.WriteMessage(IntMod);
5387 if (constraintCase_ == ConstraintOneofCase.IntMax) {
5388 output.WriteRawTag(74);
5389 output.WriteMessage(IntMax);
5391 if (constraintCase_ == ConstraintOneofCase.IntMin) {
5392 output.WriteRawTag(82);
5393 output.WriteMessage(IntMin);
5395 if (constraintCase_ == ConstraintOneofCase.IntProd) {
5396 output.WriteRawTag(90);
5397 output.WriteMessage(IntProd);
5399 if (constraintCase_ == ConstraintOneofCase.Linear) {
5400 output.WriteRawTag(98);
5401 output.WriteMessage(Linear);
5403 if (constraintCase_ == ConstraintOneofCase.AllDiff) {
5404 output.WriteRawTag(106);
5405 output.WriteMessage(AllDiff);
5407 if (constraintCase_ == ConstraintOneofCase.Element) {
5408 output.WriteRawTag(114);
5409 output.WriteMessage(Element);
5411 if (constraintCase_ == ConstraintOneofCase.Circuit) {
5412 output.WriteRawTag(122);
5413 output.WriteMessage(Circuit);
5415 if (constraintCase_ == ConstraintOneofCase.Table) {
5416 output.WriteRawTag(130, 1);
5417 output.WriteMessage(Table);
5419 if (constraintCase_ == ConstraintOneofCase.Automaton) {
5420 output.WriteRawTag(138, 1);
5421 output.WriteMessage(Automaton);
5423 if (constraintCase_ == ConstraintOneofCase.Inverse) {
5424 output.WriteRawTag(146, 1);
5425 output.WriteMessage(Inverse);
5427 if (constraintCase_ == ConstraintOneofCase.Interval) {
5428 output.WriteRawTag(154, 1);
5429 output.WriteMessage(Interval);
5431 if (constraintCase_ == ConstraintOneofCase.NoOverlap) {
5432 output.WriteRawTag(162, 1);
5433 output.WriteMessage(NoOverlap);
5435 if (constraintCase_ == ConstraintOneofCase.NoOverlap2D) {
5436 output.WriteRawTag(170, 1);
5437 output.WriteMessage(NoOverlap2D);
5439 if (constraintCase_ == ConstraintOneofCase.Cumulative) {
5440 output.WriteRawTag(178, 1);
5441 output.WriteMessage(Cumulative);
5443 if (constraintCase_ == ConstraintOneofCase.Routes) {
5444 output.WriteRawTag(186, 1);
5445 output.WriteMessage(Routes);
5447 if (constraintCase_ == ConstraintOneofCase.Reservoir) {
5448 output.WriteRawTag(194, 1);
5449 output.WriteMessage(Reservoir);
5451 if (constraintCase_ == ConstraintOneofCase.CircuitCovering) {
5452 output.WriteRawTag(202, 1);
5453 output.WriteMessage(CircuitCovering);
5455 if (constraintCase_ == ConstraintOneofCase.AtMostOne) {
5456 output.WriteRawTag(210, 1);
5457 output.WriteMessage(AtMostOne);
5459 if (constraintCase_ == ConstraintOneofCase.LinMax) {
5460 output.WriteRawTag(218, 1);
5461 output.WriteMessage(LinMax);
5463 if (constraintCase_ == ConstraintOneofCase.LinMin) {
5464 output.WriteRawTag(226, 1);
5465 output.WriteMessage(LinMin);
5467 if (_unknownFields !=
null) {
5468 _unknownFields.WriteTo(ref output);
5473 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5476 if (Name.Length != 0) {
5477 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
5479 size += enforcementLiteral_.CalculateSize(_repeated_enforcementLiteral_codec);
5481 size += 1 + pb::CodedOutputStream.ComputeMessageSize(BoolOr);
5484 size += 1 + pb::CodedOutputStream.ComputeMessageSize(BoolAnd);
5487 size += 2 + pb::CodedOutputStream.ComputeMessageSize(AtMostOne);
5490 size += 1 + pb::CodedOutputStream.ComputeMessageSize(BoolXor);
5493 size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntDiv);
5496 size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntMod);
5499 size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntMax);
5502 size += 2 + pb::CodedOutputStream.ComputeMessageSize(LinMax);
5505 size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntMin);
5508 size += 2 + pb::CodedOutputStream.ComputeMessageSize(LinMin);
5511 size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntProd);
5514 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Linear);
5517 size += 1 + pb::CodedOutputStream.ComputeMessageSize(AllDiff);
5520 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Element);
5523 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Circuit);
5526 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Routes);
5529 size += 2 + pb::CodedOutputStream.ComputeMessageSize(CircuitCovering);
5532 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Table);
5535 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Automaton);
5538 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Inverse);
5541 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Reservoir);
5544 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Interval);
5547 size += 2 + pb::CodedOutputStream.ComputeMessageSize(NoOverlap);
5550 size += 2 + pb::CodedOutputStream.ComputeMessageSize(NoOverlap2D);
5553 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Cumulative);
5555 if (_unknownFields !=
null) {
5556 size += _unknownFields.CalculateSize();
5561 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5563 if (other ==
null) {
5566 if (other.
Name.Length != 0) {
5569 enforcementLiteral_.Add(other.enforcementLiteral_);
5572 if (BoolOr ==
null) {
5573 BoolOr =
new global::Google.OrTools.Sat.BoolArgumentProto();
5575 BoolOr.MergeFrom(other.
BoolOr);
5578 if (BoolAnd ==
null) {
5579 BoolAnd =
new global::Google.OrTools.Sat.BoolArgumentProto();
5581 BoolAnd.MergeFrom(other.
BoolAnd);
5584 if (AtMostOne ==
null) {
5585 AtMostOne =
new global::Google.OrTools.Sat.BoolArgumentProto();
5590 if (BoolXor ==
null) {
5591 BoolXor =
new global::Google.OrTools.Sat.BoolArgumentProto();
5593 BoolXor.MergeFrom(other.
BoolXor);
5596 if (IntDiv ==
null) {
5597 IntDiv =
new global::Google.OrTools.Sat.IntegerArgumentProto();
5599 IntDiv.MergeFrom(other.
IntDiv);
5602 if (IntMod ==
null) {
5603 IntMod =
new global::Google.OrTools.Sat.IntegerArgumentProto();
5605 IntMod.MergeFrom(other.
IntMod);
5608 if (IntMax ==
null) {
5609 IntMax =
new global::Google.OrTools.Sat.IntegerArgumentProto();
5611 IntMax.MergeFrom(other.
IntMax);
5614 if (LinMax ==
null) {
5615 LinMax =
new global::Google.OrTools.Sat.LinearArgumentProto();
5617 LinMax.MergeFrom(other.
LinMax);
5620 if (IntMin ==
null) {
5621 IntMin =
new global::Google.OrTools.Sat.IntegerArgumentProto();
5623 IntMin.MergeFrom(other.
IntMin);
5626 if (LinMin ==
null) {
5627 LinMin =
new global::Google.OrTools.Sat.LinearArgumentProto();
5629 LinMin.MergeFrom(other.
LinMin);
5632 if (IntProd ==
null) {
5633 IntProd =
new global::Google.OrTools.Sat.IntegerArgumentProto();
5635 IntProd.MergeFrom(other.
IntProd);
5638 if (Linear ==
null) {
5639 Linear =
new global::Google.OrTools.Sat.LinearConstraintProto();
5641 Linear.MergeFrom(other.
Linear);
5644 if (AllDiff ==
null) {
5645 AllDiff =
new global::Google.OrTools.Sat.AllDifferentConstraintProto();
5647 AllDiff.MergeFrom(other.
AllDiff);
5650 if (Element ==
null) {
5651 Element =
new global::Google.OrTools.Sat.ElementConstraintProto();
5653 Element.MergeFrom(other.
Element);
5656 if (Circuit ==
null) {
5657 Circuit =
new global::Google.OrTools.Sat.CircuitConstraintProto();
5659 Circuit.MergeFrom(other.
Circuit);
5662 if (Routes ==
null) {
5663 Routes =
new global::Google.OrTools.Sat.RoutesConstraintProto();
5665 Routes.MergeFrom(other.
Routes);
5668 if (CircuitCovering ==
null) {
5669 CircuitCovering =
new global::Google.OrTools.Sat.CircuitCoveringConstraintProto();
5674 if (Table ==
null) {
5675 Table =
new global::Google.OrTools.Sat.TableConstraintProto();
5677 Table.MergeFrom(other.
Table);
5680 if (Automaton ==
null) {
5681 Automaton =
new global::Google.OrTools.Sat.AutomatonConstraintProto();
5686 if (Inverse ==
null) {
5687 Inverse =
new global::Google.OrTools.Sat.InverseConstraintProto();
5689 Inverse.MergeFrom(other.
Inverse);
5692 if (Reservoir ==
null) {
5693 Reservoir =
new global::Google.OrTools.Sat.ReservoirConstraintProto();
5698 if (Interval ==
null) {
5699 Interval =
new global::Google.OrTools.Sat.IntervalConstraintProto();
5701 Interval.MergeFrom(other.
Interval);
5704 if (NoOverlap ==
null) {
5705 NoOverlap =
new global::Google.OrTools.Sat.NoOverlapConstraintProto();
5710 if (NoOverlap2D ==
null) {
5711 NoOverlap2D =
new global::Google.OrTools.Sat.NoOverlap2DConstraintProto();
5716 if (Cumulative ==
null) {
5717 Cumulative =
new global::Google.OrTools.Sat.CumulativeConstraintProto();
5723 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5726 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5728 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5729 input.ReadRawMessage(
this);
5732 while ((tag = input.ReadTag()) != 0) {
5735 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5738 Name = input.ReadString();
5743 enforcementLiteral_.AddEntriesFrom(input, _repeated_enforcementLiteral_codec);
5747 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
5749 subBuilder.MergeFrom(BoolOr);
5751 input.ReadMessage(subBuilder);
5752 BoolOr = subBuilder;
5756 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
5758 subBuilder.MergeFrom(BoolAnd);
5760 input.ReadMessage(subBuilder);
5761 BoolAnd = subBuilder;
5765 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
5767 subBuilder.MergeFrom(BoolXor);
5769 input.ReadMessage(subBuilder);
5770 BoolXor = subBuilder;
5774 global::Google.OrTools.Sat.IntegerArgumentProto subBuilder =
new global::Google.OrTools.Sat.IntegerArgumentProto();
5776 subBuilder.MergeFrom(IntDiv);
5778 input.ReadMessage(subBuilder);
5779 IntDiv = subBuilder;
5783 global::Google.OrTools.Sat.IntegerArgumentProto subBuilder =
new global::Google.OrTools.Sat.IntegerArgumentProto();
5785 subBuilder.MergeFrom(IntMod);
5787 input.ReadMessage(subBuilder);
5788 IntMod = subBuilder;
5792 global::Google.OrTools.Sat.IntegerArgumentProto subBuilder =
new global::Google.OrTools.Sat.IntegerArgumentProto();
5794 subBuilder.MergeFrom(IntMax);
5796 input.ReadMessage(subBuilder);
5797 IntMax = subBuilder;
5801 global::Google.OrTools.Sat.IntegerArgumentProto subBuilder =
new global::Google.OrTools.Sat.IntegerArgumentProto();
5803 subBuilder.MergeFrom(IntMin);
5805 input.ReadMessage(subBuilder);
5806 IntMin = subBuilder;
5810 global::Google.OrTools.Sat.IntegerArgumentProto subBuilder =
new global::Google.OrTools.Sat.IntegerArgumentProto();
5812 subBuilder.MergeFrom(IntProd);
5814 input.ReadMessage(subBuilder);
5815 IntProd = subBuilder;
5819 global::Google.OrTools.Sat.LinearConstraintProto subBuilder =
new global::Google.OrTools.Sat.LinearConstraintProto();
5821 subBuilder.MergeFrom(Linear);
5823 input.ReadMessage(subBuilder);
5824 Linear = subBuilder;
5828 global::Google.OrTools.Sat.AllDifferentConstraintProto subBuilder =
new global::Google.OrTools.Sat.AllDifferentConstraintProto();
5830 subBuilder.MergeFrom(AllDiff);
5832 input.ReadMessage(subBuilder);
5833 AllDiff = subBuilder;
5837 global::Google.OrTools.Sat.ElementConstraintProto subBuilder =
new global::Google.OrTools.Sat.ElementConstraintProto();
5839 subBuilder.MergeFrom(Element);
5841 input.ReadMessage(subBuilder);
5842 Element = subBuilder;
5846 global::Google.OrTools.Sat.CircuitConstraintProto subBuilder =
new global::Google.OrTools.Sat.CircuitConstraintProto();
5848 subBuilder.MergeFrom(Circuit);
5850 input.ReadMessage(subBuilder);
5851 Circuit = subBuilder;
5855 global::Google.OrTools.Sat.TableConstraintProto subBuilder =
new global::Google.OrTools.Sat.TableConstraintProto();
5857 subBuilder.MergeFrom(Table);
5859 input.ReadMessage(subBuilder);
5864 global::Google.OrTools.Sat.AutomatonConstraintProto subBuilder =
new global::Google.OrTools.Sat.AutomatonConstraintProto();
5866 subBuilder.MergeFrom(Automaton);
5868 input.ReadMessage(subBuilder);
5869 Automaton = subBuilder;
5873 global::Google.OrTools.Sat.InverseConstraintProto subBuilder =
new global::Google.OrTools.Sat.InverseConstraintProto();
5875 subBuilder.MergeFrom(Inverse);
5877 input.ReadMessage(subBuilder);
5878 Inverse = subBuilder;
5882 global::Google.OrTools.Sat.IntervalConstraintProto subBuilder =
new global::Google.OrTools.Sat.IntervalConstraintProto();
5884 subBuilder.MergeFrom(Interval);
5886 input.ReadMessage(subBuilder);
5887 Interval = subBuilder;
5891 global::Google.OrTools.Sat.NoOverlapConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlapConstraintProto();
5893 subBuilder.MergeFrom(NoOverlap);
5895 input.ReadMessage(subBuilder);
5896 NoOverlap = subBuilder;
5900 global::Google.OrTools.Sat.NoOverlap2DConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlap2DConstraintProto();
5902 subBuilder.MergeFrom(NoOverlap2D);
5904 input.ReadMessage(subBuilder);
5905 NoOverlap2D = subBuilder;
5909 global::Google.OrTools.Sat.CumulativeConstraintProto subBuilder =
new global::Google.OrTools.Sat.CumulativeConstraintProto();
5911 subBuilder.MergeFrom(Cumulative);
5913 input.ReadMessage(subBuilder);
5914 Cumulative = subBuilder;
5918 global::Google.OrTools.Sat.RoutesConstraintProto subBuilder =
new global::Google.OrTools.Sat.RoutesConstraintProto();
5920 subBuilder.MergeFrom(Routes);
5922 input.ReadMessage(subBuilder);
5923 Routes = subBuilder;
5927 global::Google.OrTools.Sat.ReservoirConstraintProto subBuilder =
new global::Google.OrTools.Sat.ReservoirConstraintProto();
5929 subBuilder.MergeFrom(Reservoir);
5931 input.ReadMessage(subBuilder);
5932 Reservoir = subBuilder;
5936 global::Google.OrTools.Sat.CircuitCoveringConstraintProto subBuilder =
new global::Google.OrTools.Sat.CircuitCoveringConstraintProto();
5938 subBuilder.MergeFrom(CircuitCovering);
5940 input.ReadMessage(subBuilder);
5941 CircuitCovering = subBuilder;
5945 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
5947 subBuilder.MergeFrom(AtMostOne);
5949 input.ReadMessage(subBuilder);
5950 AtMostOne = subBuilder;
5954 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
5956 subBuilder.MergeFrom(LinMax);
5958 input.ReadMessage(subBuilder);
5959 LinMax = subBuilder;
5963 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
5965 subBuilder.MergeFrom(LinMin);
5967 input.ReadMessage(subBuilder);
5968 LinMin = subBuilder;
5976 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5977 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5978 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
5980 while ((tag = input.ReadTag()) != 0) {
5983 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
5986 Name = input.ReadString();
5991 enforcementLiteral_.AddEntriesFrom(ref input, _repeated_enforcementLiteral_codec);
5995 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
5996 if (constraintCase_ == ConstraintOneofCase.BoolOr) {
5997 subBuilder.MergeFrom(BoolOr);
5999 input.ReadMessage(subBuilder);
6000 BoolOr = subBuilder;
6004 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6005 if (constraintCase_ == ConstraintOneofCase.BoolAnd) {
6006 subBuilder.MergeFrom(BoolAnd);
6008 input.ReadMessage(subBuilder);
6009 BoolAnd = subBuilder;
6013 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6014 if (constraintCase_ == ConstraintOneofCase.BoolXor) {
6015 subBuilder.MergeFrom(BoolXor);
6017 input.ReadMessage(subBuilder);
6018 BoolXor = subBuilder;
6022 global::Google.OrTools.Sat.IntegerArgumentProto subBuilder =
new global::Google.OrTools.Sat.IntegerArgumentProto();
6023 if (constraintCase_ == ConstraintOneofCase.IntDiv) {
6024 subBuilder.MergeFrom(IntDiv);
6026 input.ReadMessage(subBuilder);
6027 IntDiv = subBuilder;
6031 global::Google.OrTools.Sat.IntegerArgumentProto subBuilder =
new global::Google.OrTools.Sat.IntegerArgumentProto();
6032 if (constraintCase_ == ConstraintOneofCase.IntMod) {
6033 subBuilder.MergeFrom(IntMod);
6035 input.ReadMessage(subBuilder);
6036 IntMod = subBuilder;
6040 global::Google.OrTools.Sat.IntegerArgumentProto subBuilder =
new global::Google.OrTools.Sat.IntegerArgumentProto();
6041 if (constraintCase_ == ConstraintOneofCase.IntMax) {
6042 subBuilder.MergeFrom(IntMax);
6044 input.ReadMessage(subBuilder);
6045 IntMax = subBuilder;
6049 global::Google.OrTools.Sat.IntegerArgumentProto subBuilder =
new global::Google.OrTools.Sat.IntegerArgumentProto();
6050 if (constraintCase_ == ConstraintOneofCase.IntMin) {
6051 subBuilder.MergeFrom(IntMin);
6053 input.ReadMessage(subBuilder);
6054 IntMin = subBuilder;
6058 global::Google.OrTools.Sat.IntegerArgumentProto subBuilder =
new global::Google.OrTools.Sat.IntegerArgumentProto();
6059 if (constraintCase_ == ConstraintOneofCase.IntProd) {
6060 subBuilder.MergeFrom(IntProd);
6062 input.ReadMessage(subBuilder);
6063 IntProd = subBuilder;
6067 global::Google.OrTools.Sat.LinearConstraintProto subBuilder =
new global::Google.OrTools.Sat.LinearConstraintProto();
6068 if (constraintCase_ == ConstraintOneofCase.Linear) {
6069 subBuilder.MergeFrom(Linear);
6071 input.ReadMessage(subBuilder);
6072 Linear = subBuilder;
6076 global::Google.OrTools.Sat.AllDifferentConstraintProto subBuilder =
new global::Google.OrTools.Sat.AllDifferentConstraintProto();
6077 if (constraintCase_ == ConstraintOneofCase.AllDiff) {
6078 subBuilder.MergeFrom(AllDiff);
6080 input.ReadMessage(subBuilder);
6081 AllDiff = subBuilder;
6085 global::Google.OrTools.Sat.ElementConstraintProto subBuilder =
new global::Google.OrTools.Sat.ElementConstraintProto();
6086 if (constraintCase_ == ConstraintOneofCase.Element) {
6087 subBuilder.MergeFrom(Element);
6089 input.ReadMessage(subBuilder);
6090 Element = subBuilder;
6094 global::Google.OrTools.Sat.CircuitConstraintProto subBuilder =
new global::Google.OrTools.Sat.CircuitConstraintProto();
6095 if (constraintCase_ == ConstraintOneofCase.Circuit) {
6096 subBuilder.MergeFrom(Circuit);
6098 input.ReadMessage(subBuilder);
6099 Circuit = subBuilder;
6103 global::Google.OrTools.Sat.TableConstraintProto subBuilder =
new global::Google.OrTools.Sat.TableConstraintProto();
6104 if (constraintCase_ == ConstraintOneofCase.Table) {
6105 subBuilder.MergeFrom(Table);
6107 input.ReadMessage(subBuilder);
6112 global::Google.OrTools.Sat.AutomatonConstraintProto subBuilder =
new global::Google.OrTools.Sat.AutomatonConstraintProto();
6113 if (constraintCase_ == ConstraintOneofCase.Automaton) {
6114 subBuilder.MergeFrom(Automaton);
6116 input.ReadMessage(subBuilder);
6117 Automaton = subBuilder;
6121 global::Google.OrTools.Sat.InverseConstraintProto subBuilder =
new global::Google.OrTools.Sat.InverseConstraintProto();
6122 if (constraintCase_ == ConstraintOneofCase.Inverse) {
6123 subBuilder.MergeFrom(Inverse);
6125 input.ReadMessage(subBuilder);
6126 Inverse = subBuilder;
6130 global::Google.OrTools.Sat.IntervalConstraintProto subBuilder =
new global::Google.OrTools.Sat.IntervalConstraintProto();
6131 if (constraintCase_ == ConstraintOneofCase.Interval) {
6132 subBuilder.MergeFrom(Interval);
6134 input.ReadMessage(subBuilder);
6135 Interval = subBuilder;
6139 global::Google.OrTools.Sat.NoOverlapConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlapConstraintProto();
6140 if (constraintCase_ == ConstraintOneofCase.NoOverlap) {
6141 subBuilder.MergeFrom(NoOverlap);
6143 input.ReadMessage(subBuilder);
6144 NoOverlap = subBuilder;
6148 global::Google.OrTools.Sat.NoOverlap2DConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlap2DConstraintProto();
6149 if (constraintCase_ == ConstraintOneofCase.NoOverlap2D) {
6150 subBuilder.MergeFrom(NoOverlap2D);
6152 input.ReadMessage(subBuilder);
6153 NoOverlap2D = subBuilder;
6157 global::Google.OrTools.Sat.CumulativeConstraintProto subBuilder =
new global::Google.OrTools.Sat.CumulativeConstraintProto();
6158 if (constraintCase_ == ConstraintOneofCase.Cumulative) {
6159 subBuilder.MergeFrom(Cumulative);
6161 input.ReadMessage(subBuilder);
6162 Cumulative = subBuilder;
6166 global::Google.OrTools.Sat.RoutesConstraintProto subBuilder =
new global::Google.OrTools.Sat.RoutesConstraintProto();
6167 if (constraintCase_ == ConstraintOneofCase.Routes) {
6168 subBuilder.MergeFrom(Routes);
6170 input.ReadMessage(subBuilder);
6171 Routes = subBuilder;
6175 global::Google.OrTools.Sat.ReservoirConstraintProto subBuilder =
new global::Google.OrTools.Sat.ReservoirConstraintProto();
6176 if (constraintCase_ == ConstraintOneofCase.Reservoir) {
6177 subBuilder.MergeFrom(Reservoir);
6179 input.ReadMessage(subBuilder);
6180 Reservoir = subBuilder;
6184 global::Google.OrTools.Sat.CircuitCoveringConstraintProto subBuilder =
new global::Google.OrTools.Sat.CircuitCoveringConstraintProto();
6185 if (constraintCase_ == ConstraintOneofCase.CircuitCovering) {
6186 subBuilder.MergeFrom(CircuitCovering);
6188 input.ReadMessage(subBuilder);
6189 CircuitCovering = subBuilder;
6193 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6194 if (constraintCase_ == ConstraintOneofCase.AtMostOne) {
6195 subBuilder.MergeFrom(AtMostOne);
6197 input.ReadMessage(subBuilder);
6198 AtMostOne = subBuilder;
6202 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6203 if (constraintCase_ == ConstraintOneofCase.LinMax) {
6204 subBuilder.MergeFrom(LinMax);
6206 input.ReadMessage(subBuilder);
6207 LinMax = subBuilder;
6211 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6212 if (constraintCase_ == ConstraintOneofCase.LinMin) {
6213 subBuilder.MergeFrom(LinMin);
6215 input.ReadMessage(subBuilder);
6216 LinMin = subBuilder;
6232 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6233 , pb::IBufferMessage
6236 private static readonly pb::MessageParser<CpObjectiveProto> _parser =
new pb::MessageParser<CpObjectiveProto>(() =>
new CpObjectiveProto());
6237 private pb::UnknownFieldSet _unknownFields;
6238 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6239 public static pb::MessageParser<CpObjectiveProto> Parser {
get {
return _parser; } }
6241 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6242 public static pbr::MessageDescriptor Descriptor {
6243 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[20]; }
6246 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6247 pbr::MessageDescriptor pb::IMessage.Descriptor {
6248 get {
return Descriptor; }
6251 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6256 partial
void OnConstruction();
6258 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6260 vars_ = other.vars_.Clone();
6261 coeffs_ = other.coeffs_.Clone();
6262 offset_ = other.offset_;
6263 scalingFactor_ = other.scalingFactor_;
6264 domain_ = other.domain_.Clone();
6265 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
6268 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6274 public const int VarsFieldNumber = 1;
6275 private static readonly pb::FieldCodec<int> _repeated_vars_codec
6276 = pb::FieldCodec.ForInt32(10);
6277 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
6283 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6284 public pbc::RepeatedField<int> Vars {
6285 get {
return vars_; }
6289 public const int CoeffsFieldNumber = 4;
6290 private static readonly pb::FieldCodec<long> _repeated_coeffs_codec
6291 = pb::FieldCodec.ForInt64(34);
6292 private readonly pbc::RepeatedField<long> coeffs_ =
new pbc::RepeatedField<long>();
6293 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6294 public pbc::RepeatedField<long> Coeffs {
6295 get {
return coeffs_; }
6299 public const int OffsetFieldNumber = 2;
6300 private double offset_;
6310 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6311 public double Offset {
6312 get {
return offset_; }
6319 public const int ScalingFactorFieldNumber = 3;
6320 private double scalingFactor_;
6321 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6322 public double ScalingFactor {
6323 get {
return scalingFactor_; }
6325 scalingFactor_ = value;
6330 public const int DomainFieldNumber = 5;
6331 private static readonly pb::FieldCodec<long> _repeated_domain_codec
6332 = pb::FieldCodec.ForInt64(42);
6333 private readonly pbc::RepeatedField<long> domain_ =
new pbc::RepeatedField<long>();
6339 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6341 get {
return domain_; }
6344 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6349 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6351 if (ReferenceEquals(other,
null)) {
6354 if (ReferenceEquals(other,
this)) {
6357 if(!vars_.Equals(other.vars_))
return false;
6358 if(!coeffs_.Equals(other.coeffs_))
return false;
6359 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Offset, other.
Offset))
return false;
6360 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ScalingFactor, other.
ScalingFactor))
return false;
6361 if(!domain_.Equals(other.domain_))
return false;
6362 return Equals(_unknownFields, other._unknownFields);
6365 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6368 hash ^= vars_.GetHashCode();
6369 hash ^= coeffs_.GetHashCode();
6370 if (Offset != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Offset);
6371 if (ScalingFactor != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ScalingFactor);
6372 hash ^= domain_.GetHashCode();
6373 if (_unknownFields !=
null) {
6374 hash ^= _unknownFields.GetHashCode();
6379 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6381 return pb::JsonFormatter.ToDiagnosticString(
this);
6384 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6385 public void WriteTo(pb::CodedOutputStream output) {
6386 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6387 output.WriteRawMessage(
this);
6389 vars_.WriteTo(output, _repeated_vars_codec);
6391 output.WriteRawTag(17);
6392 output.WriteDouble(Offset);
6394 if (ScalingFactor != 0D) {
6395 output.WriteRawTag(25);
6396 output.WriteDouble(ScalingFactor);
6398 coeffs_.WriteTo(output, _repeated_coeffs_codec);
6399 domain_.WriteTo(output, _repeated_domain_codec);
6400 if (_unknownFields !=
null) {
6401 _unknownFields.WriteTo(output);
6406 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6407 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6408 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
6409 vars_.WriteTo(ref output, _repeated_vars_codec);
6411 output.WriteRawTag(17);
6412 output.WriteDouble(Offset);
6414 if (ScalingFactor != 0D) {
6415 output.WriteRawTag(25);
6416 output.WriteDouble(ScalingFactor);
6418 coeffs_.WriteTo(ref output, _repeated_coeffs_codec);
6419 domain_.WriteTo(ref output, _repeated_domain_codec);
6420 if (_unknownFields !=
null) {
6421 _unknownFields.WriteTo(ref output);
6426 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6429 size += vars_.CalculateSize(_repeated_vars_codec);
6430 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
6434 if (ScalingFactor != 0D) {
6437 size += domain_.CalculateSize(_repeated_domain_codec);
6438 if (_unknownFields !=
null) {
6439 size += _unknownFields.CalculateSize();
6444 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6446 if (other ==
null) {
6449 vars_.Add(other.vars_);
6450 coeffs_.Add(other.coeffs_);
6451 if (other.
Offset != 0D) {
6457 domain_.Add(other.domain_);
6458 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
6461 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6463 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6464 input.ReadRawMessage(
this);
6467 while ((tag = input.ReadTag()) != 0) {
6470 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
6474 vars_.AddEntriesFrom(input, _repeated_vars_codec);
6478 Offset = input.ReadDouble();
6482 ScalingFactor = input.ReadDouble();
6487 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
6492 domain_.AddEntriesFrom(input, _repeated_domain_codec);
6500 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6501 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6502 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
6504 while ((tag = input.ReadTag()) != 0) {
6507 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
6511 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
6515 Offset = input.ReadDouble();
6519 ScalingFactor = input.ReadDouble();
6524 coeffs_.AddEntriesFrom(ref input, _repeated_coeffs_codec);
6529 domain_.AddEntriesFrom(ref input, _repeated_domain_codec);
6544 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6545 , pb::IBufferMessage
6548 private static readonly pb::MessageParser<DecisionStrategyProto> _parser =
new pb::MessageParser<DecisionStrategyProto>(() =>
new DecisionStrategyProto());
6549 private pb::UnknownFieldSet _unknownFields;
6550 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6551 public static pb::MessageParser<DecisionStrategyProto> Parser {
get {
return _parser; } }
6553 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6554 public static pbr::MessageDescriptor Descriptor {
6555 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[21]; }
6558 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6559 pbr::MessageDescriptor pb::IMessage.Descriptor {
6560 get {
return Descriptor; }
6563 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6568 partial
void OnConstruction();
6570 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6572 variables_ = other.variables_.Clone();
6573 variableSelectionStrategy_ = other.variableSelectionStrategy_;
6574 domainReductionStrategy_ = other.domainReductionStrategy_;
6575 transformations_ = other.transformations_.Clone();
6576 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
6579 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6585 public const int VariablesFieldNumber = 1;
6586 private static readonly pb::FieldCodec<int> _repeated_variables_codec
6587 = pb::FieldCodec.ForInt32(10);
6588 private readonly pbc::RepeatedField<int> variables_ =
new pbc::RepeatedField<int>();
6594 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6595 public pbc::RepeatedField<int> Variables {
6596 get {
return variables_; }
6600 public const int VariableSelectionStrategyFieldNumber = 2;
6601 private global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy variableSelectionStrategy_ = global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst;
6602 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6603 public global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy VariableSelectionStrategy {
6604 get {
return variableSelectionStrategy_; }
6606 variableSelectionStrategy_ = value;
6611 public const int DomainReductionStrategyFieldNumber = 3;
6612 private global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy domainReductionStrategy_ = global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue;
6613 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6614 public global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy DomainReductionStrategy {
6615 get {
return domainReductionStrategy_; }
6617 domainReductionStrategy_ = value;
6622 public const int TransformationsFieldNumber = 4;
6623 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.DecisionStrategyProto.Types.AffineTransformation> _repeated_transformations_codec
6624 = pb::FieldCodec.ForMessage(34, global::Google.OrTools.Sat.DecisionStrategyProto.Types.AffineTransformation.Parser);
6625 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto.Types.AffineTransformation> transformations_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto.Types.AffineTransformation>();
6626 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6627 public pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto.Types.AffineTransformation> Transformations {
6628 get {
return transformations_; }
6631 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6636 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6638 if (ReferenceEquals(other,
null)) {
6641 if (ReferenceEquals(other,
this)) {
6644 if(!variables_.Equals(other.variables_))
return false;
6647 if(!transformations_.Equals(other.transformations_))
return false;
6648 return Equals(_unknownFields, other._unknownFields);
6651 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6654 hash ^= variables_.GetHashCode();
6655 if (VariableSelectionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst) hash ^= VariableSelectionStrategy.GetHashCode();
6656 if (DomainReductionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue) hash ^= DomainReductionStrategy.GetHashCode();
6657 hash ^= transformations_.GetHashCode();
6658 if (_unknownFields !=
null) {
6659 hash ^= _unknownFields.GetHashCode();
6664 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6666 return pb::JsonFormatter.ToDiagnosticString(
this);
6669 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6670 public void WriteTo(pb::CodedOutputStream output) {
6671 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6672 output.WriteRawMessage(
this);
6674 variables_.WriteTo(output, _repeated_variables_codec);
6675 if (VariableSelectionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst) {
6676 output.WriteRawTag(16);
6677 output.WriteEnum((
int) VariableSelectionStrategy);
6679 if (DomainReductionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue) {
6680 output.WriteRawTag(24);
6681 output.WriteEnum((
int) DomainReductionStrategy);
6683 transformations_.WriteTo(output, _repeated_transformations_codec);
6684 if (_unknownFields !=
null) {
6685 _unknownFields.WriteTo(output);
6690 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6691 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6692 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
6693 variables_.WriteTo(ref output, _repeated_variables_codec);
6694 if (VariableSelectionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst) {
6695 output.WriteRawTag(16);
6696 output.WriteEnum((
int) VariableSelectionStrategy);
6698 if (DomainReductionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue) {
6699 output.WriteRawTag(24);
6700 output.WriteEnum((
int) DomainReductionStrategy);
6702 transformations_.WriteTo(ref output, _repeated_transformations_codec);
6703 if (_unknownFields !=
null) {
6704 _unknownFields.WriteTo(ref output);
6709 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6712 size += variables_.CalculateSize(_repeated_variables_codec);
6713 if (VariableSelectionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst) {
6714 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) VariableSelectionStrategy);
6716 if (DomainReductionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue) {
6717 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) DomainReductionStrategy);
6719 size += transformations_.CalculateSize(_repeated_transformations_codec);
6720 if (_unknownFields !=
null) {
6721 size += _unknownFields.CalculateSize();
6726 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6728 if (other ==
null) {
6731 variables_.Add(other.variables_);
6738 transformations_.Add(other.transformations_);
6739 _unknownFields = pb::UnknownFieldSet.
MergeFrom(_unknownFields, other._unknownFields);
6742 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6744 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6745 input.ReadRawMessage(
this);
6748 while ((tag = input.ReadTag()) != 0) {
6751 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
6755 variables_.AddEntriesFrom(input, _repeated_variables_codec);
6759 VariableSelectionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy) input.ReadEnum();
6763 DomainReductionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy) input.ReadEnum();
6767 transformations_.AddEntriesFrom(input, _repeated_transformations_codec);
6775 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6776 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6777 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
6779 while ((tag = input.ReadTag()) != 0) {
6782 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
6786 variables_.AddEntriesFrom(ref input, _repeated_variables_codec);
6790 VariableSelectionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy) input.ReadEnum();
6794 DomainReductionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy) input.ReadEnum();
6798 transformations_.AddEntriesFrom(ref input, _repeated_transformations_codec);
6806 #region Nested types
6807 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6817 [pbr::OriginalName(
"CHOOSE_FIRST")] ChooseFirst = 0,
6818 [pbr::OriginalName(
"CHOOSE_LOWEST_MIN")] ChooseLowestMin = 1,
6819 [pbr::OriginalName(
"CHOOSE_HIGHEST_MAX")] ChooseHighestMax = 2,
6820 [pbr::OriginalName(
"CHOOSE_MIN_DOMAIN_SIZE")] ChooseMinDomainSize = 3,
6821 [pbr::OriginalName(
"CHOOSE_MAX_DOMAIN_SIZE")] ChooseMaxDomainSize = 4,
6831 [pbr::OriginalName(
"SELECT_MIN_VALUE")] SelectMinValue = 0,
6832 [pbr::OriginalName(
"SELECT_MAX_VALUE")] SelectMaxValue = 1,
6833 [pbr::OriginalName(
"SELECT_LOWER_HALF")] SelectLowerHalf = 2,
6834 [pbr::OriginalName(
"SELECT_UPPER_HALF")] SelectUpperHalf = 3,
6835 [pbr::OriginalName(
"SELECT_MEDIAN_VALUE")] SelectMedianValue = 4,
6845 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6846 , pb::IBufferMessage
6849 private static readonly pb::MessageParser<AffineTransformation> _parser =
new pb::MessageParser<AffineTransformation>(() =>
new AffineTransformation());
6850 private pb::UnknownFieldSet _unknownFields;
6851 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6852 public static pb::MessageParser<AffineTransformation> Parser {
get {
return _parser; } }
6854 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6855 public static pbr::MessageDescriptor Descriptor {
6856 get {
return global::Google.OrTools.Sat.DecisionStrategyProto.Descriptor.NestedTypes[0]; }
6859 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6860 pbr::MessageDescriptor pb::IMessage.Descriptor {
6861 get {
return Descriptor; }
6864 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6869 partial
void OnConstruction();
6871 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6874 offset_ = other.offset_;
6875 positiveCoeff_ = other.positiveCoeff_;
6876 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
6879 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6885 public const int VarFieldNumber = 1;
6887 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6889 get {
return var_; }
6896 public const int OffsetFieldNumber = 2;
6897 private long offset_;
6898 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6899 public long Offset {
6900 get {
return offset_; }
6907 public const int PositiveCoeffFieldNumber = 3;
6908 private long positiveCoeff_;
6909 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6910 public long PositiveCoeff {
6911 get {
return positiveCoeff_; }
6913 positiveCoeff_ = value;
6917 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6922 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6924 if (ReferenceEquals(other,
null)) {
6927 if (ReferenceEquals(other,
this)) {
6930 if (Var != other.
Var)
return false;
6931 if (Offset != other.
Offset)
return false;
6933 return Equals(_unknownFields, other._unknownFields);
6936 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6939 if (Var != 0) hash ^= Var.GetHashCode();
6940 if (Offset != 0L) hash ^= Offset.GetHashCode();
6941 if (PositiveCoeff != 0L) hash ^= PositiveCoeff.GetHashCode();
6942 if (_unknownFields !=
null) {
6943 hash ^= _unknownFields.GetHashCode();
6948 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6950 return pb::JsonFormatter.ToDiagnosticString(
this);
6953 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6954 public void WriteTo(pb::CodedOutputStream output) {
6955 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6956 output.WriteRawMessage(
this);
6959 output.WriteRawTag(8);
6960 output.WriteInt32(Var);
6963 output.WriteRawTag(16);
6964 output.WriteInt64(Offset);
6966 if (PositiveCoeff != 0L) {
6967 output.WriteRawTag(24);
6968 output.WriteInt64(PositiveCoeff);
6970 if (_unknownFields !=
null) {
6971 _unknownFields.WriteTo(output);
6976 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6977 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6978 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
6980 output.WriteRawTag(8);
6981 output.WriteInt32(Var);
6984 output.WriteRawTag(16);
6985 output.WriteInt64(Offset);
6987 if (PositiveCoeff != 0L) {
6988 output.WriteRawTag(24);
6989 output.WriteInt64(PositiveCoeff);
6991 if (_unknownFields !=
null) {
6992 _unknownFields.WriteTo(ref output);
6997 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7001 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Var);
7004 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Offset);
7006 if (PositiveCoeff != 0L) {
7007 size += 1 + pb::CodedOutputStream.ComputeInt64Size(PositiveCoeff);
7009 if (_unknownFields !=
null) {
7010 size += _unknownFields.CalculateSize();
7015 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7017 if (other ==
null) {
7020 if (other.
Var != 0) {
7023 if (other.
Offset != 0L) {
7029 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7032 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7034 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7035 input.ReadRawMessage(
this);
7038 while ((tag = input.ReadTag()) != 0) {
7041 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
7044 Var = input.ReadInt32();
7048 Offset = input.ReadInt64();
7052 PositiveCoeff = input.ReadInt64();
7060 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7061 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7062 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
7064 while ((tag = input.ReadTag()) != 0) {
7067 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
7070 Var = input.ReadInt32();
7074 Offset = input.ReadInt64();
7078 PositiveCoeff = input.ReadInt64();
7099 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7100 , pb::IBufferMessage
7103 private static readonly pb::MessageParser<PartialVariableAssignment> _parser =
new pb::MessageParser<PartialVariableAssignment>(() =>
new PartialVariableAssignment());
7104 private pb::UnknownFieldSet _unknownFields;
7105 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7106 public static pb::MessageParser<PartialVariableAssignment> Parser {
get {
return _parser; } }
7108 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7109 public static pbr::MessageDescriptor Descriptor {
7110 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[22]; }
7113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7114 pbr::MessageDescriptor pb::IMessage.Descriptor {
7115 get {
return Descriptor; }
7118 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7123 partial
void OnConstruction();
7125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7127 vars_ = other.vars_.Clone();
7128 values_ = other.values_.Clone();
7129 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7132 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7138 public const int VarsFieldNumber = 1;
7139 private static readonly pb::FieldCodec<int> _repeated_vars_codec
7140 = pb::FieldCodec.ForInt32(10);
7141 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
7142 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7143 public pbc::RepeatedField<int> Vars {
7144 get {
return vars_; }
7148 public const int ValuesFieldNumber = 2;
7149 private static readonly pb::FieldCodec<long> _repeated_values_codec
7150 = pb::FieldCodec.ForInt64(18);
7151 private readonly pbc::RepeatedField<long> values_ =
new pbc::RepeatedField<long>();
7152 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7153 public pbc::RepeatedField<long> Values {
7154 get {
return values_; }
7157 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7162 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7164 if (ReferenceEquals(other,
null)) {
7167 if (ReferenceEquals(other,
this)) {
7170 if(!vars_.Equals(other.vars_))
return false;
7171 if(!values_.Equals(other.values_))
return false;
7172 return Equals(_unknownFields, other._unknownFields);
7175 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7178 hash ^= vars_.GetHashCode();
7179 hash ^= values_.GetHashCode();
7180 if (_unknownFields !=
null) {
7181 hash ^= _unknownFields.GetHashCode();
7186 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7188 return pb::JsonFormatter.ToDiagnosticString(
this);
7191 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7192 public void WriteTo(pb::CodedOutputStream output) {
7193 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7194 output.WriteRawMessage(
this);
7196 vars_.WriteTo(output, _repeated_vars_codec);
7197 values_.WriteTo(output, _repeated_values_codec);
7198 if (_unknownFields !=
null) {
7199 _unknownFields.WriteTo(output);
7204 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7205 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7206 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
7207 vars_.WriteTo(ref output, _repeated_vars_codec);
7208 values_.WriteTo(ref output, _repeated_values_codec);
7209 if (_unknownFields !=
null) {
7210 _unknownFields.WriteTo(ref output);
7215 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7218 size += vars_.CalculateSize(_repeated_vars_codec);
7219 size += values_.CalculateSize(_repeated_values_codec);
7220 if (_unknownFields !=
null) {
7221 size += _unknownFields.CalculateSize();
7226 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7228 if (other ==
null) {
7231 vars_.Add(other.vars_);
7232 values_.Add(other.values_);
7233 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7236 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7238 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7239 input.ReadRawMessage(
this);
7242 while ((tag = input.ReadTag()) != 0) {
7245 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
7249 vars_.AddEntriesFrom(input, _repeated_vars_codec);
7254 values_.AddEntriesFrom(input, _repeated_values_codec);
7262 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7263 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7264 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
7266 while ((tag = input.ReadTag()) != 0) {
7269 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
7273 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
7278 values_.AddEntriesFrom(ref input, _repeated_values_codec);
7292 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7293 , pb::IBufferMessage
7296 private static readonly pb::MessageParser<CpModelProto> _parser =
new pb::MessageParser<CpModelProto>(() =>
new CpModelProto());
7297 private pb::UnknownFieldSet _unknownFields;
7298 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7299 public static pb::MessageParser<CpModelProto> Parser {
get {
return _parser; } }
7301 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7302 public static pbr::MessageDescriptor Descriptor {
7303 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[23]; }
7306 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7307 pbr::MessageDescriptor pb::IMessage.Descriptor {
7308 get {
return Descriptor; }
7311 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7316 partial
void OnConstruction();
7318 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7320 name_ = other.name_;
7321 variables_ = other.variables_.Clone();
7322 constraints_ = other.constraints_.Clone();
7323 objective_ = other.objective_ !=
null ? other.objective_.
Clone() :
null;
7324 searchStrategy_ = other.searchStrategy_.Clone();
7325 solutionHint_ = other.solutionHint_ !=
null ? other.solutionHint_.
Clone() :
null;
7326 assumptions_ = other.assumptions_.Clone();
7327 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7330 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7336 public const int NameFieldNumber = 1;
7337 private string name_ =
"";
7341 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7342 public string Name {
7343 get {
return name_; }
7345 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
7350 public const int VariablesFieldNumber = 2;
7351 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.IntegerVariableProto> _repeated_variables_codec
7352 = pb::FieldCodec.ForMessage(18, global::Google.OrTools.Sat.IntegerVariableProto.Parser);
7353 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto> variables_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>();
7357 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7358 public pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto> Variables {
7359 get {
return variables_; }
7363 public const int ConstraintsFieldNumber = 3;
7364 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.ConstraintProto> _repeated_constraints_codec
7365 = pb::FieldCodec.ForMessage(26, global::Google.OrTools.Sat.ConstraintProto.Parser);
7366 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.ConstraintProto> constraints_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.ConstraintProto>();
7367 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7368 public pbc::RepeatedField<global::Google.OrTools.Sat.ConstraintProto> Constraints {
7369 get {
return constraints_; }
7373 public const int ObjectiveFieldNumber = 4;
7374 private global::Google.OrTools.Sat.CpObjectiveProto objective_;
7378 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7379 public global::Google.OrTools.Sat.CpObjectiveProto Objective {
7380 get {
return objective_; }
7387 public const int SearchStrategyFieldNumber = 5;
7388 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.DecisionStrategyProto> _repeated_searchStrategy_codec
7389 = pb::FieldCodec.ForMessage(42, global::Google.OrTools.Sat.DecisionStrategyProto.Parser);
7390 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto> searchStrategy_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto>();
7403 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7404 public pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto> SearchStrategy {
7405 get {
return searchStrategy_; }
7409 public const int SolutionHintFieldNumber = 6;
7410 private global::Google.OrTools.Sat.PartialVariableAssignment solutionHint_;
7424 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7425 public global::Google.OrTools.Sat.PartialVariableAssignment SolutionHint {
7426 get {
return solutionHint_; }
7428 solutionHint_ = value;
7433 public const int AssumptionsFieldNumber = 7;
7434 private static readonly pb::FieldCodec<int> _repeated_assumptions_codec
7435 = pb::FieldCodec.ForInt32(58);
7436 private readonly pbc::RepeatedField<int> assumptions_ =
new pbc::RepeatedField<int>();
7452 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7453 public pbc::RepeatedField<int> Assumptions {
7454 get {
return assumptions_; }
7457 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7462 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7464 if (ReferenceEquals(other,
null)) {
7467 if (ReferenceEquals(other,
this)) {
7470 if (Name != other.
Name)
return false;
7471 if(!variables_.Equals(other.variables_))
return false;
7472 if(!constraints_.Equals(other.constraints_))
return false;
7473 if (!
object.Equals(Objective, other.
Objective))
return false;
7474 if(!searchStrategy_.Equals(other.searchStrategy_))
return false;
7475 if (!
object.Equals(SolutionHint, other.
SolutionHint))
return false;
7476 if(!assumptions_.Equals(other.assumptions_))
return false;
7477 return Equals(_unknownFields, other._unknownFields);
7480 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7483 if (Name.Length != 0) hash ^= Name.GetHashCode();
7484 hash ^= variables_.GetHashCode();
7485 hash ^= constraints_.GetHashCode();
7486 if (objective_ !=
null) hash ^= Objective.GetHashCode();
7487 hash ^= searchStrategy_.GetHashCode();
7488 if (solutionHint_ !=
null) hash ^= SolutionHint.GetHashCode();
7489 hash ^= assumptions_.GetHashCode();
7490 if (_unknownFields !=
null) {
7491 hash ^= _unknownFields.GetHashCode();
7496 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7498 return pb::JsonFormatter.ToDiagnosticString(
this);
7501 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7502 public void WriteTo(pb::CodedOutputStream output) {
7503 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7504 output.WriteRawMessage(
this);
7506 if (Name.Length != 0) {
7507 output.WriteRawTag(10);
7508 output.WriteString(Name);
7510 variables_.WriteTo(output, _repeated_variables_codec);
7511 constraints_.WriteTo(output, _repeated_constraints_codec);
7512 if (objective_ !=
null) {
7513 output.WriteRawTag(34);
7514 output.WriteMessage(Objective);
7516 searchStrategy_.WriteTo(output, _repeated_searchStrategy_codec);
7517 if (solutionHint_ !=
null) {
7518 output.WriteRawTag(50);
7519 output.WriteMessage(SolutionHint);
7521 assumptions_.WriteTo(output, _repeated_assumptions_codec);
7522 if (_unknownFields !=
null) {
7523 _unknownFields.WriteTo(output);
7528 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7529 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7530 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
7531 if (Name.Length != 0) {
7532 output.WriteRawTag(10);
7533 output.WriteString(Name);
7535 variables_.WriteTo(ref output, _repeated_variables_codec);
7536 constraints_.WriteTo(ref output, _repeated_constraints_codec);
7537 if (objective_ !=
null) {
7538 output.WriteRawTag(34);
7539 output.WriteMessage(Objective);
7541 searchStrategy_.WriteTo(ref output, _repeated_searchStrategy_codec);
7542 if (solutionHint_ !=
null) {
7543 output.WriteRawTag(50);
7544 output.WriteMessage(SolutionHint);
7546 assumptions_.WriteTo(ref output, _repeated_assumptions_codec);
7547 if (_unknownFields !=
null) {
7548 _unknownFields.WriteTo(ref output);
7553 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7556 if (Name.Length != 0) {
7557 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
7559 size += variables_.CalculateSize(_repeated_variables_codec);
7560 size += constraints_.CalculateSize(_repeated_constraints_codec);
7561 if (objective_ !=
null) {
7562 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Objective);
7564 size += searchStrategy_.CalculateSize(_repeated_searchStrategy_codec);
7565 if (solutionHint_ !=
null) {
7566 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SolutionHint);
7568 size += assumptions_.CalculateSize(_repeated_assumptions_codec);
7569 if (_unknownFields !=
null) {
7570 size += _unknownFields.CalculateSize();
7575 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7577 if (other ==
null) {
7580 if (other.
Name.Length != 0) {
7583 variables_.Add(other.variables_);
7584 constraints_.Add(other.constraints_);
7585 if (other.objective_ !=
null) {
7586 if (objective_ ==
null) {
7587 Objective =
new global::Google.OrTools.Sat.CpObjectiveProto();
7591 searchStrategy_.Add(other.searchStrategy_);
7592 if (other.solutionHint_ !=
null) {
7593 if (solutionHint_ ==
null) {
7594 SolutionHint =
new global::Google.OrTools.Sat.PartialVariableAssignment();
7598 assumptions_.Add(other.assumptions_);
7599 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7602 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7604 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7605 input.ReadRawMessage(
this);
7608 while ((tag = input.ReadTag()) != 0) {
7611 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
7614 Name = input.ReadString();
7618 variables_.AddEntriesFrom(input, _repeated_variables_codec);
7622 constraints_.AddEntriesFrom(input, _repeated_constraints_codec);
7626 if (objective_ ==
null) {
7627 Objective =
new global::Google.OrTools.Sat.CpObjectiveProto();
7629 input.ReadMessage(Objective);
7633 searchStrategy_.AddEntriesFrom(input, _repeated_searchStrategy_codec);
7637 if (solutionHint_ ==
null) {
7638 SolutionHint =
new global::Google.OrTools.Sat.PartialVariableAssignment();
7640 input.ReadMessage(SolutionHint);
7645 assumptions_.AddEntriesFrom(input, _repeated_assumptions_codec);
7653 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7654 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7655 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
7657 while ((tag = input.ReadTag()) != 0) {
7660 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
7663 Name = input.ReadString();
7667 variables_.AddEntriesFrom(ref input, _repeated_variables_codec);
7671 constraints_.AddEntriesFrom(ref input, _repeated_constraints_codec);
7675 if (objective_ ==
null) {
7676 Objective =
new global::Google.OrTools.Sat.CpObjectiveProto();
7678 input.ReadMessage(Objective);
7682 searchStrategy_.AddEntriesFrom(ref input, _repeated_searchStrategy_codec);
7686 if (solutionHint_ ==
null) {
7687 SolutionHint =
new global::Google.OrTools.Sat.PartialVariableAssignment();
7689 input.ReadMessage(SolutionHint);
7694 assumptions_.AddEntriesFrom(ref input, _repeated_assumptions_codec);
7712 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7713 , pb::IBufferMessage
7716 private static readonly pb::MessageParser<CpSolverResponse> _parser =
new pb::MessageParser<CpSolverResponse>(() =>
new CpSolverResponse());
7717 private pb::UnknownFieldSet _unknownFields;
7718 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7719 public static pb::MessageParser<CpSolverResponse> Parser {
get {
return _parser; } }
7721 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7722 public static pbr::MessageDescriptor Descriptor {
7723 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[24]; }
7726 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7727 pbr::MessageDescriptor pb::IMessage.Descriptor {
7728 get {
return Descriptor; }
7731 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7736 partial
void OnConstruction();
7738 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7740 status_ = other.status_;
7741 solution_ = other.solution_.Clone();
7742 objectiveValue_ = other.objectiveValue_;
7743 bestObjectiveBound_ = other.bestObjectiveBound_;
7744 solutionLowerBounds_ = other.solutionLowerBounds_.Clone();
7745 solutionUpperBounds_ = other.solutionUpperBounds_.Clone();
7746 tightenedVariables_ = other.tightenedVariables_.Clone();
7747 sufficientAssumptionsForInfeasibility_ = other.sufficientAssumptionsForInfeasibility_.Clone();
7748 allSolutionsWereFound_ = other.allSolutionsWereFound_;
7749 numBooleans_ = other.numBooleans_;
7750 numConflicts_ = other.numConflicts_;
7751 numBranches_ = other.numBranches_;
7752 numBinaryPropagations_ = other.numBinaryPropagations_;
7753 numIntegerPropagations_ = other.numIntegerPropagations_;
7754 wallTime_ = other.wallTime_;
7755 userTime_ = other.userTime_;
7756 deterministicTime_ = other.deterministicTime_;
7757 primalIntegral_ = other.primalIntegral_;
7758 solutionInfo_ = other.solutionInfo_;
7759 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7762 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7768 public const int StatusFieldNumber = 1;
7769 private global::Google.OrTools.Sat.CpSolverStatus status_ = global::Google.OrTools.Sat.CpSolverStatus.Unknown;
7773 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7774 public global::Google.OrTools.Sat.CpSolverStatus Status {
7775 get {
return status_; }
7782 public const int SolutionFieldNumber = 2;
7783 private static readonly pb::FieldCodec<long> _repeated_solution_codec
7784 = pb::FieldCodec.ForInt64(18);
7785 private readonly pbc::RepeatedField<long> solution_ =
new pbc::RepeatedField<long>();
7792 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7793 public pbc::RepeatedField<long> Solution {
7794 get {
return solution_; }
7798 public const int ObjectiveValueFieldNumber = 3;
7799 private double objectiveValue_;
7806 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7807 public double ObjectiveValue {
7808 get {
return objectiveValue_; }
7810 objectiveValue_ = value;
7815 public const int BestObjectiveBoundFieldNumber = 4;
7816 private double bestObjectiveBound_;
7822 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7823 public double BestObjectiveBound {
7824 get {
return bestObjectiveBound_; }
7826 bestObjectiveBound_ = value;
7831 public const int SolutionLowerBoundsFieldNumber = 18;
7832 private static readonly pb::FieldCodec<long> _repeated_solutionLowerBounds_codec
7833 = pb::FieldCodec.ForInt64(146);
7834 private readonly pbc::RepeatedField<long> solutionLowerBounds_ =
new pbc::RepeatedField<long>();
7844 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7845 public pbc::RepeatedField<long> SolutionLowerBounds {
7846 get {
return solutionLowerBounds_; }
7850 public const int SolutionUpperBoundsFieldNumber = 19;
7851 private static readonly pb::FieldCodec<long> _repeated_solutionUpperBounds_codec
7852 = pb::FieldCodec.ForInt64(154);
7853 private readonly pbc::RepeatedField<long> solutionUpperBounds_ =
new pbc::RepeatedField<long>();
7854 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7855 public pbc::RepeatedField<long> SolutionUpperBounds {
7856 get {
return solutionUpperBounds_; }
7860 public const int TightenedVariablesFieldNumber = 21;
7861 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.IntegerVariableProto> _repeated_tightenedVariables_codec
7862 = pb::FieldCodec.ForMessage(170, global::Google.OrTools.Sat.IntegerVariableProto.Parser);
7863 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto> tightenedVariables_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>();
7878 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7879 public pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto> TightenedVariables {
7880 get {
return tightenedVariables_; }
7884 public const int SufficientAssumptionsForInfeasibilityFieldNumber = 23;
7885 private static readonly pb::FieldCodec<int> _repeated_sufficientAssumptionsForInfeasibility_codec
7886 = pb::FieldCodec.ForInt32(186);
7887 private readonly pbc::RepeatedField<int> sufficientAssumptionsForInfeasibility_ =
new pbc::RepeatedField<int>();
7905 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7906 public pbc::RepeatedField<int> SufficientAssumptionsForInfeasibility {
7907 get {
return sufficientAssumptionsForInfeasibility_; }
7911 public const int AllSolutionsWereFoundFieldNumber = 5;
7912 private bool allSolutionsWereFound_;
7920 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7921 public bool AllSolutionsWereFound {
7922 get {
return allSolutionsWereFound_; }
7924 allSolutionsWereFound_ = value;
7929 public const int NumBooleansFieldNumber = 10;
7930 private long numBooleans_;
7934 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7935 public long NumBooleans {
7936 get {
return numBooleans_; }
7938 numBooleans_ = value;
7943 public const int NumConflictsFieldNumber = 11;
7944 private long numConflicts_;
7945 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7946 public long NumConflicts {
7947 get {
return numConflicts_; }
7949 numConflicts_ = value;
7954 public const int NumBranchesFieldNumber = 12;
7955 private long numBranches_;
7956 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7957 public long NumBranches {
7958 get {
return numBranches_; }
7960 numBranches_ = value;
7965 public const int NumBinaryPropagationsFieldNumber = 13;
7966 private long numBinaryPropagations_;
7967 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7968 public long NumBinaryPropagations {
7969 get {
return numBinaryPropagations_; }
7971 numBinaryPropagations_ = value;
7976 public const int NumIntegerPropagationsFieldNumber = 14;
7977 private long numIntegerPropagations_;
7978 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7979 public long NumIntegerPropagations {
7980 get {
return numIntegerPropagations_; }
7982 numIntegerPropagations_ = value;
7987 public const int WallTimeFieldNumber = 15;
7988 private double wallTime_;
7989 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7990 public double WallTime {
7991 get {
return wallTime_; }
7998 public const int UserTimeFieldNumber = 16;
7999 private double userTime_;
8000 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8001 public double UserTime {
8002 get {
return userTime_; }
8009 public const int DeterministicTimeFieldNumber = 17;
8010 private double deterministicTime_;
8011 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8012 public double DeterministicTime {
8013 get {
return deterministicTime_; }
8015 deterministicTime_ = value;
8020 public const int PrimalIntegralFieldNumber = 22;
8021 private double primalIntegral_;
8022 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8023 public double PrimalIntegral {
8024 get {
return primalIntegral_; }
8026 primalIntegral_ = value;
8031 public const int SolutionInfoFieldNumber = 20;
8032 private string solutionInfo_ =
"";
8036 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8037 public string SolutionInfo {
8038 get {
return solutionInfo_; }
8040 solutionInfo_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
8044 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8049 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8051 if (ReferenceEquals(other,
null)) {
8054 if (ReferenceEquals(other,
this)) {
8057 if (Status != other.
Status)
return false;
8058 if(!solution_.Equals(other.solution_))
return false;
8059 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ObjectiveValue, other.
ObjectiveValue))
return false;
8060 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(BestObjectiveBound, other.
BestObjectiveBound))
return false;
8061 if(!solutionLowerBounds_.Equals(other.solutionLowerBounds_))
return false;
8062 if(!solutionUpperBounds_.Equals(other.solutionUpperBounds_))
return false;
8063 if(!tightenedVariables_.Equals(other.tightenedVariables_))
return false;
8064 if(!sufficientAssumptionsForInfeasibility_.Equals(other.sufficientAssumptionsForInfeasibility_))
return false;
8066 if (NumBooleans != other.
NumBooleans)
return false;
8068 if (NumBranches != other.
NumBranches)
return false;
8071 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(WallTime, other.
WallTime))
return false;
8072 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(UserTime, other.
UserTime))
return false;
8073 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DeterministicTime, other.
DeterministicTime))
return false;
8074 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(PrimalIntegral, other.
PrimalIntegral))
return false;
8076 return Equals(_unknownFields, other._unknownFields);
8079 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8082 if (Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) hash ^= Status.GetHashCode();
8083 hash ^= solution_.GetHashCode();
8084 if (ObjectiveValue != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ObjectiveValue);
8085 if (BestObjectiveBound != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BestObjectiveBound);
8086 hash ^= solutionLowerBounds_.GetHashCode();
8087 hash ^= solutionUpperBounds_.GetHashCode();
8088 hash ^= tightenedVariables_.GetHashCode();
8089 hash ^= sufficientAssumptionsForInfeasibility_.GetHashCode();
8090 if (AllSolutionsWereFound !=
false) hash ^= AllSolutionsWereFound.GetHashCode();
8091 if (NumBooleans != 0L) hash ^= NumBooleans.GetHashCode();
8092 if (NumConflicts != 0L) hash ^= NumConflicts.GetHashCode();
8093 if (NumBranches != 0L) hash ^= NumBranches.GetHashCode();
8094 if (NumBinaryPropagations != 0L) hash ^= NumBinaryPropagations.GetHashCode();
8095 if (NumIntegerPropagations != 0L) hash ^= NumIntegerPropagations.GetHashCode();
8096 if (WallTime != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(WallTime);
8097 if (UserTime != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(UserTime);
8098 if (DeterministicTime != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DeterministicTime);
8099 if (PrimalIntegral != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PrimalIntegral);
8100 if (SolutionInfo.Length != 0) hash ^= SolutionInfo.GetHashCode();
8101 if (_unknownFields !=
null) {
8102 hash ^= _unknownFields.GetHashCode();
8107 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8109 return pb::JsonFormatter.ToDiagnosticString(
this);
8112 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8113 public void WriteTo(pb::CodedOutputStream output) {
8114 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8115 output.WriteRawMessage(
this);
8117 if (Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
8118 output.WriteRawTag(8);
8119 output.WriteEnum((
int) Status);
8121 solution_.WriteTo(output, _repeated_solution_codec);
8122 if (ObjectiveValue != 0D) {
8123 output.WriteRawTag(25);
8124 output.WriteDouble(ObjectiveValue);
8126 if (BestObjectiveBound != 0D) {
8127 output.WriteRawTag(33);
8128 output.WriteDouble(BestObjectiveBound);
8130 if (AllSolutionsWereFound !=
false) {
8131 output.WriteRawTag(40);
8132 output.WriteBool(AllSolutionsWereFound);
8134 if (NumBooleans != 0L) {
8135 output.WriteRawTag(80);
8136 output.WriteInt64(NumBooleans);
8138 if (NumConflicts != 0L) {
8139 output.WriteRawTag(88);
8140 output.WriteInt64(NumConflicts);
8142 if (NumBranches != 0L) {
8143 output.WriteRawTag(96);
8144 output.WriteInt64(NumBranches);
8146 if (NumBinaryPropagations != 0L) {
8147 output.WriteRawTag(104);
8148 output.WriteInt64(NumBinaryPropagations);
8150 if (NumIntegerPropagations != 0L) {
8151 output.WriteRawTag(112);
8152 output.WriteInt64(NumIntegerPropagations);
8154 if (WallTime != 0D) {
8155 output.WriteRawTag(121);
8156 output.WriteDouble(WallTime);
8158 if (UserTime != 0D) {
8159 output.WriteRawTag(129, 1);
8160 output.WriteDouble(UserTime);
8162 if (DeterministicTime != 0D) {
8163 output.WriteRawTag(137, 1);
8164 output.WriteDouble(DeterministicTime);
8166 solutionLowerBounds_.WriteTo(output, _repeated_solutionLowerBounds_codec);
8167 solutionUpperBounds_.WriteTo(output, _repeated_solutionUpperBounds_codec);
8168 if (SolutionInfo.Length != 0) {
8169 output.WriteRawTag(162, 1);
8170 output.WriteString(SolutionInfo);
8172 tightenedVariables_.WriteTo(output, _repeated_tightenedVariables_codec);
8173 if (PrimalIntegral != 0D) {
8174 output.WriteRawTag(177, 1);
8175 output.WriteDouble(PrimalIntegral);
8177 sufficientAssumptionsForInfeasibility_.WriteTo(output, _repeated_sufficientAssumptionsForInfeasibility_codec);
8178 if (_unknownFields !=
null) {
8179 _unknownFields.WriteTo(output);
8184 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8186 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8187 if (Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
8188 output.WriteRawTag(8);
8189 output.WriteEnum((
int) Status);
8191 solution_.WriteTo(ref output, _repeated_solution_codec);
8192 if (ObjectiveValue != 0D) {
8193 output.WriteRawTag(25);
8194 output.WriteDouble(ObjectiveValue);
8196 if (BestObjectiveBound != 0D) {
8197 output.WriteRawTag(33);
8198 output.WriteDouble(BestObjectiveBound);
8200 if (AllSolutionsWereFound !=
false) {
8201 output.WriteRawTag(40);
8202 output.WriteBool(AllSolutionsWereFound);
8204 if (NumBooleans != 0L) {
8205 output.WriteRawTag(80);
8206 output.WriteInt64(NumBooleans);
8208 if (NumConflicts != 0L) {
8209 output.WriteRawTag(88);
8210 output.WriteInt64(NumConflicts);
8212 if (NumBranches != 0L) {
8213 output.WriteRawTag(96);
8214 output.WriteInt64(NumBranches);
8216 if (NumBinaryPropagations != 0L) {
8217 output.WriteRawTag(104);
8218 output.WriteInt64(NumBinaryPropagations);
8220 if (NumIntegerPropagations != 0L) {
8221 output.WriteRawTag(112);
8222 output.WriteInt64(NumIntegerPropagations);
8224 if (WallTime != 0D) {
8225 output.WriteRawTag(121);
8226 output.WriteDouble(WallTime);
8228 if (UserTime != 0D) {
8229 output.WriteRawTag(129, 1);
8230 output.WriteDouble(UserTime);
8232 if (DeterministicTime != 0D) {
8233 output.WriteRawTag(137, 1);
8234 output.WriteDouble(DeterministicTime);
8236 solutionLowerBounds_.WriteTo(ref output, _repeated_solutionLowerBounds_codec);
8237 solutionUpperBounds_.WriteTo(ref output, _repeated_solutionUpperBounds_codec);
8238 if (SolutionInfo.Length != 0) {
8239 output.WriteRawTag(162, 1);
8240 output.WriteString(SolutionInfo);
8242 tightenedVariables_.WriteTo(ref output, _repeated_tightenedVariables_codec);
8243 if (PrimalIntegral != 0D) {
8244 output.WriteRawTag(177, 1);
8245 output.WriteDouble(PrimalIntegral);
8247 sufficientAssumptionsForInfeasibility_.WriteTo(ref output, _repeated_sufficientAssumptionsForInfeasibility_codec);
8248 if (_unknownFields !=
null) {
8249 _unknownFields.WriteTo(ref output);
8254 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8257 if (Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
8258 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) Status);
8260 size += solution_.CalculateSize(_repeated_solution_codec);
8261 if (ObjectiveValue != 0D) {
8264 if (BestObjectiveBound != 0D) {
8267 size += solutionLowerBounds_.CalculateSize(_repeated_solutionLowerBounds_codec);
8268 size += solutionUpperBounds_.CalculateSize(_repeated_solutionUpperBounds_codec);
8269 size += tightenedVariables_.CalculateSize(_repeated_tightenedVariables_codec);
8270 size += sufficientAssumptionsForInfeasibility_.CalculateSize(_repeated_sufficientAssumptionsForInfeasibility_codec);
8271 if (AllSolutionsWereFound !=
false) {
8274 if (NumBooleans != 0L) {
8275 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumBooleans);
8277 if (NumConflicts != 0L) {
8278 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumConflicts);
8280 if (NumBranches != 0L) {
8281 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumBranches);
8283 if (NumBinaryPropagations != 0L) {
8284 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumBinaryPropagations);
8286 if (NumIntegerPropagations != 0L) {
8287 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumIntegerPropagations);
8289 if (WallTime != 0D) {
8292 if (UserTime != 0D) {
8295 if (DeterministicTime != 0D) {
8298 if (PrimalIntegral != 0D) {
8301 if (SolutionInfo.Length != 0) {
8302 size += 2 + pb::CodedOutputStream.ComputeStringSize(SolutionInfo);
8304 if (_unknownFields !=
null) {
8305 size += _unknownFields.CalculateSize();
8310 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8312 if (other ==
null) {
8315 if (other.
Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
8318 solution_.Add(other.solution_);
8325 solutionLowerBounds_.Add(other.solutionLowerBounds_);
8326 solutionUpperBounds_.Add(other.solutionUpperBounds_);
8327 tightenedVariables_.Add(other.tightenedVariables_);
8328 sufficientAssumptionsForInfeasibility_.Add(other.sufficientAssumptionsForInfeasibility_);
8362 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8365 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8367 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8368 input.ReadRawMessage(
this);
8371 while ((tag = input.ReadTag()) != 0) {
8374 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
8377 Status = (global::Google.OrTools.Sat.CpSolverStatus) input.ReadEnum();
8382 solution_.AddEntriesFrom(input, _repeated_solution_codec);
8386 ObjectiveValue = input.ReadDouble();
8390 BestObjectiveBound = input.ReadDouble();
8394 AllSolutionsWereFound = input.ReadBool();
8398 NumBooleans = input.ReadInt64();
8402 NumConflicts = input.ReadInt64();
8406 NumBranches = input.ReadInt64();
8410 NumBinaryPropagations = input.ReadInt64();
8414 NumIntegerPropagations = input.ReadInt64();
8418 WallTime = input.ReadDouble();
8422 UserTime = input.ReadDouble();
8426 DeterministicTime = input.ReadDouble();
8431 solutionLowerBounds_.AddEntriesFrom(input, _repeated_solutionLowerBounds_codec);
8436 solutionUpperBounds_.AddEntriesFrom(input, _repeated_solutionUpperBounds_codec);
8440 SolutionInfo = input.ReadString();
8444 tightenedVariables_.AddEntriesFrom(input, _repeated_tightenedVariables_codec);
8448 PrimalIntegral = input.ReadDouble();
8453 sufficientAssumptionsForInfeasibility_.AddEntriesFrom(input, _repeated_sufficientAssumptionsForInfeasibility_codec);
8461 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8462 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8463 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
8465 while ((tag = input.ReadTag()) != 0) {
8468 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
8471 Status = (global::Google.OrTools.Sat.CpSolverStatus) input.ReadEnum();
8476 solution_.AddEntriesFrom(ref input, _repeated_solution_codec);
8480 ObjectiveValue = input.ReadDouble();
8484 BestObjectiveBound = input.ReadDouble();
8488 AllSolutionsWereFound = input.ReadBool();
8492 NumBooleans = input.ReadInt64();
8496 NumConflicts = input.ReadInt64();
8500 NumBranches = input.ReadInt64();
8504 NumBinaryPropagations = input.ReadInt64();
8508 NumIntegerPropagations = input.ReadInt64();
8512 WallTime = input.ReadDouble();
8516 UserTime = input.ReadDouble();
8520 DeterministicTime = input.ReadDouble();
8525 solutionLowerBounds_.AddEntriesFrom(ref input, _repeated_solutionLowerBounds_codec);
8530 solutionUpperBounds_.AddEntriesFrom(ref input, _repeated_solutionUpperBounds_codec);
8534 SolutionInfo = input.ReadString();
8538 tightenedVariables_.AddEntriesFrom(ref input, _repeated_tightenedVariables_codec);
8542 PrimalIntegral = input.ReadDouble();
8547 sufficientAssumptionsForInfeasibility_.AddEntriesFrom(ref input, _repeated_sufficientAssumptionsForInfeasibility_codec);
8561 #endregion Designer generated code