Workaround for Mono bug 516379

pull/288/head
Jon Skeet 16 years ago
parent a22663eda9
commit 5cb5d782b0
  1. 18
      src/AddressBook/AddressBookProtos.cs
  2. 6
      src/ProtoGen/MessageGenerator.cs
  3. 6
      src/ProtocolBuffers.Test/TestProtos/UnitTestCSharpOptionsProtoFile.cs
  4. 102
      src/ProtocolBuffers.Test/TestProtos/UnitTestCustomOptionsProtoFile.cs
  5. 6
      src/ProtocolBuffers.Test/TestProtos/UnitTestEmbedOptimizeForProtoFile.cs
  6. 6
      src/ProtocolBuffers.Test/TestProtos/UnitTestImportProtoFile.cs
  7. 36
      src/ProtocolBuffers.Test/TestProtos/UnitTestMessageSetProtoFile.cs
  8. 12
      src/ProtocolBuffers.Test/TestProtos/UnitTestOptimizeForProtoFile.cs
  9. 186
      src/ProtocolBuffers.Test/TestProtos/UnitTestProtoFile.cs
  10. 12
      src/ProtocolBuffers/DescriptorProtos/CSharpOptions.cs
  11. 108
      src/ProtocolBuffers/DescriptorProtos/DescriptorProtoFile.cs

@ -233,11 +233,11 @@ namespace Google.ProtocolBuffers.Examples.AddressBook {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return PhoneNumber.Descriptor; } get { return global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.Descriptor; }
} }
public override PhoneNumber DefaultInstanceForType { public override PhoneNumber DefaultInstanceForType {
get { return PhoneNumber.DefaultInstance; } get { return global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.DefaultInstance; }
} }
public override PhoneNumber BuildPartial() { public override PhoneNumber BuildPartial() {
@ -259,7 +259,7 @@ namespace Google.ProtocolBuffers.Examples.AddressBook {
} }
public override Builder MergeFrom(PhoneNumber other) { public override Builder MergeFrom(PhoneNumber other) {
if (other == PhoneNumber.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.Examples.AddressBook.Person.Types.PhoneNumber.DefaultInstance) return this;
if (other.HasNumber) { if (other.HasNumber) {
Number = other.Number; Number = other.Number;
} }
@ -517,11 +517,11 @@ namespace Google.ProtocolBuffers.Examples.AddressBook {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return Person.Descriptor; } get { return global::Google.ProtocolBuffers.Examples.AddressBook.Person.Descriptor; }
} }
public override Person DefaultInstanceForType { public override Person DefaultInstanceForType {
get { return Person.DefaultInstance; } get { return global::Google.ProtocolBuffers.Examples.AddressBook.Person.DefaultInstance; }
} }
public override Person BuildPartial() { public override Person BuildPartial() {
@ -544,7 +544,7 @@ namespace Google.ProtocolBuffers.Examples.AddressBook {
} }
public override Builder MergeFrom(Person other) { public override Builder MergeFrom(Person other) {
if (other == Person.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.Examples.AddressBook.Person.DefaultInstance) return this;
if (other.HasName) { if (other.HasName) {
Name = other.Name; Name = other.Name;
} }
@ -836,11 +836,11 @@ namespace Google.ProtocolBuffers.Examples.AddressBook {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return AddressBook.Descriptor; } get { return global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook.Descriptor; }
} }
public override AddressBook DefaultInstanceForType { public override AddressBook DefaultInstanceForType {
get { return AddressBook.DefaultInstance; } get { return global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook.DefaultInstance; }
} }
public override AddressBook BuildPartial() { public override AddressBook BuildPartial() {
@ -863,7 +863,7 @@ namespace Google.ProtocolBuffers.Examples.AddressBook {
} }
public override Builder MergeFrom(AddressBook other) { public override Builder MergeFrom(AddressBook other) {
if (other == AddressBook.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.Examples.AddressBook.AddressBook.DefaultInstance) return this;
if (other.person_.Count != 0) { if (other.person_.Count != 0) {
base.AddRange(other.person_, result.person_); base.AddRange(other.person_, result.person_);
} }

@ -349,11 +349,11 @@ namespace Google.ProtocolBuffers.ProtoGen {
writer.WriteLine("}"); writer.WriteLine("}");
writer.WriteLine(); writer.WriteLine();
writer.WriteLine("public override pbd::MessageDescriptor DescriptorForType {"); writer.WriteLine("public override pbd::MessageDescriptor DescriptorForType {");
writer.WriteLine(" get {{ return {0}.Descriptor; }}", ClassName); writer.WriteLine(" get {{ return {0}.Descriptor; }}", FullClassName);
writer.WriteLine("}"); writer.WriteLine("}");
writer.WriteLine(); writer.WriteLine();
writer.WriteLine("public override {0} DefaultInstanceForType {{", ClassName); writer.WriteLine("public override {0} DefaultInstanceForType {{", ClassName);
writer.WriteLine(" get {{ return {0}.DefaultInstance; }}", ClassName); writer.WriteLine(" get {{ return {0}.DefaultInstance; }}", FullClassName);
writer.WriteLine("}"); writer.WriteLine("}");
writer.WriteLine(); writer.WriteLine();
@ -386,7 +386,7 @@ namespace Google.ProtocolBuffers.ProtoGen {
// Optimization: If other is the default instance, we know none of its // Optimization: If other is the default instance, we know none of its
// fields are set so we can skip the merge. // fields are set so we can skip the merge.
writer.Indent(); writer.Indent();
writer.WriteLine("if (other == {0}.DefaultInstance) return this;", ClassName); writer.WriteLine("if (other == {0}.DefaultInstance) return this;", FullClassName);
foreach (FieldDescriptor field in Descriptor.Fields) { foreach (FieldDescriptor field in Descriptor.Fields) {
SourceGenerators.CreateFieldGenerator(field).GenerateMergingCode(writer); SourceGenerators.CreateFieldGenerator(field).GenerateMergingCode(writer);
} }

@ -203,11 +203,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return OptionsMessage.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.OptionsMessage.Descriptor; }
} }
public override OptionsMessage DefaultInstanceForType { public override OptionsMessage DefaultInstanceForType {
get { return OptionsMessage.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.OptionsMessage.DefaultInstance; }
} }
public override OptionsMessage BuildPartial() { public override OptionsMessage BuildPartial() {
@ -229,7 +229,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(OptionsMessage other) { public override Builder MergeFrom(OptionsMessage other) {
if (other == OptionsMessage.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.OptionsMessage.DefaultInstance) return this;
if (other.HasNormal) { if (other.HasNormal) {
Normal = other.Normal; Normal = other.Normal;
} }

@ -513,11 +513,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestMessageWithCustomOptions.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestMessageWithCustomOptions.Descriptor; }
} }
public override TestMessageWithCustomOptions DefaultInstanceForType { public override TestMessageWithCustomOptions DefaultInstanceForType {
get { return TestMessageWithCustomOptions.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestMessageWithCustomOptions.DefaultInstance; }
} }
public override TestMessageWithCustomOptions BuildPartial() { public override TestMessageWithCustomOptions BuildPartial() {
@ -539,7 +539,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestMessageWithCustomOptions other) { public override Builder MergeFrom(TestMessageWithCustomOptions other) {
if (other == TestMessageWithCustomOptions.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestMessageWithCustomOptions.DefaultInstance) return this;
if (other.HasField1) { if (other.HasField1) {
Field1 = other.Field1; Field1 = other.Field1;
} }
@ -712,11 +712,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return CustomOptionFooRequest.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.CustomOptionFooRequest.Descriptor; }
} }
public override CustomOptionFooRequest DefaultInstanceForType { public override CustomOptionFooRequest DefaultInstanceForType {
get { return CustomOptionFooRequest.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.CustomOptionFooRequest.DefaultInstance; }
} }
public override CustomOptionFooRequest BuildPartial() { public override CustomOptionFooRequest BuildPartial() {
@ -738,7 +738,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(CustomOptionFooRequest other) { public override Builder MergeFrom(CustomOptionFooRequest other) {
if (other == CustomOptionFooRequest.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.CustomOptionFooRequest.DefaultInstance) return this;
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
} }
@ -885,11 +885,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return CustomOptionFooResponse.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.CustomOptionFooResponse.Descriptor; }
} }
public override CustomOptionFooResponse DefaultInstanceForType { public override CustomOptionFooResponse DefaultInstanceForType {
get { return CustomOptionFooResponse.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.CustomOptionFooResponse.DefaultInstance; }
} }
public override CustomOptionFooResponse BuildPartial() { public override CustomOptionFooResponse BuildPartial() {
@ -911,7 +911,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(CustomOptionFooResponse other) { public override Builder MergeFrom(CustomOptionFooResponse other) {
if (other == CustomOptionFooResponse.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.CustomOptionFooResponse.DefaultInstance) return this;
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
} }
@ -1068,11 +1068,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return DummyMessageContainingEnum.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.DummyMessageContainingEnum.Descriptor; }
} }
public override DummyMessageContainingEnum DefaultInstanceForType { public override DummyMessageContainingEnum DefaultInstanceForType {
get { return DummyMessageContainingEnum.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.DummyMessageContainingEnum.DefaultInstance; }
} }
public override DummyMessageContainingEnum BuildPartial() { public override DummyMessageContainingEnum BuildPartial() {
@ -1094,7 +1094,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(DummyMessageContainingEnum other) { public override Builder MergeFrom(DummyMessageContainingEnum other) {
if (other == DummyMessageContainingEnum.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.DummyMessageContainingEnum.DefaultInstance) return this;
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
} }
@ -1241,11 +1241,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return DummyMessageInvalidAsOptionType.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.DummyMessageInvalidAsOptionType.Descriptor; }
} }
public override DummyMessageInvalidAsOptionType DefaultInstanceForType { public override DummyMessageInvalidAsOptionType DefaultInstanceForType {
get { return DummyMessageInvalidAsOptionType.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.DummyMessageInvalidAsOptionType.DefaultInstance; }
} }
public override DummyMessageInvalidAsOptionType BuildPartial() { public override DummyMessageInvalidAsOptionType BuildPartial() {
@ -1267,7 +1267,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(DummyMessageInvalidAsOptionType other) { public override Builder MergeFrom(DummyMessageInvalidAsOptionType other) {
if (other == DummyMessageInvalidAsOptionType.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.DummyMessageInvalidAsOptionType.DefaultInstance) return this;
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
} }
@ -1414,11 +1414,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return CustomOptionMinIntegerValues.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.CustomOptionMinIntegerValues.Descriptor; }
} }
public override CustomOptionMinIntegerValues DefaultInstanceForType { public override CustomOptionMinIntegerValues DefaultInstanceForType {
get { return CustomOptionMinIntegerValues.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.CustomOptionMinIntegerValues.DefaultInstance; }
} }
public override CustomOptionMinIntegerValues BuildPartial() { public override CustomOptionMinIntegerValues BuildPartial() {
@ -1440,7 +1440,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(CustomOptionMinIntegerValues other) { public override Builder MergeFrom(CustomOptionMinIntegerValues other) {
if (other == CustomOptionMinIntegerValues.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.CustomOptionMinIntegerValues.DefaultInstance) return this;
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
} }
@ -1587,11 +1587,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return CustomOptionMaxIntegerValues.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.CustomOptionMaxIntegerValues.Descriptor; }
} }
public override CustomOptionMaxIntegerValues DefaultInstanceForType { public override CustomOptionMaxIntegerValues DefaultInstanceForType {
get { return CustomOptionMaxIntegerValues.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.CustomOptionMaxIntegerValues.DefaultInstance; }
} }
public override CustomOptionMaxIntegerValues BuildPartial() { public override CustomOptionMaxIntegerValues BuildPartial() {
@ -1613,7 +1613,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(CustomOptionMaxIntegerValues other) { public override Builder MergeFrom(CustomOptionMaxIntegerValues other) {
if (other == CustomOptionMaxIntegerValues.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.CustomOptionMaxIntegerValues.DefaultInstance) return this;
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
} }
@ -1760,11 +1760,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return CustomOptionOtherValues.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.CustomOptionOtherValues.Descriptor; }
} }
public override CustomOptionOtherValues DefaultInstanceForType { public override CustomOptionOtherValues DefaultInstanceForType {
get { return CustomOptionOtherValues.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.CustomOptionOtherValues.DefaultInstance; }
} }
public override CustomOptionOtherValues BuildPartial() { public override CustomOptionOtherValues BuildPartial() {
@ -1786,7 +1786,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(CustomOptionOtherValues other) { public override Builder MergeFrom(CustomOptionOtherValues other) {
if (other == CustomOptionOtherValues.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.CustomOptionOtherValues.DefaultInstance) return this;
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
} }
@ -1933,11 +1933,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return SettingRealsFromPositiveInts.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.SettingRealsFromPositiveInts.Descriptor; }
} }
public override SettingRealsFromPositiveInts DefaultInstanceForType { public override SettingRealsFromPositiveInts DefaultInstanceForType {
get { return SettingRealsFromPositiveInts.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.SettingRealsFromPositiveInts.DefaultInstance; }
} }
public override SettingRealsFromPositiveInts BuildPartial() { public override SettingRealsFromPositiveInts BuildPartial() {
@ -1959,7 +1959,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(SettingRealsFromPositiveInts other) { public override Builder MergeFrom(SettingRealsFromPositiveInts other) {
if (other == SettingRealsFromPositiveInts.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.SettingRealsFromPositiveInts.DefaultInstance) return this;
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
} }
@ -2106,11 +2106,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return SettingRealsFromNegativeInts.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.SettingRealsFromNegativeInts.Descriptor; }
} }
public override SettingRealsFromNegativeInts DefaultInstanceForType { public override SettingRealsFromNegativeInts DefaultInstanceForType {
get { return SettingRealsFromNegativeInts.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.SettingRealsFromNegativeInts.DefaultInstance; }
} }
public override SettingRealsFromNegativeInts BuildPartial() { public override SettingRealsFromNegativeInts BuildPartial() {
@ -2132,7 +2132,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(SettingRealsFromNegativeInts other) { public override Builder MergeFrom(SettingRealsFromNegativeInts other) {
if (other == SettingRealsFromNegativeInts.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.SettingRealsFromNegativeInts.DefaultInstance) return this;
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
} }
@ -2299,11 +2299,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return ComplexOptionType1.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.ComplexOptionType1.Descriptor; }
} }
public override ComplexOptionType1 DefaultInstanceForType { public override ComplexOptionType1 DefaultInstanceForType {
get { return ComplexOptionType1.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.ComplexOptionType1.DefaultInstance; }
} }
public override ComplexOptionType1 BuildPartial() { public override ComplexOptionType1 BuildPartial() {
@ -2325,7 +2325,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(ComplexOptionType1 other) { public override Builder MergeFrom(ComplexOptionType1 other) {
if (other == ComplexOptionType1.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.ComplexOptionType1.DefaultInstance) return this;
if (other.HasFoo) { if (other.HasFoo) {
Foo = other.Foo; Foo = other.Foo;
} }
@ -2540,11 +2540,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return ComplexOptionType4.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.ComplexOptionType2.Types.ComplexOptionType4.Descriptor; }
} }
public override ComplexOptionType4 DefaultInstanceForType { public override ComplexOptionType4 DefaultInstanceForType {
get { return ComplexOptionType4.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.ComplexOptionType2.Types.ComplexOptionType4.DefaultInstance; }
} }
public override ComplexOptionType4 BuildPartial() { public override ComplexOptionType4 BuildPartial() {
@ -2566,7 +2566,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(ComplexOptionType4 other) { public override Builder MergeFrom(ComplexOptionType4 other) {
if (other == ComplexOptionType4.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.ComplexOptionType2.Types.ComplexOptionType4.DefaultInstance) return this;
if (other.HasWaldo) { if (other.HasWaldo) {
Waldo = other.Waldo; Waldo = other.Waldo;
} }
@ -2774,11 +2774,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return ComplexOptionType2.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.ComplexOptionType2.Descriptor; }
} }
public override ComplexOptionType2 DefaultInstanceForType { public override ComplexOptionType2 DefaultInstanceForType {
get { return ComplexOptionType2.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.ComplexOptionType2.DefaultInstance; }
} }
public override ComplexOptionType2 BuildPartial() { public override ComplexOptionType2 BuildPartial() {
@ -2800,7 +2800,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(ComplexOptionType2 other) { public override Builder MergeFrom(ComplexOptionType2 other) {
if (other == ComplexOptionType2.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.ComplexOptionType2.DefaultInstance) return this;
if (other.HasBar) { if (other.HasBar) {
MergeBar(other.Bar); MergeBar(other.Bar);
} }
@ -3109,11 +3109,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return ComplexOptionType5.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.ComplexOptionType3.Types.ComplexOptionType5.Descriptor; }
} }
public override ComplexOptionType5 DefaultInstanceForType { public override ComplexOptionType5 DefaultInstanceForType {
get { return ComplexOptionType5.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.ComplexOptionType3.Types.ComplexOptionType5.DefaultInstance; }
} }
public override ComplexOptionType5 BuildPartial() { public override ComplexOptionType5 BuildPartial() {
@ -3135,7 +3135,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(ComplexOptionType5 other) { public override Builder MergeFrom(ComplexOptionType5 other) {
if (other == ComplexOptionType5.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.ComplexOptionType3.Types.ComplexOptionType5.DefaultInstance) return this;
if (other.HasPlugh) { if (other.HasPlugh) {
Plugh = other.Plugh; Plugh = other.Plugh;
} }
@ -3320,11 +3320,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return ComplexOptionType3.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.ComplexOptionType3.Descriptor; }
} }
public override ComplexOptionType3 DefaultInstanceForType { public override ComplexOptionType3 DefaultInstanceForType {
get { return ComplexOptionType3.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.ComplexOptionType3.DefaultInstance; }
} }
public override ComplexOptionType3 BuildPartial() { public override ComplexOptionType3 BuildPartial() {
@ -3346,7 +3346,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(ComplexOptionType3 other) { public override Builder MergeFrom(ComplexOptionType3 other) {
if (other == ComplexOptionType3.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.ComplexOptionType3.DefaultInstance) return this;
if (other.HasQux) { if (other.HasQux) {
Qux = other.Qux; Qux = other.Qux;
} }
@ -3582,11 +3582,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return ComplexOpt6.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.ComplexOpt6.Descriptor; }
} }
public override ComplexOpt6 DefaultInstanceForType { public override ComplexOpt6 DefaultInstanceForType {
get { return ComplexOpt6.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.ComplexOpt6.DefaultInstance; }
} }
public override ComplexOpt6 BuildPartial() { public override ComplexOpt6 BuildPartial() {
@ -3608,7 +3608,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(ComplexOpt6 other) { public override Builder MergeFrom(ComplexOpt6 other) {
if (other == ComplexOpt6.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.ComplexOpt6.DefaultInstance) return this;
if (other.HasXyzzy) { if (other.HasXyzzy) {
Xyzzy = other.Xyzzy; Xyzzy = other.Xyzzy;
} }
@ -3780,11 +3780,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return VariousComplexOptions.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.VariousComplexOptions.Descriptor; }
} }
public override VariousComplexOptions DefaultInstanceForType { public override VariousComplexOptions DefaultInstanceForType {
get { return VariousComplexOptions.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.VariousComplexOptions.DefaultInstance; }
} }
public override VariousComplexOptions BuildPartial() { public override VariousComplexOptions BuildPartial() {
@ -3806,7 +3806,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(VariousComplexOptions other) { public override Builder MergeFrom(VariousComplexOptions other) {
if (other == VariousComplexOptions.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.VariousComplexOptions.DefaultInstance) return this;
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
} }

@ -199,11 +199,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestEmbedOptimizedForSize.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestEmbedOptimizedForSize.Descriptor; }
} }
public override TestEmbedOptimizedForSize DefaultInstanceForType { public override TestEmbedOptimizedForSize DefaultInstanceForType {
get { return TestEmbedOptimizedForSize.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestEmbedOptimizedForSize.DefaultInstance; }
} }
public override TestEmbedOptimizedForSize BuildPartial() { public override TestEmbedOptimizedForSize BuildPartial() {
@ -226,7 +226,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestEmbedOptimizedForSize other) { public override Builder MergeFrom(TestEmbedOptimizedForSize other) {
if (other == TestEmbedOptimizedForSize.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestEmbedOptimizedForSize.DefaultInstance) return this;
if (other.HasOptionalMessage) { if (other.HasOptionalMessage) {
MergeOptionalMessage(other.OptionalMessage); MergeOptionalMessage(other.OptionalMessage);
} }

@ -180,11 +180,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return ImportMessage.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.ImportMessage.Descriptor; }
} }
public override ImportMessage DefaultInstanceForType { public override ImportMessage DefaultInstanceForType {
get { return ImportMessage.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.ImportMessage.DefaultInstance; }
} }
public override ImportMessage BuildPartial() { public override ImportMessage BuildPartial() {
@ -206,7 +206,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(ImportMessage other) { public override Builder MergeFrom(ImportMessage other) {
if (other == ImportMessage.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.ImportMessage.DefaultInstance) return this;
if (other.HasD) { if (other.HasD) {
D = other.D; D = other.D;
} }

@ -202,11 +202,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestMessageSet.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestMessageSet.Descriptor; }
} }
public override TestMessageSet DefaultInstanceForType { public override TestMessageSet DefaultInstanceForType {
get { return TestMessageSet.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestMessageSet.DefaultInstance; }
} }
public override TestMessageSet BuildPartial() { public override TestMessageSet BuildPartial() {
@ -228,7 +228,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestMessageSet other) { public override Builder MergeFrom(TestMessageSet other) {
if (other == TestMessageSet.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestMessageSet.DefaultInstance) return this;
this.MergeExtensionFields(other); this.MergeExtensionFields(other);
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
@ -392,11 +392,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestMessageSetContainer.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestMessageSetContainer.Descriptor; }
} }
public override TestMessageSetContainer DefaultInstanceForType { public override TestMessageSetContainer DefaultInstanceForType {
get { return TestMessageSetContainer.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestMessageSetContainer.DefaultInstance; }
} }
public override TestMessageSetContainer BuildPartial() { public override TestMessageSetContainer BuildPartial() {
@ -418,7 +418,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestMessageSetContainer other) { public override Builder MergeFrom(TestMessageSetContainer other) {
if (other == TestMessageSetContainer.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestMessageSetContainer.DefaultInstance) return this;
if (other.HasMessageSet) { if (other.HasMessageSet) {
MergeMessageSet(other.MessageSet); MergeMessageSet(other.MessageSet);
} }
@ -631,11 +631,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestMessageSetExtension1.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestMessageSetExtension1.Descriptor; }
} }
public override TestMessageSetExtension1 DefaultInstanceForType { public override TestMessageSetExtension1 DefaultInstanceForType {
get { return TestMessageSetExtension1.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestMessageSetExtension1.DefaultInstance; }
} }
public override TestMessageSetExtension1 BuildPartial() { public override TestMessageSetExtension1 BuildPartial() {
@ -657,7 +657,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestMessageSetExtension1 other) { public override Builder MergeFrom(TestMessageSetExtension1 other) {
if (other == TestMessageSetExtension1.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestMessageSetExtension1.DefaultInstance) return this;
if (other.HasI) { if (other.HasI) {
I = other.I; I = other.I;
} }
@ -847,11 +847,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestMessageSetExtension2.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestMessageSetExtension2.Descriptor; }
} }
public override TestMessageSetExtension2 DefaultInstanceForType { public override TestMessageSetExtension2 DefaultInstanceForType {
get { return TestMessageSetExtension2.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestMessageSetExtension2.DefaultInstance; }
} }
public override TestMessageSetExtension2 BuildPartial() { public override TestMessageSetExtension2 BuildPartial() {
@ -873,7 +873,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestMessageSetExtension2 other) { public override Builder MergeFrom(TestMessageSetExtension2 other) {
if (other == TestMessageSetExtension2.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestMessageSetExtension2.DefaultInstance) return this;
if (other.HasStr) { if (other.HasStr) {
Str = other.Str; Str = other.Str;
} }
@ -1104,11 +1104,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return Item.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.RawMessageSet.Types.Item.Descriptor; }
} }
public override Item DefaultInstanceForType { public override Item DefaultInstanceForType {
get { return Item.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.RawMessageSet.Types.Item.DefaultInstance; }
} }
public override Item BuildPartial() { public override Item BuildPartial() {
@ -1130,7 +1130,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(Item other) { public override Builder MergeFrom(Item other) {
if (other == Item.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.RawMessageSet.Types.Item.DefaultInstance) return this;
if (other.HasTypeId) { if (other.HasTypeId) {
TypeId = other.TypeId; TypeId = other.TypeId;
} }
@ -1327,11 +1327,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return RawMessageSet.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.RawMessageSet.Descriptor; }
} }
public override RawMessageSet DefaultInstanceForType { public override RawMessageSet DefaultInstanceForType {
get { return RawMessageSet.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.RawMessageSet.DefaultInstance; }
} }
public override RawMessageSet BuildPartial() { public override RawMessageSet BuildPartial() {
@ -1354,7 +1354,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(RawMessageSet other) { public override Builder MergeFrom(RawMessageSet other) {
if (other == RawMessageSet.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.RawMessageSet.DefaultInstance) return this;
if (other.item_.Count != 0) { if (other.item_.Count != 0) {
base.AddRange(other.item_, result.item_); base.AddRange(other.item_, result.item_);
} }

@ -181,11 +181,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestOptimizedForSize.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestOptimizedForSize.Descriptor; }
} }
public override TestOptimizedForSize DefaultInstanceForType { public override TestOptimizedForSize DefaultInstanceForType {
get { return TestOptimizedForSize.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestOptimizedForSize.DefaultInstance; }
} }
public override TestOptimizedForSize BuildPartial() { public override TestOptimizedForSize BuildPartial() {
@ -348,11 +348,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestRequiredOptimizedForSize.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestRequiredOptimizedForSize.Descriptor; }
} }
public override TestRequiredOptimizedForSize DefaultInstanceForType { public override TestRequiredOptimizedForSize DefaultInstanceForType {
get { return TestRequiredOptimizedForSize.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestRequiredOptimizedForSize.DefaultInstance; }
} }
public override TestRequiredOptimizedForSize BuildPartial() { public override TestRequiredOptimizedForSize BuildPartial() {
@ -479,11 +479,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestOptionalOptimizedForSize.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestOptionalOptimizedForSize.Descriptor; }
} }
public override TestOptionalOptimizedForSize DefaultInstanceForType { public override TestOptionalOptimizedForSize DefaultInstanceForType {
get { return TestOptionalOptimizedForSize.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestOptionalOptimizedForSize.DefaultInstance; }
} }
public override TestOptionalOptimizedForSize BuildPartial() { public override TestOptionalOptimizedForSize BuildPartial() {

@ -1070,11 +1070,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return NestedMessage.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestAllTypes.Types.NestedMessage.Descriptor; }
} }
public override NestedMessage DefaultInstanceForType { public override NestedMessage DefaultInstanceForType {
get { return NestedMessage.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestAllTypes.Types.NestedMessage.DefaultInstance; }
} }
public override NestedMessage BuildPartial() { public override NestedMessage BuildPartial() {
@ -1096,7 +1096,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(NestedMessage other) { public override Builder MergeFrom(NestedMessage other) {
if (other == NestedMessage.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestAllTypes.Types.NestedMessage.DefaultInstance) return this;
if (other.HasBb) { if (other.HasBb) {
Bb = other.Bb; Bb = other.Bb;
} }
@ -1284,11 +1284,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return OptionalGroup.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestAllTypes.Types.OptionalGroup.Descriptor; }
} }
public override OptionalGroup DefaultInstanceForType { public override OptionalGroup DefaultInstanceForType {
get { return OptionalGroup.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestAllTypes.Types.OptionalGroup.DefaultInstance; }
} }
public override OptionalGroup BuildPartial() { public override OptionalGroup BuildPartial() {
@ -1310,7 +1310,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(OptionalGroup other) { public override Builder MergeFrom(OptionalGroup other) {
if (other == OptionalGroup.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestAllTypes.Types.OptionalGroup.DefaultInstance) return this;
if (other.HasA) { if (other.HasA) {
A = other.A; A = other.A;
} }
@ -1498,11 +1498,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return RepeatedGroup.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestAllTypes.Types.RepeatedGroup.Descriptor; }
} }
public override RepeatedGroup DefaultInstanceForType { public override RepeatedGroup DefaultInstanceForType {
get { return RepeatedGroup.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestAllTypes.Types.RepeatedGroup.DefaultInstance; }
} }
public override RepeatedGroup BuildPartial() { public override RepeatedGroup BuildPartial() {
@ -1524,7 +1524,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(RepeatedGroup other) { public override Builder MergeFrom(RepeatedGroup other) {
if (other == RepeatedGroup.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestAllTypes.Types.RepeatedGroup.DefaultInstance) return this;
if (other.HasA) { if (other.HasA) {
A = other.A; A = other.A;
} }
@ -2961,11 +2961,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestAllTypes.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestAllTypes.Descriptor; }
} }
public override TestAllTypes DefaultInstanceForType { public override TestAllTypes DefaultInstanceForType {
get { return TestAllTypes.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestAllTypes.DefaultInstance; }
} }
public override TestAllTypes BuildPartial() { public override TestAllTypes BuildPartial() {
@ -3011,7 +3011,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestAllTypes other) { public override Builder MergeFrom(TestAllTypes other) {
if (other == TestAllTypes.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestAllTypes.DefaultInstance) return this;
if (other.HasOptionalInt32) { if (other.HasOptionalInt32) {
OptionalInt32 = other.OptionalInt32; OptionalInt32 = other.OptionalInt32;
} }
@ -5338,11 +5338,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return ForeignMessage.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.ForeignMessage.Descriptor; }
} }
public override ForeignMessage DefaultInstanceForType { public override ForeignMessage DefaultInstanceForType {
get { return ForeignMessage.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.ForeignMessage.DefaultInstance; }
} }
public override ForeignMessage BuildPartial() { public override ForeignMessage BuildPartial() {
@ -5364,7 +5364,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(ForeignMessage other) { public override Builder MergeFrom(ForeignMessage other) {
if (other == ForeignMessage.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.ForeignMessage.DefaultInstance) return this;
if (other.HasC) { if (other.HasC) {
C = other.C; C = other.C;
} }
@ -5540,11 +5540,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestAllExtensions.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestAllExtensions.Descriptor; }
} }
public override TestAllExtensions DefaultInstanceForType { public override TestAllExtensions DefaultInstanceForType {
get { return TestAllExtensions.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestAllExtensions.DefaultInstance; }
} }
public override TestAllExtensions BuildPartial() { public override TestAllExtensions BuildPartial() {
@ -5566,7 +5566,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestAllExtensions other) { public override Builder MergeFrom(TestAllExtensions other) {
if (other == TestAllExtensions.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestAllExtensions.DefaultInstance) return this;
this.MergeExtensionFields(other); this.MergeExtensionFields(other);
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
@ -5730,11 +5730,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return OptionalGroup_extension.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.OptionalGroup_extension.Descriptor; }
} }
public override OptionalGroup_extension DefaultInstanceForType { public override OptionalGroup_extension DefaultInstanceForType {
get { return OptionalGroup_extension.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.OptionalGroup_extension.DefaultInstance; }
} }
public override OptionalGroup_extension BuildPartial() { public override OptionalGroup_extension BuildPartial() {
@ -5756,7 +5756,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(OptionalGroup_extension other) { public override Builder MergeFrom(OptionalGroup_extension other) {
if (other == OptionalGroup_extension.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.OptionalGroup_extension.DefaultInstance) return this;
if (other.HasA) { if (other.HasA) {
A = other.A; A = other.A;
} }
@ -5944,11 +5944,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return RepeatedGroup_extension.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.RepeatedGroup_extension.Descriptor; }
} }
public override RepeatedGroup_extension DefaultInstanceForType { public override RepeatedGroup_extension DefaultInstanceForType {
get { return RepeatedGroup_extension.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.RepeatedGroup_extension.DefaultInstance; }
} }
public override RepeatedGroup_extension BuildPartial() { public override RepeatedGroup_extension BuildPartial() {
@ -5970,7 +5970,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(RepeatedGroup_extension other) { public override Builder MergeFrom(RepeatedGroup_extension other) {
if (other == RepeatedGroup_extension.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.RepeatedGroup_extension.DefaultInstance) return this;
if (other.HasA) { if (other.HasA) {
A = other.A; A = other.A;
} }
@ -6677,11 +6677,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestRequired.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestRequired.Descriptor; }
} }
public override TestRequired DefaultInstanceForType { public override TestRequired DefaultInstanceForType {
get { return TestRequired.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestRequired.DefaultInstance; }
} }
public override TestRequired BuildPartial() { public override TestRequired BuildPartial() {
@ -6703,7 +6703,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestRequired other) { public override Builder MergeFrom(TestRequired other) {
if (other == TestRequired.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestRequired.DefaultInstance) return this;
if (other.HasA) { if (other.HasA) {
A = other.A; A = other.A;
} }
@ -7731,11 +7731,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestRequiredForeign.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestRequiredForeign.Descriptor; }
} }
public override TestRequiredForeign DefaultInstanceForType { public override TestRequiredForeign DefaultInstanceForType {
get { return TestRequiredForeign.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestRequiredForeign.DefaultInstance; }
} }
public override TestRequiredForeign BuildPartial() { public override TestRequiredForeign BuildPartial() {
@ -7758,7 +7758,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestRequiredForeign other) { public override Builder MergeFrom(TestRequiredForeign other) {
if (other == TestRequiredForeign.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestRequiredForeign.DefaultInstance) return this;
if (other.HasOptionalMessage) { if (other.HasOptionalMessage) {
MergeOptionalMessage(other.OptionalMessage); MergeOptionalMessage(other.OptionalMessage);
} }
@ -8041,11 +8041,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestForeignNested.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestForeignNested.Descriptor; }
} }
public override TestForeignNested DefaultInstanceForType { public override TestForeignNested DefaultInstanceForType {
get { return TestForeignNested.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestForeignNested.DefaultInstance; }
} }
public override TestForeignNested BuildPartial() { public override TestForeignNested BuildPartial() {
@ -8067,7 +8067,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestForeignNested other) { public override Builder MergeFrom(TestForeignNested other) {
if (other == TestForeignNested.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestForeignNested.DefaultInstance) return this;
if (other.HasForeignNested) { if (other.HasForeignNested) {
MergeForeignNested(other.ForeignNested); MergeForeignNested(other.ForeignNested);
} }
@ -8262,11 +8262,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestEmptyMessage.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestEmptyMessage.Descriptor; }
} }
public override TestEmptyMessage DefaultInstanceForType { public override TestEmptyMessage DefaultInstanceForType {
get { return TestEmptyMessage.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestEmptyMessage.DefaultInstance; }
} }
public override TestEmptyMessage BuildPartial() { public override TestEmptyMessage BuildPartial() {
@ -8288,7 +8288,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestEmptyMessage other) { public override Builder MergeFrom(TestEmptyMessage other) {
if (other == TestEmptyMessage.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestEmptyMessage.DefaultInstance) return this;
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
} }
@ -8439,11 +8439,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestEmptyMessageWithExtensions.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestEmptyMessageWithExtensions.Descriptor; }
} }
public override TestEmptyMessageWithExtensions DefaultInstanceForType { public override TestEmptyMessageWithExtensions DefaultInstanceForType {
get { return TestEmptyMessageWithExtensions.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestEmptyMessageWithExtensions.DefaultInstance; }
} }
public override TestEmptyMessageWithExtensions BuildPartial() { public override TestEmptyMessageWithExtensions BuildPartial() {
@ -8465,7 +8465,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestEmptyMessageWithExtensions other) { public override Builder MergeFrom(TestEmptyMessageWithExtensions other) {
if (other == TestEmptyMessageWithExtensions.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestEmptyMessageWithExtensions.DefaultInstance) return this;
this.MergeExtensionFields(other); this.MergeExtensionFields(other);
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
@ -8645,11 +8645,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestReallyLargeTagNumber.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestReallyLargeTagNumber.Descriptor; }
} }
public override TestReallyLargeTagNumber DefaultInstanceForType { public override TestReallyLargeTagNumber DefaultInstanceForType {
get { return TestReallyLargeTagNumber.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestReallyLargeTagNumber.DefaultInstance; }
} }
public override TestReallyLargeTagNumber BuildPartial() { public override TestReallyLargeTagNumber BuildPartial() {
@ -8671,7 +8671,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestReallyLargeTagNumber other) { public override Builder MergeFrom(TestReallyLargeTagNumber other) {
if (other == TestReallyLargeTagNumber.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestReallyLargeTagNumber.DefaultInstance) return this;
if (other.HasA) { if (other.HasA) {
A = other.A; A = other.A;
} }
@ -8900,11 +8900,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestRecursiveMessage.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestRecursiveMessage.Descriptor; }
} }
public override TestRecursiveMessage DefaultInstanceForType { public override TestRecursiveMessage DefaultInstanceForType {
get { return TestRecursiveMessage.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestRecursiveMessage.DefaultInstance; }
} }
public override TestRecursiveMessage BuildPartial() { public override TestRecursiveMessage BuildPartial() {
@ -8926,7 +8926,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestRecursiveMessage other) { public override Builder MergeFrom(TestRecursiveMessage other) {
if (other == TestRecursiveMessage.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestRecursiveMessage.DefaultInstance) return this;
if (other.HasA) { if (other.HasA) {
MergeA(other.A); MergeA(other.A);
} }
@ -9162,11 +9162,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestMutualRecursionA.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestMutualRecursionA.Descriptor; }
} }
public override TestMutualRecursionA DefaultInstanceForType { public override TestMutualRecursionA DefaultInstanceForType {
get { return TestMutualRecursionA.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestMutualRecursionA.DefaultInstance; }
} }
public override TestMutualRecursionA BuildPartial() { public override TestMutualRecursionA BuildPartial() {
@ -9188,7 +9188,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestMutualRecursionA other) { public override Builder MergeFrom(TestMutualRecursionA other) {
if (other == TestMutualRecursionA.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestMutualRecursionA.DefaultInstance) return this;
if (other.HasBb) { if (other.HasBb) {
MergeBb(other.Bb); MergeBb(other.Bb);
} }
@ -9415,11 +9415,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestMutualRecursionB.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestMutualRecursionB.Descriptor; }
} }
public override TestMutualRecursionB DefaultInstanceForType { public override TestMutualRecursionB DefaultInstanceForType {
get { return TestMutualRecursionB.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestMutualRecursionB.DefaultInstance; }
} }
public override TestMutualRecursionB BuildPartial() { public override TestMutualRecursionB BuildPartial() {
@ -9441,7 +9441,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestMutualRecursionB other) { public override Builder MergeFrom(TestMutualRecursionB other) {
if (other == TestMutualRecursionB.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestMutualRecursionB.DefaultInstance) return this;
if (other.HasA) { if (other.HasA) {
MergeA(other.A); MergeA(other.A);
} }
@ -9701,11 +9701,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return Foo.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestDupFieldNumber.Types.Foo.Descriptor; }
} }
public override Foo DefaultInstanceForType { public override Foo DefaultInstanceForType {
get { return Foo.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestDupFieldNumber.Types.Foo.DefaultInstance; }
} }
public override Foo BuildPartial() { public override Foo BuildPartial() {
@ -9727,7 +9727,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(Foo other) { public override Builder MergeFrom(Foo other) {
if (other == Foo.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestDupFieldNumber.Types.Foo.DefaultInstance) return this;
if (other.HasA) { if (other.HasA) {
A = other.A; A = other.A;
} }
@ -9915,11 +9915,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return Bar.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestDupFieldNumber.Types.Bar.Descriptor; }
} }
public override Bar DefaultInstanceForType { public override Bar DefaultInstanceForType {
get { return Bar.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestDupFieldNumber.Types.Bar.DefaultInstance; }
} }
public override Bar BuildPartial() { public override Bar BuildPartial() {
@ -9941,7 +9941,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(Bar other) { public override Builder MergeFrom(Bar other) {
if (other == Bar.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestDupFieldNumber.Types.Bar.DefaultInstance) return this;
if (other.HasA) { if (other.HasA) {
A = other.A; A = other.A;
} }
@ -10142,11 +10142,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestDupFieldNumber.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestDupFieldNumber.Descriptor; }
} }
public override TestDupFieldNumber DefaultInstanceForType { public override TestDupFieldNumber DefaultInstanceForType {
get { return TestDupFieldNumber.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestDupFieldNumber.DefaultInstance; }
} }
public override TestDupFieldNumber BuildPartial() { public override TestDupFieldNumber BuildPartial() {
@ -10168,7 +10168,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestDupFieldNumber other) { public override Builder MergeFrom(TestDupFieldNumber other) {
if (other == TestDupFieldNumber.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestDupFieldNumber.DefaultInstance) return this;
if (other.HasA) { if (other.HasA) {
A = other.A; A = other.A;
} }
@ -10503,11 +10503,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return NestedMessage.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestNestedMessageHasBits.Types.NestedMessage.Descriptor; }
} }
public override NestedMessage DefaultInstanceForType { public override NestedMessage DefaultInstanceForType {
get { return NestedMessage.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestNestedMessageHasBits.Types.NestedMessage.DefaultInstance; }
} }
public override NestedMessage BuildPartial() { public override NestedMessage BuildPartial() {
@ -10531,7 +10531,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(NestedMessage other) { public override Builder MergeFrom(NestedMessage other) {
if (other == NestedMessage.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestNestedMessageHasBits.Types.NestedMessage.DefaultInstance) return this;
if (other.nestedmessageRepeatedInt32_.Count != 0) { if (other.nestedmessageRepeatedInt32_.Count != 0) {
base.AddRange(other.nestedmessageRepeatedInt32_, result.nestedmessageRepeatedInt32_); base.AddRange(other.nestedmessageRepeatedInt32_, result.nestedmessageRepeatedInt32_);
} }
@ -10755,11 +10755,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestNestedMessageHasBits.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestNestedMessageHasBits.Descriptor; }
} }
public override TestNestedMessageHasBits DefaultInstanceForType { public override TestNestedMessageHasBits DefaultInstanceForType {
get { return TestNestedMessageHasBits.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestNestedMessageHasBits.DefaultInstance; }
} }
public override TestNestedMessageHasBits BuildPartial() { public override TestNestedMessageHasBits BuildPartial() {
@ -10781,7 +10781,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestNestedMessageHasBits other) { public override Builder MergeFrom(TestNestedMessageHasBits other) {
if (other == TestNestedMessageHasBits.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestNestedMessageHasBits.DefaultInstance) return this;
if (other.HasOptionalNestedMessage) { if (other.HasOptionalNestedMessage) {
MergeOptionalNestedMessage(other.OptionalNestedMessage); MergeOptionalNestedMessage(other.OptionalNestedMessage);
} }
@ -11217,11 +11217,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestCamelCaseFieldNames.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestCamelCaseFieldNames.Descriptor; }
} }
public override TestCamelCaseFieldNames DefaultInstanceForType { public override TestCamelCaseFieldNames DefaultInstanceForType {
get { return TestCamelCaseFieldNames.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestCamelCaseFieldNames.DefaultInstance; }
} }
public override TestCamelCaseFieldNames BuildPartial() { public override TestCamelCaseFieldNames BuildPartial() {
@ -11249,7 +11249,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestCamelCaseFieldNames other) { public override Builder MergeFrom(TestCamelCaseFieldNames other) {
if (other == TestCamelCaseFieldNames.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestCamelCaseFieldNames.DefaultInstance) return this;
if (other.HasPrimitiveField) { if (other.HasPrimitiveField) {
PrimitiveField = other.PrimitiveField; PrimitiveField = other.PrimitiveField;
} }
@ -11859,11 +11859,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestFieldOrderings.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestFieldOrderings.Descriptor; }
} }
public override TestFieldOrderings DefaultInstanceForType { public override TestFieldOrderings DefaultInstanceForType {
get { return TestFieldOrderings.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestFieldOrderings.DefaultInstance; }
} }
public override TestFieldOrderings BuildPartial() { public override TestFieldOrderings BuildPartial() {
@ -11885,7 +11885,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestFieldOrderings other) { public override Builder MergeFrom(TestFieldOrderings other) {
if (other == TestFieldOrderings.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestFieldOrderings.DefaultInstance) return this;
if (other.HasMyString) { if (other.HasMyString) {
MyString = other.MyString; MyString = other.MyString;
} }
@ -12207,11 +12207,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestExtremeDefaultValues.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestExtremeDefaultValues.Descriptor; }
} }
public override TestExtremeDefaultValues DefaultInstanceForType { public override TestExtremeDefaultValues DefaultInstanceForType {
get { return TestExtremeDefaultValues.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestExtremeDefaultValues.DefaultInstance; }
} }
public override TestExtremeDefaultValues BuildPartial() { public override TestExtremeDefaultValues BuildPartial() {
@ -12233,7 +12233,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestExtremeDefaultValues other) { public override Builder MergeFrom(TestExtremeDefaultValues other) {
if (other == TestExtremeDefaultValues.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestExtremeDefaultValues.DefaultInstance) return this;
if (other.HasEscapedBytes) { if (other.HasEscapedBytes) {
EscapedBytes = other.EscapedBytes; EscapedBytes = other.EscapedBytes;
} }
@ -12952,11 +12952,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestPackedTypes.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestPackedTypes.Descriptor; }
} }
public override TestPackedTypes DefaultInstanceForType { public override TestPackedTypes DefaultInstanceForType {
get { return TestPackedTypes.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestPackedTypes.DefaultInstance; }
} }
public override TestPackedTypes BuildPartial() { public override TestPackedTypes BuildPartial() {
@ -12992,7 +12992,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestPackedTypes other) { public override Builder MergeFrom(TestPackedTypes other) {
if (other == TestPackedTypes.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestPackedTypes.DefaultInstance) return this;
if (other.packedInt32_.Count != 0) { if (other.packedInt32_.Count != 0) {
base.AddRange(other.packedInt32_, result.packedInt32_); base.AddRange(other.packedInt32_, result.packedInt32_);
} }
@ -13703,11 +13703,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return TestPackedExtensions.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.TestPackedExtensions.Descriptor; }
} }
public override TestPackedExtensions DefaultInstanceForType { public override TestPackedExtensions DefaultInstanceForType {
get { return TestPackedExtensions.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.TestPackedExtensions.DefaultInstance; }
} }
public override TestPackedExtensions BuildPartial() { public override TestPackedExtensions BuildPartial() {
@ -13729,7 +13729,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(TestPackedExtensions other) { public override Builder MergeFrom(TestPackedExtensions other) {
if (other == TestPackedExtensions.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.TestPackedExtensions.DefaultInstance) return this;
this.MergeExtensionFields(other); this.MergeExtensionFields(other);
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
@ -13877,11 +13877,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return FooRequest.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.FooRequest.Descriptor; }
} }
public override FooRequest DefaultInstanceForType { public override FooRequest DefaultInstanceForType {
get { return FooRequest.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.FooRequest.DefaultInstance; }
} }
public override FooRequest BuildPartial() { public override FooRequest BuildPartial() {
@ -13903,7 +13903,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(FooRequest other) { public override Builder MergeFrom(FooRequest other) {
if (other == FooRequest.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.FooRequest.DefaultInstance) return this;
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
} }
@ -14050,11 +14050,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return FooResponse.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.FooResponse.Descriptor; }
} }
public override FooResponse DefaultInstanceForType { public override FooResponse DefaultInstanceForType {
get { return FooResponse.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.FooResponse.DefaultInstance; }
} }
public override FooResponse BuildPartial() { public override FooResponse BuildPartial() {
@ -14076,7 +14076,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(FooResponse other) { public override Builder MergeFrom(FooResponse other) {
if (other == FooResponse.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.FooResponse.DefaultInstance) return this;
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
} }
@ -14223,11 +14223,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return BarRequest.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.BarRequest.Descriptor; }
} }
public override BarRequest DefaultInstanceForType { public override BarRequest DefaultInstanceForType {
get { return BarRequest.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.BarRequest.DefaultInstance; }
} }
public override BarRequest BuildPartial() { public override BarRequest BuildPartial() {
@ -14249,7 +14249,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(BarRequest other) { public override Builder MergeFrom(BarRequest other) {
if (other == BarRequest.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.BarRequest.DefaultInstance) return this;
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
} }
@ -14396,11 +14396,11 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return BarResponse.Descriptor; } get { return global::Google.ProtocolBuffers.TestProtos.BarResponse.Descriptor; }
} }
public override BarResponse DefaultInstanceForType { public override BarResponse DefaultInstanceForType {
get { return BarResponse.DefaultInstance; } get { return global::Google.ProtocolBuffers.TestProtos.BarResponse.DefaultInstance; }
} }
public override BarResponse BuildPartial() { public override BarResponse BuildPartial() {
@ -14422,7 +14422,7 @@ namespace Google.ProtocolBuffers.TestProtos {
} }
public override Builder MergeFrom(BarResponse other) { public override Builder MergeFrom(BarResponse other) {
if (other == BarResponse.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.TestProtos.BarResponse.DefaultInstance) return this;
this.MergeUnknownFields(other.UnknownFields); this.MergeUnknownFields(other.UnknownFields);
return this; return this;
} }

@ -253,11 +253,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return CSharpFileOptions.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.CSharpFileOptions.Descriptor; }
} }
public override CSharpFileOptions DefaultInstanceForType { public override CSharpFileOptions DefaultInstanceForType {
get { return CSharpFileOptions.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.CSharpFileOptions.DefaultInstance; }
} }
public override CSharpFileOptions BuildPartial() { public override CSharpFileOptions BuildPartial() {
@ -279,7 +279,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(CSharpFileOptions other) { public override Builder MergeFrom(CSharpFileOptions other) {
if (other == CSharpFileOptions.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.CSharpFileOptions.DefaultInstance) return this;
if (other.HasNamespace) { if (other.HasNamespace) {
Namespace = other.Namespace; Namespace = other.Namespace;
} }
@ -569,11 +569,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return CSharpFieldOptions.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.CSharpFieldOptions.Descriptor; }
} }
public override CSharpFieldOptions DefaultInstanceForType { public override CSharpFieldOptions DefaultInstanceForType {
get { return CSharpFieldOptions.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.CSharpFieldOptions.DefaultInstance; }
} }
public override CSharpFieldOptions BuildPartial() { public override CSharpFieldOptions BuildPartial() {
@ -595,7 +595,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(CSharpFieldOptions other) { public override Builder MergeFrom(CSharpFieldOptions other) {
if (other == CSharpFieldOptions.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.CSharpFieldOptions.DefaultInstance) return this;
if (other.HasPropertyName) { if (other.HasPropertyName) {
PropertyName = other.PropertyName; PropertyName = other.PropertyName;
} }

@ -345,11 +345,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return FileDescriptorSet.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorSet.Descriptor; }
} }
public override FileDescriptorSet DefaultInstanceForType { public override FileDescriptorSet DefaultInstanceForType {
get { return FileDescriptorSet.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorSet.DefaultInstance; }
} }
public override FileDescriptorSet BuildPartial() { public override FileDescriptorSet BuildPartial() {
@ -372,7 +372,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(FileDescriptorSet other) { public override Builder MergeFrom(FileDescriptorSet other) {
if (other == FileDescriptorSet.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorSet.DefaultInstance) return this;
if (other.file_.Count != 0) { if (other.file_.Count != 0) {
base.AddRange(other.file_, result.file_); base.AddRange(other.file_, result.file_);
} }
@ -726,11 +726,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return FileDescriptorProto.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto.Descriptor; }
} }
public override FileDescriptorProto DefaultInstanceForType { public override FileDescriptorProto DefaultInstanceForType {
get { return FileDescriptorProto.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto.DefaultInstance; }
} }
public override FileDescriptorProto BuildPartial() { public override FileDescriptorProto BuildPartial() {
@ -757,7 +757,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(FileDescriptorProto other) { public override Builder MergeFrom(FileDescriptorProto other) {
if (other == FileDescriptorProto.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto.DefaultInstance) return this;
if (other.HasName) { if (other.HasName) {
Name = other.Name; Name = other.Name;
} }
@ -1283,11 +1283,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return ExtensionRange.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto.Types.ExtensionRange.Descriptor; }
} }
public override ExtensionRange DefaultInstanceForType { public override ExtensionRange DefaultInstanceForType {
get { return ExtensionRange.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto.Types.ExtensionRange.DefaultInstance; }
} }
public override ExtensionRange BuildPartial() { public override ExtensionRange BuildPartial() {
@ -1309,7 +1309,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(ExtensionRange other) { public override Builder MergeFrom(ExtensionRange other) {
if (other == ExtensionRange.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto.Types.ExtensionRange.DefaultInstance) return this;
if (other.HasStart) { if (other.HasStart) {
Start = other.Start; Start = other.Start;
} }
@ -1624,11 +1624,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return DescriptorProto.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto.Descriptor; }
} }
public override DescriptorProto DefaultInstanceForType { public override DescriptorProto DefaultInstanceForType {
get { return DescriptorProto.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto.DefaultInstance; }
} }
public override DescriptorProto BuildPartial() { public override DescriptorProto BuildPartial() {
@ -1655,7 +1655,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(DescriptorProto other) { public override Builder MergeFrom(DescriptorProto other) {
if (other == DescriptorProto.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto.DefaultInstance) return this;
if (other.HasName) { if (other.HasName) {
Name = other.Name; Name = other.Name;
} }
@ -2274,11 +2274,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return FieldDescriptorProto.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.FieldDescriptorProto.Descriptor; }
} }
public override FieldDescriptorProto DefaultInstanceForType { public override FieldDescriptorProto DefaultInstanceForType {
get { return FieldDescriptorProto.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.FieldDescriptorProto.DefaultInstance; }
} }
public override FieldDescriptorProto BuildPartial() { public override FieldDescriptorProto BuildPartial() {
@ -2300,7 +2300,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(FieldDescriptorProto other) { public override Builder MergeFrom(FieldDescriptorProto other) {
if (other == FieldDescriptorProto.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.FieldDescriptorProto.DefaultInstance) return this;
if (other.HasName) { if (other.HasName) {
Name = other.Name; Name = other.Name;
} }
@ -2746,11 +2746,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return EnumDescriptorProto.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.EnumDescriptorProto.Descriptor; }
} }
public override EnumDescriptorProto DefaultInstanceForType { public override EnumDescriptorProto DefaultInstanceForType {
get { return EnumDescriptorProto.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.EnumDescriptorProto.DefaultInstance; }
} }
public override EnumDescriptorProto BuildPartial() { public override EnumDescriptorProto BuildPartial() {
@ -2773,7 +2773,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(EnumDescriptorProto other) { public override Builder MergeFrom(EnumDescriptorProto other) {
if (other == EnumDescriptorProto.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.EnumDescriptorProto.DefaultInstance) return this;
if (other.HasName) { if (other.HasName) {
Name = other.Name; Name = other.Name;
} }
@ -3092,11 +3092,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return EnumValueDescriptorProto.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.EnumValueDescriptorProto.Descriptor; }
} }
public override EnumValueDescriptorProto DefaultInstanceForType { public override EnumValueDescriptorProto DefaultInstanceForType {
get { return EnumValueDescriptorProto.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.EnumValueDescriptorProto.DefaultInstance; }
} }
public override EnumValueDescriptorProto BuildPartial() { public override EnumValueDescriptorProto BuildPartial() {
@ -3118,7 +3118,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(EnumValueDescriptorProto other) { public override Builder MergeFrom(EnumValueDescriptorProto other) {
if (other == EnumValueDescriptorProto.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.EnumValueDescriptorProto.DefaultInstance) return this;
if (other.HasName) { if (other.HasName) {
Name = other.Name; Name = other.Name;
} }
@ -3420,11 +3420,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return ServiceDescriptorProto.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.ServiceDescriptorProto.Descriptor; }
} }
public override ServiceDescriptorProto DefaultInstanceForType { public override ServiceDescriptorProto DefaultInstanceForType {
get { return ServiceDescriptorProto.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.ServiceDescriptorProto.DefaultInstance; }
} }
public override ServiceDescriptorProto BuildPartial() { public override ServiceDescriptorProto BuildPartial() {
@ -3447,7 +3447,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(ServiceDescriptorProto other) { public override Builder MergeFrom(ServiceDescriptorProto other) {
if (other == ServiceDescriptorProto.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.ServiceDescriptorProto.DefaultInstance) return this;
if (other.HasName) { if (other.HasName) {
Name = other.Name; Name = other.Name;
} }
@ -3782,11 +3782,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return MethodDescriptorProto.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.MethodDescriptorProto.Descriptor; }
} }
public override MethodDescriptorProto DefaultInstanceForType { public override MethodDescriptorProto DefaultInstanceForType {
get { return MethodDescriptorProto.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.MethodDescriptorProto.DefaultInstance; }
} }
public override MethodDescriptorProto BuildPartial() { public override MethodDescriptorProto BuildPartial() {
@ -3808,7 +3808,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(MethodDescriptorProto other) { public override Builder MergeFrom(MethodDescriptorProto other) {
if (other == MethodDescriptorProto.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.MethodDescriptorProto.DefaultInstance) return this;
if (other.HasName) { if (other.HasName) {
Name = other.Name; Name = other.Name;
} }
@ -4180,11 +4180,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return FileOptions.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.FileOptions.Descriptor; }
} }
public override FileOptions DefaultInstanceForType { public override FileOptions DefaultInstanceForType {
get { return FileOptions.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.FileOptions.DefaultInstance; }
} }
public override FileOptions BuildPartial() { public override FileOptions BuildPartial() {
@ -4207,7 +4207,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(FileOptions other) { public override Builder MergeFrom(FileOptions other) {
if (other == FileOptions.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.FileOptions.DefaultInstance) return this;
if (other.HasJavaPackage) { if (other.HasJavaPackage) {
JavaPackage = other.JavaPackage; JavaPackage = other.JavaPackage;
} }
@ -4553,11 +4553,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return MessageOptions.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.MessageOptions.Descriptor; }
} }
public override MessageOptions DefaultInstanceForType { public override MessageOptions DefaultInstanceForType {
get { return MessageOptions.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.MessageOptions.DefaultInstance; }
} }
public override MessageOptions BuildPartial() { public override MessageOptions BuildPartial() {
@ -4580,7 +4580,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(MessageOptions other) { public override Builder MergeFrom(MessageOptions other) {
if (other == MessageOptions.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.MessageOptions.DefaultInstance) return this;
if (other.HasMessageSetWireFormat) { if (other.HasMessageSetWireFormat) {
MessageSetWireFormat = other.MessageSetWireFormat; MessageSetWireFormat = other.MessageSetWireFormat;
} }
@ -4899,11 +4899,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return FieldOptions.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.FieldOptions.Descriptor; }
} }
public override FieldOptions DefaultInstanceForType { public override FieldOptions DefaultInstanceForType {
get { return FieldOptions.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.FieldOptions.DefaultInstance; }
} }
public override FieldOptions BuildPartial() { public override FieldOptions BuildPartial() {
@ -4926,7 +4926,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(FieldOptions other) { public override Builder MergeFrom(FieldOptions other) {
if (other == FieldOptions.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.FieldOptions.DefaultInstance) return this;
if (other.HasCtype) { if (other.HasCtype) {
Ctype = other.Ctype; Ctype = other.Ctype;
} }
@ -5255,11 +5255,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return EnumOptions.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.EnumOptions.Descriptor; }
} }
public override EnumOptions DefaultInstanceForType { public override EnumOptions DefaultInstanceForType {
get { return EnumOptions.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.EnumOptions.DefaultInstance; }
} }
public override EnumOptions BuildPartial() { public override EnumOptions BuildPartial() {
@ -5282,7 +5282,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(EnumOptions other) { public override Builder MergeFrom(EnumOptions other) {
if (other == EnumOptions.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.EnumOptions.DefaultInstance) return this;
if (other.uninterpretedOption_.Count != 0) { if (other.uninterpretedOption_.Count != 0) {
base.AddRange(other.uninterpretedOption_, result.uninterpretedOption_); base.AddRange(other.uninterpretedOption_, result.uninterpretedOption_);
} }
@ -5502,11 +5502,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return EnumValueOptions.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.EnumValueOptions.Descriptor; }
} }
public override EnumValueOptions DefaultInstanceForType { public override EnumValueOptions DefaultInstanceForType {
get { return EnumValueOptions.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.EnumValueOptions.DefaultInstance; }
} }
public override EnumValueOptions BuildPartial() { public override EnumValueOptions BuildPartial() {
@ -5529,7 +5529,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(EnumValueOptions other) { public override Builder MergeFrom(EnumValueOptions other) {
if (other == EnumValueOptions.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.EnumValueOptions.DefaultInstance) return this;
if (other.uninterpretedOption_.Count != 0) { if (other.uninterpretedOption_.Count != 0) {
base.AddRange(other.uninterpretedOption_, result.uninterpretedOption_); base.AddRange(other.uninterpretedOption_, result.uninterpretedOption_);
} }
@ -5749,11 +5749,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return ServiceOptions.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.ServiceOptions.Descriptor; }
} }
public override ServiceOptions DefaultInstanceForType { public override ServiceOptions DefaultInstanceForType {
get { return ServiceOptions.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.ServiceOptions.DefaultInstance; }
} }
public override ServiceOptions BuildPartial() { public override ServiceOptions BuildPartial() {
@ -5776,7 +5776,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(ServiceOptions other) { public override Builder MergeFrom(ServiceOptions other) {
if (other == ServiceOptions.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.ServiceOptions.DefaultInstance) return this;
if (other.uninterpretedOption_.Count != 0) { if (other.uninterpretedOption_.Count != 0) {
base.AddRange(other.uninterpretedOption_, result.uninterpretedOption_); base.AddRange(other.uninterpretedOption_, result.uninterpretedOption_);
} }
@ -5996,11 +5996,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return MethodOptions.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.MethodOptions.Descriptor; }
} }
public override MethodOptions DefaultInstanceForType { public override MethodOptions DefaultInstanceForType {
get { return MethodOptions.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.MethodOptions.DefaultInstance; }
} }
public override MethodOptions BuildPartial() { public override MethodOptions BuildPartial() {
@ -6023,7 +6023,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(MethodOptions other) { public override Builder MergeFrom(MethodOptions other) {
if (other == MethodOptions.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.MethodOptions.DefaultInstance) return this;
if (other.uninterpretedOption_.Count != 0) { if (other.uninterpretedOption_.Count != 0) {
base.AddRange(other.uninterpretedOption_, result.uninterpretedOption_); base.AddRange(other.uninterpretedOption_, result.uninterpretedOption_);
} }
@ -6276,11 +6276,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return NamePart.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption.Types.NamePart.Descriptor; }
} }
public override NamePart DefaultInstanceForType { public override NamePart DefaultInstanceForType {
get { return NamePart.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption.Types.NamePart.DefaultInstance; }
} }
public override NamePart BuildPartial() { public override NamePart BuildPartial() {
@ -6302,7 +6302,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(NamePart other) { public override Builder MergeFrom(NamePart other) {
if (other == NamePart.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption.Types.NamePart.DefaultInstance) return this;
if (other.HasNamePart_) { if (other.HasNamePart_) {
NamePart_ = other.NamePart_; NamePart_ = other.NamePart_;
} }
@ -6583,11 +6583,11 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override pbd::MessageDescriptor DescriptorForType { public override pbd::MessageDescriptor DescriptorForType {
get { return UninterpretedOption.Descriptor; } get { return global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption.Descriptor; }
} }
public override UninterpretedOption DefaultInstanceForType { public override UninterpretedOption DefaultInstanceForType {
get { return UninterpretedOption.DefaultInstance; } get { return global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption.DefaultInstance; }
} }
public override UninterpretedOption BuildPartial() { public override UninterpretedOption BuildPartial() {
@ -6610,7 +6610,7 @@ namespace Google.ProtocolBuffers.DescriptorProtos {
} }
public override Builder MergeFrom(UninterpretedOption other) { public override Builder MergeFrom(UninterpretedOption other) {
if (other == UninterpretedOption.DefaultInstance) return this; if (other == global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption.DefaultInstance) return this;
if (other.name_.Count != 0) { if (other.name_.Count != 0) {
base.AddRange(other.name_, result.name_); base.AddRange(other.name_, result.name_);
} }

Loading…
Cancel
Save