//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/club_request.proto
//
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Bgs.Protocol.Club.V1 {
/// Holder for reflection information generated from bgs/low/pb/client/club_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",
"LnByb3RvGjliZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9t",
"ZXNzYWdlX29wdGlvbnMucHJvdG8aN2Jncy9sb3cvcGIvY2xpZW50L2dsb2Jh",
"bF9leHRlbnNpb25zL2ZpZWxkX29wdGlvbnMucHJvdG8aOGJncy9sb3cvcGIv",
"Y2xpZW50L2dsb2JhbF9leHRlbnNpb25zL21ldGhvZF9vcHRpb25zLnByb3Rv",
"GjliZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9zZXJ2aWNl",
"X29wdGlvbnMucHJvdG8iXQoQU3Vic2NyaWJlUmVxdWVzdBIwCghhZ2VudF9p",
"ZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2Ns",
"dWJfaWQYAiABKARCBoL5KwIQASJfChJVbnN1YnNjcmliZVJlcXVlc3QSMAoI",
"YWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJ",
"ZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAEiewoNQ3JlYXRlUmVxdWVzdBIw",
"CghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJl",
"cklkEjgKB29wdGlvbnMYAiABKAsyJy5iZ3MucHJvdG9jb2wuY2x1Yi52MS5D",
"bHViQ3JlYXRlT3B0aW9ucyIhCg5DcmVhdGVSZXNwb25zZRIPCgdjbHViX2lk",
"GAEgASgEIlsKDkRlc3Ryb3lSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4u",
"YmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEo",
"BEIGgvkrAhABImIKFUdldERlc2NyaXB0aW9uUmVxdWVzdBIwCghhZ2VudF9p",
"ZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2Ns",
"dWJfaWQYAiABKARCBoL5KwIQASJNChZHZXREZXNjcmlwdGlvblJlc3BvbnNl",
"EjMKBGNsdWIYASABKAsyJS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViRGVz",
"Y3JpcHRpb24iegoSR2V0Q2x1YlR5cGVSZXF1ZXN0EjAKCGFnZW50X2lkGAEg",
"ASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSMgoEdHlwZRgC",
"IAEoCzIkLmJncy5wcm90b2NvbC5jbHViLnYxLlVuaXF1ZUNsdWJUeXBlIrkB",
"ChNHZXRDbHViVHlwZVJlc3BvbnNlEjIKBHR5cGUYASABKAsyJC5iZ3MucHJv",
"dG9jb2wuY2x1Yi52MS5VbmlxdWVDbHViVHlwZRIzCghyb2xlX3NldBgCIAEo",
"CzIhLmJncy5wcm90b2NvbC5jbHViLnYxLkNsdWJSb2xlU2V0EjkKCXJhbmdl",
"X3NldBgDIAEoCzImLmJncy5wcm90b2NvbC5jbHViLnYxLkNsdWJUeXBlUmFu",
"Z2VTZXQinAEKFlVwZGF0ZUNsdWJTdGF0ZVJlcXVlc3QSMAoIYWdlbnRfaWQY",
"ASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHVi",
"X2lkGAIgASgEQgaC+SsCEAESNwoHb3B0aW9ucxgDIAEoCzImLmJncy5wcm90",
"b2NvbC5jbHViLnYxLkNsdWJTdGF0ZU9wdGlvbnMiogEKGVVwZGF0ZUNsdWJT",
"ZXR0aW5nc1JlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9j",
"b2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAES",
"OgoHb3B0aW9ucxgDIAEoCzIpLmJncy5wcm90b2NvbC5jbHViLnYxLkNsdWJT",
"ZXR0aW5nc09wdGlvbnMimQEKEEFkZE1lbWJlclJlcXVlc3QSMAoIYWdlbnRf",
"aWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdj",
"bHViX2lkGAIgASgEQgaC+SsCEAESOgoHb3B0aW9ucxgDIAEoCzIpLmJncy5w",
"cm90b2NvbC5jbHViLnYxLkNyZWF0ZU1lbWJlck9wdGlvbnMilAEKC0pvaW5S",
"ZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIu",
"djEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEjoKB29wdGlv",
"bnMYAyABKAsyKS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DcmVhdGVNZW1iZXJP",
"cHRpb25zIlkKDExlYXZlUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJn",
"cy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARC",
"BoL5KwIQASKLAQoLS2lja1JlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5i",
"Z3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgE",
"QgaC+SsCEAESMQoJdGFyZ2V0X2lkGAMgASgLMh4uYmdzLnByb3RvY29sLmNs",
"dWIudjEuTWVtYmVySWQikAEKEEdldE1lbWJlclJlcXVlc3QSMAoIYWdlbnRf",
"aWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdj",
"bHViX2lkGAIgASgEQgaC+SsCEAESMQoJbWVtYmVyX2lkGAMgASgLMh4uYmdz",
"LnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQiQQoRR2V0TWVtYmVyUmVzcG9u",
"c2USLAoGbWVtYmVyGAEgASgLMhwuYmdzLnByb3RvY29sLmNsdWIudjEuTWVt",
"YmVyInQKEUdldE1lbWJlcnNSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4u",
"YmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEo",
"BEIGgvkrAhABEhQKDGNvbnRpbnVhdGlvbhgEIAEoBCJYChJHZXRNZW1iZXJz",
"UmVzcG9uc2USLAoGbWVtYmVyGAEgAygLMhwuYmdzLnByb3RvY29sLmNsdWIu",
"djEuTWVtYmVyEhQKDGNvbnRpbnVhdGlvbhgCIAEoBCLTAQoYVXBkYXRlTWVt",
"YmVyU3RhdGVSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3Rv",
"Y29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhAB",
"EjEKCW1lbWJlcl9pZBgDIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1l",
"bWJlcklkEjkKB29wdGlvbnMYBSABKAsyKC5iZ3MucHJvdG9jb2wuY2x1Yi52",
"MS5NZW1iZXJTdGF0ZU9wdGlvbnMiqAEKHFVwZGF0ZVN1YnNjcmliZXJTdGF0",
"ZVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1",
"Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESPQoHb3B0",
"aW9ucxgDIAEoCzIsLmJncy5wcm90b2NvbC5jbHViLnYxLlN1YnNjcmliZXJT",
"dGF0ZU9wdGlvbnMikgEKEUFzc2lnblJvbGVSZXF1ZXN0EjAKCGFnZW50X2lk",
"GAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1",
"Yl9pZBgCIAEoBEIGgvkrAhABEjIKB29wdGlvbnMYAyABKAsyIS5iZ3MucHJv",
"dG9jb2wuY2x1Yi52MS5Sb2xlT3B0aW9ucyKUAQoTVW5hc3NpZ25Sb2xlUmVx",
"dWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYx",
"Lk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARIyCgdvcHRpb25z",
"GAMgASgLMiEuYmdzLnByb3RvY29sLmNsdWIudjEuUm9sZU9wdGlvbnMioAEK",
"FVNlbmRJbnZpdGF0aW9uUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJn",
"cy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARC",
"BoL5KwIQARI8CgdvcHRpb25zGAMgASgLMisuYmdzLnByb3RvY29sLmNsdWIu",
"djEuU2VuZEludml0YXRpb25PcHRpb25zInsKF0FjY2VwdEludml0YXRpb25S",
"ZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIu",
"djEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhUKDWludml0",
"YXRpb25faWQYAyABKAYifAoYRGVjbGluZUludml0YXRpb25SZXF1ZXN0EjAK",
"CGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVy",
"SWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhUKDWludml0YXRpb25faWQY",
"AyABKAYiewoXUmV2b2tlSW52aXRhdGlvblJlcXVlc3QSMAoIYWdlbnRfaWQY",
"ASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHVi",
"X2lkGAIgASgEQgaC+SsCEAESFQoNaW52aXRhdGlvbl9pZBgDIAEoBiJ4ChRH",
"ZXRJbnZpdGF0aW9uUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5w",
"cm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5",
"KwIQARIVCg1pbnZpdGF0aW9uX2lkGAMgASgGIlEKFUdldEludml0YXRpb25S",
"ZXNwb25zZRI4CgppbnZpdGF0aW9uGAEgASgLMiQuYmdzLnByb3RvY29sLmNs",
"dWIudjEuQ2x1Ykludml0YXRpb24ieAoVR2V0SW52aXRhdGlvbnNSZXF1ZXN0",
"EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVt",
"YmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhQKDGNvbnRpbnVhdGlv",
"bhgDIAEoBCJoChZHZXRJbnZpdGF0aW9uc1Jlc3BvbnNlEjgKCmludml0YXRp",
"b24YASADKAsyJC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViSW52aXRhdGlv",
"bhIUCgxjb250aW51YXRpb24YAiABKAQioAEKFVNlbmRTdWdnZXN0aW9uUmVx",
"dWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYx",
"Lk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARI8CgdvcHRpb25z",
"GAMgASgLMisuYmdzLnByb3RvY29sLmNsdWIudjEuU2VuZFN1Z2dlc3Rpb25P",
"cHRpb25zInsKF0FjY2VwdFN1Z2dlc3Rpb25SZXF1ZXN0EjAKCGFnZW50X2lk",
"GAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1",
"Yl9pZBgCIAEoBEIGgvkrAhABEhUKDXN1Z2dlc3Rpb25faWQYAyABKAYifAoY",
"RGVjbGluZVN1Z2dlc3Rpb25SZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4u",
"YmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEo",
"BEIGgvkrAhABEhUKDXN1Z2dlc3Rpb25faWQYAyABKAYieAoUR2V0U3VnZ2Vz",
"dGlvblJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wu",
"Y2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESFQoN",
"c3VnZ2VzdGlvbl9pZBgDIAEoBiJRChVHZXRTdWdnZXN0aW9uUmVzcG9uc2US",
"OAoKc3VnZ2VzdGlvbhgBIAEoCzIkLmJncy5wcm90b2NvbC5jbHViLnYxLkNs",
"dWJTdWdnZXN0aW9uIngKFUdldFN1Z2dlc3Rpb25zUmVxdWVzdBIwCghhZ2Vu",
"dF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhcK",
"B2NsdWJfaWQYAiABKARCBoL5KwIQARIUCgxjb250aW51YXRpb24YAyABKAQi",
"aAoWR2V0U3VnZ2VzdGlvbnNSZXNwb25zZRI4CgpzdWdnZXN0aW9uGAEgAygL",
"MiQuYmdzLnByb3RvY29sLmNsdWIudjEuQ2x1YlN1Z2dlc3Rpb24SFAoMY29u",
"dGludWF0aW9uGAIgASgEIpwBChNDcmVhdGVUaWNrZXRSZXF1ZXN0EjAKCGFn",
"ZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQS",
"FwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEjoKB29wdGlvbnMYAyABKAsyKS5i",
"Z3MucHJvdG9jb2wuY2x1Yi52MS5DcmVhdGVUaWNrZXRPcHRpb25zIkgKFENy",
"ZWF0ZVRpY2tldFJlc3BvbnNlEjAKBnRpY2tldBgBIAEoCzIgLmJncy5wcm90",
"b2NvbC5jbHViLnYxLkNsdWJUaWNrZXQidAoURGVzdHJveVRpY2tldFJlcXVl",
"c3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5N",
"ZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESEQoJdGlja2V0X2lk",
"GAMgASgJIloKE1JlZGVlbVRpY2tldFJlcXVlc3QSMAoIYWdlbnRfaWQYASAB",
"KAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIRCgl0aWNrZXRf",
"aWQYAyABKAkiVwoQR2V0VGlja2V0UmVxdWVzdBIwCghhZ2VudF9pZBgBIAEo",
"CzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEhEKCXRpY2tldF9p",
"ZBgDIAEoCSJFChFHZXRUaWNrZXRSZXNwb25zZRIwCgZ0aWNrZXQYASABKAsy",
"IC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5DbHViVGlja2V0InQKEUdldFRpY2tl",
"dHNSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNs",
"dWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhQKDGNv",
"bnRpbnVhdGlvbhgDIAEoBCJcChJHZXRUaWNrZXRzUmVzcG9uc2USMAoGdGlj",
"a2V0GAEgAygLMiAuYmdzLnByb3RvY29sLmNsdWIudjEuQ2x1YlRpY2tldBIU",
"Cgxjb250aW51YXRpb24YAiABKAQikAEKDUFkZEJhblJlcXVlc3QSMAoIYWdl",
"bnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIX",
"CgdjbHViX2lkGAIgASgEQgaC+SsCEAESNAoHb3B0aW9ucxgDIAEoCzIjLmJn",
"cy5wcm90b2NvbC5jbHViLnYxLkFkZEJhbk9wdGlvbnMikAEKEFJlbW92ZUJh",
"blJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1",
"Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESMQoJdGFy",
"Z2V0X2lkGAMgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQi",
"jQEKDUdldEJhblJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJv",
"dG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsC",
"EAESMQoJdGFyZ2V0X2lkGAMgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEu",
"TWVtYmVySWQiPAoOR2V0QmFuUmVzcG9uc2USKgoDYmFuGAEgASgLMh0uYmdz",
"LnByb3RvY29sLmNsdWIudjEuQ2x1YkJhbiJxCg5HZXRCYW5zUmVxdWVzdBIw",
"CghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJl",
"cklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARIUCgxjb250aW51YXRpb24Y",
"AyABKAQiUwoPR2V0QmFuc1Jlc3BvbnNlEioKA2JhbhgBIAMoCzIdLmJncy5w",
"cm90b2NvbC5jbHViLnYxLkNsdWJCYW4SFAoMY29udGludWF0aW9uGAIgASgE",
"InYKFlN1YnNjcmliZVN0cmVhbVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsy",
"Hi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIg",
"ASgEQgaC+SsCEAESEQoJc3RyZWFtX2lkGAMgAygEIngKGFVuc3Vic2NyaWJl",
"U3RyZWFtUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2Nv",
"bC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARIR",
"CglzdHJlYW1faWQYAyADKAQinAEKE0NyZWF0ZVN0cmVhbVJlcXVlc3QSMAoI",
"YWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJ",
"ZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESOgoHb3B0aW9ucxgDIAEoCzIp",
"LmJncy5wcm90b2NvbC5jbHViLnYxLkNyZWF0ZVN0cmVhbU9wdGlvbnMiOgoU",
"Q3JlYXRlU3RyZWFtUmVzcG9uc2USDwoHY2x1Yl9pZBgBIAEoBBIRCglzdHJl",
"YW1faWQYAiABKAQidAoURGVzdHJveVN0cmVhbVJlcXVlc3QSMAoIYWdlbnRf",
"aWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdj",
"bHViX2lkGAIgASgEQgaC+SsCEAESEQoJc3RyZWFtX2lkGAMgASgEInAKEEdl",
"dFN0cmVhbVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9j",
"b2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAES",
"EQoJc3RyZWFtX2lkGAMgASgEIkEKEUdldFN0cmVhbVJlc3BvbnNlEiwKBnN0",
"cmVhbRgBIAEoCzIcLmJncy5wcm90b2NvbC5jbHViLnYxLlN0cmVhbSJ0ChFH",
"ZXRTdHJlYW1zUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90",
"b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQ",
"ARIUCgxjb250aW51YXRpb24YAyABKAQiiAEKEkdldFN0cmVhbXNSZXNwb25z",
"ZRIsCgZzdHJlYW0YASADKAsyHC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5TdHJl",
"YW0SLgoEdmlldxgCIAMoCzIgLmJncy5wcm90b2NvbC5jbHViLnYxLlN0cmVh",
"bVZpZXcSFAoMY29udGludWF0aW9uGAMgASgEIrMBChhVcGRhdGVTdHJlYW1T",
"dGF0ZVJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wu",
"Y2x1Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESEQoJ",
"c3RyZWFtX2lkGAMgASgEEjkKB29wdGlvbnMYBSABKAsyKC5iZ3MucHJvdG9j",
"b2wuY2x1Yi52MS5TdHJlYW1TdGF0ZU9wdGlvbnMihAEKFVNldFN0cmVhbUZv",
"Y3VzUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5j",
"bHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARIRCglz",
"dHJlYW1faWQYAyABKAQSDQoFZm9jdXMYBCABKAgisQEKFENyZWF0ZU1lc3Nh",
"Z2VSZXF1ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNs",
"dWIudjEuTWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhEKCXN0",
"cmVhbV9pZBgDIAEoBBI7CgdvcHRpb25zGAQgASgLMiouYmdzLnByb3RvY29s",
"LmNsdWIudjEuQ3JlYXRlTWVzc2FnZU9wdGlvbnMiTQoVQ3JlYXRlTWVzc2Fn",
"ZVJlc3BvbnNlEjQKB21lc3NhZ2UYASABKAsyIy5iZ3MucHJvdG9jb2wuY2x1",
"Yi52MS5TdHJlYW1NZXNzYWdlIqIBChVEZXN0cm95TWVzc2FnZVJlcXVlc3QS",
"MAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1i",
"ZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESEQoJc3RyZWFtX2lkGAMg",
"ASgEEisKCm1lc3NhZ2VfaWQYBCABKAsyFy5iZ3MucHJvdG9jb2wuTWVzc2Fn",
"ZUlkIk4KFkRlc3Ryb3lNZXNzYWdlUmVzcG9uc2USNAoHbWVzc2FnZRgBIAEo",
"CzIjLmJncy5wcm90b2NvbC5jbHViLnYxLlN0cmVhbU1lc3NhZ2Ui3AEKEkVk",
"aXRNZXNzYWdlUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90",
"b2NvbC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQ",
"ARIRCglzdHJlYW1faWQYAyABKAQSKwoKbWVzc2FnZV9pZBgEIAEoCzIXLmJn",
"cy5wcm90b2NvbC5NZXNzYWdlSWQSOwoHb3B0aW9ucxgFIAEoCzIqLmJncy5w",
"cm90b2NvbC5jbHViLnYxLkNyZWF0ZU1lc3NhZ2VPcHRpb25zIksKE0VkaXRN",
"ZXNzYWdlUmVzcG9uc2USNAoHbWVzc2FnZRgBIAEoCzIjLmJncy5wcm90b2Nv",
"bC5jbHViLnYxLlN0cmVhbU1lc3NhZ2UidwoXU2V0TWVzc2FnZVBpbm5lZFJl",
"cXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52",
"MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESEQoJc3RyZWFt",
"X2lkGAMgASgEIrkBChlTZXRUeXBpbmdJbmRpY2F0b3JSZXF1ZXN0EjAKCGFn",
"ZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQS",
"FwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhEKCXN0cmVhbV9pZBgDIAEoBBI+",
"CglpbmRpY2F0b3IYBCABKA4yHS5iZ3MucHJvdG9jb2wuVHlwaW5nSW5kaWNh",
"dG9yOgxUWVBJTkdfU1RBUlQiogEKHEFkdmFuY2VTdHJlYW1WaWV3VGltZVJl",
"cXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52",
"MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESIAoUc3RyZWFt",
"X2lkX2RlcHJlY2F0ZWQYAyABKARCAhgBEhUKCXN0cmVhbV9pZBgEIAMoBEIC",
"EAEigwEKI0FkdmFuY2VTdHJlYW1NZW50aW9uVmlld1RpbWVSZXF1ZXN0EjAK",
"CGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVy",
"SWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhEKCXN0cmVhbV9pZBgDIAEo",
"BCJrCh5BZHZhbmNlQWN0aXZpdHlWaWV3VGltZVJlcXVlc3QSMAoIYWdlbnRf",
"aWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1Yi52MS5NZW1iZXJJZBIXCgdj",
"bHViX2lkGAIgASgEQgaC+SsCEAEipwEKF0dldFN0cmVhbUhpc3RvcnlSZXF1",
"ZXN0EjAKCGFnZW50X2lkGAEgASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEu",
"TWVtYmVySWQSFwoHY2x1Yl9pZBgCIAEoBEIGgvkrAhABEhEKCXN0cmVhbV9p",
"ZBgDIAEoBBIuCgdvcHRpb25zGAQgASgLMh0uYmdzLnByb3RvY29sLkdldEV2",
"ZW50T3B0aW9ucyJmChhHZXRTdHJlYW1IaXN0b3J5UmVzcG9uc2USNAoHbWVz",
"c2FnZRgBIAMoCzIjLmJncy5wcm90b2NvbC5jbHViLnYxLlN0cmVhbU1lc3Nh",
"Z2USFAoMY29udGludWF0aW9uGAIgASgEIqQBChdHZXRTdHJlYW1NZXNzYWdl",
"UmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHVi",
"LnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARIRCglzdHJl",
"YW1faWQYAyABKAQSKwoKbWVzc2FnZV9pZBgEIAEoCzIXLmJncy5wcm90b2Nv",
"bC5NZXNzYWdlSWQiUAoYR2V0U3RyZWFtTWVzc2FnZVJlc3BvbnNlEjQKB21l",
"c3NhZ2UYASABKAsyIy5iZ3MucHJvdG9jb2wuY2x1Yi52MS5TdHJlYW1NZXNz",
"YWdlIpMBChZHZXRDbHViQWN0aXZpdHlSZXF1ZXN0EjAKCGFnZW50X2lkGAEg",
"ASgLMh4uYmdzLnByb3RvY29sLmNsdWIudjEuTWVtYmVySWQSFwoHY2x1Yl9p",
"ZBgCIAEoBEIGgvkrAhABEi4KB29wdGlvbnMYAyABKAsyHS5iZ3MucHJvdG9j",
"b2wuR2V0RXZlbnRPcHRpb25zIi8KF0dldENsdWJBY3Rpdml0eVJlc3BvbnNl",
"EhQKDGNvbnRpbnVhdGlvbhgCIAEoBCKnAQoaR2V0U3RyZWFtVm9pY2VUb2tl",
"blJlcXVlc3QSMAoIYWdlbnRfaWQYASABKAsyHi5iZ3MucHJvdG9jb2wuY2x1",
"Yi52MS5NZW1iZXJJZBIXCgdjbHViX2lkGAIgASgEQgaC+SsCEAESEQoJc3Ry",
"ZWFtX2lkGAMgASgEEisKB3ZlcnNpb24YBCABKA1CGoL5KxYqFFZvaWNlUHJv",
"dmlkZXJWZXJzaW9uImcKG0dldFN0cmVhbVZvaWNlVG9rZW5SZXNwb25zZRIT",
"CgtjaGFubmVsX3VyaRgBIAEoCRIzCgtjcmVkZW50aWFscxgCIAEoCzIeLmJn",
"cy5wcm90b2NvbC5Wb2ljZUNyZWRlbnRpYWxzIq0BChpLaWNrRnJvbVN0cmVh",
"bVZvaWNlUmVxdWVzdBIwCghhZ2VudF9pZBgBIAEoCzIeLmJncy5wcm90b2Nv",
"bC5jbHViLnYxLk1lbWJlcklkEhcKB2NsdWJfaWQYAiABKARCBoL5KwIQARIR",
"CglzdHJlYW1faWQYAyABKAQSMQoJdGFyZ2V0X2lkGAQgASgLMh4uYmdzLnBy",
"b3RvY29sLmNsdWIudjEuTWVtYmVySWRQAA=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.Club.V1.ClubTypesReflection.Descriptor, global::Bgs.Protocol.MessageOptionsReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MethodOptionsReflection.Descriptor, global::Bgs.Protocol.ServiceOptionsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.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" }, 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;
_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;
}
[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;
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();
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);
}
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);
}
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);
}
_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;
}
}
}
}
}
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(() => new CreateStreamRequest());
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[54]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateStreamRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateStreamRequest(CreateStreamRequest 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 CreateStreamRequest Clone() {
return new CreateStreamRequest(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.CreateStreamOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.CreateStreamOptions 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 CreateStreamRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(CreateStreamRequest 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(CreateStreamRequest 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.CreateStreamOptions();
}
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.CreateStreamOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
public sealed partial class CreateStreamResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CreateStreamResponse());
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[55]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateStreamResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateStreamResponse(CreateStreamResponse other) : this() {
_hasBits0 = other._hasBits0;
clubId_ = other.clubId_;
streamId_ = other.streamId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public CreateStreamResponse Clone() {
return new CreateStreamResponse(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;
}
/// Field number for the "stream_id" field.
public const int StreamIdFieldNumber = 2;
private readonly static ulong StreamIdDefaultValue = 0UL;
private ulong streamId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong StreamId {
get { if ((_hasBits0 & 2) != 0) { return streamId_; } else { return StreamIdDefaultValue; } }
set {
_hasBits0 |= 2;
streamId_ = value;
}
}
/// Gets whether the "stream_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasStreamId {
get { return (_hasBits0 & 2) != 0; }
}
/// Clears the value of the "stream_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearStreamId() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as CreateStreamResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(CreateStreamResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ClubId != other.ClubId) return false;
if (StreamId != other.StreamId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasClubId) hash ^= ClubId.GetHashCode();
if (HasStreamId) 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 (HasClubId) {
output.WriteRawTag(8);
output.WriteUInt64(ClubId);
}
if (HasStreamId) {
output.WriteRawTag(16);
output.WriteUInt64(StreamId);
}
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 (HasStreamId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(StreamId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(CreateStreamResponse other) {
if (other == null) {
return;
}
if (other.HasClubId) {
ClubId = other.ClubId;
}
if (other.HasStreamId) {
StreamId = 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 8: {
ClubId = input.ReadUInt64();
break;
}
case 16: {
StreamId = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class DestroyStreamRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser