blob: 0a5106280ef61bb592313f7a0ed3f48df3403254 [file] [log] [blame]
Jan Tattermusch426cf6f2017-12-13 14:36:29 -08001// <auto-generated>
2// Generated by the protocol buffer compiler. DO NOT EDIT!
3// source: conformance.proto
4// </auto-generated>
Jon Skeet044c36e2015-08-04 09:25:38 +01005#pragma warning disable 1591, 0612, 3021
6#region Designer generated code
7
8using pb = global::Google.Protobuf;
9using pbc = global::Google.Protobuf.Collections;
10using pbr = global::Google.Protobuf.Reflection;
11using scg = global::System.Collections.Generic;
12namespace Conformance {
13
Jon Skeetb0888a42015-09-29 13:37:30 +010014 /// <summary>Holder for reflection information generated from conformance.proto</summary>
Jon Skeet284bb452015-11-05 09:13:53 +000015 public static partial class ConformanceReflection {
Jon Skeet044c36e2015-08-04 09:25:38 +010016
17 #region Descriptor
Jon Skeetb0888a42015-09-29 13:37:30 +010018 /// <summary>File descriptor for conformance.proto</summary>
Jon Skeet044c36e2015-08-04 09:25:38 +010019 public static pbr::FileDescriptor Descriptor {
20 get { return descriptor; }
21 }
22 private static pbr::FileDescriptor descriptor;
23
Jon Skeet284bb452015-11-05 09:13:53 +000024 static ConformanceReflection() {
Jon Skeet044c36e2015-08-04 09:25:38 +010025 byte[] descriptorData = global::System.Convert.FromBase64String(
26 string.Concat(
Yilun Chong0adb74c2019-01-08 15:06:30 -080027 "ChFjb25mb3JtYW5jZS5wcm90bxILY29uZm9ybWFuY2UiHQoKRmFpbHVyZVNl",
Yilun Chongcb95a7f2019-01-11 11:40:52 -080028 "dBIPCgdmYWlsdXJlGAEgAygJIsUCChJDb25mb3JtYW5jZVJlcXVlc3QSGgoQ",
Yilun Chong0adb74c2019-01-08 15:06:30 -080029 "cHJvdG9idWZfcGF5bG9hZBgBIAEoDEgAEhYKDGpzb25fcGF5bG9hZBgCIAEo",
Yilun Chongcb95a7f2019-01-11 11:40:52 -080030 "CUgAEhYKDGpzcGJfcGF5bG9hZBgHIAEoCUgAEhYKDHRleHRfcGF5bG9hZBgI",
31 "IAEoCUgAEjgKF3JlcXVlc3RlZF9vdXRwdXRfZm9ybWF0GAMgASgOMhcuY29u",
32 "Zm9ybWFuY2UuV2lyZUZvcm1hdBIUCgxtZXNzYWdlX3R5cGUYBCABKAkSMAoN",
33 "dGVzdF9jYXRlZ29yeRgFIAEoDjIZLmNvbmZvcm1hbmNlLlRlc3RDYXRlZ29y",
34 "eRI+ChVqc3BiX2VuY29kaW5nX29wdGlvbnMYBiABKAsyHy5jb25mb3JtYW5j",
35 "ZS5Kc3BiRW5jb2RpbmdDb25maWdCCQoHcGF5bG9hZCLhAQoTQ29uZm9ybWFu",
36 "Y2VSZXNwb25zZRIVCgtwYXJzZV9lcnJvchgBIAEoCUgAEhkKD3NlcmlhbGl6",
37 "ZV9lcnJvchgGIAEoCUgAEhcKDXJ1bnRpbWVfZXJyb3IYAiABKAlIABIaChBw",
38 "cm90b2J1Zl9wYXlsb2FkGAMgASgMSAASFgoManNvbl9wYXlsb2FkGAQgASgJ",
39 "SAASEQoHc2tpcHBlZBgFIAEoCUgAEhYKDGpzcGJfcGF5bG9hZBgHIAEoCUgA",
40 "EhYKDHRleHRfcGF5bG9hZBgIIAEoCUgAQggKBnJlc3VsdCI3ChJKc3BiRW5j",
41 "b2RpbmdDb25maWcSIQoZdXNlX2pzcGJfYXJyYXlfYW55X2Zvcm1hdBgBIAEo",
42 "CCpQCgpXaXJlRm9ybWF0Eg8KC1VOU1BFQ0lGSUVEEAASDAoIUFJPVE9CVUYQ",
43 "ARIICgRKU09OEAISCAoESlNQQhADEg8KC1RFWFRfRk9STUFUEAQqjwEKDFRl",
44 "c3RDYXRlZ29yeRIUChBVTlNQRUNJRklFRF9URVNUEAASDwoLQklOQVJZX1RF",
45 "U1QQARINCglKU09OX1RFU1QQAhIkCiBKU09OX0lHTk9SRV9VTktOT1dOX1BB",
46 "UlNJTkdfVEVTVBADEg0KCUpTUEJfVEVTVBAEEhQKEFRFWFRfRk9STUFUX1RF",
47 "U1QQBUIhCh9jb20uZ29vZ2xlLnByb3RvYnVmLmNvbmZvcm1hbmNlYgZwcm90",
48 "bzM="));
Jon Skeeta2667aa2015-11-19 17:14:23 +000049 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
Joshua Habermanf1ce60e2016-12-03 11:51:25 -050050 new pbr::FileDescriptor[] { },
Paul Yang8705adc2018-07-27 12:24:42 -070051 new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Conformance.WireFormat), typeof(global::Conformance.TestCategory), }, new pbr::GeneratedClrTypeInfo[] {
Yilun Chong0adb74c2019-01-08 15:06:30 -080052 new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.FailureSet), global::Conformance.FailureSet.Parser, new[]{ "Failure" }, null, null, null),
Yilun Chongcb95a7f2019-01-11 11:40:52 -080053 new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.ConformanceRequest), global::Conformance.ConformanceRequest.Parser, new[]{ "ProtobufPayload", "JsonPayload", "JspbPayload", "TextPayload", "RequestedOutputFormat", "MessageType", "TestCategory", "JspbEncodingOptions" }, new[]{ "Payload" }, null, null),
54 new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.ConformanceResponse), global::Conformance.ConformanceResponse.Parser, new[]{ "ParseError", "SerializeError", "RuntimeError", "ProtobufPayload", "JsonPayload", "Skipped", "JspbPayload", "TextPayload" }, new[]{ "Result" }, null, null),
Paul Yangcecba292018-12-14 16:05:03 -080055 new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.JspbEncodingConfig), global::Conformance.JspbEncodingConfig.Parser, new[]{ "UseJspbArrayAnyFormat" }, null, null, null)
Jon Skeet044c36e2015-08-04 09:25:38 +010056 }));
57 }
58 #endregion
59
60 }
61 #region Enums
62 public enum WireFormat {
Jon Skeet84ea2c72016-04-08 12:33:09 +010063 [pbr::OriginalName("UNSPECIFIED")] Unspecified = 0,
64 [pbr::OriginalName("PROTOBUF")] Protobuf = 1,
65 [pbr::OriginalName("JSON")] Json = 2,
Paul Yangcecba292018-12-14 16:05:03 -080066 /// <summary>
67 /// Google internal only. Opensource testees just skip it.
68 /// </summary>
69 [pbr::OriginalName("JSPB")] Jspb = 3,
Yilun Chongcb95a7f2019-01-11 11:40:52 -080070 [pbr::OriginalName("TEXT_FORMAT")] TextFormat = 4,
Jon Skeet044c36e2015-08-04 09:25:38 +010071 }
72
Paul Yang8705adc2018-07-27 12:24:42 -070073 public enum TestCategory {
Feng Xiaoa4862e72018-08-08 17:21:04 -070074 [pbr::OriginalName("UNSPECIFIED_TEST")] UnspecifiedTest = 0,
Paul Yang8705adc2018-07-27 12:24:42 -070075 /// <summary>
76 /// Test binary wire format.
77 /// </summary>
Feng Xiaoa4862e72018-08-08 17:21:04 -070078 [pbr::OriginalName("BINARY_TEST")] BinaryTest = 1,
Paul Yang8705adc2018-07-27 12:24:42 -070079 /// <summary>
80 /// Test json wire format.
81 /// </summary>
Feng Xiaoa4862e72018-08-08 17:21:04 -070082 [pbr::OriginalName("JSON_TEST")] JsonTest = 2,
Paul Yang8705adc2018-07-27 12:24:42 -070083 /// <summary>
84 /// Similar to JSON_TEST. However, during parsing json, testee should ignore
85 /// unknown fields. This feature is optional. Each implementation can descide
86 /// whether to support it. See
87 /// https://developers.google.com/protocol-buffers/docs/proto3#json_options
88 /// for more detail.
89 /// </summary>
Feng Xiaoa4862e72018-08-08 17:21:04 -070090 [pbr::OriginalName("JSON_IGNORE_UNKNOWN_PARSING_TEST")] JsonIgnoreUnknownParsingTest = 3,
Paul Yangcecba292018-12-14 16:05:03 -080091 /// <summary>
Thomas Van Lentenb1b9eaa2019-01-10 09:37:20 -050092 /// Test jspb wire format. Google internal only. Opensource testees just skip it.
Paul Yangcecba292018-12-14 16:05:03 -080093 /// </summary>
94 [pbr::OriginalName("JSPB_TEST")] JspbTest = 4,
Yilun Chongcb95a7f2019-01-11 11:40:52 -080095 /// <summary>
Yilun Chonga2a0afb2019-01-13 17:40:58 -080096 /// Test text format. For cpp, java and python, testees can already deal with
Yilun Chongcb95a7f2019-01-11 11:40:52 -080097 /// this type. Testees of other languages can simply skip it.
98 /// </summary>
99 [pbr::OriginalName("TEXT_FORMAT_TEST")] TextFormatTest = 5,
Paul Yang8705adc2018-07-27 12:24:42 -0700100 }
101
Jon Skeet044c36e2015-08-04 09:25:38 +0100102 #endregion
103
104 #region Messages
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800105 /// <summary>
106 /// The conformance runner will request a list of failures as the first request.
107 /// This will be known by message_type == "conformance.FailureSet", a conformance
108 /// test should return a serialized FailureSet in protobuf_payload.
109 /// </summary>
Yilun Chong0adb74c2019-01-08 15:06:30 -0800110 public sealed partial class FailureSet : pb::IMessage<FailureSet> {
111 private static readonly pb::MessageParser<FailureSet> _parser = new pb::MessageParser<FailureSet>(() => new FailureSet());
112 private pb::UnknownFieldSet _unknownFields;
113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
114 public static pb::MessageParser<FailureSet> Parser { get { return _parser; } }
115
116 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
117 public static pbr::MessageDescriptor Descriptor {
118 get { return global::Conformance.ConformanceReflection.Descriptor.MessageTypes[0]; }
119 }
120
121 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
122 pbr::MessageDescriptor pb::IMessage.Descriptor {
123 get { return Descriptor; }
124 }
125
126 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
127 public FailureSet() {
128 OnConstruction();
129 }
130
131 partial void OnConstruction();
132
133 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
134 public FailureSet(FailureSet other) : this() {
135 failure_ = other.failure_.Clone();
136 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
137 }
138
139 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
140 public FailureSet Clone() {
141 return new FailureSet(this);
142 }
143
144 /// <summary>Field number for the "failure" field.</summary>
145 public const int FailureFieldNumber = 1;
146 private static readonly pb::FieldCodec<string> _repeated_failure_codec
147 = pb::FieldCodec.ForString(10);
148 private readonly pbc::RepeatedField<string> failure_ = new pbc::RepeatedField<string>();
149 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
150 public pbc::RepeatedField<string> Failure {
151 get { return failure_; }
152 }
153
154 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
155 public override bool Equals(object other) {
156 return Equals(other as FailureSet);
157 }
158
159 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
160 public bool Equals(FailureSet other) {
161 if (ReferenceEquals(other, null)) {
162 return false;
163 }
164 if (ReferenceEquals(other, this)) {
165 return true;
166 }
167 if(!failure_.Equals(other.failure_)) return false;
168 return Equals(_unknownFields, other._unknownFields);
169 }
170
171 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
172 public override int GetHashCode() {
173 int hash = 1;
174 hash ^= failure_.GetHashCode();
175 if (_unknownFields != null) {
176 hash ^= _unknownFields.GetHashCode();
177 }
178 return hash;
179 }
180
181 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
182 public override string ToString() {
183 return pb::JsonFormatter.ToDiagnosticString(this);
184 }
185
186 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
187 public void WriteTo(pb::CodedOutputStream output) {
188 failure_.WriteTo(output, _repeated_failure_codec);
189 if (_unknownFields != null) {
190 _unknownFields.WriteTo(output);
191 }
192 }
193
194 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
195 public int CalculateSize() {
196 int size = 0;
197 size += failure_.CalculateSize(_repeated_failure_codec);
198 if (_unknownFields != null) {
199 size += _unknownFields.CalculateSize();
200 }
201 return size;
202 }
203
204 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
205 public void MergeFrom(FailureSet other) {
206 if (other == null) {
207 return;
208 }
209 failure_.Add(other.failure_);
210 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
211 }
212
213 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
214 public void MergeFrom(pb::CodedInputStream input) {
215 uint tag;
216 while ((tag = input.ReadTag()) != 0) {
217 switch(tag) {
218 default:
Sydney Acksman2a056912019-02-11 17:12:40 -0600219 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
Yilun Chong0adb74c2019-01-08 15:06:30 -0800220 break;
221 case 10: {
222 failure_.AddEntriesFrom(input, _repeated_failure_codec);
223 break;
224 }
225 }
226 }
227 }
228
229 }
230
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100231 /// <summary>
Jan Tattermuschfda90492016-12-12 12:41:26 +0100232 /// Represents a single test case's input. The testee should:
Jon Skeetcff900e2015-11-06 18:38:31 +0000233 ///
Jan Tattermuschfda90492016-12-12 12:41:26 +0100234 /// 1. parse this proto (which should always succeed)
235 /// 2. parse the protobuf or JSON payload in "payload" (which may fail)
236 /// 3. if the parse succeeded, serialize the message in the requested format.
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100237 /// </summary>
Jon Skeet044c36e2015-08-04 09:25:38 +0100238 public sealed partial class ConformanceRequest : pb::IMessage<ConformanceRequest> {
239 private static readonly pb::MessageParser<ConformanceRequest> _parser = new pb::MessageParser<ConformanceRequest>(() => new ConformanceRequest());
Jie Luobfd254e2017-12-13 13:48:58 -0800240 private pb::UnknownFieldSet _unknownFields;
Jon Skeetc5348452016-07-01 13:19:19 +0100241 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100242 public static pb::MessageParser<ConformanceRequest> Parser { get { return _parser; } }
243
Jon Skeetc5348452016-07-01 13:19:19 +0100244 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100245 public static pbr::MessageDescriptor Descriptor {
Yilun Chong0adb74c2019-01-08 15:06:30 -0800246 get { return global::Conformance.ConformanceReflection.Descriptor.MessageTypes[1]; }
Jon Skeet044c36e2015-08-04 09:25:38 +0100247 }
248
Jon Skeetc5348452016-07-01 13:19:19 +0100249 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100250 pbr::MessageDescriptor pb::IMessage.Descriptor {
251 get { return Descriptor; }
252 }
253
Jon Skeetc5348452016-07-01 13:19:19 +0100254 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100255 public ConformanceRequest() {
256 OnConstruction();
257 }
258
259 partial void OnConstruction();
260
Jon Skeetc5348452016-07-01 13:19:19 +0100261 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100262 public ConformanceRequest(ConformanceRequest other) : this() {
263 requestedOutputFormat_ = other.requestedOutputFormat_;
Yilun Chongcd1dc3f2017-06-28 14:51:56 -0700264 messageType_ = other.messageType_;
Paul Yang8705adc2018-07-27 12:24:42 -0700265 testCategory_ = other.testCategory_;
Paul Yangcecba292018-12-14 16:05:03 -0800266 jspbEncodingOptions_ = other.jspbEncodingOptions_ != null ? other.jspbEncodingOptions_.Clone() : null;
Jon Skeet044c36e2015-08-04 09:25:38 +0100267 switch (other.PayloadCase) {
268 case PayloadOneofCase.ProtobufPayload:
269 ProtobufPayload = other.ProtobufPayload;
270 break;
271 case PayloadOneofCase.JsonPayload:
272 JsonPayload = other.JsonPayload;
273 break;
Paul Yangcecba292018-12-14 16:05:03 -0800274 case PayloadOneofCase.JspbPayload:
275 JspbPayload = other.JspbPayload;
276 break;
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800277 case PayloadOneofCase.TextPayload:
278 TextPayload = other.TextPayload;
279 break;
Jon Skeet044c36e2015-08-04 09:25:38 +0100280 }
281
Jie Luobfd254e2017-12-13 13:48:58 -0800282 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
Jon Skeet044c36e2015-08-04 09:25:38 +0100283 }
284
Jon Skeetc5348452016-07-01 13:19:19 +0100285 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100286 public ConformanceRequest Clone() {
287 return new ConformanceRequest(this);
288 }
289
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100290 /// <summary>Field number for the "protobuf_payload" field.</summary>
Jon Skeet044c36e2015-08-04 09:25:38 +0100291 public const int ProtobufPayloadFieldNumber = 1;
Jon Skeetc5348452016-07-01 13:19:19 +0100292 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100293 public pb::ByteString ProtobufPayload {
294 get { return payloadCase_ == PayloadOneofCase.ProtobufPayload ? (pb::ByteString) payload_ : pb::ByteString.Empty; }
295 set {
Jon Skeet045b5282016-02-04 15:02:59 +0000296 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
Jon Skeet044c36e2015-08-04 09:25:38 +0100297 payloadCase_ = PayloadOneofCase.ProtobufPayload;
298 }
299 }
300
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100301 /// <summary>Field number for the "json_payload" field.</summary>
Jon Skeet044c36e2015-08-04 09:25:38 +0100302 public const int JsonPayloadFieldNumber = 2;
Jon Skeetc5348452016-07-01 13:19:19 +0100303 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100304 public string JsonPayload {
305 get { return payloadCase_ == PayloadOneofCase.JsonPayload ? (string) payload_ : ""; }
306 set {
Jon Skeet045b5282016-02-04 15:02:59 +0000307 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
Jon Skeet044c36e2015-08-04 09:25:38 +0100308 payloadCase_ = PayloadOneofCase.JsonPayload;
309 }
310 }
311
Paul Yangcecba292018-12-14 16:05:03 -0800312 /// <summary>Field number for the "jspb_payload" field.</summary>
313 public const int JspbPayloadFieldNumber = 7;
314 /// <summary>
Thomas Van Lentenb1b9eaa2019-01-10 09:37:20 -0500315 /// Google internal only. Opensource testees just skip it.
Paul Yangcecba292018-12-14 16:05:03 -0800316 /// </summary>
317 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
318 public string JspbPayload {
319 get { return payloadCase_ == PayloadOneofCase.JspbPayload ? (string) payload_ : ""; }
320 set {
321 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
322 payloadCase_ = PayloadOneofCase.JspbPayload;
323 }
324 }
325
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800326 /// <summary>Field number for the "text_payload" field.</summary>
327 public const int TextPayloadFieldNumber = 8;
328 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
329 public string TextPayload {
330 get { return payloadCase_ == PayloadOneofCase.TextPayload ? (string) payload_ : ""; }
331 set {
332 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
333 payloadCase_ = PayloadOneofCase.TextPayload;
334 }
335 }
336
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100337 /// <summary>Field number for the "requested_output_format" field.</summary>
Jon Skeet044c36e2015-08-04 09:25:38 +0100338 public const int RequestedOutputFormatFieldNumber = 3;
Jon Skeet84ea2c72016-04-08 12:33:09 +0100339 private global::Conformance.WireFormat requestedOutputFormat_ = 0;
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100340 /// <summary>
Jan Tattermuschfda90492016-12-12 12:41:26 +0100341 /// Which format should the testee serialize its message to?
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100342 /// </summary>
Jon Skeetc5348452016-07-01 13:19:19 +0100343 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100344 public global::Conformance.WireFormat RequestedOutputFormat {
345 get { return requestedOutputFormat_; }
346 set {
347 requestedOutputFormat_ = value;
348 }
349 }
350
Yilun Chongcd1dc3f2017-06-28 14:51:56 -0700351 /// <summary>Field number for the "message_type" field.</summary>
352 public const int MessageTypeFieldNumber = 4;
353 private string messageType_ = "";
354 /// <summary>
Thomas Van Lenten9a4692d2017-07-26 16:44:42 -0400355 /// The full name for the test message to use; for the moment, either:
356 /// protobuf_test_messages.proto3.TestAllTypesProto3 or
357 /// protobuf_test_messages.proto2.TestAllTypesProto2.
Yilun Chongcd1dc3f2017-06-28 14:51:56 -0700358 /// </summary>
359 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
360 public string MessageType {
361 get { return messageType_; }
362 set {
363 messageType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
364 }
365 }
366
Paul Yang8705adc2018-07-27 12:24:42 -0700367 /// <summary>Field number for the "test_category" field.</summary>
368 public const int TestCategoryFieldNumber = 5;
369 private global::Conformance.TestCategory testCategory_ = 0;
370 /// <summary>
Feng Xiaoa4862e72018-08-08 17:21:04 -0700371 /// Each test is given a specific test category. Some category may need
372 /// spedific support in testee programs. Refer to the defintion of TestCategory
373 /// for more information.
Paul Yang8705adc2018-07-27 12:24:42 -0700374 /// </summary>
Paul Yang26eeec92018-07-09 14:29:23 -0700375 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Paul Yang8705adc2018-07-27 12:24:42 -0700376 public global::Conformance.TestCategory TestCategory {
377 get { return testCategory_; }
Paul Yang26eeec92018-07-09 14:29:23 -0700378 set {
Paul Yang8705adc2018-07-27 12:24:42 -0700379 testCategory_ = value;
Paul Yang26eeec92018-07-09 14:29:23 -0700380 }
381 }
382
Paul Yangcecba292018-12-14 16:05:03 -0800383 /// <summary>Field number for the "jspb_encoding_options" field.</summary>
384 public const int JspbEncodingOptionsFieldNumber = 6;
385 private global::Conformance.JspbEncodingConfig jspbEncodingOptions_;
386 /// <summary>
387 /// Specify details for how to encode jspb.
388 /// </summary>
389 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
390 public global::Conformance.JspbEncodingConfig JspbEncodingOptions {
391 get { return jspbEncodingOptions_; }
392 set {
393 jspbEncodingOptions_ = value;
394 }
395 }
396
Jon Skeet044c36e2015-08-04 09:25:38 +0100397 private object payload_;
Jon Skeet6bbbdfa2015-09-30 06:59:38 +0100398 /// <summary>Enum of possible cases for the "payload" oneof.</summary>
Jon Skeet044c36e2015-08-04 09:25:38 +0100399 public enum PayloadOneofCase {
400 None = 0,
401 ProtobufPayload = 1,
402 JsonPayload = 2,
Paul Yangcecba292018-12-14 16:05:03 -0800403 JspbPayload = 7,
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800404 TextPayload = 8,
Jon Skeet044c36e2015-08-04 09:25:38 +0100405 }
406 private PayloadOneofCase payloadCase_ = PayloadOneofCase.None;
Jon Skeetc5348452016-07-01 13:19:19 +0100407 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100408 public PayloadOneofCase PayloadCase {
409 get { return payloadCase_; }
410 }
411
Jon Skeetc5348452016-07-01 13:19:19 +0100412 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100413 public void ClearPayload() {
414 payloadCase_ = PayloadOneofCase.None;
415 payload_ = null;
416 }
417
Jon Skeetc5348452016-07-01 13:19:19 +0100418 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100419 public override bool Equals(object other) {
420 return Equals(other as ConformanceRequest);
421 }
422
Jon Skeetc5348452016-07-01 13:19:19 +0100423 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100424 public bool Equals(ConformanceRequest other) {
425 if (ReferenceEquals(other, null)) {
426 return false;
427 }
428 if (ReferenceEquals(other, this)) {
429 return true;
430 }
431 if (ProtobufPayload != other.ProtobufPayload) return false;
432 if (JsonPayload != other.JsonPayload) return false;
Paul Yangcecba292018-12-14 16:05:03 -0800433 if (JspbPayload != other.JspbPayload) return false;
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800434 if (TextPayload != other.TextPayload) return false;
Jon Skeet044c36e2015-08-04 09:25:38 +0100435 if (RequestedOutputFormat != other.RequestedOutputFormat) return false;
Yilun Chongcd1dc3f2017-06-28 14:51:56 -0700436 if (MessageType != other.MessageType) return false;
Paul Yang8705adc2018-07-27 12:24:42 -0700437 if (TestCategory != other.TestCategory) return false;
Paul Yangcecba292018-12-14 16:05:03 -0800438 if (!object.Equals(JspbEncodingOptions, other.JspbEncodingOptions)) return false;
Jon Skeet55313c92015-10-24 06:46:02 +0100439 if (PayloadCase != other.PayloadCase) return false;
Jie Luobfd254e2017-12-13 13:48:58 -0800440 return Equals(_unknownFields, other._unknownFields);
Jon Skeet044c36e2015-08-04 09:25:38 +0100441 }
442
Jon Skeetc5348452016-07-01 13:19:19 +0100443 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100444 public override int GetHashCode() {
445 int hash = 1;
446 if (payloadCase_ == PayloadOneofCase.ProtobufPayload) hash ^= ProtobufPayload.GetHashCode();
447 if (payloadCase_ == PayloadOneofCase.JsonPayload) hash ^= JsonPayload.GetHashCode();
Paul Yangcecba292018-12-14 16:05:03 -0800448 if (payloadCase_ == PayloadOneofCase.JspbPayload) hash ^= JspbPayload.GetHashCode();
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800449 if (payloadCase_ == PayloadOneofCase.TextPayload) hash ^= TextPayload.GetHashCode();
Jon Skeet84ea2c72016-04-08 12:33:09 +0100450 if (RequestedOutputFormat != 0) hash ^= RequestedOutputFormat.GetHashCode();
Yilun Chongcd1dc3f2017-06-28 14:51:56 -0700451 if (MessageType.Length != 0) hash ^= MessageType.GetHashCode();
Paul Yang8705adc2018-07-27 12:24:42 -0700452 if (TestCategory != 0) hash ^= TestCategory.GetHashCode();
Paul Yangcecba292018-12-14 16:05:03 -0800453 if (jspbEncodingOptions_ != null) hash ^= JspbEncodingOptions.GetHashCode();
Jon Skeet55313c92015-10-24 06:46:02 +0100454 hash ^= (int) payloadCase_;
Jie Luobfd254e2017-12-13 13:48:58 -0800455 if (_unknownFields != null) {
456 hash ^= _unknownFields.GetHashCode();
457 }
Jon Skeet044c36e2015-08-04 09:25:38 +0100458 return hash;
459 }
460
Jon Skeetc5348452016-07-01 13:19:19 +0100461 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100462 public override string ToString() {
Jon Skeetadee6fe2015-12-15 09:24:04 +0000463 return pb::JsonFormatter.ToDiagnosticString(this);
Jon Skeet044c36e2015-08-04 09:25:38 +0100464 }
465
Jon Skeetc5348452016-07-01 13:19:19 +0100466 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100467 public void WriteTo(pb::CodedOutputStream output) {
468 if (payloadCase_ == PayloadOneofCase.ProtobufPayload) {
469 output.WriteRawTag(10);
470 output.WriteBytes(ProtobufPayload);
471 }
472 if (payloadCase_ == PayloadOneofCase.JsonPayload) {
473 output.WriteRawTag(18);
474 output.WriteString(JsonPayload);
475 }
Jon Skeet84ea2c72016-04-08 12:33:09 +0100476 if (RequestedOutputFormat != 0) {
Jon Skeet044c36e2015-08-04 09:25:38 +0100477 output.WriteRawTag(24);
478 output.WriteEnum((int) RequestedOutputFormat);
479 }
Yilun Chongcd1dc3f2017-06-28 14:51:56 -0700480 if (MessageType.Length != 0) {
481 output.WriteRawTag(34);
482 output.WriteString(MessageType);
483 }
Paul Yang8705adc2018-07-27 12:24:42 -0700484 if (TestCategory != 0) {
Paul Yang26eeec92018-07-09 14:29:23 -0700485 output.WriteRawTag(40);
Paul Yang8705adc2018-07-27 12:24:42 -0700486 output.WriteEnum((int) TestCategory);
Paul Yang26eeec92018-07-09 14:29:23 -0700487 }
Paul Yangcecba292018-12-14 16:05:03 -0800488 if (jspbEncodingOptions_ != null) {
489 output.WriteRawTag(50);
490 output.WriteMessage(JspbEncodingOptions);
491 }
492 if (payloadCase_ == PayloadOneofCase.JspbPayload) {
493 output.WriteRawTag(58);
494 output.WriteString(JspbPayload);
495 }
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800496 if (payloadCase_ == PayloadOneofCase.TextPayload) {
497 output.WriteRawTag(66);
498 output.WriteString(TextPayload);
499 }
Jie Luobfd254e2017-12-13 13:48:58 -0800500 if (_unknownFields != null) {
501 _unknownFields.WriteTo(output);
502 }
Jon Skeet044c36e2015-08-04 09:25:38 +0100503 }
504
Jon Skeetc5348452016-07-01 13:19:19 +0100505 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100506 public int CalculateSize() {
507 int size = 0;
508 if (payloadCase_ == PayloadOneofCase.ProtobufPayload) {
509 size += 1 + pb::CodedOutputStream.ComputeBytesSize(ProtobufPayload);
510 }
511 if (payloadCase_ == PayloadOneofCase.JsonPayload) {
512 size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonPayload);
513 }
Paul Yangcecba292018-12-14 16:05:03 -0800514 if (payloadCase_ == PayloadOneofCase.JspbPayload) {
515 size += 1 + pb::CodedOutputStream.ComputeStringSize(JspbPayload);
516 }
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800517 if (payloadCase_ == PayloadOneofCase.TextPayload) {
518 size += 1 + pb::CodedOutputStream.ComputeStringSize(TextPayload);
519 }
Jon Skeet84ea2c72016-04-08 12:33:09 +0100520 if (RequestedOutputFormat != 0) {
Jon Skeet044c36e2015-08-04 09:25:38 +0100521 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RequestedOutputFormat);
522 }
Yilun Chongcd1dc3f2017-06-28 14:51:56 -0700523 if (MessageType.Length != 0) {
524 size += 1 + pb::CodedOutputStream.ComputeStringSize(MessageType);
525 }
Paul Yang8705adc2018-07-27 12:24:42 -0700526 if (TestCategory != 0) {
527 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TestCategory);
Paul Yang26eeec92018-07-09 14:29:23 -0700528 }
Paul Yangcecba292018-12-14 16:05:03 -0800529 if (jspbEncodingOptions_ != null) {
530 size += 1 + pb::CodedOutputStream.ComputeMessageSize(JspbEncodingOptions);
531 }
Jie Luobfd254e2017-12-13 13:48:58 -0800532 if (_unknownFields != null) {
533 size += _unknownFields.CalculateSize();
534 }
Jon Skeet044c36e2015-08-04 09:25:38 +0100535 return size;
536 }
537
Jon Skeetc5348452016-07-01 13:19:19 +0100538 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100539 public void MergeFrom(ConformanceRequest other) {
540 if (other == null) {
541 return;
542 }
Jon Skeet84ea2c72016-04-08 12:33:09 +0100543 if (other.RequestedOutputFormat != 0) {
Jon Skeet044c36e2015-08-04 09:25:38 +0100544 RequestedOutputFormat = other.RequestedOutputFormat;
545 }
Yilun Chongcd1dc3f2017-06-28 14:51:56 -0700546 if (other.MessageType.Length != 0) {
547 MessageType = other.MessageType;
548 }
Paul Yang8705adc2018-07-27 12:24:42 -0700549 if (other.TestCategory != 0) {
550 TestCategory = other.TestCategory;
Paul Yang26eeec92018-07-09 14:29:23 -0700551 }
Paul Yangcecba292018-12-14 16:05:03 -0800552 if (other.jspbEncodingOptions_ != null) {
553 if (jspbEncodingOptions_ == null) {
554 JspbEncodingOptions = new global::Conformance.JspbEncodingConfig();
555 }
556 JspbEncodingOptions.MergeFrom(other.JspbEncodingOptions);
557 }
Jon Skeet044c36e2015-08-04 09:25:38 +0100558 switch (other.PayloadCase) {
559 case PayloadOneofCase.ProtobufPayload:
560 ProtobufPayload = other.ProtobufPayload;
561 break;
562 case PayloadOneofCase.JsonPayload:
563 JsonPayload = other.JsonPayload;
564 break;
Paul Yangcecba292018-12-14 16:05:03 -0800565 case PayloadOneofCase.JspbPayload:
566 JspbPayload = other.JspbPayload;
567 break;
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800568 case PayloadOneofCase.TextPayload:
569 TextPayload = other.TextPayload;
570 break;
Jon Skeet044c36e2015-08-04 09:25:38 +0100571 }
572
Jie Luobfd254e2017-12-13 13:48:58 -0800573 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
Jon Skeet044c36e2015-08-04 09:25:38 +0100574 }
575
Jon Skeetc5348452016-07-01 13:19:19 +0100576 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100577 public void MergeFrom(pb::CodedInputStream input) {
578 uint tag;
Jon Skeet1a57ad82015-08-05 11:23:52 +0100579 while ((tag = input.ReadTag()) != 0) {
Jon Skeet044c36e2015-08-04 09:25:38 +0100580 switch(tag) {
Jon Skeet044c36e2015-08-04 09:25:38 +0100581 default:
Sydney Acksman2a056912019-02-11 17:12:40 -0600582 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
Jon Skeet044c36e2015-08-04 09:25:38 +0100583 break;
584 case 10: {
585 ProtobufPayload = input.ReadBytes();
586 break;
587 }
588 case 18: {
589 JsonPayload = input.ReadString();
590 break;
591 }
592 case 24: {
Sydney Acksman54176b22018-09-24 15:42:24 -0500593 RequestedOutputFormat = (global::Conformance.WireFormat) input.ReadEnum();
Jon Skeet044c36e2015-08-04 09:25:38 +0100594 break;
595 }
Yilun Chongcd1dc3f2017-06-28 14:51:56 -0700596 case 34: {
597 MessageType = input.ReadString();
598 break;
599 }
Paul Yang26eeec92018-07-09 14:29:23 -0700600 case 40: {
Sydney Acksman54176b22018-09-24 15:42:24 -0500601 TestCategory = (global::Conformance.TestCategory) input.ReadEnum();
Paul Yang26eeec92018-07-09 14:29:23 -0700602 break;
603 }
Paul Yangcecba292018-12-14 16:05:03 -0800604 case 50: {
605 if (jspbEncodingOptions_ == null) {
606 JspbEncodingOptions = new global::Conformance.JspbEncodingConfig();
607 }
608 input.ReadMessage(JspbEncodingOptions);
609 break;
610 }
611 case 58: {
612 JspbPayload = input.ReadString();
613 break;
614 }
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800615 case 66: {
616 TextPayload = input.ReadString();
617 break;
618 }
Jon Skeet044c36e2015-08-04 09:25:38 +0100619 }
620 }
621 }
622
623 }
624
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100625 /// <summary>
Jan Tattermuschfda90492016-12-12 12:41:26 +0100626 /// Represents a single test case's output.
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100627 /// </summary>
Jon Skeet044c36e2015-08-04 09:25:38 +0100628 public sealed partial class ConformanceResponse : pb::IMessage<ConformanceResponse> {
629 private static readonly pb::MessageParser<ConformanceResponse> _parser = new pb::MessageParser<ConformanceResponse>(() => new ConformanceResponse());
Jie Luobfd254e2017-12-13 13:48:58 -0800630 private pb::UnknownFieldSet _unknownFields;
Jon Skeetc5348452016-07-01 13:19:19 +0100631 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100632 public static pb::MessageParser<ConformanceResponse> Parser { get { return _parser; } }
633
Jon Skeetc5348452016-07-01 13:19:19 +0100634 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100635 public static pbr::MessageDescriptor Descriptor {
Yilun Chong0adb74c2019-01-08 15:06:30 -0800636 get { return global::Conformance.ConformanceReflection.Descriptor.MessageTypes[2]; }
Jon Skeet044c36e2015-08-04 09:25:38 +0100637 }
638
Jon Skeetc5348452016-07-01 13:19:19 +0100639 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100640 pbr::MessageDescriptor pb::IMessage.Descriptor {
641 get { return Descriptor; }
642 }
643
Jon Skeetc5348452016-07-01 13:19:19 +0100644 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100645 public ConformanceResponse() {
646 OnConstruction();
647 }
648
649 partial void OnConstruction();
650
Jon Skeetc5348452016-07-01 13:19:19 +0100651 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100652 public ConformanceResponse(ConformanceResponse other) : this() {
653 switch (other.ResultCase) {
654 case ResultOneofCase.ParseError:
655 ParseError = other.ParseError;
656 break;
Jon Skeetd49b9c82016-01-04 14:02:00 +0000657 case ResultOneofCase.SerializeError:
658 SerializeError = other.SerializeError;
659 break;
Jon Skeet044c36e2015-08-04 09:25:38 +0100660 case ResultOneofCase.RuntimeError:
661 RuntimeError = other.RuntimeError;
662 break;
663 case ResultOneofCase.ProtobufPayload:
664 ProtobufPayload = other.ProtobufPayload;
665 break;
666 case ResultOneofCase.JsonPayload:
667 JsonPayload = other.JsonPayload;
668 break;
669 case ResultOneofCase.Skipped:
670 Skipped = other.Skipped;
671 break;
Paul Yangcecba292018-12-14 16:05:03 -0800672 case ResultOneofCase.JspbPayload:
673 JspbPayload = other.JspbPayload;
674 break;
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800675 case ResultOneofCase.TextPayload:
676 TextPayload = other.TextPayload;
677 break;
Jon Skeet044c36e2015-08-04 09:25:38 +0100678 }
679
Jie Luobfd254e2017-12-13 13:48:58 -0800680 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
Jon Skeet044c36e2015-08-04 09:25:38 +0100681 }
682
Jon Skeetc5348452016-07-01 13:19:19 +0100683 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100684 public ConformanceResponse Clone() {
685 return new ConformanceResponse(this);
686 }
687
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100688 /// <summary>Field number for the "parse_error" field.</summary>
Jon Skeet044c36e2015-08-04 09:25:38 +0100689 public const int ParseErrorFieldNumber = 1;
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100690 /// <summary>
Jan Tattermuschfda90492016-12-12 12:41:26 +0100691 /// This string should be set to indicate parsing failed. The string can
692 /// provide more information about the parse error if it is available.
Jon Skeetcff900e2015-11-06 18:38:31 +0000693 ///
Jan Tattermuschfda90492016-12-12 12:41:26 +0100694 /// Setting this string does not necessarily mean the testee failed the
695 /// test. Some of the test cases are intentionally invalid input.
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100696 /// </summary>
Jon Skeetc5348452016-07-01 13:19:19 +0100697 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100698 public string ParseError {
699 get { return resultCase_ == ResultOneofCase.ParseError ? (string) result_ : ""; }
700 set {
Jon Skeet045b5282016-02-04 15:02:59 +0000701 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
Jon Skeet044c36e2015-08-04 09:25:38 +0100702 resultCase_ = ResultOneofCase.ParseError;
703 }
704 }
705
Jon Skeetd49b9c82016-01-04 14:02:00 +0000706 /// <summary>Field number for the "serialize_error" field.</summary>
707 public const int SerializeErrorFieldNumber = 6;
708 /// <summary>
Jan Tattermuschfda90492016-12-12 12:41:26 +0100709 /// If the input was successfully parsed but errors occurred when
710 /// serializing it to the requested output format, set the error message in
711 /// this field.
Jon Skeetd49b9c82016-01-04 14:02:00 +0000712 /// </summary>
Jon Skeetc5348452016-07-01 13:19:19 +0100713 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeetd49b9c82016-01-04 14:02:00 +0000714 public string SerializeError {
715 get { return resultCase_ == ResultOneofCase.SerializeError ? (string) result_ : ""; }
716 set {
Jon Skeet045b5282016-02-04 15:02:59 +0000717 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
Jon Skeetd49b9c82016-01-04 14:02:00 +0000718 resultCase_ = ResultOneofCase.SerializeError;
719 }
720 }
721
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100722 /// <summary>Field number for the "runtime_error" field.</summary>
Jon Skeet044c36e2015-08-04 09:25:38 +0100723 public const int RuntimeErrorFieldNumber = 2;
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100724 /// <summary>
Jan Tattermuschfda90492016-12-12 12:41:26 +0100725 /// This should be set if some other error occurred. This will always
726 /// indicate that the test failed. The string can provide more information
727 /// about the failure.
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100728 /// </summary>
Jon Skeetc5348452016-07-01 13:19:19 +0100729 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100730 public string RuntimeError {
731 get { return resultCase_ == ResultOneofCase.RuntimeError ? (string) result_ : ""; }
732 set {
Jon Skeet045b5282016-02-04 15:02:59 +0000733 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
Jon Skeet044c36e2015-08-04 09:25:38 +0100734 resultCase_ = ResultOneofCase.RuntimeError;
735 }
736 }
737
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100738 /// <summary>Field number for the "protobuf_payload" field.</summary>
Jon Skeet044c36e2015-08-04 09:25:38 +0100739 public const int ProtobufPayloadFieldNumber = 3;
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100740 /// <summary>
Jan Tattermuschfda90492016-12-12 12:41:26 +0100741 /// If the input was successfully parsed and the requested output was
742 /// protobuf, serialize it to protobuf and set it in this field.
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100743 /// </summary>
Jon Skeetc5348452016-07-01 13:19:19 +0100744 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100745 public pb::ByteString ProtobufPayload {
746 get { return resultCase_ == ResultOneofCase.ProtobufPayload ? (pb::ByteString) result_ : pb::ByteString.Empty; }
747 set {
Jon Skeet045b5282016-02-04 15:02:59 +0000748 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
Jon Skeet044c36e2015-08-04 09:25:38 +0100749 resultCase_ = ResultOneofCase.ProtobufPayload;
750 }
751 }
752
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100753 /// <summary>Field number for the "json_payload" field.</summary>
Jon Skeet044c36e2015-08-04 09:25:38 +0100754 public const int JsonPayloadFieldNumber = 4;
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100755 /// <summary>
Jan Tattermuschfda90492016-12-12 12:41:26 +0100756 /// If the input was successfully parsed and the requested output was JSON,
757 /// serialize to JSON and set it in this field.
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100758 /// </summary>
Jon Skeetc5348452016-07-01 13:19:19 +0100759 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100760 public string JsonPayload {
761 get { return resultCase_ == ResultOneofCase.JsonPayload ? (string) result_ : ""; }
762 set {
Jon Skeet045b5282016-02-04 15:02:59 +0000763 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
Jon Skeet044c36e2015-08-04 09:25:38 +0100764 resultCase_ = ResultOneofCase.JsonPayload;
765 }
766 }
767
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100768 /// <summary>Field number for the "skipped" field.</summary>
Jon Skeet044c36e2015-08-04 09:25:38 +0100769 public const int SkippedFieldNumber = 5;
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100770 /// <summary>
Jan Tattermuschfda90492016-12-12 12:41:26 +0100771 /// For when the testee skipped the test, likely because a certain feature
772 /// wasn't supported, like JSON input/output.
Jon Skeet18e0a2e2015-10-01 10:38:01 +0100773 /// </summary>
Jon Skeetc5348452016-07-01 13:19:19 +0100774 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100775 public string Skipped {
776 get { return resultCase_ == ResultOneofCase.Skipped ? (string) result_ : ""; }
777 set {
Jon Skeet045b5282016-02-04 15:02:59 +0000778 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
Jon Skeet044c36e2015-08-04 09:25:38 +0100779 resultCase_ = ResultOneofCase.Skipped;
780 }
781 }
782
Paul Yangcecba292018-12-14 16:05:03 -0800783 /// <summary>Field number for the "jspb_payload" field.</summary>
784 public const int JspbPayloadFieldNumber = 7;
785 /// <summary>
786 /// If the input was successfully parsed and the requested output was JSPB,
787 /// serialize to JSPB and set it in this field. JSPB is google internal only
788 /// format. Opensource testees can just skip it.
789 /// </summary>
790 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
791 public string JspbPayload {
792 get { return resultCase_ == ResultOneofCase.JspbPayload ? (string) result_ : ""; }
793 set {
794 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
795 resultCase_ = ResultOneofCase.JspbPayload;
796 }
797 }
798
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800799 /// <summary>Field number for the "text_payload" field.</summary>
800 public const int TextPayloadFieldNumber = 8;
801 /// <summary>
802 /// If the input was successfully parsed and the requested output was
803 /// TEXT_FORMAT, serialize to TEXT_FORMAT and set it in this field.
804 /// </summary>
805 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
806 public string TextPayload {
807 get { return resultCase_ == ResultOneofCase.TextPayload ? (string) result_ : ""; }
808 set {
809 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
810 resultCase_ = ResultOneofCase.TextPayload;
811 }
812 }
813
Jon Skeet044c36e2015-08-04 09:25:38 +0100814 private object result_;
Jon Skeet6bbbdfa2015-09-30 06:59:38 +0100815 /// <summary>Enum of possible cases for the "result" oneof.</summary>
Jon Skeet044c36e2015-08-04 09:25:38 +0100816 public enum ResultOneofCase {
817 None = 0,
818 ParseError = 1,
Jon Skeetd49b9c82016-01-04 14:02:00 +0000819 SerializeError = 6,
Jon Skeet044c36e2015-08-04 09:25:38 +0100820 RuntimeError = 2,
821 ProtobufPayload = 3,
822 JsonPayload = 4,
823 Skipped = 5,
Paul Yangcecba292018-12-14 16:05:03 -0800824 JspbPayload = 7,
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800825 TextPayload = 8,
Jon Skeet044c36e2015-08-04 09:25:38 +0100826 }
827 private ResultOneofCase resultCase_ = ResultOneofCase.None;
Jon Skeetc5348452016-07-01 13:19:19 +0100828 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100829 public ResultOneofCase ResultCase {
830 get { return resultCase_; }
831 }
832
Jon Skeetc5348452016-07-01 13:19:19 +0100833 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100834 public void ClearResult() {
835 resultCase_ = ResultOneofCase.None;
836 result_ = null;
837 }
838
Jon Skeetc5348452016-07-01 13:19:19 +0100839 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100840 public override bool Equals(object other) {
841 return Equals(other as ConformanceResponse);
842 }
843
Jon Skeetc5348452016-07-01 13:19:19 +0100844 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100845 public bool Equals(ConformanceResponse other) {
846 if (ReferenceEquals(other, null)) {
847 return false;
848 }
849 if (ReferenceEquals(other, this)) {
850 return true;
851 }
852 if (ParseError != other.ParseError) return false;
Jon Skeetd49b9c82016-01-04 14:02:00 +0000853 if (SerializeError != other.SerializeError) return false;
Jon Skeet044c36e2015-08-04 09:25:38 +0100854 if (RuntimeError != other.RuntimeError) return false;
855 if (ProtobufPayload != other.ProtobufPayload) return false;
856 if (JsonPayload != other.JsonPayload) return false;
857 if (Skipped != other.Skipped) return false;
Paul Yangcecba292018-12-14 16:05:03 -0800858 if (JspbPayload != other.JspbPayload) return false;
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800859 if (TextPayload != other.TextPayload) return false;
Jon Skeet55313c92015-10-24 06:46:02 +0100860 if (ResultCase != other.ResultCase) return false;
Jie Luobfd254e2017-12-13 13:48:58 -0800861 return Equals(_unknownFields, other._unknownFields);
Jon Skeet044c36e2015-08-04 09:25:38 +0100862 }
863
Jon Skeetc5348452016-07-01 13:19:19 +0100864 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100865 public override int GetHashCode() {
866 int hash = 1;
867 if (resultCase_ == ResultOneofCase.ParseError) hash ^= ParseError.GetHashCode();
Jon Skeetd49b9c82016-01-04 14:02:00 +0000868 if (resultCase_ == ResultOneofCase.SerializeError) hash ^= SerializeError.GetHashCode();
Jon Skeet044c36e2015-08-04 09:25:38 +0100869 if (resultCase_ == ResultOneofCase.RuntimeError) hash ^= RuntimeError.GetHashCode();
870 if (resultCase_ == ResultOneofCase.ProtobufPayload) hash ^= ProtobufPayload.GetHashCode();
871 if (resultCase_ == ResultOneofCase.JsonPayload) hash ^= JsonPayload.GetHashCode();
872 if (resultCase_ == ResultOneofCase.Skipped) hash ^= Skipped.GetHashCode();
Paul Yangcecba292018-12-14 16:05:03 -0800873 if (resultCase_ == ResultOneofCase.JspbPayload) hash ^= JspbPayload.GetHashCode();
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800874 if (resultCase_ == ResultOneofCase.TextPayload) hash ^= TextPayload.GetHashCode();
Jon Skeet55313c92015-10-24 06:46:02 +0100875 hash ^= (int) resultCase_;
Jie Luobfd254e2017-12-13 13:48:58 -0800876 if (_unknownFields != null) {
877 hash ^= _unknownFields.GetHashCode();
878 }
Jon Skeet044c36e2015-08-04 09:25:38 +0100879 return hash;
880 }
881
Jon Skeetc5348452016-07-01 13:19:19 +0100882 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100883 public override string ToString() {
Jon Skeetadee6fe2015-12-15 09:24:04 +0000884 return pb::JsonFormatter.ToDiagnosticString(this);
Jon Skeet044c36e2015-08-04 09:25:38 +0100885 }
886
Jon Skeetc5348452016-07-01 13:19:19 +0100887 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100888 public void WriteTo(pb::CodedOutputStream output) {
889 if (resultCase_ == ResultOneofCase.ParseError) {
890 output.WriteRawTag(10);
891 output.WriteString(ParseError);
892 }
893 if (resultCase_ == ResultOneofCase.RuntimeError) {
894 output.WriteRawTag(18);
895 output.WriteString(RuntimeError);
896 }
897 if (resultCase_ == ResultOneofCase.ProtobufPayload) {
898 output.WriteRawTag(26);
899 output.WriteBytes(ProtobufPayload);
900 }
901 if (resultCase_ == ResultOneofCase.JsonPayload) {
902 output.WriteRawTag(34);
903 output.WriteString(JsonPayload);
904 }
905 if (resultCase_ == ResultOneofCase.Skipped) {
906 output.WriteRawTag(42);
907 output.WriteString(Skipped);
908 }
Jon Skeetd49b9c82016-01-04 14:02:00 +0000909 if (resultCase_ == ResultOneofCase.SerializeError) {
910 output.WriteRawTag(50);
911 output.WriteString(SerializeError);
912 }
Paul Yangcecba292018-12-14 16:05:03 -0800913 if (resultCase_ == ResultOneofCase.JspbPayload) {
914 output.WriteRawTag(58);
915 output.WriteString(JspbPayload);
916 }
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800917 if (resultCase_ == ResultOneofCase.TextPayload) {
918 output.WriteRawTag(66);
919 output.WriteString(TextPayload);
920 }
Jie Luobfd254e2017-12-13 13:48:58 -0800921 if (_unknownFields != null) {
922 _unknownFields.WriteTo(output);
923 }
Jon Skeet044c36e2015-08-04 09:25:38 +0100924 }
925
Jon Skeetc5348452016-07-01 13:19:19 +0100926 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100927 public int CalculateSize() {
928 int size = 0;
929 if (resultCase_ == ResultOneofCase.ParseError) {
930 size += 1 + pb::CodedOutputStream.ComputeStringSize(ParseError);
931 }
Jon Skeetd49b9c82016-01-04 14:02:00 +0000932 if (resultCase_ == ResultOneofCase.SerializeError) {
933 size += 1 + pb::CodedOutputStream.ComputeStringSize(SerializeError);
934 }
Jon Skeet044c36e2015-08-04 09:25:38 +0100935 if (resultCase_ == ResultOneofCase.RuntimeError) {
936 size += 1 + pb::CodedOutputStream.ComputeStringSize(RuntimeError);
937 }
938 if (resultCase_ == ResultOneofCase.ProtobufPayload) {
939 size += 1 + pb::CodedOutputStream.ComputeBytesSize(ProtobufPayload);
940 }
941 if (resultCase_ == ResultOneofCase.JsonPayload) {
942 size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonPayload);
943 }
944 if (resultCase_ == ResultOneofCase.Skipped) {
945 size += 1 + pb::CodedOutputStream.ComputeStringSize(Skipped);
946 }
Paul Yangcecba292018-12-14 16:05:03 -0800947 if (resultCase_ == ResultOneofCase.JspbPayload) {
948 size += 1 + pb::CodedOutputStream.ComputeStringSize(JspbPayload);
949 }
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800950 if (resultCase_ == ResultOneofCase.TextPayload) {
951 size += 1 + pb::CodedOutputStream.ComputeStringSize(TextPayload);
952 }
Jie Luobfd254e2017-12-13 13:48:58 -0800953 if (_unknownFields != null) {
954 size += _unknownFields.CalculateSize();
955 }
Jon Skeet044c36e2015-08-04 09:25:38 +0100956 return size;
957 }
958
Jon Skeetc5348452016-07-01 13:19:19 +0100959 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100960 public void MergeFrom(ConformanceResponse other) {
961 if (other == null) {
962 return;
963 }
964 switch (other.ResultCase) {
965 case ResultOneofCase.ParseError:
966 ParseError = other.ParseError;
967 break;
Jon Skeetd49b9c82016-01-04 14:02:00 +0000968 case ResultOneofCase.SerializeError:
969 SerializeError = other.SerializeError;
970 break;
Jon Skeet044c36e2015-08-04 09:25:38 +0100971 case ResultOneofCase.RuntimeError:
972 RuntimeError = other.RuntimeError;
973 break;
974 case ResultOneofCase.ProtobufPayload:
975 ProtobufPayload = other.ProtobufPayload;
976 break;
977 case ResultOneofCase.JsonPayload:
978 JsonPayload = other.JsonPayload;
979 break;
980 case ResultOneofCase.Skipped:
981 Skipped = other.Skipped;
982 break;
Paul Yangcecba292018-12-14 16:05:03 -0800983 case ResultOneofCase.JspbPayload:
984 JspbPayload = other.JspbPayload;
985 break;
Yilun Chongcb95a7f2019-01-11 11:40:52 -0800986 case ResultOneofCase.TextPayload:
987 TextPayload = other.TextPayload;
988 break;
Jon Skeet044c36e2015-08-04 09:25:38 +0100989 }
990
Jie Luobfd254e2017-12-13 13:48:58 -0800991 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
Jon Skeet044c36e2015-08-04 09:25:38 +0100992 }
993
Jon Skeetc5348452016-07-01 13:19:19 +0100994 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jon Skeet044c36e2015-08-04 09:25:38 +0100995 public void MergeFrom(pb::CodedInputStream input) {
996 uint tag;
Jon Skeet1a57ad82015-08-05 11:23:52 +0100997 while ((tag = input.ReadTag()) != 0) {
Jon Skeet044c36e2015-08-04 09:25:38 +0100998 switch(tag) {
Jon Skeet044c36e2015-08-04 09:25:38 +0100999 default:
Sydney Acksman2a056912019-02-11 17:12:40 -06001000 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
Jon Skeet044c36e2015-08-04 09:25:38 +01001001 break;
1002 case 10: {
1003 ParseError = input.ReadString();
1004 break;
1005 }
1006 case 18: {
1007 RuntimeError = input.ReadString();
1008 break;
1009 }
1010 case 26: {
1011 ProtobufPayload = input.ReadBytes();
1012 break;
1013 }
1014 case 34: {
1015 JsonPayload = input.ReadString();
1016 break;
1017 }
1018 case 42: {
1019 Skipped = input.ReadString();
1020 break;
1021 }
Jon Skeetd49b9c82016-01-04 14:02:00 +00001022 case 50: {
1023 SerializeError = input.ReadString();
1024 break;
1025 }
Paul Yangcecba292018-12-14 16:05:03 -08001026 case 58: {
1027 JspbPayload = input.ReadString();
1028 break;
1029 }
Yilun Chongcb95a7f2019-01-11 11:40:52 -08001030 case 66: {
1031 TextPayload = input.ReadString();
1032 break;
1033 }
Paul Yangcecba292018-12-14 16:05:03 -08001034 }
1035 }
1036 }
1037
1038 }
1039
1040 /// <summary>
1041 /// Encoding options for jspb format.
1042 /// </summary>
1043 public sealed partial class JspbEncodingConfig : pb::IMessage<JspbEncodingConfig> {
1044 private static readonly pb::MessageParser<JspbEncodingConfig> _parser = new pb::MessageParser<JspbEncodingConfig>(() => new JspbEncodingConfig());
1045 private pb::UnknownFieldSet _unknownFields;
1046 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1047 public static pb::MessageParser<JspbEncodingConfig> Parser { get { return _parser; } }
1048
1049 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1050 public static pbr::MessageDescriptor Descriptor {
Yilun Chong0adb74c2019-01-08 15:06:30 -08001051 get { return global::Conformance.ConformanceReflection.Descriptor.MessageTypes[3]; }
Paul Yangcecba292018-12-14 16:05:03 -08001052 }
1053
1054 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1055 pbr::MessageDescriptor pb::IMessage.Descriptor {
1056 get { return Descriptor; }
1057 }
1058
1059 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1060 public JspbEncodingConfig() {
1061 OnConstruction();
1062 }
1063
1064 partial void OnConstruction();
1065
1066 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1067 public JspbEncodingConfig(JspbEncodingConfig other) : this() {
1068 useJspbArrayAnyFormat_ = other.useJspbArrayAnyFormat_;
1069 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1070 }
1071
1072 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1073 public JspbEncodingConfig Clone() {
1074 return new JspbEncodingConfig(this);
1075 }
1076
1077 /// <summary>Field number for the "use_jspb_array_any_format" field.</summary>
1078 public const int UseJspbArrayAnyFormatFieldNumber = 1;
1079 private bool useJspbArrayAnyFormat_;
1080 /// <summary>
1081 /// Encode the value field of Any as jspb array if ture, otherwise binary.
1082 /// </summary>
1083 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1084 public bool UseJspbArrayAnyFormat {
1085 get { return useJspbArrayAnyFormat_; }
1086 set {
1087 useJspbArrayAnyFormat_ = value;
1088 }
1089 }
1090
1091 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1092 public override bool Equals(object other) {
1093 return Equals(other as JspbEncodingConfig);
1094 }
1095
1096 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1097 public bool Equals(JspbEncodingConfig other) {
1098 if (ReferenceEquals(other, null)) {
1099 return false;
1100 }
1101 if (ReferenceEquals(other, this)) {
1102 return true;
1103 }
1104 if (UseJspbArrayAnyFormat != other.UseJspbArrayAnyFormat) return false;
1105 return Equals(_unknownFields, other._unknownFields);
1106 }
1107
1108 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1109 public override int GetHashCode() {
1110 int hash = 1;
1111 if (UseJspbArrayAnyFormat != false) hash ^= UseJspbArrayAnyFormat.GetHashCode();
1112 if (_unknownFields != null) {
1113 hash ^= _unknownFields.GetHashCode();
1114 }
1115 return hash;
1116 }
1117
1118 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1119 public override string ToString() {
1120 return pb::JsonFormatter.ToDiagnosticString(this);
1121 }
1122
1123 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1124 public void WriteTo(pb::CodedOutputStream output) {
1125 if (UseJspbArrayAnyFormat != false) {
1126 output.WriteRawTag(8);
1127 output.WriteBool(UseJspbArrayAnyFormat);
1128 }
1129 if (_unknownFields != null) {
1130 _unknownFields.WriteTo(output);
1131 }
1132 }
1133
1134 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1135 public int CalculateSize() {
1136 int size = 0;
1137 if (UseJspbArrayAnyFormat != false) {
1138 size += 1 + 1;
1139 }
1140 if (_unknownFields != null) {
1141 size += _unknownFields.CalculateSize();
1142 }
1143 return size;
1144 }
1145
1146 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1147 public void MergeFrom(JspbEncodingConfig other) {
1148 if (other == null) {
1149 return;
1150 }
1151 if (other.UseJspbArrayAnyFormat != false) {
1152 UseJspbArrayAnyFormat = other.UseJspbArrayAnyFormat;
1153 }
1154 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1155 }
1156
1157 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1158 public void MergeFrom(pb::CodedInputStream input) {
1159 uint tag;
1160 while ((tag = input.ReadTag()) != 0) {
1161 switch(tag) {
1162 default:
Sydney Acksman2a056912019-02-11 17:12:40 -06001163 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
Paul Yangcecba292018-12-14 16:05:03 -08001164 break;
1165 case 8: {
1166 UseJspbArrayAnyFormat = input.ReadBool();
1167 break;
1168 }
Jon Skeet044c36e2015-08-04 09:25:38 +01001169 }
1170 }
1171 }
1172
1173 }
1174
Jon Skeet044c36e2015-08-04 09:25:38 +01001175 #endregion
1176
1177}
1178
1179#endregion Designer generated code