Auto-generate files after cl/547610367

pull/13291/head
Protobuf Team Bot 1 year ago
parent 2ace6c7570
commit 4602d346a4
  1. BIN
      csharp/src/Google.Protobuf.Test/testprotos.pb
  2. 105
      csharp/src/Google.Protobuf/Reflection/Descriptor.pb.cs

@ -182,7 +182,7 @@ namespace Google.Protobuf.Reflection {
"dGl2ZV9pbnRfdmFsdWUYBSABKAMSFAoMZG91YmxlX3ZhbHVlGAYgASgBEhQK",
"DHN0cmluZ192YWx1ZRgHIAEoDBIXCg9hZ2dyZWdhdGVfdmFsdWUYCCABKAka",
"MwoITmFtZVBhcnQSEQoJbmFtZV9wYXJ0GAEgAigJEhQKDGlzX2V4dGVuc2lv",
"bhgCIAIoCCLxCAoKRmVhdHVyZVNldBJfCg5maWVsZF9wcmVzZW5jZRgBIAEo",
"bhgCIAIoCCKqCQoKRmVhdHVyZVNldBJfCg5maWVsZF9wcmVzZW5jZRgBIAEo",
"DjIpLmdvb2dsZS5wcm90b2J1Zi5GZWF0dXJlU2V0LkZpZWxkUHJlc2VuY2VC",
"HIgBAZgBBJgBAaIBEAoEMjAyMxIIRVhQTElDSVQSUQoJZW51bV90eXBlGAIg",
"ASgOMiQuZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXQuRW51bVR5cGVCGIgB",
@ -195,33 +195,34 @@ namespace Google.Protobuf.Reflection {
"BSABKA4yKy5nb29nbGUucHJvdG9idWYuRmVhdHVyZVNldC5NZXNzYWdlRW5j",
"b2RpbmdCI4gBAZgBBJgBAaIBFwoEMjAyMxIPTEVOR1RIX1BSRUZJWEVEElkK",
"C2pzb25fZm9ybWF0GAYgASgOMiYuZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVT",
"ZXQuSnNvbkZvcm1hdEIciAEBmAEDmAEGmAEBogENCgQyMDIzEgVBTExPVyJc",
"Cg1GaWVsZFByZXNlbmNlEhoKFkZJRUxEX1BSRVNFTkNFX1VOS05PV04QABIM",
"CghFWFBMSUNJVBABEgwKCElNUExJQ0lUE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3RvYnVmLlJlZmxlY3Rpb24="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
@ -245,7 +246,7 @@ namespace Google.Protobuf.Reflection {
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.ServiceOptions), global::Google.Protobuf.Reflection.ServiceOptions.Parser, new[]{ "Features", "Deprecated", "UninterpretedOption" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.MethodOptions), global::Google.Protobuf.Reflection.MethodOptions.Parser, new[]{ "Deprecated", "IdempotencyLevel", "Features", "UninterpretedOption" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.MethodOptions.Types.IdempotencyLevel) }, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.UninterpretedOption), global::Google.Protobuf.Reflection.UninterpretedOption.Parser, new[]{ "Name", "IdentifierValue", "PositiveIntValue", "NegativeIntValue", "DoubleValue", "StringValue", "AggregateValue" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart), global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart.Parser, new[]{ "NamePart_", "IsExtension" }, null, null, null, null)}),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.FeatureSet), global::Google.Protobuf.Reflection.FeatureSet.Parser, new[]{ "FieldPresence", "EnumType", "RepeatedFieldEncoding", "StringFieldValidation", "MessageEncoding", "JsonFormat" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.FieldPresence), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.EnumType), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.RepeatedFieldEncoding), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.StringFieldValidation), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.JsonFormat) }, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.FeatureSet), global::Google.Protobuf.Reflection.FeatureSet.Parser, new[]{ "FieldPresence", "EnumType", "RepeatedFieldEncoding", "StringFieldValidation", "MessageEncoding", "JsonFormat", "RawFeatures" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.FieldPresence), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.EnumType), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.RepeatedFieldEncoding), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.StringFieldValidation), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.MessageEncoding), typeof(global::Google.Protobuf.Reflection.FeatureSet.Types.JsonFormat) }, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo), global::Google.Protobuf.Reflection.SourceCodeInfo.Parser, new[]{ "Location" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location), global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location.Parser, new[]{ "Path", "Span", "LeadingComments", "TrailingComments", "LeadingDetachedComments" }, null, null, null, null)}),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.GeneratedCodeInfo), global::Google.Protobuf.Reflection.GeneratedCodeInfo.Parser, new[]{ "Annotation" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation), global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation.Parser, new[]{ "Path", "SourceFile", "Begin", "End", "Semantic" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation.Types.Semantic) }, null, null)})
}));
@ -11673,6 +11674,7 @@ namespace Google.Protobuf.Reflection {
stringFieldValidation_ = other.stringFieldValidation_;
messageEncoding_ = other.messageEncoding_;
jsonFormat_ = other.jsonFormat_;
rawFeatures_ = other.rawFeatures_ != null ? other.rawFeatures_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
_extensions = pb::ExtensionSet.Clone(other._extensions);
}
@ -11845,6 +11847,18 @@ namespace Google.Protobuf.Reflection {
_hasBits0 &= ~32;
}
/// <summary>Field number for the "raw_features" field.</summary>
public const int RawFeaturesFieldNumber = 999;
private global::Google.Protobuf.Reflection.FeatureSet rawFeatures_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.Reflection.FeatureSet RawFeatures {
get { return rawFeatures_; }
set {
rawFeatures_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
@ -11866,6 +11880,7 @@ namespace Google.Protobuf.Reflection {
if (StringFieldValidation != other.StringFieldValidation) return false;
if (MessageEncoding != other.MessageEncoding) return false;
if (JsonFormat != other.JsonFormat) return false;
if (!object.Equals(RawFeatures, other.RawFeatures)) return false;
if (!Equals(_extensions, other._extensions)) {
return false;
}
@ -11882,6 +11897,7 @@ namespace Google.Protobuf.Reflection {
if (HasStringFieldValidation) hash ^= StringFieldValidation.GetHashCode();
if (HasMessageEncoding) hash ^= MessageEncoding.GetHashCode();
if (HasJsonFormat) hash ^= JsonFormat.GetHashCode();
if (rawFeatures_ != null) hash ^= RawFeatures.GetHashCode();
if (_extensions != null) {
hash ^= _extensions.GetHashCode();
}
@ -11927,6 +11943,10 @@ namespace Google.Protobuf.Reflection {
output.WriteRawTag(48);
output.WriteEnum((int) JsonFormat);
}
if (rawFeatures_ != null) {
output.WriteRawTag(186, 62);
output.WriteMessage(RawFeatures);
}
if (_extensions != null) {
_extensions.WriteTo(output);
}
@ -11964,6 +11984,10 @@ namespace Google.Protobuf.Reflection {
output.WriteRawTag(48);
output.WriteEnum((int) JsonFormat);
}
if (rawFeatures_ != null) {
output.WriteRawTag(186, 62);
output.WriteMessage(RawFeatures);
}
if (_extensions != null) {
_extensions.WriteTo(ref output);
}
@ -11995,6 +12019,9 @@ namespace Google.Protobuf.Reflection {
if (HasJsonFormat) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) JsonFormat);
}
if (rawFeatures_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(RawFeatures);
}
if (_extensions != null) {
size += _extensions.CalculateSize();
}
@ -12028,6 +12055,12 @@ namespace Google.Protobuf.Reflection {
if (other.HasJsonFormat) {
JsonFormat = other.JsonFormat;
}
if (other.rawFeatures_ != null) {
if (rawFeatures_ == null) {
RawFeatures = new global::Google.Protobuf.Reflection.FeatureSet();
}
RawFeatures.MergeFrom(other.RawFeatures);
}
pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@ -12070,6 +12103,13 @@ namespace Google.Protobuf.Reflection {
JsonFormat = (global::Google.Protobuf.Reflection.FeatureSet.Types.JsonFormat) input.ReadEnum();
break;
}
case 7994: {
if (rawFeatures_ == null) {
RawFeatures = new global::Google.Protobuf.Reflection.FeatureSet();
}
input.ReadMessage(RawFeatures);
break;
}
}
}
#endif
@ -12111,6 +12151,13 @@ namespace Google.Protobuf.Reflection {
JsonFormat = (global::Google.Protobuf.Reflection.FeatureSet.Types.JsonFormat) input.ReadEnum();
break;
}
case 7994: {
if (rawFeatures_ == null) {
RawFeatures = new global::Google.Protobuf.Reflection.FeatureSet();
}
input.ReadMessage(RawFeatures);
break;
}
}
}
}

Loading…
Cancel
Save