Index: third_party/grpc/src/csharp/Grpc.IntegrationTesting/Empty.cs |
diff --git a/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs b/third_party/grpc/src/csharp/Grpc.IntegrationTesting/Empty.cs |
similarity index 70% |
copy from third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs |
copy to third_party/grpc/src/csharp/Grpc.IntegrationTesting/Empty.cs |
index d568a811df7d17938f1258a5b38e7d2d2bf1244e..4323c5a09f29f700e90bf92f7da1dfab6ed5da3c 100644 |
--- a/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/Empty.cs |
+++ b/third_party/grpc/src/csharp/Grpc.IntegrationTesting/Empty.cs |
@@ -1,5 +1,5 @@ |
// Generated by the protocol buffer compiler. DO NOT EDIT! |
-// source: google/protobuf/empty.proto |
+// source: src/proto/grpc/testing/empty.proto |
#pragma warning disable 1591, 0612, 3021 |
#region Designer generated code |
@@ -7,14 +7,14 @@ using pb = global::Google.Protobuf; |
using pbc = global::Google.Protobuf.Collections; |
using pbr = global::Google.Protobuf.Reflection; |
using scg = global::System.Collections.Generic; |
-namespace Google.Protobuf.WellKnownTypes { |
+namespace Grpc.Testing { |
- /// <summary>Holder for reflection information generated from google/protobuf/empty.proto</summary> |
+ /// <summary>Holder for reflection information generated from src/proto/grpc/testing/empty.proto</summary> |
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public static partial class EmptyReflection { |
#region Descriptor |
- /// <summary>File descriptor for google/protobuf/empty.proto</summary> |
+ /// <summary>File descriptor for src/proto/grpc/testing/empty.proto</summary> |
public static pbr::FileDescriptor Descriptor { |
get { return descriptor; } |
} |
@@ -23,14 +23,12 @@ namespace Google.Protobuf.WellKnownTypes { |
static EmptyReflection() { |
byte[] descriptorData = global::System.Convert.FromBase64String( |
string.Concat( |
- "Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1", |
- "ZiIHCgVFbXB0eUJNChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3Rv", |
- "UAGgAQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNi", |
- "BnByb3RvMw==")); |
+ "CiJzcmMvcHJvdG8vZ3JwYy90ZXN0aW5nL2VtcHR5LnByb3RvEgxncnBjLnRl", |
+ "c3RpbmciBwoFRW1wdHliBnByb3RvMw==")); |
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
new pbr::FileDescriptor[] { }, |
new pbr::GeneratedCodeInfo(null, new pbr::GeneratedCodeInfo[] { |
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Empty), global::Google.Protobuf.WellKnownTypes.Empty.Parser, null, null, null, null) |
+ new pbr::GeneratedCodeInfo(typeof(global::Grpc.Testing.Empty), global::Grpc.Testing.Empty.Parser, null, null, null, null) |
})); |
} |
#endregion |
@@ -38,15 +36,13 @@ namespace Google.Protobuf.WellKnownTypes { |
} |
#region Messages |
/// <summary> |
- /// 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 |
- /// or the response type of an API method. For instance: |
+ /// An empty message that you can re-use to avoid defining duplicated empty |
+ /// messages in your project. A typical example is to use it as argument or the |
+ /// return value of a service API. For instance: |
/// |
- /// service Foo { |
- /// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); |
- /// } |
- /// |
- /// The JSON representation for `Empty` is empty JSON object `{}`. |
+ /// service Foo { |
+ /// rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { }; |
+ /// }; |
/// </summary> |
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
public sealed partial class Empty : pb::IMessage<Empty> { |
@@ -54,7 +50,7 @@ namespace Google.Protobuf.WellKnownTypes { |
public static pb::MessageParser<Empty> Parser { get { return _parser; } } |
public static pbr::MessageDescriptor Descriptor { |
- get { return global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor.MessageTypes[0]; } |
+ get { return global::Grpc.Testing.EmptyReflection.Descriptor.MessageTypes[0]; } |
} |
pbr::MessageDescriptor pb::IMessage.Descriptor { |