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;
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 "GAEgAygFEg4KBmNvZWZmcxgCIAMoAxIOCgZkb21haW4YAyADKAMiRQoWRWxl",
39 "bWVudENvbnN0cmFpbnRQcm90bxINCgVpbmRleBgBIAEoBRIOCgZ0YXJnZXQY",
40 "AiABKAUSDAoEdmFycxgDIAMoBSLTAQoXSW50ZXJ2YWxDb25zdHJhaW50UHJv",
41 "dG8SPQoFc3RhcnQYBCABKAsyLi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5M",
42 "aW5lYXJFeHByZXNzaW9uUHJvdG8SOwoDZW5kGAUgASgLMi4ub3BlcmF0aW9u",
43 "c19yZXNlYXJjaC5zYXQuTGluZWFyRXhwcmVzc2lvblByb3RvEjwKBHNpemUY",
44 "BiABKAsyLi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5MaW5lYXJFeHByZXNz",
45 "aW9uUHJvdG8iLQoYTm9PdmVybGFwQ29uc3RyYWludFByb3RvEhEKCWludGVy",
46 "dmFscxgBIAMoBSJGChpOb092ZXJsYXAyRENvbnN0cmFpbnRQcm90bxITCgt4",
47 "X2ludGVydmFscxgBIAMoBRITCgt5X2ludGVydmFscxgCIAMoBSKxAQoZQ3Vt",
48 "dWxhdGl2ZUNvbnN0cmFpbnRQcm90bxJACghjYXBhY2l0eRgBIAEoCzIuLm9w",
49 "ZXJhdGlvbnNfcmVzZWFyY2guc2F0LkxpbmVhckV4cHJlc3Npb25Qcm90bxIR",
50 "CglpbnRlcnZhbHMYAiADKAUSPwoHZGVtYW5kcxgDIAMoCzIuLm9wZXJhdGlv",
51 "bnNfcmVzZWFyY2guc2F0LkxpbmVhckV4cHJlc3Npb25Qcm90byLqAQoYUmVz",
52 "ZXJ2b2lyQ29uc3RyYWludFByb3RvEhEKCW1pbl9sZXZlbBgBIAEoAxIRCglt",
53 "YXhfbGV2ZWwYAiABKAMSQgoKdGltZV9leHBycxgDIAMoCzIuLm9wZXJhdGlv",
54 "bnNfcmVzZWFyY2guc2F0LkxpbmVhckV4cHJlc3Npb25Qcm90bxJFCg1sZXZl",
55 "bF9jaGFuZ2VzGAYgAygLMi4ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGlu",
56 "ZWFyRXhwcmVzc2lvblByb3RvEhcKD2FjdGl2ZV9saXRlcmFscxgFIAMoBUoE",
57 "CAQQBSJIChZDaXJjdWl0Q29uc3RyYWludFByb3RvEg0KBXRhaWxzGAMgAygF",
58 "Eg0KBWhlYWRzGAQgAygFEhAKCGxpdGVyYWxzGAUgAygFImoKFVJvdXRlc0Nv",
59 "bnN0cmFpbnRQcm90bxINCgV0YWlscxgBIAMoBRINCgVoZWFkcxgCIAMoBRIQ",
60 "CghsaXRlcmFscxgDIAMoBRIPCgdkZW1hbmRzGAQgAygFEhAKCGNhcGFjaXR5",
61 "GAUgASgDIkUKFFRhYmxlQ29uc3RyYWludFByb3RvEgwKBHZhcnMYASADKAUS",
62 "DgoGdmFsdWVzGAIgAygDEg8KB25lZ2F0ZWQYAyABKAgiPQoWSW52ZXJzZUNv",
63 "bnN0cmFpbnRQcm90bxIQCghmX2RpcmVjdBgBIAMoBRIRCglmX2ludmVyc2UY",
64 "AiADKAUiogEKGEF1dG9tYXRvbkNvbnN0cmFpbnRQcm90bxIWCg5zdGFydGlu",
65 "Z19zdGF0ZRgCIAEoAxIUCgxmaW5hbF9zdGF0ZXMYAyADKAMSFwoPdHJhbnNp",
66 "dGlvbl90YWlsGAQgAygDEhcKD3RyYW5zaXRpb25faGVhZBgFIAMoAxIYChB0",
67 "cmFuc2l0aW9uX2xhYmVsGAYgAygDEgwKBHZhcnMYByADKAUiJAoUTGlzdE9m",
68 "VmFyaWFibGVzUHJvdG8SDAoEdmFycxgBIAMoBSLwDAoPQ29uc3RyYWludFBy",
69 "b3RvEgwKBG5hbWUYASABKAkSGwoTZW5mb3JjZW1lbnRfbGl0ZXJhbBgCIAMo",
70 "BRI9Cgdib29sX29yGAMgASgLMioub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQu",
71 "Qm9vbEFyZ3VtZW50UHJvdG9IABI+Cghib29sX2FuZBgEIAEoCzIqLm9wZXJh",
72 "dGlvbnNfcmVzZWFyY2guc2F0LkJvb2xBcmd1bWVudFByb3RvSAASQQoLYXRf",
73 "bW9zdF9vbmUYGiABKAsyKi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5Cb29s",
74 "QXJndW1lbnRQcm90b0gAEkEKC2V4YWN0bHlfb25lGB0gASgLMioub3BlcmF0",
75 "aW9uc19yZXNlYXJjaC5zYXQuQm9vbEFyZ3VtZW50UHJvdG9IABI+Cghib29s",
76 "X3hvchgFIAEoCzIqLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkJvb2xBcmd1",
77 "bWVudFByb3RvSAASPwoHaW50X2RpdhgHIAEoCzIsLm9wZXJhdGlvbnNfcmVz",
78 "ZWFyY2guc2F0LkxpbmVhckFyZ3VtZW50UHJvdG9IABI/CgdpbnRfbW9kGAgg",
79 "ASgLMiwub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGluZWFyQXJndW1lbnRQ",
80 "cm90b0gAEkAKCGludF9wcm9kGAsgASgLMiwub3BlcmF0aW9uc19yZXNlYXJj",
81 "aC5zYXQuTGluZWFyQXJndW1lbnRQcm90b0gAEj8KB2xpbl9tYXgYGyABKAsy",
82 "LC5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5MaW5lYXJBcmd1bWVudFByb3Rv",
83 "SAASQAoGbGluZWFyGAwgASgLMi4ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQu",
84 "TGluZWFyQ29uc3RyYWludFByb3RvSAASSAoIYWxsX2RpZmYYDSABKAsyNC5v",
85 "cGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5BbGxEaWZmZXJlbnRDb25zdHJhaW50",
86 "UHJvdG9IABJCCgdlbGVtZW50GA4gASgLMi8ub3BlcmF0aW9uc19yZXNlYXJj",
87 "aC5zYXQuRWxlbWVudENvbnN0cmFpbnRQcm90b0gAEkIKB2NpcmN1aXQYDyAB",
88 "KAsyLy5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5DaXJjdWl0Q29uc3RyYWlu",
89 "dFByb3RvSAASQAoGcm91dGVzGBcgASgLMi4ub3BlcmF0aW9uc19yZXNlYXJj",
90 "aC5zYXQuUm91dGVzQ29uc3RyYWludFByb3RvSAASPgoFdGFibGUYECABKAsy",
91 "LS5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5UYWJsZUNvbnN0cmFpbnRQcm90",
92 "b0gAEkYKCWF1dG9tYXRvbhgRIAEoCzIxLm9wZXJhdGlvbnNfcmVzZWFyY2gu",
93 "c2F0LkF1dG9tYXRvbkNvbnN0cmFpbnRQcm90b0gAEkIKB2ludmVyc2UYEiAB",
94 "KAsyLy5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5JbnZlcnNlQ29uc3RyYWlu",
95 "dFByb3RvSAASRgoJcmVzZXJ2b2lyGBggASgLMjEub3BlcmF0aW9uc19yZXNl",
96 "YXJjaC5zYXQuUmVzZXJ2b2lyQ29uc3RyYWludFByb3RvSAASRAoIaW50ZXJ2",
97 "YWwYEyABKAsyMC5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5JbnRlcnZhbENv",
98 "bnN0cmFpbnRQcm90b0gAEkcKCm5vX292ZXJsYXAYFCABKAsyMS5vcGVyYXRp",
99 "b25zX3Jlc2VhcmNoLnNhdC5Ob092ZXJsYXBDb25zdHJhaW50UHJvdG9IABJM",
100 "Cg1ub19vdmVybGFwXzJkGBUgASgLMjMub3BlcmF0aW9uc19yZXNlYXJjaC5z",
101 "YXQuTm9PdmVybGFwMkRDb25zdHJhaW50UHJvdG9IABJICgpjdW11bGF0aXZl",
102 "GBYgASgLMjIub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuQ3VtdWxhdGl2ZUNv",
103 "bnN0cmFpbnRQcm90b0gAEkkKEGR1bW15X2NvbnN0cmFpbnQYHiABKAsyLS5v",
104 "cGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5MaXN0T2ZWYXJpYWJsZXNQcm90b0gA",
105 "QgwKCmNvbnN0cmFpbnQi4AEKEENwT2JqZWN0aXZlUHJvdG8SDAoEdmFycxgB",
106 "IAMoBRIOCgZjb2VmZnMYBCADKAMSDgoGb2Zmc2V0GAIgASgBEhYKDnNjYWxp",
107 "bmdfZmFjdG9yGAMgASgBEg4KBmRvbWFpbhgFIAMoAxIZChFzY2FsaW5nX3dh",
108 "c19leGFjdBgGIAEoCBIdChVpbnRlZ2VyX2JlZm9yZV9vZmZzZXQYByABKAMS",
109 "HAoUaW50ZWdlcl9hZnRlcl9vZmZzZXQYCSABKAMSHgoWaW50ZWdlcl9zY2Fs",
110 "aW5nX2ZhY3RvchgIIAEoAyJVChNGbG9hdE9iamVjdGl2ZVByb3RvEgwKBHZh",
111 "cnMYASADKAUSDgoGY29lZmZzGAIgAygBEg4KBm9mZnNldBgDIAEoARIQCght",
112 "YXhpbWl6ZRgEIAEoCCLpBAoVRGVjaXNpb25TdHJhdGVneVByb3RvEhEKCXZh",
113 "cmlhYmxlcxgBIAMoBRI9CgVleHBycxgFIAMoCzIuLm9wZXJhdGlvbnNfcmVz",
114 "ZWFyY2guc2F0LkxpbmVhckV4cHJlc3Npb25Qcm90bxJtCht2YXJpYWJsZV9z",
115 "ZWxlY3Rpb25fc3RyYXRlZ3kYAiABKA4ySC5vcGVyYXRpb25zX3Jlc2VhcmNo",
116 "LnNhdC5EZWNpc2lvblN0cmF0ZWd5UHJvdG8uVmFyaWFibGVTZWxlY3Rpb25T",
117 "dHJhdGVneRJpChlkb21haW5fcmVkdWN0aW9uX3N0cmF0ZWd5GAMgASgOMkYu",
118 "b3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuRGVjaXNpb25TdHJhdGVneVByb3Rv",
119 "LkRvbWFpblJlZHVjdGlvblN0cmF0ZWd5IpQBChlWYXJpYWJsZVNlbGVjdGlv",
120 "blN0cmF0ZWd5EhAKDENIT09TRV9GSVJTVBAAEhUKEUNIT09TRV9MT1dFU1Rf",
121 "TUlOEAESFgoSQ0hPT1NFX0hJR0hFU1RfTUFYEAISGgoWQ0hPT1NFX01JTl9E",
122 "T01BSU5fU0laRRADEhoKFkNIT09TRV9NQVhfRE9NQUlOX1NJWkUQBCKMAQoX",
123 "RG9tYWluUmVkdWN0aW9uU3RyYXRlZ3kSFAoQU0VMRUNUX01JTl9WQUxVRRAA",
124 "EhQKEFNFTEVDVF9NQVhfVkFMVUUQARIVChFTRUxFQ1RfTE9XRVJfSEFMRhAC",
125 "EhUKEVNFTEVDVF9VUFBFUl9IQUxGEAMSFwoTU0VMRUNUX01FRElBTl9WQUxV",
126 "RRAEIjkKGVBhcnRpYWxWYXJpYWJsZUFzc2lnbm1lbnQSDAoEdmFycxgBIAMo",
127 "BRIOCgZ2YWx1ZXMYAiADKAMiPgoWU3BhcnNlUGVybXV0YXRpb25Qcm90bxIP",
128 "CgdzdXBwb3J0GAEgAygFEhMKC2N5Y2xlX3NpemVzGAIgAygFIkcKEERlbnNl",
129 "TWF0cml4UHJvdG8SEAoIbnVtX3Jvd3MYASABKAUSEAoIbnVtX2NvbHMYAiAB",
130 "KAUSDwoHZW50cmllcxgDIAMoBSKUAQoNU3ltbWV0cnlQcm90bxJFCgxwZXJt",
131 "dXRhdGlvbnMYASADKAsyLy5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5TcGFy",
132 "c2VQZXJtdXRhdGlvblByb3RvEjwKCW9yYml0b3BlcxgCIAMoCzIpLm9wZXJh",
133 "dGlvbnNfcmVzZWFyY2guc2F0LkRlbnNlTWF0cml4UHJvdG8ijgQKDENwTW9k",
134 "ZWxQcm90bxIMCgRuYW1lGAEgASgJEkAKCXZhcmlhYmxlcxgCIAMoCzItLm9w",
135 "ZXJhdGlvbnNfcmVzZWFyY2guc2F0LkludGVnZXJWYXJpYWJsZVByb3RvEj0K",
136 "C2NvbnN0cmFpbnRzGAMgAygLMigub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQu",
137 "Q29uc3RyYWludFByb3RvEjwKCW9iamVjdGl2ZRgEIAEoCzIpLm9wZXJhdGlv",
138 "bnNfcmVzZWFyY2guc2F0LkNwT2JqZWN0aXZlUHJvdG8STgoYZmxvYXRpbmdf",
139 "cG9pbnRfb2JqZWN0aXZlGAkgASgLMiwub3BlcmF0aW9uc19yZXNlYXJjaC5z",
140 "YXQuRmxvYXRPYmplY3RpdmVQcm90bxJHCg9zZWFyY2hfc3RyYXRlZ3kYBSAD",
141 "KAsyLi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5EZWNpc2lvblN0cmF0ZWd5",
142 "UHJvdG8SSQoNc29sdXRpb25faGludBgGIAEoCzIyLm9wZXJhdGlvbnNfcmVz",
143 "ZWFyY2guc2F0LlBhcnRpYWxWYXJpYWJsZUFzc2lnbm1lbnQSEwoLYXNzdW1w",
144 "dGlvbnMYByADKAUSOAoIc3ltbWV0cnkYCCABKAsyJi5vcGVyYXRpb25zX3Jl",
145 "c2VhcmNoLnNhdC5TeW1tZXRyeVByb3RvIiIKEENwU29sdmVyU29sdXRpb24S",
146 "DgoGdmFsdWVzGAEgAygDIpUGChBDcFNvbHZlclJlc3BvbnNlEjcKBnN0YXR1",
147 "cxgBIAEoDjInLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkNwU29sdmVyU3Rh",
148 "dHVzEhAKCHNvbHV0aW9uGAIgAygDEhcKD29iamVjdGl2ZV92YWx1ZRgDIAEo",
149 "ARIcChRiZXN0X29iamVjdGl2ZV9ib3VuZBgEIAEoARJHChRhZGRpdGlvbmFs",
150 "X3NvbHV0aW9ucxgbIAMoCzIpLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkNw",
151 "U29sdmVyU29sdXRpb24SSgoTdGlnaHRlbmVkX3ZhcmlhYmxlcxgVIAMoCzIt",
152 "Lm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkludGVnZXJWYXJpYWJsZVByb3Rv",
153 "EjAKKHN1ZmZpY2llbnRfYXNzdW1wdGlvbnNfZm9yX2luZmVhc2liaWxpdHkY",
154 "FyADKAUSRAoRaW50ZWdlcl9vYmplY3RpdmUYHCABKAsyKS5vcGVyYXRpb25z",
155 "X3Jlc2VhcmNoLnNhdC5DcE9iamVjdGl2ZVByb3RvEiMKG2lubmVyX29iamVj",
156 "dGl2ZV9sb3dlcl9ib3VuZBgdIAEoAxIUCgxudW1faW50ZWdlcnMYHiABKAMS",
157 "FAoMbnVtX2Jvb2xlYW5zGAogASgDEhUKDW51bV9jb25mbGljdHMYCyABKAMS",
158 "FAoMbnVtX2JyYW5jaGVzGAwgASgDEh8KF251bV9iaW5hcnlfcHJvcGFnYXRp",
159 "b25zGA0gASgDEiAKGG51bV9pbnRlZ2VyX3Byb3BhZ2F0aW9ucxgOIAEoAxIU",
160 "CgxudW1fcmVzdGFydHMYGCABKAMSGQoRbnVtX2xwX2l0ZXJhdGlvbnMYGSAB",
161 "KAMSEQoJd2FsbF90aW1lGA8gASgBEhEKCXVzZXJfdGltZRgQIAEoARIaChJk",
162 "ZXRlcm1pbmlzdGljX3RpbWUYESABKAESFAoMZ2FwX2ludGVncmFsGBYgASgB",
163 "EhUKDXNvbHV0aW9uX2luZm8YFCABKAkSEQoJc29sdmVfbG9nGBogASgJKlsK",
164 "DkNwU29sdmVyU3RhdHVzEgsKB1VOS05PV04QABIRCg1NT0RFTF9JTlZBTElE",
165 "EAESDAoIRkVBU0lCTEUQAhIOCgpJTkZFQVNJQkxFEAMSCwoHT1BUSU1BTBAE",
166 "QkAKFmNvbS5nb29nbGUub3J0b29scy5zYXRCD0NwTW9kZWxQcm90b2J1ZlAB",
167 "qgISR29vZ2xlLk9yVG9vbHMuU2F0YgZwcm90bzM="));
168 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
169 new pbr::FileDescriptor[] { },
170 new pbr::GeneratedClrTypeInfo(
new[] {typeof(global::Google.OrTools.Sat.CpSolverStatus), },
null,
new pbr::GeneratedClrTypeInfo[] {
171 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.IntegerVariableProto), global::Google.OrTools.Sat.IntegerVariableProto.Parser,
new[]{
"Name",
"Domain" },
null,
null,
null,
null),
172 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.BoolArgumentProto), global::Google.OrTools.Sat.BoolArgumentProto.Parser,
new[]{
"Literals" },
null,
null,
null,
null),
173 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.LinearExpressionProto), global::Google.OrTools.Sat.LinearExpressionProto.Parser,
new[]{
"Vars",
"Coeffs",
"Offset" },
null,
null,
null,
null),
174 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.LinearArgumentProto), global::Google.OrTools.Sat.LinearArgumentProto.Parser,
new[]{
"Target",
"Exprs" },
null,
null,
null,
null),
175 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.AllDifferentConstraintProto), global::Google.OrTools.Sat.AllDifferentConstraintProto.Parser,
new[]{
"Exprs" },
null,
null,
null,
null),
176 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.LinearConstraintProto), global::Google.OrTools.Sat.LinearConstraintProto.Parser,
new[]{
"Vars",
"Coeffs",
"Domain" },
null,
null,
null,
null),
177 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.ElementConstraintProto), global::Google.OrTools.Sat.ElementConstraintProto.Parser,
new[]{
"Index",
"Target",
"Vars" },
null,
null,
null,
null),
178 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.IntervalConstraintProto), global::Google.OrTools.Sat.IntervalConstraintProto.Parser,
new[]{
"Start",
"End",
"Size" },
null,
null,
null,
null),
179 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.NoOverlapConstraintProto), global::Google.OrTools.Sat.NoOverlapConstraintProto.Parser,
new[]{
"Intervals" },
null,
null,
null,
null),
180 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.NoOverlap2DConstraintProto), global::Google.OrTools.Sat.NoOverlap2DConstraintProto.Parser,
new[]{
"XIntervals",
"YIntervals" },
null,
null,
null,
null),
181 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CumulativeConstraintProto), global::Google.OrTools.Sat.CumulativeConstraintProto.Parser,
new[]{
"Capacity",
"Intervals",
"Demands" },
null,
null,
null,
null),
182 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),
183 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CircuitConstraintProto), global::Google.OrTools.Sat.CircuitConstraintProto.Parser,
new[]{
"Tails",
"Heads",
"Literals" },
null,
null,
null,
null),
184 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.RoutesConstraintProto), global::Google.OrTools.Sat.RoutesConstraintProto.Parser,
new[]{
"Tails",
"Heads",
"Literals",
"Demands",
"Capacity" },
null,
null,
null,
null),
185 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.TableConstraintProto), global::Google.OrTools.Sat.TableConstraintProto.Parser,
new[]{
"Vars",
"Values",
"Negated" },
null,
null,
null,
null),
186 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.InverseConstraintProto), global::Google.OrTools.Sat.InverseConstraintProto.Parser,
new[]{
"FDirect",
"FInverse" },
null,
null,
null,
null),
187 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.AutomatonConstraintProto), global::Google.OrTools.Sat.AutomatonConstraintProto.Parser,
new[]{
"StartingState",
"FinalStates",
"TransitionTail",
"TransitionHead",
"TransitionLabel",
"Vars" },
null,
null,
null,
null),
188 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.ListOfVariablesProto), global::Google.OrTools.Sat.ListOfVariablesProto.Parser,
new[]{
"Vars" },
null,
null,
null,
null),
189 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),
190 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),
191 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.FloatObjectiveProto), global::Google.OrTools.Sat.FloatObjectiveProto.Parser,
new[]{
"Vars",
"Coeffs",
"Offset",
"Maximize" },
null,
null,
null,
null),
192 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),
193 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.PartialVariableAssignment), global::Google.OrTools.Sat.PartialVariableAssignment.Parser,
new[]{
"Vars",
"Values" },
null,
null,
null,
null),
194 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.SparsePermutationProto), global::Google.OrTools.Sat.SparsePermutationProto.Parser,
new[]{
"Support",
"CycleSizes" },
null,
null,
null,
null),
195 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.DenseMatrixProto), global::Google.OrTools.Sat.DenseMatrixProto.Parser,
new[]{
"NumRows",
"NumCols",
"Entries" },
null,
null,
null,
null),
196 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.SymmetryProto), global::Google.OrTools.Sat.SymmetryProto.Parser,
new[]{
"Permutations",
"Orbitopes" },
null,
null,
null,
null),
197 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),
198 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CpSolverSolution), global::Google.OrTools.Sat.CpSolverSolution.Parser,
new[]{
"Values" },
null,
null,
null,
null),
199 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",
"NumConflicts",
"NumBranches",
"NumBinaryPropagations",
"NumIntegerPropagations",
"NumRestarts",
"NumLpIterations",
"WallTime",
"UserTime",
"DeterministicTime",
"GapIntegral",
"SolutionInfo",
"SolveLog" },
null,
null,
null,
null)
214 [pbr::OriginalName(
"UNKNOWN")]
Unknown = 0,
225 [pbr::OriginalName(
"FEASIBLE")]
Feasible = 2,
229 [pbr::OriginalName(
"INFEASIBLE")]
Infeasible = 3,
240 [pbr::OriginalName(
"OPTIMAL")]
Optimal = 4,
267 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
268 public sealed partial class IntegerVariableProto : pb::IMessage<IntegerVariableProto>
269 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
273 private static readonly pb::MessageParser<IntegerVariableProto> _parser =
new pb::MessageParser<IntegerVariableProto>(() =>
new IntegerVariableProto());
274 private pb::UnknownFieldSet _unknownFields;
275 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
276 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
277 public static pb::MessageParser<IntegerVariableProto>
Parser {
get {
return _parser; } }
279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
280 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
281 public static pbr::MessageDescriptor
Descriptor {
282 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[0]; }
285 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
286 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
287 pbr::MessageDescriptor pb::IMessage.Descriptor {
291 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
292 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
297 partial
void OnConstruction();
299 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
300 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
303 domain_ = other.domain_.Clone();
304 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
307 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
308 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
315 private string name_ =
"";
319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
320 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
322 get {
return name_; }
324 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
330 private static readonly pb::FieldCodec<long> _repeated_domain_codec
331 = pb::FieldCodec.ForInt64(18);
332 private readonly pbc::RepeatedField<long> domain_ =
new pbc::RepeatedField<long>();
352 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
353 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
354 public pbc::RepeatedField<long>
Domain {
355 get {
return domain_; }
358 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
359 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
360 public override bool Equals(
object other) {
364 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
365 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
367 if (ReferenceEquals(other,
null)) {
370 if (ReferenceEquals(other,
this)) {
373 if (
Name != other.Name)
return false;
374 if(!domain_.Equals(other.domain_))
return false;
375 return Equals(_unknownFields, other._unknownFields);
378 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
379 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
382 if (
Name.Length != 0) hash ^=
Name.GetHashCode();
383 hash ^= domain_.GetHashCode();
384 if (_unknownFields !=
null) {
385 hash ^= _unknownFields.GetHashCode();
390 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
391 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
393 return pb::JsonFormatter.ToDiagnosticString(
this);
396 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
397 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
398 public void WriteTo(pb::CodedOutputStream output) {
399 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
400 output.WriteRawMessage(
this);
402 if (
Name.Length != 0) {
403 output.WriteRawTag(10);
404 output.WriteString(
Name);
406 domain_.WriteTo(output, _repeated_domain_codec);
407 if (_unknownFields !=
null) {
408 _unknownFields.WriteTo(output);
413 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
414 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
415 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
416 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
417 if (
Name.Length != 0) {
418 output.WriteRawTag(10);
419 output.WriteString(
Name);
421 domain_.WriteTo(ref output, _repeated_domain_codec);
422 if (_unknownFields !=
null) {
423 _unknownFields.WriteTo(ref output);
428 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
429 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
432 if (
Name.Length != 0) {
433 size += 1 + pb::CodedOutputStream.ComputeStringSize(
Name);
435 size += domain_.CalculateSize(_repeated_domain_codec);
436 if (_unknownFields !=
null) {
437 size += _unknownFields.CalculateSize();
442 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
443 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
448 if (other.Name.Length != 0) {
451 domain_.Add(other.domain_);
452 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
455 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
456 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
457 public void MergeFrom(pb::CodedInputStream input) {
458 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
459 input.ReadRawMessage(
this);
462 while ((tag = input.ReadTag()) != 0) {
465 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
468 Name = input.ReadString();
473 domain_.AddEntriesFrom(input, _repeated_domain_codec);
481 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
482 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
483 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
484 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
486 while ((tag = input.ReadTag()) != 0) {
489 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
492 Name = input.ReadString();
497 domain_.AddEntriesFrom(ref input, _repeated_domain_codec);
510 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
511 public sealed partial class BoolArgumentProto : pb::IMessage<BoolArgumentProto>
512 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
516 private static readonly pb::MessageParser<BoolArgumentProto> _parser =
new pb::MessageParser<BoolArgumentProto>(() =>
new BoolArgumentProto());
517 private pb::UnknownFieldSet _unknownFields;
518 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
519 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
520 public static pb::MessageParser<BoolArgumentProto>
Parser {
get {
return _parser; } }
522 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
523 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
524 public static pbr::MessageDescriptor
Descriptor {
525 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[1]; }
528 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
529 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
530 pbr::MessageDescriptor pb::IMessage.Descriptor {
534 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
535 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
540 partial
void OnConstruction();
542 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
543 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
545 literals_ = other.literals_.Clone();
546 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
549 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
550 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
557 private static readonly pb::FieldCodec<int> _repeated_literals_codec
558 = pb::FieldCodec.ForInt32(10);
559 private readonly pbc::RepeatedField<int> literals_ =
new pbc::RepeatedField<int>();
560 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
561 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
562 public pbc::RepeatedField<int>
Literals {
563 get {
return literals_; }
566 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
567 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
568 public override bool Equals(
object other) {
572 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
573 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
575 if (ReferenceEquals(other,
null)) {
578 if (ReferenceEquals(other,
this)) {
581 if(!literals_.Equals(other.literals_))
return false;
582 return Equals(_unknownFields, other._unknownFields);
585 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
586 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
589 hash ^= literals_.GetHashCode();
590 if (_unknownFields !=
null) {
591 hash ^= _unknownFields.GetHashCode();
596 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
597 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
599 return pb::JsonFormatter.ToDiagnosticString(
this);
602 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
603 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
604 public void WriteTo(pb::CodedOutputStream output) {
605 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
606 output.WriteRawMessage(
this);
608 literals_.WriteTo(output, _repeated_literals_codec);
609 if (_unknownFields !=
null) {
610 _unknownFields.WriteTo(output);
615 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
616 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
617 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
618 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
619 literals_.WriteTo(ref output, _repeated_literals_codec);
620 if (_unknownFields !=
null) {
621 _unknownFields.WriteTo(ref output);
626 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
627 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
630 size += literals_.CalculateSize(_repeated_literals_codec);
631 if (_unknownFields !=
null) {
632 size += _unknownFields.CalculateSize();
637 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
638 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
643 literals_.Add(other.literals_);
644 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
647 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
648 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
649 public void MergeFrom(pb::CodedInputStream input) {
650 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
651 input.ReadRawMessage(
this);
654 while ((tag = input.ReadTag()) != 0) {
657 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
661 literals_.AddEntriesFrom(input, _repeated_literals_codec);
669 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
670 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
671 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
672 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
674 while ((tag = input.ReadTag()) != 0) {
677 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
681 literals_.AddEntriesFrom(ref input, _repeated_literals_codec);
696 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
697 public sealed partial class LinearExpressionProto : pb::IMessage<LinearExpressionProto>
698 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
702 private static readonly pb::MessageParser<LinearExpressionProto> _parser =
new pb::MessageParser<LinearExpressionProto>(() =>
new LinearExpressionProto());
703 private pb::UnknownFieldSet _unknownFields;
704 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
705 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
706 public static pb::MessageParser<LinearExpressionProto>
Parser {
get {
return _parser; } }
708 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
709 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
710 public static pbr::MessageDescriptor
Descriptor {
711 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[2]; }
714 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
715 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
716 pbr::MessageDescriptor pb::IMessage.Descriptor {
720 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
721 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
726 partial
void OnConstruction();
728 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
729 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
731 vars_ = other.vars_.Clone();
732 coeffs_ = other.coeffs_.Clone();
733 offset_ = other.offset_;
734 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
737 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
738 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
745 private static readonly pb::FieldCodec<int> _repeated_vars_codec
746 = pb::FieldCodec.ForInt32(10);
747 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
748 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
749 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
750 public pbc::RepeatedField<int>
Vars {
751 get {
return vars_; }
756 private static readonly pb::FieldCodec<long> _repeated_coeffs_codec
757 = pb::FieldCodec.ForInt64(18);
758 private readonly pbc::RepeatedField<long> coeffs_ =
new pbc::RepeatedField<long>();
759 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
760 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
761 public pbc::RepeatedField<long>
Coeffs {
762 get {
return coeffs_; }
767 private long offset_;
768 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
769 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
771 get {
return offset_; }
777 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
778 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
779 public override bool Equals(
object other) {
783 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
784 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
786 if (ReferenceEquals(other,
null)) {
789 if (ReferenceEquals(other,
this)) {
792 if(!vars_.Equals(other.vars_))
return false;
793 if(!coeffs_.Equals(other.coeffs_))
return false;
794 if (
Offset != other.Offset)
return false;
795 return Equals(_unknownFields, other._unknownFields);
798 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
799 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
802 hash ^= vars_.GetHashCode();
803 hash ^= coeffs_.GetHashCode();
805 if (_unknownFields !=
null) {
806 hash ^= _unknownFields.GetHashCode();
811 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
812 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
814 return pb::JsonFormatter.ToDiagnosticString(
this);
817 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
818 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
819 public void WriteTo(pb::CodedOutputStream output) {
820 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
821 output.WriteRawMessage(
this);
823 vars_.WriteTo(output, _repeated_vars_codec);
824 coeffs_.WriteTo(output, _repeated_coeffs_codec);
826 output.WriteRawTag(24);
829 if (_unknownFields !=
null) {
830 _unknownFields.WriteTo(output);
835 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
836 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
837 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
838 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
839 vars_.WriteTo(ref output, _repeated_vars_codec);
840 coeffs_.WriteTo(ref output, _repeated_coeffs_codec);
842 output.WriteRawTag(24);
843 output.WriteInt64(
Offset);
845 if (_unknownFields !=
null) {
846 _unknownFields.WriteTo(ref output);
851 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
852 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
855 size += vars_.CalculateSize(_repeated_vars_codec);
856 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
858 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
Offset);
860 if (_unknownFields !=
null) {
861 size += _unknownFields.CalculateSize();
866 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
867 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
872 vars_.Add(other.vars_);
873 coeffs_.Add(other.coeffs_);
874 if (other.Offset != 0L) {
877 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
880 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
881 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
882 public void MergeFrom(pb::CodedInputStream input) {
883 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
884 input.ReadRawMessage(
this);
887 while ((tag = input.ReadTag()) != 0) {
890 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
894 vars_.AddEntriesFrom(input, _repeated_vars_codec);
899 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
903 Offset = input.ReadInt64();
911 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
912 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
913 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
914 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
916 while ((tag = input.ReadTag()) != 0) {
919 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
923 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
928 coeffs_.AddEntriesFrom(ref input, _repeated_coeffs_codec);
932 Offset = input.ReadInt64();
942 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
943 public sealed partial class LinearArgumentProto : pb::IMessage<LinearArgumentProto>
944 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
948 private static readonly pb::MessageParser<LinearArgumentProto> _parser =
new pb::MessageParser<LinearArgumentProto>(() =>
new LinearArgumentProto());
949 private pb::UnknownFieldSet _unknownFields;
950 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
951 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
952 public static pb::MessageParser<LinearArgumentProto>
Parser {
get {
return _parser; } }
954 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
955 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
956 public static pbr::MessageDescriptor
Descriptor {
957 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[3]; }
960 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
961 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
962 pbr::MessageDescriptor pb::IMessage.Descriptor {
966 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
967 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
972 partial
void OnConstruction();
974 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
975 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
977 target_ = other.target_ !=
null ? other.target_.Clone() :
null;
978 exprs_ = other.exprs_.Clone();
979 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
982 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
983 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
990 private global::Google.OrTools.Sat.LinearExpressionProto target_;
991 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
992 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
993 public global::Google.OrTools.Sat.LinearExpressionProto
Target {
994 get {
return target_; }
1002 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
1003 = pb::FieldCodec.ForMessage(18, global::Google.OrTools.Sat.LinearExpressionProto.Parser);
1004 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
1005 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1006 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1007 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
1008 get {
return exprs_; }
1011 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1012 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1013 public override bool Equals(
object other) {
1017 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1018 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1020 if (ReferenceEquals(other,
null)) {
1023 if (ReferenceEquals(other,
this)) {
1026 if (!
object.
Equals(
Target, other.Target))
return false;
1027 if(!exprs_.Equals(other.exprs_))
return false;
1028 return Equals(_unknownFields, other._unknownFields);
1031 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1032 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1035 if (target_ !=
null) hash ^=
Target.GetHashCode();
1036 hash ^= exprs_.GetHashCode();
1037 if (_unknownFields !=
null) {
1038 hash ^= _unknownFields.GetHashCode();
1043 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1044 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1045 public override string ToString() {
1046 return pb::JsonFormatter.ToDiagnosticString(
this);
1049 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1050 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1051 public void WriteTo(pb::CodedOutputStream output) {
1052 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1053 output.WriteRawMessage(
this);
1055 if (target_ !=
null) {
1056 output.WriteRawTag(10);
1057 output.WriteMessage(
Target);
1059 exprs_.WriteTo(output, _repeated_exprs_codec);
1060 if (_unknownFields !=
null) {
1061 _unknownFields.WriteTo(output);
1066 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1067 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1068 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1069 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1070 if (target_ !=
null) {
1071 output.WriteRawTag(10);
1072 output.WriteMessage(
Target);
1074 exprs_.WriteTo(ref output, _repeated_exprs_codec);
1075 if (_unknownFields !=
null) {
1076 _unknownFields.WriteTo(ref output);
1081 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1082 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1085 if (target_ !=
null) {
1086 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
Target);
1088 size += exprs_.CalculateSize(_repeated_exprs_codec);
1089 if (_unknownFields !=
null) {
1090 size += _unknownFields.CalculateSize();
1095 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1096 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1098 if (other ==
null) {
1101 if (other.target_ !=
null) {
1102 if (target_ ==
null) {
1103 Target =
new global::Google.OrTools.Sat.LinearExpressionProto();
1107 exprs_.Add(other.exprs_);
1108 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1111 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1112 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1113 public void MergeFrom(pb::CodedInputStream input) {
1114 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1115 input.ReadRawMessage(
this);
1118 while ((tag = input.ReadTag()) != 0) {
1121 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1124 if (target_ ==
null) {
1125 Target =
new global::Google.OrTools.Sat.LinearExpressionProto();
1127 input.ReadMessage(
Target);
1131 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
1139 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1140 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1141 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1142 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1144 while ((tag = input.ReadTag()) != 0) {
1147 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1150 if (target_ ==
null) {
1151 Target =
new global::Google.OrTools.Sat.LinearExpressionProto();
1153 input.ReadMessage(
Target);
1157 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
1170 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
1171 public sealed partial class AllDifferentConstraintProto : pb::IMessage<AllDifferentConstraintProto>
1172 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1173 , pb::IBufferMessage
1176 private static readonly pb::MessageParser<AllDifferentConstraintProto> _parser =
new pb::MessageParser<AllDifferentConstraintProto>(() =>
new AllDifferentConstraintProto());
1177 private pb::UnknownFieldSet _unknownFields;
1178 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1179 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1180 public static pb::MessageParser<AllDifferentConstraintProto>
Parser {
get {
return _parser; } }
1182 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1183 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1184 public static pbr::MessageDescriptor
Descriptor {
1185 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[4]; }
1188 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1189 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1190 pbr::MessageDescriptor pb::IMessage.Descriptor {
1194 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1195 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1200 partial
void OnConstruction();
1202 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1203 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1205 exprs_ = other.exprs_.Clone();
1206 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1209 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1210 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1217 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
1218 = pb::FieldCodec.ForMessage(10, global::Google.OrTools.Sat.LinearExpressionProto.Parser);
1219 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
1220 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1221 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1222 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
1223 get {
return exprs_; }
1226 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1227 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1228 public override bool Equals(
object other) {
1232 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1233 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1235 if (ReferenceEquals(other,
null)) {
1238 if (ReferenceEquals(other,
this)) {
1241 if(!exprs_.Equals(other.exprs_))
return false;
1242 return Equals(_unknownFields, other._unknownFields);
1245 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1246 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1249 hash ^= exprs_.GetHashCode();
1250 if (_unknownFields !=
null) {
1251 hash ^= _unknownFields.GetHashCode();
1256 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1257 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1258 public override string ToString() {
1259 return pb::JsonFormatter.ToDiagnosticString(
this);
1262 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1263 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1264 public void WriteTo(pb::CodedOutputStream output) {
1265 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1266 output.WriteRawMessage(
this);
1268 exprs_.WriteTo(output, _repeated_exprs_codec);
1269 if (_unknownFields !=
null) {
1270 _unknownFields.WriteTo(output);
1275 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1276 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1277 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1278 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1279 exprs_.WriteTo(ref output, _repeated_exprs_codec);
1280 if (_unknownFields !=
null) {
1281 _unknownFields.WriteTo(ref output);
1286 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1287 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1290 size += exprs_.CalculateSize(_repeated_exprs_codec);
1291 if (_unknownFields !=
null) {
1292 size += _unknownFields.CalculateSize();
1297 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1298 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1300 if (other ==
null) {
1303 exprs_.Add(other.exprs_);
1304 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1307 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1308 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1309 public void MergeFrom(pb::CodedInputStream input) {
1310 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1311 input.ReadRawMessage(
this);
1314 while ((tag = input.ReadTag()) != 0) {
1317 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1320 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
1328 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1329 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1330 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1331 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1333 while ((tag = input.ReadTag()) != 0) {
1336 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1339 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
1357 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
1358 public sealed partial class LinearConstraintProto : pb::IMessage<LinearConstraintProto>
1359 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1360 , pb::IBufferMessage
1363 private static readonly pb::MessageParser<LinearConstraintProto> _parser =
new pb::MessageParser<LinearConstraintProto>(() =>
new LinearConstraintProto());
1364 private pb::UnknownFieldSet _unknownFields;
1365 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1366 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1367 public static pb::MessageParser<LinearConstraintProto>
Parser {
get {
return _parser; } }
1369 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1370 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1371 public static pbr::MessageDescriptor
Descriptor {
1372 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[5]; }
1375 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1376 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1377 pbr::MessageDescriptor pb::IMessage.Descriptor {
1381 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1382 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1387 partial
void OnConstruction();
1389 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1390 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1392 vars_ = other.vars_.Clone();
1393 coeffs_ = other.coeffs_.Clone();
1394 domain_ = other.domain_.Clone();
1395 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1398 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1399 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1406 private static readonly pb::FieldCodec<int> _repeated_vars_codec
1407 = pb::FieldCodec.ForInt32(10);
1408 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
1409 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1410 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1411 public pbc::RepeatedField<int>
Vars {
1412 get {
return vars_; }
1417 private static readonly pb::FieldCodec<long> _repeated_coeffs_codec
1418 = pb::FieldCodec.ForInt64(18);
1419 private readonly pbc::RepeatedField<long> coeffs_ =
new pbc::RepeatedField<long>();
1423 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1424 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1426 get {
return coeffs_; }
1431 private static readonly pb::FieldCodec<long> _repeated_domain_codec
1432 = pb::FieldCodec.ForInt64(26);
1433 private readonly pbc::RepeatedField<long> domain_ =
new pbc::RepeatedField<long>();
1434 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1435 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1436 public pbc::RepeatedField<long>
Domain {
1437 get {
return domain_; }
1440 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1441 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1442 public override bool Equals(
object other) {
1446 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1447 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1449 if (ReferenceEquals(other,
null)) {
1452 if (ReferenceEquals(other,
this)) {
1455 if(!vars_.Equals(other.vars_))
return false;
1456 if(!coeffs_.Equals(other.coeffs_))
return false;
1457 if(!domain_.Equals(other.domain_))
return false;
1458 return Equals(_unknownFields, other._unknownFields);
1461 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1462 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1465 hash ^= vars_.GetHashCode();
1466 hash ^= coeffs_.GetHashCode();
1467 hash ^= domain_.GetHashCode();
1468 if (_unknownFields !=
null) {
1469 hash ^= _unknownFields.GetHashCode();
1474 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1475 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1476 public override string ToString() {
1477 return pb::JsonFormatter.ToDiagnosticString(
this);
1480 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1481 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1482 public void WriteTo(pb::CodedOutputStream output) {
1483 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1484 output.WriteRawMessage(
this);
1486 vars_.WriteTo(output, _repeated_vars_codec);
1487 coeffs_.WriteTo(output, _repeated_coeffs_codec);
1488 domain_.WriteTo(output, _repeated_domain_codec);
1489 if (_unknownFields !=
null) {
1490 _unknownFields.WriteTo(output);
1495 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1496 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1497 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1498 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1499 vars_.WriteTo(ref output, _repeated_vars_codec);
1500 coeffs_.WriteTo(ref output, _repeated_coeffs_codec);
1501 domain_.WriteTo(ref output, _repeated_domain_codec);
1502 if (_unknownFields !=
null) {
1503 _unknownFields.WriteTo(ref output);
1508 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1509 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1512 size += vars_.CalculateSize(_repeated_vars_codec);
1513 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
1514 size += domain_.CalculateSize(_repeated_domain_codec);
1515 if (_unknownFields !=
null) {
1516 size += _unknownFields.CalculateSize();
1521 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1522 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1524 if (other ==
null) {
1527 vars_.Add(other.vars_);
1528 coeffs_.Add(other.coeffs_);
1529 domain_.Add(other.domain_);
1530 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1533 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1534 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1535 public void MergeFrom(pb::CodedInputStream input) {
1536 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1537 input.ReadRawMessage(
this);
1540 while ((tag = input.ReadTag()) != 0) {
1543 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1547 vars_.AddEntriesFrom(input, _repeated_vars_codec);
1552 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
1557 domain_.AddEntriesFrom(input, _repeated_domain_codec);
1565 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1566 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1567 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1568 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1570 while ((tag = input.ReadTag()) != 0) {
1573 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1577 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
1582 coeffs_.AddEntriesFrom(ref input, _repeated_coeffs_codec);
1587 domain_.AddEntriesFrom(ref input, _repeated_domain_codec);
1601 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
1602 public sealed partial class ElementConstraintProto : pb::IMessage<ElementConstraintProto>
1603 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1604 , pb::IBufferMessage
1607 private static readonly pb::MessageParser<ElementConstraintProto> _parser =
new pb::MessageParser<ElementConstraintProto>(() =>
new ElementConstraintProto());
1608 private pb::UnknownFieldSet _unknownFields;
1609 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1610 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1611 public static pb::MessageParser<ElementConstraintProto>
Parser {
get {
return _parser; } }
1613 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1614 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1615 public static pbr::MessageDescriptor
Descriptor {
1616 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[6]; }
1619 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1620 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1621 pbr::MessageDescriptor pb::IMessage.Descriptor {
1625 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1626 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1631 partial
void OnConstruction();
1633 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1634 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1636 index_ = other.index_;
1637 target_ = other.target_;
1638 vars_ = other.vars_.Clone();
1639 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1642 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1643 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1651 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1652 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1654 get {
return index_; }
1662 private int target_;
1663 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1664 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1666 get {
return target_; }
1674 private static readonly pb::FieldCodec<int> _repeated_vars_codec
1675 = pb::FieldCodec.ForInt32(26);
1676 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
1677 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1678 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1679 public pbc::RepeatedField<int>
Vars {
1680 get {
return vars_; }
1683 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1684 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1685 public override bool Equals(
object other) {
1689 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1690 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1692 if (ReferenceEquals(other,
null)) {
1695 if (ReferenceEquals(other,
this)) {
1698 if (
Index != other.Index)
return false;
1699 if (
Target != other.Target)
return false;
1700 if(!vars_.Equals(other.vars_))
return false;
1701 return Equals(_unknownFields, other._unknownFields);
1704 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1705 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1710 hash ^= vars_.GetHashCode();
1711 if (_unknownFields !=
null) {
1712 hash ^= _unknownFields.GetHashCode();
1717 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1718 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1719 public override string ToString() {
1720 return pb::JsonFormatter.ToDiagnosticString(
this);
1723 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1724 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1725 public void WriteTo(pb::CodedOutputStream output) {
1726 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1727 output.WriteRawMessage(
this);
1730 output.WriteRawTag(8);
1731 output.WriteInt32(
Index);
1734 output.WriteRawTag(16);
1735 output.WriteInt32(
Target);
1737 vars_.WriteTo(output, _repeated_vars_codec);
1738 if (_unknownFields !=
null) {
1739 _unknownFields.WriteTo(output);
1744 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1745 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1746 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1747 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1749 output.WriteRawTag(8);
1750 output.WriteInt32(
Index);
1753 output.WriteRawTag(16);
1754 output.WriteInt32(
Target);
1756 vars_.WriteTo(ref output, _repeated_vars_codec);
1757 if (_unknownFields !=
null) {
1758 _unknownFields.WriteTo(ref output);
1763 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1764 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1768 size += 1 + pb::CodedOutputStream.ComputeInt32Size(
Index);
1771 size += 1 + pb::CodedOutputStream.ComputeInt32Size(
Target);
1773 size += vars_.CalculateSize(_repeated_vars_codec);
1774 if (_unknownFields !=
null) {
1775 size += _unknownFields.CalculateSize();
1780 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1781 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1783 if (other ==
null) {
1786 if (other.Index != 0) {
1787 Index = other.Index;
1789 if (other.Target != 0) {
1792 vars_.Add(other.vars_);
1793 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1796 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1797 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1798 public void MergeFrom(pb::CodedInputStream input) {
1799 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1800 input.ReadRawMessage(
this);
1803 while ((tag = input.ReadTag()) != 0) {
1806 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1809 Index = input.ReadInt32();
1813 Target = input.ReadInt32();
1818 vars_.AddEntriesFrom(input, _repeated_vars_codec);
1826 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1827 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1828 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1829 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1831 while ((tag = input.ReadTag()) != 0) {
1834 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1837 Index = input.ReadInt32();
1841 Target = input.ReadInt32();
1846 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
1869 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
1870 public sealed partial class IntervalConstraintProto : pb::IMessage<IntervalConstraintProto>
1871 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1872 , pb::IBufferMessage
1875 private static readonly pb::MessageParser<IntervalConstraintProto> _parser =
new pb::MessageParser<IntervalConstraintProto>(() =>
new IntervalConstraintProto());
1876 private pb::UnknownFieldSet _unknownFields;
1877 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1878 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1879 public static pb::MessageParser<IntervalConstraintProto>
Parser {
get {
return _parser; } }
1881 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1882 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1883 public static pbr::MessageDescriptor
Descriptor {
1884 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[7]; }
1887 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1888 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1889 pbr::MessageDescriptor pb::IMessage.Descriptor {
1893 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1894 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1899 partial
void OnConstruction();
1901 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1902 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1904 start_ = other.start_ !=
null ? other.start_.Clone() :
null;
1905 end_ = other.end_ !=
null ? other.end_.Clone() :
null;
1906 size_ = other.size_ !=
null ? other.size_.Clone() :
null;
1907 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1910 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1911 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1918 private global::Google.OrTools.Sat.LinearExpressionProto start_;
1919 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1920 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1921 public global::Google.OrTools.Sat.LinearExpressionProto
Start {
1922 get {
return start_; }
1930 private global::Google.OrTools.Sat.LinearExpressionProto end_;
1931 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1932 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1933 public global::Google.OrTools.Sat.LinearExpressionProto
End {
1934 get {
return end_; }
1942 private global::Google.OrTools.Sat.LinearExpressionProto size_;
1943 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1944 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1945 public global::Google.OrTools.Sat.LinearExpressionProto
Size {
1946 get {
return size_; }
1952 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1953 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1954 public override bool Equals(
object other) {
1958 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1959 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1961 if (ReferenceEquals(other,
null)) {
1964 if (ReferenceEquals(other,
this)) {
1967 if (!
object.
Equals(
Start, other.Start))
return false;
1968 if (!
object.
Equals(
End, other.End))
return false;
1969 if (!
object.
Equals(
Size, other.Size))
return false;
1970 return Equals(_unknownFields, other._unknownFields);
1973 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1974 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1977 if (start_ !=
null) hash ^=
Start.GetHashCode();
1978 if (end_ !=
null) hash ^=
End.GetHashCode();
1979 if (size_ !=
null) hash ^=
Size.GetHashCode();
1980 if (_unknownFields !=
null) {
1981 hash ^= _unknownFields.GetHashCode();
1986 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1987 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1988 public override string ToString() {
1989 return pb::JsonFormatter.ToDiagnosticString(
this);
1992 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1993 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1994 public void WriteTo(pb::CodedOutputStream output) {
1995 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1996 output.WriteRawMessage(
this);
1998 if (start_ !=
null) {
1999 output.WriteRawTag(34);
2000 output.WriteMessage(
Start);
2003 output.WriteRawTag(42);
2004 output.WriteMessage(
End);
2006 if (size_ !=
null) {
2007 output.WriteRawTag(50);
2008 output.WriteMessage(
Size);
2010 if (_unknownFields !=
null) {
2011 _unknownFields.WriteTo(output);
2016 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2017 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2018 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2019 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2020 if (start_ !=
null) {
2021 output.WriteRawTag(34);
2022 output.WriteMessage(
Start);
2025 output.WriteRawTag(42);
2026 output.WriteMessage(
End);
2028 if (size_ !=
null) {
2029 output.WriteRawTag(50);
2030 output.WriteMessage(
Size);
2032 if (_unknownFields !=
null) {
2033 _unknownFields.WriteTo(ref output);
2038 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2039 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2042 if (start_ !=
null) {
2043 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
Start);
2046 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
End);
2048 if (size_ !=
null) {
2049 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
Size);
2051 if (_unknownFields !=
null) {
2052 size += _unknownFields.CalculateSize();
2057 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2058 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2060 if (other ==
null) {
2063 if (other.start_ !=
null) {
2064 if (start_ ==
null) {
2065 Start =
new global::Google.OrTools.Sat.LinearExpressionProto();
2067 Start.MergeFrom(other.Start);
2069 if (other.end_ !=
null) {
2071 End =
new global::Google.OrTools.Sat.LinearExpressionProto();
2073 End.MergeFrom(other.End);
2075 if (other.size_ !=
null) {
2076 if (size_ ==
null) {
2077 Size =
new global::Google.OrTools.Sat.LinearExpressionProto();
2079 Size.MergeFrom(other.Size);
2081 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2084 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2085 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2086 public void MergeFrom(pb::CodedInputStream input) {
2087 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2088 input.ReadRawMessage(
this);
2091 while ((tag = input.ReadTag()) != 0) {
2094 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2097 if (start_ ==
null) {
2098 Start =
new global::Google.OrTools.Sat.LinearExpressionProto();
2100 input.ReadMessage(
Start);
2105 End =
new global::Google.OrTools.Sat.LinearExpressionProto();
2107 input.ReadMessage(
End);
2111 if (size_ ==
null) {
2112 Size =
new global::Google.OrTools.Sat.LinearExpressionProto();
2114 input.ReadMessage(
Size);
2122 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2123 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2124 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2125 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2127 while ((tag = input.ReadTag()) != 0) {
2130 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2133 if (start_ ==
null) {
2134 Start =
new global::Google.OrTools.Sat.LinearExpressionProto();
2136 input.ReadMessage(
Start);
2141 End =
new global::Google.OrTools.Sat.LinearExpressionProto();
2143 input.ReadMessage(
End);
2147 if (size_ ==
null) {
2148 Size =
new global::Google.OrTools.Sat.LinearExpressionProto();
2150 input.ReadMessage(
Size);
2167 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2168 public sealed partial class NoOverlapConstraintProto : pb::IMessage<NoOverlapConstraintProto>
2169 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2170 , pb::IBufferMessage
2173 private static readonly pb::MessageParser<NoOverlapConstraintProto> _parser =
new pb::MessageParser<NoOverlapConstraintProto>(() =>
new NoOverlapConstraintProto());
2174 private pb::UnknownFieldSet _unknownFields;
2175 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2176 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2177 public static pb::MessageParser<NoOverlapConstraintProto>
Parser {
get {
return _parser; } }
2179 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2180 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2181 public static pbr::MessageDescriptor
Descriptor {
2182 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[8]; }
2185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2186 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2187 pbr::MessageDescriptor pb::IMessage.Descriptor {
2191 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2192 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2197 partial
void OnConstruction();
2199 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2200 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2202 intervals_ = other.intervals_.Clone();
2203 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2206 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2207 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2214 private static readonly pb::FieldCodec<int> _repeated_intervals_codec
2215 = pb::FieldCodec.ForInt32(10);
2216 private readonly pbc::RepeatedField<int> intervals_ =
new pbc::RepeatedField<int>();
2217 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2218 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2220 get {
return intervals_; }
2223 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2224 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2225 public override bool Equals(
object other) {
2229 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2230 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2232 if (ReferenceEquals(other,
null)) {
2235 if (ReferenceEquals(other,
this)) {
2238 if(!intervals_.Equals(other.intervals_))
return false;
2239 return Equals(_unknownFields, other._unknownFields);
2242 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2243 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2246 hash ^= intervals_.GetHashCode();
2247 if (_unknownFields !=
null) {
2248 hash ^= _unknownFields.GetHashCode();
2253 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2254 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2256 return pb::JsonFormatter.ToDiagnosticString(
this);
2259 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2260 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2261 public void WriteTo(pb::CodedOutputStream output) {
2262 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2263 output.WriteRawMessage(
this);
2265 intervals_.WriteTo(output, _repeated_intervals_codec);
2266 if (_unknownFields !=
null) {
2267 _unknownFields.WriteTo(output);
2272 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2273 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2274 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2275 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2276 intervals_.WriteTo(ref output, _repeated_intervals_codec);
2277 if (_unknownFields !=
null) {
2278 _unknownFields.WriteTo(ref output);
2283 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2284 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2287 size += intervals_.CalculateSize(_repeated_intervals_codec);
2288 if (_unknownFields !=
null) {
2289 size += _unknownFields.CalculateSize();
2294 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2295 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2297 if (other ==
null) {
2300 intervals_.Add(other.intervals_);
2301 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2304 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2305 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2306 public void MergeFrom(pb::CodedInputStream input) {
2307 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2308 input.ReadRawMessage(
this);
2311 while ((tag = input.ReadTag()) != 0) {
2314 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2318 intervals_.AddEntriesFrom(input, _repeated_intervals_codec);
2326 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2327 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2328 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2329 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2331 while ((tag = input.ReadTag()) != 0) {
2334 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2338 intervals_.AddEntriesFrom(ref input, _repeated_intervals_codec);
2359 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2360 public sealed partial class NoOverlap2DConstraintProto : pb::IMessage<NoOverlap2DConstraintProto>
2361 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2362 , pb::IBufferMessage
2365 private static readonly pb::MessageParser<NoOverlap2DConstraintProto> _parser =
new pb::MessageParser<NoOverlap2DConstraintProto>(() =>
new NoOverlap2DConstraintProto());
2366 private pb::UnknownFieldSet _unknownFields;
2367 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2368 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2369 public static pb::MessageParser<NoOverlap2DConstraintProto>
Parser {
get {
return _parser; } }
2371 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2372 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2373 public static pbr::MessageDescriptor
Descriptor {
2374 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[9]; }
2377 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2378 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2379 pbr::MessageDescriptor pb::IMessage.Descriptor {
2383 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2384 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2389 partial
void OnConstruction();
2391 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2392 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2394 xIntervals_ = other.xIntervals_.Clone();
2395 yIntervals_ = other.yIntervals_.Clone();
2396 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2399 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2400 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2407 private static readonly pb::FieldCodec<int> _repeated_xIntervals_codec
2408 = pb::FieldCodec.ForInt32(10);
2409 private readonly pbc::RepeatedField<int> xIntervals_ =
new pbc::RepeatedField<int>();
2410 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2411 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2413 get {
return xIntervals_; }
2418 private static readonly pb::FieldCodec<int> _repeated_yIntervals_codec
2419 = pb::FieldCodec.ForInt32(18);
2420 private readonly pbc::RepeatedField<int> yIntervals_ =
new pbc::RepeatedField<int>();
2424 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2425 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2427 get {
return yIntervals_; }
2430 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2431 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2432 public override bool Equals(
object other) {
2436 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2437 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2439 if (ReferenceEquals(other,
null)) {
2442 if (ReferenceEquals(other,
this)) {
2445 if(!xIntervals_.Equals(other.xIntervals_))
return false;
2446 if(!yIntervals_.Equals(other.yIntervals_))
return false;
2447 return Equals(_unknownFields, other._unknownFields);
2450 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2451 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2454 hash ^= xIntervals_.GetHashCode();
2455 hash ^= yIntervals_.GetHashCode();
2456 if (_unknownFields !=
null) {
2457 hash ^= _unknownFields.GetHashCode();
2462 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2463 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2465 return pb::JsonFormatter.ToDiagnosticString(
this);
2468 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2469 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2470 public void WriteTo(pb::CodedOutputStream output) {
2471 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2472 output.WriteRawMessage(
this);
2474 xIntervals_.WriteTo(output, _repeated_xIntervals_codec);
2475 yIntervals_.WriteTo(output, _repeated_yIntervals_codec);
2476 if (_unknownFields !=
null) {
2477 _unknownFields.WriteTo(output);
2482 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2483 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2484 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2485 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2486 xIntervals_.WriteTo(ref output, _repeated_xIntervals_codec);
2487 yIntervals_.WriteTo(ref output, _repeated_yIntervals_codec);
2488 if (_unknownFields !=
null) {
2489 _unknownFields.WriteTo(ref output);
2494 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2495 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2498 size += xIntervals_.CalculateSize(_repeated_xIntervals_codec);
2499 size += yIntervals_.CalculateSize(_repeated_yIntervals_codec);
2500 if (_unknownFields !=
null) {
2501 size += _unknownFields.CalculateSize();
2506 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2507 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2509 if (other ==
null) {
2512 xIntervals_.Add(other.xIntervals_);
2513 yIntervals_.Add(other.yIntervals_);
2514 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2517 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2518 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2519 public void MergeFrom(pb::CodedInputStream input) {
2520 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2521 input.ReadRawMessage(
this);
2524 while ((tag = input.ReadTag()) != 0) {
2527 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2531 xIntervals_.AddEntriesFrom(input, _repeated_xIntervals_codec);
2536 yIntervals_.AddEntriesFrom(input, _repeated_yIntervals_codec);
2544 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2545 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2546 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2547 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2549 while ((tag = input.ReadTag()) != 0) {
2552 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2556 xIntervals_.AddEntriesFrom(ref input, _repeated_xIntervals_codec);
2561 yIntervals_.AddEntriesFrom(ref input, _repeated_yIntervals_codec);
2581 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2582 public sealed partial class CumulativeConstraintProto : pb::IMessage<CumulativeConstraintProto>
2583 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2584 , pb::IBufferMessage
2587 private static readonly pb::MessageParser<CumulativeConstraintProto> _parser =
new pb::MessageParser<CumulativeConstraintProto>(() =>
new CumulativeConstraintProto());
2588 private pb::UnknownFieldSet _unknownFields;
2589 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2590 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2591 public static pb::MessageParser<CumulativeConstraintProto>
Parser {
get {
return _parser; } }
2593 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2594 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2596 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[10]; }
2599 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2600 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2601 pbr::MessageDescriptor pb::IMessage.Descriptor {
2605 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2606 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2611 partial
void OnConstruction();
2613 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2614 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2616 capacity_ = other.capacity_ !=
null ? other.capacity_.Clone() :
null;
2617 intervals_ = other.intervals_.Clone();
2618 demands_ = other.demands_.Clone();
2619 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2622 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2623 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2630 private global::Google.OrTools.Sat.LinearExpressionProto capacity_;
2631 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2632 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2633 public global::Google.OrTools.Sat.LinearExpressionProto
Capacity {
2634 get {
return capacity_; }
2642 private static readonly pb::FieldCodec<int> _repeated_intervals_codec
2643 = pb::FieldCodec.ForInt32(18);
2644 private readonly pbc::RepeatedField<int> intervals_ =
new pbc::RepeatedField<int>();
2645 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2646 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2647 public pbc::RepeatedField<int>
Intervals {
2648 get {
return intervals_; }
2653 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_demands_codec
2654 = pb::FieldCodec.ForMessage(26, global::Google.OrTools.Sat.LinearExpressionProto.Parser);
2655 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> demands_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
2659 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2660 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2661 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Demands {
2662 get {
return demands_; }
2665 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2666 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2667 public override bool Equals(
object other) {
2671 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2672 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2674 if (ReferenceEquals(other,
null)) {
2677 if (ReferenceEquals(other,
this)) {
2681 if(!intervals_.Equals(other.intervals_))
return false;
2682 if(!demands_.Equals(other.demands_))
return false;
2683 return Equals(_unknownFields, other._unknownFields);
2686 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2687 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2690 if (capacity_ !=
null) hash ^=
Capacity.GetHashCode();
2691 hash ^= intervals_.GetHashCode();
2692 hash ^= demands_.GetHashCode();
2693 if (_unknownFields !=
null) {
2694 hash ^= _unknownFields.GetHashCode();
2699 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2700 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2702 return pb::JsonFormatter.ToDiagnosticString(
this);
2705 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2706 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2707 public void WriteTo(pb::CodedOutputStream output) {
2708 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2709 output.WriteRawMessage(
this);
2711 if (capacity_ !=
null) {
2712 output.WriteRawTag(10);
2715 intervals_.WriteTo(output, _repeated_intervals_codec);
2716 demands_.WriteTo(output, _repeated_demands_codec);
2717 if (_unknownFields !=
null) {
2718 _unknownFields.WriteTo(output);
2723 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2724 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2725 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2726 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2727 if (capacity_ !=
null) {
2728 output.WriteRawTag(10);
2731 intervals_.WriteTo(ref output, _repeated_intervals_codec);
2732 demands_.WriteTo(ref output, _repeated_demands_codec);
2733 if (_unknownFields !=
null) {
2734 _unknownFields.WriteTo(ref output);
2739 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2740 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2743 if (capacity_ !=
null) {
2744 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
Capacity);
2746 size += intervals_.CalculateSize(_repeated_intervals_codec);
2747 size += demands_.CalculateSize(_repeated_demands_codec);
2748 if (_unknownFields !=
null) {
2749 size += _unknownFields.CalculateSize();
2754 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2755 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2757 if (other ==
null) {
2760 if (other.capacity_ !=
null) {
2761 if (capacity_ ==
null) {
2762 Capacity =
new global::Google.OrTools.Sat.LinearExpressionProto();
2764 Capacity.MergeFrom(other.Capacity);
2766 intervals_.Add(other.intervals_);
2767 demands_.Add(other.demands_);
2768 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2771 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2772 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2773 public void MergeFrom(pb::CodedInputStream input) {
2774 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2775 input.ReadRawMessage(
this);
2778 while ((tag = input.ReadTag()) != 0) {
2781 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2784 if (capacity_ ==
null) {
2785 Capacity =
new global::Google.OrTools.Sat.LinearExpressionProto();
2792 intervals_.AddEntriesFrom(input, _repeated_intervals_codec);
2796 demands_.AddEntriesFrom(input, _repeated_demands_codec);
2804 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2805 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2806 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2807 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2809 while ((tag = input.ReadTag()) != 0) {
2812 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2815 if (capacity_ ==
null) {
2816 Capacity =
new global::Google.OrTools.Sat.LinearExpressionProto();
2823 intervals_.AddEntriesFrom(ref input, _repeated_intervals_codec);
2827 demands_.AddEntriesFrom(ref input, _repeated_demands_codec);
2855 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2856 public sealed partial class ReservoirConstraintProto : pb::IMessage<ReservoirConstraintProto>
2857 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2858 , pb::IBufferMessage
2861 private static readonly pb::MessageParser<ReservoirConstraintProto> _parser =
new pb::MessageParser<ReservoirConstraintProto>(() =>
new ReservoirConstraintProto());
2862 private pb::UnknownFieldSet _unknownFields;
2863 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2864 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2865 public static pb::MessageParser<ReservoirConstraintProto>
Parser {
get {
return _parser; } }
2867 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2868 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2869 public static pbr::MessageDescriptor
Descriptor {
2870 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[11]; }
2873 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2874 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2875 pbr::MessageDescriptor pb::IMessage.Descriptor {
2879 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2880 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2885 partial
void OnConstruction();
2887 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2888 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2890 minLevel_ = other.minLevel_;
2891 maxLevel_ = other.maxLevel_;
2892 timeExprs_ = other.timeExprs_.Clone();
2893 levelChanges_ = other.levelChanges_.Clone();
2894 activeLiterals_ = other.activeLiterals_.Clone();
2895 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2898 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2899 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2906 private long minLevel_;
2907 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2908 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2910 get {
return minLevel_; }
2918 private long maxLevel_;
2919 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2920 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2922 get {
return maxLevel_; }
2930 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_timeExprs_codec
2931 = pb::FieldCodec.ForMessage(26, global::Google.OrTools.Sat.LinearExpressionProto.Parser);
2932 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> timeExprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
2936 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2937 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2938 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
TimeExprs {
2939 get {
return timeExprs_; }
2944 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_levelChanges_codec
2945 = pb::FieldCodec.ForMessage(50, global::Google.OrTools.Sat.LinearExpressionProto.Parser);
2946 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> levelChanges_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
2950 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2951 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2952 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
LevelChanges {
2953 get {
return levelChanges_; }
2958 private static readonly pb::FieldCodec<int> _repeated_activeLiterals_codec
2959 = pb::FieldCodec.ForInt32(42);
2960 private readonly pbc::RepeatedField<int> activeLiterals_ =
new pbc::RepeatedField<int>();
2961 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2962 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2964 get {
return activeLiterals_; }
2967 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2968 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2973 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2974 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2976 if (ReferenceEquals(other,
null)) {
2979 if (ReferenceEquals(other,
this)) {
2982 if (
MinLevel != other.MinLevel)
return false;
2983 if (
MaxLevel != other.MaxLevel)
return false;
2984 if(!timeExprs_.Equals(other.timeExprs_))
return false;
2985 if(!levelChanges_.Equals(other.levelChanges_))
return false;
2986 if(!activeLiterals_.Equals(other.activeLiterals_))
return false;
2987 return Equals(_unknownFields, other._unknownFields);
2990 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2991 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2996 hash ^= timeExprs_.GetHashCode();
2997 hash ^= levelChanges_.GetHashCode();
2998 hash ^= activeLiterals_.GetHashCode();
2999 if (_unknownFields !=
null) {
3000 hash ^= _unknownFields.GetHashCode();
3005 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3006 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3007 public override string ToString() {
3008 return pb::JsonFormatter.ToDiagnosticString(
this);
3011 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3012 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3013 public void WriteTo(pb::CodedOutputStream output) {
3014 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3015 output.WriteRawMessage(
this);
3018 output.WriteRawTag(8);
3022 output.WriteRawTag(16);
3025 timeExprs_.WriteTo(output, _repeated_timeExprs_codec);
3026 activeLiterals_.WriteTo(output, _repeated_activeLiterals_codec);
3027 levelChanges_.WriteTo(output, _repeated_levelChanges_codec);
3028 if (_unknownFields !=
null) {
3029 _unknownFields.WriteTo(output);
3034 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3035 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3036 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3037 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3039 output.WriteRawTag(8);
3043 output.WriteRawTag(16);
3046 timeExprs_.WriteTo(ref output, _repeated_timeExprs_codec);
3047 activeLiterals_.WriteTo(ref output, _repeated_activeLiterals_codec);
3048 levelChanges_.WriteTo(ref output, _repeated_levelChanges_codec);
3049 if (_unknownFields !=
null) {
3050 _unknownFields.WriteTo(ref output);
3055 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3056 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3060 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
MinLevel);
3063 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
MaxLevel);
3065 size += timeExprs_.CalculateSize(_repeated_timeExprs_codec);
3066 size += levelChanges_.CalculateSize(_repeated_levelChanges_codec);
3067 size += activeLiterals_.CalculateSize(_repeated_activeLiterals_codec);
3068 if (_unknownFields !=
null) {
3069 size += _unknownFields.CalculateSize();
3074 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3075 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3077 if (other ==
null) {
3080 if (other.MinLevel != 0L) {
3083 if (other.MaxLevel != 0L) {
3086 timeExprs_.Add(other.timeExprs_);
3087 levelChanges_.Add(other.levelChanges_);
3088 activeLiterals_.Add(other.activeLiterals_);
3089 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3092 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3093 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3094 public void MergeFrom(pb::CodedInputStream input) {
3095 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3096 input.ReadRawMessage(
this);
3099 while ((tag = input.ReadTag()) != 0) {
3102 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3113 timeExprs_.AddEntriesFrom(input, _repeated_timeExprs_codec);
3118 activeLiterals_.AddEntriesFrom(input, _repeated_activeLiterals_codec);
3122 levelChanges_.AddEntriesFrom(input, _repeated_levelChanges_codec);
3130 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3131 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3132 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3133 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3135 while ((tag = input.ReadTag()) != 0) {
3138 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3149 timeExprs_.AddEntriesFrom(ref input, _repeated_timeExprs_codec);
3154 activeLiterals_.AddEntriesFrom(ref input, _repeated_activeLiterals_codec);
3158 levelChanges_.AddEntriesFrom(ref input, _repeated_levelChanges_codec);
3179 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
3180 public sealed partial class CircuitConstraintProto : pb::IMessage<CircuitConstraintProto>
3181 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3182 , pb::IBufferMessage
3185 private static readonly pb::MessageParser<CircuitConstraintProto> _parser =
new pb::MessageParser<CircuitConstraintProto>(() =>
new CircuitConstraintProto());
3186 private pb::UnknownFieldSet _unknownFields;
3187 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3188 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3189 public static pb::MessageParser<CircuitConstraintProto>
Parser {
get {
return _parser; } }
3191 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3192 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3193 public static pbr::MessageDescriptor
Descriptor {
3194 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[12]; }
3197 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3198 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3199 pbr::MessageDescriptor pb::IMessage.Descriptor {
3203 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3204 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3209 partial
void OnConstruction();
3211 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3212 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3214 tails_ = other.tails_.Clone();
3215 heads_ = other.heads_.Clone();
3216 literals_ = other.literals_.Clone();
3217 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3220 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3221 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3228 private static readonly pb::FieldCodec<int> _repeated_tails_codec
3229 = pb::FieldCodec.ForInt32(26);
3230 private readonly pbc::RepeatedField<int> tails_ =
new pbc::RepeatedField<int>();
3231 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3232 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3233 public pbc::RepeatedField<int>
Tails {
3234 get {
return tails_; }
3239 private static readonly pb::FieldCodec<int> _repeated_heads_codec
3240 = pb::FieldCodec.ForInt32(34);
3241 private readonly pbc::RepeatedField<int> heads_ =
new pbc::RepeatedField<int>();
3242 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3243 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3244 public pbc::RepeatedField<int>
Heads {
3245 get {
return heads_; }
3250 private static readonly pb::FieldCodec<int> _repeated_literals_codec
3251 = pb::FieldCodec.ForInt32(42);
3252 private readonly pbc::RepeatedField<int> literals_ =
new pbc::RepeatedField<int>();
3253 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3254 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3255 public pbc::RepeatedField<int>
Literals {
3256 get {
return literals_; }
3259 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3260 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3261 public override bool Equals(
object other) {
3265 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3266 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3268 if (ReferenceEquals(other,
null)) {
3271 if (ReferenceEquals(other,
this)) {
3274 if(!tails_.Equals(other.tails_))
return false;
3275 if(!heads_.Equals(other.heads_))
return false;
3276 if(!literals_.Equals(other.literals_))
return false;
3277 return Equals(_unknownFields, other._unknownFields);
3280 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3281 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3284 hash ^= tails_.GetHashCode();
3285 hash ^= heads_.GetHashCode();
3286 hash ^= literals_.GetHashCode();
3287 if (_unknownFields !=
null) {
3288 hash ^= _unknownFields.GetHashCode();
3293 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3294 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3295 public override string ToString() {
3296 return pb::JsonFormatter.ToDiagnosticString(
this);
3299 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3300 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3301 public void WriteTo(pb::CodedOutputStream output) {
3302 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3303 output.WriteRawMessage(
this);
3305 tails_.WriteTo(output, _repeated_tails_codec);
3306 heads_.WriteTo(output, _repeated_heads_codec);
3307 literals_.WriteTo(output, _repeated_literals_codec);
3308 if (_unknownFields !=
null) {
3309 _unknownFields.WriteTo(output);
3314 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3315 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3316 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3317 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3318 tails_.WriteTo(ref output, _repeated_tails_codec);
3319 heads_.WriteTo(ref output, _repeated_heads_codec);
3320 literals_.WriteTo(ref output, _repeated_literals_codec);
3321 if (_unknownFields !=
null) {
3322 _unknownFields.WriteTo(ref output);
3327 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3328 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3331 size += tails_.CalculateSize(_repeated_tails_codec);
3332 size += heads_.CalculateSize(_repeated_heads_codec);
3333 size += literals_.CalculateSize(_repeated_literals_codec);
3334 if (_unknownFields !=
null) {
3335 size += _unknownFields.CalculateSize();
3340 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3341 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3343 if (other ==
null) {
3346 tails_.Add(other.tails_);
3347 heads_.Add(other.heads_);
3348 literals_.Add(other.literals_);
3349 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3352 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3353 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3354 public void MergeFrom(pb::CodedInputStream input) {
3355 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3356 input.ReadRawMessage(
this);
3359 while ((tag = input.ReadTag()) != 0) {
3362 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3366 tails_.AddEntriesFrom(input, _repeated_tails_codec);
3371 heads_.AddEntriesFrom(input, _repeated_heads_codec);
3376 literals_.AddEntriesFrom(input, _repeated_literals_codec);
3384 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3385 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3386 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3387 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3389 while ((tag = input.ReadTag()) != 0) {
3392 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3396 tails_.AddEntriesFrom(ref input, _repeated_tails_codec);
3401 heads_.AddEntriesFrom(ref input, _repeated_heads_codec);
3406 literals_.AddEntriesFrom(ref input, _repeated_literals_codec);
3438 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
3439 public sealed partial class RoutesConstraintProto : pb::IMessage<RoutesConstraintProto>
3440 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3441 , pb::IBufferMessage
3444 private static readonly pb::MessageParser<RoutesConstraintProto> _parser =
new pb::MessageParser<RoutesConstraintProto>(() =>
new RoutesConstraintProto());
3445 private pb::UnknownFieldSet _unknownFields;
3446 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3447 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3448 public static pb::MessageParser<RoutesConstraintProto>
Parser {
get {
return _parser; } }
3450 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3451 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3452 public static pbr::MessageDescriptor
Descriptor {
3453 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[13]; }
3456 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3457 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3458 pbr::MessageDescriptor pb::IMessage.Descriptor {
3462 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3463 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3468 partial
void OnConstruction();
3470 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3471 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3473 tails_ = other.tails_.Clone();
3474 heads_ = other.heads_.Clone();
3475 literals_ = other.literals_.Clone();
3476 demands_ = other.demands_.Clone();
3477 capacity_ = other.capacity_;
3478 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3481 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3482 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3489 private static readonly pb::FieldCodec<int> _repeated_tails_codec
3490 = pb::FieldCodec.ForInt32(10);
3491 private readonly pbc::RepeatedField<int> tails_ =
new pbc::RepeatedField<int>();
3492 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3493 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3494 public pbc::RepeatedField<int>
Tails {
3495 get {
return tails_; }
3500 private static readonly pb::FieldCodec<int> _repeated_heads_codec
3501 = pb::FieldCodec.ForInt32(18);
3502 private readonly pbc::RepeatedField<int> heads_ =
new pbc::RepeatedField<int>();
3503 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3504 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3505 public pbc::RepeatedField<int>
Heads {
3506 get {
return heads_; }
3511 private static readonly pb::FieldCodec<int> _repeated_literals_codec
3512 = pb::FieldCodec.ForInt32(26);
3513 private readonly pbc::RepeatedField<int> literals_ =
new pbc::RepeatedField<int>();
3514 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3515 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3516 public pbc::RepeatedField<int>
Literals {
3517 get {
return literals_; }
3522 private static readonly pb::FieldCodec<int> _repeated_demands_codec
3523 = pb::FieldCodec.ForInt32(34);
3524 private readonly pbc::RepeatedField<int> demands_ =
new pbc::RepeatedField<int>();
3536 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3537 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3538 public pbc::RepeatedField<int>
Demands {
3539 get {
return demands_; }
3544 private long capacity_;
3545 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3546 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3548 get {
return capacity_; }
3554 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3555 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3556 public override bool Equals(
object other) {
3560 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3561 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3563 if (ReferenceEquals(other,
null)) {
3566 if (ReferenceEquals(other,
this)) {
3569 if(!tails_.Equals(other.tails_))
return false;
3570 if(!heads_.Equals(other.heads_))
return false;
3571 if(!literals_.Equals(other.literals_))
return false;
3572 if(!demands_.Equals(other.demands_))
return false;
3573 if (
Capacity != other.Capacity)
return false;
3574 return Equals(_unknownFields, other._unknownFields);
3577 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3578 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3581 hash ^= tails_.GetHashCode();
3582 hash ^= heads_.GetHashCode();
3583 hash ^= literals_.GetHashCode();
3584 hash ^= demands_.GetHashCode();
3586 if (_unknownFields !=
null) {
3587 hash ^= _unknownFields.GetHashCode();
3592 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3593 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3594 public override string ToString() {
3595 return pb::JsonFormatter.ToDiagnosticString(
this);
3598 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3599 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3600 public void WriteTo(pb::CodedOutputStream output) {
3601 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3602 output.WriteRawMessage(
this);
3604 tails_.WriteTo(output, _repeated_tails_codec);
3605 heads_.WriteTo(output, _repeated_heads_codec);
3606 literals_.WriteTo(output, _repeated_literals_codec);
3607 demands_.WriteTo(output, _repeated_demands_codec);
3609 output.WriteRawTag(40);
3612 if (_unknownFields !=
null) {
3613 _unknownFields.WriteTo(output);
3618 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3619 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3620 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3621 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3622 tails_.WriteTo(ref output, _repeated_tails_codec);
3623 heads_.WriteTo(ref output, _repeated_heads_codec);
3624 literals_.WriteTo(ref output, _repeated_literals_codec);
3625 demands_.WriteTo(ref output, _repeated_demands_codec);
3627 output.WriteRawTag(40);
3630 if (_unknownFields !=
null) {
3631 _unknownFields.WriteTo(ref output);
3636 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3637 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3640 size += tails_.CalculateSize(_repeated_tails_codec);
3641 size += heads_.CalculateSize(_repeated_heads_codec);
3642 size += literals_.CalculateSize(_repeated_literals_codec);
3643 size += demands_.CalculateSize(_repeated_demands_codec);
3645 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
Capacity);
3647 if (_unknownFields !=
null) {
3648 size += _unknownFields.CalculateSize();
3653 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3654 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3656 if (other ==
null) {
3659 tails_.Add(other.tails_);
3660 heads_.Add(other.heads_);
3661 literals_.Add(other.literals_);
3662 demands_.Add(other.demands_);
3663 if (other.Capacity != 0L) {
3666 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3669 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3670 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3671 public void MergeFrom(pb::CodedInputStream input) {
3672 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3673 input.ReadRawMessage(
this);
3676 while ((tag = input.ReadTag()) != 0) {
3679 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3683 tails_.AddEntriesFrom(input, _repeated_tails_codec);
3688 heads_.AddEntriesFrom(input, _repeated_heads_codec);
3693 literals_.AddEntriesFrom(input, _repeated_literals_codec);
3698 demands_.AddEntriesFrom(input, _repeated_demands_codec);
3710 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3711 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3712 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3713 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3715 while ((tag = input.ReadTag()) != 0) {
3718 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3722 tails_.AddEntriesFrom(ref input, _repeated_tails_codec);
3727 heads_.AddEntriesFrom(ref input, _repeated_heads_codec);
3732 literals_.AddEntriesFrom(ref input, _repeated_literals_codec);
3737 demands_.AddEntriesFrom(ref input, _repeated_demands_codec);
3756 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
3757 public sealed partial class TableConstraintProto : pb::IMessage<TableConstraintProto>
3758 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3759 , pb::IBufferMessage
3762 private static readonly pb::MessageParser<TableConstraintProto> _parser =
new pb::MessageParser<TableConstraintProto>(() =>
new TableConstraintProto());
3763 private pb::UnknownFieldSet _unknownFields;
3764 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3765 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3766 public static pb::MessageParser<TableConstraintProto>
Parser {
get {
return _parser; } }
3768 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3769 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3770 public static pbr::MessageDescriptor
Descriptor {
3771 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[14]; }
3774 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3775 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3776 pbr::MessageDescriptor pb::IMessage.Descriptor {
3780 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3781 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3786 partial
void OnConstruction();
3788 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3789 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3791 vars_ = other.vars_.Clone();
3792 values_ = other.values_.Clone();
3793 negated_ = other.negated_;
3794 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3797 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3798 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3805 private static readonly pb::FieldCodec<int> _repeated_vars_codec
3806 = pb::FieldCodec.ForInt32(10);
3807 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
3808 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3809 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3810 public pbc::RepeatedField<int>
Vars {
3811 get {
return vars_; }
3816 private static readonly pb::FieldCodec<long> _repeated_values_codec
3817 = pb::FieldCodec.ForInt64(18);
3818 private readonly pbc::RepeatedField<long> values_ =
new pbc::RepeatedField<long>();
3819 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3820 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3822 get {
return values_; }
3827 private bool negated_;
3832 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3833 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3835 get {
return negated_; }
3841 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3842 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3847 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3848 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3850 if (ReferenceEquals(other,
null)) {
3853 if (ReferenceEquals(other,
this)) {
3856 if(!vars_.Equals(other.vars_))
return false;
3857 if(!values_.Equals(other.values_))
return false;
3858 if (
Negated != other.Negated)
return false;
3859 return Equals(_unknownFields, other._unknownFields);
3862 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3863 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3866 hash ^= vars_.GetHashCode();
3867 hash ^= values_.GetHashCode();
3869 if (_unknownFields !=
null) {
3870 hash ^= _unknownFields.GetHashCode();
3875 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3876 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3877 public override string ToString() {
3878 return pb::JsonFormatter.ToDiagnosticString(
this);
3881 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3882 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3883 public void WriteTo(pb::CodedOutputStream output) {
3884 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3885 output.WriteRawMessage(
this);
3887 vars_.WriteTo(output, _repeated_vars_codec);
3888 values_.WriteTo(output, _repeated_values_codec);
3890 output.WriteRawTag(24);
3893 if (_unknownFields !=
null) {
3894 _unknownFields.WriteTo(output);
3899 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3900 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3901 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3902 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3903 vars_.WriteTo(ref output, _repeated_vars_codec);
3904 values_.WriteTo(ref output, _repeated_values_codec);
3906 output.WriteRawTag(24);
3909 if (_unknownFields !=
null) {
3910 _unknownFields.WriteTo(ref output);
3915 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3916 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3919 size += vars_.CalculateSize(_repeated_vars_codec);
3920 size += values_.CalculateSize(_repeated_values_codec);
3924 if (_unknownFields !=
null) {
3925 size += _unknownFields.CalculateSize();
3930 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3931 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3933 if (other ==
null) {
3936 vars_.Add(other.vars_);
3937 values_.Add(other.values_);
3938 if (other.Negated !=
false) {
3941 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3944 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3945 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3946 public void MergeFrom(pb::CodedInputStream input) {
3947 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3948 input.ReadRawMessage(
this);
3951 while ((tag = input.ReadTag()) != 0) {
3954 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3958 vars_.AddEntriesFrom(input, _repeated_vars_codec);
3963 values_.AddEntriesFrom(input, _repeated_values_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) {
3983 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3987 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
3992 values_.AddEntriesFrom(ref input, _repeated_values_codec);
4010 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4011 public sealed partial class InverseConstraintProto : pb::IMessage<InverseConstraintProto>
4012 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4013 , pb::IBufferMessage
4016 private static readonly pb::MessageParser<InverseConstraintProto> _parser =
new pb::MessageParser<InverseConstraintProto>(() =>
new InverseConstraintProto());
4017 private pb::UnknownFieldSet _unknownFields;
4018 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4019 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4020 public static pb::MessageParser<InverseConstraintProto>
Parser {
get {
return _parser; } }
4022 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4023 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4024 public static pbr::MessageDescriptor
Descriptor {
4025 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[15]; }
4028 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4029 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4030 pbr::MessageDescriptor pb::IMessage.Descriptor {
4034 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4035 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4040 partial
void OnConstruction();
4042 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4043 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4045 fDirect_ = other.fDirect_.Clone();
4046 fInverse_ = other.fInverse_.Clone();
4047 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4050 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4051 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4058 private static readonly pb::FieldCodec<int> _repeated_fDirect_codec
4059 = pb::FieldCodec.ForInt32(10);
4060 private readonly pbc::RepeatedField<int> fDirect_ =
new pbc::RepeatedField<int>();
4061 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4062 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4063 public pbc::RepeatedField<int>
FDirect {
4064 get {
return fDirect_; }
4069 private static readonly pb::FieldCodec<int> _repeated_fInverse_codec
4070 = pb::FieldCodec.ForInt32(18);
4071 private readonly pbc::RepeatedField<int> fInverse_ =
new pbc::RepeatedField<int>();
4072 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4073 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4075 get {
return fInverse_; }
4078 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4079 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4080 public override bool Equals(
object other) {
4084 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4085 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4087 if (ReferenceEquals(other,
null)) {
4090 if (ReferenceEquals(other,
this)) {
4093 if(!fDirect_.Equals(other.fDirect_))
return false;
4094 if(!fInverse_.Equals(other.fInverse_))
return false;
4095 return Equals(_unknownFields, other._unknownFields);
4098 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4099 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4102 hash ^= fDirect_.GetHashCode();
4103 hash ^= fInverse_.GetHashCode();
4104 if (_unknownFields !=
null) {
4105 hash ^= _unknownFields.GetHashCode();
4110 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4111 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4112 public override string ToString() {
4113 return pb::JsonFormatter.ToDiagnosticString(
this);
4116 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4117 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4118 public void WriteTo(pb::CodedOutputStream output) {
4119 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4120 output.WriteRawMessage(
this);
4122 fDirect_.WriteTo(output, _repeated_fDirect_codec);
4123 fInverse_.WriteTo(output, _repeated_fInverse_codec);
4124 if (_unknownFields !=
null) {
4125 _unknownFields.WriteTo(output);
4130 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4131 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4132 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4133 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4134 fDirect_.WriteTo(ref output, _repeated_fDirect_codec);
4135 fInverse_.WriteTo(ref output, _repeated_fInverse_codec);
4136 if (_unknownFields !=
null) {
4137 _unknownFields.WriteTo(ref output);
4142 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4143 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4146 size += fDirect_.CalculateSize(_repeated_fDirect_codec);
4147 size += fInverse_.CalculateSize(_repeated_fInverse_codec);
4148 if (_unknownFields !=
null) {
4149 size += _unknownFields.CalculateSize();
4154 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4155 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4157 if (other ==
null) {
4160 fDirect_.Add(other.fDirect_);
4161 fInverse_.Add(other.fInverse_);
4162 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4165 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4166 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4167 public void MergeFrom(pb::CodedInputStream input) {
4168 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4169 input.ReadRawMessage(
this);
4172 while ((tag = input.ReadTag()) != 0) {
4175 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4179 fDirect_.AddEntriesFrom(input, _repeated_fDirect_codec);
4184 fInverse_.AddEntriesFrom(input, _repeated_fInverse_codec);
4192 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4193 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4194 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4195 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4197 while ((tag = input.ReadTag()) != 0) {
4200 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4204 fDirect_.AddEntriesFrom(ref input, _repeated_fDirect_codec);
4209 fInverse_.AddEntriesFrom(ref input, _repeated_fInverse_codec);
4223 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4224 public sealed partial class AutomatonConstraintProto : pb::IMessage<AutomatonConstraintProto>
4225 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4226 , pb::IBufferMessage
4229 private static readonly pb::MessageParser<AutomatonConstraintProto> _parser =
new pb::MessageParser<AutomatonConstraintProto>(() =>
new AutomatonConstraintProto());
4230 private pb::UnknownFieldSet _unknownFields;
4231 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4232 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4233 public static pb::MessageParser<AutomatonConstraintProto>
Parser {
get {
return _parser; } }
4235 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4236 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4237 public static pbr::MessageDescriptor
Descriptor {
4238 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[16]; }
4241 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4242 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4243 pbr::MessageDescriptor pb::IMessage.Descriptor {
4247 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4248 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4253 partial
void OnConstruction();
4255 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4256 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4258 startingState_ = other.startingState_;
4259 finalStates_ = other.finalStates_.Clone();
4260 transitionTail_ = other.transitionTail_.Clone();
4261 transitionHead_ = other.transitionHead_.Clone();
4262 transitionLabel_ = other.transitionLabel_.Clone();
4263 vars_ = other.vars_.Clone();
4264 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4267 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4268 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4275 private long startingState_;
4281 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4282 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4284 get {
return startingState_; }
4286 startingState_ = value;
4292 private static readonly pb::FieldCodec<long> _repeated_finalStates_codec
4293 = pb::FieldCodec.ForInt64(26);
4294 private readonly pbc::RepeatedField<long> finalStates_ =
new pbc::RepeatedField<long>();
4295 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4296 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4298 get {
return finalStates_; }
4303 private static readonly pb::FieldCodec<long> _repeated_transitionTail_codec
4304 = pb::FieldCodec.ForInt64(34);
4305 private readonly pbc::RepeatedField<long> transitionTail_ =
new pbc::RepeatedField<long>();
4311 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4312 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4314 get {
return transitionTail_; }
4319 private static readonly pb::FieldCodec<long> _repeated_transitionHead_codec
4320 = pb::FieldCodec.ForInt64(42);
4321 private readonly pbc::RepeatedField<long> transitionHead_ =
new pbc::RepeatedField<long>();
4322 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4323 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4325 get {
return transitionHead_; }
4330 private static readonly pb::FieldCodec<long> _repeated_transitionLabel_codec
4331 = pb::FieldCodec.ForInt64(50);
4332 private readonly pbc::RepeatedField<long> transitionLabel_ =
new pbc::RepeatedField<long>();
4333 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4334 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4336 get {
return transitionLabel_; }
4341 private static readonly pb::FieldCodec<int> _repeated_vars_codec
4342 = pb::FieldCodec.ForInt32(58);
4343 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
4348 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4349 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4350 public pbc::RepeatedField<int>
Vars {
4351 get {
return vars_; }
4354 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4355 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4356 public override bool Equals(
object other) {
4360 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4361 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4363 if (ReferenceEquals(other,
null)) {
4366 if (ReferenceEquals(other,
this)) {
4370 if(!finalStates_.Equals(other.finalStates_))
return false;
4371 if(!transitionTail_.Equals(other.transitionTail_))
return false;
4372 if(!transitionHead_.Equals(other.transitionHead_))
return false;
4373 if(!transitionLabel_.Equals(other.transitionLabel_))
return false;
4374 if(!vars_.Equals(other.vars_))
return false;
4375 return Equals(_unknownFields, other._unknownFields);
4378 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4379 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4383 hash ^= finalStates_.GetHashCode();
4384 hash ^= transitionTail_.GetHashCode();
4385 hash ^= transitionHead_.GetHashCode();
4386 hash ^= transitionLabel_.GetHashCode();
4387 hash ^= vars_.GetHashCode();
4388 if (_unknownFields !=
null) {
4389 hash ^= _unknownFields.GetHashCode();
4394 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4395 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4396 public override string ToString() {
4397 return pb::JsonFormatter.ToDiagnosticString(
this);
4400 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4401 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4402 public void WriteTo(pb::CodedOutputStream output) {
4403 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4404 output.WriteRawMessage(
this);
4407 output.WriteRawTag(16);
4410 finalStates_.WriteTo(output, _repeated_finalStates_codec);
4411 transitionTail_.WriteTo(output, _repeated_transitionTail_codec);
4412 transitionHead_.WriteTo(output, _repeated_transitionHead_codec);
4413 transitionLabel_.WriteTo(output, _repeated_transitionLabel_codec);
4414 vars_.WriteTo(output, _repeated_vars_codec);
4415 if (_unknownFields !=
null) {
4416 _unknownFields.WriteTo(output);
4421 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4422 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4423 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4424 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4426 output.WriteRawTag(16);
4429 finalStates_.WriteTo(ref output, _repeated_finalStates_codec);
4430 transitionTail_.WriteTo(ref output, _repeated_transitionTail_codec);
4431 transitionHead_.WriteTo(ref output, _repeated_transitionHead_codec);
4432 transitionLabel_.WriteTo(ref output, _repeated_transitionLabel_codec);
4433 vars_.WriteTo(ref output, _repeated_vars_codec);
4434 if (_unknownFields !=
null) {
4435 _unknownFields.WriteTo(ref output);
4440 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4441 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4445 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
StartingState);
4447 size += finalStates_.CalculateSize(_repeated_finalStates_codec);
4448 size += transitionTail_.CalculateSize(_repeated_transitionTail_codec);
4449 size += transitionHead_.CalculateSize(_repeated_transitionHead_codec);
4450 size += transitionLabel_.CalculateSize(_repeated_transitionLabel_codec);
4451 size += vars_.CalculateSize(_repeated_vars_codec);
4452 if (_unknownFields !=
null) {
4453 size += _unknownFields.CalculateSize();
4458 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4459 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4461 if (other ==
null) {
4464 if (other.StartingState != 0L) {
4467 finalStates_.Add(other.finalStates_);
4468 transitionTail_.Add(other.transitionTail_);
4469 transitionHead_.Add(other.transitionHead_);
4470 transitionLabel_.Add(other.transitionLabel_);
4471 vars_.Add(other.vars_);
4472 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4475 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4476 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4477 public void MergeFrom(pb::CodedInputStream input) {
4478 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4479 input.ReadRawMessage(
this);
4482 while ((tag = input.ReadTag()) != 0) {
4485 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4493 finalStates_.AddEntriesFrom(input, _repeated_finalStates_codec);
4498 transitionTail_.AddEntriesFrom(input, _repeated_transitionTail_codec);
4503 transitionHead_.AddEntriesFrom(input, _repeated_transitionHead_codec);
4508 transitionLabel_.AddEntriesFrom(input, _repeated_transitionLabel_codec);
4513 vars_.AddEntriesFrom(input, _repeated_vars_codec);
4521 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4522 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4523 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4524 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4526 while ((tag = input.ReadTag()) != 0) {
4529 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4537 finalStates_.AddEntriesFrom(ref input, _repeated_finalStates_codec);
4542 transitionTail_.AddEntriesFrom(ref input, _repeated_transitionTail_codec);
4547 transitionHead_.AddEntriesFrom(ref input, _repeated_transitionHead_codec);
4552 transitionLabel_.AddEntriesFrom(ref input, _repeated_transitionLabel_codec);
4557 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
4570 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4571 public sealed partial class ListOfVariablesProto : pb::IMessage<ListOfVariablesProto>
4572 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4573 , pb::IBufferMessage
4576 private static readonly pb::MessageParser<ListOfVariablesProto> _parser =
new pb::MessageParser<ListOfVariablesProto>(() =>
new ListOfVariablesProto());
4577 private pb::UnknownFieldSet _unknownFields;
4578 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4579 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4580 public static pb::MessageParser<ListOfVariablesProto>
Parser {
get {
return _parser; } }
4582 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4583 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4584 public static pbr::MessageDescriptor
Descriptor {
4585 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[17]; }
4588 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4589 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4590 pbr::MessageDescriptor pb::IMessage.Descriptor {
4594 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4595 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4600 partial
void OnConstruction();
4602 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4603 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4605 vars_ = other.vars_.Clone();
4606 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4609 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4610 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4617 private static readonly pb::FieldCodec<int> _repeated_vars_codec
4618 = pb::FieldCodec.ForInt32(10);
4619 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
4620 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4621 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4622 public pbc::RepeatedField<int>
Vars {
4623 get {
return vars_; }
4626 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4627 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4628 public override bool Equals(
object other) {
4632 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4633 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4635 if (ReferenceEquals(other,
null)) {
4638 if (ReferenceEquals(other,
this)) {
4641 if(!vars_.Equals(other.vars_))
return false;
4642 return Equals(_unknownFields, other._unknownFields);
4645 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4646 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4649 hash ^= vars_.GetHashCode();
4650 if (_unknownFields !=
null) {
4651 hash ^= _unknownFields.GetHashCode();
4656 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4657 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4658 public override string ToString() {
4659 return pb::JsonFormatter.ToDiagnosticString(
this);
4662 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4663 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4664 public void WriteTo(pb::CodedOutputStream output) {
4665 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4666 output.WriteRawMessage(
this);
4668 vars_.WriteTo(output, _repeated_vars_codec);
4669 if (_unknownFields !=
null) {
4670 _unknownFields.WriteTo(output);
4675 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4676 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4677 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4678 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4679 vars_.WriteTo(ref output, _repeated_vars_codec);
4680 if (_unknownFields !=
null) {
4681 _unknownFields.WriteTo(ref output);
4686 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4687 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4690 size += vars_.CalculateSize(_repeated_vars_codec);
4691 if (_unknownFields !=
null) {
4692 size += _unknownFields.CalculateSize();
4697 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4698 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4700 if (other ==
null) {
4703 vars_.Add(other.vars_);
4704 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4707 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4708 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4709 public void MergeFrom(pb::CodedInputStream input) {
4710 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4711 input.ReadRawMessage(
this);
4714 while ((tag = input.ReadTag()) != 0) {
4717 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4721 vars_.AddEntriesFrom(input, _repeated_vars_codec);
4729 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4730 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4731 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4732 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4734 while ((tag = input.ReadTag()) != 0) {
4737 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4741 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
4754 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4755 public sealed partial class ConstraintProto : pb::IMessage<ConstraintProto>
4756 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4757 , pb::IBufferMessage
4760 private static readonly pb::MessageParser<ConstraintProto> _parser =
new pb::MessageParser<ConstraintProto>(() =>
new ConstraintProto());
4761 private pb::UnknownFieldSet _unknownFields;
4762 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4763 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4764 public static pb::MessageParser<ConstraintProto>
Parser {
get {
return _parser; } }
4766 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4767 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4768 public static pbr::MessageDescriptor
Descriptor {
4769 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[18]; }
4772 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4773 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4774 pbr::MessageDescriptor pb::IMessage.Descriptor {
4778 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4779 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4784 partial
void OnConstruction();
4786 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4787 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4789 name_ = other.name_;
4790 enforcementLiteral_ = other.enforcementLiteral_.Clone();
4791 switch (other.ConstraintCase) {
4793 BoolOr = other.BoolOr.Clone();
4796 BoolAnd = other.BoolAnd.Clone();
4805 BoolXor = other.BoolXor.Clone();
4808 IntDiv = other.IntDiv.Clone();
4811 IntMod = other.IntMod.Clone();
4814 IntProd = other.IntProd.Clone();
4817 LinMax = other.LinMax.Clone();
4820 Linear = other.Linear.Clone();
4823 AllDiff = other.AllDiff.Clone();
4826 Element = other.Element.Clone();
4829 Circuit = other.Circuit.Clone();
4832 Routes = other.Routes.Clone();
4835 Table = other.Table.Clone();
4841 Inverse = other.Inverse.Clone();
4863 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4866 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4867 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4874 private string name_ =
"";
4878 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4879 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4880 public string Name {
4881 get {
return name_; }
4883 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
4889 private static readonly pb::FieldCodec<int> _repeated_enforcementLiteral_codec
4890 = pb::FieldCodec.ForInt32(18);
4891 private readonly pbc::RepeatedField<int> enforcementLiteral_ =
new pbc::RepeatedField<int>();
4908 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4909 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4911 get {
return enforcementLiteral_; }
4919 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4920 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4921 public global::Google.OrTools.Sat.BoolArgumentProto
BoolOr {
4922 get {
return constraintCase_ == ConstraintOneofCase.BoolOr ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ : null; }
4924 constraint_ = value;
4938 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4939 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4940 public global::Google.OrTools.Sat.BoolArgumentProto
BoolAnd {
4941 get {
return constraintCase_ == ConstraintOneofCase.BoolAnd ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ :
null; }
4943 constraint_ = value;
4963 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4964 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4965 public global::Google.OrTools.Sat.BoolArgumentProto
AtMostOne {
4966 get {
return constraintCase_ == ConstraintOneofCase.AtMostOne ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ :
null; }
4968 constraint_ = value;
4969 constraintCase_ = value ==
null ? ConstraintOneofCase.None :
ConstraintOneofCase.AtMostOne;
4989 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4990 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4991 public global::Google.OrTools.Sat.BoolArgumentProto
ExactlyOne {
4992 get {
return constraintCase_ == ConstraintOneofCase.ExactlyOne ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ :
null; }
4994 constraint_ = value;
4995 constraintCase_ = value ==
null ? ConstraintOneofCase.None :
ConstraintOneofCase.ExactlyOne;
5004 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5005 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5006 public global::Google.OrTools.Sat.BoolArgumentProto
BoolXor {
5007 get {
return constraintCase_ == ConstraintOneofCase.BoolXor ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ : null; }
5009 constraint_ = value;
5025 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5026 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5027 public global::Google.OrTools.Sat.LinearArgumentProto
IntDiv {
5028 get {
return constraintCase_ == ConstraintOneofCase.IntDiv ? (global::Google.OrTools.Sat.LinearArgumentProto) constraint_ : null; }
5030 constraint_ = value;
5042 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5043 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5044 public global::Google.OrTools.Sat.LinearArgumentProto
IntMod {
5045 get {
return constraintCase_ == ConstraintOneofCase.IntMod ? (global::Google.OrTools.Sat.LinearArgumentProto) constraint_ :
null; }
5047 constraint_ = value;
5064 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5065 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5066 public global::Google.OrTools.Sat.LinearArgumentProto
IntProd {
5067 get {
return constraintCase_ == ConstraintOneofCase.IntProd ? (global::Google.OrTools.Sat.LinearArgumentProto) constraint_ :
null; }
5069 constraint_ = value;
5081 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5082 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5083 public global::Google.OrTools.Sat.LinearArgumentProto
LinMax {
5084 get {
return constraintCase_ == ConstraintOneofCase.LinMax ? (global::Google.OrTools.Sat.LinearArgumentProto) constraint_ :
null; }
5086 constraint_ = value;
5097 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5098 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5099 public global::Google.OrTools.Sat.LinearConstraintProto
Linear {
5100 get {
return constraintCase_ == ConstraintOneofCase.Linear ? (global::Google.OrTools.Sat.LinearConstraintProto) constraint_ :
null; }
5102 constraint_ = value;
5112 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5113 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5114 public global::Google.OrTools.Sat.AllDifferentConstraintProto
AllDiff {
5115 get {
return constraintCase_ == ConstraintOneofCase.AllDiff ? (global::Google.OrTools.Sat.AllDifferentConstraintProto) constraint_ :
null; }
5117 constraint_ = value;
5128 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5129 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5130 public global::Google.OrTools.Sat.ElementConstraintProto
Element {
5131 get {
return constraintCase_ == ConstraintOneofCase.Element ? (global::Google.OrTools.Sat.ElementConstraintProto) constraint_ :
null; }
5133 constraint_ = value;
5144 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5145 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5146 public global::Google.OrTools.Sat.CircuitConstraintProto
Circuit {
5147 get {
return constraintCase_ == ConstraintOneofCase.Circuit ? (global::Google.OrTools.Sat.CircuitConstraintProto) constraint_ :
null; }
5149 constraint_ = value;
5159 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5160 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5161 public global::Google.OrTools.Sat.RoutesConstraintProto
Routes {
5162 get {
return constraintCase_ == ConstraintOneofCase.Routes ? (global::Google.OrTools.Sat.RoutesConstraintProto) constraint_ :
null; }
5164 constraint_ = value;
5175 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5176 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5177 public global::Google.OrTools.Sat.TableConstraintProto
Table {
5178 get {
return constraintCase_ == ConstraintOneofCase.Table ? (global::Google.OrTools.Sat.TableConstraintProto) constraint_ :
null; }
5180 constraint_ = value;
5191 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5192 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5193 public global::Google.OrTools.Sat.AutomatonConstraintProto
Automaton {
5194 get {
return constraintCase_ == ConstraintOneofCase.Automaton ? (global::Google.OrTools.Sat.AutomatonConstraintProto) constraint_ :
null; }
5196 constraint_ = value;
5197 constraintCase_ = value ==
null ? ConstraintOneofCase.None :
ConstraintOneofCase.Automaton;
5207 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5208 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5209 public global::Google.OrTools.Sat.InverseConstraintProto
Inverse {
5210 get {
return constraintCase_ == ConstraintOneofCase.Inverse ? (global::Google.OrTools.Sat.InverseConstraintProto) constraint_ :
null; }
5212 constraint_ = value;
5224 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5225 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5226 public global::Google.OrTools.Sat.ReservoirConstraintProto
Reservoir {
5227 get {
return constraintCase_ == ConstraintOneofCase.Reservoir ? (global::Google.OrTools.Sat.ReservoirConstraintProto) constraint_ :
null; }
5229 constraint_ = value;
5230 constraintCase_ = value ==
null ? ConstraintOneofCase.None :
ConstraintOneofCase.Reservoir;
5240 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5241 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5242 public global::Google.OrTools.Sat.IntervalConstraintProto
Interval {
5243 get {
return constraintCase_ == ConstraintOneofCase.Interval ? (global::Google.OrTools.Sat.IntervalConstraintProto) constraint_ :
null; }
5245 constraint_ = value;
5246 constraintCase_ = value ==
null ? ConstraintOneofCase.None :
ConstraintOneofCase.Interval;
5257 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5258 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5259 public global::Google.OrTools.Sat.NoOverlapConstraintProto
NoOverlap {
5260 get {
return constraintCase_ == ConstraintOneofCase.NoOverlap ? (global::Google.OrTools.Sat.NoOverlapConstraintProto) constraint_ :
null; }
5262 constraint_ = value;
5263 constraintCase_ = value ==
null ? ConstraintOneofCase.None :
ConstraintOneofCase.NoOverlap;
5272 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5273 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5274 public global::Google.OrTools.Sat.NoOverlap2DConstraintProto
NoOverlap2D {
5275 get {
return constraintCase_ == ConstraintOneofCase.NoOverlap2D ? (global::Google.OrTools.Sat.NoOverlap2DConstraintProto) constraint_ :
null; }
5277 constraint_ = value;
5278 constraintCase_ = value ==
null ? ConstraintOneofCase.None :
ConstraintOneofCase.NoOverlap2D;
5289 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5290 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5291 public global::Google.OrTools.Sat.CumulativeConstraintProto
Cumulative {
5292 get {
return constraintCase_ == ConstraintOneofCase.Cumulative ? (global::Google.OrTools.Sat.CumulativeConstraintProto) constraint_ :
null; }
5294 constraint_ = value;
5295 constraintCase_ = value ==
null ? ConstraintOneofCase.None :
ConstraintOneofCase.Cumulative;
5305 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5306 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5307 public global::Google.OrTools.Sat.ListOfVariablesProto
DummyConstraint {
5308 get {
return constraintCase_ == ConstraintOneofCase.DummyConstraint ? (global::Google.OrTools.Sat.ListOfVariablesProto) constraint_ :
null; }
5310 constraint_ = value;
5311 constraintCase_ = value ==
null ? ConstraintOneofCase.None :
ConstraintOneofCase.DummyConstraint;
5315 private object constraint_;
5344 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5345 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5347 get {
return constraintCase_; }
5350 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5351 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5357 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5358 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5359 public override bool Equals(
object other) {
5363 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5364 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5366 if (ReferenceEquals(other,
null)) {
5369 if (ReferenceEquals(other,
this)) {
5372 if (
Name != other.Name)
return false;
5373 if(!enforcementLiteral_.Equals(other.enforcementLiteral_))
return false;
5374 if (!
object.
Equals(
BoolOr, other.BoolOr))
return false;
5379 if (!
object.
Equals(
IntDiv, other.IntDiv))
return false;
5380 if (!
object.
Equals(
IntMod, other.IntMod))
return false;
5382 if (!
object.
Equals(
LinMax, other.LinMax))
return false;
5387 if (!
object.
Equals(
Routes, other.Routes))
return false;
5388 if (!
object.
Equals(
Table, other.Table))
return false;
5398 return Equals(_unknownFields, other._unknownFields);
5401 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5402 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5405 if (
Name.Length != 0) hash ^=
Name.GetHashCode();
5406 hash ^= enforcementLiteral_.GetHashCode();
5430 hash ^= (int) constraintCase_;
5431 if (_unknownFields !=
null) {
5432 hash ^= _unknownFields.GetHashCode();
5437 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5438 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5439 public override string ToString() {
5440 return pb::JsonFormatter.ToDiagnosticString(
this);
5443 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5444 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5445 public void WriteTo(pb::CodedOutputStream output) {
5446 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5447 output.WriteRawMessage(
this);
5449 if (
Name.Length != 0) {
5450 output.WriteRawTag(10);
5451 output.WriteString(
Name);
5453 enforcementLiteral_.WriteTo(output, _repeated_enforcementLiteral_codec);
5455 output.WriteRawTag(26);
5456 output.WriteMessage(
BoolOr);
5459 output.WriteRawTag(34);
5463 output.WriteRawTag(42);
5467 output.WriteRawTag(58);
5468 output.WriteMessage(
IntDiv);
5471 output.WriteRawTag(66);
5472 output.WriteMessage(
IntMod);
5475 output.WriteRawTag(90);
5479 output.WriteRawTag(98);
5480 output.WriteMessage(
Linear);
5483 output.WriteRawTag(106);
5487 output.WriteRawTag(114);
5491 output.WriteRawTag(122);
5495 output.WriteRawTag(130, 1);
5496 output.WriteMessage(
Table);
5499 output.WriteRawTag(138, 1);
5503 output.WriteRawTag(146, 1);
5507 output.WriteRawTag(154, 1);
5511 output.WriteRawTag(162, 1);
5515 output.WriteRawTag(170, 1);
5519 output.WriteRawTag(178, 1);
5523 output.WriteRawTag(186, 1);
5524 output.WriteMessage(
Routes);
5527 output.WriteRawTag(194, 1);
5531 output.WriteRawTag(210, 1);
5535 output.WriteRawTag(218, 1);
5536 output.WriteMessage(
LinMax);
5539 output.WriteRawTag(234, 1);
5543 output.WriteRawTag(242, 1);
5546 if (_unknownFields !=
null) {
5547 _unknownFields.WriteTo(output);
5552 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5553 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5554 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5555 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
5556 if (
Name.Length != 0) {
5557 output.WriteRawTag(10);
5558 output.WriteString(
Name);
5560 enforcementLiteral_.WriteTo(ref output, _repeated_enforcementLiteral_codec);
5562 output.WriteRawTag(26);
5563 output.WriteMessage(
BoolOr);
5566 output.WriteRawTag(34);
5570 output.WriteRawTag(42);
5574 output.WriteRawTag(58);
5575 output.WriteMessage(
IntDiv);
5578 output.WriteRawTag(66);
5579 output.WriteMessage(
IntMod);
5582 output.WriteRawTag(90);
5586 output.WriteRawTag(98);
5587 output.WriteMessage(
Linear);
5590 output.WriteRawTag(106);
5594 output.WriteRawTag(114);
5598 output.WriteRawTag(122);
5602 output.WriteRawTag(130, 1);
5603 output.WriteMessage(
Table);
5606 output.WriteRawTag(138, 1);
5610 output.WriteRawTag(146, 1);
5614 output.WriteRawTag(154, 1);
5618 output.WriteRawTag(162, 1);
5622 output.WriteRawTag(170, 1);
5626 output.WriteRawTag(178, 1);
5630 output.WriteRawTag(186, 1);
5631 output.WriteMessage(
Routes);
5634 output.WriteRawTag(194, 1);
5638 output.WriteRawTag(210, 1);
5642 output.WriteRawTag(218, 1);
5643 output.WriteMessage(
LinMax);
5646 output.WriteRawTag(234, 1);
5650 output.WriteRawTag(242, 1);
5653 if (_unknownFields !=
null) {
5654 _unknownFields.WriteTo(ref output);
5659 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5660 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5663 if (
Name.Length != 0) {
5664 size += 1 + pb::CodedOutputStream.ComputeStringSize(
Name);
5666 size += enforcementLiteral_.CalculateSize(_repeated_enforcementLiteral_codec);
5668 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
BoolOr);
5671 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
BoolAnd);
5674 size += 2 + pb::CodedOutputStream.ComputeMessageSize(
AtMostOne);
5677 size += 2 + pb::CodedOutputStream.ComputeMessageSize(
ExactlyOne);
5680 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
BoolXor);
5683 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
IntDiv);
5686 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
IntMod);
5689 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
IntProd);
5692 size += 2 + pb::CodedOutputStream.ComputeMessageSize(
LinMax);
5695 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
Linear);
5698 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
AllDiff);
5701 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
Element);
5704 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
Circuit);
5707 size += 2 + pb::CodedOutputStream.ComputeMessageSize(
Routes);
5710 size += 2 + pb::CodedOutputStream.ComputeMessageSize(
Table);
5713 size += 2 + pb::CodedOutputStream.ComputeMessageSize(
Automaton);
5716 size += 2 + pb::CodedOutputStream.ComputeMessageSize(
Inverse);
5719 size += 2 + pb::CodedOutputStream.ComputeMessageSize(
Reservoir);
5722 size += 2 + pb::CodedOutputStream.ComputeMessageSize(
Interval);
5725 size += 2 + pb::CodedOutputStream.ComputeMessageSize(
NoOverlap);
5728 size += 2 + pb::CodedOutputStream.ComputeMessageSize(
NoOverlap2D);
5731 size += 2 + pb::CodedOutputStream.ComputeMessageSize(
Cumulative);
5734 size += 2 + pb::CodedOutputStream.ComputeMessageSize(
DummyConstraint);
5736 if (_unknownFields !=
null) {
5737 size += _unknownFields.CalculateSize();
5742 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5743 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5745 if (other ==
null) {
5748 if (other.Name.Length != 0) {
5751 enforcementLiteral_.Add(other.enforcementLiteral_);
5752 switch (other.ConstraintCase) {
5755 BoolOr =
new global::Google.OrTools.Sat.BoolArgumentProto();
5757 BoolOr.MergeFrom(other.BoolOr);
5761 BoolAnd =
new global::Google.OrTools.Sat.BoolArgumentProto();
5763 BoolAnd.MergeFrom(other.BoolAnd);
5767 AtMostOne =
new global::Google.OrTools.Sat.BoolArgumentProto();
5773 ExactlyOne =
new global::Google.OrTools.Sat.BoolArgumentProto();
5779 BoolXor =
new global::Google.OrTools.Sat.BoolArgumentProto();
5781 BoolXor.MergeFrom(other.BoolXor);
5785 IntDiv =
new global::Google.OrTools.Sat.LinearArgumentProto();
5787 IntDiv.MergeFrom(other.IntDiv);
5791 IntMod =
new global::Google.OrTools.Sat.LinearArgumentProto();
5793 IntMod.MergeFrom(other.IntMod);
5797 IntProd =
new global::Google.OrTools.Sat.LinearArgumentProto();
5799 IntProd.MergeFrom(other.IntProd);
5803 LinMax =
new global::Google.OrTools.Sat.LinearArgumentProto();
5805 LinMax.MergeFrom(other.LinMax);
5809 Linear =
new global::Google.OrTools.Sat.LinearConstraintProto();
5811 Linear.MergeFrom(other.Linear);
5815 AllDiff =
new global::Google.OrTools.Sat.AllDifferentConstraintProto();
5817 AllDiff.MergeFrom(other.AllDiff);
5821 Element =
new global::Google.OrTools.Sat.ElementConstraintProto();
5823 Element.MergeFrom(other.Element);
5827 Circuit =
new global::Google.OrTools.Sat.CircuitConstraintProto();
5829 Circuit.MergeFrom(other.Circuit);
5833 Routes =
new global::Google.OrTools.Sat.RoutesConstraintProto();
5835 Routes.MergeFrom(other.Routes);
5838 if (
Table ==
null) {
5839 Table =
new global::Google.OrTools.Sat.TableConstraintProto();
5841 Table.MergeFrom(other.Table);
5845 Automaton =
new global::Google.OrTools.Sat.AutomatonConstraintProto();
5851 Inverse =
new global::Google.OrTools.Sat.InverseConstraintProto();
5853 Inverse.MergeFrom(other.Inverse);
5857 Reservoir =
new global::Google.OrTools.Sat.ReservoirConstraintProto();
5863 Interval =
new global::Google.OrTools.Sat.IntervalConstraintProto();
5865 Interval.MergeFrom(other.Interval);
5869 NoOverlap =
new global::Google.OrTools.Sat.NoOverlapConstraintProto();
5875 NoOverlap2D =
new global::Google.OrTools.Sat.NoOverlap2DConstraintProto();
5881 Cumulative =
new global::Google.OrTools.Sat.CumulativeConstraintProto();
5887 DummyConstraint =
new global::Google.OrTools.Sat.ListOfVariablesProto();
5893 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5896 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5897 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5898 public void MergeFrom(pb::CodedInputStream input) {
5899 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5900 input.ReadRawMessage(
this);
5903 while ((tag = input.ReadTag()) != 0) {
5906 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5909 Name = input.ReadString();
5914 enforcementLiteral_.AddEntriesFrom(input, _repeated_enforcementLiteral_codec);
5918 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
5920 subBuilder.MergeFrom(
BoolOr);
5922 input.ReadMessage(subBuilder);
5927 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
5931 input.ReadMessage(subBuilder);
5936 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
5938 subBuilder.MergeFrom(
BoolXor);
5940 input.ReadMessage(subBuilder);
5945 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
5947 subBuilder.MergeFrom(
IntDiv);
5949 input.ReadMessage(subBuilder);
5954 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
5956 subBuilder.MergeFrom(
IntMod);
5958 input.ReadMessage(subBuilder);
5963 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
5965 subBuilder.MergeFrom(
IntProd);
5967 input.ReadMessage(subBuilder);
5972 global::Google.OrTools.Sat.LinearConstraintProto subBuilder =
new global::Google.OrTools.Sat.LinearConstraintProto();
5974 subBuilder.MergeFrom(
Linear);
5976 input.ReadMessage(subBuilder);
5981 global::Google.OrTools.Sat.AllDifferentConstraintProto subBuilder =
new global::Google.OrTools.Sat.AllDifferentConstraintProto();
5983 subBuilder.MergeFrom(
AllDiff);
5985 input.ReadMessage(subBuilder);
5990 global::Google.OrTools.Sat.ElementConstraintProto subBuilder =
new global::Google.OrTools.Sat.ElementConstraintProto();
5992 subBuilder.MergeFrom(
Element);
5994 input.ReadMessage(subBuilder);
5999 global::Google.OrTools.Sat.CircuitConstraintProto subBuilder =
new global::Google.OrTools.Sat.CircuitConstraintProto();
6001 subBuilder.MergeFrom(
Circuit);
6003 input.ReadMessage(subBuilder);
6008 global::Google.OrTools.Sat.TableConstraintProto subBuilder =
new global::Google.OrTools.Sat.TableConstraintProto();
6010 subBuilder.MergeFrom(
Table);
6012 input.ReadMessage(subBuilder);
6017 global::Google.OrTools.Sat.AutomatonConstraintProto subBuilder =
new global::Google.OrTools.Sat.AutomatonConstraintProto();
6021 input.ReadMessage(subBuilder);
6026 global::Google.OrTools.Sat.InverseConstraintProto subBuilder =
new global::Google.OrTools.Sat.InverseConstraintProto();
6028 subBuilder.MergeFrom(
Inverse);
6030 input.ReadMessage(subBuilder);
6035 global::Google.OrTools.Sat.IntervalConstraintProto subBuilder =
new global::Google.OrTools.Sat.IntervalConstraintProto();
6039 input.ReadMessage(subBuilder);
6044 global::Google.OrTools.Sat.NoOverlapConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlapConstraintProto();
6048 input.ReadMessage(subBuilder);
6053 global::Google.OrTools.Sat.NoOverlap2DConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlap2DConstraintProto();
6057 input.ReadMessage(subBuilder);
6062 global::Google.OrTools.Sat.CumulativeConstraintProto subBuilder =
new global::Google.OrTools.Sat.CumulativeConstraintProto();
6066 input.ReadMessage(subBuilder);
6071 global::Google.OrTools.Sat.RoutesConstraintProto subBuilder =
new global::Google.OrTools.Sat.RoutesConstraintProto();
6073 subBuilder.MergeFrom(
Routes);
6075 input.ReadMessage(subBuilder);
6080 global::Google.OrTools.Sat.ReservoirConstraintProto subBuilder =
new global::Google.OrTools.Sat.ReservoirConstraintProto();
6084 input.ReadMessage(subBuilder);
6089 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6093 input.ReadMessage(subBuilder);
6098 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6100 subBuilder.MergeFrom(
LinMax);
6102 input.ReadMessage(subBuilder);
6107 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6111 input.ReadMessage(subBuilder);
6116 global::Google.OrTools.Sat.ListOfVariablesProto subBuilder =
new global::Google.OrTools.Sat.ListOfVariablesProto();
6120 input.ReadMessage(subBuilder);
6129 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6130 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6131 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6132 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
6134 while ((tag = input.ReadTag()) != 0) {
6137 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
6140 Name = input.ReadString();
6145 enforcementLiteral_.AddEntriesFrom(ref input, _repeated_enforcementLiteral_codec);
6149 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6151 subBuilder.MergeFrom(
BoolOr);
6153 input.ReadMessage(subBuilder);
6158 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6160 subBuilder.MergeFrom(
BoolAnd);
6162 input.ReadMessage(subBuilder);
6167 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6169 subBuilder.MergeFrom(
BoolXor);
6171 input.ReadMessage(subBuilder);
6176 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6178 subBuilder.MergeFrom(
IntDiv);
6180 input.ReadMessage(subBuilder);
6185 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6187 subBuilder.MergeFrom(
IntMod);
6189 input.ReadMessage(subBuilder);
6194 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6196 subBuilder.MergeFrom(
IntProd);
6198 input.ReadMessage(subBuilder);
6203 global::Google.OrTools.Sat.LinearConstraintProto subBuilder =
new global::Google.OrTools.Sat.LinearConstraintProto();
6205 subBuilder.MergeFrom(
Linear);
6207 input.ReadMessage(subBuilder);
6212 global::Google.OrTools.Sat.AllDifferentConstraintProto subBuilder =
new global::Google.OrTools.Sat.AllDifferentConstraintProto();
6214 subBuilder.MergeFrom(
AllDiff);
6216 input.ReadMessage(subBuilder);
6221 global::Google.OrTools.Sat.ElementConstraintProto subBuilder =
new global::Google.OrTools.Sat.ElementConstraintProto();
6223 subBuilder.MergeFrom(
Element);
6225 input.ReadMessage(subBuilder);
6230 global::Google.OrTools.Sat.CircuitConstraintProto subBuilder =
new global::Google.OrTools.Sat.CircuitConstraintProto();
6232 subBuilder.MergeFrom(
Circuit);
6234 input.ReadMessage(subBuilder);
6239 global::Google.OrTools.Sat.TableConstraintProto subBuilder =
new global::Google.OrTools.Sat.TableConstraintProto();
6241 subBuilder.MergeFrom(
Table);
6243 input.ReadMessage(subBuilder);
6248 global::Google.OrTools.Sat.AutomatonConstraintProto subBuilder =
new global::Google.OrTools.Sat.AutomatonConstraintProto();
6252 input.ReadMessage(subBuilder);
6257 global::Google.OrTools.Sat.InverseConstraintProto subBuilder =
new global::Google.OrTools.Sat.InverseConstraintProto();
6259 subBuilder.MergeFrom(
Inverse);
6261 input.ReadMessage(subBuilder);
6266 global::Google.OrTools.Sat.IntervalConstraintProto subBuilder =
new global::Google.OrTools.Sat.IntervalConstraintProto();
6270 input.ReadMessage(subBuilder);
6275 global::Google.OrTools.Sat.NoOverlapConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlapConstraintProto();
6279 input.ReadMessage(subBuilder);
6284 global::Google.OrTools.Sat.NoOverlap2DConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlap2DConstraintProto();
6288 input.ReadMessage(subBuilder);
6293 global::Google.OrTools.Sat.CumulativeConstraintProto subBuilder =
new global::Google.OrTools.Sat.CumulativeConstraintProto();
6297 input.ReadMessage(subBuilder);
6302 global::Google.OrTools.Sat.RoutesConstraintProto subBuilder =
new global::Google.OrTools.Sat.RoutesConstraintProto();
6304 subBuilder.MergeFrom(
Routes);
6306 input.ReadMessage(subBuilder);
6311 global::Google.OrTools.Sat.ReservoirConstraintProto subBuilder =
new global::Google.OrTools.Sat.ReservoirConstraintProto();
6315 input.ReadMessage(subBuilder);
6320 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6324 input.ReadMessage(subBuilder);
6329 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6331 subBuilder.MergeFrom(
LinMax);
6333 input.ReadMessage(subBuilder);
6338 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6342 input.ReadMessage(subBuilder);
6347 global::Google.OrTools.Sat.ListOfVariablesProto subBuilder =
new global::Google.OrTools.Sat.ListOfVariablesProto();
6351 input.ReadMessage(subBuilder);
6365 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
6366 public sealed partial class CpObjectiveProto : pb::IMessage<CpObjectiveProto>
6367 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6368 , pb::IBufferMessage
6371 private static readonly pb::MessageParser<CpObjectiveProto> _parser =
new pb::MessageParser<CpObjectiveProto>(() =>
new CpObjectiveProto());
6372 private pb::UnknownFieldSet _unknownFields;
6373 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6374 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6375 public static pb::MessageParser<CpObjectiveProto>
Parser {
get {
return _parser; } }
6377 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6378 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6379 public static pbr::MessageDescriptor
Descriptor {
6380 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[19]; }
6383 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6384 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6385 pbr::MessageDescriptor pb::IMessage.Descriptor {
6389 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6390 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6395 partial
void OnConstruction();
6397 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6398 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6400 vars_ = other.vars_.Clone();
6401 coeffs_ = other.coeffs_.Clone();
6402 offset_ = other.offset_;
6403 scalingFactor_ = other.scalingFactor_;
6404 domain_ = other.domain_.Clone();
6405 scalingWasExact_ = other.scalingWasExact_;
6406 integerBeforeOffset_ = other.integerBeforeOffset_;
6407 integerAfterOffset_ = other.integerAfterOffset_;
6408 integerScalingFactor_ = other.integerScalingFactor_;
6409 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
6412 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6413 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6420 private static readonly pb::FieldCodec<int> _repeated_vars_codec
6421 = pb::FieldCodec.ForInt32(10);
6422 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
6428 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6429 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6430 public pbc::RepeatedField<int>
Vars {
6431 get {
return vars_; }
6436 private static readonly pb::FieldCodec<long> _repeated_coeffs_codec
6437 = pb::FieldCodec.ForInt64(34);
6438 private readonly pbc::RepeatedField<long> coeffs_ =
new pbc::RepeatedField<long>();
6439 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6440 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6441 public pbc::RepeatedField<long>
Coeffs {
6442 get {
return coeffs_; }
6447 private double offset_;
6457 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6458 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6460 get {
return offset_; }
6468 private double scalingFactor_;
6469 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6470 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6472 get {
return scalingFactor_; }
6474 scalingFactor_ = value;
6480 private static readonly pb::FieldCodec<long> _repeated_domain_codec
6481 = pb::FieldCodec.ForInt64(42);
6482 private readonly pbc::RepeatedField<long> domain_ =
new pbc::RepeatedField<long>();
6488 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6489 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6490 public pbc::RepeatedField<long>
Domain {
6491 get {
return domain_; }
6496 private bool scalingWasExact_;
6504 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6505 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6507 get {
return scalingWasExact_; }
6509 scalingWasExact_ = value;
6515 private long integerBeforeOffset_;
6530 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6531 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6533 get {
return integerBeforeOffset_; }
6535 integerBeforeOffset_ = value;
6541 private long integerAfterOffset_;
6542 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6543 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6545 get {
return integerAfterOffset_; }
6547 integerAfterOffset_ = value;
6553 private long integerScalingFactor_;
6554 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6555 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6557 get {
return integerScalingFactor_; }
6559 integerScalingFactor_ = value;
6563 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6564 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6565 public override bool Equals(
object other) {
6569 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6570 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6572 if (ReferenceEquals(other,
null)) {
6575 if (ReferenceEquals(other,
this)) {
6578 if(!vars_.Equals(other.vars_))
return false;
6579 if(!coeffs_.Equals(other.coeffs_))
return false;
6580 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
Offset, other.Offset))
return false;
6581 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
ScalingFactor, other.ScalingFactor))
return false;
6582 if(!domain_.Equals(other.domain_))
return false;
6587 return Equals(_unknownFields, other._unknownFields);
6590 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6591 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6594 hash ^= vars_.GetHashCode();
6595 hash ^= coeffs_.GetHashCode();
6596 if (
Offset != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
Offset);
6598 hash ^= domain_.GetHashCode();
6603 if (_unknownFields !=
null) {
6604 hash ^= _unknownFields.GetHashCode();
6609 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6610 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6611 public override string ToString() {
6612 return pb::JsonFormatter.ToDiagnosticString(
this);
6615 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6616 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6617 public void WriteTo(pb::CodedOutputStream output) {
6618 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6619 output.WriteRawMessage(
this);
6621 vars_.WriteTo(output, _repeated_vars_codec);
6623 output.WriteRawTag(17);
6624 output.WriteDouble(
Offset);
6627 output.WriteRawTag(25);
6630 coeffs_.WriteTo(output, _repeated_coeffs_codec);
6631 domain_.WriteTo(output, _repeated_domain_codec);
6633 output.WriteRawTag(48);
6637 output.WriteRawTag(56);
6641 output.WriteRawTag(64);
6645 output.WriteRawTag(72);
6648 if (_unknownFields !=
null) {
6649 _unknownFields.WriteTo(output);
6654 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6655 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6656 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6657 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
6658 vars_.WriteTo(ref output, _repeated_vars_codec);
6660 output.WriteRawTag(17);
6661 output.WriteDouble(
Offset);
6664 output.WriteRawTag(25);
6667 coeffs_.WriteTo(ref output, _repeated_coeffs_codec);
6668 domain_.WriteTo(ref output, _repeated_domain_codec);
6670 output.WriteRawTag(48);
6674 output.WriteRawTag(56);
6678 output.WriteRawTag(64);
6682 output.WriteRawTag(72);
6685 if (_unknownFields !=
null) {
6686 _unknownFields.WriteTo(ref output);
6691 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6692 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6695 size += vars_.CalculateSize(_repeated_vars_codec);
6696 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
6703 size += domain_.CalculateSize(_repeated_domain_codec);
6716 if (_unknownFields !=
null) {
6717 size += _unknownFields.CalculateSize();
6722 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6723 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6725 if (other ==
null) {
6728 vars_.Add(other.vars_);
6729 coeffs_.Add(other.coeffs_);
6730 if (other.Offset != 0D) {
6733 if (other.ScalingFactor != 0D) {
6736 domain_.Add(other.domain_);
6737 if (other.ScalingWasExact !=
false) {
6740 if (other.IntegerBeforeOffset != 0L) {
6743 if (other.IntegerAfterOffset != 0L) {
6746 if (other.IntegerScalingFactor != 0L) {
6749 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
6752 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6753 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6754 public void MergeFrom(pb::CodedInputStream input) {
6755 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6756 input.ReadRawMessage(
this);
6759 while ((tag = input.ReadTag()) != 0) {
6762 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
6766 vars_.AddEntriesFrom(input, _repeated_vars_codec);
6770 Offset = input.ReadDouble();
6779 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
6784 domain_.AddEntriesFrom(input, _repeated_domain_codec);
6808 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6809 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6810 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6811 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
6813 while ((tag = input.ReadTag()) != 0) {
6816 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
6820 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
6824 Offset = input.ReadDouble();
6833 coeffs_.AddEntriesFrom(ref input, _repeated_coeffs_codec);
6838 domain_.AddEntriesFrom(ref input, _repeated_domain_codec);
6868 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
6869 public sealed partial class FloatObjectiveProto : pb::IMessage<FloatObjectiveProto>
6870 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6871 , pb::IBufferMessage
6874 private static readonly pb::MessageParser<FloatObjectiveProto> _parser =
new pb::MessageParser<FloatObjectiveProto>(() =>
new FloatObjectiveProto());
6875 private pb::UnknownFieldSet _unknownFields;
6876 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6877 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6878 public static pb::MessageParser<FloatObjectiveProto>
Parser {
get {
return _parser; } }
6880 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6881 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6882 public static pbr::MessageDescriptor
Descriptor {
6883 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[20]; }
6886 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6887 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6888 pbr::MessageDescriptor pb::IMessage.Descriptor {
6892 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6893 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6898 partial
void OnConstruction();
6900 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6901 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6903 vars_ = other.vars_.Clone();
6904 coeffs_ = other.coeffs_.Clone();
6905 offset_ = other.offset_;
6906 maximize_ = other.maximize_;
6907 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
6910 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6911 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6918 private static readonly pb::FieldCodec<int> _repeated_vars_codec
6919 = pb::FieldCodec.ForInt32(10);
6920 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
6921 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6922 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6923 public pbc::RepeatedField<int>
Vars {
6924 get {
return vars_; }
6929 private static readonly pb::FieldCodec<double> _repeated_coeffs_codec
6930 = pb::FieldCodec.ForDouble(18);
6931 private readonly pbc::RepeatedField<double> coeffs_ =
new pbc::RepeatedField<double>();
6932 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6933 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6934 public pbc::RepeatedField<double>
Coeffs {
6935 get {
return coeffs_; }
6940 private double offset_;
6941 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6942 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6944 get {
return offset_; }
6952 private bool maximize_;
6956 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6957 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6959 get {
return maximize_; }
6965 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6966 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6967 public override bool Equals(
object other) {
6971 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6972 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6974 if (ReferenceEquals(other,
null)) {
6977 if (ReferenceEquals(other,
this)) {
6980 if(!vars_.Equals(other.vars_))
return false;
6981 if(!coeffs_.Equals(other.coeffs_))
return false;
6982 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
Offset, other.Offset))
return false;
6983 if (
Maximize != other.Maximize)
return false;
6984 return Equals(_unknownFields, other._unknownFields);
6987 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6988 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6991 hash ^= vars_.GetHashCode();
6992 hash ^= coeffs_.GetHashCode();
6993 if (
Offset != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
Offset);
6995 if (_unknownFields !=
null) {
6996 hash ^= _unknownFields.GetHashCode();
7001 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7002 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7003 public override string ToString() {
7004 return pb::JsonFormatter.ToDiagnosticString(
this);
7007 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7008 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7009 public void WriteTo(pb::CodedOutputStream output) {
7010 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7011 output.WriteRawMessage(
this);
7013 vars_.WriteTo(output, _repeated_vars_codec);
7014 coeffs_.WriteTo(output, _repeated_coeffs_codec);
7016 output.WriteRawTag(25);
7017 output.WriteDouble(
Offset);
7020 output.WriteRawTag(32);
7023 if (_unknownFields !=
null) {
7024 _unknownFields.WriteTo(output);
7029 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7030 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7031 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7032 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
7033 vars_.WriteTo(ref output, _repeated_vars_codec);
7034 coeffs_.WriteTo(ref output, _repeated_coeffs_codec);
7036 output.WriteRawTag(25);
7040 output.WriteRawTag(32);
7043 if (_unknownFields !=
null) {
7044 _unknownFields.WriteTo(ref output);
7049 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7050 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7053 size += vars_.CalculateSize(_repeated_vars_codec);
7054 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
7061 if (_unknownFields !=
null) {
7062 size += _unknownFields.CalculateSize();
7067 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7068 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7070 if (other ==
null) {
7073 vars_.Add(other.vars_);
7074 coeffs_.Add(other.coeffs_);
7075 if (other.Offset != 0D) {
7078 if (other.Maximize !=
false) {
7081 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7084 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7085 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7086 public void MergeFrom(pb::CodedInputStream input) {
7087 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7088 input.ReadRawMessage(
this);
7091 while ((tag = input.ReadTag()) != 0) {
7094 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
7098 vars_.AddEntriesFrom(input, _repeated_vars_codec);
7103 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
7107 Offset = input.ReadDouble();
7119 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7120 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7121 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7122 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
7124 while ((tag = input.ReadTag()) != 0) {
7127 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
7131 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
7136 coeffs_.AddEntriesFrom(ref input, _repeated_coeffs_codec);
7140 Offset = input.ReadDouble();
7158 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
7159 public sealed partial class DecisionStrategyProto : pb::IMessage<DecisionStrategyProto>
7160 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7161 , pb::IBufferMessage
7164 private static readonly pb::MessageParser<DecisionStrategyProto> _parser =
new pb::MessageParser<DecisionStrategyProto>(() =>
new DecisionStrategyProto());
7165 private pb::UnknownFieldSet _unknownFields;
7166 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7167 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7168 public static pb::MessageParser<DecisionStrategyProto>
Parser {
get {
return _parser; } }
7170 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7171 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7172 public static pbr::MessageDescriptor
Descriptor {
7173 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[21]; }
7176 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7177 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7178 pbr::MessageDescriptor pb::IMessage.Descriptor {
7182 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7183 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7188 partial
void OnConstruction();
7190 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7191 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7193 variables_ = other.variables_.Clone();
7194 exprs_ = other.exprs_.Clone();
7195 variableSelectionStrategy_ = other.variableSelectionStrategy_;
7196 domainReductionStrategy_ = other.domainReductionStrategy_;
7197 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7200 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7201 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7208 private static readonly pb::FieldCodec<int> _repeated_variables_codec
7209 = pb::FieldCodec.ForInt32(10);
7210 private readonly pbc::RepeatedField<int> variables_ =
new pbc::RepeatedField<int>();
7216 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7217 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7219 get {
return variables_; }
7224 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
7225 = pb::FieldCodec.ForMessage(42, global::Google.OrTools.Sat.LinearExpressionProto.Parser);
7226 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
7235 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7236 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7237 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
7238 get {
return exprs_; }
7243 private global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy variableSelectionStrategy_ = global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst;
7244 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7245 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7247 get {
return variableSelectionStrategy_; }
7249 variableSelectionStrategy_ = value;
7255 private global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy domainReductionStrategy_ = global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue;
7256 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7257 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7258 public global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy
DomainReductionStrategy {
7259 get {
return domainReductionStrategy_; }
7261 domainReductionStrategy_ = value;
7265 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7266 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7267 public override bool Equals(
object other) {
7271 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7272 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7274 if (ReferenceEquals(other,
null)) {
7277 if (ReferenceEquals(other,
this)) {
7280 if(!variables_.Equals(other.variables_))
return false;
7281 if(!exprs_.Equals(other.exprs_))
return false;
7284 return Equals(_unknownFields, other._unknownFields);
7287 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7288 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7291 hash ^= variables_.GetHashCode();
7292 hash ^= exprs_.GetHashCode();
7295 if (_unknownFields !=
null) {
7296 hash ^= _unknownFields.GetHashCode();
7301 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7302 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7303 public override string ToString() {
7304 return pb::JsonFormatter.ToDiagnosticString(
this);
7307 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7308 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7309 public void WriteTo(pb::CodedOutputStream output) {
7310 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7311 output.WriteRawMessage(
this);
7313 variables_.WriteTo(output, _repeated_variables_codec);
7314 if (
VariableSelectionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst) {
7315 output.WriteRawTag(16);
7318 if (
DomainReductionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue) {
7319 output.WriteRawTag(24);
7322 exprs_.WriteTo(output, _repeated_exprs_codec);
7323 if (_unknownFields !=
null) {
7324 _unknownFields.WriteTo(output);
7329 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7330 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7331 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7332 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
7333 variables_.WriteTo(ref output, _repeated_variables_codec);
7334 if (
VariableSelectionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst) {
7335 output.WriteRawTag(16);
7339 output.WriteRawTag(24);
7342 exprs_.WriteTo(ref output, _repeated_exprs_codec);
7343 if (_unknownFields !=
null) {
7344 _unknownFields.WriteTo(ref output);
7349 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7350 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7353 size += variables_.CalculateSize(_repeated_variables_codec);
7354 size += exprs_.CalculateSize(_repeated_exprs_codec);
7355 if (
VariableSelectionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst) {
7358 if (
DomainReductionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue) {
7361 if (_unknownFields !=
null) {
7362 size += _unknownFields.CalculateSize();
7367 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7368 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7370 if (other ==
null) {
7373 variables_.Add(other.variables_);
7374 exprs_.Add(other.exprs_);
7375 if (other.VariableSelectionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst) {
7378 if (other.DomainReductionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue) {
7381 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7384 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7385 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7387 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7388 input.ReadRawMessage(
this);
7391 while ((tag = input.ReadTag()) != 0) {
7394 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
7398 variables_.AddEntriesFrom(input, _repeated_variables_codec);
7402 VariableSelectionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy) input.ReadEnum();
7406 DomainReductionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy) input.ReadEnum();
7410 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
7418 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7419 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7420 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7421 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
7423 while ((tag = input.ReadTag()) != 0) {
7426 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
7430 variables_.AddEntriesFrom(ref input, _repeated_variables_codec);
7434 VariableSelectionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy) input.ReadEnum();
7438 DomainReductionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy) input.ReadEnum();
7442 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
7450 #region Nested types
7452 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7453 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7454 public static partial class Types {
7463 [pbr::OriginalName(
"CHOOSE_FIRST")]
ChooseFirst = 0,
7494 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
7495 public sealed partial class PartialVariableAssignment : pb::IMessage<PartialVariableAssignment>
7496 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7497 , pb::IBufferMessage
7500 private static readonly pb::MessageParser<PartialVariableAssignment> _parser =
new pb::MessageParser<PartialVariableAssignment>(() =>
new PartialVariableAssignment());
7501 private pb::UnknownFieldSet _unknownFields;
7502 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7503 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7504 public static pb::MessageParser<PartialVariableAssignment>
Parser {
get {
return _parser; } }
7506 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7507 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7508 public static pbr::MessageDescriptor
Descriptor {
7509 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[22]; }
7512 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7513 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7514 pbr::MessageDescriptor pb::IMessage.Descriptor {
7518 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7519 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7524 partial
void OnConstruction();
7526 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7527 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7529 vars_ = other.vars_.Clone();
7530 values_ = other.values_.Clone();
7531 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7534 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7535 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7542 private static readonly pb::FieldCodec<int> _repeated_vars_codec
7543 = pb::FieldCodec.ForInt32(10);
7544 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
7545 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7546 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7547 public pbc::RepeatedField<int>
Vars {
7548 get {
return vars_; }
7553 private static readonly pb::FieldCodec<long> _repeated_values_codec
7554 = pb::FieldCodec.ForInt64(18);
7555 private readonly pbc::RepeatedField<long> values_ =
new pbc::RepeatedField<long>();
7556 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7557 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7558 public pbc::RepeatedField<long>
Values {
7559 get {
return values_; }
7562 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7563 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7564 public override bool Equals(
object other) {
7568 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7569 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7571 if (ReferenceEquals(other,
null)) {
7574 if (ReferenceEquals(other,
this)) {
7577 if(!vars_.Equals(other.vars_))
return false;
7578 if(!values_.Equals(other.values_))
return false;
7579 return Equals(_unknownFields, other._unknownFields);
7582 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7583 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7586 hash ^= vars_.GetHashCode();
7587 hash ^= values_.GetHashCode();
7588 if (_unknownFields !=
null) {
7589 hash ^= _unknownFields.GetHashCode();
7594 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7595 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7596 public override string ToString() {
7597 return pb::JsonFormatter.ToDiagnosticString(
this);
7600 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7601 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7602 public void WriteTo(pb::CodedOutputStream output) {
7603 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7604 output.WriteRawMessage(
this);
7606 vars_.WriteTo(output, _repeated_vars_codec);
7607 values_.WriteTo(output, _repeated_values_codec);
7608 if (_unknownFields !=
null) {
7609 _unknownFields.WriteTo(output);
7614 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7615 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7616 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7617 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
7618 vars_.WriteTo(ref output, _repeated_vars_codec);
7619 values_.WriteTo(ref output, _repeated_values_codec);
7620 if (_unknownFields !=
null) {
7621 _unknownFields.WriteTo(ref output);
7626 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7627 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7630 size += vars_.CalculateSize(_repeated_vars_codec);
7631 size += values_.CalculateSize(_repeated_values_codec);
7632 if (_unknownFields !=
null) {
7633 size += _unknownFields.CalculateSize();
7638 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7639 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7641 if (other ==
null) {
7644 vars_.Add(other.vars_);
7645 values_.Add(other.values_);
7646 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7649 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7650 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7651 public void MergeFrom(pb::CodedInputStream input) {
7652 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7653 input.ReadRawMessage(
this);
7656 while ((tag = input.ReadTag()) != 0) {
7659 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
7663 vars_.AddEntriesFrom(input, _repeated_vars_codec);
7668 values_.AddEntriesFrom(input, _repeated_values_codec);
7676 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7677 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7678 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7679 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
7681 while ((tag = input.ReadTag()) != 0) {
7684 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
7688 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
7693 values_.AddEntriesFrom(ref input, _repeated_values_codec);
7707 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
7708 public sealed partial class SparsePermutationProto : pb::IMessage<SparsePermutationProto>
7709 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7710 , pb::IBufferMessage
7713 private static readonly pb::MessageParser<SparsePermutationProto> _parser =
new pb::MessageParser<SparsePermutationProto>(() =>
new SparsePermutationProto());
7714 private pb::UnknownFieldSet _unknownFields;
7715 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7716 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7717 public static pb::MessageParser<SparsePermutationProto>
Parser {
get {
return _parser; } }
7719 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7720 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7721 public static pbr::MessageDescriptor
Descriptor {
7722 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[23]; }
7725 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7726 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7727 pbr::MessageDescriptor pb::IMessage.Descriptor {
7731 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7732 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7737 partial
void OnConstruction();
7739 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7740 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7742 support_ = other.support_.Clone();
7743 cycleSizes_ = other.cycleSizes_.Clone();
7744 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7747 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7748 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7755 private static readonly pb::FieldCodec<int> _repeated_support_codec
7756 = pb::FieldCodec.ForInt32(10);
7757 private readonly pbc::RepeatedField<int> support_ =
new pbc::RepeatedField<int>();
7762 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7763 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7764 public pbc::RepeatedField<int>
Support {
7765 get {
return support_; }
7770 private static readonly pb::FieldCodec<int> _repeated_cycleSizes_codec
7771 = pb::FieldCodec.ForInt32(18);
7772 private readonly pbc::RepeatedField<int> cycleSizes_ =
new pbc::RepeatedField<int>();
7773 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7774 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7776 get {
return cycleSizes_; }
7779 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7780 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7781 public override bool Equals(
object other) {
7785 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7786 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7788 if (ReferenceEquals(other,
null)) {
7791 if (ReferenceEquals(other,
this)) {
7794 if(!support_.Equals(other.support_))
return false;
7795 if(!cycleSizes_.Equals(other.cycleSizes_))
return false;
7796 return Equals(_unknownFields, other._unknownFields);
7799 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7800 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7803 hash ^= support_.GetHashCode();
7804 hash ^= cycleSizes_.GetHashCode();
7805 if (_unknownFields !=
null) {
7806 hash ^= _unknownFields.GetHashCode();
7811 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7812 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7813 public override string ToString() {
7814 return pb::JsonFormatter.ToDiagnosticString(
this);
7817 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7818 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7819 public void WriteTo(pb::CodedOutputStream output) {
7820 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7821 output.WriteRawMessage(
this);
7823 support_.WriteTo(output, _repeated_support_codec);
7824 cycleSizes_.WriteTo(output, _repeated_cycleSizes_codec);
7825 if (_unknownFields !=
null) {
7826 _unknownFields.WriteTo(output);
7831 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7832 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7833 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7834 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
7835 support_.WriteTo(ref output, _repeated_support_codec);
7836 cycleSizes_.WriteTo(ref output, _repeated_cycleSizes_codec);
7837 if (_unknownFields !=
null) {
7838 _unknownFields.WriteTo(ref output);
7843 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7844 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7847 size += support_.CalculateSize(_repeated_support_codec);
7848 size += cycleSizes_.CalculateSize(_repeated_cycleSizes_codec);
7849 if (_unknownFields !=
null) {
7850 size += _unknownFields.CalculateSize();
7855 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7856 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7858 if (other ==
null) {
7861 support_.Add(other.support_);
7862 cycleSizes_.Add(other.cycleSizes_);
7863 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7866 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7867 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7868 public void MergeFrom(pb::CodedInputStream input) {
7869 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7870 input.ReadRawMessage(
this);
7873 while ((tag = input.ReadTag()) != 0) {
7876 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
7880 support_.AddEntriesFrom(input, _repeated_support_codec);
7885 cycleSizes_.AddEntriesFrom(input, _repeated_cycleSizes_codec);
7893 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7894 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7895 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7896 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
7898 while ((tag = input.ReadTag()) != 0) {
7901 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
7905 support_.AddEntriesFrom(ref input, _repeated_support_codec);
7910 cycleSizes_.AddEntriesFrom(ref input, _repeated_cycleSizes_codec);
7924 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
7925 public sealed partial class DenseMatrixProto : pb::IMessage<DenseMatrixProto>
7926 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7927 , pb::IBufferMessage
7930 private static readonly pb::MessageParser<DenseMatrixProto> _parser =
new pb::MessageParser<DenseMatrixProto>(() =>
new DenseMatrixProto());
7931 private pb::UnknownFieldSet _unknownFields;
7932 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7933 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7934 public static pb::MessageParser<DenseMatrixProto>
Parser {
get {
return _parser; } }
7936 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7937 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7938 public static pbr::MessageDescriptor
Descriptor {
7939 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[24]; }
7942 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7943 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7944 pbr::MessageDescriptor pb::IMessage.Descriptor {
7948 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7949 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7954 partial
void OnConstruction();
7956 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7957 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7959 numRows_ = other.numRows_;
7960 numCols_ = other.numCols_;
7961 entries_ = other.entries_.Clone();
7962 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7965 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7966 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7973 private int numRows_;
7974 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7975 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7977 get {
return numRows_; }
7985 private int numCols_;
7986 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7987 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7989 get {
return numCols_; }
7997 private static readonly pb::FieldCodec<int> _repeated_entries_codec
7998 = pb::FieldCodec.ForInt32(26);
7999 private readonly pbc::RepeatedField<int> entries_ =
new pbc::RepeatedField<int>();
8000 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8001 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8002 public pbc::RepeatedField<int>
Entries {
8003 get {
return entries_; }
8006 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8007 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8008 public override bool Equals(
object other) {
8012 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8013 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8015 if (ReferenceEquals(other,
null)) {
8018 if (ReferenceEquals(other,
this)) {
8022 if (
NumCols != other.NumCols)
return false;
8023 if(!entries_.Equals(other.entries_))
return false;
8024 return Equals(_unknownFields, other._unknownFields);
8027 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8028 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8033 hash ^= entries_.GetHashCode();
8034 if (_unknownFields !=
null) {
8035 hash ^= _unknownFields.GetHashCode();
8040 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8041 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8042 public override string ToString() {
8043 return pb::JsonFormatter.ToDiagnosticString(
this);
8046 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8047 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8048 public void WriteTo(pb::CodedOutputStream output) {
8049 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8050 output.WriteRawMessage(
this);
8053 output.WriteRawTag(8);
8057 output.WriteRawTag(16);
8060 entries_.WriteTo(output, _repeated_entries_codec);
8061 if (_unknownFields !=
null) {
8062 _unknownFields.WriteTo(output);
8067 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8068 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8069 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8070 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8072 output.WriteRawTag(8);
8076 output.WriteRawTag(16);
8079 entries_.WriteTo(ref output, _repeated_entries_codec);
8080 if (_unknownFields !=
null) {
8081 _unknownFields.WriteTo(ref output);
8086 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8087 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8091 size += 1 + pb::CodedOutputStream.ComputeInt32Size(
NumRows);
8094 size += 1 + pb::CodedOutputStream.ComputeInt32Size(
NumCols);
8096 size += entries_.CalculateSize(_repeated_entries_codec);
8097 if (_unknownFields !=
null) {
8098 size += _unknownFields.CalculateSize();
8103 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8104 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8106 if (other ==
null) {
8109 if (other.NumRows != 0) {
8112 if (other.NumCols != 0) {
8115 entries_.Add(other.entries_);
8116 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8120 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8121 public void MergeFrom(pb::CodedInputStream input) {
8122 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8123 input.ReadRawMessage(
this);
8126 while ((tag = input.ReadTag()) != 0) {
8129 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
8141 entries_.AddEntriesFrom(input, _repeated_entries_codec);
8149 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8150 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8151 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8152 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
8154 while ((tag = input.ReadTag()) != 0) {
8157 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
8169 entries_.AddEntriesFrom(ref input, _repeated_entries_codec);
8193 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
8194 public sealed partial class SymmetryProto : pb::IMessage<SymmetryProto>
8195 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8196 , pb::IBufferMessage
8199 private static readonly pb::MessageParser<SymmetryProto> _parser =
new pb::MessageParser<SymmetryProto>(() =>
new SymmetryProto());
8200 private pb::UnknownFieldSet _unknownFields;
8201 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8202 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8203 public static pb::MessageParser<SymmetryProto>
Parser {
get {
return _parser; } }
8205 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8206 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8207 public static pbr::MessageDescriptor
Descriptor {
8208 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[25]; }
8211 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8212 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8213 pbr::MessageDescriptor pb::IMessage.Descriptor {
8217 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8218 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8223 partial
void OnConstruction();
8225 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8226 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8228 permutations_ = other.permutations_.Clone();
8229 orbitopes_ = other.orbitopes_.Clone();
8230 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
8233 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8234 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8241 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.SparsePermutationProto> _repeated_permutations_codec
8242 = pb::FieldCodec.ForMessage(10, global::Google.OrTools.Sat.SparsePermutationProto.Parser);
8243 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.SparsePermutationProto> permutations_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.SparsePermutationProto>();
8249 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8250 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8251 public pbc::RepeatedField<global::Google.OrTools.Sat.SparsePermutationProto>
Permutations {
8252 get {
return permutations_; }
8257 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.DenseMatrixProto> _repeated_orbitopes_codec
8258 = pb::FieldCodec.ForMessage(18, global::Google.OrTools.Sat.DenseMatrixProto.Parser);
8259 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.DenseMatrixProto> orbitopes_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.DenseMatrixProto>();
8271 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8272 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8273 public pbc::RepeatedField<global::Google.OrTools.Sat.DenseMatrixProto>
Orbitopes {
8274 get {
return orbitopes_; }
8277 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8278 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8279 public override bool Equals(
object other) {
8283 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8284 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8286 if (ReferenceEquals(other,
null)) {
8289 if (ReferenceEquals(other,
this)) {
8292 if(!permutations_.Equals(other.permutations_))
return false;
8293 if(!orbitopes_.Equals(other.orbitopes_))
return false;
8294 return Equals(_unknownFields, other._unknownFields);
8297 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8298 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8301 hash ^= permutations_.GetHashCode();
8302 hash ^= orbitopes_.GetHashCode();
8303 if (_unknownFields !=
null) {
8304 hash ^= _unknownFields.GetHashCode();
8309 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8310 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8311 public override string ToString() {
8312 return pb::JsonFormatter.ToDiagnosticString(
this);
8315 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8316 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8317 public void WriteTo(pb::CodedOutputStream output) {
8318 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8319 output.WriteRawMessage(
this);
8321 permutations_.WriteTo(output, _repeated_permutations_codec);
8322 orbitopes_.WriteTo(output, _repeated_orbitopes_codec);
8323 if (_unknownFields !=
null) {
8324 _unknownFields.WriteTo(output);
8329 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8330 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8331 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8332 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8333 permutations_.WriteTo(ref output, _repeated_permutations_codec);
8334 orbitopes_.WriteTo(ref output, _repeated_orbitopes_codec);
8335 if (_unknownFields !=
null) {
8336 _unknownFields.WriteTo(ref output);
8341 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8342 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8345 size += permutations_.CalculateSize(_repeated_permutations_codec);
8346 size += orbitopes_.CalculateSize(_repeated_orbitopes_codec);
8347 if (_unknownFields !=
null) {
8348 size += _unknownFields.CalculateSize();
8353 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8354 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8356 if (other ==
null) {
8359 permutations_.Add(other.permutations_);
8360 orbitopes_.Add(other.orbitopes_);
8361 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8364 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8365 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8366 public void MergeFrom(pb::CodedInputStream input) {
8367 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8368 input.ReadRawMessage(
this);
8371 while ((tag = input.ReadTag()) != 0) {
8374 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
8377 permutations_.AddEntriesFrom(input, _repeated_permutations_codec);
8381 orbitopes_.AddEntriesFrom(input, _repeated_orbitopes_codec);
8389 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8390 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8391 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8392 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
8394 while ((tag = input.ReadTag()) != 0) {
8397 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
8400 permutations_.AddEntriesFrom(ref input, _repeated_permutations_codec);
8404 orbitopes_.AddEntriesFrom(ref input, _repeated_orbitopes_codec);
8417 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
8418 public sealed partial class CpModelProto : pb::IMessage<CpModelProto>
8419 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8420 , pb::IBufferMessage
8423 private static readonly pb::MessageParser<CpModelProto> _parser =
new pb::MessageParser<CpModelProto>(() =>
new CpModelProto());
8424 private pb::UnknownFieldSet _unknownFields;
8425 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8426 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8427 public static pb::MessageParser<CpModelProto>
Parser {
get {
return _parser; } }
8429 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8430 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8431 public static pbr::MessageDescriptor
Descriptor {
8432 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[26]; }
8435 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8436 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8437 pbr::MessageDescriptor pb::IMessage.Descriptor {
8441 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8442 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8447 partial
void OnConstruction();
8449 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8450 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8452 name_ = other.name_;
8453 variables_ = other.variables_.Clone();
8454 constraints_ = other.constraints_.Clone();
8455 objective_ = other.objective_ !=
null ? other.objective_.Clone() :
null;
8456 floatingPointObjective_ = other.floatingPointObjective_ !=
null ? other.floatingPointObjective_.Clone() :
null;
8457 searchStrategy_ = other.searchStrategy_.Clone();
8458 solutionHint_ = other.solutionHint_ !=
null ? other.solutionHint_.Clone() :
null;
8459 assumptions_ = other.assumptions_.Clone();
8460 symmetry_ = other.symmetry_ !=
null ? other.symmetry_.Clone() :
null;
8461 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
8464 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8465 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8472 private string name_ =
"";
8476 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8477 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8478 public string Name {
8479 get {
return name_; }
8481 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
8487 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.IntegerVariableProto> _repeated_variables_codec
8488 = pb::FieldCodec.ForMessage(18, global::Google.OrTools.Sat.IntegerVariableProto.Parser);
8489 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto> variables_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>();
8493 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8494 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8495 public pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>
Variables {
8496 get {
return variables_; }
8501 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.ConstraintProto> _repeated_constraints_codec
8502 = pb::FieldCodec.ForMessage(26, global::Google.OrTools.Sat.ConstraintProto.Parser);
8503 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.ConstraintProto> constraints_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.ConstraintProto>();
8504 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8505 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8506 public pbc::RepeatedField<global::Google.OrTools.Sat.ConstraintProto>
Constraints {
8507 get {
return constraints_; }
8512 private global::Google.OrTools.Sat.CpObjectiveProto objective_;
8516 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8517 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8518 public global::Google.OrTools.Sat.CpObjectiveProto
Objective {
8519 get {
return objective_; }
8527 private global::Google.OrTools.Sat.FloatObjectiveProto floatingPointObjective_;
8543 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8544 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8546 get {
return floatingPointObjective_; }
8548 floatingPointObjective_ = value;
8554 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.DecisionStrategyProto> _repeated_searchStrategy_codec
8555 = pb::FieldCodec.ForMessage(42, global::Google.OrTools.Sat.DecisionStrategyProto.Parser);
8556 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto> searchStrategy_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto>();
8568 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8569 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8570 public pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto>
SearchStrategy {
8571 get {
return searchStrategy_; }
8576 private global::Google.OrTools.Sat.PartialVariableAssignment solutionHint_;
8590 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8591 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8592 public global::Google.OrTools.Sat.PartialVariableAssignment
SolutionHint {
8593 get {
return solutionHint_; }
8595 solutionHint_ = value;
8601 private static readonly pb::FieldCodec<int> _repeated_assumptions_codec
8602 = pb::FieldCodec.ForInt32(58);
8603 private readonly pbc::RepeatedField<int> assumptions_ =
new pbc::RepeatedField<int>();
8619 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8620 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8622 get {
return assumptions_; }
8627 private global::Google.OrTools.Sat.SymmetryProto symmetry_;
8635 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8636 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8637 public global::Google.OrTools.Sat.SymmetryProto
Symmetry {
8638 get {
return symmetry_; }
8644 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8645 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8650 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8651 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8653 if (ReferenceEquals(other,
null)) {
8656 if (ReferenceEquals(other,
this)) {
8659 if (
Name != other.Name)
return false;
8660 if(!variables_.Equals(other.variables_))
return false;
8661 if(!constraints_.Equals(other.constraints_))
return false;
8664 if(!searchStrategy_.Equals(other.searchStrategy_))
return false;
8666 if(!assumptions_.Equals(other.assumptions_))
return false;
8668 return Equals(_unknownFields, other._unknownFields);
8671 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8672 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8675 if (
Name.Length != 0) hash ^=
Name.GetHashCode();
8676 hash ^= variables_.GetHashCode();
8677 hash ^= constraints_.GetHashCode();
8678 if (objective_ !=
null) hash ^=
Objective.GetHashCode();
8680 hash ^= searchStrategy_.GetHashCode();
8681 if (solutionHint_ !=
null) hash ^=
SolutionHint.GetHashCode();
8682 hash ^= assumptions_.GetHashCode();
8683 if (symmetry_ !=
null) hash ^=
Symmetry.GetHashCode();
8684 if (_unknownFields !=
null) {
8685 hash ^= _unknownFields.GetHashCode();
8690 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8691 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8692 public override string ToString() {
8693 return pb::JsonFormatter.ToDiagnosticString(
this);
8696 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8697 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8698 public void WriteTo(pb::CodedOutputStream output) {
8699 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8700 output.WriteRawMessage(
this);
8702 if (
Name.Length != 0) {
8703 output.WriteRawTag(10);
8704 output.WriteString(
Name);
8706 variables_.WriteTo(output, _repeated_variables_codec);
8707 constraints_.WriteTo(output, _repeated_constraints_codec);
8708 if (objective_ !=
null) {
8709 output.WriteRawTag(34);
8712 searchStrategy_.WriteTo(output, _repeated_searchStrategy_codec);
8713 if (solutionHint_ !=
null) {
8714 output.WriteRawTag(50);
8717 assumptions_.WriteTo(output, _repeated_assumptions_codec);
8718 if (symmetry_ !=
null) {
8719 output.WriteRawTag(66);
8722 if (floatingPointObjective_ !=
null) {
8723 output.WriteRawTag(74);
8726 if (_unknownFields !=
null) {
8727 _unknownFields.WriteTo(output);
8732 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8733 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8734 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8735 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8736 if (
Name.Length != 0) {
8737 output.WriteRawTag(10);
8738 output.WriteString(
Name);
8740 variables_.WriteTo(ref output, _repeated_variables_codec);
8741 constraints_.WriteTo(ref output, _repeated_constraints_codec);
8742 if (objective_ !=
null) {
8743 output.WriteRawTag(34);
8746 searchStrategy_.WriteTo(ref output, _repeated_searchStrategy_codec);
8747 if (solutionHint_ !=
null) {
8748 output.WriteRawTag(50);
8751 assumptions_.WriteTo(ref output, _repeated_assumptions_codec);
8752 if (symmetry_ !=
null) {
8753 output.WriteRawTag(66);
8756 if (floatingPointObjective_ !=
null) {
8757 output.WriteRawTag(74);
8760 if (_unknownFields !=
null) {
8761 _unknownFields.WriteTo(ref output);
8766 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8767 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8770 if (
Name.Length != 0) {
8771 size += 1 + pb::CodedOutputStream.ComputeStringSize(
Name);
8773 size += variables_.CalculateSize(_repeated_variables_codec);
8774 size += constraints_.CalculateSize(_repeated_constraints_codec);
8775 if (objective_ !=
null) {
8776 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
Objective);
8778 if (floatingPointObjective_ !=
null) {
8781 size += searchStrategy_.CalculateSize(_repeated_searchStrategy_codec);
8782 if (solutionHint_ !=
null) {
8783 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
SolutionHint);
8785 size += assumptions_.CalculateSize(_repeated_assumptions_codec);
8786 if (symmetry_ !=
null) {
8787 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
Symmetry);
8789 if (_unknownFields !=
null) {
8790 size += _unknownFields.CalculateSize();
8795 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8796 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8798 if (other ==
null) {
8801 if (other.Name.Length != 0) {
8804 variables_.Add(other.variables_);
8805 constraints_.Add(other.constraints_);
8806 if (other.objective_ !=
null) {
8807 if (objective_ ==
null) {
8808 Objective =
new global::Google.OrTools.Sat.CpObjectiveProto();
8812 if (other.floatingPointObjective_ !=
null) {
8813 if (floatingPointObjective_ ==
null) {
8818 searchStrategy_.Add(other.searchStrategy_);
8819 if (other.solutionHint_ !=
null) {
8820 if (solutionHint_ ==
null) {
8821 SolutionHint =
new global::Google.OrTools.Sat.PartialVariableAssignment();
8825 assumptions_.Add(other.assumptions_);
8826 if (other.symmetry_ !=
null) {
8827 if (symmetry_ ==
null) {
8828 Symmetry =
new global::Google.OrTools.Sat.SymmetryProto();
8830 Symmetry.MergeFrom(other.Symmetry);
8832 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8835 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8836 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8837 public void MergeFrom(pb::CodedInputStream input) {
8838 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8839 input.ReadRawMessage(
this);
8842 while ((tag = input.ReadTag()) != 0) {
8845 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
8848 Name = input.ReadString();
8852 variables_.AddEntriesFrom(input, _repeated_variables_codec);
8856 constraints_.AddEntriesFrom(input, _repeated_constraints_codec);
8860 if (objective_ ==
null) {
8861 Objective =
new global::Google.OrTools.Sat.CpObjectiveProto();
8867 searchStrategy_.AddEntriesFrom(input, _repeated_searchStrategy_codec);
8871 if (solutionHint_ ==
null) {
8872 SolutionHint =
new global::Google.OrTools.Sat.PartialVariableAssignment();
8879 assumptions_.AddEntriesFrom(input, _repeated_assumptions_codec);
8883 if (symmetry_ ==
null) {
8884 Symmetry =
new global::Google.OrTools.Sat.SymmetryProto();
8890 if (floatingPointObjective_ ==
null) {
8901 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8902 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8903 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8904 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
8906 while ((tag = input.ReadTag()) != 0) {
8909 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
8912 Name = input.ReadString();
8916 variables_.AddEntriesFrom(ref input, _repeated_variables_codec);
8920 constraints_.AddEntriesFrom(ref input, _repeated_constraints_codec);
8924 if (objective_ ==
null) {
8925 Objective =
new global::Google.OrTools.Sat.CpObjectiveProto();
8931 searchStrategy_.AddEntriesFrom(ref input, _repeated_searchStrategy_codec);
8935 if (solutionHint_ ==
null) {
8936 SolutionHint =
new global::Google.OrTools.Sat.PartialVariableAssignment();
8943 assumptions_.AddEntriesFrom(ref input, _repeated_assumptions_codec);
8947 if (symmetry_ ==
null) {
8948 Symmetry =
new global::Google.OrTools.Sat.SymmetryProto();
8954 if (floatingPointObjective_ ==
null) {
8971 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
8972 public sealed partial class CpSolverSolution : pb::IMessage<CpSolverSolution>
8973 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8974 , pb::IBufferMessage
8977 private static readonly pb::MessageParser<CpSolverSolution> _parser =
new pb::MessageParser<CpSolverSolution>(() =>
new CpSolverSolution());
8978 private pb::UnknownFieldSet _unknownFields;
8979 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8980 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8981 public static pb::MessageParser<CpSolverSolution>
Parser {
get {
return _parser; } }
8983 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8984 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8985 public static pbr::MessageDescriptor
Descriptor {
8986 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[27]; }
8989 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8990 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8991 pbr::MessageDescriptor pb::IMessage.Descriptor {
8995 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8996 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9001 partial
void OnConstruction();
9003 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9004 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9006 values_ = other.values_.Clone();
9007 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
9010 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9011 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9018 private static readonly pb::FieldCodec<long> _repeated_values_codec
9019 = pb::FieldCodec.ForInt64(10);
9020 private readonly pbc::RepeatedField<long> values_ =
new pbc::RepeatedField<long>();
9021 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9022 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9023 public pbc::RepeatedField<long>
Values {
9024 get {
return values_; }
9027 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9028 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9029 public override bool Equals(
object other) {
9033 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9034 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9036 if (ReferenceEquals(other,
null)) {
9039 if (ReferenceEquals(other,
this)) {
9042 if(!values_.Equals(other.values_))
return false;
9043 return Equals(_unknownFields, other._unknownFields);
9046 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9047 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9050 hash ^= values_.GetHashCode();
9051 if (_unknownFields !=
null) {
9052 hash ^= _unknownFields.GetHashCode();
9057 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9058 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9059 public override string ToString() {
9060 return pb::JsonFormatter.ToDiagnosticString(
this);
9063 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9064 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9065 public void WriteTo(pb::CodedOutputStream output) {
9066 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9067 output.WriteRawMessage(
this);
9069 values_.WriteTo(output, _repeated_values_codec);
9070 if (_unknownFields !=
null) {
9071 _unknownFields.WriteTo(output);
9076 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9077 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9078 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9079 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
9080 values_.WriteTo(ref output, _repeated_values_codec);
9081 if (_unknownFields !=
null) {
9082 _unknownFields.WriteTo(ref output);
9087 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9088 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9091 size += values_.CalculateSize(_repeated_values_codec);
9092 if (_unknownFields !=
null) {
9093 size += _unknownFields.CalculateSize();
9098 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9099 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9101 if (other ==
null) {
9104 values_.Add(other.values_);
9105 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
9108 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9109 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9110 public void MergeFrom(pb::CodedInputStream input) {
9111 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9112 input.ReadRawMessage(
this);
9115 while ((tag = input.ReadTag()) != 0) {
9118 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
9122 values_.AddEntriesFrom(input, _repeated_values_codec);
9130 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9131 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9132 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9133 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
9135 while ((tag = input.ReadTag()) != 0) {
9138 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
9142 values_.AddEntriesFrom(ref input, _repeated_values_codec);
9157 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
9158 public sealed partial class CpSolverResponse : pb::IMessage<CpSolverResponse>
9159 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9160 , pb::IBufferMessage
9163 private static readonly pb::MessageParser<CpSolverResponse> _parser =
new pb::MessageParser<CpSolverResponse>(() =>
new CpSolverResponse());
9164 private pb::UnknownFieldSet _unknownFields;
9165 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9166 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9167 public static pb::MessageParser<CpSolverResponse>
Parser {
get {
return _parser; } }
9169 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9170 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9171 public static pbr::MessageDescriptor
Descriptor {
9172 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[28]; }
9175 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9176 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9177 pbr::MessageDescriptor pb::IMessage.Descriptor {
9181 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9182 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9187 partial
void OnConstruction();
9189 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9190 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9192 status_ = other.status_;
9193 solution_ = other.solution_.Clone();
9194 objectiveValue_ = other.objectiveValue_;
9195 bestObjectiveBound_ = other.bestObjectiveBound_;
9196 additionalSolutions_ = other.additionalSolutions_.Clone();
9197 tightenedVariables_ = other.tightenedVariables_.Clone();
9198 sufficientAssumptionsForInfeasibility_ = other.sufficientAssumptionsForInfeasibility_.Clone();
9199 integerObjective_ = other.integerObjective_ !=
null ? other.integerObjective_.Clone() :
null;
9200 innerObjectiveLowerBound_ = other.innerObjectiveLowerBound_;
9201 numIntegers_ = other.numIntegers_;
9202 numBooleans_ = other.numBooleans_;
9203 numConflicts_ = other.numConflicts_;
9204 numBranches_ = other.numBranches_;
9205 numBinaryPropagations_ = other.numBinaryPropagations_;
9206 numIntegerPropagations_ = other.numIntegerPropagations_;
9207 numRestarts_ = other.numRestarts_;
9208 numLpIterations_ = other.numLpIterations_;
9209 wallTime_ = other.wallTime_;
9210 userTime_ = other.userTime_;
9211 deterministicTime_ = other.deterministicTime_;
9212 gapIntegral_ = other.gapIntegral_;
9213 solutionInfo_ = other.solutionInfo_;
9214 solveLog_ = other.solveLog_;
9215 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
9218 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9219 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9226 private global::Google.OrTools.Sat.CpSolverStatus status_ = global::Google.OrTools.Sat.CpSolverStatus.Unknown;
9230 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9231 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9232 public global::Google.OrTools.Sat.CpSolverStatus
Status {
9233 get {
return status_; }
9241 private static readonly pb::FieldCodec<long> _repeated_solution_codec
9242 = pb::FieldCodec.ForInt64(18);
9243 private readonly pbc::RepeatedField<long> solution_ =
new pbc::RepeatedField<long>();
9250 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9251 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9252 public pbc::RepeatedField<long>
Solution {
9253 get {
return solution_; }
9258 private double objectiveValue_;
9265 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9266 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9268 get {
return objectiveValue_; }
9270 objectiveValue_ = value;
9276 private double bestObjectiveBound_;
9282 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9283 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9285 get {
return bestObjectiveBound_; }
9287 bestObjectiveBound_ = value;
9293 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.CpSolverSolution> _repeated_additionalSolutions_codec
9294 = pb::FieldCodec.ForMessage(218, global::Google.OrTools.Sat.CpSolverSolution.Parser);
9295 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.CpSolverSolution> additionalSolutions_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.CpSolverSolution>();
9304 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9305 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9306 public pbc::RepeatedField<global::Google.OrTools.Sat.CpSolverSolution>
AdditionalSolutions {
9307 get {
return additionalSolutions_; }
9312 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.IntegerVariableProto> _repeated_tightenedVariables_codec
9313 = pb::FieldCodec.ForMessage(170, global::Google.OrTools.Sat.IntegerVariableProto.Parser);
9314 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto> tightenedVariables_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>();
9329 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9330 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9331 public pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>
TightenedVariables {
9332 get {
return tightenedVariables_; }
9337 private static readonly pb::FieldCodec<int> _repeated_sufficientAssumptionsForInfeasibility_codec
9338 = pb::FieldCodec.ForInt32(186);
9339 private readonly pbc::RepeatedField<int> sufficientAssumptionsForInfeasibility_ =
new pbc::RepeatedField<int>();
9361 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9362 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9364 get {
return sufficientAssumptionsForInfeasibility_; }
9369 private global::Google.OrTools.Sat.CpObjectiveProto integerObjective_;
9375 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9376 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9378 get {
return integerObjective_; }
9380 integerObjective_ = value;
9386 private long innerObjectiveLowerBound_;
9395 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9396 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9398 get {
return innerObjectiveLowerBound_; }
9400 innerObjectiveLowerBound_ = value;
9406 private long numIntegers_;
9414 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9415 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9417 get {
return numIntegers_; }
9419 numIntegers_ = value;
9425 private long numBooleans_;
9426 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9427 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9429 get {
return numBooleans_; }
9431 numBooleans_ = value;
9437 private long numConflicts_;
9438 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9439 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9441 get {
return numConflicts_; }
9443 numConflicts_ = value;
9449 private long numBranches_;
9450 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9451 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9453 get {
return numBranches_; }
9455 numBranches_ = value;
9461 private long numBinaryPropagations_;
9462 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9463 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9465 get {
return numBinaryPropagations_; }
9467 numBinaryPropagations_ = value;
9473 private long numIntegerPropagations_;
9474 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9475 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9477 get {
return numIntegerPropagations_; }
9479 numIntegerPropagations_ = value;
9485 private long numRestarts_;
9486 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9487 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9489 get {
return numRestarts_; }
9491 numRestarts_ = value;
9497 private long numLpIterations_;
9498 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9499 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9501 get {
return numLpIterations_; }
9503 numLpIterations_ = value;
9509 private double wallTime_;
9513 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9514 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9516 get {
return wallTime_; }
9524 private double userTime_;
9525 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9526 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9528 get {
return userTime_; }
9536 private double deterministicTime_;
9537 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9538 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9540 get {
return deterministicTime_; }
9542 deterministicTime_ = value;
9548 private double gapIntegral_;
9552 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9553 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9555 get {
return gapIntegral_; }
9557 gapIntegral_ = value;
9563 private string solutionInfo_ =
"";
9568 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9569 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9571 get {
return solutionInfo_; }
9573 solutionInfo_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
9579 private string solveLog_ =
"";
9584 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9585 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9587 get {
return solveLog_; }
9589 solveLog_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
9593 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9594 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9595 public override bool Equals(
object other) {
9599 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9600 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9602 if (ReferenceEquals(other,
null)) {
9605 if (ReferenceEquals(other,
this)) {
9609 if(!solution_.Equals(other.solution_))
return false;
9612 if(!additionalSolutions_.Equals(other.additionalSolutions_))
return false;
9613 if(!tightenedVariables_.Equals(other.tightenedVariables_))
return false;
9614 if(!sufficientAssumptionsForInfeasibility_.Equals(other.sufficientAssumptionsForInfeasibility_))
return false;
9625 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
WallTime, other.
WallTime))
return false;
9626 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
UserTime, other.
UserTime))
return false;
9628 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
GapIntegral, other.
GapIntegral))
return false;
9631 return Equals(_unknownFields, other._unknownFields);
9634 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9635 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9638 if (
Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) hash ^=
Status.GetHashCode();
9639 hash ^= solution_.GetHashCode();
9642 hash ^= additionalSolutions_.GetHashCode();
9643 hash ^= tightenedVariables_.GetHashCode();
9644 hash ^= sufficientAssumptionsForInfeasibility_.GetHashCode();
9655 if (
WallTime != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
WallTime);
9656 if (
UserTime != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
UserTime);
9658 if (
GapIntegral != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
GapIntegral);
9661 if (_unknownFields !=
null) {
9662 hash ^= _unknownFields.GetHashCode();
9667 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9668 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9669 public override string ToString() {
9670 return pb::JsonFormatter.ToDiagnosticString(
this);
9673 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9674 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9675 public void WriteTo(pb::CodedOutputStream output) {
9676 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9677 output.WriteRawMessage(
this);
9679 if (
Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
9680 output.WriteRawTag(8);
9681 output.WriteEnum((
int)
Status);
9683 solution_.WriteTo(output, _repeated_solution_codec);
9685 output.WriteRawTag(25);
9689 output.WriteRawTag(33);
9693 output.WriteRawTag(80);
9697 output.WriteRawTag(88);
9701 output.WriteRawTag(96);
9705 output.WriteRawTag(104);
9709 output.WriteRawTag(112);
9713 output.WriteRawTag(121);
9717 output.WriteRawTag(129, 1);
9721 output.WriteRawTag(137, 1);
9725 output.WriteRawTag(162, 1);
9728 tightenedVariables_.WriteTo(output, _repeated_tightenedVariables_codec);
9730 output.WriteRawTag(177, 1);
9733 sufficientAssumptionsForInfeasibility_.WriteTo(output, _repeated_sufficientAssumptionsForInfeasibility_codec);
9735 output.WriteRawTag(192, 1);
9739 output.WriteRawTag(200, 1);
9743 output.WriteRawTag(210, 1);
9746 additionalSolutions_.WriteTo(output, _repeated_additionalSolutions_codec);
9747 if (integerObjective_ !=
null) {
9748 output.WriteRawTag(226, 1);
9752 output.WriteRawTag(232, 1);
9756 output.WriteRawTag(240, 1);
9759 if (_unknownFields !=
null) {
9760 _unknownFields.WriteTo(output);
9765 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9766 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9767 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9768 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
9769 if (
Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
9770 output.WriteRawTag(8);
9771 output.WriteEnum((
int)
Status);
9773 solution_.WriteTo(ref output, _repeated_solution_codec);
9775 output.WriteRawTag(25);
9779 output.WriteRawTag(33);
9783 output.WriteRawTag(80);
9787 output.WriteRawTag(88);
9791 output.WriteRawTag(96);
9795 output.WriteRawTag(104);
9799 output.WriteRawTag(112);
9803 output.WriteRawTag(121);
9807 output.WriteRawTag(129, 1);
9811 output.WriteRawTag(137, 1);
9815 output.WriteRawTag(162, 1);
9818 tightenedVariables_.WriteTo(ref output, _repeated_tightenedVariables_codec);
9820 output.WriteRawTag(177, 1);
9823 sufficientAssumptionsForInfeasibility_.WriteTo(ref output, _repeated_sufficientAssumptionsForInfeasibility_codec);
9825 output.WriteRawTag(192, 1);
9829 output.WriteRawTag(200, 1);
9833 output.WriteRawTag(210, 1);
9836 additionalSolutions_.WriteTo(ref output, _repeated_additionalSolutions_codec);
9837 if (integerObjective_ !=
null) {
9838 output.WriteRawTag(226, 1);
9842 output.WriteRawTag(232, 1);
9846 output.WriteRawTag(240, 1);
9849 if (_unknownFields !=
null) {
9850 _unknownFields.WriteTo(ref output);
9855 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9856 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9859 if (
Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
9860 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int)
Status);
9862 size += solution_.CalculateSize(_repeated_solution_codec);
9869 size += additionalSolutions_.CalculateSize(_repeated_additionalSolutions_codec);
9870 size += tightenedVariables_.CalculateSize(_repeated_tightenedVariables_codec);
9871 size += sufficientAssumptionsForInfeasibility_.CalculateSize(_repeated_sufficientAssumptionsForInfeasibility_codec);
9872 if (integerObjective_ !=
null) {
9879 size += 2 + pb::CodedOutputStream.ComputeInt64Size(
NumIntegers);
9882 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
NumBooleans);
9885 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
NumConflicts);
9888 size += 1 + pb::CodedOutputStream.ComputeInt64Size(
NumBranches);
9897 size += 2 + pb::CodedOutputStream.ComputeInt64Size(
NumRestarts);
9915 size += 2 + pb::CodedOutputStream.ComputeStringSize(
SolutionInfo);
9918 size += 2 + pb::CodedOutputStream.ComputeStringSize(
SolveLog);
9920 if (_unknownFields !=
null) {
9921 size += _unknownFields.CalculateSize();
9926 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9927 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9929 if (other ==
null) {
9932 if (other.Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
9935 solution_.Add(other.solution_);
9936 if (other.ObjectiveValue != 0D) {
9939 if (other.BestObjectiveBound != 0D) {
9942 additionalSolutions_.Add(other.additionalSolutions_);
9943 tightenedVariables_.Add(other.tightenedVariables_);
9944 sufficientAssumptionsForInfeasibility_.Add(other.sufficientAssumptionsForInfeasibility_);
9945 if (other.integerObjective_ !=
null) {
9946 if (integerObjective_ ==
null) {
9951 if (other.InnerObjectiveLowerBound != 0L) {
9954 if (other.NumIntegers != 0L) {
9957 if (other.NumBooleans != 0L) {
9960 if (other.NumConflicts != 0L) {
9963 if (other.NumBranches != 0L) {
9966 if (other.NumBinaryPropagations != 0L) {
9969 if (other.NumIntegerPropagations != 0L) {
9972 if (other.NumRestarts != 0L) {
9975 if (other.NumLpIterations != 0L) {
9978 if (other.WallTime != 0D) {
9981 if (other.UserTime != 0D) {
9984 if (other.DeterministicTime != 0D) {
9987 if (other.GapIntegral != 0D) {
9990 if (other.SolutionInfo.Length != 0) {
9993 if (other.SolveLog.Length != 0) {
9996 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
9999 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10000 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10001 public void MergeFrom(pb::CodedInputStream input) {
10002 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10003 input.ReadRawMessage(
this);
10006 while ((tag = input.ReadTag()) != 0) {
10009 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
10012 Status = (global::Google.OrTools.Sat.CpSolverStatus) input.ReadEnum();
10017 solution_.AddEntriesFrom(input, _repeated_solution_codec);
10065 tightenedVariables_.AddEntriesFrom(input, _repeated_tightenedVariables_codec);
10074 sufficientAssumptionsForInfeasibility_.AddEntriesFrom(input, _repeated_sufficientAssumptionsForInfeasibility_codec);
10090 additionalSolutions_.AddEntriesFrom(input, _repeated_additionalSolutions_codec);
10094 if (integerObjective_ ==
null) {
10113 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10114 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10115 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10116 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
10118 while ((tag = input.ReadTag()) != 0) {
10121 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
10124 Status = (global::Google.OrTools.Sat.CpSolverStatus) input.ReadEnum();
10129 solution_.AddEntriesFrom(ref input, _repeated_solution_codec);
10177 tightenedVariables_.AddEntriesFrom(ref input, _repeated_tightenedVariables_codec);
10186 sufficientAssumptionsForInfeasibility_.AddEntriesFrom(ref input, _repeated_sufficientAssumptionsForInfeasibility_codec);
10202 additionalSolutions_.AddEntriesFrom(ref input, _repeated_additionalSolutions_codec);
10206 if (integerObjective_ ==
null) {
10231#endregion Designer generated code
global::Google.Protobuf pb
global::Google.Protobuf.Reflection pbr
global::System.Collections.Generic scg
global::Google.Protobuf.Collections pbc