blob: 28c28c9afd5bd303a550a30cc64bedf158e65101 [file] [log] [blame]
Jan Tattermusch475f75a2015-08-03 09:46:04 -07001// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: 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 Tattermuscha4b63bf2015-02-06 10:07:59 -080012 namespace Proto {
Craig Tiller190d3602015-02-18 09:23:38 -080013
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080014 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
15 public static partial class Empty {
Craig Tiller190d3602015-02-18 09:23:38 -080016
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080017 #region Descriptor
Jan Tattermusch475f75a2015-08-03 09:46:04 -070018 public static pbr::FileDescriptor Descriptor {
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080019 get { return descriptor; }
20 }
Jan Tattermusch475f75a2015-08-03 09:46:04 -070021 private static pbr::FileDescriptor descriptor;
Craig Tiller190d3602015-02-18 09:23:38 -080022
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080023 static Empty() {
24 byte[] descriptorData = global::System.Convert.FromBase64String(
25 string.Concat(
Jan Tattermusch475f75a2015-08-03 09:46:04 -070026 "CgtlbXB0eS5wcm90bxIMZ3JwYy50ZXN0aW5nIgcKBUVtcHR5YgZwcm90bzM="));
27 descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
28 new pbr::FileDescriptor[] { },
29 new pbr::GeneratedCodeInfo(null, new pbr::GeneratedCodeInfo[] {
30 new pbr::GeneratedCodeInfo(typeof(global::Grpc.Testing.Empty), null, null, null, null)
31 }));
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080032 }
33 #endregion
Craig Tiller190d3602015-02-18 09:23:38 -080034
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080035 }
36 }
37 #region Messages
38 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
Jan Tattermusch475f75a2015-08-03 09:46:04 -070039 public sealed partial class Empty : pb::IMessage<Empty> {
40 private static readonly pb::MessageParser<Empty> _parser = new pb::MessageParser<Empty>(() => new Empty());
41 public static pb::MessageParser<Empty> Parser { get { return _parser; } }
42
43 public static pbr::MessageDescriptor Descriptor {
44 get { return global::Grpc.Testing.Proto.Empty.Descriptor.MessageTypes[0]; }
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080045 }
Craig Tiller190d3602015-02-18 09:23:38 -080046
Jan Tattermusch475f75a2015-08-03 09:46:04 -070047 pbr::MessageDescriptor pb::IMessage.Descriptor {
48 get { return Descriptor; }
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080049 }
Craig Tiller190d3602015-02-18 09:23:38 -080050
Jan Tattermusch475f75a2015-08-03 09:46:04 -070051 public Empty() {
52 OnConstruction();
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080053 }
Craig Tiller190d3602015-02-18 09:23:38 -080054
Jan Tattermusch475f75a2015-08-03 09:46:04 -070055 partial void OnConstruction();
56
57 public Empty(Empty other) : this() {
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080058 }
Craig Tiller190d3602015-02-18 09:23:38 -080059
Jan Tattermusch475f75a2015-08-03 09:46:04 -070060 public Empty Clone() {
61 return new Empty(this);
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080062 }
Craig Tiller190d3602015-02-18 09:23:38 -080063
Jan Tattermusch475f75a2015-08-03 09:46:04 -070064 public override bool Equals(object other) {
65 return Equals(other as Empty);
66 }
67
68 public bool Equals(Empty other) {
69 if (ReferenceEquals(other, null)) {
70 return false;
71 }
72 if (ReferenceEquals(other, this)) {
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080073 return true;
74 }
Jan Tattermusch475f75a2015-08-03 09:46:04 -070075 return true;
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080076 }
Craig Tiller190d3602015-02-18 09:23:38 -080077
Jan Tattermusch475f75a2015-08-03 09:46:04 -070078 public override int GetHashCode() {
79 int hash = 1;
80 return hash;
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080081 }
Craig Tiller190d3602015-02-18 09:23:38 -080082
Jan Tattermusch475f75a2015-08-03 09:46:04 -070083 public override string ToString() {
84 return pb::JsonFormatter.Default.Format(this);
85 }
Craig Tiller190d3602015-02-18 09:23:38 -080086
Jan Tattermusch475f75a2015-08-03 09:46:04 -070087 public void WriteTo(pb::CodedOutputStream output) {
88 }
89
90 public int CalculateSize() {
91 int size = 0;
92 return size;
93 }
94
95 public void MergeFrom(Empty other) {
96 if (other == null) {
97 return;
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -080098 }
99 }
Craig Tiller190d3602015-02-18 09:23:38 -0800100
Jan Tattermusch475f75a2015-08-03 09:46:04 -0700101 public void MergeFrom(pb::CodedInputStream input) {
102 uint tag;
Jan Tattermusch38536a72015-08-08 00:45:52 -0700103 while ((tag = input.ReadTag()) != 0) {
Jan Tattermusch475f75a2015-08-03 09:46:04 -0700104 switch(tag) {
Jan Tattermusch475f75a2015-08-03 09:46:04 -0700105 default:
Jan Tattermusch38536a72015-08-08 00:45:52 -0700106 input.SkipLastField();
Jan Tattermusch475f75a2015-08-03 09:46:04 -0700107 break;
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -0800108 }
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -0800109 }
Jan Tattermusch475f75a2015-08-03 09:46:04 -0700110 }
Craig Tiller190d3602015-02-18 09:23:38 -0800111
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -0800112 }
Craig Tiller190d3602015-02-18 09:23:38 -0800113
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -0800114 #endregion
Craig Tiller190d3602015-02-18 09:23:38 -0800115
Jan Tattermuscha4b63bf2015-02-06 10:07:59 -0800116}
117
118#endregion Designer generated code