//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/club_request.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_request.proto
public static partial class ClubRequestReflection {
#region Descriptor
/// File descriptor for bgs/low/pb/client/club_request.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ClubRequestReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiRiZ3MvbG93L3BiL2NsaWVudC9jbHViX3JlcXVlc3QucHJvdG8SFGJncy5w",
"cm90b2NvbC5jbHViLnYxGiJiZ3MvbG93L3BiL2NsaWVudC9jbHViX3R5cGVz",
"LnByb3RvGiBiZ3MvbG93L3BiL2NsaWVudC9jbHViX3RhZy5wcm90bxohYmdz",
"L2xvdy9wYi9jbGllbnQvcnBjX3R5cGVzLnByb3RvGjdiZ3MvbG93L3BiL2Ns",
"aWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9maWVsZF9vcHRpb25zLnByb3RvGjli",
"Z3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9tZXNzYWdlX29w",
"dGlvbnMucHJvdG8aOGJncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9leHRlbnNp",
"b25zL21ldGhvZF9vcHRpb25zLnByb3RvGjliZ3MvbG93L3BiL2NsaWVudC9n",
"bG9iYWxfZXh0ZW5zaW9ucy9zZXJ2aWNlX29wdGlvbnMucHJvdG8iXQoQU3Vi",
"c2NyaWJlUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2Nv",
"bC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQASJf",
"ChJVbnN1YnNjcmliZVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3Mu",
"cHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC",
"+SsCEAEiewoNQ3JlYXRlUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJn",
"cy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEjgKB29wdGlvbnMYAiABKAsy",
"Jy5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViQ3JlYXRlT3B0aW9ucyIhCg5D",
"cmVhdGVSZXNwb25zZRIPCgdjbHViX2lkGAEgASgEIlsKDkRlc3Ryb3lSZXF1",
"ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEu",
"TWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABImIKFUdldERlc2Ny",
"aXB0aW9uUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2Nv",
"bC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQASJN",
"ChZHZXREZXNjcmlwdGlvblJlc3BvbnNlEjMKBGNsdWIYASABKAsyJS5iZ3Mu",
"cHJvdG9jb2wuY2x1Yi52MS5DbHViRGVzY3JpcHRpb24iegoSR2V0Q2x1YlR5",
"cGVSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNs",
"dWIudjEuTWVtYmVySWQSMgoEdHlwZRgCIAEoCzIkLmJncy5wcm90b2NvbC5j",
"bHViLnYxLlVuaXF1ZUNsdWJUeXBlIrMCChNHZXRDbHViVHlwZVJlc3BvbnNl",
"EjIKBHR5cGUYASABKAsyJC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5VbmlxdWVD",
"bHViVHlwZRIzCghyb2xlX3NldBgCIAEoCzIhLmJncy5wcm90b2NvbC5jbHVi",
"LnYxLkNsdWJSb2xlU2V0EjkKCXJhbmdlX3NldBgDIAEoCzImLmJncy5wcm90",
"b2NvbC5jbHViLnYxLkNsdWJUeXBlUmFuZ2VTZXQSPAoQcGxhdGZvcm1fdGFn",
"X3NldBgEIAMoCzIiLmJncy5wcm90b2NvbC5jbHViLnYxLkxvY2FsaXplZFRh",
"ZxI6Cg5jdXN0b21fdGFnX3NldBgFIAMoCzIiLmJncy5wcm90b2NvbC5jbHVi",
"LnYxLkxvY2FsaXplZFRhZyKcAQoWVXBkYXRlQ2x1YlN0YXRlUmVxdWVzdBIw",
"CghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJl",
"cklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARI3CgdvcHRpb25zGAMgASgL",
"MiYuYmdzLnByb3RvY29sLmNsdWIudjEuQ2x1YlN0YXRlT3B0aW9ucyKiAQoZ",
"VXBkYXRlQ2x1YlNldHRpbmdzUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIe",
"LmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiAB",
"KARCBoL5KwIQARI6CgdvcHRpb25zGAMgASgLMikuYmdzLnByb3RvY29sLmNs",
"dWIudjEuQ2x1YlNldHRpbmdzT3B0aW9ucyKZAQoQQWRkTWVtYmVyUmVxdWVz",
"dBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1l",
"bWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARI6CgdvcHRpb25zGAMg",
"ASgLMikuYmdzLnByb3RvY29sLmNsdWIudjEuQ3JlYXRlTWVtYmVyT3B0aW9u",
"cyKUAQoLSm9pblJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJv",
"dG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsC",
"EAESOgoHb3B0aW9ucxgDIAEoCzIpLmJncy5wcm90b2NvbC5jbHViLnYxLkNy",
"ZWF0ZU1lbWJlck9wdGlvbnMiWQoMTGVhdmVSZXF1ZXN0EjAKCGFnZW50X2lk",
"GAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1",
"Yl9pZBgCIAEoBEIGgvkrAhABIosBCgtLaWNrUmVxdWVzdBIwCghhZ2VudF9p",
"ZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2Ns",
"dWJfaWQYAiABKARCBoL5KwIQARIxCgl0YXJnZXRfaWQYAyABKAsyHi5iZ3Mu",
"cHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZCKQAQoQR2V0TWVtYmVyUmVxdWVz",
"dBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1l",
"bWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARIxCgltZW1iZXJfaWQY",
"AyABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZCJBChFHZXRN",
"ZW1iZXJSZXNwb25zZRIsCgZtZW1iZXIYASABKAsyHC5iZ3MucHJvdG9jb2wu",
"Y2x1Yi52MS5NZW1iZXIidAoRR2V0TWVtYmVyc1JlcXVlc3QSMAoIYWdlbnRf",
"aWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdj",
"bHViX2lkGAIgASgEQgaC+SsCEAESFAoMY29udGludWF0aW9uGAQgASgEIlgK",
"EkdldE1lbWJlcnNSZXNwb25zZRIsCgZtZW1iZXIYASADKAsyHC5iZ3MucHJv",
"dG9jb2wuY2x1Yi52MS5NZW1iZXISFAoMY29udGludWF0aW9uGAIgASgEItMB",
"ChhVcGRhdGVNZW1iZXJTdGF0ZVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsy",
"Hi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIg",
"ASgEQgaC+SsCEAESMQoJbWVtYmVyX2lkGAMgASgLMh4uYmdzLnByb3RvY29s",
"LmNsdWIudjEuTWVtYmVySWQSOQoHb3B0aW9ucxgFIAEoCzIoLmJncy5wcm90",
"b2NvbC5jbHViLnYxLk1lbWJlclN0YXRlT3B0aW9ucyKoAQocVXBkYXRlU3Vi",
"c2NyaWJlclN0YXRlUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5w",
"cm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5",
"KwIQARI9CgdvcHRpb25zGAMgASgLMiwuYmdzLnByb3RvY29sLmNsdWIudjEu",
"U3Vic2NyaWJlclN0YXRlT3B0aW9ucyKSAQoRQXNzaWduUm9sZVJlcXVlc3QS",
"MAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1i",
"ZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESMgoHb3B0aW9ucxgDIAEo",
"CzIhLmJncy5wcm90b2NvbC5jbHViLnYxLlJvbGVPcHRpb25zIpQBChNVbmFz",
"c2lnblJvbGVSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3Rv",
"Y29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhAB",
"EjIKB29wdGlvbnMYAyABKAsyIS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5Sb2xl",
"T3B0aW9ucyKgAQoVU2VuZEludml0YXRpb25SZXF1ZXN0EjAKCGFnZW50X2lk",
"GAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1",
"Yl9pZBgCIAEoBEIGgvkrAhABEjwKB29wdGlvbnMYAyABKAsyKy5iZ3MucHJv",
"dG9jb2wuY2x1Yi52MS5TZW5kSW52aXRhdGlvbk9wdGlvbnMiewoXQWNjZXB0",
"SW52aXRhdGlvblJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJv",
"dG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsC",
"EAESFQoNaW52aXRhdGlvbl9pZBgDIAEoBiJ8ChhEZWNsaW5lSW52aXRhdGlv",
"blJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1",
"Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESFQoNaW52",
"aXRhdGlvbl9pZBgDIAEoBiJ7ChdSZXZva2VJbnZpdGF0aW9uUmVxdWVzdBIw",
"CghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJl",
"cklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARIVCg1pbnZpdGF0aW9uX2lk",
"GAMgASgGIngKFEdldEludml0YXRpb25SZXF1ZXN0EjAKCGFnZW50X2lkGAEg",
"ASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9p",
"ZBgCIAEoBEIGgvkrAhABEhUKDWludml0YXRpb25faWQYAyABKAYiUQoVR2V0",
"SW52aXRhdGlvblJlc3BvbnNlEjgKCmludml0YXRpb24YASABKAsyJC5iZ3Mu",
"cHJvdG9jb2wuY2x1Yi52MS5DbHViSW52aXRhdGlvbiJ4ChVHZXRJbnZpdGF0",
"aW9uc1JlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wu",
"Y2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESFAoM",
"Y29udGludWF0aW9uGAMgASgEImgKFkdldEludml0YXRpb25zUmVzcG9uc2US",
"OAoKaW52aXRhdGlvbhgBIAMoCzIkLmJncy5wcm90b2NvbC5jbHViLnYxLkNs",
"dWJJbnZpdGF0aW9uEhQKDGNvbnRpbnVhdGlvbhgCIAEoBCKgAQoVU2VuZFN1",
"Z2dlc3Rpb25SZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3Rv",
"Y29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhAB",
"EjwKB29wdGlvbnMYAyABKAsyKy5iZ3MucHJvdG9jb2wuY2x1Yi52MS5TZW5k",
"U3VnZ2VzdGlvbk9wdGlvbnMiewoXQWNjZXB0U3VnZ2VzdGlvblJlcXVlc3QS",
"MAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1i",
"ZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESFQoNc3VnZ2VzdGlvbl9p",
"ZBgDIAEoBiJ8ChhEZWNsaW5lU3VnZ2VzdGlvblJlcXVlc3QSMAoIYWdlbnRf",
"aWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdj",
"bHViX2lkGAIgASgEQgaC+SsCEAESFQoNc3VnZ2VzdGlvbl9pZBgDIAEoBiJ4",
"ChRHZXRTdWdnZXN0aW9uUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJn",
"cy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARC",
"BoL5KwIQARIVCg1zdWdnZXN0aW9uX2lkGAMgASgGIlEKFUdldFN1Z2dlc3Rp",
"b25SZXNwb25zZRI4CgpzdWdnZXN0aW9uGAEgASgLMiQuYmdzLnByb3RvY29s",
"LmNsdWIudjEuQ2x1YlN1Z2dlc3Rpb24ieAoVR2V0U3VnZ2VzdGlvbnNSZXF1",
"ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEu",
"TWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhQKDGNvbnRpbnVh",
"dGlvbhgDIAEoBCJoChZHZXRTdWdnZXN0aW9uc1Jlc3BvbnNlEjgKCnN1Z2dl",
"c3Rpb24YASADKAsyJC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViU3VnZ2Vz",
"dGlvbhIUCgxjb250aW51YXRpb24YAiABKAQinAEKE0NyZWF0ZVRpY2tldFJl",
"cXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52",
"MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESOgoHb3B0aW9u",
"cxgDIAEoCzIpLmJncy5wcm90b2NvbC5jbHViLnYxLkNyZWF0ZVRpY2tldE9w",
"dGlvbnMiSAoUQ3JlYXRlVGlja2V0UmVzcG9uc2USMAoGdGlja2V0GAEgASgL",
"MiAuYmdzLnByb3RvY29sLmNsdWIudjEuQ2x1YlRpY2tldCJ0ChREZXN0cm95",
"VGlja2V0UmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2Nv",
"bC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARIR",
"Cgl0aWNrZXRfaWQYAyABKAkiWgoTUmVkZWVtVGlja2V0UmVxdWVzdBIwCghh",
"Z2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklk",
"EhEKCXRpY2tldF9pZBgDIAEoCSJXChBHZXRUaWNrZXRSZXF1ZXN0EjAKCGFn",
"ZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQS",
"EQoJdGlja2V0X2lkGAMgASgJIkUKEUdldFRpY2tldFJlc3BvbnNlEjAKBnRp",
"Y2tldBgBIAEoCzIgLmJncy5wcm90b2NvbC5jbHViLnYxLkNsdWJUaWNrZXQi",
"dAoRR2V0VGlja2V0c1JlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3Mu",
"cHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC",
"+SsCEAESFAoMY29udGludWF0aW9uGAMgASgEIlwKEkdldFRpY2tldHNSZXNw",
"b25zZRIwCgZ0aWNrZXQYASADKAsyIC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5D",
"bHViVGlja2V0EhQKDGNvbnRpbnVhdGlvbhgCIAEoBCKQAQoNQWRkQmFuUmVx",
"dWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYx",
"Lk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARI0CgdvcHRpb25z",
"GAMgASgLMiMuYmdzLnByb3RvY29sLmNsdWIudjEuQWRkQmFuT3B0aW9ucyKQ",
"AQoQUmVtb3ZlQmFuUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5w",
"cm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5",
"KwIQARIxCgl0YXJnZXRfaWQYAyABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52",
"MS5NZW1iZXJJZCKNAQoNR2V0QmFuUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEo",
"CzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQY",
"AiABKARCBoL5KwIQARIxCgl0YXJnZXRfaWQYAyABKAsyHi5iZ3MucHJvdG9j",
"b2wuY2x1Yi52MS5NZW1iZXJJZCI8Cg5HZXRCYW5SZXNwb25zZRIqCgNiYW4Y",
"ASABKAsyHS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViQmFuInEKDkdldEJh",
"bnNSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNs",
"dWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhQKDGNv",
"bnRpbnVhdGlvbhgDIAEoBCJTCg9HZXRCYW5zUmVzcG9uc2USKgoDYmFuGAEg",
"AygLMh0uYmdzLnByb3RvY29sLmNsdWIudjEuQ2x1YkJhbhIUCgxjb250aW51",
"YXRpb24YAiABKAQidgoWU3Vic2NyaWJlU3RyZWFtUmVxdWVzdBIwCghhZ2Vu",
"dF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcK",
"B2NsdWJfaWQYAiABKARCBoL5KwIQARIRCglzdHJlYW1faWQYAyADKAQieAoY",
"VW5zdWJzY3JpYmVTdHJlYW1SZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4u",
"YmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEo",
"BEIGgvkrAhABEhEKCXN0cmVhbV9pZBgDIAMoBCKcAQoTQ3JlYXRlU3RyZWFt",
"UmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHVi",
"LnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARI6CgdvcHRp",
"b25zGAMgASgLMikuYmdzLnByb3RvY29sLmNsdWIudjEuQ3JlYXRlU3RyZWFt",
"T3B0aW9ucyI6ChRDcmVhdGVTdHJlYW1SZXNwb25zZRIPCgdjbHViX2lkGAEg",
"ASgEEhEKCXN0cmVhbV9pZBgCIAEoBCJ0ChREZXN0cm95U3RyZWFtUmVxdWVz",
"dBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1l",
"bWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARIRCglzdHJlYW1faWQY",
"AyABKAQicAoQR2V0U3RyZWFtUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIe",
"LmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiAB",
"KARCBoL5KwIQARIRCglzdHJlYW1faWQYAyABKAQiQQoRR2V0U3RyZWFtUmVz",
"cG9uc2USLAoGc3RyZWFtGAEgASgLMhwuYmdzLnByb3RvY29sLmNsdWIudjEu",
"U3RyZWFtInQKEUdldFN0cmVhbXNSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgL",
"Mh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgC",
"IAEoBEIGgvkrAhABEhQKDGNvbnRpbnVhdGlvbhgDIAEoBCKIAQoSR2V0U3Ry",
"ZWFtc1Jlc3BvbnNlEiwKBnN0cmVhbRgBIAMoCzIcLmJncy5wcm90b2NvbC5j",
"bHViLnYxLlN0cmVhbRIuCgR2aWV3GAIgAygLMiAuYmdzLnByb3RvY29sLmNs",
"dWIudjEuU3RyZWFtVmlldxIUCgxjb250aW51YXRpb24YAyABKAQiswEKGFVw",
"ZGF0ZVN0cmVhbVN0YXRlUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJn",
"cy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARC",
"BoL5KwIQARIRCglzdHJlYW1faWQYAyABKAQSOQoHb3B0aW9ucxgFIAEoCzIo",
"LmJncy5wcm90b2NvbC5jbHViLnYxLlN0cmVhbVN0YXRlT3B0aW9ucyKEAQoV",
"U2V0U3RyZWFtRm9jdXNSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdz",
"LnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIG",
"gvkrAhABEhEKCXN0cmVhbV9pZBgDIAEoBBINCgVmb2N1cxgEIAEoCCKxAQoU",
"Q3JlYXRlTWVzc2FnZVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3Mu",
"cHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC",
"+SsCEAESEQoJc3RyZWFtX2lkGAMgASgEEjsKB29wdGlvbnMYBCABKAsyKi5i",
"Z3MucHJvdG9jb2wuY2x1Yi52MS5DcmVhdGVNZXNzYWdlT3B0aW9ucyJNChVD",
"cmVhdGVNZXNzYWdlUmVzcG9uc2USNAoHbWVzc2FnZRgBIAEoCzIjLmJncy5w",
"cm90b2NvbC5jbHViLnYxLlN0cmVhbU1lc3NhZ2UiogEKFURlc3Ryb3lNZXNz",
"YWdlUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5j",
"bHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARIRCglz",
"dHJlYW1faWQYAyABKAQSKwoKbWVzc2FnZV9pZBgEIAEoCzIXLmJncy5wcm90",
"b2NvbC5NZXNzYWdlSWQiTgoWRGVzdHJveU1lc3NhZ2VSZXNwb25zZRI0Cgdt",
"ZXNzYWdlGAEgASgLMiMuYmdzLnByb3RvY29sLmNsdWIudjEuU3RyZWFtTWVz",
"c2FnZSLcAQoSRWRpdE1lc3NhZ2VSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgL",
"Mh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgC",
"IAEoBEIGgvkrAhABEhEKCXN0cmVhbV9pZBgDIAEoBBIrCgptZXNzYWdlX2lk",
"GAQgASgLMhcuYmdzLnByb3RvY29sLk1lc3NhZ2VJZBI7CgdvcHRpb25zGAUg",
"ASgLMiouYmdzLnByb3RvY29sLmNsdWIudjEuQ3JlYXRlTWVzc2FnZU9wdGlv",
"bnMiSwoTRWRpdE1lc3NhZ2VSZXNwb25zZRI0CgdtZXNzYWdlGAEgASgLMiMu",
"YmdzLnByb3RvY29sLmNsdWIudjEuU3RyZWFtTWVzc2FnZSJ3ChdTZXRNZXNz",
"YWdlUGlubmVkUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90",
"b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQ",
"ARIRCglzdHJlYW1faWQYAyABKAQiuQEKGVNldFR5cGluZ0luZGljYXRvclJl",
"cXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52",
"MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESEQoJc3RyZWFt",
"X2lkGAMgASgEEj4KCWluZGljYXRvchgEIAEoDjIdLmJncy5wcm90b2NvbC5U",
"eXBpbmdJbmRpY2F0b3I6DFRZUElOR19TVEFSVCKiAQocQWR2YW5jZVN0cmVh",
"bVZpZXdUaW1lUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90",
"b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQ",
"ARIgChRzdHJlYW1faWRfZGVwcmVjYXRlZBgDIAEoBEICGAESFQoJc3RyZWFt",
"X2lkGAQgAygEQgIQASKDAQojQWR2YW5jZVN0cmVhbU1lbnRpb25WaWV3VGlt",
"ZVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1",
"Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESEQoJc3Ry",
"ZWFtX2lkGAMgASgEImsKHkFkdmFuY2VBY3Rpdml0eVZpZXdUaW1lUmVxdWVz",
"dBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1l",
"bWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQASKnAQoXR2V0U3RyZWFt",
"SGlzdG9yeVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9j",
"b2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAES",
"EQoJc3RyZWFtX2lkGAMgASgEEi4KB29wdGlvbnMYBCABKAsyHS5iZ3MucHJv",
"dG9jb2wuR2V0RXZlbnRPcHRpb25zImYKGEdldFN0cmVhbUhpc3RvcnlSZXNw",
"b25zZRI0CgdtZXNzYWdlGAEgAygLMiMuYmdzLnByb3RvY29sLmNsdWIudjEu",
"U3RyZWFtTWVzc2FnZRIUCgxjb250aW51YXRpb24YAiABKAQipAEKF0dldFN0",
"cmVhbU1lc3NhZ2VSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnBy",
"b3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkr",
"AhABEhEKCXN0cmVhbV9pZBgDIAEoBBIrCgptZXNzYWdlX2lkGAQgASgLMhcu",
"YmdzLnByb3RvY29sLk1lc3NhZ2VJZCJQChhHZXRTdHJlYW1NZXNzYWdlUmVz",
"cG9uc2USNAoHbWVzc2FnZRgBIAEoCzIjLmJncy5wcm90b2NvbC5jbHViLnYx",
"LlN0cmVhbU1lc3NhZ2UikwEKFkdldENsdWJBY3Rpdml0eVJlcXVlc3QSMAoI",
"YWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJ",
"ZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESLgoHb3B0aW9ucxgDIAEoCzId",
"LmJncy5wcm90b2NvbC5HZXRFdmVudE9wdGlvbnMiLwoXR2V0Q2x1YkFjdGl2",
"aXR5UmVzcG9uc2USFAoMY29udGludWF0aW9uGAIgASgEIqcBChpHZXRTdHJl",
"YW1Wb2ljZVRva2VuUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5w",
"cm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5",
"KwIQARIRCglzdHJlYW1faWQYAyABKAQSKwoHdmVyc2lvbhgEIAEoDUIagvkr",
"FioUVm9pY2VQcm92aWRlclZlcnNpb24iZwobR2V0U3RyZWFtVm9pY2VUb2tl",
"blJlc3BvbnNlEhMKC2NoYW5uZWxfdXJpGAEgASgJEjMKC2NyZWRlbnRpYWxz",
"GAIgASgLMh4uYmdzLnByb3RvY29sLlZvaWNlQ3JlZGVudGlhbHMirQEKGktp",
"Y2tGcm9tU3RyZWFtVm9pY2VSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4u",
"YmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEo",
"BEIGgvkrAhABEhEKCXN0cmVhbV9pZBgDIAEoBBIxCgl0YXJnZXRfaWQYBCAB",
"KAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZFAAUAE="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.Club.V1.ClubTypesReflection.Descriptor, global::Bgs.Protocol.Club.V1.ClubTagReflection.Descriptor, global::Bgs.Protocol.RpcTypesReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MessageOptionsReflection.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.SubscribeRequest), global::Bgs.Protocol.Club.V1.SubscribeRequest.Parser, new[]{ "AgentId", "ClubId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.UnsubscribeRequest), global::Bgs.Protocol.Club.V1.UnsubscribeRequest.Parser, new[]{ "AgentId", "ClubId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.CreateRequest), global::Bgs.Protocol.Club.V1.CreateRequest.Parser, new[]{ "AgentId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.CreateResponse), global::Bgs.Protocol.Club.V1.CreateResponse.Parser, new[]{ "ClubId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.DestroyRequest), global::Bgs.Protocol.Club.V1.DestroyRequest.Parser, new[]{ "AgentId", "ClubId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetDescriptionRequest), global::Bgs.Protocol.Club.V1.GetDescriptionRequest.Parser, new[]{ "AgentId", "ClubId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetDescriptionResponse), global::Bgs.Protocol.Club.V1.GetDescriptionResponse.Parser, new[]{ "Club" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetClubTypeRequest), global::Bgs.Protocol.Club.V1.GetClubTypeRequest.Parser, new[]{ "AgentId", "Type" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetClubTypeResponse), global::Bgs.Protocol.Club.V1.GetClubTypeResponse.Parser, new[]{ "Type", "RoleSet", "RangeSet", "PlatformTagSet", "CustomTagSet" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.UpdateClubStateRequest), global::Bgs.Protocol.Club.V1.UpdateClubStateRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.UpdateClubSettingsRequest), global::Bgs.Protocol.Club.V1.UpdateClubSettingsRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.AddMemberRequest), global::Bgs.Protocol.Club.V1.AddMemberRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.JoinRequest), global::Bgs.Protocol.Club.V1.JoinRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.LeaveRequest), global::Bgs.Protocol.Club.V1.LeaveRequest.Parser, new[]{ "AgentId", "ClubId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.KickRequest), global::Bgs.Protocol.Club.V1.KickRequest.Parser, new[]{ "AgentId", "ClubId", "TargetId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetMemberRequest), global::Bgs.Protocol.Club.V1.GetMemberRequest.Parser, new[]{ "AgentId", "ClubId", "MemberId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetMemberResponse), global::Bgs.Protocol.Club.V1.GetMemberResponse.Parser, new[]{ "Member" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetMembersRequest), global::Bgs.Protocol.Club.V1.GetMembersRequest.Parser, new[]{ "AgentId", "ClubId", "Continuation" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetMembersResponse), global::Bgs.Protocol.Club.V1.GetMembersResponse.Parser, new[]{ "Member", "Continuation" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.UpdateMemberStateRequest), global::Bgs.Protocol.Club.V1.UpdateMemberStateRequest.Parser, new[]{ "AgentId", "ClubId", "MemberId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.UpdateSubscriberStateRequest), global::Bgs.Protocol.Club.V1.UpdateSubscriberStateRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.AssignRoleRequest), global::Bgs.Protocol.Club.V1.AssignRoleRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.UnassignRoleRequest), global::Bgs.Protocol.Club.V1.UnassignRoleRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.SendInvitationRequest), global::Bgs.Protocol.Club.V1.SendInvitationRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.AcceptInvitationRequest), global::Bgs.Protocol.Club.V1.AcceptInvitationRequest.Parser, new[]{ "AgentId", "ClubId", "InvitationId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.DeclineInvitationRequest), global::Bgs.Protocol.Club.V1.DeclineInvitationRequest.Parser, new[]{ "AgentId", "ClubId", "InvitationId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.RevokeInvitationRequest), global::Bgs.Protocol.Club.V1.RevokeInvitationRequest.Parser, new[]{ "AgentId", "ClubId", "InvitationId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetInvitationRequest), global::Bgs.Protocol.Club.V1.GetInvitationRequest.Parser, new[]{ "AgentId", "ClubId", "InvitationId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetInvitationResponse), global::Bgs.Protocol.Club.V1.GetInvitationResponse.Parser, new[]{ "Invitation" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetInvitationsRequest), global::Bgs.Protocol.Club.V1.GetInvitationsRequest.Parser, new[]{ "AgentId", "ClubId", "Continuation" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetInvitationsResponse), global::Bgs.Protocol.Club.V1.GetInvitationsResponse.Parser, new[]{ "Invitation", "Continuation" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.SendSuggestionRequest), global::Bgs.Protocol.Club.V1.SendSuggestionRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.AcceptSuggestionRequest), global::Bgs.Protocol.Club.V1.AcceptSuggestionRequest.Parser, new[]{ "AgentId", "ClubId", "SuggestionId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.DeclineSuggestionRequest), global::Bgs.Protocol.Club.V1.DeclineSuggestionRequest.Parser, new[]{ "AgentId", "ClubId", "SuggestionId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetSuggestionRequest), global::Bgs.Protocol.Club.V1.GetSuggestionRequest.Parser, new[]{ "AgentId", "ClubId", "SuggestionId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetSuggestionResponse), global::Bgs.Protocol.Club.V1.GetSuggestionResponse.Parser, new[]{ "Suggestion" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetSuggestionsRequest), global::Bgs.Protocol.Club.V1.GetSuggestionsRequest.Parser, new[]{ "AgentId", "ClubId", "Continuation" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetSuggestionsResponse), global::Bgs.Protocol.Club.V1.GetSuggestionsResponse.Parser, new[]{ "Suggestion", "Continuation" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.CreateTicketRequest), global::Bgs.Protocol.Club.V1.CreateTicketRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.CreateTicketResponse), global::Bgs.Protocol.Club.V1.CreateTicketResponse.Parser, new[]{ "Ticket" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.DestroyTicketRequest), global::Bgs.Protocol.Club.V1.DestroyTicketRequest.Parser, new[]{ "AgentId", "ClubId", "TicketId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.RedeemTicketRequest), global::Bgs.Protocol.Club.V1.RedeemTicketRequest.Parser, new[]{ "AgentId", "TicketId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetTicketRequest), global::Bgs.Protocol.Club.V1.GetTicketRequest.Parser, new[]{ "AgentId", "TicketId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetTicketResponse), global::Bgs.Protocol.Club.V1.GetTicketResponse.Parser, new[]{ "Ticket" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetTicketsRequest), global::Bgs.Protocol.Club.V1.GetTicketsRequest.Parser, new[]{ "AgentId", "ClubId", "Continuation" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetTicketsResponse), global::Bgs.Protocol.Club.V1.GetTicketsResponse.Parser, new[]{ "Ticket", "Continuation" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.AddBanRequest), global::Bgs.Protocol.Club.V1.AddBanRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.RemoveBanRequest), global::Bgs.Protocol.Club.V1.RemoveBanRequest.Parser, new[]{ "AgentId", "ClubId", "TargetId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetBanRequest), global::Bgs.Protocol.Club.V1.GetBanRequest.Parser, new[]{ "AgentId", "ClubId", "TargetId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetBanResponse), global::Bgs.Protocol.Club.V1.GetBanResponse.Parser, new[]{ "Ban" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetBansRequest), global::Bgs.Protocol.Club.V1.GetBansRequest.Parser, new[]{ "AgentId", "ClubId", "Continuation" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetBansResponse), global::Bgs.Protocol.Club.V1.GetBansResponse.Parser, new[]{ "Ban", "Continuation" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.SubscribeStreamRequest), global::Bgs.Protocol.Club.V1.SubscribeStreamRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.UnsubscribeStreamRequest), global::Bgs.Protocol.Club.V1.UnsubscribeStreamRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.CreateStreamRequest), global::Bgs.Protocol.Club.V1.CreateStreamRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.CreateStreamResponse), global::Bgs.Protocol.Club.V1.CreateStreamResponse.Parser, new[]{ "ClubId", "StreamId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.DestroyStreamRequest), global::Bgs.Protocol.Club.V1.DestroyStreamRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetStreamRequest), global::Bgs.Protocol.Club.V1.GetStreamRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetStreamResponse), global::Bgs.Protocol.Club.V1.GetStreamResponse.Parser, new[]{ "Stream" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetStreamsRequest), global::Bgs.Protocol.Club.V1.GetStreamsRequest.Parser, new[]{ "AgentId", "ClubId", "Continuation" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetStreamsResponse), global::Bgs.Protocol.Club.V1.GetStreamsResponse.Parser, new[]{ "Stream", "View", "Continuation" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.UpdateStreamStateRequest), global::Bgs.Protocol.Club.V1.UpdateStreamStateRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.SetStreamFocusRequest), global::Bgs.Protocol.Club.V1.SetStreamFocusRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Focus" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.CreateMessageRequest), global::Bgs.Protocol.Club.V1.CreateMessageRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.CreateMessageResponse), global::Bgs.Protocol.Club.V1.CreateMessageResponse.Parser, new[]{ "Message" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.DestroyMessageRequest), global::Bgs.Protocol.Club.V1.DestroyMessageRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "MessageId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.DestroyMessageResponse), global::Bgs.Protocol.Club.V1.DestroyMessageResponse.Parser, new[]{ "Message" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.EditMessageRequest), global::Bgs.Protocol.Club.V1.EditMessageRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "MessageId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.EditMessageResponse), global::Bgs.Protocol.Club.V1.EditMessageResponse.Parser, new[]{ "Message" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.SetMessagePinnedRequest), global::Bgs.Protocol.Club.V1.SetMessagePinnedRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.SetTypingIndicatorRequest), global::Bgs.Protocol.Club.V1.SetTypingIndicatorRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Indicator" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.AdvanceStreamViewTimeRequest), global::Bgs.Protocol.Club.V1.AdvanceStreamViewTimeRequest.Parser, new[]{ "AgentId", "ClubId", "StreamIdDeprecated", "StreamId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.AdvanceStreamMentionViewTimeRequest), global::Bgs.Protocol.Club.V1.AdvanceStreamMentionViewTimeRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.AdvanceActivityViewTimeRequest), global::Bgs.Protocol.Club.V1.AdvanceActivityViewTimeRequest.Parser, new[]{ "AgentId", "ClubId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetStreamHistoryRequest), global::Bgs.Protocol.Club.V1.GetStreamHistoryRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetStreamHistoryResponse), global::Bgs.Protocol.Club.V1.GetStreamHistoryResponse.Parser, new[]{ "Message", "Continuation" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetStreamMessageRequest), global::Bgs.Protocol.Club.V1.GetStreamMessageRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "MessageId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetStreamMessageResponse), global::Bgs.Protocol.Club.V1.GetStreamMessageResponse.Parser, new[]{ "Message" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetClubActivityRequest), global::Bgs.Protocol.Club.V1.GetClubActivityRequest.Parser, new[]{ "AgentId", "ClubId", "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetClubActivityResponse), global::Bgs.Protocol.Club.V1.GetClubActivityResponse.Parser, new[]{ "Continuation" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetStreamVoiceTokenRequest), global::Bgs.Protocol.Club.V1.GetStreamVoiceTokenRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "Version" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.GetStreamVoiceTokenResponse), global::Bgs.Protocol.Club.V1.GetStreamVoiceTokenResponse.Parser, new[]{ "ChannelUri", "Credentials" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.KickFromStreamVoiceRequest), global::Bgs.Protocol.Club.V1.KickFromStreamVoiceRequest.Parser, new[]{ "AgentId", "ClubId", "StreamId", "TargetId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class SubscribeRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SubscribeRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SubscribeRequest(SubscribeRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SubscribeRequest Clone() {
return new SubscribeRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SubscribeRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SubscribeRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SubscribeRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class UnsubscribeRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsubscribeRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnsubscribeRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnsubscribeRequest(UnsubscribeRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnsubscribeRequest Clone() {
return new UnsubscribeRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UnsubscribeRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UnsubscribeRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UnsubscribeRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class CreateRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateRequest(CreateRequest other) : this() {
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateRequest Clone() {
return new CreateRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "options" field.
public const int OptionsFieldNumber = 2;
private global::Bgs.Protocol.Club.V1.ClubCreateOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.ClubCreateOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// Gets whether the options field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// Clears the value of the options field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as CreateRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(CreateRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasOptions) hash ^= Options.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasOptions) {
output.WriteRawTag(18);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(CreateRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.ClubCreateOptions();
}
Options.MergeFrom(other.Options);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 18: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.ClubCreateOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
public sealed partial class CreateResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateResponse());
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.ClubRequestReflection.Descriptor.MessageTypes[3]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateResponse(CreateResponse other) : this() {
_hasBits0 = other._hasBits0;
clubId_ = other.clubId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateResponse Clone() {
return new CreateResponse(this);
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 1;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as CreateResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(CreateResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ClubId != other.ClubId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasClubId) hash ^= ClubId.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 (HasClubId) {
output.WriteRawTag(8);
output.WriteUInt64(ClubId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(CreateResponse other) {
if (other == null) {
return;
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
_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: {
ClubId = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class DestroyRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DestroyRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[4]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DestroyRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DestroyRequest(DestroyRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DestroyRequest Clone() {
return new DestroyRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as DestroyRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(DestroyRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(DestroyRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class GetDescriptionRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetDescriptionRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[5]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetDescriptionRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetDescriptionRequest(GetDescriptionRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetDescriptionRequest Clone() {
return new GetDescriptionRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetDescriptionRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetDescriptionRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetDescriptionRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class GetDescriptionResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetDescriptionResponse());
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.ClubRequestReflection.Descriptor.MessageTypes[6]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetDescriptionResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetDescriptionResponse(GetDescriptionResponse other) : this() {
club_ = other.HasClub ? other.club_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetDescriptionResponse Clone() {
return new GetDescriptionResponse(this);
}
/// Field number for the "club" field.
public const int ClubFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.ClubDescription club_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.ClubDescription Club {
get { return club_; }
set {
club_ = value;
}
}
/// Gets whether the club field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClub {
get { return club_ != null; }
}
/// Clears the value of the club field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClub() {
club_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetDescriptionResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetDescriptionResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Club, other.Club)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasClub) hash ^= Club.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 (HasClub) {
output.WriteRawTag(10);
output.WriteMessage(Club);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasClub) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Club);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetDescriptionResponse other) {
if (other == null) {
return;
}
if (other.HasClub) {
if (!HasClub) {
Club = new global::Bgs.Protocol.Club.V1.ClubDescription();
}
Club.MergeFrom(other.Club);
}
_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 (!HasClub) {
Club = new global::Bgs.Protocol.Club.V1.ClubDescription();
}
input.ReadMessage(Club);
break;
}
}
}
}
}
public sealed partial class GetClubTypeRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetClubTypeRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[7]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetClubTypeRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetClubTypeRequest(GetClubTypeRequest other) : this() {
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
type_ = other.HasType ? other.type_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetClubTypeRequest Clone() {
return new GetClubTypeRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "type" field.
public const int TypeFieldNumber = 2;
private global::Bgs.Protocol.Club.V1.UniqueClubType type_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.UniqueClubType Type {
get { return type_; }
set {
type_ = value;
}
}
/// Gets whether the type field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasType {
get { return type_ != null; }
}
/// Clears the value of the type field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearType() {
type_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetClubTypeRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetClubTypeRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (!object.Equals(Type, other.Type)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasType) hash ^= Type.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasType) {
output.WriteRawTag(18);
output.WriteMessage(Type);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasType) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Type);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetClubTypeRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasType) {
if (!HasType) {
Type = new global::Bgs.Protocol.Club.V1.UniqueClubType();
}
Type.MergeFrom(other.Type);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 18: {
if (!HasType) {
Type = new global::Bgs.Protocol.Club.V1.UniqueClubType();
}
input.ReadMessage(Type);
break;
}
}
}
}
}
public sealed partial class GetClubTypeResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetClubTypeResponse());
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.ClubRequestReflection.Descriptor.MessageTypes[8]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetClubTypeResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetClubTypeResponse(GetClubTypeResponse other) : this() {
type_ = other.HasType ? other.type_.Clone() : null;
roleSet_ = other.HasRoleSet ? other.roleSet_.Clone() : null;
rangeSet_ = other.HasRangeSet ? other.rangeSet_.Clone() : null;
platformTagSet_ = other.platformTagSet_.Clone();
customTagSet_ = other.customTagSet_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetClubTypeResponse Clone() {
return new GetClubTypeResponse(this);
}
/// Field number for the "type" field.
public const int TypeFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.UniqueClubType type_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.UniqueClubType Type {
get { return type_; }
set {
type_ = value;
}
}
/// Gets whether the type field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasType {
get { return type_ != null; }
}
/// Clears the value of the type field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearType() {
type_ = null;
}
/// Field number for the "role_set" field.
public const int RoleSetFieldNumber = 2;
private global::Bgs.Protocol.Club.V1.ClubRoleSet roleSet_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.ClubRoleSet RoleSet {
get { return roleSet_; }
set {
roleSet_ = value;
}
}
/// Gets whether the role_set field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasRoleSet {
get { return roleSet_ != null; }
}
/// Clears the value of the role_set field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearRoleSet() {
roleSet_ = null;
}
/// Field number for the "range_set" field.
public const int RangeSetFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.ClubTypeRangeSet rangeSet_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.ClubTypeRangeSet RangeSet {
get { return rangeSet_; }
set {
rangeSet_ = value;
}
}
/// Gets whether the range_set field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasRangeSet {
get { return rangeSet_ != null; }
}
/// Clears the value of the range_set field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearRangeSet() {
rangeSet_ = null;
}
/// Field number for the "platform_tag_set" field.
public const int PlatformTagSetFieldNumber = 4;
private static readonly pb::FieldCodec _repeated_platformTagSet_codec
= pb::FieldCodec.ForMessage(34, global::Bgs.Protocol.Club.V1.LocalizedTag.Parser);
private readonly pbc::RepeatedField platformTagSet_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField PlatformTagSet {
get { return platformTagSet_; }
}
/// Field number for the "custom_tag_set" field.
public const int CustomTagSetFieldNumber = 5;
private static readonly pb::FieldCodec _repeated_customTagSet_codec
= pb::FieldCodec.ForMessage(42, global::Bgs.Protocol.Club.V1.LocalizedTag.Parser);
private readonly pbc::RepeatedField customTagSet_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField CustomTagSet {
get { return customTagSet_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetClubTypeResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetClubTypeResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Type, other.Type)) return false;
if (!object.Equals(RoleSet, other.RoleSet)) return false;
if (!object.Equals(RangeSet, other.RangeSet)) return false;
if(!platformTagSet_.Equals(other.platformTagSet_)) return false;
if(!customTagSet_.Equals(other.customTagSet_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasType) hash ^= Type.GetHashCode();
if (HasRoleSet) hash ^= RoleSet.GetHashCode();
if (HasRangeSet) hash ^= RangeSet.GetHashCode();
hash ^= platformTagSet_.GetHashCode();
hash ^= customTagSet_.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 (HasType) {
output.WriteRawTag(10);
output.WriteMessage(Type);
}
if (HasRoleSet) {
output.WriteRawTag(18);
output.WriteMessage(RoleSet);
}
if (HasRangeSet) {
output.WriteRawTag(26);
output.WriteMessage(RangeSet);
}
platformTagSet_.WriteTo(output, _repeated_platformTagSet_codec);
customTagSet_.WriteTo(output, _repeated_customTagSet_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasType) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Type);
}
if (HasRoleSet) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoleSet);
}
if (HasRangeSet) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RangeSet);
}
size += platformTagSet_.CalculateSize(_repeated_platformTagSet_codec);
size += customTagSet_.CalculateSize(_repeated_customTagSet_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetClubTypeResponse other) {
if (other == null) {
return;
}
if (other.HasType) {
if (!HasType) {
Type = new global::Bgs.Protocol.Club.V1.UniqueClubType();
}
Type.MergeFrom(other.Type);
}
if (other.HasRoleSet) {
if (!HasRoleSet) {
RoleSet = new global::Bgs.Protocol.Club.V1.ClubRoleSet();
}
RoleSet.MergeFrom(other.RoleSet);
}
if (other.HasRangeSet) {
if (!HasRangeSet) {
RangeSet = new global::Bgs.Protocol.Club.V1.ClubTypeRangeSet();
}
RangeSet.MergeFrom(other.RangeSet);
}
platformTagSet_.Add(other.platformTagSet_);
customTagSet_.Add(other.customTagSet_);
_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 (!HasType) {
Type = new global::Bgs.Protocol.Club.V1.UniqueClubType();
}
input.ReadMessage(Type);
break;
}
case 18: {
if (!HasRoleSet) {
RoleSet = new global::Bgs.Protocol.Club.V1.ClubRoleSet();
}
input.ReadMessage(RoleSet);
break;
}
case 26: {
if (!HasRangeSet) {
RangeSet = new global::Bgs.Protocol.Club.V1.ClubTypeRangeSet();
}
input.ReadMessage(RangeSet);
break;
}
case 34: {
platformTagSet_.AddEntriesFrom(input, _repeated_platformTagSet_codec);
break;
}
case 42: {
customTagSet_.AddEntriesFrom(input, _repeated_customTagSet_codec);
break;
}
}
}
}
}
public sealed partial class UpdateClubStateRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateClubStateRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[9]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateClubStateRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateClubStateRequest(UpdateClubStateRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateClubStateRequest Clone() {
return new UpdateClubStateRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "options" field.
public const int OptionsFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.ClubStateOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.ClubStateOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// Gets whether the options field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// Clears the value of the options field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UpdateClubStateRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UpdateClubStateRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasOptions) hash ^= Options.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasOptions) {
output.WriteRawTag(26);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UpdateClubStateRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.ClubStateOptions();
}
Options.MergeFrom(other.Options);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.ClubStateOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
public sealed partial class UpdateClubSettingsRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateClubSettingsRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[10]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateClubSettingsRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateClubSettingsRequest(UpdateClubSettingsRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateClubSettingsRequest Clone() {
return new UpdateClubSettingsRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "options" field.
public const int OptionsFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.ClubSettingsOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.ClubSettingsOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// Gets whether the options field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// Clears the value of the options field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UpdateClubSettingsRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UpdateClubSettingsRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasOptions) hash ^= Options.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasOptions) {
output.WriteRawTag(26);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UpdateClubSettingsRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.ClubSettingsOptions();
}
Options.MergeFrom(other.Options);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.ClubSettingsOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
public sealed partial class AddMemberRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddMemberRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[11]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AddMemberRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AddMemberRequest(AddMemberRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AddMemberRequest Clone() {
return new AddMemberRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "options" field.
public const int OptionsFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.CreateMemberOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.CreateMemberOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// Gets whether the options field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// Clears the value of the options field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as AddMemberRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(AddMemberRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasOptions) hash ^= Options.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasOptions) {
output.WriteRawTag(26);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(AddMemberRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.CreateMemberOptions();
}
Options.MergeFrom(other.Options);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.CreateMemberOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
public sealed partial class JoinRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new JoinRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[12]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public JoinRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public JoinRequest(JoinRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public JoinRequest Clone() {
return new JoinRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "options" field.
public const int OptionsFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.CreateMemberOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.CreateMemberOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// Gets whether the options field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// Clears the value of the options field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as JoinRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(JoinRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasOptions) hash ^= Options.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasOptions) {
output.WriteRawTag(26);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(JoinRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.CreateMemberOptions();
}
Options.MergeFrom(other.Options);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.CreateMemberOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
public sealed partial class LeaveRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LeaveRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[13]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LeaveRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LeaveRequest(LeaveRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LeaveRequest Clone() {
return new LeaveRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as LeaveRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(LeaveRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(LeaveRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class KickRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new KickRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[14]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public KickRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public KickRequest(KickRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
targetId_ = other.HasTargetId ? other.targetId_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public KickRequest Clone() {
return new KickRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "target_id" field.
public const int TargetIdFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.MemberId targetId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId TargetId {
get { return targetId_; }
set {
targetId_ = value;
}
}
/// Gets whether the target_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasTargetId {
get { return targetId_ != null; }
}
/// Clears the value of the target_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearTargetId() {
targetId_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as KickRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(KickRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(TargetId, other.TargetId)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasTargetId) hash ^= TargetId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasTargetId) {
output.WriteRawTag(26);
output.WriteMessage(TargetId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasTargetId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(KickRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasTargetId) {
if (!HasTargetId) {
TargetId = new global::Bgs.Protocol.Club.V1.MemberId();
}
TargetId.MergeFrom(other.TargetId);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasTargetId) {
TargetId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(TargetId);
break;
}
}
}
}
}
public sealed partial class GetMemberRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMemberRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[15]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetMemberRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetMemberRequest(GetMemberRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
memberId_ = other.HasMemberId ? other.memberId_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetMemberRequest Clone() {
return new GetMemberRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "member_id" field.
public const int MemberIdFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.MemberId memberId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId MemberId {
get { return memberId_; }
set {
memberId_ = value;
}
}
/// Gets whether the member_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasMemberId {
get { return memberId_ != null; }
}
/// Clears the value of the member_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearMemberId() {
memberId_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetMemberRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetMemberRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(MemberId, other.MemberId)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasMemberId) hash ^= MemberId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasMemberId) {
output.WriteRawTag(26);
output.WriteMessage(MemberId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasMemberId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemberId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetMemberRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasMemberId) {
if (!HasMemberId) {
MemberId = new global::Bgs.Protocol.Club.V1.MemberId();
}
MemberId.MergeFrom(other.MemberId);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasMemberId) {
MemberId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(MemberId);
break;
}
}
}
}
}
public sealed partial class GetMemberResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMemberResponse());
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.ClubRequestReflection.Descriptor.MessageTypes[16]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetMemberResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetMemberResponse(GetMemberResponse other) : this() {
member_ = other.HasMember ? other.member_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetMemberResponse Clone() {
return new GetMemberResponse(this);
}
/// Field number for the "member" field.
public const int MemberFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.Member member_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.Member 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;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetMemberResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetMemberResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Member, other.Member)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasMember) hash ^= Member.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 (HasMember) {
output.WriteRawTag(10);
output.WriteMessage(Member);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasMember) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Member);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetMemberResponse other) {
if (other == null) {
return;
}
if (other.HasMember) {
if (!HasMember) {
Member = new global::Bgs.Protocol.Club.V1.Member();
}
Member.MergeFrom(other.Member);
}
_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 (!HasMember) {
Member = new global::Bgs.Protocol.Club.V1.Member();
}
input.ReadMessage(Member);
break;
}
}
}
}
}
public sealed partial class GetMembersRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMembersRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[17]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetMembersRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetMembersRequest(GetMembersRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
continuation_ = other.continuation_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetMembersRequest Clone() {
return new GetMembersRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "continuation" field.
public const int ContinuationFieldNumber = 4;
private readonly static ulong ContinuationDefaultValue = 0UL;
private ulong continuation_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Continuation {
get { if ((_hasBits0 & 2) != 0) { return continuation_; } else { return ContinuationDefaultValue; } }
set {
_hasBits0 |= 2;
continuation_ = value;
}
}
/// Gets whether the "continuation" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasContinuation {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "continuation" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearContinuation() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetMembersRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetMembersRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (Continuation != other.Continuation) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasContinuation) hash ^= Continuation.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasContinuation) {
output.WriteRawTag(32);
output.WriteUInt64(Continuation);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasContinuation) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetMembersRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasContinuation) {
Continuation = other.Continuation;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 32: {
Continuation = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class GetMembersResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMembersResponse());
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.ClubRequestReflection.Descriptor.MessageTypes[18]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetMembersResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetMembersResponse(GetMembersResponse other) : this() {
_hasBits0 = other._hasBits0;
member_ = other.member_.Clone();
continuation_ = other.continuation_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetMembersResponse Clone() {
return new GetMembersResponse(this);
}
/// Field number for the "member" field.
public const int MemberFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_member_codec
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Club.V1.Member.Parser);
private readonly pbc::RepeatedField member_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Member {
get { return member_; }
}
/// Field number for the "continuation" field.
public const int ContinuationFieldNumber = 2;
private readonly static ulong ContinuationDefaultValue = 0UL;
private ulong continuation_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Continuation {
get { if ((_hasBits0 & 1) != 0) { return continuation_; } else { return ContinuationDefaultValue; } }
set {
_hasBits0 |= 1;
continuation_ = value;
}
}
/// Gets whether the "continuation" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasContinuation {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "continuation" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearContinuation() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetMembersResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetMembersResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!member_.Equals(other.member_)) return false;
if (Continuation != other.Continuation) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= member_.GetHashCode();
if (HasContinuation) hash ^= Continuation.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) {
member_.WriteTo(output, _repeated_member_codec);
if (HasContinuation) {
output.WriteRawTag(16);
output.WriteUInt64(Continuation);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += member_.CalculateSize(_repeated_member_codec);
if (HasContinuation) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetMembersResponse other) {
if (other == null) {
return;
}
member_.Add(other.member_);
if (other.HasContinuation) {
Continuation = other.Continuation;
}
_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: {
member_.AddEntriesFrom(input, _repeated_member_codec);
break;
}
case 16: {
Continuation = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class UpdateMemberStateRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateMemberStateRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[19]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateMemberStateRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateMemberStateRequest(UpdateMemberStateRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
memberId_ = other.HasMemberId ? other.memberId_.Clone() : null;
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateMemberStateRequest Clone() {
return new UpdateMemberStateRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "member_id" field.
public const int MemberIdFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.MemberId memberId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId MemberId {
get { return memberId_; }
set {
memberId_ = value;
}
}
/// Gets whether the member_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasMemberId {
get { return memberId_ != null; }
}
/// Clears the value of the member_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearMemberId() {
memberId_ = null;
}
/// Field number for the "options" field.
public const int OptionsFieldNumber = 5;
private global::Bgs.Protocol.Club.V1.MemberStateOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberStateOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// Gets whether the options field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// Clears the value of the options field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UpdateMemberStateRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UpdateMemberStateRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(MemberId, other.MemberId)) return false;
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasMemberId) hash ^= MemberId.GetHashCode();
if (HasOptions) hash ^= Options.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasMemberId) {
output.WriteRawTag(26);
output.WriteMessage(MemberId);
}
if (HasOptions) {
output.WriteRawTag(42);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasMemberId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemberId);
}
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UpdateMemberStateRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasMemberId) {
if (!HasMemberId) {
MemberId = new global::Bgs.Protocol.Club.V1.MemberId();
}
MemberId.MergeFrom(other.MemberId);
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.MemberStateOptions();
}
Options.MergeFrom(other.Options);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasMemberId) {
MemberId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(MemberId);
break;
}
case 42: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.MemberStateOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
public sealed partial class UpdateSubscriberStateRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateSubscriberStateRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[20]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateSubscriberStateRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateSubscriberStateRequest(UpdateSubscriberStateRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UpdateSubscriberStateRequest Clone() {
return new UpdateSubscriberStateRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "options" field.
public const int OptionsFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.SubscriberStateOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.SubscriberStateOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// Gets whether the options field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// Clears the value of the options field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UpdateSubscriberStateRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UpdateSubscriberStateRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasOptions) hash ^= Options.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasOptions) {
output.WriteRawTag(26);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UpdateSubscriberStateRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.SubscriberStateOptions();
}
Options.MergeFrom(other.Options);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.SubscriberStateOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
public sealed partial class AssignRoleRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AssignRoleRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[21]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AssignRoleRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AssignRoleRequest(AssignRoleRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AssignRoleRequest Clone() {
return new AssignRoleRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "options" field.
public const int OptionsFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.RoleOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.RoleOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// Gets whether the options field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// Clears the value of the options field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as AssignRoleRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(AssignRoleRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasOptions) hash ^= Options.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasOptions) {
output.WriteRawTag(26);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(AssignRoleRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.RoleOptions();
}
Options.MergeFrom(other.Options);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.RoleOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
public sealed partial class UnassignRoleRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnassignRoleRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[22]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnassignRoleRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnassignRoleRequest(UnassignRoleRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnassignRoleRequest Clone() {
return new UnassignRoleRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "options" field.
public const int OptionsFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.RoleOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.RoleOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// Gets whether the options field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// Clears the value of the options field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UnassignRoleRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UnassignRoleRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasOptions) hash ^= Options.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasOptions) {
output.WriteRawTag(26);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UnassignRoleRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.RoleOptions();
}
Options.MergeFrom(other.Options);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.RoleOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
public sealed partial class SendInvitationRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SendInvitationRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[23]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SendInvitationRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SendInvitationRequest(SendInvitationRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SendInvitationRequest Clone() {
return new SendInvitationRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "options" field.
public const int OptionsFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.SendInvitationOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.SendInvitationOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// Gets whether the options field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// Clears the value of the options field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SendInvitationRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SendInvitationRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasOptions) hash ^= Options.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasOptions) {
output.WriteRawTag(26);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SendInvitationRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.SendInvitationOptions();
}
Options.MergeFrom(other.Options);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.SendInvitationOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
public sealed partial class AcceptInvitationRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AcceptInvitationRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[24]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AcceptInvitationRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AcceptInvitationRequest(AcceptInvitationRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
invitationId_ = other.invitationId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AcceptInvitationRequest Clone() {
return new AcceptInvitationRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "invitation_id" field.
public const int InvitationIdFieldNumber = 3;
private readonly static ulong InvitationIdDefaultValue = 0UL;
private ulong invitationId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong InvitationId {
get { if ((_hasBits0 & 2) != 0) { return invitationId_; } else { return InvitationIdDefaultValue; } }
set {
_hasBits0 |= 2;
invitationId_ = value;
}
}
/// Gets whether the "invitation_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasInvitationId {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "invitation_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearInvitationId() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as AcceptInvitationRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(AcceptInvitationRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (InvitationId != other.InvitationId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasInvitationId) hash ^= InvitationId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasInvitationId) {
output.WriteRawTag(25);
output.WriteFixed64(InvitationId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasInvitationId) {
size += 1 + 8;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(AcceptInvitationRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasInvitationId) {
InvitationId = other.InvitationId;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 25: {
InvitationId = input.ReadFixed64();
break;
}
}
}
}
}
public sealed partial class DeclineInvitationRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeclineInvitationRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[25]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DeclineInvitationRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DeclineInvitationRequest(DeclineInvitationRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
invitationId_ = other.invitationId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DeclineInvitationRequest Clone() {
return new DeclineInvitationRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "invitation_id" field.
public const int InvitationIdFieldNumber = 3;
private readonly static ulong InvitationIdDefaultValue = 0UL;
private ulong invitationId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong InvitationId {
get { if ((_hasBits0 & 2) != 0) { return invitationId_; } else { return InvitationIdDefaultValue; } }
set {
_hasBits0 |= 2;
invitationId_ = value;
}
}
/// Gets whether the "invitation_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasInvitationId {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "invitation_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearInvitationId() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as DeclineInvitationRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(DeclineInvitationRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (InvitationId != other.InvitationId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasInvitationId) hash ^= InvitationId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasInvitationId) {
output.WriteRawTag(25);
output.WriteFixed64(InvitationId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasInvitationId) {
size += 1 + 8;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(DeclineInvitationRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasInvitationId) {
InvitationId = other.InvitationId;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 25: {
InvitationId = input.ReadFixed64();
break;
}
}
}
}
}
public sealed partial class RevokeInvitationRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RevokeInvitationRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[26]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RevokeInvitationRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RevokeInvitationRequest(RevokeInvitationRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
invitationId_ = other.invitationId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RevokeInvitationRequest Clone() {
return new RevokeInvitationRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "invitation_id" field.
public const int InvitationIdFieldNumber = 3;
private readonly static ulong InvitationIdDefaultValue = 0UL;
private ulong invitationId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong InvitationId {
get { if ((_hasBits0 & 2) != 0) { return invitationId_; } else { return InvitationIdDefaultValue; } }
set {
_hasBits0 |= 2;
invitationId_ = value;
}
}
/// Gets whether the "invitation_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasInvitationId {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "invitation_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearInvitationId() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as RevokeInvitationRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(RevokeInvitationRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (InvitationId != other.InvitationId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasInvitationId) hash ^= InvitationId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasInvitationId) {
output.WriteRawTag(25);
output.WriteFixed64(InvitationId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasInvitationId) {
size += 1 + 8;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(RevokeInvitationRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasInvitationId) {
InvitationId = other.InvitationId;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 25: {
InvitationId = input.ReadFixed64();
break;
}
}
}
}
}
public sealed partial class GetInvitationRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetInvitationRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[27]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetInvitationRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetInvitationRequest(GetInvitationRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
invitationId_ = other.invitationId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetInvitationRequest Clone() {
return new GetInvitationRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "invitation_id" field.
public const int InvitationIdFieldNumber = 3;
private readonly static ulong InvitationIdDefaultValue = 0UL;
private ulong invitationId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong InvitationId {
get { if ((_hasBits0 & 2) != 0) { return invitationId_; } else { return InvitationIdDefaultValue; } }
set {
_hasBits0 |= 2;
invitationId_ = value;
}
}
/// Gets whether the "invitation_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasInvitationId {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "invitation_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearInvitationId() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetInvitationRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetInvitationRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (InvitationId != other.InvitationId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasInvitationId) hash ^= InvitationId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasInvitationId) {
output.WriteRawTag(25);
output.WriteFixed64(InvitationId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasInvitationId) {
size += 1 + 8;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetInvitationRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasInvitationId) {
InvitationId = other.InvitationId;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 25: {
InvitationId = input.ReadFixed64();
break;
}
}
}
}
}
public sealed partial class GetInvitationResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetInvitationResponse());
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.ClubRequestReflection.Descriptor.MessageTypes[28]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetInvitationResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetInvitationResponse(GetInvitationResponse other) : this() {
invitation_ = other.HasInvitation ? other.invitation_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetInvitationResponse Clone() {
return new GetInvitationResponse(this);
}
/// Field number for the "invitation" field.
public const int InvitationFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.ClubInvitation invitation_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.ClubInvitation 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;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetInvitationResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetInvitationResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Invitation, other.Invitation)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasInvitation) hash ^= Invitation.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 (HasInvitation) {
output.WriteRawTag(10);
output.WriteMessage(Invitation);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasInvitation) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Invitation);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetInvitationResponse other) {
if (other == null) {
return;
}
if (other.HasInvitation) {
if (!HasInvitation) {
Invitation = new global::Bgs.Protocol.Club.V1.ClubInvitation();
}
Invitation.MergeFrom(other.Invitation);
}
_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 (!HasInvitation) {
Invitation = new global::Bgs.Protocol.Club.V1.ClubInvitation();
}
input.ReadMessage(Invitation);
break;
}
}
}
}
}
public sealed partial class GetInvitationsRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetInvitationsRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[29]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetInvitationsRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetInvitationsRequest(GetInvitationsRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
continuation_ = other.continuation_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetInvitationsRequest Clone() {
return new GetInvitationsRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "continuation" field.
public const int ContinuationFieldNumber = 3;
private readonly static ulong ContinuationDefaultValue = 0UL;
private ulong continuation_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Continuation {
get { if ((_hasBits0 & 2) != 0) { return continuation_; } else { return ContinuationDefaultValue; } }
set {
_hasBits0 |= 2;
continuation_ = value;
}
}
/// Gets whether the "continuation" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasContinuation {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "continuation" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearContinuation() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetInvitationsRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetInvitationsRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (Continuation != other.Continuation) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasContinuation) hash ^= Continuation.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasContinuation) {
output.WriteRawTag(24);
output.WriteUInt64(Continuation);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasContinuation) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetInvitationsRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasContinuation) {
Continuation = other.Continuation;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 24: {
Continuation = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class GetInvitationsResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetInvitationsResponse());
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.ClubRequestReflection.Descriptor.MessageTypes[30]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetInvitationsResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetInvitationsResponse(GetInvitationsResponse other) : this() {
_hasBits0 = other._hasBits0;
invitation_ = other.invitation_.Clone();
continuation_ = other.continuation_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetInvitationsResponse Clone() {
return new GetInvitationsResponse(this);
}
/// Field number for the "invitation" field.
public const int InvitationFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_invitation_codec
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Club.V1.ClubInvitation.Parser);
private readonly pbc::RepeatedField invitation_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Invitation {
get { return invitation_; }
}
/// Field number for the "continuation" field.
public const int ContinuationFieldNumber = 2;
private readonly static ulong ContinuationDefaultValue = 0UL;
private ulong continuation_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Continuation {
get { if ((_hasBits0 & 1) != 0) { return continuation_; } else { return ContinuationDefaultValue; } }
set {
_hasBits0 |= 1;
continuation_ = value;
}
}
/// Gets whether the "continuation" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasContinuation {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "continuation" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearContinuation() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetInvitationsResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetInvitationsResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!invitation_.Equals(other.invitation_)) return false;
if (Continuation != other.Continuation) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= invitation_.GetHashCode();
if (HasContinuation) hash ^= Continuation.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) {
invitation_.WriteTo(output, _repeated_invitation_codec);
if (HasContinuation) {
output.WriteRawTag(16);
output.WriteUInt64(Continuation);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += invitation_.CalculateSize(_repeated_invitation_codec);
if (HasContinuation) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetInvitationsResponse other) {
if (other == null) {
return;
}
invitation_.Add(other.invitation_);
if (other.HasContinuation) {
Continuation = other.Continuation;
}
_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: {
invitation_.AddEntriesFrom(input, _repeated_invitation_codec);
break;
}
case 16: {
Continuation = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class SendSuggestionRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SendSuggestionRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[31]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SendSuggestionRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SendSuggestionRequest(SendSuggestionRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SendSuggestionRequest Clone() {
return new SendSuggestionRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "options" field.
public const int OptionsFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.SendSuggestionOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.SendSuggestionOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// Gets whether the options field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// Clears the value of the options field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SendSuggestionRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SendSuggestionRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasOptions) hash ^= Options.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasOptions) {
output.WriteRawTag(26);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SendSuggestionRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.SendSuggestionOptions();
}
Options.MergeFrom(other.Options);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.SendSuggestionOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
public sealed partial class AcceptSuggestionRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AcceptSuggestionRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[32]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AcceptSuggestionRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AcceptSuggestionRequest(AcceptSuggestionRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
suggestionId_ = other.suggestionId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AcceptSuggestionRequest Clone() {
return new AcceptSuggestionRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "suggestion_id" field.
public const int SuggestionIdFieldNumber = 3;
private readonly static ulong SuggestionIdDefaultValue = 0UL;
private ulong suggestionId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong SuggestionId {
get { if ((_hasBits0 & 2) != 0) { return suggestionId_; } else { return SuggestionIdDefaultValue; } }
set {
_hasBits0 |= 2;
suggestionId_ = value;
}
}
/// Gets whether the "suggestion_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasSuggestionId {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "suggestion_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearSuggestionId() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as AcceptSuggestionRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(AcceptSuggestionRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (SuggestionId != other.SuggestionId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasSuggestionId) hash ^= SuggestionId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasSuggestionId) {
output.WriteRawTag(25);
output.WriteFixed64(SuggestionId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasSuggestionId) {
size += 1 + 8;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(AcceptSuggestionRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasSuggestionId) {
SuggestionId = other.SuggestionId;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 25: {
SuggestionId = input.ReadFixed64();
break;
}
}
}
}
}
public sealed partial class DeclineSuggestionRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeclineSuggestionRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[33]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DeclineSuggestionRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DeclineSuggestionRequest(DeclineSuggestionRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
suggestionId_ = other.suggestionId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DeclineSuggestionRequest Clone() {
return new DeclineSuggestionRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "suggestion_id" field.
public const int SuggestionIdFieldNumber = 3;
private readonly static ulong SuggestionIdDefaultValue = 0UL;
private ulong suggestionId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong SuggestionId {
get { if ((_hasBits0 & 2) != 0) { return suggestionId_; } else { return SuggestionIdDefaultValue; } }
set {
_hasBits0 |= 2;
suggestionId_ = value;
}
}
/// Gets whether the "suggestion_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasSuggestionId {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "suggestion_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearSuggestionId() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as DeclineSuggestionRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(DeclineSuggestionRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (SuggestionId != other.SuggestionId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasSuggestionId) hash ^= SuggestionId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasSuggestionId) {
output.WriteRawTag(25);
output.WriteFixed64(SuggestionId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasSuggestionId) {
size += 1 + 8;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(DeclineSuggestionRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasSuggestionId) {
SuggestionId = other.SuggestionId;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 25: {
SuggestionId = input.ReadFixed64();
break;
}
}
}
}
}
public sealed partial class GetSuggestionRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSuggestionRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[34]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetSuggestionRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetSuggestionRequest(GetSuggestionRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
suggestionId_ = other.suggestionId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetSuggestionRequest Clone() {
return new GetSuggestionRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "suggestion_id" field.
public const int SuggestionIdFieldNumber = 3;
private readonly static ulong SuggestionIdDefaultValue = 0UL;
private ulong suggestionId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong SuggestionId {
get { if ((_hasBits0 & 2) != 0) { return suggestionId_; } else { return SuggestionIdDefaultValue; } }
set {
_hasBits0 |= 2;
suggestionId_ = value;
}
}
/// Gets whether the "suggestion_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasSuggestionId {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "suggestion_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearSuggestionId() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetSuggestionRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetSuggestionRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (SuggestionId != other.SuggestionId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasSuggestionId) hash ^= SuggestionId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasSuggestionId) {
output.WriteRawTag(25);
output.WriteFixed64(SuggestionId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasSuggestionId) {
size += 1 + 8;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetSuggestionRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasSuggestionId) {
SuggestionId = other.SuggestionId;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 25: {
SuggestionId = input.ReadFixed64();
break;
}
}
}
}
}
public sealed partial class GetSuggestionResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSuggestionResponse());
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.ClubRequestReflection.Descriptor.MessageTypes[35]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetSuggestionResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetSuggestionResponse(GetSuggestionResponse other) : this() {
suggestion_ = other.HasSuggestion ? other.suggestion_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetSuggestionResponse Clone() {
return new GetSuggestionResponse(this);
}
/// Field number for the "suggestion" field.
public const int SuggestionFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.ClubSuggestion suggestion_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.ClubSuggestion 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;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetSuggestionResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetSuggestionResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Suggestion, other.Suggestion)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasSuggestion) hash ^= Suggestion.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 (HasSuggestion) {
output.WriteRawTag(10);
output.WriteMessage(Suggestion);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasSuggestion) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Suggestion);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetSuggestionResponse other) {
if (other == null) {
return;
}
if (other.HasSuggestion) {
if (!HasSuggestion) {
Suggestion = new global::Bgs.Protocol.Club.V1.ClubSuggestion();
}
Suggestion.MergeFrom(other.Suggestion);
}
_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 (!HasSuggestion) {
Suggestion = new global::Bgs.Protocol.Club.V1.ClubSuggestion();
}
input.ReadMessage(Suggestion);
break;
}
}
}
}
}
public sealed partial class GetSuggestionsRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSuggestionsRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[36]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetSuggestionsRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetSuggestionsRequest(GetSuggestionsRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
continuation_ = other.continuation_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetSuggestionsRequest Clone() {
return new GetSuggestionsRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "continuation" field.
public const int ContinuationFieldNumber = 3;
private readonly static ulong ContinuationDefaultValue = 0UL;
private ulong continuation_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Continuation {
get { if ((_hasBits0 & 2) != 0) { return continuation_; } else { return ContinuationDefaultValue; } }
set {
_hasBits0 |= 2;
continuation_ = value;
}
}
/// Gets whether the "continuation" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasContinuation {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "continuation" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearContinuation() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetSuggestionsRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetSuggestionsRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (Continuation != other.Continuation) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasContinuation) hash ^= Continuation.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasContinuation) {
output.WriteRawTag(24);
output.WriteUInt64(Continuation);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasContinuation) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetSuggestionsRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasContinuation) {
Continuation = other.Continuation;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 24: {
Continuation = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class GetSuggestionsResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSuggestionsResponse());
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.ClubRequestReflection.Descriptor.MessageTypes[37]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetSuggestionsResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetSuggestionsResponse(GetSuggestionsResponse other) : this() {
_hasBits0 = other._hasBits0;
suggestion_ = other.suggestion_.Clone();
continuation_ = other.continuation_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetSuggestionsResponse Clone() {
return new GetSuggestionsResponse(this);
}
/// Field number for the "suggestion" field.
public const int SuggestionFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_suggestion_codec
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Club.V1.ClubSuggestion.Parser);
private readonly pbc::RepeatedField suggestion_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Suggestion {
get { return suggestion_; }
}
/// Field number for the "continuation" field.
public const int ContinuationFieldNumber = 2;
private readonly static ulong ContinuationDefaultValue = 0UL;
private ulong continuation_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Continuation {
get { if ((_hasBits0 & 1) != 0) { return continuation_; } else { return ContinuationDefaultValue; } }
set {
_hasBits0 |= 1;
continuation_ = value;
}
}
/// Gets whether the "continuation" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasContinuation {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "continuation" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearContinuation() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetSuggestionsResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetSuggestionsResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!suggestion_.Equals(other.suggestion_)) return false;
if (Continuation != other.Continuation) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= suggestion_.GetHashCode();
if (HasContinuation) hash ^= Continuation.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) {
suggestion_.WriteTo(output, _repeated_suggestion_codec);
if (HasContinuation) {
output.WriteRawTag(16);
output.WriteUInt64(Continuation);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += suggestion_.CalculateSize(_repeated_suggestion_codec);
if (HasContinuation) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetSuggestionsResponse other) {
if (other == null) {
return;
}
suggestion_.Add(other.suggestion_);
if (other.HasContinuation) {
Continuation = other.Continuation;
}
_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: {
suggestion_.AddEntriesFrom(input, _repeated_suggestion_codec);
break;
}
case 16: {
Continuation = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class CreateTicketRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateTicketRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[38]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateTicketRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateTicketRequest(CreateTicketRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateTicketRequest Clone() {
return new CreateTicketRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "options" field.
public const int OptionsFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.CreateTicketOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.CreateTicketOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// Gets whether the options field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// Clears the value of the options field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as CreateTicketRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(CreateTicketRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasOptions) hash ^= Options.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasOptions) {
output.WriteRawTag(26);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(CreateTicketRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.CreateTicketOptions();
}
Options.MergeFrom(other.Options);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.CreateTicketOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
public sealed partial class CreateTicketResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateTicketResponse());
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.ClubRequestReflection.Descriptor.MessageTypes[39]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateTicketResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateTicketResponse(CreateTicketResponse other) : this() {
ticket_ = other.HasTicket ? other.ticket_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateTicketResponse Clone() {
return new CreateTicketResponse(this);
}
/// Field number for the "ticket" field.
public const int TicketFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.ClubTicket ticket_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.ClubTicket 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;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as CreateTicketResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(CreateTicketResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Ticket, other.Ticket)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasTicket) hash ^= Ticket.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 (HasTicket) {
output.WriteRawTag(10);
output.WriteMessage(Ticket);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasTicket) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ticket);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(CreateTicketResponse other) {
if (other == null) {
return;
}
if (other.HasTicket) {
if (!HasTicket) {
Ticket = new global::Bgs.Protocol.Club.V1.ClubTicket();
}
Ticket.MergeFrom(other.Ticket);
}
_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 (!HasTicket) {
Ticket = new global::Bgs.Protocol.Club.V1.ClubTicket();
}
input.ReadMessage(Ticket);
break;
}
}
}
}
}
public sealed partial class DestroyTicketRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DestroyTicketRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[40]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DestroyTicketRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DestroyTicketRequest(DestroyTicketRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
ticketId_ = other.ticketId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public DestroyTicketRequest Clone() {
return new DestroyTicketRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "ticket_id" field.
public const int TicketIdFieldNumber = 3;
private readonly static string TicketIdDefaultValue = "";
private string ticketId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string TicketId {
get { return ticketId_ ?? TicketIdDefaultValue; }
set {
ticketId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Gets whether the "ticket_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasTicketId {
get { return ticketId_ != null; }
}
/// Clears the value of the "ticket_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearTicketId() {
ticketId_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as DestroyTicketRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(DestroyTicketRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (TicketId != other.TicketId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasTicketId) hash ^= TicketId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasTicketId) {
output.WriteRawTag(26);
output.WriteString(TicketId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasTicketId) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(TicketId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(DestroyTicketRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasTicketId) {
TicketId = other.TicketId;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
TicketId = input.ReadString();
break;
}
}
}
}
}
public sealed partial class RedeemTicketRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RedeemTicketRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[41]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RedeemTicketRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RedeemTicketRequest(RedeemTicketRequest other) : this() {
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
ticketId_ = other.ticketId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RedeemTicketRequest Clone() {
return new RedeemTicketRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "ticket_id" field.
public const int TicketIdFieldNumber = 3;
private readonly static string TicketIdDefaultValue = "";
private string ticketId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string TicketId {
get { return ticketId_ ?? TicketIdDefaultValue; }
set {
ticketId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Gets whether the "ticket_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasTicketId {
get { return ticketId_ != null; }
}
/// Clears the value of the "ticket_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearTicketId() {
ticketId_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as RedeemTicketRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(RedeemTicketRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (TicketId != other.TicketId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasTicketId) hash ^= TicketId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasTicketId) {
output.WriteRawTag(26);
output.WriteString(TicketId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasTicketId) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(TicketId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(RedeemTicketRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasTicketId) {
TicketId = other.TicketId;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 26: {
TicketId = input.ReadString();
break;
}
}
}
}
}
public sealed partial class GetTicketRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetTicketRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[42]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetTicketRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetTicketRequest(GetTicketRequest other) : this() {
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
ticketId_ = other.ticketId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetTicketRequest Clone() {
return new GetTicketRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "ticket_id" field.
public const int TicketIdFieldNumber = 3;
private readonly static string TicketIdDefaultValue = "";
private string ticketId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string TicketId {
get { return ticketId_ ?? TicketIdDefaultValue; }
set {
ticketId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Gets whether the "ticket_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasTicketId {
get { return ticketId_ != null; }
}
/// Clears the value of the "ticket_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearTicketId() {
ticketId_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetTicketRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetTicketRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (TicketId != other.TicketId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasTicketId) hash ^= TicketId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasTicketId) {
output.WriteRawTag(26);
output.WriteString(TicketId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasTicketId) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(TicketId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetTicketRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasTicketId) {
TicketId = other.TicketId;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 26: {
TicketId = input.ReadString();
break;
}
}
}
}
}
public sealed partial class GetTicketResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetTicketResponse());
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.ClubRequestReflection.Descriptor.MessageTypes[43]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetTicketResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetTicketResponse(GetTicketResponse other) : this() {
ticket_ = other.HasTicket ? other.ticket_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetTicketResponse Clone() {
return new GetTicketResponse(this);
}
/// Field number for the "ticket" field.
public const int TicketFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.ClubTicket ticket_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.ClubTicket 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;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetTicketResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetTicketResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Ticket, other.Ticket)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasTicket) hash ^= Ticket.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 (HasTicket) {
output.WriteRawTag(10);
output.WriteMessage(Ticket);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasTicket) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ticket);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetTicketResponse other) {
if (other == null) {
return;
}
if (other.HasTicket) {
if (!HasTicket) {
Ticket = new global::Bgs.Protocol.Club.V1.ClubTicket();
}
Ticket.MergeFrom(other.Ticket);
}
_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 (!HasTicket) {
Ticket = new global::Bgs.Protocol.Club.V1.ClubTicket();
}
input.ReadMessage(Ticket);
break;
}
}
}
}
}
public sealed partial class GetTicketsRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetTicketsRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[44]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetTicketsRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetTicketsRequest(GetTicketsRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
continuation_ = other.continuation_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetTicketsRequest Clone() {
return new GetTicketsRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "continuation" field.
public const int ContinuationFieldNumber = 3;
private readonly static ulong ContinuationDefaultValue = 0UL;
private ulong continuation_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Continuation {
get { if ((_hasBits0 & 2) != 0) { return continuation_; } else { return ContinuationDefaultValue; } }
set {
_hasBits0 |= 2;
continuation_ = value;
}
}
/// Gets whether the "continuation" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasContinuation {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "continuation" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearContinuation() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetTicketsRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetTicketsRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (Continuation != other.Continuation) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasContinuation) hash ^= Continuation.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasContinuation) {
output.WriteRawTag(24);
output.WriteUInt64(Continuation);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasContinuation) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetTicketsRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasContinuation) {
Continuation = other.Continuation;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 24: {
Continuation = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class GetTicketsResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetTicketsResponse());
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.ClubRequestReflection.Descriptor.MessageTypes[45]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetTicketsResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetTicketsResponse(GetTicketsResponse other) : this() {
_hasBits0 = other._hasBits0;
ticket_ = other.ticket_.Clone();
continuation_ = other.continuation_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetTicketsResponse Clone() {
return new GetTicketsResponse(this);
}
/// Field number for the "ticket" field.
public const int TicketFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_ticket_codec
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Club.V1.ClubTicket.Parser);
private readonly pbc::RepeatedField ticket_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Ticket {
get { return ticket_; }
}
/// Field number for the "continuation" field.
public const int ContinuationFieldNumber = 2;
private readonly static ulong ContinuationDefaultValue = 0UL;
private ulong continuation_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Continuation {
get { if ((_hasBits0 & 1) != 0) { return continuation_; } else { return ContinuationDefaultValue; } }
set {
_hasBits0 |= 1;
continuation_ = value;
}
}
/// Gets whether the "continuation" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasContinuation {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "continuation" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearContinuation() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetTicketsResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetTicketsResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!ticket_.Equals(other.ticket_)) return false;
if (Continuation != other.Continuation) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= ticket_.GetHashCode();
if (HasContinuation) hash ^= Continuation.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) {
ticket_.WriteTo(output, _repeated_ticket_codec);
if (HasContinuation) {
output.WriteRawTag(16);
output.WriteUInt64(Continuation);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += ticket_.CalculateSize(_repeated_ticket_codec);
if (HasContinuation) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetTicketsResponse other) {
if (other == null) {
return;
}
ticket_.Add(other.ticket_);
if (other.HasContinuation) {
Continuation = other.Continuation;
}
_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: {
ticket_.AddEntriesFrom(input, _repeated_ticket_codec);
break;
}
case 16: {
Continuation = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class AddBanRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddBanRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[46]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AddBanRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AddBanRequest(AddBanRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AddBanRequest Clone() {
return new AddBanRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "options" field.
public const int OptionsFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.AddBanOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.AddBanOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// Gets whether the options field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// Clears the value of the options field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as AddBanRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(AddBanRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasOptions) hash ^= Options.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasOptions) {
output.WriteRawTag(26);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(AddBanRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.AddBanOptions();
}
Options.MergeFrom(other.Options);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Club.V1.AddBanOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
public sealed partial class RemoveBanRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoveBanRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[47]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RemoveBanRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RemoveBanRequest(RemoveBanRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
targetId_ = other.HasTargetId ? other.targetId_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RemoveBanRequest Clone() {
return new RemoveBanRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "target_id" field.
public const int TargetIdFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.MemberId targetId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId TargetId {
get { return targetId_; }
set {
targetId_ = value;
}
}
/// Gets whether the target_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasTargetId {
get { return targetId_ != null; }
}
/// Clears the value of the target_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearTargetId() {
targetId_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as RemoveBanRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(RemoveBanRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(TargetId, other.TargetId)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasTargetId) hash ^= TargetId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasTargetId) {
output.WriteRawTag(26);
output.WriteMessage(TargetId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasTargetId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(RemoveBanRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasTargetId) {
if (!HasTargetId) {
TargetId = new global::Bgs.Protocol.Club.V1.MemberId();
}
TargetId.MergeFrom(other.TargetId);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasTargetId) {
TargetId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(TargetId);
break;
}
}
}
}
}
public sealed partial class GetBanRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBanRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[48]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBanRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBanRequest(GetBanRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
targetId_ = other.HasTargetId ? other.targetId_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBanRequest Clone() {
return new GetBanRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "target_id" field.
public const int TargetIdFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.MemberId targetId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId TargetId {
get { return targetId_; }
set {
targetId_ = value;
}
}
/// Gets whether the target_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasTargetId {
get { return targetId_ != null; }
}
/// Clears the value of the target_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearTargetId() {
targetId_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetBanRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetBanRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (!object.Equals(TargetId, other.TargetId)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasTargetId) hash ^= TargetId.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasTargetId) {
output.WriteRawTag(26);
output.WriteMessage(TargetId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasTargetId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetBanRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasTargetId) {
if (!HasTargetId) {
TargetId = new global::Bgs.Protocol.Club.V1.MemberId();
}
TargetId.MergeFrom(other.TargetId);
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26: {
if (!HasTargetId) {
TargetId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(TargetId);
break;
}
}
}
}
}
public sealed partial class GetBanResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBanResponse());
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.ClubRequestReflection.Descriptor.MessageTypes[49]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBanResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBanResponse(GetBanResponse other) : this() {
ban_ = other.HasBan ? other.ban_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBanResponse Clone() {
return new GetBanResponse(this);
}
/// Field number for the "ban" field.
public const int BanFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.ClubBan ban_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.ClubBan 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 GetBanResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetBanResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
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 (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 (HasBan) {
output.WriteRawTag(10);
output.WriteMessage(Ban);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasBan) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ban);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetBanResponse other) {
if (other == null) {
return;
}
if (other.HasBan) {
if (!HasBan) {
Ban = new global::Bgs.Protocol.Club.V1.ClubBan();
}
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 10: {
if (!HasBan) {
Ban = new global::Bgs.Protocol.Club.V1.ClubBan();
}
input.ReadMessage(Ban);
break;
}
}
}
}
}
public sealed partial class GetBansRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBansRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[50]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBansRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBansRequest(GetBansRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
continuation_ = other.continuation_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBansRequest Clone() {
return new GetBansRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "continuation" field.
public const int ContinuationFieldNumber = 3;
private readonly static ulong ContinuationDefaultValue = 0UL;
private ulong continuation_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Continuation {
get { if ((_hasBits0 & 2) != 0) { return continuation_; } else { return ContinuationDefaultValue; } }
set {
_hasBits0 |= 2;
continuation_ = value;
}
}
/// Gets whether the "continuation" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasContinuation {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "continuation" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearContinuation() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetBansRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetBansRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if (Continuation != other.Continuation) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasContinuation) hash ^= Continuation.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
if (HasContinuation) {
output.WriteRawTag(24);
output.WriteUInt64(Continuation);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
if (HasContinuation) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetBansRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasContinuation) {
Continuation = other.Continuation;
}
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 24: {
Continuation = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class GetBansResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBansResponse());
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.ClubRequestReflection.Descriptor.MessageTypes[51]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBansResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBansResponse(GetBansResponse other) : this() {
_hasBits0 = other._hasBits0;
ban_ = other.ban_.Clone();
continuation_ = other.continuation_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetBansResponse Clone() {
return new GetBansResponse(this);
}
/// Field number for the "ban" field.
public const int BanFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_ban_codec
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Club.V1.ClubBan.Parser);
private readonly pbc::RepeatedField ban_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Ban {
get { return ban_; }
}
/// Field number for the "continuation" field.
public const int ContinuationFieldNumber = 2;
private readonly static ulong ContinuationDefaultValue = 0UL;
private ulong continuation_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Continuation {
get { if ((_hasBits0 & 1) != 0) { return continuation_; } else { return ContinuationDefaultValue; } }
set {
_hasBits0 |= 1;
continuation_ = value;
}
}
/// Gets whether the "continuation" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasContinuation {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "continuation" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearContinuation() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetBansResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetBansResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!ban_.Equals(other.ban_)) return false;
if (Continuation != other.Continuation) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= ban_.GetHashCode();
if (HasContinuation) hash ^= Continuation.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) {
ban_.WriteTo(output, _repeated_ban_codec);
if (HasContinuation) {
output.WriteRawTag(16);
output.WriteUInt64(Continuation);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += ban_.CalculateSize(_repeated_ban_codec);
if (HasContinuation) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetBansResponse other) {
if (other == null) {
return;
}
ban_.Add(other.ban_);
if (other.HasContinuation) {
Continuation = other.Continuation;
}
_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: {
ban_.AddEntriesFrom(input, _repeated_ban_codec);
break;
}
case 16: {
Continuation = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class SubscribeStreamRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeStreamRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[52]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SubscribeStreamRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SubscribeStreamRequest(SubscribeStreamRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
streamId_ = other.streamId_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SubscribeStreamRequest Clone() {
return new SubscribeStreamRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "stream_id" field.
public const int StreamIdFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_streamId_codec
= pb::FieldCodec.ForUInt64(24);
private readonly pbc::RepeatedField streamId_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField StreamId {
get { return streamId_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SubscribeStreamRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SubscribeStreamRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if(!streamId_.Equals(other.streamId_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
hash ^= streamId_.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
streamId_.WriteTo(output, _repeated_streamId_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
size += streamId_.CalculateSize(_repeated_streamId_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SubscribeStreamRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
streamId_.Add(other.streamId_);
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26:
case 24: {
streamId_.AddEntriesFrom(input, _repeated_streamId_codec);
break;
}
}
}
}
}
public sealed partial class UnsubscribeStreamRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsubscribeStreamRequest());
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.ClubRequestReflection.Descriptor.MessageTypes[53]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnsubscribeStreamRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnsubscribeStreamRequest(UnsubscribeStreamRequest other) : this() {
_hasBits0 = other._hasBits0;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
clubId_ = other.clubId_;
streamId_ = other.streamId_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnsubscribeStreamRequest Clone() {
return new UnsubscribeStreamRequest(this);
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "club_id" field.
public const int ClubIdFieldNumber = 2;
private readonly static ulong ClubIdDefaultValue = 0UL;
private ulong clubId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ClubId {
get { if ((_hasBits0 & 1) != 0) { return clubId_; } else { return ClubIdDefaultValue; } }
set {
_hasBits0 |= 1;
clubId_ = value;
}
}
/// Gets whether the "club_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubId {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "club_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubId() {
_hasBits0 &= ~1;
}
/// Field number for the "stream_id" field.
public const int StreamIdFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_streamId_codec
= pb::FieldCodec.ForUInt64(24);
private readonly pbc::RepeatedField streamId_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField StreamId {
get { return streamId_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UnsubscribeStreamRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UnsubscribeStreamRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (ClubId != other.ClubId) return false;
if(!streamId_.Equals(other.streamId_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasClubId) hash ^= ClubId.GetHashCode();
hash ^= streamId_.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 (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasClubId) {
output.WriteRawTag(16);
output.WriteUInt64(ClubId);
}
streamId_.WriteTo(output, _repeated_streamId_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasClubId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ClubId);
}
size += streamId_.CalculateSize(_repeated_streamId_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UnsubscribeStreamRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
streamId_.Add(other.streamId_);
_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 (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(AgentId);
break;
}
case 16: {
ClubId = input.ReadUInt64();
break;
}
case 26:
case 24: {
streamId_.AddEntriesFrom(input, _repeated_streamId_codec);
break;
}
}
}
}
}
public sealed partial class CreateStreamRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser