|
|
|
@ -9,57 +9,62 @@ using pbr = global::Google.Protobuf.Reflection; |
|
|
|
|
using scg = global::System.Collections.Generic; |
|
|
|
|
namespace Routeguide { |
|
|
|
|
|
|
|
|
|
namespace Proto { |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|
|
|
|
public static partial class RouteGuide { |
|
|
|
|
|
|
|
|
|
#region Descriptor |
|
|
|
|
public static pbr::FileDescriptor Descriptor { |
|
|
|
|
get { return descriptor; } |
|
|
|
|
} |
|
|
|
|
private static pbr::FileDescriptor descriptor; |
|
|
|
|
|
|
|
|
|
static RouteGuide() { |
|
|
|
|
byte[] descriptorData = global::System.Convert.FromBase64String( |
|
|
|
|
string.Concat( |
|
|
|
|
"ChFyb3V0ZV9ndWlkZS5wcm90bxIKcm91dGVndWlkZSIsCgVQb2ludBIQCghs", |
|
|
|
|
"YXRpdHVkZRgBIAEoBRIRCglsb25naXR1ZGUYAiABKAUiSQoJUmVjdGFuZ2xl", |
|
|
|
|
"Eh0KAmxvGAEgASgLMhEucm91dGVndWlkZS5Qb2ludBIdCgJoaRgCIAEoCzIR", |
|
|
|
|
"LnJvdXRlZ3VpZGUuUG9pbnQiPAoHRmVhdHVyZRIMCgRuYW1lGAEgASgJEiMK", |
|
|
|
|
"CGxvY2F0aW9uGAIgASgLMhEucm91dGVndWlkZS5Qb2ludCJBCglSb3V0ZU5v", |
|
|
|
|
"dGUSIwoIbG9jYXRpb24YASABKAsyES5yb3V0ZWd1aWRlLlBvaW50Eg8KB21l", |
|
|
|
|
"c3NhZ2UYAiABKAkiYgoMUm91dGVTdW1tYXJ5EhMKC3BvaW50X2NvdW50GAEg", |
|
|
|
|
"ASgFEhUKDWZlYXR1cmVfY291bnQYAiABKAUSEAoIZGlzdGFuY2UYAyABKAUS", |
|
|
|
|
"FAoMZWxhcHNlZF90aW1lGAQgASgFMoUCCgpSb3V0ZUd1aWRlEjYKCkdldEZl", |
|
|
|
|
"YXR1cmUSES5yb3V0ZWd1aWRlLlBvaW50GhMucm91dGVndWlkZS5GZWF0dXJl", |
|
|
|
|
"IgASPgoMTGlzdEZlYXR1cmVzEhUucm91dGVndWlkZS5SZWN0YW5nbGUaEy5y", |
|
|
|
|
"b3V0ZWd1aWRlLkZlYXR1cmUiADABEj4KC1JlY29yZFJvdXRlEhEucm91dGVn", |
|
|
|
|
"dWlkZS5Qb2ludBoYLnJvdXRlZ3VpZGUuUm91dGVTdW1tYXJ5IgAoARI/CglS", |
|
|
|
|
"b3V0ZUNoYXQSFS5yb3V0ZWd1aWRlLlJvdXRlTm90ZRoVLnJvdXRlZ3VpZGUu", |
|
|
|
|
"Um91dGVOb3RlIgAoATABQg8KB2V4LmdycGOiAgNSVEdiBnByb3RvMw==")); |
|
|
|
|
descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData, |
|
|
|
|
new pbr::FileDescriptor[] { }, |
|
|
|
|
new pbr::GeneratedCodeInfo(null, new pbr::GeneratedCodeInfo[] { |
|
|
|
|
new pbr::GeneratedCodeInfo(typeof(global::Routeguide.Point), new[]{ "Latitude", "Longitude" }, null, null, null), |
|
|
|
|
new pbr::GeneratedCodeInfo(typeof(global::Routeguide.Rectangle), new[]{ "Lo", "Hi" }, null, null, null), |
|
|
|
|
new pbr::GeneratedCodeInfo(typeof(global::Routeguide.Feature), new[]{ "Name", "Location" }, null, null, null), |
|
|
|
|
new pbr::GeneratedCodeInfo(typeof(global::Routeguide.RouteNote), new[]{ "Location", "Message" }, null, null, null), |
|
|
|
|
new pbr::GeneratedCodeInfo(typeof(global::Routeguide.RouteSummary), new[]{ "PointCount", "FeatureCount", "Distance", "ElapsedTime" }, null, null, null) |
|
|
|
|
})); |
|
|
|
|
} |
|
|
|
|
#endregion |
|
|
|
|
/// <summary>Holder for reflection information generated from route_guide.proto</summary> |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|
|
|
|
public static partial class RouteGuideReflection { |
|
|
|
|
|
|
|
|
|
#region Descriptor |
|
|
|
|
/// <summary>File descriptor for route_guide.proto</summary> |
|
|
|
|
public static pbr::FileDescriptor Descriptor { |
|
|
|
|
get { return descriptor; } |
|
|
|
|
} |
|
|
|
|
private static pbr::FileDescriptor descriptor; |
|
|
|
|
|
|
|
|
|
static RouteGuideReflection() { |
|
|
|
|
byte[] descriptorData = global::System.Convert.FromBase64String( |
|
|
|
|
string.Concat( |
|
|
|
|
"ChFyb3V0ZV9ndWlkZS5wcm90bxIKcm91dGVndWlkZSIsCgVQb2ludBIQCghs", |
|
|
|
|
"YXRpdHVkZRgBIAEoBRIRCglsb25naXR1ZGUYAiABKAUiSQoJUmVjdGFuZ2xl", |
|
|
|
|
"Eh0KAmxvGAEgASgLMhEucm91dGVndWlkZS5Qb2ludBIdCgJoaRgCIAEoCzIR", |
|
|
|
|
"LnJvdXRlZ3VpZGUuUG9pbnQiPAoHRmVhdHVyZRIMCgRuYW1lGAEgASgJEiMK", |
|
|
|
|
"CGxvY2F0aW9uGAIgASgLMhEucm91dGVndWlkZS5Qb2ludCJBCglSb3V0ZU5v", |
|
|
|
|
"dGUSIwoIbG9jYXRpb24YASABKAsyES5yb3V0ZWd1aWRlLlBvaW50Eg8KB21l", |
|
|
|
|
"c3NhZ2UYAiABKAkiYgoMUm91dGVTdW1tYXJ5EhMKC3BvaW50X2NvdW50GAEg", |
|
|
|
|
"ASgFEhUKDWZlYXR1cmVfY291bnQYAiABKAUSEAoIZGlzdGFuY2UYAyABKAUS", |
|
|
|
|
"FAoMZWxhcHNlZF90aW1lGAQgASgFMoUCCgpSb3V0ZUd1aWRlEjYKCkdldEZl", |
|
|
|
|
"YXR1cmUSES5yb3V0ZWd1aWRlLlBvaW50GhMucm91dGVndWlkZS5GZWF0dXJl", |
|
|
|
|
"IgASPgoMTGlzdEZlYXR1cmVzEhUucm91dGVndWlkZS5SZWN0YW5nbGUaEy5y", |
|
|
|
|
"b3V0ZWd1aWRlLkZlYXR1cmUiADABEj4KC1JlY29yZFJvdXRlEhEucm91dGVn", |
|
|
|
|
"dWlkZS5Qb2ludBoYLnJvdXRlZ3VpZGUuUm91dGVTdW1tYXJ5IgAoARI/CglS", |
|
|
|
|
"b3V0ZUNoYXQSFS5yb3V0ZWd1aWRlLlJvdXRlTm90ZRoVLnJvdXRlZ3VpZGUu", |
|
|
|
|
"Um91dGVOb3RlIgAoATABQg8KB2V4LmdycGOiAgNSVEdiBnByb3RvMw==")); |
|
|
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
|
|
|
|
new pbr::FileDescriptor[] { }, |
|
|
|
|
new pbr::GeneratedCodeInfo(null, new pbr::GeneratedCodeInfo[] { |
|
|
|
|
new pbr::GeneratedCodeInfo(typeof(global::Routeguide.Point), global::Routeguide.Point.Parser, new[]{ "Latitude", "Longitude" }, null, null, null), |
|
|
|
|
new pbr::GeneratedCodeInfo(typeof(global::Routeguide.Rectangle), global::Routeguide.Rectangle.Parser, new[]{ "Lo", "Hi" }, null, null, null), |
|
|
|
|
new pbr::GeneratedCodeInfo(typeof(global::Routeguide.Feature), global::Routeguide.Feature.Parser, new[]{ "Name", "Location" }, null, null, null), |
|
|
|
|
new pbr::GeneratedCodeInfo(typeof(global::Routeguide.RouteNote), global::Routeguide.RouteNote.Parser, new[]{ "Location", "Message" }, null, null, null), |
|
|
|
|
new pbr::GeneratedCodeInfo(typeof(global::Routeguide.RouteSummary), global::Routeguide.RouteSummary.Parser, new[]{ "PointCount", "FeatureCount", "Distance", "ElapsedTime" }, null, null, null) |
|
|
|
|
})); |
|
|
|
|
} |
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
#region Messages |
|
|
|
|
/// <summary> |
|
|
|
|
/// Points are represented as latitude-longitude pairs in the E7 representation |
|
|
|
|
/// (degrees multiplied by 10**7 and rounded to the nearest integer). |
|
|
|
|
/// Latitudes should be in the range +/- 90 degrees and longitude should be in |
|
|
|
|
/// the range +/- 180 degrees (inclusive). |
|
|
|
|
/// </summary> |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|
|
|
|
public sealed partial class Point : pb::IMessage<Point> { |
|
|
|
|
private static readonly pb::MessageParser<Point> _parser = new pb::MessageParser<Point>(() => new Point()); |
|
|
|
|
public static pb::MessageParser<Point> Parser { get { return _parser; } } |
|
|
|
|
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor { |
|
|
|
|
get { return global::Routeguide.Proto.RouteGuide.Descriptor.MessageTypes[0]; } |
|
|
|
|
get { return global::Routeguide.RouteGuideReflection.Descriptor.MessageTypes[0]; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor { |
|
|
|
@ -81,6 +86,7 @@ namespace Routeguide { |
|
|
|
|
return new Point(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "latitude" field.</summary> |
|
|
|
|
public const int LatitudeFieldNumber = 1; |
|
|
|
|
private int latitude_; |
|
|
|
|
public int Latitude { |
|
|
|
@ -90,6 +96,7 @@ namespace Routeguide { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "longitude" field.</summary> |
|
|
|
|
public const int LongitudeFieldNumber = 2; |
|
|
|
|
private int longitude_; |
|
|
|
|
public int Longitude { |
|
|
|
@ -123,7 +130,7 @@ namespace Routeguide { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override string ToString() { |
|
|
|
|
return pb::JsonFormatter.Default.Format(this); |
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) { |
|
|
|
@ -181,13 +188,17 @@ namespace Routeguide { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// A latitude-longitude rectangle, represented as two diagonally opposite |
|
|
|
|
/// points "lo" and "hi". |
|
|
|
|
/// </summary> |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|
|
|
|
public sealed partial class Rectangle : pb::IMessage<Rectangle> { |
|
|
|
|
private static readonly pb::MessageParser<Rectangle> _parser = new pb::MessageParser<Rectangle>(() => new Rectangle()); |
|
|
|
|
public static pb::MessageParser<Rectangle> Parser { get { return _parser; } } |
|
|
|
|
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor { |
|
|
|
|
get { return global::Routeguide.Proto.RouteGuide.Descriptor.MessageTypes[1]; } |
|
|
|
|
get { return global::Routeguide.RouteGuideReflection.Descriptor.MessageTypes[1]; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor { |
|
|
|
@ -209,8 +220,12 @@ namespace Routeguide { |
|
|
|
|
return new Rectangle(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "lo" field.</summary> |
|
|
|
|
public const int LoFieldNumber = 1; |
|
|
|
|
private global::Routeguide.Point lo_; |
|
|
|
|
/// <summary> |
|
|
|
|
/// One corner of the rectangle. |
|
|
|
|
/// </summary> |
|
|
|
|
public global::Routeguide.Point Lo { |
|
|
|
|
get { return lo_; } |
|
|
|
|
set { |
|
|
|
@ -218,8 +233,12 @@ namespace Routeguide { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "hi" field.</summary> |
|
|
|
|
public const int HiFieldNumber = 2; |
|
|
|
|
private global::Routeguide.Point hi_; |
|
|
|
|
/// <summary> |
|
|
|
|
/// The other corner of the rectangle. |
|
|
|
|
/// </summary> |
|
|
|
|
public global::Routeguide.Point Hi { |
|
|
|
|
get { return hi_; } |
|
|
|
|
set { |
|
|
|
@ -251,7 +270,7 @@ namespace Routeguide { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override string ToString() { |
|
|
|
|
return pb::JsonFormatter.Default.Format(this); |
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) { |
|
|
|
@ -321,13 +340,18 @@ namespace Routeguide { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// A feature names something at a given point. |
|
|
|
|
/// |
|
|
|
|
/// If a feature could not be named, the name is empty. |
|
|
|
|
/// </summary> |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|
|
|
|
public sealed partial class Feature : pb::IMessage<Feature> { |
|
|
|
|
private static readonly pb::MessageParser<Feature> _parser = new pb::MessageParser<Feature>(() => new Feature()); |
|
|
|
|
public static pb::MessageParser<Feature> Parser { get { return _parser; } } |
|
|
|
|
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor { |
|
|
|
|
get { return global::Routeguide.Proto.RouteGuide.Descriptor.MessageTypes[2]; } |
|
|
|
|
get { return global::Routeguide.RouteGuideReflection.Descriptor.MessageTypes[2]; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor { |
|
|
|
@ -349,8 +373,12 @@ namespace Routeguide { |
|
|
|
|
return new Feature(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "name" field.</summary> |
|
|
|
|
public const int NameFieldNumber = 1; |
|
|
|
|
private string name_ = ""; |
|
|
|
|
/// <summary> |
|
|
|
|
/// The name of the feature. |
|
|
|
|
/// </summary> |
|
|
|
|
public string Name { |
|
|
|
|
get { return name_; } |
|
|
|
|
set { |
|
|
|
@ -358,8 +386,12 @@ namespace Routeguide { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "location" field.</summary> |
|
|
|
|
public const int LocationFieldNumber = 2; |
|
|
|
|
private global::Routeguide.Point location_; |
|
|
|
|
/// <summary> |
|
|
|
|
/// The point where the feature is detected. |
|
|
|
|
/// </summary> |
|
|
|
|
public global::Routeguide.Point Location { |
|
|
|
|
get { return location_; } |
|
|
|
|
set { |
|
|
|
@ -391,7 +423,7 @@ namespace Routeguide { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override string ToString() { |
|
|
|
|
return pb::JsonFormatter.Default.Format(this); |
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) { |
|
|
|
@ -455,13 +487,16 @@ namespace Routeguide { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// A RouteNote is a message sent while at a given point. |
|
|
|
|
/// </summary> |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|
|
|
|
public sealed partial class RouteNote : pb::IMessage<RouteNote> { |
|
|
|
|
private static readonly pb::MessageParser<RouteNote> _parser = new pb::MessageParser<RouteNote>(() => new RouteNote()); |
|
|
|
|
public static pb::MessageParser<RouteNote> Parser { get { return _parser; } } |
|
|
|
|
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor { |
|
|
|
|
get { return global::Routeguide.Proto.RouteGuide.Descriptor.MessageTypes[3]; } |
|
|
|
|
get { return global::Routeguide.RouteGuideReflection.Descriptor.MessageTypes[3]; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor { |
|
|
|
@ -483,8 +518,12 @@ namespace Routeguide { |
|
|
|
|
return new RouteNote(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "location" field.</summary> |
|
|
|
|
public const int LocationFieldNumber = 1; |
|
|
|
|
private global::Routeguide.Point location_; |
|
|
|
|
/// <summary> |
|
|
|
|
/// The location from which the message is sent. |
|
|
|
|
/// </summary> |
|
|
|
|
public global::Routeguide.Point Location { |
|
|
|
|
get { return location_; } |
|
|
|
|
set { |
|
|
|
@ -492,8 +531,12 @@ namespace Routeguide { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "message" field.</summary> |
|
|
|
|
public const int MessageFieldNumber = 2; |
|
|
|
|
private string message_ = ""; |
|
|
|
|
/// <summary> |
|
|
|
|
/// The message to be sent. |
|
|
|
|
/// </summary> |
|
|
|
|
public string Message { |
|
|
|
|
get { return message_; } |
|
|
|
|
set { |
|
|
|
@ -525,7 +568,7 @@ namespace Routeguide { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override string ToString() { |
|
|
|
|
return pb::JsonFormatter.Default.Format(this); |
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) { |
|
|
|
@ -589,13 +632,20 @@ namespace Routeguide { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
/// A RouteSummary is received in response to a RecordRoute rpc. |
|
|
|
|
/// |
|
|
|
|
/// It contains the number of individual points received, the number of |
|
|
|
|
/// detected features, and the total distance covered as the cumulative sum of |
|
|
|
|
/// the distance between each point. |
|
|
|
|
/// </summary> |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|
|
|
|
public sealed partial class RouteSummary : pb::IMessage<RouteSummary> { |
|
|
|
|
private static readonly pb::MessageParser<RouteSummary> _parser = new pb::MessageParser<RouteSummary>(() => new RouteSummary()); |
|
|
|
|
public static pb::MessageParser<RouteSummary> Parser { get { return _parser; } } |
|
|
|
|
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor { |
|
|
|
|
get { return global::Routeguide.Proto.RouteGuide.Descriptor.MessageTypes[4]; } |
|
|
|
|
get { return global::Routeguide.RouteGuideReflection.Descriptor.MessageTypes[4]; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor { |
|
|
|
@ -619,8 +669,12 @@ namespace Routeguide { |
|
|
|
|
return new RouteSummary(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "point_count" field.</summary> |
|
|
|
|
public const int PointCountFieldNumber = 1; |
|
|
|
|
private int pointCount_; |
|
|
|
|
/// <summary> |
|
|
|
|
/// The number of points received. |
|
|
|
|
/// </summary> |
|
|
|
|
public int PointCount { |
|
|
|
|
get { return pointCount_; } |
|
|
|
|
set { |
|
|
|
@ -628,8 +682,12 @@ namespace Routeguide { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "feature_count" field.</summary> |
|
|
|
|
public const int FeatureCountFieldNumber = 2; |
|
|
|
|
private int featureCount_; |
|
|
|
|
/// <summary> |
|
|
|
|
/// The number of known features passed while traversing the route. |
|
|
|
|
/// </summary> |
|
|
|
|
public int FeatureCount { |
|
|
|
|
get { return featureCount_; } |
|
|
|
|
set { |
|
|
|
@ -637,8 +695,12 @@ namespace Routeguide { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "distance" field.</summary> |
|
|
|
|
public const int DistanceFieldNumber = 3; |
|
|
|
|
private int distance_; |
|
|
|
|
/// <summary> |
|
|
|
|
/// The distance covered in metres. |
|
|
|
|
/// </summary> |
|
|
|
|
public int Distance { |
|
|
|
|
get { return distance_; } |
|
|
|
|
set { |
|
|
|
@ -646,8 +708,12 @@ namespace Routeguide { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "elapsed_time" field.</summary> |
|
|
|
|
public const int ElapsedTimeFieldNumber = 4; |
|
|
|
|
private int elapsedTime_; |
|
|
|
|
/// <summary> |
|
|
|
|
/// The duration of the traversal in seconds. |
|
|
|
|
/// </summary> |
|
|
|
|
public int ElapsedTime { |
|
|
|
|
get { return elapsedTime_; } |
|
|
|
|
set { |
|
|
|
@ -683,7 +749,7 @@ namespace Routeguide { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override string ToString() { |
|
|
|
|
return pb::JsonFormatter.Default.Format(this); |
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) { |
|
|
|
|