@ -1,4 +1,5 @@
// Generated by ProtoGen, Version=2.4.1.555, Culture=neutral, PublicKeyToken=55f7125234beb589. DO NOT EDIT!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google_speed.proto
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
@ -6,10 +7,10 @@ using pb = global::Google.ProtocolBuffers;
using pbc = global :: Google . ProtocolBuffers . Collections ;
using pbd = global :: Google . ProtocolBuffers . Descriptors ;
using scg = global :: System . Collections . Generic ;
namespace Google.ProtocolBuffers.ProtoBench {
namespace Google.ProtocolBuffers.TestProtos {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class GoogleSpeedProtoFile {
public static partial class GoogleSpeed {
#region Extension registration
public static void RegisterAllExtensions ( pb : : ExtensionRegistry registry ) {
@ -17,15 +18,15 @@ namespace Google.ProtocolBuffers.ProtoBench {
# endregion
#region Static variables
internal static pbd : : MessageDescriptor internal__static_benchmarks_SpeedMessage1__Descriptor ;
internal static pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1 , global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1 . Builder > internal__static_benchmarks_SpeedMessage1__FieldAccessorTable ;
internal static pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1 , global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1 . Builder > internal__static_benchmarks_SpeedMessage1__FieldAccessorTable ;
internal static pbd : : MessageDescriptor internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor ;
internal static pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage , global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage . Builder > internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable ;
internal static pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage , global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage . Builder > internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable ;
internal static pbd : : MessageDescriptor internal__static_benchmarks_SpeedMessage2__Descriptor ;
internal static pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 , global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Builder > internal__static_benchmarks_SpeedMessage2__FieldAccessorTable ;
internal static pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 , global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Builder > internal__static_benchmarks_SpeedMessage2__FieldAccessorTable ;
internal static pbd : : MessageDescriptor internal__static_benchmarks_SpeedMessage2_Group1__Descriptor ;
internal static pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 , global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 . Builder > internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable ;
internal static pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 , global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 . Builder > internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable ;
internal static pbd : : MessageDescriptor internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor ;
internal static pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage , global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage . Builder > internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable ;
internal static pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage , global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage . Builder > internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable ;
# endregion
#region Descriptor
public static pbd : : FileDescriptor Descriptor {
@ -33,99 +34,95 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
private static pbd : : FileDescriptor descriptor ;
static GoogleSpeedProtoFile ( ) {
static GoogleSpeed ( ) {
byte [ ] descriptorData = global :: System . Convert . FromBase64String (
string . Concat (
"Ch1iZW5jaG1hcmtzL2dvb2dsZV9zcGVlZC5wcm90bxIKYmVuY2htYXJrcxok" ,
"Z29vZ2xlL3Byb3RvYnVmL2NzaGFycF9vcHRpb25zLnByb3RvIvgGCg1TcGVl" ,
"ZE1lc3NhZ2UxEg4KBmZpZWxkMRgBIAIoCRIOCgZmaWVsZDkYCSABKAkSDwoH" ,
"ZmllbGQxOBgSIAEoCRIWCgdmaWVsZDgwGFAgASgIOgVmYWxzZRIVCgdmaWVs" ,
"ZDgxGFEgASgIOgR0cnVlEg4KBmZpZWxkMhgCIAIoBRIOCgZmaWVsZDMYAyAC" ,
"KAUSEQoIZmllbGQyODAYmAIgASgFEhEKBmZpZWxkNhgGIAEoBToBMBIPCgdm" ,
"aWVsZDIyGBYgASgDEg4KBmZpZWxkNBgEIAEoCRIOCgZmaWVsZDUYBSADKAYS" ,
"FgoHZmllbGQ1ORg7IAEoCDoFZmFsc2USDgoGZmllbGQ3GAcgASgJEg8KB2Zp" ,
"ZWxkMTYYECABKAUSFAoIZmllbGQxMzAYggEgASgFOgEwEhUKB2ZpZWxkMTIY" ,
"DCABKAg6BHRydWUSFQoHZmllbGQxNxgRIAEoCDoEdHJ1ZRIVCgdmaWVsZDEz" ,
"GA0gASgIOgR0cnVlEhUKB2ZpZWxkMTQYDiABKAg6BHRydWUSEwoIZmllbGQx" ,
"MDQYaCABKAU6ATASEwoIZmllbGQxMDAYZCABKAU6ATASEwoIZmllbGQxMDEY" ,
"ZSABKAU6ATASEAoIZmllbGQxMDIYZiABKAkSEAoIZmllbGQxMDMYZyABKAkS" ,
"EgoHZmllbGQyORgdIAEoBToBMBIWCgdmaWVsZDMwGB4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WVsZDIYAiABKAISEQoG" ,
"ZmllbGQzGAMgASgCOgEwEg4KBmZpZWxkNBgEIAEoCBIOCgZmaWVsZDUYBSAB" ,
"KAgSFAoGZmllbGQ2GAYgASgIOgR0cnVlEhUKBmZpZWxkNxgHIAEoCDoFZmFs" ,
"c2USDgoGZmllbGQ4GAggASgCEg4KBmZpZWxkORgJIAEoCBIPCgdmaWVsZDEw" ,
"GAogASgCEg8KB2ZpZWxkMTEYCyABKANCM0ILR29vZ2xlU3BlZWRIAaoCIUdv" ,
"b2dsZS5Qcm90b2NvbEJ1ZmZlcnMuVGVzdFByb3Rvcw==" ) ) ;
pbd : : FileDescriptor . InternalDescriptorAssigner assigner = delegate ( pbd : : FileDescriptor root ) {
descriptor = root ;
internal__static_benchmarks_SpeedMessage1__Descriptor = Descriptor . MessageTypes [ 0 ] ;
internal__static_benchmarks_SpeedMessage1__FieldAccessorTable =
new pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1 , global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1 . Builder > ( internal__static_benchmarks_SpeedMessage1__Descriptor ,
new pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1 , global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1 . Builder > ( internal__static_benchmarks_SpeedMessage1__Descriptor ,
new string [ ] { "Field1" , "Field9" , "Field18" , "Field80" , "Field81" , "Field2" , "Field3" , "Field280" , "Field6" , "Field22" , "Field4" , "Field5" , "Field59" , "Field7" , "Field16" , "Field130" , "Field12" , "Field17" , "Field13" , "Field14" , "Field104" , "Field100" , "Field101" , "Field102" , "Field103" , "Field29" , "Field30" , "Field60" , "Field271" , "Field272" , "Field150" , "Field23" , "Field24" , "Field25" , "Field15" , "Field78" , "Field67" , "Field68" , "Field128" , "Field129" , "Field131" , } ) ;
internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor = Descriptor . MessageTypes [ 1 ] ;
internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable =
new pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage , global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage . Builder > ( internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor ,
new pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage , global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage . Builder > ( internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor ,
new string [ ] { "Field1" , "Field2" , "Field3" , "Field15" , "Field12" , "Field13" , "Field14" , "Field16" , "Field19" , "Field20" , "Field28" , "Field21" , "Field22" , "Field23" , "Field206" , "Field203" , "Field204" , "Field205" , "Field207" , "Field300" , } ) ;
internal__static_benchmarks_SpeedMessage2__Descriptor = Descriptor . MessageTypes [ 2 ] ;
internal__static_benchmarks_SpeedMessage2__FieldAccessorTable =
new pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 , global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Builder > ( internal__static_benchmarks_SpeedMessage2__Descriptor ,
new pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 , global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Builder > ( internal__static_benchmarks_SpeedMessage2__Descriptor ,
new string [ ] { "Field1" , "Field3" , "Field4" , "Field30" , "Field75" , "Field6" , "Field2" , "Field21" , "Field71" , "Field25" , "Field109" , "Field210" , "Field211" , "Field212" , "Field213" , "Field216" , "Field217" , "Field218" , "Field220" , "Field221" , "Field222" , "Field63" , "Group1" , "Field128" , "Field131" , "Field127" , "Field129" , "Field130" , "Field205" , "Field206" , } ) ;
internal__static_benchmarks_SpeedMessage2_Group1__Descriptor = internal__static_benchmarks_SpeedMessage2__Descriptor . NestedTypes [ 0 ] ;
internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable =
new pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 , global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 . Builder > ( internal__static_benchmarks_SpeedMessage2_Group1__Descriptor ,
new pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 , global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 . Builder > ( internal__static_benchmarks_SpeedMessage2_Group1__Descriptor ,
new string [ ] { "Field11" , "Field26" , "Field12" , "Field13" , "Field14" , "Field15" , "Field5" , "Field27" , "Field28" , "Field29" , "Field16" , "Field22" , "Field73" , "Field20" , "Field24" , "Field31" , } ) ;
internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor = Descriptor . MessageTypes [ 3 ] ;
internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable =
new pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage , global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage . Builder > ( internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor ,
new pb : : FieldAccess . FieldAccessorTable < global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage , global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage . Builder > ( internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor ,
new string [ ] { "Field1" , "Field2" , "Field3" , "Field4" , "Field5" , "Field6" , "Field7" , "Field8" , "Field9" , "Field10" , "Field11" , } ) ;
pb : : ExtensionRegistry registry = pb : : ExtensionRegistry . CreateInstance ( ) ;
RegisterAllExtensions ( registry ) ;
global :: Google . ProtocolBuffers . DescriptorProtos . CSharpOptions . RegisterAllExtensions ( registry ) ;
return registry ;
} ;
pbd : : FileDescriptor . InternalBuildGeneratedFileFrom ( descriptorData ,
new pbd : : FileDescriptor [ ] {
global :: Google . ProtocolBuffers . DescriptorProtos . CSharpOptions . Descriptor ,
} , assigner ) ;
}
# endregion
@ -151,11 +148,11 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public static pbd : : MessageDescriptor Descriptor {
get { return global :: Google . ProtocolBuffers . ProtoBench . GoogleSpeedProtoFile . internal__static_benchmarks_SpeedMessage1__Descriptor ; }
get { return global :: Google . ProtocolBuffers . TestProtos . GoogleSpeed . internal__static_benchmarks_SpeedMessage1__Descriptor ; }
}
protected override pb : : FieldAccess . FieldAccessorTable < SpeedMessage1 , SpeedMessage1 . Builder > InternalFieldAccessors {
get { return global :: Google . ProtocolBuffers . ProtoBench . GoogleSpeedProtoFile . internal__static_benchmarks_SpeedMessage1__FieldAccessorTable ; }
get { return global :: Google . ProtocolBuffers . TestProtos . GoogleSpeed . internal__static_benchmarks_SpeedMessage1__FieldAccessorTable ; }
}
public const int Field1FieldNumber = 1 ;
@ -504,12 +501,12 @@ namespace Google.ProtocolBuffers.ProtoBench {
public const int Field15FieldNumber = 1 5 ;
private bool hasField15 ;
private global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage field15_ ;
private global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage field15_ ;
public bool HasField15 {
get { return hasField15 ; }
}
public global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage Field15 {
get { return field15_ ? ? global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage . DefaultInstance ; }
public global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage Field15 {
get { return field15_ ? ? global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage . DefaultInstance ; }
}
public const int Field78FieldNumber = 7 8 ;
@ -946,11 +943,11 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public override pbd : : MessageDescriptor DescriptorForType {
get { return global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1 . Descriptor ; }
get { return global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1 . Descriptor ; }
}
public override SpeedMessage1 DefaultInstanceForType {
get { return global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1 . DefaultInstance ; }
get { return global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1 . DefaultInstance ; }
}
public override SpeedMessage1 BuildPartial ( ) {
@ -971,7 +968,7 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public override Builder MergeFrom ( SpeedMessage1 other ) {
if ( other = = global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1 . DefaultInstance ) return this ;
if ( other = = global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1 . DefaultInstance ) return this ;
PrepareBuilder ( ) ;
if ( other . HasField1 ) {
Field1 = other . Field1 ;
@ -1185,7 +1182,7 @@ namespace Google.ProtocolBuffers.ProtoBench {
break ;
}
case 1 2 2 : {
global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage . Builder subBuilder = global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage . CreateBuilder ( ) ;
global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage . Builder subBuilder = global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage . CreateBuilder ( ) ;
if ( result . hasField15 ) {
subBuilder . MergeFrom ( Field15 ) ;
}
@ -2024,30 +2021,30 @@ namespace Google.ProtocolBuffers.ProtoBench {
public bool HasField15 {
get { return result . hasField15 ; }
}
public global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage Field15 {
public global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage Field15 {
get { return result . Field15 ; }
set { SetField15 ( value ) ; }
}
public Builder SetField15 ( global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage value ) {
public Builder SetField15 ( global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage value ) {
pb : : ThrowHelper . ThrowIfNull ( value , "value" ) ;
PrepareBuilder ( ) ;
result . hasField15 = true ;
result . field15_ = value ;
return this ;
}
public Builder SetField15 ( global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage . Builder builderForValue ) {
public Builder SetField15 ( global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage . Builder builderForValue ) {
pb : : ThrowHelper . ThrowIfNull ( builderForValue , "builderForValue" ) ;
PrepareBuilder ( ) ;
result . hasField15 = true ;
result . field15_ = builderForValue . Build ( ) ;
return this ;
}
public Builder MergeField15 ( global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage value ) {
public Builder MergeField15 ( global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage value ) {
pb : : ThrowHelper . ThrowIfNull ( value , "value" ) ;
PrepareBuilder ( ) ;
if ( result . hasField15 & &
result . field15_ ! = global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage . DefaultInstance ) {
result . field15_ = global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage . CreateBuilder ( result . field15_ ) . MergeFrom ( value ) . BuildPartial ( ) ;
result . field15_ ! = global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage . DefaultInstance ) {
result . field15_ = global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage . CreateBuilder ( result . field15_ ) . MergeFrom ( value ) . BuildPartial ( ) ;
} else {
result . field15_ = value ;
}
@ -2183,7 +2180,7 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
}
static SpeedMessage1 ( ) {
object . ReferenceEquals ( global :: Google . ProtocolBuffers . ProtoBench . GoogleSpeedProtoFile . Descriptor , null ) ;
object . ReferenceEquals ( global :: Google . ProtocolBuffers . TestProtos . GoogleSpeed . Descriptor , null ) ;
}
}
@ -2206,11 +2203,11 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public static pbd : : MessageDescriptor Descriptor {
get { return global :: Google . ProtocolBuffers . ProtoBench . GoogleSpeedProtoFile . internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor ; }
get { return global :: Google . ProtocolBuffers . TestProtos . GoogleSpeed . internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor ; }
}
protected override pb : : FieldAccess . FieldAccessorTable < SpeedMessage1SubMessage , SpeedMessage1SubMessage . Builder > InternalFieldAccessors {
get { return global :: Google . ProtocolBuffers . ProtoBench . GoogleSpeedProtoFile . internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable ; }
get { return global :: Google . ProtocolBuffers . TestProtos . GoogleSpeed . internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable ; }
}
public const int Field1FieldNumber = 1 ;
@ -2658,11 +2655,11 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public override pbd : : MessageDescriptor DescriptorForType {
get { return global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage . Descriptor ; }
get { return global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage . Descriptor ; }
}
public override SpeedMessage1SubMessage DefaultInstanceForType {
get { return global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage . DefaultInstance ; }
get { return global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage . DefaultInstance ; }
}
public override SpeedMessage1SubMessage BuildPartial ( ) {
@ -2683,7 +2680,7 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public override Builder MergeFrom ( SpeedMessage1SubMessage other ) {
if ( other = = global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage1SubMessage . DefaultInstance ) return this ;
if ( other = = global :: Google . ProtocolBuffers . TestProtos . SpeedMessage1SubMessage . DefaultInstance ) return this ;
PrepareBuilder ( ) ;
if ( other . HasField1 ) {
Field1 = other . Field1 ;
@ -3117,7 +3114,7 @@ namespace Google.ProtocolBuffers.ProtoBench {
public Builder ClearField21 ( ) {
PrepareBuilder ( ) ;
result . hasField21 = false ;
result . field21_ = 0 ;
result . field21_ = 0 UL ;
return this ;
}
@ -3289,7 +3286,7 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
}
static SpeedMessage1SubMessage ( ) {
object . ReferenceEquals ( global :: Google . ProtocolBuffers . ProtoBench . GoogleSpeedProtoFile . Descriptor , null ) ;
object . ReferenceEquals ( global :: Google . ProtocolBuffers . TestProtos . GoogleSpeed . Descriptor , null ) ;
}
}
@ -3312,11 +3309,11 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public static pbd : : MessageDescriptor Descriptor {
get { return global :: Google . ProtocolBuffers . ProtoBench . GoogleSpeedProtoFile . internal__static_benchmarks_SpeedMessage2__Descriptor ; }
get { return global :: Google . ProtocolBuffers . TestProtos . GoogleSpeed . internal__static_benchmarks_SpeedMessage2__Descriptor ; }
}
protected override pb : : FieldAccess . FieldAccessorTable < SpeedMessage2 , SpeedMessage2 . Builder > InternalFieldAccessors {
get { return global :: Google . ProtocolBuffers . ProtoBench . GoogleSpeedProtoFile . internal__static_benchmarks_SpeedMessage2__FieldAccessorTable ; }
get { return global :: Google . ProtocolBuffers . TestProtos . GoogleSpeed . internal__static_benchmarks_SpeedMessage2__FieldAccessorTable ; }
}
#region Nested types
@ -3341,11 +3338,11 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public static pbd : : MessageDescriptor Descriptor {
get { return global :: Google . ProtocolBuffers . ProtoBench . GoogleSpeedProtoFile . internal__static_benchmarks_SpeedMessage2_Group1__Descriptor ; }
get { return global :: Google . ProtocolBuffers . TestProtos . GoogleSpeed . internal__static_benchmarks_SpeedMessage2_Group1__Descriptor ; }
}
protected override pb : : FieldAccess . FieldAccessorTable < Group1 , Group1 . Builder > InternalFieldAccessors {
get { return global :: Google . ProtocolBuffers . ProtoBench . GoogleSpeedProtoFile . internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable ; }
get { return global :: Google . ProtocolBuffers . TestProtos . GoogleSpeed . internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable ; }
}
public const int Field11FieldNumber = 1 1 ;
@ -3507,12 +3504,12 @@ namespace Google.ProtocolBuffers.ProtoBench {
public const int Field31FieldNumber = 3 1 ;
private bool hasField31 ;
private global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage field31_ ;
private global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage field31_ ;
public bool HasField31 {
get { return hasField31 ; }
}
public global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage Field31 {
get { return field31_ ? ? global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage . DefaultInstance ; }
public global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage Field31 {
get { return field31_ ? ? global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage . DefaultInstance ; }
}
public override bool IsInitialized {
@ -3752,11 +3749,11 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public override pbd : : MessageDescriptor DescriptorForType {
get { return global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 . Descriptor ; }
get { return global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 . Descriptor ; }
}
public override Group1 DefaultInstanceForType {
get { return global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 . DefaultInstance ; }
get { return global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 . DefaultInstance ; }
}
public override Group1 BuildPartial ( ) {
@ -3777,7 +3774,7 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public override Builder MergeFrom ( Group1 other ) {
if ( other = = global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 . DefaultInstance ) return this ;
if ( other = = global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 . DefaultInstance ) return this ;
PrepareBuilder ( ) ;
if ( other . HasField11 ) {
Field11 = other . Field11 ;
@ -3927,7 +3924,7 @@ namespace Google.ProtocolBuffers.ProtoBench {
break ;
}
case 2 5 0 : {
global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage . Builder subBuilder = global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage . CreateBuilder ( ) ;
global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage . Builder subBuilder = global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage . CreateBuilder ( ) ;
if ( result . hasField31 ) {
subBuilder . MergeFrom ( Field31 ) ;
}
@ -4295,30 +4292,30 @@ namespace Google.ProtocolBuffers.ProtoBench {
public bool HasField31 {
get { return result . hasField31 ; }
}
public global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage Field31 {
public global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage Field31 {
get { return result . Field31 ; }
set { SetField31 ( value ) ; }
}
public Builder SetField31 ( global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage value ) {
public Builder SetField31 ( global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage value ) {
pb : : ThrowHelper . ThrowIfNull ( value , "value" ) ;
PrepareBuilder ( ) ;
result . hasField31 = true ;
result . field31_ = value ;
return this ;
}
public Builder SetField31 ( global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage . Builder builderForValue ) {
public Builder SetField31 ( global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage . Builder builderForValue ) {
pb : : ThrowHelper . ThrowIfNull ( builderForValue , "builderForValue" ) ;
PrepareBuilder ( ) ;
result . hasField31 = true ;
result . field31_ = builderForValue . Build ( ) ;
return this ;
}
public Builder MergeField31 ( global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage value ) {
public Builder MergeField31 ( global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage value ) {
pb : : ThrowHelper . ThrowIfNull ( value , "value" ) ;
PrepareBuilder ( ) ;
if ( result . hasField31 & &
result . field31_ ! = global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage . DefaultInstance ) {
result . field31_ = global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage . CreateBuilder ( result . field31_ ) . MergeFrom ( value ) . BuildPartial ( ) ;
result . field31_ ! = global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage . DefaultInstance ) {
result . field31_ = global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage . CreateBuilder ( result . field31_ ) . MergeFrom ( value ) . BuildPartial ( ) ;
} else {
result . field31_ = value ;
}
@ -4333,7 +4330,7 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
}
static Group1 ( ) {
object . ReferenceEquals ( global :: Google . ProtocolBuffers . ProtoBench . GoogleSpeedProtoFile . Descriptor , null ) ;
object . ReferenceEquals ( global :: Google . ProtocolBuffers . TestProtos . GoogleSpeed . Descriptor , null ) ;
}
}
@ -4561,14 +4558,14 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public const int Group1FieldNumber = 1 0 ;
private pbc : : PopsicleList < global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 > group1_ = new pbc : : PopsicleList < global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 > ( ) ;
public scg : : IList < global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 > Group1List {
private pbc : : PopsicleList < global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 > group1_ = new pbc : : PopsicleList < global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 > ( ) ;
public scg : : IList < global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 > Group1List {
get { return group1_ ; }
}
public int Group1Count {
get { return group1_ . Count ; }
}
public global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 GetGroup1 ( int index ) {
public global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 GetGroup1 ( int index ) {
return group1_ [ index ] ;
}
@ -4830,7 +4827,7 @@ namespace Google.ProtocolBuffers.ProtoBench {
if ( hasField63 ) {
size + = pb : : CodedOutputStream . ComputeInt32Size ( 6 3 , Field63 ) ;
}
foreach ( global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 element in Group1List ) {
foreach ( global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 element in Group1List ) {
size + = pb : : CodedOutputStream . ComputeGroupSize ( 1 0 , element ) ;
}
{
@ -4968,11 +4965,11 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public override pbd : : MessageDescriptor DescriptorForType {
get { return global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Descriptor ; }
get { return global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Descriptor ; }
}
public override SpeedMessage2 DefaultInstanceForType {
get { return global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . DefaultInstance ; }
get { return global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . DefaultInstance ; }
}
public override SpeedMessage2 BuildPartial ( ) {
@ -4993,7 +4990,7 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public override Builder MergeFrom ( SpeedMessage2 other ) {
if ( other = = global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . DefaultInstance ) return this ;
if ( other = = global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . DefaultInstance ) return this ;
PrepareBuilder ( ) ;
if ( other . HasField1 ) {
Field1 = other . Field1 ;
@ -5149,7 +5146,7 @@ namespace Google.ProtocolBuffers.ProtoBench {
break ;
}
case 8 3 : {
input . ReadGroupArray ( tag , field_name , result . group1_ , global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 . DefaultInstance , extensionRegistry ) ;
input . ReadGroupArray ( tag , field_name , result . group1_ , global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 . DefaultInstance , extensionRegistry ) ;
break ;
}
case 1 6 8 : {
@ -5702,40 +5699,40 @@ namespace Google.ProtocolBuffers.ProtoBench {
return this ;
}
public pbc : : IPopsicleList < global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 > Group1List {
public pbc : : IPopsicleList < global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 > Group1List {
get { return PrepareBuilder ( ) . group1_ ; }
}
public int Group1Count {
get { return result . Group1Count ; }
}
public global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 GetGroup1 ( int index ) {
public global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 GetGroup1 ( int index ) {
return result . GetGroup1 ( index ) ;
}
public Builder SetGroup1 ( int index , global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 value ) {
public Builder SetGroup1 ( int index , global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 value ) {
pb : : ThrowHelper . ThrowIfNull ( value , "value" ) ;
PrepareBuilder ( ) ;
result . group1_ [ index ] = value ;
return this ;
}
public Builder SetGroup1 ( int index , global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 . Builder builderForValue ) {
public Builder SetGroup1 ( int index , global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 . Builder builderForValue ) {
pb : : ThrowHelper . ThrowIfNull ( builderForValue , "builderForValue" ) ;
PrepareBuilder ( ) ;
result . group1_ [ index ] = builderForValue . Build ( ) ;
return this ;
}
public Builder AddGroup1 ( global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 value ) {
public Builder AddGroup1 ( global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 value ) {
pb : : ThrowHelper . ThrowIfNull ( value , "value" ) ;
PrepareBuilder ( ) ;
result . group1_ . Add ( value ) ;
return this ;
}
public Builder AddGroup1 ( global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 . Builder builderForValue ) {
public Builder AddGroup1 ( global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 . Builder builderForValue ) {
pb : : ThrowHelper . ThrowIfNull ( builderForValue , "builderForValue" ) ;
PrepareBuilder ( ) ;
result . group1_ . Add ( builderForValue . Build ( ) ) ;
return this ;
}
public Builder AddRangeGroup1 ( scg : : IEnumerable < global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2 . Types . Group1 > values ) {
public Builder AddRangeGroup1 ( scg : : IEnumerable < global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2 . Types . Group1 > values ) {
PrepareBuilder ( ) ;
result . group1_ . Add ( values ) ;
return this ;
@ -5921,7 +5918,7 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
}
static SpeedMessage2 ( ) {
object . ReferenceEquals ( global :: Google . ProtocolBuffers . ProtoBench . GoogleSpeedProtoFile . Descriptor , null ) ;
object . ReferenceEquals ( global :: Google . ProtocolBuffers . TestProtos . GoogleSpeed . Descriptor , null ) ;
}
}
@ -5944,11 +5941,11 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public static pbd : : MessageDescriptor Descriptor {
get { return global :: Google . ProtocolBuffers . ProtoBench . GoogleSpeedProtoFile . internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor ; }
get { return global :: Google . ProtocolBuffers . TestProtos . GoogleSpeed . internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor ; }
}
protected override pb : : FieldAccess . FieldAccessorTable < SpeedMessage2GroupedMessage , SpeedMessage2GroupedMessage . Builder > InternalFieldAccessors {
get { return global :: Google . ProtocolBuffers . ProtoBench . GoogleSpeedProtoFile . internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable ; }
get { return global :: Google . ProtocolBuffers . TestProtos . GoogleSpeed . internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable ; }
}
public const int Field1FieldNumber = 1 ;
@ -6248,11 +6245,11 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public override pbd : : MessageDescriptor DescriptorForType {
get { return global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage . Descriptor ; }
get { return global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage . Descriptor ; }
}
public override SpeedMessage2GroupedMessage DefaultInstanceForType {
get { return global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage . DefaultInstance ; }
get { return global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage . DefaultInstance ; }
}
public override SpeedMessage2GroupedMessage BuildPartial ( ) {
@ -6273,7 +6270,7 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
public override Builder MergeFrom ( SpeedMessage2GroupedMessage other ) {
if ( other = = global :: Google . ProtocolBuffers . ProtoBench . SpeedMessage2GroupedMessage . DefaultInstance ) return this ;
if ( other = = global :: Google . ProtocolBuffers . TestProtos . SpeedMessage2GroupedMessage . DefaultInstance ) return this ;
PrepareBuilder ( ) ;
if ( other . HasField1 ) {
Field1 = other . Field1 ;
@ -6626,7 +6623,7 @@ namespace Google.ProtocolBuffers.ProtoBench {
}
}
static SpeedMessage2GroupedMessage ( ) {
object . ReferenceEquals ( global :: Google . ProtocolBuffers . ProtoBench . GoogleSpeedProtoFile . Descriptor , null ) ;
object . ReferenceEquals ( global :: Google . ProtocolBuffers . TestProtos . GoogleSpeed . Descriptor , null ) ;
}
}