//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/game_utilities_service.proto
//
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Bgs.Protocol.GameUtilities.V1 {
/// Holder for reflection information generated from bgs/low/pb/client/game_utilities_service.proto
public static partial class GameUtilitiesServiceReflection {
#region Descriptor
/// File descriptor for bgs/low/pb/client/game_utilities_service.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GameUtilitiesServiceReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ci5iZ3MvbG93L3BiL2NsaWVudC9nYW1lX3V0aWxpdGllc19zZXJ2aWNlLnBy",
"b3RvEh5iZ3MucHJvdG9jb2wuZ2FtZV91dGlsaXRpZXMudjEaJ2Jncy9sb3cv",
"cGIvY2xpZW50L2F0dHJpYnV0ZV90eXBlcy5wcm90bxokYmdzL2xvdy9wYi9j",
"bGllbnQvZW50aXR5X3R5cGVzLnByb3RvGixiZ3MvbG93L3BiL2NsaWVudC9n",
"YW1lX3V0aWxpdGllc190eXBlcy5wcm90bxohYmdzL2xvdy9wYi9jbGllbnQv",
"cnBjX3R5cGVzLnByb3RvGjliZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0",
"ZW5zaW9ucy9tZXNzYWdlX29wdGlvbnMucHJvdG8aN2Jncy9sb3cvcGIvY2xp",
"ZW50L2dsb2JhbF9leHRlbnNpb25zL2ZpZWxkX29wdGlvbnMucHJvdG8aOGJn",
"cy9sb3cvcGIvY2xpZW50L2dsb2JhbF9leHRlbnNpb25zL21ldGhvZF9vcHRp",
"b25zLnByb3RvGjliZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9u",
"cy9zZXJ2aWNlX29wdGlvbnMucHJvdG8inQIKDUNsaWVudFJlcXVlc3QSKgoJ",
"YXR0cmlidXRlGAEgAygLMhcuYmdzLnByb3RvY29sLkF0dHJpYnV0ZRIpCgRo",
"b3N0GAIgASgLMhcuYmdzLnByb3RvY29sLlByb2Nlc3NJZEICGAESKgoKYWNj",
"b3VudF9pZBgDIAEoCzIWLmJncy5wcm90b2NvbC5FbnRpdHlJZBIvCg9nYW1l",
"X2FjY291bnRfaWQYBCABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSDwoH",
"cHJvZ3JhbRgFIAEoBxI/CgtjbGllbnRfaW5mbxgGIAEoCzIqLmJncy5wcm90",
"b2NvbC5nYW1lX3V0aWxpdGllcy52MS5DbGllbnRJbmZvOgaC+SsCCAEiPAoO",
"Q2xpZW50UmVzcG9uc2USKgoJYXR0cmlidXRlGAEgAygLMhcuYmdzLnByb3Rv",
"Y29sLkF0dHJpYnV0ZSJ3Cg1TZXJ2ZXJSZXF1ZXN0EioKCWF0dHJpYnV0ZRgB",
"IAMoCzIXLmJncy5wcm90b2NvbC5BdHRyaWJ1dGUSDwoHcHJvZ3JhbRgCIAIo",
"BxIpCgRob3N0GAMgASgLMhcuYmdzLnByb3RvY29sLlByb2Nlc3NJZEICGAEi",
"PAoOU2VydmVyUmVzcG9uc2USKgoJYXR0cmlidXRlGAEgAygLMhcuYmdzLnBy",
"b3RvY29sLkF0dHJpYnV0ZSLLAQodUHJlc2VuY2VDaGFubmVsQ3JlYXRlZFJl",
"cXVlc3QSIgoCaWQYASACKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSLwoP",
"Z2FtZV9hY2NvdW50X2lkGAMgASgLMhYuYmdzLnByb3RvY29sLkVudGl0eUlk",
"EioKCmFjY291bnRfaWQYBCABKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQS",
"KQoEaG9zdBgFIAEoCzIXLmJncy5wcm90b2NvbC5Qcm9jZXNzSWRCAhgBIo8B",
"Ch1HYW1lQWNjb3VudE9ubGluZU5vdGlmaWNhdGlvbhIvCg9nYW1lX2FjY291",
"bnRfaWQYASACKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5SWQSKQoEaG9zdBgC",
"IAEoCzIXLmJncy5wcm90b2NvbC5Qcm9jZXNzSWRCAhgBEhIKCnNlc3Npb25f",
"aWQYAyABKAkikAEKHkdhbWVBY2NvdW50T2ZmbGluZU5vdGlmaWNhdGlvbhIv",
"Cg9nYW1lX2FjY291bnRfaWQYASACKAsyFi5iZ3MucHJvdG9jb2wuRW50aXR5",
"SWQSKQoEaG9zdBgCIAEoCzIXLmJncy5wcm90b2NvbC5Qcm9jZXNzSWRCAhgB",
"EhIKCnNlc3Npb25faWQYAyABKAkikgEKH0dldEFsbFZhbHVlc0ZvckF0dHJp",
"YnV0ZVJlcXVlc3QSLAoNYXR0cmlidXRlX2tleRgBIAEoCUIVivkrBiIECgII",
"AYr5KwciBQoDEIACEigKCGFnZW50X2lkGAIgASgLMhYuYmdzLnByb3RvY29s",
"LkVudGl0eUlkEg8KB3Byb2dyYW0YBSABKAc6BoL5KwIIASJSCiBHZXRBbGxW",
"YWx1ZXNGb3JBdHRyaWJ1dGVSZXNwb25zZRIuCg9hdHRyaWJ1dGVfdmFsdWUY",
"ASADKAsyFS5iZ3MucHJvdG9jb2wuVmFyaWFudCJhChhSZWdpc3RlclV0aWxp",
"dGllc1JlcXVlc3QSKgoJYXR0cmlidXRlGAEgAygLMhcuYmdzLnByb3RvY29s",
"LkF0dHJpYnV0ZRIZCgdwcm9ncmFtGAIgASgHQgiK+SsEEgIQACIuChlSZWdp",
"c3RlclV0aWxpdGllc1Jlc3BvbnNlEhEKCWNsaWVudF9pZBgBIAEoCSIcChpV",
"bnJlZ2lzdGVyVXRpbGl0aWVzUmVxdWVzdDKOCQoUR2FtZVV0aWxpdGllc1Nl",
"cnZpY2USfQoUUHJvY2Vzc0NsaWVudFJlcXVlc3QSLS5iZ3MucHJvdG9jb2wu",
"Z2FtZV91dGlsaXRpZXMudjEuQ2xpZW50UmVxdWVzdBouLmJncy5wcm90b2Nv",
"bC5nYW1lX3V0aWxpdGllcy52MS5DbGllbnRSZXNwb25zZSIGgvkrAggBEnUK",
"FlByZXNlbmNlQ2hhbm5lbENyZWF0ZWQSPS5iZ3MucHJvdG9jb2wuZ2FtZV91",
"dGlsaXRpZXMudjEuUHJlc2VuY2VDaGFubmVsQ3JlYXRlZFJlcXVlc3QaFC5i",
"Z3MucHJvdG9jb2wuTm9EYXRhIgaC+SsCCAISfQoUUHJvY2Vzc1NlcnZlclJl",
"cXVlc3QSLS5iZ3MucHJvdG9jb2wuZ2FtZV91dGlsaXRpZXMudjEuU2VydmVy",
"UmVxdWVzdBouLmJncy5wcm90b2NvbC5nYW1lX3V0aWxpdGllcy52MS5TZXJ2",
"ZXJSZXNwb25zZSIGgvkrAggGEncKE09uR2FtZUFjY291bnRPbmxpbmUSPS5i",
"Z3MucHJvdG9jb2wuZ2FtZV91dGlsaXRpZXMudjEuR2FtZUFjY291bnRPbmxp",
"bmVOb3RpZmljYXRpb24aGS5iZ3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5",
"KwIIBxJ5ChRPbkdhbWVBY2NvdW50T2ZmbGluZRI+LmJncy5wcm90b2NvbC5n",
"YW1lX3V0aWxpdGllcy52MS5HYW1lQWNjb3VudE9mZmxpbmVOb3RpZmljYXRp",
"b24aGS5iZ3MucHJvdG9jb2wuTk9fUkVTUE9OU0UiBoL5KwIICBKlAQoYR2V0",
"QWxsVmFsdWVzRm9yQXR0cmlidXRlEj8uYmdzLnByb3RvY29sLmdhbWVfdXRp",
"bGl0aWVzLnYxLkdldEFsbFZhbHVlc0ZvckF0dHJpYnV0ZVJlcXVlc3QaQC5i",
"Z3MucHJvdG9jb2wuZ2FtZV91dGlsaXRpZXMudjEuR2V0QWxsVmFsdWVzRm9y",
"QXR0cmlidXRlUmVzcG9uc2UiBoL5KwIIChKWAQoRUmVnaXN0ZXJVdGlsaXRp",
"ZXMSOC5iZ3MucHJvdG9jb2wuZ2FtZV91dGlsaXRpZXMudjEuUmVnaXN0ZXJV",
"dGlsaXRpZXNSZXF1ZXN0GjkuYmdzLnByb3RvY29sLmdhbWVfdXRpbGl0aWVz",
"LnYxLlJlZ2lzdGVyVXRpbGl0aWVzUmVzcG9uc2UiDIL5KwIIC4L5KwIQAxJ6",
"ChNVbnJlZ2lzdGVyVXRpbGl0aWVzEjouYmdzLnByb3RvY29sLmdhbWVfdXRp",
"bGl0aWVzLnYxLlVucmVnaXN0ZXJVdGlsaXRpZXNSZXF1ZXN0GhkuYmdzLnBy",
"b3RvY29sLk5PX1JFU1BPTlNFIgyC+SsCCAyC+SsCEAMaUIL5KywKKmJuZXQu",
"cHJvdG9jb2wuZ2FtZV91dGlsaXRpZXMuR2FtZVV0aWxpdGllc4L5KxAqDmdh",
"bWVfdXRpbGl0aWVzivkrAggBivkrAhABQkIKH2JuZXQucHJvdG9jb2wuZ2Ft",
"ZV91dGlsaXRpZXMudjFCGUdhbWVVdGlsaXRpZXNTZXJ2aWNlUHJvdG+AAQCI",
"AQE="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.AttributeTypesReflection.Descriptor, global::Bgs.Protocol.EntityTypesReflection.Descriptor, global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesTypesReflection.Descriptor, global::Bgs.Protocol.RpcTypesReflection.Descriptor, global::Bgs.Protocol.MessageOptionsReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MethodOptionsReflection.Descriptor, global::Bgs.Protocol.ServiceOptionsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.ClientRequest), global::Bgs.Protocol.GameUtilities.V1.ClientRequest.Parser, new[]{ "Attribute", "Host", "AccountId", "GameAccountId", "Program", "ClientInfo" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.ClientResponse), global::Bgs.Protocol.GameUtilities.V1.ClientResponse.Parser, new[]{ "Attribute" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.ServerRequest), global::Bgs.Protocol.GameUtilities.V1.ServerRequest.Parser, new[]{ "Attribute", "Program", "Host" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.ServerResponse), global::Bgs.Protocol.GameUtilities.V1.ServerResponse.Parser, new[]{ "Attribute" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.PresenceChannelCreatedRequest), global::Bgs.Protocol.GameUtilities.V1.PresenceChannelCreatedRequest.Parser, new[]{ "Id", "GameAccountId", "AccountId", "Host" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.GameAccountOnlineNotification), global::Bgs.Protocol.GameUtilities.V1.GameAccountOnlineNotification.Parser, new[]{ "GameAccountId", "Host", "SessionId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.GameAccountOfflineNotification), global::Bgs.Protocol.GameUtilities.V1.GameAccountOfflineNotification.Parser, new[]{ "GameAccountId", "Host", "SessionId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.GetAllValuesForAttributeRequest), global::Bgs.Protocol.GameUtilities.V1.GetAllValuesForAttributeRequest.Parser, new[]{ "AttributeKey", "AgentId", "Program" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.GetAllValuesForAttributeResponse), global::Bgs.Protocol.GameUtilities.V1.GetAllValuesForAttributeResponse.Parser, new[]{ "AttributeValue" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.RegisterUtilitiesRequest), global::Bgs.Protocol.GameUtilities.V1.RegisterUtilitiesRequest.Parser, new[]{ "Attribute", "Program" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.RegisterUtilitiesResponse), global::Bgs.Protocol.GameUtilities.V1.RegisterUtilitiesResponse.Parser, new[]{ "ClientId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GameUtilities.V1.UnregisterUtilitiesRequest), global::Bgs.Protocol.GameUtilities.V1.UnregisterUtilitiesRequest.Parser, null, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class ClientRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClientRequest());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClientRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClientRequest(ClientRequest other) : this() {
_hasBits0 = other._hasBits0;
attribute_ = other.attribute_.Clone();
host_ = other.HasHost ? other.host_.Clone() : null;
accountId_ = other.HasAccountId ? other.accountId_.Clone() : null;
gameAccountId_ = other.HasGameAccountId ? other.gameAccountId_.Clone() : null;
program_ = other.program_;
clientInfo_ = other.HasClientInfo ? other.clientInfo_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClientRequest Clone() {
return new ClientRequest(this);
}
/// Field number for the "attribute" field.
public const int AttributeFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_attribute_codec
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Attribute.Parser);
private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Attribute {
get { return attribute_; }
}
/// Field number for the "host" field.
public const int HostFieldNumber = 2;
private global::Bgs.Protocol.ProcessId host_;
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.ProcessId Host {
get { return host_; }
set {
host_ = value;
}
}
/// Gets whether the host field is set
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasHost {
get { return host_ != null; }
}
/// Clears the value of the host field
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearHost() {
host_ = null;
}
/// Field number for the "account_id" field.
public const int AccountIdFieldNumber = 3;
private global::Bgs.Protocol.EntityId accountId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.EntityId AccountId {
get { return accountId_; }
set {
accountId_ = value;
}
}
/// Gets whether the account_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAccountId {
get { return accountId_ != null; }
}
/// Clears the value of the account_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAccountId() {
accountId_ = null;
}
/// Field number for the "game_account_id" field.
public const int GameAccountIdFieldNumber = 4;
private global::Bgs.Protocol.EntityId gameAccountId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.EntityId GameAccountId {
get { return gameAccountId_; }
set {
gameAccountId_ = value;
}
}
/// Gets whether the game_account_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasGameAccountId {
get { return gameAccountId_ != null; }
}
/// Clears the value of the game_account_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearGameAccountId() {
gameAccountId_ = null;
}
/// Field number for the "program" field.
public const int ProgramFieldNumber = 5;
private readonly static uint ProgramDefaultValue = 0;
private uint program_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Program {
get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } }
set {
_hasBits0 |= 1;
program_ = value;
}
}
/// Gets whether the "program" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasProgram {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "program" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearProgram() {
_hasBits0 &= ~1;
}
/// Field number for the "client_info" field.
public const int ClientInfoFieldNumber = 6;
private global::Bgs.Protocol.GameUtilities.V1.ClientInfo clientInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.GameUtilities.V1.ClientInfo ClientInfo {
get { return clientInfo_; }
set {
clientInfo_ = value;
}
}
/// Gets whether the client_info field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClientInfo {
get { return clientInfo_ != null; }
}
/// Clears the value of the client_info field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClientInfo() {
clientInfo_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ClientRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ClientRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!attribute_.Equals(other.attribute_)) return false;
if (!object.Equals(Host, other.Host)) return false;
if (!object.Equals(AccountId, other.AccountId)) return false;
if (!object.Equals(GameAccountId, other.GameAccountId)) return false;
if (Program != other.Program) return false;
if (!object.Equals(ClientInfo, other.ClientInfo)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= attribute_.GetHashCode();
if (HasHost) hash ^= Host.GetHashCode();
if (HasAccountId) hash ^= AccountId.GetHashCode();
if (HasGameAccountId) hash ^= GameAccountId.GetHashCode();
if (HasProgram) hash ^= Program.GetHashCode();
if (HasClientInfo) hash ^= ClientInfo.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
attribute_.WriteTo(output, _repeated_attribute_codec);
if (HasHost) {
output.WriteRawTag(18);
output.WriteMessage(Host);
}
if (HasAccountId) {
output.WriteRawTag(26);
output.WriteMessage(AccountId);
}
if (HasGameAccountId) {
output.WriteRawTag(34);
output.WriteMessage(GameAccountId);
}
if (HasProgram) {
output.WriteRawTag(45);
output.WriteFixed32(Program);
}
if (HasClientInfo) {
output.WriteRawTag(50);
output.WriteMessage(ClientInfo);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += attribute_.CalculateSize(_repeated_attribute_codec);
if (HasHost) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host);
}
if (HasAccountId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId);
}
if (HasGameAccountId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId);
}
if (HasProgram) {
size += 1 + 4;
}
if (HasClientInfo) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClientInfo);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ClientRequest other) {
if (other == null) {
return;
}
attribute_.Add(other.attribute_);
if (other.HasHost) {
if (!HasHost) {
Host = new global::Bgs.Protocol.ProcessId();
}
Host.MergeFrom(other.Host);
}
if (other.HasAccountId) {
if (!HasAccountId) {
AccountId = new global::Bgs.Protocol.EntityId();
}
AccountId.MergeFrom(other.AccountId);
}
if (other.HasGameAccountId) {
if (!HasGameAccountId) {
GameAccountId = new global::Bgs.Protocol.EntityId();
}
GameAccountId.MergeFrom(other.GameAccountId);
}
if (other.HasProgram) {
Program = other.Program;
}
if (other.HasClientInfo) {
if (!HasClientInfo) {
ClientInfo = new global::Bgs.Protocol.GameUtilities.V1.ClientInfo();
}
ClientInfo.MergeFrom(other.ClientInfo);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
attribute_.AddEntriesFrom(input, _repeated_attribute_codec);
break;
}
case 18: {
if (!HasHost) {
Host = new global::Bgs.Protocol.ProcessId();
}
input.ReadMessage(Host);
break;
}
case 26: {
if (!HasAccountId) {
AccountId = new global::Bgs.Protocol.EntityId();
}
input.ReadMessage(AccountId);
break;
}
case 34: {
if (!HasGameAccountId) {
GameAccountId = new global::Bgs.Protocol.EntityId();
}
input.ReadMessage(GameAccountId);
break;
}
case 45: {
Program = input.ReadFixed32();
break;
}
case 50: {
if (!HasClientInfo) {
ClientInfo = new global::Bgs.Protocol.GameUtilities.V1.ClientInfo();
}
input.ReadMessage(ClientInfo);
break;
}
}
}
}
}
public sealed partial class ClientResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClientResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClientResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClientResponse(ClientResponse other) : this() {
attribute_ = other.attribute_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClientResponse Clone() {
return new ClientResponse(this);
}
/// Field number for the "attribute" field.
public const int AttributeFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_attribute_codec
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Attribute.Parser);
private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Attribute {
get { return attribute_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ClientResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ClientResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!attribute_.Equals(other.attribute_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= attribute_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
attribute_.WriteTo(output, _repeated_attribute_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += attribute_.CalculateSize(_repeated_attribute_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ClientResponse other) {
if (other == null) {
return;
}
attribute_.Add(other.attribute_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
attribute_.AddEntriesFrom(input, _repeated_attribute_codec);
break;
}
}
}
}
}
public sealed partial class ServerRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ServerRequest());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ServerRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ServerRequest(ServerRequest other) : this() {
_hasBits0 = other._hasBits0;
attribute_ = other.attribute_.Clone();
program_ = other.program_;
host_ = other.HasHost ? other.host_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ServerRequest Clone() {
return new ServerRequest(this);
}
/// Field number for the "attribute" field.
public const int AttributeFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_attribute_codec
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Attribute.Parser);
private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Attribute {
get { return attribute_; }
}
/// Field number for the "program" field.
public const int ProgramFieldNumber = 2;
private readonly static uint ProgramDefaultValue = 0;
private uint program_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Program {
get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } }
set {
_hasBits0 |= 1;
program_ = value;
}
}
/// Gets whether the "program" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasProgram {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "program" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearProgram() {
_hasBits0 &= ~1;
}
/// Field number for the "host" field.
public const int HostFieldNumber = 3;
private global::Bgs.Protocol.ProcessId host_;
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.ProcessId Host {
get { return host_; }
set {
host_ = value;
}
}
/// Gets whether the host field is set
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasHost {
get { return host_ != null; }
}
/// Clears the value of the host field
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearHost() {
host_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ServerRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ServerRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!attribute_.Equals(other.attribute_)) return false;
if (Program != other.Program) return false;
if (!object.Equals(Host, other.Host)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= attribute_.GetHashCode();
if (HasProgram) hash ^= Program.GetHashCode();
if (HasHost) hash ^= Host.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
attribute_.WriteTo(output, _repeated_attribute_codec);
if (HasProgram) {
output.WriteRawTag(21);
output.WriteFixed32(Program);
}
if (HasHost) {
output.WriteRawTag(26);
output.WriteMessage(Host);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += attribute_.CalculateSize(_repeated_attribute_codec);
if (HasProgram) {
size += 1 + 4;
}
if (HasHost) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ServerRequest other) {
if (other == null) {
return;
}
attribute_.Add(other.attribute_);
if (other.HasProgram) {
Program = other.Program;
}
if (other.HasHost) {
if (!HasHost) {
Host = new global::Bgs.Protocol.ProcessId();
}
Host.MergeFrom(other.Host);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
attribute_.AddEntriesFrom(input, _repeated_attribute_codec);
break;
}
case 21: {
Program = input.ReadFixed32();
break;
}
case 26: {
if (!HasHost) {
Host = new global::Bgs.Protocol.ProcessId();
}
input.ReadMessage(Host);
break;
}
}
}
}
}
public sealed partial class ServerResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ServerResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[3]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ServerResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ServerResponse(ServerResponse other) : this() {
attribute_ = other.attribute_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ServerResponse Clone() {
return new ServerResponse(this);
}
/// Field number for the "attribute" field.
public const int AttributeFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_attribute_codec
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Attribute.Parser);
private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Attribute {
get { return attribute_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ServerResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ServerResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!attribute_.Equals(other.attribute_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= attribute_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
attribute_.WriteTo(output, _repeated_attribute_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += attribute_.CalculateSize(_repeated_attribute_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ServerResponse other) {
if (other == null) {
return;
}
attribute_.Add(other.attribute_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
attribute_.AddEntriesFrom(input, _repeated_attribute_codec);
break;
}
}
}
}
}
public sealed partial class PresenceChannelCreatedRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PresenceChannelCreatedRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[4]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public PresenceChannelCreatedRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public PresenceChannelCreatedRequest(PresenceChannelCreatedRequest other) : this() {
id_ = other.HasId ? other.id_.Clone() : null;
gameAccountId_ = other.HasGameAccountId ? other.gameAccountId_.Clone() : null;
accountId_ = other.HasAccountId ? other.accountId_.Clone() : null;
host_ = other.HasHost ? other.host_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public PresenceChannelCreatedRequest Clone() {
return new PresenceChannelCreatedRequest(this);
}
/// Field number for the "id" field.
public const int IdFieldNumber = 1;
private global::Bgs.Protocol.EntityId id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.EntityId Id {
get { return id_; }
set {
id_ = value;
}
}
/// Gets whether the id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasId {
get { return id_ != null; }
}
/// Clears the value of the id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearId() {
id_ = null;
}
/// Field number for the "game_account_id" field.
public const int GameAccountIdFieldNumber = 3;
private global::Bgs.Protocol.EntityId gameAccountId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.EntityId GameAccountId {
get { return gameAccountId_; }
set {
gameAccountId_ = value;
}
}
/// Gets whether the game_account_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasGameAccountId {
get { return gameAccountId_ != null; }
}
/// Clears the value of the game_account_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearGameAccountId() {
gameAccountId_ = null;
}
/// Field number for the "account_id" field.
public const int AccountIdFieldNumber = 4;
private global::Bgs.Protocol.EntityId accountId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.EntityId AccountId {
get { return accountId_; }
set {
accountId_ = value;
}
}
/// Gets whether the account_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAccountId {
get { return accountId_ != null; }
}
/// Clears the value of the account_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAccountId() {
accountId_ = null;
}
/// Field number for the "host" field.
public const int HostFieldNumber = 5;
private global::Bgs.Protocol.ProcessId host_;
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.ProcessId Host {
get { return host_; }
set {
host_ = value;
}
}
/// Gets whether the host field is set
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasHost {
get { return host_ != null; }
}
/// Clears the value of the host field
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearHost() {
host_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as PresenceChannelCreatedRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(PresenceChannelCreatedRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Id, other.Id)) return false;
if (!object.Equals(GameAccountId, other.GameAccountId)) return false;
if (!object.Equals(AccountId, other.AccountId)) return false;
if (!object.Equals(Host, other.Host)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasId) hash ^= Id.GetHashCode();
if (HasGameAccountId) hash ^= GameAccountId.GetHashCode();
if (HasAccountId) hash ^= AccountId.GetHashCode();
if (HasHost) hash ^= Host.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (HasId) {
output.WriteRawTag(10);
output.WriteMessage(Id);
}
if (HasGameAccountId) {
output.WriteRawTag(26);
output.WriteMessage(GameAccountId);
}
if (HasAccountId) {
output.WriteRawTag(34);
output.WriteMessage(AccountId);
}
if (HasHost) {
output.WriteRawTag(42);
output.WriteMessage(Host);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Id);
}
if (HasGameAccountId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId);
}
if (HasAccountId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountId);
}
if (HasHost) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(PresenceChannelCreatedRequest other) {
if (other == null) {
return;
}
if (other.HasId) {
if (!HasId) {
Id = new global::Bgs.Protocol.EntityId();
}
Id.MergeFrom(other.Id);
}
if (other.HasGameAccountId) {
if (!HasGameAccountId) {
GameAccountId = new global::Bgs.Protocol.EntityId();
}
GameAccountId.MergeFrom(other.GameAccountId);
}
if (other.HasAccountId) {
if (!HasAccountId) {
AccountId = new global::Bgs.Protocol.EntityId();
}
AccountId.MergeFrom(other.AccountId);
}
if (other.HasHost) {
if (!HasHost) {
Host = new global::Bgs.Protocol.ProcessId();
}
Host.MergeFrom(other.Host);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
if (!HasId) {
Id = new global::Bgs.Protocol.EntityId();
}
input.ReadMessage(Id);
break;
}
case 26: {
if (!HasGameAccountId) {
GameAccountId = new global::Bgs.Protocol.EntityId();
}
input.ReadMessage(GameAccountId);
break;
}
case 34: {
if (!HasAccountId) {
AccountId = new global::Bgs.Protocol.EntityId();
}
input.ReadMessage(AccountId);
break;
}
case 42: {
if (!HasHost) {
Host = new global::Bgs.Protocol.ProcessId();
}
input.ReadMessage(Host);
break;
}
}
}
}
}
public sealed partial class GameAccountOnlineNotification : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameAccountOnlineNotification());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[5]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GameAccountOnlineNotification() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GameAccountOnlineNotification(GameAccountOnlineNotification other) : this() {
gameAccountId_ = other.HasGameAccountId ? other.gameAccountId_.Clone() : null;
host_ = other.HasHost ? other.host_.Clone() : null;
sessionId_ = other.sessionId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GameAccountOnlineNotification Clone() {
return new GameAccountOnlineNotification(this);
}
/// Field number for the "game_account_id" field.
public const int GameAccountIdFieldNumber = 1;
private global::Bgs.Protocol.EntityId gameAccountId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.EntityId GameAccountId {
get { return gameAccountId_; }
set {
gameAccountId_ = value;
}
}
/// Gets whether the game_account_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasGameAccountId {
get { return gameAccountId_ != null; }
}
/// Clears the value of the game_account_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearGameAccountId() {
gameAccountId_ = null;
}
/// Field number for the "host" field.
public const int HostFieldNumber = 2;
private global::Bgs.Protocol.ProcessId host_;
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.ProcessId Host {
get { return host_; }
set {
host_ = value;
}
}
/// Gets whether the host field is set
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasHost {
get { return host_ != null; }
}
/// Clears the value of the host field
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearHost() {
host_ = null;
}
/// Field number for the "session_id" field.
public const int SessionIdFieldNumber = 3;
private readonly static string SessionIdDefaultValue = "";
private string sessionId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string SessionId {
get { return sessionId_ ?? SessionIdDefaultValue; }
set {
sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Gets whether the "session_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasSessionId {
get { return sessionId_ != null; }
}
/// Clears the value of the "session_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearSessionId() {
sessionId_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GameAccountOnlineNotification);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GameAccountOnlineNotification other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(GameAccountId, other.GameAccountId)) return false;
if (!object.Equals(Host, other.Host)) return false;
if (SessionId != other.SessionId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasGameAccountId) hash ^= GameAccountId.GetHashCode();
if (HasHost) hash ^= Host.GetHashCode();
if (HasSessionId) hash ^= SessionId.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (HasGameAccountId) {
output.WriteRawTag(10);
output.WriteMessage(GameAccountId);
}
if (HasHost) {
output.WriteRawTag(18);
output.WriteMessage(Host);
}
if (HasSessionId) {
output.WriteRawTag(26);
output.WriteString(SessionId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasGameAccountId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId);
}
if (HasHost) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host);
}
if (HasSessionId) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GameAccountOnlineNotification other) {
if (other == null) {
return;
}
if (other.HasGameAccountId) {
if (!HasGameAccountId) {
GameAccountId = new global::Bgs.Protocol.EntityId();
}
GameAccountId.MergeFrom(other.GameAccountId);
}
if (other.HasHost) {
if (!HasHost) {
Host = new global::Bgs.Protocol.ProcessId();
}
Host.MergeFrom(other.Host);
}
if (other.HasSessionId) {
SessionId = other.SessionId;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
if (!HasGameAccountId) {
GameAccountId = new global::Bgs.Protocol.EntityId();
}
input.ReadMessage(GameAccountId);
break;
}
case 18: {
if (!HasHost) {
Host = new global::Bgs.Protocol.ProcessId();
}
input.ReadMessage(Host);
break;
}
case 26: {
SessionId = input.ReadString();
break;
}
}
}
}
}
public sealed partial class GameAccountOfflineNotification : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameAccountOfflineNotification());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[6]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GameAccountOfflineNotification() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GameAccountOfflineNotification(GameAccountOfflineNotification other) : this() {
gameAccountId_ = other.HasGameAccountId ? other.gameAccountId_.Clone() : null;
host_ = other.HasHost ? other.host_.Clone() : null;
sessionId_ = other.sessionId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GameAccountOfflineNotification Clone() {
return new GameAccountOfflineNotification(this);
}
/// Field number for the "game_account_id" field.
public const int GameAccountIdFieldNumber = 1;
private global::Bgs.Protocol.EntityId gameAccountId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.EntityId GameAccountId {
get { return gameAccountId_; }
set {
gameAccountId_ = value;
}
}
/// Gets whether the game_account_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasGameAccountId {
get { return gameAccountId_ != null; }
}
/// Clears the value of the game_account_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearGameAccountId() {
gameAccountId_ = null;
}
/// Field number for the "host" field.
public const int HostFieldNumber = 2;
private global::Bgs.Protocol.ProcessId host_;
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.ProcessId Host {
get { return host_; }
set {
host_ = value;
}
}
/// Gets whether the host field is set
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasHost {
get { return host_ != null; }
}
/// Clears the value of the host field
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearHost() {
host_ = null;
}
/// Field number for the "session_id" field.
public const int SessionIdFieldNumber = 3;
private readonly static string SessionIdDefaultValue = "";
private string sessionId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string SessionId {
get { return sessionId_ ?? SessionIdDefaultValue; }
set {
sessionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Gets whether the "session_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasSessionId {
get { return sessionId_ != null; }
}
/// Clears the value of the "session_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearSessionId() {
sessionId_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GameAccountOfflineNotification);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GameAccountOfflineNotification other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(GameAccountId, other.GameAccountId)) return false;
if (!object.Equals(Host, other.Host)) return false;
if (SessionId != other.SessionId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasGameAccountId) hash ^= GameAccountId.GetHashCode();
if (HasHost) hash ^= Host.GetHashCode();
if (HasSessionId) hash ^= SessionId.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (HasGameAccountId) {
output.WriteRawTag(10);
output.WriteMessage(GameAccountId);
}
if (HasHost) {
output.WriteRawTag(18);
output.WriteMessage(Host);
}
if (HasSessionId) {
output.WriteRawTag(26);
output.WriteString(SessionId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasGameAccountId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameAccountId);
}
if (HasHost) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host);
}
if (HasSessionId) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SessionId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GameAccountOfflineNotification other) {
if (other == null) {
return;
}
if (other.HasGameAccountId) {
if (!HasGameAccountId) {
GameAccountId = new global::Bgs.Protocol.EntityId();
}
GameAccountId.MergeFrom(other.GameAccountId);
}
if (other.HasHost) {
if (!HasHost) {
Host = new global::Bgs.Protocol.ProcessId();
}
Host.MergeFrom(other.Host);
}
if (other.HasSessionId) {
SessionId = other.SessionId;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
if (!HasGameAccountId) {
GameAccountId = new global::Bgs.Protocol.EntityId();
}
input.ReadMessage(GameAccountId);
break;
}
case 18: {
if (!HasHost) {
Host = new global::Bgs.Protocol.ProcessId();
}
input.ReadMessage(Host);
break;
}
case 26: {
SessionId = input.ReadString();
break;
}
}
}
}
}
public sealed partial class GetAllValuesForAttributeRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAllValuesForAttributeRequest());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[7]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetAllValuesForAttributeRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetAllValuesForAttributeRequest(GetAllValuesForAttributeRequest other) : this() {
_hasBits0 = other._hasBits0;
attributeKey_ = other.attributeKey_;
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
program_ = other.program_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetAllValuesForAttributeRequest Clone() {
return new GetAllValuesForAttributeRequest(this);
}
/// Field number for the "attribute_key" field.
public const int AttributeKeyFieldNumber = 1;
private readonly static string AttributeKeyDefaultValue = "";
private string attributeKey_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string AttributeKey {
get { return attributeKey_ ?? AttributeKeyDefaultValue; }
set {
attributeKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Gets whether the "attribute_key" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAttributeKey {
get { return attributeKey_ != null; }
}
/// Clears the value of the "attribute_key" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAttributeKey() {
attributeKey_ = null;
}
/// Field number for the "agent_id" field.
public const int AgentIdFieldNumber = 2;
private global::Bgs.Protocol.EntityId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.EntityId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// Gets whether the agent_id field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// Clears the value of the agent_id field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// Field number for the "program" field.
public const int ProgramFieldNumber = 5;
private readonly static uint ProgramDefaultValue = 0;
private uint program_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Program {
get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } }
set {
_hasBits0 |= 1;
program_ = value;
}
}
/// Gets whether the "program" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasProgram {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "program" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearProgram() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetAllValuesForAttributeRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetAllValuesForAttributeRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (AttributeKey != other.AttributeKey) return false;
if (!object.Equals(AgentId, other.AgentId)) return false;
if (Program != other.Program) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAttributeKey) hash ^= AttributeKey.GetHashCode();
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasProgram) hash ^= Program.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (HasAttributeKey) {
output.WriteRawTag(10);
output.WriteString(AttributeKey);
}
if (HasAgentId) {
output.WriteRawTag(18);
output.WriteMessage(AgentId);
}
if (HasProgram) {
output.WriteRawTag(45);
output.WriteFixed32(Program);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAttributeKey) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(AttributeKey);
}
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasProgram) {
size += 1 + 4;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetAllValuesForAttributeRequest other) {
if (other == null) {
return;
}
if (other.HasAttributeKey) {
AttributeKey = other.AttributeKey;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.EntityId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasProgram) {
Program = other.Program;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
AttributeKey = input.ReadString();
break;
}
case 18: {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.EntityId();
}
input.ReadMessage(AgentId);
break;
}
case 45: {
Program = input.ReadFixed32();
break;
}
}
}
}
}
public sealed partial class GetAllValuesForAttributeResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAllValuesForAttributeResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[8]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetAllValuesForAttributeResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetAllValuesForAttributeResponse(GetAllValuesForAttributeResponse other) : this() {
attributeValue_ = other.attributeValue_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetAllValuesForAttributeResponse Clone() {
return new GetAllValuesForAttributeResponse(this);
}
/// Field number for the "attribute_value" field.
public const int AttributeValueFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_attributeValue_codec
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Variant.Parser);
private readonly pbc::RepeatedField attributeValue_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField AttributeValue {
get { return attributeValue_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetAllValuesForAttributeResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetAllValuesForAttributeResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!attributeValue_.Equals(other.attributeValue_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= attributeValue_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
attributeValue_.WriteTo(output, _repeated_attributeValue_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += attributeValue_.CalculateSize(_repeated_attributeValue_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetAllValuesForAttributeResponse other) {
if (other == null) {
return;
}
attributeValue_.Add(other.attributeValue_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
attributeValue_.AddEntriesFrom(input, _repeated_attributeValue_codec);
break;
}
}
}
}
}
public sealed partial class RegisterUtilitiesRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RegisterUtilitiesRequest());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[9]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RegisterUtilitiesRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RegisterUtilitiesRequest(RegisterUtilitiesRequest other) : this() {
_hasBits0 = other._hasBits0;
attribute_ = other.attribute_.Clone();
program_ = other.program_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RegisterUtilitiesRequest Clone() {
return new RegisterUtilitiesRequest(this);
}
/// Field number for the "attribute" field.
public const int AttributeFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_attribute_codec
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Attribute.Parser);
private readonly pbc::RepeatedField attribute_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Attribute {
get { return attribute_; }
}
/// Field number for the "program" field.
public const int ProgramFieldNumber = 2;
private readonly static uint ProgramDefaultValue = 0;
private uint program_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Program {
get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } }
set {
_hasBits0 |= 1;
program_ = value;
}
}
/// Gets whether the "program" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasProgram {
get { return (_hasBits0 & 1) != 0; }
}
/// Clears the value of the "program" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearProgram() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as RegisterUtilitiesRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(RegisterUtilitiesRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!attribute_.Equals(other.attribute_)) return false;
if (Program != other.Program) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= attribute_.GetHashCode();
if (HasProgram) hash ^= Program.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
attribute_.WriteTo(output, _repeated_attribute_codec);
if (HasProgram) {
output.WriteRawTag(21);
output.WriteFixed32(Program);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += attribute_.CalculateSize(_repeated_attribute_codec);
if (HasProgram) {
size += 1 + 4;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(RegisterUtilitiesRequest other) {
if (other == null) {
return;
}
attribute_.Add(other.attribute_);
if (other.HasProgram) {
Program = other.Program;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
attribute_.AddEntriesFrom(input, _repeated_attribute_codec);
break;
}
case 21: {
Program = input.ReadFixed32();
break;
}
}
}
}
}
public sealed partial class RegisterUtilitiesResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RegisterUtilitiesResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[10]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RegisterUtilitiesResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RegisterUtilitiesResponse(RegisterUtilitiesResponse other) : this() {
clientId_ = other.clientId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public RegisterUtilitiesResponse Clone() {
return new RegisterUtilitiesResponse(this);
}
/// Field number for the "client_id" field.
public const int ClientIdFieldNumber = 1;
private readonly static string ClientIdDefaultValue = "";
private string clientId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string ClientId {
get { return clientId_ ?? ClientIdDefaultValue; }
set {
clientId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Gets whether the "client_id" field is set
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClientId {
get { return clientId_ != null; }
}
/// Clears the value of the "client_id" field
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClientId() {
clientId_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as RegisterUtilitiesResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(RegisterUtilitiesResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ClientId != other.ClientId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasClientId) hash ^= ClientId.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (HasClientId) {
output.WriteRawTag(10);
output.WriteString(ClientId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasClientId) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(RegisterUtilitiesResponse other) {
if (other == null) {
return;
}
if (other.HasClientId) {
ClientId = other.ClientId;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
ClientId = input.ReadString();
break;
}
}
}
}
}
public sealed partial class UnregisterUtilitiesRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnregisterUtilitiesRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.GameUtilities.V1.GameUtilitiesServiceReflection.Descriptor.MessageTypes[11]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnregisterUtilitiesRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnregisterUtilitiesRequest(UnregisterUtilitiesRequest other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnregisterUtilitiesRequest Clone() {
return new UnregisterUtilitiesRequest(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UnregisterUtilitiesRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UnregisterUtilitiesRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UnregisterUtilitiesRequest other) {
if (other == null) {
return;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
}
}
}
}
#endregion
}
#endregion Designer generated code