Updated Proto files

This commit is contained in:
Hondacrx
2025-09-02 10:38:28 -04:00
parent 100a9d74e7
commit ca8b9e6642
80 changed files with 17649 additions and 10308 deletions
@@ -0,0 +1,394 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/client/v1/block_list_listener.proto
// </auto-generated>
#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.BlockList.V1.Client {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/client/v1/block_list_listener.proto</summary>
public static partial class BlockListListenerReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/client/v1/block_list_listener.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static BlockListListenerReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjliZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YxL2Jsb2NrX2xpc3Rf",
"bGlzdGVuZXIucHJvdG8SIWJncy5wcm90b2NvbC5ibG9ja19saXN0LnYxLmNs",
"aWVudBo2YmdzL2xvdy9wYi9jbGllbnQvYXBpL2NsaWVudC92MS9ibG9ja19s",
"aXN0X3R5cGVzLnByb3RvGiFiZ3MvbG93L3BiL2NsaWVudC9ycGNfdHlwZXMu",
"cHJvdG8aN2Jncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9leHRlbnNpb25zL2Zp",
"ZWxkX29wdGlvbnMucHJvdG8aOWJncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9l",
"eHRlbnNpb25zL21lc3NhZ2Vfb3B0aW9ucy5wcm90bxo4YmdzL2xvdy9wYi9j",
"bGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvbWV0aG9kX29wdGlvbnMucHJvdG8a",
"OWJncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9leHRlbnNpb25zL3NlcnZpY2Vf",
"b3B0aW9ucy5wcm90byJ8Ch5CbG9ja2VkUGxheWVyQWRkZWROb3RpZmljYXRp",
"b24SGAoQYWdlbnRfYWNjb3VudF9pZBgBIAEoBBJACgZwbGF5ZXIYAiADKAsy",
"MC5iZ3MucHJvdG9jb2wuYmxvY2tfbGlzdC52MS5jbGllbnQuQmxvY2tlZFBs",
"YXllciKIAQogQmxvY2tlZFBsYXllclJlbW92ZWROb3RpZmljYXRpb24SGAoQ",
"YWdlbnRfYWNjb3VudF9pZBgBIAEoBBJKCgZwbGF5ZXIYAiADKAsyOi5iZ3Mu",
"cHJvdG9jb2wuYmxvY2tfbGlzdC52MS5jbGllbnQuVW5ibG9ja1BsYXllckFz",
"c2lnbm1lbnQy4gIKEUJsb2NrTGlzdExpc3RlbmVyEnwKFE9uQmxvY2tlZFBs",
"YXllckFkZGVkEkEuYmdzLnByb3RvY29sLmJsb2NrX2xpc3QudjEuY2xpZW50",
"LkJsb2NrZWRQbGF5ZXJBZGRlZE5vdGlmaWNhdGlvbhoZLmJncy5wcm90b2Nv",
"bC5OT19SRVNQT05TRSIGgvkrAggBEoABChZPbkJsb2NrZWRQbGF5ZXJSZW1v",
"dmVkEkMuYmdzLnByb3RvY29sLmJsb2NrX2xpc3QudjEuY2xpZW50LkJsb2Nr",
"ZWRQbGF5ZXJSZW1vdmVkTm90aWZpY2F0aW9uGhkuYmdzLnByb3RvY29sLk5P",
"X1JFU1BPTlNFIgaC+SsCCAIaTIL5KzYKNGJuZXQucHJvdG9jb2wuYmxvY2tf",
"bGlzdC52MS5jbGllbnQuQmxvY2tMaXN0TGlzdGVuZXKC+SsCOAGK+SsCCAGK",
"+SsCGAE="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.BlockList.V1.Client.BlockListTypesReflection.Descriptor, global::Bgs.Protocol.RpcTypesReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MessageOptionsReflection.Descriptor, global::Bgs.Protocol.MethodOptionsReflection.Descriptor, global::Bgs.Protocol.ServiceOptionsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayerAddedNotification), global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayerAddedNotification.Parser, new[]{ "AgentAccountId", "Player" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayerRemovedNotification), global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayerRemovedNotification.Parser, new[]{ "AgentAccountId", "Player" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class BlockedPlayerAddedNotification : pb::IMessage<BlockedPlayerAddedNotification> {
private static readonly pb::MessageParser<BlockedPlayerAddedNotification> _parser = new pb::MessageParser<BlockedPlayerAddedNotification>(() => new BlockedPlayerAddedNotification());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<BlockedPlayerAddedNotification> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.BlockList.V1.Client.BlockListListenerReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockedPlayerAddedNotification() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockedPlayerAddedNotification(BlockedPlayerAddedNotification other) : this() {
_hasBits0 = other._hasBits0;
agentAccountId_ = other.agentAccountId_;
player_ = other.player_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockedPlayerAddedNotification Clone() {
return new BlockedPlayerAddedNotification(this);
}
/// <summary>Field number for the "agent_account_id" field.</summary>
public const int AgentAccountIdFieldNumber = 1;
private readonly static ulong AgentAccountIdDefaultValue = 0UL;
private ulong agentAccountId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong AgentAccountId {
get { if ((_hasBits0 & 1) != 0) { return agentAccountId_; } else { return AgentAccountIdDefaultValue; } }
set {
_hasBits0 |= 1;
agentAccountId_ = value;
}
}
/// <summary>Gets whether the "agent_account_id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentAccountId {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "agent_account_id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentAccountId() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "player" field.</summary>
public const int PlayerFieldNumber = 2;
private static readonly pb::FieldCodec<global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayer> _repeated_player_codec
= pb::FieldCodec.ForMessage(18, global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayer.Parser);
private readonly pbc::RepeatedField<global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayer> player_ = new pbc::RepeatedField<global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayer>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayer> Player {
get { return player_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as BlockedPlayerAddedNotification);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(BlockedPlayerAddedNotification other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (AgentAccountId != other.AgentAccountId) return false;
if(!player_.Equals(other.player_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentAccountId) hash ^= AgentAccountId.GetHashCode();
hash ^= player_.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 (HasAgentAccountId) {
output.WriteRawTag(8);
output.WriteUInt64(AgentAccountId);
}
player_.WriteTo(output, _repeated_player_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentAccountId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AgentAccountId);
}
size += player_.CalculateSize(_repeated_player_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(BlockedPlayerAddedNotification other) {
if (other == null) {
return;
}
if (other.HasAgentAccountId) {
AgentAccountId = other.AgentAccountId;
}
player_.Add(other.player_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
AgentAccountId = input.ReadUInt64();
break;
}
case 18: {
player_.AddEntriesFrom(input, _repeated_player_codec);
break;
}
}
}
}
}
public sealed partial class BlockedPlayerRemovedNotification : pb::IMessage<BlockedPlayerRemovedNotification> {
private static readonly pb::MessageParser<BlockedPlayerRemovedNotification> _parser = new pb::MessageParser<BlockedPlayerRemovedNotification>(() => new BlockedPlayerRemovedNotification());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<BlockedPlayerRemovedNotification> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.BlockList.V1.Client.BlockListListenerReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockedPlayerRemovedNotification() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockedPlayerRemovedNotification(BlockedPlayerRemovedNotification other) : this() {
_hasBits0 = other._hasBits0;
agentAccountId_ = other.agentAccountId_;
player_ = other.player_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockedPlayerRemovedNotification Clone() {
return new BlockedPlayerRemovedNotification(this);
}
/// <summary>Field number for the "agent_account_id" field.</summary>
public const int AgentAccountIdFieldNumber = 1;
private readonly static ulong AgentAccountIdDefaultValue = 0UL;
private ulong agentAccountId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong AgentAccountId {
get { if ((_hasBits0 & 1) != 0) { return agentAccountId_; } else { return AgentAccountIdDefaultValue; } }
set {
_hasBits0 |= 1;
agentAccountId_ = value;
}
}
/// <summary>Gets whether the "agent_account_id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentAccountId {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "agent_account_id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentAccountId() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "player" field.</summary>
public const int PlayerFieldNumber = 2;
private static readonly pb::FieldCodec<global::Bgs.Protocol.BlockList.V1.Client.UnblockPlayerAssignment> _repeated_player_codec
= pb::FieldCodec.ForMessage(18, global::Bgs.Protocol.BlockList.V1.Client.UnblockPlayerAssignment.Parser);
private readonly pbc::RepeatedField<global::Bgs.Protocol.BlockList.V1.Client.UnblockPlayerAssignment> player_ = new pbc::RepeatedField<global::Bgs.Protocol.BlockList.V1.Client.UnblockPlayerAssignment>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Bgs.Protocol.BlockList.V1.Client.UnblockPlayerAssignment> Player {
get { return player_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as BlockedPlayerRemovedNotification);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(BlockedPlayerRemovedNotification other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (AgentAccountId != other.AgentAccountId) return false;
if(!player_.Equals(other.player_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentAccountId) hash ^= AgentAccountId.GetHashCode();
hash ^= player_.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 (HasAgentAccountId) {
output.WriteRawTag(8);
output.WriteUInt64(AgentAccountId);
}
player_.WriteTo(output, _repeated_player_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentAccountId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AgentAccountId);
}
size += player_.CalculateSize(_repeated_player_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(BlockedPlayerRemovedNotification other) {
if (other == null) {
return;
}
if (other.HasAgentAccountId) {
AgentAccountId = other.AgentAccountId;
}
player_.Add(other.player_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
AgentAccountId = input.ReadUInt64();
break;
}
case 18: {
player_.AddEntriesFrom(input, _repeated_player_codec);
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
@@ -0,0 +1,968 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/client/v1/block_list_service.proto
// </auto-generated>
#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.BlockList.V1.Client {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/client/v1/block_list_service.proto</summary>
public static partial class BlockListServiceReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/client/v1/block_list_service.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static BlockListServiceReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjhiZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YxL2Jsb2NrX2xpc3Rf",
"c2VydmljZS5wcm90bxIhYmdzLnByb3RvY29sLmJsb2NrX2xpc3QudjEuY2xp",
"ZW50GjZiZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YxL2Jsb2NrX2xp",
"c3RfdHlwZXMucHJvdG8aIWJncy9sb3cvcGIvY2xpZW50L3JwY190eXBlcy5w",
"cm90bxo3YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvZmll",
"bGRfb3B0aW9ucy5wcm90bxo5YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4",
"dGVuc2lvbnMvbWVzc2FnZV9vcHRpb25zLnByb3RvGjhiZ3MvbG93L3BiL2Ns",
"aWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9tZXRob2Rfb3B0aW9ucy5wcm90bxo5",
"YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvc2VydmljZV9v",
"cHRpb25zLnByb3RvIhIKEFN1YnNjcmliZVJlcXVlc3QiVQoRU3Vic2NyaWJl",
"UmVzcG9uc2USQAoFc3RhdGUYASABKAsyMS5iZ3MucHJvdG9jb2wuYmxvY2tf",
"bGlzdC52MS5jbGllbnQuQmxvY2tMaXN0U3RhdGUiFAoSVW5zdWJzY3JpYmVS",
"ZXF1ZXN0IhEKD0dldFN0YXRlUmVxdWVzdCJUChBHZXRTdGF0ZVJlc3BvbnNl",
"EkAKBXN0YXRlGAEgASgLMjEuYmdzLnByb3RvY29sLmJsb2NrX2xpc3QudjEu",
"Y2xpZW50LkJsb2NrTGlzdFN0YXRlImYKEkJsb2NrUGxheWVyUmVxdWVzdBJQ",
"CgdvcHRpb25zGAIgASgLMjUuYmdzLnByb3RvY29sLmJsb2NrX2xpc3QudjEu",
"Y2xpZW50LkJsb2NrUGxheWVyT3B0aW9uc0IIivkrBDICCAEiagoUVW5ibG9j",
"a1BsYXllclJlcXVlc3QSUgoHb3B0aW9ucxgCIAEoCzI3LmJncy5wcm90b2Nv",
"bC5ibG9ja19saXN0LnYxLmNsaWVudC5VbmJsb2NrUGxheWVyT3B0aW9uc0II",
"ivkrBDICCAEyqgYKEEJsb2NrTGlzdFNlcnZpY2UShAEKCVN1YnNjcmliZRIz",
"LmJncy5wcm90b2NvbC5ibG9ja19saXN0LnYxLmNsaWVudC5TdWJzY3JpYmVS",
"ZXF1ZXN0GjQuYmdzLnByb3RvY29sLmJsb2NrX2xpc3QudjEuY2xpZW50LlN1",
"YnNjcmliZVJlc3BvbnNlIgyC+SsCCAGC+SsCEAESaAoLVW5zdWJzY3JpYmUS",
"NS5iZ3MucHJvdG9jb2wuYmxvY2tfbGlzdC52MS5jbGllbnQuVW5zdWJzY3Jp",
"YmVSZXF1ZXN0GhQuYmdzLnByb3RvY29sLk5vRGF0YSIMgvkrAggCgvkrAhAB",
"EoEBCghHZXRTdGF0ZRIyLmJncy5wcm90b2NvbC5ibG9ja19saXN0LnYxLmNs",
"aWVudC5HZXRTdGF0ZVJlcXVlc3QaMy5iZ3MucHJvdG9jb2wuYmxvY2tfbGlz",
"dC52MS5jbGllbnQuR2V0U3RhdGVSZXNwb25zZSIMgvkrAggDgvkrAhABEmgK",
"C0Jsb2NrUGxheWVyEjUuYmdzLnByb3RvY29sLmJsb2NrX2xpc3QudjEuY2xp",
"ZW50LkJsb2NrUGxheWVyUmVxdWVzdBoULmJncy5wcm90b2NvbC5Ob0RhdGEi",
"DIL5KwIIBIL5KwIQARJsCg1VbmJsb2NrUGxheWVyEjcuYmdzLnByb3RvY29s",
"LmJsb2NrX2xpc3QudjEuY2xpZW50LlVuYmxvY2tQbGF5ZXJSZXF1ZXN0GhQu",
"YmdzLnByb3RvY29sLk5vRGF0YSIMgvkrAggFgvkrAhABEnIKFUJsb2NrUGxh",
"eWVyRm9yU2Vzc2lvbhI1LmJncy5wcm90b2NvbC5ibG9ja19saXN0LnYxLmNs",
"aWVudC5CbG9ja1BsYXllclJlcXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRh",
"IgyC+SsCCAaC+SsCEAEaVYL5KzUKM2JuZXQucHJvdG9jb2wuYmxvY2tfbGlz",
"dC52MS5jbGllbnQuQmxvY2tMaXN0U2VydmljZYL5KwwqCmJsb2NrX2xpc3SK",
"+SsCEAGK+SsCGAE="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.BlockList.V1.Client.BlockListTypesReflection.Descriptor, global::Bgs.Protocol.RpcTypesReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MessageOptionsReflection.Descriptor, global::Bgs.Protocol.MethodOptionsReflection.Descriptor, global::Bgs.Protocol.ServiceOptionsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BlockList.V1.Client.SubscribeRequest), global::Bgs.Protocol.BlockList.V1.Client.SubscribeRequest.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BlockList.V1.Client.SubscribeResponse), global::Bgs.Protocol.BlockList.V1.Client.SubscribeResponse.Parser, new[]{ "State" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BlockList.V1.Client.UnsubscribeRequest), global::Bgs.Protocol.BlockList.V1.Client.UnsubscribeRequest.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BlockList.V1.Client.GetStateRequest), global::Bgs.Protocol.BlockList.V1.Client.GetStateRequest.Parser, null, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BlockList.V1.Client.GetStateResponse), global::Bgs.Protocol.BlockList.V1.Client.GetStateResponse.Parser, new[]{ "State" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BlockList.V1.Client.BlockPlayerRequest), global::Bgs.Protocol.BlockList.V1.Client.BlockPlayerRequest.Parser, new[]{ "Options" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BlockList.V1.Client.UnblockPlayerRequest), global::Bgs.Protocol.BlockList.V1.Client.UnblockPlayerRequest.Parser, new[]{ "Options" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class SubscribeRequest : pb::IMessage<SubscribeRequest> {
private static readonly pb::MessageParser<SubscribeRequest> _parser = new pb::MessageParser<SubscribeRequest>(() => new SubscribeRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<SubscribeRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.BlockList.V1.Client.BlockListServiceReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SubscribeRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SubscribeRequest(SubscribeRequest other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SubscribeRequest Clone() {
return new SubscribeRequest(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SubscribeRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SubscribeRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
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(SubscribeRequest 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;
}
}
}
}
public sealed partial class SubscribeResponse : pb::IMessage<SubscribeResponse> {
private static readonly pb::MessageParser<SubscribeResponse> _parser = new pb::MessageParser<SubscribeResponse>(() => new SubscribeResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<SubscribeResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.BlockList.V1.Client.BlockListServiceReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SubscribeResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SubscribeResponse(SubscribeResponse other) : this() {
state_ = other.HasState ? other.state_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SubscribeResponse Clone() {
return new SubscribeResponse(this);
}
/// <summary>Field number for the "state" field.</summary>
public const int StateFieldNumber = 1;
private global::Bgs.Protocol.BlockList.V1.Client.BlockListState state_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.BlockList.V1.Client.BlockListState State {
get { return state_; }
set {
state_ = value;
}
}
/// <summary>Gets whether the state field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasState {
get { return state_ != null; }
}
/// <summary>Clears the value of the state field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearState() {
state_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SubscribeResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SubscribeResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(State, other.State)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasState) hash ^= State.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 (HasState) {
output.WriteRawTag(10);
output.WriteMessage(State);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasState) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(State);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SubscribeResponse other) {
if (other == null) {
return;
}
if (other.HasState) {
if (!HasState) {
State = new global::Bgs.Protocol.BlockList.V1.Client.BlockListState();
}
State.MergeFrom(other.State);
}
_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 (!HasState) {
State = new global::Bgs.Protocol.BlockList.V1.Client.BlockListState();
}
input.ReadMessage(State);
break;
}
}
}
}
}
public sealed partial class UnsubscribeRequest : pb::IMessage<UnsubscribeRequest> {
private static readonly pb::MessageParser<UnsubscribeRequest> _parser = new pb::MessageParser<UnsubscribeRequest>(() => new UnsubscribeRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<UnsubscribeRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.BlockList.V1.Client.BlockListServiceReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnsubscribeRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnsubscribeRequest(UnsubscribeRequest other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnsubscribeRequest Clone() {
return new UnsubscribeRequest(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UnsubscribeRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UnsubscribeRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
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(UnsubscribeRequest 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;
}
}
}
}
public sealed partial class GetStateRequest : pb::IMessage<GetStateRequest> {
private static readonly pb::MessageParser<GetStateRequest> _parser = new pb::MessageParser<GetStateRequest>(() => new GetStateRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<GetStateRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.BlockList.V1.Client.BlockListServiceReflection.Descriptor.MessageTypes[3]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetStateRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetStateRequest(GetStateRequest other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetStateRequest Clone() {
return new GetStateRequest(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetStateRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetStateRequest 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(GetStateRequest 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;
}
}
}
}
public sealed partial class GetStateResponse : pb::IMessage<GetStateResponse> {
private static readonly pb::MessageParser<GetStateResponse> _parser = new pb::MessageParser<GetStateResponse>(() => new GetStateResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<GetStateResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.BlockList.V1.Client.BlockListServiceReflection.Descriptor.MessageTypes[4]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetStateResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetStateResponse(GetStateResponse other) : this() {
state_ = other.HasState ? other.state_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetStateResponse Clone() {
return new GetStateResponse(this);
}
/// <summary>Field number for the "state" field.</summary>
public const int StateFieldNumber = 1;
private global::Bgs.Protocol.BlockList.V1.Client.BlockListState state_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.BlockList.V1.Client.BlockListState State {
get { return state_; }
set {
state_ = value;
}
}
/// <summary>Gets whether the state field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasState {
get { return state_ != null; }
}
/// <summary>Clears the value of the state field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearState() {
state_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetStateResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetStateResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(State, other.State)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasState) hash ^= State.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 (HasState) {
output.WriteRawTag(10);
output.WriteMessage(State);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasState) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(State);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetStateResponse other) {
if (other == null) {
return;
}
if (other.HasState) {
if (!HasState) {
State = new global::Bgs.Protocol.BlockList.V1.Client.BlockListState();
}
State.MergeFrom(other.State);
}
_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 (!HasState) {
State = new global::Bgs.Protocol.BlockList.V1.Client.BlockListState();
}
input.ReadMessage(State);
break;
}
}
}
}
}
public sealed partial class BlockPlayerRequest : pb::IMessage<BlockPlayerRequest> {
private static readonly pb::MessageParser<BlockPlayerRequest> _parser = new pb::MessageParser<BlockPlayerRequest>(() => new BlockPlayerRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<BlockPlayerRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.BlockList.V1.Client.BlockListServiceReflection.Descriptor.MessageTypes[5]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockPlayerRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockPlayerRequest(BlockPlayerRequest other) : this() {
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockPlayerRequest Clone() {
return new BlockPlayerRequest(this);
}
/// <summary>Field number for the "options" field.</summary>
public const int OptionsFieldNumber = 2;
private global::Bgs.Protocol.BlockList.V1.Client.BlockPlayerOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.BlockList.V1.Client.BlockPlayerOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// <summary>Gets whether the options field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// <summary>Clears the value of the options field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as BlockPlayerRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(BlockPlayerRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasOptions) hash ^= Options.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (HasOptions) {
output.WriteRawTag(18);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(BlockPlayerRequest other) {
if (other == null) {
return;
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.BlockList.V1.Client.BlockPlayerOptions();
}
Options.MergeFrom(other.Options);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 18: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.BlockList.V1.Client.BlockPlayerOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
public sealed partial class UnblockPlayerRequest : pb::IMessage<UnblockPlayerRequest> {
private static readonly pb::MessageParser<UnblockPlayerRequest> _parser = new pb::MessageParser<UnblockPlayerRequest>(() => new UnblockPlayerRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<UnblockPlayerRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.BlockList.V1.Client.BlockListServiceReflection.Descriptor.MessageTypes[6]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnblockPlayerRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnblockPlayerRequest(UnblockPlayerRequest other) : this() {
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnblockPlayerRequest Clone() {
return new UnblockPlayerRequest(this);
}
/// <summary>Field number for the "options" field.</summary>
public const int OptionsFieldNumber = 2;
private global::Bgs.Protocol.BlockList.V1.Client.UnblockPlayerOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.BlockList.V1.Client.UnblockPlayerOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// <summary>Gets whether the options field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// <summary>Clears the value of the options field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UnblockPlayerRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UnblockPlayerRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasOptions) hash ^= Options.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (HasOptions) {
output.WriteRawTag(18);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UnblockPlayerRequest other) {
if (other == null) {
return;
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.BlockList.V1.Client.UnblockPlayerOptions();
}
Options.MergeFrom(other.Options);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 18: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.BlockList.V1.Client.UnblockPlayerOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
@@ -0,0 +1,880 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/client/v1/block_list_types.proto
// </auto-generated>
#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.BlockList.V1.Client {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/client/v1/block_list_types.proto</summary>
public static partial class BlockListTypesReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/client/v1/block_list_types.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static BlockListTypesReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjZiZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YxL2Jsb2NrX2xpc3Rf",
"dHlwZXMucHJvdG8SIWJncy5wcm90b2NvbC5ibG9ja19saXN0LnYxLmNsaWVu",
"dBohYmdzL2xvdy9wYi9jbGllbnQvcnBjX3R5cGVzLnByb3RvGjdiZ3MvbG93",
"L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9maWVsZF9vcHRpb25zLnBy",
"b3RvGjliZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9tZXNz",
"YWdlX29wdGlvbnMucHJvdG8aOGJncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9l",
"eHRlbnNpb25zL21ldGhvZF9vcHRpb25zLnByb3RvGjliZ3MvbG93L3BiL2Ns",
"aWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9zZXJ2aWNlX29wdGlvbnMucHJvdG8i",
"awoNQmxvY2tlZFBsYXllchIKCgJpZBgBIAEoBBIaCgpiYXR0bGVfdGFnGAIg",
"ASgJQgaC+SsCCAESGAoQY3JlYXRpb25fdGltZV91cxgEIAEoBBIYChBtb2Rp",
"ZmllZF90aW1lX3VzGAUgASgEIjIKEkJsb2NrUGxheWVyT3B0aW9ucxIcCgph",
"Y2NvdW50X2lkGAEgASgEQgiK+SsEEgIQACI0ChRVbmJsb2NrUGxheWVyT3B0",
"aW9ucxIcCgphY2NvdW50X2lkGAEgASgEQgiK+SsEEgIQACIlChdVbmJsb2Nr",
"UGxheWVyQXNzaWdubWVudBIKCgJpZBgBIAEoBCJSCg5CbG9ja0xpc3RTdGF0",
"ZRJACgZwbGF5ZXIYASADKAsyMC5iZ3MucHJvdG9jb2wuYmxvY2tfbGlzdC52",
"MS5jbGllbnQuQmxvY2tlZFBsYXllcg=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.RpcTypesReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MessageOptionsReflection.Descriptor, global::Bgs.Protocol.MethodOptionsReflection.Descriptor, global::Bgs.Protocol.ServiceOptionsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayer), global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayer.Parser, new[]{ "Id", "BattleTag", "CreationTimeUs", "ModifiedTimeUs" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BlockList.V1.Client.BlockPlayerOptions), global::Bgs.Protocol.BlockList.V1.Client.BlockPlayerOptions.Parser, new[]{ "AccountId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BlockList.V1.Client.UnblockPlayerOptions), global::Bgs.Protocol.BlockList.V1.Client.UnblockPlayerOptions.Parser, new[]{ "AccountId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BlockList.V1.Client.UnblockPlayerAssignment), global::Bgs.Protocol.BlockList.V1.Client.UnblockPlayerAssignment.Parser, new[]{ "Id" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BlockList.V1.Client.BlockListState), global::Bgs.Protocol.BlockList.V1.Client.BlockListState.Parser, new[]{ "Player" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class BlockedPlayer : pb::IMessage<BlockedPlayer> {
private static readonly pb::MessageParser<BlockedPlayer> _parser = new pb::MessageParser<BlockedPlayer>(() => new BlockedPlayer());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<BlockedPlayer> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.BlockList.V1.Client.BlockListTypesReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockedPlayer() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockedPlayer(BlockedPlayer other) : this() {
_hasBits0 = other._hasBits0;
id_ = other.id_;
battleTag_ = other.battleTag_;
creationTimeUs_ = other.creationTimeUs_;
modifiedTimeUs_ = other.modifiedTimeUs_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockedPlayer Clone() {
return new BlockedPlayer(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private readonly static ulong IdDefaultValue = 0UL;
private ulong id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Id {
get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } }
set {
_hasBits0 |= 1;
id_ = value;
}
}
/// <summary>Gets whether the "id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasId {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearId() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "battle_tag" field.</summary>
public const int BattleTagFieldNumber = 2;
private readonly static string BattleTagDefaultValue = "";
private string battleTag_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string BattleTag {
get { return battleTag_ ?? BattleTagDefaultValue; }
set {
battleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "battle_tag" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasBattleTag {
get { return battleTag_ != null; }
}
/// <summary>Clears the value of the "battle_tag" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearBattleTag() {
battleTag_ = null;
}
/// <summary>Field number for the "creation_time_us" field.</summary>
public const int CreationTimeUsFieldNumber = 4;
private readonly static ulong CreationTimeUsDefaultValue = 0UL;
private ulong creationTimeUs_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong CreationTimeUs {
get { if ((_hasBits0 & 2) != 0) { return creationTimeUs_; } else { return CreationTimeUsDefaultValue; } }
set {
_hasBits0 |= 2;
creationTimeUs_ = value;
}
}
/// <summary>Gets whether the "creation_time_us" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasCreationTimeUs {
get { return (_hasBits0 & 2) != 0; }
}
/// <summary>Clears the value of the "creation_time_us" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearCreationTimeUs() {
_hasBits0 &= ~2;
}
/// <summary>Field number for the "modified_time_us" field.</summary>
public const int ModifiedTimeUsFieldNumber = 5;
private readonly static ulong ModifiedTimeUsDefaultValue = 0UL;
private ulong modifiedTimeUs_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ModifiedTimeUs {
get { if ((_hasBits0 & 4) != 0) { return modifiedTimeUs_; } else { return ModifiedTimeUsDefaultValue; } }
set {
_hasBits0 |= 4;
modifiedTimeUs_ = value;
}
}
/// <summary>Gets whether the "modified_time_us" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasModifiedTimeUs {
get { return (_hasBits0 & 4) != 0; }
}
/// <summary>Clears the value of the "modified_time_us" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearModifiedTimeUs() {
_hasBits0 &= ~4;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as BlockedPlayer);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(BlockedPlayer other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (BattleTag != other.BattleTag) return false;
if (CreationTimeUs != other.CreationTimeUs) return false;
if (ModifiedTimeUs != other.ModifiedTimeUs) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasId) hash ^= Id.GetHashCode();
if (HasBattleTag) hash ^= BattleTag.GetHashCode();
if (HasCreationTimeUs) hash ^= CreationTimeUs.GetHashCode();
if (HasModifiedTimeUs) hash ^= ModifiedTimeUs.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(8);
output.WriteUInt64(Id);
}
if (HasBattleTag) {
output.WriteRawTag(18);
output.WriteString(BattleTag);
}
if (HasCreationTimeUs) {
output.WriteRawTag(32);
output.WriteUInt64(CreationTimeUs);
}
if (HasModifiedTimeUs) {
output.WriteRawTag(40);
output.WriteUInt64(ModifiedTimeUs);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id);
}
if (HasBattleTag) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(BattleTag);
}
if (HasCreationTimeUs) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTimeUs);
}
if (HasModifiedTimeUs) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ModifiedTimeUs);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(BlockedPlayer other) {
if (other == null) {
return;
}
if (other.HasId) {
Id = other.Id;
}
if (other.HasBattleTag) {
BattleTag = other.BattleTag;
}
if (other.HasCreationTimeUs) {
CreationTimeUs = other.CreationTimeUs;
}
if (other.HasModifiedTimeUs) {
ModifiedTimeUs = other.ModifiedTimeUs;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Id = input.ReadUInt64();
break;
}
case 18: {
BattleTag = input.ReadString();
break;
}
case 32: {
CreationTimeUs = input.ReadUInt64();
break;
}
case 40: {
ModifiedTimeUs = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class BlockPlayerOptions : pb::IMessage<BlockPlayerOptions> {
private static readonly pb::MessageParser<BlockPlayerOptions> _parser = new pb::MessageParser<BlockPlayerOptions>(() => new BlockPlayerOptions());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<BlockPlayerOptions> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.BlockList.V1.Client.BlockListTypesReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockPlayerOptions() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockPlayerOptions(BlockPlayerOptions other) : this() {
_hasBits0 = other._hasBits0;
accountId_ = other.accountId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockPlayerOptions Clone() {
return new BlockPlayerOptions(this);
}
/// <summary>Field number for the "account_id" field.</summary>
public const int AccountIdFieldNumber = 1;
private readonly static ulong AccountIdDefaultValue = 0UL;
private ulong accountId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong AccountId {
get { if ((_hasBits0 & 1) != 0) { return accountId_; } else { return AccountIdDefaultValue; } }
set {
_hasBits0 |= 1;
accountId_ = value;
}
}
/// <summary>Gets whether the "account_id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAccountId {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "account_id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAccountId() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as BlockPlayerOptions);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(BlockPlayerOptions other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (AccountId != other.AccountId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAccountId) hash ^= AccountId.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (HasAccountId) {
output.WriteRawTag(8);
output.WriteUInt64(AccountId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAccountId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AccountId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(BlockPlayerOptions other) {
if (other == null) {
return;
}
if (other.HasAccountId) {
AccountId = other.AccountId;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
AccountId = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class UnblockPlayerOptions : pb::IMessage<UnblockPlayerOptions> {
private static readonly pb::MessageParser<UnblockPlayerOptions> _parser = new pb::MessageParser<UnblockPlayerOptions>(() => new UnblockPlayerOptions());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<UnblockPlayerOptions> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.BlockList.V1.Client.BlockListTypesReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnblockPlayerOptions() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnblockPlayerOptions(UnblockPlayerOptions other) : this() {
_hasBits0 = other._hasBits0;
accountId_ = other.accountId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnblockPlayerOptions Clone() {
return new UnblockPlayerOptions(this);
}
/// <summary>Field number for the "account_id" field.</summary>
public const int AccountIdFieldNumber = 1;
private readonly static ulong AccountIdDefaultValue = 0UL;
private ulong accountId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong AccountId {
get { if ((_hasBits0 & 1) != 0) { return accountId_; } else { return AccountIdDefaultValue; } }
set {
_hasBits0 |= 1;
accountId_ = value;
}
}
/// <summary>Gets whether the "account_id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAccountId {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "account_id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAccountId() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UnblockPlayerOptions);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UnblockPlayerOptions other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (AccountId != other.AccountId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAccountId) hash ^= AccountId.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (HasAccountId) {
output.WriteRawTag(8);
output.WriteUInt64(AccountId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAccountId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AccountId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UnblockPlayerOptions other) {
if (other == null) {
return;
}
if (other.HasAccountId) {
AccountId = other.AccountId;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
AccountId = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class UnblockPlayerAssignment : pb::IMessage<UnblockPlayerAssignment> {
private static readonly pb::MessageParser<UnblockPlayerAssignment> _parser = new pb::MessageParser<UnblockPlayerAssignment>(() => new UnblockPlayerAssignment());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<UnblockPlayerAssignment> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.BlockList.V1.Client.BlockListTypesReflection.Descriptor.MessageTypes[3]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnblockPlayerAssignment() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnblockPlayerAssignment(UnblockPlayerAssignment other) : this() {
_hasBits0 = other._hasBits0;
id_ = other.id_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UnblockPlayerAssignment Clone() {
return new UnblockPlayerAssignment(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private readonly static ulong IdDefaultValue = 0UL;
private ulong id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Id {
get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } }
set {
_hasBits0 |= 1;
id_ = value;
}
}
/// <summary>Gets whether the "id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasId {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearId() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UnblockPlayerAssignment);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UnblockPlayerAssignment other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasId) hash ^= Id.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(8);
output.WriteUInt64(Id);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Id);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UnblockPlayerAssignment other) {
if (other == null) {
return;
}
if (other.HasId) {
Id = other.Id;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Id = input.ReadUInt64();
break;
}
}
}
}
}
public sealed partial class BlockListState : pb::IMessage<BlockListState> {
private static readonly pb::MessageParser<BlockListState> _parser = new pb::MessageParser<BlockListState>(() => new BlockListState());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<BlockListState> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.BlockList.V1.Client.BlockListTypesReflection.Descriptor.MessageTypes[4]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockListState() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockListState(BlockListState other) : this() {
player_ = other.player_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public BlockListState Clone() {
return new BlockListState(this);
}
/// <summary>Field number for the "player" field.</summary>
public const int PlayerFieldNumber = 1;
private static readonly pb::FieldCodec<global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayer> _repeated_player_codec
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayer.Parser);
private readonly pbc::RepeatedField<global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayer> player_ = new pbc::RepeatedField<global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayer>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Bgs.Protocol.BlockList.V1.Client.BlockedPlayer> Player {
get { return player_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as BlockListState);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(BlockListState other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!player_.Equals(other.player_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= player_.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) {
player_.WriteTo(output, _repeated_player_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += player_.CalculateSize(_repeated_player_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(BlockListState other) {
if (other == null) {
return;
}
player_.Add(other.player_);
_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: {
player_.AddEntriesFrom(input, _repeated_player_codec);
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
@@ -0,0 +1,321 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/client/v1/channel_id.proto
// </auto-generated>
#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.Channel.V1 {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/client/v1/channel_id.proto</summary>
public static partial class ChannelIdReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/client/v1/channel_id.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ChannelIdReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjBiZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YxL2NoYW5uZWxfaWQu",
"cHJvdG8SF2Jncy5wcm90b2NvbC5jaGFubmVsLnYxGiFiZ3MvbG93L3BiL2Ns",
"aWVudC9ycGNfdHlwZXMucHJvdG8aN2Jncy9sb3cvcGIvY2xpZW50L2dsb2Jh",
"bF9leHRlbnNpb25zL2ZpZWxkX29wdGlvbnMucHJvdG8aOWJncy9sb3cvcGIv",
"Y2xpZW50L2dsb2JhbF9leHRlbnNpb25zL21lc3NhZ2Vfb3B0aW9ucy5wcm90",
"bxo4YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvbWV0aG9k",
"X29wdGlvbnMucHJvdG8aOWJncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9leHRl",
"bnNpb25zL3NlcnZpY2Vfb3B0aW9ucy5wcm90byJkCglDaGFubmVsSWQSDAoE",
"dHlwZRgBIAEoDRIlCgRob3N0GAIgASgLMhcuYmdzLnByb3RvY29sLlByb2Nl",
"c3NJZBIKCgJpZBgDIAEoBxIOCgZyZWdpb24YBCABKA06BoL5KwIIAQ=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.RpcTypesReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MessageOptionsReflection.Descriptor, global::Bgs.Protocol.MethodOptionsReflection.Descriptor, global::Bgs.Protocol.ServiceOptionsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Channel.V1.ChannelId), global::Bgs.Protocol.Channel.V1.ChannelId.Parser, new[]{ "Type", "Host", "Id", "Region" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class ChannelId : pb::IMessage<ChannelId> {
private static readonly pb::MessageParser<ChannelId> _parser = new pb::MessageParser<ChannelId>(() => new ChannelId());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ChannelId> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Channel.V1.ChannelIdReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ChannelId() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ChannelId(ChannelId other) : this() {
_hasBits0 = other._hasBits0;
type_ = other.type_;
host_ = other.HasHost ? other.host_.Clone() : null;
id_ = other.id_;
region_ = other.region_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ChannelId Clone() {
return new ChannelId(this);
}
/// <summary>Field number for the "type" field.</summary>
public const int TypeFieldNumber = 1;
private readonly static uint TypeDefaultValue = 0;
private uint type_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Type {
get { if ((_hasBits0 & 1) != 0) { return type_; } else { return TypeDefaultValue; } }
set {
_hasBits0 |= 1;
type_ = value;
}
}
/// <summary>Gets whether the "type" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasType {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "type" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearType() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "host" field.</summary>
public const int HostFieldNumber = 2;
private global::Bgs.Protocol.ProcessId host_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.ProcessId Host {
get { return host_; }
set {
host_ = value;
}
}
/// <summary>Gets whether the host field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasHost {
get { return host_ != null; }
}
/// <summary>Clears the value of the host field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearHost() {
host_ = null;
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 3;
private readonly static uint IdDefaultValue = 0;
private uint id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Id {
get { if ((_hasBits0 & 2) != 0) { return id_; } else { return IdDefaultValue; } }
set {
_hasBits0 |= 2;
id_ = value;
}
}
/// <summary>Gets whether the "id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasId {
get { return (_hasBits0 & 2) != 0; }
}
/// <summary>Clears the value of the "id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearId() {
_hasBits0 &= ~2;
}
/// <summary>Field number for the "region" field.</summary>
public const int RegionFieldNumber = 4;
private readonly static uint RegionDefaultValue = 0;
private uint region_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Region {
get { if ((_hasBits0 & 4) != 0) { return region_; } else { return RegionDefaultValue; } }
set {
_hasBits0 |= 4;
region_ = value;
}
}
/// <summary>Gets whether the "region" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasRegion {
get { return (_hasBits0 & 4) != 0; }
}
/// <summary>Clears the value of the "region" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearRegion() {
_hasBits0 &= ~4;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ChannelId);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ChannelId other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Type != other.Type) return false;
if (!object.Equals(Host, other.Host)) return false;
if (Id != other.Id) return false;
if (Region != other.Region) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasType) hash ^= Type.GetHashCode();
if (HasHost) hash ^= Host.GetHashCode();
if (HasId) hash ^= Id.GetHashCode();
if (HasRegion) hash ^= Region.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (HasType) {
output.WriteRawTag(8);
output.WriteUInt32(Type);
}
if (HasHost) {
output.WriteRawTag(18);
output.WriteMessage(Host);
}
if (HasId) {
output.WriteRawTag(29);
output.WriteFixed32(Id);
}
if (HasRegion) {
output.WriteRawTag(32);
output.WriteUInt32(Region);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasType) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Type);
}
if (HasHost) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host);
}
if (HasId) {
size += 1 + 4;
}
if (HasRegion) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Region);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ChannelId other) {
if (other == null) {
return;
}
if (other.HasType) {
Type = other.Type;
}
if (other.HasHost) {
if (!HasHost) {
Host = new global::Bgs.Protocol.ProcessId();
}
Host.MergeFrom(other.Host);
}
if (other.HasId) {
Id = other.Id;
}
if (other.HasRegion) {
Region = other.Region;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Type = input.ReadUInt32();
break;
}
case 18: {
if (!HasHost) {
Host = new global::Bgs.Protocol.ProcessId();
}
input.ReadMessage(Host);
break;
}
case 29: {
Id = input.ReadFixed32();
break;
}
case 32: {
Region = input.ReadUInt32();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,593 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/client/v1/club_ban.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Bgs.Protocol.Club.V1.Client {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/client/v1/club_ban.proto</summary>
public static partial class ClubBanReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/client/v1/club_ban.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ClubBanReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ci5iZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YxL2NsdWJfYmFuLnBy",
"b3RvEhtiZ3MucHJvdG9jb2wuY2x1Yi52MS5jbGllbnQaN2Jncy9sb3cvcGIv",
"Y2xpZW50L2dsb2JhbF9leHRlbnNpb25zL2ZpZWxkX29wdGlvbnMucHJvdG8a",
"MWJncy9sb3cvcGIvY2xpZW50L2FwaS9jbGllbnQvdjEvY2x1Yl9tZW1iZXIu",
"cHJvdG8aNWJncy9sb3cvcGIvY2xpZW50L2FwaS9jb21tb24vdjIvYXR0cmli",
"dXRlX3R5cGVzLnByb3RvIoEBCg1BZGRCYW5PcHRpb25zEjEKCXRhcmdldF9p",
"ZBgBIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYxLk1lbWJlcklkEi0KCWF0",
"dHJpYnV0ZRgCIAMoCzIaLmJncy5wcm90b2NvbC52Mi5BdHRyaWJ1dGUSDgoG",
"cmVhc29uGAMgASgJIugBCgdDbHViQmFuEioKAmlkGAEgASgLMh4uYmdzLnBy",
"b3RvY29sLmNsdWIudjEuTWVtYmVySWQSGgoKYmF0dGxlX3RhZxgCIAEoCUIG",
"gvkrAggBEj8KB2NyZWF0b3IYAyABKAsyLi5iZ3MucHJvdG9jb2wuY2x1Yi52",
"MS5jbGllbnQuTWVtYmVyRGVzY3JpcHRpb24SLQoJYXR0cmlidXRlGAQgAygL",
"MhouYmdzLnByb3RvY29sLnYyLkF0dHJpYnV0ZRIOCgZyZWFzb24YBSABKAkS",
"FQoNY3JlYXRpb25fdGltZRgGIAEoBA=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.Club.V1.Client.ClubMemberReflection.Descriptor, global::Bgs.Protocol.V2.AttributeTypesReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Client.AddBanOptions), global::Bgs.Protocol.Club.V1.Client.AddBanOptions.Parser, new[]{ "TargetId", "Attribute", "Reason" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Client.ClubBan), global::Bgs.Protocol.Club.V1.Client.ClubBan.Parser, new[]{ "Id", "BattleTag", "Creator", "Attribute", "Reason", "CreationTime" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class AddBanOptions : pb::IMessage<AddBanOptions> {
private static readonly pb::MessageParser<AddBanOptions> _parser = new pb::MessageParser<AddBanOptions>(() => new AddBanOptions());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<AddBanOptions> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Club.V1.Client.ClubBanReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AddBanOptions() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AddBanOptions(AddBanOptions other) : this() {
targetId_ = other.HasTargetId ? other.targetId_.Clone() : null;
attribute_ = other.attribute_.Clone();
reason_ = other.reason_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AddBanOptions Clone() {
return new AddBanOptions(this);
}
/// <summary>Field number for the "target_id" field.</summary>
public const int TargetIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId targetId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId TargetId {
get { return targetId_; }
set {
targetId_ = value;
}
}
/// <summary>Gets whether the target_id field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasTargetId {
get { return targetId_ != null; }
}
/// <summary>Clears the value of the target_id field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearTargetId() {
targetId_ = null;
}
/// <summary>Field number for the "attribute" field.</summary>
public const int AttributeFieldNumber = 2;
private static readonly pb::FieldCodec<global::Bgs.Protocol.V2.Attribute> _repeated_attribute_codec
= pb::FieldCodec.ForMessage(18, global::Bgs.Protocol.V2.Attribute.Parser);
private readonly pbc::RepeatedField<global::Bgs.Protocol.V2.Attribute> attribute_ = new pbc::RepeatedField<global::Bgs.Protocol.V2.Attribute>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Bgs.Protocol.V2.Attribute> Attribute {
get { return attribute_; }
}
/// <summary>Field number for the "reason" field.</summary>
public const int ReasonFieldNumber = 3;
private readonly static string ReasonDefaultValue = "";
private string reason_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Reason {
get { return reason_ ?? ReasonDefaultValue; }
set {
reason_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "reason" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasReason {
get { return reason_ != null; }
}
/// <summary>Clears the value of the "reason" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearReason() {
reason_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as AddBanOptions);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(AddBanOptions other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(TargetId, other.TargetId)) return false;
if(!attribute_.Equals(other.attribute_)) return false;
if (Reason != other.Reason) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasTargetId) hash ^= TargetId.GetHashCode();
hash ^= attribute_.GetHashCode();
if (HasReason) hash ^= Reason.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 (HasTargetId) {
output.WriteRawTag(10);
output.WriteMessage(TargetId);
}
attribute_.WriteTo(output, _repeated_attribute_codec);
if (HasReason) {
output.WriteRawTag(26);
output.WriteString(Reason);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasTargetId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TargetId);
}
size += attribute_.CalculateSize(_repeated_attribute_codec);
if (HasReason) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Reason);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(AddBanOptions other) {
if (other == null) {
return;
}
if (other.HasTargetId) {
if (!HasTargetId) {
TargetId = new global::Bgs.Protocol.Club.V1.MemberId();
}
TargetId.MergeFrom(other.TargetId);
}
attribute_.Add(other.attribute_);
if (other.HasReason) {
Reason = other.Reason;
}
_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 (!HasTargetId) {
TargetId = new global::Bgs.Protocol.Club.V1.MemberId();
}
input.ReadMessage(TargetId);
break;
}
case 18: {
attribute_.AddEntriesFrom(input, _repeated_attribute_codec);
break;
}
case 26: {
Reason = input.ReadString();
break;
}
}
}
}
}
public sealed partial class ClubBan : pb::IMessage<ClubBan> {
private static readonly pb::MessageParser<ClubBan> _parser = new pb::MessageParser<ClubBan>(() => new ClubBan());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ClubBan> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Club.V1.Client.ClubBanReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClubBan() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClubBan(ClubBan other) : this() {
_hasBits0 = other._hasBits0;
id_ = other.HasId ? other.id_.Clone() : null;
battleTag_ = other.battleTag_;
creator_ = other.HasCreator ? other.creator_.Clone() : null;
attribute_ = other.attribute_.Clone();
reason_ = other.reason_;
creationTime_ = other.creationTime_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClubBan Clone() {
return new ClubBan(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.MemberId id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.MemberId Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Gets whether the id field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasId {
get { return id_ != null; }
}
/// <summary>Clears the value of the id field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearId() {
id_ = null;
}
/// <summary>Field number for the "battle_tag" field.</summary>
public const int BattleTagFieldNumber = 2;
private readonly static string BattleTagDefaultValue = "";
private string battleTag_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string BattleTag {
get { return battleTag_ ?? BattleTagDefaultValue; }
set {
battleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "battle_tag" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasBattleTag {
get { return battleTag_ != null; }
}
/// <summary>Clears the value of the "battle_tag" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearBattleTag() {
battleTag_ = null;
}
/// <summary>Field number for the "creator" field.</summary>
public const int CreatorFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.Client.MemberDescription creator_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.Client.MemberDescription Creator {
get { return creator_; }
set {
creator_ = value;
}
}
/// <summary>Gets whether the creator field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasCreator {
get { return creator_ != null; }
}
/// <summary>Clears the value of the creator field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearCreator() {
creator_ = null;
}
/// <summary>Field number for the "attribute" field.</summary>
public const int AttributeFieldNumber = 4;
private static readonly pb::FieldCodec<global::Bgs.Protocol.V2.Attribute> _repeated_attribute_codec
= pb::FieldCodec.ForMessage(34, global::Bgs.Protocol.V2.Attribute.Parser);
private readonly pbc::RepeatedField<global::Bgs.Protocol.V2.Attribute> attribute_ = new pbc::RepeatedField<global::Bgs.Protocol.V2.Attribute>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Bgs.Protocol.V2.Attribute> Attribute {
get { return attribute_; }
}
/// <summary>Field number for the "reason" field.</summary>
public const int ReasonFieldNumber = 5;
private readonly static string ReasonDefaultValue = "";
private string reason_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Reason {
get { return reason_ ?? ReasonDefaultValue; }
set {
reason_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "reason" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasReason {
get { return reason_ != null; }
}
/// <summary>Clears the value of the "reason" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearReason() {
reason_ = null;
}
/// <summary>Field number for the "creation_time" field.</summary>
public const int CreationTimeFieldNumber = 6;
private readonly static ulong CreationTimeDefaultValue = 0UL;
private ulong creationTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong CreationTime {
get { if ((_hasBits0 & 1) != 0) { return creationTime_; } else { return CreationTimeDefaultValue; } }
set {
_hasBits0 |= 1;
creationTime_ = value;
}
}
/// <summary>Gets whether the "creation_time" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasCreationTime {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "creation_time" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearCreationTime() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ClubBan);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ClubBan other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Id, other.Id)) return false;
if (BattleTag != other.BattleTag) return false;
if (!object.Equals(Creator, other.Creator)) return false;
if(!attribute_.Equals(other.attribute_)) return false;
if (Reason != other.Reason) return false;
if (CreationTime != other.CreationTime) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasId) hash ^= Id.GetHashCode();
if (HasBattleTag) hash ^= BattleTag.GetHashCode();
if (HasCreator) hash ^= Creator.GetHashCode();
hash ^= attribute_.GetHashCode();
if (HasReason) hash ^= Reason.GetHashCode();
if (HasCreationTime) hash ^= CreationTime.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 (HasBattleTag) {
output.WriteRawTag(18);
output.WriteString(BattleTag);
}
if (HasCreator) {
output.WriteRawTag(26);
output.WriteMessage(Creator);
}
attribute_.WriteTo(output, _repeated_attribute_codec);
if (HasReason) {
output.WriteRawTag(42);
output.WriteString(Reason);
}
if (HasCreationTime) {
output.WriteRawTag(48);
output.WriteUInt64(CreationTime);
}
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 (HasBattleTag) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(BattleTag);
}
if (HasCreator) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Creator);
}
size += attribute_.CalculateSize(_repeated_attribute_codec);
if (HasReason) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Reason);
}
if (HasCreationTime) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTime);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ClubBan other) {
if (other == null) {
return;
}
if (other.HasId) {
if (!HasId) {
Id = new global::Bgs.Protocol.Club.V1.MemberId();
}
Id.MergeFrom(other.Id);
}
if (other.HasBattleTag) {
BattleTag = other.BattleTag;
}
if (other.HasCreator) {
if (!HasCreator) {
Creator = new global::Bgs.Protocol.Club.V1.Client.MemberDescription();
}
Creator.MergeFrom(other.Creator);
}
attribute_.Add(other.attribute_);
if (other.HasReason) {
Reason = other.Reason;
}
if (other.HasCreationTime) {
CreationTime = other.CreationTime;
}
_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.Club.V1.MemberId();
}
input.ReadMessage(Id);
break;
}
case 18: {
BattleTag = input.ReadString();
break;
}
case 26: {
if (!HasCreator) {
Creator = new global::Bgs.Protocol.Club.V1.Client.MemberDescription();
}
input.ReadMessage(Creator);
break;
}
case 34: {
attribute_.AddEntriesFrom(input, _repeated_attribute_codec);
break;
}
case 42: {
Reason = input.ReadString();
break;
}
case 48: {
CreationTime = input.ReadUInt64();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,99 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/client/v1/club_enum.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Bgs.Protocol.Club.V1.Client {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/client/v1/club_enum.proto</summary>
public static partial class ClubEnumReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/client/v1/club_enum.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ClubEnumReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ci9iZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YxL2NsdWJfZW51bS5w",
"cm90bxIbYmdzLnByb3RvY29sLmNsdWIudjEuY2xpZW50KrICChFDbHViUmVt",
"b3ZlZFJlYXNvbhIcChhDTFVCX1JFTU9WRURfUkVBU09OX05PTkUQABIjCh9D",
"TFVCX1JFTU9WRURfUkVBU09OX01FTUJFUl9MRUZUEAESJQohQ0xVQl9SRU1P",
"VkVEX1JFQVNPTl9NRU1CRVJfS0lDS0VEEAISJQohQ0xVQl9SRU1PVkVEX1JF",
"QVNPTl9NRU1CRVJfQkFOTkVEEAMSMQotQ0xVQl9SRU1PVkVEX1JFQVNPTl9N",
"RU1CRVJfUkVNT1ZFRF9CWV9TRVJWSUNFEAQSKwonQ0xVQl9SRU1PVkVEX1JF",
"QVNPTl9ERVNUUk9ZRURfQllfTUVNQkVSEAUSLAooQ0xVQl9SRU1PVkVEX1JF",
"QVNPTl9ERVNUUk9ZRURfQllfU0VSVklDRRAGKmQKEFN0cmVhbVZvaWNlTGV2",
"ZWwSGAoUVk9JQ0VfTEVWRUxfRElTQUJMRUQQABIcChhWT0lDRV9MRVZFTF9Q",
"VVNIX1RPX1RBTEsQARIYChRWT0lDRV9MRVZFTF9PUEVOX01JQxACKnMKFFZv",
"aWNlTWljcm9waG9uZVN0YXRlEhsKF01JQ1JPUEhPTkVfU1RBVEVfTk9STUFM",
"EAASHgoaTUlDUk9QSE9ORV9TVEFURV9TRUxGX01VVEUQARIeChpNSUNST1BI",
"T05FX1NUQVRFX1NFTEZfREVBRhACKlsKDVByZXNlbmNlTGV2ZWwSFwoTUFJF",
"U0VOQ0VfTEVWRUxfTk9ORRAAEhgKFFBSRVNFTkNFX0xFVkVMX0JBU0lDEAES",
"FwoTUFJFU0VOQ0VfTEVWRUxfUklDSBACKkQKDFdoaXNwZXJMZXZlbBIWChJX",
"SElTUEVSX0xFVkVMX09QRU4QABIcChhXSElTUEVSX0xFVkVMX1JFU1RSSUNU",
"RUQQASqLAQoYU3RyZWFtTm90aWZpY2F0aW9uRmlsdGVyEiMKH1NUUkVBTV9O",
"T1RJRklDQVRJT05fRklMVEVSX05PTkUQABImCiJTVFJFQU1fTk9USUZJQ0FU",
"SU9OX0ZJTFRFUl9NRU5USU9OEAESIgoeU1RSRUFNX05PVElGSUNBVElPTl9G",
"SUxURVJfQUxMEAI="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Bgs.Protocol.Club.V1.Client.ClubRemovedReason), typeof(global::Bgs.Protocol.Club.V1.Client.StreamVoiceLevel), typeof(global::Bgs.Protocol.Club.V1.Client.VoiceMicrophoneState), typeof(global::Bgs.Protocol.Club.V1.Client.PresenceLevel), typeof(global::Bgs.Protocol.Club.V1.Client.WhisperLevel), typeof(global::Bgs.Protocol.Club.V1.Client.StreamNotificationFilter), }, null, null));
}
#endregion
}
#region Enums
public enum ClubRemovedReason {
[pbr::OriginalName("CLUB_REMOVED_REASON_NONE")] None = 0,
[pbr::OriginalName("CLUB_REMOVED_REASON_MEMBER_LEFT")] MemberLeft = 1,
[pbr::OriginalName("CLUB_REMOVED_REASON_MEMBER_KICKED")] MemberKicked = 2,
[pbr::OriginalName("CLUB_REMOVED_REASON_MEMBER_BANNED")] MemberBanned = 3,
[pbr::OriginalName("CLUB_REMOVED_REASON_MEMBER_REMOVED_BY_SERVICE")] MemberRemovedByService = 4,
[pbr::OriginalName("CLUB_REMOVED_REASON_DESTROYED_BY_MEMBER")] DestroyedByMember = 5,
[pbr::OriginalName("CLUB_REMOVED_REASON_DESTROYED_BY_SERVICE")] DestroyedByService = 6,
}
public enum StreamVoiceLevel {
[pbr::OriginalName("VOICE_LEVEL_DISABLED")] VoiceLevelDisabled = 0,
[pbr::OriginalName("VOICE_LEVEL_PUSH_TO_TALK")] VoiceLevelPushToTalk = 1,
[pbr::OriginalName("VOICE_LEVEL_OPEN_MIC")] VoiceLevelOpenMic = 2,
}
public enum VoiceMicrophoneState {
[pbr::OriginalName("MICROPHONE_STATE_NORMAL")] MicrophoneStateNormal = 0,
[pbr::OriginalName("MICROPHONE_STATE_SELF_MUTE")] MicrophoneStateSelfMute = 1,
[pbr::OriginalName("MICROPHONE_STATE_SELF_DEAF")] MicrophoneStateSelfDeaf = 2,
}
public enum PresenceLevel {
[pbr::OriginalName("PRESENCE_LEVEL_NONE")] None = 0,
[pbr::OriginalName("PRESENCE_LEVEL_BASIC")] Basic = 1,
[pbr::OriginalName("PRESENCE_LEVEL_RICH")] Rich = 2,
}
public enum WhisperLevel {
[pbr::OriginalName("WHISPER_LEVEL_OPEN")] Open = 0,
[pbr::OriginalName("WHISPER_LEVEL_RESTRICTED")] Restricted = 1,
}
public enum StreamNotificationFilter {
[pbr::OriginalName("STREAM_NOTIFICATION_FILTER_NONE")] None = 0,
[pbr::OriginalName("STREAM_NOTIFICATION_FILTER_MENTION")] Mention = 1,
[pbr::OriginalName("STREAM_NOTIFICATION_FILTER_ALL")] All = 2,
}
#endregion
}
#endregion Designer generated code
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,921 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/client/v1/club_name_generator.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Bgs.Protocol.Club.V1.Client {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/client/v1/club_name_generator.proto</summary>
public static partial class ClubNameGeneratorReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/client/v1/club_name_generator.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ClubNameGeneratorReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjliZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YxL2NsdWJfbmFtZV9n",
"ZW5lcmF0b3IucHJvdG8SG2Jncy5wcm90b2NvbC5jbHViLnYxLmNsaWVudBov",
"YmdzL2xvdy9wYi9jbGllbnQvYXBpL2NvbW1vbi92MS9jbHViX3R5cGUucHJv",
"dG8i+wEKE05hbWVHZW5lcmF0b3JDb25maWcSQwoPbmFtZV9nZW5lcmF0b3Jz",
"GAEgAygLMiouYmdzLnByb3RvY29sLmNsdWIudjEuY2xpZW50Lk5hbWVHZW5l",
"cmF0b3ISUAoTY2x1Yl90eXBlX3Njb3JlY2FyZBgCIAEoCzIzLmJncy5wcm90",
"b2NvbC5jbHViLnYxLmNsaWVudC5OYW1lR2VuZXJhdG9yU2NvcmVjYXJkEk0K",
"EGxvY2FsZV9zY29yZWNhcmQYAyABKAsyMy5iZ3MucHJvdG9jb2wuY2x1Yi52",
"MS5jbGllbnQuTmFtZUdlbmVyYXRvclNjb3JlY2FyZCKJAQoWTmFtZUdlbmVy",
"YXRvclNjb3JlY2FyZBITCgtpc19yZXF1aXJlZBgBIAEoCBISCgpmdWxsX21h",
"dGNoGAIgASgNEhUKDXBhcnRpYWxfbWF0Y2gYAyABKA0SGAoQcGFydGlhbF9m",
"YWxsYmFjaxgEIAEoDRIVCg1mdWxsX2ZhbGxiYWNrGAUgASgNIrYBCg1OYW1l",
"R2VuZXJhdG9yEg0KBW5hbWVzGAEgAygJEksKDHJlcGxhY2VtZW50cxgCIAMo",
"CzI1LmJncy5wcm90b2NvbC5jbHViLnYxLmNsaWVudC5OYW1lR2VuZXJhdG9y",
"UmVwbGFjZW1lbnQSOAoKY2x1Yl90eXBlcxgDIAMoCzIkLmJncy5wcm90b2Nv",
"bC5jbHViLnYxLlVuaXF1ZUNsdWJUeXBlEg8KB2xvY2FsZXMYBCADKAkiNwoY",
"TmFtZUdlbmVyYXRvclJlcGxhY2VtZW50EgoKAmlkGAEgASgJEg8KB29wdGlv",
"bnMYAiADKAk="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.Club.V1.ClubTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Client.NameGeneratorConfig), global::Bgs.Protocol.Club.V1.Client.NameGeneratorConfig.Parser, new[]{ "NameGenerators", "ClubTypeScorecard", "LocaleScorecard" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Client.NameGeneratorScorecard), global::Bgs.Protocol.Club.V1.Client.NameGeneratorScorecard.Parser, new[]{ "IsRequired", "FullMatch", "PartialMatch", "PartialFallback", "FullFallback" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Client.NameGenerator), global::Bgs.Protocol.Club.V1.Client.NameGenerator.Parser, new[]{ "Names", "Replacements", "ClubTypes", "Locales" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Client.NameGeneratorReplacement), global::Bgs.Protocol.Club.V1.Client.NameGeneratorReplacement.Parser, new[]{ "Id", "Options" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class NameGeneratorConfig : pb::IMessage<NameGeneratorConfig> {
private static readonly pb::MessageParser<NameGeneratorConfig> _parser = new pb::MessageParser<NameGeneratorConfig>(() => new NameGeneratorConfig());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<NameGeneratorConfig> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Club.V1.Client.ClubNameGeneratorReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public NameGeneratorConfig() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public NameGeneratorConfig(NameGeneratorConfig other) : this() {
nameGenerators_ = other.nameGenerators_.Clone();
clubTypeScorecard_ = other.HasClubTypeScorecard ? other.clubTypeScorecard_.Clone() : null;
localeScorecard_ = other.HasLocaleScorecard ? other.localeScorecard_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public NameGeneratorConfig Clone() {
return new NameGeneratorConfig(this);
}
/// <summary>Field number for the "name_generators" field.</summary>
public const int NameGeneratorsFieldNumber = 1;
private static readonly pb::FieldCodec<global::Bgs.Protocol.Club.V1.Client.NameGenerator> _repeated_nameGenerators_codec
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Club.V1.Client.NameGenerator.Parser);
private readonly pbc::RepeatedField<global::Bgs.Protocol.Club.V1.Client.NameGenerator> nameGenerators_ = new pbc::RepeatedField<global::Bgs.Protocol.Club.V1.Client.NameGenerator>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Bgs.Protocol.Club.V1.Client.NameGenerator> NameGenerators {
get { return nameGenerators_; }
}
/// <summary>Field number for the "club_type_scorecard" field.</summary>
public const int ClubTypeScorecardFieldNumber = 2;
private global::Bgs.Protocol.Club.V1.Client.NameGeneratorScorecard clubTypeScorecard_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.Client.NameGeneratorScorecard ClubTypeScorecard {
get { return clubTypeScorecard_; }
set {
clubTypeScorecard_ = value;
}
}
/// <summary>Gets whether the club_type_scorecard field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubTypeScorecard {
get { return clubTypeScorecard_ != null; }
}
/// <summary>Clears the value of the club_type_scorecard field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubTypeScorecard() {
clubTypeScorecard_ = null;
}
/// <summary>Field number for the "locale_scorecard" field.</summary>
public const int LocaleScorecardFieldNumber = 3;
private global::Bgs.Protocol.Club.V1.Client.NameGeneratorScorecard localeScorecard_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.Client.NameGeneratorScorecard LocaleScorecard {
get { return localeScorecard_; }
set {
localeScorecard_ = value;
}
}
/// <summary>Gets whether the locale_scorecard field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasLocaleScorecard {
get { return localeScorecard_ != null; }
}
/// <summary>Clears the value of the locale_scorecard field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearLocaleScorecard() {
localeScorecard_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as NameGeneratorConfig);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(NameGeneratorConfig other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!nameGenerators_.Equals(other.nameGenerators_)) return false;
if (!object.Equals(ClubTypeScorecard, other.ClubTypeScorecard)) return false;
if (!object.Equals(LocaleScorecard, other.LocaleScorecard)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= nameGenerators_.GetHashCode();
if (HasClubTypeScorecard) hash ^= ClubTypeScorecard.GetHashCode();
if (HasLocaleScorecard) hash ^= LocaleScorecard.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) {
nameGenerators_.WriteTo(output, _repeated_nameGenerators_codec);
if (HasClubTypeScorecard) {
output.WriteRawTag(18);
output.WriteMessage(ClubTypeScorecard);
}
if (HasLocaleScorecard) {
output.WriteRawTag(26);
output.WriteMessage(LocaleScorecard);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += nameGenerators_.CalculateSize(_repeated_nameGenerators_codec);
if (HasClubTypeScorecard) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClubTypeScorecard);
}
if (HasLocaleScorecard) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LocaleScorecard);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(NameGeneratorConfig other) {
if (other == null) {
return;
}
nameGenerators_.Add(other.nameGenerators_);
if (other.HasClubTypeScorecard) {
if (!HasClubTypeScorecard) {
ClubTypeScorecard = new global::Bgs.Protocol.Club.V1.Client.NameGeneratorScorecard();
}
ClubTypeScorecard.MergeFrom(other.ClubTypeScorecard);
}
if (other.HasLocaleScorecard) {
if (!HasLocaleScorecard) {
LocaleScorecard = new global::Bgs.Protocol.Club.V1.Client.NameGeneratorScorecard();
}
LocaleScorecard.MergeFrom(other.LocaleScorecard);
}
_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: {
nameGenerators_.AddEntriesFrom(input, _repeated_nameGenerators_codec);
break;
}
case 18: {
if (!HasClubTypeScorecard) {
ClubTypeScorecard = new global::Bgs.Protocol.Club.V1.Client.NameGeneratorScorecard();
}
input.ReadMessage(ClubTypeScorecard);
break;
}
case 26: {
if (!HasLocaleScorecard) {
LocaleScorecard = new global::Bgs.Protocol.Club.V1.Client.NameGeneratorScorecard();
}
input.ReadMessage(LocaleScorecard);
break;
}
}
}
}
}
public sealed partial class NameGeneratorScorecard : pb::IMessage<NameGeneratorScorecard> {
private static readonly pb::MessageParser<NameGeneratorScorecard> _parser = new pb::MessageParser<NameGeneratorScorecard>(() => new NameGeneratorScorecard());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<NameGeneratorScorecard> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Club.V1.Client.ClubNameGeneratorReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public NameGeneratorScorecard() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public NameGeneratorScorecard(NameGeneratorScorecard other) : this() {
_hasBits0 = other._hasBits0;
isRequired_ = other.isRequired_;
fullMatch_ = other.fullMatch_;
partialMatch_ = other.partialMatch_;
partialFallback_ = other.partialFallback_;
fullFallback_ = other.fullFallback_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public NameGeneratorScorecard Clone() {
return new NameGeneratorScorecard(this);
}
/// <summary>Field number for the "is_required" field.</summary>
public const int IsRequiredFieldNumber = 1;
private readonly static bool IsRequiredDefaultValue = false;
private bool isRequired_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool IsRequired {
get { if ((_hasBits0 & 1) != 0) { return isRequired_; } else { return IsRequiredDefaultValue; } }
set {
_hasBits0 |= 1;
isRequired_ = value;
}
}
/// <summary>Gets whether the "is_required" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasIsRequired {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "is_required" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearIsRequired() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "full_match" field.</summary>
public const int FullMatchFieldNumber = 2;
private readonly static uint FullMatchDefaultValue = 0;
private uint fullMatch_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint FullMatch {
get { if ((_hasBits0 & 2) != 0) { return fullMatch_; } else { return FullMatchDefaultValue; } }
set {
_hasBits0 |= 2;
fullMatch_ = value;
}
}
/// <summary>Gets whether the "full_match" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasFullMatch {
get { return (_hasBits0 & 2) != 0; }
}
/// <summary>Clears the value of the "full_match" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearFullMatch() {
_hasBits0 &= ~2;
}
/// <summary>Field number for the "partial_match" field.</summary>
public const int PartialMatchFieldNumber = 3;
private readonly static uint PartialMatchDefaultValue = 0;
private uint partialMatch_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint PartialMatch {
get { if ((_hasBits0 & 4) != 0) { return partialMatch_; } else { return PartialMatchDefaultValue; } }
set {
_hasBits0 |= 4;
partialMatch_ = value;
}
}
/// <summary>Gets whether the "partial_match" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasPartialMatch {
get { return (_hasBits0 & 4) != 0; }
}
/// <summary>Clears the value of the "partial_match" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearPartialMatch() {
_hasBits0 &= ~4;
}
/// <summary>Field number for the "partial_fallback" field.</summary>
public const int PartialFallbackFieldNumber = 4;
private readonly static uint PartialFallbackDefaultValue = 0;
private uint partialFallback_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint PartialFallback {
get { if ((_hasBits0 & 8) != 0) { return partialFallback_; } else { return PartialFallbackDefaultValue; } }
set {
_hasBits0 |= 8;
partialFallback_ = value;
}
}
/// <summary>Gets whether the "partial_fallback" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasPartialFallback {
get { return (_hasBits0 & 8) != 0; }
}
/// <summary>Clears the value of the "partial_fallback" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearPartialFallback() {
_hasBits0 &= ~8;
}
/// <summary>Field number for the "full_fallback" field.</summary>
public const int FullFallbackFieldNumber = 5;
private readonly static uint FullFallbackDefaultValue = 0;
private uint fullFallback_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint FullFallback {
get { if ((_hasBits0 & 16) != 0) { return fullFallback_; } else { return FullFallbackDefaultValue; } }
set {
_hasBits0 |= 16;
fullFallback_ = value;
}
}
/// <summary>Gets whether the "full_fallback" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasFullFallback {
get { return (_hasBits0 & 16) != 0; }
}
/// <summary>Clears the value of the "full_fallback" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearFullFallback() {
_hasBits0 &= ~16;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as NameGeneratorScorecard);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(NameGeneratorScorecard other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (IsRequired != other.IsRequired) return false;
if (FullMatch != other.FullMatch) return false;
if (PartialMatch != other.PartialMatch) return false;
if (PartialFallback != other.PartialFallback) return false;
if (FullFallback != other.FullFallback) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasIsRequired) hash ^= IsRequired.GetHashCode();
if (HasFullMatch) hash ^= FullMatch.GetHashCode();
if (HasPartialMatch) hash ^= PartialMatch.GetHashCode();
if (HasPartialFallback) hash ^= PartialFallback.GetHashCode();
if (HasFullFallback) hash ^= FullFallback.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 (HasIsRequired) {
output.WriteRawTag(8);
output.WriteBool(IsRequired);
}
if (HasFullMatch) {
output.WriteRawTag(16);
output.WriteUInt32(FullMatch);
}
if (HasPartialMatch) {
output.WriteRawTag(24);
output.WriteUInt32(PartialMatch);
}
if (HasPartialFallback) {
output.WriteRawTag(32);
output.WriteUInt32(PartialFallback);
}
if (HasFullFallback) {
output.WriteRawTag(40);
output.WriteUInt32(FullFallback);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasIsRequired) {
size += 1 + 1;
}
if (HasFullMatch) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FullMatch);
}
if (HasPartialMatch) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PartialMatch);
}
if (HasPartialFallback) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PartialFallback);
}
if (HasFullFallback) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FullFallback);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(NameGeneratorScorecard other) {
if (other == null) {
return;
}
if (other.HasIsRequired) {
IsRequired = other.IsRequired;
}
if (other.HasFullMatch) {
FullMatch = other.FullMatch;
}
if (other.HasPartialMatch) {
PartialMatch = other.PartialMatch;
}
if (other.HasPartialFallback) {
PartialFallback = other.PartialFallback;
}
if (other.HasFullFallback) {
FullFallback = other.FullFallback;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
IsRequired = input.ReadBool();
break;
}
case 16: {
FullMatch = input.ReadUInt32();
break;
}
case 24: {
PartialMatch = input.ReadUInt32();
break;
}
case 32: {
PartialFallback = input.ReadUInt32();
break;
}
case 40: {
FullFallback = input.ReadUInt32();
break;
}
}
}
}
}
public sealed partial class NameGenerator : pb::IMessage<NameGenerator> {
private static readonly pb::MessageParser<NameGenerator> _parser = new pb::MessageParser<NameGenerator>(() => new NameGenerator());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<NameGenerator> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Club.V1.Client.ClubNameGeneratorReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public NameGenerator() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public NameGenerator(NameGenerator other) : this() {
names_ = other.names_.Clone();
replacements_ = other.replacements_.Clone();
clubTypes_ = other.clubTypes_.Clone();
locales_ = other.locales_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public NameGenerator Clone() {
return new NameGenerator(this);
}
/// <summary>Field number for the "names" field.</summary>
public const int NamesFieldNumber = 1;
private static readonly pb::FieldCodec<string> _repeated_names_codec
= pb::FieldCodec.ForString(10);
private readonly pbc::RepeatedField<string> names_ = new pbc::RepeatedField<string>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<string> Names {
get { return names_; }
}
/// <summary>Field number for the "replacements" field.</summary>
public const int ReplacementsFieldNumber = 2;
private static readonly pb::FieldCodec<global::Bgs.Protocol.Club.V1.Client.NameGeneratorReplacement> _repeated_replacements_codec
= pb::FieldCodec.ForMessage(18, global::Bgs.Protocol.Club.V1.Client.NameGeneratorReplacement.Parser);
private readonly pbc::RepeatedField<global::Bgs.Protocol.Club.V1.Client.NameGeneratorReplacement> replacements_ = new pbc::RepeatedField<global::Bgs.Protocol.Club.V1.Client.NameGeneratorReplacement>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Bgs.Protocol.Club.V1.Client.NameGeneratorReplacement> Replacements {
get { return replacements_; }
}
/// <summary>Field number for the "club_types" field.</summary>
public const int ClubTypesFieldNumber = 3;
private static readonly pb::FieldCodec<global::Bgs.Protocol.Club.V1.UniqueClubType> _repeated_clubTypes_codec
= pb::FieldCodec.ForMessage(26, global::Bgs.Protocol.Club.V1.UniqueClubType.Parser);
private readonly pbc::RepeatedField<global::Bgs.Protocol.Club.V1.UniqueClubType> clubTypes_ = new pbc::RepeatedField<global::Bgs.Protocol.Club.V1.UniqueClubType>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Bgs.Protocol.Club.V1.UniqueClubType> ClubTypes {
get { return clubTypes_; }
}
/// <summary>Field number for the "locales" field.</summary>
public const int LocalesFieldNumber = 4;
private static readonly pb::FieldCodec<string> _repeated_locales_codec
= pb::FieldCodec.ForString(34);
private readonly pbc::RepeatedField<string> locales_ = new pbc::RepeatedField<string>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<string> Locales {
get { return locales_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as NameGenerator);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(NameGenerator other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!names_.Equals(other.names_)) return false;
if(!replacements_.Equals(other.replacements_)) return false;
if(!clubTypes_.Equals(other.clubTypes_)) return false;
if(!locales_.Equals(other.locales_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= names_.GetHashCode();
hash ^= replacements_.GetHashCode();
hash ^= clubTypes_.GetHashCode();
hash ^= locales_.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) {
names_.WriteTo(output, _repeated_names_codec);
replacements_.WriteTo(output, _repeated_replacements_codec);
clubTypes_.WriteTo(output, _repeated_clubTypes_codec);
locales_.WriteTo(output, _repeated_locales_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += names_.CalculateSize(_repeated_names_codec);
size += replacements_.CalculateSize(_repeated_replacements_codec);
size += clubTypes_.CalculateSize(_repeated_clubTypes_codec);
size += locales_.CalculateSize(_repeated_locales_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(NameGenerator other) {
if (other == null) {
return;
}
names_.Add(other.names_);
replacements_.Add(other.replacements_);
clubTypes_.Add(other.clubTypes_);
locales_.Add(other.locales_);
_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: {
names_.AddEntriesFrom(input, _repeated_names_codec);
break;
}
case 18: {
replacements_.AddEntriesFrom(input, _repeated_replacements_codec);
break;
}
case 26: {
clubTypes_.AddEntriesFrom(input, _repeated_clubTypes_codec);
break;
}
case 34: {
locales_.AddEntriesFrom(input, _repeated_locales_codec);
break;
}
}
}
}
}
public sealed partial class NameGeneratorReplacement : pb::IMessage<NameGeneratorReplacement> {
private static readonly pb::MessageParser<NameGeneratorReplacement> _parser = new pb::MessageParser<NameGeneratorReplacement>(() => new NameGeneratorReplacement());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<NameGeneratorReplacement> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Club.V1.Client.ClubNameGeneratorReflection.Descriptor.MessageTypes[3]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public NameGeneratorReplacement() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public NameGeneratorReplacement(NameGeneratorReplacement other) : this() {
id_ = other.id_;
options_ = other.options_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public NameGeneratorReplacement Clone() {
return new NameGeneratorReplacement(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private readonly static string IdDefaultValue = "";
private string id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Id {
get { return id_ ?? IdDefaultValue; }
set {
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasId {
get { return id_ != null; }
}
/// <summary>Clears the value of the "id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearId() {
id_ = null;
}
/// <summary>Field number for the "options" field.</summary>
public const int OptionsFieldNumber = 2;
private static readonly pb::FieldCodec<string> _repeated_options_codec
= pb::FieldCodec.ForString(18);
private readonly pbc::RepeatedField<string> options_ = new pbc::RepeatedField<string>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<string> Options {
get { return options_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as NameGeneratorReplacement);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(NameGeneratorReplacement other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if(!options_.Equals(other.options_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasId) hash ^= Id.GetHashCode();
hash ^= options_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (HasId) {
output.WriteRawTag(10);
output.WriteString(Id);
}
options_.WriteTo(output, _repeated_options_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasId) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
}
size += options_.CalculateSize(_repeated_options_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(NameGeneratorReplacement other) {
if (other == null) {
return;
}
if (other.HasId) {
Id = other.Id;
}
options_.Add(other.options_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Id = input.ReadString();
break;
}
case 18: {
options_.AddEntriesFrom(input, _repeated_options_codec);
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,68 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/client/v1/club_types.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Bgs.Protocol.Club.V1.Client {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/client/v1/club_types.proto</summary>
public static partial class ClubTypesReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/client/v1/club_types.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ClubTypesReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjBiZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YxL2NsdWJfdHlwZXMu",
"cHJvdG8SG2Jncy5wcm90b2NvbC5jbHViLnYxLmNsaWVudBo7YmdzL2xvdy9w",
"Yi9jbGllbnQvYXBpL2NsaWVudC92MS9jbHViX21lbWJlcnNoaXBfdHlwZXMu",
"cHJvdG8aL2Jncy9sb3cvcGIvY2xpZW50L2FwaS9jbGllbnQvdjEvY2x1Yl9l",
"bnVtLnByb3RvGi9iZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YxL2Ns",
"dWJfcm9sZS5wcm90bxo0YmdzL2xvdy9wYi9jbGllbnQvYXBpL2NsaWVudC92",
"MS9jbHViX3JhbmdlX3NldC5wcm90bxovYmdzL2xvdy9wYi9jbGllbnQvYXBp",
"L2NsaWVudC92MS9jbHViX2NvcmUucHJvdG8aMWJncy9sb3cvcGIvY2xpZW50",
"L2FwaS9jbGllbnQvdjEvY2x1Yl9tZW1iZXIucHJvdG8aNWJncy9sb3cvcGIv",
"Y2xpZW50L2FwaS9jbGllbnQvdjEvY2x1Yl9pbnZpdGF0aW9uLnByb3RvGi5i",
"Z3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YxL2NsdWJfYmFuLnByb3Rv",
"GjFiZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YxL2NsdWJfc3RyZWFt",
"LnByb3RvGjliZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YxL2NsdWJf",
"bmFtZV9nZW5lcmF0b3IucHJvdG8aL2Jncy9sb3cvcGIvY2xpZW50L2FwaS9j",
"b21tb24vdjEvY2x1Yl9jb3JlLnByb3RvGi9iZ3MvbG93L3BiL2NsaWVudC9h",
"cGkvY29tbW9uL3YxL2NsdWJfZW51bS5wcm90bxouYmdzL2xvdy9wYi9jbGll",
"bnQvYXBpL2NvbW1vbi92MS9jbHViX3RhZy5wcm90bxovYmdzL2xvdy9wYi9j",
"bGllbnQvYXBpL2NvbW1vbi92MS9jbHViX3R5cGUucHJvdG8aNWJncy9sb3cv",
"cGIvY2xpZW50L2FwaS9jb21tb24vdjIvYXR0cmlidXRlX3R5cGVzLnByb3Rv",
"GiViZ3MvbG93L3BiL2NsaWVudC9hY2NvdW50X3R5cGVzLnByb3RvGihiZ3Mv",
"bG93L3BiL2NsaWVudC9ldmVudF92aWV3X3R5cGVzLnByb3RvGihiZ3MvbG93",
"L3BiL2NsaWVudC9pbnZpdGF0aW9uX3R5cGVzLnByb3RvGiViZ3MvbG93L3Bi",
"L2NsaWVudC9tZXNzYWdlX3R5cGVzLnByb3RvGiFiZ3MvbG93L3BiL2NsaWVu",
"dC9ldHNfdHlwZXMucHJvdG8aI2Jncy9sb3cvcGIvY2xpZW50L3ZvaWNlX3R5",
"cGVzLnByb3RvGiFiZ3MvbG93L3BiL2NsaWVudC9ycGNfdHlwZXMucHJvdG8a",
"N2Jncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9leHRlbnNpb25zL2ZpZWxkX29w",
"dGlvbnMucHJvdG8aOWJncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9leHRlbnNp",
"b25zL21lc3NhZ2Vfb3B0aW9ucy5wcm90bxo4YmdzL2xvdy9wYi9jbGllbnQv",
"Z2xvYmFsX2V4dGVuc2lvbnMvbWV0aG9kX29wdGlvbnMucHJvdG8aOWJncy9s",
"b3cvcGIvY2xpZW50L2dsb2JhbF9leHRlbnNpb25zL3NlcnZpY2Vfb3B0aW9u",
"cy5wcm90b1AAUAFQAlADUARQBVAGUAdQCFAJUApQC1AMUA1QDlAPUBBQEVAS",
"UBNQFFAV"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.ClubMembership.V1.Client.ClubMembershipTypesReflection.Descriptor, global::Bgs.Protocol.Club.V1.Client.ClubEnumReflection.Descriptor, global::Bgs.Protocol.Club.V1.Client.ClubRoleReflection.Descriptor, global::Bgs.Protocol.Club.V1.Client.ClubRangeSetReflection.Descriptor, global::Bgs.Protocol.Club.V1.Client.ClubCoreReflection.Descriptor, global::Bgs.Protocol.Club.V1.Client.ClubMemberReflection.Descriptor, global::Bgs.Protocol.Club.V1.Client.ClubInvitationReflection.Descriptor, global::Bgs.Protocol.Club.V1.Client.ClubBanReflection.Descriptor, global::Bgs.Protocol.Club.V1.Client.ClubStreamReflection.Descriptor, global::Bgs.Protocol.Club.V1.Client.ClubNameGeneratorReflection.Descriptor, global::Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor, global::Bgs.Protocol.Club.V1.ClubEnumReflection.Descriptor, global::Bgs.Protocol.Club.V1.ClubTagReflection.Descriptor, global::Bgs.Protocol.Club.V1.ClubTypeReflection.Descriptor, global::Bgs.Protocol.V2.AttributeTypesReflection.Descriptor, global::Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, global::Bgs.Protocol.EventViewTypesReflection.Descriptor, global::InvitationTypesReflection.Descriptor, global::Bgs.Protocol.MessageTypesReflection.Descriptor, global::Bgs.Protocol.EtsTypesReflection.Descriptor, global::VoiceTypesReflection.Descriptor, global::Bgs.Protocol.RpcTypesReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MessageOptionsReflection.Descriptor, global::Bgs.Protocol.MethodOptionsReflection.Descriptor, global::Bgs.Protocol.ServiceOptionsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, null));
}
#endregion
}
}
#endregion Designer generated code
@@ -0,0 +1,204 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/client/v2/notification_service.proto
// </auto-generated>
#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.Notification.V2.Client {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/client/v2/notification_service.proto</summary>
public static partial class NotificationServiceReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/client/v2/notification_service.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static NotificationServiceReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjpiZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YyL25vdGlmaWNhdGlv",
"bl9zZXJ2aWNlLnByb3RvEiNiZ3MucHJvdG9jb2wubm90aWZpY2F0aW9uLnYy",
"LmNsaWVudBo4YmdzL2xvdy9wYi9jbGllbnQvYXBpL2NsaWVudC92Mi9ub3Rp",
"ZmljYXRpb25fdHlwZXMucHJvdG8aIWJncy9sb3cvcGIvY2xpZW50L3JwY190",
"eXBlcy5wcm90bxo3YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lv",
"bnMvZmllbGRfb3B0aW9ucy5wcm90bxo5YmdzL2xvdy9wYi9jbGllbnQvZ2xv",
"YmFsX2V4dGVuc2lvbnMvbWVzc2FnZV9vcHRpb25zLnByb3RvGjhiZ3MvbG93",
"L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9tZXRob2Rfb3B0aW9ucy5w",
"cm90bxo5YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvc2Vy",
"dmljZV9vcHRpb25zLnByb3RvImgKF1NlbmROb3RpZmljYXRpb25SZXF1ZXN0",
"Ek0KB29wdGlvbnMYAiABKAsyPC5iZ3MucHJvdG9jb2wubm90aWZpY2F0aW9u",
"LnYyLmNsaWVudC5TZW5kTm90aWZpY2F0aW9uT3B0aW9uczLvAQoTTm90aWZp",
"Y2F0aW9uU2VydmljZRJ0ChBTZW5kTm90aWZpY2F0aW9uEjwuYmdzLnByb3Rv",
"Y29sLm5vdGlmaWNhdGlvbi52Mi5jbGllbnQuU2VuZE5vdGlmaWNhdGlvblJl",
"cXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRhIgyC+SsCCAGC+SsCEAEaYoL5",
"KzoKOGJuZXQucHJvdG9jb2wubm90aWZpY2F0aW9uLnYyLmNsaWVudC5Ob3Rp",
"ZmljYXRpb25TZXJ2aWNlgvkrDioMbm90aWZpY2F0aW9ugvkrAkgBivkrAhAB",
"ivkrAhgBQgOAAQA="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.Notification.V2.Client.NotificationTypesReflection.Descriptor, global::Bgs.Protocol.RpcTypesReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MessageOptionsReflection.Descriptor, global::Bgs.Protocol.MethodOptionsReflection.Descriptor, global::Bgs.Protocol.ServiceOptionsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Notification.V2.Client.SendNotificationRequest), global::Bgs.Protocol.Notification.V2.Client.SendNotificationRequest.Parser, new[]{ "Options" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class SendNotificationRequest : pb::IMessage<SendNotificationRequest> {
private static readonly pb::MessageParser<SendNotificationRequest> _parser = new pb::MessageParser<SendNotificationRequest>(() => new SendNotificationRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<SendNotificationRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Notification.V2.Client.NotificationServiceReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SendNotificationRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SendNotificationRequest(SendNotificationRequest other) : this() {
options_ = other.HasOptions ? other.options_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SendNotificationRequest Clone() {
return new SendNotificationRequest(this);
}
/// <summary>Field number for the "options" field.</summary>
public const int OptionsFieldNumber = 2;
private global::Bgs.Protocol.Notification.V2.Client.SendNotificationOptions options_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Notification.V2.Client.SendNotificationOptions Options {
get { return options_; }
set {
options_ = value;
}
}
/// <summary>Gets whether the options field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOptions {
get { return options_ != null; }
}
/// <summary>Clears the value of the options field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOptions() {
options_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SendNotificationRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SendNotificationRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(Options, other.Options)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasOptions) hash ^= Options.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (HasOptions) {
output.WriteRawTag(18);
output.WriteMessage(Options);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SendNotificationRequest other) {
if (other == null) {
return;
}
if (other.HasOptions) {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Notification.V2.Client.SendNotificationOptions();
}
Options.MergeFrom(other.Options);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 18: {
if (!HasOptions) {
Options = new global::Bgs.Protocol.Notification.V2.Client.SendNotificationOptions();
}
input.ReadMessage(Options);
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,426 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/client/v2/report_service.proto
// </auto-generated>
#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.Report.V2 {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/client/v2/report_service.proto</summary>
public static partial class ReportServiceReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/client/v2/report_service.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ReportServiceReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjRiZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YyL3JlcG9ydF9zZXJ2",
"aWNlLnByb3RvEhZiZ3MucHJvdG9jb2wucmVwb3J0LnYyGiViZ3MvbG93L3Bi",
"L2NsaWVudC9hY2NvdW50X3R5cGVzLnByb3RvGjJiZ3MvbG93L3BiL2NsaWVu",
"dC9hcGkvY2xpZW50L3YyL3JlcG9ydF90eXBlcy5wcm90bxohYmdzL2xvdy9w",
"Yi9jbGllbnQvcnBjX3R5cGVzLnByb3RvGjdiZ3MvbG93L3BiL2NsaWVudC9n",
"bG9iYWxfZXh0ZW5zaW9ucy9maWVsZF9vcHRpb25zLnByb3RvGjliZ3MvbG93",
"L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9tZXNzYWdlX29wdGlvbnMu",
"cHJvdG8aOGJncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9leHRlbnNpb25zL21l",
"dGhvZF9vcHRpb25zLnByb3RvGjliZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxf",
"ZXh0ZW5zaW9ucy9zZXJ2aWNlX29wdGlvbnMucHJvdG8isAIKE1N1Ym1pdFJl",
"cG9ydFJlcXVlc3QSNAoIYWdlbnRfaWQYASABKAsyIi5iZ3MucHJvdG9jb2wu",
"YWNjb3VudC52MS5BY2NvdW50SWQSGAoQdXNlcl9kZXNjcmlwdGlvbhgCIAEo",
"CRI7Cgx1c2VyX29wdGlvbnMYCiABKAsyIy5iZ3MucHJvdG9jb2wucmVwb3J0",
"LnYyLlVzZXJPcHRpb25zSAASOwoMY2x1Yl9vcHRpb25zGAsgASgLMiMuYmdz",
"LnByb3RvY29sLnJlcG9ydC52Mi5DbHViT3B0aW9uc0gAEj8KDmVudGl0eV9v",
"cHRpb25zGBQgASgLMiUuYmdzLnByb3RvY29sLnJlcG9ydC52Mi5FbnRpdHlP",
"cHRpb25zSAA6BoL5KwIIAUIGCgR0eXBlMs4BCg1SZXBvcnRTZXJ2aWNlEngK",
"DFN1Ym1pdFJlcG9ydBIrLmJncy5wcm90b2NvbC5yZXBvcnQudjIuU3VibWl0",
"UmVwb3J0UmVxdWVzdBoULmJncy5wcm90b2NvbC5Ob0RhdGEiJYL5KwIIAYL5",
"KxtCGVJlc29sdmVTdWJtaXRSZXBvcnRSZWdpb24aQ4L5KycKJWJuZXQucHJv",
"dG9jb2wucmVwb3J0LnYyLlJlcG9ydFNlcnZpY2WC+SsIKgZyZXBvcnSC+SsC",
"SAGK+SsCEAFCA4ABAA=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, global::Bgs.Protocol.Report.V2.ReportTypesReflection.Descriptor, global::Bgs.Protocol.RpcTypesReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MessageOptionsReflection.Descriptor, global::Bgs.Protocol.MethodOptionsReflection.Descriptor, global::Bgs.Protocol.ServiceOptionsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Report.V2.SubmitReportRequest), global::Bgs.Protocol.Report.V2.SubmitReportRequest.Parser, new[]{ "AgentId", "UserDescription", "UserOptions", "ClubOptions", "EntityOptions" }, new[]{ "Type" }, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class SubmitReportRequest : pb::IMessage<SubmitReportRequest> {
private static readonly pb::MessageParser<SubmitReportRequest> _parser = new pb::MessageParser<SubmitReportRequest>(() => new SubmitReportRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<SubmitReportRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Report.V2.ReportServiceReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SubmitReportRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SubmitReportRequest(SubmitReportRequest other) : this() {
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
userDescription_ = other.userDescription_;
switch (other.TypeCase) {
case TypeOneofCase.UserOptions:
UserOptions = other.UserOptions.Clone();
break;
case TypeOneofCase.ClubOptions:
ClubOptions = other.ClubOptions.Clone();
break;
case TypeOneofCase.EntityOptions:
EntityOptions = other.EntityOptions.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SubmitReportRequest Clone() {
return new SubmitReportRequest(this);
}
/// <summary>Field number for the "agent_id" field.</summary>
public const int AgentIdFieldNumber = 1;
private global::Bgs.Protocol.Account.V1.AccountId agentId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Account.V1.AccountId AgentId {
get { return agentId_; }
set {
agentId_ = value;
}
}
/// <summary>Gets whether the agent_id field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAgentId {
get { return agentId_ != null; }
}
/// <summary>Clears the value of the agent_id field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAgentId() {
agentId_ = null;
}
/// <summary>Field number for the "user_description" field.</summary>
public const int UserDescriptionFieldNumber = 2;
private readonly static string UserDescriptionDefaultValue = "";
private string userDescription_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string UserDescription {
get { return userDescription_ ?? UserDescriptionDefaultValue; }
set {
userDescription_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "user_description" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasUserDescription {
get { return userDescription_ != null; }
}
/// <summary>Clears the value of the "user_description" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearUserDescription() {
userDescription_ = null;
}
/// <summary>Field number for the "user_options" field.</summary>
public const int UserOptionsFieldNumber = 10;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Report.V2.UserOptions UserOptions {
get { return HasUserOptions ? (global::Bgs.Protocol.Report.V2.UserOptions) type_ : null; }
set {
type_ = value;
typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.UserOptions;
}
}
/// <summary>Gets whether the "user_options" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasUserOptions {
get { return typeCase_ == TypeOneofCase.UserOptions; }
}
/// <summary> Clears the value of the oneof if it's currently set to "user_options" </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearUserOptions() {
if (HasUserOptions) {
ClearType();
}
}
/// <summary>Field number for the "club_options" field.</summary>
public const int ClubOptionsFieldNumber = 11;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Report.V2.ClubOptions ClubOptions {
get { return HasClubOptions ? (global::Bgs.Protocol.Report.V2.ClubOptions) type_ : null; }
set {
type_ = value;
typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ClubOptions;
}
}
/// <summary>Gets whether the "club_options" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClubOptions {
get { return typeCase_ == TypeOneofCase.ClubOptions; }
}
/// <summary> Clears the value of the oneof if it's currently set to "club_options" </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClubOptions() {
if (HasClubOptions) {
ClearType();
}
}
/// <summary>Field number for the "entity_options" field.</summary>
public const int EntityOptionsFieldNumber = 20;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Report.V2.EntityOptions EntityOptions {
get { return HasEntityOptions ? (global::Bgs.Protocol.Report.V2.EntityOptions) type_ : null; }
set {
type_ = value;
typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.EntityOptions;
}
}
/// <summary>Gets whether the "entity_options" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasEntityOptions {
get { return typeCase_ == TypeOneofCase.EntityOptions; }
}
/// <summary> Clears the value of the oneof if it's currently set to "entity_options" </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearEntityOptions() {
if (HasEntityOptions) {
ClearType();
}
}
private object type_;
/// <summary>Enum of possible cases for the "type" oneof.</summary>
public enum TypeOneofCase {
None = 0,
UserOptions = 10,
ClubOptions = 11,
EntityOptions = 20,
}
private TypeOneofCase typeCase_ = TypeOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TypeOneofCase TypeCase {
get { return typeCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearType() {
typeCase_ = TypeOneofCase.None;
type_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SubmitReportRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SubmitReportRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AgentId, other.AgentId)) return false;
if (UserDescription != other.UserDescription) return false;
if (!object.Equals(UserOptions, other.UserOptions)) return false;
if (!object.Equals(ClubOptions, other.ClubOptions)) return false;
if (!object.Equals(EntityOptions, other.EntityOptions)) return false;
if (TypeCase != other.TypeCase) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAgentId) hash ^= AgentId.GetHashCode();
if (HasUserDescription) hash ^= UserDescription.GetHashCode();
if (HasUserOptions) hash ^= UserOptions.GetHashCode();
if (HasClubOptions) hash ^= ClubOptions.GetHashCode();
if (HasEntityOptions) hash ^= EntityOptions.GetHashCode();
hash ^= (int) typeCase_;
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (HasAgentId) {
output.WriteRawTag(10);
output.WriteMessage(AgentId);
}
if (HasUserDescription) {
output.WriteRawTag(18);
output.WriteString(UserDescription);
}
if (HasUserOptions) {
output.WriteRawTag(82);
output.WriteMessage(UserOptions);
}
if (HasClubOptions) {
output.WriteRawTag(90);
output.WriteMessage(ClubOptions);
}
if (HasEntityOptions) {
output.WriteRawTag(162, 1);
output.WriteMessage(EntityOptions);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAgentId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
}
if (HasUserDescription) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(UserDescription);
}
if (HasUserOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(UserOptions);
}
if (HasClubOptions) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClubOptions);
}
if (HasEntityOptions) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(EntityOptions);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SubmitReportRequest other) {
if (other == null) {
return;
}
if (other.HasAgentId) {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Account.V1.AccountId();
}
AgentId.MergeFrom(other.AgentId);
}
if (other.HasUserDescription) {
UserDescription = other.UserDescription;
}
switch (other.TypeCase) {
case TypeOneofCase.UserOptions:
if (UserOptions == null) {
UserOptions = new global::Bgs.Protocol.Report.V2.UserOptions();
}
UserOptions.MergeFrom(other.UserOptions);
break;
case TypeOneofCase.ClubOptions:
if (ClubOptions == null) {
ClubOptions = new global::Bgs.Protocol.Report.V2.ClubOptions();
}
ClubOptions.MergeFrom(other.ClubOptions);
break;
case TypeOneofCase.EntityOptions:
if (EntityOptions == null) {
EntityOptions = new global::Bgs.Protocol.Report.V2.EntityOptions();
}
EntityOptions.MergeFrom(other.EntityOptions);
break;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
if (!HasAgentId) {
AgentId = new global::Bgs.Protocol.Account.V1.AccountId();
}
input.ReadMessage(AgentId);
break;
}
case 18: {
UserDescription = input.ReadString();
break;
}
case 82: {
global::Bgs.Protocol.Report.V2.UserOptions subBuilder = new global::Bgs.Protocol.Report.V2.UserOptions();
if (HasUserOptions) {
subBuilder.MergeFrom(UserOptions);
}
input.ReadMessage(subBuilder);
UserOptions = subBuilder;
break;
}
case 90: {
global::Bgs.Protocol.Report.V2.ClubOptions subBuilder = new global::Bgs.Protocol.Report.V2.ClubOptions();
if (HasClubOptions) {
subBuilder.MergeFrom(ClubOptions);
}
input.ReadMessage(subBuilder);
ClubOptions = subBuilder;
break;
}
case 162: {
global::Bgs.Protocol.Report.V2.EntityOptions subBuilder = new global::Bgs.Protocol.Report.V2.EntityOptions();
if (HasEntityOptions) {
subBuilder.MergeFrom(EntityOptions);
}
input.ReadMessage(subBuilder);
EntityOptions = subBuilder;
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff