From b0888a42ad1459a8537faad47c47417925edec45 Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Tue, 29 Sep 2015 13:37:30 +0100 Subject: Generated code for previous commit --- csharp/src/AddressBook/Addressbook.cs | 3 +++ csharp/src/Google.Protobuf.Conformance/Conformance.cs | 6 ++++++ csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs | 3 +++ .../src/Google.Protobuf.Test/TestProtos/UnittestImportProto3.cs | 2 ++ .../Google.Protobuf.Test/TestProtos/UnittestImportPublicProto3.cs | 2 ++ csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs | 7 +++++++ csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs | 6 ++++++ .../src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs | 3 +++ csharp/src/Google.Protobuf/Reflection/DescriptorProtoFile.cs | 8 ++++++++ csharp/src/Google.Protobuf/WellKnownTypes/Any.cs | 2 ++ csharp/src/Google.Protobuf/WellKnownTypes/Api.cs | 2 ++ csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs | 2 ++ csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs | 2 ++ csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs | 2 ++ csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs | 2 ++ csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs | 3 +++ csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs | 2 ++ csharp/src/Google.Protobuf/WellKnownTypes/Type.cs | 3 +++ csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs | 2 ++ 19 files changed, 62 insertions(+) (limited to 'csharp') diff --git a/csharp/src/AddressBook/Addressbook.cs b/csharp/src/AddressBook/Addressbook.cs index 017a3f84..a8cdbe02 100644 --- a/csharp/src/AddressBook/Addressbook.cs +++ b/csharp/src/AddressBook/Addressbook.cs @@ -10,9 +10,11 @@ using scg = global::System.Collections.Generic; namespace Google.Protobuf.Examples.AddressBook { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from addressbook.proto public static partial class Addressbook { #region Descriptor + /// File descriptor for addressbook.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } @@ -213,6 +215,7 @@ namespace Google.Protobuf.Examples.AddressBook { #region Nested types [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Container for nested types declared in the Person message type. public static partial class Types { public enum PhoneType { MOBILE = 0, diff --git a/csharp/src/Google.Protobuf.Conformance/Conformance.cs b/csharp/src/Google.Protobuf.Conformance/Conformance.cs index 41492f21..0854d69b 100644 --- a/csharp/src/Google.Protobuf.Conformance/Conformance.cs +++ b/csharp/src/Google.Protobuf.Conformance/Conformance.cs @@ -10,9 +10,11 @@ using scg = global::System.Collections.Generic; namespace Conformance { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from conformance.proto public static partial class Conformance { #region Descriptor + /// File descriptor for conformance.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } @@ -225,6 +227,7 @@ namespace Conformance { } private object payload_; + /// Enum of possibly cases for the "payload" oneof. public enum PayloadOneofCase { None = 0, ProtobufPayload = 1, @@ -431,6 +434,7 @@ namespace Conformance { } private object result_; + /// Enum of possibly cases for the "result" oneof. public enum ResultOneofCase { None = 0, ParseError = 1, @@ -1240,6 +1244,7 @@ namespace Conformance { } private object oneofField_; + /// Enum of possibly cases for the "oneof_field" oneof. public enum OneofFieldOneofCase { None = 0, OneofUint32 = 111, @@ -2124,6 +2129,7 @@ namespace Conformance { #region Nested types [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Container for nested types declared in the TestAllTypes message type. public static partial class Types { public enum NestedEnum { FOO = 0, diff --git a/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs b/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs index 179afda9..2975a0e4 100644 --- a/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs +++ b/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs @@ -10,9 +10,11 @@ using scg = global::System.Collections.Generic; namespace Google.Protobuf.TestProtos { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/map_unittest_proto3.proto public static partial class MapUnittestProto3 { #region Descriptor + /// File descriptor for google/protobuf/map_unittest_proto3.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } @@ -1306,6 +1308,7 @@ namespace Google.Protobuf.TestProtos { #region Nested types [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Container for nested types declared in the MessageContainingEnumCalledType message type. public static partial class Types { public enum Type { TYPE_FOO = 0, diff --git a/csharp/src/Google.Protobuf.Test/TestProtos/UnittestImportProto3.cs b/csharp/src/Google.Protobuf.Test/TestProtos/UnittestImportProto3.cs index b2a97ce5..6d014e5c 100644 --- a/csharp/src/Google.Protobuf.Test/TestProtos/UnittestImportProto3.cs +++ b/csharp/src/Google.Protobuf.Test/TestProtos/UnittestImportProto3.cs @@ -10,9 +10,11 @@ using scg = global::System.Collections.Generic; namespace Google.Protobuf.TestProtos { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/unittest_import_proto3.proto public static partial class UnittestImportProto3 { #region Descriptor + /// File descriptor for google/protobuf/unittest_import_proto3.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } diff --git a/csharp/src/Google.Protobuf.Test/TestProtos/UnittestImportPublicProto3.cs b/csharp/src/Google.Protobuf.Test/TestProtos/UnittestImportPublicProto3.cs index ca3cab26..974c7d2b 100644 --- a/csharp/src/Google.Protobuf.Test/TestProtos/UnittestImportPublicProto3.cs +++ b/csharp/src/Google.Protobuf.Test/TestProtos/UnittestImportPublicProto3.cs @@ -10,9 +10,11 @@ using scg = global::System.Collections.Generic; namespace Google.Protobuf.TestProtos { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/unittest_import_public_proto3.proto public static partial class UnittestImportPublicProto3 { #region Descriptor + /// File descriptor for google/protobuf/unittest_import_public_proto3.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } diff --git a/csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs b/csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs index 80eb67b0..70eeb6f4 100644 --- a/csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs +++ b/csharp/src/Google.Protobuf.Test/TestProtos/UnittestIssues.cs @@ -10,9 +10,11 @@ using scg = global::System.Collections.Generic; namespace UnitTest.Issues.TestProtos { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from unittest_issues.proto public static partial class UnittestIssues { #region Descriptor + /// File descriptor for unittest_issues.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } @@ -150,6 +152,7 @@ namespace UnitTest.Issues.TestProtos { #region Nested types [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Container for nested types declared in the Issue307 message type. public static partial class Types { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class NestedOnce : pb::IMessage { @@ -227,6 +230,7 @@ namespace UnitTest.Issues.TestProtos { #region Nested types [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Container for nested types declared in the NestedOnce message type. public static partial class Types { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class NestedTwice : pb::IMessage { @@ -982,6 +986,7 @@ namespace UnitTest.Issues.TestProtos { #region Nested types [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Container for nested types declared in the ReservedNames message type. public static partial class Types { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class SomeNestedType : pb::IMessage { @@ -1165,6 +1170,7 @@ namespace UnitTest.Issues.TestProtos { } private object o1_; + /// Enum of possibly cases for the "o1" oneof. public enum O1OneofCase { None = 0, O1String = 2, @@ -1181,6 +1187,7 @@ namespace UnitTest.Issues.TestProtos { } private object o2_; + /// Enum of possibly cases for the "o2" oneof. public enum O2OneofCase { None = 0, O2Int32 = 6, diff --git a/csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs b/csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs index 49c357ea..37d3bac3 100644 --- a/csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs +++ b/csharp/src/Google.Protobuf.Test/TestProtos/UnittestProto3.cs @@ -10,9 +10,11 @@ using scg = global::System.Collections.Generic; namespace Google.Protobuf.TestProtos { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/unittest_proto3.proto public static partial class UnittestProto3 { #region Descriptor + /// File descriptor for google/protobuf/unittest_proto3.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } @@ -715,6 +717,7 @@ namespace Google.Protobuf.TestProtos { } private object oneofField_; + /// Enum of possibly cases for the "oneof_field" oneof. public enum OneofFieldOneofCase { None = 0, OneofUint32 = 111, @@ -1444,6 +1447,7 @@ namespace Google.Protobuf.TestProtos { #region Nested types [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Container for nested types declared in the TestAllTypes message type. public static partial class Types { public enum NestedEnum { NESTED_ENUM_UNSPECIFIED = 0, @@ -3057,6 +3061,7 @@ namespace Google.Protobuf.TestProtos { #region Nested types [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Container for nested types declared in the TestFieldOrderings message type. public static partial class Types { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class NestedMessage : pb::IMessage { @@ -4269,6 +4274,7 @@ namespace Google.Protobuf.TestProtos { } private object foo_; + /// Enum of possibly cases for the "foo" oneof. public enum FooOneofCase { None = 0, FooInt = 1, diff --git a/csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs b/csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs index 5a7c4489..b574dcd2 100644 --- a/csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs +++ b/csharp/src/Google.Protobuf.Test/TestProtos/UnittestWellKnownTypes.cs @@ -10,9 +10,11 @@ using scg = global::System.Collections.Generic; namespace Google.Protobuf.TestProtos { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/unittest_well_known_types.proto public static partial class UnittestWellKnownTypes { #region Descriptor + /// File descriptor for google/protobuf/unittest_well_known_types.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } @@ -1468,6 +1470,7 @@ namespace Google.Protobuf.TestProtos { } private object oneofField_; + /// Enum of possibly cases for the "oneof_field" oneof. public enum OneofFieldOneofCase { None = 0, AnyField = 1, diff --git a/csharp/src/Google.Protobuf/Reflection/DescriptorProtoFile.cs b/csharp/src/Google.Protobuf/Reflection/DescriptorProtoFile.cs index 5072abe2..fccadc89 100644 --- a/csharp/src/Google.Protobuf/Reflection/DescriptorProtoFile.cs +++ b/csharp/src/Google.Protobuf/Reflection/DescriptorProtoFile.cs @@ -10,9 +10,11 @@ using scg = global::System.Collections.Generic; namespace Google.Protobuf.Reflection { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/descriptor.proto internal static partial class DescriptorProtoFile { #region Descriptor + /// File descriptor for google/protobuf/descriptor.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } @@ -878,6 +880,7 @@ namespace Google.Protobuf.Reflection { #region Nested types [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Container for nested types declared in the DescriptorProto message type. public static partial class Types { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal sealed partial class ExtensionRange : pb::IMessage { @@ -1456,6 +1459,7 @@ namespace Google.Protobuf.Reflection { #region Nested types [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Container for nested types declared in the FieldDescriptorProto message type. public static partial class Types { internal enum Type { TYPE_DOUBLE = 1, @@ -2777,6 +2781,7 @@ namespace Google.Protobuf.Reflection { #region Nested types [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Container for nested types declared in the FileOptions message type. public static partial class Types { internal enum OptimizeMode { SPEED = 1, @@ -3237,6 +3242,7 @@ namespace Google.Protobuf.Reflection { #region Nested types [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Container for nested types declared in the FieldOptions message type. public static partial class Types { internal enum CType { STRING = 0, @@ -4011,6 +4017,7 @@ namespace Google.Protobuf.Reflection { #region Nested types [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Container for nested types declared in the UninterpretedOption message type. public static partial class Types { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal sealed partial class NamePart : pb::IMessage { @@ -4239,6 +4246,7 @@ namespace Google.Protobuf.Reflection { #region Nested types [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Container for nested types declared in the SourceCodeInfo message type. public static partial class Types { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal sealed partial class Location : pb::IMessage { diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs index 51ff2d4e..f1540918 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs @@ -12,9 +12,11 @@ namespace Google.Protobuf.WellKnownTypes { namespace Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/any.proto public static partial class Any { #region Descriptor + /// File descriptor for google/protobuf/any.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Api.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Api.cs index 4d06ff35..45caa5c3 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Api.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Api.cs @@ -12,9 +12,11 @@ namespace Google.Protobuf.WellKnownTypes { namespace Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/api.proto public static partial class Api { #region Descriptor + /// File descriptor for google/protobuf/api.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs index fce1de0b..6c0e89f2 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs @@ -12,9 +12,11 @@ namespace Google.Protobuf.WellKnownTypes { namespace Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/duration.proto public static partial class Duration { #region Descriptor + /// File descriptor for google/protobuf/duration.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs index 2d87aaaa..0a13e663 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs @@ -12,9 +12,11 @@ namespace Google.Protobuf.WellKnownTypes { namespace Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/empty.proto public static partial class Empty { #region Descriptor + /// File descriptor for google/protobuf/empty.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs b/csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs index a73a6360..2a1327e4 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/FieldMask.cs @@ -12,9 +12,11 @@ namespace Google.Protobuf.WellKnownTypes { namespace Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/field_mask.proto public static partial class FieldMask { #region Descriptor + /// File descriptor for google/protobuf/field_mask.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs b/csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs index d80c50f3..e45049c2 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs @@ -12,9 +12,11 @@ namespace Google.Protobuf.WellKnownTypes { namespace Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/source_context.proto public static partial class SourceContext { #region Descriptor + /// File descriptor for google/protobuf/source_context.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs index cab771c0..13d20ad6 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs @@ -12,9 +12,11 @@ namespace Google.Protobuf.WellKnownTypes { namespace Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/struct.proto public static partial class Struct { #region Descriptor + /// File descriptor for google/protobuf/struct.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } @@ -253,6 +255,7 @@ namespace Google.Protobuf.WellKnownTypes { } private object kind_; + /// Enum of possibly cases for the "kind" oneof. public enum KindOneofCase { None = 0, NullValue = 1, diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs index 5c652dc2..54b68629 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs @@ -12,9 +12,11 @@ namespace Google.Protobuf.WellKnownTypes { namespace Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/timestamp.proto public static partial class Timestamp { #region Descriptor + /// File descriptor for google/protobuf/timestamp.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Type.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Type.cs index eb676945..d816da38 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Type.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Type.cs @@ -12,9 +12,11 @@ namespace Google.Protobuf.WellKnownTypes { namespace Proto { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/type.proto public static partial class Type { #region Descriptor + /// File descriptor for google/protobuf/type.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } @@ -596,6 +598,7 @@ namespace Google.Protobuf.WellKnownTypes { #region Nested types [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Container for nested types declared in the Field message type. public static partial class Types { public enum Kind { TYPE_UNKNOWN = 0, diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs index 7e63d805..b6db40b1 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Wrappers.cs @@ -10,9 +10,11 @@ using scg = global::System.Collections.Generic; namespace Google.Protobuf.WellKnownTypes { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + /// Holder for reflection information generated from google/protobuf/wrappers.proto public static partial class Wrappers { #region Descriptor + /// File descriptor for google/protobuf/wrappers.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } -- cgit v1.2.3