// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: GMOrder.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; namespace Nova.Client { /// Holder for reflection information generated from GMOrder.proto public static partial class GMOrderReflection { #region Descriptor /// File descriptor for GMOrder.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static GMOrderReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cg1HTU9yZGVyLnByb3RvIo8BCgdHTU9yZGVyEg0KBW9yZGVyGAEgASgJEgwK", "BGRlc2MYAiABKAkSEwoLcGFyYW1fY291bnQYAyABKAUSEwoLcGFyYW1fbmFt", "ZTEYBCABKAkSEwoLcGFyYW1fbmFtZTIYBSABKAkSEwoLcGFyYW1fbmFtZTMY", "BiABKAkSEwoLcGFyYW1fbmFtZTQYByABKAlCDqoCC05vdmEuQ2xpZW50YgZw", "cm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.GMOrder), global::Nova.Client.GMOrder.Parser, new[]{ "Order", "Desc", "ParamCount", "ParamName1", "ParamName2", "ParamName3", "ParamName4" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GMOrder : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GMOrder()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Nova.Client.GMOrderReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GMOrder() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GMOrder(GMOrder other) : this() { order_ = other.order_; desc_ = other.desc_; paramCount_ = other.paramCount_; paramName1_ = other.paramName1_; paramName2_ = other.paramName2_; paramName3_ = other.paramName3_; paramName4_ = other.paramName4_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GMOrder Clone() { return new GMOrder(this); } /// Field number for the "order" field. public const int OrderFieldNumber = 1; private string order_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Order { get { return order_; } set { order_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "desc" field. public const int DescFieldNumber = 2; private string desc_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Desc { get { return desc_; } set { desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param_count" field. public const int ParamCountFieldNumber = 3; private int paramCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int ParamCount { get { return paramCount_; } set { paramCount_ = value; } } /// Field number for the "param_name1" field. public const int ParamName1FieldNumber = 4; private string paramName1_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ParamName1 { get { return paramName1_; } set { paramName1_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param_name2" field. public const int ParamName2FieldNumber = 5; private string paramName2_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ParamName2 { get { return paramName2_; } set { paramName2_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param_name3" field. public const int ParamName3FieldNumber = 6; private string paramName3_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ParamName3 { get { return paramName3_; } set { paramName3_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "param_name4" field. public const int ParamName4FieldNumber = 7; private string paramName4_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ParamName4 { get { return paramName4_; } set { paramName4_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GMOrder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GMOrder other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Order != other.Order) return false; if (Desc != other.Desc) return false; if (ParamCount != other.ParamCount) return false; if (ParamName1 != other.ParamName1) return false; if (ParamName2 != other.ParamName2) return false; if (ParamName3 != other.ParamName3) return false; if (ParamName4 != other.ParamName4) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (Order.Length != 0) hash ^= Order.GetHashCode(); if (Desc.Length != 0) hash ^= Desc.GetHashCode(); if (ParamCount != 0) hash ^= ParamCount.GetHashCode(); if (ParamName1.Length != 0) hash ^= ParamName1.GetHashCode(); if (ParamName2.Length != 0) hash ^= ParamName2.GetHashCode(); if (ParamName3.Length != 0) hash ^= ParamName3.GetHashCode(); if (ParamName4.Length != 0) hash ^= ParamName4.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (Order.Length != 0) { output.WriteRawTag(10); output.WriteString(Order); } if (Desc.Length != 0) { output.WriteRawTag(18); output.WriteString(Desc); } if (ParamCount != 0) { output.WriteRawTag(24); output.WriteInt32(ParamCount); } if (ParamName1.Length != 0) { output.WriteRawTag(34); output.WriteString(ParamName1); } if (ParamName2.Length != 0) { output.WriteRawTag(42); output.WriteString(ParamName2); } if (ParamName3.Length != 0) { output.WriteRawTag(50); output.WriteString(ParamName3); } if (ParamName4.Length != 0) { output.WriteRawTag(58); output.WriteString(ParamName4); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Order.Length != 0) { output.WriteRawTag(10); output.WriteString(Order); } if (Desc.Length != 0) { output.WriteRawTag(18); output.WriteString(Desc); } if (ParamCount != 0) { output.WriteRawTag(24); output.WriteInt32(ParamCount); } if (ParamName1.Length != 0) { output.WriteRawTag(34); output.WriteString(ParamName1); } if (ParamName2.Length != 0) { output.WriteRawTag(42); output.WriteString(ParamName2); } if (ParamName3.Length != 0) { output.WriteRawTag(50); output.WriteString(ParamName3); } if (ParamName4.Length != 0) { output.WriteRawTag(58); output.WriteString(ParamName4); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (Order.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Order); } if (Desc.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); } if (ParamCount != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParamCount); } if (ParamName1.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ParamName1); } if (ParamName2.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ParamName2); } if (ParamName3.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ParamName3); } if (ParamName4.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ParamName4); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GMOrder other) { if (other == null) { return; } if (other.Order.Length != 0) { Order = other.Order; } if (other.Desc.Length != 0) { Desc = other.Desc; } if (other.ParamCount != 0) { ParamCount = other.ParamCount; } if (other.ParamName1.Length != 0) { ParamName1 = other.ParamName1; } if (other.ParamName2.Length != 0) { ParamName2 = other.ParamName2; } if (other.ParamName3.Length != 0) { ParamName3 = other.ParamName3; } if (other.ParamName4.Length != 0) { ParamName4 = other.ParamName4; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { Order = input.ReadString(); break; } case 18: { Desc = input.ReadString(); break; } case 24: { ParamCount = input.ReadInt32(); break; } case 34: { ParamName1 = input.ReadString(); break; } case 42: { ParamName2 = input.ReadString(); break; } case 50: { ParamName3 = input.ReadString(); break; } case 58: { ParamName4 = input.ReadString(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { Order = input.ReadString(); break; } case 18: { Desc = input.ReadString(); break; } case 24: { ParamCount = input.ReadInt32(); break; } case 34: { ParamName1 = input.ReadString(); break; } case 42: { ParamName2 = input.ReadString(); break; } case 50: { ParamName3 = input.ReadString(); break; } case 58: { ParamName4 = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code