Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Side by Side Diff: third_party/grpc/src/csharp/Grpc.IntegrationTesting/Empty.cs

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Generated by the protocol buffer compiler. DO NOT EDIT! 1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/empty.proto 2 // source: src/proto/grpc/testing/empty.proto
3 #pragma warning disable 1591, 0612, 3021 3 #pragma warning disable 1591, 0612, 3021
4 #region Designer generated code 4 #region Designer generated code
5 5
6 using pb = global::Google.Protobuf; 6 using pb = global::Google.Protobuf;
7 using pbc = global::Google.Protobuf.Collections; 7 using pbc = global::Google.Protobuf.Collections;
8 using pbr = global::Google.Protobuf.Reflection; 8 using pbr = global::Google.Protobuf.Reflection;
9 using scg = global::System.Collections.Generic; 9 using scg = global::System.Collections.Generic;
10 namespace Google.Protobuf.WellKnownTypes { 10 namespace Grpc.Testing {
11 11
12 /// <summary>Holder for reflection information generated from google/protobuf/ empty.proto</summary> 12 /// <summary>Holder for reflection information generated from src/proto/grpc/t esting/empty.proto</summary>
13 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 13 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
14 public static partial class EmptyReflection { 14 public static partial class EmptyReflection {
15 15
16 #region Descriptor 16 #region Descriptor
17 /// <summary>File descriptor for google/protobuf/empty.proto</summary> 17 /// <summary>File descriptor for src/proto/grpc/testing/empty.proto</summary >
18 public static pbr::FileDescriptor Descriptor { 18 public static pbr::FileDescriptor Descriptor {
19 get { return descriptor; } 19 get { return descriptor; }
20 } 20 }
21 private static pbr::FileDescriptor descriptor; 21 private static pbr::FileDescriptor descriptor;
22 22
23 static EmptyReflection() { 23 static EmptyReflection() {
24 byte[] descriptorData = global::System.Convert.FromBase64String( 24 byte[] descriptorData = global::System.Convert.FromBase64String(
25 string.Concat( 25 string.Concat(
26 "Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1", 26 "CiJzcmMvcHJvdG8vZ3JwYy90ZXN0aW5nL2VtcHR5LnByb3RvEgxncnBjLnRl",
27 "ZiIHCgVFbXB0eUJNChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3Rv", 27 "c3RpbmciBwoFRW1wdHliBnByb3RvMw=="));
28 "UAGgAQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNi",
29 "BnByb3RvMw=="));
30 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, 28 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
31 new pbr::FileDescriptor[] { }, 29 new pbr::FileDescriptor[] { },
32 new pbr::GeneratedCodeInfo(null, new pbr::GeneratedCodeInfo[] { 30 new pbr::GeneratedCodeInfo(null, new pbr::GeneratedCodeInfo[] {
33 new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.WellKnownT ypes.Empty), global::Google.Protobuf.WellKnownTypes.Empty.Parser, null, null, nu ll, null) 31 new pbr::GeneratedCodeInfo(typeof(global::Grpc.Testing.Empty), globa l::Grpc.Testing.Empty.Parser, null, null, null, null)
34 })); 32 }));
35 } 33 }
36 #endregion 34 #endregion
37 35
38 } 36 }
39 #region Messages 37 #region Messages
40 /// <summary> 38 /// <summary>
41 /// A generic empty message that you can re-use to avoid defining duplicated 39 /// An empty message that you can re-use to avoid defining duplicated empty
42 /// empty messages in your APIs. A typical example is to use it as the reques t 40 /// messages in your project. A typical example is to use it as argument or t he
43 /// or the response type of an API method. For instance: 41 /// return value of a service API. For instance:
44 /// 42 ///
45 /// service Foo { 43 /// service Foo {
46 /// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); 44 /// rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { };
47 /// } 45 /// };
48 ///
49 /// The JSON representation for `Empty` is empty JSON object `{}`.
50 /// </summary> 46 /// </summary>
51 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 47 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
52 public sealed partial class Empty : pb::IMessage<Empty> { 48 public sealed partial class Empty : pb::IMessage<Empty> {
53 private static readonly pb::MessageParser<Empty> _parser = new pb::MessagePa rser<Empty>(() => new Empty()); 49 private static readonly pb::MessageParser<Empty> _parser = new pb::MessagePa rser<Empty>(() => new Empty());
54 public static pb::MessageParser<Empty> Parser { get { return _parser; } } 50 public static pb::MessageParser<Empty> Parser { get { return _parser; } }
55 51
56 public static pbr::MessageDescriptor Descriptor { 52 public static pbr::MessageDescriptor Descriptor {
57 get { return global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descri ptor.MessageTypes[0]; } 53 get { return global::Grpc.Testing.EmptyReflection.Descriptor.MessageTypes[ 0]; }
58 } 54 }
59 55
60 pbr::MessageDescriptor pb::IMessage.Descriptor { 56 pbr::MessageDescriptor pb::IMessage.Descriptor {
61 get { return Descriptor; } 57 get { return Descriptor; }
62 } 58 }
63 59
64 public Empty() { 60 public Empty() {
65 OnConstruction(); 61 OnConstruction();
66 } 62 }
67 63
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 } 118 }
123 } 119 }
124 120
125 } 121 }
126 122
127 #endregion 123 #endregion
128 124
129 } 125 }
130 126
131 #endregion Designer generated code 127 #endregion Designer generated code
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698