Commit 96cffaa8 authored by Jon Skeet's avatar Jon Skeet

Generated code changes following previous commit.

parent 53c399a1
......@@ -12,11 +12,6 @@ namespace Google.Protobuf.Examples.AddressBook {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class Addressbook {
#region Static variables
internal static pbr::FieldAccessorTable internal__static_tutorial_Person__FieldAccessorTable;
internal static pbr::FieldAccessorTable internal__static_tutorial_Person_PhoneNumber__FieldAccessorTable;
internal static pbr::FieldAccessorTable internal__static_tutorial_AddressBook__FieldAccessorTable;
#endregion
#region Descriptor
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
......@@ -36,17 +31,8 @@ namespace Google.Protobuf.Examples.AddressBook {
"aWFsQhFBZGRyZXNzQm9va1Byb3Rvc6oCJEdvb2dsZS5Qcm90b2J1Zi5FeGFt",
"cGxlcy5BZGRyZXNzQm9va2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
new pbr::FileDescriptor[] {
});
internal__static_tutorial_Person__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.Examples.AddressBook.Person), descriptor.MessageTypes[0],
new string[] { "Name", "Id", "Email", "Phones", }, new string[] { });
internal__static_tutorial_Person_PhoneNumber__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber), descriptor.MessageTypes[0].NestedTypes[0],
new string[] { "Number", "Type", }, new string[] { });
internal__static_tutorial_AddressBook__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.Examples.AddressBook.AddressBook), descriptor.MessageTypes[1],
new string[] { "People", }, new string[] { });
new pbr::FileDescriptor[] { },
new global::System.Type[] { typeof(global::Google.Protobuf.Examples.AddressBook.Person), typeof(global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber), typeof(global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneType), typeof(global::Google.Protobuf.Examples.AddressBook.AddressBook), });
}
#endregion
......@@ -63,8 +49,8 @@ namespace Google.Protobuf.Examples.AddressBook {
get { return global::Google.Protobuf.Examples.AddressBook.Addressbook.Descriptor.MessageTypes[0]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.Examples.AddressBook.Addressbook.internal__static_tutorial_Person__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......@@ -97,6 +83,7 @@ namespace Google.Protobuf.Examples.AddressBook {
public const int NameFieldNumber = 1;
private string name_ = "";
[pbr::ProtobufField(1, "name")]
public string Name {
get { return name_; }
set {
......@@ -107,6 +94,7 @@ namespace Google.Protobuf.Examples.AddressBook {
public const int IdFieldNumber = 2;
private int id_;
[pbr::ProtobufField(2, "id")]
public int Id {
get { return id_; }
set {
......@@ -117,6 +105,7 @@ namespace Google.Protobuf.Examples.AddressBook {
public const int EmailFieldNumber = 3;
private string email_ = "";
[pbr::ProtobufField(3, "email")]
public string Email {
get { return email_; }
set {
......@@ -129,6 +118,7 @@ namespace Google.Protobuf.Examples.AddressBook {
private static readonly pb::FieldCodec<global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber> _repeated_phones_codec
= pb::FieldCodec.ForMessage(34, global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber.Parser);
private readonly pbc::RepeatedField<global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber> phones_ = new pbc::RepeatedField<global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber>();
[pbr::ProtobufField(4, "phones")]
public pbc::RepeatedField<global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber> Phones {
get { return phones_; }
}
......@@ -262,8 +252,8 @@ namespace Google.Protobuf.Examples.AddressBook {
get { return global::Google.Protobuf.Examples.AddressBook.Person.Descriptor.NestedTypes[0]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.Examples.AddressBook.Addressbook.internal__static_tutorial_Person_PhoneNumber__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......@@ -293,6 +283,7 @@ namespace Google.Protobuf.Examples.AddressBook {
public const int NumberFieldNumber = 1;
private string number_ = "";
[pbr::ProtobufField(1, "number")]
public string Number {
get { return number_; }
set {
......@@ -303,6 +294,7 @@ namespace Google.Protobuf.Examples.AddressBook {
public const int TypeFieldNumber = 2;
private global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneType type_ = global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneType.MOBILE;
[pbr::ProtobufField(2, "type")]
public global::Google.Protobuf.Examples.AddressBook.Person.Types.PhoneType Type {
get { return type_; }
set {
......@@ -413,8 +405,8 @@ namespace Google.Protobuf.Examples.AddressBook {
get { return global::Google.Protobuf.Examples.AddressBook.Addressbook.Descriptor.MessageTypes[1]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.Examples.AddressBook.Addressbook.internal__static_tutorial_AddressBook__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......@@ -446,6 +438,7 @@ namespace Google.Protobuf.Examples.AddressBook {
private static readonly pb::FieldCodec<global::Google.Protobuf.Examples.AddressBook.Person> _repeated_people_codec
= pb::FieldCodec.ForMessage(10, global::Google.Protobuf.Examples.AddressBook.Person.Parser);
private readonly pbc::RepeatedField<global::Google.Protobuf.Examples.AddressBook.Person> people_ = new pbc::RepeatedField<global::Google.Protobuf.Examples.AddressBook.Person>();
[pbr::ProtobufField(1, "people")]
public pbc::RepeatedField<global::Google.Protobuf.Examples.AddressBook.Person> People {
get { return people_; }
}
......
......@@ -12,9 +12,6 @@ namespace Google.Protobuf.TestProtos {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class UnittestImportProto3 {
#region Static variables
internal static pbr::FieldAccessorTable internal__static_protobuf_unittest_import_ImportMessage__FieldAccessorTable;
#endregion
#region Descriptor
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
......@@ -33,12 +30,8 @@ namespace Google.Protobuf.TestProtos {
"c3RIAfgBAaoCGkdvb2dsZS5Qcm90b2J1Zi5UZXN0UHJvdG9zUABiBnByb3Rv",
"Mw=="));
descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
new pbr::FileDescriptor[] {
global::Google.Protobuf.TestProtos.UnittestImportPublicProto3.Descriptor,
});
internal__static_protobuf_unittest_import_ImportMessage__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.TestProtos.ImportMessage), descriptor.MessageTypes[0],
new string[] { "D", }, new string[] { });
new pbr::FileDescriptor[] { global::Google.Protobuf.TestProtos.UnittestImportPublicProto3.Descriptor, },
new global::System.Type[] { typeof(global::Google.Protobuf.TestProtos.ImportMessage), typeof(global::Google.Protobuf.TestProtos.ImportEnum), });
}
#endregion
......@@ -65,8 +58,8 @@ namespace Google.Protobuf.TestProtos {
get { return global::Google.Protobuf.TestProtos.UnittestImportProto3.Descriptor.MessageTypes[0]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.TestProtos.UnittestImportProto3.internal__static_protobuf_unittest_import_ImportMessage__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......@@ -95,6 +88,7 @@ namespace Google.Protobuf.TestProtos {
public const int DFieldNumber = 1;
private int d_;
[pbr::ProtobufField(1, "d")]
public int D {
get { return d_; }
set {
......
......@@ -12,9 +12,6 @@ namespace Google.Protobuf.TestProtos {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class UnittestImportPublicProto3 {
#region Static variables
internal static pbr::FieldAccessorTable internal__static_protobuf_unittest_import_PublicImportMessage__FieldAccessorTable;
#endregion
#region Descriptor
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
......@@ -29,11 +26,8 @@ namespace Google.Protobuf.TestProtos {
"bXBvcnRNZXNzYWdlEgkKAWUYASABKAVCNwoYY29tLmdvb2dsZS5wcm90b2J1",
"Zi50ZXN0qgIaR29vZ2xlLlByb3RvYnVmLlRlc3RQcm90b3NiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
new pbr::FileDescriptor[] {
});
internal__static_protobuf_unittest_import_PublicImportMessage__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.TestProtos.PublicImportMessage), descriptor.MessageTypes[0],
new string[] { "E", }, new string[] { });
new pbr::FileDescriptor[] { },
new global::System.Type[] { typeof(global::Google.Protobuf.TestProtos.PublicImportMessage), });
}
#endregion
......@@ -50,8 +44,8 @@ namespace Google.Protobuf.TestProtos {
get { return global::Google.Protobuf.TestProtos.UnittestImportPublicProto3.Descriptor.MessageTypes[0]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.TestProtos.UnittestImportPublicProto3.internal__static_protobuf_unittest_import_PublicImportMessage__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......@@ -80,6 +74,7 @@ namespace Google.Protobuf.TestProtos {
public const int EFieldNumber = 1;
private int e_;
[pbr::ProtobufField(1, "e")]
public int E {
get { return e_; }
set {
......
......@@ -14,9 +14,6 @@ namespace Google.Protobuf.WellKnownTypes {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class Any {
#region Static variables
internal static pbr::FieldAccessorTable internal__static_google_protobuf_Any__FieldAccessorTable;
#endregion
#region Descriptor
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
......@@ -31,11 +28,8 @@ namespace Google.Protobuf.WellKnownTypes {
"bS5nb29nbGUucHJvdG9idWZCCEFueVByb3RvUAGgAQGiAgNHUEKqAh5Hb29n",
"bGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
new pbr::FileDescriptor[] {
});
internal__static_google_protobuf_Any__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.WellKnownTypes.Any), descriptor.MessageTypes[0],
new string[] { "TypeUrl", "Value", }, new string[] { });
new pbr::FileDescriptor[] { },
new global::System.Type[] { typeof(global::Google.Protobuf.WellKnownTypes.Any), });
}
#endregion
......@@ -53,8 +47,8 @@ namespace Google.Protobuf.WellKnownTypes {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Any.Descriptor.MessageTypes[0]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Any.internal__static_google_protobuf_Any__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......@@ -84,6 +78,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int TypeUrlFieldNumber = 1;
private string typeUrl_ = "";
[pbr::ProtobufField(1, "type_url")]
public string TypeUrl {
get { return typeUrl_; }
set {
......@@ -94,6 +89,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int ValueFieldNumber = 2;
private pb::ByteString value_ = pb::ByteString.Empty;
[pbr::ProtobufField(2, "value")]
public pb::ByteString Value {
get { return value_; }
set {
......
......@@ -14,10 +14,6 @@ namespace Google.Protobuf.WellKnownTypes {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class Api {
#region Static variables
internal static pbr::FieldAccessorTable internal__static_google_protobuf_Api__FieldAccessorTable;
internal static pbr::FieldAccessorTable internal__static_google_protobuf_Method__FieldAccessorTable;
#endregion
#region Descriptor
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
......@@ -41,16 +37,8 @@ namespace Google.Protobuf.WellKnownTypes {
"dG9QAaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IG",
"cHJvdG8z"));
descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
new pbr::FileDescriptor[] {
global::Google.Protobuf.WellKnownTypes.Proto.SourceContext.Descriptor,
global::Google.Protobuf.WellKnownTypes.Proto.Type.Descriptor,
});
internal__static_google_protobuf_Api__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.WellKnownTypes.Api), descriptor.MessageTypes[0],
new string[] { "Name", "Methods", "Options", "Version", "SourceContext", }, new string[] { });
internal__static_google_protobuf_Method__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.WellKnownTypes.Method), descriptor.MessageTypes[1],
new string[] { "Name", "RequestTypeUrl", "RequestStreaming", "ResponseTypeUrl", "ResponseStreaming", "Options", }, new string[] { });
new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.Proto.SourceContext.Descriptor, global::Google.Protobuf.WellKnownTypes.Proto.Type.Descriptor, },
new global::System.Type[] { typeof(global::Google.Protobuf.WellKnownTypes.Api), typeof(global::Google.Protobuf.WellKnownTypes.Method), });
}
#endregion
......@@ -68,8 +56,8 @@ namespace Google.Protobuf.WellKnownTypes {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Api.Descriptor.MessageTypes[0]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Api.internal__static_google_protobuf_Api__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......@@ -105,6 +93,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int NameFieldNumber = 1;
private string name_ = "";
[pbr::ProtobufField(1, "name")]
public string Name {
get { return name_; }
set {
......@@ -117,6 +106,7 @@ namespace Google.Protobuf.WellKnownTypes {
private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Method> _repeated_methods_codec
= pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Method.Parser);
private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Method> methods_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Method>();
[pbr::ProtobufField(2, "methods")]
public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Method> Methods {
get { return methods_; }
}
......@@ -125,12 +115,14 @@ namespace Google.Protobuf.WellKnownTypes {
private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Option> _repeated_options_codec
= pb::FieldCodec.ForMessage(26, global::Google.Protobuf.WellKnownTypes.Option.Parser);
private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> options_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option>();
[pbr::ProtobufField(3, "options")]
public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> Options {
get { return options_; }
}
public const int VersionFieldNumber = 4;
private string version_ = "";
[pbr::ProtobufField(4, "version")]
public string Version {
get { return version_; }
set {
......@@ -141,6 +133,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int SourceContextFieldNumber = 5;
private global::Google.Protobuf.WellKnownTypes.SourceContext sourceContext_;
[pbr::ProtobufField(5, "source_context")]
public global::Google.Protobuf.WellKnownTypes.SourceContext SourceContext {
get { return sourceContext_; }
set {
......@@ -286,8 +279,8 @@ namespace Google.Protobuf.WellKnownTypes {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Api.Descriptor.MessageTypes[1]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Api.internal__static_google_protobuf_Method__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......@@ -322,6 +315,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int NameFieldNumber = 1;
private string name_ = "";
[pbr::ProtobufField(1, "name")]
public string Name {
get { return name_; }
set {
......@@ -332,6 +326,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int RequestTypeUrlFieldNumber = 2;
private string requestTypeUrl_ = "";
[pbr::ProtobufField(2, "request_type_url")]
public string RequestTypeUrl {
get { return requestTypeUrl_; }
set {
......@@ -342,6 +337,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int RequestStreamingFieldNumber = 3;
private bool requestStreaming_;
[pbr::ProtobufField(3, "request_streaming")]
public bool RequestStreaming {
get { return requestStreaming_; }
set {
......@@ -352,6 +348,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int ResponseTypeUrlFieldNumber = 4;
private string responseTypeUrl_ = "";
[pbr::ProtobufField(4, "response_type_url")]
public string ResponseTypeUrl {
get { return responseTypeUrl_; }
set {
......@@ -362,6 +359,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int ResponseStreamingFieldNumber = 5;
private bool responseStreaming_;
[pbr::ProtobufField(5, "response_streaming")]
public bool ResponseStreaming {
get { return responseStreaming_; }
set {
......@@ -374,6 +372,7 @@ namespace Google.Protobuf.WellKnownTypes {
private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Option> _repeated_options_codec
= pb::FieldCodec.ForMessage(50, global::Google.Protobuf.WellKnownTypes.Option.Parser);
private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> options_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option>();
[pbr::ProtobufField(6, "options")]
public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Option> Options {
get { return options_; }
}
......
......@@ -14,9 +14,6 @@ namespace Google.Protobuf.WellKnownTypes {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class Duration {
#region Static variables
internal static pbr::FieldAccessorTable internal__static_google_protobuf_Duration__FieldAccessorTable;
#endregion
#region Descriptor
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
......@@ -32,11 +29,8 @@ namespace Google.Protobuf.WellKnownTypes {
"AaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJv",
"dG8z"));
descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
new pbr::FileDescriptor[] {
});
internal__static_google_protobuf_Duration__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.WellKnownTypes.Duration), descriptor.MessageTypes[0],
new string[] { "Seconds", "Nanos", }, new string[] { });
new pbr::FileDescriptor[] { },
new global::System.Type[] { typeof(global::Google.Protobuf.WellKnownTypes.Duration), });
}
#endregion
......@@ -54,8 +48,8 @@ namespace Google.Protobuf.WellKnownTypes {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Duration.Descriptor.MessageTypes[0]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Duration.internal__static_google_protobuf_Duration__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......@@ -85,6 +79,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int SecondsFieldNumber = 1;
private long seconds_;
[pbr::ProtobufField(1, "seconds")]
public long Seconds {
get { return seconds_; }
set {
......@@ -95,6 +90,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int NanosFieldNumber = 2;
private int nanos_;
[pbr::ProtobufField(2, "nanos")]
public int Nanos {
get { return nanos_; }
set {
......
......@@ -14,9 +14,6 @@ namespace Google.Protobuf.WellKnownTypes {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class Empty {
#region Static variables
internal static pbr::FieldAccessorTable internal__static_google_protobuf_Empty__FieldAccessorTable;
#endregion
#region Descriptor
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
......@@ -31,11 +28,8 @@ namespace Google.Protobuf.WellKnownTypes {
"UAGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnBy",
"b3RvMw=="));
descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
new pbr::FileDescriptor[] {
});
internal__static_google_protobuf_Empty__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.WellKnownTypes.Empty), descriptor.MessageTypes[0],
new string[] { }, new string[] { });
new pbr::FileDescriptor[] { },
new global::System.Type[] { typeof(global::Google.Protobuf.WellKnownTypes.Empty), });
}
#endregion
......@@ -53,8 +47,8 @@ namespace Google.Protobuf.WellKnownTypes {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Empty.Descriptor.MessageTypes[0]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Empty.internal__static_google_protobuf_Empty__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......
......@@ -14,9 +14,6 @@ namespace Google.Protobuf.WellKnownTypes {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class FieldMask {
#region Static variables
internal static pbr::FieldAccessorTable internal__static_google_protobuf_FieldMask__FieldAccessorTable;
#endregion
#region Descriptor
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
......@@ -31,11 +28,8 @@ namespace Google.Protobuf.WellKnownTypes {
"Z2xlLnByb3RvYnVmQg5GaWVsZE1hc2tQcm90b1ABogIDR1BCqgIeR29vZ2xl",
"LlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
new pbr::FileDescriptor[] {
});
internal__static_google_protobuf_FieldMask__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.WellKnownTypes.FieldMask), descriptor.MessageTypes[0],
new string[] { "Paths", }, new string[] { });
new pbr::FileDescriptor[] { },
new global::System.Type[] { typeof(global::Google.Protobuf.WellKnownTypes.FieldMask), });
}
#endregion
......@@ -53,8 +47,8 @@ namespace Google.Protobuf.WellKnownTypes {
get { return global::Google.Protobuf.WellKnownTypes.Proto.FieldMask.Descriptor.MessageTypes[0]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.WellKnownTypes.Proto.FieldMask.internal__static_google_protobuf_FieldMask__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......@@ -86,6 +80,7 @@ namespace Google.Protobuf.WellKnownTypes {
private static readonly pb::FieldCodec<string> _repeated_paths_codec
= pb::FieldCodec.ForString(10);
private readonly pbc::RepeatedField<string> paths_ = new pbc::RepeatedField<string>();
[pbr::ProtobufField(1, "paths")]
public pbc::RepeatedField<string> Paths {
get { return paths_; }
}
......
......@@ -14,9 +14,6 @@ namespace Google.Protobuf.WellKnownTypes {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class SourceContext {
#region Static variables
internal static pbr::FieldAccessorTable internal__static_google_protobuf_SourceContext__FieldAccessorTable;
#endregion
#region Descriptor
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
......@@ -32,11 +29,8 @@ namespace Google.Protobuf.WellKnownTypes {
"AaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJv",
"dG8z"));
descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
new pbr::FileDescriptor[] {
});
internal__static_google_protobuf_SourceContext__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.WellKnownTypes.SourceContext), descriptor.MessageTypes[0],
new string[] { "FileName", }, new string[] { });
new pbr::FileDescriptor[] { },
new global::System.Type[] { typeof(global::Google.Protobuf.WellKnownTypes.SourceContext), });
}
#endregion
......@@ -54,8 +48,8 @@ namespace Google.Protobuf.WellKnownTypes {
get { return global::Google.Protobuf.WellKnownTypes.Proto.SourceContext.Descriptor.MessageTypes[0]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.WellKnownTypes.Proto.SourceContext.internal__static_google_protobuf_SourceContext__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......@@ -84,6 +78,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int FileNameFieldNumber = 1;
private string fileName_ = "";
[pbr::ProtobufField(1, "file_name")]
public string FileName {
get { return fileName_; }
set {
......
......@@ -14,11 +14,6 @@ namespace Google.Protobuf.WellKnownTypes {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class Struct {
#region Static variables
internal static pbr::FieldAccessorTable internal__static_google_protobuf_Struct__FieldAccessorTable;
internal static pbr::FieldAccessorTable internal__static_google_protobuf_Value__FieldAccessorTable;
internal static pbr::FieldAccessorTable internal__static_google_protobuf_ListValue__FieldAccessorTable;
#endregion
#region Descriptor
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
......@@ -43,17 +38,8 @@ namespace Google.Protobuf.WellKnownTypes {
"AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnBy",
"b3RvMw=="));
descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
new pbr::FileDescriptor[] {
});
internal__static_google_protobuf_Struct__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.WellKnownTypes.Struct), descriptor.MessageTypes[0],
new string[] { "Fields", }, new string[] { });
internal__static_google_protobuf_Value__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.WellKnownTypes.Value), descriptor.MessageTypes[1],
new string[] { "NullValue", "NumberValue", "StringValue", "BoolValue", "StructValue", "ListValue", }, new string[] { "Kind", });
internal__static_google_protobuf_ListValue__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.WellKnownTypes.ListValue), descriptor.MessageTypes[2],
new string[] { "Values", }, new string[] { });
new pbr::FileDescriptor[] { },
new global::System.Type[] { typeof(global::Google.Protobuf.WellKnownTypes.Struct), null, typeof(global::Google.Protobuf.WellKnownTypes.Value), typeof(global::Google.Protobuf.WellKnownTypes.ListValue), typeof(global::Google.Protobuf.WellKnownTypes.NullValue), });
}
#endregion
......@@ -78,8 +64,8 @@ namespace Google.Protobuf.WellKnownTypes {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Struct.Descriptor.MessageTypes[0]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Struct.internal__static_google_protobuf_Struct__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......@@ -111,6 +97,7 @@ namespace Google.Protobuf.WellKnownTypes {
private static readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>.Codec _map_fields_codec
= new pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Value.Parser), 10);
private readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> fields_ = new pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>();
[pbr::ProtobufField(1, "fields")]
public pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> Fields {
get { return fields_; }
}
......@@ -189,8 +176,8 @@ namespace Google.Protobuf.WellKnownTypes {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Struct.Descriptor.MessageTypes[1]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Struct.internal__static_google_protobuf_Value__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......@@ -239,6 +226,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
public const int NullValueFieldNumber = 1;
[pbr::ProtobufField(1, "null_value")]
public global::Google.Protobuf.WellKnownTypes.NullValue NullValue {
get { return kindCase_ == KindOneofCase.NullValue ? (global::Google.Protobuf.WellKnownTypes.NullValue) kind_ : global::Google.Protobuf.WellKnownTypes.NullValue.NULL_VALUE; }
set {
......@@ -249,6 +237,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
public const int NumberValueFieldNumber = 2;
[pbr::ProtobufField(2, "number_value")]
public double NumberValue {
get { return kindCase_ == KindOneofCase.NumberValue ? (double) kind_ : 0D; }
set {
......@@ -259,6 +248,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
public const int StringValueFieldNumber = 3;
[pbr::ProtobufField(3, "string_value")]
public string StringValue {
get { return kindCase_ == KindOneofCase.StringValue ? (string) kind_ : ""; }
set {
......@@ -269,6 +259,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
public const int BoolValueFieldNumber = 4;
[pbr::ProtobufField(4, "bool_value")]
public bool BoolValue {
get { return kindCase_ == KindOneofCase.BoolValue ? (bool) kind_ : false; }
set {
......@@ -279,6 +270,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
public const int StructValueFieldNumber = 5;
[pbr::ProtobufField(5, "struct_value")]
public global::Google.Protobuf.WellKnownTypes.Struct StructValue {
get { return kindCase_ == KindOneofCase.StructValue ? (global::Google.Protobuf.WellKnownTypes.Struct) kind_ : null; }
set {
......@@ -289,6 +281,7 @@ namespace Google.Protobuf.WellKnownTypes {
}
public const int ListValueFieldNumber = 6;
[pbr::ProtobufField(6, "list_value")]
public global::Google.Protobuf.WellKnownTypes.ListValue ListValue {
get { return kindCase_ == KindOneofCase.ListValue ? (global::Google.Protobuf.WellKnownTypes.ListValue) kind_ : null; }
set {
......@@ -309,10 +302,12 @@ namespace Google.Protobuf.WellKnownTypes {
ListValue = 6,
}
private KindOneofCase kindCase_ = KindOneofCase.None;
[pbr::ProtobufOneof("kind")]
public KindOneofCase KindCase {
get { return kindCase_; }
}
[pbr::ProtobufOneof("kind")]
public void ClearKind() {
pb::Freezable.CheckMutable(this);
kindCase_ = KindOneofCase.None;
......@@ -494,8 +489,8 @@ namespace Google.Protobuf.WellKnownTypes {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Struct.Descriptor.MessageTypes[2]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Struct.internal__static_google_protobuf_ListValue__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......@@ -527,6 +522,7 @@ namespace Google.Protobuf.WellKnownTypes {
private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Value> _repeated_values_codec
= pb::FieldCodec.ForMessage(10, global::Google.Protobuf.WellKnownTypes.Value.Parser);
private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> values_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value>();
[pbr::ProtobufField(1, "values")]
public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> Values {
get { return values_; }
}
......
......@@ -14,9 +14,6 @@ namespace Google.Protobuf.WellKnownTypes {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static partial class Timestamp {
#region Static variables
internal static pbr::FieldAccessorTable internal__static_google_protobuf_Timestamp__FieldAccessorTable;
#endregion
#region Descriptor
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
......@@ -32,11 +29,8 @@ namespace Google.Protobuf.WellKnownTypes {
"AaABAaICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IG",
"cHJvdG8z"));
descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
new pbr::FileDescriptor[] {
});
internal__static_google_protobuf_Timestamp__FieldAccessorTable =
new pbr::FieldAccessorTable(typeof(global::Google.Protobuf.WellKnownTypes.Timestamp), descriptor.MessageTypes[0],
new string[] { "Seconds", "Nanos", }, new string[] { });
new pbr::FileDescriptor[] { },
new global::System.Type[] { typeof(global::Google.Protobuf.WellKnownTypes.Timestamp), });
}
#endregion
......@@ -54,8 +48,8 @@ namespace Google.Protobuf.WellKnownTypes {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Timestamp.Descriptor.MessageTypes[0]; }
}
pbr::FieldAccessorTable pb::IReflectedMessage.Fields {
get { return global::Google.Protobuf.WellKnownTypes.Proto.Timestamp.internal__static_google_protobuf_Timestamp__FieldAccessorTable; }
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
private bool _frozen = false;
......@@ -85,6 +79,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int SecondsFieldNumber = 1;
private long seconds_;
[pbr::ProtobufField(1, "seconds")]
public long Seconds {
get { return seconds_; }
set {
......@@ -95,6 +90,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int NanosFieldNumber = 2;
private int nanos_;
[pbr::ProtobufField(2, "nanos")]
public int Nanos {
get { return nanos_; }
set {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment