123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179 |
- // <auto-generated>
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: conformance.proto
- // </auto-generated>
- #pragma warning disable 1591, 0612, 3021
- #region Designer generated code
- using pb = global::Google.Protobuf;
- using pbc = global::Google.Protobuf.Collections;
- using pbr = global::Google.Protobuf.Reflection;
- using scg = global::System.Collections.Generic;
- namespace Conformance {
- /// <summary>Holder for reflection information generated from conformance.proto</summary>
- public static partial class ConformanceReflection {
- #region Descriptor
- /// <summary>File descriptor for conformance.proto</summary>
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
- static ConformanceReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "ChFjb25mb3JtYW5jZS5wcm90bxILY29uZm9ybWFuY2UiHQoKRmFpbHVyZVNl",
- "dBIPCgdmYWlsdXJlGAEgAygJIsUCChJDb25mb3JtYW5jZVJlcXVlc3QSGgoQ",
- "cHJvdG9idWZfcGF5bG9hZBgBIAEoDEgAEhYKDGpzb25fcGF5bG9hZBgCIAEo",
- "CUgAEhYKDGpzcGJfcGF5bG9hZBgHIAEoCUgAEhYKDHRleHRfcGF5bG9hZBgI",
- "IAEoCUgAEjgKF3JlcXVlc3RlZF9vdXRwdXRfZm9ybWF0GAMgASgOMhcuY29u",
- "Zm9ybWFuY2UuV2lyZUZvcm1hdBIUCgxtZXNzYWdlX3R5cGUYBCABKAkSMAoN",
- "dGVzdF9jYXRlZ29yeRgFIAEoDjIZLmNvbmZvcm1hbmNlLlRlc3RDYXRlZ29y",
- "eRI+ChVqc3BiX2VuY29kaW5nX29wdGlvbnMYBiABKAsyHy5jb25mb3JtYW5j",
- "ZS5Kc3BiRW5jb2RpbmdDb25maWdCCQoHcGF5bG9hZCLhAQoTQ29uZm9ybWFu",
- "Y2VSZXNwb25zZRIVCgtwYXJzZV9lcnJvchgBIAEoCUgAEhkKD3NlcmlhbGl6",
- "ZV9lcnJvchgGIAEoCUgAEhcKDXJ1bnRpbWVfZXJyb3IYAiABKAlIABIaChBw",
- "cm90b2J1Zl9wYXlsb2FkGAMgASgMSAASFgoManNvbl9wYXlsb2FkGAQgASgJ",
- "SAASEQoHc2tpcHBlZBgFIAEoCUgAEhYKDGpzcGJfcGF5bG9hZBgHIAEoCUgA",
- "EhYKDHRleHRfcGF5bG9hZBgIIAEoCUgAQggKBnJlc3VsdCI3ChJKc3BiRW5j",
- "b2RpbmdDb25maWcSIQoZdXNlX2pzcGJfYXJyYXlfYW55X2Zvcm1hdBgBIAEo",
- "CCpQCgpXaXJlRm9ybWF0Eg8KC1VOU1BFQ0lGSUVEEAASDAoIUFJPVE9CVUYQ",
- "ARIICgRKU09OEAISCAoESlNQQhADEg8KC1RFWFRfRk9STUFUEAQqjwEKDFRl",
- "c3RDYXRlZ29yeRIUChBVTlNQRUNJRklFRF9URVNUEAASDwoLQklOQVJZX1RF",
- "U1QQARINCglKU09OX1RFU1QQAhIkCiBKU09OX0lHTk9SRV9VTktOT1dOX1BB",
- "UlNJTkdfVEVTVBADEg0KCUpTUEJfVEVTVBAEEhQKEFRFWFRfRk9STUFUX1RF",
- "U1QQBUIhCh9jb20uZ29vZ2xlLnByb3RvYnVmLmNvbmZvcm1hbmNlYgZwcm90",
- "bzM="));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { },
- new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Conformance.WireFormat), typeof(global::Conformance.TestCategory), }, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.FailureSet), global::Conformance.FailureSet.Parser, new[]{ "Failure" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.ConformanceRequest), global::Conformance.ConformanceRequest.Parser, new[]{ "ProtobufPayload", "JsonPayload", "JspbPayload", "TextPayload", "RequestedOutputFormat", "MessageType", "TestCategory", "JspbEncodingOptions" }, new[]{ "Payload" }, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.ConformanceResponse), global::Conformance.ConformanceResponse.Parser, new[]{ "ParseError", "SerializeError", "RuntimeError", "ProtobufPayload", "JsonPayload", "Skipped", "JspbPayload", "TextPayload" }, new[]{ "Result" }, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.JspbEncodingConfig), global::Conformance.JspbEncodingConfig.Parser, new[]{ "UseJspbArrayAnyFormat" }, null, null, null)
- }));
- }
- #endregion
- }
- #region Enums
- public enum WireFormat {
- [pbr::OriginalName("UNSPECIFIED")] Unspecified = 0,
- [pbr::OriginalName("PROTOBUF")] Protobuf = 1,
- [pbr::OriginalName("JSON")] Json = 2,
- /// <summary>
- /// Google internal only. Opensource testees just skip it.
- /// </summary>
- [pbr::OriginalName("JSPB")] Jspb = 3,
- [pbr::OriginalName("TEXT_FORMAT")] TextFormat = 4,
- }
- public enum TestCategory {
- [pbr::OriginalName("UNSPECIFIED_TEST")] UnspecifiedTest = 0,
- /// <summary>
- /// Test binary wire format.
- /// </summary>
- [pbr::OriginalName("BINARY_TEST")] BinaryTest = 1,
- /// <summary>
- /// Test json wire format.
- /// </summary>
- [pbr::OriginalName("JSON_TEST")] JsonTest = 2,
- /// <summary>
- /// Similar to JSON_TEST. However, during parsing json, testee should ignore
- /// unknown fields. This feature is optional. Each implementation can descide
- /// whether to support it. See
- /// https://developers.google.com/protocol-buffers/docs/proto3#json_options
- /// for more detail.
- /// </summary>
- [pbr::OriginalName("JSON_IGNORE_UNKNOWN_PARSING_TEST")] JsonIgnoreUnknownParsingTest = 3,
- /// <summary>
- /// Test jspb wire format. Google internal only. Opensource testees just skip it.
- /// </summary>
- [pbr::OriginalName("JSPB_TEST")] JspbTest = 4,
- /// <summary>
- /// Test text format. For cpp, java and python, testees can already deal with
- /// this type. Testees of other languages can simply skip it.
- /// </summary>
- [pbr::OriginalName("TEXT_FORMAT_TEST")] TextFormatTest = 5,
- }
- #endregion
- #region Messages
- /// <summary>
- /// The conformance runner will request a list of failures as the first request.
- /// This will be known by message_type == "conformance.FailureSet", a conformance
- /// test should return a serialized FailureSet in protobuf_payload.
- /// </summary>
- public sealed partial class FailureSet : pb::IMessage<FailureSet> {
- private static readonly pb::MessageParser<FailureSet> _parser = new pb::MessageParser<FailureSet>(() => new FailureSet());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<FailureSet> Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Conformance.ConformanceReflection.Descriptor.MessageTypes[0]; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public FailureSet() {
- OnConstruction();
- }
- partial void OnConstruction();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public FailureSet(FailureSet other) : this() {
- failure_ = other.failure_.Clone();
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public FailureSet Clone() {
- return new FailureSet(this);
- }
- /// <summary>Field number for the "failure" field.</summary>
- public const int FailureFieldNumber = 1;
- private static readonly pb::FieldCodec<string> _repeated_failure_codec
- = pb::FieldCodec.ForString(10);
- private readonly pbc::RepeatedField<string> failure_ = new pbc::RepeatedField<string>();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField<string> Failure {
- get { return failure_; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as FailureSet);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(FailureSet other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if(!failure_.Equals(other.failure_)) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- hash ^= failure_.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- failure_.WriteTo(output, _repeated_failure_codec);
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- size += failure_.CalculateSize(_repeated_failure_codec);
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(FailureSet other) {
- if (other == null) {
- return;
- }
- failure_.Add(other.failure_);
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10: {
- failure_.AddEntriesFrom(input, _repeated_failure_codec);
- break;
- }
- }
- }
- }
- }
- /// <summary>
- /// Represents a single test case's input. The testee should:
- ///
- /// 1. parse this proto (which should always succeed)
- /// 2. parse the protobuf or JSON payload in "payload" (which may fail)
- /// 3. if the parse succeeded, serialize the message in the requested format.
- /// </summary>
- public sealed partial class ConformanceRequest : pb::IMessage<ConformanceRequest> {
- private static readonly pb::MessageParser<ConformanceRequest> _parser = new pb::MessageParser<ConformanceRequest>(() => new ConformanceRequest());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<ConformanceRequest> Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Conformance.ConformanceReflection.Descriptor.MessageTypes[1]; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ConformanceRequest() {
- OnConstruction();
- }
- partial void OnConstruction();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ConformanceRequest(ConformanceRequest other) : this() {
- requestedOutputFormat_ = other.requestedOutputFormat_;
- messageType_ = other.messageType_;
- testCategory_ = other.testCategory_;
- jspbEncodingOptions_ = other.jspbEncodingOptions_ != null ? other.jspbEncodingOptions_.Clone() : null;
- switch (other.PayloadCase) {
- case PayloadOneofCase.ProtobufPayload:
- ProtobufPayload = other.ProtobufPayload;
- break;
- case PayloadOneofCase.JsonPayload:
- JsonPayload = other.JsonPayload;
- break;
- case PayloadOneofCase.JspbPayload:
- JspbPayload = other.JspbPayload;
- break;
- case PayloadOneofCase.TextPayload:
- TextPayload = other.TextPayload;
- break;
- }
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ConformanceRequest Clone() {
- return new ConformanceRequest(this);
- }
- /// <summary>Field number for the "protobuf_payload" field.</summary>
- public const int ProtobufPayloadFieldNumber = 1;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pb::ByteString ProtobufPayload {
- get { return payloadCase_ == PayloadOneofCase.ProtobufPayload ? (pb::ByteString) payload_ : pb::ByteString.Empty; }
- set {
- payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- payloadCase_ = PayloadOneofCase.ProtobufPayload;
- }
- }
- /// <summary>Field number for the "json_payload" field.</summary>
- public const int JsonPayloadFieldNumber = 2;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string JsonPayload {
- get { return payloadCase_ == PayloadOneofCase.JsonPayload ? (string) payload_ : ""; }
- set {
- payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- payloadCase_ = PayloadOneofCase.JsonPayload;
- }
- }
- /// <summary>Field number for the "jspb_payload" field.</summary>
- public const int JspbPayloadFieldNumber = 7;
- /// <summary>
- /// Google internal only. Opensource testees just skip it.
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string JspbPayload {
- get { return payloadCase_ == PayloadOneofCase.JspbPayload ? (string) payload_ : ""; }
- set {
- payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- payloadCase_ = PayloadOneofCase.JspbPayload;
- }
- }
- /// <summary>Field number for the "text_payload" field.</summary>
- public const int TextPayloadFieldNumber = 8;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string TextPayload {
- get { return payloadCase_ == PayloadOneofCase.TextPayload ? (string) payload_ : ""; }
- set {
- payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- payloadCase_ = PayloadOneofCase.TextPayload;
- }
- }
- /// <summary>Field number for the "requested_output_format" field.</summary>
- public const int RequestedOutputFormatFieldNumber = 3;
- private global::Conformance.WireFormat requestedOutputFormat_ = 0;
- /// <summary>
- /// Which format should the testee serialize its message to?
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Conformance.WireFormat RequestedOutputFormat {
- get { return requestedOutputFormat_; }
- set {
- requestedOutputFormat_ = value;
- }
- }
- /// <summary>Field number for the "message_type" field.</summary>
- public const int MessageTypeFieldNumber = 4;
- private string messageType_ = "";
- /// <summary>
- /// The full name for the test message to use; for the moment, either:
- /// protobuf_test_messages.proto3.TestAllTypesProto3 or
- /// protobuf_test_messages.proto2.TestAllTypesProto2.
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string MessageType {
- get { return messageType_; }
- set {
- messageType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- }
- }
- /// <summary>Field number for the "test_category" field.</summary>
- public const int TestCategoryFieldNumber = 5;
- private global::Conformance.TestCategory testCategory_ = 0;
- /// <summary>
- /// Each test is given a specific test category. Some category may need
- /// spedific support in testee programs. Refer to the defintion of TestCategory
- /// for more information.
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Conformance.TestCategory TestCategory {
- get { return testCategory_; }
- set {
- testCategory_ = value;
- }
- }
- /// <summary>Field number for the "jspb_encoding_options" field.</summary>
- public const int JspbEncodingOptionsFieldNumber = 6;
- private global::Conformance.JspbEncodingConfig jspbEncodingOptions_;
- /// <summary>
- /// Specify details for how to encode jspb.
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Conformance.JspbEncodingConfig JspbEncodingOptions {
- get { return jspbEncodingOptions_; }
- set {
- jspbEncodingOptions_ = value;
- }
- }
- private object payload_;
- /// <summary>Enum of possible cases for the "payload" oneof.</summary>
- public enum PayloadOneofCase {
- None = 0,
- ProtobufPayload = 1,
- JsonPayload = 2,
- JspbPayload = 7,
- TextPayload = 8,
- }
- private PayloadOneofCase payloadCase_ = PayloadOneofCase.None;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public PayloadOneofCase PayloadCase {
- get { return payloadCase_; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearPayload() {
- payloadCase_ = PayloadOneofCase.None;
- payload_ = null;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as ConformanceRequest);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(ConformanceRequest other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (ProtobufPayload != other.ProtobufPayload) return false;
- if (JsonPayload != other.JsonPayload) return false;
- if (JspbPayload != other.JspbPayload) return false;
- if (TextPayload != other.TextPayload) return false;
- if (RequestedOutputFormat != other.RequestedOutputFormat) return false;
- if (MessageType != other.MessageType) return false;
- if (TestCategory != other.TestCategory) return false;
- if (!object.Equals(JspbEncodingOptions, other.JspbEncodingOptions)) return false;
- if (PayloadCase != other.PayloadCase) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (payloadCase_ == PayloadOneofCase.ProtobufPayload) hash ^= ProtobufPayload.GetHashCode();
- if (payloadCase_ == PayloadOneofCase.JsonPayload) hash ^= JsonPayload.GetHashCode();
- if (payloadCase_ == PayloadOneofCase.JspbPayload) hash ^= JspbPayload.GetHashCode();
- if (payloadCase_ == PayloadOneofCase.TextPayload) hash ^= TextPayload.GetHashCode();
- if (RequestedOutputFormat != 0) hash ^= RequestedOutputFormat.GetHashCode();
- if (MessageType.Length != 0) hash ^= MessageType.GetHashCode();
- if (TestCategory != 0) hash ^= TestCategory.GetHashCode();
- if (jspbEncodingOptions_ != null) hash ^= JspbEncodingOptions.GetHashCode();
- hash ^= (int) payloadCase_;
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (payloadCase_ == PayloadOneofCase.ProtobufPayload) {
- output.WriteRawTag(10);
- output.WriteBytes(ProtobufPayload);
- }
- if (payloadCase_ == PayloadOneofCase.JsonPayload) {
- output.WriteRawTag(18);
- output.WriteString(JsonPayload);
- }
- if (RequestedOutputFormat != 0) {
- output.WriteRawTag(24);
- output.WriteEnum((int) RequestedOutputFormat);
- }
- if (MessageType.Length != 0) {
- output.WriteRawTag(34);
- output.WriteString(MessageType);
- }
- if (TestCategory != 0) {
- output.WriteRawTag(40);
- output.WriteEnum((int) TestCategory);
- }
- if (jspbEncodingOptions_ != null) {
- output.WriteRawTag(50);
- output.WriteMessage(JspbEncodingOptions);
- }
- if (payloadCase_ == PayloadOneofCase.JspbPayload) {
- output.WriteRawTag(58);
- output.WriteString(JspbPayload);
- }
- if (payloadCase_ == PayloadOneofCase.TextPayload) {
- output.WriteRawTag(66);
- output.WriteString(TextPayload);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (payloadCase_ == PayloadOneofCase.ProtobufPayload) {
- size += 1 + pb::CodedOutputStream.ComputeBytesSize(ProtobufPayload);
- }
- if (payloadCase_ == PayloadOneofCase.JsonPayload) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonPayload);
- }
- if (payloadCase_ == PayloadOneofCase.JspbPayload) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(JspbPayload);
- }
- if (payloadCase_ == PayloadOneofCase.TextPayload) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(TextPayload);
- }
- if (RequestedOutputFormat != 0) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RequestedOutputFormat);
- }
- if (MessageType.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(MessageType);
- }
- if (TestCategory != 0) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TestCategory);
- }
- if (jspbEncodingOptions_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(JspbEncodingOptions);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(ConformanceRequest other) {
- if (other == null) {
- return;
- }
- if (other.RequestedOutputFormat != 0) {
- RequestedOutputFormat = other.RequestedOutputFormat;
- }
- if (other.MessageType.Length != 0) {
- MessageType = other.MessageType;
- }
- if (other.TestCategory != 0) {
- TestCategory = other.TestCategory;
- }
- if (other.jspbEncodingOptions_ != null) {
- if (jspbEncodingOptions_ == null) {
- JspbEncodingOptions = new global::Conformance.JspbEncodingConfig();
- }
- JspbEncodingOptions.MergeFrom(other.JspbEncodingOptions);
- }
- switch (other.PayloadCase) {
- case PayloadOneofCase.ProtobufPayload:
- ProtobufPayload = other.ProtobufPayload;
- break;
- case PayloadOneofCase.JsonPayload:
- JsonPayload = other.JsonPayload;
- break;
- case PayloadOneofCase.JspbPayload:
- JspbPayload = other.JspbPayload;
- break;
- case PayloadOneofCase.TextPayload:
- TextPayload = other.TextPayload;
- break;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10: {
- ProtobufPayload = input.ReadBytes();
- break;
- }
- case 18: {
- JsonPayload = input.ReadString();
- break;
- }
- case 24: {
- RequestedOutputFormat = (global::Conformance.WireFormat) input.ReadEnum();
- break;
- }
- case 34: {
- MessageType = input.ReadString();
- break;
- }
- case 40: {
- TestCategory = (global::Conformance.TestCategory) input.ReadEnum();
- break;
- }
- case 50: {
- if (jspbEncodingOptions_ == null) {
- JspbEncodingOptions = new global::Conformance.JspbEncodingConfig();
- }
- input.ReadMessage(JspbEncodingOptions);
- break;
- }
- case 58: {
- JspbPayload = input.ReadString();
- break;
- }
- case 66: {
- TextPayload = input.ReadString();
- break;
- }
- }
- }
- }
- }
- /// <summary>
- /// Represents a single test case's output.
- /// </summary>
- public sealed partial class ConformanceResponse : pb::IMessage<ConformanceResponse> {
- private static readonly pb::MessageParser<ConformanceResponse> _parser = new pb::MessageParser<ConformanceResponse>(() => new ConformanceResponse());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<ConformanceResponse> Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Conformance.ConformanceReflection.Descriptor.MessageTypes[2]; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ConformanceResponse() {
- OnConstruction();
- }
- partial void OnConstruction();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ConformanceResponse(ConformanceResponse other) : this() {
- switch (other.ResultCase) {
- case ResultOneofCase.ParseError:
- ParseError = other.ParseError;
- break;
- case ResultOneofCase.SerializeError:
- SerializeError = other.SerializeError;
- break;
- case ResultOneofCase.RuntimeError:
- RuntimeError = other.RuntimeError;
- break;
- case ResultOneofCase.ProtobufPayload:
- ProtobufPayload = other.ProtobufPayload;
- break;
- case ResultOneofCase.JsonPayload:
- JsonPayload = other.JsonPayload;
- break;
- case ResultOneofCase.Skipped:
- Skipped = other.Skipped;
- break;
- case ResultOneofCase.JspbPayload:
- JspbPayload = other.JspbPayload;
- break;
- case ResultOneofCase.TextPayload:
- TextPayload = other.TextPayload;
- break;
- }
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ConformanceResponse Clone() {
- return new ConformanceResponse(this);
- }
- /// <summary>Field number for the "parse_error" field.</summary>
- public const int ParseErrorFieldNumber = 1;
- /// <summary>
- /// This string should be set to indicate parsing failed. The string can
- /// provide more information about the parse error if it is available.
- ///
- /// Setting this string does not necessarily mean the testee failed the
- /// test. Some of the test cases are intentionally invalid input.
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string ParseError {
- get { return resultCase_ == ResultOneofCase.ParseError ? (string) result_ : ""; }
- set {
- result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- resultCase_ = ResultOneofCase.ParseError;
- }
- }
- /// <summary>Field number for the "serialize_error" field.</summary>
- public const int SerializeErrorFieldNumber = 6;
- /// <summary>
- /// If the input was successfully parsed but errors occurred when
- /// serializing it to the requested output format, set the error message in
- /// this field.
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string SerializeError {
- get { return resultCase_ == ResultOneofCase.SerializeError ? (string) result_ : ""; }
- set {
- result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- resultCase_ = ResultOneofCase.SerializeError;
- }
- }
- /// <summary>Field number for the "runtime_error" field.</summary>
- public const int RuntimeErrorFieldNumber = 2;
- /// <summary>
- /// This should be set if some other error occurred. This will always
- /// indicate that the test failed. The string can provide more information
- /// about the failure.
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string RuntimeError {
- get { return resultCase_ == ResultOneofCase.RuntimeError ? (string) result_ : ""; }
- set {
- result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- resultCase_ = ResultOneofCase.RuntimeError;
- }
- }
- /// <summary>Field number for the "protobuf_payload" field.</summary>
- public const int ProtobufPayloadFieldNumber = 3;
- /// <summary>
- /// If the input was successfully parsed and the requested output was
- /// protobuf, serialize it to protobuf and set it in this field.
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pb::ByteString ProtobufPayload {
- get { return resultCase_ == ResultOneofCase.ProtobufPayload ? (pb::ByteString) result_ : pb::ByteString.Empty; }
- set {
- result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- resultCase_ = ResultOneofCase.ProtobufPayload;
- }
- }
- /// <summary>Field number for the "json_payload" field.</summary>
- public const int JsonPayloadFieldNumber = 4;
- /// <summary>
- /// If the input was successfully parsed and the requested output was JSON,
- /// serialize to JSON and set it in this field.
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string JsonPayload {
- get { return resultCase_ == ResultOneofCase.JsonPayload ? (string) result_ : ""; }
- set {
- result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- resultCase_ = ResultOneofCase.JsonPayload;
- }
- }
- /// <summary>Field number for the "skipped" field.</summary>
- public const int SkippedFieldNumber = 5;
- /// <summary>
- /// For when the testee skipped the test, likely because a certain feature
- /// wasn't supported, like JSON input/output.
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string Skipped {
- get { return resultCase_ == ResultOneofCase.Skipped ? (string) result_ : ""; }
- set {
- result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- resultCase_ = ResultOneofCase.Skipped;
- }
- }
- /// <summary>Field number for the "jspb_payload" field.</summary>
- public const int JspbPayloadFieldNumber = 7;
- /// <summary>
- /// If the input was successfully parsed and the requested output was JSPB,
- /// serialize to JSPB and set it in this field. JSPB is google internal only
- /// format. Opensource testees can just skip it.
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string JspbPayload {
- get { return resultCase_ == ResultOneofCase.JspbPayload ? (string) result_ : ""; }
- set {
- result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- resultCase_ = ResultOneofCase.JspbPayload;
- }
- }
- /// <summary>Field number for the "text_payload" field.</summary>
- public const int TextPayloadFieldNumber = 8;
- /// <summary>
- /// If the input was successfully parsed and the requested output was
- /// TEXT_FORMAT, serialize to TEXT_FORMAT and set it in this field.
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public string TextPayload {
- get { return resultCase_ == ResultOneofCase.TextPayload ? (string) result_ : ""; }
- set {
- result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
- resultCase_ = ResultOneofCase.TextPayload;
- }
- }
- private object result_;
- /// <summary>Enum of possible cases for the "result" oneof.</summary>
- public enum ResultOneofCase {
- None = 0,
- ParseError = 1,
- SerializeError = 6,
- RuntimeError = 2,
- ProtobufPayload = 3,
- JsonPayload = 4,
- Skipped = 5,
- JspbPayload = 7,
- TextPayload = 8,
- }
- private ResultOneofCase resultCase_ = ResultOneofCase.None;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public ResultOneofCase ResultCase {
- get { return resultCase_; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void ClearResult() {
- resultCase_ = ResultOneofCase.None;
- result_ = null;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as ConformanceResponse);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(ConformanceResponse other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (ParseError != other.ParseError) return false;
- if (SerializeError != other.SerializeError) return false;
- if (RuntimeError != other.RuntimeError) return false;
- if (ProtobufPayload != other.ProtobufPayload) return false;
- if (JsonPayload != other.JsonPayload) return false;
- if (Skipped != other.Skipped) return false;
- if (JspbPayload != other.JspbPayload) return false;
- if (TextPayload != other.TextPayload) return false;
- if (ResultCase != other.ResultCase) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (resultCase_ == ResultOneofCase.ParseError) hash ^= ParseError.GetHashCode();
- if (resultCase_ == ResultOneofCase.SerializeError) hash ^= SerializeError.GetHashCode();
- if (resultCase_ == ResultOneofCase.RuntimeError) hash ^= RuntimeError.GetHashCode();
- if (resultCase_ == ResultOneofCase.ProtobufPayload) hash ^= ProtobufPayload.GetHashCode();
- if (resultCase_ == ResultOneofCase.JsonPayload) hash ^= JsonPayload.GetHashCode();
- if (resultCase_ == ResultOneofCase.Skipped) hash ^= Skipped.GetHashCode();
- if (resultCase_ == ResultOneofCase.JspbPayload) hash ^= JspbPayload.GetHashCode();
- if (resultCase_ == ResultOneofCase.TextPayload) hash ^= TextPayload.GetHashCode();
- hash ^= (int) resultCase_;
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (resultCase_ == ResultOneofCase.ParseError) {
- output.WriteRawTag(10);
- output.WriteString(ParseError);
- }
- if (resultCase_ == ResultOneofCase.RuntimeError) {
- output.WriteRawTag(18);
- output.WriteString(RuntimeError);
- }
- if (resultCase_ == ResultOneofCase.ProtobufPayload) {
- output.WriteRawTag(26);
- output.WriteBytes(ProtobufPayload);
- }
- if (resultCase_ == ResultOneofCase.JsonPayload) {
- output.WriteRawTag(34);
- output.WriteString(JsonPayload);
- }
- if (resultCase_ == ResultOneofCase.Skipped) {
- output.WriteRawTag(42);
- output.WriteString(Skipped);
- }
- if (resultCase_ == ResultOneofCase.SerializeError) {
- output.WriteRawTag(50);
- output.WriteString(SerializeError);
- }
- if (resultCase_ == ResultOneofCase.JspbPayload) {
- output.WriteRawTag(58);
- output.WriteString(JspbPayload);
- }
- if (resultCase_ == ResultOneofCase.TextPayload) {
- output.WriteRawTag(66);
- output.WriteString(TextPayload);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (resultCase_ == ResultOneofCase.ParseError) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(ParseError);
- }
- if (resultCase_ == ResultOneofCase.SerializeError) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(SerializeError);
- }
- if (resultCase_ == ResultOneofCase.RuntimeError) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(RuntimeError);
- }
- if (resultCase_ == ResultOneofCase.ProtobufPayload) {
- size += 1 + pb::CodedOutputStream.ComputeBytesSize(ProtobufPayload);
- }
- if (resultCase_ == ResultOneofCase.JsonPayload) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonPayload);
- }
- if (resultCase_ == ResultOneofCase.Skipped) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Skipped);
- }
- if (resultCase_ == ResultOneofCase.JspbPayload) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(JspbPayload);
- }
- if (resultCase_ == ResultOneofCase.TextPayload) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(TextPayload);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(ConformanceResponse other) {
- if (other == null) {
- return;
- }
- switch (other.ResultCase) {
- case ResultOneofCase.ParseError:
- ParseError = other.ParseError;
- break;
- case ResultOneofCase.SerializeError:
- SerializeError = other.SerializeError;
- break;
- case ResultOneofCase.RuntimeError:
- RuntimeError = other.RuntimeError;
- break;
- case ResultOneofCase.ProtobufPayload:
- ProtobufPayload = other.ProtobufPayload;
- break;
- case ResultOneofCase.JsonPayload:
- JsonPayload = other.JsonPayload;
- break;
- case ResultOneofCase.Skipped:
- Skipped = other.Skipped;
- break;
- case ResultOneofCase.JspbPayload:
- JspbPayload = other.JspbPayload;
- break;
- case ResultOneofCase.TextPayload:
- TextPayload = other.TextPayload;
- break;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10: {
- ParseError = input.ReadString();
- break;
- }
- case 18: {
- RuntimeError = input.ReadString();
- break;
- }
- case 26: {
- ProtobufPayload = input.ReadBytes();
- break;
- }
- case 34: {
- JsonPayload = input.ReadString();
- break;
- }
- case 42: {
- Skipped = input.ReadString();
- break;
- }
- case 50: {
- SerializeError = input.ReadString();
- break;
- }
- case 58: {
- JspbPayload = input.ReadString();
- break;
- }
- case 66: {
- TextPayload = input.ReadString();
- break;
- }
- }
- }
- }
- }
- /// <summary>
- /// Encoding options for jspb format.
- /// </summary>
- public sealed partial class JspbEncodingConfig : pb::IMessage<JspbEncodingConfig> {
- private static readonly pb::MessageParser<JspbEncodingConfig> _parser = new pb::MessageParser<JspbEncodingConfig>(() => new JspbEncodingConfig());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser<JspbEncodingConfig> Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Conformance.ConformanceReflection.Descriptor.MessageTypes[3]; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public JspbEncodingConfig() {
- OnConstruction();
- }
- partial void OnConstruction();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public JspbEncodingConfig(JspbEncodingConfig other) : this() {
- useJspbArrayAnyFormat_ = other.useJspbArrayAnyFormat_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public JspbEncodingConfig Clone() {
- return new JspbEncodingConfig(this);
- }
- /// <summary>Field number for the "use_jspb_array_any_format" field.</summary>
- public const int UseJspbArrayAnyFormatFieldNumber = 1;
- private bool useJspbArrayAnyFormat_;
- /// <summary>
- /// Encode the value field of Any as jspb array if ture, otherwise binary.
- /// </summary>
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool UseJspbArrayAnyFormat {
- get { return useJspbArrayAnyFormat_; }
- set {
- useJspbArrayAnyFormat_ = value;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as JspbEncodingConfig);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(JspbEncodingConfig other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (UseJspbArrayAnyFormat != other.UseJspbArrayAnyFormat) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (UseJspbArrayAnyFormat != false) hash ^= UseJspbArrayAnyFormat.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (UseJspbArrayAnyFormat != false) {
- output.WriteRawTag(8);
- output.WriteBool(UseJspbArrayAnyFormat);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (UseJspbArrayAnyFormat != false) {
- size += 1 + 1;
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(JspbEncodingConfig other) {
- if (other == null) {
- return;
- }
- if (other.UseJspbArrayAnyFormat != false) {
- UseJspbArrayAnyFormat = other.UseJspbArrayAnyFormat;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- UseJspbArrayAnyFormat = input.ReadBool();
- break;
- }
- }
- }
- }
- }
- #endregion
- }
- #endregion Designer generated code
|