blob: 7d699c1d89ef46c42fb6ff1a982f460c31c15fda [file] [log] [blame]
Jon Skeet62a4aa52015-07-14 14:26:49 +01001// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: google/protobuf/empty.proto
3#pragma warning disable 1591, 0612, 3021
4#region Designer generated code
5
6using pb = global::Google.Protobuf;
7using pbc = global::Google.Protobuf.Collections;
8using pbr = global::Google.Protobuf.Reflection;
9using scg = global::System.Collections.Generic;
10namespace Google.Protobuf.WellKnownTypes {
11
12 namespace Proto {
13
14 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
15 public static partial class Empty {
16
Jon Skeet62a4aa52015-07-14 14:26:49 +010017 #region Descriptor
18 public static pbr::FileDescriptor Descriptor {
19 get { return descriptor; }
20 }
21 private static pbr::FileDescriptor descriptor;
22
23 static Empty() {
24 byte[] descriptorData = global::System.Convert.FromBase64String(
25 string.Concat(
26 "Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1",
27 "ZiIHCgVFbXB0eUJKChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3Rv",
28 "UAGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnBy",
Jon Skeet47bf49b2015-07-22 11:39:38 +010029 "b3RvMw=="));
Jon Skeet62a4aa52015-07-14 14:26:49 +010030 descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
Jon Skeet96cffaa2015-07-20 19:25:07 +010031 new pbr::FileDescriptor[] { },
Jon Skeet47bf49b2015-07-22 11:39:38 +010032 new pbr::GeneratedCodeInfo(null, new pbr::GeneratedCodeInfo[] {
33 new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Empty), null, null, null, null)
34 }));
Jon Skeet62a4aa52015-07-14 14:26:49 +010035 }
36 #endregion
37
38 }
39 }
40 #region Messages
41 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
42 public sealed partial class Empty : pb::IMessage<Empty> {
43 private static readonly pb::MessageParser<Empty> _parser = new pb::MessageParser<Empty>(() => new Empty());
44 public static pb::MessageParser<Empty> Parser { get { return _parser; } }
45
Jon Skeet62a4aa52015-07-14 14:26:49 +010046 public static pbr::MessageDescriptor Descriptor {
47 get { return global::Google.Protobuf.WellKnownTypes.Proto.Empty.Descriptor.MessageTypes[0]; }
48 }
49
Jon Skeet96cffaa2015-07-20 19:25:07 +010050 pbr::MessageDescriptor pb::IMessage.Descriptor {
51 get { return Descriptor; }
Jon Skeet62a4aa52015-07-14 14:26:49 +010052 }
53
Jon Skeet62a4aa52015-07-14 14:26:49 +010054 public Empty() {
55 OnConstruction();
56 }
57
58 partial void OnConstruction();
59
60 public Empty(Empty other) : this() {
61 }
62
63 public Empty Clone() {
64 return new Empty(this);
65 }
66
Jon Skeet62a4aa52015-07-14 14:26:49 +010067 public override bool Equals(object other) {
68 return Equals(other as Empty);
69 }
70
71 public bool Equals(Empty other) {
72 if (ReferenceEquals(other, null)) {
73 return false;
74 }
75 if (ReferenceEquals(other, this)) {
76 return true;
77 }
78 return true;
79 }
80
81 public override int GetHashCode() {
82 int hash = 1;
83 return hash;
84 }
85
86 public override string ToString() {
87 return pb::JsonFormatter.Default.Format(this);
88 }
89
90 public void WriteTo(pb::CodedOutputStream output) {
91 }
92
93 public int CalculateSize() {
94 int size = 0;
95 return size;
96 }
97
98 public void MergeFrom(Empty other) {
99 if (other == null) {
100 return;
101 }
102 }
103
104 public void MergeFrom(pb::CodedInputStream input) {
105 uint tag;
Jon Skeet1a57ad82015-08-05 11:23:52 +0100106 while ((tag = input.ReadTag()) != 0) {
Jon Skeet62a4aa52015-07-14 14:26:49 +0100107 switch(tag) {
Jon Skeet62a4aa52015-07-14 14:26:49 +0100108 default:
Jon Skeet5bdc5722015-08-06 11:40:43 +0100109 input.SkipLastField();
Jon Skeet62a4aa52015-07-14 14:26:49 +0100110 break;
111 }
112 }
113 }
114
115 }
116
117 #endregion
118
119}
120
121#endregion Designer generated code