5#pragma warning disable 1591, 0612, 3021, 8981
6#region Designer generated code
8using pb = global::Google.Protobuf;
9using pbc = global::Google.Protobuf.Collections;
10using pbr = global::Google.Protobuf.Reflection;
11using scg = global::System.Collections.Generic;
15 public static partial class CpModelReflection {
20 get {
return descriptor; }
22 private static pbr::FileDescriptor descriptor;
25 byte[] descriptorData = global::System.Convert.FromBase64String(
27 "ChpvcnRvb2xzL3NhdC9jcF9tb2RlbC5wcm90bxIXb3BlcmF0aW9uc19yZXNl",
28 "YXJjaC5zYXQiNAoUSW50ZWdlclZhcmlhYmxlUHJvdG8SDAoEbmFtZRgBIAEo",
29 "CRIOCgZkb21haW4YAiADKAMiJQoRQm9vbEFyZ3VtZW50UHJvdG8SEAoIbGl0",
30 "ZXJhbHMYASADKAUiRQoVTGluZWFyRXhwcmVzc2lvblByb3RvEgwKBHZhcnMY",
31 "ASADKAUSDgoGY29lZmZzGAIgAygDEg4KBm9mZnNldBgDIAEoAyKUAQoTTGlu",
32 "ZWFyQXJndW1lbnRQcm90bxI+CgZ0YXJnZXQYASABKAsyLi5vcGVyYXRpb25z",
33 "X3Jlc2VhcmNoLnNhdC5MaW5lYXJFeHByZXNzaW9uUHJvdG8SPQoFZXhwcnMY",
34 "AiADKAsyLi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5MaW5lYXJFeHByZXNz",
35 "aW9uUHJvdG8iXAobQWxsRGlmZmVyZW50Q29uc3RyYWludFByb3RvEj0KBWV4",
36 "cHJzGAEgAygLMi4ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGluZWFyRXhw",
37 "cmVzc2lvblByb3RvIkUKFUxpbmVhckNvbnN0cmFpbnRQcm90bxIMCgR2YXJz",
38 "GAEgAygFEg4KBmNvZWZmcxgCIAMoAxIOCgZkb21haW4YAyADKAMikQIKFkVs",
39 "ZW1lbnRDb25zdHJhaW50UHJvdG8SDQoFaW5kZXgYASABKAUSDgoGdGFyZ2V0",
40 "GAIgASgFEgwKBHZhcnMYAyADKAUSRAoMbGluZWFyX2luZGV4GAQgASgLMi4u",
41 "b3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGluZWFyRXhwcmVzc2lvblByb3Rv",
42 "EkUKDWxpbmVhcl90YXJnZXQYBSABKAsyLi5vcGVyYXRpb25zX3Jlc2VhcmNo",
43 "LnNhdC5MaW5lYXJFeHByZXNzaW9uUHJvdG8SPQoFZXhwcnMYBiADKAsyLi5v",
44 "cGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5MaW5lYXJFeHByZXNzaW9uUHJvdG8i",
45 "0wEKF0ludGVydmFsQ29uc3RyYWludFByb3RvEj0KBXN0YXJ0GAQgASgLMi4u",
46 "b3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGluZWFyRXhwcmVzc2lvblByb3Rv",
47 "EjsKA2VuZBgFIAEoCzIuLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkxpbmVh",
48 "ckV4cHJlc3Npb25Qcm90bxI8CgRzaXplGAYgASgLMi4ub3BlcmF0aW9uc19y",
49 "ZXNlYXJjaC5zYXQuTGluZWFyRXhwcmVzc2lvblByb3RvIi0KGE5vT3Zlcmxh",
50 "cENvbnN0cmFpbnRQcm90bxIRCglpbnRlcnZhbHMYASADKAUiRgoaTm9PdmVy",
51 "bGFwMkRDb25zdHJhaW50UHJvdG8SEwoLeF9pbnRlcnZhbHMYASADKAUSEwoL",
52 "eV9pbnRlcnZhbHMYAiADKAUisQEKGUN1bXVsYXRpdmVDb25zdHJhaW50UHJv",
53 "dG8SQAoIY2FwYWNpdHkYASABKAsyLi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNh",
54 "dC5MaW5lYXJFeHByZXNzaW9uUHJvdG8SEQoJaW50ZXJ2YWxzGAIgAygFEj8K",
55 "B2RlbWFuZHMYAyADKAsyLi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5MaW5l",
56 "YXJFeHByZXNzaW9uUHJvdG8i6gEKGFJlc2Vydm9pckNvbnN0cmFpbnRQcm90",
57 "bxIRCgltaW5fbGV2ZWwYASABKAMSEQoJbWF4X2xldmVsGAIgASgDEkIKCnRp",
58 "bWVfZXhwcnMYAyADKAsyLi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5MaW5l",
59 "YXJFeHByZXNzaW9uUHJvdG8SRQoNbGV2ZWxfY2hhbmdlcxgGIAMoCzIuLm9w",
60 "ZXJhdGlvbnNfcmVzZWFyY2guc2F0LkxpbmVhckV4cHJlc3Npb25Qcm90bxIX",
61 "Cg9hY3RpdmVfbGl0ZXJhbHMYBSADKAVKBAgEEAUiSAoWQ2lyY3VpdENvbnN0",
62 "cmFpbnRQcm90bxINCgV0YWlscxgDIAMoBRINCgVoZWFkcxgEIAMoBRIQCghs",
63 "aXRlcmFscxgFIAMoBSKQAgoVUm91dGVzQ29uc3RyYWludFByb3RvEg0KBXRh",
64 "aWxzGAEgAygFEg0KBWhlYWRzGAIgAygFEhAKCGxpdGVyYWxzGAMgAygFEg8K",
65 "B2RlbWFuZHMYBCADKAUSEAoIY2FwYWNpdHkYBSABKAMSUgoKZGltZW5zaW9u",
66 "cxgGIAMoCzI+Lm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LlJvdXRlc0NvbnN0",
67 "cmFpbnRQcm90by5Ob2RlRXhwcmVzc2lvbnMaUAoPTm9kZUV4cHJlc3Npb25z",
68 "Ej0KBWV4cHJzGAEgAygLMi4ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGlu",
69 "ZWFyRXhwcmVzc2lvblByb3RvIoQBChRUYWJsZUNvbnN0cmFpbnRQcm90bxIM",
70 "CgR2YXJzGAEgAygFEg4KBnZhbHVlcxgCIAMoAxI9CgVleHBycxgEIAMoCzIu",
71 "Lm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkxpbmVhckV4cHJlc3Npb25Qcm90",
72 "bxIPCgduZWdhdGVkGAMgASgIIj0KFkludmVyc2VDb25zdHJhaW50UHJvdG8S",
73 "EAoIZl9kaXJlY3QYASADKAUSEQoJZl9pbnZlcnNlGAIgAygFIuEBChhBdXRv",
74 "bWF0b25Db25zdHJhaW50UHJvdG8SFgoOc3RhcnRpbmdfc3RhdGUYAiABKAMS",
75 "FAoMZmluYWxfc3RhdGVzGAMgAygDEhcKD3RyYW5zaXRpb25fdGFpbBgEIAMo",
76 "AxIXCg90cmFuc2l0aW9uX2hlYWQYBSADKAMSGAoQdHJhbnNpdGlvbl9sYWJl",
77 "bBgGIAMoAxIMCgR2YXJzGAcgAygFEj0KBWV4cHJzGAggAygLMi4ub3BlcmF0",
78 "aW9uc19yZXNlYXJjaC5zYXQuTGluZWFyRXhwcmVzc2lvblByb3RvIiQKFExp",
79 "c3RPZlZhcmlhYmxlc1Byb3RvEgwKBHZhcnMYASADKAUi8AwKD0NvbnN0cmFp",
80 "bnRQcm90bxIMCgRuYW1lGAEgASgJEhsKE2VuZm9yY2VtZW50X2xpdGVyYWwY",
81 "AiADKAUSPQoHYm9vbF9vchgDIAEoCzIqLm9wZXJhdGlvbnNfcmVzZWFyY2gu",
82 "c2F0LkJvb2xBcmd1bWVudFByb3RvSAASPgoIYm9vbF9hbmQYBCABKAsyKi5v",
83 "cGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5Cb29sQXJndW1lbnRQcm90b0gAEkEK",
84 "C2F0X21vc3Rfb25lGBogASgLMioub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQu",
85 "Qm9vbEFyZ3VtZW50UHJvdG9IABJBCgtleGFjdGx5X29uZRgdIAEoCzIqLm9w",
86 "ZXJhdGlvbnNfcmVzZWFyY2guc2F0LkJvb2xBcmd1bWVudFByb3RvSAASPgoI",
87 "Ym9vbF94b3IYBSABKAsyKi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5Cb29s",
88 "QXJndW1lbnRQcm90b0gAEj8KB2ludF9kaXYYByABKAsyLC5vcGVyYXRpb25z",
89 "X3Jlc2VhcmNoLnNhdC5MaW5lYXJBcmd1bWVudFByb3RvSAASPwoHaW50X21v",
90 "ZBgIIAEoCzIsLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkxpbmVhckFyZ3Vt",
91 "ZW50UHJvdG9IABJACghpbnRfcHJvZBgLIAEoCzIsLm9wZXJhdGlvbnNfcmVz",
92 "ZWFyY2guc2F0LkxpbmVhckFyZ3VtZW50UHJvdG9IABI/CgdsaW5fbWF4GBsg",
93 "ASgLMiwub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGluZWFyQXJndW1lbnRQ",
94 "cm90b0gAEkAKBmxpbmVhchgMIAEoCzIuLm9wZXJhdGlvbnNfcmVzZWFyY2gu",
95 "c2F0LkxpbmVhckNvbnN0cmFpbnRQcm90b0gAEkgKCGFsbF9kaWZmGA0gASgL",
96 "MjQub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuQWxsRGlmZmVyZW50Q29uc3Ry",
97 "YWludFByb3RvSAASQgoHZWxlbWVudBgOIAEoCzIvLm9wZXJhdGlvbnNfcmVz",
98 "ZWFyY2guc2F0LkVsZW1lbnRDb25zdHJhaW50UHJvdG9IABJCCgdjaXJjdWl0",
99 "GA8gASgLMi8ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuQ2lyY3VpdENvbnN0",
100 "cmFpbnRQcm90b0gAEkAKBnJvdXRlcxgXIAEoCzIuLm9wZXJhdGlvbnNfcmVz",
101 "ZWFyY2guc2F0LlJvdXRlc0NvbnN0cmFpbnRQcm90b0gAEj4KBXRhYmxlGBAg",
102 "ASgLMi0ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuVGFibGVDb25zdHJhaW50",
103 "UHJvdG9IABJGCglhdXRvbWF0b24YESABKAsyMS5vcGVyYXRpb25zX3Jlc2Vh",
104 "cmNoLnNhdC5BdXRvbWF0b25Db25zdHJhaW50UHJvdG9IABJCCgdpbnZlcnNl",
105 "GBIgASgLMi8ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuSW52ZXJzZUNvbnN0",
106 "cmFpbnRQcm90b0gAEkYKCXJlc2Vydm9pchgYIAEoCzIxLm9wZXJhdGlvbnNf",
107 "cmVzZWFyY2guc2F0LlJlc2Vydm9pckNvbnN0cmFpbnRQcm90b0gAEkQKCGlu",
108 "dGVydmFsGBMgASgLMjAub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuSW50ZXJ2",
109 "YWxDb25zdHJhaW50UHJvdG9IABJHCgpub19vdmVybGFwGBQgASgLMjEub3Bl",
110 "cmF0aW9uc19yZXNlYXJjaC5zYXQuTm9PdmVybGFwQ29uc3RyYWludFByb3Rv",
111 "SAASTAoNbm9fb3ZlcmxhcF8yZBgVIAEoCzIzLm9wZXJhdGlvbnNfcmVzZWFy",
112 "Y2guc2F0Lk5vT3ZlcmxhcDJEQ29uc3RyYWludFByb3RvSAASSAoKY3VtdWxh",
113 "dGl2ZRgWIAEoCzIyLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkN1bXVsYXRp",
114 "dmVDb25zdHJhaW50UHJvdG9IABJJChBkdW1teV9jb25zdHJhaW50GB4gASgL",
115 "Mi0ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGlzdE9mVmFyaWFibGVzUHJv",
116 "dG9IAEIMCgpjb25zdHJhaW50IuABChBDcE9iamVjdGl2ZVByb3RvEgwKBHZh",
117 "cnMYASADKAUSDgoGY29lZmZzGAQgAygDEg4KBm9mZnNldBgCIAEoARIWCg5z",
118 "Y2FsaW5nX2ZhY3RvchgDIAEoARIOCgZkb21haW4YBSADKAMSGQoRc2NhbGlu",
119 "Z193YXNfZXhhY3QYBiABKAgSHQoVaW50ZWdlcl9iZWZvcmVfb2Zmc2V0GAcg",
120 "ASgDEhwKFGludGVnZXJfYWZ0ZXJfb2Zmc2V0GAkgASgDEh4KFmludGVnZXJf",
121 "c2NhbGluZ19mYWN0b3IYCCABKAMiVQoTRmxvYXRPYmplY3RpdmVQcm90bxIM",
122 "CgR2YXJzGAEgAygFEg4KBmNvZWZmcxgCIAMoARIOCgZvZmZzZXQYAyABKAES",
123 "EAoIbWF4aW1pemUYBCABKAgigQUKFURlY2lzaW9uU3RyYXRlZ3lQcm90bxIR",
124 "Cgl2YXJpYWJsZXMYASADKAUSPQoFZXhwcnMYBSADKAsyLi5vcGVyYXRpb25z",
125 "X3Jlc2VhcmNoLnNhdC5MaW5lYXJFeHByZXNzaW9uUHJvdG8SbQobdmFyaWFi",
126 "bGVfc2VsZWN0aW9uX3N0cmF0ZWd5GAIgASgOMkgub3BlcmF0aW9uc19yZXNl",
127 "YXJjaC5zYXQuRGVjaXNpb25TdHJhdGVneVByb3RvLlZhcmlhYmxlU2VsZWN0",
128 "aW9uU3RyYXRlZ3kSaQoZZG9tYWluX3JlZHVjdGlvbl9zdHJhdGVneRgDIAEo",
129 "DjJGLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkRlY2lzaW9uU3RyYXRlZ3lQ",
130 "cm90by5Eb21haW5SZWR1Y3Rpb25TdHJhdGVneSKUAQoZVmFyaWFibGVTZWxl",
131 "Y3Rpb25TdHJhdGVneRIQCgxDSE9PU0VfRklSU1QQABIVChFDSE9PU0VfTE9X",
132 "RVNUX01JThABEhYKEkNIT09TRV9ISUdIRVNUX01BWBACEhoKFkNIT09TRV9N",
133 "SU5fRE9NQUlOX1NJWkUQAxIaChZDSE9PU0VfTUFYX0RPTUFJTl9TSVpFEAQi",
134 "pAEKF0RvbWFpblJlZHVjdGlvblN0cmF0ZWd5EhQKEFNFTEVDVF9NSU5fVkFM",
135 "VUUQABIUChBTRUxFQ1RfTUFYX1ZBTFVFEAESFQoRU0VMRUNUX0xPV0VSX0hB",
136 "TEYQAhIVChFTRUxFQ1RfVVBQRVJfSEFMRhADEhcKE1NFTEVDVF9NRURJQU5f",
137 "VkFMVUUQBBIWChJTRUxFQ1RfUkFORE9NX0hBTEYQBSI5ChlQYXJ0aWFsVmFy",
138 "aWFibGVBc3NpZ25tZW50EgwKBHZhcnMYASADKAUSDgoGdmFsdWVzGAIgAygD",
139 "Ij4KFlNwYXJzZVBlcm11dGF0aW9uUHJvdG8SDwoHc3VwcG9ydBgBIAMoBRIT",
140 "CgtjeWNsZV9zaXplcxgCIAMoBSJHChBEZW5zZU1hdHJpeFByb3RvEhAKCG51",
141 "bV9yb3dzGAEgASgFEhAKCG51bV9jb2xzGAIgASgFEg8KB2VudHJpZXMYAyAD",
142 "KAUilAEKDVN5bW1ldHJ5UHJvdG8SRQoMcGVybXV0YXRpb25zGAEgAygLMi8u",
143 "b3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuU3BhcnNlUGVybXV0YXRpb25Qcm90",
144 "bxI8CglvcmJpdG9wZXMYAiADKAsyKS5vcGVyYXRpb25zX3Jlc2VhcmNoLnNh",
145 "dC5EZW5zZU1hdHJpeFByb3RvIo4ECgxDcE1vZGVsUHJvdG8SDAoEbmFtZRgB",
146 "IAEoCRJACgl2YXJpYWJsZXMYAiADKAsyLS5vcGVyYXRpb25zX3Jlc2VhcmNo",
147 "LnNhdC5JbnRlZ2VyVmFyaWFibGVQcm90bxI9Cgtjb25zdHJhaW50cxgDIAMo",
148 "CzIoLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkNvbnN0cmFpbnRQcm90bxI8",
149 "CglvYmplY3RpdmUYBCABKAsyKS5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5D",
150 "cE9iamVjdGl2ZVByb3RvEk4KGGZsb2F0aW5nX3BvaW50X29iamVjdGl2ZRgJ",
151 "IAEoCzIsLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkZsb2F0T2JqZWN0aXZl",
152 "UHJvdG8SRwoPc2VhcmNoX3N0cmF0ZWd5GAUgAygLMi4ub3BlcmF0aW9uc19y",
153 "ZXNlYXJjaC5zYXQuRGVjaXNpb25TdHJhdGVneVByb3RvEkkKDXNvbHV0aW9u",
154 "X2hpbnQYBiABKAsyMi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5QYXJ0aWFs",
155 "VmFyaWFibGVBc3NpZ25tZW50EhMKC2Fzc3VtcHRpb25zGAcgAygFEjgKCHN5",
156 "bW1ldHJ5GAggASgLMiYub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuU3ltbWV0",
157 "cnlQcm90byIiChBDcFNvbHZlclNvbHV0aW9uEg4KBnZhbHVlcxgBIAMoAyKx",
158 "BgoQQ3BTb2x2ZXJSZXNwb25zZRI3CgZzdGF0dXMYASABKA4yJy5vcGVyYXRp",
159 "b25zX3Jlc2VhcmNoLnNhdC5DcFNvbHZlclN0YXR1cxIQCghzb2x1dGlvbhgC",
160 "IAMoAxIXCg9vYmplY3RpdmVfdmFsdWUYAyABKAESHAoUYmVzdF9vYmplY3Rp",
161 "dmVfYm91bmQYBCABKAESRwoUYWRkaXRpb25hbF9zb2x1dGlvbnMYGyADKAsy",
162 "KS5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5DcFNvbHZlclNvbHV0aW9uEkoK",
163 "E3RpZ2h0ZW5lZF92YXJpYWJsZXMYFSADKAsyLS5vcGVyYXRpb25zX3Jlc2Vh",
164 "cmNoLnNhdC5JbnRlZ2VyVmFyaWFibGVQcm90bxIwCihzdWZmaWNpZW50X2Fz",
165 "c3VtcHRpb25zX2Zvcl9pbmZlYXNpYmlsaXR5GBcgAygFEkQKEWludGVnZXJf",
166 "b2JqZWN0aXZlGBwgASgLMikub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuQ3BP",
167 "YmplY3RpdmVQcm90bxIjChtpbm5lcl9vYmplY3RpdmVfbG93ZXJfYm91bmQY",
168 "HSABKAMSFAoMbnVtX2ludGVnZXJzGB4gASgDEhQKDG51bV9ib29sZWFucxgK",
169 "IAEoAxIaChJudW1fZml4ZWRfYm9vbGVhbnMYHyABKAMSFQoNbnVtX2NvbmZs",
170 "aWN0cxgLIAEoAxIUCgxudW1fYnJhbmNoZXMYDCABKAMSHwoXbnVtX2JpbmFy",
171 "eV9wcm9wYWdhdGlvbnMYDSABKAMSIAoYbnVtX2ludGVnZXJfcHJvcGFnYXRp",
172 "b25zGA4gASgDEhQKDG51bV9yZXN0YXJ0cxgYIAEoAxIZChFudW1fbHBfaXRl",
173 "cmF0aW9ucxgZIAEoAxIRCgl3YWxsX3RpbWUYDyABKAESEQoJdXNlcl90aW1l",
174 "GBAgASgBEhoKEmRldGVybWluaXN0aWNfdGltZRgRIAEoARIUCgxnYXBfaW50",
175 "ZWdyYWwYFiABKAESFQoNc29sdXRpb25faW5mbxgUIAEoCRIRCglzb2x2ZV9s",
176 "b2cYGiABKAkqWwoOQ3BTb2x2ZXJTdGF0dXMSCwoHVU5LTk9XThAAEhEKDU1P",
177 "REVMX0lOVkFMSUQQARIMCghGRUFTSUJMRRACEg4KCklORkVBU0lCTEUQAxIL",
178 "CgdPUFRJTUFMEARCdgoWY29tLmdvb2dsZS5vcnRvb2xzLnNhdEIPQ3BNb2Rl",
179 "bFByb3RvYnVmUAFaNGdpdGh1Yi5jb20vZ29vZ2xlL29yLXRvb2xzL29ydG9v",
180 "bHMvc2F0L3Byb3RvL2NwbW9kZWyqAhJHb29nbGUuT3JUb29scy5TYXRiBnBy",
182 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
183 new pbr::FileDescriptor[] { },
184 new pbr::GeneratedClrTypeInfo(
new[] {typeof(global::Google.
OrTools.
Sat.CpSolverStatus), },
null,
new pbr::GeneratedClrTypeInfo[] {
185 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
IntegerVariableProto), global::Google.OrTools.Sat.IntegerVariableProto.Parser,
new[]{
"Name",
"Domain" },
null,
null,
null,
null),
186 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
BoolArgumentProto), global::Google.OrTools.Sat.BoolArgumentProto.Parser,
new[]{
"Literals" },
null,
null,
null,
null),
187 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
LinearExpressionProto), global::Google.OrTools.Sat.LinearExpressionProto.Parser,
new[]{
"Vars",
"Coeffs",
"Offset" },
null,
null,
null,
null),
188 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
LinearArgumentProto), global::Google.OrTools.Sat.LinearArgumentProto.Parser,
new[]{
"Target",
"Exprs" },
null,
null,
null,
null),
189 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
AllDifferentConstraintProto), global::Google.OrTools.Sat.AllDifferentConstraintProto.Parser,
new[]{
"Exprs" },
null,
null,
null,
null),
190 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
LinearConstraintProto), global::Google.OrTools.Sat.LinearConstraintProto.Parser,
new[]{
"Vars",
"Coeffs",
"Domain" },
null,
null,
null,
null),
191 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
ElementConstraintProto), global::Google.OrTools.Sat.ElementConstraintProto.Parser,
new[]{
"Index",
"Target",
"Vars",
"LinearIndex",
"LinearTarget",
"Exprs" },
null,
null,
null,
null),
192 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
IntervalConstraintProto), global::Google.OrTools.Sat.IntervalConstraintProto.Parser,
new[]{
"Start",
"End",
"Size" },
null,
null,
null,
null),
193 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
NoOverlapConstraintProto), global::Google.OrTools.Sat.NoOverlapConstraintProto.Parser,
new[]{
"Intervals" },
null,
null,
null,
null),
194 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
NoOverlap2DConstraintProto), global::Google.OrTools.Sat.NoOverlap2DConstraintProto.Parser,
new[]{
"XIntervals",
"YIntervals" },
null,
null,
null,
null),
195 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
CumulativeConstraintProto), global::Google.OrTools.Sat.CumulativeConstraintProto.Parser,
new[]{
"Capacity",
"Intervals",
"Demands" },
null,
null,
null,
null),
196 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
ReservoirConstraintProto), global::Google.OrTools.Sat.ReservoirConstraintProto.Parser,
new[]{
"MinLevel",
"MaxLevel",
"TimeExprs",
"LevelChanges",
"ActiveLiterals" },
null,
null,
null,
null),
197 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
CircuitConstraintProto), global::Google.OrTools.Sat.CircuitConstraintProto.Parser,
new[]{
"Tails",
"Heads",
"Literals" },
null,
null,
null,
null),
198 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
RoutesConstraintProto), global::Google.OrTools.Sat.RoutesConstraintProto.Parser,
new[]{
"Tails",
"Heads",
"Literals",
"Demands",
"Capacity",
"Dimensions" },
null,
null,
null,
new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.RoutesConstraintProto.Types.NodeExpressions), global::Google.OrTools.Sat.RoutesConstraintProto.Types.NodeExpressions.Parser, new[]{
"Exprs" },
null,
null,
null,
null)}),
199 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.TableConstraintProto), global::Google.OrTools.Sat.TableConstraintProto.Parser,
new[]{
"Vars",
"Values",
"Exprs",
"Negated" },
null,
null,
null,
null),
200 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.InverseConstraintProto), global::Google.OrTools.Sat.InverseConstraintProto.Parser,
new[]{
"FDirect",
"FInverse" },
null,
null,
null,
null),
201 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.AutomatonConstraintProto), global::Google.OrTools.Sat.AutomatonConstraintProto.Parser,
new[]{
"StartingState",
"FinalStates",
"TransitionTail",
"TransitionHead",
"TransitionLabel",
"Vars",
"Exprs" },
null,
null,
null,
null),
202 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.ListOfVariablesProto), global::Google.OrTools.Sat.ListOfVariablesProto.Parser,
new[]{
"Vars" },
null,
null,
null,
null),
203 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.ConstraintProto), global::Google.OrTools.Sat.ConstraintProto.Parser,
new[]{
"Name",
"EnforcementLiteral",
"BoolOr",
"BoolAnd",
"AtMostOne",
"ExactlyOne",
"BoolXor",
"IntDiv",
"IntMod",
"IntProd",
"LinMax",
"Linear",
"AllDiff",
"Element",
"Circuit",
"Routes",
"Table",
"Automaton",
"Inverse",
"Reservoir",
"Interval",
"NoOverlap",
"NoOverlap2D",
"Cumulative",
"DummyConstraint" },
new[]{
"Constraint" },
null,
null,
null),
204 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CpObjectiveProto), global::Google.OrTools.Sat.CpObjectiveProto.Parser,
new[]{
"Vars",
"Coeffs",
"Offset",
"ScalingFactor",
"Domain",
"ScalingWasExact",
"IntegerBeforeOffset",
"IntegerAfterOffset",
"IntegerScalingFactor" },
null,
null,
null,
null),
205 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.FloatObjectiveProto), global::Google.OrTools.Sat.FloatObjectiveProto.Parser,
new[]{
"Vars",
"Coeffs",
"Offset",
"Maximize" },
null,
null,
null,
null),
206 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.DecisionStrategyProto), global::Google.OrTools.Sat.DecisionStrategyProto.Parser,
new[]{
"Variables",
"Exprs",
"VariableSelectionStrategy",
"DomainReductionStrategy" },
null,
new[]{ typeof(global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy), typeof(global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy) },
null,
null),
207 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.PartialVariableAssignment), global::Google.OrTools.Sat.PartialVariableAssignment.Parser,
new[]{
"Vars",
"Values" },
null,
null,
null,
null),
208 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.SparsePermutationProto), global::Google.OrTools.Sat.SparsePermutationProto.Parser,
new[]{
"Support",
"CycleSizes" },
null,
null,
null,
null),
209 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.DenseMatrixProto), global::Google.OrTools.Sat.DenseMatrixProto.Parser,
new[]{
"NumRows",
"NumCols",
"Entries" },
null,
null,
null,
null),
210 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.SymmetryProto), global::Google.OrTools.Sat.SymmetryProto.Parser,
new[]{
"Permutations",
"Orbitopes" },
null,
null,
null,
null),
211 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CpModelProto), global::Google.OrTools.Sat.CpModelProto.Parser,
new[]{
"Name",
"Variables",
"Constraints",
"Objective",
"FloatingPointObjective",
"SearchStrategy",
"SolutionHint",
"Assumptions",
"Symmetry" },
null,
null,
null,
null),
212 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CpSolverSolution), global::Google.OrTools.Sat.CpSolverSolution.Parser,
new[]{
"Values" },
null,
null,
null,
null),
213 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CpSolverResponse), global::Google.OrTools.Sat.CpSolverResponse.Parser,
new[]{
"Status",
"Solution",
"ObjectiveValue",
"BestObjectiveBound",
"AdditionalSolutions",
"TightenedVariables",
"SufficientAssumptionsForInfeasibility",
"IntegerObjective",
"InnerObjectiveLowerBound",
"NumIntegers",
"NumBooleans",
"NumFixedBooleans",
"NumConflicts",
"NumBranches",
"NumBinaryPropagations",
"NumIntegerPropagations",
"NumRestarts",
"NumLpIterations",
"WallTime",
"UserTime",
"DeterministicTime",
"GapIntegral",
"SolutionInfo",
"SolveLog" },
null,
null,
null,
null)
254 [pbr::OriginalName(
"OPTIMAL")] Optimal = 4,
281 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
282 public sealed partial class IntegerVariableProto : pb::IMessage<IntegerVariableProto>
283 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
287 private static readonly pb::MessageParser<IntegerVariableProto> _parser =
new pb::MessageParser<IntegerVariableProto>(() =>
new IntegerVariableProto());
288 private pb::UnknownFieldSet _unknownFields;
289 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
290 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
291 public static pb::MessageParser<IntegerVariableProto>
Parser {
get {
return _parser; } }
293 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
294 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
295 public static pbr::MessageDescriptor Descriptor {
296 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[0]; }
299 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
300 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
301 pbr::MessageDescriptor pb::IMessage.Descriptor {
305 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
306 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
311 partial
void OnConstruction();
313 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
314 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
317 domain_ = other.domain_.Clone();
318 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
321 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
322 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
329 private string name_ =
"";
333 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
334 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
336 get {
return name_; }
338 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
343 public const int DomainFieldNumber = 2;
344 private static readonly pb::FieldCodec<long> _repeated_domain_codec
345 = pb::FieldCodec.ForInt64(18);
346 private readonly pbc::RepeatedField<long> domain_ =
new pbc::RepeatedField<long>();
366 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
367 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
368 public pbc::RepeatedField<long>
Domain {
369 get {
return domain_; }
372 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
373 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
374 public override bool Equals(
object other) {
378 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
379 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
381 if (ReferenceEquals(other,
null)) {
384 if (ReferenceEquals(other,
this)) {
387 if (Name != other.Name)
return false;
388 if(!domain_.Equals(other.domain_))
return false;
389 return Equals(_unknownFields, other._unknownFields);
392 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
393 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
394 public override int GetHashCode() {
396 if (Name.Length != 0) hash ^= Name.GetHashCode();
397 hash ^= domain_.GetHashCode();
398 if (_unknownFields !=
null) {
399 hash ^= _unknownFields.GetHashCode();
404 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
405 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
406 public override string ToString() {
407 return pb::JsonFormatter.ToDiagnosticString(
this);
410 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
411 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
412 public void WriteTo(pb::CodedOutputStream output) {
413 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
414 output.WriteRawMessage(
this);
416 if (
Name.Length != 0) {
417 output.WriteRawTag(10);
418 output.WriteString(
Name);
420 domain_.WriteTo(output, _repeated_domain_codec);
421 if (_unknownFields !=
null) {
422 _unknownFields.WriteTo(output);
427 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
428 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
429 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
430 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
431 if (Name.Length != 0) {
432 output.WriteRawTag(10);
433 output.WriteString(Name);
435 domain_.WriteTo(ref output, _repeated_domain_codec);
436 if (_unknownFields !=
null) {
437 _unknownFields.WriteTo(ref output);
442 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
443 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
444 public int CalculateSize() {
446 if (Name.Length != 0) {
447 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
449 size += domain_.CalculateSize(_repeated_domain_codec);
450 if (_unknownFields !=
null) {
451 size += _unknownFields.CalculateSize();
456 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
457 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
458 public void MergeFrom(IntegerVariableProto other) {
462 if (other.Name.Length != 0) {
465 domain_.Add(other.domain_);
466 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
469 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
470 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
471 public void MergeFrom(pb::CodedInputStream input) {
472 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
473 input.ReadRawMessage(
this);
476 while ((tag = input.ReadTag()) != 0) {
477 if ((tag & 7) == 4) {
483 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
486 Name = input.ReadString();
491 domain_.AddEntriesFrom(input, _repeated_domain_codec);
499 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
500 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
501 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
502 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
504 while ((tag = input.ReadTag()) != 0) {
505 if ((tag & 7) == 4) {
511 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
514 Name = input.ReadString();
519 domain_.AddEntriesFrom(ref input, _repeated_domain_codec);
532 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
533 public sealed partial class BoolArgumentProto : pb::IMessage<BoolArgumentProto>
534 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
538 private static readonly pb::MessageParser<BoolArgumentProto> _parser =
new pb::MessageParser<BoolArgumentProto>(() =>
new BoolArgumentProto());
539 private pb::UnknownFieldSet _unknownFields;
540 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
541 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
542 public static pb::MessageParser<BoolArgumentProto>
Parser {
get {
return _parser; } }
544 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
545 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
546 public static pbr::MessageDescriptor Descriptor {
547 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[1]; }
550 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
551 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
552 pbr::MessageDescriptor pb::IMessage.Descriptor {
556 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
557 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
562 partial
void OnConstruction();
564 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
565 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
567 literals_ = other.literals_.Clone();
568 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
571 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
572 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
578 public const int LiteralsFieldNumber = 1;
579 private static readonly pb::FieldCodec<int> _repeated_literals_codec
580 = pb::FieldCodec.ForInt32(10);
581 private readonly pbc::RepeatedField<int> literals_ =
new pbc::RepeatedField<int>();
582 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
583 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
584 public pbc::RepeatedField<int>
Literals {
585 get {
return literals_; }
588 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
589 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
590 public override bool Equals(
object other) {
594 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
595 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
597 if (ReferenceEquals(other,
null)) {
600 if (ReferenceEquals(other,
this)) {
603 if(!literals_.Equals(other.literals_))
return false;
604 return Equals(_unknownFields, other._unknownFields);
607 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
608 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
609 public override int GetHashCode() {
611 hash ^= literals_.GetHashCode();
612 if (_unknownFields !=
null) {
613 hash ^= _unknownFields.GetHashCode();
618 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
619 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
621 return pb::JsonFormatter.ToDiagnosticString(
this);
624 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
625 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
626 public void WriteTo(pb::CodedOutputStream output) {
627 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
628 output.WriteRawMessage(
this);
630 literals_.WriteTo(output, _repeated_literals_codec);
631 if (_unknownFields !=
null) {
632 _unknownFields.WriteTo(output);
637 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
638 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
639 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
640 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
641 literals_.WriteTo(ref output, _repeated_literals_codec);
642 if (_unknownFields !=
null) {
643 _unknownFields.WriteTo(ref output);
648 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
649 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
650 public int CalculateSize() {
652 size += literals_.CalculateSize(_repeated_literals_codec);
653 if (_unknownFields !=
null) {
654 size += _unknownFields.CalculateSize();
659 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
660 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
665 literals_.Add(other.literals_);
666 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
669 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
670 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
671 public void MergeFrom(pb::CodedInputStream input) {
672 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
673 input.ReadRawMessage(
this);
676 while ((tag = input.ReadTag()) != 0) {
677 if ((tag & 7) == 4) {
683 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
687 literals_.AddEntriesFrom(input, _repeated_literals_codec);
695 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
696 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
697 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
698 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
700 while ((tag = input.ReadTag()) != 0) {
701 if ((tag & 7) == 4) {
707 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
711 literals_.AddEntriesFrom(ref input, _repeated_literals_codec);
726 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
727 public sealed partial class LinearExpressionProto : pb::IMessage<LinearExpressionProto>
728 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
732 private static readonly pb::MessageParser<LinearExpressionProto> _parser =
new pb::MessageParser<LinearExpressionProto>(() =>
new LinearExpressionProto());
733 private pb::UnknownFieldSet _unknownFields;
734 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
735 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
736 public static pb::MessageParser<LinearExpressionProto>
Parser {
get {
return _parser; } }
738 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
739 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
740 public static pbr::MessageDescriptor Descriptor {
741 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[2]; }
744 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
745 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
746 pbr::MessageDescriptor pb::IMessage.Descriptor {
750 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
751 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
756 partial
void OnConstruction();
758 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
759 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
761 vars_ = other.vars_.Clone();
762 coeffs_ = other.coeffs_.Clone();
763 offset_ = other.offset_;
764 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
767 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
768 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
774 public const int VarsFieldNumber = 1;
775 private static readonly pb::FieldCodec<int> _repeated_vars_codec
776 = pb::FieldCodec.ForInt32(10);
777 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
778 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
779 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
780 public pbc::RepeatedField<int>
Vars {
781 get {
return vars_; }
785 public const int CoeffsFieldNumber = 2;
786 private static readonly pb::FieldCodec<long> _repeated_coeffs_codec
787 = pb::FieldCodec.ForInt64(18);
788 private readonly pbc::RepeatedField<long> coeffs_ =
new pbc::RepeatedField<long>();
789 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
790 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
791 public pbc::RepeatedField<long>
Coeffs {
792 get {
return coeffs_; }
796 public const int OffsetFieldNumber = 3;
797 private long offset_;
798 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
799 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
801 get {
return offset_; }
807 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
808 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
809 public override bool Equals(
object other) {
813 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
814 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
816 if (ReferenceEquals(other,
null)) {
819 if (ReferenceEquals(other,
this)) {
822 if(!vars_.Equals(other.vars_))
return false;
823 if(!coeffs_.Equals(other.coeffs_))
return false;
824 if (
Offset != other.Offset)
return false;
825 return Equals(_unknownFields, other._unknownFields);
828 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
829 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
830 public override int GetHashCode() {
832 hash ^= vars_.GetHashCode();
833 hash ^= coeffs_.GetHashCode();
834 if (Offset != 0L) hash ^= Offset.GetHashCode();
835 if (_unknownFields !=
null) {
836 hash ^= _unknownFields.GetHashCode();
841 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
842 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
843 public override string ToString() {
844 return pb::JsonFormatter.ToDiagnosticString(
this);
847 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
848 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
849 public void WriteTo(pb::CodedOutputStream output) {
850 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
851 output.WriteRawMessage(
this);
853 vars_.WriteTo(output, _repeated_vars_codec);
854 coeffs_.WriteTo(output, _repeated_coeffs_codec);
856 output.WriteRawTag(24);
859 if (_unknownFields !=
null) {
860 _unknownFields.WriteTo(output);
865 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
866 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
867 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
868 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
869 vars_.WriteTo(ref output, _repeated_vars_codec);
870 coeffs_.WriteTo(ref output, _repeated_coeffs_codec);
872 output.WriteRawTag(24);
873 output.WriteInt64(Offset);
875 if (_unknownFields !=
null) {
876 _unknownFields.WriteTo(ref output);
881 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
882 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
883 public int CalculateSize() {
885 size += vars_.CalculateSize(_repeated_vars_codec);
886 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
888 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Offset);
890 if (_unknownFields !=
null) {
891 size += _unknownFields.CalculateSize();
896 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
897 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
898 public void MergeFrom(LinearExpressionProto other) {
902 vars_.Add(other.vars_);
903 coeffs_.Add(other.coeffs_);
904 if (other.Offset != 0L) {
905 Offset = other.Offset;
907 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
910 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
911 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
912 public void MergeFrom(pb::CodedInputStream input) {
913 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
914 input.ReadRawMessage(
this);
917 while ((tag = input.ReadTag()) != 0) {
918 if ((tag & 7) == 4) {
924 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
928 vars_.AddEntriesFrom(input, _repeated_vars_codec);
933 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
937 Offset = input.ReadInt64();
945 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
946 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
947 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
948 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
950 while ((tag = input.ReadTag()) != 0) {
951 if ((tag & 7) == 4) {
957 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
961 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
966 coeffs_.AddEntriesFrom(ref input, _repeated_coeffs_codec);
970 Offset = input.ReadInt64();
980 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
981 public sealed partial class LinearArgumentProto : pb::IMessage<LinearArgumentProto>
982 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
986 private static readonly pb::MessageParser<LinearArgumentProto> _parser =
new pb::MessageParser<LinearArgumentProto>(() =>
new LinearArgumentProto());
987 private pb::UnknownFieldSet _unknownFields;
988 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
989 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
990 public static pb::MessageParser<LinearArgumentProto>
Parser {
get {
return _parser; } }
992 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
993 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
994 public static pbr::MessageDescriptor Descriptor {
995 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[3]; }
998 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
999 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1000 pbr::MessageDescriptor pb::IMessage.Descriptor {
1004 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1005 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1010 partial
void OnConstruction();
1012 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1013 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1015 target_ = other.target_ !=
null ? other.target_.Clone() :
null;
1016 exprs_ = other.exprs_.Clone();
1017 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1020 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1021 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1027 public const int TargetFieldNumber = 1;
1028 private global::Google.OrTools.Sat.LinearExpressionProto target_;
1029 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1030 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1032 get { return target_; }
1040 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
1042 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
1043 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1044 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1045 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
1046 get { return exprs_; }
1049 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1050 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1051 public override bool Equals(
object other) {
1055 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1056 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1058 if (ReferenceEquals(other,
null)) {
1061 if (ReferenceEquals(other,
this)) {
1064 if (!
object.Equals(Target, other.Target))
return false;
1065 if(!exprs_.Equals(other.exprs_))
return false;
1066 return Equals(_unknownFields, other._unknownFields);
1069 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1070 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1071 public override int GetHashCode() {
1073 if (target_ !=
null) hash ^= Target.GetHashCode();
1074 hash ^= exprs_.GetHashCode();
1075 if (_unknownFields !=
null) {
1076 hash ^= _unknownFields.GetHashCode();
1081 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1082 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1083 public override string ToString() {
1084 return pb::JsonFormatter.ToDiagnosticString(
this);
1087 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1088 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1089 public void WriteTo(pb::CodedOutputStream output) {
1090 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1091 output.WriteRawMessage(
this);
1093 if (target_ !=
null) {
1094 output.WriteRawTag(10);
1095 output.WriteMessage(
Target);
1097 exprs_.WriteTo(output, _repeated_exprs_codec);
1098 if (_unknownFields !=
null) {
1099 _unknownFields.WriteTo(output);
1104 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1105 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1106 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1107 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1108 if (target_ !=
null) {
1109 output.WriteRawTag(10);
1110 output.WriteMessage(Target);
1112 exprs_.WriteTo(ref output, _repeated_exprs_codec);
1113 if (_unknownFields !=
null) {
1114 _unknownFields.WriteTo(ref output);
1119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1120 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1121 public int CalculateSize() {
1123 if (target_ !=
null) {
1124 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target);
1126 size += exprs_.CalculateSize(_repeated_exprs_codec);
1127 if (_unknownFields !=
null) {
1128 size += _unknownFields.CalculateSize();
1133 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1134 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1135 public void MergeFrom(LinearArgumentProto other) {
1136 if (other ==
null) {
1139 if (other.target_ !=
null) {
1140 if (target_ ==
null) {
1141 Target =
new global::Google.OrTools.Sat.LinearExpressionProto();
1145 exprs_.Add(other.exprs_);
1146 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1149 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1150 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1151 public void MergeFrom(pb::CodedInputStream input) {
1152 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1153 input.ReadRawMessage(
this);
1156 while ((tag = input.ReadTag()) != 0) {
1157 if ((tag & 7) == 4) {
1163 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1166 if (target_ ==
null) {
1167 Target =
new global::Google.OrTools.Sat.LinearExpressionProto();
1169 input.ReadMessage(Target);
1173 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
1181 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1182 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1183 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1184 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1186 while ((tag = input.ReadTag()) != 0) {
1187 if ((tag & 7) == 4) {
1193 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1196 if (target_ ==
null) {
1197 Target =
new global::Google.OrTools.Sat.LinearExpressionProto();
1199 input.ReadMessage(Target);
1203 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
1216 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
1217 public sealed partial
class AllDifferentConstraintProto : pb::IMessage<AllDifferentConstraintProto>
1218 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1219 , pb::IBufferMessage
1222 private static readonly pb::MessageParser<AllDifferentConstraintProto> _parser =
new pb::MessageParser<AllDifferentConstraintProto>(() =>
new AllDifferentConstraintProto());
1223 private pb::UnknownFieldSet _unknownFields;
1224 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1225 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1226 public static pb::MessageParser<AllDifferentConstraintProto>
Parser {
get {
return _parser; } }
1228 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1229 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1230 public static pbr::MessageDescriptor Descriptor {
1231 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[4]; }
1234 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1235 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1236 pbr::MessageDescriptor pb::IMessage.Descriptor {
1240 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1241 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1246 partial
void OnConstruction();
1248 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1249 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1251 exprs_ = other.exprs_.Clone();
1252 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1255 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1256 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1262 public const int ExprsFieldNumber = 1;
1263 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
1265 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
1266 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1267 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1268 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
1269 get { return exprs_; }
1272 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1273 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1274 public override bool Equals(
object other) {
1278 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1279 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1281 if (ReferenceEquals(other,
null)) {
1284 if (ReferenceEquals(other,
this)) {
1287 if(!exprs_.Equals(other.exprs_))
return false;
1288 return Equals(_unknownFields, other._unknownFields);
1291 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1292 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1293 public override int GetHashCode() {
1295 hash ^= exprs_.GetHashCode();
1296 if (_unknownFields !=
null) {
1297 hash ^= _unknownFields.GetHashCode();
1302 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1303 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1304 public override string ToString() {
1305 return pb::JsonFormatter.ToDiagnosticString(
this);
1308 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1309 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1310 public void WriteTo(pb::CodedOutputStream output) {
1311 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1312 output.WriteRawMessage(
this);
1314 exprs_.WriteTo(output, _repeated_exprs_codec);
1315 if (_unknownFields !=
null) {
1316 _unknownFields.WriteTo(output);
1321 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1322 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1323 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1324 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1325 exprs_.WriteTo(ref output, _repeated_exprs_codec);
1326 if (_unknownFields !=
null) {
1327 _unknownFields.WriteTo(ref output);
1332 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1333 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1334 public int CalculateSize() {
1336 size += exprs_.CalculateSize(_repeated_exprs_codec);
1337 if (_unknownFields !=
null) {
1338 size += _unknownFields.CalculateSize();
1343 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1344 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1346 if (other ==
null) {
1349 exprs_.Add(other.exprs_);
1350 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1353 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1354 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1355 public void MergeFrom(pb::CodedInputStream input) {
1356 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1357 input.ReadRawMessage(
this);
1360 while ((tag = input.ReadTag()) != 0) {
1361 if ((tag & 7) == 4) {
1367 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1370 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
1378 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1379 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1380 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1381 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1383 while ((tag = input.ReadTag()) != 0) {
1384 if ((tag & 7) == 4) {
1390 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1393 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
1411 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
1412 public sealed partial
class LinearConstraintProto : pb::IMessage<LinearConstraintProto>
1413 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1414 , pb::IBufferMessage
1417 private static readonly pb::MessageParser<LinearConstraintProto> _parser =
new pb::MessageParser<LinearConstraintProto>(() =>
new LinearConstraintProto());
1418 private pb::UnknownFieldSet _unknownFields;
1419 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1420 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1421 public static pb::MessageParser<LinearConstraintProto>
Parser {
get {
return _parser; } }
1423 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1424 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1425 public static pbr::MessageDescriptor Descriptor {
1426 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[5]; }
1429 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1430 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1431 pbr::MessageDescriptor pb::IMessage.Descriptor {
1435 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1436 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1441 partial
void OnConstruction();
1443 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1444 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1446 vars_ = other.vars_.Clone();
1447 coeffs_ = other.coeffs_.Clone();
1448 domain_ = other.domain_.Clone();
1449 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1452 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1453 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1459 public const int VarsFieldNumber = 1;
1460 private static readonly pb::FieldCodec<int> _repeated_vars_codec
1461 = pb::FieldCodec.ForInt32(10);
1462 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
1463 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1464 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1465 public pbc::RepeatedField<int>
Vars {
1466 get {
return vars_; }
1471 private static readonly pb::FieldCodec<long> _repeated_coeffs_codec
1472 = pb::FieldCodec.ForInt64(18);
1473 private readonly pbc::RepeatedField<long> coeffs_ =
new pbc::RepeatedField<long>();
1477 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1478 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1480 get {
return coeffs_; }
1484 public const int DomainFieldNumber = 3;
1485 private static readonly pb::FieldCodec<long> _repeated_domain_codec
1486 = pb::FieldCodec.ForInt64(26);
1487 private readonly pbc::RepeatedField<long> domain_ =
new pbc::RepeatedField<long>();
1488 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1489 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1490 public pbc::RepeatedField<long>
Domain {
1491 get {
return domain_; }
1494 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1495 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1496 public override bool Equals(
object other) {
1500 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1501 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1503 if (ReferenceEquals(other,
null)) {
1506 if (ReferenceEquals(other,
this)) {
1509 if(!vars_.Equals(other.vars_))
return false;
1510 if(!coeffs_.Equals(other.coeffs_))
return false;
1511 if(!domain_.Equals(other.domain_))
return false;
1512 return Equals(_unknownFields, other._unknownFields);
1515 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1516 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1517 public override int GetHashCode() {
1519 hash ^= vars_.GetHashCode();
1520 hash ^= coeffs_.GetHashCode();
1521 hash ^= domain_.GetHashCode();
1522 if (_unknownFields !=
null) {
1523 hash ^= _unknownFields.GetHashCode();
1528 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1529 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1530 public override string ToString() {
1531 return pb::JsonFormatter.ToDiagnosticString(
this);
1534 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1535 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1536 public void WriteTo(pb::CodedOutputStream output) {
1537 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1538 output.WriteRawMessage(
this);
1540 vars_.WriteTo(output, _repeated_vars_codec);
1541 coeffs_.WriteTo(output, _repeated_coeffs_codec);
1542 domain_.WriteTo(output, _repeated_domain_codec);
1543 if (_unknownFields !=
null) {
1544 _unknownFields.WriteTo(output);
1549 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1550 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1551 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1552 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1553 vars_.WriteTo(ref output, _repeated_vars_codec);
1554 coeffs_.WriteTo(ref output, _repeated_coeffs_codec);
1555 domain_.WriteTo(ref output, _repeated_domain_codec);
1556 if (_unknownFields !=
null) {
1557 _unknownFields.WriteTo(ref output);
1562 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1563 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1564 public int CalculateSize() {
1566 size += vars_.CalculateSize(_repeated_vars_codec);
1567 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
1568 size += domain_.CalculateSize(_repeated_domain_codec);
1569 if (_unknownFields !=
null) {
1570 size += _unknownFields.CalculateSize();
1575 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1576 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1578 if (other ==
null) {
1581 vars_.Add(other.vars_);
1582 coeffs_.Add(other.coeffs_);
1583 domain_.Add(other.domain_);
1584 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1587 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1588 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1589 public void MergeFrom(pb::CodedInputStream input) {
1590 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1591 input.ReadRawMessage(
this);
1594 while ((tag = input.ReadTag()) != 0) {
1595 if ((tag & 7) == 4) {
1601 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1605 vars_.AddEntriesFrom(input, _repeated_vars_codec);
1610 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
1615 domain_.AddEntriesFrom(input, _repeated_domain_codec);
1623 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1624 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1625 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1626 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1628 while ((tag = input.ReadTag()) != 0) {
1629 if ((tag & 7) == 4) {
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);
1663 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
1664 public sealed partial class ElementConstraintProto : pb::IMessage<ElementConstraintProto>
1665 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1666 , pb::IBufferMessage
1669 private static readonly pb::MessageParser<ElementConstraintProto> _parser =
new pb::MessageParser<ElementConstraintProto>(() =>
new ElementConstraintProto());
1670 private pb::UnknownFieldSet _unknownFields;
1671 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1672 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1673 public static pb::MessageParser<ElementConstraintProto>
Parser {
get {
return _parser; } }
1675 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1676 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1677 public static pbr::MessageDescriptor Descriptor {
1678 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[6]; }
1681 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1682 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1683 pbr::MessageDescriptor pb::IMessage.Descriptor {
1687 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1688 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1693 partial
void OnConstruction();
1695 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1696 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1698 index_ = other.index_;
1699 target_ = other.target_;
1700 vars_ = other.vars_.Clone();
1701 linearIndex_ = other.linearIndex_ !=
null ? other.linearIndex_.Clone() :
null;
1702 linearTarget_ = other.linearTarget_ !=
null ? other.linearTarget_.Clone() :
null;
1703 exprs_ = other.exprs_.Clone();
1704 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1707 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1708 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1714 public const int IndexFieldNumber = 1;
1719 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1720 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1722 get {
return index_; }
1729 public const int TargetFieldNumber = 2;
1730 private int target_;
1734 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1735 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1737 get {
return target_; }
1744 public const int VarsFieldNumber = 3;
1745 private static readonly pb::FieldCodec<int> _repeated_vars_codec
1746 = pb::FieldCodec.ForInt32(26);
1747 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
1751 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1752 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1753 public pbc::RepeatedField<int>
Vars {
1754 get {
return vars_; }
1758 public const int LinearIndexFieldNumber = 4;
1759 private global::Google.OrTools.Sat.LinearExpressionProto linearIndex_;
1760 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1761 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1763 get {
return linearIndex_; }
1765 linearIndex_ = value;
1770 public const int LinearTargetFieldNumber = 5;
1771 private global::Google.OrTools.Sat.LinearExpressionProto linearTarget_;
1772 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1773 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1774 public global::Google.OrTools.Sat.LinearExpressionProto
LinearTarget {
1775 get {
return linearTarget_; }
1777 linearTarget_ = value;
1782 public const int ExprsFieldNumber = 6;
1783 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
1785 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
1786 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1787 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1788 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
1789 get {
return exprs_; }
1792 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1793 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1794 public override bool Equals(
object other) {
1798 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1799 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1801 if (ReferenceEquals(other,
null)) {
1804 if (ReferenceEquals(other,
this)) {
1807 if (Index != other.Index)
return false;
1808 if (Target != other.Target)
return false;
1809 if(!vars_.Equals(other.vars_))
return false;
1812 if(!exprs_.Equals(other.exprs_))
return false;
1813 return Equals(_unknownFields, other._unknownFields);
1816 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1817 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1818 public override int GetHashCode() {
1820 if (Index != 0) hash ^= Index.GetHashCode();
1821 if (Target != 0) hash ^= Target.GetHashCode();
1822 hash ^= vars_.GetHashCode();
1823 if (linearIndex_ !=
null) hash ^= LinearIndex.GetHashCode();
1824 if (linearTarget_ !=
null) hash ^= LinearTarget.GetHashCode();
1825 hash ^= exprs_.GetHashCode();
1826 if (_unknownFields !=
null) {
1827 hash ^= _unknownFields.GetHashCode();
1832 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1833 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1834 public override string ToString() {
1835 return pb::JsonFormatter.ToDiagnosticString(
this);
1838 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1839 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1840 public void WriteTo(pb::CodedOutputStream output) {
1841 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1842 output.WriteRawMessage(
this);
1845 output.WriteRawTag(8);
1846 output.WriteInt32(
Index);
1849 output.WriteRawTag(16);
1850 output.WriteInt32(
Target);
1852 vars_.WriteTo(output, _repeated_vars_codec);
1853 if (linearIndex_ !=
null) {
1854 output.WriteRawTag(34);
1855 output.WriteMessage(LinearIndex);
1857 if (linearTarget_ !=
null) {
1858 output.WriteRawTag(42);
1859 output.WriteMessage(LinearTarget);
1861 exprs_.WriteTo(output, _repeated_exprs_codec);
1862 if (_unknownFields !=
null) {
1863 _unknownFields.WriteTo(output);
1868 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1869 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1870 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1871 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1873 output.WriteRawTag(8);
1874 output.WriteInt32(Index);
1877 output.WriteRawTag(16);
1878 output.WriteInt32(Target);
1880 vars_.WriteTo(ref output, _repeated_vars_codec);
1881 if (linearIndex_ !=
null) {
1882 output.WriteRawTag(34);
1883 output.WriteMessage(LinearIndex);
1885 if (linearTarget_ !=
null) {
1886 output.WriteRawTag(42);
1887 output.WriteMessage(LinearTarget);
1889 exprs_.WriteTo(ref output, _repeated_exprs_codec);
1890 if (_unknownFields !=
null) {
1891 _unknownFields.WriteTo(ref output);
1896 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1897 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1898 public int CalculateSize() {
1901 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index);
1904 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Target);
1906 size += vars_.CalculateSize(_repeated_vars_codec);
1907 if (linearIndex_ !=
null) {
1908 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
LinearIndex);
1910 if (linearTarget_ !=
null) {
1911 size += 1 + pb::CodedOutputStream.ComputeMessageSize(LinearTarget);
1913 size += exprs_.CalculateSize(_repeated_exprs_codec);
1914 if (_unknownFields !=
null) {
1915 size += _unknownFields.CalculateSize();
1920 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1921 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1922 public void MergeFrom(ElementConstraintProto other) {
1923 if (other ==
null) {
1926 if (other.Index != 0) {
1927 Index = other.Index;
1929 if (other.Target != 0) {
1930 Target = other.Target;
1932 vars_.Add(other.vars_);
1933 if (other.linearIndex_ !=
null) {
1934 if (linearIndex_ ==
null) {
1935 LinearIndex =
new global::Google.OrTools.Sat.LinearExpressionProto();
1937 LinearIndex.MergeFrom(other.LinearIndex);
1939 if (other.linearTarget_ !=
null) {
1940 if (linearTarget_ ==
null) {
1941 LinearTarget =
new global::Google.OrTools.Sat.LinearExpressionProto();
1943 LinearTarget.MergeFrom(other.LinearTarget);
1945 exprs_.Add(other.exprs_);
1946 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1949 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1950 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1951 public void MergeFrom(pb::CodedInputStream input) {
1952 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1953 input.ReadRawMessage(
this);
1956 while ((tag = input.ReadTag()) != 0) {
1957 if ((tag & 7) == 4) {
1963 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1966 Index = input.ReadInt32();
1970 Target = input.ReadInt32();
1975 vars_.AddEntriesFrom(input, _repeated_vars_codec);
1979 if (linearIndex_ ==
null) {
1980 LinearIndex =
new global::Google.OrTools.Sat.LinearExpressionProto();
1982 input.ReadMessage(LinearIndex);
1986 if (linearTarget_ ==
null) {
1987 LinearTarget =
new global::Google.OrTools.Sat.LinearExpressionProto();
1989 input.ReadMessage(LinearTarget);
1993 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
2001 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2002 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2003 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2004 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2006 while ((tag = input.ReadTag()) != 0) {
2007 if ((tag & 7) == 4) {
2013 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2016 Index = input.ReadInt32();
2020 Target = input.ReadInt32();
2025 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
2029 if (linearIndex_ ==
null) {
2030 LinearIndex =
new global::Google.OrTools.Sat.LinearExpressionProto();
2032 input.ReadMessage(LinearIndex);
2036 if (linearTarget_ ==
null) {
2037 LinearTarget =
new global::Google.OrTools.Sat.LinearExpressionProto();
2039 input.ReadMessage(LinearTarget);
2043 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
2062 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2063 public sealed partial class IntervalConstraintProto : pb::IMessage<IntervalConstraintProto>
2064 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2065 , pb::IBufferMessage
2068 private static readonly pb::MessageParser<IntervalConstraintProto> _parser =
new pb::MessageParser<IntervalConstraintProto>(() =>
new IntervalConstraintProto());
2069 private pb::UnknownFieldSet _unknownFields;
2070 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2071 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2072 public static pb::MessageParser<IntervalConstraintProto> Parser {
get {
return _parser; } }
2074 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2075 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2076 public static pbr::MessageDescriptor
Descriptor {
2077 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[7]; }
2080 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2081 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2082 pbr::MessageDescriptor pb::IMessage.Descriptor {
2086 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2087 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2092 partial
void OnConstruction();
2094 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2095 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2097 start_ = other.start_ !=
null ? other.start_.Clone() :
null;
2098 end_ = other.end_ !=
null ? other.end_.Clone() :
null;
2099 size_ = other.size_ !=
null ? other.size_.Clone() :
null;
2100 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2103 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2104 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2110 public const int StartFieldNumber = 4;
2111 private global::Google.OrTools.Sat.LinearExpressionProto start_;
2112 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2113 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2115 get { return start_; }
2123 private global::Google.OrTools.Sat.LinearExpressionProto end_;
2124 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2125 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2127 get { return end_; }
2135 private global::Google.OrTools.Sat.LinearExpressionProto size_;
2136 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2137 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2139 get { return size_; }
2145 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2146 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2147 public override bool Equals(
object other) {
2151 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2152 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2154 if (ReferenceEquals(other,
null)) {
2157 if (ReferenceEquals(other,
this)) {
2160 if (!
object.Equals(Start, other.Start))
return false;
2161 if (!
object.Equals(End, other.End))
return false;
2162 if (!
object.Equals(Size, other.Size))
return false;
2163 return Equals(_unknownFields, other._unknownFields);
2166 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2167 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2168 public override int GetHashCode() {
2170 if (start_ !=
null) hash ^= Start.GetHashCode();
2171 if (end_ !=
null) hash ^= End.GetHashCode();
2172 if (size_ !=
null) hash ^= Size.GetHashCode();
2173 if (_unknownFields !=
null) {
2174 hash ^= _unknownFields.GetHashCode();
2179 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2180 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2181 public override string ToString() {
2182 return pb::JsonFormatter.ToDiagnosticString(
this);
2185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2186 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2187 public void WriteTo(pb::CodedOutputStream output) {
2188 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2189 output.WriteRawMessage(
this);
2191 if (start_ !=
null) {
2192 output.WriteRawTag(34);
2193 output.WriteMessage(
Start);
2196 output.WriteRawTag(42);
2199 if (size_ !=
null) {
2200 output.WriteRawTag(50);
2201 output.WriteMessage(Size);
2203 if (_unknownFields !=
null) {
2204 _unknownFields.WriteTo(output);
2209 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2210 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2211 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2212 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2213 if (start_ !=
null) {
2214 output.WriteRawTag(34);
2215 output.WriteMessage(Start);
2218 output.WriteRawTag(42);
2219 output.WriteMessage(End);
2221 if (size_ !=
null) {
2222 output.WriteRawTag(50);
2223 output.WriteMessage(Size);
2225 if (_unknownFields !=
null) {
2226 _unknownFields.WriteTo(ref output);
2231 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2232 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2233 public int CalculateSize() {
2235 if (start_ !=
null) {
2236 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Start);
2239 size += 1 + pb::CodedOutputStream.ComputeMessageSize(End);
2241 if (size_ !=
null) {
2242 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Size);
2244 if (_unknownFields !=
null) {
2245 size += _unknownFields.CalculateSize();
2250 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2251 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2252 public void MergeFrom(IntervalConstraintProto other) {
2253 if (other ==
null) {
2256 if (other.start_ !=
null) {
2257 if (start_ ==
null) {
2258 Start =
new global::Google.OrTools.Sat.LinearExpressionProto();
2260 Start.MergeFrom(other.Start);
2262 if (other.end_ !=
null) {
2264 End =
new global::Google.OrTools.Sat.LinearExpressionProto();
2266 End.MergeFrom(other.End);
2268 if (other.size_ !=
null) {
2269 if (size_ ==
null) {
2270 Size =
new global::Google.OrTools.Sat.LinearExpressionProto();
2272 Size.MergeFrom(other.Size);
2274 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2277 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2278 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2279 public void MergeFrom(pb::CodedInputStream input) {
2280 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2281 input.ReadRawMessage(
this);
2284 while ((tag = input.ReadTag()) != 0) {
2285 if ((tag & 7) == 4) {
2291 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2294 if (start_ ==
null) {
2295 Start =
new global::Google.OrTools.Sat.LinearExpressionProto();
2297 input.ReadMessage(
Start);
2302 End =
new global::Google.OrTools.Sat.LinearExpressionProto();
2304 input.ReadMessage(
End);
2308 if (size_ ==
null) {
2309 Size =
new global::Google.OrTools.Sat.LinearExpressionProto();
2311 input.ReadMessage(
Size);
2319 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2320 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2321 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2322 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2324 while ((tag = input.ReadTag()) != 0) {
2325 if ((tag & 7) == 4) {
2331 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2334 if (start_ ==
null) {
2335 Start =
new global::Google.OrTools.Sat.LinearExpressionProto();
2337 input.ReadMessage(Start);
2342 End =
new global::Google.OrTools.Sat.LinearExpressionProto();
2344 input.ReadMessage(End);
2348 if (size_ ==
null) {
2349 Size =
new global::Google.OrTools.Sat.LinearExpressionProto();
2351 input.ReadMessage(Size);
2368 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2369 public sealed partial
class NoOverlapConstraintProto : pb::IMessage<NoOverlapConstraintProto>
2370 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2371 , pb::IBufferMessage
2374 private static readonly pb::MessageParser<NoOverlapConstraintProto> _parser =
new pb::MessageParser<NoOverlapConstraintProto>(() =>
new NoOverlapConstraintProto());
2375 private pb::UnknownFieldSet _unknownFields;
2376 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2377 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2378 public static pb::MessageParser<NoOverlapConstraintProto> Parser {
get {
return _parser; } }
2380 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2381 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2382 public static pbr::MessageDescriptor
Descriptor {
2383 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[8]; }
2386 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2387 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2388 pbr::MessageDescriptor pb::IMessage.Descriptor {
2392 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2393 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2398 partial
void OnConstruction();
2400 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2401 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2403 intervals_ = other.intervals_.Clone();
2404 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2407 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2408 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2415 private static readonly pb::FieldCodec<int> _repeated_intervals_codec
2416 = pb::FieldCodec.ForInt32(10);
2417 private readonly pbc::RepeatedField<int> intervals_ =
new pbc::RepeatedField<int>();
2418 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2419 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2420 public pbc::RepeatedField<int>
Intervals {
2421 get {
return intervals_; }
2424 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2425 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2426 public override bool Equals(
object other) {
2430 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2431 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2433 if (ReferenceEquals(other,
null)) {
2436 if (ReferenceEquals(other,
this)) {
2439 if(!intervals_.Equals(other.intervals_))
return false;
2440 return Equals(_unknownFields, other._unknownFields);
2443 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2444 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2447 hash ^= intervals_.GetHashCode();
2448 if (_unknownFields !=
null) {
2449 hash ^= _unknownFields.GetHashCode();
2454 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2455 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2456 public override string ToString() {
2457 return pb::JsonFormatter.ToDiagnosticString(
this);
2460 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2461 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2462 public void WriteTo(pb::CodedOutputStream output) {
2463 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2464 output.WriteRawMessage(
this);
2466 intervals_.WriteTo(output, _repeated_intervals_codec);
2467 if (_unknownFields !=
null) {
2468 _unknownFields.WriteTo(output);
2473 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2474 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2475 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2476 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2477 intervals_.WriteTo(ref output, _repeated_intervals_codec);
2478 if (_unknownFields !=
null) {
2479 _unknownFields.WriteTo(ref output);
2484 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2485 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2486 public int CalculateSize() {
2488 size += intervals_.CalculateSize(_repeated_intervals_codec);
2489 if (_unknownFields !=
null) {
2490 size += _unknownFields.CalculateSize();
2495 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2496 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2498 if (other ==
null) {
2501 intervals_.Add(other.intervals_);
2502 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2505 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2506 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2508 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2509 input.ReadRawMessage(
this);
2512 while ((tag = input.ReadTag()) != 0) {
2513 if ((tag & 7) == 4) {
2519 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2523 intervals_.AddEntriesFrom(input, _repeated_intervals_codec);
2531 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2532 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2533 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2534 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2536 while ((tag = input.ReadTag()) != 0) {
2537 if ((tag & 7) == 4) {
2543 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2547 intervals_.AddEntriesFrom(ref input, _repeated_intervals_codec);
2568 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2569 public sealed partial class NoOverlap2DConstraintProto : pb::IMessage<NoOverlap2DConstraintProto>
2570 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2571 , pb::IBufferMessage
2574 private static readonly pb::MessageParser<NoOverlap2DConstraintProto> _parser =
new pb::MessageParser<NoOverlap2DConstraintProto>(() =>
new NoOverlap2DConstraintProto());
2575 private pb::UnknownFieldSet _unknownFields;
2576 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2577 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2578 public static pb::MessageParser<NoOverlap2DConstraintProto> Parser {
get {
return _parser; } }
2580 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2581 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2582 public static pbr::MessageDescriptor
Descriptor {
2583 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[9]; }
2586 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2587 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2588 pbr::MessageDescriptor pb::IMessage.Descriptor {
2592 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2593 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2598 partial
void OnConstruction();
2600 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2601 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2603 xIntervals_ = other.xIntervals_.Clone();
2604 yIntervals_ = other.yIntervals_.Clone();
2605 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2608 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2609 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2616 private static readonly pb::FieldCodec<int> _repeated_xIntervals_codec
2617 = pb::FieldCodec.ForInt32(10);
2618 private readonly pbc::RepeatedField<int> xIntervals_ =
new pbc::RepeatedField<int>();
2619 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2620 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2622 get {
return xIntervals_; }
2627 private static readonly pb::FieldCodec<int> _repeated_yIntervals_codec
2628 = pb::FieldCodec.ForInt32(18);
2629 private readonly pbc::RepeatedField<int> yIntervals_ =
new pbc::RepeatedField<int>();
2633 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2634 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2636 get {
return yIntervals_; }
2639 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2640 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2641 public override bool Equals(
object other) {
2645 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2646 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2648 if (ReferenceEquals(other,
null)) {
2651 if (ReferenceEquals(other,
this)) {
2654 if(!xIntervals_.Equals(other.xIntervals_))
return false;
2655 if(!yIntervals_.Equals(other.yIntervals_))
return false;
2656 return Equals(_unknownFields, other._unknownFields);
2659 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2660 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2663 hash ^= xIntervals_.GetHashCode();
2664 hash ^= yIntervals_.GetHashCode();
2665 if (_unknownFields !=
null) {
2666 hash ^= _unknownFields.GetHashCode();
2671 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2672 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2673 public override string ToString() {
2674 return pb::JsonFormatter.ToDiagnosticString(
this);
2677 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2678 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2679 public void WriteTo(pb::CodedOutputStream output) {
2680 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2681 output.WriteRawMessage(
this);
2683 xIntervals_.WriteTo(output, _repeated_xIntervals_codec);
2684 yIntervals_.WriteTo(output, _repeated_yIntervals_codec);
2685 if (_unknownFields !=
null) {
2686 _unknownFields.WriteTo(output);
2691 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2692 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2693 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2694 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2695 xIntervals_.WriteTo(ref output, _repeated_xIntervals_codec);
2696 yIntervals_.WriteTo(ref output, _repeated_yIntervals_codec);
2697 if (_unknownFields !=
null) {
2698 _unknownFields.WriteTo(ref output);
2703 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2704 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2705 public int CalculateSize() {
2707 size += xIntervals_.CalculateSize(_repeated_xIntervals_codec);
2708 size += yIntervals_.CalculateSize(_repeated_yIntervals_codec);
2709 if (_unknownFields !=
null) {
2710 size += _unknownFields.CalculateSize();
2715 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2716 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2718 if (other ==
null) {
2721 xIntervals_.Add(other.xIntervals_);
2722 yIntervals_.Add(other.yIntervals_);
2723 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2726 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2727 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2729 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2730 input.ReadRawMessage(
this);
2733 while ((tag = input.ReadTag()) != 0) {
2734 if ((tag & 7) == 4) {
2740 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2744 xIntervals_.AddEntriesFrom(input, _repeated_xIntervals_codec);
2749 yIntervals_.AddEntriesFrom(input, _repeated_yIntervals_codec);
2757 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2758 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2759 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2760 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2762 while ((tag = input.ReadTag()) != 0) {
2763 if ((tag & 7) == 4) {
2769 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2773 xIntervals_.AddEntriesFrom(ref input, _repeated_xIntervals_codec);
2778 yIntervals_.AddEntriesFrom(ref input, _repeated_yIntervals_codec);
2799 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2800 public sealed partial class CumulativeConstraintProto : pb::IMessage<CumulativeConstraintProto>
2801 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2802 , pb::IBufferMessage
2805 private static readonly pb::MessageParser<CumulativeConstraintProto> _parser =
new pb::MessageParser<CumulativeConstraintProto>(() =>
new CumulativeConstraintProto());
2806 private pb::UnknownFieldSet _unknownFields;
2807 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2808 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2809 public static pb::MessageParser<CumulativeConstraintProto> Parser {
get {
return _parser; } }
2811 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2812 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2813 public static pbr::MessageDescriptor
Descriptor {
2814 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[10]; }
2817 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2818 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2819 pbr::MessageDescriptor pb::IMessage.Descriptor {
2820 get {
return Descriptor; }
2823 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2824 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2829 partial
void OnConstruction();
2831 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2832 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2834 capacity_ = other.capacity_ !=
null ? other.capacity_.Clone() :
null;
2835 intervals_ = other.intervals_.Clone();
2836 demands_ = other.demands_.Clone();
2837 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2840 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2841 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2848 private global::Google.OrTools.Sat.LinearExpressionProto capacity_;
2849 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2850 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2852 get { return capacity_; }
2860 private static readonly pb::FieldCodec<int> _repeated_intervals_codec
2861 = pb::FieldCodec.ForInt32(18);
2862 private readonly pbc::RepeatedField<int> intervals_ =
new pbc::RepeatedField<int>();
2863 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2864 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2865 public pbc::RepeatedField<int>
Intervals {
2866 get {
return intervals_; }
2870 public const int DemandsFieldNumber = 3;
2871 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_demands_codec
2873 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> demands_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
2877 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2878 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2879 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Demands {
2880 get {
return demands_; }
2883 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2884 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2885 public override bool Equals(
object other) {
2889 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2890 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2892 if (ReferenceEquals(other,
null)) {
2895 if (ReferenceEquals(other,
this)) {
2898 if (!
object.Equals(Capacity, other.Capacity))
return false;
2899 if(!intervals_.Equals(other.intervals_))
return false;
2900 if(!demands_.Equals(other.demands_))
return false;
2901 return Equals(_unknownFields, other._unknownFields);
2904 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2905 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2908 if (capacity_ !=
null) hash ^=
Capacity.GetHashCode();
2909 hash ^= intervals_.GetHashCode();
2910 hash ^= demands_.GetHashCode();
2911 if (_unknownFields !=
null) {
2912 hash ^= _unknownFields.GetHashCode();
2917 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2918 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2919 public override string ToString() {
2920 return pb::JsonFormatter.ToDiagnosticString(
this);
2923 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2924 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2925 public void WriteTo(pb::CodedOutputStream output) {
2926 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2927 output.WriteRawMessage(
this);
2929 if (capacity_ !=
null) {
2930 output.WriteRawTag(10);
2933 intervals_.WriteTo(output, _repeated_intervals_codec);
2934 demands_.WriteTo(output, _repeated_demands_codec);
2935 if (_unknownFields !=
null) {
2936 _unknownFields.WriteTo(output);
2941 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2942 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2943 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2944 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2945 if (capacity_ !=
null) {
2946 output.WriteRawTag(10);
2947 output.WriteMessage(Capacity);
2949 intervals_.WriteTo(ref output, _repeated_intervals_codec);
2950 demands_.WriteTo(ref output, _repeated_demands_codec);
2951 if (_unknownFields !=
null) {
2952 _unknownFields.WriteTo(ref output);
2957 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2958 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2959 public int CalculateSize() {
2961 if (capacity_ !=
null) {
2962 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Capacity);
2964 size += intervals_.CalculateSize(_repeated_intervals_codec);
2965 size += demands_.CalculateSize(_repeated_demands_codec);
2966 if (_unknownFields !=
null) {
2967 size += _unknownFields.CalculateSize();
2972 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2973 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2975 if (other ==
null) {
2978 if (other.capacity_ !=
null) {
2979 if (capacity_ ==
null) {
2980 Capacity =
new global::Google.OrTools.Sat.LinearExpressionProto();
2982 Capacity.MergeFrom(other.Capacity);
2984 intervals_.Add(other.intervals_);
2985 demands_.Add(other.demands_);
2986 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2989 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2990 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2991 public void MergeFrom(pb::CodedInputStream input) {
2992 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2993 input.ReadRawMessage(
this);
2996 while ((tag = input.ReadTag()) != 0) {
2997 if ((tag & 7) == 4) {
3003 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3006 if (capacity_ ==
null) {
3007 Capacity =
new global::Google.OrTools.Sat.LinearExpressionProto();
3014 intervals_.AddEntriesFrom(input, _repeated_intervals_codec);
3018 demands_.AddEntriesFrom(input, _repeated_demands_codec);
3026 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3027 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3028 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3029 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3031 while ((tag = input.ReadTag()) != 0) {
3032 if ((tag & 7) == 4) {
3038 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3041 if (capacity_ ==
null) {
3042 Capacity =
new global::Google.OrTools.Sat.LinearExpressionProto();
3044 input.ReadMessage(Capacity);
3049 intervals_.AddEntriesFrom(ref input, _repeated_intervals_codec);
3053 demands_.AddEntriesFrom(ref input, _repeated_demands_codec);
3081 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
3082 public sealed partial class ReservoirConstraintProto : pb::IMessage<ReservoirConstraintProto>
3083 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3084 , pb::IBufferMessage
3087 private static readonly pb::MessageParser<ReservoirConstraintProto> _parser =
new pb::MessageParser<ReservoirConstraintProto>(() =>
new ReservoirConstraintProto());
3088 private pb::UnknownFieldSet _unknownFields;
3089 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3090 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3091 public static pb::MessageParser<ReservoirConstraintProto> Parser {
get {
return _parser; } }
3093 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3094 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3095 public static pbr::MessageDescriptor Descriptor {
3096 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[11]; }
3099 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3100 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3101 pbr::MessageDescriptor pb::IMessage.Descriptor {
3105 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3106 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3111 partial
void OnConstruction();
3113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3114 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3116 minLevel_ = other.minLevel_;
3117 maxLevel_ = other.maxLevel_;
3118 timeExprs_ = other.timeExprs_.Clone();
3119 levelChanges_ = other.levelChanges_.Clone();
3120 activeLiterals_ = other.activeLiterals_.Clone();
3121 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3124 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3125 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3132 private long minLevel_;
3133 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3134 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3136 get {
return minLevel_; }
3144 private long maxLevel_;
3145 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3146 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3148 get {
return maxLevel_; }
3155 public const int TimeExprsFieldNumber = 3;
3156 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_timeExprs_codec
3158 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> timeExprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
3159 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3160 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3161 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
TimeExprs {
3162 get { return timeExprs_; }
3166 public const int LevelChangesFieldNumber = 6;
3167 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_levelChanges_codec
3169 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> levelChanges_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
3170 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3171 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3172 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
LevelChanges {
3173 get { return levelChanges_; }
3178 private static readonly pb::FieldCodec<int> _repeated_activeLiterals_codec
3179 = pb::FieldCodec.ForInt32(42);
3180 private readonly pbc::RepeatedField<int> activeLiterals_ =
new pbc::RepeatedField<int>();
3181 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3182 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3184 get {
return activeLiterals_; }
3187 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3188 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3189 public override bool Equals(
object other) {
3193 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3194 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3196 if (ReferenceEquals(other,
null)) {
3199 if (ReferenceEquals(other,
this)) {
3202 if (MinLevel != other.MinLevel)
return false;
3203 if (MaxLevel != other.MaxLevel)
return false;
3204 if(!timeExprs_.Equals(other.timeExprs_))
return false;
3205 if(!levelChanges_.Equals(other.levelChanges_))
return false;
3206 if(!activeLiterals_.Equals(other.activeLiterals_))
return false;
3207 return Equals(_unknownFields, other._unknownFields);
3210 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3211 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3216 hash ^= timeExprs_.GetHashCode();
3217 hash ^= levelChanges_.GetHashCode();
3218 hash ^= activeLiterals_.GetHashCode();
3219 if (_unknownFields !=
null) {
3220 hash ^= _unknownFields.GetHashCode();
3225 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3226 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3227 public override string ToString() {
3228 return pb::JsonFormatter.ToDiagnosticString(
this);
3231 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3232 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3233 public void WriteTo(pb::CodedOutputStream output) {
3234 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3235 output.WriteRawMessage(
this);
3237 if (MinLevel != 0L) {
3238 output.WriteRawTag(8);
3239 output.WriteInt64(MinLevel);
3241 if (MaxLevel != 0L) {
3242 output.WriteRawTag(16);
3245 timeExprs_.WriteTo(output, _repeated_timeExprs_codec);
3246 activeLiterals_.WriteTo(output, _repeated_activeLiterals_codec);
3247 levelChanges_.WriteTo(output, _repeated_levelChanges_codec);
3248 if (_unknownFields !=
null) {
3249 _unknownFields.WriteTo(output);
3254 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3255 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3256 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3257 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3258 if (MinLevel != 0L) {
3259 output.WriteRawTag(8);
3260 output.WriteInt64(MinLevel);
3262 if (MaxLevel != 0L) {
3263 output.WriteRawTag(16);
3264 output.WriteInt64(MaxLevel);
3266 timeExprs_.WriteTo(ref output, _repeated_timeExprs_codec);
3267 activeLiterals_.WriteTo(ref output, _repeated_activeLiterals_codec);
3268 levelChanges_.WriteTo(ref output, _repeated_levelChanges_codec);
3269 if (_unknownFields !=
null) {
3270 _unknownFields.WriteTo(ref output);
3275 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3276 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3277 public int CalculateSize() {
3279 if (MinLevel != 0L) {
3280 size += 1 + pb::CodedOutputStream.ComputeInt64Size(MinLevel);
3282 if (MaxLevel != 0L) {
3283 size += 1 + pb::CodedOutputStream.ComputeInt64Size(MaxLevel);
3285 size += timeExprs_.CalculateSize(_repeated_timeExprs_codec);
3286 size += levelChanges_.CalculateSize(_repeated_levelChanges_codec);
3287 size += activeLiterals_.CalculateSize(_repeated_activeLiterals_codec);
3288 if (_unknownFields !=
null) {
3289 size += _unknownFields.CalculateSize();
3294 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3295 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3297 if (other ==
null) {
3300 if (other.MinLevel != 0L) {
3303 if (other.MaxLevel != 0L) {
3306 timeExprs_.Add(other.timeExprs_);
3307 levelChanges_.Add(other.levelChanges_);
3308 activeLiterals_.Add(other.activeLiterals_);
3309 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3312 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3313 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3314 public void MergeFrom(pb::CodedInputStream input) {
3315 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3316 input.ReadRawMessage(
this);
3319 while ((tag = input.ReadTag()) != 0) {
3320 if ((tag & 7) == 4) {
3326 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3333 MaxLevel = input.ReadInt64();
3337 timeExprs_.AddEntriesFrom(input, _repeated_timeExprs_codec);
3342 activeLiterals_.AddEntriesFrom(input, _repeated_activeLiterals_codec);
3346 levelChanges_.AddEntriesFrom(input, _repeated_levelChanges_codec);
3354 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3355 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3356 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3357 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3359 while ((tag = input.ReadTag()) != 0) {
3360 if ((tag & 7) == 4) {
3366 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3369 MinLevel = input.ReadInt64();
3373 MaxLevel = input.ReadInt64();
3377 timeExprs_.AddEntriesFrom(ref input, _repeated_timeExprs_codec);
3382 activeLiterals_.AddEntriesFrom(ref input, _repeated_activeLiterals_codec);
3386 levelChanges_.AddEntriesFrom(ref input, _repeated_levelChanges_codec);
3407 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
3408 public sealed partial class CircuitConstraintProto : pb::IMessage<CircuitConstraintProto>
3409 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3410 , pb::IBufferMessage
3413 private static readonly pb::MessageParser<CircuitConstraintProto> _parser =
new pb::MessageParser<CircuitConstraintProto>(() =>
new CircuitConstraintProto());
3414 private pb::UnknownFieldSet _unknownFields;
3415 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3416 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3417 public static pb::MessageParser<CircuitConstraintProto> Parser {
get {
return _parser; } }
3419 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3420 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3421 public static pbr::MessageDescriptor Descriptor {
3422 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[12]; }
3425 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3426 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3427 pbr::MessageDescriptor pb::IMessage.Descriptor {
3431 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3432 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3437 partial
void OnConstruction();
3439 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3440 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3442 tails_ = other.tails_.Clone();
3443 heads_ = other.heads_.Clone();
3444 literals_ = other.literals_.Clone();
3445 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3448 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3449 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3455 public const int TailsFieldNumber = 3;
3456 private static readonly pb::FieldCodec<int> _repeated_tails_codec
3457 = pb::FieldCodec.ForInt32(26);
3458 private readonly pbc::RepeatedField<int> tails_ =
new pbc::RepeatedField<int>();
3459 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3460 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3461 public pbc::RepeatedField<int>
Tails {
3462 get {
return tails_; }
3466 public const int HeadsFieldNumber = 4;
3467 private static readonly pb::FieldCodec<int> _repeated_heads_codec
3468 = pb::FieldCodec.ForInt32(34);
3469 private readonly pbc::RepeatedField<int> heads_ =
new pbc::RepeatedField<int>();
3470 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3471 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3473 get {
return heads_; }
3477 public const int LiteralsFieldNumber = 5;
3478 private static readonly pb::FieldCodec<int> _repeated_literals_codec
3479 = pb::FieldCodec.ForInt32(42);
3480 private readonly pbc::RepeatedField<int> literals_ =
new pbc::RepeatedField<int>();
3481 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3482 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3484 get {
return literals_; }
3487 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3488 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3493 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3494 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3496 if (ReferenceEquals(other,
null)) {
3499 if (ReferenceEquals(other,
this)) {
3502 if(!tails_.Equals(other.tails_))
return false;
3503 if(!heads_.Equals(other.heads_))
return false;
3504 if(!literals_.Equals(other.literals_))
return false;
3505 return Equals(_unknownFields, other._unknownFields);
3508 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3509 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3510 public override int GetHashCode() {
3512 hash ^= tails_.GetHashCode();
3513 hash ^= heads_.GetHashCode();
3514 hash ^= literals_.GetHashCode();
3515 if (_unknownFields !=
null) {
3516 hash ^= _unknownFields.GetHashCode();
3521 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3522 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3523 public override string ToString() {
3524 return pb::JsonFormatter.ToDiagnosticString(
this);
3527 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3528 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3529 public void WriteTo(pb::CodedOutputStream output) {
3530 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3531 output.WriteRawMessage(
this);
3533 tails_.WriteTo(output, _repeated_tails_codec);
3534 heads_.WriteTo(output, _repeated_heads_codec);
3535 literals_.WriteTo(output, _repeated_literals_codec);
3536 if (_unknownFields !=
null) {
3537 _unknownFields.WriteTo(output);
3542 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3543 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3544 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3545 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3546 tails_.WriteTo(ref output, _repeated_tails_codec);
3547 heads_.WriteTo(ref output, _repeated_heads_codec);
3548 literals_.WriteTo(ref output, _repeated_literals_codec);
3549 if (_unknownFields !=
null) {
3550 _unknownFields.WriteTo(ref output);
3555 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3556 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3557 public int CalculateSize() {
3559 size += tails_.CalculateSize(_repeated_tails_codec);
3560 size += heads_.CalculateSize(_repeated_heads_codec);
3561 size += literals_.CalculateSize(_repeated_literals_codec);
3562 if (_unknownFields !=
null) {
3563 size += _unknownFields.CalculateSize();
3568 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3569 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3570 public void MergeFrom(CircuitConstraintProto other) {
3571 if (other ==
null) {
3574 tails_.Add(other.tails_);
3575 heads_.Add(other.heads_);
3576 literals_.Add(other.literals_);
3577 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3580 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3581 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3582 public void MergeFrom(pb::CodedInputStream input) {
3583 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3584 input.ReadRawMessage(
this);
3587 while ((tag = input.ReadTag()) != 0) {
3588 if ((tag & 7) == 4) {
3594 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3598 tails_.AddEntriesFrom(input, _repeated_tails_codec);
3603 heads_.AddEntriesFrom(input, _repeated_heads_codec);
3608 literals_.AddEntriesFrom(input, _repeated_literals_codec);
3616 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3617 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3618 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3619 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3621 while ((tag = input.ReadTag()) != 0) {
3622 if ((tag & 7) == 4) {
3628 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3632 tails_.AddEntriesFrom(ref input, _repeated_tails_codec);
3637 heads_.AddEntriesFrom(ref input, _repeated_heads_codec);
3642 literals_.AddEntriesFrom(ref input, _repeated_literals_codec);
3674 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
3675 public sealed partial class RoutesConstraintProto : pb::IMessage<RoutesConstraintProto>
3676 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3677 , pb::IBufferMessage
3680 private static readonly pb::MessageParser<RoutesConstraintProto> _parser =
new pb::MessageParser<RoutesConstraintProto>(() =>
new RoutesConstraintProto());
3681 private pb::UnknownFieldSet _unknownFields;
3682 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3683 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3684 public static pb::MessageParser<RoutesConstraintProto> Parser {
get {
return _parser; } }
3686 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3687 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3688 public static pbr::MessageDescriptor Descriptor {
3689 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[13]; }
3692 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3693 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3694 pbr::MessageDescriptor pb::IMessage.Descriptor {
3698 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3699 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3700 public RoutesConstraintProto() {
3704 partial
void OnConstruction();
3706 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3707 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3709 tails_ = other.tails_.Clone();
3710 heads_ = other.heads_.Clone();
3711 literals_ = other.literals_.Clone();
3712 demands_ = other.demands_.Clone();
3713 capacity_ = other.capacity_;
3714 dimensions_ = other.dimensions_.Clone();
3715 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3718 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3719 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3725 public const int TailsFieldNumber = 1;
3726 private static readonly pb::FieldCodec<int> _repeated_tails_codec
3727 = pb::FieldCodec.ForInt32(10);
3728 private readonly pbc::RepeatedField<int> tails_ =
new pbc::RepeatedField<int>();
3729 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3730 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3731 public pbc::RepeatedField<int>
Tails {
3732 get {
return tails_; }
3736 public const int HeadsFieldNumber = 2;
3737 private static readonly pb::FieldCodec<int> _repeated_heads_codec
3738 = pb::FieldCodec.ForInt32(18);
3739 private readonly pbc::RepeatedField<int> heads_ =
new pbc::RepeatedField<int>();
3740 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3741 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3742 public pbc::RepeatedField<int>
Heads {
3743 get {
return heads_; }
3748 private static readonly pb::FieldCodec<int> _repeated_literals_codec
3749 = pb::FieldCodec.ForInt32(26);
3750 private readonly pbc::RepeatedField<int> literals_ =
new pbc::RepeatedField<int>();
3751 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3752 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3753 public pbc::RepeatedField<int>
Literals {
3754 get {
return literals_; }
3759 private static readonly pb::FieldCodec<int> _repeated_demands_codec
3760 = pb::FieldCodec.ForInt32(34);
3761 private readonly pbc::RepeatedField<int> demands_ =
new pbc::RepeatedField<int>();
3765 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3766 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3768 get {
return demands_; }
3772 public const int CapacityFieldNumber = 5;
3773 private long capacity_;
3774 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3775 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3777 get {
return capacity_; }
3784 public const int DimensionsFieldNumber = 6;
3785 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.RoutesConstraintProto.Types.NodeExpressions> _repeated_dimensions_codec
3787 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.RoutesConstraintProto.Types.NodeExpressions> dimensions_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.RoutesConstraintProto.Types.NodeExpressions>();
3799 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3800 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3801 public pbc::RepeatedField<global::Google.OrTools.Sat.RoutesConstraintProto.Types.NodeExpressions>
Dimensions {
3802 get {
return dimensions_; }
3805 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3806 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3807 public override bool Equals(
object other) {
3811 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3812 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3814 if (ReferenceEquals(other,
null)) {
3817 if (ReferenceEquals(other,
this)) {
3820 if(!tails_.Equals(other.tails_))
return false;
3821 if(!heads_.Equals(other.heads_))
return false;
3822 if(!literals_.Equals(other.literals_))
return false;
3823 if(!demands_.Equals(other.demands_))
return false;
3824 if (
Capacity != other.Capacity)
return false;
3825 if(!dimensions_.Equals(other.dimensions_))
return false;
3826 return Equals(_unknownFields, other._unknownFields);
3829 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3830 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3831 public override int GetHashCode() {
3833 hash ^= tails_.GetHashCode();
3834 hash ^= heads_.GetHashCode();
3835 hash ^= literals_.GetHashCode();
3836 hash ^= demands_.GetHashCode();
3838 hash ^= dimensions_.GetHashCode();
3839 if (_unknownFields !=
null) {
3840 hash ^= _unknownFields.GetHashCode();
3845 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3846 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3847 public override string ToString() {
3848 return pb::JsonFormatter.ToDiagnosticString(
this);
3851 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3852 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3853 public void WriteTo(pb::CodedOutputStream output) {
3854 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3855 output.WriteRawMessage(
this);
3857 tails_.WriteTo(output, _repeated_tails_codec);
3858 heads_.WriteTo(output, _repeated_heads_codec);
3859 literals_.WriteTo(output, _repeated_literals_codec);
3860 demands_.WriteTo(output, _repeated_demands_codec);
3862 output.WriteRawTag(40);
3865 dimensions_.WriteTo(output, _repeated_dimensions_codec);
3866 if (_unknownFields !=
null) {
3867 _unknownFields.WriteTo(output);
3872 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3873 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3874 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3875 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3876 tails_.WriteTo(ref output, _repeated_tails_codec);
3877 heads_.WriteTo(ref output, _repeated_heads_codec);
3878 literals_.WriteTo(ref output, _repeated_literals_codec);
3879 demands_.WriteTo(ref output, _repeated_demands_codec);
3881 output.WriteRawTag(40);
3884 dimensions_.WriteTo(ref output, _repeated_dimensions_codec);
3885 if (_unknownFields !=
null) {
3886 _unknownFields.WriteTo(ref output);
3891 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3892 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3893 public int CalculateSize() {
3895 size += tails_.CalculateSize(_repeated_tails_codec);
3896 size += heads_.CalculateSize(_repeated_heads_codec);
3897 size += literals_.CalculateSize(_repeated_literals_codec);
3898 size += demands_.CalculateSize(_repeated_demands_codec);
3899 if (Capacity != 0L) {
3900 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Capacity);
3902 size += dimensions_.CalculateSize(_repeated_dimensions_codec);
3903 if (_unknownFields !=
null) {
3904 size += _unknownFields.CalculateSize();
3909 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3910 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3911 public void MergeFrom(RoutesConstraintProto other) {
3912 if (other ==
null) {
3915 tails_.Add(other.tails_);
3916 heads_.Add(other.heads_);
3917 literals_.Add(other.literals_);
3918 demands_.Add(other.demands_);
3919 if (other.Capacity != 0L) {
3920 Capacity = other.Capacity;
3922 dimensions_.Add(other.dimensions_);
3923 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3926 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3927 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3928 public void MergeFrom(pb::CodedInputStream input) {
3929 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3930 input.ReadRawMessage(
this);
3933 while ((tag = input.ReadTag()) != 0) {
3934 if ((tag & 7) == 4) {
3940 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3944 tails_.AddEntriesFrom(input, _repeated_tails_codec);
3949 heads_.AddEntriesFrom(input, _repeated_heads_codec);
3954 literals_.AddEntriesFrom(input, _repeated_literals_codec);
3959 demands_.AddEntriesFrom(input, _repeated_demands_codec);
3963 Capacity = input.ReadInt64();
3967 dimensions_.AddEntriesFrom(input, _repeated_dimensions_codec);
3975 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3976 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3977 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3978 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3980 while ((tag = input.ReadTag()) != 0) {
3981 if ((tag & 7) == 4) {
3987 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3991 tails_.AddEntriesFrom(ref input, _repeated_tails_codec);
3996 heads_.AddEntriesFrom(ref input, _repeated_heads_codec);
4001 literals_.AddEntriesFrom(ref input, _repeated_literals_codec);
4006 demands_.AddEntriesFrom(ref input, _repeated_demands_codec);
4010 Capacity = input.ReadInt64();
4014 dimensions_.AddEntriesFrom(ref input, _repeated_dimensions_codec);
4022 #region Nested types
4024 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4025 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4026 public static partial class Types {
4030 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4031 public sealed partial class NodeExpressions : pb::IMessage<NodeExpressions>
4032 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4033 , pb::IBufferMessage
4036 private static readonly pb::MessageParser<NodeExpressions> _parser =
new pb::MessageParser<NodeExpressions>(() =>
new NodeExpressions());
4037 private pb::UnknownFieldSet _unknownFields;
4038 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4039 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4040 public static pb::MessageParser<NodeExpressions> Parser {
get {
return _parser; } }
4042 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4043 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4044 public static pbr::MessageDescriptor Descriptor {
4045 get {
return global::Google.OrTools.Sat.RoutesConstraintProto.Descriptor.NestedTypes[0]; }
4048 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4049 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4050 pbr::MessageDescriptor pb::IMessage.Descriptor {
4054 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4055 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4056 public NodeExpressions() {
4060 partial
void OnConstruction();
4062 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4063 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4065 exprs_ = other.exprs_.Clone();
4066 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4069 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4070 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4077 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
4079 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
4083 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4084 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4085 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
4086 get { return exprs_; }
4089 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4090 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4095 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4096 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4098 if (ReferenceEquals(other,
null)) {
4101 if (ReferenceEquals(other,
this)) {
4104 if(!exprs_.Equals(other.exprs_))
return false;
4105 return Equals(_unknownFields, other._unknownFields);
4108 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4109 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4112 hash ^= exprs_.GetHashCode();
4113 if (_unknownFields !=
null) {
4114 hash ^= _unknownFields.GetHashCode();
4119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4120 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4121 public override string ToString() {
4122 return pb::JsonFormatter.ToDiagnosticString(
this);
4125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4126 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4127 public void WriteTo(pb::CodedOutputStream output) {
4128 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4129 output.WriteRawMessage(
this);
4131 exprs_.WriteTo(output, _repeated_exprs_codec);
4132 if (_unknownFields !=
null) {
4133 _unknownFields.WriteTo(output);
4138 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4139 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4140 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4141 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4142 exprs_.WriteTo(ref output, _repeated_exprs_codec);
4143 if (_unknownFields !=
null) {
4144 _unknownFields.WriteTo(ref output);
4149 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4150 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4153 size += exprs_.CalculateSize(_repeated_exprs_codec);
4154 if (_unknownFields !=
null) {
4155 size += _unknownFields.CalculateSize();
4160 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4161 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4163 if (other ==
null) {
4166 exprs_.Add(other.exprs_);
4167 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4170 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4171 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4172 public void MergeFrom(pb::CodedInputStream input) {
4173 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4174 input.ReadRawMessage(
this);
4177 while ((tag = input.ReadTag()) != 0) {
4178 if ((tag & 7) == 4) {
4184 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4187 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
4195 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4196 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4197 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4198 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4200 while ((tag = input.ReadTag()) != 0) {
4201 if ((tag & 7) == 4) {
4207 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4210 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
4237 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4238 public sealed partial
class TableConstraintProto : pb::IMessage<TableConstraintProto>
4239 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4240 , pb::IBufferMessage
4243 private static readonly pb::MessageParser<TableConstraintProto> _parser =
new pb::MessageParser<TableConstraintProto>(() =>
new TableConstraintProto());
4244 private pb::UnknownFieldSet _unknownFields;
4245 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4246 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4247 public static pb::MessageParser<TableConstraintProto> Parser {
get {
return _parser; } }
4249 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4250 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4251 public static pbr::MessageDescriptor Descriptor {
4252 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[14]; }
4255 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4256 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4257 pbr::MessageDescriptor pb::IMessage.Descriptor {
4261 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4262 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4263 public TableConstraintProto() {
4267 partial
void OnConstruction();
4269 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4270 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4272 vars_ = other.vars_.Clone();
4273 values_ = other.values_.Clone();
4274 exprs_ = other.exprs_.Clone();
4275 negated_ = other.negated_;
4276 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4280 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4286 public const int VarsFieldNumber = 1;
4287 private static readonly pb::FieldCodec<int> _repeated_vars_codec
4288 = pb::FieldCodec.ForInt32(10);
4289 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
4293 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4294 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4295 public pbc::RepeatedField<int>
Vars {
4296 get {
return vars_; }
4300 public const int ValuesFieldNumber = 2;
4301 private static readonly pb::FieldCodec<long> _repeated_values_codec
4302 = pb::FieldCodec.ForInt64(18);
4303 private readonly pbc::RepeatedField<long> values_ =
new pbc::RepeatedField<long>();
4304 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4305 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4307 get {
return values_; }
4311 public const int ExprsFieldNumber = 4;
4312 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
4314 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
4315 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4316 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4317 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
4318 get {
return exprs_; }
4323 private bool negated_;
4328 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4329 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4331 get {
return negated_; }
4337 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4338 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4339 public override bool Equals(
object other) {
4343 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4344 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4346 if (ReferenceEquals(other,
null)) {
4349 if (ReferenceEquals(other,
this)) {
4352 if(!vars_.Equals(other.vars_))
return false;
4353 if(!values_.Equals(other.values_))
return false;
4354 if(!exprs_.Equals(other.exprs_))
return false;
4355 if (Negated != other.
Negated)
return false;
4356 return Equals(_unknownFields, other._unknownFields);
4359 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4360 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4363 hash ^= vars_.GetHashCode();
4364 hash ^= values_.GetHashCode();
4365 hash ^= exprs_.GetHashCode();
4367 if (_unknownFields !=
null) {
4368 hash ^= _unknownFields.GetHashCode();
4373 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4374 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4375 public override string ToString() {
4376 return pb::JsonFormatter.ToDiagnosticString(
this);
4379 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4380 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4381 public void WriteTo(pb::CodedOutputStream output) {
4382 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4383 output.WriteRawMessage(
this);
4385 vars_.WriteTo(output, _repeated_vars_codec);
4386 values_.WriteTo(output, _repeated_values_codec);
4388 output.WriteRawTag(24);
4391 exprs_.WriteTo(output, _repeated_exprs_codec);
4392 if (_unknownFields !=
null) {
4393 _unknownFields.WriteTo(output);
4398 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4399 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4400 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4401 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4402 vars_.WriteTo(ref output, _repeated_vars_codec);
4403 values_.WriteTo(ref output, _repeated_values_codec);
4405 output.WriteRawTag(24);
4408 exprs_.WriteTo(ref output, _repeated_exprs_codec);
4409 if (_unknownFields !=
null) {
4410 _unknownFields.WriteTo(ref output);
4415 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4416 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4417 public int CalculateSize() {
4419 size += vars_.CalculateSize(_repeated_vars_codec);
4420 size += values_.CalculateSize(_repeated_values_codec);
4421 size += exprs_.CalculateSize(_repeated_exprs_codec);
4422 if (Negated !=
false) {
4425 if (_unknownFields !=
null) {
4426 size += _unknownFields.CalculateSize();
4431 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4432 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4433 public void MergeFrom(TableConstraintProto other) {
4434 if (other ==
null) {
4437 vars_.Add(other.vars_);
4438 values_.Add(other.values_);
4439 exprs_.Add(other.exprs_);
4440 if (other.Negated !=
false) {
4443 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4446 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4447 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4448 public void MergeFrom(pb::CodedInputStream input) {
4449 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4450 input.ReadRawMessage(
this);
4453 while ((tag = input.ReadTag()) != 0) {
4454 if ((tag & 7) == 4) {
4460 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4464 vars_.AddEntriesFrom(input, _repeated_vars_codec);
4469 values_.AddEntriesFrom(input, _repeated_values_codec);
4473 Negated = input.ReadBool();
4477 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
4485 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4486 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4487 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4488 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4490 while ((tag = input.ReadTag()) != 0) {
4491 if ((tag & 7) == 4) {
4497 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4501 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
4506 values_.AddEntriesFrom(ref input, _repeated_values_codec);
4510 Negated = input.ReadBool();
4514 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
4528 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4529 public sealed partial class InverseConstraintProto : pb::IMessage<InverseConstraintProto>
4530 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4531 , pb::IBufferMessage
4534 private static readonly pb::MessageParser<InverseConstraintProto> _parser =
new pb::MessageParser<InverseConstraintProto>(() =>
new InverseConstraintProto());
4535 private pb::UnknownFieldSet _unknownFields;
4536 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4537 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4538 public static pb::MessageParser<InverseConstraintProto> Parser {
get {
return _parser; } }
4540 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4541 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4542 public static pbr::MessageDescriptor Descriptor {
4543 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[15]; }
4546 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4547 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4548 pbr::MessageDescriptor pb::IMessage.Descriptor {
4552 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4553 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4554 public InverseConstraintProto() {
4558 partial
void OnConstruction();
4560 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4561 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4563 fDirect_ = other.fDirect_.Clone();
4564 fInverse_ = other.fInverse_.Clone();
4565 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4568 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4569 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4576 private static readonly pb::FieldCodec<int> _repeated_fDirect_codec
4577 = pb::FieldCodec.ForInt32(10);
4578 private readonly pbc::RepeatedField<int> fDirect_ =
new pbc::RepeatedField<int>();
4579 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4580 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4581 public pbc::RepeatedField<int>
FDirect {
4582 get {
return fDirect_; }
4586 public const int FInverseFieldNumber = 2;
4587 private static readonly pb::FieldCodec<int> _repeated_fInverse_codec
4588 = pb::FieldCodec.ForInt32(18);
4589 private readonly pbc::RepeatedField<int> fInverse_ =
new pbc::RepeatedField<int>();
4590 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4591 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4592 public pbc::RepeatedField<int>
FInverse {
4593 get {
return fInverse_; }
4596 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4597 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4598 public override bool Equals(
object other) {
4602 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4603 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4605 if (ReferenceEquals(other,
null)) {
4608 if (ReferenceEquals(other,
this)) {
4611 if(!fDirect_.Equals(other.fDirect_))
return false;
4612 if(!fInverse_.Equals(other.fInverse_))
return false;
4613 return Equals(_unknownFields, other._unknownFields);
4616 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4617 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4620 hash ^= fDirect_.GetHashCode();
4621 hash ^= fInverse_.GetHashCode();
4622 if (_unknownFields !=
null) {
4623 hash ^= _unknownFields.GetHashCode();
4628 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4629 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4630 public override string ToString() {
4631 return pb::JsonFormatter.ToDiagnosticString(
this);
4634 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4635 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4636 public void WriteTo(pb::CodedOutputStream output) {
4637 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4638 output.WriteRawMessage(
this);
4640 fDirect_.WriteTo(output, _repeated_fDirect_codec);
4641 fInverse_.WriteTo(output, _repeated_fInverse_codec);
4642 if (_unknownFields !=
null) {
4643 _unknownFields.WriteTo(output);
4648 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4649 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4650 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4651 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4652 fDirect_.WriteTo(ref output, _repeated_fDirect_codec);
4653 fInverse_.WriteTo(ref output, _repeated_fInverse_codec);
4654 if (_unknownFields !=
null) {
4655 _unknownFields.WriteTo(ref output);
4660 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4661 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4662 public int CalculateSize() {
4664 size += fDirect_.CalculateSize(_repeated_fDirect_codec);
4665 size += fInverse_.CalculateSize(_repeated_fInverse_codec);
4666 if (_unknownFields !=
null) {
4667 size += _unknownFields.CalculateSize();
4672 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4673 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4674 public void MergeFrom(InverseConstraintProto other) {
4675 if (other ==
null) {
4678 fDirect_.Add(other.fDirect_);
4679 fInverse_.Add(other.fInverse_);
4680 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4683 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4684 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4685 public void MergeFrom(pb::CodedInputStream input) {
4686 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4687 input.ReadRawMessage(
this);
4690 while ((tag = input.ReadTag()) != 0) {
4691 if ((tag & 7) == 4) {
4697 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4701 fDirect_.AddEntriesFrom(input, _repeated_fDirect_codec);
4706 fInverse_.AddEntriesFrom(input, _repeated_fInverse_codec);
4714 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4715 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4716 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4717 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4719 while ((tag = input.ReadTag()) != 0) {
4720 if ((tag & 7) == 4) {
4726 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4730 fDirect_.AddEntriesFrom(ref input, _repeated_fDirect_codec);
4735 fInverse_.AddEntriesFrom(ref input, _repeated_fInverse_codec);
4749 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4750 public sealed partial class AutomatonConstraintProto : pb::IMessage<AutomatonConstraintProto>
4751 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4752 , pb::IBufferMessage
4755 private static readonly pb::MessageParser<AutomatonConstraintProto> _parser =
new pb::MessageParser<AutomatonConstraintProto>(() =>
new AutomatonConstraintProto());
4756 private pb::UnknownFieldSet _unknownFields;
4757 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4758 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4759 public static pb::MessageParser<AutomatonConstraintProto> Parser {
get {
return _parser; } }
4761 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4762 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4763 public static pbr::MessageDescriptor Descriptor {
4764 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[16]; }
4767 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4768 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4769 pbr::MessageDescriptor pb::IMessage.Descriptor {
4773 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4774 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4775 public AutomatonConstraintProto() {
4779 partial
void OnConstruction();
4781 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4782 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4784 startingState_ = other.startingState_;
4785 finalStates_ = other.finalStates_.Clone();
4786 transitionTail_ = other.transitionTail_.Clone();
4787 transitionHead_ = other.transitionHead_.Clone();
4788 transitionLabel_ = other.transitionLabel_.Clone();
4789 vars_ = other.vars_.Clone();
4790 exprs_ = other.exprs_.Clone();
4791 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4794 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4795 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4801 public const int StartingStateFieldNumber = 2;
4802 private long startingState_;
4808 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4809 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4811 get {
return startingState_; }
4813 startingState_ = value;
4819 private static readonly pb::FieldCodec<long> _repeated_finalStates_codec
4820 = pb::FieldCodec.ForInt64(26);
4821 private readonly pbc::RepeatedField<long> finalStates_ =
new pbc::RepeatedField<long>();
4822 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4823 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4825 get {
return finalStates_; }
4829 public const int TransitionTailFieldNumber = 4;
4830 private static readonly pb::FieldCodec<long> _repeated_transitionTail_codec
4831 = pb::FieldCodec.ForInt64(34);
4832 private readonly pbc::RepeatedField<long> transitionTail_ =
new pbc::RepeatedField<long>();
4838 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4839 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4841 get {
return transitionTail_; }
4846 private static readonly pb::FieldCodec<long> _repeated_transitionHead_codec
4847 = pb::FieldCodec.ForInt64(42);
4848 private readonly pbc::RepeatedField<long> transitionHead_ =
new pbc::RepeatedField<long>();
4849 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4850 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4852 get {
return transitionHead_; }
4856 public const int TransitionLabelFieldNumber = 6;
4857 private static readonly pb::FieldCodec<long> _repeated_transitionLabel_codec
4858 = pb::FieldCodec.ForInt64(50);
4859 private readonly pbc::RepeatedField<long> transitionLabel_ =
new pbc::RepeatedField<long>();
4860 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4861 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4863 get {
return transitionLabel_; }
4868 private static readonly pb::FieldCodec<int> _repeated_vars_codec
4869 = pb::FieldCodec.ForInt32(58);
4870 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
4874 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4875 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4876 public pbc::RepeatedField<int>
Vars {
4877 get {
return vars_; }
4881 public const int ExprsFieldNumber = 8;
4882 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
4884 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
4889 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4890 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4891 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
4892 get {
return exprs_; }
4895 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4896 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4897 public override bool Equals(
object other) {
4901 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4902 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4904 if (ReferenceEquals(other,
null)) {
4907 if (ReferenceEquals(other,
this)) {
4911 if(!finalStates_.Equals(other.finalStates_))
return false;
4912 if(!transitionTail_.Equals(other.transitionTail_))
return false;
4913 if(!transitionHead_.Equals(other.transitionHead_))
return false;
4914 if(!transitionLabel_.Equals(other.transitionLabel_))
return false;
4915 if(!vars_.Equals(other.vars_))
return false;
4916 if(!exprs_.Equals(other.exprs_))
return false;
4917 return Equals(_unknownFields, other._unknownFields);
4920 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4921 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4922 public override int GetHashCode() {
4925 hash ^= finalStates_.GetHashCode();
4926 hash ^= transitionTail_.GetHashCode();
4927 hash ^= transitionHead_.GetHashCode();
4928 hash ^= transitionLabel_.GetHashCode();
4929 hash ^= vars_.GetHashCode();
4930 hash ^= exprs_.GetHashCode();
4931 if (_unknownFields !=
null) {
4932 hash ^= _unknownFields.GetHashCode();
4937 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4938 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4939 public override string ToString() {
4940 return pb::JsonFormatter.ToDiagnosticString(
this);
4943 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4944 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4945 public void WriteTo(pb::CodedOutputStream output) {
4946 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4947 output.WriteRawMessage(
this);
4950 output.WriteRawTag(16);
4953 finalStates_.WriteTo(output, _repeated_finalStates_codec);
4954 transitionTail_.WriteTo(output, _repeated_transitionTail_codec);
4955 transitionHead_.WriteTo(output, _repeated_transitionHead_codec);
4956 transitionLabel_.WriteTo(output, _repeated_transitionLabel_codec);
4957 vars_.WriteTo(output, _repeated_vars_codec);
4958 exprs_.WriteTo(output, _repeated_exprs_codec);
4959 if (_unknownFields !=
null) {
4960 _unknownFields.WriteTo(output);
4965 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4966 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4967 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4968 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4970 output.WriteRawTag(16);
4973 finalStates_.WriteTo(ref output, _repeated_finalStates_codec);
4974 transitionTail_.WriteTo(ref output, _repeated_transitionTail_codec);
4975 transitionHead_.WriteTo(ref output, _repeated_transitionHead_codec);
4976 transitionLabel_.WriteTo(ref output, _repeated_transitionLabel_codec);
4977 vars_.WriteTo(ref output, _repeated_vars_codec);
4978 exprs_.WriteTo(ref output, _repeated_exprs_codec);
4979 if (_unknownFields !=
null) {
4980 _unknownFields.WriteTo(ref output);
4985 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4986 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4987 public int CalculateSize() {
4989 if (StartingState != 0L) {
4990 size += 1 + pb::CodedOutputStream.ComputeInt64Size(StartingState);
4992 size += finalStates_.CalculateSize(_repeated_finalStates_codec);
4993 size += transitionTail_.CalculateSize(_repeated_transitionTail_codec);
4994 size += transitionHead_.CalculateSize(_repeated_transitionHead_codec);
4995 size += transitionLabel_.CalculateSize(_repeated_transitionLabel_codec);
4996 size += vars_.CalculateSize(_repeated_vars_codec);
4997 size += exprs_.CalculateSize(_repeated_exprs_codec);
4998 if (_unknownFields !=
null) {
4999 size += _unknownFields.CalculateSize();
5004 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5005 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5006 public void MergeFrom(AutomatonConstraintProto other) {
5007 if (other ==
null) {
5010 if (other.StartingState != 0L) {
5011 StartingState = other.StartingState;
5013 finalStates_.Add(other.finalStates_);
5014 transitionTail_.Add(other.transitionTail_);
5015 transitionHead_.Add(other.transitionHead_);
5016 transitionLabel_.Add(other.transitionLabel_);
5017 vars_.Add(other.vars_);
5018 exprs_.Add(other.exprs_);
5019 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5022 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5023 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5024 public void MergeFrom(pb::CodedInputStream input) {
5025 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5026 input.ReadRawMessage(
this);
5029 while ((tag = input.ReadTag()) != 0) {
5030 if ((tag & 7) == 4) {
5036 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5044 finalStates_.AddEntriesFrom(input, _repeated_finalStates_codec);
5049 transitionTail_.AddEntriesFrom(input, _repeated_transitionTail_codec);
5054 transitionHead_.AddEntriesFrom(input, _repeated_transitionHead_codec);
5059 transitionLabel_.AddEntriesFrom(input, _repeated_transitionLabel_codec);
5064 vars_.AddEntriesFrom(input, _repeated_vars_codec);
5068 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
5076 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5077 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5078 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5079 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
5081 while ((tag = input.ReadTag()) != 0) {
5082 if ((tag & 7) == 4) {
5088 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
5091 StartingState = input.ReadInt64();
5096 finalStates_.AddEntriesFrom(ref input, _repeated_finalStates_codec);
5101 transitionTail_.AddEntriesFrom(ref input, _repeated_transitionTail_codec);
5106 transitionHead_.AddEntriesFrom(ref input, _repeated_transitionHead_codec);
5111 transitionLabel_.AddEntriesFrom(ref input, _repeated_transitionLabel_codec);
5116 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
5120 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
5133 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
5134 public sealed partial class ListOfVariablesProto : pb::IMessage<ListOfVariablesProto>
5135 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5136 , pb::IBufferMessage
5139 private static readonly pb::MessageParser<ListOfVariablesProto> _parser =
new pb::MessageParser<ListOfVariablesProto>(() =>
new ListOfVariablesProto());
5140 private pb::UnknownFieldSet _unknownFields;
5141 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5142 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5143 public static pb::MessageParser<ListOfVariablesProto> Parser {
get {
return _parser; } }
5145 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5146 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5147 public static pbr::MessageDescriptor Descriptor {
5148 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[17]; }
5151 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5152 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5153 pbr::MessageDescriptor pb::IMessage.Descriptor {
5157 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5158 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5159 public ListOfVariablesProto() {
5163 partial
void OnConstruction();
5165 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5166 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5168 vars_ = other.vars_.Clone();
5169 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
5172 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5173 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5180 private static readonly pb::FieldCodec<int> _repeated_vars_codec
5181 = pb::FieldCodec.ForInt32(10);
5182 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
5183 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5184 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5185 public pbc::RepeatedField<int>
Vars {
5186 get {
return vars_; }
5189 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5190 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5191 public override bool Equals(
object other) {
5195 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5196 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5198 if (ReferenceEquals(other,
null)) {
5201 if (ReferenceEquals(other,
this)) {
5204 if(!vars_.Equals(other.vars_))
return false;
5205 return Equals(_unknownFields, other._unknownFields);
5208 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5209 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5210 public override int GetHashCode() {
5212 hash ^= vars_.GetHashCode();
5213 if (_unknownFields !=
null) {
5214 hash ^= _unknownFields.GetHashCode();
5219 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5220 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5221 public override string ToString() {
5222 return pb::JsonFormatter.ToDiagnosticString(
this);
5225 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5226 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5227 public void WriteTo(pb::CodedOutputStream output) {
5228 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5229 output.WriteRawMessage(
this);
5231 vars_.WriteTo(output, _repeated_vars_codec);
5232 if (_unknownFields !=
null) {
5233 _unknownFields.WriteTo(output);
5238 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5239 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5240 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5241 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
5242 vars_.WriteTo(ref output, _repeated_vars_codec);
5243 if (_unknownFields !=
null) {
5244 _unknownFields.WriteTo(ref output);
5249 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5250 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5253 size += vars_.CalculateSize(_repeated_vars_codec);
5254 if (_unknownFields !=
null) {
5255 size += _unknownFields.CalculateSize();
5260 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5261 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5263 if (other ==
null) {
5266 vars_.Add(other.vars_);
5267 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5270 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5271 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5272 public void MergeFrom(pb::CodedInputStream input) {
5273 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5274 input.ReadRawMessage(
this);
5277 while ((tag = input.ReadTag()) != 0) {
5278 if ((tag & 7) == 4) {
5284 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5288 vars_.AddEntriesFrom(input, _repeated_vars_codec);
5296 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5297 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5298 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5299 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
5301 while ((tag = input.ReadTag()) != 0) {
5302 if ((tag & 7) == 4) {
5308 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
5312 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
5325 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
5326 public sealed partial class ConstraintProto : pb::IMessage<ConstraintProto>
5327 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5328 , pb::IBufferMessage
5331 private static readonly pb::MessageParser<ConstraintProto> _parser =
new pb::MessageParser<ConstraintProto>(() =>
new ConstraintProto());
5332 private pb::UnknownFieldSet _unknownFields;
5333 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5334 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5335 public static pb::MessageParser<ConstraintProto> Parser {
get {
return _parser; } }
5337 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5338 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5339 public static pbr::MessageDescriptor Descriptor {
5340 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[18]; }
5343 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5344 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5345 pbr::MessageDescriptor pb::IMessage.Descriptor {
5349 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5350 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5351 public ConstraintProto() {
5355 partial
void OnConstruction();
5357 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5358 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5360 name_ = other.name_;
5361 enforcementLiteral_ = other.enforcementLiteral_.Clone();
5362 switch (other.ConstraintCase) {
5363 case ConstraintOneofCase.BoolOr:
5364 BoolOr = other.BoolOr.Clone();
5366 case ConstraintOneofCase.BoolAnd:
5367 BoolAnd = other.BoolAnd.Clone();
5369 case ConstraintOneofCase.AtMostOne:
5370 AtMostOne = other.AtMostOne.Clone();
5372 case ConstraintOneofCase.ExactlyOne:
5373 ExactlyOne = other.ExactlyOne.Clone();
5375 case ConstraintOneofCase.BoolXor:
5376 BoolXor = other.BoolXor.Clone();
5378 case ConstraintOneofCase.IntDiv:
5379 IntDiv = other.IntDiv.Clone();
5381 case ConstraintOneofCase.IntMod:
5382 IntMod = other.IntMod.Clone();
5384 case ConstraintOneofCase.IntProd:
5385 IntProd = other.IntProd.Clone();
5387 case ConstraintOneofCase.LinMax:
5388 LinMax = other.LinMax.Clone();
5390 case ConstraintOneofCase.Linear:
5391 Linear = other.Linear.Clone();
5393 case ConstraintOneofCase.AllDiff:
5394 AllDiff = other.AllDiff.Clone();
5396 case ConstraintOneofCase.Element:
5397 Element = other.Element.Clone();
5399 case ConstraintOneofCase.Circuit:
5400 Circuit = other.Circuit.Clone();
5402 case ConstraintOneofCase.Routes:
5403 Routes = other.Routes.Clone();
5405 case ConstraintOneofCase.Table:
5406 Table = other.Table.Clone();
5408 case ConstraintOneofCase.Automaton:
5409 Automaton = other.Automaton.Clone();
5411 case ConstraintOneofCase.Inverse:
5412 Inverse = other.Inverse.Clone();
5414 case ConstraintOneofCase.Reservoir:
5415 Reservoir = other.Reservoir.Clone();
5417 case ConstraintOneofCase.Interval:
5418 Interval = other.Interval.Clone();
5420 case ConstraintOneofCase.NoOverlap:
5421 NoOverlap = other.NoOverlap.Clone();
5423 case ConstraintOneofCase.NoOverlap2D:
5424 NoOverlap2D = other.NoOverlap2D.Clone();
5426 case ConstraintOneofCase.Cumulative:
5427 Cumulative = other.Cumulative.Clone();
5429 case ConstraintOneofCase.DummyConstraint:
5430 DummyConstraint = other.DummyConstraint.Clone();
5434 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
5437 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5438 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5444 public const int NameFieldNumber = 1;
5445 private string name_ =
"";
5449 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5450 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5451 public string Name {
5452 get {
return name_; }
5454 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
5460 private static readonly pb::FieldCodec<int> _repeated_enforcementLiteral_codec
5461 = pb::FieldCodec.ForInt32(18);
5462 private readonly pbc::RepeatedField<int> enforcementLiteral_ =
new pbc::RepeatedField<int>();
5479 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5480 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5482 get {
return enforcementLiteral_; }
5486 public const int BoolOrFieldNumber = 3;
5490 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5491 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5492 public global::Google.OrTools.Sat.BoolArgumentProto BoolOr {
5493 get {
return constraintCase_ == ConstraintOneofCase.BoolOr ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ : null; }
5495 constraint_ = value;
5496 constraintCase_ = value ==
null ? ConstraintOneofCase.None : ConstraintOneofCase.BoolOr;
5501 public const int BoolAndFieldNumber = 4;
5509 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5510 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5511 public global::Google.OrTools.Sat.BoolArgumentProto
BoolAnd {
5512 get {
return constraintCase_ ==
ConstraintOneofCase.BoolAnd ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ :
null; }
5514 constraint_ = value;
5520 public const int AtMostOneFieldNumber = 26;
5530 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5531 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5532 public global::Google.OrTools.Sat.BoolArgumentProto
AtMostOne {
5535 constraint_ = value;
5541 public const int ExactlyOneFieldNumber = 29;
5552 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5553 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5554 public global::Google.OrTools.Sat.BoolArgumentProto
ExactlyOne {
5557 constraint_ = value;
5563 public const int BoolXorFieldNumber = 5;
5567 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5568 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5569 public global::Google.OrTools.Sat.BoolArgumentProto
BoolXor {
5570 get {
return constraintCase_ ==
ConstraintOneofCase.BoolXor ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ :
null; }
5572 constraint_ = value;
5578 public const int IntDivFieldNumber = 7;
5588 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5589 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5590 public global::Google.OrTools.Sat.LinearArgumentProto
IntDiv {
5591 get {
return constraintCase_ ==
ConstraintOneofCase.IntDiv ? (global::Google.OrTools.Sat.LinearArgumentProto) constraint_ :
null; }
5593 constraint_ = value;
5599 public const int IntModFieldNumber = 8;
5605 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5606 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5607 public global::Google.OrTools.Sat.LinearArgumentProto
IntMod {
5608 get {
return constraintCase_ ==
ConstraintOneofCase.IntMod ? (global::Google.OrTools.Sat.LinearArgumentProto) constraint_ :
null; }
5610 constraint_ = value;
5627 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5628 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5629 public global::Google.OrTools.Sat.LinearArgumentProto
IntProd {
5630 get {
return constraintCase_ ==
ConstraintOneofCase.IntProd ? (global::Google.OrTools.Sat.LinearArgumentProto) constraint_ :
null; }
5632 constraint_ = value;
5638 public const int LinMaxFieldNumber = 27;
5644 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5645 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5646 public global::Google.OrTools.Sat.LinearArgumentProto
LinMax {
5647 get {
return constraintCase_ ==
ConstraintOneofCase.LinMax ? (global::Google.OrTools.Sat.LinearArgumentProto) constraint_ :
null; }
5649 constraint_ = value;
5655 public const int LinearFieldNumber = 12;
5660 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5661 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5662 public global::Google.OrTools.Sat.LinearConstraintProto
Linear {
5663 get {
return constraintCase_ ==
ConstraintOneofCase.Linear ? (global::Google.OrTools.Sat.LinearConstraintProto) constraint_ :
null; }
5665 constraint_ = value;
5671 public const int AllDiffFieldNumber = 13;
5675 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5676 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5677 public global::Google.OrTools.Sat.AllDifferentConstraintProto
AllDiff {
5678 get {
return constraintCase_ ==
ConstraintOneofCase.AllDiff ? (global::Google.OrTools.Sat.AllDifferentConstraintProto) constraint_ :
null; }
5680 constraint_ = value;
5686 public const int ElementFieldNumber = 14;
5691 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5692 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5693 public global::Google.OrTools.Sat.ElementConstraintProto
Element {
5694 get {
return constraintCase_ ==
ConstraintOneofCase.Element ? (global::Google.OrTools.Sat.ElementConstraintProto) constraint_ :
null; }
5696 constraint_ = value;
5702 public const int CircuitFieldNumber = 15;
5707 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5708 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5709 public global::Google.OrTools.Sat.CircuitConstraintProto
Circuit {
5710 get {
return constraintCase_ ==
ConstraintOneofCase.Circuit ? (global::Google.OrTools.Sat.CircuitConstraintProto) constraint_ :
null; }
5712 constraint_ = value;
5718 public const int RoutesFieldNumber = 23;
5722 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5723 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5724 public global::Google.OrTools.Sat.RoutesConstraintProto
Routes {
5725 get {
return constraintCase_ ==
ConstraintOneofCase.Routes ? (global::Google.OrTools.Sat.RoutesConstraintProto) constraint_ :
null; }
5727 constraint_ = value;
5733 public const int TableFieldNumber = 16;
5738 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5739 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5740 public global::Google.OrTools.Sat.TableConstraintProto
Table {
5741 get {
return constraintCase_ ==
ConstraintOneofCase.Table ? (global::Google.OrTools.Sat.TableConstraintProto) constraint_ :
null; }
5743 constraint_ = value;
5749 public const int AutomatonFieldNumber = 17;
5754 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5755 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5756 public global::Google.OrTools.Sat.AutomatonConstraintProto
Automaton {
5759 constraint_ = value;
5765 public const int InverseFieldNumber = 18;
5770 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5771 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5772 public global::Google.OrTools.Sat.InverseConstraintProto
Inverse {
5773 get {
return constraintCase_ ==
ConstraintOneofCase.Inverse ? (global::Google.OrTools.Sat.InverseConstraintProto) constraint_ :
null; }
5775 constraint_ = value;
5781 public const int ReservoirFieldNumber = 24;
5787 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5788 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5789 public global::Google.OrTools.Sat.ReservoirConstraintProto
Reservoir {
5792 constraint_ = value;
5798 public const int IntervalFieldNumber = 19;
5803 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5804 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5805 public global::Google.OrTools.Sat.IntervalConstraintProto
Interval {
5806 get {
return constraintCase_ ==
ConstraintOneofCase.Interval ? (global::Google.OrTools.Sat.IntervalConstraintProto) constraint_ :
null; }
5808 constraint_ = value;
5814 public const int NoOverlapFieldNumber = 20;
5820 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5821 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5822 public global::Google.OrTools.Sat.NoOverlapConstraintProto
NoOverlap {
5825 constraint_ = value;
5831 public const int NoOverlap2DFieldNumber = 21;
5835 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5836 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5837 public global::Google.OrTools.Sat.NoOverlap2DConstraintProto
NoOverlap2D {
5840 constraint_ = value;
5846 public const int CumulativeFieldNumber = 22;
5852 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5853 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5854 public global::Google.OrTools.Sat.CumulativeConstraintProto
Cumulative {
5857 constraint_ = value;
5863 public const int DummyConstraintFieldNumber = 30;
5868 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5869 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5870 public global::Google.OrTools.Sat.ListOfVariablesProto
DummyConstraint {
5873 constraint_ = value;
5878 private object constraint_;
5880 public enum ConstraintOneofCase {
5906 private ConstraintOneofCase constraintCase_ = ConstraintOneofCase.None;
5907 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5908 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5910 get {
return constraintCase_; }
5913 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5914 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5920 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5921 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5926 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5927 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5929 if (ReferenceEquals(other,
null)) {
5932 if (ReferenceEquals(other,
this)) {
5935 if (Name != other.Name)
return false;
5936 if(!enforcementLiteral_.Equals(other.enforcementLiteral_))
return false;
5937 if (!
object.
Equals(
BoolOr, other.BoolOr))
return false;
5943 if (!
object.
Equals(
IntMod, other.IntMod))
return false;
5945 if (!
object.
Equals(
LinMax, other.LinMax))
return false;
5946 if (!
object.
Equals(
Linear, other.Linear))
return false;
5950 if (!
object.
Equals(
Routes, other.Routes))
return false;
5951 if (!
object.
Equals(
Table, other.Table))
return false;
5961 return Equals(_unknownFields, other._unknownFields);
5964 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5965 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5966 public override int GetHashCode() {
5968 if (Name.Length != 0) hash ^= Name.GetHashCode();
5969 hash ^= enforcementLiteral_.GetHashCode();
5970 if (constraintCase_ == ConstraintOneofCase.BoolOr) hash ^= BoolOr.GetHashCode();
5971 if (constraintCase_ == ConstraintOneofCase.BoolAnd) hash ^= BoolAnd.GetHashCode();
5972 if (constraintCase_ == ConstraintOneofCase.AtMostOne) hash ^= AtMostOne.GetHashCode();
5973 if (constraintCase_ == ConstraintOneofCase.ExactlyOne) hash ^= ExactlyOne.GetHashCode();
5974 if (constraintCase_ == ConstraintOneofCase.BoolXor) hash ^= BoolXor.GetHashCode();
5975 if (constraintCase_ == ConstraintOneofCase.IntDiv) hash ^= IntDiv.GetHashCode();
5976 if (constraintCase_ == ConstraintOneofCase.IntMod) hash ^= IntMod.GetHashCode();
5977 if (constraintCase_ == ConstraintOneofCase.IntProd) hash ^= IntProd.GetHashCode();
5978 if (constraintCase_ == ConstraintOneofCase.LinMax) hash ^= LinMax.GetHashCode();
5979 if (constraintCase_ == ConstraintOneofCase.Linear) hash ^= Linear.GetHashCode();
5980 if (constraintCase_ == ConstraintOneofCase.AllDiff) hash ^= AllDiff.GetHashCode();
5981 if (constraintCase_ == ConstraintOneofCase.Element) hash ^= Element.GetHashCode();
5982 if (constraintCase_ == ConstraintOneofCase.Circuit) hash ^= Circuit.GetHashCode();
5983 if (constraintCase_ == ConstraintOneofCase.Routes) hash ^= Routes.GetHashCode();
5984 if (constraintCase_ == ConstraintOneofCase.Table) hash ^= Table.GetHashCode();
5985 if (constraintCase_ == ConstraintOneofCase.Automaton) hash ^= Automaton.GetHashCode();
5986 if (constraintCase_ == ConstraintOneofCase.Inverse) hash ^= Inverse.GetHashCode();
5987 if (constraintCase_ == ConstraintOneofCase.Reservoir) hash ^= Reservoir.GetHashCode();
5988 if (constraintCase_ == ConstraintOneofCase.Interval) hash ^= Interval.GetHashCode();
5989 if (constraintCase_ == ConstraintOneofCase.NoOverlap) hash ^= NoOverlap.GetHashCode();
5990 if (constraintCase_ == ConstraintOneofCase.NoOverlap2D) hash ^= NoOverlap2D.GetHashCode();
5991 if (constraintCase_ == ConstraintOneofCase.Cumulative) hash ^= Cumulative.GetHashCode();
5992 if (constraintCase_ == ConstraintOneofCase.DummyConstraint) hash ^= DummyConstraint.GetHashCode();
5993 hash ^= (int) constraintCase_;
5994 if (_unknownFields !=
null) {
5995 hash ^= _unknownFields.GetHashCode();
6000 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6001 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6002 public override string ToString() {
6003 return pb::JsonFormatter.ToDiagnosticString(
this);
6006 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6007 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6008 public void WriteTo(pb::CodedOutputStream output) {
6009 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6010 output.WriteRawMessage(
this);
6012 if (Name.Length != 0) {
6013 output.WriteRawTag(10);
6014 output.WriteString(Name);
6016 enforcementLiteral_.WriteTo(output, _repeated_enforcementLiteral_codec);
6017 if (constraintCase_ == ConstraintOneofCase.BoolOr) {
6018 output.WriteRawTag(26);
6019 output.WriteMessage(BoolOr);
6021 if (constraintCase_ == ConstraintOneofCase.BoolAnd) {
6022 output.WriteRawTag(34);
6023 output.WriteMessage(BoolAnd);
6025 if (constraintCase_ == ConstraintOneofCase.BoolXor) {
6026 output.WriteRawTag(42);
6027 output.WriteMessage(BoolXor);
6030 output.WriteRawTag(58);
6031 output.WriteMessage(
IntDiv);
6033 if (constraintCase_ == ConstraintOneofCase.IntMod) {
6034 output.WriteRawTag(66);
6037 if (constraintCase_ == ConstraintOneofCase.IntProd) {
6038 output.WriteRawTag(90);
6039 output.WriteMessage(IntProd);
6041 if (constraintCase_ == ConstraintOneofCase.Linear) {
6042 output.WriteRawTag(98);
6043 output.WriteMessage(Linear);
6045 if (constraintCase_ == ConstraintOneofCase.AllDiff) {
6046 output.WriteRawTag(106);
6047 output.WriteMessage(AllDiff);
6049 if (constraintCase_ == ConstraintOneofCase.Element) {
6050 output.WriteRawTag(114);
6051 output.WriteMessage(Element);
6053 if (constraintCase_ == ConstraintOneofCase.Circuit) {
6054 output.WriteRawTag(122);
6055 output.WriteMessage(Circuit);
6057 if (constraintCase_ == ConstraintOneofCase.Table) {
6058 output.WriteRawTag(130, 1);
6059 output.WriteMessage(Table);
6061 if (constraintCase_ == ConstraintOneofCase.Automaton) {
6062 output.WriteRawTag(138, 1);
6063 output.WriteMessage(Automaton);
6065 if (constraintCase_ == ConstraintOneofCase.Inverse) {
6066 output.WriteRawTag(146, 1);
6067 output.WriteMessage(Inverse);
6069 if (constraintCase_ == ConstraintOneofCase.Interval) {
6070 output.WriteRawTag(154, 1);
6071 output.WriteMessage(Interval);
6073 if (constraintCase_ == ConstraintOneofCase.NoOverlap) {
6074 output.WriteRawTag(162, 1);
6075 output.WriteMessage(NoOverlap);
6077 if (constraintCase_ == ConstraintOneofCase.NoOverlap2D) {
6078 output.WriteRawTag(170, 1);
6079 output.WriteMessage(NoOverlap2D);
6081 if (constraintCase_ == ConstraintOneofCase.Cumulative) {
6082 output.WriteRawTag(178, 1);
6083 output.WriteMessage(Cumulative);
6085 if (constraintCase_ == ConstraintOneofCase.Routes) {
6086 output.WriteRawTag(186, 1);
6087 output.WriteMessage(Routes);
6089 if (constraintCase_ == ConstraintOneofCase.Reservoir) {
6090 output.WriteRawTag(194, 1);
6091 output.WriteMessage(Reservoir);
6093 if (constraintCase_ == ConstraintOneofCase.AtMostOne) {
6094 output.WriteRawTag(210, 1);
6095 output.WriteMessage(AtMostOne);
6097 if (constraintCase_ == ConstraintOneofCase.LinMax) {
6098 output.WriteRawTag(218, 1);
6099 output.WriteMessage(LinMax);
6101 if (constraintCase_ == ConstraintOneofCase.ExactlyOne) {
6102 output.WriteRawTag(234, 1);
6103 output.WriteMessage(ExactlyOne);
6105 if (constraintCase_ == ConstraintOneofCase.DummyConstraint) {
6106 output.WriteRawTag(242, 1);
6107 output.WriteMessage(DummyConstraint);
6109 if (_unknownFields !=
null) {
6110 _unknownFields.WriteTo(output);
6115 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6116 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6117 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6118 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
6119 if (Name.Length != 0) {
6120 output.WriteRawTag(10);
6121 output.WriteString(Name);
6123 enforcementLiteral_.WriteTo(ref output, _repeated_enforcementLiteral_codec);
6124 if (constraintCase_ == ConstraintOneofCase.BoolOr) {
6125 output.WriteRawTag(26);
6126 output.WriteMessage(BoolOr);
6128 if (constraintCase_ == ConstraintOneofCase.BoolAnd) {
6129 output.WriteRawTag(34);
6130 output.WriteMessage(BoolAnd);
6132 if (constraintCase_ == ConstraintOneofCase.BoolXor) {
6133 output.WriteRawTag(42);
6134 output.WriteMessage(BoolXor);
6136 if (constraintCase_ == ConstraintOneofCase.IntDiv) {
6137 output.WriteRawTag(58);
6138 output.WriteMessage(IntDiv);
6140 if (constraintCase_ == ConstraintOneofCase.IntMod) {
6141 output.WriteRawTag(66);
6142 output.WriteMessage(IntMod);
6144 if (constraintCase_ == ConstraintOneofCase.IntProd) {
6145 output.WriteRawTag(90);
6146 output.WriteMessage(IntProd);
6148 if (constraintCase_ == ConstraintOneofCase.Linear) {
6149 output.WriteRawTag(98);
6150 output.WriteMessage(Linear);
6152 if (constraintCase_ == ConstraintOneofCase.AllDiff) {
6153 output.WriteRawTag(106);
6154 output.WriteMessage(AllDiff);
6156 if (constraintCase_ == ConstraintOneofCase.Element) {
6157 output.WriteRawTag(114);
6158 output.WriteMessage(Element);
6160 if (constraintCase_ == ConstraintOneofCase.Circuit) {
6161 output.WriteRawTag(122);
6162 output.WriteMessage(Circuit);
6164 if (constraintCase_ == ConstraintOneofCase.Table) {
6165 output.WriteRawTag(130, 1);
6166 output.WriteMessage(Table);
6168 if (constraintCase_ == ConstraintOneofCase.Automaton) {
6169 output.WriteRawTag(138, 1);
6170 output.WriteMessage(Automaton);
6172 if (constraintCase_ == ConstraintOneofCase.Inverse) {
6173 output.WriteRawTag(146, 1);
6174 output.WriteMessage(Inverse);
6176 if (constraintCase_ == ConstraintOneofCase.Interval) {
6177 output.WriteRawTag(154, 1);
6178 output.WriteMessage(Interval);
6180 if (constraintCase_ == ConstraintOneofCase.NoOverlap) {
6181 output.WriteRawTag(162, 1);
6182 output.WriteMessage(NoOverlap);
6184 if (constraintCase_ == ConstraintOneofCase.NoOverlap2D) {
6185 output.WriteRawTag(170, 1);
6186 output.WriteMessage(NoOverlap2D);
6188 if (constraintCase_ == ConstraintOneofCase.Cumulative) {
6189 output.WriteRawTag(178, 1);
6190 output.WriteMessage(Cumulative);
6192 if (constraintCase_ == ConstraintOneofCase.Routes) {
6193 output.WriteRawTag(186, 1);
6194 output.WriteMessage(Routes);
6196 if (constraintCase_ == ConstraintOneofCase.Reservoir) {
6197 output.WriteRawTag(194, 1);
6198 output.WriteMessage(Reservoir);
6200 if (constraintCase_ == ConstraintOneofCase.AtMostOne) {
6201 output.WriteRawTag(210, 1);
6202 output.WriteMessage(AtMostOne);
6204 if (constraintCase_ == ConstraintOneofCase.LinMax) {
6205 output.WriteRawTag(218, 1);
6206 output.WriteMessage(LinMax);
6208 if (constraintCase_ == ConstraintOneofCase.ExactlyOne) {
6209 output.WriteRawTag(234, 1);
6210 output.WriteMessage(ExactlyOne);
6212 if (constraintCase_ == ConstraintOneofCase.DummyConstraint) {
6213 output.WriteRawTag(242, 1);
6214 output.WriteMessage(DummyConstraint);
6216 if (_unknownFields !=
null) {
6217 _unknownFields.WriteTo(ref output);
6222 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6223 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6224 public int CalculateSize() {
6226 if (Name.Length != 0) {
6227 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
6229 size += enforcementLiteral_.CalculateSize(_repeated_enforcementLiteral_codec);
6230 if (constraintCase_ == ConstraintOneofCase.BoolOr) {
6231 size += 1 + pb::CodedOutputStream.ComputeMessageSize(BoolOr);
6233 if (constraintCase_ == ConstraintOneofCase.BoolAnd) {
6234 size += 1 + pb::CodedOutputStream.ComputeMessageSize(BoolAnd);
6236 if (constraintCase_ == ConstraintOneofCase.AtMostOne) {
6237 size += 2 + pb::CodedOutputStream.ComputeMessageSize(AtMostOne);
6239 if (constraintCase_ == ConstraintOneofCase.ExactlyOne) {
6240 size += 2 + pb::CodedOutputStream.ComputeMessageSize(ExactlyOne);
6242 if (constraintCase_ == ConstraintOneofCase.BoolXor) {
6243 size += 1 + pb::CodedOutputStream.ComputeMessageSize(BoolXor);
6245 if (constraintCase_ == ConstraintOneofCase.IntDiv) {
6246 size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntDiv);
6248 if (constraintCase_ == ConstraintOneofCase.IntMod) {
6249 size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntMod);
6252 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
IntProd);
6254 if (constraintCase_ == ConstraintOneofCase.LinMax) {
6255 size += 2 + pb::CodedOutputStream.ComputeMessageSize(LinMax);
6257 if (constraintCase_ == ConstraintOneofCase.Linear) {
6258 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Linear);
6260 if (constraintCase_ == ConstraintOneofCase.AllDiff) {
6261 size += 1 + pb::CodedOutputStream.ComputeMessageSize(AllDiff);
6263 if (constraintCase_ == ConstraintOneofCase.Element) {
6264 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Element);
6266 if (constraintCase_ == ConstraintOneofCase.Circuit) {
6267 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Circuit);
6269 if (constraintCase_ == ConstraintOneofCase.Routes) {
6270 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Routes);
6272 if (constraintCase_ == ConstraintOneofCase.Table) {
6273 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Table);
6275 if (constraintCase_ == ConstraintOneofCase.Automaton) {
6276 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Automaton);
6278 if (constraintCase_ == ConstraintOneofCase.Inverse) {
6279 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Inverse);
6281 if (constraintCase_ == ConstraintOneofCase.Reservoir) {
6282 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Reservoir);
6284 if (constraintCase_ == ConstraintOneofCase.Interval) {
6285 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Interval);
6287 if (constraintCase_ == ConstraintOneofCase.NoOverlap) {
6288 size += 2 + pb::CodedOutputStream.ComputeMessageSize(NoOverlap);
6290 if (constraintCase_ == ConstraintOneofCase.NoOverlap2D) {
6291 size += 2 + pb::CodedOutputStream.ComputeMessageSize(NoOverlap2D);
6293 if (constraintCase_ == ConstraintOneofCase.Cumulative) {
6294 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Cumulative);
6296 if (constraintCase_ == ConstraintOneofCase.DummyConstraint) {
6297 size += 2 + pb::CodedOutputStream.ComputeMessageSize(DummyConstraint);
6299 if (_unknownFields !=
null) {
6300 size += _unknownFields.CalculateSize();
6305 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6306 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6307 public void MergeFrom(ConstraintProto other) {
6308 if (other ==
null) {
6311 if (other.Name.Length != 0) {
6314 enforcementLiteral_.Add(other.enforcementLiteral_);
6315 switch (other.ConstraintCase) {
6316 case ConstraintOneofCase.BoolOr:
6317 if (BoolOr ==
null) {
6318 BoolOr =
new global::Google.OrTools.Sat.BoolArgumentProto();
6320 BoolOr.MergeFrom(other.BoolOr);
6322 case ConstraintOneofCase.BoolAnd:
6323 if (BoolAnd ==
null) {
6324 BoolAnd =
new global::Google.OrTools.Sat.BoolArgumentProto();
6326 BoolAnd.MergeFrom(other.BoolAnd);
6328 case ConstraintOneofCase.AtMostOne:
6329 if (AtMostOne ==
null) {
6330 AtMostOne =
new global::Google.OrTools.Sat.BoolArgumentProto();
6332 AtMostOne.MergeFrom(other.AtMostOne);
6336 ExactlyOne =
new global::Google.OrTools.Sat.BoolArgumentProto();
6338 ExactlyOne.MergeFrom(other.ExactlyOne);
6340 case ConstraintOneofCase.BoolXor:
6341 if (BoolXor ==
null) {
6342 BoolXor =
new global::Google.OrTools.Sat.BoolArgumentProto();
6344 BoolXor.MergeFrom(other.BoolXor);
6346 case ConstraintOneofCase.IntDiv:
6347 if (IntDiv ==
null) {
6348 IntDiv =
new global::Google.OrTools.Sat.LinearArgumentProto();
6350 IntDiv.MergeFrom(other.IntDiv);
6352 case ConstraintOneofCase.IntMod:
6353 if (IntMod ==
null) {
6354 IntMod =
new global::Google.OrTools.Sat.LinearArgumentProto();
6356 IntMod.MergeFrom(other.IntMod);
6358 case ConstraintOneofCase.IntProd:
6359 if (IntProd ==
null) {
6360 IntProd =
new global::Google.OrTools.Sat.LinearArgumentProto();
6362 IntProd.MergeFrom(other.IntProd);
6364 case ConstraintOneofCase.LinMax:
6365 if (LinMax ==
null) {
6366 LinMax =
new global::Google.OrTools.Sat.LinearArgumentProto();
6368 LinMax.MergeFrom(other.LinMax);
6370 case ConstraintOneofCase.Linear:
6371 if (Linear ==
null) {
6372 Linear =
new global::Google.OrTools.Sat.LinearConstraintProto();
6374 Linear.MergeFrom(other.Linear);
6376 case ConstraintOneofCase.AllDiff:
6377 if (AllDiff ==
null) {
6378 AllDiff =
new global::Google.OrTools.Sat.AllDifferentConstraintProto();
6380 AllDiff.MergeFrom(other.AllDiff);
6382 case ConstraintOneofCase.Element:
6383 if (Element ==
null) {
6384 Element =
new global::Google.OrTools.Sat.ElementConstraintProto();
6386 Element.MergeFrom(other.Element);
6388 case ConstraintOneofCase.Circuit:
6389 if (Circuit ==
null) {
6390 Circuit =
new global::Google.OrTools.Sat.CircuitConstraintProto();
6392 Circuit.MergeFrom(other.Circuit);
6394 case ConstraintOneofCase.Routes:
6395 if (Routes ==
null) {
6396 Routes =
new global::Google.OrTools.Sat.RoutesConstraintProto();
6398 Routes.MergeFrom(other.Routes);
6400 case ConstraintOneofCase.Table:
6401 if (Table ==
null) {
6402 Table =
new global::Google.OrTools.Sat.TableConstraintProto();
6404 Table.MergeFrom(other.Table);
6406 case ConstraintOneofCase.Automaton:
6407 if (Automaton ==
null) {
6408 Automaton =
new global::Google.OrTools.Sat.AutomatonConstraintProto();
6410 Automaton.MergeFrom(other.Automaton);
6412 case ConstraintOneofCase.Inverse:
6413 if (Inverse ==
null) {
6414 Inverse =
new global::Google.OrTools.Sat.InverseConstraintProto();
6416 Inverse.MergeFrom(other.Inverse);
6418 case ConstraintOneofCase.Reservoir:
6419 if (Reservoir ==
null) {
6420 Reservoir =
new global::Google.OrTools.Sat.ReservoirConstraintProto();
6422 Reservoir.MergeFrom(other.Reservoir);
6424 case ConstraintOneofCase.Interval:
6425 if (Interval ==
null) {
6426 Interval =
new global::Google.OrTools.Sat.IntervalConstraintProto();
6428 Interval.MergeFrom(other.Interval);
6430 case ConstraintOneofCase.NoOverlap:
6431 if (NoOverlap ==
null) {
6432 NoOverlap =
new global::Google.OrTools.Sat.NoOverlapConstraintProto();
6434 NoOverlap.MergeFrom(other.NoOverlap);
6436 case ConstraintOneofCase.NoOverlap2D:
6437 if (NoOverlap2D ==
null) {
6438 NoOverlap2D =
new global::Google.OrTools.Sat.NoOverlap2DConstraintProto();
6440 NoOverlap2D.MergeFrom(other.NoOverlap2D);
6442 case ConstraintOneofCase.Cumulative:
6443 if (Cumulative ==
null) {
6444 Cumulative =
new global::Google.OrTools.Sat.CumulativeConstraintProto();
6446 Cumulative.MergeFrom(other.Cumulative);
6448 case ConstraintOneofCase.DummyConstraint:
6449 if (DummyConstraint ==
null) {
6450 DummyConstraint =
new global::Google.OrTools.Sat.ListOfVariablesProto();
6452 DummyConstraint.MergeFrom(other.DummyConstraint);
6456 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
6459 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6460 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6461 public void MergeFrom(pb::CodedInputStream input) {
6462 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6463 input.ReadRawMessage(
this);
6466 while ((tag = input.ReadTag()) != 0) {
6467 if ((tag & 7) == 4) {
6473 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
6476 Name = input.ReadString();
6481 enforcementLiteral_.AddEntriesFrom(input, _repeated_enforcementLiteral_codec);
6485 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6486 if (constraintCase_ == ConstraintOneofCase.BoolOr) {
6487 subBuilder.MergeFrom(BoolOr);
6489 input.ReadMessage(subBuilder);
6490 BoolOr = subBuilder;
6494 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6495 if (constraintCase_ == ConstraintOneofCase.BoolAnd) {
6496 subBuilder.MergeFrom(BoolAnd);
6498 input.ReadMessage(subBuilder);
6499 BoolAnd = subBuilder;
6503 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6504 if (constraintCase_ == ConstraintOneofCase.BoolXor) {
6505 subBuilder.MergeFrom(BoolXor);
6507 input.ReadMessage(subBuilder);
6508 BoolXor = subBuilder;
6512 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6513 if (constraintCase_ == ConstraintOneofCase.IntDiv) {
6514 subBuilder.MergeFrom(IntDiv);
6516 input.ReadMessage(subBuilder);
6517 IntDiv = subBuilder;
6521 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6522 if (constraintCase_ == ConstraintOneofCase.IntMod) {
6523 subBuilder.MergeFrom(IntMod);
6525 input.ReadMessage(subBuilder);
6526 IntMod = subBuilder;
6530 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6531 if (constraintCase_ == ConstraintOneofCase.IntProd) {
6532 subBuilder.MergeFrom(IntProd);
6534 input.ReadMessage(subBuilder);
6535 IntProd = subBuilder;
6539 global::Google.OrTools.Sat.LinearConstraintProto subBuilder =
new global::Google.OrTools.Sat.LinearConstraintProto();
6540 if (constraintCase_ == ConstraintOneofCase.Linear) {
6541 subBuilder.MergeFrom(Linear);
6543 input.ReadMessage(subBuilder);
6544 Linear = subBuilder;
6548 global::Google.OrTools.Sat.AllDifferentConstraintProto subBuilder =
new global::Google.OrTools.Sat.AllDifferentConstraintProto();
6549 if (constraintCase_ == ConstraintOneofCase.AllDiff) {
6550 subBuilder.MergeFrom(AllDiff);
6552 input.ReadMessage(subBuilder);
6553 AllDiff = subBuilder;
6557 global::Google.OrTools.Sat.ElementConstraintProto subBuilder =
new global::Google.OrTools.Sat.ElementConstraintProto();
6558 if (constraintCase_ == ConstraintOneofCase.Element) {
6559 subBuilder.MergeFrom(Element);
6561 input.ReadMessage(subBuilder);
6562 Element = subBuilder;
6566 global::Google.OrTools.Sat.CircuitConstraintProto subBuilder =
new global::Google.OrTools.Sat.CircuitConstraintProto();
6567 if (constraintCase_ == ConstraintOneofCase.Circuit) {
6568 subBuilder.MergeFrom(Circuit);
6570 input.ReadMessage(subBuilder);
6571 Circuit = subBuilder;
6575 global::Google.OrTools.Sat.TableConstraintProto subBuilder =
new global::Google.OrTools.Sat.TableConstraintProto();
6576 if (constraintCase_ == ConstraintOneofCase.Table) {
6577 subBuilder.MergeFrom(Table);
6579 input.ReadMessage(subBuilder);
6584 global::Google.OrTools.Sat.AutomatonConstraintProto subBuilder =
new global::Google.OrTools.Sat.AutomatonConstraintProto();
6585 if (constraintCase_ == ConstraintOneofCase.Automaton) {
6586 subBuilder.MergeFrom(Automaton);
6588 input.ReadMessage(subBuilder);
6589 Automaton = subBuilder;
6593 global::Google.OrTools.Sat.InverseConstraintProto subBuilder =
new global::Google.OrTools.Sat.InverseConstraintProto();
6594 if (constraintCase_ == ConstraintOneofCase.Inverse) {
6595 subBuilder.MergeFrom(Inverse);
6597 input.ReadMessage(subBuilder);
6598 Inverse = subBuilder;
6602 global::Google.OrTools.Sat.IntervalConstraintProto subBuilder =
new global::Google.OrTools.Sat.IntervalConstraintProto();
6603 if (constraintCase_ == ConstraintOneofCase.Interval) {
6604 subBuilder.MergeFrom(Interval);
6606 input.ReadMessage(subBuilder);
6607 Interval = subBuilder;
6611 global::Google.OrTools.Sat.NoOverlapConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlapConstraintProto();
6612 if (constraintCase_ == ConstraintOneofCase.NoOverlap) {
6613 subBuilder.MergeFrom(NoOverlap);
6615 input.ReadMessage(subBuilder);
6616 NoOverlap = subBuilder;
6620 global::Google.OrTools.Sat.NoOverlap2DConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlap2DConstraintProto();
6621 if (constraintCase_ == ConstraintOneofCase.NoOverlap2D) {
6622 subBuilder.MergeFrom(NoOverlap2D);
6624 input.ReadMessage(subBuilder);
6625 NoOverlap2D = subBuilder;
6629 global::Google.OrTools.Sat.CumulativeConstraintProto subBuilder =
new global::Google.OrTools.Sat.CumulativeConstraintProto();
6630 if (constraintCase_ == ConstraintOneofCase.Cumulative) {
6631 subBuilder.MergeFrom(Cumulative);
6633 input.ReadMessage(subBuilder);
6634 Cumulative = subBuilder;
6638 global::Google.OrTools.Sat.RoutesConstraintProto subBuilder =
new global::Google.OrTools.Sat.RoutesConstraintProto();
6639 if (constraintCase_ == ConstraintOneofCase.Routes) {
6640 subBuilder.MergeFrom(Routes);
6642 input.ReadMessage(subBuilder);
6643 Routes = subBuilder;
6647 global::Google.OrTools.Sat.ReservoirConstraintProto subBuilder =
new global::Google.OrTools.Sat.ReservoirConstraintProto();
6648 if (constraintCase_ == ConstraintOneofCase.Reservoir) {
6649 subBuilder.MergeFrom(Reservoir);
6651 input.ReadMessage(subBuilder);
6652 Reservoir = subBuilder;
6656 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6657 if (constraintCase_ == ConstraintOneofCase.AtMostOne) {
6658 subBuilder.MergeFrom(AtMostOne);
6660 input.ReadMessage(subBuilder);
6661 AtMostOne = subBuilder;
6665 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6666 if (constraintCase_ == ConstraintOneofCase.LinMax) {
6667 subBuilder.MergeFrom(LinMax);
6669 input.ReadMessage(subBuilder);
6670 LinMax = subBuilder;
6674 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6675 if (constraintCase_ == ConstraintOneofCase.ExactlyOne) {
6676 subBuilder.MergeFrom(ExactlyOne);
6678 input.ReadMessage(subBuilder);
6679 ExactlyOne = subBuilder;
6683 global::Google.OrTools.Sat.ListOfVariablesProto subBuilder =
new global::Google.OrTools.Sat.ListOfVariablesProto();
6684 if (constraintCase_ == ConstraintOneofCase.DummyConstraint) {
6685 subBuilder.MergeFrom(DummyConstraint);
6687 input.ReadMessage(subBuilder);
6688 DummyConstraint = subBuilder;
6696 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6697 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6698 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6699 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
6701 while ((tag = input.ReadTag()) != 0) {
6702 if ((tag & 7) == 4) {
6708 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
6711 Name = input.ReadString();
6716 enforcementLiteral_.AddEntriesFrom(ref input, _repeated_enforcementLiteral_codec);
6720 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6721 if (constraintCase_ == ConstraintOneofCase.BoolOr) {
6722 subBuilder.MergeFrom(BoolOr);
6724 input.ReadMessage(subBuilder);
6725 BoolOr = subBuilder;
6729 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6730 if (constraintCase_ == ConstraintOneofCase.BoolAnd) {
6731 subBuilder.MergeFrom(BoolAnd);
6733 input.ReadMessage(subBuilder);
6734 BoolAnd = subBuilder;
6738 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6739 if (constraintCase_ == ConstraintOneofCase.BoolXor) {
6740 subBuilder.MergeFrom(BoolXor);
6742 input.ReadMessage(subBuilder);
6743 BoolXor = subBuilder;
6747 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6748 if (constraintCase_ == ConstraintOneofCase.IntDiv) {
6749 subBuilder.MergeFrom(IntDiv);
6751 input.ReadMessage(subBuilder);
6752 IntDiv = subBuilder;
6756 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6757 if (constraintCase_ == ConstraintOneofCase.IntMod) {
6758 subBuilder.MergeFrom(IntMod);
6760 input.ReadMessage(subBuilder);
6761 IntMod = subBuilder;
6765 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6766 if (constraintCase_ == ConstraintOneofCase.IntProd) {
6767 subBuilder.MergeFrom(IntProd);
6769 input.ReadMessage(subBuilder);
6770 IntProd = subBuilder;
6774 global::Google.OrTools.Sat.LinearConstraintProto subBuilder =
new global::Google.OrTools.Sat.LinearConstraintProto();
6775 if (constraintCase_ == ConstraintOneofCase.Linear) {
6776 subBuilder.MergeFrom(Linear);
6778 input.ReadMessage(subBuilder);
6779 Linear = subBuilder;
6783 global::Google.OrTools.Sat.AllDifferentConstraintProto subBuilder =
new global::Google.OrTools.Sat.AllDifferentConstraintProto();
6784 if (constraintCase_ == ConstraintOneofCase.AllDiff) {
6785 subBuilder.MergeFrom(AllDiff);
6787 input.ReadMessage(subBuilder);
6788 AllDiff = subBuilder;
6792 global::Google.OrTools.Sat.ElementConstraintProto subBuilder =
new global::Google.OrTools.Sat.ElementConstraintProto();
6793 if (constraintCase_ == ConstraintOneofCase.Element) {
6794 subBuilder.MergeFrom(Element);
6796 input.ReadMessage(subBuilder);
6797 Element = subBuilder;
6801 global::Google.OrTools.Sat.CircuitConstraintProto subBuilder =
new global::Google.OrTools.Sat.CircuitConstraintProto();
6802 if (constraintCase_ == ConstraintOneofCase.Circuit) {
6803 subBuilder.MergeFrom(Circuit);
6805 input.ReadMessage(subBuilder);
6806 Circuit = subBuilder;
6810 global::Google.OrTools.Sat.TableConstraintProto subBuilder =
new global::Google.OrTools.Sat.TableConstraintProto();
6811 if (constraintCase_ == ConstraintOneofCase.Table) {
6812 subBuilder.MergeFrom(Table);
6814 input.ReadMessage(subBuilder);
6819 global::Google.OrTools.Sat.AutomatonConstraintProto subBuilder =
new global::Google.OrTools.Sat.AutomatonConstraintProto();
6820 if (constraintCase_ == ConstraintOneofCase.Automaton) {
6821 subBuilder.MergeFrom(Automaton);
6823 input.ReadMessage(subBuilder);
6824 Automaton = subBuilder;
6828 global::Google.OrTools.Sat.InverseConstraintProto subBuilder =
new global::Google.OrTools.Sat.InverseConstraintProto();
6829 if (constraintCase_ == ConstraintOneofCase.Inverse) {
6830 subBuilder.MergeFrom(Inverse);
6832 input.ReadMessage(subBuilder);
6833 Inverse = subBuilder;
6837 global::Google.OrTools.Sat.IntervalConstraintProto subBuilder =
new global::Google.OrTools.Sat.IntervalConstraintProto();
6838 if (constraintCase_ == ConstraintOneofCase.Interval) {
6839 subBuilder.MergeFrom(Interval);
6841 input.ReadMessage(subBuilder);
6842 Interval = subBuilder;
6846 global::Google.OrTools.Sat.NoOverlapConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlapConstraintProto();
6847 if (constraintCase_ == ConstraintOneofCase.NoOverlap) {
6848 subBuilder.MergeFrom(NoOverlap);
6850 input.ReadMessage(subBuilder);
6851 NoOverlap = subBuilder;
6855 global::Google.OrTools.Sat.NoOverlap2DConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlap2DConstraintProto();
6856 if (constraintCase_ == ConstraintOneofCase.NoOverlap2D) {
6857 subBuilder.MergeFrom(NoOverlap2D);
6859 input.ReadMessage(subBuilder);
6860 NoOverlap2D = subBuilder;
6864 global::Google.OrTools.Sat.CumulativeConstraintProto subBuilder =
new global::Google.OrTools.Sat.CumulativeConstraintProto();
6865 if (constraintCase_ == ConstraintOneofCase.Cumulative) {
6866 subBuilder.MergeFrom(Cumulative);
6868 input.ReadMessage(subBuilder);
6869 Cumulative = subBuilder;
6873 global::Google.OrTools.Sat.RoutesConstraintProto subBuilder =
new global::Google.OrTools.Sat.RoutesConstraintProto();
6874 if (constraintCase_ == ConstraintOneofCase.Routes) {
6875 subBuilder.MergeFrom(Routes);
6877 input.ReadMessage(subBuilder);
6878 Routes = subBuilder;
6882 global::Google.OrTools.Sat.ReservoirConstraintProto subBuilder =
new global::Google.OrTools.Sat.ReservoirConstraintProto();
6883 if (constraintCase_ == ConstraintOneofCase.Reservoir) {
6884 subBuilder.MergeFrom(Reservoir);
6886 input.ReadMessage(subBuilder);
6887 Reservoir = subBuilder;
6891 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6892 if (constraintCase_ == ConstraintOneofCase.AtMostOne) {
6893 subBuilder.MergeFrom(AtMostOne);
6895 input.ReadMessage(subBuilder);
6896 AtMostOne = subBuilder;
6900 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6901 if (constraintCase_ == ConstraintOneofCase.LinMax) {
6902 subBuilder.MergeFrom(LinMax);
6904 input.ReadMessage(subBuilder);
6905 LinMax = subBuilder;
6909 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6910 if (constraintCase_ == ConstraintOneofCase.ExactlyOne) {
6911 subBuilder.MergeFrom(ExactlyOne);
6913 input.ReadMessage(subBuilder);
6914 ExactlyOne = subBuilder;
6918 global::Google.OrTools.Sat.ListOfVariablesProto subBuilder =
new global::Google.OrTools.Sat.ListOfVariablesProto();
6919 if (constraintCase_ == ConstraintOneofCase.DummyConstraint) {
6920 subBuilder.MergeFrom(DummyConstraint);
6922 input.ReadMessage(subBuilder);
6923 DummyConstraint = subBuilder;
6936 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
6937 public sealed partial class CpObjectiveProto : pb::IMessage<CpObjectiveProto>
6938 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6939 , pb::IBufferMessage
6942 private static readonly pb::MessageParser<CpObjectiveProto> _parser =
new pb::MessageParser<CpObjectiveProto>(() =>
new CpObjectiveProto());
6943 private pb::UnknownFieldSet _unknownFields;
6944 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6945 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6946 public static pb::MessageParser<CpObjectiveProto> Parser {
get {
return _parser; } }
6948 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6949 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6950 public static pbr::MessageDescriptor Descriptor {
6951 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[19]; }
6954 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6955 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6956 pbr::MessageDescriptor pb::IMessage.Descriptor {
6957 get {
return Descriptor; }
6960 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6961 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6962 public CpObjectiveProto() {
6966 partial
void OnConstruction();
6968 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6969 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6971 vars_ = other.vars_.Clone();
6972 coeffs_ = other.coeffs_.Clone();
6973 offset_ = other.offset_;
6974 scalingFactor_ = other.scalingFactor_;
6975 domain_ = other.domain_.Clone();
6976 scalingWasExact_ = other.scalingWasExact_;
6977 integerBeforeOffset_ = other.integerBeforeOffset_;
6978 integerAfterOffset_ = other.integerAfterOffset_;
6979 integerScalingFactor_ = other.integerScalingFactor_;
6980 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
6983 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6984 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6991 private static readonly pb::FieldCodec<int> _repeated_vars_codec
6992 = pb::FieldCodec.ForInt32(10);
6993 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
6999 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7000 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7001 public pbc::RepeatedField<int>
Vars {
7002 get {
return vars_; }
7006 public const int CoeffsFieldNumber = 4;
7007 private static readonly pb::FieldCodec<long> _repeated_coeffs_codec
7008 = pb::FieldCodec.ForInt64(34);
7009 private readonly pbc::RepeatedField<long> coeffs_ =
new pbc::RepeatedField<long>();
7010 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7011 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7013 get {
return coeffs_; }
7018 private double offset_;
7028 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7029 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7031 get {
return offset_; }
7038 public const int ScalingFactorFieldNumber = 3;
7039 private double scalingFactor_;
7040 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7041 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7043 get {
return scalingFactor_; }
7045 scalingFactor_ = value;
7050 public const int DomainFieldNumber = 5;
7051 private static readonly pb::FieldCodec<long> _repeated_domain_codec
7052 = pb::FieldCodec.ForInt64(42);
7053 private readonly pbc::RepeatedField<long> domain_ =
new pbc::RepeatedField<long>();
7059 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7060 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7061 public pbc::RepeatedField<long>
Domain {
7062 get {
return domain_; }
7067 private bool scalingWasExact_;
7075 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7076 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7078 get {
return scalingWasExact_; }
7080 scalingWasExact_ = value;
7085 public const int IntegerBeforeOffsetFieldNumber = 7;
7086 private long integerBeforeOffset_;
7101 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7102 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7104 get {
return integerBeforeOffset_; }
7106 integerBeforeOffset_ = value;
7111 public const int IntegerAfterOffsetFieldNumber = 9;
7112 private long integerAfterOffset_;
7113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7114 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7116 get {
return integerAfterOffset_; }
7118 integerAfterOffset_ = value;
7123 public const int IntegerScalingFactorFieldNumber = 8;
7124 private long integerScalingFactor_;
7125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7126 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7127 public long IntegerScalingFactor {
7128 get {
return integerScalingFactor_; }
7130 integerScalingFactor_ = value;
7134 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7135 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7136 public override bool Equals(
object other) {
7140 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7141 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7143 if (ReferenceEquals(other,
null)) {
7146 if (ReferenceEquals(other,
this)) {
7149 if(!vars_.Equals(other.vars_))
return false;
7150 if(!coeffs_.Equals(other.coeffs_))
return false;
7151 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Offset, other.Offset))
return false;
7152 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ScalingFactor, other.ScalingFactor))
return false;
7153 if(!domain_.Equals(other.domain_))
return false;
7158 return Equals(_unknownFields, other._unknownFields);
7161 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7162 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7163 public override int GetHashCode() {
7165 hash ^= vars_.GetHashCode();
7166 hash ^= coeffs_.GetHashCode();
7167 if (
Offset != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
Offset);
7169 hash ^= domain_.GetHashCode();
7174 if (_unknownFields !=
null) {
7175 hash ^= _unknownFields.GetHashCode();
7180 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7181 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7182 public override string ToString() {
7183 return pb::JsonFormatter.ToDiagnosticString(
this);
7186 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7187 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7188 public void WriteTo(pb::CodedOutputStream output) {
7189 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7190 output.WriteRawMessage(
this);
7192 vars_.WriteTo(output, _repeated_vars_codec);
7194 output.WriteRawTag(17);
7195 output.WriteDouble(
Offset);
7197 if (ScalingFactor != 0D) {
7198 output.WriteRawTag(25);
7199 output.WriteDouble(ScalingFactor);
7201 coeffs_.WriteTo(output, _repeated_coeffs_codec);
7202 domain_.WriteTo(output, _repeated_domain_codec);
7203 if (ScalingWasExact !=
false) {
7204 output.WriteRawTag(48);
7205 output.WriteBool(ScalingWasExact);
7207 if (IntegerBeforeOffset != 0L) {
7208 output.WriteRawTag(56);
7209 output.WriteInt64(IntegerBeforeOffset);
7211 if (IntegerScalingFactor != 0L) {
7212 output.WriteRawTag(64);
7215 if (IntegerAfterOffset != 0L) {
7216 output.WriteRawTag(72);
7217 output.WriteInt64(IntegerAfterOffset);
7219 if (_unknownFields !=
null) {
7220 _unknownFields.WriteTo(output);
7225 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7226 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7227 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7228 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
7229 vars_.WriteTo(ref output, _repeated_vars_codec);
7231 output.WriteRawTag(17);
7232 output.WriteDouble(Offset);
7234 if (ScalingFactor != 0D) {
7235 output.WriteRawTag(25);
7236 output.WriteDouble(ScalingFactor);
7238 coeffs_.WriteTo(ref output, _repeated_coeffs_codec);
7239 domain_.WriteTo(ref output, _repeated_domain_codec);
7240 if (ScalingWasExact !=
false) {
7241 output.WriteRawTag(48);
7242 output.WriteBool(ScalingWasExact);
7244 if (IntegerBeforeOffset != 0L) {
7245 output.WriteRawTag(56);
7246 output.WriteInt64(IntegerBeforeOffset);
7248 if (IntegerScalingFactor != 0L) {
7249 output.WriteRawTag(64);
7250 output.WriteInt64(IntegerScalingFactor);
7252 if (IntegerAfterOffset != 0L) {
7253 output.WriteRawTag(72);
7254 output.WriteInt64(IntegerAfterOffset);
7256 if (_unknownFields !=
null) {
7257 _unknownFields.WriteTo(ref output);
7262 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7263 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7264 public int CalculateSize() {
7266 size += vars_.CalculateSize(_repeated_vars_codec);
7267 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
7271 if (ScalingFactor != 0D) {
7274 size += domain_.CalculateSize(_repeated_domain_codec);
7275 if (ScalingWasExact !=
false) {
7278 if (IntegerBeforeOffset != 0L) {
7279 size += 1 + pb::CodedOutputStream.ComputeInt64Size(IntegerBeforeOffset);
7281 if (IntegerAfterOffset != 0L) {
7282 size += 1 + pb::CodedOutputStream.ComputeInt64Size(IntegerAfterOffset);
7284 if (IntegerScalingFactor != 0L) {
7285 size += 1 + pb::CodedOutputStream.ComputeInt64Size(IntegerScalingFactor);
7287 if (_unknownFields !=
null) {
7288 size += _unknownFields.CalculateSize();
7293 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7294 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7296 if (other ==
null) {
7299 vars_.Add(other.vars_);
7300 coeffs_.Add(other.coeffs_);
7301 if (other.Offset != 0D) {
7304 if (other.ScalingFactor != 0D) {
7307 domain_.Add(other.domain_);
7308 if (other.ScalingWasExact !=
false) {
7311 if (other.IntegerBeforeOffset != 0L) {
7314 if (other.IntegerAfterOffset != 0L) {
7317 if (other.IntegerScalingFactor != 0L) {
7320 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7323 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7324 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7326 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7327 input.ReadRawMessage(
this);
7330 while ((tag = input.ReadTag()) != 0) {
7331 if ((tag & 7) == 4) {
7337 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
7341 vars_.AddEntriesFrom(input, _repeated_vars_codec);
7345 Offset = input.ReadDouble();
7354 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
7359 domain_.AddEntriesFrom(input, _repeated_domain_codec);
7363 ScalingWasExact = input.ReadBool();
7367 IntegerBeforeOffset = input.ReadInt64();
7371 IntegerScalingFactor = input.ReadInt64();
7375 IntegerAfterOffset = input.ReadInt64();
7383 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7384 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7385 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7386 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
7388 while ((tag = input.ReadTag()) != 0) {
7389 if ((tag & 7) == 4) {
7395 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
7399 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
7403 Offset = input.ReadDouble();
7407 ScalingFactor = input.ReadDouble();
7412 coeffs_.AddEntriesFrom(ref input, _repeated_coeffs_codec);
7417 domain_.AddEntriesFrom(ref input, _repeated_domain_codec);
7421 ScalingWasExact = input.ReadBool();
7425 IntegerBeforeOffset = input.ReadInt64();
7429 IntegerScalingFactor = input.ReadInt64();
7433 IntegerAfterOffset = input.ReadInt64();
7447 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
7448 public sealed partial class FloatObjectiveProto : pb::IMessage<FloatObjectiveProto>
7449 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7450 , pb::IBufferMessage
7453 private static readonly pb::MessageParser<FloatObjectiveProto> _parser =
new pb::MessageParser<FloatObjectiveProto>(() =>
new FloatObjectiveProto());
7454 private pb::UnknownFieldSet _unknownFields;
7455 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7456 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7457 public static pb::MessageParser<FloatObjectiveProto> Parser {
get {
return _parser; } }
7459 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7460 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7461 public static pbr::MessageDescriptor Descriptor {
7462 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[20]; }
7465 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7466 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7467 pbr::MessageDescriptor pb::IMessage.Descriptor {
7468 get {
return Descriptor; }
7471 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7472 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7473 public FloatObjectiveProto() {
7477 partial
void OnConstruction();
7479 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7480 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7482 vars_ = other.vars_.Clone();
7483 coeffs_ = other.coeffs_.Clone();
7484 offset_ = other.offset_;
7485 maximize_ = other.maximize_;
7486 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7489 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7490 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7496 public const int VarsFieldNumber = 1;
7497 private static readonly pb::FieldCodec<int> _repeated_vars_codec
7498 = pb::FieldCodec.ForInt32(10);
7499 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
7500 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7501 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7502 public pbc::RepeatedField<int> Vars {
7503 get {
return vars_; }
7507 public const int CoeffsFieldNumber = 2;
7508 private static readonly pb::FieldCodec<double> _repeated_coeffs_codec
7509 = pb::FieldCodec.ForDouble(18);
7510 private readonly pbc::RepeatedField<double> coeffs_ =
new pbc::RepeatedField<double>();
7511 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7512 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7513 public pbc::RepeatedField<double>
Coeffs {
7514 get {
return coeffs_; }
7518 public const int OffsetFieldNumber = 3;
7519 private double offset_;
7520 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7521 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7523 get {
return offset_; }
7530 public const int MaximizeFieldNumber = 4;
7531 private bool maximize_;
7535 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7536 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7538 get {
return maximize_; }
7544 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7545 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7546 public override bool Equals(
object other) {
7550 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7551 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7553 if (ReferenceEquals(other,
null)) {
7556 if (ReferenceEquals(other,
this)) {
7559 if(!vars_.Equals(other.vars_))
return false;
7560 if(!coeffs_.Equals(other.coeffs_))
return false;
7561 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
Offset, other.Offset))
return false;
7562 if (
Maximize != other.Maximize)
return false;
7563 return Equals(_unknownFields, other._unknownFields);
7566 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7567 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7570 hash ^= vars_.GetHashCode();
7571 hash ^= coeffs_.GetHashCode();
7572 if (
Offset != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
Offset);
7574 if (_unknownFields !=
null) {
7575 hash ^= _unknownFields.GetHashCode();
7580 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7581 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7583 return pb::JsonFormatter.ToDiagnosticString(
this);
7586 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7587 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7588 public void WriteTo(pb::CodedOutputStream output) {
7589 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7590 output.WriteRawMessage(
this);
7592 vars_.WriteTo(output, _repeated_vars_codec);
7593 coeffs_.WriteTo(output, _repeated_coeffs_codec);
7595 output.WriteRawTag(25);
7596 output.WriteDouble(Offset);
7599 output.WriteRawTag(32);
7602 if (_unknownFields !=
null) {
7603 _unknownFields.WriteTo(output);
7608 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7609 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7610 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7611 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
7612 vars_.WriteTo(ref output, _repeated_vars_codec);
7613 coeffs_.WriteTo(ref output, _repeated_coeffs_codec);
7615 output.WriteRawTag(25);
7616 output.WriteDouble(
Offset);
7619 output.WriteRawTag(32);
7622 if (_unknownFields !=
null) {
7623 _unknownFields.WriteTo(ref output);
7628 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7629 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7630 public int CalculateSize() {
7632 size += vars_.CalculateSize(_repeated_vars_codec);
7633 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
7637 if (Maximize !=
false) {
7640 if (_unknownFields !=
null) {
7641 size += _unknownFields.CalculateSize();
7646 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7647 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7648 public void MergeFrom(FloatObjectiveProto other) {
7649 if (other ==
null) {
7652 vars_.Add(other.vars_);
7653 coeffs_.Add(other.coeffs_);
7654 if (other.Offset != 0D) {
7655 Offset = other.Offset;
7657 if (other.Maximize !=
false) {
7658 Maximize = other.Maximize;
7660 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7663 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7664 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7665 public void MergeFrom(pb::CodedInputStream input) {
7666 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7667 input.ReadRawMessage(
this);
7670 while ((tag = input.ReadTag()) != 0) {
7671 if ((tag & 7) == 4) {
7677 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
7681 vars_.AddEntriesFrom(input, _repeated_vars_codec);
7686 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
7690 Offset = input.ReadDouble();
7694 Maximize = input.ReadBool();
7702 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7703 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7704 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7705 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
7707 while ((tag = input.ReadTag()) != 0) {
7708 if ((tag & 7) == 4) {
7714 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
7718 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
7723 coeffs_.AddEntriesFrom(ref input, _repeated_coeffs_codec);
7727 Offset = input.ReadDouble();
7731 Maximize = input.ReadBool();
7745 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
7746 public sealed partial class DecisionStrategyProto : pb::IMessage<DecisionStrategyProto>
7747 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7748 , pb::IBufferMessage
7751 private static readonly pb::MessageParser<DecisionStrategyProto> _parser =
new pb::MessageParser<DecisionStrategyProto>(() =>
new DecisionStrategyProto());
7752 private pb::UnknownFieldSet _unknownFields;
7753 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7754 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7755 public static pb::MessageParser<DecisionStrategyProto> Parser {
get {
return _parser; } }
7757 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7758 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7759 public static pbr::MessageDescriptor Descriptor {
7760 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[21]; }
7763 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7764 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7765 pbr::MessageDescriptor pb::IMessage.Descriptor {
7766 get {
return Descriptor; }
7769 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7770 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7771 public DecisionStrategyProto() {
7775 partial
void OnConstruction();
7777 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7778 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7780 variables_ = other.variables_.Clone();
7781 exprs_ = other.exprs_.Clone();
7782 variableSelectionStrategy_ = other.variableSelectionStrategy_;
7783 domainReductionStrategy_ = other.domainReductionStrategy_;
7784 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7787 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7788 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7794 public const int VariablesFieldNumber = 1;
7795 private static readonly pb::FieldCodec<int> _repeated_variables_codec
7796 = pb::FieldCodec.ForInt32(10);
7797 private readonly pbc::RepeatedField<int> variables_ =
new pbc::RepeatedField<int>();
7803 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7804 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7805 public pbc::RepeatedField<int>
Variables {
7806 get {
return variables_; }
7811 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
7813 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
7822 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7823 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7824 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
7825 get {
return exprs_; }
7829 public const int VariableSelectionStrategyFieldNumber = 2;
7830 private global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy variableSelectionStrategy_ = global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst;
7831 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7832 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7833 public global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy VariableSelectionStrategy {
7834 get {
return variableSelectionStrategy_; }
7836 variableSelectionStrategy_ = value;
7842 private global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy domainReductionStrategy_ = global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue;
7843 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7844 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7845 public global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy
DomainReductionStrategy {
7846 get {
return domainReductionStrategy_; }
7848 domainReductionStrategy_ = value;
7852 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7853 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7854 public override bool Equals(
object other) {
7858 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7859 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7861 if (ReferenceEquals(other,
null)) {
7864 if (ReferenceEquals(other,
this)) {
7867 if(!variables_.Equals(other.variables_))
return false;
7868 if(!exprs_.Equals(other.exprs_))
return false;
7869 if (VariableSelectionStrategy != other.VariableSelectionStrategy)
return false;
7870 if (DomainReductionStrategy != other.DomainReductionStrategy)
return false;
7871 return Equals(_unknownFields, other._unknownFields);
7874 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7875 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7878 hash ^= variables_.GetHashCode();
7879 hash ^= exprs_.GetHashCode();
7882 if (_unknownFields !=
null) {
7883 hash ^= _unknownFields.GetHashCode();
7888 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7889 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7890 public override string ToString() {
7891 return pb::JsonFormatter.ToDiagnosticString(
this);
7894 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7895 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7896 public void WriteTo(pb::CodedOutputStream output) {
7897 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7898 output.WriteRawMessage(
this);
7900 variables_.WriteTo(output, _repeated_variables_codec);
7902 output.WriteRawTag(16);
7903 output.WriteEnum((
int) VariableSelectionStrategy);
7906 output.WriteRawTag(24);
7909 exprs_.WriteTo(output, _repeated_exprs_codec);
7910 if (_unknownFields !=
null) {
7911 _unknownFields.WriteTo(output);
7916 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7917 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7918 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7919 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
7920 variables_.WriteTo(ref output, _repeated_variables_codec);
7922 output.WriteRawTag(16);
7926 output.WriteRawTag(24);
7929 exprs_.WriteTo(ref output, _repeated_exprs_codec);
7930 if (_unknownFields !=
null) {
7931 _unknownFields.WriteTo(ref output);
7936 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7937 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7938 public int CalculateSize() {
7940 size += variables_.CalculateSize(_repeated_variables_codec);
7941 size += exprs_.CalculateSize(_repeated_exprs_codec);
7943 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) VariableSelectionStrategy);
7945 if (DomainReductionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue) {
7946 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) DomainReductionStrategy);
7948 if (_unknownFields !=
null) {
7949 size += _unknownFields.CalculateSize();
7954 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7955 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7956 public void MergeFrom(DecisionStrategyProto other) {
7957 if (other ==
null) {
7960 variables_.Add(other.variables_);
7961 exprs_.Add(other.exprs_);
7962 if (other.VariableSelectionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst) {
7963 VariableSelectionStrategy = other.VariableSelectionStrategy;
7965 if (other.DomainReductionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue) {
7966 DomainReductionStrategy = other.DomainReductionStrategy;
7968 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7971 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7972 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7973 public void MergeFrom(pb::CodedInputStream input) {
7974 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7975 input.ReadRawMessage(
this);
7978 while ((tag = input.ReadTag()) != 0) {
7979 if ((tag & 7) == 4) {
7985 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
7989 variables_.AddEntriesFrom(input, _repeated_variables_codec);
7993 VariableSelectionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy) input.ReadEnum();
7997 DomainReductionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy) input.ReadEnum();
8001 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
8009 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8010 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8011 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8012 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
8014 while ((tag = input.ReadTag()) != 0) {
8015 if ((tag & 7) == 4) {
8021 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
8025 variables_.AddEntriesFrom(ref input, _repeated_variables_codec);
8029 VariableSelectionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy) input.ReadEnum();
8033 DomainReductionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy) input.ReadEnum();
8037 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
8045 #region Nested types
8047 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8048 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8049 public static partial class Types {
8057 public enum VariableSelectionStrategy {
8058 [pbr::OriginalName(
"CHOOSE_FIRST")] ChooseFirst = 0,
8059 [pbr::OriginalName(
"CHOOSE_LOWEST_MIN")] ChooseLowestMin = 1,
8060 [pbr::OriginalName(
"CHOOSE_HIGHEST_MAX")] ChooseHighestMax = 2,
8061 [pbr::OriginalName(
"CHOOSE_MIN_DOMAIN_SIZE")] ChooseMinDomainSize = 3,
8062 [pbr::OriginalName(
"CHOOSE_MAX_DOMAIN_SIZE")] ChooseMaxDomainSize = 4,
8071 public enum DomainReductionStrategy {
8072 [pbr::OriginalName(
"SELECT_MIN_VALUE")] SelectMinValue = 0,
8073 [pbr::OriginalName(
"SELECT_MAX_VALUE")] SelectMaxValue = 1,
8074 [pbr::OriginalName(
"SELECT_LOWER_HALF")] SelectLowerHalf = 2,
8075 [pbr::OriginalName(
"SELECT_UPPER_HALF")] SelectUpperHalf = 3,
8076 [pbr::OriginalName(
"SELECT_MEDIAN_VALUE")] SelectMedianValue = 4,
8077 [pbr::OriginalName(
"SELECT_RANDOM_HALF")] SelectRandomHalf = 5,
8090 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
8092 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8093 , pb::IBufferMessage
8096 private static readonly pb::MessageParser<PartialVariableAssignment> _parser =
new pb::MessageParser<PartialVariableAssignment>(() =>
new PartialVariableAssignment());
8097 private pb::UnknownFieldSet _unknownFields;
8098 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8099 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8100 public static pb::MessageParser<PartialVariableAssignment>
Parser {
get {
return _parser; } }
8102 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8103 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8105 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[22]; }
8108 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8109 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8110 pbr::MessageDescriptor pb::IMessage.Descriptor {
8114 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8115 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8120 partial
void OnConstruction();
8122 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8123 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8125 vars_ = other.vars_.Clone();
8126 values_ = other.values_.Clone();
8127 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
8130 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8131 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8138 private static readonly pb::FieldCodec<int> _repeated_vars_codec
8139 = pb::FieldCodec.ForInt32(10);
8140 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
8141 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8142 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8143 public pbc::RepeatedField<int>
Vars {
8144 get {
return vars_; }
8148 public const int ValuesFieldNumber = 2;
8149 private static readonly pb::FieldCodec<long> _repeated_values_codec
8150 = pb::FieldCodec.ForInt64(18);
8151 private readonly pbc::RepeatedField<long> values_ =
new pbc::RepeatedField<long>();
8152 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8153 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8154 public pbc::RepeatedField<long>
Values {
8155 get {
return values_; }
8158 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8159 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8160 public override bool Equals(
object other) {
8164 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8165 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8167 if (ReferenceEquals(other,
null)) {
8170 if (ReferenceEquals(other,
this)) {
8173 if(!vars_.Equals(other.vars_))
return false;
8174 if(!values_.Equals(other.values_))
return false;
8175 return Equals(_unknownFields, other._unknownFields);
8178 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8179 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8180 public override int GetHashCode() {
8182 hash ^= vars_.GetHashCode();
8183 hash ^= values_.GetHashCode();
8184 if (_unknownFields !=
null) {
8185 hash ^= _unknownFields.GetHashCode();
8190 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8191 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8192 public override string ToString() {
8193 return pb::JsonFormatter.ToDiagnosticString(
this);
8196 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8197 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8198 public void WriteTo(pb::CodedOutputStream output) {
8199 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8200 output.WriteRawMessage(
this);
8202 vars_.WriteTo(output, _repeated_vars_codec);
8203 values_.WriteTo(output, _repeated_values_codec);
8204 if (_unknownFields !=
null) {
8205 _unknownFields.WriteTo(output);
8210 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8211 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8212 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8213 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8214 vars_.WriteTo(ref output, _repeated_vars_codec);
8215 values_.WriteTo(ref output, _repeated_values_codec);
8216 if (_unknownFields !=
null) {
8217 _unknownFields.WriteTo(ref output);
8222 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8223 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8224 public int CalculateSize() {
8226 size += vars_.CalculateSize(_repeated_vars_codec);
8227 size += values_.CalculateSize(_repeated_values_codec);
8228 if (_unknownFields !=
null) {
8229 size += _unknownFields.CalculateSize();
8234 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8235 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8237 if (other ==
null) {
8240 vars_.Add(other.vars_);
8241 values_.Add(other.values_);
8242 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8245 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8246 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8247 public void MergeFrom(pb::CodedInputStream input) {
8248 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8249 input.ReadRawMessage(
this);
8252 while ((tag = input.ReadTag()) != 0) {
8253 if ((tag & 7) == 4) {
8259 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
8263 vars_.AddEntriesFrom(input, _repeated_vars_codec);
8268 values_.AddEntriesFrom(input, _repeated_values_codec);
8276 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8277 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8278 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8279 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
8281 while ((tag = input.ReadTag()) != 0) {
8282 if ((tag & 7) == 4) {
8288 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
8292 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
8297 values_.AddEntriesFrom(ref input, _repeated_values_codec);
8311 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
8312 public sealed partial class SparsePermutationProto : pb::IMessage<SparsePermutationProto>
8313 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8314 , pb::IBufferMessage
8317 private static readonly pb::MessageParser<SparsePermutationProto> _parser =
new pb::MessageParser<SparsePermutationProto>(() =>
new SparsePermutationProto());
8318 private pb::UnknownFieldSet _unknownFields;
8319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8320 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8321 public static pb::MessageParser<SparsePermutationProto> Parser {
get {
return _parser; } }
8323 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8324 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8325 public static pbr::MessageDescriptor Descriptor {
8326 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[23]; }
8329 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8330 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8331 pbr::MessageDescriptor pb::IMessage.Descriptor {
8332 get {
return Descriptor; }
8335 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8336 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8337 public SparsePermutationProto() {
8341 partial
void OnConstruction();
8343 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8344 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8346 support_ = other.support_.Clone();
8347 cycleSizes_ = other.cycleSizes_.Clone();
8348 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
8351 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8352 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8359 private static readonly pb::FieldCodec<int> _repeated_support_codec
8360 = pb::FieldCodec.ForInt32(10);
8361 private readonly pbc::RepeatedField<int> support_ =
new pbc::RepeatedField<int>();
8366 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8367 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8368 public pbc::RepeatedField<int>
Support {
8369 get {
return support_; }
8373 public const int CycleSizesFieldNumber = 2;
8374 private static readonly pb::FieldCodec<int> _repeated_cycleSizes_codec
8375 = pb::FieldCodec.ForInt32(18);
8376 private readonly pbc::RepeatedField<int> cycleSizes_ =
new pbc::RepeatedField<int>();
8377 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8378 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8380 get {
return cycleSizes_; }
8383 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8384 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8385 public override bool Equals(
object other) {
8389 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8390 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8392 if (ReferenceEquals(other,
null)) {
8395 if (ReferenceEquals(other,
this)) {
8398 if(!support_.Equals(other.support_))
return false;
8399 if(!cycleSizes_.Equals(other.cycleSizes_))
return false;
8400 return Equals(_unknownFields, other._unknownFields);
8403 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8404 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8405 public override int GetHashCode() {
8407 hash ^= support_.GetHashCode();
8408 hash ^= cycleSizes_.GetHashCode();
8409 if (_unknownFields !=
null) {
8410 hash ^= _unknownFields.GetHashCode();
8415 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8416 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8417 public override string ToString() {
8418 return pb::JsonFormatter.ToDiagnosticString(
this);
8421 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8422 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8423 public void WriteTo(pb::CodedOutputStream output) {
8424 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8425 output.WriteRawMessage(
this);
8427 support_.WriteTo(output, _repeated_support_codec);
8428 cycleSizes_.WriteTo(output, _repeated_cycleSizes_codec);
8429 if (_unknownFields !=
null) {
8430 _unknownFields.WriteTo(output);
8435 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8436 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8437 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8438 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8439 support_.WriteTo(ref output, _repeated_support_codec);
8440 cycleSizes_.WriteTo(ref output, _repeated_cycleSizes_codec);
8441 if (_unknownFields !=
null) {
8442 _unknownFields.WriteTo(ref output);
8447 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8448 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8449 public int CalculateSize() {
8451 size += support_.CalculateSize(_repeated_support_codec);
8452 size += cycleSizes_.CalculateSize(_repeated_cycleSizes_codec);
8453 if (_unknownFields !=
null) {
8454 size += _unknownFields.CalculateSize();
8459 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8460 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8462 if (other ==
null) {
8465 support_.Add(other.support_);
8466 cycleSizes_.Add(other.cycleSizes_);
8467 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8470 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8471 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8472 public void MergeFrom(pb::CodedInputStream input) {
8473 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8474 input.ReadRawMessage(
this);
8477 while ((tag = input.ReadTag()) != 0) {
8478 if ((tag & 7) == 4) {
8484 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
8488 support_.AddEntriesFrom(input, _repeated_support_codec);
8493 cycleSizes_.AddEntriesFrom(input, _repeated_cycleSizes_codec);
8501 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8502 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8503 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8504 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
8506 while ((tag = input.ReadTag()) != 0) {
8507 if ((tag & 7) == 4) {
8513 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
8517 support_.AddEntriesFrom(ref input, _repeated_support_codec);
8522 cycleSizes_.AddEntriesFrom(ref input, _repeated_cycleSizes_codec);
8536 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
8537 public sealed partial class DenseMatrixProto : pb::IMessage<DenseMatrixProto>
8538 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8539 , pb::IBufferMessage
8542 private static readonly pb::MessageParser<DenseMatrixProto> _parser =
new pb::MessageParser<DenseMatrixProto>(() =>
new DenseMatrixProto());
8543 private pb::UnknownFieldSet _unknownFields;
8544 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8545 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8546 public static pb::MessageParser<DenseMatrixProto> Parser {
get {
return _parser; } }
8548 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8549 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8550 public static pbr::MessageDescriptor Descriptor {
8551 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[24]; }
8554 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8555 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8556 pbr::MessageDescriptor pb::IMessage.Descriptor {
8557 get {
return Descriptor; }
8560 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8561 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8562 public DenseMatrixProto() {
8566 partial
void OnConstruction();
8568 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8569 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8571 numRows_ = other.numRows_;
8572 numCols_ = other.numCols_;
8573 entries_ = other.entries_.Clone();
8574 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
8577 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8578 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8585 private int numRows_;
8586 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8587 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8589 get {
return numRows_; }
8597 private int numCols_;
8598 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8599 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8601 get {
return numCols_; }
8608 public const int EntriesFieldNumber = 3;
8609 private static readonly pb::FieldCodec<int> _repeated_entries_codec
8610 = pb::FieldCodec.ForInt32(26);
8611 private readonly pbc::RepeatedField<int> entries_ =
new pbc::RepeatedField<int>();
8612 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8613 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8614 public pbc::RepeatedField<int>
Entries {
8615 get {
return entries_; }
8618 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8619 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8620 public override bool Equals(
object other) {
8624 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8625 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8627 if (ReferenceEquals(other,
null)) {
8630 if (ReferenceEquals(other,
this)) {
8634 if (
NumCols != other.NumCols)
return false;
8635 if(!entries_.Equals(other.entries_))
return false;
8636 return Equals(_unknownFields, other._unknownFields);
8639 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8640 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8645 hash ^= entries_.GetHashCode();
8646 if (_unknownFields !=
null) {
8647 hash ^= _unknownFields.GetHashCode();
8652 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8653 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8654 public override string ToString() {
8655 return pb::JsonFormatter.ToDiagnosticString(
this);
8658 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8659 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8660 public void WriteTo(pb::CodedOutputStream output) {
8661 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8662 output.WriteRawMessage(
this);
8665 output.WriteRawTag(8);
8669 output.WriteRawTag(16);
8672 entries_.WriteTo(output, _repeated_entries_codec);
8673 if (_unknownFields !=
null) {
8674 _unknownFields.WriteTo(output);
8679 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8680 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8681 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8682 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8684 output.WriteRawTag(8);
8685 output.WriteInt32(NumRows);
8688 output.WriteRawTag(16);
8691 entries_.WriteTo(ref output, _repeated_entries_codec);
8692 if (_unknownFields !=
null) {
8693 _unknownFields.WriteTo(ref output);
8698 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8699 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8700 public int CalculateSize() {
8703 size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumRows);
8706 size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumCols);
8708 size += entries_.CalculateSize(_repeated_entries_codec);
8709 if (_unknownFields !=
null) {
8710 size += _unknownFields.CalculateSize();
8715 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8716 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8717 public void MergeFrom(DenseMatrixProto other) {
8718 if (other ==
null) {
8721 if (other.NumRows != 0) {
8722 NumRows = other.NumRows;
8724 if (other.NumCols != 0) {
8725 NumCols = other.NumCols;
8727 entries_.Add(other.entries_);
8728 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8731 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8732 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8734 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8735 input.ReadRawMessage(
this);
8738 while ((tag = input.ReadTag()) != 0) {
8739 if ((tag & 7) == 4) {
8745 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
8752 NumCols = input.ReadInt32();
8757 entries_.AddEntriesFrom(input, _repeated_entries_codec);
8765 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8766 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8767 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8768 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
8770 while ((tag = input.ReadTag()) != 0) {
8771 if ((tag & 7) == 4) {
8777 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
8789 entries_.AddEntriesFrom(ref input, _repeated_entries_codec);
8813 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
8814 public sealed partial class SymmetryProto : pb::IMessage<SymmetryProto>
8815 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8816 , pb::IBufferMessage
8819 private static readonly pb::MessageParser<SymmetryProto> _parser =
new pb::MessageParser<SymmetryProto>(() =>
new SymmetryProto());
8820 private pb::UnknownFieldSet _unknownFields;
8821 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8822 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8823 public static pb::MessageParser<SymmetryProto> Parser {
get {
return _parser; } }
8825 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8826 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8827 public static pbr::MessageDescriptor Descriptor {
8828 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[25]; }
8831 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8832 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8833 pbr::MessageDescriptor pb::IMessage.Descriptor {
8834 get {
return Descriptor; }
8837 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8838 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8839 public SymmetryProto() {
8843 partial
void OnConstruction();
8845 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8846 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8847 public SymmetryProto(SymmetryProto other) : this() {
8848 permutations_ = other.permutations_.Clone();
8849 orbitopes_ = other.orbitopes_.Clone();
8850 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
8853 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8854 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8861 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.SparsePermutationProto> _repeated_permutations_codec
8863 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.SparsePermutationProto> permutations_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.SparsePermutationProto>();
8869 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8870 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8871 public pbc::RepeatedField<global::Google.OrTools.Sat.SparsePermutationProto>
Permutations {
8872 get { return permutations_; }
8877 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.DenseMatrixProto> _repeated_orbitopes_codec
8879 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.DenseMatrixProto> orbitopes_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.DenseMatrixProto>();
8891 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8892 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8893 public pbc::RepeatedField<global::Google.OrTools.Sat.DenseMatrixProto>
Orbitopes {
8894 get { return orbitopes_; }
8897 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8898 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8899 public override bool Equals(
object other) {
8903 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8904 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8906 if (ReferenceEquals(other,
null)) {
8909 if (ReferenceEquals(other,
this)) {
8912 if(!permutations_.Equals(other.permutations_))
return false;
8913 if(!orbitopes_.Equals(other.orbitopes_))
return false;
8914 return Equals(_unknownFields, other._unknownFields);
8917 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8918 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8919 public override int GetHashCode() {
8921 hash ^= permutations_.GetHashCode();
8922 hash ^= orbitopes_.GetHashCode();
8923 if (_unknownFields !=
null) {
8924 hash ^= _unknownFields.GetHashCode();
8929 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8930 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8931 public override string ToString() {
8932 return pb::JsonFormatter.ToDiagnosticString(
this);
8935 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8936 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8937 public void WriteTo(pb::CodedOutputStream output) {
8938 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8939 output.WriteRawMessage(
this);
8941 permutations_.WriteTo(output, _repeated_permutations_codec);
8942 orbitopes_.WriteTo(output, _repeated_orbitopes_codec);
8943 if (_unknownFields !=
null) {
8944 _unknownFields.WriteTo(output);
8949 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8950 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8951 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8952 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8953 permutations_.WriteTo(ref output, _repeated_permutations_codec);
8954 orbitopes_.WriteTo(ref output, _repeated_orbitopes_codec);
8955 if (_unknownFields !=
null) {
8956 _unknownFields.WriteTo(ref output);
8961 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8962 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8963 public int CalculateSize() {
8965 size += permutations_.CalculateSize(_repeated_permutations_codec);
8966 size += orbitopes_.CalculateSize(_repeated_orbitopes_codec);
8967 if (_unknownFields !=
null) {
8968 size += _unknownFields.CalculateSize();
8973 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8974 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8976 if (other ==
null) {
8979 permutations_.Add(other.permutations_);
8980 orbitopes_.Add(other.orbitopes_);
8981 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8984 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8985 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8986 public void MergeFrom(pb::CodedInputStream input) {
8987 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8988 input.ReadRawMessage(
this);
8991 while ((tag = input.ReadTag()) != 0) {
8992 if ((tag & 7) == 4) {
8998 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
9001 permutations_.AddEntriesFrom(input, _repeated_permutations_codec);
9005 orbitopes_.AddEntriesFrom(input, _repeated_orbitopes_codec);
9013 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9014 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9015 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9016 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
9018 while ((tag = input.ReadTag()) != 0) {
9019 if ((tag & 7) == 4) {
9025 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
9028 permutations_.AddEntriesFrom(ref input, _repeated_permutations_codec);
9032 orbitopes_.AddEntriesFrom(ref input, _repeated_orbitopes_codec);
9045 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
9046 public sealed partial
class CpModelProto : pb::IMessage<CpModelProto>
9047 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9048 , pb::IBufferMessage
9051 private static readonly pb::MessageParser<CpModelProto> _parser =
new pb::MessageParser<CpModelProto>(() =>
new CpModelProto());
9052 private pb::UnknownFieldSet _unknownFields;
9053 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9054 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9055 public static pb::MessageParser<CpModelProto> Parser {
get {
return _parser; } }
9057 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9058 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9059 public static pbr::MessageDescriptor Descriptor {
9060 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[26]; }
9063 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9064 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9065 pbr::MessageDescriptor pb::IMessage.Descriptor {
9066 get {
return Descriptor; }
9069 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9070 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9071 public CpModelProto() {
9075 partial
void OnConstruction();
9077 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9078 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9079 public CpModelProto(CpModelProto other) : this() {
9080 name_ = other.name_;
9081 variables_ = other.variables_.Clone();
9082 constraints_ = other.constraints_.Clone();
9083 objective_ = other.objective_ !=
null ? other.objective_.Clone() :
null;
9084 floatingPointObjective_ = other.floatingPointObjective_ !=
null ? other.floatingPointObjective_.Clone() :
null;
9085 searchStrategy_ = other.searchStrategy_.Clone();
9086 solutionHint_ = other.solutionHint_ !=
null ? other.solutionHint_.Clone() :
null;
9087 assumptions_ = other.assumptions_.Clone();
9088 symmetry_ = other.symmetry_ !=
null ? other.symmetry_.Clone() :
null;
9089 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
9092 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9093 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9099 public const int NameFieldNumber = 1;
9100 private string name_ =
"";
9104 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9105 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9106 public string Name {
9107 get {
return name_; }
9109 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
9114 public const int VariablesFieldNumber = 2;
9115 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.IntegerVariableProto> _repeated_variables_codec
9117 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto> variables_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>();
9121 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9122 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9123 public pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>
Variables {
9124 get { return variables_; }
9128 public const int ConstraintsFieldNumber = 3;
9129 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.ConstraintProto> _repeated_constraints_codec
9131 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.ConstraintProto> constraints_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.ConstraintProto>();
9132 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9133 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9134 public pbc::RepeatedField<global::Google.OrTools.Sat.ConstraintProto>
Constraints {
9135 get { return constraints_; }
9139 public const int ObjectiveFieldNumber = 4;
9140 private global::Google.OrTools.Sat.CpObjectiveProto objective_;
9144 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9145 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9147 get { return objective_; }
9154 public const int FloatingPointObjectiveFieldNumber = 9;
9155 private global::Google.OrTools.Sat.FloatObjectiveProto floatingPointObjective_;
9171 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9172 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9174 get { return floatingPointObjective_; }
9176 floatingPointObjective_ = value;
9181 public const int SearchStrategyFieldNumber = 5;
9182 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.DecisionStrategyProto> _repeated_searchStrategy_codec
9184 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto> searchStrategy_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto>();
9196 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9197 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9198 public pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto>
SearchStrategy {
9199 get { return searchStrategy_; }
9203 public const int SolutionHintFieldNumber = 6;
9204 private global::Google.OrTools.Sat.PartialVariableAssignment solutionHint_;
9218 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9219 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9221 get { return solutionHint_; }
9223 solutionHint_ = value;
9228 public const int AssumptionsFieldNumber = 7;
9229 private static readonly pb::FieldCodec<int> _repeated_assumptions_codec
9230 = pb::FieldCodec.ForInt32(58);
9231 private readonly pbc::RepeatedField<int> assumptions_ =
new pbc::RepeatedField<int>();
9247 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9248 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9250 get {
return assumptions_; }
9254 public const int SymmetryFieldNumber = 8;
9255 private global::Google.OrTools.Sat.SymmetryProto symmetry_;
9263 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9264 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9265 public global::Google.OrTools.Sat.SymmetryProto
Symmetry {
9266 get {
return symmetry_; }
9272 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9273 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9274 public override bool Equals(
object other) {
9278 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9279 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9280 public bool Equals(CpModelProto other) {
9281 if (ReferenceEquals(other,
null)) {
9284 if (ReferenceEquals(other,
this)) {
9287 if (Name != other.Name)
return false;
9288 if(!variables_.Equals(other.variables_))
return false;
9289 if(!constraints_.Equals(other.constraints_))
return false;
9290 if (!
object.Equals(Objective, other.Objective))
return false;
9291 if (!
object.Equals(FloatingPointObjective, other.FloatingPointObjective))
return false;
9292 if(!searchStrategy_.Equals(other.searchStrategy_))
return false;
9294 if(!assumptions_.Equals(other.assumptions_))
return false;
9296 return Equals(_unknownFields, other._unknownFields);
9299 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9300 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9303 if (
Name.Length != 0) hash ^=
Name.GetHashCode();
9304 hash ^= variables_.GetHashCode();
9305 hash ^= constraints_.GetHashCode();
9306 if (objective_ !=
null) hash ^=
Objective.GetHashCode();
9308 hash ^= searchStrategy_.GetHashCode();
9309 if (solutionHint_ !=
null) hash ^=
SolutionHint.GetHashCode();
9310 hash ^= assumptions_.GetHashCode();
9311 if (symmetry_ !=
null) hash ^=
Symmetry.GetHashCode();
9312 if (_unknownFields !=
null) {
9313 hash ^= _unknownFields.GetHashCode();
9318 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9319 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9320 public override string ToString() {
9321 return pb::JsonFormatter.ToDiagnosticString(
this);
9324 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9325 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9326 public void WriteTo(pb::CodedOutputStream output) {
9327 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9328 output.WriteRawMessage(
this);
9330 if (
Name.Length != 0) {
9331 output.WriteRawTag(10);
9332 output.WriteString(
Name);
9334 variables_.WriteTo(output, _repeated_variables_codec);
9335 constraints_.WriteTo(output, _repeated_constraints_codec);
9336 if (objective_ !=
null) {
9337 output.WriteRawTag(34);
9340 searchStrategy_.WriteTo(output, _repeated_searchStrategy_codec);
9341 if (solutionHint_ !=
null) {
9342 output.WriteRawTag(50);
9345 assumptions_.WriteTo(output, _repeated_assumptions_codec);
9346 if (symmetry_ !=
null) {
9347 output.WriteRawTag(66);
9350 if (floatingPointObjective_ !=
null) {
9351 output.WriteRawTag(74);
9352 output.WriteMessage(FloatingPointObjective);
9354 if (_unknownFields !=
null) {
9355 _unknownFields.WriteTo(output);
9360 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9361 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9362 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9363 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
9364 if (Name.Length != 0) {
9365 output.WriteRawTag(10);
9366 output.WriteString(
Name);
9368 variables_.WriteTo(ref output, _repeated_variables_codec);
9369 constraints_.WriteTo(ref output, _repeated_constraints_codec);
9370 if (objective_ !=
null) {
9371 output.WriteRawTag(34);
9374 searchStrategy_.WriteTo(ref output, _repeated_searchStrategy_codec);
9375 if (solutionHint_ !=
null) {
9376 output.WriteRawTag(50);
9377 output.WriteMessage(SolutionHint);
9379 assumptions_.WriteTo(ref output, _repeated_assumptions_codec);
9380 if (symmetry_ !=
null) {
9381 output.WriteRawTag(66);
9382 output.WriteMessage(Symmetry);
9384 if (floatingPointObjective_ !=
null) {
9385 output.WriteRawTag(74);
9386 output.WriteMessage(FloatingPointObjective);
9388 if (_unknownFields !=
null) {
9389 _unknownFields.WriteTo(ref output);
9394 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9395 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9396 public int CalculateSize() {
9398 if (Name.Length != 0) {
9399 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
9401 size += variables_.CalculateSize(_repeated_variables_codec);
9402 size += constraints_.CalculateSize(_repeated_constraints_codec);
9403 if (objective_ !=
null) {
9404 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Objective);
9406 if (floatingPointObjective_ !=
null) {
9407 size += 1 + pb::CodedOutputStream.ComputeMessageSize(FloatingPointObjective);
9409 size += searchStrategy_.CalculateSize(_repeated_searchStrategy_codec);
9410 if (solutionHint_ !=
null) {
9411 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SolutionHint);
9413 size += assumptions_.CalculateSize(_repeated_assumptions_codec);
9414 if (symmetry_ !=
null) {
9415 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Symmetry);
9417 if (_unknownFields !=
null) {
9418 size += _unknownFields.CalculateSize();
9423 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9424 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9425 public void MergeFrom(CpModelProto other) {
9426 if (other ==
null) {
9429 if (other.Name.Length != 0) {
9432 variables_.Add(other.variables_);
9433 constraints_.Add(other.constraints_);
9434 if (other.objective_ !=
null) {
9435 if (objective_ ==
null) {
9436 Objective =
new global::Google.OrTools.Sat.CpObjectiveProto();
9438 Objective.MergeFrom(other.Objective);
9440 if (other.floatingPointObjective_ !=
null) {
9441 if (floatingPointObjective_ ==
null) {
9444 FloatingPointObjective.MergeFrom(other.FloatingPointObjective);
9446 searchStrategy_.Add(other.searchStrategy_);
9447 if (other.solutionHint_ !=
null) {
9448 if (solutionHint_ ==
null) {
9449 SolutionHint =
new global::Google.OrTools.Sat.PartialVariableAssignment();
9451 SolutionHint.MergeFrom(other.SolutionHint);
9453 assumptions_.Add(other.assumptions_);
9454 if (other.symmetry_ !=
null) {
9455 if (symmetry_ ==
null) {
9456 Symmetry =
new global::Google.OrTools.Sat.SymmetryProto();
9458 Symmetry.MergeFrom(other.Symmetry);
9460 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
9463 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9464 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9465 public void MergeFrom(pb::CodedInputStream input) {
9466 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9467 input.ReadRawMessage(
this);
9470 while ((tag = input.ReadTag()) != 0) {
9471 if ((tag & 7) == 4) {
9477 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
9480 Name = input.ReadString();
9484 variables_.AddEntriesFrom(input, _repeated_variables_codec);
9488 constraints_.AddEntriesFrom(input, _repeated_constraints_codec);
9492 if (objective_ ==
null) {
9493 Objective =
new global::Google.OrTools.Sat.CpObjectiveProto();
9499 searchStrategy_.AddEntriesFrom(input, _repeated_searchStrategy_codec);
9503 if (solutionHint_ ==
null) {
9504 SolutionHint =
new global::Google.OrTools.Sat.PartialVariableAssignment();
9511 assumptions_.AddEntriesFrom(input, _repeated_assumptions_codec);
9515 if (symmetry_ ==
null) {
9516 Symmetry =
new global::Google.OrTools.Sat.SymmetryProto();
9518 input.ReadMessage(Symmetry);
9522 if (floatingPointObjective_ ==
null) {
9523 FloatingPointObjective =
new global::Google.OrTools.Sat.FloatObjectiveProto();
9525 input.ReadMessage(FloatingPointObjective);
9533 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9534 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9535 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9536 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
9538 while ((tag = input.ReadTag()) != 0) {
9539 if ((tag & 7) == 4) {
9545 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
9548 Name = input.ReadString();
9552 variables_.AddEntriesFrom(ref input, _repeated_variables_codec);
9556 constraints_.AddEntriesFrom(ref input, _repeated_constraints_codec);
9560 if (objective_ ==
null) {
9561 Objective =
new global::Google.OrTools.Sat.CpObjectiveProto();
9563 input.ReadMessage(Objective);
9567 searchStrategy_.AddEntriesFrom(ref input, _repeated_searchStrategy_codec);
9571 if (solutionHint_ ==
null) {
9572 SolutionHint =
new global::Google.OrTools.Sat.PartialVariableAssignment();
9574 input.ReadMessage(SolutionHint);
9579 assumptions_.AddEntriesFrom(ref input, _repeated_assumptions_codec);
9583 if (symmetry_ ==
null) {
9584 Symmetry =
new global::Google.OrTools.Sat.SymmetryProto();
9586 input.ReadMessage(Symmetry);
9590 if (floatingPointObjective_ ==
null) {
9591 FloatingPointObjective =
new global::Google.OrTools.Sat.FloatObjectiveProto();
9593 input.ReadMessage(FloatingPointObjective);
9607 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
9608 public sealed partial class CpSolverSolution : pb::IMessage<CpSolverSolution>
9609 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9610 , pb::IBufferMessage
9613 private static readonly pb::MessageParser<CpSolverSolution> _parser =
new pb::MessageParser<CpSolverSolution>(() =>
new CpSolverSolution());
9614 private pb::UnknownFieldSet _unknownFields;
9615 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9616 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9617 public static pb::MessageParser<CpSolverSolution> Parser {
get {
return _parser; } }
9619 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9620 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9621 public static pbr::MessageDescriptor Descriptor {
9622 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[27]; }
9625 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9626 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9627 pbr::MessageDescriptor pb::IMessage.Descriptor {
9628 get {
return Descriptor; }
9631 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9632 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9633 public CpSolverSolution() {
9637 partial
void OnConstruction();
9639 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9640 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9641 public CpSolverSolution(CpSolverSolution other) : this() {
9642 values_ = other.values_.Clone();
9643 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
9646 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9647 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9648 public CpSolverSolution Clone() {
9649 return new CpSolverSolution(
this);
9654 private static readonly pb::FieldCodec<long> _repeated_values_codec
9655 = pb::FieldCodec.ForInt64(10);
9656 private readonly pbc::RepeatedField<long> values_ =
new pbc::RepeatedField<long>();
9657 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9658 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9659 public pbc::RepeatedField<long>
Values {
9660 get {
return values_; }
9663 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9664 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9665 public override bool Equals(
object other) {
9669 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9670 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9672 if (ReferenceEquals(other,
null)) {
9675 if (ReferenceEquals(other,
this)) {
9678 if(!values_.Equals(other.values_))
return false;
9679 return Equals(_unknownFields, other._unknownFields);
9682 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9683 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9684 public override int GetHashCode() {
9686 hash ^= values_.GetHashCode();
9687 if (_unknownFields !=
null) {
9688 hash ^= _unknownFields.GetHashCode();
9693 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9694 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9695 public override string ToString() {
9696 return pb::JsonFormatter.ToDiagnosticString(
this);
9699 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9700 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9701 public void WriteTo(pb::CodedOutputStream output) {
9702 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9703 output.WriteRawMessage(
this);
9705 values_.WriteTo(output, _repeated_values_codec);
9706 if (_unknownFields !=
null) {
9707 _unknownFields.WriteTo(output);
9712 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9713 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9714 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9715 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
9716 values_.WriteTo(ref output, _repeated_values_codec);
9717 if (_unknownFields !=
null) {
9718 _unknownFields.WriteTo(ref output);
9723 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9724 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9725 public int CalculateSize() {
9727 size += values_.CalculateSize(_repeated_values_codec);
9728 if (_unknownFields !=
null) {
9729 size += _unknownFields.CalculateSize();
9734 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9735 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9736 public void MergeFrom(CpSolverSolution other) {
9737 if (other ==
null) {
9740 values_.Add(other.values_);
9741 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
9744 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9745 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9747 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9748 input.ReadRawMessage(
this);
9751 while ((tag = input.ReadTag()) != 0) {
9752 if ((tag & 7) == 4) {
9758 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
9762 values_.AddEntriesFrom(input, _repeated_values_codec);
9770 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9771 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9772 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9773 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
9775 while ((tag = input.ReadTag()) != 0) {
9776 if ((tag & 7) == 4) {
9782 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
9786 values_.AddEntriesFrom(ref input, _repeated_values_codec);
9801 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
9802 public sealed partial class CpSolverResponse : pb::IMessage<CpSolverResponse>
9803 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9804 , pb::IBufferMessage
9807 private static readonly pb::MessageParser<CpSolverResponse> _parser =
new pb::MessageParser<CpSolverResponse>(() =>
new CpSolverResponse());
9808 private pb::UnknownFieldSet _unknownFields;
9809 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9810 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9811 public static pb::MessageParser<CpSolverResponse> Parser {
get {
return _parser; } }
9813 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9814 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9815 public static pbr::MessageDescriptor Descriptor {
9816 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[28]; }
9819 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9820 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9821 pbr::MessageDescriptor pb::IMessage.Descriptor {
9822 get {
return Descriptor; }
9825 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9826 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9827 public CpSolverResponse() {
9831 partial
void OnConstruction();
9833 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9834 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9835 public CpSolverResponse(CpSolverResponse other) : this() {
9836 status_ = other.status_;
9837 solution_ = other.solution_.Clone();
9838 objectiveValue_ = other.objectiveValue_;
9839 bestObjectiveBound_ = other.bestObjectiveBound_;
9840 additionalSolutions_ = other.additionalSolutions_.Clone();
9841 tightenedVariables_ = other.tightenedVariables_.Clone();
9842 sufficientAssumptionsForInfeasibility_ = other.sufficientAssumptionsForInfeasibility_.Clone();
9843 integerObjective_ = other.integerObjective_ !=
null ? other.integerObjective_.Clone() :
null;
9844 innerObjectiveLowerBound_ = other.innerObjectiveLowerBound_;
9845 numIntegers_ = other.numIntegers_;
9846 numBooleans_ = other.numBooleans_;
9847 numFixedBooleans_ = other.numFixedBooleans_;
9848 numConflicts_ = other.numConflicts_;
9849 numBranches_ = other.numBranches_;
9850 numBinaryPropagations_ = other.numBinaryPropagations_;
9851 numIntegerPropagations_ = other.numIntegerPropagations_;
9852 numRestarts_ = other.numRestarts_;
9853 numLpIterations_ = other.numLpIterations_;
9854 wallTime_ = other.wallTime_;
9855 userTime_ = other.userTime_;
9856 deterministicTime_ = other.deterministicTime_;
9857 gapIntegral_ = other.gapIntegral_;
9858 solutionInfo_ = other.solutionInfo_;
9859 solveLog_ = other.solveLog_;
9860 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
9863 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9864 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9870 public const int StatusFieldNumber = 1;
9871 private global::Google.OrTools.Sat.CpSolverStatus status_ = global::Google.OrTools.Sat.CpSolverStatus.Unknown;
9875 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9876 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9878 get { return status_; }
9885 public const int SolutionFieldNumber = 2;
9886 private static readonly pb::FieldCodec<long> _repeated_solution_codec
9887 = pb::FieldCodec.ForInt64(18);
9888 private readonly pbc::RepeatedField<long> solution_ =
new pbc::RepeatedField<long>();
9895 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9896 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9897 public pbc::RepeatedField<long> Solution {
9898 get {
return solution_; }
9902 public const int ObjectiveValueFieldNumber = 3;
9903 private double objectiveValue_;
9910 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9911 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9913 get {
return objectiveValue_; }
9915 objectiveValue_ = value;
9920 public const int BestObjectiveBoundFieldNumber = 4;
9921 private double bestObjectiveBound_;
9927 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9928 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9930 get {
return bestObjectiveBound_; }
9932 bestObjectiveBound_ = value;
9937 public const int AdditionalSolutionsFieldNumber = 27;
9938 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.CpSolverSolution> _repeated_additionalSolutions_codec
9940 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.CpSolverSolution> additionalSolutions_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.CpSolverSolution>();
9949 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9950 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9951 public pbc::RepeatedField<global::Google.OrTools.Sat.CpSolverSolution>
AdditionalSolutions {
9952 get {
return additionalSolutions_; }
9956 public const int TightenedVariablesFieldNumber = 21;
9957 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.IntegerVariableProto> _repeated_tightenedVariables_codec
9959 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto> tightenedVariables_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>();
9978 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9979 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9980 public pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>
TightenedVariables {
9981 get {
return tightenedVariables_; }
9986 private static readonly pb::FieldCodec<int> _repeated_sufficientAssumptionsForInfeasibility_codec
9987 = pb::FieldCodec.ForInt32(186);
9988 private readonly pbc::RepeatedField<int> sufficientAssumptionsForInfeasibility_ =
new pbc::RepeatedField<int>();
10010 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10011 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10013 get {
return sufficientAssumptionsForInfeasibility_; }
10017 public const int IntegerObjectiveFieldNumber = 28;
10018 private global::Google.OrTools.Sat.CpObjectiveProto integerObjective_;
10024 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10025 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10026 public global::Google.OrTools.Sat.CpObjectiveProto IntegerObjective {
10027 get {
return integerObjective_; }
10029 integerObjective_ = value;
10034 public const int InnerObjectiveLowerBoundFieldNumber = 29;
10035 private long innerObjectiveLowerBound_;
10046 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10047 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10049 get {
return innerObjectiveLowerBound_; }
10051 innerObjectiveLowerBound_ = value;
10056 public const int NumIntegersFieldNumber = 30;
10057 private long numIntegers_;
10065 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10066 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10068 get {
return numIntegers_; }
10070 numIntegers_ = value;
10075 public const int NumBooleansFieldNumber = 10;
10076 private long numBooleans_;
10077 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10078 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10079 public long NumBooleans {
10080 get {
return numBooleans_; }
10082 numBooleans_ = value;
10087 public const int NumFixedBooleansFieldNumber = 31;
10088 private long numFixedBooleans_;
10089 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10090 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10092 get {
return numFixedBooleans_; }
10094 numFixedBooleans_ = value;
10099 public const int NumConflictsFieldNumber = 11;
10100 private long numConflicts_;
10101 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10102 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10103 public long NumConflicts {
10104 get {
return numConflicts_; }
10106 numConflicts_ = value;
10111 public const int NumBranchesFieldNumber = 12;
10112 private long numBranches_;
10113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10114 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10116 get {
return numBranches_; }
10118 numBranches_ = value;
10123 public const int NumBinaryPropagationsFieldNumber = 13;
10124 private long numBinaryPropagations_;
10125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10126 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10128 get {
return numBinaryPropagations_; }
10130 numBinaryPropagations_ = value;
10135 public const int NumIntegerPropagationsFieldNumber = 14;
10136 private long numIntegerPropagations_;
10137 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10138 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10140 get {
return numIntegerPropagations_; }
10142 numIntegerPropagations_ = value;
10147 public const int NumRestartsFieldNumber = 24;
10148 private long numRestarts_;
10149 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10150 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10152 get {
return numRestarts_; }
10154 numRestarts_ = value;
10159 public const int NumLpIterationsFieldNumber = 25;
10160 private long numLpIterations_;
10161 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10162 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10164 get {
return numLpIterations_; }
10166 numLpIterations_ = value;
10171 public const int WallTimeFieldNumber = 15;
10172 private double wallTime_;
10176 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10177 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10179 get {
return wallTime_; }
10187 private double userTime_;
10188 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10189 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10191 get {
return userTime_; }
10199 private double deterministicTime_;
10200 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10201 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10203 get {
return deterministicTime_; }
10205 deterministicTime_ = value;
10211 private double gapIntegral_;
10215 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10216 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10218 get {
return gapIntegral_; }
10220 gapIntegral_ = value;
10225 public const int SolutionInfoFieldNumber = 20;
10226 private string solutionInfo_ =
"";
10231 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10232 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10234 get {
return solutionInfo_; }
10236 solutionInfo_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
10241 public const int SolveLogFieldNumber = 26;
10242 private string solveLog_ =
"";
10247 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10248 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10250 get {
return solveLog_; }
10252 solveLog_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
10256 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10257 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10258 public override bool Equals(
object other) {
10262 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10263 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10265 if (ReferenceEquals(other,
null)) {
10268 if (ReferenceEquals(other,
this)) {
10271 if (Status != other.Status)
return false;
10272 if(!solution_.Equals(other.solution_))
return false;
10273 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ObjectiveValue, other.ObjectiveValue))
return false;
10274 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
BestObjectiveBound, other.BestObjectiveBound))
return false;
10275 if(!additionalSolutions_.Equals(other.additionalSolutions_))
return false;
10276 if(!tightenedVariables_.Equals(other.tightenedVariables_))
return false;
10277 if(!sufficientAssumptionsForInfeasibility_.Equals(other.sufficientAssumptionsForInfeasibility_))
return false;
10280 if (
NumIntegers != other.NumIntegers)
return false;
10281 if (
NumBooleans != other.NumBooleans)
return false;
10284 if (
NumBranches != other.NumBranches)
return false;
10287 if (
NumRestarts != other.NumRestarts)
return false;
10289 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
WallTime, other.WallTime))
return false;
10290 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
UserTime, other.UserTime))
return false;
10291 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
DeterministicTime, other.DeterministicTime))
return false;
10292 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
GapIntegral, other.GapIntegral))
return false;
10294 if (
SolveLog != other.SolveLog)
return false;
10295 return Equals(_unknownFields, other._unknownFields);
10298 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10299 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10303 hash ^= solution_.GetHashCode();
10306 hash ^= additionalSolutions_.GetHashCode();
10307 hash ^= tightenedVariables_.GetHashCode();
10308 hash ^= sufficientAssumptionsForInfeasibility_.GetHashCode();
10320 if (
WallTime != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
WallTime);
10321 if (
UserTime != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
UserTime);
10323 if (
GapIntegral != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
GapIntegral);
10326 if (_unknownFields !=
null) {
10327 hash ^= _unknownFields.GetHashCode();
10332 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10333 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10334 public override string ToString() {
10335 return pb::JsonFormatter.ToDiagnosticString(
this);
10338 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10339 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10340 public void WriteTo(pb::CodedOutputStream output) {
10341 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10342 output.WriteRawMessage(
this);
10344 if (Status != global::Google.
OrTools.
Sat.CpSolverStatus.Unknown) {
10345 output.WriteRawTag(8);
10346 output.WriteEnum((
int) Status);
10348 solution_.WriteTo(output, _repeated_solution_codec);
10349 if (ObjectiveValue != 0D) {
10350 output.WriteRawTag(25);
10351 output.WriteDouble(ObjectiveValue);
10353 if (BestObjectiveBound != 0D) {
10354 output.WriteRawTag(33);
10355 output.WriteDouble(BestObjectiveBound);
10358 output.WriteRawTag(80);
10361 if (NumConflicts != 0L) {
10362 output.WriteRawTag(88);
10363 output.WriteInt64(NumConflicts);
10365 if (NumBranches != 0L) {
10366 output.WriteRawTag(96);
10367 output.WriteInt64(NumBranches);
10369 if (NumBinaryPropagations != 0L) {
10370 output.WriteRawTag(104);
10371 output.WriteInt64(NumBinaryPropagations);
10373 if (NumIntegerPropagations != 0L) {
10374 output.WriteRawTag(112);
10375 output.WriteInt64(NumIntegerPropagations);
10377 if (WallTime != 0D) {
10378 output.WriteRawTag(121);
10379 output.WriteDouble(WallTime);
10381 if (UserTime != 0D) {
10382 output.WriteRawTag(129, 1);
10383 output.WriteDouble(UserTime);
10385 if (DeterministicTime != 0D) {
10386 output.WriteRawTag(137, 1);
10387 output.WriteDouble(DeterministicTime);
10389 if (SolutionInfo.Length != 0) {
10390 output.WriteRawTag(162, 1);
10393 tightenedVariables_.WriteTo(output, _repeated_tightenedVariables_codec);
10394 if (GapIntegral != 0D) {
10395 output.WriteRawTag(177, 1);
10396 output.WriteDouble(GapIntegral);
10398 sufficientAssumptionsForInfeasibility_.WriteTo(output, _repeated_sufficientAssumptionsForInfeasibility_codec);
10399 if (NumRestarts != 0L) {
10400 output.WriteRawTag(192, 1);
10401 output.WriteInt64(NumRestarts);
10403 if (NumLpIterations != 0L) {
10404 output.WriteRawTag(200, 1);
10405 output.WriteInt64(NumLpIterations);
10407 if (SolveLog.Length != 0) {
10408 output.WriteRawTag(210, 1);
10409 output.WriteString(SolveLog);
10411 additionalSolutions_.WriteTo(output, _repeated_additionalSolutions_codec);
10412 if (integerObjective_ !=
null) {
10413 output.WriteRawTag(226, 1);
10414 output.WriteMessage(IntegerObjective);
10416 if (InnerObjectiveLowerBound != 0L) {
10417 output.WriteRawTag(232, 1);
10418 output.WriteInt64(InnerObjectiveLowerBound);
10420 if (NumIntegers != 0L) {
10421 output.WriteRawTag(240, 1);
10422 output.WriteInt64(NumIntegers);
10424 if (NumFixedBooleans != 0L) {
10425 output.WriteRawTag(248, 1);
10426 output.WriteInt64(NumFixedBooleans);
10428 if (_unknownFields !=
null) {
10429 _unknownFields.WriteTo(output);
10434 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10435 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10436 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10437 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
10438 if (Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
10439 output.WriteRawTag(8);
10440 output.WriteEnum((
int) Status);
10442 solution_.WriteTo(ref output, _repeated_solution_codec);
10443 if (ObjectiveValue != 0D) {
10444 output.WriteRawTag(25);
10445 output.WriteDouble(ObjectiveValue);
10447 if (BestObjectiveBound != 0D) {
10448 output.WriteRawTag(33);
10449 output.WriteDouble(BestObjectiveBound);
10451 if (NumBooleans != 0L) {
10452 output.WriteRawTag(80);
10453 output.WriteInt64(NumBooleans);
10455 if (NumConflicts != 0L) {
10456 output.WriteRawTag(88);
10457 output.WriteInt64(NumConflicts);
10459 if (NumBranches != 0L) {
10460 output.WriteRawTag(96);
10461 output.WriteInt64(NumBranches);
10463 if (NumBinaryPropagations != 0L) {
10464 output.WriteRawTag(104);
10465 output.WriteInt64(NumBinaryPropagations);
10467 if (NumIntegerPropagations != 0L) {
10468 output.WriteRawTag(112);
10469 output.WriteInt64(NumIntegerPropagations);
10471 if (WallTime != 0D) {
10472 output.WriteRawTag(121);
10473 output.WriteDouble(WallTime);
10475 if (UserTime != 0D) {
10476 output.WriteRawTag(129, 1);
10477 output.WriteDouble(UserTime);
10479 if (DeterministicTime != 0D) {
10480 output.WriteRawTag(137, 1);
10481 output.WriteDouble(DeterministicTime);
10483 if (SolutionInfo.Length != 0) {
10484 output.WriteRawTag(162, 1);
10485 output.WriteString(SolutionInfo);
10487 tightenedVariables_.WriteTo(ref output, _repeated_tightenedVariables_codec);
10488 if (GapIntegral != 0D) {
10489 output.WriteRawTag(177, 1);
10490 output.WriteDouble(GapIntegral);
10492 sufficientAssumptionsForInfeasibility_.WriteTo(ref output, _repeated_sufficientAssumptionsForInfeasibility_codec);
10493 if (NumRestarts != 0L) {
10494 output.WriteRawTag(192, 1);
10495 output.WriteInt64(NumRestarts);
10497 if (NumLpIterations != 0L) {
10498 output.WriteRawTag(200, 1);
10499 output.WriteInt64(NumLpIterations);
10501 if (SolveLog.Length != 0) {
10502 output.WriteRawTag(210, 1);
10503 output.WriteString(SolveLog);
10505 additionalSolutions_.WriteTo(ref output, _repeated_additionalSolutions_codec);
10506 if (integerObjective_ !=
null) {
10507 output.WriteRawTag(226, 1);
10508 output.WriteMessage(IntegerObjective);
10510 if (InnerObjectiveLowerBound != 0L) {
10511 output.WriteRawTag(232, 1);
10512 output.WriteInt64(InnerObjectiveLowerBound);
10514 if (NumIntegers != 0L) {
10515 output.WriteRawTag(240, 1);
10516 output.WriteInt64(NumIntegers);
10518 if (NumFixedBooleans != 0L) {
10519 output.WriteRawTag(248, 1);
10520 output.WriteInt64(NumFixedBooleans);
10522 if (_unknownFields !=
null) {
10523 _unknownFields.WriteTo(ref output);
10528 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10529 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10530 public int CalculateSize() {
10532 if (Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
10533 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) Status);
10535 size += solution_.CalculateSize(_repeated_solution_codec);
10536 if (ObjectiveValue != 0D) {
10539 if (BestObjectiveBound != 0D) {
10542 size += additionalSolutions_.CalculateSize(_repeated_additionalSolutions_codec);
10543 size += tightenedVariables_.CalculateSize(_repeated_tightenedVariables_codec);
10544 size += sufficientAssumptionsForInfeasibility_.CalculateSize(_repeated_sufficientAssumptionsForInfeasibility_codec);
10545 if (integerObjective_ !=
null) {
10546 size += 2 + pb::CodedOutputStream.ComputeMessageSize(IntegerObjective);
10548 if (InnerObjectiveLowerBound != 0L) {
10549 size += 2 + pb::CodedOutputStream.ComputeInt64Size(InnerObjectiveLowerBound);
10551 if (NumIntegers != 0L) {
10552 size += 2 + pb::CodedOutputStream.ComputeInt64Size(NumIntegers);
10554 if (NumBooleans != 0L) {
10555 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumBooleans);
10557 if (NumFixedBooleans != 0L) {
10558 size += 2 + pb::CodedOutputStream.ComputeInt64Size(NumFixedBooleans);
10560 if (NumConflicts != 0L) {
10561 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumConflicts);
10563 if (NumBranches != 0L) {
10564 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumBranches);
10566 if (NumBinaryPropagations != 0L) {
10567 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumBinaryPropagations);
10569 if (NumIntegerPropagations != 0L) {
10570 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumIntegerPropagations);
10572 if (NumRestarts != 0L) {
10573 size += 2 + pb::CodedOutputStream.ComputeInt64Size(NumRestarts);
10575 if (NumLpIterations != 0L) {
10576 size += 2 + pb::CodedOutputStream.ComputeInt64Size(NumLpIterations);
10578 if (WallTime != 0D) {
10581 if (UserTime != 0D) {
10584 if (DeterministicTime != 0D) {
10590 if (SolutionInfo.Length != 0) {
10591 size += 2 + pb::CodedOutputStream.ComputeStringSize(SolutionInfo);
10593 if (SolveLog.Length != 0) {
10594 size += 2 + pb::CodedOutputStream.ComputeStringSize(SolveLog);
10596 if (_unknownFields !=
null) {
10597 size += _unknownFields.CalculateSize();
10602 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10603 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10604 public void MergeFrom(CpSolverResponse other) {
10605 if (other ==
null) {
10608 if (other.Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
10609 Status = other.Status;
10611 solution_.Add(other.solution_);
10612 if (other.ObjectiveValue != 0D) {
10613 ObjectiveValue = other.ObjectiveValue;
10615 if (other.BestObjectiveBound != 0D) {
10616 BestObjectiveBound = other.BestObjectiveBound;
10618 additionalSolutions_.Add(other.additionalSolutions_);
10619 tightenedVariables_.Add(other.tightenedVariables_);
10620 sufficientAssumptionsForInfeasibility_.Add(other.sufficientAssumptionsForInfeasibility_);
10621 if (other.integerObjective_ !=
null) {
10622 if (integerObjective_ ==
null) {
10623 IntegerObjective =
new global::Google.OrTools.Sat.CpObjectiveProto();
10625 IntegerObjective.MergeFrom(other.IntegerObjective);
10627 if (other.InnerObjectiveLowerBound != 0L) {
10628 InnerObjectiveLowerBound = other.InnerObjectiveLowerBound;
10630 if (other.NumIntegers != 0L) {
10631 NumIntegers = other.NumIntegers;
10633 if (other.NumBooleans != 0L) {
10634 NumBooleans = other.NumBooleans;
10636 if (other.NumFixedBooleans != 0L) {
10637 NumFixedBooleans = other.NumFixedBooleans;
10639 if (other.NumConflicts != 0L) {
10640 NumConflicts = other.NumConflicts;
10642 if (other.NumBranches != 0L) {
10643 NumBranches = other.NumBranches;
10645 if (other.NumBinaryPropagations != 0L) {
10646 NumBinaryPropagations = other.NumBinaryPropagations;
10648 if (other.NumIntegerPropagations != 0L) {
10649 NumIntegerPropagations = other.NumIntegerPropagations;
10651 if (other.NumRestarts != 0L) {
10652 NumRestarts = other.NumRestarts;
10654 if (other.NumLpIterations != 0L) {
10655 NumLpIterations = other.NumLpIterations;
10657 if (other.WallTime != 0D) {
10658 WallTime = other.WallTime;
10660 if (other.UserTime != 0D) {
10663 if (other.DeterministicTime != 0D) {
10664 DeterministicTime = other.DeterministicTime;
10666 if (other.GapIntegral != 0D) {
10667 GapIntegral = other.GapIntegral;
10669 if (other.SolutionInfo.Length != 0) {
10670 SolutionInfo = other.SolutionInfo;
10672 if (other.SolveLog.Length != 0) {
10673 SolveLog = other.SolveLog;
10675 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
10678 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10679 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10680 public void MergeFrom(pb::CodedInputStream input) {
10681 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10682 input.ReadRawMessage(
this);
10685 while ((tag = input.ReadTag()) != 0) {
10686 if ((tag & 7) == 4) {
10692 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
10695 Status = (global::Google.OrTools.Sat.CpSolverStatus) input.ReadEnum();
10700 solution_.AddEntriesFrom(input, _repeated_solution_codec);
10704 ObjectiveValue = input.ReadDouble();
10708 BestObjectiveBound = input.ReadDouble();
10712 NumBooleans = input.ReadInt64();
10716 NumConflicts = input.ReadInt64();
10720 NumBranches = input.ReadInt64();
10724 NumBinaryPropagations = input.ReadInt64();
10728 NumIntegerPropagations = input.ReadInt64();
10732 WallTime = input.ReadDouble();
10736 UserTime = input.ReadDouble();
10740 DeterministicTime = input.ReadDouble();
10744 SolutionInfo = input.ReadString();
10748 tightenedVariables_.AddEntriesFrom(input, _repeated_tightenedVariables_codec);
10752 GapIntegral = input.ReadDouble();
10757 sufficientAssumptionsForInfeasibility_.AddEntriesFrom(input, _repeated_sufficientAssumptionsForInfeasibility_codec);
10761 NumRestarts = input.ReadInt64();
10765 NumLpIterations = input.ReadInt64();
10769 SolveLog = input.ReadString();
10773 additionalSolutions_.AddEntriesFrom(input, _repeated_additionalSolutions_codec);
10777 if (integerObjective_ ==
null) {
10778 IntegerObjective =
new global::Google.OrTools.Sat.CpObjectiveProto();
10780 input.ReadMessage(IntegerObjective);
10784 InnerObjectiveLowerBound = input.ReadInt64();
10788 NumIntegers = input.ReadInt64();
10792 NumFixedBooleans = input.ReadInt64();
10800 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10801 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10802 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10803 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
10805 while ((tag = input.ReadTag()) != 0) {
10806 if ((tag & 7) == 4) {
10812 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
10815 Status = (global::Google.OrTools.Sat.CpSolverStatus) input.ReadEnum();
10820 solution_.AddEntriesFrom(ref input, _repeated_solution_codec);
10824 ObjectiveValue = input.ReadDouble();
10828 BestObjectiveBound = input.ReadDouble();
10832 NumBooleans = input.ReadInt64();
10836 NumConflicts = input.ReadInt64();
10840 NumBranches = input.ReadInt64();
10844 NumBinaryPropagations = input.ReadInt64();
10848 NumIntegerPropagations = input.ReadInt64();
10852 WallTime = input.ReadDouble();
10856 UserTime = input.ReadDouble();
10860 DeterministicTime = input.ReadDouble();
10864 SolutionInfo = input.ReadString();
10868 tightenedVariables_.AddEntriesFrom(ref input, _repeated_tightenedVariables_codec);
10872 GapIntegral = input.ReadDouble();
10877 sufficientAssumptionsForInfeasibility_.AddEntriesFrom(ref input, _repeated_sufficientAssumptionsForInfeasibility_codec);
10881 NumRestarts = input.ReadInt64();
10885 NumLpIterations = input.ReadInt64();
10889 SolveLog = input.ReadString();
10893 additionalSolutions_.AddEntriesFrom(ref input, _repeated_additionalSolutions_codec);
10897 if (integerObjective_ ==
null) {
10898 IntegerObjective =
new global::Google.OrTools.Sat.CpObjectiveProto();
10900 input.ReadMessage(IntegerObjective);
10904 InnerObjectiveLowerBound = input.ReadInt64();
10908 NumIntegers = input.ReadInt64();
10912 NumFixedBooleans = input.ReadInt64();
10926#endregion Designer generated code
global::Google.Protobuf pb
global::Google.Protobuf.Reflection pbr
global::System.Collections.Generic scg
global::Google.Protobuf.Collections pbc