// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: bgs/low/pb/client/club_range_set.proto // #pragma warning disable 1591, 0612, 3021 #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.Club.V1 { /// Holder for reflection information generated from bgs/low/pb/client/club_range_set.proto public static partial class ClubRangeSetReflection { #region Descriptor /// File descriptor for bgs/low/pb/client/club_range_set.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ClubRangeSetReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiZiZ3MvbG93L3BiL2NsaWVudC9jbHViX3JhbmdlX3NldC5wcm90bxIUYmdz", "LnByb3RvY29sLmNsdWIudjEaL2Jncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9l", "eHRlbnNpb25zL3JhbmdlLnByb3RvItoEChBDbHViVHlwZVJhbmdlU2V0EjIK", "Cm5hbWVfcmFuZ2UYAiABKAsyHi5iZ3MucHJvdG9jb2wuVW5zaWduZWRJbnRS", "YW5nZRI5ChFkZXNjcmlwdGlvbl9yYW5nZRgDIAEoCzIeLmJncy5wcm90b2Nv", "bC5VbnNpZ25lZEludFJhbmdlEjcKD2Jyb2FkY2FzdF9yYW5nZRgEIAEoCzIe", "LmJncy5wcm90b2NvbC5VbnNpZ25lZEludFJhbmdlEjgKEHNob3J0X25hbWVf", "cmFuZ2UYByABKAsyHi5iZ3MucHJvdG9jb2wuVW5zaWduZWRJbnRSYW5nZRI4", "CgZtZW1iZXIYGSABKAsyKC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViTWVt", "YmVyUmFuZ2VTZXQSOAoGc3RyZWFtGBogASgLMiguYmdzLnByb3RvY29sLmNs", "dWIudjEuQ2x1YlN0cmVhbVJhbmdlU2V0EkAKCmludml0YXRpb24YGyABKAsy", "LC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViSW52aXRhdGlvblJhbmdlU2V0", "EkAKCnN1Z2dlc3Rpb24YHCABKAsyLC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5D", "bHViU3VnZ2VzdGlvblJhbmdlU2V0EjgKBnRpY2tldBgdIAEoCzIoLmJncy5w", "cm90b2NvbC5jbHViLnYxLkNsdWJUaWNrZXRSYW5nZVNldBIyCgNiYW4YHiAB", "KAsyJS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViQmFuUmFuZ2VTZXQi5AEK", "EkNsdWJNZW1iZXJSYW5nZVNldBItCgVjb3VudBgBIAEoCzIeLmJncy5wcm90", "b2NvbC5VbnNpZ25lZEludFJhbmdlEi0KBXZvaWNlGAMgASgLMh4uYmdzLnBy", "b3RvY29sLlVuc2lnbmVkSW50UmFuZ2USPAoUc3RyZWFtX3N1YnNjcmlwdGlv", "bnMYBSABKAsyHi5iZ3MucHJvdG9jb2wuVW5zaWduZWRJbnRSYW5nZRIyCgpu", "b3RlX3JhbmdlGAcgASgLMh4uYmdzLnByb3RvY29sLlVuc2lnbmVkSW50UmFu", "Z2Ui5QEKEkNsdWJTdHJlYW1SYW5nZVNldBItCgVjb3VudBgBIAEoCzIeLmJn", "cy5wcm90b2NvbC5VbnNpZ25lZEludFJhbmdlEjIKCm5hbWVfcmFuZ2UYAyAB", "KAsyHi5iZ3MucHJvdG9jb2wuVW5zaWduZWRJbnRSYW5nZRI1Cg1zdWJqZWN0", "X3JhbmdlGAQgASgLMh4uYmdzLnByb3RvY29sLlVuc2lnbmVkSW50UmFuZ2US", "NQoNbWVzc2FnZV9yYW5nZRgFIAEoCzIeLmJncy5wcm90b2NvbC5VbnNpZ25l", "ZEludFJhbmdlIkcKFkNsdWJJbnZpdGF0aW9uUmFuZ2VTZXQSLQoFY291bnQY", "ASABKAsyHi5iZ3MucHJvdG9jb2wuVW5zaWduZWRJbnRSYW5nZSJHChZDbHVi", "U3VnZ2VzdGlvblJhbmdlU2V0Ei0KBWNvdW50GAEgASgLMh4uYmdzLnByb3Rv", "Y29sLlVuc2lnbmVkSW50UmFuZ2UiQwoSQ2x1YlRpY2tldFJhbmdlU2V0Ei0K", "BWNvdW50GAEgASgLMh4uYmdzLnByb3RvY29sLlVuc2lnbmVkSW50UmFuZ2Ui", "dgoPQ2x1YkJhblJhbmdlU2V0Ei0KBWNvdW50GAEgASgLMh4uYmdzLnByb3Rv", "Y29sLlVuc2lnbmVkSW50UmFuZ2USNAoMcmVhc29uX3JhbmdlGAMgASgLMh4u", "YmdzLnByb3RvY29sLlVuc2lnbmVkSW50UmFuZ2U=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Bgs.Protocol.RangeReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.ClubTypeRangeSet), global::Bgs.Protocol.Club.V1.ClubTypeRangeSet.Parser, new[]{ "NameRange", "DescriptionRange", "BroadcastRange", "ShortNameRange", "Member", "Stream", "Invitation", "Suggestion", "Ticket", "Ban" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.ClubMemberRangeSet), global::Bgs.Protocol.Club.V1.ClubMemberRangeSet.Parser, new[]{ "Count", "Voice", "StreamSubscriptions", "NoteRange" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.ClubStreamRangeSet), global::Bgs.Protocol.Club.V1.ClubStreamRangeSet.Parser, new[]{ "Count", "NameRange", "SubjectRange", "MessageRange" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.ClubInvitationRangeSet), global::Bgs.Protocol.Club.V1.ClubInvitationRangeSet.Parser, new[]{ "Count" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.ClubSuggestionRangeSet), global::Bgs.Protocol.Club.V1.ClubSuggestionRangeSet.Parser, new[]{ "Count" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.ClubTicketRangeSet), global::Bgs.Protocol.Club.V1.ClubTicketRangeSet.Parser, new[]{ "Count" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.ClubBanRangeSet), global::Bgs.Protocol.Club.V1.ClubBanRangeSet.Parser, new[]{ "Count", "ReasonRange" }, null, null, null, null) })); } #endregion } #region Messages public sealed partial class ClubTypeRangeSet : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubTypeRangeSet()); private pb::UnknownFieldSet _unknownFields; [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.Club.V1.ClubRangeSetReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubTypeRangeSet() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubTypeRangeSet(ClubTypeRangeSet other) : this() { nameRange_ = other.HasNameRange ? other.nameRange_.Clone() : null; descriptionRange_ = other.HasDescriptionRange ? other.descriptionRange_.Clone() : null; broadcastRange_ = other.HasBroadcastRange ? other.broadcastRange_.Clone() : null; shortNameRange_ = other.HasShortNameRange ? other.shortNameRange_.Clone() : null; member_ = other.HasMember ? other.member_.Clone() : null; stream_ = other.HasStream ? other.stream_.Clone() : null; invitation_ = other.HasInvitation ? other.invitation_.Clone() : null; suggestion_ = other.HasSuggestion ? other.suggestion_.Clone() : null; ticket_ = other.HasTicket ? other.ticket_.Clone() : null; ban_ = other.HasBan ? other.ban_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubTypeRangeSet Clone() { return new ClubTypeRangeSet(this); } /// Field number for the "name_range" field. public const int NameRangeFieldNumber = 2; private global::Bgs.Protocol.UnsignedIntRange nameRange_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange NameRange { get { return nameRange_; } set { nameRange_ = value; } } /// Gets whether the name_range field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasNameRange { get { return nameRange_ != null; } } /// Clears the value of the name_range field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearNameRange() { nameRange_ = null; } /// Field number for the "description_range" field. public const int DescriptionRangeFieldNumber = 3; private global::Bgs.Protocol.UnsignedIntRange descriptionRange_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange DescriptionRange { get { return descriptionRange_; } set { descriptionRange_ = value; } } /// Gets whether the description_range field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasDescriptionRange { get { return descriptionRange_ != null; } } /// Clears the value of the description_range field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearDescriptionRange() { descriptionRange_ = null; } /// Field number for the "broadcast_range" field. public const int BroadcastRangeFieldNumber = 4; private global::Bgs.Protocol.UnsignedIntRange broadcastRange_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange BroadcastRange { get { return broadcastRange_; } set { broadcastRange_ = value; } } /// Gets whether the broadcast_range field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasBroadcastRange { get { return broadcastRange_ != null; } } /// Clears the value of the broadcast_range field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearBroadcastRange() { broadcastRange_ = null; } /// Field number for the "short_name_range" field. public const int ShortNameRangeFieldNumber = 7; private global::Bgs.Protocol.UnsignedIntRange shortNameRange_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange ShortNameRange { get { return shortNameRange_; } set { shortNameRange_ = value; } } /// Gets whether the short_name_range field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasShortNameRange { get { return shortNameRange_ != null; } } /// Clears the value of the short_name_range field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearShortNameRange() { shortNameRange_ = null; } /// Field number for the "member" field. public const int MemberFieldNumber = 25; private global::Bgs.Protocol.Club.V1.ClubMemberRangeSet member_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.Club.V1.ClubMemberRangeSet Member { get { return member_; } set { member_ = value; } } /// Gets whether the member field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasMember { get { return member_ != null; } } /// Clears the value of the member field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearMember() { member_ = null; } /// Field number for the "stream" field. public const int StreamFieldNumber = 26; private global::Bgs.Protocol.Club.V1.ClubStreamRangeSet stream_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.Club.V1.ClubStreamRangeSet Stream { get { return stream_; } set { stream_ = value; } } /// Gets whether the stream field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasStream { get { return stream_ != null; } } /// Clears the value of the stream field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearStream() { stream_ = null; } /// Field number for the "invitation" field. public const int InvitationFieldNumber = 27; private global::Bgs.Protocol.Club.V1.ClubInvitationRangeSet invitation_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.Club.V1.ClubInvitationRangeSet Invitation { get { return invitation_; } set { invitation_ = value; } } /// Gets whether the invitation field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasInvitation { get { return invitation_ != null; } } /// Clears the value of the invitation field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearInvitation() { invitation_ = null; } /// Field number for the "suggestion" field. public const int SuggestionFieldNumber = 28; private global::Bgs.Protocol.Club.V1.ClubSuggestionRangeSet suggestion_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.Club.V1.ClubSuggestionRangeSet Suggestion { get { return suggestion_; } set { suggestion_ = value; } } /// Gets whether the suggestion field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasSuggestion { get { return suggestion_ != null; } } /// Clears the value of the suggestion field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearSuggestion() { suggestion_ = null; } /// Field number for the "ticket" field. public const int TicketFieldNumber = 29; private global::Bgs.Protocol.Club.V1.ClubTicketRangeSet ticket_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.Club.V1.ClubTicketRangeSet Ticket { get { return ticket_; } set { ticket_ = value; } } /// Gets whether the ticket field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasTicket { get { return ticket_ != null; } } /// Clears the value of the ticket field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearTicket() { ticket_ = null; } /// Field number for the "ban" field. public const int BanFieldNumber = 30; private global::Bgs.Protocol.Club.V1.ClubBanRangeSet ban_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.Club.V1.ClubBanRangeSet Ban { get { return ban_; } set { ban_ = value; } } /// Gets whether the ban field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasBan { get { return ban_ != null; } } /// Clears the value of the ban field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearBan() { ban_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ClubTypeRangeSet); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(ClubTypeRangeSet other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(NameRange, other.NameRange)) return false; if (!object.Equals(DescriptionRange, other.DescriptionRange)) return false; if (!object.Equals(BroadcastRange, other.BroadcastRange)) return false; if (!object.Equals(ShortNameRange, other.ShortNameRange)) return false; if (!object.Equals(Member, other.Member)) return false; if (!object.Equals(Stream, other.Stream)) return false; if (!object.Equals(Invitation, other.Invitation)) return false; if (!object.Equals(Suggestion, other.Suggestion)) return false; if (!object.Equals(Ticket, other.Ticket)) return false; if (!object.Equals(Ban, other.Ban)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (HasNameRange) hash ^= NameRange.GetHashCode(); if (HasDescriptionRange) hash ^= DescriptionRange.GetHashCode(); if (HasBroadcastRange) hash ^= BroadcastRange.GetHashCode(); if (HasShortNameRange) hash ^= ShortNameRange.GetHashCode(); if (HasMember) hash ^= Member.GetHashCode(); if (HasStream) hash ^= Stream.GetHashCode(); if (HasInvitation) hash ^= Invitation.GetHashCode(); if (HasSuggestion) hash ^= Suggestion.GetHashCode(); if (HasTicket) hash ^= Ticket.GetHashCode(); if (HasBan) hash ^= Ban.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 (HasNameRange) { output.WriteRawTag(18); output.WriteMessage(NameRange); } if (HasDescriptionRange) { output.WriteRawTag(26); output.WriteMessage(DescriptionRange); } if (HasBroadcastRange) { output.WriteRawTag(34); output.WriteMessage(BroadcastRange); } if (HasShortNameRange) { output.WriteRawTag(58); output.WriteMessage(ShortNameRange); } if (HasMember) { output.WriteRawTag(202, 1); output.WriteMessage(Member); } if (HasStream) { output.WriteRawTag(210, 1); output.WriteMessage(Stream); } if (HasInvitation) { output.WriteRawTag(218, 1); output.WriteMessage(Invitation); } if (HasSuggestion) { output.WriteRawTag(226, 1); output.WriteMessage(Suggestion); } if (HasTicket) { output.WriteRawTag(234, 1); output.WriteMessage(Ticket); } if (HasBan) { output.WriteRawTag(242, 1); output.WriteMessage(Ban); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasNameRange) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(NameRange); } if (HasDescriptionRange) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DescriptionRange); } if (HasBroadcastRange) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BroadcastRange); } if (HasShortNameRange) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ShortNameRange); } if (HasMember) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Member); } if (HasStream) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Stream); } if (HasInvitation) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Invitation); } if (HasSuggestion) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Suggestion); } if (HasTicket) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Ticket); } if (HasBan) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(Ban); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(ClubTypeRangeSet other) { if (other == null) { return; } if (other.HasNameRange) { if (!HasNameRange) { NameRange = new global::Bgs.Protocol.UnsignedIntRange(); } NameRange.MergeFrom(other.NameRange); } if (other.HasDescriptionRange) { if (!HasDescriptionRange) { DescriptionRange = new global::Bgs.Protocol.UnsignedIntRange(); } DescriptionRange.MergeFrom(other.DescriptionRange); } if (other.HasBroadcastRange) { if (!HasBroadcastRange) { BroadcastRange = new global::Bgs.Protocol.UnsignedIntRange(); } BroadcastRange.MergeFrom(other.BroadcastRange); } if (other.HasShortNameRange) { if (!HasShortNameRange) { ShortNameRange = new global::Bgs.Protocol.UnsignedIntRange(); } ShortNameRange.MergeFrom(other.ShortNameRange); } if (other.HasMember) { if (!HasMember) { Member = new global::Bgs.Protocol.Club.V1.ClubMemberRangeSet(); } Member.MergeFrom(other.Member); } if (other.HasStream) { if (!HasStream) { Stream = new global::Bgs.Protocol.Club.V1.ClubStreamRangeSet(); } Stream.MergeFrom(other.Stream); } if (other.HasInvitation) { if (!HasInvitation) { Invitation = new global::Bgs.Protocol.Club.V1.ClubInvitationRangeSet(); } Invitation.MergeFrom(other.Invitation); } if (other.HasSuggestion) { if (!HasSuggestion) { Suggestion = new global::Bgs.Protocol.Club.V1.ClubSuggestionRangeSet(); } Suggestion.MergeFrom(other.Suggestion); } if (other.HasTicket) { if (!HasTicket) { Ticket = new global::Bgs.Protocol.Club.V1.ClubTicketRangeSet(); } Ticket.MergeFrom(other.Ticket); } if (other.HasBan) { if (!HasBan) { Ban = new global::Bgs.Protocol.Club.V1.ClubBanRangeSet(); } Ban.MergeFrom(other.Ban); } _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 18: { if (!HasNameRange) { NameRange = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(NameRange); break; } case 26: { if (!HasDescriptionRange) { DescriptionRange = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(DescriptionRange); break; } case 34: { if (!HasBroadcastRange) { BroadcastRange = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(BroadcastRange); break; } case 58: { if (!HasShortNameRange) { ShortNameRange = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(ShortNameRange); break; } case 202: { if (!HasMember) { Member = new global::Bgs.Protocol.Club.V1.ClubMemberRangeSet(); } input.ReadMessage(Member); break; } case 210: { if (!HasStream) { Stream = new global::Bgs.Protocol.Club.V1.ClubStreamRangeSet(); } input.ReadMessage(Stream); break; } case 218: { if (!HasInvitation) { Invitation = new global::Bgs.Protocol.Club.V1.ClubInvitationRangeSet(); } input.ReadMessage(Invitation); break; } case 226: { if (!HasSuggestion) { Suggestion = new global::Bgs.Protocol.Club.V1.ClubSuggestionRangeSet(); } input.ReadMessage(Suggestion); break; } case 234: { if (!HasTicket) { Ticket = new global::Bgs.Protocol.Club.V1.ClubTicketRangeSet(); } input.ReadMessage(Ticket); break; } case 242: { if (!HasBan) { Ban = new global::Bgs.Protocol.Club.V1.ClubBanRangeSet(); } input.ReadMessage(Ban); break; } } } } } public sealed partial class ClubMemberRangeSet : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubMemberRangeSet()); private pb::UnknownFieldSet _unknownFields; [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.Club.V1.ClubRangeSetReflection.Descriptor.MessageTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubMemberRangeSet() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubMemberRangeSet(ClubMemberRangeSet other) : this() { count_ = other.HasCount ? other.count_.Clone() : null; voice_ = other.HasVoice ? other.voice_.Clone() : null; streamSubscriptions_ = other.HasStreamSubscriptions ? other.streamSubscriptions_.Clone() : null; noteRange_ = other.HasNoteRange ? other.noteRange_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubMemberRangeSet Clone() { return new ClubMemberRangeSet(this); } /// Field number for the "count" field. public const int CountFieldNumber = 1; private global::Bgs.Protocol.UnsignedIntRange count_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange Count { get { return count_; } set { count_ = value; } } /// Gets whether the count field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCount { get { return count_ != null; } } /// Clears the value of the count field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCount() { count_ = null; } /// Field number for the "voice" field. public const int VoiceFieldNumber = 3; private global::Bgs.Protocol.UnsignedIntRange voice_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange Voice { get { return voice_; } set { voice_ = value; } } /// Gets whether the voice field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasVoice { get { return voice_ != null; } } /// Clears the value of the voice field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearVoice() { voice_ = null; } /// Field number for the "stream_subscriptions" field. public const int StreamSubscriptionsFieldNumber = 5; private global::Bgs.Protocol.UnsignedIntRange streamSubscriptions_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange StreamSubscriptions { get { return streamSubscriptions_; } set { streamSubscriptions_ = value; } } /// Gets whether the stream_subscriptions field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasStreamSubscriptions { get { return streamSubscriptions_ != null; } } /// Clears the value of the stream_subscriptions field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearStreamSubscriptions() { streamSubscriptions_ = null; } /// Field number for the "note_range" field. public const int NoteRangeFieldNumber = 7; private global::Bgs.Protocol.UnsignedIntRange noteRange_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange NoteRange { get { return noteRange_; } set { noteRange_ = value; } } /// Gets whether the note_range field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasNoteRange { get { return noteRange_ != null; } } /// Clears the value of the note_range field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearNoteRange() { noteRange_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ClubMemberRangeSet); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(ClubMemberRangeSet other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Count, other.Count)) return false; if (!object.Equals(Voice, other.Voice)) return false; if (!object.Equals(StreamSubscriptions, other.StreamSubscriptions)) return false; if (!object.Equals(NoteRange, other.NoteRange)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (HasCount) hash ^= Count.GetHashCode(); if (HasVoice) hash ^= Voice.GetHashCode(); if (HasStreamSubscriptions) hash ^= StreamSubscriptions.GetHashCode(); if (HasNoteRange) hash ^= NoteRange.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 (HasCount) { output.WriteRawTag(10); output.WriteMessage(Count); } if (HasVoice) { output.WriteRawTag(26); output.WriteMessage(Voice); } if (HasStreamSubscriptions) { output.WriteRawTag(42); output.WriteMessage(StreamSubscriptions); } if (HasNoteRange) { output.WriteRawTag(58); output.WriteMessage(NoteRange); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasCount) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Count); } if (HasVoice) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Voice); } if (HasStreamSubscriptions) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(StreamSubscriptions); } if (HasNoteRange) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(NoteRange); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(ClubMemberRangeSet other) { if (other == null) { return; } if (other.HasCount) { if (!HasCount) { Count = new global::Bgs.Protocol.UnsignedIntRange(); } Count.MergeFrom(other.Count); } if (other.HasVoice) { if (!HasVoice) { Voice = new global::Bgs.Protocol.UnsignedIntRange(); } Voice.MergeFrom(other.Voice); } if (other.HasStreamSubscriptions) { if (!HasStreamSubscriptions) { StreamSubscriptions = new global::Bgs.Protocol.UnsignedIntRange(); } StreamSubscriptions.MergeFrom(other.StreamSubscriptions); } if (other.HasNoteRange) { if (!HasNoteRange) { NoteRange = new global::Bgs.Protocol.UnsignedIntRange(); } NoteRange.MergeFrom(other.NoteRange); } _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 10: { if (!HasCount) { Count = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(Count); break; } case 26: { if (!HasVoice) { Voice = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(Voice); break; } case 42: { if (!HasStreamSubscriptions) { StreamSubscriptions = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(StreamSubscriptions); break; } case 58: { if (!HasNoteRange) { NoteRange = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(NoteRange); break; } } } } } public sealed partial class ClubStreamRangeSet : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubStreamRangeSet()); private pb::UnknownFieldSet _unknownFields; [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.Club.V1.ClubRangeSetReflection.Descriptor.MessageTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubStreamRangeSet() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubStreamRangeSet(ClubStreamRangeSet other) : this() { count_ = other.HasCount ? other.count_.Clone() : null; nameRange_ = other.HasNameRange ? other.nameRange_.Clone() : null; subjectRange_ = other.HasSubjectRange ? other.subjectRange_.Clone() : null; messageRange_ = other.HasMessageRange ? other.messageRange_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubStreamRangeSet Clone() { return new ClubStreamRangeSet(this); } /// Field number for the "count" field. public const int CountFieldNumber = 1; private global::Bgs.Protocol.UnsignedIntRange count_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange Count { get { return count_; } set { count_ = value; } } /// Gets whether the count field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCount { get { return count_ != null; } } /// Clears the value of the count field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCount() { count_ = null; } /// Field number for the "name_range" field. public const int NameRangeFieldNumber = 3; private global::Bgs.Protocol.UnsignedIntRange nameRange_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange NameRange { get { return nameRange_; } set { nameRange_ = value; } } /// Gets whether the name_range field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasNameRange { get { return nameRange_ != null; } } /// Clears the value of the name_range field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearNameRange() { nameRange_ = null; } /// Field number for the "subject_range" field. public const int SubjectRangeFieldNumber = 4; private global::Bgs.Protocol.UnsignedIntRange subjectRange_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange SubjectRange { get { return subjectRange_; } set { subjectRange_ = value; } } /// Gets whether the subject_range field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasSubjectRange { get { return subjectRange_ != null; } } /// Clears the value of the subject_range field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearSubjectRange() { subjectRange_ = null; } /// Field number for the "message_range" field. public const int MessageRangeFieldNumber = 5; private global::Bgs.Protocol.UnsignedIntRange messageRange_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange MessageRange { get { return messageRange_; } set { messageRange_ = value; } } /// Gets whether the message_range field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasMessageRange { get { return messageRange_ != null; } } /// Clears the value of the message_range field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearMessageRange() { messageRange_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ClubStreamRangeSet); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(ClubStreamRangeSet other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Count, other.Count)) return false; if (!object.Equals(NameRange, other.NameRange)) return false; if (!object.Equals(SubjectRange, other.SubjectRange)) return false; if (!object.Equals(MessageRange, other.MessageRange)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (HasCount) hash ^= Count.GetHashCode(); if (HasNameRange) hash ^= NameRange.GetHashCode(); if (HasSubjectRange) hash ^= SubjectRange.GetHashCode(); if (HasMessageRange) hash ^= MessageRange.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 (HasCount) { output.WriteRawTag(10); output.WriteMessage(Count); } if (HasNameRange) { output.WriteRawTag(26); output.WriteMessage(NameRange); } if (HasSubjectRange) { output.WriteRawTag(34); output.WriteMessage(SubjectRange); } if (HasMessageRange) { output.WriteRawTag(42); output.WriteMessage(MessageRange); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasCount) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Count); } if (HasNameRange) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(NameRange); } if (HasSubjectRange) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(SubjectRange); } if (HasMessageRange) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(MessageRange); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(ClubStreamRangeSet other) { if (other == null) { return; } if (other.HasCount) { if (!HasCount) { Count = new global::Bgs.Protocol.UnsignedIntRange(); } Count.MergeFrom(other.Count); } if (other.HasNameRange) { if (!HasNameRange) { NameRange = new global::Bgs.Protocol.UnsignedIntRange(); } NameRange.MergeFrom(other.NameRange); } if (other.HasSubjectRange) { if (!HasSubjectRange) { SubjectRange = new global::Bgs.Protocol.UnsignedIntRange(); } SubjectRange.MergeFrom(other.SubjectRange); } if (other.HasMessageRange) { if (!HasMessageRange) { MessageRange = new global::Bgs.Protocol.UnsignedIntRange(); } MessageRange.MergeFrom(other.MessageRange); } _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 10: { if (!HasCount) { Count = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(Count); break; } case 26: { if (!HasNameRange) { NameRange = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(NameRange); break; } case 34: { if (!HasSubjectRange) { SubjectRange = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(SubjectRange); break; } case 42: { if (!HasMessageRange) { MessageRange = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(MessageRange); break; } } } } } public sealed partial class ClubInvitationRangeSet : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubInvitationRangeSet()); private pb::UnknownFieldSet _unknownFields; [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.Club.V1.ClubRangeSetReflection.Descriptor.MessageTypes[3]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubInvitationRangeSet() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubInvitationRangeSet(ClubInvitationRangeSet other) : this() { count_ = other.HasCount ? other.count_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubInvitationRangeSet Clone() { return new ClubInvitationRangeSet(this); } /// Field number for the "count" field. public const int CountFieldNumber = 1; private global::Bgs.Protocol.UnsignedIntRange count_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange Count { get { return count_; } set { count_ = value; } } /// Gets whether the count field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCount { get { return count_ != null; } } /// Clears the value of the count field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCount() { count_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ClubInvitationRangeSet); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(ClubInvitationRangeSet other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Count, other.Count)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (HasCount) hash ^= Count.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 (HasCount) { output.WriteRawTag(10); output.WriteMessage(Count); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasCount) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Count); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(ClubInvitationRangeSet other) { if (other == null) { return; } if (other.HasCount) { if (!HasCount) { Count = new global::Bgs.Protocol.UnsignedIntRange(); } Count.MergeFrom(other.Count); } _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 10: { if (!HasCount) { Count = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(Count); break; } } } } } public sealed partial class ClubSuggestionRangeSet : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubSuggestionRangeSet()); private pb::UnknownFieldSet _unknownFields; [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.Club.V1.ClubRangeSetReflection.Descriptor.MessageTypes[4]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubSuggestionRangeSet() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubSuggestionRangeSet(ClubSuggestionRangeSet other) : this() { count_ = other.HasCount ? other.count_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubSuggestionRangeSet Clone() { return new ClubSuggestionRangeSet(this); } /// Field number for the "count" field. public const int CountFieldNumber = 1; private global::Bgs.Protocol.UnsignedIntRange count_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange Count { get { return count_; } set { count_ = value; } } /// Gets whether the count field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCount { get { return count_ != null; } } /// Clears the value of the count field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCount() { count_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ClubSuggestionRangeSet); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(ClubSuggestionRangeSet other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Count, other.Count)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (HasCount) hash ^= Count.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 (HasCount) { output.WriteRawTag(10); output.WriteMessage(Count); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasCount) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Count); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(ClubSuggestionRangeSet other) { if (other == null) { return; } if (other.HasCount) { if (!HasCount) { Count = new global::Bgs.Protocol.UnsignedIntRange(); } Count.MergeFrom(other.Count); } _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 10: { if (!HasCount) { Count = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(Count); break; } } } } } public sealed partial class ClubTicketRangeSet : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubTicketRangeSet()); private pb::UnknownFieldSet _unknownFields; [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.Club.V1.ClubRangeSetReflection.Descriptor.MessageTypes[5]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubTicketRangeSet() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubTicketRangeSet(ClubTicketRangeSet other) : this() { count_ = other.HasCount ? other.count_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubTicketRangeSet Clone() { return new ClubTicketRangeSet(this); } /// Field number for the "count" field. public const int CountFieldNumber = 1; private global::Bgs.Protocol.UnsignedIntRange count_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange Count { get { return count_; } set { count_ = value; } } /// Gets whether the count field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCount { get { return count_ != null; } } /// Clears the value of the count field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCount() { count_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ClubTicketRangeSet); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(ClubTicketRangeSet other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Count, other.Count)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (HasCount) hash ^= Count.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 (HasCount) { output.WriteRawTag(10); output.WriteMessage(Count); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasCount) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Count); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(ClubTicketRangeSet other) { if (other == null) { return; } if (other.HasCount) { if (!HasCount) { Count = new global::Bgs.Protocol.UnsignedIntRange(); } Count.MergeFrom(other.Count); } _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 10: { if (!HasCount) { Count = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(Count); break; } } } } } public sealed partial class ClubBanRangeSet : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClubBanRangeSet()); private pb::UnknownFieldSet _unknownFields; [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.Club.V1.ClubRangeSetReflection.Descriptor.MessageTypes[6]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubBanRangeSet() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubBanRangeSet(ClubBanRangeSet other) : this() { count_ = other.HasCount ? other.count_.Clone() : null; reasonRange_ = other.HasReasonRange ? other.reasonRange_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ClubBanRangeSet Clone() { return new ClubBanRangeSet(this); } /// Field number for the "count" field. public const int CountFieldNumber = 1; private global::Bgs.Protocol.UnsignedIntRange count_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange Count { get { return count_; } set { count_ = value; } } /// Gets whether the count field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasCount { get { return count_ != null; } } /// Clears the value of the count field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearCount() { count_ = null; } /// Field number for the "reason_range" field. public const int ReasonRangeFieldNumber = 3; private global::Bgs.Protocol.UnsignedIntRange reasonRange_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.UnsignedIntRange ReasonRange { get { return reasonRange_; } set { reasonRange_ = value; } } /// Gets whether the reason_range field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasReasonRange { get { return reasonRange_ != null; } } /// Clears the value of the reason_range field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearReasonRange() { reasonRange_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ClubBanRangeSet); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(ClubBanRangeSet other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Count, other.Count)) return false; if (!object.Equals(ReasonRange, other.ReasonRange)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (HasCount) hash ^= Count.GetHashCode(); if (HasReasonRange) hash ^= ReasonRange.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 (HasCount) { output.WriteRawTag(10); output.WriteMessage(Count); } if (HasReasonRange) { output.WriteRawTag(26); output.WriteMessage(ReasonRange); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasCount) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Count); } if (HasReasonRange) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReasonRange); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(ClubBanRangeSet other) { if (other == null) { return; } if (other.HasCount) { if (!HasCount) { Count = new global::Bgs.Protocol.UnsignedIntRange(); } Count.MergeFrom(other.Count); } if (other.HasReasonRange) { if (!HasReasonRange) { ReasonRange = new global::Bgs.Protocol.UnsignedIntRange(); } ReasonRange.MergeFrom(other.ReasonRange); } _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 10: { if (!HasCount) { Count = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(Count); break; } case 26: { if (!HasReasonRange) { ReasonRange = new global::Bgs.Protocol.UnsignedIntRange(); } input.ReadMessage(ReasonRange); break; } } } } } #endregion } #endregion Designer generated code