Auto-generate files after cl/663040062

pull/17759/head
Protobuf Team Bot 4 months ago
parent 3f908cfff7
commit b2a38a7b97
  1. 92
      csharp/src/Google.Protobuf.Conformance/Conformance.pb.cs

@ -25,34 +25,35 @@ namespace Conformance {
byte[] descriptorData = global::System.Convert.FromBase64String( byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat( string.Concat(
"Ch1jb25mb3JtYW5jZS9jb25mb3JtYW5jZS5wcm90bxILY29uZm9ybWFuY2Ui", "Ch1jb25mb3JtYW5jZS9jb25mb3JtYW5jZS5wcm90bxILY29uZm9ybWFuY2Ui",
"MwoKVGVzdFN0YXR1cxIMCgRuYW1lGAEgASgJEhcKD2ZhaWx1cmVfbWVzc2Fn", "SQoKVGVzdFN0YXR1cxIMCgRuYW1lGAEgASgJEhcKD2ZhaWx1cmVfbWVzc2Fn",
"ZRgCIAEoCSI5CgpGYWlsdXJlU2V0EiUKBHRlc3QYAiADKAsyFy5jb25mb3Jt", "ZRgCIAEoCRIUCgxtYXRjaGVkX25hbWUYAyABKAkiOQoKRmFpbHVyZVNldBIl",
"YW5jZS5UZXN0U3RhdHVzSgQIARACIuMCChJDb25mb3JtYW5jZVJlcXVlc3QS", "CgR0ZXN0GAIgAygLMhcuY29uZm9ybWFuY2UuVGVzdFN0YXR1c0oECAEQAiLj",
"GgoQcHJvdG9idWZfcGF5bG9hZBgBIAEoDEgAEhYKDGpzb25fcGF5bG9hZBgC", "AgoSQ29uZm9ybWFuY2VSZXF1ZXN0EhoKEHByb3RvYnVmX3BheWxvYWQYASAB",
"IAEoCUgAEhYKDGpzcGJfcGF5bG9hZBgHIAEoCUgAEhYKDHRleHRfcGF5bG9h", "KAxIABIWCgxqc29uX3BheWxvYWQYAiABKAlIABIWCgxqc3BiX3BheWxvYWQY",
"ZBgIIAEoCUgAEjgKF3JlcXVlc3RlZF9vdXRwdXRfZm9ybWF0GAMgASgOMhcu", "ByABKAlIABIWCgx0ZXh0X3BheWxvYWQYCCABKAlIABI4ChdyZX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ICC0NvbmZvcm1hbmNlYgZwcm90bzM=")); "bS5nb29nbGUucHJvdG9idWYuY29uZm9ybWFuY2WiAgtDb25mb3JtYW5jZWIG",
"cHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { }, new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Conformance.WireFormat), typeof(global::Conformance.TestCategory), }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Conformance.WireFormat), typeof(global::Conformance.TestCategory), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.TestStatus), global::Conformance.TestStatus.Parser, new[]{ "Name", "FailureMessage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.TestStatus), global::Conformance.TestStatus.Parser, new[]{ "Name", "FailureMessage", "MatchedName" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.FailureSet), global::Conformance.FailureSet.Parser, new[]{ "Test" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.FailureSet), global::Conformance.FailureSet.Parser, new[]{ "Test" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.ConformanceRequest), global::Conformance.ConformanceRequest.Parser, new[]{ "ProtobufPayload", "JsonPayload", "JspbPayload", "TextPayload", "RequestedOutputFormat", "MessageType", "TestCategory", "JspbEncodingOptions", "PrintUnknownFields" }, new[]{ "Payload" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.ConformanceRequest), global::Conformance.ConformanceRequest.Parser, new[]{ "ProtobufPayload", "JsonPayload", "JspbPayload", "TextPayload", "RequestedOutputFormat", "MessageType", "TestCategory", "JspbEncodingOptions", "PrintUnknownFields" }, new[]{ "Payload" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.ConformanceResponse), global::Conformance.ConformanceResponse.Parser, new[]{ "ParseError", "SerializeError", "TimeoutError", "RuntimeError", "ProtobufPayload", "JsonPayload", "Skipped", "JspbPayload", "TextPayload" }, new[]{ "Result" }, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.ConformanceResponse), global::Conformance.ConformanceResponse.Parser, new[]{ "ParseError", "SerializeError", "TimeoutError", "RuntimeError", "ProtobufPayload", "JsonPayload", "Skipped", "JspbPayload", "TextPayload" }, new[]{ "Result" }, null, null, null),
@ -149,6 +150,7 @@ namespace Conformance {
public TestStatus(TestStatus other) : this() { public TestStatus(TestStatus other) : this() {
name_ = other.name_; name_ = other.name_;
failureMessage_ = other.failureMessage_; failureMessage_ = other.failureMessage_;
matchedName_ = other.matchedName_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
} }
@ -182,6 +184,22 @@ namespace Conformance {
} }
} }
/// <summary>Field number for the "matched_name" field.</summary>
public const int MatchedNameFieldNumber = 3;
private string matchedName_ = "";
/// <summary>
/// What an actual test name matched to in a failure list. Can be wildcarded or
/// an exact match without wildcards.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string MatchedName {
get { return matchedName_; }
set {
matchedName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) { public override bool Equals(object other) {
@ -199,6 +217,7 @@ namespace Conformance {
} }
if (Name != other.Name) return false; if (Name != other.Name) return false;
if (FailureMessage != other.FailureMessage) return false; if (FailureMessage != other.FailureMessage) return false;
if (MatchedName != other.MatchedName) return false;
return Equals(_unknownFields, other._unknownFields); return Equals(_unknownFields, other._unknownFields);
} }
@ -208,6 +227,7 @@ namespace Conformance {
int hash = 1; int hash = 1;
if (Name.Length != 0) hash ^= Name.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode();
if (FailureMessage.Length != 0) hash ^= FailureMessage.GetHashCode(); if (FailureMessage.Length != 0) hash ^= FailureMessage.GetHashCode();
if (MatchedName.Length != 0) hash ^= MatchedName.GetHashCode();
if (_unknownFields != null) { if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode(); hash ^= _unknownFields.GetHashCode();
} }
@ -234,6 +254,10 @@ namespace Conformance {
output.WriteRawTag(18); output.WriteRawTag(18);
output.WriteString(FailureMessage); output.WriteString(FailureMessage);
} }
if (MatchedName.Length != 0) {
output.WriteRawTag(26);
output.WriteString(MatchedName);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(output); _unknownFields.WriteTo(output);
} }
@ -252,6 +276,10 @@ namespace Conformance {
output.WriteRawTag(18); output.WriteRawTag(18);
output.WriteString(FailureMessage); output.WriteString(FailureMessage);
} }
if (MatchedName.Length != 0) {
output.WriteRawTag(26);
output.WriteString(MatchedName);
}
if (_unknownFields != null) { if (_unknownFields != null) {
_unknownFields.WriteTo(ref output); _unknownFields.WriteTo(ref output);
} }
@ -268,6 +296,9 @@ namespace Conformance {
if (FailureMessage.Length != 0) { if (FailureMessage.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(FailureMessage); size += 1 + pb::CodedOutputStream.ComputeStringSize(FailureMessage);
} }
if (MatchedName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(MatchedName);
}
if (_unknownFields != null) { if (_unknownFields != null) {
size += _unknownFields.CalculateSize(); size += _unknownFields.CalculateSize();
} }
@ -286,6 +317,9 @@ namespace Conformance {
if (other.FailureMessage.Length != 0) { if (other.FailureMessage.Length != 0) {
FailureMessage = other.FailureMessage; FailureMessage = other.FailureMessage;
} }
if (other.MatchedName.Length != 0) {
MatchedName = other.MatchedName;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
} }
@ -313,6 +347,10 @@ namespace Conformance {
FailureMessage = input.ReadString(); FailureMessage = input.ReadString();
break; break;
} }
case 26: {
MatchedName = input.ReadString();
break;
}
} }
} }
#endif #endif
@ -340,6 +378,10 @@ namespace Conformance {
FailureMessage = input.ReadString(); FailureMessage = input.ReadString();
break; break;
} }
case 26: {
MatchedName = input.ReadString();
break;
}
} }
} }
} }

Loading…
Cancel
Save