// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: bgs/low/pb/client/club_member_id.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.Club.V1 { /// Holder for reflection information generated from bgs/low/pb/client/club_member_id.proto public static partial class ClubMemberIdReflection { #region Descriptor /// File descriptor for bgs/low/pb/client/club_member_id.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ClubMemberIdReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiZiZ3MvbG93L3BiL2NsaWVudC9jbHViX21lbWJlcl9pZC5wcm90bxIUYmdz", "LnByb3RvY29sLmNsdWIudjEaOWJncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9l", "eHRlbnNpb25zL21lc3NhZ2Vfb3B0aW9ucy5wcm90bxolYmdzL2xvdy9wYi9j", "bGllbnQvYWNjb3VudF90eXBlcy5wcm90bxohYmdzL2xvdy9wYi9jbGllbnQv", "cnBjX3R5cGVzLnByb3RvGjdiZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0", "ZW5zaW9ucy9maWVsZF9vcHRpb25zLnByb3RvGjhiZ3MvbG93L3BiL2NsaWVu", "dC9nbG9iYWxfZXh0ZW5zaW9ucy9tZXRob2Rfb3B0aW9ucy5wcm90bxo5Ymdz", "L2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvc2VydmljZV9vcHRp", "b25zLnByb3RvIl0KCE1lbWJlcklkEjYKCmFjY291bnRfaWQYASABKAsyIi5i", "Z3MucHJvdG9jb2wuYWNjb3VudC52MS5BY2NvdW50SWQSEQoJdW5pcXVlX2lk", "GAIgASgEOgaC+SsCCAE=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Bgs.Protocol.MessageOptionsReflection.Descriptor, global::Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, global::Bgs.Protocol.RpcTypesReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MethodOptionsReflection.Descriptor, global::Bgs.Protocol.ServiceOptionsReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.MemberId), global::Bgs.Protocol.Club.V1.MemberId.Parser, new[]{ "AccountId", "UniqueId" }, null, null, null, null) })); } #endregion } #region Messages public sealed partial class MemberId : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemberId()); 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.Club.V1.ClubMemberIdReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public MemberId() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public MemberId(MemberId other) : this() { _hasBits0 = other._hasBits0; accountId_ = other.HasAccountId ? other.accountId_.Clone() : null; uniqueId_ = other.uniqueId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public MemberId Clone() { return new MemberId(this); } /// Field number for the "account_id" field. public const int AccountIdFieldNumber = 1; private global::Bgs.Protocol.Account.V1.AccountId accountId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Bgs.Protocol.Account.V1.AccountId AccountId { get { return accountId_; } set { accountId_ = value; } } /// Gets whether the account_id field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasAccountId { get { return accountId_ != null; } } /// Clears the value of the account_id field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearAccountId() { accountId_ = null; } /// Field number for the "unique_id" field. public const int UniqueIdFieldNumber = 2; private readonly static ulong UniqueIdDefaultValue = 0UL; private ulong uniqueId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ulong UniqueId { get { if ((_hasBits0 & 1) != 0) { return uniqueId_; } else { return UniqueIdDefaultValue; } } set { _hasBits0 |= 1; uniqueId_ = value; } } /// Gets whether the "unique_id" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasUniqueId { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "unique_id" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearUniqueId() { _hasBits0 &= ~1; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as MemberId); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(MemberId other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(AccountId, other.AccountId)) return false; if (UniqueId != other.UniqueId) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (HasAccountId) hash ^= AccountId.GetHashCode(); if (HasUniqueId) hash ^= UniqueId.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 (HasAccountId) { output.WriteRawTag(10); output.WriteMessage(AccountId); } if (HasUniqueId) { output.WriteRawTag(16); output.WriteUInt64(UniqueId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasAccountId) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId); } if (HasUniqueId) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(UniqueId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(MemberId other) { if (other == null) { return; } if (other.HasAccountId) { if (!HasAccountId) { AccountId = new global::Bgs.Protocol.Account.V1.AccountId(); } AccountId.MergeFrom(other.AccountId); } if (other.HasUniqueId) { UniqueId = other.UniqueId; } _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 (!HasAccountId) { AccountId = new global::Bgs.Protocol.Account.V1.AccountId(); } input.ReadMessage(AccountId); break; } case 16: { UniqueId = input.ReadUInt64(); break; } } } } } #endregion } #endregion Designer generated code