// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: bgs/low/pb/client/global_extensions/range.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 Bgs.Protocol { /// Holder for reflection information generated from bgs/low/pb/client/global_extensions/range.proto public static partial class RangeReflection { #region Descriptor /// File descriptor for bgs/low/pb/client/global_extensions/range.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static RangeReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ci9iZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9yYW5nZS5w", "cm90bxIMYmdzLnByb3RvY29sIiwKEFVuc2lnbmVkSW50UmFuZ2USCwoDbWlu", "GAEgASgEEgsKA21heBgCIAEoBCIqCg5TaWduZWRJbnRSYW5nZRILCgNtaW4Y", "ASABKAMSCwoDbWF4GAIgASgDIiYKCkZsb2F0UmFuZ2USCwoDbWluGAEgASgC", "EgsKA21heBgCIAEoAg==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.UnsignedIntRange), global::Bgs.Protocol.UnsignedIntRange.Parser, new[]{ "Min", "Max" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.SignedIntRange), global::Bgs.Protocol.SignedIntRange.Parser, new[]{ "Min", "Max" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.FloatRange), global::Bgs.Protocol.FloatRange.Parser, new[]{ "Min", "Max" }, null, null, null, null) })); } #endregion } #region Messages public sealed partial class UnsignedIntRange : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsignedIntRange()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.RangeReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public UnsignedIntRange() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public UnsignedIntRange(UnsignedIntRange other) : this() { _hasBits0 = other._hasBits0; min_ = other.min_; max_ = other.max_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public UnsignedIntRange Clone() { return new UnsignedIntRange(this); } /// Field number for the "min" field. public const int MinFieldNumber = 1; private readonly static ulong MinDefaultValue = 0UL; private ulong min_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ulong Min { get { if ((_hasBits0 & 1) != 0) { return min_; } else { return MinDefaultValue; } } set { _hasBits0 |= 1; min_ = value; } } /// Gets whether the "min" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasMin { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "min" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearMin() { _hasBits0 &= ~1; } /// Field number for the "max" field. public const int MaxFieldNumber = 2; private readonly static ulong MaxDefaultValue = 0UL; private ulong max_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ulong Max { get { if ((_hasBits0 & 2) != 0) { return max_; } else { return MaxDefaultValue; } } set { _hasBits0 |= 2; max_ = value; } } /// Gets whether the "max" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasMax { get { return (_hasBits0 & 2) != 0; } } /// Clears the value of the "max" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearMax() { _hasBits0 &= ~2; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as UnsignedIntRange); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(UnsignedIntRange other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Min != other.Min) return false; if (Max != other.Max) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (HasMin) hash ^= Min.GetHashCode(); if (HasMax) hash ^= Max.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (HasMin) { output.WriteRawTag(8); output.WriteUInt64(Min); } if (HasMax) { output.WriteRawTag(16); output.WriteUInt64(Max); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasMin) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Min); } if (HasMax) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Max); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(UnsignedIntRange other) { if (other == null) { return; } if (other.HasMin) { Min = other.Min; } if (other.HasMax) { Max = other.Max; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Min = input.ReadUInt64(); break; } case 16: { Max = input.ReadUInt64(); break; } } } } } public sealed partial class SignedIntRange : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SignedIntRange()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.RangeReflection.Descriptor.MessageTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SignedIntRange() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SignedIntRange(SignedIntRange other) : this() { _hasBits0 = other._hasBits0; min_ = other.min_; max_ = other.max_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public SignedIntRange Clone() { return new SignedIntRange(this); } /// Field number for the "min" field. public const int MinFieldNumber = 1; private readonly static long MinDefaultValue = 0L; private long min_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public long Min { get { if ((_hasBits0 & 1) != 0) { return min_; } else { return MinDefaultValue; } } set { _hasBits0 |= 1; min_ = value; } } /// Gets whether the "min" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasMin { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "min" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearMin() { _hasBits0 &= ~1; } /// Field number for the "max" field. public const int MaxFieldNumber = 2; private readonly static long MaxDefaultValue = 0L; private long max_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public long Max { get { if ((_hasBits0 & 2) != 0) { return max_; } else { return MaxDefaultValue; } } set { _hasBits0 |= 2; max_ = value; } } /// Gets whether the "max" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasMax { get { return (_hasBits0 & 2) != 0; } } /// Clears the value of the "max" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearMax() { _hasBits0 &= ~2; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as SignedIntRange); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(SignedIntRange other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Min != other.Min) return false; if (Max != other.Max) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (HasMin) hash ^= Min.GetHashCode(); if (HasMax) hash ^= Max.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (HasMin) { output.WriteRawTag(8); output.WriteInt64(Min); } if (HasMax) { output.WriteRawTag(16); output.WriteInt64(Max); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasMin) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Min); } if (HasMax) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Max); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(SignedIntRange other) { if (other == null) { return; } if (other.HasMin) { Min = other.Min; } if (other.HasMax) { Max = other.Max; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Min = input.ReadInt64(); break; } case 16: { Max = input.ReadInt64(); break; } } } } } public sealed partial class FloatRange : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FloatRange()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.RangeReflection.Descriptor.MessageTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FloatRange() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FloatRange(FloatRange other) : this() { _hasBits0 = other._hasBits0; min_ = other.min_; max_ = other.max_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public FloatRange Clone() { return new FloatRange(this); } /// Field number for the "min" field. public const int MinFieldNumber = 1; private readonly static float MinDefaultValue = 0F; private float min_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public float Min { get { if ((_hasBits0 & 1) != 0) { return min_; } else { return MinDefaultValue; } } set { _hasBits0 |= 1; min_ = value; } } /// Gets whether the "min" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasMin { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "min" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearMin() { _hasBits0 &= ~1; } /// Field number for the "max" field. public const int MaxFieldNumber = 2; private readonly static float MaxDefaultValue = 0F; private float max_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public float Max { get { if ((_hasBits0 & 2) != 0) { return max_; } else { return MaxDefaultValue; } } set { _hasBits0 |= 2; max_ = value; } } /// Gets whether the "max" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasMax { get { return (_hasBits0 & 2) != 0; } } /// Clears the value of the "max" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearMax() { _hasBits0 &= ~2; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FloatRange); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(FloatRange other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Min, other.Min)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Max, other.Max)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (HasMin) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Min); if (HasMax) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Max); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (HasMin) { output.WriteRawTag(13); output.WriteFloat(Min); } if (HasMax) { output.WriteRawTag(21); output.WriteFloat(Max); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasMin) { size += 1 + 4; } if (HasMax) { size += 1 + 4; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(FloatRange other) { if (other == null) { return; } if (other.HasMin) { Min = other.Min; } if (other.HasMax) { Max = other.Max; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 13: { Min = input.ReadFloat(); break; } case 21: { Max = input.ReadFloat(); break; } } } } } #endregion } #endregion Designer generated code