blob: 3017e664b906460770d94f3bcf92f156a63699ef [file] [log] [blame]
Jan Tattermusch475f75a2015-08-03 09:46:04 -07001// Generated by the protocol buffer compiler. DO NOT EDIT!
Jan Tattermusch72ce4422016-01-20 13:54:38 -08002// source: src/proto/grpc/testing/empty.proto
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -08003#pragma warning disable 1591, 0612, 3021
4#region Designer generated code
5
Jan Tattermusch475f75a2015-08-03 09:46:04 -07006using pb = global::Google.Protobuf;
7using pbc = global::Google.Protobuf.Collections;
8using pbr = global::Google.Protobuf.Reflection;
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -08009using scg = global::System.Collections.Generic;
Jan Tattermusch475f75a2015-08-03 09:46:04 -070010namespace Grpc.Testing {
Craig Tiller190d3602015-02-18 09:23:38 -080011
Jan Tattermusch72ce4422016-01-20 13:54:38 -080012 /// <summary>Holder for reflection information generated from src/proto/grpc/testing/empty.proto</summary>
Jan Tattermusch72ce4422016-01-20 13:54:38 -080013 public static partial class EmptyReflection {
Craig Tiller190d3602015-02-18 09:23:38 -080014
Jan Tattermusch72ce4422016-01-20 13:54:38 -080015 #region Descriptor
16 /// <summary>File descriptor for src/proto/grpc/testing/empty.proto</summary>
17 public static pbr::FileDescriptor Descriptor {
18 get { return descriptor; }
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080019 }
Jan Tattermusch72ce4422016-01-20 13:54:38 -080020 private static pbr::FileDescriptor descriptor;
21
22 static EmptyReflection() {
23 byte[] descriptorData = global::System.Convert.FromBase64String(
24 string.Concat(
25 "CiJzcmMvcHJvdG8vZ3JwYy90ZXN0aW5nL2VtcHR5LnByb3RvEgxncnBjLnRl",
26 "c3RpbmciBwoFRW1wdHliBnByb3RvMw=="));
27 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
28 new pbr::FileDescriptor[] { },
Jan Tattermuschc96fdde2016-05-16 17:08:41 -070029 new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
30 new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.Empty), global::Grpc.Testing.Empty.Parser, null, null, null, null)
Jan Tattermusch72ce4422016-01-20 13:54:38 -080031 }));
32 }
33 #endregion
34
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080035 }
36 #region Messages
Jan Tattermusch72ce4422016-01-20 13:54:38 -080037 /// <summary>
38 /// An empty message that you can re-use to avoid defining duplicated empty
39 /// messages in your project. A typical example is to use it as argument or the
40 /// return value of a service API. For instance:
41 ///
42 /// service Foo {
43 /// rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { };
44 /// };
45 /// </summary>
Jan Tattermusch475f75a2015-08-03 09:46:04 -070046 public sealed partial class Empty : pb::IMessage<Empty> {
47 private static readonly pb::MessageParser<Empty> _parser = new pb::MessageParser<Empty>(() => new Empty());
Jan Tattermusch10098d12016-10-06 13:15:12 +020048 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jan Tattermusch475f75a2015-08-03 09:46:04 -070049 public static pb::MessageParser<Empty> Parser { get { return _parser; } }
50
Jan Tattermusch10098d12016-10-06 13:15:12 +020051 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jan Tattermusch475f75a2015-08-03 09:46:04 -070052 public static pbr::MessageDescriptor Descriptor {
Jan Tattermusch72ce4422016-01-20 13:54:38 -080053 get { return global::Grpc.Testing.EmptyReflection.Descriptor.MessageTypes[0]; }
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080054 }
Craig Tiller190d3602015-02-18 09:23:38 -080055
Jan Tattermusch10098d12016-10-06 13:15:12 +020056 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jan Tattermusch475f75a2015-08-03 09:46:04 -070057 pbr::MessageDescriptor pb::IMessage.Descriptor {
58 get { return Descriptor; }
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080059 }
Craig Tiller190d3602015-02-18 09:23:38 -080060
Jan Tattermusch10098d12016-10-06 13:15:12 +020061 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jan Tattermusch475f75a2015-08-03 09:46:04 -070062 public Empty() {
63 OnConstruction();
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080064 }
Craig Tiller190d3602015-02-18 09:23:38 -080065
Jan Tattermusch475f75a2015-08-03 09:46:04 -070066 partial void OnConstruction();
67
Jan Tattermusch10098d12016-10-06 13:15:12 +020068 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jan Tattermusch475f75a2015-08-03 09:46:04 -070069 public Empty(Empty other) : this() {
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080070 }
Craig Tiller190d3602015-02-18 09:23:38 -080071
Jan Tattermusch10098d12016-10-06 13:15:12 +020072 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jan Tattermusch475f75a2015-08-03 09:46:04 -070073 public Empty Clone() {
74 return new Empty(this);
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080075 }
Craig Tiller190d3602015-02-18 09:23:38 -080076
Jan Tattermusch10098d12016-10-06 13:15:12 +020077 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jan Tattermusch475f75a2015-08-03 09:46:04 -070078 public override bool Equals(object other) {
79 return Equals(other as Empty);
80 }
81
Jan Tattermusch10098d12016-10-06 13:15:12 +020082 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jan Tattermusch475f75a2015-08-03 09:46:04 -070083 public bool Equals(Empty other) {
84 if (ReferenceEquals(other, null)) {
85 return false;
86 }
87 if (ReferenceEquals(other, this)) {
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080088 return true;
89 }
Jan Tattermusch475f75a2015-08-03 09:46:04 -070090 return true;
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080091 }
Craig Tiller190d3602015-02-18 09:23:38 -080092
Jan Tattermusch10098d12016-10-06 13:15:12 +020093 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jan Tattermusch475f75a2015-08-03 09:46:04 -070094 public override int GetHashCode() {
95 int hash = 1;
96 return hash;
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080097 }
Craig Tiller190d3602015-02-18 09:23:38 -080098
Jan Tattermusch10098d12016-10-06 13:15:12 +020099 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jan Tattermusch475f75a2015-08-03 09:46:04 -0700100 public override string ToString() {
Jan Tattermusch72ce4422016-01-20 13:54:38 -0800101 return pb::JsonFormatter.ToDiagnosticString(this);
Jan Tattermusch475f75a2015-08-03 09:46:04 -0700102 }
Craig Tiller190d3602015-02-18 09:23:38 -0800103
Jan Tattermusch10098d12016-10-06 13:15:12 +0200104 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jan Tattermusch475f75a2015-08-03 09:46:04 -0700105 public void WriteTo(pb::CodedOutputStream output) {
106 }
107
Jan Tattermusch10098d12016-10-06 13:15:12 +0200108 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jan Tattermusch475f75a2015-08-03 09:46:04 -0700109 public int CalculateSize() {
110 int size = 0;
111 return size;
112 }
113
Jan Tattermusch10098d12016-10-06 13:15:12 +0200114 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jan Tattermusch475f75a2015-08-03 09:46:04 -0700115 public void MergeFrom(Empty other) {
116 if (other == null) {
117 return;
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -0800118 }
119 }
Craig Tiller190d3602015-02-18 09:23:38 -0800120
Jan Tattermusch10098d12016-10-06 13:15:12 +0200121 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Jan Tattermusch475f75a2015-08-03 09:46:04 -0700122 public void MergeFrom(pb::CodedInputStream input) {
123 uint tag;
Jan Tattermusch38536a72015-08-08 00:45:52 -0700124 while ((tag = input.ReadTag()) != 0) {
Jan Tattermusch475f75a2015-08-03 09:46:04 -0700125 switch(tag) {
Jan Tattermusch475f75a2015-08-03 09:46:04 -0700126 default:
Jan Tattermusch38536a72015-08-08 00:45:52 -0700127 input.SkipLastField();
Jan Tattermusch475f75a2015-08-03 09:46:04 -0700128 break;
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -0800129 }
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -0800130 }
Jan Tattermusch475f75a2015-08-03 09:46:04 -0700131 }
Craig Tiller190d3602015-02-18 09:23:38 -0800132
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -0800133 }
Craig Tiller190d3602015-02-18 09:23:38 -0800134
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -0800135 #endregion
Craig Tiller190d3602015-02-18 09:23:38 -0800136
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -0800137}
138
139#endregion Designer generated code