//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mxaccess_gateway.proto
//
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace MxGateway.Contracts.Proto {
/// Holder for reflection information generated from mxaccess_gateway.proto
public static partial class MxaccessGatewayReflection {
#region Descriptor
/// File descriptor for mxaccess_gateway.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static MxaccessGatewayReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChZteGFjY2Vzc19nYXRld2F5LnByb3RvEhNteGFjY2Vzc19nYXRld2F5LnYx",
"Gh5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8aH2dvb2dsZS9wcm90",
"b2J1Zi90aW1lc3RhbXAucHJvdG8inwEKEk9wZW5TZXNzaW9uUmVxdWVzdBIZ",
"ChFyZXF1ZXN0ZWRfYmFja2VuZBgBIAEoCRIbChNjbGllbnRfc2Vzc2lvbl9u",
"YW1lGAIgASgJEh0KFWNsaWVudF9jb3JyZWxhdGlvbl9pZBgDIAEoCRIyCg9j",
"b21tYW5kX3RpbWVvdXQYBCABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRp",
"b24iqgIKEE9wZW5TZXNzaW9uUmVwbHkSEgoKc2Vzc2lvbl9pZBgBIAEoCRIU",
"CgxiYWNrZW5kX25hbWUYAiABKAkSGQoRd29ya2VyX3Byb2Nlc3NfaWQYAyAB",
"KAUSHwoXd29ya2VyX3Byb3RvY29sX3ZlcnNpb24YBCABKA0SFAoMY2FwYWJp",
"bGl0aWVzGAUgAygJEjoKF2RlZmF1bHRfY29tbWFuZF90aW1lb3V0GAYgASgL",
"MhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEjwKD3Byb3RvY29sX3N0YXR1",
"cxgHIAEoCzIjLm14YWNjZXNzX2dhdGV3YXkudjEuUHJvdG9jb2xTdGF0dXMS",
"IAoYZ2F0ZXdheV9wcm90b2NvbF92ZXJzaW9uGAggASgNIkgKE0Nsb3NlU2Vz",
"c2lvblJlcXVlc3QSEgoKc2Vzc2lvbl9pZBgBIAEoCRIdChVjbGllbnRfY29y",
"cmVsYXRpb25faWQYAiABKAkinQEKEUNsb3NlU2Vzc2lvblJlcGx5EhIKCnNl",
"c3Npb25faWQYASABKAkSNgoLZmluYWxfc3RhdGUYAiABKA4yIS5teGFjY2Vz",
"c19nYXRld2F5LnYxLlNlc3Npb25TdGF0ZRI8Cg9wcm90b2NvbF9zdGF0dXMY",
"AyABKAsyIy5teGFjY2Vzc19nYXRld2F5LnYxLlByb3RvY29sU3RhdHVzIkgK",
"E1N0cmVhbUV2ZW50c1JlcXVlc3QSEgoKc2Vzc2lvbl9pZBgBIAEoCRIdChVh",
"ZnRlcl93b3JrZXJfc2VxdWVuY2UYAiABKAQidgoQTXhDb21tYW5kUmVxdWVz",
"dBISCgpzZXNzaW9uX2lkGAEgASgJEh0KFWNsaWVudF9jb3JyZWxhdGlvbl9p",
"ZBgCIAEoCRIvCgdjb21tYW5kGAMgASgLMh4ubXhhY2Nlc3NfZ2F0ZXdheS52",
"MS5NeENvbW1hbmQizw8KCU14Q29tbWFuZBIwCgRraW5kGAEgASgOMiIubXhh",
"Y2Nlc3NfZ2F0ZXdheS52MS5NeENvbW1hbmRLaW5kEjgKCHJlZ2lzdGVyGAog",
"ASgLMiQubXhhY2Nlc3NfZ2F0ZXdheS52MS5SZWdpc3RlckNvbW1hbmRIABI8",
"Cgp1bnJlZ2lzdGVyGAsgASgLMiYubXhhY2Nlc3NfZ2F0ZXdheS52MS5VbnJl",
"Z2lzdGVyQ29tbWFuZEgAEjcKCGFkZF9pdGVtGAwgASgLMiMubXhhY2Nlc3Nf",
"Z2F0ZXdheS52MS5BZGRJdGVtQ29tbWFuZEgAEjkKCWFkZF9pdGVtMhgNIAEo",
"CzIkLm14YWNjZXNzX2dhdGV3YXkudjEuQWRkSXRlbTJDb21tYW5kSAASPQoL",
"cmVtb3ZlX2l0ZW0YDiABKAsyJi5teGFjY2Vzc19nYXRld2F5LnYxLlJlbW92",
"ZUl0ZW1Db21tYW5kSAASNAoGYWR2aXNlGA8gASgLMiIubXhhY2Nlc3NfZ2F0",
"ZXdheS52MS5BZHZpc2VDb21tYW5kSAASOQoJdW5fYWR2aXNlGBAgASgLMiQu",
"bXhhY2Nlc3NfZ2F0ZXdheS52MS5VbkFkdmlzZUNvbW1hbmRIABJLChJhZHZp",
"c2Vfc3VwZXJ2aXNvcnkYESABKAsyLS5teGFjY2Vzc19nYXRld2F5LnYxLkFk",
"dmlzZVN1cGVydmlzb3J5Q29tbWFuZEgAEkgKEWFkZF9idWZmZXJlZF9pdGVt",
"GBIgASgLMisubXhhY2Nlc3NfZ2F0ZXdheS52MS5BZGRCdWZmZXJlZEl0ZW1D",
"b21tYW5kSAASXQocc2V0X2J1ZmZlcmVkX3VwZGF0ZV9pbnRlcnZhbBgTIAEo",
"CzI1Lm14YWNjZXNzX2dhdGV3YXkudjEuU2V0QnVmZmVyZWRVcGRhdGVJbnRl",
"cnZhbENvbW1hbmRIABI2CgdzdXNwZW5kGBQgASgLMiMubXhhY2Nlc3NfZ2F0",
"ZXdheS52MS5TdXNwZW5kQ29tbWFuZEgAEjgKCGFjdGl2YXRlGBUgASgLMiQu",
"bXhhY2Nlc3NfZ2F0ZXdheS52MS5BY3RpdmF0ZUNvbW1hbmRIABIyCgV3cml0",
"ZRgWIAEoCzIhLm14YWNjZXNzX2dhdGV3YXkudjEuV3JpdGVDb21tYW5kSAAS",
"NAoGd3JpdGUyGBcgASgLMiIubXhhY2Nlc3NfZ2F0ZXdheS52MS5Xcml0ZTJD",
"b21tYW5kSAASQQoNd3JpdGVfc2VjdXJlZBgYIAEoCzIoLm14YWNjZXNzX2dh",
"dGV3YXkudjEuV3JpdGVTZWN1cmVkQ29tbWFuZEgAEkMKDndyaXRlX3NlY3Vy",
"ZWQyGBkgASgLMikubXhhY2Nlc3NfZ2F0ZXdheS52MS5Xcml0ZVNlY3VyZWQy",
"Q29tbWFuZEgAEkkKEWF1dGhlbnRpY2F0ZV91c2VyGBogASgLMiwubXhhY2Nl",
"c3NfZ2F0ZXdheS52MS5BdXRoZW50aWNhdGVVc2VyQ29tbWFuZEgAEk0KFGFy",
"Y2hlc3RyYV91c2VyX3RvX2lkGBsgASgLMi0ubXhhY2Nlc3NfZ2F0ZXdheS52",
"MS5BcmNoZXN0ckFVc2VyVG9JZENvbW1hbmRIABJACg1hZGRfaXRlbV9idWxr",
"GBwgASgLMicubXhhY2Nlc3NfZ2F0ZXdheS52MS5BZGRJdGVtQnVsa0NvbW1h",
"bmRIABJGChBhZHZpc2VfaXRlbV9idWxrGB0gASgLMioubXhhY2Nlc3NfZ2F0",
"ZXdheS52MS5BZHZpc2VJdGVtQnVsa0NvbW1hbmRIABJGChByZW1vdmVfaXRl",
"bV9idWxrGB4gASgLMioubXhhY2Nlc3NfZ2F0ZXdheS52MS5SZW1vdmVJdGVt",
"QnVsa0NvbW1hbmRIABJLChN1bl9hZHZpc2VfaXRlbV9idWxrGB8gASgLMiwu",
"bXhhY2Nlc3NfZ2F0ZXdheS52MS5VbkFkdmlzZUl0ZW1CdWxrQ29tbWFuZEgA",
"EkMKDnN1YnNjcmliZV9idWxrGCAgASgLMikubXhhY2Nlc3NfZ2F0ZXdheS52",
"MS5TdWJzY3JpYmVCdWxrQ29tbWFuZEgAEkcKEHVuc3Vic2NyaWJlX2J1bGsY",
"ISABKAsyKy5teGFjY2Vzc19nYXRld2F5LnYxLlVuc3Vic2NyaWJlQnVsa0Nv",
"bW1hbmRIABIwCgRwaW5nGGQgASgLMiAubXhhY2Nlc3NfZ2F0ZXdheS52MS5Q",
"aW5nQ29tbWFuZEgAEkgKEWdldF9zZXNzaW9uX3N0YXRlGGUgASgLMisubXhh",
"Y2Nlc3NfZ2F0ZXdheS52MS5HZXRTZXNzaW9uU3RhdGVDb21tYW5kSAASRAoP",
"Z2V0X3dvcmtlcl9pbmZvGGYgASgLMikubXhhY2Nlc3NfZ2F0ZXdheS52MS5H",
"ZXRXb3JrZXJJbmZvQ29tbWFuZEgAEj8KDGRyYWluX2V2ZW50cxhnIAEoCzIn",
"Lm14YWNjZXNzX2dhdGV3YXkudjEuRHJhaW5FdmVudHNDb21tYW5kSAASRQoP",
"c2h1dGRvd25fd29ya2VyGGggASgLMioubXhhY2Nlc3NfZ2F0ZXdheS52MS5T",
"aHV0ZG93bldvcmtlckNvbW1hbmRIAEIJCgdwYXlsb2FkIiYKD1JlZ2lzdGVy",
"Q29tbWFuZBITCgtjbGllbnRfbmFtZRgBIAEoCSIqChFVbnJlZ2lzdGVyQ29t",
"bWFuZBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgFIkAKDkFkZEl0ZW1Db21tYW5k",
"EhUKDXNlcnZlcl9oYW5kbGUYASABKAUSFwoPaXRlbV9kZWZpbml0aW9uGAIg",
"ASgJIlcKD0FkZEl0ZW0yQ29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgF",
"EhcKD2l0ZW1fZGVmaW5pdGlvbhgCIAEoCRIUCgxpdGVtX2NvbnRleHQYAyAB",
"KAkiPwoRUmVtb3ZlSXRlbUNvbW1hbmQSFQoNc2VydmVyX2hhbmRsZRgBIAEo",
"BRITCgtpdGVtX2hhbmRsZRgCIAEoBSI7Cg1BZHZpc2VDb21tYW5kEhUKDXNl",
"cnZlcl9oYW5kbGUYASABKAUSEwoLaXRlbV9oYW5kbGUYAiABKAUiPQoPVW5B",
"ZHZpc2VDb21tYW5kEhUKDXNlcnZlcl9oYW5kbGUYASABKAUSEwoLaXRlbV9o",
"YW5kbGUYAiABKAUiRgoYQWR2aXNlU3VwZXJ2aXNvcnlDb21tYW5kEhUKDXNl",
"cnZlcl9oYW5kbGUYASABKAUSEwoLaXRlbV9oYW5kbGUYAiABKAUiXgoWQWRk",
"QnVmZmVyZWRJdGVtQ29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgFEhcK",
"D2l0ZW1fZGVmaW5pdGlvbhgCIAEoCRIUCgxpdGVtX2NvbnRleHQYAyABKAki",
"XwogU2V0QnVmZmVyZWRVcGRhdGVJbnRlcnZhbENvbW1hbmQSFQoNc2VydmVy",
"X2hhbmRsZRgBIAEoBRIkChx1cGRhdGVfaW50ZXJ2YWxfbWlsbGlzZWNvbmRz",
"GAIgASgFIjwKDlN1c3BlbmRDb21tYW5kEhUKDXNlcnZlcl9oYW5kbGUYASAB",
"KAUSEwoLaXRlbV9oYW5kbGUYAiABKAUiPQoPQWN0aXZhdGVDb21tYW5kEhUK",
"DXNlcnZlcl9oYW5kbGUYASABKAUSEwoLaXRlbV9oYW5kbGUYAiABKAUieAoM",
"V3JpdGVDb21tYW5kEhUKDXNlcnZlcl9oYW5kbGUYASABKAUSEwoLaXRlbV9o",
"YW5kbGUYAiABKAUSKwoFdmFsdWUYAyABKAsyHC5teGFjY2Vzc19nYXRld2F5",
"LnYxLk14VmFsdWUSDwoHdXNlcl9pZBgEIAEoBSKwAQoNV3JpdGUyQ29tbWFu",
"ZBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgFEhMKC2l0ZW1faGFuZGxlGAIgASgF",
"EisKBXZhbHVlGAMgASgLMhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeFZhbHVl",
"EjUKD3RpbWVzdGFtcF92YWx1ZRgEIAEoCzIcLm14YWNjZXNzX2dhdGV3YXku",
"djEuTXhWYWx1ZRIPCgd1c2VyX2lkGAUgASgFIqEBChNXcml0ZVNlY3VyZWRD",
"b21tYW5kEhUKDXNlcnZlcl9oYW5kbGUYASABKAUSEwoLaXRlbV9oYW5kbGUY",
"AiABKAUSFwoPY3VycmVudF91c2VyX2lkGAMgASgFEhgKEHZlcmlmaWVyX3Vz",
"ZXJfaWQYBCABKAUSKwoFdmFsdWUYBSABKAsyHC5teGFjY2Vzc19nYXRld2F5",
"LnYxLk14VmFsdWUi2QEKFFdyaXRlU2VjdXJlZDJDb21tYW5kEhUKDXNlcnZl",
"cl9oYW5kbGUYASABKAUSEwoLaXRlbV9oYW5kbGUYAiABKAUSFwoPY3VycmVu",
"dF91c2VyX2lkGAMgASgFEhgKEHZlcmlmaWVyX3VzZXJfaWQYBCABKAUSKwoF",
"dmFsdWUYBSABKAsyHC5teGFjY2Vzc19nYXRld2F5LnYxLk14VmFsdWUSNQoP",
"dGltZXN0YW1wX3ZhbHVlGAYgASgLMhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5N",
"eFZhbHVlImMKF0F1dGhlbnRpY2F0ZVVzZXJDb21tYW5kEhUKDXNlcnZlcl9o",
"YW5kbGUYASABKAUSEwoLdmVyaWZ5X3VzZXIYAiABKAkSHAoUdmVyaWZ5X3Vz",
"ZXJfcGFzc3dvcmQYAyABKAkiRwoYQXJjaGVzdHJBVXNlclRvSWRDb21tYW5k",
"EhUKDXNlcnZlcl9oYW5kbGUYASABKAUSFAoMdXNlcl9pZF9ndWlkGAIgASgJ",
"IkIKEkFkZEl0ZW1CdWxrQ29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgF",
"EhUKDXRhZ19hZGRyZXNzZXMYAiADKAkiRAoVQWR2aXNlSXRlbUJ1bGtDb21t",
"YW5kEhUKDXNlcnZlcl9oYW5kbGUYASABKAUSFAoMaXRlbV9oYW5kbGVzGAIg",
"AygFIkQKFVJlbW92ZUl0ZW1CdWxrQ29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxl",
"GAEgASgFEhQKDGl0ZW1faGFuZGxlcxgCIAMoBSJGChdVbkFkdmlzZUl0ZW1C",
"dWxrQ29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgFEhQKDGl0ZW1faGFu",
"ZGxlcxgCIAMoBSJEChRTdWJzY3JpYmVCdWxrQ29tbWFuZBIVCg1zZXJ2ZXJf",
"aGFuZGxlGAEgASgFEhUKDXRhZ19hZGRyZXNzZXMYAiADKAkiRQoWVW5zdWJz",
"Y3JpYmVCdWxrQ29tbWFuZBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgFEhQKDGl0",
"ZW1faGFuZGxlcxgCIAMoBSIeCgtQaW5nQ29tbWFuZBIPCgdtZXNzYWdlGAEg",
"ASgJIhgKFkdldFNlc3Npb25TdGF0ZUNvbW1hbmQiFgoUR2V0V29ya2VySW5m",
"b0NvbW1hbmQiKAoSRHJhaW5FdmVudHNDb21tYW5kEhIKCm1heF9ldmVudHMY",
"ASABKA0iSAoVU2h1dGRvd25Xb3JrZXJDb21tYW5kEi8KDGdyYWNlX3Blcmlv",
"ZBgBIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbiKsCwoOTXhDb21t",
"YW5kUmVwbHkSEgoKc2Vzc2lvbl9pZBgBIAEoCRIWCg5jb3JyZWxhdGlvbl9p",
"ZBgCIAEoCRIwCgRraW5kGAMgASgOMiIubXhhY2Nlc3NfZ2F0ZXdheS52MS5N",
"eENvbW1hbmRLaW5kEjwKD3Byb3RvY29sX3N0YXR1cxgEIAEoCzIjLm14YWNj",
"ZXNzX2dhdGV3YXkudjEuUHJvdG9jb2xTdGF0dXMSFAoHaHJlc3VsdBgFIAEo",
"BUgBiAEBEjIKDHJldHVybl92YWx1ZRgGIAEoCzIcLm14YWNjZXNzX2dhdGV3",
"YXkudjEuTXhWYWx1ZRI0CghzdGF0dXNlcxgHIAMoCzIiLm14YWNjZXNzX2dh",
"dGV3YXkudjEuTXhTdGF0dXNQcm94eRIaChJkaWFnbm9zdGljX21lc3NhZ2UY",
"CCABKAkSNgoIcmVnaXN0ZXIYFCABKAsyIi5teGFjY2Vzc19nYXRld2F5LnYx",
"LlJlZ2lzdGVyUmVwbHlIABI1CghhZGRfaXRlbRgVIAEoCzIhLm14YWNjZXNz",
"X2dhdGV3YXkudjEuQWRkSXRlbVJlcGx5SAASNwoJYWRkX2l0ZW0yGBYgASgL",
"MiIubXhhY2Nlc3NfZ2F0ZXdheS52MS5BZGRJdGVtMlJlcGx5SAASRgoRYWRk",
"X2J1ZmZlcmVkX2l0ZW0YFyABKAsyKS5teGFjY2Vzc19nYXRld2F5LnYxLkFk",
"ZEJ1ZmZlcmVkSXRlbVJlcGx5SAASNAoHc3VzcGVuZBgYIAEoCzIhLm14YWNj",
"ZXNzX2dhdGV3YXkudjEuU3VzcGVuZFJlcGx5SAASNgoIYWN0aXZhdGUYGSAB",
"KAsyIi5teGFjY2Vzc19nYXRld2F5LnYxLkFjdGl2YXRlUmVwbHlIABJHChFh",
"dXRoZW50aWNhdGVfdXNlchgaIAEoCzIqLm14YWNjZXNzX2dhdGV3YXkudjEu",
"QXV0aGVudGljYXRlVXNlclJlcGx5SAASSwoUYXJjaGVzdHJhX3VzZXJfdG9f",
"aWQYGyABKAsyKy5teGFjY2Vzc19nYXRld2F5LnYxLkFyY2hlc3RyQVVzZXJU",
"b0lkUmVwbHlIABJACg1hZGRfaXRlbV9idWxrGBwgASgLMicubXhhY2Nlc3Nf",
"Z2F0ZXdheS52MS5CdWxrU3Vic2NyaWJlUmVwbHlIABJDChBhZHZpc2VfaXRl",
"bV9idWxrGB0gASgLMicubXhhY2Nlc3NfZ2F0ZXdheS52MS5CdWxrU3Vic2Ny",
"aWJlUmVwbHlIABJDChByZW1vdmVfaXRlbV9idWxrGB4gASgLMicubXhhY2Nl",
"c3NfZ2F0ZXdheS52MS5CdWxrU3Vic2NyaWJlUmVwbHlIABJGChN1bl9hZHZp",
"c2VfaXRlbV9idWxrGB8gASgLMicubXhhY2Nlc3NfZ2F0ZXdheS52MS5CdWxr",
"U3Vic2NyaWJlUmVwbHlIABJBCg5zdWJzY3JpYmVfYnVsaxggIAEoCzInLm14",
"YWNjZXNzX2dhdGV3YXkudjEuQnVsa1N1YnNjcmliZVJlcGx5SAASQwoQdW5z",
"dWJzY3JpYmVfYnVsaxghIAEoCzInLm14YWNjZXNzX2dhdGV3YXkudjEuQnVs",
"a1N1YnNjcmliZVJlcGx5SAASPwoNc2Vzc2lvbl9zdGF0ZRhkIAEoCzImLm14",
"YWNjZXNzX2dhdGV3YXkudjEuU2Vzc2lvblN0YXRlUmVwbHlIABI7Cgt3b3Jr",
"ZXJfaW5mbxhlIAEoCzIkLm14YWNjZXNzX2dhdGV3YXkudjEuV29ya2VySW5m",
"b1JlcGx5SAASPQoMZHJhaW5fZXZlbnRzGGYgASgLMiUubXhhY2Nlc3NfZ2F0",
"ZXdheS52MS5EcmFpbkV2ZW50c1JlcGx5SABCCQoHcGF5bG9hZEIKCghfaHJl",
"c3VsdCImCg1SZWdpc3RlclJlcGx5EhUKDXNlcnZlcl9oYW5kbGUYASABKAUi",
"IwoMQWRkSXRlbVJlcGx5EhMKC2l0ZW1faGFuZGxlGAEgASgFIiQKDUFkZEl0",
"ZW0yUmVwbHkSEwoLaXRlbV9oYW5kbGUYASABKAUiKwoUQWRkQnVmZmVyZWRJ",
"dGVtUmVwbHkSEwoLaXRlbV9oYW5kbGUYASABKAUiQgoMU3VzcGVuZFJlcGx5",
"EjIKBnN0YXR1cxgBIAEoCzIiLm14YWNjZXNzX2dhdGV3YXkudjEuTXhTdGF0",
"dXNQcm94eSJDCg1BY3RpdmF0ZVJlcGx5EjIKBnN0YXR1cxgBIAEoCzIiLm14",
"YWNjZXNzX2dhdGV3YXkudjEuTXhTdGF0dXNQcm94eSIoChVBdXRoZW50aWNh",
"dGVVc2VyUmVwbHkSDwoHdXNlcl9pZBgBIAEoBSIpChZBcmNoZXN0ckFVc2Vy",
"VG9JZFJlcGx5Eg8KB3VzZXJfaWQYASABKAUigQEKD1N1YnNjcmliZVJlc3Vs",
"dBIVCg1zZXJ2ZXJfaGFuZGxlGAEgASgFEhMKC3RhZ19hZGRyZXNzGAIgASgJ",
"EhMKC2l0ZW1faGFuZGxlGAMgASgFEhYKDndhc19zdWNjZXNzZnVsGAQgASgI",
"EhUKDWVycm9yX21lc3NhZ2UYBSABKAkiSwoSQnVsa1N1YnNjcmliZVJlcGx5",
"EjUKB3Jlc3VsdHMYASADKAsyJC5teGFjY2Vzc19nYXRld2F5LnYxLlN1YnNj",
"cmliZVJlc3VsdCJFChFTZXNzaW9uU3RhdGVSZXBseRIwCgVzdGF0ZRgBIAEo",
"DjIhLm14YWNjZXNzX2dhdGV3YXkudjEuU2Vzc2lvblN0YXRlInUKD1dvcmtl",
"ckluZm9SZXBseRIZChF3b3JrZXJfcHJvY2Vzc19pZBgBIAEoBRIWCg53b3Jr",
"ZXJfdmVyc2lvbhgCIAEoCRIXCg9teGFjY2Vzc19wcm9naWQYAyABKAkSFgoO",
"bXhhY2Nlc3NfY2xzaWQYBCABKAkiQAoQRHJhaW5FdmVudHNSZXBseRIsCgZl",
"dmVudHMYASADKAsyHC5teGFjY2Vzc19nYXRld2F5LnYxLk14RXZlbnQi5wYK",
"B014RXZlbnQSMgoGZmFtaWx5GAEgASgOMiIubXhhY2Nlc3NfZ2F0ZXdheS52",
"MS5NeEV2ZW50RmFtaWx5EhIKCnNlc3Npb25faWQYAiABKAkSFQoNc2VydmVy",
"X2hhbmRsZRgDIAEoBRITCgtpdGVtX2hhbmRsZRgEIAEoBRIrCgV2YWx1ZRgF",
"IAEoCzIcLm14YWNjZXNzX2dhdGV3YXkudjEuTXhWYWx1ZRIPCgdxdWFsaXR5",
"GAYgASgFEjQKEHNvdXJjZV90aW1lc3RhbXAYByABKAsyGi5nb29nbGUucHJv",
"dG9idWYuVGltZXN0YW1wEjQKCHN0YXR1c2VzGAggAygLMiIubXhhY2Nlc3Nf",
"Z2F0ZXdheS52MS5NeFN0YXR1c1Byb3h5EhcKD3dvcmtlcl9zZXF1ZW5jZRgJ",
"IAEoBBI0ChB3b3JrZXJfdGltZXN0YW1wGAogASgLMhouZ29vZ2xlLnByb3Rv",
"YnVmLlRpbWVzdGFtcBI9ChlnYXRld2F5X3JlY2VpdmVfdGltZXN0YW1wGAsg",
"ASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIUCgdocmVzdWx0GAwg",
"ASgFSAGIAQESEgoKcmF3X3N0YXR1cxgNIAEoCRJACg5vbl9kYXRhX2NoYW5n",
"ZRgUIAEoCzImLm14YWNjZXNzX2dhdGV3YXkudjEuT25EYXRhQ2hhbmdlRXZl",
"bnRIABJGChFvbl93cml0ZV9jb21wbGV0ZRgVIAEoCzIpLm14YWNjZXNzX2dh",
"dGV3YXkudjEuT25Xcml0ZUNvbXBsZXRlRXZlbnRIABJJChJvcGVyYXRpb25f",
"Y29tcGxldGUYFiABKAsyKy5teGFjY2Vzc19nYXRld2F5LnYxLk9wZXJhdGlv",
"bkNvbXBsZXRlRXZlbnRIABJRChdvbl9idWZmZXJlZF9kYXRhX2NoYW5nZRgX",
"IAEoCzIuLm14YWNjZXNzX2dhdGV3YXkudjEuT25CdWZmZXJlZERhdGFDaGFu",
"Z2VFdmVudEgAEkoKE29uX2FsYXJtX3RyYW5zaXRpb24YGCABKAsyKy5teGFj",
"Y2Vzc19nYXRld2F5LnYxLk9uQWxhcm1UcmFuc2l0aW9uRXZlbnRIAEIGCgRi",
"b2R5QgoKCF9ocmVzdWx0IhMKEU9uRGF0YUNoYW5nZUV2ZW50IhYKFE9uV3Jp",
"dGVDb21wbGV0ZUV2ZW50IhgKFk9wZXJhdGlvbkNvbXBsZXRlRXZlbnQi1AEK",
"GU9uQnVmZmVyZWREYXRhQ2hhbmdlRXZlbnQSMgoJZGF0YV90eXBlGAEgASgO",
"Mh8ubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeERhdGFUeXBlEjQKDnF1YWxpdHlf",
"dmFsdWVzGAIgASgLMhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeEFycmF5EjYK",
"EHRpbWVzdGFtcF92YWx1ZXMYAyABKAsyHC5teGFjY2Vzc19nYXRld2F5LnYx",
"Lk14QXJyYXkSFQoNcmF3X2RhdGFfdHlwZRgEIAEoBSL9AwoWT25BbGFybVRy",
"YW5zaXRpb25FdmVudBIcChRhbGFybV9mdWxsX3JlZmVyZW5jZRgBIAEoCRIf",
"Chdzb3VyY2Vfb2JqZWN0X3JlZmVyZW5jZRgCIAEoCRIXCg9hbGFybV90eXBl",
"X25hbWUYAyABKAkSQQoPdHJhbnNpdGlvbl9raW5kGAQgASgOMigubXhhY2Nl",
"c3NfZ2F0ZXdheS52MS5BbGFybVRyYW5zaXRpb25LaW5kEhAKCHNldmVyaXR5",
"GAUgASgFEjwKGG9yaWdpbmFsX3JhaXNlX3RpbWVzdGFtcBgGIAEoCzIaLmdv",
"b2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASOAoUdHJhbnNpdGlvbl90aW1lc3Rh",
"bXAYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhUKDW9wZXJh",
"dG9yX3VzZXIYCCABKAkSGAoQb3BlcmF0b3JfY29tbWVudBgJIAEoCRIQCghj",
"YXRlZ29yeRgKIAEoCRITCgtkZXNjcmlwdGlvbhgLIAEoCRIzCg1jdXJyZW50",
"X3ZhbHVlGAwgASgLMhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeFZhbHVlEjEK",
"C2xpbWl0X3ZhbHVlGA0gASgLMhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeFZh",
"bHVlIv0DChNBY3RpdmVBbGFybVNuYXBzaG90EhwKFGFsYXJtX2Z1bGxfcmVm",
"ZXJlbmNlGAEgASgJEh8KF3NvdXJjZV9vYmplY3RfcmVmZXJlbmNlGAIgASgJ",
"EhcKD2FsYXJtX3R5cGVfbmFtZRgDIAEoCRIQCghzZXZlcml0eRgEIAEoBRI8",
"ChhvcmlnaW5hbF9yYWlzZV90aW1lc3RhbXAYBSABKAsyGi5nb29nbGUucHJv",
"dG9idWYuVGltZXN0YW1wEj8KDWN1cnJlbnRfc3RhdGUYBiABKA4yKC5teGFj",
"Y2Vzc19nYXRld2F5LnYxLkFsYXJtQ29uZGl0aW9uU3RhdGUSEAoIY2F0ZWdv",
"cnkYByABKAkSEwoLZGVzY3JpcHRpb24YCCABKAkSPQoZbGFzdF90cmFuc2l0",
"aW9uX3RpbWVzdGFtcBgJIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3Rh",
"bXASFQoNb3BlcmF0b3JfdXNlchgKIAEoCRIYChBvcGVyYXRvcl9jb21tZW50",
"GAsgASgJEjMKDWN1cnJlbnRfdmFsdWUYDCABKAsyHC5teGFjY2Vzc19nYXRl",
"d2F5LnYxLk14VmFsdWUSMQoLbGltaXRfdmFsdWUYDSABKAsyHC5teGFjY2Vz",
"c19nYXRld2F5LnYxLk14VmFsdWUikgEKF0Fja25vd2xlZGdlQWxhcm1SZXF1",
"ZXN0EhIKCnNlc3Npb25faWQYASABKAkSHQoVY2xpZW50X2NvcnJlbGF0aW9u",
"X2lkGAIgASgJEhwKFGFsYXJtX2Z1bGxfcmVmZXJlbmNlGAMgASgJEg8KB2Nv",
"bW1lbnQYBCABKAkSFQoNb3BlcmF0b3JfdXNlchgFIAEoCSLzAQoVQWNrbm93",
"bGVkZ2VBbGFybVJlcGx5EhIKCnNlc3Npb25faWQYASABKAkSFgoOY29ycmVs",
"YXRpb25faWQYAiABKAkSPAoPcHJvdG9jb2xfc3RhdHVzGAMgASgLMiMubXhh",
"Y2Nlc3NfZ2F0ZXdheS52MS5Qcm90b2NvbFN0YXR1cxIUCgdocmVzdWx0GAQg",
"ASgFSACIAQESMgoGc3RhdHVzGAUgASgLMiIubXhhY2Nlc3NfZ2F0ZXdheS52",
"MS5NeFN0YXR1c1Byb3h5EhoKEmRpYWdub3N0aWNfbWVzc2FnZRgGIAEoCUIK",
"CghfaHJlc3VsdCJqChhRdWVyeUFjdGl2ZUFsYXJtc1JlcXVlc3QSEgoKc2Vz",
"c2lvbl9pZBgBIAEoCRIdChVjbGllbnRfY29ycmVsYXRpb25faWQYAiABKAkS",
"GwoTYWxhcm1fZmlsdGVyX3ByZWZpeBgDIAEoCSLrAQoNTXhTdGF0dXNQcm94",
"eRIPCgdzdWNjZXNzGAEgASgFEjcKCGNhdGVnb3J5GAIgASgOMiUubXhhY2Nl",
"c3NfZ2F0ZXdheS52MS5NeFN0YXR1c0NhdGVnb3J5EjgKC2RldGVjdGVkX2J5",
"GAMgASgOMiMubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeFN0YXR1c1NvdXJjZRIO",
"CgZkZXRhaWwYBCABKAUSFAoMcmF3X2NhdGVnb3J5GAUgASgFEhcKD3Jhd19k",
"ZXRlY3RlZF9ieRgGIAEoBRIXCg9kaWFnbm9zdGljX3RleHQYByABKAkipwMK",
"B014VmFsdWUSMgoJZGF0YV90eXBlGAEgASgOMh8ubXhhY2Nlc3NfZ2F0ZXdh",
"eS52MS5NeERhdGFUeXBlEhQKDHZhcmlhbnRfdHlwZRgCIAEoCRIPCgdpc19u",
"dWxsGAMgASgIEhYKDnJhd19kaWFnbm9zdGljGAQgASgJEhUKDXJhd19kYXRh",
"X3R5cGUYBSABKAUSFAoKYm9vbF92YWx1ZRgKIAEoCEgAEhUKC2ludDMyX3Zh",
"bHVlGAsgASgFSAASFQoLaW50NjRfdmFsdWUYDCABKANIABIVCgtmbG9hdF92",
"YWx1ZRgNIAEoAkgAEhYKDGRvdWJsZV92YWx1ZRgOIAEoAUgAEhYKDHN0cmlu",
"Z192YWx1ZRgPIAEoCUgAEjUKD3RpbWVzdGFtcF92YWx1ZRgQIAEoCzIaLmdv",
"b2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIABIzCgthcnJheV92YWx1ZRgRIAEo",
"CzIcLm14YWNjZXNzX2dhdGV3YXkudjEuTXhBcnJheUgAEhMKCXJhd192YWx1",
"ZRgSIAEoDEgAQgYKBGtpbmQi/gQKB014QXJyYXkSOgoRZWxlbWVudF9kYXRh",
"X3R5cGUYASABKA4yHy5teGFjY2Vzc19nYXRld2F5LnYxLk14RGF0YVR5cGUS",
"FAoMdmFyaWFudF90eXBlGAIgASgJEhIKCmRpbWVuc2lvbnMYAyADKA0SFgoO",
"cmF3X2RpYWdub3N0aWMYBCABKAkSHQoVcmF3X2VsZW1lbnRfZGF0YV90eXBl",
"GAUgASgFEjUKC2Jvb2xfdmFsdWVzGAogASgLMh4ubXhhY2Nlc3NfZ2F0ZXdh",
"eS52MS5Cb29sQXJyYXlIABI3CgxpbnQzMl92YWx1ZXMYCyABKAsyHy5teGFj",
"Y2Vzc19nYXRld2F5LnYxLkludDMyQXJyYXlIABI3CgxpbnQ2NF92YWx1ZXMY",
"DCABKAsyHy5teGFjY2Vzc19nYXRld2F5LnYxLkludDY0QXJyYXlIABI3Cgxm",
"bG9hdF92YWx1ZXMYDSABKAsyHy5teGFjY2Vzc19nYXRld2F5LnYxLkZsb2F0",
"QXJyYXlIABI5Cg1kb3VibGVfdmFsdWVzGA4gASgLMiAubXhhY2Nlc3NfZ2F0",
"ZXdheS52MS5Eb3VibGVBcnJheUgAEjkKDXN0cmluZ192YWx1ZXMYDyABKAsy",
"IC5teGFjY2Vzc19nYXRld2F5LnYxLlN0cmluZ0FycmF5SAASPwoQdGltZXN0",
"YW1wX3ZhbHVlcxgQIAEoCzIjLm14YWNjZXNzX2dhdGV3YXkudjEuVGltZXN0",
"YW1wQXJyYXlIABIzCgpyYXdfdmFsdWVzGBEgASgLMh0ubXhhY2Nlc3NfZ2F0",
"ZXdheS52MS5SYXdBcnJheUgAQggKBnZhbHVlcyIbCglCb29sQXJyYXkSDgoG",
"dmFsdWVzGAEgAygIIhwKCkludDMyQXJyYXkSDgoGdmFsdWVzGAEgAygFIhwK",
"CkludDY0QXJyYXkSDgoGdmFsdWVzGAEgAygDIhwKCkZsb2F0QXJyYXkSDgoG",
"dmFsdWVzGAEgAygCIh0KC0RvdWJsZUFycmF5Eg4KBnZhbHVlcxgBIAMoASId",
"CgtTdHJpbmdBcnJheRIOCgZ2YWx1ZXMYASADKAkiPAoOVGltZXN0YW1wQXJy",
"YXkSKgoGdmFsdWVzGAEgAygLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFt",
"cCIaCghSYXdBcnJheRIOCgZ2YWx1ZXMYASADKAwiWAoOUHJvdG9jb2xTdGF0",
"dXMSNQoEY29kZRgBIAEoDjInLm14YWNjZXNzX2dhdGV3YXkudjEuUHJvdG9j",
"b2xTdGF0dXNDb2RlEg8KB21lc3NhZ2UYAiABKAkqoQgKDU14Q29tbWFuZEtp",
"bmQSHwobTVhfQ09NTUFORF9LSU5EX1VOU1BFQ0lGSUVEEAASHAoYTVhfQ09N",
"TUFORF9LSU5EX1JFR0lTVEVSEAESHgoaTVhfQ09NTUFORF9LSU5EX1VOUkVH",
"SVNURVIQAhIcChhNWF9DT01NQU5EX0tJTkRfQUREX0lURU0QAxIdChlNWF9D",
"T01NQU5EX0tJTkRfQUREX0lURU0yEAQSHwobTVhfQ09NTUFORF9LSU5EX1JF",
"TU9WRV9JVEVNEAUSGgoWTVhfQ09NTUFORF9LSU5EX0FEVklTRRAGEh0KGU1Y",
"X0NPTU1BTkRfS0lORF9VTl9BRFZJU0UQBxImCiJNWF9DT01NQU5EX0tJTkRf",
"QURWSVNFX1NVUEVSVklTT1JZEAgSJQohTVhfQ09NTUFORF9LSU5EX0FERF9C",
"VUZGRVJFRF9JVEVNEAkSMAosTVhfQ09NTUFORF9LSU5EX1NFVF9CVUZGRVJF",
"RF9VUERBVEVfSU5URVJWQUwQChIbChdNWF9DT01NQU5EX0tJTkRfU1VTUEVO",
"RBALEhwKGE1YX0NPTU1BTkRfS0lORF9BQ1RJVkFURRAMEhkKFU1YX0NPTU1B",
"TkRfS0lORF9XUklURRANEhoKFk1YX0NPTU1BTkRfS0lORF9XUklURTIQDhIh",
"Ch1NWF9DT01NQU5EX0tJTkRfV1JJVEVfU0VDVVJFRBAPEiIKHk1YX0NPTU1B",
"TkRfS0lORF9XUklURV9TRUNVUkVEMhAQEiUKIU1YX0NPTU1BTkRfS0lORF9B",
"VVRIRU5USUNBVEVfVVNFUhAREigKJE1YX0NPTU1BTkRfS0lORF9BUkNIRVNU",
"UkFfVVNFUl9UT19JRBASEiEKHU1YX0NPTU1BTkRfS0lORF9BRERfSVRFTV9C",
"VUxLEBMSJAogTVhfQ09NTUFORF9LSU5EX0FEVklTRV9JVEVNX0JVTEsQFBIk",
"CiBNWF9DT01NQU5EX0tJTkRfUkVNT1ZFX0lURU1fQlVMSxAVEicKI01YX0NP",
"TU1BTkRfS0lORF9VTl9BRFZJU0VfSVRFTV9CVUxLEBYSIgoeTVhfQ09NTUFO",
"RF9LSU5EX1NVQlNDUklCRV9CVUxLEBcSJAogTVhfQ09NTUFORF9LSU5EX1VO",
"U1VCU0NSSUJFX0JVTEsQGBIYChRNWF9DT01NQU5EX0tJTkRfUElORxBkEiUK",
"IU1YX0NPTU1BTkRfS0lORF9HRVRfU0VTU0lPTl9TVEFURRBlEiMKH01YX0NP",
"TU1BTkRfS0lORF9HRVRfV09SS0VSX0lORk8QZhIgChxNWF9DT01NQU5EX0tJ",
"TkRfRFJBSU5fRVZFTlRTEGcSIwofTVhfQ09NTUFORF9LSU5EX1NIVVRET1dO",
"X1dPUktFUhBoKvkBCg1NeEV2ZW50RmFtaWx5Eh8KG01YX0VWRU5UX0ZBTUlM",
"WV9VTlNQRUNJRklFRBAAEiIKHk1YX0VWRU5UX0ZBTUlMWV9PTl9EQVRBX0NI",
"QU5HRRABEiUKIU1YX0VWRU5UX0ZBTUlMWV9PTl9XUklURV9DT01QTEVURRAC",
"EiYKIk1YX0VWRU5UX0ZBTUlMWV9PUEVSQVRJT05fQ09NUExFVEUQAxIrCidN",
"WF9FVkVOVF9GQU1JTFlfT05fQlVGRkVSRURfREFUQV9DSEFOR0UQBBInCiNN",
"WF9FVkVOVF9GQU1JTFlfT05fQUxBUk1fVFJBTlNJVElPThAFKsoBChNBbGFy",
"bVRyYW5zaXRpb25LaW5kEiUKIUFMQVJNX1RSQU5TSVRJT05fS0lORF9VTlNQ",
"RUNJRklFRBAAEh8KG0FMQVJNX1RSQU5TSVRJT05fS0lORF9SQUlTRRABEiUK",
"IUFMQVJNX1RSQU5TSVRJT05fS0lORF9BQ0tOT1dMRURHRRACEh8KG0FMQVJN",
"X1RSQU5TSVRJT05fS0lORF9DTEVBUhADEiMKH0FMQVJNX1RSQU5TSVRJT05f",
"S0lORF9SRVRSSUdHRVIQBCqqAQoTQWxhcm1Db25kaXRpb25TdGF0ZRIlCiFB",
"TEFSTV9DT05ESVRJT05fU1RBVEVfVU5TUEVDSUZJRUQQABIgChxBTEFSTV9D",
"T05ESVRJT05fU1RBVEVfQUNUSVZFEAESJgoiQUxBUk1fQ09ORElUSU9OX1NU",
"QVRFX0FDVElWRV9BQ0tFRBACEiIKHkFMQVJNX0NPTkRJVElPTl9TVEFURV9J",
"TkFDVElWRRADKqUDChBNeFN0YXR1c0NhdGVnb3J5EiIKHk1YX1NUQVRVU19D",
"QVRFR09SWV9VTlNQRUNJRklFRBAAEh4KGk1YX1NUQVRVU19DQVRFR09SWV9V",
"TktOT1dOEAESGQoVTVhfU1RBVFVTX0NBVEVHT1JZX09LEAISHgoaTVhfU1RB",
"VFVTX0NBVEVHT1JZX1BFTkRJTkcQAxIeChpNWF9TVEFUVVNfQ0FURUdPUllf",
"V0FSTklORxAEEioKJk1YX1NUQVRVU19DQVRFR09SWV9DT01NVU5JQ0FUSU9O",
"X0VSUk9SEAUSKgomTVhfU1RBVFVTX0NBVEVHT1JZX0NPTkZJR1VSQVRJT05f",
"RVJST1IQBhIoCiRNWF9TVEFUVVNfQ0FURUdPUllfT1BFUkFUSU9OQUxfRVJS",
"T1IQBxIlCiFNWF9TVEFUVVNfQ0FURUdPUllfU0VDVVJJVFlfRVJST1IQCBIl",
"CiFNWF9TVEFUVVNfQ0FURUdPUllfU09GVFdBUkVfRVJST1IQCRIiCh5NWF9T",
"VEFUVVNfQ0FURUdPUllfT1RIRVJfRVJST1IQCirKAgoOTXhTdGF0dXNTb3Vy",
"Y2USIAocTVhfU1RBVFVTX1NPVVJDRV9VTlNQRUNJRklFRBAAEhwKGE1YX1NU",
"QVRVU19TT1VSQ0VfVU5LTk9XThABEiMKH01YX1NUQVRVU19TT1VSQ0VfUkVR",
"VUVTVElOR19MTVgQAhIjCh9NWF9TVEFUVVNfU09VUkNFX1JFU1BPTkRJTkdf",
"TE1YEAMSIwofTVhfU1RBVFVTX1NPVVJDRV9SRVFVRVNUSU5HX05NWBAEEiMK",
"H01YX1NUQVRVU19TT1VSQ0VfUkVTUE9ORElOR19OTVgQBRIxCi1NWF9TVEFU",
"VVNfU09VUkNFX1JFUVVFU1RJTkdfQVVUT01BVElPTl9PQkpFQ1QQBhIxCi1N",
"WF9TVEFUVVNfU09VUkNFX1JFU1BPTkRJTkdfQVVUT01BVElPTl9PQkpFQ1QQ",
"ByrdBAoKTXhEYXRhVHlwZRIcChhNWF9EQVRBX1RZUEVfVU5TUEVDSUZJRUQQ",
"ABIYChRNWF9EQVRBX1RZUEVfVU5LTk9XThABEhgKFE1YX0RBVEFfVFlQRV9O",
"T19EQVRBEAISGAoUTVhfREFUQV9UWVBFX0JPT0xFQU4QAxIYChRNWF9EQVRB",
"X1RZUEVfSU5URUdFUhAEEhYKEk1YX0RBVEFfVFlQRV9GTE9BVBAFEhcKE01Y",
"X0RBVEFfVFlQRV9ET1VCTEUQBhIXChNNWF9EQVRBX1RZUEVfU1RSSU5HEAcS",
"FQoRTVhfREFUQV9UWVBFX1RJTUUQCBIdChlNWF9EQVRBX1RZUEVfRUxBUFNF",
"RF9USU1FEAkSHwobTVhfREFUQV9UWVBFX1JFRkVSRU5DRV9UWVBFEAoSHAoY",
"TVhfREFUQV9UWVBFX1NUQVRVU19UWVBFEAsSFQoRTVhfREFUQV9UWVBFX0VO",
"VU0QDBItCilNWF9EQVRBX1RZUEVfU0VDVVJJVFlfQ0xBU1NJRklDQVRJT05f",
"RU5VTRANEiIKHk1YX0RBVEFfVFlQRV9EQVRBX1FVQUxJVFlfVFlQRRAOEh8K",
"G01YX0RBVEFfVFlQRV9RVUFMSUZJRURfRU5VTRAPEiEKHU1YX0RBVEFfVFlQ",
"RV9RVUFMSUZJRURfU1RSVUNUEBASKQolTVhfREFUQV9UWVBFX0lOVEVSTkFU",
"SU9OQUxJWkVEX1NUUklORxAREhsKF01YX0RBVEFfVFlQRV9CSUdfU1RSSU5H",
"EBISFAoQTVhfREFUQV9UWVBFX0VORBATKqMDChJQcm90b2NvbFN0YXR1c0Nv",
"ZGUSJAogUFJPVE9DT0xfU1RBVFVTX0NPREVfVU5TUEVDSUZJRUQQABIbChdQ",
"Uk9UT0NPTF9TVEFUVVNfQ09ERV9PSxABEigKJFBST1RPQ09MX1NUQVRVU19D",
"T0RFX0lOVkFMSURfUkVRVUVTVBACEioKJlBST1RPQ09MX1NUQVRVU19DT0RF",
"X1NFU1NJT05fTk9UX0ZPVU5EEAMSKgomUFJPVE9DT0xfU1RBVFVTX0NPREVf",
"U0VTU0lPTl9OT1RfUkVBRFkQBBIrCidQUk9UT0NPTF9TVEFUVVNfQ09ERV9X",
"T1JLRVJfVU5BVkFJTEFCTEUQBRIgChxQUk9UT0NPTF9TVEFUVVNfQ09ERV9U",
"SU1FT1VUEAYSIQodUFJPVE9DT0xfU1RBVFVTX0NPREVfQ0FOQ0VMRUQQBxIr",
"CidQUk9UT0NPTF9TVEFUVVNfQ09ERV9QUk9UT0NPTF9WSU9MQVRJT04QCBIp",
"CiVQUk9UT0NPTF9TVEFUVVNfQ09ERV9NWEFDQ0VTU19GQUlMVVJFEAkqvwIK",
"DFNlc3Npb25TdGF0ZRIdChlTRVNTSU9OX1NUQVRFX1VOU1BFQ0lGSUVEEAAS",
"GgoWU0VTU0lPTl9TVEFURV9DUkVBVElORxABEiEKHVNFU1NJT05fU1RBVEVf",
"U1RBUlRJTkdfV09SS0VSEAISIgoeU0VTU0lPTl9TVEFURV9XQUlUSU5HX0ZP",
"Ul9QSVBFEAMSHQoZU0VTU0lPTl9TVEFURV9IQU5EU0hBS0lORxAEEiUKIVNF",
"U1NJT05fU1RBVEVfSU5JVElBTElaSU5HX1dPUktFUhAFEhcKE1NFU1NJT05f",
"U1RBVEVfUkVBRFkQBhIZChVTRVNTSU9OX1NUQVRFX0NMT1NJTkcQBxIYChRT",
"RVNTSU9OX1NUQVRFX0NMT1NFRBAIEhkKFVNFU1NJT05fU1RBVEVfRkFVTFRF",
"RBAJMuAECg9NeEFjY2Vzc0dhdGV3YXkSXQoLT3BlblNlc3Npb24SJy5teGFj",
"Y2Vzc19nYXRld2F5LnYxLk9wZW5TZXNzaW9uUmVxdWVzdBolLm14YWNjZXNz",
"X2dhdGV3YXkudjEuT3BlblNlc3Npb25SZXBseRJgCgxDbG9zZVNlc3Npb24S",
"KC5teGFjY2Vzc19nYXRld2F5LnYxLkNsb3NlU2Vzc2lvblJlcXVlc3QaJi5t",
"eGFjY2Vzc19nYXRld2F5LnYxLkNsb3NlU2Vzc2lvblJlcGx5ElQKBkludm9r",
"ZRIlLm14YWNjZXNzX2dhdGV3YXkudjEuTXhDb21tYW5kUmVxdWVzdBojLm14",
"YWNjZXNzX2dhdGV3YXkudjEuTXhDb21tYW5kUmVwbHkSWAoMU3RyZWFtRXZl",
"bnRzEigubXhhY2Nlc3NfZ2F0ZXdheS52MS5TdHJlYW1FdmVudHNSZXF1ZXN0",
"GhwubXhhY2Nlc3NfZ2F0ZXdheS52MS5NeEV2ZW50MAESbAoQQWNrbm93bGVk",
"Z2VBbGFybRIsLm14YWNjZXNzX2dhdGV3YXkudjEuQWNrbm93bGVkZ2VBbGFy",
"bVJlcXVlc3QaKi5teGFjY2Vzc19nYXRld2F5LnYxLkFja25vd2xlZGdlQWxh",
"cm1SZXBseRJuChFRdWVyeUFjdGl2ZUFsYXJtcxItLm14YWNjZXNzX2dhdGV3",
"YXkudjEuUXVlcnlBY3RpdmVBbGFybXNSZXF1ZXN0GigubXhhY2Nlc3NfZ2F0",
"ZXdheS52MS5BY3RpdmVBbGFybVNuYXBzaG90MAFCHKoCGU14R2F0ZXdheS5D",
"b250cmFjdHMuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::MxGateway.Contracts.Proto.MxCommandKind), typeof(global::MxGateway.Contracts.Proto.MxEventFamily), typeof(global::MxGateway.Contracts.Proto.AlarmTransitionKind), typeof(global::MxGateway.Contracts.Proto.AlarmConditionState), typeof(global::MxGateway.Contracts.Proto.MxStatusCategory), typeof(global::MxGateway.Contracts.Proto.MxStatusSource), typeof(global::MxGateway.Contracts.Proto.MxDataType), typeof(global::MxGateway.Contracts.Proto.ProtocolStatusCode), typeof(global::MxGateway.Contracts.Proto.SessionState), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.OpenSessionRequest), global::MxGateway.Contracts.Proto.OpenSessionRequest.Parser, new[]{ "RequestedBackend", "ClientSessionName", "ClientCorrelationId", "CommandTimeout" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.OpenSessionReply), global::MxGateway.Contracts.Proto.OpenSessionReply.Parser, new[]{ "SessionId", "BackendName", "WorkerProcessId", "WorkerProtocolVersion", "Capabilities", "DefaultCommandTimeout", "ProtocolStatus", "GatewayProtocolVersion" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.CloseSessionRequest), global::MxGateway.Contracts.Proto.CloseSessionRequest.Parser, new[]{ "SessionId", "ClientCorrelationId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.CloseSessionReply), global::MxGateway.Contracts.Proto.CloseSessionReply.Parser, new[]{ "SessionId", "FinalState", "ProtocolStatus" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.StreamEventsRequest), global::MxGateway.Contracts.Proto.StreamEventsRequest.Parser, new[]{ "SessionId", "AfterWorkerSequence" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.MxCommandRequest), global::MxGateway.Contracts.Proto.MxCommandRequest.Parser, new[]{ "SessionId", "ClientCorrelationId", "Command" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.MxCommand), global::MxGateway.Contracts.Proto.MxCommand.Parser, new[]{ "Kind", "Register", "Unregister", "AddItem", "AddItem2", "RemoveItem", "Advise", "UnAdvise", "AdviseSupervisory", "AddBufferedItem", "SetBufferedUpdateInterval", "Suspend", "Activate", "Write", "Write2", "WriteSecured", "WriteSecured2", "AuthenticateUser", "ArchestraUserToId", "AddItemBulk", "AdviseItemBulk", "RemoveItemBulk", "UnAdviseItemBulk", "SubscribeBulk", "UnsubscribeBulk", "Ping", "GetSessionState", "GetWorkerInfo", "DrainEvents", "ShutdownWorker" }, new[]{ "Payload" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.RegisterCommand), global::MxGateway.Contracts.Proto.RegisterCommand.Parser, new[]{ "ClientName" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.UnregisterCommand), global::MxGateway.Contracts.Proto.UnregisterCommand.Parser, new[]{ "ServerHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.AddItemCommand), global::MxGateway.Contracts.Proto.AddItemCommand.Parser, new[]{ "ServerHandle", "ItemDefinition" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.AddItem2Command), global::MxGateway.Contracts.Proto.AddItem2Command.Parser, new[]{ "ServerHandle", "ItemDefinition", "ItemContext" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.RemoveItemCommand), global::MxGateway.Contracts.Proto.RemoveItemCommand.Parser, new[]{ "ServerHandle", "ItemHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.AdviseCommand), global::MxGateway.Contracts.Proto.AdviseCommand.Parser, new[]{ "ServerHandle", "ItemHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.UnAdviseCommand), global::MxGateway.Contracts.Proto.UnAdviseCommand.Parser, new[]{ "ServerHandle", "ItemHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.AdviseSupervisoryCommand), global::MxGateway.Contracts.Proto.AdviseSupervisoryCommand.Parser, new[]{ "ServerHandle", "ItemHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.AddBufferedItemCommand), global::MxGateway.Contracts.Proto.AddBufferedItemCommand.Parser, new[]{ "ServerHandle", "ItemDefinition", "ItemContext" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.SetBufferedUpdateIntervalCommand), global::MxGateway.Contracts.Proto.SetBufferedUpdateIntervalCommand.Parser, new[]{ "ServerHandle", "UpdateIntervalMilliseconds" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.SuspendCommand), global::MxGateway.Contracts.Proto.SuspendCommand.Parser, new[]{ "ServerHandle", "ItemHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.ActivateCommand), global::MxGateway.Contracts.Proto.ActivateCommand.Parser, new[]{ "ServerHandle", "ItemHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.WriteCommand), global::MxGateway.Contracts.Proto.WriteCommand.Parser, new[]{ "ServerHandle", "ItemHandle", "Value", "UserId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.Write2Command), global::MxGateway.Contracts.Proto.Write2Command.Parser, new[]{ "ServerHandle", "ItemHandle", "Value", "TimestampValue", "UserId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.WriteSecuredCommand), global::MxGateway.Contracts.Proto.WriteSecuredCommand.Parser, new[]{ "ServerHandle", "ItemHandle", "CurrentUserId", "VerifierUserId", "Value" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.WriteSecured2Command), global::MxGateway.Contracts.Proto.WriteSecured2Command.Parser, new[]{ "ServerHandle", "ItemHandle", "CurrentUserId", "VerifierUserId", "Value", "TimestampValue" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.AuthenticateUserCommand), global::MxGateway.Contracts.Proto.AuthenticateUserCommand.Parser, new[]{ "ServerHandle", "VerifyUser", "VerifyUserPassword" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.ArchestrAUserToIdCommand), global::MxGateway.Contracts.Proto.ArchestrAUserToIdCommand.Parser, new[]{ "ServerHandle", "UserIdGuid" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.AddItemBulkCommand), global::MxGateway.Contracts.Proto.AddItemBulkCommand.Parser, new[]{ "ServerHandle", "TagAddresses" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.AdviseItemBulkCommand), global::MxGateway.Contracts.Proto.AdviseItemBulkCommand.Parser, new[]{ "ServerHandle", "ItemHandles" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.RemoveItemBulkCommand), global::MxGateway.Contracts.Proto.RemoveItemBulkCommand.Parser, new[]{ "ServerHandle", "ItemHandles" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.UnAdviseItemBulkCommand), global::MxGateway.Contracts.Proto.UnAdviseItemBulkCommand.Parser, new[]{ "ServerHandle", "ItemHandles" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.SubscribeBulkCommand), global::MxGateway.Contracts.Proto.SubscribeBulkCommand.Parser, new[]{ "ServerHandle", "TagAddresses" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.UnsubscribeBulkCommand), global::MxGateway.Contracts.Proto.UnsubscribeBulkCommand.Parser, new[]{ "ServerHandle", "ItemHandles" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.PingCommand), global::MxGateway.Contracts.Proto.PingCommand.Parser, new[]{ "Message" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.GetSessionStateCommand), global::MxGateway.Contracts.Proto.GetSessionStateCommand.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.GetWorkerInfoCommand), global::MxGateway.Contracts.Proto.GetWorkerInfoCommand.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.DrainEventsCommand), global::MxGateway.Contracts.Proto.DrainEventsCommand.Parser, new[]{ "MaxEvents" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.ShutdownWorkerCommand), global::MxGateway.Contracts.Proto.ShutdownWorkerCommand.Parser, new[]{ "GracePeriod" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.MxCommandReply), global::MxGateway.Contracts.Proto.MxCommandReply.Parser, new[]{ "SessionId", "CorrelationId", "Kind", "ProtocolStatus", "Hresult", "ReturnValue", "Statuses", "DiagnosticMessage", "Register", "AddItem", "AddItem2", "AddBufferedItem", "Suspend", "Activate", "AuthenticateUser", "ArchestraUserToId", "AddItemBulk", "AdviseItemBulk", "RemoveItemBulk", "UnAdviseItemBulk", "SubscribeBulk", "UnsubscribeBulk", "SessionState", "WorkerInfo", "DrainEvents" }, new[]{ "Payload", "Hresult" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.RegisterReply), global::MxGateway.Contracts.Proto.RegisterReply.Parser, new[]{ "ServerHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.AddItemReply), global::MxGateway.Contracts.Proto.AddItemReply.Parser, new[]{ "ItemHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.AddItem2Reply), global::MxGateway.Contracts.Proto.AddItem2Reply.Parser, new[]{ "ItemHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.AddBufferedItemReply), global::MxGateway.Contracts.Proto.AddBufferedItemReply.Parser, new[]{ "ItemHandle" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.SuspendReply), global::MxGateway.Contracts.Proto.SuspendReply.Parser, new[]{ "Status" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.ActivateReply), global::MxGateway.Contracts.Proto.ActivateReply.Parser, new[]{ "Status" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.AuthenticateUserReply), global::MxGateway.Contracts.Proto.AuthenticateUserReply.Parser, new[]{ "UserId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.ArchestrAUserToIdReply), global::MxGateway.Contracts.Proto.ArchestrAUserToIdReply.Parser, new[]{ "UserId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.SubscribeResult), global::MxGateway.Contracts.Proto.SubscribeResult.Parser, new[]{ "ServerHandle", "TagAddress", "ItemHandle", "WasSuccessful", "ErrorMessage" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.BulkSubscribeReply), global::MxGateway.Contracts.Proto.BulkSubscribeReply.Parser, new[]{ "Results" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.SessionStateReply), global::MxGateway.Contracts.Proto.SessionStateReply.Parser, new[]{ "State" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.WorkerInfoReply), global::MxGateway.Contracts.Proto.WorkerInfoReply.Parser, new[]{ "WorkerProcessId", "WorkerVersion", "MxaccessProgid", "MxaccessClsid" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.DrainEventsReply), global::MxGateway.Contracts.Proto.DrainEventsReply.Parser, new[]{ "Events" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.MxEvent), global::MxGateway.Contracts.Proto.MxEvent.Parser, new[]{ "Family", "SessionId", "ServerHandle", "ItemHandle", "Value", "Quality", "SourceTimestamp", "Statuses", "WorkerSequence", "WorkerTimestamp", "GatewayReceiveTimestamp", "Hresult", "RawStatus", "OnDataChange", "OnWriteComplete", "OperationComplete", "OnBufferedDataChange", "OnAlarmTransition" }, new[]{ "Body", "Hresult" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.OnDataChangeEvent), global::MxGateway.Contracts.Proto.OnDataChangeEvent.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.OnWriteCompleteEvent), global::MxGateway.Contracts.Proto.OnWriteCompleteEvent.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.OperationCompleteEvent), global::MxGateway.Contracts.Proto.OperationCompleteEvent.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.OnBufferedDataChangeEvent), global::MxGateway.Contracts.Proto.OnBufferedDataChangeEvent.Parser, new[]{ "DataType", "QualityValues", "TimestampValues", "RawDataType" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.OnAlarmTransitionEvent), global::MxGateway.Contracts.Proto.OnAlarmTransitionEvent.Parser, new[]{ "AlarmFullReference", "SourceObjectReference", "AlarmTypeName", "TransitionKind", "Severity", "OriginalRaiseTimestamp", "TransitionTimestamp", "OperatorUser", "OperatorComment", "Category", "Description", "CurrentValue", "LimitValue" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.ActiveAlarmSnapshot), global::MxGateway.Contracts.Proto.ActiveAlarmSnapshot.Parser, new[]{ "AlarmFullReference", "SourceObjectReference", "AlarmTypeName", "Severity", "OriginalRaiseTimestamp", "CurrentState", "Category", "Description", "LastTransitionTimestamp", "OperatorUser", "OperatorComment", "CurrentValue", "LimitValue" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.AcknowledgeAlarmRequest), global::MxGateway.Contracts.Proto.AcknowledgeAlarmRequest.Parser, new[]{ "SessionId", "ClientCorrelationId", "AlarmFullReference", "Comment", "OperatorUser" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.AcknowledgeAlarmReply), global::MxGateway.Contracts.Proto.AcknowledgeAlarmReply.Parser, new[]{ "SessionId", "CorrelationId", "ProtocolStatus", "Hresult", "Status", "DiagnosticMessage" }, new[]{ "Hresult" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.QueryActiveAlarmsRequest), global::MxGateway.Contracts.Proto.QueryActiveAlarmsRequest.Parser, new[]{ "SessionId", "ClientCorrelationId", "AlarmFilterPrefix" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.MxStatusProxy), global::MxGateway.Contracts.Proto.MxStatusProxy.Parser, new[]{ "Success", "Category", "DetectedBy", "Detail", "RawCategory", "RawDetectedBy", "DiagnosticText" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.MxValue), global::MxGateway.Contracts.Proto.MxValue.Parser, new[]{ "DataType", "VariantType", "IsNull", "RawDiagnostic", "RawDataType", "BoolValue", "Int32Value", "Int64Value", "FloatValue", "DoubleValue", "StringValue", "TimestampValue", "ArrayValue", "RawValue" }, new[]{ "Kind" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.MxArray), global::MxGateway.Contracts.Proto.MxArray.Parser, new[]{ "ElementDataType", "VariantType", "Dimensions", "RawDiagnostic", "RawElementDataType", "BoolValues", "Int32Values", "Int64Values", "FloatValues", "DoubleValues", "StringValues", "TimestampValues", "RawValues" }, new[]{ "Values" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.BoolArray), global::MxGateway.Contracts.Proto.BoolArray.Parser, new[]{ "Values" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.Int32Array), global::MxGateway.Contracts.Proto.Int32Array.Parser, new[]{ "Values" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.Int64Array), global::MxGateway.Contracts.Proto.Int64Array.Parser, new[]{ "Values" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.FloatArray), global::MxGateway.Contracts.Proto.FloatArray.Parser, new[]{ "Values" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.DoubleArray), global::MxGateway.Contracts.Proto.DoubleArray.Parser, new[]{ "Values" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.StringArray), global::MxGateway.Contracts.Proto.StringArray.Parser, new[]{ "Values" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.TimestampArray), global::MxGateway.Contracts.Proto.TimestampArray.Parser, new[]{ "Values" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.RawArray), global::MxGateway.Contracts.Proto.RawArray.Parser, new[]{ "Values" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::MxGateway.Contracts.Proto.ProtocolStatus), global::MxGateway.Contracts.Proto.ProtocolStatus.Parser, new[]{ "Code", "Message" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum MxCommandKind {
[pbr::OriginalName("MX_COMMAND_KIND_UNSPECIFIED")] Unspecified = 0,
[pbr::OriginalName("MX_COMMAND_KIND_REGISTER")] Register = 1,
[pbr::OriginalName("MX_COMMAND_KIND_UNREGISTER")] Unregister = 2,
[pbr::OriginalName("MX_COMMAND_KIND_ADD_ITEM")] AddItem = 3,
[pbr::OriginalName("MX_COMMAND_KIND_ADD_ITEM2")] AddItem2 = 4,
[pbr::OriginalName("MX_COMMAND_KIND_REMOVE_ITEM")] RemoveItem = 5,
[pbr::OriginalName("MX_COMMAND_KIND_ADVISE")] Advise = 6,
[pbr::OriginalName("MX_COMMAND_KIND_UN_ADVISE")] UnAdvise = 7,
[pbr::OriginalName("MX_COMMAND_KIND_ADVISE_SUPERVISORY")] AdviseSupervisory = 8,
[pbr::OriginalName("MX_COMMAND_KIND_ADD_BUFFERED_ITEM")] AddBufferedItem = 9,
[pbr::OriginalName("MX_COMMAND_KIND_SET_BUFFERED_UPDATE_INTERVAL")] SetBufferedUpdateInterval = 10,
[pbr::OriginalName("MX_COMMAND_KIND_SUSPEND")] Suspend = 11,
[pbr::OriginalName("MX_COMMAND_KIND_ACTIVATE")] Activate = 12,
[pbr::OriginalName("MX_COMMAND_KIND_WRITE")] Write = 13,
[pbr::OriginalName("MX_COMMAND_KIND_WRITE2")] Write2 = 14,
[pbr::OriginalName("MX_COMMAND_KIND_WRITE_SECURED")] WriteSecured = 15,
[pbr::OriginalName("MX_COMMAND_KIND_WRITE_SECURED2")] WriteSecured2 = 16,
[pbr::OriginalName("MX_COMMAND_KIND_AUTHENTICATE_USER")] AuthenticateUser = 17,
[pbr::OriginalName("MX_COMMAND_KIND_ARCHESTRA_USER_TO_ID")] ArchestraUserToId = 18,
[pbr::OriginalName("MX_COMMAND_KIND_ADD_ITEM_BULK")] AddItemBulk = 19,
[pbr::OriginalName("MX_COMMAND_KIND_ADVISE_ITEM_BULK")] AdviseItemBulk = 20,
[pbr::OriginalName("MX_COMMAND_KIND_REMOVE_ITEM_BULK")] RemoveItemBulk = 21,
[pbr::OriginalName("MX_COMMAND_KIND_UN_ADVISE_ITEM_BULK")] UnAdviseItemBulk = 22,
[pbr::OriginalName("MX_COMMAND_KIND_SUBSCRIBE_BULK")] SubscribeBulk = 23,
[pbr::OriginalName("MX_COMMAND_KIND_UNSUBSCRIBE_BULK")] UnsubscribeBulk = 24,
[pbr::OriginalName("MX_COMMAND_KIND_PING")] Ping = 100,
[pbr::OriginalName("MX_COMMAND_KIND_GET_SESSION_STATE")] GetSessionState = 101,
[pbr::OriginalName("MX_COMMAND_KIND_GET_WORKER_INFO")] GetWorkerInfo = 102,
[pbr::OriginalName("MX_COMMAND_KIND_DRAIN_EVENTS")] DrainEvents = 103,
[pbr::OriginalName("MX_COMMAND_KIND_SHUTDOWN_WORKER")] ShutdownWorker = 104,
}
public enum MxEventFamily {
[pbr::OriginalName("MX_EVENT_FAMILY_UNSPECIFIED")] Unspecified = 0,
[pbr::OriginalName("MX_EVENT_FAMILY_ON_DATA_CHANGE")] OnDataChange = 1,
[pbr::OriginalName("MX_EVENT_FAMILY_ON_WRITE_COMPLETE")] OnWriteComplete = 2,
[pbr::OriginalName("MX_EVENT_FAMILY_OPERATION_COMPLETE")] OperationComplete = 3,
[pbr::OriginalName("MX_EVENT_FAMILY_ON_BUFFERED_DATA_CHANGE")] OnBufferedDataChange = 4,
[pbr::OriginalName("MX_EVENT_FAMILY_ON_ALARM_TRANSITION")] OnAlarmTransition = 5,
}
public enum AlarmTransitionKind {
[pbr::OriginalName("ALARM_TRANSITION_KIND_UNSPECIFIED")] Unspecified = 0,
[pbr::OriginalName("ALARM_TRANSITION_KIND_RAISE")] Raise = 1,
[pbr::OriginalName("ALARM_TRANSITION_KIND_ACKNOWLEDGE")] Acknowledge = 2,
[pbr::OriginalName("ALARM_TRANSITION_KIND_CLEAR")] Clear = 3,
[pbr::OriginalName("ALARM_TRANSITION_KIND_RETRIGGER")] Retrigger = 4,
}
public enum AlarmConditionState {
[pbr::OriginalName("ALARM_CONDITION_STATE_UNSPECIFIED")] Unspecified = 0,
[pbr::OriginalName("ALARM_CONDITION_STATE_ACTIVE")] Active = 1,
[pbr::OriginalName("ALARM_CONDITION_STATE_ACTIVE_ACKED")] ActiveAcked = 2,
[pbr::OriginalName("ALARM_CONDITION_STATE_INACTIVE")] Inactive = 3,
}
public enum MxStatusCategory {
[pbr::OriginalName("MX_STATUS_CATEGORY_UNSPECIFIED")] Unspecified = 0,
[pbr::OriginalName("MX_STATUS_CATEGORY_UNKNOWN")] Unknown = 1,
[pbr::OriginalName("MX_STATUS_CATEGORY_OK")] Ok = 2,
[pbr::OriginalName("MX_STATUS_CATEGORY_PENDING")] Pending = 3,
[pbr::OriginalName("MX_STATUS_CATEGORY_WARNING")] Warning = 4,
[pbr::OriginalName("MX_STATUS_CATEGORY_COMMUNICATION_ERROR")] CommunicationError = 5,
[pbr::OriginalName("MX_STATUS_CATEGORY_CONFIGURATION_ERROR")] ConfigurationError = 6,
[pbr::OriginalName("MX_STATUS_CATEGORY_OPERATIONAL_ERROR")] OperationalError = 7,
[pbr::OriginalName("MX_STATUS_CATEGORY_SECURITY_ERROR")] SecurityError = 8,
[pbr::OriginalName("MX_STATUS_CATEGORY_SOFTWARE_ERROR")] SoftwareError = 9,
[pbr::OriginalName("MX_STATUS_CATEGORY_OTHER_ERROR")] OtherError = 10,
}
public enum MxStatusSource {
[pbr::OriginalName("MX_STATUS_SOURCE_UNSPECIFIED")] Unspecified = 0,
[pbr::OriginalName("MX_STATUS_SOURCE_UNKNOWN")] Unknown = 1,
[pbr::OriginalName("MX_STATUS_SOURCE_REQUESTING_LMX")] RequestingLmx = 2,
[pbr::OriginalName("MX_STATUS_SOURCE_RESPONDING_LMX")] RespondingLmx = 3,
[pbr::OriginalName("MX_STATUS_SOURCE_REQUESTING_NMX")] RequestingNmx = 4,
[pbr::OriginalName("MX_STATUS_SOURCE_RESPONDING_NMX")] RespondingNmx = 5,
[pbr::OriginalName("MX_STATUS_SOURCE_REQUESTING_AUTOMATION_OBJECT")] RequestingAutomationObject = 6,
[pbr::OriginalName("MX_STATUS_SOURCE_RESPONDING_AUTOMATION_OBJECT")] RespondingAutomationObject = 7,
}
public enum MxDataType {
[pbr::OriginalName("MX_DATA_TYPE_UNSPECIFIED")] Unspecified = 0,
[pbr::OriginalName("MX_DATA_TYPE_UNKNOWN")] Unknown = 1,
[pbr::OriginalName("MX_DATA_TYPE_NO_DATA")] NoData = 2,
[pbr::OriginalName("MX_DATA_TYPE_BOOLEAN")] Boolean = 3,
[pbr::OriginalName("MX_DATA_TYPE_INTEGER")] Integer = 4,
[pbr::OriginalName("MX_DATA_TYPE_FLOAT")] Float = 5,
[pbr::OriginalName("MX_DATA_TYPE_DOUBLE")] Double = 6,
[pbr::OriginalName("MX_DATA_TYPE_STRING")] String = 7,
[pbr::OriginalName("MX_DATA_TYPE_TIME")] Time = 8,
[pbr::OriginalName("MX_DATA_TYPE_ELAPSED_TIME")] ElapsedTime = 9,
[pbr::OriginalName("MX_DATA_TYPE_REFERENCE_TYPE")] ReferenceType = 10,
[pbr::OriginalName("MX_DATA_TYPE_STATUS_TYPE")] StatusType = 11,
[pbr::OriginalName("MX_DATA_TYPE_ENUM")] Enum = 12,
[pbr::OriginalName("MX_DATA_TYPE_SECURITY_CLASSIFICATION_ENUM")] SecurityClassificationEnum = 13,
[pbr::OriginalName("MX_DATA_TYPE_DATA_QUALITY_TYPE")] DataQualityType = 14,
[pbr::OriginalName("MX_DATA_TYPE_QUALIFIED_ENUM")] QualifiedEnum = 15,
[pbr::OriginalName("MX_DATA_TYPE_QUALIFIED_STRUCT")] QualifiedStruct = 16,
[pbr::OriginalName("MX_DATA_TYPE_INTERNATIONALIZED_STRING")] InternationalizedString = 17,
[pbr::OriginalName("MX_DATA_TYPE_BIG_STRING")] BigString = 18,
[pbr::OriginalName("MX_DATA_TYPE_END")] End = 19,
}
public enum ProtocolStatusCode {
[pbr::OriginalName("PROTOCOL_STATUS_CODE_UNSPECIFIED")] Unspecified = 0,
[pbr::OriginalName("PROTOCOL_STATUS_CODE_OK")] Ok = 1,
[pbr::OriginalName("PROTOCOL_STATUS_CODE_INVALID_REQUEST")] InvalidRequest = 2,
[pbr::OriginalName("PROTOCOL_STATUS_CODE_SESSION_NOT_FOUND")] SessionNotFound = 3,
[pbr::OriginalName("PROTOCOL_STATUS_CODE_SESSION_NOT_READY")] SessionNotReady = 4,
[pbr::OriginalName("PROTOCOL_STATUS_CODE_WORKER_UNAVAILABLE")] WorkerUnavailable = 5,
[pbr::OriginalName("PROTOCOL_STATUS_CODE_TIMEOUT")] Timeout = 6,
[pbr::OriginalName("PROTOCOL_STATUS_CODE_CANCELED")] Canceled = 7,
[pbr::OriginalName("PROTOCOL_STATUS_CODE_PROTOCOL_VIOLATION")] ProtocolViolation = 8,
[pbr::OriginalName("PROTOCOL_STATUS_CODE_MXACCESS_FAILURE")] MxaccessFailure = 9,
}
public enum SessionState {
[pbr::OriginalName("SESSION_STATE_UNSPECIFIED")] Unspecified = 0,
[pbr::OriginalName("SESSION_STATE_CREATING")] Creating = 1,
[pbr::OriginalName("SESSION_STATE_STARTING_WORKER")] StartingWorker = 2,
[pbr::OriginalName("SESSION_STATE_WAITING_FOR_PIPE")] WaitingForPipe = 3,
[pbr::OriginalName("SESSION_STATE_HANDSHAKING")] Handshaking = 4,
[pbr::OriginalName("SESSION_STATE_INITIALIZING_WORKER")] InitializingWorker = 5,
[pbr::OriginalName("SESSION_STATE_READY")] Ready = 6,
[pbr::OriginalName("SESSION_STATE_CLOSING")] Closing = 7,
[pbr::OriginalName("SESSION_STATE_CLOSED")] Closed = 8,
[pbr::OriginalName("SESSION_STATE_FAULTED")] Faulted = 9,
}
#endregion
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class OpenSessionRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OpenSessionRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public OpenSessionRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public OpenSessionRequest(OpenSessionRequest other) : this() {
requestedBackend_ = other.requestedBackend_;
clientSessionName_ = other.clientSessionName_;
clientCorrelationId_ = other.clientCorrelationId_;
commandTimeout_ = other.commandTimeout_ != null ? other.commandTimeout_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public OpenSessionRequest Clone() {
return new OpenSessionRequest(this);
}
/// Field number for the "requested_backend" field.
public const int RequestedBackendFieldNumber = 1;
private string requestedBackend_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RequestedBackend {
get { return requestedBackend_; }
set {
requestedBackend_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "client_session_name" field.
public const int ClientSessionNameFieldNumber = 2;
private string clientSessionName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ClientSessionName {
get { return clientSessionName_; }
set {
clientSessionName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "client_correlation_id" field.
public const int ClientCorrelationIdFieldNumber = 3;
private string clientCorrelationId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ClientCorrelationId {
get { return clientCorrelationId_; }
set {
clientCorrelationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "command_timeout" field.
public const int CommandTimeoutFieldNumber = 4;
private global::Google.Protobuf.WellKnownTypes.Duration commandTimeout_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.WellKnownTypes.Duration CommandTimeout {
get { return commandTimeout_; }
set {
commandTimeout_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as OpenSessionRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(OpenSessionRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (RequestedBackend != other.RequestedBackend) return false;
if (ClientSessionName != other.ClientSessionName) return false;
if (ClientCorrelationId != other.ClientCorrelationId) return false;
if (!object.Equals(CommandTimeout, other.CommandTimeout)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (RequestedBackend.Length != 0) hash ^= RequestedBackend.GetHashCode();
if (ClientSessionName.Length != 0) hash ^= ClientSessionName.GetHashCode();
if (ClientCorrelationId.Length != 0) hash ^= ClientCorrelationId.GetHashCode();
if (commandTimeout_ != null) hash ^= CommandTimeout.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (RequestedBackend.Length != 0) {
output.WriteRawTag(10);
output.WriteString(RequestedBackend);
}
if (ClientSessionName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ClientSessionName);
}
if (ClientCorrelationId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(ClientCorrelationId);
}
if (commandTimeout_ != null) {
output.WriteRawTag(34);
output.WriteMessage(CommandTimeout);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (RequestedBackend.Length != 0) {
output.WriteRawTag(10);
output.WriteString(RequestedBackend);
}
if (ClientSessionName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ClientSessionName);
}
if (ClientCorrelationId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(ClientCorrelationId);
}
if (commandTimeout_ != null) {
output.WriteRawTag(34);
output.WriteMessage(CommandTimeout);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (RequestedBackend.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RequestedBackend);
}
if (ClientSessionName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientSessionName);
}
if (ClientCorrelationId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientCorrelationId);
}
if (commandTimeout_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CommandTimeout);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(OpenSessionRequest other) {
if (other == null) {
return;
}
if (other.RequestedBackend.Length != 0) {
RequestedBackend = other.RequestedBackend;
}
if (other.ClientSessionName.Length != 0) {
ClientSessionName = other.ClientSessionName;
}
if (other.ClientCorrelationId.Length != 0) {
ClientCorrelationId = other.ClientCorrelationId;
}
if (other.commandTimeout_ != null) {
if (commandTimeout_ == null) {
CommandTimeout = new global::Google.Protobuf.WellKnownTypes.Duration();
}
CommandTimeout.MergeFrom(other.CommandTimeout);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
RequestedBackend = input.ReadString();
break;
}
case 18: {
ClientSessionName = input.ReadString();
break;
}
case 26: {
ClientCorrelationId = input.ReadString();
break;
}
case 34: {
if (commandTimeout_ == null) {
CommandTimeout = new global::Google.Protobuf.WellKnownTypes.Duration();
}
input.ReadMessage(CommandTimeout);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
RequestedBackend = input.ReadString();
break;
}
case 18: {
ClientSessionName = input.ReadString();
break;
}
case 26: {
ClientCorrelationId = input.ReadString();
break;
}
case 34: {
if (commandTimeout_ == null) {
CommandTimeout = new global::Google.Protobuf.WellKnownTypes.Duration();
}
input.ReadMessage(CommandTimeout);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class OpenSessionReply : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OpenSessionReply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public OpenSessionReply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public OpenSessionReply(OpenSessionReply other) : this() {
sessionId_ = other.sessionId_;
backendName_ = other.backendName_;
workerProcessId_ = other.workerProcessId_;
workerProtocolVersion_ = other.workerProtocolVersion_;
capabilities_ = other.capabilities_.Clone();
defaultCommandTimeout_ = other.defaultCommandTimeout_ != null ? other.defaultCommandTimeout_.Clone() : null;
protocolStatus_ = other.protocolStatus_ != null ? other.protocolStatus_.Clone() : null;
gatewayProtocolVersion_ = other.gatewayProtocolVersion_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public OpenSessionReply Clone() {
return new OpenSessionReply(this);
}
/// Field number for the "session_id" field.
public const int SessionIdFieldNumber = 1;
private string sessionId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SessionId {
get { return sessionId_; }
set {
sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "backend_name" field.
public const int BackendNameFieldNumber = 2;
private string backendName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string BackendName {
get { return backendName_; }
set {
backendName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "worker_process_id" field.
public const int WorkerProcessIdFieldNumber = 3;
private int workerProcessId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int WorkerProcessId {
get { return workerProcessId_; }
set {
workerProcessId_ = value;
}
}
/// Field number for the "worker_protocol_version" field.
public const int WorkerProtocolVersionFieldNumber = 4;
private uint workerProtocolVersion_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint WorkerProtocolVersion {
get { return workerProtocolVersion_; }
set {
workerProtocolVersion_ = value;
}
}
/// Field number for the "capabilities" field.
public const int CapabilitiesFieldNumber = 5;
private static readonly pb::FieldCodec _repeated_capabilities_codec
= pb::FieldCodec.ForString(42);
private readonly pbc::RepeatedField capabilities_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Capabilities {
get { return capabilities_; }
}
/// Field number for the "default_command_timeout" field.
public const int DefaultCommandTimeoutFieldNumber = 6;
private global::Google.Protobuf.WellKnownTypes.Duration defaultCommandTimeout_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.WellKnownTypes.Duration DefaultCommandTimeout {
get { return defaultCommandTimeout_; }
set {
defaultCommandTimeout_ = value;
}
}
/// Field number for the "protocol_status" field.
public const int ProtocolStatusFieldNumber = 7;
private global::MxGateway.Contracts.Proto.ProtocolStatus protocolStatus_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.ProtocolStatus ProtocolStatus {
get { return protocolStatus_; }
set {
protocolStatus_ = value;
}
}
/// Field number for the "gateway_protocol_version" field.
public const int GatewayProtocolVersionFieldNumber = 8;
private uint gatewayProtocolVersion_;
///
/// Public gateway contract version implemented by this endpoint. Clients use
/// this value to reject incompatible generated-code inputs before issuing
/// command-specific MXAccess calls.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GatewayProtocolVersion {
get { return gatewayProtocolVersion_; }
set {
gatewayProtocolVersion_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as OpenSessionReply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(OpenSessionReply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (SessionId != other.SessionId) return false;
if (BackendName != other.BackendName) return false;
if (WorkerProcessId != other.WorkerProcessId) return false;
if (WorkerProtocolVersion != other.WorkerProtocolVersion) return false;
if(!capabilities_.Equals(other.capabilities_)) return false;
if (!object.Equals(DefaultCommandTimeout, other.DefaultCommandTimeout)) return false;
if (!object.Equals(ProtocolStatus, other.ProtocolStatus)) return false;
if (GatewayProtocolVersion != other.GatewayProtocolVersion) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (SessionId.Length != 0) hash ^= SessionId.GetHashCode();
if (BackendName.Length != 0) hash ^= BackendName.GetHashCode();
if (WorkerProcessId != 0) hash ^= WorkerProcessId.GetHashCode();
if (WorkerProtocolVersion != 0) hash ^= WorkerProtocolVersion.GetHashCode();
hash ^= capabilities_.GetHashCode();
if (defaultCommandTimeout_ != null) hash ^= DefaultCommandTimeout.GetHashCode();
if (protocolStatus_ != null) hash ^= ProtocolStatus.GetHashCode();
if (GatewayProtocolVersion != 0) hash ^= GatewayProtocolVersion.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (SessionId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SessionId);
}
if (BackendName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(BackendName);
}
if (WorkerProcessId != 0) {
output.WriteRawTag(24);
output.WriteInt32(WorkerProcessId);
}
if (WorkerProtocolVersion != 0) {
output.WriteRawTag(32);
output.WriteUInt32(WorkerProtocolVersion);
}
capabilities_.WriteTo(output, _repeated_capabilities_codec);
if (defaultCommandTimeout_ != null) {
output.WriteRawTag(50);
output.WriteMessage(DefaultCommandTimeout);
}
if (protocolStatus_ != null) {
output.WriteRawTag(58);
output.WriteMessage(ProtocolStatus);
}
if (GatewayProtocolVersion != 0) {
output.WriteRawTag(64);
output.WriteUInt32(GatewayProtocolVersion);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (SessionId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SessionId);
}
if (BackendName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(BackendName);
}
if (WorkerProcessId != 0) {
output.WriteRawTag(24);
output.WriteInt32(WorkerProcessId);
}
if (WorkerProtocolVersion != 0) {
output.WriteRawTag(32);
output.WriteUInt32(WorkerProtocolVersion);
}
capabilities_.WriteTo(ref output, _repeated_capabilities_codec);
if (defaultCommandTimeout_ != null) {
output.WriteRawTag(50);
output.WriteMessage(DefaultCommandTimeout);
}
if (protocolStatus_ != null) {
output.WriteRawTag(58);
output.WriteMessage(ProtocolStatus);
}
if (GatewayProtocolVersion != 0) {
output.WriteRawTag(64);
output.WriteUInt32(GatewayProtocolVersion);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (SessionId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId);
}
if (BackendName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(BackendName);
}
if (WorkerProcessId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorkerProcessId);
}
if (WorkerProtocolVersion != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorkerProtocolVersion);
}
size += capabilities_.CalculateSize(_repeated_capabilities_codec);
if (defaultCommandTimeout_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DefaultCommandTimeout);
}
if (protocolStatus_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProtocolStatus);
}
if (GatewayProtocolVersion != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GatewayProtocolVersion);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(OpenSessionReply other) {
if (other == null) {
return;
}
if (other.SessionId.Length != 0) {
SessionId = other.SessionId;
}
if (other.BackendName.Length != 0) {
BackendName = other.BackendName;
}
if (other.WorkerProcessId != 0) {
WorkerProcessId = other.WorkerProcessId;
}
if (other.WorkerProtocolVersion != 0) {
WorkerProtocolVersion = other.WorkerProtocolVersion;
}
capabilities_.Add(other.capabilities_);
if (other.defaultCommandTimeout_ != null) {
if (defaultCommandTimeout_ == null) {
DefaultCommandTimeout = new global::Google.Protobuf.WellKnownTypes.Duration();
}
DefaultCommandTimeout.MergeFrom(other.DefaultCommandTimeout);
}
if (other.protocolStatus_ != null) {
if (protocolStatus_ == null) {
ProtocolStatus = new global::MxGateway.Contracts.Proto.ProtocolStatus();
}
ProtocolStatus.MergeFrom(other.ProtocolStatus);
}
if (other.GatewayProtocolVersion != 0) {
GatewayProtocolVersion = other.GatewayProtocolVersion;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
SessionId = input.ReadString();
break;
}
case 18: {
BackendName = input.ReadString();
break;
}
case 24: {
WorkerProcessId = input.ReadInt32();
break;
}
case 32: {
WorkerProtocolVersion = input.ReadUInt32();
break;
}
case 42: {
capabilities_.AddEntriesFrom(input, _repeated_capabilities_codec);
break;
}
case 50: {
if (defaultCommandTimeout_ == null) {
DefaultCommandTimeout = new global::Google.Protobuf.WellKnownTypes.Duration();
}
input.ReadMessage(DefaultCommandTimeout);
break;
}
case 58: {
if (protocolStatus_ == null) {
ProtocolStatus = new global::MxGateway.Contracts.Proto.ProtocolStatus();
}
input.ReadMessage(ProtocolStatus);
break;
}
case 64: {
GatewayProtocolVersion = input.ReadUInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
SessionId = input.ReadString();
break;
}
case 18: {
BackendName = input.ReadString();
break;
}
case 24: {
WorkerProcessId = input.ReadInt32();
break;
}
case 32: {
WorkerProtocolVersion = input.ReadUInt32();
break;
}
case 42: {
capabilities_.AddEntriesFrom(ref input, _repeated_capabilities_codec);
break;
}
case 50: {
if (defaultCommandTimeout_ == null) {
DefaultCommandTimeout = new global::Google.Protobuf.WellKnownTypes.Duration();
}
input.ReadMessage(DefaultCommandTimeout);
break;
}
case 58: {
if (protocolStatus_ == null) {
ProtocolStatus = new global::MxGateway.Contracts.Proto.ProtocolStatus();
}
input.ReadMessage(ProtocolStatus);
break;
}
case 64: {
GatewayProtocolVersion = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class CloseSessionRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CloseSessionRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CloseSessionRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CloseSessionRequest(CloseSessionRequest other) : this() {
sessionId_ = other.sessionId_;
clientCorrelationId_ = other.clientCorrelationId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CloseSessionRequest Clone() {
return new CloseSessionRequest(this);
}
/// Field number for the "session_id" field.
public const int SessionIdFieldNumber = 1;
private string sessionId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SessionId {
get { return sessionId_; }
set {
sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "client_correlation_id" field.
public const int ClientCorrelationIdFieldNumber = 2;
private string clientCorrelationId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ClientCorrelationId {
get { return clientCorrelationId_; }
set {
clientCorrelationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as CloseSessionRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(CloseSessionRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (SessionId != other.SessionId) return false;
if (ClientCorrelationId != other.ClientCorrelationId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (SessionId.Length != 0) hash ^= SessionId.GetHashCode();
if (ClientCorrelationId.Length != 0) hash ^= ClientCorrelationId.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (SessionId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SessionId);
}
if (ClientCorrelationId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ClientCorrelationId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (SessionId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SessionId);
}
if (ClientCorrelationId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ClientCorrelationId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (SessionId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId);
}
if (ClientCorrelationId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientCorrelationId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(CloseSessionRequest other) {
if (other == null) {
return;
}
if (other.SessionId.Length != 0) {
SessionId = other.SessionId;
}
if (other.ClientCorrelationId.Length != 0) {
ClientCorrelationId = other.ClientCorrelationId;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
SessionId = input.ReadString();
break;
}
case 18: {
ClientCorrelationId = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
SessionId = input.ReadString();
break;
}
case 18: {
ClientCorrelationId = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class CloseSessionReply : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CloseSessionReply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[3]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CloseSessionReply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CloseSessionReply(CloseSessionReply other) : this() {
sessionId_ = other.sessionId_;
finalState_ = other.finalState_;
protocolStatus_ = other.protocolStatus_ != null ? other.protocolStatus_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CloseSessionReply Clone() {
return new CloseSessionReply(this);
}
/// Field number for the "session_id" field.
public const int SessionIdFieldNumber = 1;
private string sessionId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SessionId {
get { return sessionId_; }
set {
sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "final_state" field.
public const int FinalStateFieldNumber = 2;
private global::MxGateway.Contracts.Proto.SessionState finalState_ = global::MxGateway.Contracts.Proto.SessionState.Unspecified;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.SessionState FinalState {
get { return finalState_; }
set {
finalState_ = value;
}
}
/// Field number for the "protocol_status" field.
public const int ProtocolStatusFieldNumber = 3;
private global::MxGateway.Contracts.Proto.ProtocolStatus protocolStatus_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.ProtocolStatus ProtocolStatus {
get { return protocolStatus_; }
set {
protocolStatus_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as CloseSessionReply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(CloseSessionReply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (SessionId != other.SessionId) return false;
if (FinalState != other.FinalState) return false;
if (!object.Equals(ProtocolStatus, other.ProtocolStatus)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (SessionId.Length != 0) hash ^= SessionId.GetHashCode();
if (FinalState != global::MxGateway.Contracts.Proto.SessionState.Unspecified) hash ^= FinalState.GetHashCode();
if (protocolStatus_ != null) hash ^= ProtocolStatus.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (SessionId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SessionId);
}
if (FinalState != global::MxGateway.Contracts.Proto.SessionState.Unspecified) {
output.WriteRawTag(16);
output.WriteEnum((int) FinalState);
}
if (protocolStatus_ != null) {
output.WriteRawTag(26);
output.WriteMessage(ProtocolStatus);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (SessionId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SessionId);
}
if (FinalState != global::MxGateway.Contracts.Proto.SessionState.Unspecified) {
output.WriteRawTag(16);
output.WriteEnum((int) FinalState);
}
if (protocolStatus_ != null) {
output.WriteRawTag(26);
output.WriteMessage(ProtocolStatus);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (SessionId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId);
}
if (FinalState != global::MxGateway.Contracts.Proto.SessionState.Unspecified) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FinalState);
}
if (protocolStatus_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProtocolStatus);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(CloseSessionReply other) {
if (other == null) {
return;
}
if (other.SessionId.Length != 0) {
SessionId = other.SessionId;
}
if (other.FinalState != global::MxGateway.Contracts.Proto.SessionState.Unspecified) {
FinalState = other.FinalState;
}
if (other.protocolStatus_ != null) {
if (protocolStatus_ == null) {
ProtocolStatus = new global::MxGateway.Contracts.Proto.ProtocolStatus();
}
ProtocolStatus.MergeFrom(other.ProtocolStatus);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
SessionId = input.ReadString();
break;
}
case 16: {
FinalState = (global::MxGateway.Contracts.Proto.SessionState) input.ReadEnum();
break;
}
case 26: {
if (protocolStatus_ == null) {
ProtocolStatus = new global::MxGateway.Contracts.Proto.ProtocolStatus();
}
input.ReadMessage(ProtocolStatus);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
SessionId = input.ReadString();
break;
}
case 16: {
FinalState = (global::MxGateway.Contracts.Proto.SessionState) input.ReadEnum();
break;
}
case 26: {
if (protocolStatus_ == null) {
ProtocolStatus = new global::MxGateway.Contracts.Proto.ProtocolStatus();
}
input.ReadMessage(ProtocolStatus);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class StreamEventsRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamEventsRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[4]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StreamEventsRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StreamEventsRequest(StreamEventsRequest other) : this() {
sessionId_ = other.sessionId_;
afterWorkerSequence_ = other.afterWorkerSequence_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StreamEventsRequest Clone() {
return new StreamEventsRequest(this);
}
/// Field number for the "session_id" field.
public const int SessionIdFieldNumber = 1;
private string sessionId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SessionId {
get { return sessionId_; }
set {
sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "after_worker_sequence" field.
public const int AfterWorkerSequenceFieldNumber = 2;
private ulong afterWorkerSequence_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong AfterWorkerSequence {
get { return afterWorkerSequence_; }
set {
afterWorkerSequence_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as StreamEventsRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(StreamEventsRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (SessionId != other.SessionId) return false;
if (AfterWorkerSequence != other.AfterWorkerSequence) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (SessionId.Length != 0) hash ^= SessionId.GetHashCode();
if (AfterWorkerSequence != 0UL) hash ^= AfterWorkerSequence.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (SessionId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SessionId);
}
if (AfterWorkerSequence != 0UL) {
output.WriteRawTag(16);
output.WriteUInt64(AfterWorkerSequence);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (SessionId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SessionId);
}
if (AfterWorkerSequence != 0UL) {
output.WriteRawTag(16);
output.WriteUInt64(AfterWorkerSequence);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (SessionId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId);
}
if (AfterWorkerSequence != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AfterWorkerSequence);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(StreamEventsRequest other) {
if (other == null) {
return;
}
if (other.SessionId.Length != 0) {
SessionId = other.SessionId;
}
if (other.AfterWorkerSequence != 0UL) {
AfterWorkerSequence = other.AfterWorkerSequence;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
SessionId = input.ReadString();
break;
}
case 16: {
AfterWorkerSequence = input.ReadUInt64();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
SessionId = input.ReadString();
break;
}
case 16: {
AfterWorkerSequence = input.ReadUInt64();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class MxCommandRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MxCommandRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[5]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MxCommandRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MxCommandRequest(MxCommandRequest other) : this() {
sessionId_ = other.sessionId_;
clientCorrelationId_ = other.clientCorrelationId_;
command_ = other.command_ != null ? other.command_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MxCommandRequest Clone() {
return new MxCommandRequest(this);
}
/// Field number for the "session_id" field.
public const int SessionIdFieldNumber = 1;
private string sessionId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SessionId {
get { return sessionId_; }
set {
sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "client_correlation_id" field.
public const int ClientCorrelationIdFieldNumber = 2;
private string clientCorrelationId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ClientCorrelationId {
get { return clientCorrelationId_; }
set {
clientCorrelationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "command" field.
public const int CommandFieldNumber = 3;
private global::MxGateway.Contracts.Proto.MxCommand command_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.MxCommand Command {
get { return command_; }
set {
command_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MxCommandRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MxCommandRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (SessionId != other.SessionId) return false;
if (ClientCorrelationId != other.ClientCorrelationId) return false;
if (!object.Equals(Command, other.Command)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (SessionId.Length != 0) hash ^= SessionId.GetHashCode();
if (ClientCorrelationId.Length != 0) hash ^= ClientCorrelationId.GetHashCode();
if (command_ != null) hash ^= Command.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (SessionId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SessionId);
}
if (ClientCorrelationId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ClientCorrelationId);
}
if (command_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Command);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (SessionId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SessionId);
}
if (ClientCorrelationId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ClientCorrelationId);
}
if (command_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Command);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (SessionId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId);
}
if (ClientCorrelationId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientCorrelationId);
}
if (command_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Command);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MxCommandRequest other) {
if (other == null) {
return;
}
if (other.SessionId.Length != 0) {
SessionId = other.SessionId;
}
if (other.ClientCorrelationId.Length != 0) {
ClientCorrelationId = other.ClientCorrelationId;
}
if (other.command_ != null) {
if (command_ == null) {
Command = new global::MxGateway.Contracts.Proto.MxCommand();
}
Command.MergeFrom(other.Command);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
SessionId = input.ReadString();
break;
}
case 18: {
ClientCorrelationId = input.ReadString();
break;
}
case 26: {
if (command_ == null) {
Command = new global::MxGateway.Contracts.Proto.MxCommand();
}
input.ReadMessage(Command);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
SessionId = input.ReadString();
break;
}
case 18: {
ClientCorrelationId = input.ReadString();
break;
}
case 26: {
if (command_ == null) {
Command = new global::MxGateway.Contracts.Proto.MxCommand();
}
input.ReadMessage(Command);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class MxCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MxCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[6]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MxCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MxCommand(MxCommand other) : this() {
kind_ = other.kind_;
switch (other.PayloadCase) {
case PayloadOneofCase.Register:
Register = other.Register.Clone();
break;
case PayloadOneofCase.Unregister:
Unregister = other.Unregister.Clone();
break;
case PayloadOneofCase.AddItem:
AddItem = other.AddItem.Clone();
break;
case PayloadOneofCase.AddItem2:
AddItem2 = other.AddItem2.Clone();
break;
case PayloadOneofCase.RemoveItem:
RemoveItem = other.RemoveItem.Clone();
break;
case PayloadOneofCase.Advise:
Advise = other.Advise.Clone();
break;
case PayloadOneofCase.UnAdvise:
UnAdvise = other.UnAdvise.Clone();
break;
case PayloadOneofCase.AdviseSupervisory:
AdviseSupervisory = other.AdviseSupervisory.Clone();
break;
case PayloadOneofCase.AddBufferedItem:
AddBufferedItem = other.AddBufferedItem.Clone();
break;
case PayloadOneofCase.SetBufferedUpdateInterval:
SetBufferedUpdateInterval = other.SetBufferedUpdateInterval.Clone();
break;
case PayloadOneofCase.Suspend:
Suspend = other.Suspend.Clone();
break;
case PayloadOneofCase.Activate:
Activate = other.Activate.Clone();
break;
case PayloadOneofCase.Write:
Write = other.Write.Clone();
break;
case PayloadOneofCase.Write2:
Write2 = other.Write2.Clone();
break;
case PayloadOneofCase.WriteSecured:
WriteSecured = other.WriteSecured.Clone();
break;
case PayloadOneofCase.WriteSecured2:
WriteSecured2 = other.WriteSecured2.Clone();
break;
case PayloadOneofCase.AuthenticateUser:
AuthenticateUser = other.AuthenticateUser.Clone();
break;
case PayloadOneofCase.ArchestraUserToId:
ArchestraUserToId = other.ArchestraUserToId.Clone();
break;
case PayloadOneofCase.AddItemBulk:
AddItemBulk = other.AddItemBulk.Clone();
break;
case PayloadOneofCase.AdviseItemBulk:
AdviseItemBulk = other.AdviseItemBulk.Clone();
break;
case PayloadOneofCase.RemoveItemBulk:
RemoveItemBulk = other.RemoveItemBulk.Clone();
break;
case PayloadOneofCase.UnAdviseItemBulk:
UnAdviseItemBulk = other.UnAdviseItemBulk.Clone();
break;
case PayloadOneofCase.SubscribeBulk:
SubscribeBulk = other.SubscribeBulk.Clone();
break;
case PayloadOneofCase.UnsubscribeBulk:
UnsubscribeBulk = other.UnsubscribeBulk.Clone();
break;
case PayloadOneofCase.Ping:
Ping = other.Ping.Clone();
break;
case PayloadOneofCase.GetSessionState:
GetSessionState = other.GetSessionState.Clone();
break;
case PayloadOneofCase.GetWorkerInfo:
GetWorkerInfo = other.GetWorkerInfo.Clone();
break;
case PayloadOneofCase.DrainEvents:
DrainEvents = other.DrainEvents.Clone();
break;
case PayloadOneofCase.ShutdownWorker:
ShutdownWorker = other.ShutdownWorker.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MxCommand Clone() {
return new MxCommand(this);
}
/// Field number for the "kind" field.
public const int KindFieldNumber = 1;
private global::MxGateway.Contracts.Proto.MxCommandKind kind_ = global::MxGateway.Contracts.Proto.MxCommandKind.Unspecified;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.MxCommandKind Kind {
get { return kind_; }
set {
kind_ = value;
}
}
/// Field number for the "register" field.
public const int RegisterFieldNumber = 10;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.RegisterCommand Register {
get { return payloadCase_ == PayloadOneofCase.Register ? (global::MxGateway.Contracts.Proto.RegisterCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Register;
}
}
/// Field number for the "unregister" field.
public const int UnregisterFieldNumber = 11;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.UnregisterCommand Unregister {
get { return payloadCase_ == PayloadOneofCase.Unregister ? (global::MxGateway.Contracts.Proto.UnregisterCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Unregister;
}
}
/// Field number for the "add_item" field.
public const int AddItemFieldNumber = 12;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.AddItemCommand AddItem {
get { return payloadCase_ == PayloadOneofCase.AddItem ? (global::MxGateway.Contracts.Proto.AddItemCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AddItem;
}
}
/// Field number for the "add_item2" field.
public const int AddItem2FieldNumber = 13;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.AddItem2Command AddItem2 {
get { return payloadCase_ == PayloadOneofCase.AddItem2 ? (global::MxGateway.Contracts.Proto.AddItem2Command) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AddItem2;
}
}
/// Field number for the "remove_item" field.
public const int RemoveItemFieldNumber = 14;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.RemoveItemCommand RemoveItem {
get { return payloadCase_ == PayloadOneofCase.RemoveItem ? (global::MxGateway.Contracts.Proto.RemoveItemCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RemoveItem;
}
}
/// Field number for the "advise" field.
public const int AdviseFieldNumber = 15;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.AdviseCommand Advise {
get { return payloadCase_ == PayloadOneofCase.Advise ? (global::MxGateway.Contracts.Proto.AdviseCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Advise;
}
}
/// Field number for the "un_advise" field.
public const int UnAdviseFieldNumber = 16;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.UnAdviseCommand UnAdvise {
get { return payloadCase_ == PayloadOneofCase.UnAdvise ? (global::MxGateway.Contracts.Proto.UnAdviseCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UnAdvise;
}
}
/// Field number for the "advise_supervisory" field.
public const int AdviseSupervisoryFieldNumber = 17;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.AdviseSupervisoryCommand AdviseSupervisory {
get { return payloadCase_ == PayloadOneofCase.AdviseSupervisory ? (global::MxGateway.Contracts.Proto.AdviseSupervisoryCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AdviseSupervisory;
}
}
/// Field number for the "add_buffered_item" field.
public const int AddBufferedItemFieldNumber = 18;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.AddBufferedItemCommand AddBufferedItem {
get { return payloadCase_ == PayloadOneofCase.AddBufferedItem ? (global::MxGateway.Contracts.Proto.AddBufferedItemCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AddBufferedItem;
}
}
/// Field number for the "set_buffered_update_interval" field.
public const int SetBufferedUpdateIntervalFieldNumber = 19;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.SetBufferedUpdateIntervalCommand SetBufferedUpdateInterval {
get { return payloadCase_ == PayloadOneofCase.SetBufferedUpdateInterval ? (global::MxGateway.Contracts.Proto.SetBufferedUpdateIntervalCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SetBufferedUpdateInterval;
}
}
/// Field number for the "suspend" field.
public const int SuspendFieldNumber = 20;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.SuspendCommand Suspend {
get { return payloadCase_ == PayloadOneofCase.Suspend ? (global::MxGateway.Contracts.Proto.SuspendCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Suspend;
}
}
/// Field number for the "activate" field.
public const int ActivateFieldNumber = 21;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.ActivateCommand Activate {
get { return payloadCase_ == PayloadOneofCase.Activate ? (global::MxGateway.Contracts.Proto.ActivateCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Activate;
}
}
/// Field number for the "write" field.
public const int WriteFieldNumber = 22;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.WriteCommand Write {
get { return payloadCase_ == PayloadOneofCase.Write ? (global::MxGateway.Contracts.Proto.WriteCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Write;
}
}
/// Field number for the "write2" field.
public const int Write2FieldNumber = 23;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.Write2Command Write2 {
get { return payloadCase_ == PayloadOneofCase.Write2 ? (global::MxGateway.Contracts.Proto.Write2Command) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Write2;
}
}
/// Field number for the "write_secured" field.
public const int WriteSecuredFieldNumber = 24;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.WriteSecuredCommand WriteSecured {
get { return payloadCase_ == PayloadOneofCase.WriteSecured ? (global::MxGateway.Contracts.Proto.WriteSecuredCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.WriteSecured;
}
}
/// Field number for the "write_secured2" field.
public const int WriteSecured2FieldNumber = 25;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.WriteSecured2Command WriteSecured2 {
get { return payloadCase_ == PayloadOneofCase.WriteSecured2 ? (global::MxGateway.Contracts.Proto.WriteSecured2Command) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.WriteSecured2;
}
}
/// Field number for the "authenticate_user" field.
public const int AuthenticateUserFieldNumber = 26;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.AuthenticateUserCommand AuthenticateUser {
get { return payloadCase_ == PayloadOneofCase.AuthenticateUser ? (global::MxGateway.Contracts.Proto.AuthenticateUserCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AuthenticateUser;
}
}
/// Field number for the "archestra_user_to_id" field.
public const int ArchestraUserToIdFieldNumber = 27;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.ArchestrAUserToIdCommand ArchestraUserToId {
get { return payloadCase_ == PayloadOneofCase.ArchestraUserToId ? (global::MxGateway.Contracts.Proto.ArchestrAUserToIdCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ArchestraUserToId;
}
}
/// Field number for the "add_item_bulk" field.
public const int AddItemBulkFieldNumber = 28;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.AddItemBulkCommand AddItemBulk {
get { return payloadCase_ == PayloadOneofCase.AddItemBulk ? (global::MxGateway.Contracts.Proto.AddItemBulkCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AddItemBulk;
}
}
/// Field number for the "advise_item_bulk" field.
public const int AdviseItemBulkFieldNumber = 29;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.AdviseItemBulkCommand AdviseItemBulk {
get { return payloadCase_ == PayloadOneofCase.AdviseItemBulk ? (global::MxGateway.Contracts.Proto.AdviseItemBulkCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AdviseItemBulk;
}
}
/// Field number for the "remove_item_bulk" field.
public const int RemoveItemBulkFieldNumber = 30;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.RemoveItemBulkCommand RemoveItemBulk {
get { return payloadCase_ == PayloadOneofCase.RemoveItemBulk ? (global::MxGateway.Contracts.Proto.RemoveItemBulkCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RemoveItemBulk;
}
}
/// Field number for the "un_advise_item_bulk" field.
public const int UnAdviseItemBulkFieldNumber = 31;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.UnAdviseItemBulkCommand UnAdviseItemBulk {
get { return payloadCase_ == PayloadOneofCase.UnAdviseItemBulk ? (global::MxGateway.Contracts.Proto.UnAdviseItemBulkCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UnAdviseItemBulk;
}
}
/// Field number for the "subscribe_bulk" field.
public const int SubscribeBulkFieldNumber = 32;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.SubscribeBulkCommand SubscribeBulk {
get { return payloadCase_ == PayloadOneofCase.SubscribeBulk ? (global::MxGateway.Contracts.Proto.SubscribeBulkCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SubscribeBulk;
}
}
/// Field number for the "unsubscribe_bulk" field.
public const int UnsubscribeBulkFieldNumber = 33;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.UnsubscribeBulkCommand UnsubscribeBulk {
get { return payloadCase_ == PayloadOneofCase.UnsubscribeBulk ? (global::MxGateway.Contracts.Proto.UnsubscribeBulkCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UnsubscribeBulk;
}
}
/// Field number for the "ping" field.
public const int PingFieldNumber = 100;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.PingCommand Ping {
get { return payloadCase_ == PayloadOneofCase.Ping ? (global::MxGateway.Contracts.Proto.PingCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Ping;
}
}
/// Field number for the "get_session_state" field.
public const int GetSessionStateFieldNumber = 101;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.GetSessionStateCommand GetSessionState {
get { return payloadCase_ == PayloadOneofCase.GetSessionState ? (global::MxGateway.Contracts.Proto.GetSessionStateCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetSessionState;
}
}
/// Field number for the "get_worker_info" field.
public const int GetWorkerInfoFieldNumber = 102;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.GetWorkerInfoCommand GetWorkerInfo {
get { return payloadCase_ == PayloadOneofCase.GetWorkerInfo ? (global::MxGateway.Contracts.Proto.GetWorkerInfoCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GetWorkerInfo;
}
}
/// Field number for the "drain_events" field.
public const int DrainEventsFieldNumber = 103;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.DrainEventsCommand DrainEvents {
get { return payloadCase_ == PayloadOneofCase.DrainEvents ? (global::MxGateway.Contracts.Proto.DrainEventsCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.DrainEvents;
}
}
/// Field number for the "shutdown_worker" field.
public const int ShutdownWorkerFieldNumber = 104;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.ShutdownWorkerCommand ShutdownWorker {
get { return payloadCase_ == PayloadOneofCase.ShutdownWorker ? (global::MxGateway.Contracts.Proto.ShutdownWorkerCommand) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ShutdownWorker;
}
}
private object payload_;
/// Enum of possible cases for the "payload" oneof.
public enum PayloadOneofCase {
None = 0,
Register = 10,
Unregister = 11,
AddItem = 12,
AddItem2 = 13,
RemoveItem = 14,
Advise = 15,
UnAdvise = 16,
AdviseSupervisory = 17,
AddBufferedItem = 18,
SetBufferedUpdateInterval = 19,
Suspend = 20,
Activate = 21,
Write = 22,
Write2 = 23,
WriteSecured = 24,
WriteSecured2 = 25,
AuthenticateUser = 26,
ArchestraUserToId = 27,
AddItemBulk = 28,
AdviseItemBulk = 29,
RemoveItemBulk = 30,
UnAdviseItemBulk = 31,
SubscribeBulk = 32,
UnsubscribeBulk = 33,
Ping = 100,
GetSessionState = 101,
GetWorkerInfo = 102,
DrainEvents = 103,
ShutdownWorker = 104,
}
private PayloadOneofCase payloadCase_ = PayloadOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PayloadOneofCase PayloadCase {
get { return payloadCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearPayload() {
payloadCase_ = PayloadOneofCase.None;
payload_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MxCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MxCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Kind != other.Kind) return false;
if (!object.Equals(Register, other.Register)) return false;
if (!object.Equals(Unregister, other.Unregister)) return false;
if (!object.Equals(AddItem, other.AddItem)) return false;
if (!object.Equals(AddItem2, other.AddItem2)) return false;
if (!object.Equals(RemoveItem, other.RemoveItem)) return false;
if (!object.Equals(Advise, other.Advise)) return false;
if (!object.Equals(UnAdvise, other.UnAdvise)) return false;
if (!object.Equals(AdviseSupervisory, other.AdviseSupervisory)) return false;
if (!object.Equals(AddBufferedItem, other.AddBufferedItem)) return false;
if (!object.Equals(SetBufferedUpdateInterval, other.SetBufferedUpdateInterval)) return false;
if (!object.Equals(Suspend, other.Suspend)) return false;
if (!object.Equals(Activate, other.Activate)) return false;
if (!object.Equals(Write, other.Write)) return false;
if (!object.Equals(Write2, other.Write2)) return false;
if (!object.Equals(WriteSecured, other.WriteSecured)) return false;
if (!object.Equals(WriteSecured2, other.WriteSecured2)) return false;
if (!object.Equals(AuthenticateUser, other.AuthenticateUser)) return false;
if (!object.Equals(ArchestraUserToId, other.ArchestraUserToId)) return false;
if (!object.Equals(AddItemBulk, other.AddItemBulk)) return false;
if (!object.Equals(AdviseItemBulk, other.AdviseItemBulk)) return false;
if (!object.Equals(RemoveItemBulk, other.RemoveItemBulk)) return false;
if (!object.Equals(UnAdviseItemBulk, other.UnAdviseItemBulk)) return false;
if (!object.Equals(SubscribeBulk, other.SubscribeBulk)) return false;
if (!object.Equals(UnsubscribeBulk, other.UnsubscribeBulk)) return false;
if (!object.Equals(Ping, other.Ping)) return false;
if (!object.Equals(GetSessionState, other.GetSessionState)) return false;
if (!object.Equals(GetWorkerInfo, other.GetWorkerInfo)) return false;
if (!object.Equals(DrainEvents, other.DrainEvents)) return false;
if (!object.Equals(ShutdownWorker, other.ShutdownWorker)) return false;
if (PayloadCase != other.PayloadCase) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (Kind != global::MxGateway.Contracts.Proto.MxCommandKind.Unspecified) hash ^= Kind.GetHashCode();
if (payloadCase_ == PayloadOneofCase.Register) hash ^= Register.GetHashCode();
if (payloadCase_ == PayloadOneofCase.Unregister) hash ^= Unregister.GetHashCode();
if (payloadCase_ == PayloadOneofCase.AddItem) hash ^= AddItem.GetHashCode();
if (payloadCase_ == PayloadOneofCase.AddItem2) hash ^= AddItem2.GetHashCode();
if (payloadCase_ == PayloadOneofCase.RemoveItem) hash ^= RemoveItem.GetHashCode();
if (payloadCase_ == PayloadOneofCase.Advise) hash ^= Advise.GetHashCode();
if (payloadCase_ == PayloadOneofCase.UnAdvise) hash ^= UnAdvise.GetHashCode();
if (payloadCase_ == PayloadOneofCase.AdviseSupervisory) hash ^= AdviseSupervisory.GetHashCode();
if (payloadCase_ == PayloadOneofCase.AddBufferedItem) hash ^= AddBufferedItem.GetHashCode();
if (payloadCase_ == PayloadOneofCase.SetBufferedUpdateInterval) hash ^= SetBufferedUpdateInterval.GetHashCode();
if (payloadCase_ == PayloadOneofCase.Suspend) hash ^= Suspend.GetHashCode();
if (payloadCase_ == PayloadOneofCase.Activate) hash ^= Activate.GetHashCode();
if (payloadCase_ == PayloadOneofCase.Write) hash ^= Write.GetHashCode();
if (payloadCase_ == PayloadOneofCase.Write2) hash ^= Write2.GetHashCode();
if (payloadCase_ == PayloadOneofCase.WriteSecured) hash ^= WriteSecured.GetHashCode();
if (payloadCase_ == PayloadOneofCase.WriteSecured2) hash ^= WriteSecured2.GetHashCode();
if (payloadCase_ == PayloadOneofCase.AuthenticateUser) hash ^= AuthenticateUser.GetHashCode();
if (payloadCase_ == PayloadOneofCase.ArchestraUserToId) hash ^= ArchestraUserToId.GetHashCode();
if (payloadCase_ == PayloadOneofCase.AddItemBulk) hash ^= AddItemBulk.GetHashCode();
if (payloadCase_ == PayloadOneofCase.AdviseItemBulk) hash ^= AdviseItemBulk.GetHashCode();
if (payloadCase_ == PayloadOneofCase.RemoveItemBulk) hash ^= RemoveItemBulk.GetHashCode();
if (payloadCase_ == PayloadOneofCase.UnAdviseItemBulk) hash ^= UnAdviseItemBulk.GetHashCode();
if (payloadCase_ == PayloadOneofCase.SubscribeBulk) hash ^= SubscribeBulk.GetHashCode();
if (payloadCase_ == PayloadOneofCase.UnsubscribeBulk) hash ^= UnsubscribeBulk.GetHashCode();
if (payloadCase_ == PayloadOneofCase.Ping) hash ^= Ping.GetHashCode();
if (payloadCase_ == PayloadOneofCase.GetSessionState) hash ^= GetSessionState.GetHashCode();
if (payloadCase_ == PayloadOneofCase.GetWorkerInfo) hash ^= GetWorkerInfo.GetHashCode();
if (payloadCase_ == PayloadOneofCase.DrainEvents) hash ^= DrainEvents.GetHashCode();
if (payloadCase_ == PayloadOneofCase.ShutdownWorker) hash ^= ShutdownWorker.GetHashCode();
hash ^= (int) payloadCase_;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Kind != global::MxGateway.Contracts.Proto.MxCommandKind.Unspecified) {
output.WriteRawTag(8);
output.WriteEnum((int) Kind);
}
if (payloadCase_ == PayloadOneofCase.Register) {
output.WriteRawTag(82);
output.WriteMessage(Register);
}
if (payloadCase_ == PayloadOneofCase.Unregister) {
output.WriteRawTag(90);
output.WriteMessage(Unregister);
}
if (payloadCase_ == PayloadOneofCase.AddItem) {
output.WriteRawTag(98);
output.WriteMessage(AddItem);
}
if (payloadCase_ == PayloadOneofCase.AddItem2) {
output.WriteRawTag(106);
output.WriteMessage(AddItem2);
}
if (payloadCase_ == PayloadOneofCase.RemoveItem) {
output.WriteRawTag(114);
output.WriteMessage(RemoveItem);
}
if (payloadCase_ == PayloadOneofCase.Advise) {
output.WriteRawTag(122);
output.WriteMessage(Advise);
}
if (payloadCase_ == PayloadOneofCase.UnAdvise) {
output.WriteRawTag(130, 1);
output.WriteMessage(UnAdvise);
}
if (payloadCase_ == PayloadOneofCase.AdviseSupervisory) {
output.WriteRawTag(138, 1);
output.WriteMessage(AdviseSupervisory);
}
if (payloadCase_ == PayloadOneofCase.AddBufferedItem) {
output.WriteRawTag(146, 1);
output.WriteMessage(AddBufferedItem);
}
if (payloadCase_ == PayloadOneofCase.SetBufferedUpdateInterval) {
output.WriteRawTag(154, 1);
output.WriteMessage(SetBufferedUpdateInterval);
}
if (payloadCase_ == PayloadOneofCase.Suspend) {
output.WriteRawTag(162, 1);
output.WriteMessage(Suspend);
}
if (payloadCase_ == PayloadOneofCase.Activate) {
output.WriteRawTag(170, 1);
output.WriteMessage(Activate);
}
if (payloadCase_ == PayloadOneofCase.Write) {
output.WriteRawTag(178, 1);
output.WriteMessage(Write);
}
if (payloadCase_ == PayloadOneofCase.Write2) {
output.WriteRawTag(186, 1);
output.WriteMessage(Write2);
}
if (payloadCase_ == PayloadOneofCase.WriteSecured) {
output.WriteRawTag(194, 1);
output.WriteMessage(WriteSecured);
}
if (payloadCase_ == PayloadOneofCase.WriteSecured2) {
output.WriteRawTag(202, 1);
output.WriteMessage(WriteSecured2);
}
if (payloadCase_ == PayloadOneofCase.AuthenticateUser) {
output.WriteRawTag(210, 1);
output.WriteMessage(AuthenticateUser);
}
if (payloadCase_ == PayloadOneofCase.ArchestraUserToId) {
output.WriteRawTag(218, 1);
output.WriteMessage(ArchestraUserToId);
}
if (payloadCase_ == PayloadOneofCase.AddItemBulk) {
output.WriteRawTag(226, 1);
output.WriteMessage(AddItemBulk);
}
if (payloadCase_ == PayloadOneofCase.AdviseItemBulk) {
output.WriteRawTag(234, 1);
output.WriteMessage(AdviseItemBulk);
}
if (payloadCase_ == PayloadOneofCase.RemoveItemBulk) {
output.WriteRawTag(242, 1);
output.WriteMessage(RemoveItemBulk);
}
if (payloadCase_ == PayloadOneofCase.UnAdviseItemBulk) {
output.WriteRawTag(250, 1);
output.WriteMessage(UnAdviseItemBulk);
}
if (payloadCase_ == PayloadOneofCase.SubscribeBulk) {
output.WriteRawTag(130, 2);
output.WriteMessage(SubscribeBulk);
}
if (payloadCase_ == PayloadOneofCase.UnsubscribeBulk) {
output.WriteRawTag(138, 2);
output.WriteMessage(UnsubscribeBulk);
}
if (payloadCase_ == PayloadOneofCase.Ping) {
output.WriteRawTag(162, 6);
output.WriteMessage(Ping);
}
if (payloadCase_ == PayloadOneofCase.GetSessionState) {
output.WriteRawTag(170, 6);
output.WriteMessage(GetSessionState);
}
if (payloadCase_ == PayloadOneofCase.GetWorkerInfo) {
output.WriteRawTag(178, 6);
output.WriteMessage(GetWorkerInfo);
}
if (payloadCase_ == PayloadOneofCase.DrainEvents) {
output.WriteRawTag(186, 6);
output.WriteMessage(DrainEvents);
}
if (payloadCase_ == PayloadOneofCase.ShutdownWorker) {
output.WriteRawTag(194, 6);
output.WriteMessage(ShutdownWorker);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Kind != global::MxGateway.Contracts.Proto.MxCommandKind.Unspecified) {
output.WriteRawTag(8);
output.WriteEnum((int) Kind);
}
if (payloadCase_ == PayloadOneofCase.Register) {
output.WriteRawTag(82);
output.WriteMessage(Register);
}
if (payloadCase_ == PayloadOneofCase.Unregister) {
output.WriteRawTag(90);
output.WriteMessage(Unregister);
}
if (payloadCase_ == PayloadOneofCase.AddItem) {
output.WriteRawTag(98);
output.WriteMessage(AddItem);
}
if (payloadCase_ == PayloadOneofCase.AddItem2) {
output.WriteRawTag(106);
output.WriteMessage(AddItem2);
}
if (payloadCase_ == PayloadOneofCase.RemoveItem) {
output.WriteRawTag(114);
output.WriteMessage(RemoveItem);
}
if (payloadCase_ == PayloadOneofCase.Advise) {
output.WriteRawTag(122);
output.WriteMessage(Advise);
}
if (payloadCase_ == PayloadOneofCase.UnAdvise) {
output.WriteRawTag(130, 1);
output.WriteMessage(UnAdvise);
}
if (payloadCase_ == PayloadOneofCase.AdviseSupervisory) {
output.WriteRawTag(138, 1);
output.WriteMessage(AdviseSupervisory);
}
if (payloadCase_ == PayloadOneofCase.AddBufferedItem) {
output.WriteRawTag(146, 1);
output.WriteMessage(AddBufferedItem);
}
if (payloadCase_ == PayloadOneofCase.SetBufferedUpdateInterval) {
output.WriteRawTag(154, 1);
output.WriteMessage(SetBufferedUpdateInterval);
}
if (payloadCase_ == PayloadOneofCase.Suspend) {
output.WriteRawTag(162, 1);
output.WriteMessage(Suspend);
}
if (payloadCase_ == PayloadOneofCase.Activate) {
output.WriteRawTag(170, 1);
output.WriteMessage(Activate);
}
if (payloadCase_ == PayloadOneofCase.Write) {
output.WriteRawTag(178, 1);
output.WriteMessage(Write);
}
if (payloadCase_ == PayloadOneofCase.Write2) {
output.WriteRawTag(186, 1);
output.WriteMessage(Write2);
}
if (payloadCase_ == PayloadOneofCase.WriteSecured) {
output.WriteRawTag(194, 1);
output.WriteMessage(WriteSecured);
}
if (payloadCase_ == PayloadOneofCase.WriteSecured2) {
output.WriteRawTag(202, 1);
output.WriteMessage(WriteSecured2);
}
if (payloadCase_ == PayloadOneofCase.AuthenticateUser) {
output.WriteRawTag(210, 1);
output.WriteMessage(AuthenticateUser);
}
if (payloadCase_ == PayloadOneofCase.ArchestraUserToId) {
output.WriteRawTag(218, 1);
output.WriteMessage(ArchestraUserToId);
}
if (payloadCase_ == PayloadOneofCase.AddItemBulk) {
output.WriteRawTag(226, 1);
output.WriteMessage(AddItemBulk);
}
if (payloadCase_ == PayloadOneofCase.AdviseItemBulk) {
output.WriteRawTag(234, 1);
output.WriteMessage(AdviseItemBulk);
}
if (payloadCase_ == PayloadOneofCase.RemoveItemBulk) {
output.WriteRawTag(242, 1);
output.WriteMessage(RemoveItemBulk);
}
if (payloadCase_ == PayloadOneofCase.UnAdviseItemBulk) {
output.WriteRawTag(250, 1);
output.WriteMessage(UnAdviseItemBulk);
}
if (payloadCase_ == PayloadOneofCase.SubscribeBulk) {
output.WriteRawTag(130, 2);
output.WriteMessage(SubscribeBulk);
}
if (payloadCase_ == PayloadOneofCase.UnsubscribeBulk) {
output.WriteRawTag(138, 2);
output.WriteMessage(UnsubscribeBulk);
}
if (payloadCase_ == PayloadOneofCase.Ping) {
output.WriteRawTag(162, 6);
output.WriteMessage(Ping);
}
if (payloadCase_ == PayloadOneofCase.GetSessionState) {
output.WriteRawTag(170, 6);
output.WriteMessage(GetSessionState);
}
if (payloadCase_ == PayloadOneofCase.GetWorkerInfo) {
output.WriteRawTag(178, 6);
output.WriteMessage(GetWorkerInfo);
}
if (payloadCase_ == PayloadOneofCase.DrainEvents) {
output.WriteRawTag(186, 6);
output.WriteMessage(DrainEvents);
}
if (payloadCase_ == PayloadOneofCase.ShutdownWorker) {
output.WriteRawTag(194, 6);
output.WriteMessage(ShutdownWorker);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Kind != global::MxGateway.Contracts.Proto.MxCommandKind.Unspecified) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Kind);
}
if (payloadCase_ == PayloadOneofCase.Register) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Register);
}
if (payloadCase_ == PayloadOneofCase.Unregister) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Unregister);
}
if (payloadCase_ == PayloadOneofCase.AddItem) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AddItem);
}
if (payloadCase_ == PayloadOneofCase.AddItem2) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AddItem2);
}
if (payloadCase_ == PayloadOneofCase.RemoveItem) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RemoveItem);
}
if (payloadCase_ == PayloadOneofCase.Advise) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Advise);
}
if (payloadCase_ == PayloadOneofCase.UnAdvise) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(UnAdvise);
}
if (payloadCase_ == PayloadOneofCase.AdviseSupervisory) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(AdviseSupervisory);
}
if (payloadCase_ == PayloadOneofCase.AddBufferedItem) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(AddBufferedItem);
}
if (payloadCase_ == PayloadOneofCase.SetBufferedUpdateInterval) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(SetBufferedUpdateInterval);
}
if (payloadCase_ == PayloadOneofCase.Suspend) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(Suspend);
}
if (payloadCase_ == PayloadOneofCase.Activate) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(Activate);
}
if (payloadCase_ == PayloadOneofCase.Write) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(Write);
}
if (payloadCase_ == PayloadOneofCase.Write2) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(Write2);
}
if (payloadCase_ == PayloadOneofCase.WriteSecured) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(WriteSecured);
}
if (payloadCase_ == PayloadOneofCase.WriteSecured2) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(WriteSecured2);
}
if (payloadCase_ == PayloadOneofCase.AuthenticateUser) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(AuthenticateUser);
}
if (payloadCase_ == PayloadOneofCase.ArchestraUserToId) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(ArchestraUserToId);
}
if (payloadCase_ == PayloadOneofCase.AddItemBulk) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(AddItemBulk);
}
if (payloadCase_ == PayloadOneofCase.AdviseItemBulk) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(AdviseItemBulk);
}
if (payloadCase_ == PayloadOneofCase.RemoveItemBulk) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(RemoveItemBulk);
}
if (payloadCase_ == PayloadOneofCase.UnAdviseItemBulk) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(UnAdviseItemBulk);
}
if (payloadCase_ == PayloadOneofCase.SubscribeBulk) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(SubscribeBulk);
}
if (payloadCase_ == PayloadOneofCase.UnsubscribeBulk) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(UnsubscribeBulk);
}
if (payloadCase_ == PayloadOneofCase.Ping) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(Ping);
}
if (payloadCase_ == PayloadOneofCase.GetSessionState) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetSessionState);
}
if (payloadCase_ == PayloadOneofCase.GetWorkerInfo) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(GetWorkerInfo);
}
if (payloadCase_ == PayloadOneofCase.DrainEvents) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(DrainEvents);
}
if (payloadCase_ == PayloadOneofCase.ShutdownWorker) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShutdownWorker);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MxCommand other) {
if (other == null) {
return;
}
if (other.Kind != global::MxGateway.Contracts.Proto.MxCommandKind.Unspecified) {
Kind = other.Kind;
}
switch (other.PayloadCase) {
case PayloadOneofCase.Register:
if (Register == null) {
Register = new global::MxGateway.Contracts.Proto.RegisterCommand();
}
Register.MergeFrom(other.Register);
break;
case PayloadOneofCase.Unregister:
if (Unregister == null) {
Unregister = new global::MxGateway.Contracts.Proto.UnregisterCommand();
}
Unregister.MergeFrom(other.Unregister);
break;
case PayloadOneofCase.AddItem:
if (AddItem == null) {
AddItem = new global::MxGateway.Contracts.Proto.AddItemCommand();
}
AddItem.MergeFrom(other.AddItem);
break;
case PayloadOneofCase.AddItem2:
if (AddItem2 == null) {
AddItem2 = new global::MxGateway.Contracts.Proto.AddItem2Command();
}
AddItem2.MergeFrom(other.AddItem2);
break;
case PayloadOneofCase.RemoveItem:
if (RemoveItem == null) {
RemoveItem = new global::MxGateway.Contracts.Proto.RemoveItemCommand();
}
RemoveItem.MergeFrom(other.RemoveItem);
break;
case PayloadOneofCase.Advise:
if (Advise == null) {
Advise = new global::MxGateway.Contracts.Proto.AdviseCommand();
}
Advise.MergeFrom(other.Advise);
break;
case PayloadOneofCase.UnAdvise:
if (UnAdvise == null) {
UnAdvise = new global::MxGateway.Contracts.Proto.UnAdviseCommand();
}
UnAdvise.MergeFrom(other.UnAdvise);
break;
case PayloadOneofCase.AdviseSupervisory:
if (AdviseSupervisory == null) {
AdviseSupervisory = new global::MxGateway.Contracts.Proto.AdviseSupervisoryCommand();
}
AdviseSupervisory.MergeFrom(other.AdviseSupervisory);
break;
case PayloadOneofCase.AddBufferedItem:
if (AddBufferedItem == null) {
AddBufferedItem = new global::MxGateway.Contracts.Proto.AddBufferedItemCommand();
}
AddBufferedItem.MergeFrom(other.AddBufferedItem);
break;
case PayloadOneofCase.SetBufferedUpdateInterval:
if (SetBufferedUpdateInterval == null) {
SetBufferedUpdateInterval = new global::MxGateway.Contracts.Proto.SetBufferedUpdateIntervalCommand();
}
SetBufferedUpdateInterval.MergeFrom(other.SetBufferedUpdateInterval);
break;
case PayloadOneofCase.Suspend:
if (Suspend == null) {
Suspend = new global::MxGateway.Contracts.Proto.SuspendCommand();
}
Suspend.MergeFrom(other.Suspend);
break;
case PayloadOneofCase.Activate:
if (Activate == null) {
Activate = new global::MxGateway.Contracts.Proto.ActivateCommand();
}
Activate.MergeFrom(other.Activate);
break;
case PayloadOneofCase.Write:
if (Write == null) {
Write = new global::MxGateway.Contracts.Proto.WriteCommand();
}
Write.MergeFrom(other.Write);
break;
case PayloadOneofCase.Write2:
if (Write2 == null) {
Write2 = new global::MxGateway.Contracts.Proto.Write2Command();
}
Write2.MergeFrom(other.Write2);
break;
case PayloadOneofCase.WriteSecured:
if (WriteSecured == null) {
WriteSecured = new global::MxGateway.Contracts.Proto.WriteSecuredCommand();
}
WriteSecured.MergeFrom(other.WriteSecured);
break;
case PayloadOneofCase.WriteSecured2:
if (WriteSecured2 == null) {
WriteSecured2 = new global::MxGateway.Contracts.Proto.WriteSecured2Command();
}
WriteSecured2.MergeFrom(other.WriteSecured2);
break;
case PayloadOneofCase.AuthenticateUser:
if (AuthenticateUser == null) {
AuthenticateUser = new global::MxGateway.Contracts.Proto.AuthenticateUserCommand();
}
AuthenticateUser.MergeFrom(other.AuthenticateUser);
break;
case PayloadOneofCase.ArchestraUserToId:
if (ArchestraUserToId == null) {
ArchestraUserToId = new global::MxGateway.Contracts.Proto.ArchestrAUserToIdCommand();
}
ArchestraUserToId.MergeFrom(other.ArchestraUserToId);
break;
case PayloadOneofCase.AddItemBulk:
if (AddItemBulk == null) {
AddItemBulk = new global::MxGateway.Contracts.Proto.AddItemBulkCommand();
}
AddItemBulk.MergeFrom(other.AddItemBulk);
break;
case PayloadOneofCase.AdviseItemBulk:
if (AdviseItemBulk == null) {
AdviseItemBulk = new global::MxGateway.Contracts.Proto.AdviseItemBulkCommand();
}
AdviseItemBulk.MergeFrom(other.AdviseItemBulk);
break;
case PayloadOneofCase.RemoveItemBulk:
if (RemoveItemBulk == null) {
RemoveItemBulk = new global::MxGateway.Contracts.Proto.RemoveItemBulkCommand();
}
RemoveItemBulk.MergeFrom(other.RemoveItemBulk);
break;
case PayloadOneofCase.UnAdviseItemBulk:
if (UnAdviseItemBulk == null) {
UnAdviseItemBulk = new global::MxGateway.Contracts.Proto.UnAdviseItemBulkCommand();
}
UnAdviseItemBulk.MergeFrom(other.UnAdviseItemBulk);
break;
case PayloadOneofCase.SubscribeBulk:
if (SubscribeBulk == null) {
SubscribeBulk = new global::MxGateway.Contracts.Proto.SubscribeBulkCommand();
}
SubscribeBulk.MergeFrom(other.SubscribeBulk);
break;
case PayloadOneofCase.UnsubscribeBulk:
if (UnsubscribeBulk == null) {
UnsubscribeBulk = new global::MxGateway.Contracts.Proto.UnsubscribeBulkCommand();
}
UnsubscribeBulk.MergeFrom(other.UnsubscribeBulk);
break;
case PayloadOneofCase.Ping:
if (Ping == null) {
Ping = new global::MxGateway.Contracts.Proto.PingCommand();
}
Ping.MergeFrom(other.Ping);
break;
case PayloadOneofCase.GetSessionState:
if (GetSessionState == null) {
GetSessionState = new global::MxGateway.Contracts.Proto.GetSessionStateCommand();
}
GetSessionState.MergeFrom(other.GetSessionState);
break;
case PayloadOneofCase.GetWorkerInfo:
if (GetWorkerInfo == null) {
GetWorkerInfo = new global::MxGateway.Contracts.Proto.GetWorkerInfoCommand();
}
GetWorkerInfo.MergeFrom(other.GetWorkerInfo);
break;
case PayloadOneofCase.DrainEvents:
if (DrainEvents == null) {
DrainEvents = new global::MxGateway.Contracts.Proto.DrainEventsCommand();
}
DrainEvents.MergeFrom(other.DrainEvents);
break;
case PayloadOneofCase.ShutdownWorker:
if (ShutdownWorker == null) {
ShutdownWorker = new global::MxGateway.Contracts.Proto.ShutdownWorkerCommand();
}
ShutdownWorker.MergeFrom(other.ShutdownWorker);
break;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Kind = (global::MxGateway.Contracts.Proto.MxCommandKind) input.ReadEnum();
break;
}
case 82: {
global::MxGateway.Contracts.Proto.RegisterCommand subBuilder = new global::MxGateway.Contracts.Proto.RegisterCommand();
if (payloadCase_ == PayloadOneofCase.Register) {
subBuilder.MergeFrom(Register);
}
input.ReadMessage(subBuilder);
Register = subBuilder;
break;
}
case 90: {
global::MxGateway.Contracts.Proto.UnregisterCommand subBuilder = new global::MxGateway.Contracts.Proto.UnregisterCommand();
if (payloadCase_ == PayloadOneofCase.Unregister) {
subBuilder.MergeFrom(Unregister);
}
input.ReadMessage(subBuilder);
Unregister = subBuilder;
break;
}
case 98: {
global::MxGateway.Contracts.Proto.AddItemCommand subBuilder = new global::MxGateway.Contracts.Proto.AddItemCommand();
if (payloadCase_ == PayloadOneofCase.AddItem) {
subBuilder.MergeFrom(AddItem);
}
input.ReadMessage(subBuilder);
AddItem = subBuilder;
break;
}
case 106: {
global::MxGateway.Contracts.Proto.AddItem2Command subBuilder = new global::MxGateway.Contracts.Proto.AddItem2Command();
if (payloadCase_ == PayloadOneofCase.AddItem2) {
subBuilder.MergeFrom(AddItem2);
}
input.ReadMessage(subBuilder);
AddItem2 = subBuilder;
break;
}
case 114: {
global::MxGateway.Contracts.Proto.RemoveItemCommand subBuilder = new global::MxGateway.Contracts.Proto.RemoveItemCommand();
if (payloadCase_ == PayloadOneofCase.RemoveItem) {
subBuilder.MergeFrom(RemoveItem);
}
input.ReadMessage(subBuilder);
RemoveItem = subBuilder;
break;
}
case 122: {
global::MxGateway.Contracts.Proto.AdviseCommand subBuilder = new global::MxGateway.Contracts.Proto.AdviseCommand();
if (payloadCase_ == PayloadOneofCase.Advise) {
subBuilder.MergeFrom(Advise);
}
input.ReadMessage(subBuilder);
Advise = subBuilder;
break;
}
case 130: {
global::MxGateway.Contracts.Proto.UnAdviseCommand subBuilder = new global::MxGateway.Contracts.Proto.UnAdviseCommand();
if (payloadCase_ == PayloadOneofCase.UnAdvise) {
subBuilder.MergeFrom(UnAdvise);
}
input.ReadMessage(subBuilder);
UnAdvise = subBuilder;
break;
}
case 138: {
global::MxGateway.Contracts.Proto.AdviseSupervisoryCommand subBuilder = new global::MxGateway.Contracts.Proto.AdviseSupervisoryCommand();
if (payloadCase_ == PayloadOneofCase.AdviseSupervisory) {
subBuilder.MergeFrom(AdviseSupervisory);
}
input.ReadMessage(subBuilder);
AdviseSupervisory = subBuilder;
break;
}
case 146: {
global::MxGateway.Contracts.Proto.AddBufferedItemCommand subBuilder = new global::MxGateway.Contracts.Proto.AddBufferedItemCommand();
if (payloadCase_ == PayloadOneofCase.AddBufferedItem) {
subBuilder.MergeFrom(AddBufferedItem);
}
input.ReadMessage(subBuilder);
AddBufferedItem = subBuilder;
break;
}
case 154: {
global::MxGateway.Contracts.Proto.SetBufferedUpdateIntervalCommand subBuilder = new global::MxGateway.Contracts.Proto.SetBufferedUpdateIntervalCommand();
if (payloadCase_ == PayloadOneofCase.SetBufferedUpdateInterval) {
subBuilder.MergeFrom(SetBufferedUpdateInterval);
}
input.ReadMessage(subBuilder);
SetBufferedUpdateInterval = subBuilder;
break;
}
case 162: {
global::MxGateway.Contracts.Proto.SuspendCommand subBuilder = new global::MxGateway.Contracts.Proto.SuspendCommand();
if (payloadCase_ == PayloadOneofCase.Suspend) {
subBuilder.MergeFrom(Suspend);
}
input.ReadMessage(subBuilder);
Suspend = subBuilder;
break;
}
case 170: {
global::MxGateway.Contracts.Proto.ActivateCommand subBuilder = new global::MxGateway.Contracts.Proto.ActivateCommand();
if (payloadCase_ == PayloadOneofCase.Activate) {
subBuilder.MergeFrom(Activate);
}
input.ReadMessage(subBuilder);
Activate = subBuilder;
break;
}
case 178: {
global::MxGateway.Contracts.Proto.WriteCommand subBuilder = new global::MxGateway.Contracts.Proto.WriteCommand();
if (payloadCase_ == PayloadOneofCase.Write) {
subBuilder.MergeFrom(Write);
}
input.ReadMessage(subBuilder);
Write = subBuilder;
break;
}
case 186: {
global::MxGateway.Contracts.Proto.Write2Command subBuilder = new global::MxGateway.Contracts.Proto.Write2Command();
if (payloadCase_ == PayloadOneofCase.Write2) {
subBuilder.MergeFrom(Write2);
}
input.ReadMessage(subBuilder);
Write2 = subBuilder;
break;
}
case 194: {
global::MxGateway.Contracts.Proto.WriteSecuredCommand subBuilder = new global::MxGateway.Contracts.Proto.WriteSecuredCommand();
if (payloadCase_ == PayloadOneofCase.WriteSecured) {
subBuilder.MergeFrom(WriteSecured);
}
input.ReadMessage(subBuilder);
WriteSecured = subBuilder;
break;
}
case 202: {
global::MxGateway.Contracts.Proto.WriteSecured2Command subBuilder = new global::MxGateway.Contracts.Proto.WriteSecured2Command();
if (payloadCase_ == PayloadOneofCase.WriteSecured2) {
subBuilder.MergeFrom(WriteSecured2);
}
input.ReadMessage(subBuilder);
WriteSecured2 = subBuilder;
break;
}
case 210: {
global::MxGateway.Contracts.Proto.AuthenticateUserCommand subBuilder = new global::MxGateway.Contracts.Proto.AuthenticateUserCommand();
if (payloadCase_ == PayloadOneofCase.AuthenticateUser) {
subBuilder.MergeFrom(AuthenticateUser);
}
input.ReadMessage(subBuilder);
AuthenticateUser = subBuilder;
break;
}
case 218: {
global::MxGateway.Contracts.Proto.ArchestrAUserToIdCommand subBuilder = new global::MxGateway.Contracts.Proto.ArchestrAUserToIdCommand();
if (payloadCase_ == PayloadOneofCase.ArchestraUserToId) {
subBuilder.MergeFrom(ArchestraUserToId);
}
input.ReadMessage(subBuilder);
ArchestraUserToId = subBuilder;
break;
}
case 226: {
global::MxGateway.Contracts.Proto.AddItemBulkCommand subBuilder = new global::MxGateway.Contracts.Proto.AddItemBulkCommand();
if (payloadCase_ == PayloadOneofCase.AddItemBulk) {
subBuilder.MergeFrom(AddItemBulk);
}
input.ReadMessage(subBuilder);
AddItemBulk = subBuilder;
break;
}
case 234: {
global::MxGateway.Contracts.Proto.AdviseItemBulkCommand subBuilder = new global::MxGateway.Contracts.Proto.AdviseItemBulkCommand();
if (payloadCase_ == PayloadOneofCase.AdviseItemBulk) {
subBuilder.MergeFrom(AdviseItemBulk);
}
input.ReadMessage(subBuilder);
AdviseItemBulk = subBuilder;
break;
}
case 242: {
global::MxGateway.Contracts.Proto.RemoveItemBulkCommand subBuilder = new global::MxGateway.Contracts.Proto.RemoveItemBulkCommand();
if (payloadCase_ == PayloadOneofCase.RemoveItemBulk) {
subBuilder.MergeFrom(RemoveItemBulk);
}
input.ReadMessage(subBuilder);
RemoveItemBulk = subBuilder;
break;
}
case 250: {
global::MxGateway.Contracts.Proto.UnAdviseItemBulkCommand subBuilder = new global::MxGateway.Contracts.Proto.UnAdviseItemBulkCommand();
if (payloadCase_ == PayloadOneofCase.UnAdviseItemBulk) {
subBuilder.MergeFrom(UnAdviseItemBulk);
}
input.ReadMessage(subBuilder);
UnAdviseItemBulk = subBuilder;
break;
}
case 258: {
global::MxGateway.Contracts.Proto.SubscribeBulkCommand subBuilder = new global::MxGateway.Contracts.Proto.SubscribeBulkCommand();
if (payloadCase_ == PayloadOneofCase.SubscribeBulk) {
subBuilder.MergeFrom(SubscribeBulk);
}
input.ReadMessage(subBuilder);
SubscribeBulk = subBuilder;
break;
}
case 266: {
global::MxGateway.Contracts.Proto.UnsubscribeBulkCommand subBuilder = new global::MxGateway.Contracts.Proto.UnsubscribeBulkCommand();
if (payloadCase_ == PayloadOneofCase.UnsubscribeBulk) {
subBuilder.MergeFrom(UnsubscribeBulk);
}
input.ReadMessage(subBuilder);
UnsubscribeBulk = subBuilder;
break;
}
case 802: {
global::MxGateway.Contracts.Proto.PingCommand subBuilder = new global::MxGateway.Contracts.Proto.PingCommand();
if (payloadCase_ == PayloadOneofCase.Ping) {
subBuilder.MergeFrom(Ping);
}
input.ReadMessage(subBuilder);
Ping = subBuilder;
break;
}
case 810: {
global::MxGateway.Contracts.Proto.GetSessionStateCommand subBuilder = new global::MxGateway.Contracts.Proto.GetSessionStateCommand();
if (payloadCase_ == PayloadOneofCase.GetSessionState) {
subBuilder.MergeFrom(GetSessionState);
}
input.ReadMessage(subBuilder);
GetSessionState = subBuilder;
break;
}
case 818: {
global::MxGateway.Contracts.Proto.GetWorkerInfoCommand subBuilder = new global::MxGateway.Contracts.Proto.GetWorkerInfoCommand();
if (payloadCase_ == PayloadOneofCase.GetWorkerInfo) {
subBuilder.MergeFrom(GetWorkerInfo);
}
input.ReadMessage(subBuilder);
GetWorkerInfo = subBuilder;
break;
}
case 826: {
global::MxGateway.Contracts.Proto.DrainEventsCommand subBuilder = new global::MxGateway.Contracts.Proto.DrainEventsCommand();
if (payloadCase_ == PayloadOneofCase.DrainEvents) {
subBuilder.MergeFrom(DrainEvents);
}
input.ReadMessage(subBuilder);
DrainEvents = subBuilder;
break;
}
case 834: {
global::MxGateway.Contracts.Proto.ShutdownWorkerCommand subBuilder = new global::MxGateway.Contracts.Proto.ShutdownWorkerCommand();
if (payloadCase_ == PayloadOneofCase.ShutdownWorker) {
subBuilder.MergeFrom(ShutdownWorker);
}
input.ReadMessage(subBuilder);
ShutdownWorker = subBuilder;
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Kind = (global::MxGateway.Contracts.Proto.MxCommandKind) input.ReadEnum();
break;
}
case 82: {
global::MxGateway.Contracts.Proto.RegisterCommand subBuilder = new global::MxGateway.Contracts.Proto.RegisterCommand();
if (payloadCase_ == PayloadOneofCase.Register) {
subBuilder.MergeFrom(Register);
}
input.ReadMessage(subBuilder);
Register = subBuilder;
break;
}
case 90: {
global::MxGateway.Contracts.Proto.UnregisterCommand subBuilder = new global::MxGateway.Contracts.Proto.UnregisterCommand();
if (payloadCase_ == PayloadOneofCase.Unregister) {
subBuilder.MergeFrom(Unregister);
}
input.ReadMessage(subBuilder);
Unregister = subBuilder;
break;
}
case 98: {
global::MxGateway.Contracts.Proto.AddItemCommand subBuilder = new global::MxGateway.Contracts.Proto.AddItemCommand();
if (payloadCase_ == PayloadOneofCase.AddItem) {
subBuilder.MergeFrom(AddItem);
}
input.ReadMessage(subBuilder);
AddItem = subBuilder;
break;
}
case 106: {
global::MxGateway.Contracts.Proto.AddItem2Command subBuilder = new global::MxGateway.Contracts.Proto.AddItem2Command();
if (payloadCase_ == PayloadOneofCase.AddItem2) {
subBuilder.MergeFrom(AddItem2);
}
input.ReadMessage(subBuilder);
AddItem2 = subBuilder;
break;
}
case 114: {
global::MxGateway.Contracts.Proto.RemoveItemCommand subBuilder = new global::MxGateway.Contracts.Proto.RemoveItemCommand();
if (payloadCase_ == PayloadOneofCase.RemoveItem) {
subBuilder.MergeFrom(RemoveItem);
}
input.ReadMessage(subBuilder);
RemoveItem = subBuilder;
break;
}
case 122: {
global::MxGateway.Contracts.Proto.AdviseCommand subBuilder = new global::MxGateway.Contracts.Proto.AdviseCommand();
if (payloadCase_ == PayloadOneofCase.Advise) {
subBuilder.MergeFrom(Advise);
}
input.ReadMessage(subBuilder);
Advise = subBuilder;
break;
}
case 130: {
global::MxGateway.Contracts.Proto.UnAdviseCommand subBuilder = new global::MxGateway.Contracts.Proto.UnAdviseCommand();
if (payloadCase_ == PayloadOneofCase.UnAdvise) {
subBuilder.MergeFrom(UnAdvise);
}
input.ReadMessage(subBuilder);
UnAdvise = subBuilder;
break;
}
case 138: {
global::MxGateway.Contracts.Proto.AdviseSupervisoryCommand subBuilder = new global::MxGateway.Contracts.Proto.AdviseSupervisoryCommand();
if (payloadCase_ == PayloadOneofCase.AdviseSupervisory) {
subBuilder.MergeFrom(AdviseSupervisory);
}
input.ReadMessage(subBuilder);
AdviseSupervisory = subBuilder;
break;
}
case 146: {
global::MxGateway.Contracts.Proto.AddBufferedItemCommand subBuilder = new global::MxGateway.Contracts.Proto.AddBufferedItemCommand();
if (payloadCase_ == PayloadOneofCase.AddBufferedItem) {
subBuilder.MergeFrom(AddBufferedItem);
}
input.ReadMessage(subBuilder);
AddBufferedItem = subBuilder;
break;
}
case 154: {
global::MxGateway.Contracts.Proto.SetBufferedUpdateIntervalCommand subBuilder = new global::MxGateway.Contracts.Proto.SetBufferedUpdateIntervalCommand();
if (payloadCase_ == PayloadOneofCase.SetBufferedUpdateInterval) {
subBuilder.MergeFrom(SetBufferedUpdateInterval);
}
input.ReadMessage(subBuilder);
SetBufferedUpdateInterval = subBuilder;
break;
}
case 162: {
global::MxGateway.Contracts.Proto.SuspendCommand subBuilder = new global::MxGateway.Contracts.Proto.SuspendCommand();
if (payloadCase_ == PayloadOneofCase.Suspend) {
subBuilder.MergeFrom(Suspend);
}
input.ReadMessage(subBuilder);
Suspend = subBuilder;
break;
}
case 170: {
global::MxGateway.Contracts.Proto.ActivateCommand subBuilder = new global::MxGateway.Contracts.Proto.ActivateCommand();
if (payloadCase_ == PayloadOneofCase.Activate) {
subBuilder.MergeFrom(Activate);
}
input.ReadMessage(subBuilder);
Activate = subBuilder;
break;
}
case 178: {
global::MxGateway.Contracts.Proto.WriteCommand subBuilder = new global::MxGateway.Contracts.Proto.WriteCommand();
if (payloadCase_ == PayloadOneofCase.Write) {
subBuilder.MergeFrom(Write);
}
input.ReadMessage(subBuilder);
Write = subBuilder;
break;
}
case 186: {
global::MxGateway.Contracts.Proto.Write2Command subBuilder = new global::MxGateway.Contracts.Proto.Write2Command();
if (payloadCase_ == PayloadOneofCase.Write2) {
subBuilder.MergeFrom(Write2);
}
input.ReadMessage(subBuilder);
Write2 = subBuilder;
break;
}
case 194: {
global::MxGateway.Contracts.Proto.WriteSecuredCommand subBuilder = new global::MxGateway.Contracts.Proto.WriteSecuredCommand();
if (payloadCase_ == PayloadOneofCase.WriteSecured) {
subBuilder.MergeFrom(WriteSecured);
}
input.ReadMessage(subBuilder);
WriteSecured = subBuilder;
break;
}
case 202: {
global::MxGateway.Contracts.Proto.WriteSecured2Command subBuilder = new global::MxGateway.Contracts.Proto.WriteSecured2Command();
if (payloadCase_ == PayloadOneofCase.WriteSecured2) {
subBuilder.MergeFrom(WriteSecured2);
}
input.ReadMessage(subBuilder);
WriteSecured2 = subBuilder;
break;
}
case 210: {
global::MxGateway.Contracts.Proto.AuthenticateUserCommand subBuilder = new global::MxGateway.Contracts.Proto.AuthenticateUserCommand();
if (payloadCase_ == PayloadOneofCase.AuthenticateUser) {
subBuilder.MergeFrom(AuthenticateUser);
}
input.ReadMessage(subBuilder);
AuthenticateUser = subBuilder;
break;
}
case 218: {
global::MxGateway.Contracts.Proto.ArchestrAUserToIdCommand subBuilder = new global::MxGateway.Contracts.Proto.ArchestrAUserToIdCommand();
if (payloadCase_ == PayloadOneofCase.ArchestraUserToId) {
subBuilder.MergeFrom(ArchestraUserToId);
}
input.ReadMessage(subBuilder);
ArchestraUserToId = subBuilder;
break;
}
case 226: {
global::MxGateway.Contracts.Proto.AddItemBulkCommand subBuilder = new global::MxGateway.Contracts.Proto.AddItemBulkCommand();
if (payloadCase_ == PayloadOneofCase.AddItemBulk) {
subBuilder.MergeFrom(AddItemBulk);
}
input.ReadMessage(subBuilder);
AddItemBulk = subBuilder;
break;
}
case 234: {
global::MxGateway.Contracts.Proto.AdviseItemBulkCommand subBuilder = new global::MxGateway.Contracts.Proto.AdviseItemBulkCommand();
if (payloadCase_ == PayloadOneofCase.AdviseItemBulk) {
subBuilder.MergeFrom(AdviseItemBulk);
}
input.ReadMessage(subBuilder);
AdviseItemBulk = subBuilder;
break;
}
case 242: {
global::MxGateway.Contracts.Proto.RemoveItemBulkCommand subBuilder = new global::MxGateway.Contracts.Proto.RemoveItemBulkCommand();
if (payloadCase_ == PayloadOneofCase.RemoveItemBulk) {
subBuilder.MergeFrom(RemoveItemBulk);
}
input.ReadMessage(subBuilder);
RemoveItemBulk = subBuilder;
break;
}
case 250: {
global::MxGateway.Contracts.Proto.UnAdviseItemBulkCommand subBuilder = new global::MxGateway.Contracts.Proto.UnAdviseItemBulkCommand();
if (payloadCase_ == PayloadOneofCase.UnAdviseItemBulk) {
subBuilder.MergeFrom(UnAdviseItemBulk);
}
input.ReadMessage(subBuilder);
UnAdviseItemBulk = subBuilder;
break;
}
case 258: {
global::MxGateway.Contracts.Proto.SubscribeBulkCommand subBuilder = new global::MxGateway.Contracts.Proto.SubscribeBulkCommand();
if (payloadCase_ == PayloadOneofCase.SubscribeBulk) {
subBuilder.MergeFrom(SubscribeBulk);
}
input.ReadMessage(subBuilder);
SubscribeBulk = subBuilder;
break;
}
case 266: {
global::MxGateway.Contracts.Proto.UnsubscribeBulkCommand subBuilder = new global::MxGateway.Contracts.Proto.UnsubscribeBulkCommand();
if (payloadCase_ == PayloadOneofCase.UnsubscribeBulk) {
subBuilder.MergeFrom(UnsubscribeBulk);
}
input.ReadMessage(subBuilder);
UnsubscribeBulk = subBuilder;
break;
}
case 802: {
global::MxGateway.Contracts.Proto.PingCommand subBuilder = new global::MxGateway.Contracts.Proto.PingCommand();
if (payloadCase_ == PayloadOneofCase.Ping) {
subBuilder.MergeFrom(Ping);
}
input.ReadMessage(subBuilder);
Ping = subBuilder;
break;
}
case 810: {
global::MxGateway.Contracts.Proto.GetSessionStateCommand subBuilder = new global::MxGateway.Contracts.Proto.GetSessionStateCommand();
if (payloadCase_ == PayloadOneofCase.GetSessionState) {
subBuilder.MergeFrom(GetSessionState);
}
input.ReadMessage(subBuilder);
GetSessionState = subBuilder;
break;
}
case 818: {
global::MxGateway.Contracts.Proto.GetWorkerInfoCommand subBuilder = new global::MxGateway.Contracts.Proto.GetWorkerInfoCommand();
if (payloadCase_ == PayloadOneofCase.GetWorkerInfo) {
subBuilder.MergeFrom(GetWorkerInfo);
}
input.ReadMessage(subBuilder);
GetWorkerInfo = subBuilder;
break;
}
case 826: {
global::MxGateway.Contracts.Proto.DrainEventsCommand subBuilder = new global::MxGateway.Contracts.Proto.DrainEventsCommand();
if (payloadCase_ == PayloadOneofCase.DrainEvents) {
subBuilder.MergeFrom(DrainEvents);
}
input.ReadMessage(subBuilder);
DrainEvents = subBuilder;
break;
}
case 834: {
global::MxGateway.Contracts.Proto.ShutdownWorkerCommand subBuilder = new global::MxGateway.Contracts.Proto.ShutdownWorkerCommand();
if (payloadCase_ == PayloadOneofCase.ShutdownWorker) {
subBuilder.MergeFrom(ShutdownWorker);
}
input.ReadMessage(subBuilder);
ShutdownWorker = subBuilder;
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RegisterCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RegisterCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[7]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RegisterCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RegisterCommand(RegisterCommand other) : this() {
clientName_ = other.clientName_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RegisterCommand Clone() {
return new RegisterCommand(this);
}
/// Field number for the "client_name" field.
public const int ClientNameFieldNumber = 1;
private string clientName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ClientName {
get { return clientName_; }
set {
clientName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RegisterCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RegisterCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ClientName != other.ClientName) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ClientName.Length != 0) hash ^= ClientName.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ClientName.Length != 0) {
output.WriteRawTag(10);
output.WriteString(ClientName);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ClientName.Length != 0) {
output.WriteRawTag(10);
output.WriteString(ClientName);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ClientName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientName);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RegisterCommand other) {
if (other == null) {
return;
}
if (other.ClientName.Length != 0) {
ClientName = other.ClientName;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
ClientName = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
ClientName = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class UnregisterCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnregisterCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[8]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UnregisterCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UnregisterCommand(UnregisterCommand other) : this() {
serverHandle_ = other.serverHandle_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UnregisterCommand Clone() {
return new UnregisterCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as UnregisterCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(UnregisterCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(UnregisterCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AddItemCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddItemCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[9]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddItemCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddItemCommand(AddItemCommand other) : this() {
serverHandle_ = other.serverHandle_;
itemDefinition_ = other.itemDefinition_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddItemCommand Clone() {
return new AddItemCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_definition" field.
public const int ItemDefinitionFieldNumber = 2;
private string itemDefinition_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ItemDefinition {
get { return itemDefinition_; }
set {
itemDefinition_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AddItemCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AddItemCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (ItemDefinition != other.ItemDefinition) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (ItemDefinition.Length != 0) hash ^= ItemDefinition.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemDefinition.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ItemDefinition);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemDefinition.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ItemDefinition);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (ItemDefinition.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ItemDefinition);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AddItemCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.ItemDefinition.Length != 0) {
ItemDefinition = other.ItemDefinition;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
ItemDefinition = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
ItemDefinition = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AddItem2Command : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddItem2Command());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[10]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddItem2Command() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddItem2Command(AddItem2Command other) : this() {
serverHandle_ = other.serverHandle_;
itemDefinition_ = other.itemDefinition_;
itemContext_ = other.itemContext_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddItem2Command Clone() {
return new AddItem2Command(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_definition" field.
public const int ItemDefinitionFieldNumber = 2;
private string itemDefinition_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ItemDefinition {
get { return itemDefinition_; }
set {
itemDefinition_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "item_context" field.
public const int ItemContextFieldNumber = 3;
private string itemContext_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ItemContext {
get { return itemContext_; }
set {
itemContext_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AddItem2Command);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AddItem2Command other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (ItemDefinition != other.ItemDefinition) return false;
if (ItemContext != other.ItemContext) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (ItemDefinition.Length != 0) hash ^= ItemDefinition.GetHashCode();
if (ItemContext.Length != 0) hash ^= ItemContext.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemDefinition.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ItemDefinition);
}
if (ItemContext.Length != 0) {
output.WriteRawTag(26);
output.WriteString(ItemContext);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemDefinition.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ItemDefinition);
}
if (ItemContext.Length != 0) {
output.WriteRawTag(26);
output.WriteString(ItemContext);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (ItemDefinition.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ItemDefinition);
}
if (ItemContext.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ItemContext);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AddItem2Command other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.ItemDefinition.Length != 0) {
ItemDefinition = other.ItemDefinition;
}
if (other.ItemContext.Length != 0) {
ItemContext = other.ItemContext;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
ItemDefinition = input.ReadString();
break;
}
case 26: {
ItemContext = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
ItemDefinition = input.ReadString();
break;
}
case 26: {
ItemContext = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RemoveItemCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoveItemCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[11]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RemoveItemCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RemoveItemCommand(RemoveItemCommand other) : this() {
serverHandle_ = other.serverHandle_;
itemHandle_ = other.itemHandle_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RemoveItemCommand Clone() {
return new RemoveItemCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_handle" field.
public const int ItemHandleFieldNumber = 2;
private int itemHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ItemHandle {
get { return itemHandle_; }
set {
itemHandle_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RemoveItemCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RemoveItemCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (ItemHandle != other.ItemHandle) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (ItemHandle != 0) hash ^= ItemHandle.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (ItemHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemHandle);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RemoveItemCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.ItemHandle != 0) {
ItemHandle = other.ItemHandle;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AdviseCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AdviseCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[12]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AdviseCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AdviseCommand(AdviseCommand other) : this() {
serverHandle_ = other.serverHandle_;
itemHandle_ = other.itemHandle_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AdviseCommand Clone() {
return new AdviseCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_handle" field.
public const int ItemHandleFieldNumber = 2;
private int itemHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ItemHandle {
get { return itemHandle_; }
set {
itemHandle_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AdviseCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AdviseCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (ItemHandle != other.ItemHandle) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (ItemHandle != 0) hash ^= ItemHandle.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (ItemHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemHandle);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AdviseCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.ItemHandle != 0) {
ItemHandle = other.ItemHandle;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class UnAdviseCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnAdviseCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[13]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UnAdviseCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UnAdviseCommand(UnAdviseCommand other) : this() {
serverHandle_ = other.serverHandle_;
itemHandle_ = other.itemHandle_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UnAdviseCommand Clone() {
return new UnAdviseCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_handle" field.
public const int ItemHandleFieldNumber = 2;
private int itemHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ItemHandle {
get { return itemHandle_; }
set {
itemHandle_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as UnAdviseCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(UnAdviseCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (ItemHandle != other.ItemHandle) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (ItemHandle != 0) hash ^= ItemHandle.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (ItemHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemHandle);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(UnAdviseCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.ItemHandle != 0) {
ItemHandle = other.ItemHandle;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AdviseSupervisoryCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AdviseSupervisoryCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[14]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AdviseSupervisoryCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AdviseSupervisoryCommand(AdviseSupervisoryCommand other) : this() {
serverHandle_ = other.serverHandle_;
itemHandle_ = other.itemHandle_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AdviseSupervisoryCommand Clone() {
return new AdviseSupervisoryCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_handle" field.
public const int ItemHandleFieldNumber = 2;
private int itemHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ItemHandle {
get { return itemHandle_; }
set {
itemHandle_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AdviseSupervisoryCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AdviseSupervisoryCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (ItemHandle != other.ItemHandle) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (ItemHandle != 0) hash ^= ItemHandle.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (ItemHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemHandle);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AdviseSupervisoryCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.ItemHandle != 0) {
ItemHandle = other.ItemHandle;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AddBufferedItemCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddBufferedItemCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[15]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddBufferedItemCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddBufferedItemCommand(AddBufferedItemCommand other) : this() {
serverHandle_ = other.serverHandle_;
itemDefinition_ = other.itemDefinition_;
itemContext_ = other.itemContext_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddBufferedItemCommand Clone() {
return new AddBufferedItemCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_definition" field.
public const int ItemDefinitionFieldNumber = 2;
private string itemDefinition_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ItemDefinition {
get { return itemDefinition_; }
set {
itemDefinition_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "item_context" field.
public const int ItemContextFieldNumber = 3;
private string itemContext_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ItemContext {
get { return itemContext_; }
set {
itemContext_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AddBufferedItemCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AddBufferedItemCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (ItemDefinition != other.ItemDefinition) return false;
if (ItemContext != other.ItemContext) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (ItemDefinition.Length != 0) hash ^= ItemDefinition.GetHashCode();
if (ItemContext.Length != 0) hash ^= ItemContext.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemDefinition.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ItemDefinition);
}
if (ItemContext.Length != 0) {
output.WriteRawTag(26);
output.WriteString(ItemContext);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemDefinition.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ItemDefinition);
}
if (ItemContext.Length != 0) {
output.WriteRawTag(26);
output.WriteString(ItemContext);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (ItemDefinition.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ItemDefinition);
}
if (ItemContext.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ItemContext);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AddBufferedItemCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.ItemDefinition.Length != 0) {
ItemDefinition = other.ItemDefinition;
}
if (other.ItemContext.Length != 0) {
ItemContext = other.ItemContext;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
ItemDefinition = input.ReadString();
break;
}
case 26: {
ItemContext = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
ItemDefinition = input.ReadString();
break;
}
case 26: {
ItemContext = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SetBufferedUpdateIntervalCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetBufferedUpdateIntervalCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[16]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SetBufferedUpdateIntervalCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SetBufferedUpdateIntervalCommand(SetBufferedUpdateIntervalCommand other) : this() {
serverHandle_ = other.serverHandle_;
updateIntervalMilliseconds_ = other.updateIntervalMilliseconds_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SetBufferedUpdateIntervalCommand Clone() {
return new SetBufferedUpdateIntervalCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "update_interval_milliseconds" field.
public const int UpdateIntervalMillisecondsFieldNumber = 2;
private int updateIntervalMilliseconds_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int UpdateIntervalMilliseconds {
get { return updateIntervalMilliseconds_; }
set {
updateIntervalMilliseconds_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SetBufferedUpdateIntervalCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SetBufferedUpdateIntervalCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (UpdateIntervalMilliseconds != other.UpdateIntervalMilliseconds) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (UpdateIntervalMilliseconds != 0) hash ^= UpdateIntervalMilliseconds.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (UpdateIntervalMilliseconds != 0) {
output.WriteRawTag(16);
output.WriteInt32(UpdateIntervalMilliseconds);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (UpdateIntervalMilliseconds != 0) {
output.WriteRawTag(16);
output.WriteInt32(UpdateIntervalMilliseconds);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (UpdateIntervalMilliseconds != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(UpdateIntervalMilliseconds);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SetBufferedUpdateIntervalCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.UpdateIntervalMilliseconds != 0) {
UpdateIntervalMilliseconds = other.UpdateIntervalMilliseconds;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
UpdateIntervalMilliseconds = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
UpdateIntervalMilliseconds = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SuspendCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SuspendCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[17]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SuspendCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SuspendCommand(SuspendCommand other) : this() {
serverHandle_ = other.serverHandle_;
itemHandle_ = other.itemHandle_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SuspendCommand Clone() {
return new SuspendCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_handle" field.
public const int ItemHandleFieldNumber = 2;
private int itemHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ItemHandle {
get { return itemHandle_; }
set {
itemHandle_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SuspendCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SuspendCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (ItemHandle != other.ItemHandle) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (ItemHandle != 0) hash ^= ItemHandle.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (ItemHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemHandle);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SuspendCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.ItemHandle != 0) {
ItemHandle = other.ItemHandle;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ActivateCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ActivateCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[18]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ActivateCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ActivateCommand(ActivateCommand other) : this() {
serverHandle_ = other.serverHandle_;
itemHandle_ = other.itemHandle_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ActivateCommand Clone() {
return new ActivateCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_handle" field.
public const int ItemHandleFieldNumber = 2;
private int itemHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ItemHandle {
get { return itemHandle_; }
set {
itemHandle_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ActivateCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ActivateCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (ItemHandle != other.ItemHandle) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (ItemHandle != 0) hash ^= ItemHandle.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (ItemHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemHandle);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ActivateCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.ItemHandle != 0) {
ItemHandle = other.ItemHandle;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class WriteCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WriteCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[19]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public WriteCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public WriteCommand(WriteCommand other) : this() {
serverHandle_ = other.serverHandle_;
itemHandle_ = other.itemHandle_;
value_ = other.value_ != null ? other.value_.Clone() : null;
userId_ = other.userId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public WriteCommand Clone() {
return new WriteCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_handle" field.
public const int ItemHandleFieldNumber = 2;
private int itemHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ItemHandle {
get { return itemHandle_; }
set {
itemHandle_ = value;
}
}
/// Field number for the "value" field.
public const int ValueFieldNumber = 3;
private global::MxGateway.Contracts.Proto.MxValue value_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.MxValue Value {
get { return value_; }
set {
value_ = value;
}
}
/// Field number for the "user_id" field.
public const int UserIdFieldNumber = 4;
private int userId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int UserId {
get { return userId_; }
set {
userId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as WriteCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(WriteCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (ItemHandle != other.ItemHandle) return false;
if (!object.Equals(Value, other.Value)) return false;
if (UserId != other.UserId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (ItemHandle != 0) hash ^= ItemHandle.GetHashCode();
if (value_ != null) hash ^= Value.GetHashCode();
if (UserId != 0) hash ^= UserId.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (value_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Value);
}
if (UserId != 0) {
output.WriteRawTag(32);
output.WriteInt32(UserId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (value_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Value);
}
if (UserId != 0) {
output.WriteRawTag(32);
output.WriteInt32(UserId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (ItemHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemHandle);
}
if (value_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value);
}
if (UserId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(UserId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(WriteCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.ItemHandle != 0) {
ItemHandle = other.ItemHandle;
}
if (other.value_ != null) {
if (value_ == null) {
Value = new global::MxGateway.Contracts.Proto.MxValue();
}
Value.MergeFrom(other.Value);
}
if (other.UserId != 0) {
UserId = other.UserId;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
case 26: {
if (value_ == null) {
Value = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(Value);
break;
}
case 32: {
UserId = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
case 26: {
if (value_ == null) {
Value = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(Value);
break;
}
case 32: {
UserId = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class Write2Command : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Write2Command());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[20]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Write2Command() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Write2Command(Write2Command other) : this() {
serverHandle_ = other.serverHandle_;
itemHandle_ = other.itemHandle_;
value_ = other.value_ != null ? other.value_.Clone() : null;
timestampValue_ = other.timestampValue_ != null ? other.timestampValue_.Clone() : null;
userId_ = other.userId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Write2Command Clone() {
return new Write2Command(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_handle" field.
public const int ItemHandleFieldNumber = 2;
private int itemHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ItemHandle {
get { return itemHandle_; }
set {
itemHandle_ = value;
}
}
/// Field number for the "value" field.
public const int ValueFieldNumber = 3;
private global::MxGateway.Contracts.Proto.MxValue value_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.MxValue Value {
get { return value_; }
set {
value_ = value;
}
}
/// Field number for the "timestamp_value" field.
public const int TimestampValueFieldNumber = 4;
private global::MxGateway.Contracts.Proto.MxValue timestampValue_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.MxValue TimestampValue {
get { return timestampValue_; }
set {
timestampValue_ = value;
}
}
/// Field number for the "user_id" field.
public const int UserIdFieldNumber = 5;
private int userId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int UserId {
get { return userId_; }
set {
userId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Write2Command);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Write2Command other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (ItemHandle != other.ItemHandle) return false;
if (!object.Equals(Value, other.Value)) return false;
if (!object.Equals(TimestampValue, other.TimestampValue)) return false;
if (UserId != other.UserId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (ItemHandle != 0) hash ^= ItemHandle.GetHashCode();
if (value_ != null) hash ^= Value.GetHashCode();
if (timestampValue_ != null) hash ^= TimestampValue.GetHashCode();
if (UserId != 0) hash ^= UserId.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (value_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Value);
}
if (timestampValue_ != null) {
output.WriteRawTag(34);
output.WriteMessage(TimestampValue);
}
if (UserId != 0) {
output.WriteRawTag(40);
output.WriteInt32(UserId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (value_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Value);
}
if (timestampValue_ != null) {
output.WriteRawTag(34);
output.WriteMessage(TimestampValue);
}
if (UserId != 0) {
output.WriteRawTag(40);
output.WriteInt32(UserId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (ItemHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemHandle);
}
if (value_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value);
}
if (timestampValue_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TimestampValue);
}
if (UserId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(UserId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Write2Command other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.ItemHandle != 0) {
ItemHandle = other.ItemHandle;
}
if (other.value_ != null) {
if (value_ == null) {
Value = new global::MxGateway.Contracts.Proto.MxValue();
}
Value.MergeFrom(other.Value);
}
if (other.timestampValue_ != null) {
if (timestampValue_ == null) {
TimestampValue = new global::MxGateway.Contracts.Proto.MxValue();
}
TimestampValue.MergeFrom(other.TimestampValue);
}
if (other.UserId != 0) {
UserId = other.UserId;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
case 26: {
if (value_ == null) {
Value = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(Value);
break;
}
case 34: {
if (timestampValue_ == null) {
TimestampValue = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(TimestampValue);
break;
}
case 40: {
UserId = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
case 26: {
if (value_ == null) {
Value = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(Value);
break;
}
case 34: {
if (timestampValue_ == null) {
TimestampValue = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(TimestampValue);
break;
}
case 40: {
UserId = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class WriteSecuredCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WriteSecuredCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[21]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public WriteSecuredCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public WriteSecuredCommand(WriteSecuredCommand other) : this() {
serverHandle_ = other.serverHandle_;
itemHandle_ = other.itemHandle_;
currentUserId_ = other.currentUserId_;
verifierUserId_ = other.verifierUserId_;
value_ = other.value_ != null ? other.value_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public WriteSecuredCommand Clone() {
return new WriteSecuredCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_handle" field.
public const int ItemHandleFieldNumber = 2;
private int itemHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ItemHandle {
get { return itemHandle_; }
set {
itemHandle_ = value;
}
}
/// Field number for the "current_user_id" field.
public const int CurrentUserIdFieldNumber = 3;
private int currentUserId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CurrentUserId {
get { return currentUserId_; }
set {
currentUserId_ = value;
}
}
/// Field number for the "verifier_user_id" field.
public const int VerifierUserIdFieldNumber = 4;
private int verifierUserId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int VerifierUserId {
get { return verifierUserId_; }
set {
verifierUserId_ = value;
}
}
/// Field number for the "value" field.
public const int ValueFieldNumber = 5;
private global::MxGateway.Contracts.Proto.MxValue value_;
///
/// Credential-sensitive write value. Implementations must not log this field
/// unless an explicit redacted value-logging path is enabled.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.MxValue Value {
get { return value_; }
set {
value_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as WriteSecuredCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(WriteSecuredCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (ItemHandle != other.ItemHandle) return false;
if (CurrentUserId != other.CurrentUserId) return false;
if (VerifierUserId != other.VerifierUserId) return false;
if (!object.Equals(Value, other.Value)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (ItemHandle != 0) hash ^= ItemHandle.GetHashCode();
if (CurrentUserId != 0) hash ^= CurrentUserId.GetHashCode();
if (VerifierUserId != 0) hash ^= VerifierUserId.GetHashCode();
if (value_ != null) hash ^= Value.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (CurrentUserId != 0) {
output.WriteRawTag(24);
output.WriteInt32(CurrentUserId);
}
if (VerifierUserId != 0) {
output.WriteRawTag(32);
output.WriteInt32(VerifierUserId);
}
if (value_ != null) {
output.WriteRawTag(42);
output.WriteMessage(Value);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (CurrentUserId != 0) {
output.WriteRawTag(24);
output.WriteInt32(CurrentUserId);
}
if (VerifierUserId != 0) {
output.WriteRawTag(32);
output.WriteInt32(VerifierUserId);
}
if (value_ != null) {
output.WriteRawTag(42);
output.WriteMessage(Value);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (ItemHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemHandle);
}
if (CurrentUserId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrentUserId);
}
if (VerifierUserId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(VerifierUserId);
}
if (value_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(WriteSecuredCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.ItemHandle != 0) {
ItemHandle = other.ItemHandle;
}
if (other.CurrentUserId != 0) {
CurrentUserId = other.CurrentUserId;
}
if (other.VerifierUserId != 0) {
VerifierUserId = other.VerifierUserId;
}
if (other.value_ != null) {
if (value_ == null) {
Value = new global::MxGateway.Contracts.Proto.MxValue();
}
Value.MergeFrom(other.Value);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
case 24: {
CurrentUserId = input.ReadInt32();
break;
}
case 32: {
VerifierUserId = input.ReadInt32();
break;
}
case 42: {
if (value_ == null) {
Value = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(Value);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
case 24: {
CurrentUserId = input.ReadInt32();
break;
}
case 32: {
VerifierUserId = input.ReadInt32();
break;
}
case 42: {
if (value_ == null) {
Value = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(Value);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class WriteSecured2Command : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WriteSecured2Command());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[22]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public WriteSecured2Command() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public WriteSecured2Command(WriteSecured2Command other) : this() {
serverHandle_ = other.serverHandle_;
itemHandle_ = other.itemHandle_;
currentUserId_ = other.currentUserId_;
verifierUserId_ = other.verifierUserId_;
value_ = other.value_ != null ? other.value_.Clone() : null;
timestampValue_ = other.timestampValue_ != null ? other.timestampValue_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public WriteSecured2Command Clone() {
return new WriteSecured2Command(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_handle" field.
public const int ItemHandleFieldNumber = 2;
private int itemHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ItemHandle {
get { return itemHandle_; }
set {
itemHandle_ = value;
}
}
/// Field number for the "current_user_id" field.
public const int CurrentUserIdFieldNumber = 3;
private int currentUserId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CurrentUserId {
get { return currentUserId_; }
set {
currentUserId_ = value;
}
}
/// Field number for the "verifier_user_id" field.
public const int VerifierUserIdFieldNumber = 4;
private int verifierUserId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int VerifierUserId {
get { return verifierUserId_; }
set {
verifierUserId_ = value;
}
}
/// Field number for the "value" field.
public const int ValueFieldNumber = 5;
private global::MxGateway.Contracts.Proto.MxValue value_;
///
/// Credential-sensitive write value. Implementations must not log this field
/// unless an explicit redacted value-logging path is enabled.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.MxValue Value {
get { return value_; }
set {
value_ = value;
}
}
/// Field number for the "timestamp_value" field.
public const int TimestampValueFieldNumber = 6;
private global::MxGateway.Contracts.Proto.MxValue timestampValue_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.MxValue TimestampValue {
get { return timestampValue_; }
set {
timestampValue_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as WriteSecured2Command);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(WriteSecured2Command other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (ItemHandle != other.ItemHandle) return false;
if (CurrentUserId != other.CurrentUserId) return false;
if (VerifierUserId != other.VerifierUserId) return false;
if (!object.Equals(Value, other.Value)) return false;
if (!object.Equals(TimestampValue, other.TimestampValue)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (ItemHandle != 0) hash ^= ItemHandle.GetHashCode();
if (CurrentUserId != 0) hash ^= CurrentUserId.GetHashCode();
if (VerifierUserId != 0) hash ^= VerifierUserId.GetHashCode();
if (value_ != null) hash ^= Value.GetHashCode();
if (timestampValue_ != null) hash ^= TimestampValue.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (CurrentUserId != 0) {
output.WriteRawTag(24);
output.WriteInt32(CurrentUserId);
}
if (VerifierUserId != 0) {
output.WriteRawTag(32);
output.WriteInt32(VerifierUserId);
}
if (value_ != null) {
output.WriteRawTag(42);
output.WriteMessage(Value);
}
if (timestampValue_ != null) {
output.WriteRawTag(50);
output.WriteMessage(TimestampValue);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(16);
output.WriteInt32(ItemHandle);
}
if (CurrentUserId != 0) {
output.WriteRawTag(24);
output.WriteInt32(CurrentUserId);
}
if (VerifierUserId != 0) {
output.WriteRawTag(32);
output.WriteInt32(VerifierUserId);
}
if (value_ != null) {
output.WriteRawTag(42);
output.WriteMessage(Value);
}
if (timestampValue_ != null) {
output.WriteRawTag(50);
output.WriteMessage(TimestampValue);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (ItemHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemHandle);
}
if (CurrentUserId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrentUserId);
}
if (VerifierUserId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(VerifierUserId);
}
if (value_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value);
}
if (timestampValue_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TimestampValue);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(WriteSecured2Command other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.ItemHandle != 0) {
ItemHandle = other.ItemHandle;
}
if (other.CurrentUserId != 0) {
CurrentUserId = other.CurrentUserId;
}
if (other.VerifierUserId != 0) {
VerifierUserId = other.VerifierUserId;
}
if (other.value_ != null) {
if (value_ == null) {
Value = new global::MxGateway.Contracts.Proto.MxValue();
}
Value.MergeFrom(other.Value);
}
if (other.timestampValue_ != null) {
if (timestampValue_ == null) {
TimestampValue = new global::MxGateway.Contracts.Proto.MxValue();
}
TimestampValue.MergeFrom(other.TimestampValue);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
case 24: {
CurrentUserId = input.ReadInt32();
break;
}
case 32: {
VerifierUserId = input.ReadInt32();
break;
}
case 42: {
if (value_ == null) {
Value = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(Value);
break;
}
case 50: {
if (timestampValue_ == null) {
TimestampValue = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(TimestampValue);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 16: {
ItemHandle = input.ReadInt32();
break;
}
case 24: {
CurrentUserId = input.ReadInt32();
break;
}
case 32: {
VerifierUserId = input.ReadInt32();
break;
}
case 42: {
if (value_ == null) {
Value = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(Value);
break;
}
case 50: {
if (timestampValue_ == null) {
TimestampValue = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(TimestampValue);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AuthenticateUserCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AuthenticateUserCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[23]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AuthenticateUserCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AuthenticateUserCommand(AuthenticateUserCommand other) : this() {
serverHandle_ = other.serverHandle_;
verifyUser_ = other.verifyUser_;
verifyUserPassword_ = other.verifyUserPassword_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AuthenticateUserCommand Clone() {
return new AuthenticateUserCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "verify_user" field.
public const int VerifyUserFieldNumber = 2;
private string verifyUser_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string VerifyUser {
get { return verifyUser_; }
set {
verifyUser_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "verify_user_password" field.
public const int VerifyUserPasswordFieldNumber = 3;
private string verifyUserPassword_ = "";
///
/// Raw MXAccess credential. Implementations must keep this field out of logs,
/// metrics labels, command lines, and diagnostics.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string VerifyUserPassword {
get { return verifyUserPassword_; }
set {
verifyUserPassword_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AuthenticateUserCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AuthenticateUserCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (VerifyUser != other.VerifyUser) return false;
if (VerifyUserPassword != other.VerifyUserPassword) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (VerifyUser.Length != 0) hash ^= VerifyUser.GetHashCode();
if (VerifyUserPassword.Length != 0) hash ^= VerifyUserPassword.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (VerifyUser.Length != 0) {
output.WriteRawTag(18);
output.WriteString(VerifyUser);
}
if (VerifyUserPassword.Length != 0) {
output.WriteRawTag(26);
output.WriteString(VerifyUserPassword);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (VerifyUser.Length != 0) {
output.WriteRawTag(18);
output.WriteString(VerifyUser);
}
if (VerifyUserPassword.Length != 0) {
output.WriteRawTag(26);
output.WriteString(VerifyUserPassword);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (VerifyUser.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(VerifyUser);
}
if (VerifyUserPassword.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(VerifyUserPassword);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AuthenticateUserCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.VerifyUser.Length != 0) {
VerifyUser = other.VerifyUser;
}
if (other.VerifyUserPassword.Length != 0) {
VerifyUserPassword = other.VerifyUserPassword;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
VerifyUser = input.ReadString();
break;
}
case 26: {
VerifyUserPassword = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
VerifyUser = input.ReadString();
break;
}
case 26: {
VerifyUserPassword = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ArchestrAUserToIdCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ArchestrAUserToIdCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[24]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ArchestrAUserToIdCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ArchestrAUserToIdCommand(ArchestrAUserToIdCommand other) : this() {
serverHandle_ = other.serverHandle_;
userIdGuid_ = other.userIdGuid_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ArchestrAUserToIdCommand Clone() {
return new ArchestrAUserToIdCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "user_id_guid" field.
public const int UserIdGuidFieldNumber = 2;
private string userIdGuid_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UserIdGuid {
get { return userIdGuid_; }
set {
userIdGuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ArchestrAUserToIdCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ArchestrAUserToIdCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (UserIdGuid != other.UserIdGuid) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (UserIdGuid.Length != 0) hash ^= UserIdGuid.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (UserIdGuid.Length != 0) {
output.WriteRawTag(18);
output.WriteString(UserIdGuid);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (UserIdGuid.Length != 0) {
output.WriteRawTag(18);
output.WriteString(UserIdGuid);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (UserIdGuid.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(UserIdGuid);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ArchestrAUserToIdCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.UserIdGuid.Length != 0) {
UserIdGuid = other.UserIdGuid;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
UserIdGuid = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
UserIdGuid = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AddItemBulkCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddItemBulkCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[25]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddItemBulkCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddItemBulkCommand(AddItemBulkCommand other) : this() {
serverHandle_ = other.serverHandle_;
tagAddresses_ = other.tagAddresses_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddItemBulkCommand Clone() {
return new AddItemBulkCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "tag_addresses" field.
public const int TagAddressesFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_tagAddresses_codec
= pb::FieldCodec.ForString(18);
private readonly pbc::RepeatedField tagAddresses_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField TagAddresses {
get { return tagAddresses_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AddItemBulkCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AddItemBulkCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if(!tagAddresses_.Equals(other.tagAddresses_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
hash ^= tagAddresses_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
tagAddresses_.WriteTo(output, _repeated_tagAddresses_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
tagAddresses_.WriteTo(ref output, _repeated_tagAddresses_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
size += tagAddresses_.CalculateSize(_repeated_tagAddresses_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AddItemBulkCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
tagAddresses_.Add(other.tagAddresses_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
tagAddresses_.AddEntriesFrom(input, _repeated_tagAddresses_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
tagAddresses_.AddEntriesFrom(ref input, _repeated_tagAddresses_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AdviseItemBulkCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AdviseItemBulkCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[26]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AdviseItemBulkCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AdviseItemBulkCommand(AdviseItemBulkCommand other) : this() {
serverHandle_ = other.serverHandle_;
itemHandles_ = other.itemHandles_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AdviseItemBulkCommand Clone() {
return new AdviseItemBulkCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_handles" field.
public const int ItemHandlesFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_itemHandles_codec
= pb::FieldCodec.ForInt32(18);
private readonly pbc::RepeatedField itemHandles_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField ItemHandles {
get { return itemHandles_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AdviseItemBulkCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AdviseItemBulkCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if(!itemHandles_.Equals(other.itemHandles_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
hash ^= itemHandles_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
itemHandles_.WriteTo(output, _repeated_itemHandles_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
itemHandles_.WriteTo(ref output, _repeated_itemHandles_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
size += itemHandles_.CalculateSize(_repeated_itemHandles_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AdviseItemBulkCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
itemHandles_.Add(other.itemHandles_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18:
case 16: {
itemHandles_.AddEntriesFrom(input, _repeated_itemHandles_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18:
case 16: {
itemHandles_.AddEntriesFrom(ref input, _repeated_itemHandles_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RemoveItemBulkCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RemoveItemBulkCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[27]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RemoveItemBulkCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RemoveItemBulkCommand(RemoveItemBulkCommand other) : this() {
serverHandle_ = other.serverHandle_;
itemHandles_ = other.itemHandles_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RemoveItemBulkCommand Clone() {
return new RemoveItemBulkCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_handles" field.
public const int ItemHandlesFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_itemHandles_codec
= pb::FieldCodec.ForInt32(18);
private readonly pbc::RepeatedField itemHandles_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField ItemHandles {
get { return itemHandles_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RemoveItemBulkCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RemoveItemBulkCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if(!itemHandles_.Equals(other.itemHandles_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
hash ^= itemHandles_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
itemHandles_.WriteTo(output, _repeated_itemHandles_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
itemHandles_.WriteTo(ref output, _repeated_itemHandles_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
size += itemHandles_.CalculateSize(_repeated_itemHandles_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RemoveItemBulkCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
itemHandles_.Add(other.itemHandles_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18:
case 16: {
itemHandles_.AddEntriesFrom(input, _repeated_itemHandles_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18:
case 16: {
itemHandles_.AddEntriesFrom(ref input, _repeated_itemHandles_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class UnAdviseItemBulkCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnAdviseItemBulkCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[28]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UnAdviseItemBulkCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UnAdviseItemBulkCommand(UnAdviseItemBulkCommand other) : this() {
serverHandle_ = other.serverHandle_;
itemHandles_ = other.itemHandles_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UnAdviseItemBulkCommand Clone() {
return new UnAdviseItemBulkCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_handles" field.
public const int ItemHandlesFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_itemHandles_codec
= pb::FieldCodec.ForInt32(18);
private readonly pbc::RepeatedField itemHandles_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField ItemHandles {
get { return itemHandles_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as UnAdviseItemBulkCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(UnAdviseItemBulkCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if(!itemHandles_.Equals(other.itemHandles_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
hash ^= itemHandles_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
itemHandles_.WriteTo(output, _repeated_itemHandles_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
itemHandles_.WriteTo(ref output, _repeated_itemHandles_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
size += itemHandles_.CalculateSize(_repeated_itemHandles_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(UnAdviseItemBulkCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
itemHandles_.Add(other.itemHandles_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18:
case 16: {
itemHandles_.AddEntriesFrom(input, _repeated_itemHandles_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18:
case 16: {
itemHandles_.AddEntriesFrom(ref input, _repeated_itemHandles_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SubscribeBulkCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeBulkCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[29]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SubscribeBulkCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SubscribeBulkCommand(SubscribeBulkCommand other) : this() {
serverHandle_ = other.serverHandle_;
tagAddresses_ = other.tagAddresses_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SubscribeBulkCommand Clone() {
return new SubscribeBulkCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "tag_addresses" field.
public const int TagAddressesFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_tagAddresses_codec
= pb::FieldCodec.ForString(18);
private readonly pbc::RepeatedField tagAddresses_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField TagAddresses {
get { return tagAddresses_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SubscribeBulkCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SubscribeBulkCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if(!tagAddresses_.Equals(other.tagAddresses_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
hash ^= tagAddresses_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
tagAddresses_.WriteTo(output, _repeated_tagAddresses_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
tagAddresses_.WriteTo(ref output, _repeated_tagAddresses_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
size += tagAddresses_.CalculateSize(_repeated_tagAddresses_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SubscribeBulkCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
tagAddresses_.Add(other.tagAddresses_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
tagAddresses_.AddEntriesFrom(input, _repeated_tagAddresses_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
tagAddresses_.AddEntriesFrom(ref input, _repeated_tagAddresses_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class UnsubscribeBulkCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsubscribeBulkCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[30]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UnsubscribeBulkCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UnsubscribeBulkCommand(UnsubscribeBulkCommand other) : this() {
serverHandle_ = other.serverHandle_;
itemHandles_ = other.itemHandles_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UnsubscribeBulkCommand Clone() {
return new UnsubscribeBulkCommand(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_handles" field.
public const int ItemHandlesFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_itemHandles_codec
= pb::FieldCodec.ForInt32(18);
private readonly pbc::RepeatedField itemHandles_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField ItemHandles {
get { return itemHandles_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as UnsubscribeBulkCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(UnsubscribeBulkCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if(!itemHandles_.Equals(other.itemHandles_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
hash ^= itemHandles_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
itemHandles_.WriteTo(output, _repeated_itemHandles_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
itemHandles_.WriteTo(ref output, _repeated_itemHandles_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
size += itemHandles_.CalculateSize(_repeated_itemHandles_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(UnsubscribeBulkCommand other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
itemHandles_.Add(other.itemHandles_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18:
case 16: {
itemHandles_.AddEntriesFrom(input, _repeated_itemHandles_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18:
case 16: {
itemHandles_.AddEntriesFrom(ref input, _repeated_itemHandles_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PingCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PingCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[31]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PingCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PingCommand(PingCommand other) : this() {
message_ = other.message_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PingCommand Clone() {
return new PingCommand(this);
}
/// Field number for the "message" field.
public const int MessageFieldNumber = 1;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PingCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PingCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Message != other.Message) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (Message.Length != 0) hash ^= Message.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Message.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Message);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Message.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Message);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PingCommand other) {
if (other == null) {
return;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Message = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
Message = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetSessionStateCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetSessionStateCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[32]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetSessionStateCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetSessionStateCommand(GetSessionStateCommand other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetSessionStateCommand Clone() {
return new GetSessionStateCommand(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetSessionStateCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetSessionStateCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetSessionStateCommand other) {
if (other == null) {
return;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetWorkerInfoCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetWorkerInfoCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[33]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetWorkerInfoCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetWorkerInfoCommand(GetWorkerInfoCommand other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetWorkerInfoCommand Clone() {
return new GetWorkerInfoCommand(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetWorkerInfoCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetWorkerInfoCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetWorkerInfoCommand other) {
if (other == null) {
return;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class DrainEventsCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DrainEventsCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[34]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DrainEventsCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DrainEventsCommand(DrainEventsCommand other) : this() {
maxEvents_ = other.maxEvents_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DrainEventsCommand Clone() {
return new DrainEventsCommand(this);
}
/// Field number for the "max_events" field.
public const int MaxEventsFieldNumber = 1;
private uint maxEvents_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint MaxEvents {
get { return maxEvents_; }
set {
maxEvents_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as DrainEventsCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(DrainEventsCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (MaxEvents != other.MaxEvents) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (MaxEvents != 0) hash ^= MaxEvents.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (MaxEvents != 0) {
output.WriteRawTag(8);
output.WriteUInt32(MaxEvents);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (MaxEvents != 0) {
output.WriteRawTag(8);
output.WriteUInt32(MaxEvents);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (MaxEvents != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxEvents);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(DrainEventsCommand other) {
if (other == null) {
return;
}
if (other.MaxEvents != 0) {
MaxEvents = other.MaxEvents;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
MaxEvents = input.ReadUInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
MaxEvents = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ShutdownWorkerCommand : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ShutdownWorkerCommand());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[35]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ShutdownWorkerCommand() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ShutdownWorkerCommand(ShutdownWorkerCommand other) : this() {
gracePeriod_ = other.gracePeriod_ != null ? other.gracePeriod_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ShutdownWorkerCommand Clone() {
return new ShutdownWorkerCommand(this);
}
/// Field number for the "grace_period" field.
public const int GracePeriodFieldNumber = 1;
private global::Google.Protobuf.WellKnownTypes.Duration gracePeriod_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.WellKnownTypes.Duration GracePeriod {
get { return gracePeriod_; }
set {
gracePeriod_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ShutdownWorkerCommand);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ShutdownWorkerCommand other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(GracePeriod, other.GracePeriod)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (gracePeriod_ != null) hash ^= GracePeriod.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (gracePeriod_ != null) {
output.WriteRawTag(10);
output.WriteMessage(GracePeriod);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (gracePeriod_ != null) {
output.WriteRawTag(10);
output.WriteMessage(GracePeriod);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (gracePeriod_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GracePeriod);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ShutdownWorkerCommand other) {
if (other == null) {
return;
}
if (other.gracePeriod_ != null) {
if (gracePeriod_ == null) {
GracePeriod = new global::Google.Protobuf.WellKnownTypes.Duration();
}
GracePeriod.MergeFrom(other.GracePeriod);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
if (gracePeriod_ == null) {
GracePeriod = new global::Google.Protobuf.WellKnownTypes.Duration();
}
input.ReadMessage(GracePeriod);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
if (gracePeriod_ == null) {
GracePeriod = new global::Google.Protobuf.WellKnownTypes.Duration();
}
input.ReadMessage(GracePeriod);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class MxCommandReply : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MxCommandReply());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[36]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MxCommandReply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MxCommandReply(MxCommandReply other) : this() {
_hasBits0 = other._hasBits0;
sessionId_ = other.sessionId_;
correlationId_ = other.correlationId_;
kind_ = other.kind_;
protocolStatus_ = other.protocolStatus_ != null ? other.protocolStatus_.Clone() : null;
hresult_ = other.hresult_;
returnValue_ = other.returnValue_ != null ? other.returnValue_.Clone() : null;
statuses_ = other.statuses_.Clone();
diagnosticMessage_ = other.diagnosticMessage_;
switch (other.PayloadCase) {
case PayloadOneofCase.Register:
Register = other.Register.Clone();
break;
case PayloadOneofCase.AddItem:
AddItem = other.AddItem.Clone();
break;
case PayloadOneofCase.AddItem2:
AddItem2 = other.AddItem2.Clone();
break;
case PayloadOneofCase.AddBufferedItem:
AddBufferedItem = other.AddBufferedItem.Clone();
break;
case PayloadOneofCase.Suspend:
Suspend = other.Suspend.Clone();
break;
case PayloadOneofCase.Activate:
Activate = other.Activate.Clone();
break;
case PayloadOneofCase.AuthenticateUser:
AuthenticateUser = other.AuthenticateUser.Clone();
break;
case PayloadOneofCase.ArchestraUserToId:
ArchestraUserToId = other.ArchestraUserToId.Clone();
break;
case PayloadOneofCase.AddItemBulk:
AddItemBulk = other.AddItemBulk.Clone();
break;
case PayloadOneofCase.AdviseItemBulk:
AdviseItemBulk = other.AdviseItemBulk.Clone();
break;
case PayloadOneofCase.RemoveItemBulk:
RemoveItemBulk = other.RemoveItemBulk.Clone();
break;
case PayloadOneofCase.UnAdviseItemBulk:
UnAdviseItemBulk = other.UnAdviseItemBulk.Clone();
break;
case PayloadOneofCase.SubscribeBulk:
SubscribeBulk = other.SubscribeBulk.Clone();
break;
case PayloadOneofCase.UnsubscribeBulk:
UnsubscribeBulk = other.UnsubscribeBulk.Clone();
break;
case PayloadOneofCase.SessionState:
SessionState = other.SessionState.Clone();
break;
case PayloadOneofCase.WorkerInfo:
WorkerInfo = other.WorkerInfo.Clone();
break;
case PayloadOneofCase.DrainEvents:
DrainEvents = other.DrainEvents.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MxCommandReply Clone() {
return new MxCommandReply(this);
}
/// Field number for the "session_id" field.
public const int SessionIdFieldNumber = 1;
private string sessionId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SessionId {
get { return sessionId_; }
set {
sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "correlation_id" field.
public const int CorrelationIdFieldNumber = 2;
private string correlationId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string CorrelationId {
get { return correlationId_; }
set {
correlationId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "kind" field.
public const int KindFieldNumber = 3;
private global::MxGateway.Contracts.Proto.MxCommandKind kind_ = global::MxGateway.Contracts.Proto.MxCommandKind.Unspecified;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.MxCommandKind Kind {
get { return kind_; }
set {
kind_ = value;
}
}
/// Field number for the "protocol_status" field.
public const int ProtocolStatusFieldNumber = 4;
private global::MxGateway.Contracts.Proto.ProtocolStatus protocolStatus_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.ProtocolStatus ProtocolStatus {
get { return protocolStatus_; }
set {
protocolStatus_ = value;
}
}
/// Field number for the "hresult" field.
public const int HresultFieldNumber = 5;
private readonly static int HresultDefaultValue = 0;
private int hresult_;
///
/// HRESULT captured from MXAccess or a COM exception. This remains separate
/// from gateway protocol status so MXAccess parity details are not hidden by
/// transport failures.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Hresult {
get { if ((_hasBits0 & 1) != 0) { return hresult_; } else { return HresultDefaultValue; } }
set {
_hasBits0 |= 1;
hresult_ = value;
}
}
/// Gets whether the "hresult" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasHresult {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "hresult" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearHresult() {
_hasBits0 &= ~1;
}
/// Field number for the "return_value" field.
public const int ReturnValueFieldNumber = 6;
private global::MxGateway.Contracts.Proto.MxValue returnValue_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.MxValue ReturnValue {
get { return returnValue_; }
set {
returnValue_ = value;
}
}
/// Field number for the "statuses" field.
public const int StatusesFieldNumber = 7;
private static readonly pb::FieldCodec _repeated_statuses_codec
= pb::FieldCodec.ForMessage(58, global::MxGateway.Contracts.Proto.MxStatusProxy.Parser);
private readonly pbc::RepeatedField statuses_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Statuses {
get { return statuses_; }
}
/// Field number for the "diagnostic_message" field.
public const int DiagnosticMessageFieldNumber = 8;
private string diagnosticMessage_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string DiagnosticMessage {
get { return diagnosticMessage_; }
set {
diagnosticMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "register" field.
public const int RegisterFieldNumber = 20;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.RegisterReply Register {
get { return payloadCase_ == PayloadOneofCase.Register ? (global::MxGateway.Contracts.Proto.RegisterReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Register;
}
}
/// Field number for the "add_item" field.
public const int AddItemFieldNumber = 21;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.AddItemReply AddItem {
get { return payloadCase_ == PayloadOneofCase.AddItem ? (global::MxGateway.Contracts.Proto.AddItemReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AddItem;
}
}
/// Field number for the "add_item2" field.
public const int AddItem2FieldNumber = 22;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.AddItem2Reply AddItem2 {
get { return payloadCase_ == PayloadOneofCase.AddItem2 ? (global::MxGateway.Contracts.Proto.AddItem2Reply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AddItem2;
}
}
/// Field number for the "add_buffered_item" field.
public const int AddBufferedItemFieldNumber = 23;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.AddBufferedItemReply AddBufferedItem {
get { return payloadCase_ == PayloadOneofCase.AddBufferedItem ? (global::MxGateway.Contracts.Proto.AddBufferedItemReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AddBufferedItem;
}
}
/// Field number for the "suspend" field.
public const int SuspendFieldNumber = 24;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.SuspendReply Suspend {
get { return payloadCase_ == PayloadOneofCase.Suspend ? (global::MxGateway.Contracts.Proto.SuspendReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Suspend;
}
}
/// Field number for the "activate" field.
public const int ActivateFieldNumber = 25;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.ActivateReply Activate {
get { return payloadCase_ == PayloadOneofCase.Activate ? (global::MxGateway.Contracts.Proto.ActivateReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Activate;
}
}
/// Field number for the "authenticate_user" field.
public const int AuthenticateUserFieldNumber = 26;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.AuthenticateUserReply AuthenticateUser {
get { return payloadCase_ == PayloadOneofCase.AuthenticateUser ? (global::MxGateway.Contracts.Proto.AuthenticateUserReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AuthenticateUser;
}
}
/// Field number for the "archestra_user_to_id" field.
public const int ArchestraUserToIdFieldNumber = 27;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.ArchestrAUserToIdReply ArchestraUserToId {
get { return payloadCase_ == PayloadOneofCase.ArchestraUserToId ? (global::MxGateway.Contracts.Proto.ArchestrAUserToIdReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ArchestraUserToId;
}
}
/// Field number for the "add_item_bulk" field.
public const int AddItemBulkFieldNumber = 28;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.BulkSubscribeReply AddItemBulk {
get { return payloadCase_ == PayloadOneofCase.AddItemBulk ? (global::MxGateway.Contracts.Proto.BulkSubscribeReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AddItemBulk;
}
}
/// Field number for the "advise_item_bulk" field.
public const int AdviseItemBulkFieldNumber = 29;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.BulkSubscribeReply AdviseItemBulk {
get { return payloadCase_ == PayloadOneofCase.AdviseItemBulk ? (global::MxGateway.Contracts.Proto.BulkSubscribeReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AdviseItemBulk;
}
}
/// Field number for the "remove_item_bulk" field.
public const int RemoveItemBulkFieldNumber = 30;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.BulkSubscribeReply RemoveItemBulk {
get { return payloadCase_ == PayloadOneofCase.RemoveItemBulk ? (global::MxGateway.Contracts.Proto.BulkSubscribeReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RemoveItemBulk;
}
}
/// Field number for the "un_advise_item_bulk" field.
public const int UnAdviseItemBulkFieldNumber = 31;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.BulkSubscribeReply UnAdviseItemBulk {
get { return payloadCase_ == PayloadOneofCase.UnAdviseItemBulk ? (global::MxGateway.Contracts.Proto.BulkSubscribeReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UnAdviseItemBulk;
}
}
/// Field number for the "subscribe_bulk" field.
public const int SubscribeBulkFieldNumber = 32;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.BulkSubscribeReply SubscribeBulk {
get { return payloadCase_ == PayloadOneofCase.SubscribeBulk ? (global::MxGateway.Contracts.Proto.BulkSubscribeReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SubscribeBulk;
}
}
/// Field number for the "unsubscribe_bulk" field.
public const int UnsubscribeBulkFieldNumber = 33;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.BulkSubscribeReply UnsubscribeBulk {
get { return payloadCase_ == PayloadOneofCase.UnsubscribeBulk ? (global::MxGateway.Contracts.Proto.BulkSubscribeReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UnsubscribeBulk;
}
}
/// Field number for the "session_state" field.
public const int SessionStateFieldNumber = 100;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.SessionStateReply SessionState {
get { return payloadCase_ == PayloadOneofCase.SessionState ? (global::MxGateway.Contracts.Proto.SessionStateReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SessionState;
}
}
/// Field number for the "worker_info" field.
public const int WorkerInfoFieldNumber = 101;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.WorkerInfoReply WorkerInfo {
get { return payloadCase_ == PayloadOneofCase.WorkerInfo ? (global::MxGateway.Contracts.Proto.WorkerInfoReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.WorkerInfo;
}
}
/// Field number for the "drain_events" field.
public const int DrainEventsFieldNumber = 102;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.DrainEventsReply DrainEvents {
get { return payloadCase_ == PayloadOneofCase.DrainEvents ? (global::MxGateway.Contracts.Proto.DrainEventsReply) payload_ : null; }
set {
payload_ = value;
payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.DrainEvents;
}
}
private object payload_;
/// Enum of possible cases for the "payload" oneof.
public enum PayloadOneofCase {
None = 0,
Register = 20,
AddItem = 21,
AddItem2 = 22,
AddBufferedItem = 23,
Suspend = 24,
Activate = 25,
AuthenticateUser = 26,
ArchestraUserToId = 27,
AddItemBulk = 28,
AdviseItemBulk = 29,
RemoveItemBulk = 30,
UnAdviseItemBulk = 31,
SubscribeBulk = 32,
UnsubscribeBulk = 33,
SessionState = 100,
WorkerInfo = 101,
DrainEvents = 102,
}
private PayloadOneofCase payloadCase_ = PayloadOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PayloadOneofCase PayloadCase {
get { return payloadCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearPayload() {
payloadCase_ = PayloadOneofCase.None;
payload_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MxCommandReply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MxCommandReply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (SessionId != other.SessionId) return false;
if (CorrelationId != other.CorrelationId) return false;
if (Kind != other.Kind) return false;
if (!object.Equals(ProtocolStatus, other.ProtocolStatus)) return false;
if (Hresult != other.Hresult) return false;
if (!object.Equals(ReturnValue, other.ReturnValue)) return false;
if(!statuses_.Equals(other.statuses_)) return false;
if (DiagnosticMessage != other.DiagnosticMessage) return false;
if (!object.Equals(Register, other.Register)) return false;
if (!object.Equals(AddItem, other.AddItem)) return false;
if (!object.Equals(AddItem2, other.AddItem2)) return false;
if (!object.Equals(AddBufferedItem, other.AddBufferedItem)) return false;
if (!object.Equals(Suspend, other.Suspend)) return false;
if (!object.Equals(Activate, other.Activate)) return false;
if (!object.Equals(AuthenticateUser, other.AuthenticateUser)) return false;
if (!object.Equals(ArchestraUserToId, other.ArchestraUserToId)) return false;
if (!object.Equals(AddItemBulk, other.AddItemBulk)) return false;
if (!object.Equals(AdviseItemBulk, other.AdviseItemBulk)) return false;
if (!object.Equals(RemoveItemBulk, other.RemoveItemBulk)) return false;
if (!object.Equals(UnAdviseItemBulk, other.UnAdviseItemBulk)) return false;
if (!object.Equals(SubscribeBulk, other.SubscribeBulk)) return false;
if (!object.Equals(UnsubscribeBulk, other.UnsubscribeBulk)) return false;
if (!object.Equals(SessionState, other.SessionState)) return false;
if (!object.Equals(WorkerInfo, other.WorkerInfo)) return false;
if (!object.Equals(DrainEvents, other.DrainEvents)) return false;
if (PayloadCase != other.PayloadCase) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (SessionId.Length != 0) hash ^= SessionId.GetHashCode();
if (CorrelationId.Length != 0) hash ^= CorrelationId.GetHashCode();
if (Kind != global::MxGateway.Contracts.Proto.MxCommandKind.Unspecified) hash ^= Kind.GetHashCode();
if (protocolStatus_ != null) hash ^= ProtocolStatus.GetHashCode();
if (HasHresult) hash ^= Hresult.GetHashCode();
if (returnValue_ != null) hash ^= ReturnValue.GetHashCode();
hash ^= statuses_.GetHashCode();
if (DiagnosticMessage.Length != 0) hash ^= DiagnosticMessage.GetHashCode();
if (payloadCase_ == PayloadOneofCase.Register) hash ^= Register.GetHashCode();
if (payloadCase_ == PayloadOneofCase.AddItem) hash ^= AddItem.GetHashCode();
if (payloadCase_ == PayloadOneofCase.AddItem2) hash ^= AddItem2.GetHashCode();
if (payloadCase_ == PayloadOneofCase.AddBufferedItem) hash ^= AddBufferedItem.GetHashCode();
if (payloadCase_ == PayloadOneofCase.Suspend) hash ^= Suspend.GetHashCode();
if (payloadCase_ == PayloadOneofCase.Activate) hash ^= Activate.GetHashCode();
if (payloadCase_ == PayloadOneofCase.AuthenticateUser) hash ^= AuthenticateUser.GetHashCode();
if (payloadCase_ == PayloadOneofCase.ArchestraUserToId) hash ^= ArchestraUserToId.GetHashCode();
if (payloadCase_ == PayloadOneofCase.AddItemBulk) hash ^= AddItemBulk.GetHashCode();
if (payloadCase_ == PayloadOneofCase.AdviseItemBulk) hash ^= AdviseItemBulk.GetHashCode();
if (payloadCase_ == PayloadOneofCase.RemoveItemBulk) hash ^= RemoveItemBulk.GetHashCode();
if (payloadCase_ == PayloadOneofCase.UnAdviseItemBulk) hash ^= UnAdviseItemBulk.GetHashCode();
if (payloadCase_ == PayloadOneofCase.SubscribeBulk) hash ^= SubscribeBulk.GetHashCode();
if (payloadCase_ == PayloadOneofCase.UnsubscribeBulk) hash ^= UnsubscribeBulk.GetHashCode();
if (payloadCase_ == PayloadOneofCase.SessionState) hash ^= SessionState.GetHashCode();
if (payloadCase_ == PayloadOneofCase.WorkerInfo) hash ^= WorkerInfo.GetHashCode();
if (payloadCase_ == PayloadOneofCase.DrainEvents) hash ^= DrainEvents.GetHashCode();
hash ^= (int) payloadCase_;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (SessionId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SessionId);
}
if (CorrelationId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(CorrelationId);
}
if (Kind != global::MxGateway.Contracts.Proto.MxCommandKind.Unspecified) {
output.WriteRawTag(24);
output.WriteEnum((int) Kind);
}
if (protocolStatus_ != null) {
output.WriteRawTag(34);
output.WriteMessage(ProtocolStatus);
}
if (HasHresult) {
output.WriteRawTag(40);
output.WriteInt32(Hresult);
}
if (returnValue_ != null) {
output.WriteRawTag(50);
output.WriteMessage(ReturnValue);
}
statuses_.WriteTo(output, _repeated_statuses_codec);
if (DiagnosticMessage.Length != 0) {
output.WriteRawTag(66);
output.WriteString(DiagnosticMessage);
}
if (payloadCase_ == PayloadOneofCase.Register) {
output.WriteRawTag(162, 1);
output.WriteMessage(Register);
}
if (payloadCase_ == PayloadOneofCase.AddItem) {
output.WriteRawTag(170, 1);
output.WriteMessage(AddItem);
}
if (payloadCase_ == PayloadOneofCase.AddItem2) {
output.WriteRawTag(178, 1);
output.WriteMessage(AddItem2);
}
if (payloadCase_ == PayloadOneofCase.AddBufferedItem) {
output.WriteRawTag(186, 1);
output.WriteMessage(AddBufferedItem);
}
if (payloadCase_ == PayloadOneofCase.Suspend) {
output.WriteRawTag(194, 1);
output.WriteMessage(Suspend);
}
if (payloadCase_ == PayloadOneofCase.Activate) {
output.WriteRawTag(202, 1);
output.WriteMessage(Activate);
}
if (payloadCase_ == PayloadOneofCase.AuthenticateUser) {
output.WriteRawTag(210, 1);
output.WriteMessage(AuthenticateUser);
}
if (payloadCase_ == PayloadOneofCase.ArchestraUserToId) {
output.WriteRawTag(218, 1);
output.WriteMessage(ArchestraUserToId);
}
if (payloadCase_ == PayloadOneofCase.AddItemBulk) {
output.WriteRawTag(226, 1);
output.WriteMessage(AddItemBulk);
}
if (payloadCase_ == PayloadOneofCase.AdviseItemBulk) {
output.WriteRawTag(234, 1);
output.WriteMessage(AdviseItemBulk);
}
if (payloadCase_ == PayloadOneofCase.RemoveItemBulk) {
output.WriteRawTag(242, 1);
output.WriteMessage(RemoveItemBulk);
}
if (payloadCase_ == PayloadOneofCase.UnAdviseItemBulk) {
output.WriteRawTag(250, 1);
output.WriteMessage(UnAdviseItemBulk);
}
if (payloadCase_ == PayloadOneofCase.SubscribeBulk) {
output.WriteRawTag(130, 2);
output.WriteMessage(SubscribeBulk);
}
if (payloadCase_ == PayloadOneofCase.UnsubscribeBulk) {
output.WriteRawTag(138, 2);
output.WriteMessage(UnsubscribeBulk);
}
if (payloadCase_ == PayloadOneofCase.SessionState) {
output.WriteRawTag(162, 6);
output.WriteMessage(SessionState);
}
if (payloadCase_ == PayloadOneofCase.WorkerInfo) {
output.WriteRawTag(170, 6);
output.WriteMessage(WorkerInfo);
}
if (payloadCase_ == PayloadOneofCase.DrainEvents) {
output.WriteRawTag(178, 6);
output.WriteMessage(DrainEvents);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (SessionId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(SessionId);
}
if (CorrelationId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(CorrelationId);
}
if (Kind != global::MxGateway.Contracts.Proto.MxCommandKind.Unspecified) {
output.WriteRawTag(24);
output.WriteEnum((int) Kind);
}
if (protocolStatus_ != null) {
output.WriteRawTag(34);
output.WriteMessage(ProtocolStatus);
}
if (HasHresult) {
output.WriteRawTag(40);
output.WriteInt32(Hresult);
}
if (returnValue_ != null) {
output.WriteRawTag(50);
output.WriteMessage(ReturnValue);
}
statuses_.WriteTo(ref output, _repeated_statuses_codec);
if (DiagnosticMessage.Length != 0) {
output.WriteRawTag(66);
output.WriteString(DiagnosticMessage);
}
if (payloadCase_ == PayloadOneofCase.Register) {
output.WriteRawTag(162, 1);
output.WriteMessage(Register);
}
if (payloadCase_ == PayloadOneofCase.AddItem) {
output.WriteRawTag(170, 1);
output.WriteMessage(AddItem);
}
if (payloadCase_ == PayloadOneofCase.AddItem2) {
output.WriteRawTag(178, 1);
output.WriteMessage(AddItem2);
}
if (payloadCase_ == PayloadOneofCase.AddBufferedItem) {
output.WriteRawTag(186, 1);
output.WriteMessage(AddBufferedItem);
}
if (payloadCase_ == PayloadOneofCase.Suspend) {
output.WriteRawTag(194, 1);
output.WriteMessage(Suspend);
}
if (payloadCase_ == PayloadOneofCase.Activate) {
output.WriteRawTag(202, 1);
output.WriteMessage(Activate);
}
if (payloadCase_ == PayloadOneofCase.AuthenticateUser) {
output.WriteRawTag(210, 1);
output.WriteMessage(AuthenticateUser);
}
if (payloadCase_ == PayloadOneofCase.ArchestraUserToId) {
output.WriteRawTag(218, 1);
output.WriteMessage(ArchestraUserToId);
}
if (payloadCase_ == PayloadOneofCase.AddItemBulk) {
output.WriteRawTag(226, 1);
output.WriteMessage(AddItemBulk);
}
if (payloadCase_ == PayloadOneofCase.AdviseItemBulk) {
output.WriteRawTag(234, 1);
output.WriteMessage(AdviseItemBulk);
}
if (payloadCase_ == PayloadOneofCase.RemoveItemBulk) {
output.WriteRawTag(242, 1);
output.WriteMessage(RemoveItemBulk);
}
if (payloadCase_ == PayloadOneofCase.UnAdviseItemBulk) {
output.WriteRawTag(250, 1);
output.WriteMessage(UnAdviseItemBulk);
}
if (payloadCase_ == PayloadOneofCase.SubscribeBulk) {
output.WriteRawTag(130, 2);
output.WriteMessage(SubscribeBulk);
}
if (payloadCase_ == PayloadOneofCase.UnsubscribeBulk) {
output.WriteRawTag(138, 2);
output.WriteMessage(UnsubscribeBulk);
}
if (payloadCase_ == PayloadOneofCase.SessionState) {
output.WriteRawTag(162, 6);
output.WriteMessage(SessionState);
}
if (payloadCase_ == PayloadOneofCase.WorkerInfo) {
output.WriteRawTag(170, 6);
output.WriteMessage(WorkerInfo);
}
if (payloadCase_ == PayloadOneofCase.DrainEvents) {
output.WriteRawTag(178, 6);
output.WriteMessage(DrainEvents);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (SessionId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId);
}
if (CorrelationId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(CorrelationId);
}
if (Kind != global::MxGateway.Contracts.Proto.MxCommandKind.Unspecified) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Kind);
}
if (protocolStatus_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProtocolStatus);
}
if (HasHresult) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hresult);
}
if (returnValue_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReturnValue);
}
size += statuses_.CalculateSize(_repeated_statuses_codec);
if (DiagnosticMessage.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(DiagnosticMessage);
}
if (payloadCase_ == PayloadOneofCase.Register) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(Register);
}
if (payloadCase_ == PayloadOneofCase.AddItem) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(AddItem);
}
if (payloadCase_ == PayloadOneofCase.AddItem2) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(AddItem2);
}
if (payloadCase_ == PayloadOneofCase.AddBufferedItem) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(AddBufferedItem);
}
if (payloadCase_ == PayloadOneofCase.Suspend) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(Suspend);
}
if (payloadCase_ == PayloadOneofCase.Activate) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(Activate);
}
if (payloadCase_ == PayloadOneofCase.AuthenticateUser) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(AuthenticateUser);
}
if (payloadCase_ == PayloadOneofCase.ArchestraUserToId) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(ArchestraUserToId);
}
if (payloadCase_ == PayloadOneofCase.AddItemBulk) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(AddItemBulk);
}
if (payloadCase_ == PayloadOneofCase.AdviseItemBulk) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(AdviseItemBulk);
}
if (payloadCase_ == PayloadOneofCase.RemoveItemBulk) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(RemoveItemBulk);
}
if (payloadCase_ == PayloadOneofCase.UnAdviseItemBulk) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(UnAdviseItemBulk);
}
if (payloadCase_ == PayloadOneofCase.SubscribeBulk) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(SubscribeBulk);
}
if (payloadCase_ == PayloadOneofCase.UnsubscribeBulk) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(UnsubscribeBulk);
}
if (payloadCase_ == PayloadOneofCase.SessionState) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(SessionState);
}
if (payloadCase_ == PayloadOneofCase.WorkerInfo) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(WorkerInfo);
}
if (payloadCase_ == PayloadOneofCase.DrainEvents) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(DrainEvents);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MxCommandReply other) {
if (other == null) {
return;
}
if (other.SessionId.Length != 0) {
SessionId = other.SessionId;
}
if (other.CorrelationId.Length != 0) {
CorrelationId = other.CorrelationId;
}
if (other.Kind != global::MxGateway.Contracts.Proto.MxCommandKind.Unspecified) {
Kind = other.Kind;
}
if (other.protocolStatus_ != null) {
if (protocolStatus_ == null) {
ProtocolStatus = new global::MxGateway.Contracts.Proto.ProtocolStatus();
}
ProtocolStatus.MergeFrom(other.ProtocolStatus);
}
if (other.HasHresult) {
Hresult = other.Hresult;
}
if (other.returnValue_ != null) {
if (returnValue_ == null) {
ReturnValue = new global::MxGateway.Contracts.Proto.MxValue();
}
ReturnValue.MergeFrom(other.ReturnValue);
}
statuses_.Add(other.statuses_);
if (other.DiagnosticMessage.Length != 0) {
DiagnosticMessage = other.DiagnosticMessage;
}
switch (other.PayloadCase) {
case PayloadOneofCase.Register:
if (Register == null) {
Register = new global::MxGateway.Contracts.Proto.RegisterReply();
}
Register.MergeFrom(other.Register);
break;
case PayloadOneofCase.AddItem:
if (AddItem == null) {
AddItem = new global::MxGateway.Contracts.Proto.AddItemReply();
}
AddItem.MergeFrom(other.AddItem);
break;
case PayloadOneofCase.AddItem2:
if (AddItem2 == null) {
AddItem2 = new global::MxGateway.Contracts.Proto.AddItem2Reply();
}
AddItem2.MergeFrom(other.AddItem2);
break;
case PayloadOneofCase.AddBufferedItem:
if (AddBufferedItem == null) {
AddBufferedItem = new global::MxGateway.Contracts.Proto.AddBufferedItemReply();
}
AddBufferedItem.MergeFrom(other.AddBufferedItem);
break;
case PayloadOneofCase.Suspend:
if (Suspend == null) {
Suspend = new global::MxGateway.Contracts.Proto.SuspendReply();
}
Suspend.MergeFrom(other.Suspend);
break;
case PayloadOneofCase.Activate:
if (Activate == null) {
Activate = new global::MxGateway.Contracts.Proto.ActivateReply();
}
Activate.MergeFrom(other.Activate);
break;
case PayloadOneofCase.AuthenticateUser:
if (AuthenticateUser == null) {
AuthenticateUser = new global::MxGateway.Contracts.Proto.AuthenticateUserReply();
}
AuthenticateUser.MergeFrom(other.AuthenticateUser);
break;
case PayloadOneofCase.ArchestraUserToId:
if (ArchestraUserToId == null) {
ArchestraUserToId = new global::MxGateway.Contracts.Proto.ArchestrAUserToIdReply();
}
ArchestraUserToId.MergeFrom(other.ArchestraUserToId);
break;
case PayloadOneofCase.AddItemBulk:
if (AddItemBulk == null) {
AddItemBulk = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
}
AddItemBulk.MergeFrom(other.AddItemBulk);
break;
case PayloadOneofCase.AdviseItemBulk:
if (AdviseItemBulk == null) {
AdviseItemBulk = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
}
AdviseItemBulk.MergeFrom(other.AdviseItemBulk);
break;
case PayloadOneofCase.RemoveItemBulk:
if (RemoveItemBulk == null) {
RemoveItemBulk = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
}
RemoveItemBulk.MergeFrom(other.RemoveItemBulk);
break;
case PayloadOneofCase.UnAdviseItemBulk:
if (UnAdviseItemBulk == null) {
UnAdviseItemBulk = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
}
UnAdviseItemBulk.MergeFrom(other.UnAdviseItemBulk);
break;
case PayloadOneofCase.SubscribeBulk:
if (SubscribeBulk == null) {
SubscribeBulk = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
}
SubscribeBulk.MergeFrom(other.SubscribeBulk);
break;
case PayloadOneofCase.UnsubscribeBulk:
if (UnsubscribeBulk == null) {
UnsubscribeBulk = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
}
UnsubscribeBulk.MergeFrom(other.UnsubscribeBulk);
break;
case PayloadOneofCase.SessionState:
if (SessionState == null) {
SessionState = new global::MxGateway.Contracts.Proto.SessionStateReply();
}
SessionState.MergeFrom(other.SessionState);
break;
case PayloadOneofCase.WorkerInfo:
if (WorkerInfo == null) {
WorkerInfo = new global::MxGateway.Contracts.Proto.WorkerInfoReply();
}
WorkerInfo.MergeFrom(other.WorkerInfo);
break;
case PayloadOneofCase.DrainEvents:
if (DrainEvents == null) {
DrainEvents = new global::MxGateway.Contracts.Proto.DrainEventsReply();
}
DrainEvents.MergeFrom(other.DrainEvents);
break;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
SessionId = input.ReadString();
break;
}
case 18: {
CorrelationId = input.ReadString();
break;
}
case 24: {
Kind = (global::MxGateway.Contracts.Proto.MxCommandKind) input.ReadEnum();
break;
}
case 34: {
if (protocolStatus_ == null) {
ProtocolStatus = new global::MxGateway.Contracts.Proto.ProtocolStatus();
}
input.ReadMessage(ProtocolStatus);
break;
}
case 40: {
Hresult = input.ReadInt32();
break;
}
case 50: {
if (returnValue_ == null) {
ReturnValue = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(ReturnValue);
break;
}
case 58: {
statuses_.AddEntriesFrom(input, _repeated_statuses_codec);
break;
}
case 66: {
DiagnosticMessage = input.ReadString();
break;
}
case 162: {
global::MxGateway.Contracts.Proto.RegisterReply subBuilder = new global::MxGateway.Contracts.Proto.RegisterReply();
if (payloadCase_ == PayloadOneofCase.Register) {
subBuilder.MergeFrom(Register);
}
input.ReadMessage(subBuilder);
Register = subBuilder;
break;
}
case 170: {
global::MxGateway.Contracts.Proto.AddItemReply subBuilder = new global::MxGateway.Contracts.Proto.AddItemReply();
if (payloadCase_ == PayloadOneofCase.AddItem) {
subBuilder.MergeFrom(AddItem);
}
input.ReadMessage(subBuilder);
AddItem = subBuilder;
break;
}
case 178: {
global::MxGateway.Contracts.Proto.AddItem2Reply subBuilder = new global::MxGateway.Contracts.Proto.AddItem2Reply();
if (payloadCase_ == PayloadOneofCase.AddItem2) {
subBuilder.MergeFrom(AddItem2);
}
input.ReadMessage(subBuilder);
AddItem2 = subBuilder;
break;
}
case 186: {
global::MxGateway.Contracts.Proto.AddBufferedItemReply subBuilder = new global::MxGateway.Contracts.Proto.AddBufferedItemReply();
if (payloadCase_ == PayloadOneofCase.AddBufferedItem) {
subBuilder.MergeFrom(AddBufferedItem);
}
input.ReadMessage(subBuilder);
AddBufferedItem = subBuilder;
break;
}
case 194: {
global::MxGateway.Contracts.Proto.SuspendReply subBuilder = new global::MxGateway.Contracts.Proto.SuspendReply();
if (payloadCase_ == PayloadOneofCase.Suspend) {
subBuilder.MergeFrom(Suspend);
}
input.ReadMessage(subBuilder);
Suspend = subBuilder;
break;
}
case 202: {
global::MxGateway.Contracts.Proto.ActivateReply subBuilder = new global::MxGateway.Contracts.Proto.ActivateReply();
if (payloadCase_ == PayloadOneofCase.Activate) {
subBuilder.MergeFrom(Activate);
}
input.ReadMessage(subBuilder);
Activate = subBuilder;
break;
}
case 210: {
global::MxGateway.Contracts.Proto.AuthenticateUserReply subBuilder = new global::MxGateway.Contracts.Proto.AuthenticateUserReply();
if (payloadCase_ == PayloadOneofCase.AuthenticateUser) {
subBuilder.MergeFrom(AuthenticateUser);
}
input.ReadMessage(subBuilder);
AuthenticateUser = subBuilder;
break;
}
case 218: {
global::MxGateway.Contracts.Proto.ArchestrAUserToIdReply subBuilder = new global::MxGateway.Contracts.Proto.ArchestrAUserToIdReply();
if (payloadCase_ == PayloadOneofCase.ArchestraUserToId) {
subBuilder.MergeFrom(ArchestraUserToId);
}
input.ReadMessage(subBuilder);
ArchestraUserToId = subBuilder;
break;
}
case 226: {
global::MxGateway.Contracts.Proto.BulkSubscribeReply subBuilder = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
if (payloadCase_ == PayloadOneofCase.AddItemBulk) {
subBuilder.MergeFrom(AddItemBulk);
}
input.ReadMessage(subBuilder);
AddItemBulk = subBuilder;
break;
}
case 234: {
global::MxGateway.Contracts.Proto.BulkSubscribeReply subBuilder = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
if (payloadCase_ == PayloadOneofCase.AdviseItemBulk) {
subBuilder.MergeFrom(AdviseItemBulk);
}
input.ReadMessage(subBuilder);
AdviseItemBulk = subBuilder;
break;
}
case 242: {
global::MxGateway.Contracts.Proto.BulkSubscribeReply subBuilder = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
if (payloadCase_ == PayloadOneofCase.RemoveItemBulk) {
subBuilder.MergeFrom(RemoveItemBulk);
}
input.ReadMessage(subBuilder);
RemoveItemBulk = subBuilder;
break;
}
case 250: {
global::MxGateway.Contracts.Proto.BulkSubscribeReply subBuilder = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
if (payloadCase_ == PayloadOneofCase.UnAdviseItemBulk) {
subBuilder.MergeFrom(UnAdviseItemBulk);
}
input.ReadMessage(subBuilder);
UnAdviseItemBulk = subBuilder;
break;
}
case 258: {
global::MxGateway.Contracts.Proto.BulkSubscribeReply subBuilder = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
if (payloadCase_ == PayloadOneofCase.SubscribeBulk) {
subBuilder.MergeFrom(SubscribeBulk);
}
input.ReadMessage(subBuilder);
SubscribeBulk = subBuilder;
break;
}
case 266: {
global::MxGateway.Contracts.Proto.BulkSubscribeReply subBuilder = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
if (payloadCase_ == PayloadOneofCase.UnsubscribeBulk) {
subBuilder.MergeFrom(UnsubscribeBulk);
}
input.ReadMessage(subBuilder);
UnsubscribeBulk = subBuilder;
break;
}
case 802: {
global::MxGateway.Contracts.Proto.SessionStateReply subBuilder = new global::MxGateway.Contracts.Proto.SessionStateReply();
if (payloadCase_ == PayloadOneofCase.SessionState) {
subBuilder.MergeFrom(SessionState);
}
input.ReadMessage(subBuilder);
SessionState = subBuilder;
break;
}
case 810: {
global::MxGateway.Contracts.Proto.WorkerInfoReply subBuilder = new global::MxGateway.Contracts.Proto.WorkerInfoReply();
if (payloadCase_ == PayloadOneofCase.WorkerInfo) {
subBuilder.MergeFrom(WorkerInfo);
}
input.ReadMessage(subBuilder);
WorkerInfo = subBuilder;
break;
}
case 818: {
global::MxGateway.Contracts.Proto.DrainEventsReply subBuilder = new global::MxGateway.Contracts.Proto.DrainEventsReply();
if (payloadCase_ == PayloadOneofCase.DrainEvents) {
subBuilder.MergeFrom(DrainEvents);
}
input.ReadMessage(subBuilder);
DrainEvents = subBuilder;
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
SessionId = input.ReadString();
break;
}
case 18: {
CorrelationId = input.ReadString();
break;
}
case 24: {
Kind = (global::MxGateway.Contracts.Proto.MxCommandKind) input.ReadEnum();
break;
}
case 34: {
if (protocolStatus_ == null) {
ProtocolStatus = new global::MxGateway.Contracts.Proto.ProtocolStatus();
}
input.ReadMessage(ProtocolStatus);
break;
}
case 40: {
Hresult = input.ReadInt32();
break;
}
case 50: {
if (returnValue_ == null) {
ReturnValue = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(ReturnValue);
break;
}
case 58: {
statuses_.AddEntriesFrom(ref input, _repeated_statuses_codec);
break;
}
case 66: {
DiagnosticMessage = input.ReadString();
break;
}
case 162: {
global::MxGateway.Contracts.Proto.RegisterReply subBuilder = new global::MxGateway.Contracts.Proto.RegisterReply();
if (payloadCase_ == PayloadOneofCase.Register) {
subBuilder.MergeFrom(Register);
}
input.ReadMessage(subBuilder);
Register = subBuilder;
break;
}
case 170: {
global::MxGateway.Contracts.Proto.AddItemReply subBuilder = new global::MxGateway.Contracts.Proto.AddItemReply();
if (payloadCase_ == PayloadOneofCase.AddItem) {
subBuilder.MergeFrom(AddItem);
}
input.ReadMessage(subBuilder);
AddItem = subBuilder;
break;
}
case 178: {
global::MxGateway.Contracts.Proto.AddItem2Reply subBuilder = new global::MxGateway.Contracts.Proto.AddItem2Reply();
if (payloadCase_ == PayloadOneofCase.AddItem2) {
subBuilder.MergeFrom(AddItem2);
}
input.ReadMessage(subBuilder);
AddItem2 = subBuilder;
break;
}
case 186: {
global::MxGateway.Contracts.Proto.AddBufferedItemReply subBuilder = new global::MxGateway.Contracts.Proto.AddBufferedItemReply();
if (payloadCase_ == PayloadOneofCase.AddBufferedItem) {
subBuilder.MergeFrom(AddBufferedItem);
}
input.ReadMessage(subBuilder);
AddBufferedItem = subBuilder;
break;
}
case 194: {
global::MxGateway.Contracts.Proto.SuspendReply subBuilder = new global::MxGateway.Contracts.Proto.SuspendReply();
if (payloadCase_ == PayloadOneofCase.Suspend) {
subBuilder.MergeFrom(Suspend);
}
input.ReadMessage(subBuilder);
Suspend = subBuilder;
break;
}
case 202: {
global::MxGateway.Contracts.Proto.ActivateReply subBuilder = new global::MxGateway.Contracts.Proto.ActivateReply();
if (payloadCase_ == PayloadOneofCase.Activate) {
subBuilder.MergeFrom(Activate);
}
input.ReadMessage(subBuilder);
Activate = subBuilder;
break;
}
case 210: {
global::MxGateway.Contracts.Proto.AuthenticateUserReply subBuilder = new global::MxGateway.Contracts.Proto.AuthenticateUserReply();
if (payloadCase_ == PayloadOneofCase.AuthenticateUser) {
subBuilder.MergeFrom(AuthenticateUser);
}
input.ReadMessage(subBuilder);
AuthenticateUser = subBuilder;
break;
}
case 218: {
global::MxGateway.Contracts.Proto.ArchestrAUserToIdReply subBuilder = new global::MxGateway.Contracts.Proto.ArchestrAUserToIdReply();
if (payloadCase_ == PayloadOneofCase.ArchestraUserToId) {
subBuilder.MergeFrom(ArchestraUserToId);
}
input.ReadMessage(subBuilder);
ArchestraUserToId = subBuilder;
break;
}
case 226: {
global::MxGateway.Contracts.Proto.BulkSubscribeReply subBuilder = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
if (payloadCase_ == PayloadOneofCase.AddItemBulk) {
subBuilder.MergeFrom(AddItemBulk);
}
input.ReadMessage(subBuilder);
AddItemBulk = subBuilder;
break;
}
case 234: {
global::MxGateway.Contracts.Proto.BulkSubscribeReply subBuilder = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
if (payloadCase_ == PayloadOneofCase.AdviseItemBulk) {
subBuilder.MergeFrom(AdviseItemBulk);
}
input.ReadMessage(subBuilder);
AdviseItemBulk = subBuilder;
break;
}
case 242: {
global::MxGateway.Contracts.Proto.BulkSubscribeReply subBuilder = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
if (payloadCase_ == PayloadOneofCase.RemoveItemBulk) {
subBuilder.MergeFrom(RemoveItemBulk);
}
input.ReadMessage(subBuilder);
RemoveItemBulk = subBuilder;
break;
}
case 250: {
global::MxGateway.Contracts.Proto.BulkSubscribeReply subBuilder = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
if (payloadCase_ == PayloadOneofCase.UnAdviseItemBulk) {
subBuilder.MergeFrom(UnAdviseItemBulk);
}
input.ReadMessage(subBuilder);
UnAdviseItemBulk = subBuilder;
break;
}
case 258: {
global::MxGateway.Contracts.Proto.BulkSubscribeReply subBuilder = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
if (payloadCase_ == PayloadOneofCase.SubscribeBulk) {
subBuilder.MergeFrom(SubscribeBulk);
}
input.ReadMessage(subBuilder);
SubscribeBulk = subBuilder;
break;
}
case 266: {
global::MxGateway.Contracts.Proto.BulkSubscribeReply subBuilder = new global::MxGateway.Contracts.Proto.BulkSubscribeReply();
if (payloadCase_ == PayloadOneofCase.UnsubscribeBulk) {
subBuilder.MergeFrom(UnsubscribeBulk);
}
input.ReadMessage(subBuilder);
UnsubscribeBulk = subBuilder;
break;
}
case 802: {
global::MxGateway.Contracts.Proto.SessionStateReply subBuilder = new global::MxGateway.Contracts.Proto.SessionStateReply();
if (payloadCase_ == PayloadOneofCase.SessionState) {
subBuilder.MergeFrom(SessionState);
}
input.ReadMessage(subBuilder);
SessionState = subBuilder;
break;
}
case 810: {
global::MxGateway.Contracts.Proto.WorkerInfoReply subBuilder = new global::MxGateway.Contracts.Proto.WorkerInfoReply();
if (payloadCase_ == PayloadOneofCase.WorkerInfo) {
subBuilder.MergeFrom(WorkerInfo);
}
input.ReadMessage(subBuilder);
WorkerInfo = subBuilder;
break;
}
case 818: {
global::MxGateway.Contracts.Proto.DrainEventsReply subBuilder = new global::MxGateway.Contracts.Proto.DrainEventsReply();
if (payloadCase_ == PayloadOneofCase.DrainEvents) {
subBuilder.MergeFrom(DrainEvents);
}
input.ReadMessage(subBuilder);
DrainEvents = subBuilder;
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RegisterReply : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RegisterReply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[37]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RegisterReply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RegisterReply(RegisterReply other) : this() {
serverHandle_ = other.serverHandle_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RegisterReply Clone() {
return new RegisterReply(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RegisterReply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RegisterReply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RegisterReply other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AddItemReply : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddItemReply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[38]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddItemReply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddItemReply(AddItemReply other) : this() {
itemHandle_ = other.itemHandle_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddItemReply Clone() {
return new AddItemReply(this);
}
/// Field number for the "item_handle" field.
public const int ItemHandleFieldNumber = 1;
private int itemHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ItemHandle {
get { return itemHandle_; }
set {
itemHandle_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AddItemReply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AddItemReply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ItemHandle != other.ItemHandle) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ItemHandle != 0) hash ^= ItemHandle.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ItemHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ItemHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ItemHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemHandle);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AddItemReply other) {
if (other == null) {
return;
}
if (other.ItemHandle != 0) {
ItemHandle = other.ItemHandle;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ItemHandle = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ItemHandle = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AddItem2Reply : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddItem2Reply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[39]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddItem2Reply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddItem2Reply(AddItem2Reply other) : this() {
itemHandle_ = other.itemHandle_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddItem2Reply Clone() {
return new AddItem2Reply(this);
}
/// Field number for the "item_handle" field.
public const int ItemHandleFieldNumber = 1;
private int itemHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ItemHandle {
get { return itemHandle_; }
set {
itemHandle_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AddItem2Reply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AddItem2Reply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ItemHandle != other.ItemHandle) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ItemHandle != 0) hash ^= ItemHandle.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ItemHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ItemHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ItemHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemHandle);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AddItem2Reply other) {
if (other == null) {
return;
}
if (other.ItemHandle != 0) {
ItemHandle = other.ItemHandle;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ItemHandle = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ItemHandle = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AddBufferedItemReply : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AddBufferedItemReply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[40]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddBufferedItemReply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddBufferedItemReply(AddBufferedItemReply other) : this() {
itemHandle_ = other.itemHandle_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AddBufferedItemReply Clone() {
return new AddBufferedItemReply(this);
}
/// Field number for the "item_handle" field.
public const int ItemHandleFieldNumber = 1;
private int itemHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ItemHandle {
get { return itemHandle_; }
set {
itemHandle_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AddBufferedItemReply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AddBufferedItemReply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ItemHandle != other.ItemHandle) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ItemHandle != 0) hash ^= ItemHandle.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ItemHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ItemHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ItemHandle);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ItemHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemHandle);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AddBufferedItemReply other) {
if (other == null) {
return;
}
if (other.ItemHandle != 0) {
ItemHandle = other.ItemHandle;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ItemHandle = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ItemHandle = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SuspendReply : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SuspendReply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[41]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SuspendReply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SuspendReply(SuspendReply other) : this() {
status_ = other.status_ != null ? other.status_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SuspendReply Clone() {
return new SuspendReply(this);
}
/// Field number for the "status" field.
public const int StatusFieldNumber = 1;
private global::MxGateway.Contracts.Proto.MxStatusProxy status_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.MxStatusProxy Status {
get { return status_; }
set {
status_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SuspendReply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SuspendReply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Status, other.Status)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (status_ != null) hash ^= Status.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (status_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Status);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (status_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Status);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (status_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Status);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SuspendReply other) {
if (other == null) {
return;
}
if (other.status_ != null) {
if (status_ == null) {
Status = new global::MxGateway.Contracts.Proto.MxStatusProxy();
}
Status.MergeFrom(other.Status);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
if (status_ == null) {
Status = new global::MxGateway.Contracts.Proto.MxStatusProxy();
}
input.ReadMessage(Status);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
if (status_ == null) {
Status = new global::MxGateway.Contracts.Proto.MxStatusProxy();
}
input.ReadMessage(Status);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ActivateReply : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ActivateReply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[42]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ActivateReply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ActivateReply(ActivateReply other) : this() {
status_ = other.status_ != null ? other.status_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ActivateReply Clone() {
return new ActivateReply(this);
}
/// Field number for the "status" field.
public const int StatusFieldNumber = 1;
private global::MxGateway.Contracts.Proto.MxStatusProxy status_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.MxStatusProxy Status {
get { return status_; }
set {
status_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ActivateReply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ActivateReply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Status, other.Status)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (status_ != null) hash ^= Status.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (status_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Status);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (status_ != null) {
output.WriteRawTag(10);
output.WriteMessage(Status);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (status_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Status);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ActivateReply other) {
if (other == null) {
return;
}
if (other.status_ != null) {
if (status_ == null) {
Status = new global::MxGateway.Contracts.Proto.MxStatusProxy();
}
Status.MergeFrom(other.Status);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
if (status_ == null) {
Status = new global::MxGateway.Contracts.Proto.MxStatusProxy();
}
input.ReadMessage(Status);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
if (status_ == null) {
Status = new global::MxGateway.Contracts.Proto.MxStatusProxy();
}
input.ReadMessage(Status);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AuthenticateUserReply : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AuthenticateUserReply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[43]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AuthenticateUserReply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AuthenticateUserReply(AuthenticateUserReply other) : this() {
userId_ = other.userId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AuthenticateUserReply Clone() {
return new AuthenticateUserReply(this);
}
/// Field number for the "user_id" field.
public const int UserIdFieldNumber = 1;
private int userId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int UserId {
get { return userId_; }
set {
userId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AuthenticateUserReply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AuthenticateUserReply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (UserId != other.UserId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (UserId != 0) hash ^= UserId.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (UserId != 0) {
output.WriteRawTag(8);
output.WriteInt32(UserId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (UserId != 0) {
output.WriteRawTag(8);
output.WriteInt32(UserId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (UserId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(UserId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AuthenticateUserReply other) {
if (other == null) {
return;
}
if (other.UserId != 0) {
UserId = other.UserId;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
UserId = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
UserId = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ArchestrAUserToIdReply : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ArchestrAUserToIdReply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[44]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ArchestrAUserToIdReply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ArchestrAUserToIdReply(ArchestrAUserToIdReply other) : this() {
userId_ = other.userId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ArchestrAUserToIdReply Clone() {
return new ArchestrAUserToIdReply(this);
}
/// Field number for the "user_id" field.
public const int UserIdFieldNumber = 1;
private int userId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int UserId {
get { return userId_; }
set {
userId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ArchestrAUserToIdReply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ArchestrAUserToIdReply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (UserId != other.UserId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (UserId != 0) hash ^= UserId.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (UserId != 0) {
output.WriteRawTag(8);
output.WriteInt32(UserId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (UserId != 0) {
output.WriteRawTag(8);
output.WriteInt32(UserId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (UserId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(UserId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ArchestrAUserToIdReply other) {
if (other == null) {
return;
}
if (other.UserId != 0) {
UserId = other.UserId;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
UserId = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
UserId = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SubscribeResult : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeResult());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[45]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SubscribeResult() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SubscribeResult(SubscribeResult other) : this() {
serverHandle_ = other.serverHandle_;
tagAddress_ = other.tagAddress_;
itemHandle_ = other.itemHandle_;
wasSuccessful_ = other.wasSuccessful_;
errorMessage_ = other.errorMessage_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SubscribeResult Clone() {
return new SubscribeResult(this);
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 1;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "tag_address" field.
public const int TagAddressFieldNumber = 2;
private string tagAddress_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TagAddress {
get { return tagAddress_; }
set {
tagAddress_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "item_handle" field.
public const int ItemHandleFieldNumber = 3;
private int itemHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ItemHandle {
get { return itemHandle_; }
set {
itemHandle_ = value;
}
}
/// Field number for the "was_successful" field.
public const int WasSuccessfulFieldNumber = 4;
private bool wasSuccessful_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool WasSuccessful {
get { return wasSuccessful_; }
set {
wasSuccessful_ = value;
}
}
/// Field number for the "error_message" field.
public const int ErrorMessageFieldNumber = 5;
private string errorMessage_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ErrorMessage {
get { return errorMessage_; }
set {
errorMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SubscribeResult);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SubscribeResult other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ServerHandle != other.ServerHandle) return false;
if (TagAddress != other.TagAddress) return false;
if (ItemHandle != other.ItemHandle) return false;
if (WasSuccessful != other.WasSuccessful) return false;
if (ErrorMessage != other.ErrorMessage) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (TagAddress.Length != 0) hash ^= TagAddress.GetHashCode();
if (ItemHandle != 0) hash ^= ItemHandle.GetHashCode();
if (WasSuccessful != false) hash ^= WasSuccessful.GetHashCode();
if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (TagAddress.Length != 0) {
output.WriteRawTag(18);
output.WriteString(TagAddress);
}
if (ItemHandle != 0) {
output.WriteRawTag(24);
output.WriteInt32(ItemHandle);
}
if (WasSuccessful != false) {
output.WriteRawTag(32);
output.WriteBool(WasSuccessful);
}
if (ErrorMessage.Length != 0) {
output.WriteRawTag(42);
output.WriteString(ErrorMessage);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (ServerHandle != 0) {
output.WriteRawTag(8);
output.WriteInt32(ServerHandle);
}
if (TagAddress.Length != 0) {
output.WriteRawTag(18);
output.WriteString(TagAddress);
}
if (ItemHandle != 0) {
output.WriteRawTag(24);
output.WriteInt32(ItemHandle);
}
if (WasSuccessful != false) {
output.WriteRawTag(32);
output.WriteBool(WasSuccessful);
}
if (ErrorMessage.Length != 0) {
output.WriteRawTag(42);
output.WriteString(ErrorMessage);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (TagAddress.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(TagAddress);
}
if (ItemHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemHandle);
}
if (WasSuccessful != false) {
size += 1 + 1;
}
if (ErrorMessage.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ErrorMessage);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SubscribeResult other) {
if (other == null) {
return;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.TagAddress.Length != 0) {
TagAddress = other.TagAddress;
}
if (other.ItemHandle != 0) {
ItemHandle = other.ItemHandle;
}
if (other.WasSuccessful != false) {
WasSuccessful = other.WasSuccessful;
}
if (other.ErrorMessage.Length != 0) {
ErrorMessage = other.ErrorMessage;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
TagAddress = input.ReadString();
break;
}
case 24: {
ItemHandle = input.ReadInt32();
break;
}
case 32: {
WasSuccessful = input.ReadBool();
break;
}
case 42: {
ErrorMessage = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
ServerHandle = input.ReadInt32();
break;
}
case 18: {
TagAddress = input.ReadString();
break;
}
case 24: {
ItemHandle = input.ReadInt32();
break;
}
case 32: {
WasSuccessful = input.ReadBool();
break;
}
case 42: {
ErrorMessage = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BulkSubscribeReply : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BulkSubscribeReply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[46]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BulkSubscribeReply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BulkSubscribeReply(BulkSubscribeReply other) : this() {
results_ = other.results_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BulkSubscribeReply Clone() {
return new BulkSubscribeReply(this);
}
/// Field number for the "results" field.
public const int ResultsFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_results_codec
= pb::FieldCodec.ForMessage(10, global::MxGateway.Contracts.Proto.SubscribeResult.Parser);
private readonly pbc::RepeatedField results_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Results {
get { return results_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as BulkSubscribeReply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BulkSubscribeReply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!results_.Equals(other.results_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
hash ^= results_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
results_.WriteTo(output, _repeated_results_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
results_.WriteTo(ref output, _repeated_results_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
size += results_.CalculateSize(_repeated_results_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BulkSubscribeReply other) {
if (other == null) {
return;
}
results_.Add(other.results_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
results_.AddEntriesFrom(input, _repeated_results_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
results_.AddEntriesFrom(ref input, _repeated_results_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SessionStateReply : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SessionStateReply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[47]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SessionStateReply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SessionStateReply(SessionStateReply other) : this() {
state_ = other.state_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SessionStateReply Clone() {
return new SessionStateReply(this);
}
/// Field number for the "state" field.
public const int StateFieldNumber = 1;
private global::MxGateway.Contracts.Proto.SessionState state_ = global::MxGateway.Contracts.Proto.SessionState.Unspecified;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.SessionState State {
get { return state_; }
set {
state_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SessionStateReply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SessionStateReply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (State != other.State) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (State != global::MxGateway.Contracts.Proto.SessionState.Unspecified) hash ^= State.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (State != global::MxGateway.Contracts.Proto.SessionState.Unspecified) {
output.WriteRawTag(8);
output.WriteEnum((int) State);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (State != global::MxGateway.Contracts.Proto.SessionState.Unspecified) {
output.WriteRawTag(8);
output.WriteEnum((int) State);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (State != global::MxGateway.Contracts.Proto.SessionState.Unspecified) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) State);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SessionStateReply other) {
if (other == null) {
return;
}
if (other.State != global::MxGateway.Contracts.Proto.SessionState.Unspecified) {
State = other.State;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
State = (global::MxGateway.Contracts.Proto.SessionState) input.ReadEnum();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
State = (global::MxGateway.Contracts.Proto.SessionState) input.ReadEnum();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class WorkerInfoReply : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WorkerInfoReply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[48]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public WorkerInfoReply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public WorkerInfoReply(WorkerInfoReply other) : this() {
workerProcessId_ = other.workerProcessId_;
workerVersion_ = other.workerVersion_;
mxaccessProgid_ = other.mxaccessProgid_;
mxaccessClsid_ = other.mxaccessClsid_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public WorkerInfoReply Clone() {
return new WorkerInfoReply(this);
}
/// Field number for the "worker_process_id" field.
public const int WorkerProcessIdFieldNumber = 1;
private int workerProcessId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int WorkerProcessId {
get { return workerProcessId_; }
set {
workerProcessId_ = value;
}
}
/// Field number for the "worker_version" field.
public const int WorkerVersionFieldNumber = 2;
private string workerVersion_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string WorkerVersion {
get { return workerVersion_; }
set {
workerVersion_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "mxaccess_progid" field.
public const int MxaccessProgidFieldNumber = 3;
private string mxaccessProgid_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string MxaccessProgid {
get { return mxaccessProgid_; }
set {
mxaccessProgid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "mxaccess_clsid" field.
public const int MxaccessClsidFieldNumber = 4;
private string mxaccessClsid_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string MxaccessClsid {
get { return mxaccessClsid_; }
set {
mxaccessClsid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as WorkerInfoReply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(WorkerInfoReply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (WorkerProcessId != other.WorkerProcessId) return false;
if (WorkerVersion != other.WorkerVersion) return false;
if (MxaccessProgid != other.MxaccessProgid) return false;
if (MxaccessClsid != other.MxaccessClsid) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (WorkerProcessId != 0) hash ^= WorkerProcessId.GetHashCode();
if (WorkerVersion.Length != 0) hash ^= WorkerVersion.GetHashCode();
if (MxaccessProgid.Length != 0) hash ^= MxaccessProgid.GetHashCode();
if (MxaccessClsid.Length != 0) hash ^= MxaccessClsid.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (WorkerProcessId != 0) {
output.WriteRawTag(8);
output.WriteInt32(WorkerProcessId);
}
if (WorkerVersion.Length != 0) {
output.WriteRawTag(18);
output.WriteString(WorkerVersion);
}
if (MxaccessProgid.Length != 0) {
output.WriteRawTag(26);
output.WriteString(MxaccessProgid);
}
if (MxaccessClsid.Length != 0) {
output.WriteRawTag(34);
output.WriteString(MxaccessClsid);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (WorkerProcessId != 0) {
output.WriteRawTag(8);
output.WriteInt32(WorkerProcessId);
}
if (WorkerVersion.Length != 0) {
output.WriteRawTag(18);
output.WriteString(WorkerVersion);
}
if (MxaccessProgid.Length != 0) {
output.WriteRawTag(26);
output.WriteString(MxaccessProgid);
}
if (MxaccessClsid.Length != 0) {
output.WriteRawTag(34);
output.WriteString(MxaccessClsid);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (WorkerProcessId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorkerProcessId);
}
if (WorkerVersion.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(WorkerVersion);
}
if (MxaccessProgid.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(MxaccessProgid);
}
if (MxaccessClsid.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(MxaccessClsid);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(WorkerInfoReply other) {
if (other == null) {
return;
}
if (other.WorkerProcessId != 0) {
WorkerProcessId = other.WorkerProcessId;
}
if (other.WorkerVersion.Length != 0) {
WorkerVersion = other.WorkerVersion;
}
if (other.MxaccessProgid.Length != 0) {
MxaccessProgid = other.MxaccessProgid;
}
if (other.MxaccessClsid.Length != 0) {
MxaccessClsid = other.MxaccessClsid;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
WorkerProcessId = input.ReadInt32();
break;
}
case 18: {
WorkerVersion = input.ReadString();
break;
}
case 26: {
MxaccessProgid = input.ReadString();
break;
}
case 34: {
MxaccessClsid = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
WorkerProcessId = input.ReadInt32();
break;
}
case 18: {
WorkerVersion = input.ReadString();
break;
}
case 26: {
MxaccessProgid = input.ReadString();
break;
}
case 34: {
MxaccessClsid = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class DrainEventsReply : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DrainEventsReply());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[49]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DrainEventsReply() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DrainEventsReply(DrainEventsReply other) : this() {
events_ = other.events_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public DrainEventsReply Clone() {
return new DrainEventsReply(this);
}
/// Field number for the "events" field.
public const int EventsFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_events_codec
= pb::FieldCodec.ForMessage(10, global::MxGateway.Contracts.Proto.MxEvent.Parser);
private readonly pbc::RepeatedField events_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Events {
get { return events_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as DrainEventsReply);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(DrainEventsReply other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!events_.Equals(other.events_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
hash ^= events_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
events_.WriteTo(output, _repeated_events_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
events_.WriteTo(ref output, _repeated_events_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
size += events_.CalculateSize(_repeated_events_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(DrainEventsReply other) {
if (other == null) {
return;
}
events_.Add(other.events_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
events_.AddEntriesFrom(input, _repeated_events_codec);
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
events_.AddEntriesFrom(ref input, _repeated_events_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class MxEvent : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MxEvent());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[50]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MxEvent() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MxEvent(MxEvent other) : this() {
_hasBits0 = other._hasBits0;
family_ = other.family_;
sessionId_ = other.sessionId_;
serverHandle_ = other.serverHandle_;
itemHandle_ = other.itemHandle_;
value_ = other.value_ != null ? other.value_.Clone() : null;
quality_ = other.quality_;
sourceTimestamp_ = other.sourceTimestamp_ != null ? other.sourceTimestamp_.Clone() : null;
statuses_ = other.statuses_.Clone();
workerSequence_ = other.workerSequence_;
workerTimestamp_ = other.workerTimestamp_ != null ? other.workerTimestamp_.Clone() : null;
gatewayReceiveTimestamp_ = other.gatewayReceiveTimestamp_ != null ? other.gatewayReceiveTimestamp_.Clone() : null;
hresult_ = other.hresult_;
rawStatus_ = other.rawStatus_;
switch (other.BodyCase) {
case BodyOneofCase.OnDataChange:
OnDataChange = other.OnDataChange.Clone();
break;
case BodyOneofCase.OnWriteComplete:
OnWriteComplete = other.OnWriteComplete.Clone();
break;
case BodyOneofCase.OperationComplete:
OperationComplete = other.OperationComplete.Clone();
break;
case BodyOneofCase.OnBufferedDataChange:
OnBufferedDataChange = other.OnBufferedDataChange.Clone();
break;
case BodyOneofCase.OnAlarmTransition:
OnAlarmTransition = other.OnAlarmTransition.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MxEvent Clone() {
return new MxEvent(this);
}
/// Field number for the "family" field.
public const int FamilyFieldNumber = 1;
private global::MxGateway.Contracts.Proto.MxEventFamily family_ = global::MxGateway.Contracts.Proto.MxEventFamily.Unspecified;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.MxEventFamily Family {
get { return family_; }
set {
family_ = value;
}
}
/// Field number for the "session_id" field.
public const int SessionIdFieldNumber = 2;
private string sessionId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SessionId {
get { return sessionId_; }
set {
sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "server_handle" field.
public const int ServerHandleFieldNumber = 3;
private int serverHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ServerHandle {
get { return serverHandle_; }
set {
serverHandle_ = value;
}
}
/// Field number for the "item_handle" field.
public const int ItemHandleFieldNumber = 4;
private int itemHandle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ItemHandle {
get { return itemHandle_; }
set {
itemHandle_ = value;
}
}
/// Field number for the "value" field.
public const int ValueFieldNumber = 5;
private global::MxGateway.Contracts.Proto.MxValue value_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.MxValue Value {
get { return value_; }
set {
value_ = value;
}
}
/// Field number for the "quality" field.
public const int QualityFieldNumber = 6;
private int quality_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Quality {
get { return quality_; }
set {
quality_ = value;
}
}
/// Field number for the "source_timestamp" field.
public const int SourceTimestampFieldNumber = 7;
private global::Google.Protobuf.WellKnownTypes.Timestamp sourceTimestamp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.WellKnownTypes.Timestamp SourceTimestamp {
get { return sourceTimestamp_; }
set {
sourceTimestamp_ = value;
}
}
/// Field number for the "statuses" field.
public const int StatusesFieldNumber = 8;
private static readonly pb::FieldCodec _repeated_statuses_codec
= pb::FieldCodec.ForMessage(66, global::MxGateway.Contracts.Proto.MxStatusProxy.Parser);
private readonly pbc::RepeatedField statuses_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Statuses {
get { return statuses_; }
}
/// Field number for the "worker_sequence" field.
public const int WorkerSequenceFieldNumber = 9;
private ulong workerSequence_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ulong WorkerSequence {
get { return workerSequence_; }
set {
workerSequence_ = value;
}
}
/// Field number for the "worker_timestamp" field.
public const int WorkerTimestampFieldNumber = 10;
private global::Google.Protobuf.WellKnownTypes.Timestamp workerTimestamp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.WellKnownTypes.Timestamp WorkerTimestamp {
get { return workerTimestamp_; }
set {
workerTimestamp_ = value;
}
}
/// Field number for the "gateway_receive_timestamp" field.
public const int GatewayReceiveTimestampFieldNumber = 11;
private global::Google.Protobuf.WellKnownTypes.Timestamp gatewayReceiveTimestamp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.WellKnownTypes.Timestamp GatewayReceiveTimestamp {
get { return gatewayReceiveTimestamp_; }
set {
gatewayReceiveTimestamp_ = value;
}
}
/// Field number for the "hresult" field.
public const int HresultFieldNumber = 12;
private readonly static int HresultDefaultValue = 0;
private int hresult_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Hresult {
get { if ((_hasBits0 & 1) != 0) { return hresult_; } else { return HresultDefaultValue; } }
set {
_hasBits0 |= 1;
hresult_ = value;
}
}
/// Gets whether the "hresult" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasHresult {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "hresult" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearHresult() {
_hasBits0 &= ~1;
}
/// Field number for the "raw_status" field.
public const int RawStatusFieldNumber = 13;
private string rawStatus_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RawStatus {
get { return rawStatus_; }
set {
rawStatus_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "on_data_change" field.
public const int OnDataChangeFieldNumber = 20;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.OnDataChangeEvent OnDataChange {
get { return bodyCase_ == BodyOneofCase.OnDataChange ? (global::MxGateway.Contracts.Proto.OnDataChangeEvent) body_ : null; }
set {
body_ = value;
bodyCase_ = value == null ? BodyOneofCase.None : BodyOneofCase.OnDataChange;
}
}
/// Field number for the "on_write_complete" field.
public const int OnWriteCompleteFieldNumber = 21;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.OnWriteCompleteEvent OnWriteComplete {
get { return bodyCase_ == BodyOneofCase.OnWriteComplete ? (global::MxGateway.Contracts.Proto.OnWriteCompleteEvent) body_ : null; }
set {
body_ = value;
bodyCase_ = value == null ? BodyOneofCase.None : BodyOneofCase.OnWriteComplete;
}
}
/// Field number for the "operation_complete" field.
public const int OperationCompleteFieldNumber = 22;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.OperationCompleteEvent OperationComplete {
get { return bodyCase_ == BodyOneofCase.OperationComplete ? (global::MxGateway.Contracts.Proto.OperationCompleteEvent) body_ : null; }
set {
body_ = value;
bodyCase_ = value == null ? BodyOneofCase.None : BodyOneofCase.OperationComplete;
}
}
/// Field number for the "on_buffered_data_change" field.
public const int OnBufferedDataChangeFieldNumber = 23;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.OnBufferedDataChangeEvent OnBufferedDataChange {
get { return bodyCase_ == BodyOneofCase.OnBufferedDataChange ? (global::MxGateway.Contracts.Proto.OnBufferedDataChangeEvent) body_ : null; }
set {
body_ = value;
bodyCase_ = value == null ? BodyOneofCase.None : BodyOneofCase.OnBufferedDataChange;
}
}
/// Field number for the "on_alarm_transition" field.
public const int OnAlarmTransitionFieldNumber = 24;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::MxGateway.Contracts.Proto.OnAlarmTransitionEvent OnAlarmTransition {
get { return bodyCase_ == BodyOneofCase.OnAlarmTransition ? (global::MxGateway.Contracts.Proto.OnAlarmTransitionEvent) body_ : null; }
set {
body_ = value;
bodyCase_ = value == null ? BodyOneofCase.None : BodyOneofCase.OnAlarmTransition;
}
}
private object body_;
/// Enum of possible cases for the "body" oneof.
public enum BodyOneofCase {
None = 0,
OnDataChange = 20,
OnWriteComplete = 21,
OperationComplete = 22,
OnBufferedDataChange = 23,
OnAlarmTransition = 24,
}
private BodyOneofCase bodyCase_ = BodyOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BodyOneofCase BodyCase {
get { return bodyCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearBody() {
bodyCase_ = BodyOneofCase.None;
body_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MxEvent);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MxEvent other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Family != other.Family) return false;
if (SessionId != other.SessionId) return false;
if (ServerHandle != other.ServerHandle) return false;
if (ItemHandle != other.ItemHandle) return false;
if (!object.Equals(Value, other.Value)) return false;
if (Quality != other.Quality) return false;
if (!object.Equals(SourceTimestamp, other.SourceTimestamp)) return false;
if(!statuses_.Equals(other.statuses_)) return false;
if (WorkerSequence != other.WorkerSequence) return false;
if (!object.Equals(WorkerTimestamp, other.WorkerTimestamp)) return false;
if (!object.Equals(GatewayReceiveTimestamp, other.GatewayReceiveTimestamp)) return false;
if (Hresult != other.Hresult) return false;
if (RawStatus != other.RawStatus) return false;
if (!object.Equals(OnDataChange, other.OnDataChange)) return false;
if (!object.Equals(OnWriteComplete, other.OnWriteComplete)) return false;
if (!object.Equals(OperationComplete, other.OperationComplete)) return false;
if (!object.Equals(OnBufferedDataChange, other.OnBufferedDataChange)) return false;
if (!object.Equals(OnAlarmTransition, other.OnAlarmTransition)) return false;
if (BodyCase != other.BodyCase) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (Family != global::MxGateway.Contracts.Proto.MxEventFamily.Unspecified) hash ^= Family.GetHashCode();
if (SessionId.Length != 0) hash ^= SessionId.GetHashCode();
if (ServerHandle != 0) hash ^= ServerHandle.GetHashCode();
if (ItemHandle != 0) hash ^= ItemHandle.GetHashCode();
if (value_ != null) hash ^= Value.GetHashCode();
if (Quality != 0) hash ^= Quality.GetHashCode();
if (sourceTimestamp_ != null) hash ^= SourceTimestamp.GetHashCode();
hash ^= statuses_.GetHashCode();
if (WorkerSequence != 0UL) hash ^= WorkerSequence.GetHashCode();
if (workerTimestamp_ != null) hash ^= WorkerTimestamp.GetHashCode();
if (gatewayReceiveTimestamp_ != null) hash ^= GatewayReceiveTimestamp.GetHashCode();
if (HasHresult) hash ^= Hresult.GetHashCode();
if (RawStatus.Length != 0) hash ^= RawStatus.GetHashCode();
if (bodyCase_ == BodyOneofCase.OnDataChange) hash ^= OnDataChange.GetHashCode();
if (bodyCase_ == BodyOneofCase.OnWriteComplete) hash ^= OnWriteComplete.GetHashCode();
if (bodyCase_ == BodyOneofCase.OperationComplete) hash ^= OperationComplete.GetHashCode();
if (bodyCase_ == BodyOneofCase.OnBufferedDataChange) hash ^= OnBufferedDataChange.GetHashCode();
if (bodyCase_ == BodyOneofCase.OnAlarmTransition) hash ^= OnAlarmTransition.GetHashCode();
hash ^= (int) bodyCase_;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Family != global::MxGateway.Contracts.Proto.MxEventFamily.Unspecified) {
output.WriteRawTag(8);
output.WriteEnum((int) Family);
}
if (SessionId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(SessionId);
}
if (ServerHandle != 0) {
output.WriteRawTag(24);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(32);
output.WriteInt32(ItemHandle);
}
if (value_ != null) {
output.WriteRawTag(42);
output.WriteMessage(Value);
}
if (Quality != 0) {
output.WriteRawTag(48);
output.WriteInt32(Quality);
}
if (sourceTimestamp_ != null) {
output.WriteRawTag(58);
output.WriteMessage(SourceTimestamp);
}
statuses_.WriteTo(output, _repeated_statuses_codec);
if (WorkerSequence != 0UL) {
output.WriteRawTag(72);
output.WriteUInt64(WorkerSequence);
}
if (workerTimestamp_ != null) {
output.WriteRawTag(82);
output.WriteMessage(WorkerTimestamp);
}
if (gatewayReceiveTimestamp_ != null) {
output.WriteRawTag(90);
output.WriteMessage(GatewayReceiveTimestamp);
}
if (HasHresult) {
output.WriteRawTag(96);
output.WriteInt32(Hresult);
}
if (RawStatus.Length != 0) {
output.WriteRawTag(106);
output.WriteString(RawStatus);
}
if (bodyCase_ == BodyOneofCase.OnDataChange) {
output.WriteRawTag(162, 1);
output.WriteMessage(OnDataChange);
}
if (bodyCase_ == BodyOneofCase.OnWriteComplete) {
output.WriteRawTag(170, 1);
output.WriteMessage(OnWriteComplete);
}
if (bodyCase_ == BodyOneofCase.OperationComplete) {
output.WriteRawTag(178, 1);
output.WriteMessage(OperationComplete);
}
if (bodyCase_ == BodyOneofCase.OnBufferedDataChange) {
output.WriteRawTag(186, 1);
output.WriteMessage(OnBufferedDataChange);
}
if (bodyCase_ == BodyOneofCase.OnAlarmTransition) {
output.WriteRawTag(194, 1);
output.WriteMessage(OnAlarmTransition);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Family != global::MxGateway.Contracts.Proto.MxEventFamily.Unspecified) {
output.WriteRawTag(8);
output.WriteEnum((int) Family);
}
if (SessionId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(SessionId);
}
if (ServerHandle != 0) {
output.WriteRawTag(24);
output.WriteInt32(ServerHandle);
}
if (ItemHandle != 0) {
output.WriteRawTag(32);
output.WriteInt32(ItemHandle);
}
if (value_ != null) {
output.WriteRawTag(42);
output.WriteMessage(Value);
}
if (Quality != 0) {
output.WriteRawTag(48);
output.WriteInt32(Quality);
}
if (sourceTimestamp_ != null) {
output.WriteRawTag(58);
output.WriteMessage(SourceTimestamp);
}
statuses_.WriteTo(ref output, _repeated_statuses_codec);
if (WorkerSequence != 0UL) {
output.WriteRawTag(72);
output.WriteUInt64(WorkerSequence);
}
if (workerTimestamp_ != null) {
output.WriteRawTag(82);
output.WriteMessage(WorkerTimestamp);
}
if (gatewayReceiveTimestamp_ != null) {
output.WriteRawTag(90);
output.WriteMessage(GatewayReceiveTimestamp);
}
if (HasHresult) {
output.WriteRawTag(96);
output.WriteInt32(Hresult);
}
if (RawStatus.Length != 0) {
output.WriteRawTag(106);
output.WriteString(RawStatus);
}
if (bodyCase_ == BodyOneofCase.OnDataChange) {
output.WriteRawTag(162, 1);
output.WriteMessage(OnDataChange);
}
if (bodyCase_ == BodyOneofCase.OnWriteComplete) {
output.WriteRawTag(170, 1);
output.WriteMessage(OnWriteComplete);
}
if (bodyCase_ == BodyOneofCase.OperationComplete) {
output.WriteRawTag(178, 1);
output.WriteMessage(OperationComplete);
}
if (bodyCase_ == BodyOneofCase.OnBufferedDataChange) {
output.WriteRawTag(186, 1);
output.WriteMessage(OnBufferedDataChange);
}
if (bodyCase_ == BodyOneofCase.OnAlarmTransition) {
output.WriteRawTag(194, 1);
output.WriteMessage(OnAlarmTransition);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Family != global::MxGateway.Contracts.Proto.MxEventFamily.Unspecified) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Family);
}
if (SessionId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId);
}
if (ServerHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerHandle);
}
if (ItemHandle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ItemHandle);
}
if (value_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value);
}
if (Quality != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Quality);
}
if (sourceTimestamp_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(SourceTimestamp);
}
size += statuses_.CalculateSize(_repeated_statuses_codec);
if (WorkerSequence != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(WorkerSequence);
}
if (workerTimestamp_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(WorkerTimestamp);
}
if (gatewayReceiveTimestamp_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GatewayReceiveTimestamp);
}
if (HasHresult) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Hresult);
}
if (RawStatus.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RawStatus);
}
if (bodyCase_ == BodyOneofCase.OnDataChange) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(OnDataChange);
}
if (bodyCase_ == BodyOneofCase.OnWriteComplete) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(OnWriteComplete);
}
if (bodyCase_ == BodyOneofCase.OperationComplete) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(OperationComplete);
}
if (bodyCase_ == BodyOneofCase.OnBufferedDataChange) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(OnBufferedDataChange);
}
if (bodyCase_ == BodyOneofCase.OnAlarmTransition) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(OnAlarmTransition);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MxEvent other) {
if (other == null) {
return;
}
if (other.Family != global::MxGateway.Contracts.Proto.MxEventFamily.Unspecified) {
Family = other.Family;
}
if (other.SessionId.Length != 0) {
SessionId = other.SessionId;
}
if (other.ServerHandle != 0) {
ServerHandle = other.ServerHandle;
}
if (other.ItemHandle != 0) {
ItemHandle = other.ItemHandle;
}
if (other.value_ != null) {
if (value_ == null) {
Value = new global::MxGateway.Contracts.Proto.MxValue();
}
Value.MergeFrom(other.Value);
}
if (other.Quality != 0) {
Quality = other.Quality;
}
if (other.sourceTimestamp_ != null) {
if (sourceTimestamp_ == null) {
SourceTimestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
SourceTimestamp.MergeFrom(other.SourceTimestamp);
}
statuses_.Add(other.statuses_);
if (other.WorkerSequence != 0UL) {
WorkerSequence = other.WorkerSequence;
}
if (other.workerTimestamp_ != null) {
if (workerTimestamp_ == null) {
WorkerTimestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
WorkerTimestamp.MergeFrom(other.WorkerTimestamp);
}
if (other.gatewayReceiveTimestamp_ != null) {
if (gatewayReceiveTimestamp_ == null) {
GatewayReceiveTimestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
GatewayReceiveTimestamp.MergeFrom(other.GatewayReceiveTimestamp);
}
if (other.HasHresult) {
Hresult = other.Hresult;
}
if (other.RawStatus.Length != 0) {
RawStatus = other.RawStatus;
}
switch (other.BodyCase) {
case BodyOneofCase.OnDataChange:
if (OnDataChange == null) {
OnDataChange = new global::MxGateway.Contracts.Proto.OnDataChangeEvent();
}
OnDataChange.MergeFrom(other.OnDataChange);
break;
case BodyOneofCase.OnWriteComplete:
if (OnWriteComplete == null) {
OnWriteComplete = new global::MxGateway.Contracts.Proto.OnWriteCompleteEvent();
}
OnWriteComplete.MergeFrom(other.OnWriteComplete);
break;
case BodyOneofCase.OperationComplete:
if (OperationComplete == null) {
OperationComplete = new global::MxGateway.Contracts.Proto.OperationCompleteEvent();
}
OperationComplete.MergeFrom(other.OperationComplete);
break;
case BodyOneofCase.OnBufferedDataChange:
if (OnBufferedDataChange == null) {
OnBufferedDataChange = new global::MxGateway.Contracts.Proto.OnBufferedDataChangeEvent();
}
OnBufferedDataChange.MergeFrom(other.OnBufferedDataChange);
break;
case BodyOneofCase.OnAlarmTransition:
if (OnAlarmTransition == null) {
OnAlarmTransition = new global::MxGateway.Contracts.Proto.OnAlarmTransitionEvent();
}
OnAlarmTransition.MergeFrom(other.OnAlarmTransition);
break;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Family = (global::MxGateway.Contracts.Proto.MxEventFamily) input.ReadEnum();
break;
}
case 18: {
SessionId = input.ReadString();
break;
}
case 24: {
ServerHandle = input.ReadInt32();
break;
}
case 32: {
ItemHandle = input.ReadInt32();
break;
}
case 42: {
if (value_ == null) {
Value = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(Value);
break;
}
case 48: {
Quality = input.ReadInt32();
break;
}
case 58: {
if (sourceTimestamp_ == null) {
SourceTimestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
input.ReadMessage(SourceTimestamp);
break;
}
case 66: {
statuses_.AddEntriesFrom(input, _repeated_statuses_codec);
break;
}
case 72: {
WorkerSequence = input.ReadUInt64();
break;
}
case 82: {
if (workerTimestamp_ == null) {
WorkerTimestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
input.ReadMessage(WorkerTimestamp);
break;
}
case 90: {
if (gatewayReceiveTimestamp_ == null) {
GatewayReceiveTimestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
input.ReadMessage(GatewayReceiveTimestamp);
break;
}
case 96: {
Hresult = input.ReadInt32();
break;
}
case 106: {
RawStatus = input.ReadString();
break;
}
case 162: {
global::MxGateway.Contracts.Proto.OnDataChangeEvent subBuilder = new global::MxGateway.Contracts.Proto.OnDataChangeEvent();
if (bodyCase_ == BodyOneofCase.OnDataChange) {
subBuilder.MergeFrom(OnDataChange);
}
input.ReadMessage(subBuilder);
OnDataChange = subBuilder;
break;
}
case 170: {
global::MxGateway.Contracts.Proto.OnWriteCompleteEvent subBuilder = new global::MxGateway.Contracts.Proto.OnWriteCompleteEvent();
if (bodyCase_ == BodyOneofCase.OnWriteComplete) {
subBuilder.MergeFrom(OnWriteComplete);
}
input.ReadMessage(subBuilder);
OnWriteComplete = subBuilder;
break;
}
case 178: {
global::MxGateway.Contracts.Proto.OperationCompleteEvent subBuilder = new global::MxGateway.Contracts.Proto.OperationCompleteEvent();
if (bodyCase_ == BodyOneofCase.OperationComplete) {
subBuilder.MergeFrom(OperationComplete);
}
input.ReadMessage(subBuilder);
OperationComplete = subBuilder;
break;
}
case 186: {
global::MxGateway.Contracts.Proto.OnBufferedDataChangeEvent subBuilder = new global::MxGateway.Contracts.Proto.OnBufferedDataChangeEvent();
if (bodyCase_ == BodyOneofCase.OnBufferedDataChange) {
subBuilder.MergeFrom(OnBufferedDataChange);
}
input.ReadMessage(subBuilder);
OnBufferedDataChange = subBuilder;
break;
}
case 194: {
global::MxGateway.Contracts.Proto.OnAlarmTransitionEvent subBuilder = new global::MxGateway.Contracts.Proto.OnAlarmTransitionEvent();
if (bodyCase_ == BodyOneofCase.OnAlarmTransition) {
subBuilder.MergeFrom(OnAlarmTransition);
}
input.ReadMessage(subBuilder);
OnAlarmTransition = subBuilder;
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Family = (global::MxGateway.Contracts.Proto.MxEventFamily) input.ReadEnum();
break;
}
case 18: {
SessionId = input.ReadString();
break;
}
case 24: {
ServerHandle = input.ReadInt32();
break;
}
case 32: {
ItemHandle = input.ReadInt32();
break;
}
case 42: {
if (value_ == null) {
Value = new global::MxGateway.Contracts.Proto.MxValue();
}
input.ReadMessage(Value);
break;
}
case 48: {
Quality = input.ReadInt32();
break;
}
case 58: {
if (sourceTimestamp_ == null) {
SourceTimestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
input.ReadMessage(SourceTimestamp);
break;
}
case 66: {
statuses_.AddEntriesFrom(ref input, _repeated_statuses_codec);
break;
}
case 72: {
WorkerSequence = input.ReadUInt64();
break;
}
case 82: {
if (workerTimestamp_ == null) {
WorkerTimestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
input.ReadMessage(WorkerTimestamp);
break;
}
case 90: {
if (gatewayReceiveTimestamp_ == null) {
GatewayReceiveTimestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
input.ReadMessage(GatewayReceiveTimestamp);
break;
}
case 96: {
Hresult = input.ReadInt32();
break;
}
case 106: {
RawStatus = input.ReadString();
break;
}
case 162: {
global::MxGateway.Contracts.Proto.OnDataChangeEvent subBuilder = new global::MxGateway.Contracts.Proto.OnDataChangeEvent();
if (bodyCase_ == BodyOneofCase.OnDataChange) {
subBuilder.MergeFrom(OnDataChange);
}
input.ReadMessage(subBuilder);
OnDataChange = subBuilder;
break;
}
case 170: {
global::MxGateway.Contracts.Proto.OnWriteCompleteEvent subBuilder = new global::MxGateway.Contracts.Proto.OnWriteCompleteEvent();
if (bodyCase_ == BodyOneofCase.OnWriteComplete) {
subBuilder.MergeFrom(OnWriteComplete);
}
input.ReadMessage(subBuilder);
OnWriteComplete = subBuilder;
break;
}
case 178: {
global::MxGateway.Contracts.Proto.OperationCompleteEvent subBuilder = new global::MxGateway.Contracts.Proto.OperationCompleteEvent();
if (bodyCase_ == BodyOneofCase.OperationComplete) {
subBuilder.MergeFrom(OperationComplete);
}
input.ReadMessage(subBuilder);
OperationComplete = subBuilder;
break;
}
case 186: {
global::MxGateway.Contracts.Proto.OnBufferedDataChangeEvent subBuilder = new global::MxGateway.Contracts.Proto.OnBufferedDataChangeEvent();
if (bodyCase_ == BodyOneofCase.OnBufferedDataChange) {
subBuilder.MergeFrom(OnBufferedDataChange);
}
input.ReadMessage(subBuilder);
OnBufferedDataChange = subBuilder;
break;
}
case 194: {
global::MxGateway.Contracts.Proto.OnAlarmTransitionEvent subBuilder = new global::MxGateway.Contracts.Proto.OnAlarmTransitionEvent();
if (bodyCase_ == BodyOneofCase.OnAlarmTransition) {
subBuilder.MergeFrom(OnAlarmTransition);
}
input.ReadMessage(subBuilder);
OnAlarmTransition = subBuilder;
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class OnDataChangeEvent : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OnDataChangeEvent());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::MxGateway.Contracts.Proto.MxaccessGatewayReflection.Descriptor.MessageTypes[51]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public OnDataChangeEvent() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public OnDataChangeEvent(OnDataChangeEvent other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public OnDataChangeEvent Clone() {
return new OnDataChangeEvent(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as OnDataChangeEvent);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(OnDataChangeEvent other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(OnDataChangeEvent other) {
if (other == null) {
return;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class OnWriteCompleteEvent : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser