Commit fda9049e authored by Jan Tattermusch's avatar Jan Tattermusch

remove leading whitespace in C# xml comments

parent 277a8b65
...@@ -43,7 +43,7 @@ namespace Google.Protobuf.Examples.AddressBook { ...@@ -43,7 +43,7 @@ namespace Google.Protobuf.Examples.AddressBook {
} }
#region Messages #region Messages
/// <summary> /// <summary>
/// [START messages] /// [START messages]
/// </summary> /// </summary>
public sealed partial class Person : pb::IMessage<Person> { public sealed partial class Person : pb::IMessage<Person> {
private static readonly pb::MessageParser<Person> _parser = new pb::MessageParser<Person>(() => new Person()); private static readonly pb::MessageParser<Person> _parser = new pb::MessageParser<Person>(() => new Person());
...@@ -95,7 +95,7 @@ namespace Google.Protobuf.Examples.AddressBook { ...@@ -95,7 +95,7 @@ namespace Google.Protobuf.Examples.AddressBook {
public const int IdFieldNumber = 2; public const int IdFieldNumber = 2;
private int id_; private int id_;
/// <summary> /// <summary>
/// Unique ID number for this person. /// Unique ID number for this person.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Id { public int Id {
...@@ -400,7 +400,7 @@ namespace Google.Protobuf.Examples.AddressBook { ...@@ -400,7 +400,7 @@ namespace Google.Protobuf.Examples.AddressBook {
} }
/// <summary> /// <summary>
/// Our address book file is just one of these. /// Our address book file is just one of these.
/// </summary> /// </summary>
public sealed partial class AddressBook : pb::IMessage<AddressBook> { public sealed partial class AddressBook : pb::IMessage<AddressBook> {
private static readonly pb::MessageParser<AddressBook> _parser = new pb::MessageParser<AddressBook>(() => new AddressBook()); private static readonly pb::MessageParser<AddressBook> _parser = new pb::MessageParser<AddressBook>(() => new AddressBook());
......
...@@ -54,11 +54,11 @@ namespace Conformance { ...@@ -54,11 +54,11 @@ namespace Conformance {
#region Messages #region Messages
/// <summary> /// <summary>
/// Represents a single test case's input. The testee should: /// Represents a single test case's input. The testee should:
/// ///
/// 1. parse this proto (which should always succeed) /// 1. parse this proto (which should always succeed)
/// 2. parse the protobuf or JSON payload in "payload" (which may fail) /// 2. parse the protobuf or JSON payload in "payload" (which may fail)
/// 3. if the parse succeeded, serialize the message in the requested format. /// 3. if the parse succeeded, serialize the message in the requested format.
/// </summary> /// </summary>
public sealed partial class ConformanceRequest : pb::IMessage<ConformanceRequest> { public sealed partial class ConformanceRequest : pb::IMessage<ConformanceRequest> {
private static readonly pb::MessageParser<ConformanceRequest> _parser = new pb::MessageParser<ConformanceRequest>(() => new ConformanceRequest()); private static readonly pb::MessageParser<ConformanceRequest> _parser = new pb::MessageParser<ConformanceRequest>(() => new ConformanceRequest());
...@@ -127,7 +127,7 @@ namespace Conformance { ...@@ -127,7 +127,7 @@ namespace Conformance {
public const int RequestedOutputFormatFieldNumber = 3; public const int RequestedOutputFormatFieldNumber = 3;
private global::Conformance.WireFormat requestedOutputFormat_ = 0; private global::Conformance.WireFormat requestedOutputFormat_ = 0;
/// <summary> /// <summary>
/// Which format should the testee serialize its message to? /// Which format should the testee serialize its message to?
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Conformance.WireFormat RequestedOutputFormat { public global::Conformance.WireFormat RequestedOutputFormat {
...@@ -268,7 +268,7 @@ namespace Conformance { ...@@ -268,7 +268,7 @@ namespace Conformance {
} }
/// <summary> /// <summary>
/// Represents a single test case's output. /// Represents a single test case's output.
/// </summary> /// </summary>
public sealed partial class ConformanceResponse : pb::IMessage<ConformanceResponse> { public sealed partial class ConformanceResponse : pb::IMessage<ConformanceResponse> {
private static readonly pb::MessageParser<ConformanceResponse> _parser = new pb::MessageParser<ConformanceResponse>(() => new ConformanceResponse()); private static readonly pb::MessageParser<ConformanceResponse> _parser = new pb::MessageParser<ConformanceResponse>(() => new ConformanceResponse());
...@@ -325,11 +325,11 @@ namespace Conformance { ...@@ -325,11 +325,11 @@ namespace Conformance {
/// <summary>Field number for the "parse_error" field.</summary> /// <summary>Field number for the "parse_error" field.</summary>
public const int ParseErrorFieldNumber = 1; public const int ParseErrorFieldNumber = 1;
/// <summary> /// <summary>
/// This string should be set to indicate parsing failed. The string can /// This string should be set to indicate parsing failed. The string can
/// provide more information about the parse error if it is available. /// provide more information about the parse error if it is available.
/// ///
/// Setting this string does not necessarily mean the testee failed the /// Setting this string does not necessarily mean the testee failed the
/// test. Some of the test cases are intentionally invalid input. /// test. Some of the test cases are intentionally invalid input.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string ParseError { public string ParseError {
...@@ -343,9 +343,9 @@ namespace Conformance { ...@@ -343,9 +343,9 @@ namespace Conformance {
/// <summary>Field number for the "serialize_error" field.</summary> /// <summary>Field number for the "serialize_error" field.</summary>
public const int SerializeErrorFieldNumber = 6; public const int SerializeErrorFieldNumber = 6;
/// <summary> /// <summary>
/// If the input was successfully parsed but errors occurred when /// If the input was successfully parsed but errors occurred when
/// serializing it to the requested output format, set the error message in /// serializing it to the requested output format, set the error message in
/// this field. /// this field.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string SerializeError { public string SerializeError {
...@@ -359,9 +359,9 @@ namespace Conformance { ...@@ -359,9 +359,9 @@ namespace Conformance {
/// <summary>Field number for the "runtime_error" field.</summary> /// <summary>Field number for the "runtime_error" field.</summary>
public const int RuntimeErrorFieldNumber = 2; public const int RuntimeErrorFieldNumber = 2;
/// <summary> /// <summary>
/// This should be set if some other error occurred. This will always /// This should be set if some other error occurred. This will always
/// indicate that the test failed. The string can provide more information /// indicate that the test failed. The string can provide more information
/// about the failure. /// about the failure.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string RuntimeError { public string RuntimeError {
...@@ -375,8 +375,8 @@ namespace Conformance { ...@@ -375,8 +375,8 @@ namespace Conformance {
/// <summary>Field number for the "protobuf_payload" field.</summary> /// <summary>Field number for the "protobuf_payload" field.</summary>
public const int ProtobufPayloadFieldNumber = 3; public const int ProtobufPayloadFieldNumber = 3;
/// <summary> /// <summary>
/// If the input was successfully parsed and the requested output was /// If the input was successfully parsed and the requested output was
/// protobuf, serialize it to protobuf and set it in this field. /// protobuf, serialize it to protobuf and set it in this field.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString ProtobufPayload { public pb::ByteString ProtobufPayload {
...@@ -390,8 +390,8 @@ namespace Conformance { ...@@ -390,8 +390,8 @@ namespace Conformance {
/// <summary>Field number for the "json_payload" field.</summary> /// <summary>Field number for the "json_payload" field.</summary>
public const int JsonPayloadFieldNumber = 4; public const int JsonPayloadFieldNumber = 4;
/// <summary> /// <summary>
/// If the input was successfully parsed and the requested output was JSON, /// If the input was successfully parsed and the requested output was JSON,
/// serialize to JSON and set it in this field. /// serialize to JSON and set it in this field.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string JsonPayload { public string JsonPayload {
...@@ -405,8 +405,8 @@ namespace Conformance { ...@@ -405,8 +405,8 @@ namespace Conformance {
/// <summary>Field number for the "skipped" field.</summary> /// <summary>Field number for the "skipped" field.</summary>
public const int SkippedFieldNumber = 5; public const int SkippedFieldNumber = 5;
/// <summary> /// <summary>
/// For when the testee skipped the test, likely because a certain feature /// For when the testee skipped the test, likely because a certain feature
/// wasn't supported, like JSON input/output. /// wasn't supported, like JSON input/output.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Skipped { public string Skipped {
......
...@@ -172,7 +172,7 @@ namespace Google.Protobuf.TestProtos { ...@@ -172,7 +172,7 @@ namespace Google.Protobuf.TestProtos {
#region Messages #region Messages
/// <summary> /// <summary>
/// Tests maps. /// Tests maps.
/// </summary> /// </summary>
public sealed partial class TestMap : pb::IMessage<TestMap> { public sealed partial class TestMap : pb::IMessage<TestMap> {
private static readonly pb::MessageParser<TestMap> _parser = new pb::MessageParser<TestMap>(() => new TestMap()); private static readonly pb::MessageParser<TestMap> _parser = new pb::MessageParser<TestMap>(() => new TestMap());
...@@ -836,7 +836,7 @@ namespace Google.Protobuf.TestProtos { ...@@ -836,7 +836,7 @@ namespace Google.Protobuf.TestProtos {
} }
/// <summary> /// <summary>
/// Two map fields share the same entry default instance. /// Two map fields share the same entry default instance.
/// </summary> /// </summary>
public sealed partial class TestSameTypeMap : pb::IMessage<TestSameTypeMap> { public sealed partial class TestSameTypeMap : pb::IMessage<TestSameTypeMap> {
private static readonly pb::MessageParser<TestSameTypeMap> _parser = new pb::MessageParser<TestSameTypeMap>(() => new TestSameTypeMap()); private static readonly pb::MessageParser<TestSameTypeMap> _parser = new pb::MessageParser<TestSameTypeMap>(() => new TestSameTypeMap());
...@@ -1357,8 +1357,8 @@ namespace Google.Protobuf.TestProtos { ...@@ -1357,8 +1357,8 @@ namespace Google.Protobuf.TestProtos {
} }
/// <summary> /// <summary>
/// Previously, message containing enum called Type cannot be used as value of /// Previously, message containing enum called Type cannot be used as value of
/// map field. /// map field.
/// </summary> /// </summary>
public sealed partial class MessageContainingEnumCalledType : pb::IMessage<MessageContainingEnumCalledType> { public sealed partial class MessageContainingEnumCalledType : pb::IMessage<MessageContainingEnumCalledType> {
private static readonly pb::MessageParser<MessageContainingEnumCalledType> _parser = new pb::MessageParser<MessageContainingEnumCalledType>(() => new MessageContainingEnumCalledType()); private static readonly pb::MessageParser<MessageContainingEnumCalledType> _parser = new pb::MessageParser<MessageContainingEnumCalledType>(() => new MessageContainingEnumCalledType());
...@@ -1481,7 +1481,7 @@ namespace Google.Protobuf.TestProtos { ...@@ -1481,7 +1481,7 @@ namespace Google.Protobuf.TestProtos {
} }
/// <summary> /// <summary>
/// Previously, message cannot contain map field called "entry". /// Previously, message cannot contain map field called "entry".
/// </summary> /// </summary>
public sealed partial class MessageContainingMapCalledEntry : pb::IMessage<MessageContainingMapCalledEntry> { public sealed partial class MessageContainingMapCalledEntry : pb::IMessage<MessageContainingMapCalledEntry> {
private static readonly pb::MessageParser<MessageContainingMapCalledEntry> _parser = new pb::MessageParser<MessageContainingMapCalledEntry>(() => new MessageContainingMapCalledEntry()); private static readonly pb::MessageParser<MessageContainingMapCalledEntry> _parser = new pb::MessageParser<MessageContainingMapCalledEntry>(() => new MessageContainingMapCalledEntry());
......
...@@ -219,13 +219,13 @@ namespace ProtobufTestMessages.Proto3 { ...@@ -219,13 +219,13 @@ namespace ProtobufTestMessages.Proto3 {
#region Messages #region Messages
/// <summary> /// <summary>
/// This proto includes every type of field in both singular and repeated /// This proto includes every type of field in both singular and repeated
/// forms. /// forms.
/// ///
/// Also, crucially, all messages and enums in this file are eventually /// Also, crucially, all messages and enums in this file are eventually
/// submessages of this message. So for example, a fuzz test of TestAllTypes /// submessages of this message. So for example, a fuzz test of TestAllTypes
/// could trigger bugs that occur in any message type in this file. We verify /// could trigger bugs that occur in any message type in this file. We verify
/// this stays true in a unit test. /// this stays true in a unit test.
/// </summary> /// </summary>
public sealed partial class TestAllTypes : pb::IMessage<TestAllTypes> { public sealed partial class TestAllTypes : pb::IMessage<TestAllTypes> {
private static readonly pb::MessageParser<TestAllTypes> _parser = new pb::MessageParser<TestAllTypes>(() => new TestAllTypes()); private static readonly pb::MessageParser<TestAllTypes> _parser = new pb::MessageParser<TestAllTypes>(() => new TestAllTypes());
...@@ -402,7 +402,7 @@ namespace ProtobufTestMessages.Proto3 { ...@@ -402,7 +402,7 @@ namespace ProtobufTestMessages.Proto3 {
public const int OptionalInt32FieldNumber = 1; public const int OptionalInt32FieldNumber = 1;
private int optionalInt32_; private int optionalInt32_;
/// <summary> /// <summary>
/// Singular /// Singular
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int OptionalInt32 { public int OptionalInt32 {
...@@ -649,7 +649,7 @@ namespace ProtobufTestMessages.Proto3 { ...@@ -649,7 +649,7 @@ namespace ProtobufTestMessages.Proto3 {
= pb::FieldCodec.ForInt32(250); = pb::FieldCodec.ForInt32(250);
private readonly pbc::RepeatedField<int> repeatedInt32_ = new pbc::RepeatedField<int>(); private readonly pbc::RepeatedField<int> repeatedInt32_ = new pbc::RepeatedField<int>();
/// <summary> /// <summary>
/// Repeated /// Repeated
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<int> RepeatedInt32 { public pbc::RepeatedField<int> RepeatedInt32 {
...@@ -862,7 +862,7 @@ namespace ProtobufTestMessages.Proto3 { ...@@ -862,7 +862,7 @@ namespace ProtobufTestMessages.Proto3 {
= new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForInt32(16), 450); = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForInt32(16), 450);
private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>(); private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>();
/// <summary> /// <summary>
/// Map /// Map
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::MapField<int, int> MapInt32Int32 { public pbc::MapField<int, int> MapInt32Int32 {
...@@ -1153,7 +1153,7 @@ namespace ProtobufTestMessages.Proto3 { ...@@ -1153,7 +1153,7 @@ namespace ProtobufTestMessages.Proto3 {
private static readonly pb::FieldCodec<bool?> _single_optionalBoolWrapper_codec = pb::FieldCodec.ForStructWrapper<bool>(1610); private static readonly pb::FieldCodec<bool?> _single_optionalBoolWrapper_codec = pb::FieldCodec.ForStructWrapper<bool>(1610);
private bool? optionalBoolWrapper_; private bool? optionalBoolWrapper_;
/// <summary> /// <summary>
/// Well-known types /// Well-known types
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool? OptionalBoolWrapper { public bool? OptionalBoolWrapper {
...@@ -1479,8 +1479,8 @@ namespace ProtobufTestMessages.Proto3 { ...@@ -1479,8 +1479,8 @@ namespace ProtobufTestMessages.Proto3 {
public const int Fieldname1FieldNumber = 401; public const int Fieldname1FieldNumber = 401;
private int fieldname1_; private int fieldname1_;
/// <summary> /// <summary>
/// Test field-name-to-JSON-name convention. /// Test field-name-to-JSON-name convention.
/// (protobuf says names can be any valid C/C++ identifier.) /// (protobuf says names can be any valid C/C++ identifier.)
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Fieldname1 { public int Fieldname1 {
...@@ -3403,7 +3403,7 @@ namespace ProtobufTestMessages.Proto3 { ...@@ -3403,7 +3403,7 @@ namespace ProtobufTestMessages.Proto3 {
[pbr::OriginalName("BAR")] Bar = 1, [pbr::OriginalName("BAR")] Bar = 1,
[pbr::OriginalName("BAZ")] Baz = 2, [pbr::OriginalName("BAZ")] Baz = 2,
/// <summary> /// <summary>
/// Intentionally negative. /// Intentionally negative.
/// </summary> /// </summary>
[pbr::OriginalName("NEG")] Neg = -1, [pbr::OriginalName("NEG")] Neg = -1,
} }
......
...@@ -79,8 +79,8 @@ namespace UnitTest.Issues.TestProtos { ...@@ -79,8 +79,8 @@ namespace UnitTest.Issues.TestProtos {
#region Messages #region Messages
/// <summary> /// <summary>
/// Issue 307: when generating doubly-nested types, any references /// Issue 307: when generating doubly-nested types, any references
/// should be of the form A.Types.B.Types.C. /// should be of the form A.Types.B.Types.C.
/// </summary> /// </summary>
public sealed partial class Issue307 : pb::IMessage<Issue307> { public sealed partial class Issue307 : pb::IMessage<Issue307> {
private static readonly pb::MessageParser<Issue307> _parser = new pb::MessageParser<Issue307>(() => new Issue307()); private static readonly pb::MessageParser<Issue307> _parser = new pb::MessageParser<Issue307>(() => new Issue307());
...@@ -859,7 +859,7 @@ namespace UnitTest.Issues.TestProtos { ...@@ -859,7 +859,7 @@ namespace UnitTest.Issues.TestProtos {
} }
/// <summary> /// <summary>
/// Issue 45: http://code.google.com/p/protobuf-csharp-port/issues/detail?id=45 /// Issue 45: http://code.google.com/p/protobuf-csharp-port/issues/detail?id=45
/// </summary> /// </summary>
public sealed partial class ItemField : pb::IMessage<ItemField> { public sealed partial class ItemField : pb::IMessage<ItemField> {
private static readonly pb::MessageParser<ItemField> _parser = new pb::MessageParser<ItemField>(() => new ItemField()); private static readonly pb::MessageParser<ItemField> _parser = new pb::MessageParser<ItemField>(() => new ItemField());
...@@ -1126,7 +1126,7 @@ namespace UnitTest.Issues.TestProtos { ...@@ -1126,7 +1126,7 @@ namespace UnitTest.Issues.TestProtos {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static partial class Types { public static partial class Types {
/// <summary> /// <summary>
/// Force a nested type called Types /// Force a nested type called Types
/// </summary> /// </summary>
public sealed partial class SomeNestedType : pb::IMessage<SomeNestedType> { public sealed partial class SomeNestedType : pb::IMessage<SomeNestedType> {
private static readonly pb::MessageParser<SomeNestedType> _parser = new pb::MessageParser<SomeNestedType>(() => new SomeNestedType()); private static readonly pb::MessageParser<SomeNestedType> _parser = new pb::MessageParser<SomeNestedType>(() => new SomeNestedType());
...@@ -1223,16 +1223,16 @@ namespace UnitTest.Issues.TestProtos { ...@@ -1223,16 +1223,16 @@ namespace UnitTest.Issues.TestProtos {
} }
/// <summary> /// <summary>
/// These fields are deliberately not declared in numeric /// These fields are deliberately not declared in numeric
/// order, and the oneof fields aren't contiguous either. /// order, and the oneof fields aren't contiguous either.
/// This allows for reasonably robust tests of JSON output /// This allows for reasonably robust tests of JSON output
/// ordering. /// ordering.
/// TestFieldOrderings in unittest_proto3.proto is similar, /// TestFieldOrderings in unittest_proto3.proto is similar,
/// but doesn't include oneofs. /// but doesn't include oneofs.
/// TODO: Consider adding oneofs to TestFieldOrderings, although /// TODO: Consider adding oneofs to TestFieldOrderings, although
/// that will require fixing other tests in multiple platforms. /// that will require fixing other tests in multiple platforms.
/// Alternatively, consider just adding this to /// Alternatively, consider just adding this to
/// unittest_proto3.proto if multiple platforms want it. /// unittest_proto3.proto if multiple platforms want it.
/// </summary> /// </summary>
public sealed partial class TestJsonFieldOrdering : pb::IMessage<TestJsonFieldOrdering> { public sealed partial class TestJsonFieldOrdering : pb::IMessage<TestJsonFieldOrdering> {
private static readonly pb::MessageParser<TestJsonFieldOrdering> _parser = new pb::MessageParser<TestJsonFieldOrdering>(() => new TestJsonFieldOrdering()); private static readonly pb::MessageParser<TestJsonFieldOrdering> _parser = new pb::MessageParser<TestJsonFieldOrdering>(() => new TestJsonFieldOrdering());
...@@ -1591,7 +1591,7 @@ namespace UnitTest.Issues.TestProtos { ...@@ -1591,7 +1591,7 @@ namespace UnitTest.Issues.TestProtos {
public const int NameFieldNumber = 1; public const int NameFieldNumber = 1;
private string name_ = ""; private string name_ = "";
/// <summary> /// <summary>
/// Message for testing the effects for of the json_name option /// Message for testing the effects for of the json_name option
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Name { public string Name {
......
...@@ -173,9 +173,9 @@ namespace Google.Protobuf.TestProtos { ...@@ -173,9 +173,9 @@ namespace Google.Protobuf.TestProtos {
} }
#region Messages #region Messages
/// <summary> /// <summary>
/// Test that we can include all well-known types. /// Test that we can include all well-known types.
/// Each wrapper type is included separately, as languages /// Each wrapper type is included separately, as languages
/// map handle different wrappers in different ways. /// map handle different wrappers in different ways.
/// </summary> /// </summary>
public sealed partial class TestWellKnownTypes : pb::IMessage<TestWellKnownTypes> { public sealed partial class TestWellKnownTypes : pb::IMessage<TestWellKnownTypes> {
private static readonly pb::MessageParser<TestWellKnownTypes> _parser = new pb::MessageParser<TestWellKnownTypes>(() => new TestWellKnownTypes()); private static readonly pb::MessageParser<TestWellKnownTypes> _parser = new pb::MessageParser<TestWellKnownTypes>(() => new TestWellKnownTypes());
...@@ -438,7 +438,7 @@ namespace Google.Protobuf.TestProtos { ...@@ -438,7 +438,7 @@ namespace Google.Protobuf.TestProtos {
public const int ValueFieldFieldNumber = 19; public const int ValueFieldFieldNumber = 19;
private global::Google.Protobuf.WellKnownTypes.Value valueField_; private global::Google.Protobuf.WellKnownTypes.Value valueField_;
/// <summary> /// <summary>
/// Part of struct, but useful to be able to test separately /// Part of struct, but useful to be able to test separately
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.Value ValueField { public global::Google.Protobuf.WellKnownTypes.Value ValueField {
...@@ -907,7 +907,7 @@ namespace Google.Protobuf.TestProtos { ...@@ -907,7 +907,7 @@ namespace Google.Protobuf.TestProtos {
} }
/// <summary> /// <summary>
/// A repeated field for each well-known type. /// A repeated field for each well-known type.
/// </summary> /// </summary>
public sealed partial class RepeatedWellKnownTypes : pb::IMessage<RepeatedWellKnownTypes> { public sealed partial class RepeatedWellKnownTypes : pb::IMessage<RepeatedWellKnownTypes> {
private static readonly pb::MessageParser<RepeatedWellKnownTypes> _parser = new pb::MessageParser<RepeatedWellKnownTypes>(() => new RepeatedWellKnownTypes()); private static readonly pb::MessageParser<RepeatedWellKnownTypes> _parser = new pb::MessageParser<RepeatedWellKnownTypes>(() => new RepeatedWellKnownTypes());
...@@ -1054,7 +1054,7 @@ namespace Google.Protobuf.TestProtos { ...@@ -1054,7 +1054,7 @@ namespace Google.Protobuf.TestProtos {
= pb::FieldCodec.ForStructWrapper<double>(82); = pb::FieldCodec.ForStructWrapper<double>(82);
private readonly pbc::RepeatedField<double?> doubleField_ = new pbc::RepeatedField<double?>(); private readonly pbc::RepeatedField<double?> doubleField_ = new pbc::RepeatedField<double?>();
/// <summary> /// <summary>
/// These don't actually make a lot of sense, but they're not prohibited... /// These don't actually make a lot of sense, but they're not prohibited...
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<double?> DoubleField { public pbc::RepeatedField<double?> DoubleField {
...@@ -2079,9 +2079,9 @@ namespace Google.Protobuf.TestProtos { ...@@ -2079,9 +2079,9 @@ namespace Google.Protobuf.TestProtos {
} }
/// <summary> /// <summary>
/// A map field for each well-known type. We only /// A map field for each well-known type. We only
/// need to worry about the value part of the map being the /// need to worry about the value part of the map being the
/// well-known types, as messages can't be map keys. /// well-known types, as messages can't be map keys.
/// </summary> /// </summary>
public sealed partial class MapWellKnownTypes : pb::IMessage<MapWellKnownTypes> { public sealed partial class MapWellKnownTypes : pb::IMessage<MapWellKnownTypes> {
private static readonly pb::MessageParser<MapWellKnownTypes> _parser = new pb::MessageParser<MapWellKnownTypes>(() => new MapWellKnownTypes()); private static readonly pb::MessageParser<MapWellKnownTypes> _parser = new pb::MessageParser<MapWellKnownTypes>(() => new MapWellKnownTypes());
......
...@@ -38,74 +38,74 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -38,74 +38,74 @@ namespace Google.Protobuf.WellKnownTypes {
} }
#region Messages #region Messages
/// <summary> /// <summary>
/// `Any` contains an arbitrary serialized protocol buffer message along with a /// `Any` contains an arbitrary serialized protocol buffer message along with a
/// URL that describes the type of the serialized message. /// URL that describes the type of the serialized message.
/// ///
/// Protobuf library provides support to pack/unpack Any values in the form /// Protobuf library provides support to pack/unpack Any values in the form
/// of utility functions or additional generated methods of the Any type. /// of utility functions or additional generated methods of the Any type.
/// ///
/// Example 1: Pack and unpack a message in C++. /// Example 1: Pack and unpack a message in C++.
/// ///
/// Foo foo = ...; /// Foo foo = ...;
/// Any any; /// Any any;
/// any.PackFrom(foo); /// any.PackFrom(foo);
/// ... /// ...
/// if (any.UnpackTo(&amp;foo)) { /// if (any.UnpackTo(&amp;foo)) {
/// ... /// ...
/// } /// }
/// ///
/// Example 2: Pack and unpack a message in Java. /// Example 2: Pack and unpack a message in Java.
/// ///
/// Foo foo = ...; /// Foo foo = ...;
/// Any any = Any.pack(foo); /// Any any = Any.pack(foo);
/// ... /// ...
/// if (any.is(Foo.class)) { /// if (any.is(Foo.class)) {
/// foo = any.unpack(Foo.class); /// foo = any.unpack(Foo.class);
/// } /// }
/// ///
/// Example 3: Pack and unpack a message in Python. /// Example 3: Pack and unpack a message in Python.
/// ///
/// foo = Foo(...) /// foo = Foo(...)
/// any = Any() /// any = Any()
/// any.Pack(foo) /// any.Pack(foo)
/// ... /// ...
/// if any.Is(Foo.DESCRIPTOR): /// if any.Is(Foo.DESCRIPTOR):
/// any.Unpack(foo) /// any.Unpack(foo)
/// ... /// ...
/// ///
/// The pack methods provided by protobuf library will by default use /// The pack methods provided by protobuf library will by default use
/// 'type.googleapis.com/full.type.name' as the type URL and the unpack /// 'type.googleapis.com/full.type.name' as the type URL and the unpack
/// methods only use the fully qualified type name after the last '/' /// methods only use the fully qualified type name after the last '/'
/// in the type URL, for example "foo.bar.com/x/y.z" will yield type /// in the type URL, for example "foo.bar.com/x/y.z" will yield type
/// name "y.z". /// name "y.z".
/// ///
/// JSON /// JSON
/// ==== /// ====
/// The JSON representation of an `Any` value uses the regular /// The JSON representation of an `Any` value uses the regular
/// representation of the deserialized, embedded message, with an /// representation of the deserialized, embedded message, with an
/// additional field `@type` which contains the type URL. Example: /// additional field `@type` which contains the type URL. Example:
/// ///
/// package google.profile; /// package google.profile;
/// message Person { /// message Person {
/// string first_name = 1; /// string first_name = 1;
/// string last_name = 2; /// string last_name = 2;
/// } /// }
/// ///
/// { /// {
/// "@type": "type.googleapis.com/google.profile.Person", /// "@type": "type.googleapis.com/google.profile.Person",
/// "firstName": &lt;string>, /// "firstName": &lt;string>,
/// "lastName": &lt;string> /// "lastName": &lt;string>
/// } /// }
/// ///
/// If the embedded message type is well-known and has a custom JSON /// If the embedded message type is well-known and has a custom JSON
/// representation, that representation will be embedded adding a field /// representation, that representation will be embedded adding a field
/// `value` which holds the custom JSON in addition to the `@type` /// `value` which holds the custom JSON in addition to the `@type`
/// field. Example (for message [google.protobuf.Duration][]): /// field. Example (for message [google.protobuf.Duration][]):
/// ///
/// { /// {
/// "@type": "type.googleapis.com/google.protobuf.Duration", /// "@type": "type.googleapis.com/google.protobuf.Duration",
/// "value": "1.212s" /// "value": "1.212s"
/// } /// }
/// </summary> /// </summary>
public sealed partial class Any : pb::IMessage<Any> { public sealed partial class Any : pb::IMessage<Any> {
private static readonly pb::MessageParser<Any> _parser = new pb::MessageParser<Any>(() => new Any()); private static readonly pb::MessageParser<Any> _parser = new pb::MessageParser<Any>(() => new Any());
...@@ -144,27 +144,27 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -144,27 +144,27 @@ namespace Google.Protobuf.WellKnownTypes {
public const int TypeUrlFieldNumber = 1; public const int TypeUrlFieldNumber = 1;
private string typeUrl_ = ""; private string typeUrl_ = "";
/// <summary> /// <summary>
/// A URL/resource name whose content describes the type of the /// A URL/resource name whose content describes the type of the
/// serialized protocol buffer message. /// serialized protocol buffer message.
/// ///
/// For URLs which use the scheme `http`, `https`, or no scheme, the /// For URLs which use the scheme `http`, `https`, or no scheme, the
/// following restrictions and interpretations apply: /// following restrictions and interpretations apply:
/// ///
/// * If no scheme is provided, `https` is assumed. /// * If no scheme is provided, `https` is assumed.
/// * The last segment of the URL's path must represent the fully /// * The last segment of the URL's path must represent the fully
/// qualified name of the type (as in `path/google.protobuf.Duration`). /// qualified name of the type (as in `path/google.protobuf.Duration`).
/// The name should be in a canonical form (e.g., leading "." is /// The name should be in a canonical form (e.g., leading "." is
/// not accepted). /// not accepted).
/// * An HTTP GET on the URL must yield a [google.protobuf.Type][] /// * An HTTP GET on the URL must yield a [google.protobuf.Type][]
/// value in binary format, or produce an error. /// value in binary format, or produce an error.
/// * Applications are allowed to cache lookup results based on the /// * Applications are allowed to cache lookup results based on the
/// URL, or have them precompiled into a binary to avoid any /// URL, or have them precompiled into a binary to avoid any
/// lookup. Therefore, binary compatibility needs to be preserved /// lookup. Therefore, binary compatibility needs to be preserved
/// on changes to types. (Use versioned type names to manage /// on changes to types. (Use versioned type names to manage
/// breaking changes.) /// breaking changes.)
/// ///
/// Schemes other than `http`, `https` (or the empty scheme) might be /// Schemes other than `http`, `https` (or the empty scheme) might be
/// used with implementation specific semantics. /// used with implementation specific semantics.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string TypeUrl { public string TypeUrl {
...@@ -178,7 +178,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -178,7 +178,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int ValueFieldNumber = 2; public const int ValueFieldNumber = 2;
private pb::ByteString value_ = pb::ByteString.Empty; private pb::ByteString value_ = pb::ByteString.Empty;
/// <summary> /// <summary>
/// Must be a valid serialized protocol buffer of the above specified type. /// Must be a valid serialized protocol buffer of the above specified type.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString Value { public pb::ByteString Value {
......
...@@ -39,52 +39,52 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -39,52 +39,52 @@ namespace Google.Protobuf.WellKnownTypes {
} }
#region Messages #region Messages
/// <summary> /// <summary>
/// A Duration represents a signed, fixed-length span of time represented /// A Duration represents a signed, fixed-length span of time represented
/// as a count of seconds and fractions of seconds at nanosecond /// as a count of seconds and fractions of seconds at nanosecond
/// resolution. It is independent of any calendar and concepts like "day" /// resolution. It is independent of any calendar and concepts like "day"
/// or "month". It is related to Timestamp in that the difference between /// or "month". It is related to Timestamp in that the difference between
/// two Timestamp values is a Duration and it can be added or subtracted /// two Timestamp values is a Duration and it can be added or subtracted
/// from a Timestamp. Range is approximately +-10,000 years. /// from a Timestamp. Range is approximately +-10,000 years.
/// ///
/// Example 1: Compute Duration from two Timestamps in pseudo code. /// Example 1: Compute Duration from two Timestamps in pseudo code.
/// ///
/// Timestamp start = ...; /// Timestamp start = ...;
/// Timestamp end = ...; /// Timestamp end = ...;
/// Duration duration = ...; /// Duration duration = ...;
/// ///
/// duration.seconds = end.seconds - start.seconds; /// duration.seconds = end.seconds - start.seconds;
/// duration.nanos = end.nanos - start.nanos; /// duration.nanos = end.nanos - start.nanos;
/// ///
/// if (duration.seconds &lt; 0 &amp;&amp; duration.nanos > 0) { /// if (duration.seconds &lt; 0 &amp;&amp; duration.nanos > 0) {
/// duration.seconds += 1; /// duration.seconds += 1;
/// duration.nanos -= 1000000000; /// duration.nanos -= 1000000000;
/// } else if (durations.seconds > 0 &amp;&amp; duration.nanos &lt; 0) { /// } else if (durations.seconds > 0 &amp;&amp; duration.nanos &lt; 0) {
/// duration.seconds -= 1; /// duration.seconds -= 1;
/// duration.nanos += 1000000000; /// duration.nanos += 1000000000;
/// } /// }
/// ///
/// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. /// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
/// ///
/// Timestamp start = ...; /// Timestamp start = ...;
/// Duration duration = ...; /// Duration duration = ...;
/// Timestamp end = ...; /// Timestamp end = ...;
/// ///
/// end.seconds = start.seconds + duration.seconds; /// end.seconds = start.seconds + duration.seconds;
/// end.nanos = start.nanos + duration.nanos; /// end.nanos = start.nanos + duration.nanos;
/// ///
/// if (end.nanos &lt; 0) { /// if (end.nanos &lt; 0) {
/// end.seconds -= 1; /// end.seconds -= 1;
/// end.nanos += 1000000000; /// end.nanos += 1000000000;
/// } else if (end.nanos >= 1000000000) { /// } else if (end.nanos >= 1000000000) {
/// end.seconds += 1; /// end.seconds += 1;
/// end.nanos -= 1000000000; /// end.nanos -= 1000000000;
/// } /// }
/// ///
/// Example 3: Compute Duration from datetime.timedelta in Python. /// Example 3: Compute Duration from datetime.timedelta in Python.
/// ///
/// td = datetime.timedelta(days=3, minutes=10) /// td = datetime.timedelta(days=3, minutes=10)
/// duration = Duration() /// duration = Duration()
/// duration.FromTimedelta(td) /// duration.FromTimedelta(td)
/// </summary> /// </summary>
public sealed partial class Duration : pb::IMessage<Duration> { public sealed partial class Duration : pb::IMessage<Duration> {
private static readonly pb::MessageParser<Duration> _parser = new pb::MessageParser<Duration>(() => new Duration()); private static readonly pb::MessageParser<Duration> _parser = new pb::MessageParser<Duration>(() => new Duration());
...@@ -123,8 +123,8 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -123,8 +123,8 @@ namespace Google.Protobuf.WellKnownTypes {
public const int SecondsFieldNumber = 1; public const int SecondsFieldNumber = 1;
private long seconds_; private long seconds_;
/// <summary> /// <summary>
/// Signed seconds of the span of time. Must be from -315,576,000,000 /// Signed seconds of the span of time. Must be from -315,576,000,000
/// to +315,576,000,000 inclusive. /// to +315,576,000,000 inclusive.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long Seconds { public long Seconds {
...@@ -138,12 +138,12 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -138,12 +138,12 @@ namespace Google.Protobuf.WellKnownTypes {
public const int NanosFieldNumber = 2; public const int NanosFieldNumber = 2;
private int nanos_; private int nanos_;
/// <summary> /// <summary>
/// Signed fractions of a second at nanosecond resolution of the span /// Signed fractions of a second at nanosecond resolution of the span
/// of time. Durations less than one second are represented with a 0 /// of time. Durations less than one second are represented with a 0
/// `seconds` field and a positive or negative `nanos` field. For durations /// `seconds` field and a positive or negative `nanos` field. For durations
/// of one second or more, a non-zero value for the `nanos` field must be /// of one second or more, a non-zero value for the `nanos` field must be
/// of the same sign as the `seconds` field. Must be from -999,999,999 /// of the same sign as the `seconds` field. Must be from -999,999,999
/// to +999,999,999 inclusive. /// to +999,999,999 inclusive.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Nanos { public int Nanos {
......
...@@ -38,15 +38,15 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -38,15 +38,15 @@ namespace Google.Protobuf.WellKnownTypes {
} }
#region Messages #region Messages
/// <summary> /// <summary>
/// A generic empty message that you can re-use to avoid defining duplicated /// A generic empty message that you can re-use to avoid defining duplicated
/// empty messages in your APIs. A typical example is to use it as the request /// empty messages in your APIs. A typical example is to use it as the request
/// or the response type of an API method. For instance: /// or the response type of an API method. For instance:
/// ///
/// service Foo { /// service Foo {
/// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); /// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
/// } /// }
/// ///
/// The JSON representation for `Empty` is empty JSON object `{}`. /// The JSON representation for `Empty` is empty JSON object `{}`.
/// </summary> /// </summary>
public sealed partial class Empty : pb::IMessage<Empty> { public sealed partial class Empty : pb::IMessage<Empty> {
private static readonly pb::MessageParser<Empty> _parser = new pb::MessageParser<Empty>(() => new Empty()); private static readonly pb::MessageParser<Empty> _parser = new pb::MessageParser<Empty>(() => new Empty());
......
...@@ -39,8 +39,8 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -39,8 +39,8 @@ namespace Google.Protobuf.WellKnownTypes {
} }
#region Messages #region Messages
/// <summary> /// <summary>
/// `SourceContext` represents information about the source of a /// `SourceContext` represents information about the source of a
/// protobuf element, like the file in which it is defined. /// protobuf element, like the file in which it is defined.
/// </summary> /// </summary>
public sealed partial class SourceContext : pb::IMessage<SourceContext> { public sealed partial class SourceContext : pb::IMessage<SourceContext> {
private static readonly pb::MessageParser<SourceContext> _parser = new pb::MessageParser<SourceContext>(() => new SourceContext()); private static readonly pb::MessageParser<SourceContext> _parser = new pb::MessageParser<SourceContext>(() => new SourceContext());
...@@ -78,8 +78,8 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -78,8 +78,8 @@ namespace Google.Protobuf.WellKnownTypes {
public const int FileNameFieldNumber = 1; public const int FileNameFieldNumber = 1;
private string fileName_ = ""; private string fileName_ = "";
/// <summary> /// <summary>
/// The path-qualified name of the .proto file that contained the associated /// The path-qualified name of the .proto file that contained the associated
/// protobuf element. For example: `"google/protobuf/source_context.proto"`. /// protobuf element. For example: `"google/protobuf/source_context.proto"`.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string FileName { public string FileName {
......
...@@ -50,14 +50,14 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -50,14 +50,14 @@ namespace Google.Protobuf.WellKnownTypes {
} }
#region Enums #region Enums
/// <summary> /// <summary>
/// `NullValue` is a singleton enumeration to represent the null value for the /// `NullValue` is a singleton enumeration to represent the null value for the
/// `Value` type union. /// `Value` type union.
/// ///
/// The JSON representation for `NullValue` is JSON `null`. /// The JSON representation for `NullValue` is JSON `null`.
/// </summary> /// </summary>
public enum NullValue { public enum NullValue {
/// <summary> /// <summary>
/// Null value. /// Null value.
/// </summary> /// </summary>
[pbr::OriginalName("NULL_VALUE")] NullValue = 0, [pbr::OriginalName("NULL_VALUE")] NullValue = 0,
} }
...@@ -66,14 +66,14 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -66,14 +66,14 @@ namespace Google.Protobuf.WellKnownTypes {
#region Messages #region Messages
/// <summary> /// <summary>
/// `Struct` represents a structured data value, consisting of fields /// `Struct` represents a structured data value, consisting of fields
/// which map to dynamically typed values. In some languages, `Struct` /// which map to dynamically typed values. In some languages, `Struct`
/// might be supported by a native representation. For example, in /// might be supported by a native representation. For example, in
/// scripting languages like JS a struct is represented as an /// scripting languages like JS a struct is represented as an
/// object. The details of that representation are described together /// object. The details of that representation are described together
/// with the proto support for the language. /// with the proto support for the language.
/// ///
/// The JSON representation for `Struct` is JSON object. /// The JSON representation for `Struct` is JSON object.
/// </summary> /// </summary>
public sealed partial class Struct : pb::IMessage<Struct> { public sealed partial class Struct : pb::IMessage<Struct> {
private static readonly pb::MessageParser<Struct> _parser = new pb::MessageParser<Struct>(() => new Struct()); private static readonly pb::MessageParser<Struct> _parser = new pb::MessageParser<Struct>(() => new Struct());
...@@ -113,7 +113,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -113,7 +113,7 @@ namespace Google.Protobuf.WellKnownTypes {
= 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); = 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>(); private readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> fields_ = new pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value>();
/// <summary> /// <summary>
/// Unordered map of dynamically typed values. /// Unordered map of dynamically typed values.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> Fields { public pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> Fields {
...@@ -188,12 +188,12 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -188,12 +188,12 @@ namespace Google.Protobuf.WellKnownTypes {
} }
/// <summary> /// <summary>
/// `Value` represents a dynamically typed value which can be either /// `Value` represents a dynamically typed value which can be either
/// null, a number, a string, a boolean, a recursive struct value, or a /// null, a number, a string, a boolean, a recursive struct value, or a
/// list of values. A producer of value is expected to set one of that /// list of values. A producer of value is expected to set one of that
/// variants, absence of any variant indicates an error. /// variants, absence of any variant indicates an error.
/// ///
/// The JSON representation for `Value` is JSON value. /// The JSON representation for `Value` is JSON value.
/// </summary> /// </summary>
public sealed partial class Value : pb::IMessage<Value> { public sealed partial class Value : pb::IMessage<Value> {
private static readonly pb::MessageParser<Value> _parser = new pb::MessageParser<Value>(() => new Value()); private static readonly pb::MessageParser<Value> _parser = new pb::MessageParser<Value>(() => new Value());
...@@ -250,7 +250,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -250,7 +250,7 @@ namespace Google.Protobuf.WellKnownTypes {
/// <summary>Field number for the "null_value" field.</summary> /// <summary>Field number for the "null_value" field.</summary>
public const int NullValueFieldNumber = 1; public const int NullValueFieldNumber = 1;
/// <summary> /// <summary>
/// Represents a null value. /// Represents a null value.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.NullValue NullValue { public global::Google.Protobuf.WellKnownTypes.NullValue NullValue {
...@@ -264,7 +264,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -264,7 +264,7 @@ namespace Google.Protobuf.WellKnownTypes {
/// <summary>Field number for the "number_value" field.</summary> /// <summary>Field number for the "number_value" field.</summary>
public const int NumberValueFieldNumber = 2; public const int NumberValueFieldNumber = 2;
/// <summary> /// <summary>
/// Represents a double value. /// Represents a double value.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double NumberValue { public double NumberValue {
...@@ -278,7 +278,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -278,7 +278,7 @@ namespace Google.Protobuf.WellKnownTypes {
/// <summary>Field number for the "string_value" field.</summary> /// <summary>Field number for the "string_value" field.</summary>
public const int StringValueFieldNumber = 3; public const int StringValueFieldNumber = 3;
/// <summary> /// <summary>
/// Represents a string value. /// Represents a string value.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string StringValue { public string StringValue {
...@@ -292,7 +292,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -292,7 +292,7 @@ namespace Google.Protobuf.WellKnownTypes {
/// <summary>Field number for the "bool_value" field.</summary> /// <summary>Field number for the "bool_value" field.</summary>
public const int BoolValueFieldNumber = 4; public const int BoolValueFieldNumber = 4;
/// <summary> /// <summary>
/// Represents a boolean value. /// Represents a boolean value.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool BoolValue { public bool BoolValue {
...@@ -306,7 +306,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -306,7 +306,7 @@ namespace Google.Protobuf.WellKnownTypes {
/// <summary>Field number for the "struct_value" field.</summary> /// <summary>Field number for the "struct_value" field.</summary>
public const int StructValueFieldNumber = 5; public const int StructValueFieldNumber = 5;
/// <summary> /// <summary>
/// Represents a structured value. /// Represents a structured value.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.Struct StructValue { public global::Google.Protobuf.WellKnownTypes.Struct StructValue {
...@@ -320,7 +320,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -320,7 +320,7 @@ namespace Google.Protobuf.WellKnownTypes {
/// <summary>Field number for the "list_value" field.</summary> /// <summary>Field number for the "list_value" field.</summary>
public const int ListValueFieldNumber = 6; public const int ListValueFieldNumber = 6;
/// <summary> /// <summary>
/// Represents a repeated `Value`. /// Represents a repeated `Value`.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Google.Protobuf.WellKnownTypes.ListValue ListValue { public global::Google.Protobuf.WellKnownTypes.ListValue ListValue {
...@@ -525,9 +525,9 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -525,9 +525,9 @@ namespace Google.Protobuf.WellKnownTypes {
} }
/// <summary> /// <summary>
/// `ListValue` is a wrapper around a repeated field of values. /// `ListValue` is a wrapper around a repeated field of values.
/// ///
/// The JSON representation for `ListValue` is JSON array. /// The JSON representation for `ListValue` is JSON array.
/// </summary> /// </summary>
public sealed partial class ListValue : pb::IMessage<ListValue> { public sealed partial class ListValue : pb::IMessage<ListValue> {
private static readonly pb::MessageParser<ListValue> _parser = new pb::MessageParser<ListValue>(() => new ListValue()); private static readonly pb::MessageParser<ListValue> _parser = new pb::MessageParser<ListValue>(() => new ListValue());
...@@ -567,7 +567,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -567,7 +567,7 @@ namespace Google.Protobuf.WellKnownTypes {
= pb::FieldCodec.ForMessage(10, global::Google.Protobuf.WellKnownTypes.Value.Parser); = 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>(); private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> values_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value>();
/// <summary> /// <summary>
/// Repeated field of dynamically typed values. /// Repeated field of dynamically typed values.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> Values { public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> Values {
......
...@@ -39,56 +39,56 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -39,56 +39,56 @@ namespace Google.Protobuf.WellKnownTypes {
} }
#region Messages #region Messages
/// <summary> /// <summary>
/// A Timestamp represents a point in time independent of any time zone /// A Timestamp represents a point in time independent of any time zone
/// or calendar, represented as seconds and fractions of seconds at /// or calendar, represented as seconds and fractions of seconds at
/// nanosecond resolution in UTC Epoch time. It is encoded using the /// nanosecond resolution in UTC Epoch time. It is encoded using the
/// Proleptic Gregorian Calendar which extends the Gregorian calendar /// Proleptic Gregorian Calendar which extends the Gregorian calendar
/// backwards to year one. It is encoded assuming all minutes are 60 /// backwards to year one. It is encoded assuming all minutes are 60
/// seconds long, i.e. leap seconds are "smeared" so that no leap second /// seconds long, i.e. leap seconds are "smeared" so that no leap second
/// table is needed for interpretation. Range is from /// table is needed for interpretation. Range is from
/// 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. /// 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z.
/// By restricting to that range, we ensure that we can convert to /// By restricting to that range, we ensure that we can convert to
/// and from RFC 3339 date strings. /// and from RFC 3339 date strings.
/// See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt). /// See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).
/// ///
/// Example 1: Compute Timestamp from POSIX `time()`. /// Example 1: Compute Timestamp from POSIX `time()`.
/// ///
/// Timestamp timestamp; /// Timestamp timestamp;
/// timestamp.set_seconds(time(NULL)); /// timestamp.set_seconds(time(NULL));
/// timestamp.set_nanos(0); /// timestamp.set_nanos(0);
/// ///
/// Example 2: Compute Timestamp from POSIX `gettimeofday()`. /// Example 2: Compute Timestamp from POSIX `gettimeofday()`.
/// ///
/// struct timeval tv; /// struct timeval tv;
/// gettimeofday(&amp;tv, NULL); /// gettimeofday(&amp;tv, NULL);
/// ///
/// Timestamp timestamp; /// Timestamp timestamp;
/// timestamp.set_seconds(tv.tv_sec); /// timestamp.set_seconds(tv.tv_sec);
/// timestamp.set_nanos(tv.tv_usec * 1000); /// timestamp.set_nanos(tv.tv_usec * 1000);
/// ///
/// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. /// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
/// ///
/// FILETIME ft; /// FILETIME ft;
/// GetSystemTimeAsFileTime(&amp;ft); /// GetSystemTimeAsFileTime(&amp;ft);
/// UINT64 ticks = (((UINT64)ft.dwHighDateTime) &lt;&lt; 32) | ft.dwLowDateTime; /// UINT64 ticks = (((UINT64)ft.dwHighDateTime) &lt;&lt; 32) | ft.dwLowDateTime;
/// ///
/// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z /// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
/// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. /// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
/// Timestamp timestamp; /// Timestamp timestamp;
/// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); /// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
/// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); /// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
/// ///
/// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. /// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
/// ///
/// long millis = System.currentTimeMillis(); /// long millis = System.currentTimeMillis();
/// ///
/// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) /// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
/// .setNanos((int) ((millis % 1000) * 1000000)).build(); /// .setNanos((int) ((millis % 1000) * 1000000)).build();
/// ///
/// Example 5: Compute Timestamp from current time in Python. /// Example 5: Compute Timestamp from current time in Python.
/// ///
/// timestamp = Timestamp() /// timestamp = Timestamp()
/// timestamp.GetCurrentTime() /// timestamp.GetCurrentTime()
/// </summary> /// </summary>
public sealed partial class Timestamp : pb::IMessage<Timestamp> { public sealed partial class Timestamp : pb::IMessage<Timestamp> {
private static readonly pb::MessageParser<Timestamp> _parser = new pb::MessageParser<Timestamp>(() => new Timestamp()); private static readonly pb::MessageParser<Timestamp> _parser = new pb::MessageParser<Timestamp>(() => new Timestamp());
...@@ -127,9 +127,9 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -127,9 +127,9 @@ namespace Google.Protobuf.WellKnownTypes {
public const int SecondsFieldNumber = 1; public const int SecondsFieldNumber = 1;
private long seconds_; private long seconds_;
/// <summary> /// <summary>
/// Represents seconds of UTC time since Unix epoch /// Represents seconds of UTC time since Unix epoch
/// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to /// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
/// 9999-12-31T23:59:59Z inclusive. /// 9999-12-31T23:59:59Z inclusive.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long Seconds { public long Seconds {
...@@ -143,10 +143,10 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -143,10 +143,10 @@ namespace Google.Protobuf.WellKnownTypes {
public const int NanosFieldNumber = 2; public const int NanosFieldNumber = 2;
private int nanos_; private int nanos_;
/// <summary> /// <summary>
/// Non-negative fractions of a second at nanosecond resolution. Negative /// Non-negative fractions of a second at nanosecond resolution. Negative
/// second values with fractions must still have non-negative nanos values /// second values with fractions must still have non-negative nanos values
/// that count forward in time. Must be from 0 to 999,999,999 /// that count forward in time. Must be from 0 to 999,999,999
/// inclusive. /// inclusive.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Nanos { public int Nanos {
......
...@@ -51,9 +51,9 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -51,9 +51,9 @@ namespace Google.Protobuf.WellKnownTypes {
} }
#region Messages #region Messages
/// <summary> /// <summary>
/// Wrapper message for `double`. /// Wrapper message for `double`.
/// ///
/// The JSON representation for `DoubleValue` is JSON number. /// The JSON representation for `DoubleValue` is JSON number.
/// </summary> /// </summary>
public sealed partial class DoubleValue : pb::IMessage<DoubleValue> { public sealed partial class DoubleValue : pb::IMessage<DoubleValue> {
private static readonly pb::MessageParser<DoubleValue> _parser = new pb::MessageParser<DoubleValue>(() => new DoubleValue()); private static readonly pb::MessageParser<DoubleValue> _parser = new pb::MessageParser<DoubleValue>(() => new DoubleValue());
...@@ -91,7 +91,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -91,7 +91,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int ValueFieldNumber = 1; public const int ValueFieldNumber = 1;
private double value_; private double value_;
/// <summary> /// <summary>
/// The double value. /// The double value.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double Value { public double Value {
...@@ -176,9 +176,9 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -176,9 +176,9 @@ namespace Google.Protobuf.WellKnownTypes {
} }
/// <summary> /// <summary>
/// Wrapper message for `float`. /// Wrapper message for `float`.
/// ///
/// The JSON representation for `FloatValue` is JSON number. /// The JSON representation for `FloatValue` is JSON number.
/// </summary> /// </summary>
public sealed partial class FloatValue : pb::IMessage<FloatValue> { public sealed partial class FloatValue : pb::IMessage<FloatValue> {
private static readonly pb::MessageParser<FloatValue> _parser = new pb::MessageParser<FloatValue>(() => new FloatValue()); private static readonly pb::MessageParser<FloatValue> _parser = new pb::MessageParser<FloatValue>(() => new FloatValue());
...@@ -216,7 +216,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -216,7 +216,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int ValueFieldNumber = 1; public const int ValueFieldNumber = 1;
private float value_; private float value_;
/// <summary> /// <summary>
/// The float value. /// The float value.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public float Value { public float Value {
...@@ -301,9 +301,9 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -301,9 +301,9 @@ namespace Google.Protobuf.WellKnownTypes {
} }
/// <summary> /// <summary>
/// Wrapper message for `int64`. /// Wrapper message for `int64`.
/// ///
/// The JSON representation for `Int64Value` is JSON string. /// The JSON representation for `Int64Value` is JSON string.
/// </summary> /// </summary>
public sealed partial class Int64Value : pb::IMessage<Int64Value> { public sealed partial class Int64Value : pb::IMessage<Int64Value> {
private static readonly pb::MessageParser<Int64Value> _parser = new pb::MessageParser<Int64Value>(() => new Int64Value()); private static readonly pb::MessageParser<Int64Value> _parser = new pb::MessageParser<Int64Value>(() => new Int64Value());
...@@ -341,7 +341,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -341,7 +341,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int ValueFieldNumber = 1; public const int ValueFieldNumber = 1;
private long value_; private long value_;
/// <summary> /// <summary>
/// The int64 value. /// The int64 value.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public long Value { public long Value {
...@@ -426,9 +426,9 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -426,9 +426,9 @@ namespace Google.Protobuf.WellKnownTypes {
} }
/// <summary> /// <summary>
/// Wrapper message for `uint64`. /// Wrapper message for `uint64`.
/// ///
/// The JSON representation for `UInt64Value` is JSON string. /// The JSON representation for `UInt64Value` is JSON string.
/// </summary> /// </summary>
public sealed partial class UInt64Value : pb::IMessage<UInt64Value> { public sealed partial class UInt64Value : pb::IMessage<UInt64Value> {
private static readonly pb::MessageParser<UInt64Value> _parser = new pb::MessageParser<UInt64Value>(() => new UInt64Value()); private static readonly pb::MessageParser<UInt64Value> _parser = new pb::MessageParser<UInt64Value>(() => new UInt64Value());
...@@ -466,7 +466,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -466,7 +466,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int ValueFieldNumber = 1; public const int ValueFieldNumber = 1;
private ulong value_; private ulong value_;
/// <summary> /// <summary>
/// The uint64 value. /// The uint64 value.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Value { public ulong Value {
...@@ -551,9 +551,9 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -551,9 +551,9 @@ namespace Google.Protobuf.WellKnownTypes {
} }
/// <summary> /// <summary>
/// Wrapper message for `int32`. /// Wrapper message for `int32`.
/// ///
/// The JSON representation for `Int32Value` is JSON number. /// The JSON representation for `Int32Value` is JSON number.
/// </summary> /// </summary>
public sealed partial class Int32Value : pb::IMessage<Int32Value> { public sealed partial class Int32Value : pb::IMessage<Int32Value> {
private static readonly pb::MessageParser<Int32Value> _parser = new pb::MessageParser<Int32Value>(() => new Int32Value()); private static readonly pb::MessageParser<Int32Value> _parser = new pb::MessageParser<Int32Value>(() => new Int32Value());
...@@ -591,7 +591,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -591,7 +591,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int ValueFieldNumber = 1; public const int ValueFieldNumber = 1;
private int value_; private int value_;
/// <summary> /// <summary>
/// The int32 value. /// The int32 value.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Value { public int Value {
...@@ -676,9 +676,9 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -676,9 +676,9 @@ namespace Google.Protobuf.WellKnownTypes {
} }
/// <summary> /// <summary>
/// Wrapper message for `uint32`. /// Wrapper message for `uint32`.
/// ///
/// The JSON representation for `UInt32Value` is JSON number. /// The JSON representation for `UInt32Value` is JSON number.
/// </summary> /// </summary>
public sealed partial class UInt32Value : pb::IMessage<UInt32Value> { public sealed partial class UInt32Value : pb::IMessage<UInt32Value> {
private static readonly pb::MessageParser<UInt32Value> _parser = new pb::MessageParser<UInt32Value>(() => new UInt32Value()); private static readonly pb::MessageParser<UInt32Value> _parser = new pb::MessageParser<UInt32Value>(() => new UInt32Value());
...@@ -716,7 +716,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -716,7 +716,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int ValueFieldNumber = 1; public const int ValueFieldNumber = 1;
private uint value_; private uint value_;
/// <summary> /// <summary>
/// The uint32 value. /// The uint32 value.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Value { public uint Value {
...@@ -801,9 +801,9 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -801,9 +801,9 @@ namespace Google.Protobuf.WellKnownTypes {
} }
/// <summary> /// <summary>
/// Wrapper message for `bool`. /// Wrapper message for `bool`.
/// ///
/// The JSON representation for `BoolValue` is JSON `true` and `false`. /// The JSON representation for `BoolValue` is JSON `true` and `false`.
/// </summary> /// </summary>
public sealed partial class BoolValue : pb::IMessage<BoolValue> { public sealed partial class BoolValue : pb::IMessage<BoolValue> {
private static readonly pb::MessageParser<BoolValue> _parser = new pb::MessageParser<BoolValue>(() => new BoolValue()); private static readonly pb::MessageParser<BoolValue> _parser = new pb::MessageParser<BoolValue>(() => new BoolValue());
...@@ -841,7 +841,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -841,7 +841,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int ValueFieldNumber = 1; public const int ValueFieldNumber = 1;
private bool value_; private bool value_;
/// <summary> /// <summary>
/// The bool value. /// The bool value.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Value { public bool Value {
...@@ -926,9 +926,9 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -926,9 +926,9 @@ namespace Google.Protobuf.WellKnownTypes {
} }
/// <summary> /// <summary>
/// Wrapper message for `string`. /// Wrapper message for `string`.
/// ///
/// The JSON representation for `StringValue` is JSON string. /// The JSON representation for `StringValue` is JSON string.
/// </summary> /// </summary>
public sealed partial class StringValue : pb::IMessage<StringValue> { public sealed partial class StringValue : pb::IMessage<StringValue> {
private static readonly pb::MessageParser<StringValue> _parser = new pb::MessageParser<StringValue>(() => new StringValue()); private static readonly pb::MessageParser<StringValue> _parser = new pb::MessageParser<StringValue>(() => new StringValue());
...@@ -966,7 +966,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -966,7 +966,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int ValueFieldNumber = 1; public const int ValueFieldNumber = 1;
private string value_ = ""; private string value_ = "";
/// <summary> /// <summary>
/// The string value. /// The string value.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Value { public string Value {
...@@ -1051,9 +1051,9 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -1051,9 +1051,9 @@ namespace Google.Protobuf.WellKnownTypes {
} }
/// <summary> /// <summary>
/// Wrapper message for `bytes`. /// Wrapper message for `bytes`.
/// ///
/// The JSON representation for `BytesValue` is JSON string. /// The JSON representation for `BytesValue` is JSON string.
/// </summary> /// </summary>
public sealed partial class BytesValue : pb::IMessage<BytesValue> { public sealed partial class BytesValue : pb::IMessage<BytesValue> {
private static readonly pb::MessageParser<BytesValue> _parser = new pb::MessageParser<BytesValue>(() => new BytesValue()); private static readonly pb::MessageParser<BytesValue> _parser = new pb::MessageParser<BytesValue>(() => new BytesValue());
...@@ -1091,7 +1091,7 @@ namespace Google.Protobuf.WellKnownTypes { ...@@ -1091,7 +1091,7 @@ namespace Google.Protobuf.WellKnownTypes {
public const int ValueFieldNumber = 1; public const int ValueFieldNumber = 1;
private pb::ByteString value_ = pb::ByteString.Empty; private pb::ByteString value_ = pb::ByteString.Empty;
/// <summary> /// <summary>
/// The bytes value. /// The bytes value.
/// </summary> /// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString Value { public pb::ByteString Value {
......
...@@ -74,7 +74,7 @@ void WriteDocCommentBodyImpl(io::Printer* printer, SourceLocation location) { ...@@ -74,7 +74,7 @@ void WriteDocCommentBodyImpl(io::Printer* printer, SourceLocation location) {
printer->Print("///\n"); printer->Print("///\n");
} }
last_was_empty = false; last_was_empty = false;
printer->Print("/// $line$\n", "line", *it); printer->Print("///$line$\n", "line", *it);
} }
} }
printer->Print("/// </summary>\n"); printer->Print("/// </summary>\n");
......
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