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
@@ -2,7 +2,7 @@
// 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, 8981
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
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
@@ -2,7 +2,7 @@
// 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, 8981
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
@@ -2,7 +2,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/client/v2/report_types.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
@@ -25,10 +25,10 @@ namespace Bgs.Protocol.Report.V2 {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjJiZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YyL3JlcG9ydF90eXBl",
"cy5wcm90bxIWYmdzLnByb3RvY29sLnJlcG9ydC52Mho1YmdzL2xvdy9wYi9j",
"bGllbnQvYXBpL2NsaWVudC92Mi9hdHRyaWJ1dGVfdHlwZXMucHJvdG8aJWJn",
"cy9sb3cvcGIvY2xpZW50L2FjY291bnRfdHlwZXMucHJvdG8aJWJncy9sb3cv",
"cGIvY2xpZW50L21lc3NhZ2VfdHlwZXMucHJvdG8aN2Jncy9sb3cvcGIvY2xp",
"cy5wcm90bxIWYmdzLnByb3RvY29sLnJlcG9ydC52MholYmdzL2xvdy9wYi9j",
"bGllbnQvYWNjb3VudF90eXBlcy5wcm90bxolYmdzL2xvdy9wYi9jbGllbnQv",
"bWVzc2FnZV90eXBlcy5wcm90bxo1YmdzL2xvdy9wYi9jbGllbnQvYXBpL2Nv",
"bW1vbi92Mi9hdHRyaWJ1dGVfdHlwZXMucHJvdG8aN2Jncy9sb3cvcGIvY2xp",
"ZW50L2dsb2JhbF9leHRlbnNpb25zL2ZpZWxkX29wdGlvbnMucHJvdG8iQwoK",
"UmVwb3J0SXRlbRItCgptZXNzYWdlX2lkGAEgASgLMhcuYmdzLnByb3RvY29s",
"Lk1lc3NhZ2VJZEgAQgYKBHR5cGUi/wEKC1VzZXJPcHRpb25zEjUKCXRhcmdl",
@@ -60,7 +60,7 @@ namespace Bgs.Protocol.Report.V2 {
"Ql9TSE9SVF9OQU1FEAUSIAocQ0xVQl9TT1VSQ0VfQ0xVQl9ERVNDUklQVElP",
"ThAGEh4KGkNMVUJfU09VUkNFX1NUUkVBTV9TVUJKRUNUEAdCA4ABAA=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.V2.AttributeTypesReflection.Descriptor, global::Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, global::Bgs.Protocol.MessageTypesReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, },
new pbr::FileDescriptor[] { global::Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, global::Bgs.Protocol.MessageTypesReflection.Descriptor, global::Bgs.Protocol.V2.AttributeTypesReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Bgs.Protocol.Report.V2.IssueType), typeof(global::Bgs.Protocol.Report.V2.UserSource), typeof(global::Bgs.Protocol.Report.V2.ClubSource), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Report.V2.ReportItem), global::Bgs.Protocol.Report.V2.ReportItem.Parser, new[]{ "MessageId" }, new[]{ "Type" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Report.V2.UserOptions), global::Bgs.Protocol.Report.V2.UserOptions.Parser, new[]{ "TargetId", "Type", "Source", "Item" }, null, null, null, null),
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,801 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/common/v1/club_core.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 {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/common/v1/club_core.proto</summary>
public static partial class ClubCoreReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/common/v1/club_core.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ClubCoreReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ci9iZ3MvbG93L3BiL2NsaWVudC9hcGkvY29tbW9uL3YxL2NsdWJfY29yZS5w",
"cm90bxIUYmdzLnByb3RvY29sLmNsdWIudjEaLmJncy9sb3cvcGIvY2xpZW50",
"L2FwaS9jb21tb24vdjEvY2x1Yl90YWcucHJvdG8aL2Jncy9sb3cvcGIvY2xp",
"ZW50L2FwaS9jb21tb24vdjEvY2x1Yl90eXBlLnByb3RvGi9iZ3MvbG93L3Bi",
"L2NsaWVudC9hcGkvY29tbW9uL3YxL2NsdWJfZW51bS5wcm90bxoxYmdzL2xv",
"dy9wYi9jbGllbnQvYXBpL2NsaWVudC92MS9jbHViX21lbWJlci5wcm90byIW",
"CghBdmF0YXJJZBIKCgJpZBgBIAEoDSKRBAoPQ2x1YkRlc2NyaXB0aW9uEgoK",
"AmlkGAEgASgEEjIKBHR5cGUYAiABKAsyJC5iZ3MucHJvdG9jb2wuY2x1Yi52",
"MS5VbmlxdWVDbHViVHlwZRIMCgRuYW1lGAMgASgJEhMKC2Rlc2NyaXB0aW9u",
"GAQgASgJEi4KBmF2YXRhchgFIAEoCzIeLmJncy5wcm90b2NvbC5jbHViLnYx",
"LkF2YXRhcklkEk8KDXByaXZhY3lfbGV2ZWwYBiABKA4yIi5iZ3MucHJvdG9j",
"b2wuY2x1Yi52MS5Qcml2YWN5TGV2ZWw6FFBSSVZBQ1lfTEVWRUxfQ0xPU0VE",
"ElkKEHZpc2liaWxpdHlfbGV2ZWwYByABKA4yJS5iZ3MucHJvdG9jb2wuY2x1",
"Yi52MS5WaXNpYmlsaXR5TGV2ZWw6GFZJU0lCSUxJVFlfTEVWRUxfUFJJVkFU",
"RRIUCgxtZW1iZXJfY291bnQYCCABKA0SPgoGbGVhZGVyGAkgAygLMi4uYmdz",
"LnByb3RvY29sLmNsdWIudjEuY2xpZW50Lk1lbWJlckRlc2NyaXB0aW9uEhUK",
"DWNyZWF0aW9uX3RpbWUYCiABKAQSEAoIdGltZXpvbmUYCyABKAkSDgoGbG9j",
"YWxlGAwgASgJEjAKA3RhZxgNIAMoCzIjLmJncy5wcm90b2NvbC5jbHViLnYx",
"LlRhZ0lkZW50aWZpZXI="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.Club.V1.ClubTagReflection.Descriptor, global::Bgs.Protocol.Club.V1.ClubTypeReflection.Descriptor, global::Bgs.Protocol.Club.V1.ClubEnumReflection.Descriptor, global::Bgs.Protocol.Club.V1.Client.ClubMemberReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.AvatarId), global::Bgs.Protocol.Club.V1.AvatarId.Parser, new[]{ "Id" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.ClubDescription), global::Bgs.Protocol.Club.V1.ClubDescription.Parser, new[]{ "Id", "Type", "Name", "Description", "Avatar", "PrivacyLevel", "VisibilityLevel", "MemberCount", "Leader", "CreationTime", "Timezone", "Locale", "Tag" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class AvatarId : pb::IMessage<AvatarId> {
private static readonly pb::MessageParser<AvatarId> _parser = new pb::MessageParser<AvatarId>(() => new AvatarId());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<AvatarId> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AvatarId() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AvatarId(AvatarId other) : this() {
_hasBits0 = other._hasBits0;
id_ = other.id_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public AvatarId Clone() {
return new AvatarId(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private readonly static uint IdDefaultValue = 0;
private uint id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint 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 AvatarId);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(AvatarId 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.WriteUInt32(Id);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasId) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(AvatarId 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.ReadUInt32();
break;
}
}
}
}
}
public sealed partial class ClubDescription : pb::IMessage<ClubDescription> {
private static readonly pb::MessageParser<ClubDescription> _parser = new pb::MessageParser<ClubDescription>(() => new ClubDescription());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ClubDescription> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Club.V1.ClubCoreReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClubDescription() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClubDescription(ClubDescription other) : this() {
_hasBits0 = other._hasBits0;
id_ = other.id_;
type_ = other.HasType ? other.type_.Clone() : null;
name_ = other.name_;
description_ = other.description_;
avatar_ = other.HasAvatar ? other.avatar_.Clone() : null;
privacyLevel_ = other.privacyLevel_;
visibilityLevel_ = other.visibilityLevel_;
memberCount_ = other.memberCount_;
leader_ = other.leader_.Clone();
creationTime_ = other.creationTime_;
timezone_ = other.timezone_;
locale_ = other.locale_;
tag_ = other.tag_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ClubDescription Clone() {
return new ClubDescription(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 "type" field.</summary>
public const int TypeFieldNumber = 2;
private global::Bgs.Protocol.Club.V1.UniqueClubType type_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.UniqueClubType Type {
get { return type_; }
set {
type_ = value;
}
}
/// <summary>Gets whether the type field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasType {
get { return type_ != null; }
}
/// <summary>Clears the value of the type field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearType() {
type_ = null;
}
/// <summary>Field number for the "name" field.</summary>
public const int NameFieldNumber = 3;
private readonly static string NameDefaultValue = "";
private string name_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Name {
get { return name_ ?? NameDefaultValue; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "name" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasName {
get { return name_ != null; }
}
/// <summary>Clears the value of the "name" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearName() {
name_ = null;
}
/// <summary>Field number for the "description" field.</summary>
public const int DescriptionFieldNumber = 4;
private readonly static string DescriptionDefaultValue = "";
private string description_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Description {
get { return description_ ?? DescriptionDefaultValue; }
set {
description_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "description" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasDescription {
get { return description_ != null; }
}
/// <summary>Clears the value of the "description" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearDescription() {
description_ = null;
}
/// <summary>Field number for the "avatar" field.</summary>
public const int AvatarFieldNumber = 5;
private global::Bgs.Protocol.Club.V1.AvatarId avatar_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.AvatarId Avatar {
get { return avatar_; }
set {
avatar_ = value;
}
}
/// <summary>Gets whether the avatar field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAvatar {
get { return avatar_ != null; }
}
/// <summary>Clears the value of the avatar field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAvatar() {
avatar_ = null;
}
/// <summary>Field number for the "privacy_level" field.</summary>
public const int PrivacyLevelFieldNumber = 6;
private readonly static global::Bgs.Protocol.Club.V1.PrivacyLevel PrivacyLevelDefaultValue = global::Bgs.Protocol.Club.V1.PrivacyLevel.Closed;
private global::Bgs.Protocol.Club.V1.PrivacyLevel privacyLevel_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.PrivacyLevel PrivacyLevel {
get { if ((_hasBits0 & 2) != 0) { return privacyLevel_; } else { return PrivacyLevelDefaultValue; } }
set {
_hasBits0 |= 2;
privacyLevel_ = value;
}
}
/// <summary>Gets whether the "privacy_level" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasPrivacyLevel {
get { return (_hasBits0 & 2) != 0; }
}
/// <summary>Clears the value of the "privacy_level" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearPrivacyLevel() {
_hasBits0 &= ~2;
}
/// <summary>Field number for the "visibility_level" field.</summary>
public const int VisibilityLevelFieldNumber = 7;
private readonly static global::Bgs.Protocol.Club.V1.VisibilityLevel VisibilityLevelDefaultValue = global::Bgs.Protocol.Club.V1.VisibilityLevel.Private;
private global::Bgs.Protocol.Club.V1.VisibilityLevel visibilityLevel_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.VisibilityLevel VisibilityLevel {
get { if ((_hasBits0 & 4) != 0) { return visibilityLevel_; } else { return VisibilityLevelDefaultValue; } }
set {
_hasBits0 |= 4;
visibilityLevel_ = value;
}
}
/// <summary>Gets whether the "visibility_level" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasVisibilityLevel {
get { return (_hasBits0 & 4) != 0; }
}
/// <summary>Clears the value of the "visibility_level" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearVisibilityLevel() {
_hasBits0 &= ~4;
}
/// <summary>Field number for the "member_count" field.</summary>
public const int MemberCountFieldNumber = 8;
private readonly static uint MemberCountDefaultValue = 0;
private uint memberCount_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint MemberCount {
get { if ((_hasBits0 & 8) != 0) { return memberCount_; } else { return MemberCountDefaultValue; } }
set {
_hasBits0 |= 8;
memberCount_ = value;
}
}
/// <summary>Gets whether the "member_count" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasMemberCount {
get { return (_hasBits0 & 8) != 0; }
}
/// <summary>Clears the value of the "member_count" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearMemberCount() {
_hasBits0 &= ~8;
}
/// <summary>Field number for the "leader" field.</summary>
public const int LeaderFieldNumber = 9;
private static readonly pb::FieldCodec<global::Bgs.Protocol.Club.V1.Client.MemberDescription> _repeated_leader_codec
= pb::FieldCodec.ForMessage(74, global::Bgs.Protocol.Club.V1.Client.MemberDescription.Parser);
private readonly pbc::RepeatedField<global::Bgs.Protocol.Club.V1.Client.MemberDescription> leader_ = new pbc::RepeatedField<global::Bgs.Protocol.Club.V1.Client.MemberDescription>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Bgs.Protocol.Club.V1.Client.MemberDescription> Leader {
get { return leader_; }
}
/// <summary>Field number for the "creation_time" field.</summary>
public const int CreationTimeFieldNumber = 10;
private readonly static ulong CreationTimeDefaultValue = 0UL;
private ulong creationTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong CreationTime {
get { if ((_hasBits0 & 16) != 0) { return creationTime_; } else { return CreationTimeDefaultValue; } }
set {
_hasBits0 |= 16;
creationTime_ = value;
}
}
/// <summary>Gets whether the "creation_time" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasCreationTime {
get { return (_hasBits0 & 16) != 0; }
}
/// <summary>Clears the value of the "creation_time" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearCreationTime() {
_hasBits0 &= ~16;
}
/// <summary>Field number for the "timezone" field.</summary>
public const int TimezoneFieldNumber = 11;
private readonly static string TimezoneDefaultValue = "";
private string timezone_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Timezone {
get { return timezone_ ?? TimezoneDefaultValue; }
set {
timezone_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "timezone" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasTimezone {
get { return timezone_ != null; }
}
/// <summary>Clears the value of the "timezone" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearTimezone() {
timezone_ = null;
}
/// <summary>Field number for the "locale" field.</summary>
public const int LocaleFieldNumber = 12;
private readonly static string LocaleDefaultValue = "";
private string locale_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Locale {
get { return locale_ ?? LocaleDefaultValue; }
set {
locale_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "locale" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasLocale {
get { return locale_ != null; }
}
/// <summary>Clears the value of the "locale" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearLocale() {
locale_ = null;
}
/// <summary>Field number for the "tag" field.</summary>
public const int TagFieldNumber = 13;
private static readonly pb::FieldCodec<global::Bgs.Protocol.Club.V1.TagIdentifier> _repeated_tag_codec
= pb::FieldCodec.ForMessage(106, global::Bgs.Protocol.Club.V1.TagIdentifier.Parser);
private readonly pbc::RepeatedField<global::Bgs.Protocol.Club.V1.TagIdentifier> tag_ = new pbc::RepeatedField<global::Bgs.Protocol.Club.V1.TagIdentifier>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Bgs.Protocol.Club.V1.TagIdentifier> Tag {
get { return tag_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ClubDescription);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ClubDescription other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (!object.Equals(Type, other.Type)) return false;
if (Name != other.Name) return false;
if (Description != other.Description) return false;
if (!object.Equals(Avatar, other.Avatar)) return false;
if (PrivacyLevel != other.PrivacyLevel) return false;
if (VisibilityLevel != other.VisibilityLevel) return false;
if (MemberCount != other.MemberCount) return false;
if(!leader_.Equals(other.leader_)) return false;
if (CreationTime != other.CreationTime) return false;
if (Timezone != other.Timezone) return false;
if (Locale != other.Locale) return false;
if(!tag_.Equals(other.tag_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasId) hash ^= Id.GetHashCode();
if (HasType) hash ^= Type.GetHashCode();
if (HasName) hash ^= Name.GetHashCode();
if (HasDescription) hash ^= Description.GetHashCode();
if (HasAvatar) hash ^= Avatar.GetHashCode();
if (HasPrivacyLevel) hash ^= PrivacyLevel.GetHashCode();
if (HasVisibilityLevel) hash ^= VisibilityLevel.GetHashCode();
if (HasMemberCount) hash ^= MemberCount.GetHashCode();
hash ^= leader_.GetHashCode();
if (HasCreationTime) hash ^= CreationTime.GetHashCode();
if (HasTimezone) hash ^= Timezone.GetHashCode();
if (HasLocale) hash ^= Locale.GetHashCode();
hash ^= tag_.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 (HasType) {
output.WriteRawTag(18);
output.WriteMessage(Type);
}
if (HasName) {
output.WriteRawTag(26);
output.WriteString(Name);
}
if (HasDescription) {
output.WriteRawTag(34);
output.WriteString(Description);
}
if (HasAvatar) {
output.WriteRawTag(42);
output.WriteMessage(Avatar);
}
if (HasPrivacyLevel) {
output.WriteRawTag(48);
output.WriteEnum((int) PrivacyLevel);
}
if (HasVisibilityLevel) {
output.WriteRawTag(56);
output.WriteEnum((int) VisibilityLevel);
}
if (HasMemberCount) {
output.WriteRawTag(64);
output.WriteUInt32(MemberCount);
}
leader_.WriteTo(output, _repeated_leader_codec);
if (HasCreationTime) {
output.WriteRawTag(80);
output.WriteUInt64(CreationTime);
}
if (HasTimezone) {
output.WriteRawTag(90);
output.WriteString(Timezone);
}
if (HasLocale) {
output.WriteRawTag(98);
output.WriteString(Locale);
}
tag_.WriteTo(output, _repeated_tag_codec);
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 (HasType) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Type);
}
if (HasName) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (HasDescription) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Description);
}
if (HasAvatar) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Avatar);
}
if (HasPrivacyLevel) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PrivacyLevel);
}
if (HasVisibilityLevel) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) VisibilityLevel);
}
if (HasMemberCount) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MemberCount);
}
size += leader_.CalculateSize(_repeated_leader_codec);
if (HasCreationTime) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTime);
}
if (HasTimezone) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Timezone);
}
if (HasLocale) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Locale);
}
size += tag_.CalculateSize(_repeated_tag_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ClubDescription other) {
if (other == null) {
return;
}
if (other.HasId) {
Id = other.Id;
}
if (other.HasType) {
if (!HasType) {
Type = new global::Bgs.Protocol.Club.V1.UniqueClubType();
}
Type.MergeFrom(other.Type);
}
if (other.HasName) {
Name = other.Name;
}
if (other.HasDescription) {
Description = other.Description;
}
if (other.HasAvatar) {
if (!HasAvatar) {
Avatar = new global::Bgs.Protocol.Club.V1.AvatarId();
}
Avatar.MergeFrom(other.Avatar);
}
if (other.HasPrivacyLevel) {
PrivacyLevel = other.PrivacyLevel;
}
if (other.HasVisibilityLevel) {
VisibilityLevel = other.VisibilityLevel;
}
if (other.HasMemberCount) {
MemberCount = other.MemberCount;
}
leader_.Add(other.leader_);
if (other.HasCreationTime) {
CreationTime = other.CreationTime;
}
if (other.HasTimezone) {
Timezone = other.Timezone;
}
if (other.HasLocale) {
Locale = other.Locale;
}
tag_.Add(other.tag_);
_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: {
if (!HasType) {
Type = new global::Bgs.Protocol.Club.V1.UniqueClubType();
}
input.ReadMessage(Type);
break;
}
case 26: {
Name = input.ReadString();
break;
}
case 34: {
Description = input.ReadString();
break;
}
case 42: {
if (!HasAvatar) {
Avatar = new global::Bgs.Protocol.Club.V1.AvatarId();
}
input.ReadMessage(Avatar);
break;
}
case 48: {
PrivacyLevel = (global::Bgs.Protocol.Club.V1.PrivacyLevel) input.ReadEnum();
break;
}
case 56: {
VisibilityLevel = (global::Bgs.Protocol.Club.V1.VisibilityLevel) input.ReadEnum();
break;
}
case 64: {
MemberCount = input.ReadUInt32();
break;
}
case 74: {
leader_.AddEntriesFrom(input, _repeated_leader_codec);
break;
}
case 80: {
CreationTime = input.ReadUInt64();
break;
}
case 90: {
Timezone = input.ReadString();
break;
}
case 98: {
Locale = input.ReadString();
break;
}
case 106: {
tag_.AddEntriesFrom(input, _repeated_tag_codec);
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
@@ -0,0 +1,66 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/common/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 {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/common/v1/club_enum.proto</summary>
public static partial class ClubEnumReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/common/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(
"Ci9iZ3MvbG93L3BiL2NsaWVudC9hcGkvY29tbW9uL3YxL2NsdWJfZW51bS5w",
"cm90bxIUYmdzLnByb3RvY29sLmNsdWIudjEqggEKDFByaXZhY3lMZXZlbBIY",
"ChRQUklWQUNZX0xFVkVMX0NMT1NFRBAAEiEKHVBSSVZBQ1lfTEVWRUxfT1BF",
"Tl9JTlZJVEFUSU9OEAESHQoZUFJJVkFDWV9MRVZFTF9PUEVOX1RJQ0tFVBAC",
"EhYKElBSSVZBQ1lfTEVWRUxfT1BFThADKkwKD1Zpc2liaWxpdHlMZXZlbBIc",
"ChhWSVNJQklMSVRZX0xFVkVMX1BSSVZBVEUQABIbChdWSVNJQklMSVRZX0xF",
"VkVMX1BVQkxJQxABKncKDkpvaW5DbHViU291cmNlEhkKFUpPSU5fQ0xVQl9T",
"T1VSQ0VfTk9ORRAAEiAKHEpPSU5fQ0xVQl9TT1VSQ0VfQ0xVQl9GSU5ERVIQ",
"ARIoCiRKT0lOX0NMVUJfU09VUkNFX0NMVUJfUkVDT01NRU5EQVRJT04QAg=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Bgs.Protocol.Club.V1.PrivacyLevel), typeof(global::Bgs.Protocol.Club.V1.VisibilityLevel), typeof(global::Bgs.Protocol.Club.V1.JoinClubSource), }, null, null));
}
#endregion
}
#region Enums
public enum PrivacyLevel {
[pbr::OriginalName("PRIVACY_LEVEL_CLOSED")] Closed = 0,
[pbr::OriginalName("PRIVACY_LEVEL_OPEN_INVITATION")] OpenInvitation = 1,
[pbr::OriginalName("PRIVACY_LEVEL_OPEN_TICKET")] OpenTicket = 2,
[pbr::OriginalName("PRIVACY_LEVEL_OPEN")] Open = 3,
}
public enum VisibilityLevel {
[pbr::OriginalName("VISIBILITY_LEVEL_PRIVATE")] Private = 0,
[pbr::OriginalName("VISIBILITY_LEVEL_PUBLIC")] Public = 1,
}
public enum JoinClubSource {
[pbr::OriginalName("JOIN_CLUB_SOURCE_NONE")] None = 0,
[pbr::OriginalName("JOIN_CLUB_SOURCE_CLUB_FINDER")] ClubFinder = 1,
[pbr::OriginalName("JOIN_CLUB_SOURCE_CLUB_RECOMMENDATION")] ClubRecommendation = 2,
}
#endregion
}
#endregion Designer generated code
@@ -0,0 +1,282 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/common/v1/club_member_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.Club.V1 {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/common/v1/club_member_id.proto</summary>
public static partial class ClubMemberIdReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/common/v1/club_member_id.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ClubMemberIdReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjRiZ3MvbG93L3BiL2NsaWVudC9hcGkvY29tbW9uL3YxL2NsdWJfbWVtYmVy",
"X2lkLnByb3RvEhRiZ3MucHJvdG9jb2wuY2x1Yi52MRo5YmdzL2xvdy9wYi9j",
"bGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvbWVzc2FnZV9vcHRpb25zLnByb3Rv",
"GiViZ3MvbG93L3BiL2NsaWVudC9hY2NvdW50X3R5cGVzLnByb3RvGiFiZ3Mv",
"bG93L3BiL2NsaWVudC9ycGNfdHlwZXMucHJvdG8aN2Jncy9sb3cvcGIvY2xp",
"ZW50L2dsb2JhbF9leHRlbnNpb25zL2ZpZWxkX29wdGlvbnMucHJvdG8aOGJn",
"cy9sb3cvcGIvY2xpZW50L2dsb2JhbF9leHRlbnNpb25zL21ldGhvZF9vcHRp",
"b25zLnByb3RvGjliZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9u",
"cy9zZXJ2aWNlX29wdGlvbnMucHJvdG8ihAEKCE1lbWJlcklkEkkKFWFjY291",
"bnRfaWRfZGVwcmVjYXRlZBgBIAEoCzIiLmJncy5wcm90b2NvbC5hY2NvdW50",
"LnYxLkFjY291bnRJZEIGkvkrAiABEhEKCXVuaXF1ZV9pZBgCIAEoBBISCgph",
"Y2NvdW50X2lkGAMgASgEOgaC+SsCCAE="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.MessageOptionsReflection.Descriptor, global::Bgs.Protocol.Account.V1.AccountTypesReflection.Descriptor, global::Bgs.Protocol.RpcTypesReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MethodOptionsReflection.Descriptor, global::Bgs.Protocol.ServiceOptionsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.MemberId), global::Bgs.Protocol.Club.V1.MemberId.Parser, new[]{ "AccountIdDeprecated", "UniqueId", "AccountId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class MemberId : pb::IMessage<MemberId> {
private static readonly pb::MessageParser<MemberId> _parser = new pb::MessageParser<MemberId>(() => new MemberId());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<MemberId> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Club.V1.ClubMemberIdReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MemberId() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MemberId(MemberId other) : this() {
_hasBits0 = other._hasBits0;
accountIdDeprecated_ = other.HasAccountIdDeprecated ? other.accountIdDeprecated_.Clone() : null;
uniqueId_ = other.uniqueId_;
accountId_ = other.accountId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MemberId Clone() {
return new MemberId(this);
}
/// <summary>Field number for the "account_id_deprecated" field.</summary>
public const int AccountIdDeprecatedFieldNumber = 1;
private global::Bgs.Protocol.Account.V1.AccountId accountIdDeprecated_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Account.V1.AccountId AccountIdDeprecated {
get { return accountIdDeprecated_; }
set {
accountIdDeprecated_ = value;
}
}
/// <summary>Gets whether the account_id_deprecated field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAccountIdDeprecated {
get { return accountIdDeprecated_ != null; }
}
/// <summary>Clears the value of the account_id_deprecated field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAccountIdDeprecated() {
accountIdDeprecated_ = null;
}
/// <summary>Field number for the "unique_id" field.</summary>
public const int UniqueIdFieldNumber = 2;
private readonly static ulong UniqueIdDefaultValue = 0UL;
private ulong uniqueId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong UniqueId {
get { if ((_hasBits0 & 1) != 0) { return uniqueId_; } else { return UniqueIdDefaultValue; } }
set {
_hasBits0 |= 1;
uniqueId_ = value;
}
}
/// <summary>Gets whether the "unique_id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasUniqueId {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "unique_id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearUniqueId() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "account_id" field.</summary>
public const int AccountIdFieldNumber = 3;
private readonly static ulong AccountIdDefaultValue = 0UL;
private ulong accountId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong AccountId {
get { if ((_hasBits0 & 2) != 0) { return accountId_; } else { return AccountIdDefaultValue; } }
set {
_hasBits0 |= 2;
accountId_ = value;
}
}
/// <summary>Gets whether the "account_id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAccountId {
get { return (_hasBits0 & 2) != 0; }
}
/// <summary>Clears the value of the "account_id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAccountId() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as MemberId);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(MemberId other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(AccountIdDeprecated, other.AccountIdDeprecated)) return false;
if (UniqueId != other.UniqueId) return false;
if (AccountId != other.AccountId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAccountIdDeprecated) hash ^= AccountIdDeprecated.GetHashCode();
if (HasUniqueId) hash ^= UniqueId.GetHashCode();
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 (HasAccountIdDeprecated) {
output.WriteRawTag(10);
output.WriteMessage(AccountIdDeprecated);
}
if (HasUniqueId) {
output.WriteRawTag(16);
output.WriteUInt64(UniqueId);
}
if (HasAccountId) {
output.WriteRawTag(24);
output.WriteUInt64(AccountId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAccountIdDeprecated) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AccountIdDeprecated);
}
if (HasUniqueId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(UniqueId);
}
if (HasAccountId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(AccountId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(MemberId other) {
if (other == null) {
return;
}
if (other.HasAccountIdDeprecated) {
if (!HasAccountIdDeprecated) {
AccountIdDeprecated = new global::Bgs.Protocol.Account.V1.AccountId();
}
AccountIdDeprecated.MergeFrom(other.AccountIdDeprecated);
}
if (other.HasUniqueId) {
UniqueId = other.UniqueId;
}
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 10: {
if (!HasAccountIdDeprecated) {
AccountIdDeprecated = new global::Bgs.Protocol.Account.V1.AccountId();
}
input.ReadMessage(AccountIdDeprecated);
break;
}
case 16: {
UniqueId = input.ReadUInt64();
break;
}
case 24: {
AccountId = input.ReadUInt64();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
@@ -0,0 +1,649 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/common/v1/club_tag.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 {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/common/v1/club_tag.proto</summary>
public static partial class ClubTagReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/common/v1/club_tag.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ClubTagReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ci5iZ3MvbG93L3BiL2NsaWVudC9hcGkvY29tbW9uL3YxL2NsdWJfdGFnLnBy",
"b3RvEhRiZ3MucHJvdG9jb2wuY2x1Yi52MRohYmdzL2xvdy9wYi9jbGllbnQv",
"cnBjX3R5cGVzLnByb3RvGjdiZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0",
"ZW5zaW9ucy9maWVsZF9vcHRpb25zLnByb3RvGjliZ3MvbG93L3BiL2NsaWVu",
"dC9nbG9iYWxfZXh0ZW5zaW9ucy9tZXNzYWdlX29wdGlvbnMucHJvdG8aOGJn",
"cy9sb3cvcGIvY2xpZW50L2dsb2JhbF9leHRlbnNpb25zL21ldGhvZF9vcHRp",
"b25zLnByb3RvGjliZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9u",
"cy9zZXJ2aWNlX29wdGlvbnMucHJvdG8iXwoKVGFnT3B0aW9ucxIfCgZhY3Rp",
"b24YASABKA1CD4L5KwsqCVRhZ0FjdGlvbhIwCgN0YWcYAiADKAsyIy5iZ3Mu",
"cHJvdG9jb2wuY2x1Yi52MS5UYWdJZGVudGlmaWVyIjgKDVRhZ0lkZW50aWZp",
"ZXISCgoCaWQYASABKA0SGwoEdHlwZRgCIAEoDUINgvkrCSoHVGFnVHlwZSJm",
"CgxMb2NhbGl6ZWRUYWcSMwoGdGFnX2lkGAEgASgLMiMuYmdzLnByb3RvY29s",
"LmNsdWIudjEuVGFnSWRlbnRpZmllchIMCgRuYW1lGAIgASgJEhMKC2Rlc2Ny",
"aXB0aW9uGAMgASgJKkoKCVRhZ0FjdGlvbhITCg9UQUdfQUNUSU9OX05PTkUQ",
"ABIUChBUQUdfQUNUSU9OX0NMRUFSEAESEgoOVEFHX0FDVElPTl9TRVQQAipL",
"CgdUYWdUeXBlEhQKEFRBR19UWVBFX0lOVkFMSUQQABIVChFUQUdfVFlQRV9Q",
"TEFURk9STRABEhMKD1RBR19UWVBFX0NVU1RPTRAC"));
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(new[] {typeof(global::Bgs.Protocol.Club.V1.TagAction), typeof(global::Bgs.Protocol.Club.V1.TagType), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.TagOptions), global::Bgs.Protocol.Club.V1.TagOptions.Parser, new[]{ "Action", "Tag" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.TagIdentifier), global::Bgs.Protocol.Club.V1.TagIdentifier.Parser, new[]{ "Id", "Type" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.LocalizedTag), global::Bgs.Protocol.Club.V1.LocalizedTag.Parser, new[]{ "TagId", "Name", "Description" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum TagAction {
[pbr::OriginalName("TAG_ACTION_NONE")] None = 0,
[pbr::OriginalName("TAG_ACTION_CLEAR")] Clear = 1,
[pbr::OriginalName("TAG_ACTION_SET")] Set = 2,
}
public enum TagType {
[pbr::OriginalName("TAG_TYPE_INVALID")] Invalid = 0,
[pbr::OriginalName("TAG_TYPE_PLATFORM")] Platform = 1,
[pbr::OriginalName("TAG_TYPE_CUSTOM")] Custom = 2,
}
#endregion
#region Messages
public sealed partial class TagOptions : pb::IMessage<TagOptions> {
private static readonly pb::MessageParser<TagOptions> _parser = new pb::MessageParser<TagOptions>(() => new TagOptions());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<TagOptions> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Club.V1.ClubTagReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TagOptions() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TagOptions(TagOptions other) : this() {
_hasBits0 = other._hasBits0;
action_ = other.action_;
tag_ = other.tag_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TagOptions Clone() {
return new TagOptions(this);
}
/// <summary>Field number for the "action" field.</summary>
public const int ActionFieldNumber = 1;
private readonly static uint ActionDefaultValue = 0;
private uint action_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Action {
get { if ((_hasBits0 & 1) != 0) { return action_; } else { return ActionDefaultValue; } }
set {
_hasBits0 |= 1;
action_ = value;
}
}
/// <summary>Gets whether the "action" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasAction {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "action" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearAction() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "tag" field.</summary>
public const int TagFieldNumber = 2;
private static readonly pb::FieldCodec<global::Bgs.Protocol.Club.V1.TagIdentifier> _repeated_tag_codec
= pb::FieldCodec.ForMessage(18, global::Bgs.Protocol.Club.V1.TagIdentifier.Parser);
private readonly pbc::RepeatedField<global::Bgs.Protocol.Club.V1.TagIdentifier> tag_ = new pbc::RepeatedField<global::Bgs.Protocol.Club.V1.TagIdentifier>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Bgs.Protocol.Club.V1.TagIdentifier> Tag {
get { return tag_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as TagOptions);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(TagOptions other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Action != other.Action) return false;
if(!tag_.Equals(other.tag_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasAction) hash ^= Action.GetHashCode();
hash ^= tag_.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 (HasAction) {
output.WriteRawTag(8);
output.WriteUInt32(Action);
}
tag_.WriteTo(output, _repeated_tag_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasAction) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Action);
}
size += tag_.CalculateSize(_repeated_tag_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(TagOptions other) {
if (other == null) {
return;
}
if (other.HasAction) {
Action = other.Action;
}
tag_.Add(other.tag_);
_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: {
Action = input.ReadUInt32();
break;
}
case 18: {
tag_.AddEntriesFrom(input, _repeated_tag_codec);
break;
}
}
}
}
}
public sealed partial class TagIdentifier : pb::IMessage<TagIdentifier> {
private static readonly pb::MessageParser<TagIdentifier> _parser = new pb::MessageParser<TagIdentifier>(() => new TagIdentifier());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<TagIdentifier> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Club.V1.ClubTagReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TagIdentifier() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TagIdentifier(TagIdentifier other) : this() {
_hasBits0 = other._hasBits0;
id_ = other.id_;
type_ = other.type_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TagIdentifier Clone() {
return new TagIdentifier(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private readonly static uint IdDefaultValue = 0;
private uint id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint 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 "type" field.</summary>
public const int TypeFieldNumber = 2;
private readonly static uint TypeDefaultValue = 0;
private uint type_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Type {
get { if ((_hasBits0 & 2) != 0) { return type_; } else { return TypeDefaultValue; } }
set {
_hasBits0 |= 2;
type_ = value;
}
}
/// <summary>Gets whether the "type" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasType {
get { return (_hasBits0 & 2) != 0; }
}
/// <summary>Clears the value of the "type" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearType() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as TagIdentifier);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(TagIdentifier other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (Type != other.Type) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasId) hash ^= Id.GetHashCode();
if (HasType) hash ^= Type.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (HasId) {
output.WriteRawTag(8);
output.WriteUInt32(Id);
}
if (HasType) {
output.WriteRawTag(16);
output.WriteUInt32(Type);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasId) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
}
if (HasType) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Type);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(TagIdentifier other) {
if (other == null) {
return;
}
if (other.HasId) {
Id = other.Id;
}
if (other.HasType) {
Type = other.Type;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Id = input.ReadUInt32();
break;
}
case 16: {
Type = input.ReadUInt32();
break;
}
}
}
}
}
public sealed partial class LocalizedTag : pb::IMessage<LocalizedTag> {
private static readonly pb::MessageParser<LocalizedTag> _parser = new pb::MessageParser<LocalizedTag>(() => new LocalizedTag());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<LocalizedTag> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Club.V1.ClubTagReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LocalizedTag() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LocalizedTag(LocalizedTag other) : this() {
tagId_ = other.HasTagId ? other.tagId_.Clone() : null;
name_ = other.name_;
description_ = other.description_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public LocalizedTag Clone() {
return new LocalizedTag(this);
}
/// <summary>Field number for the "tag_id" field.</summary>
public const int TagIdFieldNumber = 1;
private global::Bgs.Protocol.Club.V1.TagIdentifier tagId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Club.V1.TagIdentifier TagId {
get { return tagId_; }
set {
tagId_ = value;
}
}
/// <summary>Gets whether the tag_id field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasTagId {
get { return tagId_ != null; }
}
/// <summary>Clears the value of the tag_id field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearTagId() {
tagId_ = null;
}
/// <summary>Field number for the "name" field.</summary>
public const int NameFieldNumber = 2;
private readonly static string NameDefaultValue = "";
private string name_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Name {
get { return name_ ?? NameDefaultValue; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "name" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasName {
get { return name_ != null; }
}
/// <summary>Clears the value of the "name" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearName() {
name_ = null;
}
/// <summary>Field number for the "description" field.</summary>
public const int DescriptionFieldNumber = 3;
private readonly static string DescriptionDefaultValue = "";
private string description_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Description {
get { return description_ ?? DescriptionDefaultValue; }
set {
description_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "description" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasDescription {
get { return description_ != null; }
}
/// <summary>Clears the value of the "description" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearDescription() {
description_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as LocalizedTag);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(LocalizedTag other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(TagId, other.TagId)) return false;
if (Name != other.Name) return false;
if (Description != other.Description) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasTagId) hash ^= TagId.GetHashCode();
if (HasName) hash ^= Name.GetHashCode();
if (HasDescription) hash ^= Description.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 (HasTagId) {
output.WriteRawTag(10);
output.WriteMessage(TagId);
}
if (HasName) {
output.WriteRawTag(18);
output.WriteString(Name);
}
if (HasDescription) {
output.WriteRawTag(26);
output.WriteString(Description);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasTagId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TagId);
}
if (HasName) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (HasDescription) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Description);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(LocalizedTag other) {
if (other == null) {
return;
}
if (other.HasTagId) {
if (!HasTagId) {
TagId = new global::Bgs.Protocol.Club.V1.TagIdentifier();
}
TagId.MergeFrom(other.TagId);
}
if (other.HasName) {
Name = other.Name;
}
if (other.HasDescription) {
Description = other.Description;
}
_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 (!HasTagId) {
TagId = new global::Bgs.Protocol.Club.V1.TagIdentifier();
}
input.ReadMessage(TagId);
break;
}
case 18: {
Name = input.ReadString();
break;
}
case 26: {
Description = input.ReadString();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
@@ -0,0 +1,228 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/common/v1/club_type.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 {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/common/v1/club_type.proto</summary>
public static partial class ClubTypeReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/common/v1/club_type.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ClubTypeReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ci9iZ3MvbG93L3BiL2NsaWVudC9hcGkvY29tbW9uL3YxL2NsdWJfdHlwZS5w",
"cm90bxIUYmdzLnByb3RvY29sLmNsdWIudjEiLwoOVW5pcXVlQ2x1YlR5cGUS",
"DwoHcHJvZ3JhbRgBIAEoBxIMCgRuYW1lGAIgASgJ"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.UniqueClubType), global::Bgs.Protocol.Club.V1.UniqueClubType.Parser, new[]{ "Program", "Name" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class UniqueClubType : pb::IMessage<UniqueClubType> {
private static readonly pb::MessageParser<UniqueClubType> _parser = new pb::MessageParser<UniqueClubType>(() => new UniqueClubType());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<UniqueClubType> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Club.V1.ClubTypeReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UniqueClubType() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UniqueClubType(UniqueClubType other) : this() {
_hasBits0 = other._hasBits0;
program_ = other.program_;
name_ = other.name_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public UniqueClubType Clone() {
return new UniqueClubType(this);
}
/// <summary>Field number for the "program" field.</summary>
public const int ProgramFieldNumber = 1;
private readonly static uint ProgramDefaultValue = 0;
private uint program_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Program {
get { if ((_hasBits0 & 1) != 0) { return program_; } else { return ProgramDefaultValue; } }
set {
_hasBits0 |= 1;
program_ = value;
}
}
/// <summary>Gets whether the "program" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasProgram {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "program" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearProgram() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "name" field.</summary>
public const int NameFieldNumber = 2;
private readonly static string NameDefaultValue = "";
private string name_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Name {
get { return name_ ?? NameDefaultValue; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "name" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasName {
get { return name_ != null; }
}
/// <summary>Clears the value of the "name" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearName() {
name_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as UniqueClubType);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(UniqueClubType other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Program != other.Program) return false;
if (Name != other.Name) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasProgram) hash ^= Program.GetHashCode();
if (HasName) hash ^= Name.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 (HasProgram) {
output.WriteRawTag(13);
output.WriteFixed32(Program);
}
if (HasName) {
output.WriteRawTag(18);
output.WriteString(Name);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasProgram) {
size += 1 + 4;
}
if (HasName) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(UniqueClubType other) {
if (other == null) {
return;
}
if (other.HasProgram) {
Program = other.Program;
}
if (other.HasName) {
Name = other.Name;
}
_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 13: {
Program = input.ReadFixed32();
break;
}
case 18: {
Name = input.ReadString();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,510 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/common/v1/event_view_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 {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/common/v1/event_view_types.proto</summary>
public static partial class EventViewTypesReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/common/v1/event_view_types.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static EventViewTypesReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjZiZ3MvbG93L3BiL2NsaWVudC9hcGkvY29tbW9uL3YxL2V2ZW50X3ZpZXdf",
"dHlwZXMucHJvdG8SDGJncy5wcm90b2NvbCKJAQoPR2V0RXZlbnRPcHRpb25z",
"EhIKCmZldGNoX2Zyb20YASABKAQSEwoLZmV0Y2hfdW50aWwYAiABKAQSEgoK",
"bWF4X2V2ZW50cxgDIAEoDRI5CgVvcmRlchgEIAEoDjIYLmJncy5wcm90b2Nv",
"bC5FdmVudE9yZGVyOhBFVkVOVF9ERVNDRU5ESU5HIj8KClZpZXdNYXJrZXIS",
"FgoObGFzdF9yZWFkX3RpbWUYASABKAQSGQoRbGFzdF9tZXNzYWdlX3RpbWUY",
"AiABKAQqNwoKRXZlbnRPcmRlchIUChBFVkVOVF9ERVNDRU5ESU5HEAASEwoP",
"RVZFTlRfQVNDRU5ESU5HEAE="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Bgs.Protocol.EventOrder), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.GetEventOptions), global::Bgs.Protocol.GetEventOptions.Parser, new[]{ "FetchFrom", "FetchUntil", "MaxEvents", "Order" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.ViewMarker), global::Bgs.Protocol.ViewMarker.Parser, new[]{ "LastReadTime", "LastMessageTime" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum EventOrder {
[pbr::OriginalName("EVENT_DESCENDING")] EventDescending = 0,
[pbr::OriginalName("EVENT_ASCENDING")] EventAscending = 1,
}
#endregion
#region Messages
public sealed partial class GetEventOptions : pb::IMessage<GetEventOptions> {
private static readonly pb::MessageParser<GetEventOptions> _parser = new pb::MessageParser<GetEventOptions>(() => new GetEventOptions());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<GetEventOptions> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.EventViewTypesReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetEventOptions() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetEventOptions(GetEventOptions other) : this() {
_hasBits0 = other._hasBits0;
fetchFrom_ = other.fetchFrom_;
fetchUntil_ = other.fetchUntil_;
maxEvents_ = other.maxEvents_;
order_ = other.order_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GetEventOptions Clone() {
return new GetEventOptions(this);
}
/// <summary>Field number for the "fetch_from" field.</summary>
public const int FetchFromFieldNumber = 1;
private readonly static ulong FetchFromDefaultValue = 0UL;
private ulong fetchFrom_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong FetchFrom {
get { if ((_hasBits0 & 1) != 0) { return fetchFrom_; } else { return FetchFromDefaultValue; } }
set {
_hasBits0 |= 1;
fetchFrom_ = value;
}
}
/// <summary>Gets whether the "fetch_from" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasFetchFrom {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "fetch_from" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearFetchFrom() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "fetch_until" field.</summary>
public const int FetchUntilFieldNumber = 2;
private readonly static ulong FetchUntilDefaultValue = 0UL;
private ulong fetchUntil_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong FetchUntil {
get { if ((_hasBits0 & 2) != 0) { return fetchUntil_; } else { return FetchUntilDefaultValue; } }
set {
_hasBits0 |= 2;
fetchUntil_ = value;
}
}
/// <summary>Gets whether the "fetch_until" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasFetchUntil {
get { return (_hasBits0 & 2) != 0; }
}
/// <summary>Clears the value of the "fetch_until" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearFetchUntil() {
_hasBits0 &= ~2;
}
/// <summary>Field number for the "max_events" field.</summary>
public const int MaxEventsFieldNumber = 3;
private readonly static uint MaxEventsDefaultValue = 0;
private uint maxEvents_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint MaxEvents {
get { if ((_hasBits0 & 4) != 0) { return maxEvents_; } else { return MaxEventsDefaultValue; } }
set {
_hasBits0 |= 4;
maxEvents_ = value;
}
}
/// <summary>Gets whether the "max_events" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasMaxEvents {
get { return (_hasBits0 & 4) != 0; }
}
/// <summary>Clears the value of the "max_events" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearMaxEvents() {
_hasBits0 &= ~4;
}
/// <summary>Field number for the "order" field.</summary>
public const int OrderFieldNumber = 4;
private readonly static global::Bgs.Protocol.EventOrder OrderDefaultValue = global::Bgs.Protocol.EventOrder.EventDescending;
private global::Bgs.Protocol.EventOrder order_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.EventOrder Order {
get { if ((_hasBits0 & 8) != 0) { return order_; } else { return OrderDefaultValue; } }
set {
_hasBits0 |= 8;
order_ = value;
}
}
/// <summary>Gets whether the "order" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasOrder {
get { return (_hasBits0 & 8) != 0; }
}
/// <summary>Clears the value of the "order" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearOrder() {
_hasBits0 &= ~8;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GetEventOptions);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GetEventOptions other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (FetchFrom != other.FetchFrom) return false;
if (FetchUntil != other.FetchUntil) return false;
if (MaxEvents != other.MaxEvents) return false;
if (Order != other.Order) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasFetchFrom) hash ^= FetchFrom.GetHashCode();
if (HasFetchUntil) hash ^= FetchUntil.GetHashCode();
if (HasMaxEvents) hash ^= MaxEvents.GetHashCode();
if (HasOrder) hash ^= Order.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 (HasFetchFrom) {
output.WriteRawTag(8);
output.WriteUInt64(FetchFrom);
}
if (HasFetchUntil) {
output.WriteRawTag(16);
output.WriteUInt64(FetchUntil);
}
if (HasMaxEvents) {
output.WriteRawTag(24);
output.WriteUInt32(MaxEvents);
}
if (HasOrder) {
output.WriteRawTag(32);
output.WriteEnum((int) Order);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasFetchFrom) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(FetchFrom);
}
if (HasFetchUntil) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(FetchUntil);
}
if (HasMaxEvents) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxEvents);
}
if (HasOrder) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Order);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GetEventOptions other) {
if (other == null) {
return;
}
if (other.HasFetchFrom) {
FetchFrom = other.FetchFrom;
}
if (other.HasFetchUntil) {
FetchUntil = other.FetchUntil;
}
if (other.HasMaxEvents) {
MaxEvents = other.MaxEvents;
}
if (other.HasOrder) {
Order = other.Order;
}
_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: {
FetchFrom = input.ReadUInt64();
break;
}
case 16: {
FetchUntil = input.ReadUInt64();
break;
}
case 24: {
MaxEvents = input.ReadUInt32();
break;
}
case 32: {
Order = (global::Bgs.Protocol.EventOrder) input.ReadEnum();
break;
}
}
}
}
}
public sealed partial class ViewMarker : pb::IMessage<ViewMarker> {
private static readonly pb::MessageParser<ViewMarker> _parser = new pb::MessageParser<ViewMarker>(() => new ViewMarker());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ViewMarker> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.EventViewTypesReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ViewMarker() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ViewMarker(ViewMarker other) : this() {
_hasBits0 = other._hasBits0;
lastReadTime_ = other.lastReadTime_;
lastMessageTime_ = other.lastMessageTime_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ViewMarker Clone() {
return new ViewMarker(this);
}
/// <summary>Field number for the "last_read_time" field.</summary>
public const int LastReadTimeFieldNumber = 1;
private readonly static ulong LastReadTimeDefaultValue = 0UL;
private ulong lastReadTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong LastReadTime {
get { if ((_hasBits0 & 1) != 0) { return lastReadTime_; } else { return LastReadTimeDefaultValue; } }
set {
_hasBits0 |= 1;
lastReadTime_ = value;
}
}
/// <summary>Gets whether the "last_read_time" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasLastReadTime {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "last_read_time" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearLastReadTime() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "last_message_time" field.</summary>
public const int LastMessageTimeFieldNumber = 2;
private readonly static ulong LastMessageTimeDefaultValue = 0UL;
private ulong lastMessageTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong LastMessageTime {
get { if ((_hasBits0 & 2) != 0) { return lastMessageTime_; } else { return LastMessageTimeDefaultValue; } }
set {
_hasBits0 |= 2;
lastMessageTime_ = value;
}
}
/// <summary>Gets whether the "last_message_time" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasLastMessageTime {
get { return (_hasBits0 & 2) != 0; }
}
/// <summary>Clears the value of the "last_message_time" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearLastMessageTime() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ViewMarker);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ViewMarker other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (LastReadTime != other.LastReadTime) return false;
if (LastMessageTime != other.LastMessageTime) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasLastReadTime) hash ^= LastReadTime.GetHashCode();
if (HasLastMessageTime) hash ^= LastMessageTime.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 (HasLastReadTime) {
output.WriteRawTag(8);
output.WriteUInt64(LastReadTime);
}
if (HasLastMessageTime) {
output.WriteRawTag(16);
output.WriteUInt64(LastMessageTime);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasLastReadTime) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LastReadTime);
}
if (HasLastMessageTime) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(LastMessageTime);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ViewMarker other) {
if (other == null) {
return;
}
if (other.HasLastReadTime) {
LastReadTime = other.LastReadTime;
}
if (other.HasLastMessageTime) {
LastMessageTime = other.LastMessageTime;
}
_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: {
LastReadTime = input.ReadUInt64();
break;
}
case 16: {
LastMessageTime = input.ReadUInt64();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
@@ -0,0 +1,785 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/common/v1/invitation_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 {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/common/v1/invitation_types.proto</summary>
public static partial class InvitationTypesReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/common/v1/invitation_types.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static InvitationTypesReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjZiZ3MvbG93L3BiL2NsaWVudC9hcGkvY29tbW9uL3YxL2ludml0YXRpb25f",
"dHlwZXMucHJvdG8SDGJncy5wcm90b2NvbBokYmdzL2xvdy9wYi9jbGllbnQv",
"ZW50aXR5X3R5cGVzLnByb3RvGjdiZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxf",
"ZXh0ZW5zaW9ucy9maWVsZF9vcHRpb25zLnByb3RvIosCCgpJbnZpdGF0aW9u",
"EgoKAmlkGAEgAigGEjAKEGludml0ZXJfaWRlbnRpdHkYAiACKAsyFi5iZ3Mu",
"cHJvdG9jb2wuSWRlbnRpdHkSMAoQaW52aXRlZV9pZGVudGl0eRgDIAIoCzIW",
"LmJncy5wcm90b2NvbC5JZGVudGl0eRIcCgxpbnZpdGVyX25hbWUYBCABKAlC",
"BoL5KwIIARIcCgxpbnZpdGVlX25hbWUYBSABKAlCBoL5KwIIARIaChJpbnZp",
"dGF0aW9uX21lc3NhZ2UYBiABKAkSFQoNY3JlYXRpb25fdGltZRgHIAEoBBIX",
"Cg9leHBpcmF0aW9uX3RpbWUYCCABKAQqBQhkEJFOIlIKEEludml0YXRpb25Q",
"YXJhbXMSHgoSaW52aXRhdGlvbl9tZXNzYWdlGAEgASgJQgIYARIXCg9leHBp",
"cmF0aW9uX3RpbWUYAiABKAQqBQhkEJFOKoYCChdJbnZpdGF0aW9uUmVtb3Zl",
"ZFJlYXNvbhImCiJJTlZJVEFUSU9OX1JFTU9WRURfUkVBU09OX0FDQ0VQVEVE",
"EAASJgoiSU5WSVRBVElPTl9SRU1PVkVEX1JFQVNPTl9ERUNMSU5FRBABEiUK",
"IUlOVklUQVRJT05fUkVNT1ZFRF9SRUFTT05fUkVWT0tFRBACEiUKIUlOVklU",
"QVRJT05fUkVNT1ZFRF9SRUFTT05fSUdOT1JFRBADEiUKIUlOVklUQVRJT05f",
"UkVNT1ZFRF9SRUFTT05fRVhQSVJFRBAEEiYKIklOVklUQVRJT05fUkVNT1ZF",
"RF9SRUFTT05fQ0FOQ0VMRUQQBSq4AQoXU3VnZ2VzdGlvblJlbW92ZWRSZWFz",
"b24SJgoiU1VHR0VTVElPTl9SRU1PVkVEX1JFQVNPTl9BUFBST1ZFRBAAEiYK",
"IlNVR0dFU1RJT05fUkVNT1ZFRF9SRUFTT05fREVDTElORUQQARIlCiFTVUdH",
"RVNUSU9OX1JFTU9WRURfUkVBU09OX0VYUElSRUQQAhImCiJTVUdHRVNUSU9O",
"X1JFTU9WRURfUkVBU09OX0NBTkNFTEVEEANCJAoMYmdzLnByb3RvY29sQhRJ",
"bnZpdGF0aW9uVHlwZXNQcm90bw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.EntityTypesReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Bgs.Protocol.InvitationRemovedReason), typeof(global::Bgs.Protocol.SuggestionRemovedReason), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Invitation), global::Bgs.Protocol.Invitation.Parser, new[]{ "Id", "InviterIdentity", "InviteeIdentity", "InviterName", "InviteeName", "InvitationMessage", "CreationTime", "ExpirationTime" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.InvitationParams), global::Bgs.Protocol.InvitationParams.Parser, new[]{ "InvitationMessage", "ExpirationTime" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum InvitationRemovedReason {
[pbr::OriginalName("INVITATION_REMOVED_REASON_ACCEPTED")] Accepted = 0,
[pbr::OriginalName("INVITATION_REMOVED_REASON_DECLINED")] Declined = 1,
[pbr::OriginalName("INVITATION_REMOVED_REASON_REVOKED")] Revoked = 2,
[pbr::OriginalName("INVITATION_REMOVED_REASON_IGNORED")] Ignored = 3,
[pbr::OriginalName("INVITATION_REMOVED_REASON_EXPIRED")] Expired = 4,
[pbr::OriginalName("INVITATION_REMOVED_REASON_CANCELED")] Canceled = 5,
}
public enum SuggestionRemovedReason {
[pbr::OriginalName("SUGGESTION_REMOVED_REASON_APPROVED")] Approved = 0,
[pbr::OriginalName("SUGGESTION_REMOVED_REASON_DECLINED")] Declined = 1,
[pbr::OriginalName("SUGGESTION_REMOVED_REASON_EXPIRED")] Expired = 2,
[pbr::OriginalName("SUGGESTION_REMOVED_REASON_CANCELED")] Canceled = 3,
}
#endregion
#region Messages
public sealed partial class Invitation : pb::IExtendableMessage<Invitation> {
private static readonly pb::MessageParser<Invitation> _parser = new pb::MessageParser<Invitation>(() => new Invitation());
private pb::UnknownFieldSet _unknownFields;
private pb::ExtensionSet<Invitation> _extensions;
private pb::ExtensionSet<Invitation> _Extensions => _extensions;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<Invitation> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.InvitationTypesReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Invitation() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Invitation(Invitation other) : this() {
_hasBits0 = other._hasBits0;
id_ = other.id_;
inviterIdentity_ = other.HasInviterIdentity ? other.inviterIdentity_.Clone() : null;
inviteeIdentity_ = other.HasInviteeIdentity ? other.inviteeIdentity_.Clone() : null;
inviterName_ = other.inviterName_;
inviteeName_ = other.inviteeName_;
invitationMessage_ = other.invitationMessage_;
creationTime_ = other.creationTime_;
expirationTime_ = other.expirationTime_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
_extensions = pb::ExtensionSet.Clone(other._extensions);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Invitation Clone() {
return new Invitation(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 "inviter_identity" field.</summary>
public const int InviterIdentityFieldNumber = 2;
private global::Bgs.Protocol.Identity inviterIdentity_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Identity InviterIdentity {
get { return inviterIdentity_; }
set {
inviterIdentity_ = value;
}
}
/// <summary>Gets whether the inviter_identity field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasInviterIdentity {
get { return inviterIdentity_ != null; }
}
/// <summary>Clears the value of the inviter_identity field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearInviterIdentity() {
inviterIdentity_ = null;
}
/// <summary>Field number for the "invitee_identity" field.</summary>
public const int InviteeIdentityFieldNumber = 3;
private global::Bgs.Protocol.Identity inviteeIdentity_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.Identity InviteeIdentity {
get { return inviteeIdentity_; }
set {
inviteeIdentity_ = value;
}
}
/// <summary>Gets whether the invitee_identity field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasInviteeIdentity {
get { return inviteeIdentity_ != null; }
}
/// <summary>Clears the value of the invitee_identity field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearInviteeIdentity() {
inviteeIdentity_ = null;
}
/// <summary>Field number for the "inviter_name" field.</summary>
public const int InviterNameFieldNumber = 4;
private readonly static string InviterNameDefaultValue = "";
private string inviterName_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string InviterName {
get { return inviterName_ ?? InviterNameDefaultValue; }
set {
inviterName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "inviter_name" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasInviterName {
get { return inviterName_ != null; }
}
/// <summary>Clears the value of the "inviter_name" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearInviterName() {
inviterName_ = null;
}
/// <summary>Field number for the "invitee_name" field.</summary>
public const int InviteeNameFieldNumber = 5;
private readonly static string InviteeNameDefaultValue = "";
private string inviteeName_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string InviteeName {
get { return inviteeName_ ?? InviteeNameDefaultValue; }
set {
inviteeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "invitee_name" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasInviteeName {
get { return inviteeName_ != null; }
}
/// <summary>Clears the value of the "invitee_name" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearInviteeName() {
inviteeName_ = null;
}
/// <summary>Field number for the "invitation_message" field.</summary>
public const int InvitationMessageFieldNumber = 6;
private readonly static string InvitationMessageDefaultValue = "";
private string invitationMessage_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string InvitationMessage {
get { return invitationMessage_ ?? InvitationMessageDefaultValue; }
set {
invitationMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "invitation_message" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasInvitationMessage {
get { return invitationMessage_ != null; }
}
/// <summary>Clears the value of the "invitation_message" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearInvitationMessage() {
invitationMessage_ = null;
}
/// <summary>Field number for the "creation_time" field.</summary>
public const int CreationTimeFieldNumber = 7;
private readonly static ulong CreationTimeDefaultValue = 0UL;
private ulong creationTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong CreationTime {
get { if ((_hasBits0 & 2) != 0) { return creationTime_; } else { return CreationTimeDefaultValue; } }
set {
_hasBits0 |= 2;
creationTime_ = value;
}
}
/// <summary>Gets whether the "creation_time" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasCreationTime {
get { return (_hasBits0 & 2) != 0; }
}
/// <summary>Clears the value of the "creation_time" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearCreationTime() {
_hasBits0 &= ~2;
}
/// <summary>Field number for the "expiration_time" field.</summary>
public const int ExpirationTimeFieldNumber = 8;
private readonly static ulong ExpirationTimeDefaultValue = 0UL;
private ulong expirationTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ExpirationTime {
get { if ((_hasBits0 & 4) != 0) { return expirationTime_; } else { return ExpirationTimeDefaultValue; } }
set {
_hasBits0 |= 4;
expirationTime_ = value;
}
}
/// <summary>Gets whether the "expiration_time" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasExpirationTime {
get { return (_hasBits0 & 4) != 0; }
}
/// <summary>Clears the value of the "expiration_time" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearExpirationTime() {
_hasBits0 &= ~4;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Invitation);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Invitation other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (!object.Equals(InviterIdentity, other.InviterIdentity)) return false;
if (!object.Equals(InviteeIdentity, other.InviteeIdentity)) return false;
if (InviterName != other.InviterName) return false;
if (InviteeName != other.InviteeName) return false;
if (InvitationMessage != other.InvitationMessage) return false;
if (CreationTime != other.CreationTime) return false;
if (ExpirationTime != other.ExpirationTime) return false;
if (!Equals(_extensions, other._extensions)) {
return false;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasId) hash ^= Id.GetHashCode();
if (HasInviterIdentity) hash ^= InviterIdentity.GetHashCode();
if (HasInviteeIdentity) hash ^= InviteeIdentity.GetHashCode();
if (HasInviterName) hash ^= InviterName.GetHashCode();
if (HasInviteeName) hash ^= InviteeName.GetHashCode();
if (HasInvitationMessage) hash ^= InvitationMessage.GetHashCode();
if (HasCreationTime) hash ^= CreationTime.GetHashCode();
if (HasExpirationTime) hash ^= ExpirationTime.GetHashCode();
if (_extensions != null) {
hash ^= _extensions.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(9);
output.WriteFixed64(Id);
}
if (HasInviterIdentity) {
output.WriteRawTag(18);
output.WriteMessage(InviterIdentity);
}
if (HasInviteeIdentity) {
output.WriteRawTag(26);
output.WriteMessage(InviteeIdentity);
}
if (HasInviterName) {
output.WriteRawTag(34);
output.WriteString(InviterName);
}
if (HasInviteeName) {
output.WriteRawTag(42);
output.WriteString(InviteeName);
}
if (HasInvitationMessage) {
output.WriteRawTag(50);
output.WriteString(InvitationMessage);
}
if (HasCreationTime) {
output.WriteRawTag(56);
output.WriteUInt64(CreationTime);
}
if (HasExpirationTime) {
output.WriteRawTag(64);
output.WriteUInt64(ExpirationTime);
}
if (_extensions != null) {
_extensions.WriteTo(output);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasId) {
size += 1 + 8;
}
if (HasInviterIdentity) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(InviterIdentity);
}
if (HasInviteeIdentity) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(InviteeIdentity);
}
if (HasInviterName) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(InviterName);
}
if (HasInviteeName) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(InviteeName);
}
if (HasInvitationMessage) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(InvitationMessage);
}
if (HasCreationTime) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(CreationTime);
}
if (HasExpirationTime) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ExpirationTime);
}
if (_extensions != null) {
size += _extensions.CalculateSize();
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Invitation other) {
if (other == null) {
return;
}
if (other.HasId) {
Id = other.Id;
}
if (other.HasInviterIdentity) {
if (!HasInviterIdentity) {
InviterIdentity = new global::Bgs.Protocol.Identity();
}
InviterIdentity.MergeFrom(other.InviterIdentity);
}
if (other.HasInviteeIdentity) {
if (!HasInviteeIdentity) {
InviteeIdentity = new global::Bgs.Protocol.Identity();
}
InviteeIdentity.MergeFrom(other.InviteeIdentity);
}
if (other.HasInviterName) {
InviterName = other.InviterName;
}
if (other.HasInviteeName) {
InviteeName = other.InviteeName;
}
if (other.HasInvitationMessage) {
InvitationMessage = other.InvitationMessage;
}
if (other.HasCreationTime) {
CreationTime = other.CreationTime;
}
if (other.HasExpirationTime) {
ExpirationTime = other.ExpirationTime;
}
pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
_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:
if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
}
break;
case 9: {
Id = input.ReadFixed64();
break;
}
case 18: {
if (!HasInviterIdentity) {
InviterIdentity = new global::Bgs.Protocol.Identity();
}
input.ReadMessage(InviterIdentity);
break;
}
case 26: {
if (!HasInviteeIdentity) {
InviteeIdentity = new global::Bgs.Protocol.Identity();
}
input.ReadMessage(InviteeIdentity);
break;
}
case 34: {
InviterName = input.ReadString();
break;
}
case 42: {
InviteeName = input.ReadString();
break;
}
case 50: {
InvitationMessage = input.ReadString();
break;
}
case 56: {
CreationTime = input.ReadUInt64();
break;
}
case 64: {
ExpirationTime = input.ReadUInt64();
break;
}
}
}
}
public TValue GetExtension<TValue>(pb::Extension<Invitation, TValue> extension) {
return pb::ExtensionSet.Get(ref _extensions, extension);
}
public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<Invitation, TValue> extension) {
return pb::ExtensionSet.Get(ref _extensions, extension);
}
public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<Invitation, TValue> extension) {
return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension);
}
public void SetExtension<TValue>(pb::Extension<Invitation, TValue> extension, TValue value) {
pb::ExtensionSet.Set(ref _extensions, extension, value);
}
public bool HasExtension<TValue>(pb::Extension<Invitation, TValue> extension) {
return pb::ExtensionSet.Has(ref _extensions, extension);
}
public void ClearExtension<TValue>(pb::Extension<Invitation, TValue> extension) {
pb::ExtensionSet.Clear(ref _extensions, extension);
}
public void ClearExtension<TValue>(pb::RepeatedExtension<Invitation, TValue> extension) {
pb::ExtensionSet.Clear(ref _extensions, extension);
}
}
public sealed partial class InvitationParams : pb::IExtendableMessage<InvitationParams> {
private static readonly pb::MessageParser<InvitationParams> _parser = new pb::MessageParser<InvitationParams>(() => new InvitationParams());
private pb::UnknownFieldSet _unknownFields;
private pb::ExtensionSet<InvitationParams> _extensions;
private pb::ExtensionSet<InvitationParams> _Extensions => _extensions;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<InvitationParams> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.InvitationTypesReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public InvitationParams() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public InvitationParams(InvitationParams other) : this() {
_hasBits0 = other._hasBits0;
invitationMessage_ = other.invitationMessage_;
expirationTime_ = other.expirationTime_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
_extensions = pb::ExtensionSet.Clone(other._extensions);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public InvitationParams Clone() {
return new InvitationParams(this);
}
/// <summary>Field number for the "invitation_message" field.</summary>
public const int InvitationMessageFieldNumber = 1;
private readonly static string InvitationMessageDefaultValue = "";
private string invitationMessage_;
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string InvitationMessage {
get { return invitationMessage_ ?? InvitationMessageDefaultValue; }
set {
invitationMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "invitation_message" field is set</summary>
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasInvitationMessage {
get { return invitationMessage_ != null; }
}
/// <summary>Clears the value of the "invitation_message" field</summary>
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearInvitationMessage() {
invitationMessage_ = null;
}
/// <summary>Field number for the "expiration_time" field.</summary>
public const int ExpirationTimeFieldNumber = 2;
private readonly static ulong ExpirationTimeDefaultValue = 0UL;
private ulong expirationTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ExpirationTime {
get { if ((_hasBits0 & 1) != 0) { return expirationTime_; } else { return ExpirationTimeDefaultValue; } }
set {
_hasBits0 |= 1;
expirationTime_ = value;
}
}
/// <summary>Gets whether the "expiration_time" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasExpirationTime {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "expiration_time" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearExpirationTime() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as InvitationParams);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(InvitationParams other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (InvitationMessage != other.InvitationMessage) return false;
if (ExpirationTime != other.ExpirationTime) return false;
if (!Equals(_extensions, other._extensions)) {
return false;
}
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasInvitationMessage) hash ^= InvitationMessage.GetHashCode();
if (HasExpirationTime) hash ^= ExpirationTime.GetHashCode();
if (_extensions != null) {
hash ^= _extensions.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 (HasInvitationMessage) {
output.WriteRawTag(10);
output.WriteString(InvitationMessage);
}
if (HasExpirationTime) {
output.WriteRawTag(16);
output.WriteUInt64(ExpirationTime);
}
if (_extensions != null) {
_extensions.WriteTo(output);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasInvitationMessage) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(InvitationMessage);
}
if (HasExpirationTime) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ExpirationTime);
}
if (_extensions != null) {
size += _extensions.CalculateSize();
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(InvitationParams other) {
if (other == null) {
return;
}
if (other.HasInvitationMessage) {
InvitationMessage = other.InvitationMessage;
}
if (other.HasExpirationTime) {
ExpirationTime = other.ExpirationTime;
}
pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
_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:
if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
}
break;
case 10: {
InvitationMessage = input.ReadString();
break;
}
case 16: {
ExpirationTime = input.ReadUInt64();
break;
}
}
}
}
public TValue GetExtension<TValue>(pb::Extension<InvitationParams, TValue> extension) {
return pb::ExtensionSet.Get(ref _extensions, extension);
}
public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<InvitationParams, TValue> extension) {
return pb::ExtensionSet.Get(ref _extensions, extension);
}
public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<InvitationParams, TValue> extension) {
return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension);
}
public void SetExtension<TValue>(pb::Extension<InvitationParams, TValue> extension, TValue value) {
pb::ExtensionSet.Set(ref _extensions, extension, value);
}
public bool HasExtension<TValue>(pb::Extension<InvitationParams, TValue> extension) {
return pb::ExtensionSet.Has(ref _extensions, extension);
}
public void ClearExtension<TValue>(pb::Extension<InvitationParams, TValue> extension) {
pb::ExtensionSet.Clear(ref _extensions, extension);
}
public void ClearExtension<TValue>(pb::RepeatedExtension<InvitationParams, TValue> extension) {
pb::ExtensionSet.Clear(ref _extensions, extension);
}
}
#endregion
}
#endregion Designer generated code
@@ -0,0 +1,245 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/common/v1/message_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 {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/common/v1/message_types.proto</summary>
public static partial class MessageTypesReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/common/v1/message_types.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static MessageTypesReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjNiZ3MvbG93L3BiL2NsaWVudC9hcGkvY29tbW9uL3YxL21lc3NhZ2VfdHlw",
"ZXMucHJvdG8SDGJncy5wcm90b2NvbCIsCglNZXNzYWdlSWQSDQoFZXBvY2gY",
"ASABKAQSEAoIcG9zaXRpb24YAiABKAQqNAoPVHlwaW5nSW5kaWNhdG9yEhAK",
"DFRZUElOR19TVEFSVBAAEg8KC1RZUElOR19TVE9QEAEqRQoNTWVzc2FnZU9y",
"aWdpbhIZChVNRVNTQUdFX09SSUdJTl9QTEFZRVIQABIZChVNRVNTQUdFX09S",
"SUdJTl9TWVNURU0QAQ=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Bgs.Protocol.TypingIndicator), typeof(global::Bgs.Protocol.MessageOrigin), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.MessageId), global::Bgs.Protocol.MessageId.Parser, new[]{ "Epoch", "Position" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum TypingIndicator {
[pbr::OriginalName("TYPING_START")] TypingStart = 0,
[pbr::OriginalName("TYPING_STOP")] TypingStop = 1,
}
public enum MessageOrigin {
[pbr::OriginalName("MESSAGE_ORIGIN_PLAYER")] Player = 0,
[pbr::OriginalName("MESSAGE_ORIGIN_SYSTEM")] System = 1,
}
#endregion
#region Messages
public sealed partial class MessageId : pb::IMessage<MessageId> {
private static readonly pb::MessageParser<MessageId> _parser = new pb::MessageParser<MessageId>(() => new MessageId());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<MessageId> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.MessageTypesReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MessageId() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MessageId(MessageId other) : this() {
_hasBits0 = other._hasBits0;
epoch_ = other.epoch_;
position_ = other.position_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public MessageId Clone() {
return new MessageId(this);
}
/// <summary>Field number for the "epoch" field.</summary>
public const int EpochFieldNumber = 1;
private readonly static ulong EpochDefaultValue = 0UL;
private ulong epoch_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Epoch {
get { if ((_hasBits0 & 1) != 0) { return epoch_; } else { return EpochDefaultValue; } }
set {
_hasBits0 |= 1;
epoch_ = value;
}
}
/// <summary>Gets whether the "epoch" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasEpoch {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "epoch" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearEpoch() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "position" field.</summary>
public const int PositionFieldNumber = 2;
private readonly static ulong PositionDefaultValue = 0UL;
private ulong position_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong Position {
get { if ((_hasBits0 & 2) != 0) { return position_; } else { return PositionDefaultValue; } }
set {
_hasBits0 |= 2;
position_ = value;
}
}
/// <summary>Gets whether the "position" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasPosition {
get { return (_hasBits0 & 2) != 0; }
}
/// <summary>Clears the value of the "position" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearPosition() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as MessageId);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(MessageId other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Epoch != other.Epoch) return false;
if (Position != other.Position) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasEpoch) hash ^= Epoch.GetHashCode();
if (HasPosition) hash ^= Position.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 (HasEpoch) {
output.WriteRawTag(8);
output.WriteUInt64(Epoch);
}
if (HasPosition) {
output.WriteRawTag(16);
output.WriteUInt64(Position);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasEpoch) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Epoch);
}
if (HasPosition) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Position);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(MessageId other) {
if (other == null) {
return;
}
if (other.HasEpoch) {
Epoch = other.Epoch;
}
if (other.HasPosition) {
Position = other.Position;
}
_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: {
Epoch = input.ReadUInt64();
break;
}
case 16: {
Position = input.ReadUInt64();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
@@ -0,0 +1,384 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/common/v1/voice_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.Voice.V1 {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/common/v1/voice_types.proto</summary>
public static partial class VoiceTypesReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/common/v1/voice_types.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static VoiceTypesReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjFiZ3MvbG93L3BiL2NsaWVudC9hcGkvY29tbW9uL3YxL3ZvaWNlX3R5cGVz",
"LnByb3RvEhViZ3MucHJvdG9jb2wudm9pY2UudjEaIWJncy9sb3cvcGIvY2xp",
"ZW50L3JwY190eXBlcy5wcm90bxo3YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFs",
"X2V4dGVuc2lvbnMvZmllbGRfb3B0aW9ucy5wcm90bxo5YmdzL2xvdy9wYi9j",
"bGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvbWVzc2FnZV9vcHRpb25zLnByb3Rv",
"GjhiZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9tZXRob2Rf",
"b3B0aW9ucy5wcm90bxo5YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVu",
"c2lvbnMvc2VydmljZV9vcHRpb25zLnByb3RvIpwBChBWb2ljZUNyZWRlbnRp",
"YWxzEhgKEHZvaWNlX2FjY291bnRfaWQYASABKAkSDQoFdG9rZW4YAiABKAkS",
"CwoDdXJsGAMgASgJEiYKCWpvaW5fdHlwZRgEIAEoDUITgvkrDyoNVm9pY2VK",
"b2luVHlwZRIqCgttdXRlX3JlYXNvbhgFIAEoDUIVgvkrESoPVm9pY2VNdXRl",
"UmVhc29uKjwKDVZvaWNlSm9pblR5cGUSFQoRVk9JQ0VfSk9JTl9OT1JNQUwQ",
"ABIUChBWT0lDRV9KT0lOX01VVEVEEAEqowEKD1ZvaWNlTXV0ZVJlYXNvbhIa",
"ChZWT0lDRV9NVVRFX1JFQVNPTl9OT05FEAASMgouVk9JQ0VfTVVURV9SRUFT",
"T05fUEFSRU5UQUxfQ09OVFJPTF9MSVNURU5fT05MWRABEh8KG1ZPSUNFX01V",
"VEVfUkVBU09OX1JFUVVFU1RFRBACEh8KG1ZPSUNFX01VVEVfUkVBU09OX1NR",
"VUVMQ0hFRBADKkQKFFZvaWNlUHJvdmlkZXJWZXJzaW9uEhUKEVZPSUNFX1BS",
"T1ZJREVSX1Y0EAASFQoRVk9JQ0VfUFJPVklERVJfVjUQAQ=="));
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(new[] {typeof(global::Bgs.Protocol.Voice.V1.VoiceJoinType), typeof(global::Bgs.Protocol.Voice.V1.VoiceMuteReason), typeof(global::Bgs.Protocol.Voice.V1.VoiceProviderVersion), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Voice.V1.VoiceCredentials), global::Bgs.Protocol.Voice.V1.VoiceCredentials.Parser, new[]{ "VoiceAccountId", "Token", "Url", "JoinType", "MuteReason" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum VoiceJoinType {
[pbr::OriginalName("VOICE_JOIN_NORMAL")] VoiceJoinNormal = 0,
[pbr::OriginalName("VOICE_JOIN_MUTED")] VoiceJoinMuted = 1,
}
public enum VoiceMuteReason {
[pbr::OriginalName("VOICE_MUTE_REASON_NONE")] None = 0,
[pbr::OriginalName("VOICE_MUTE_REASON_PARENTAL_CONTROL_LISTEN_ONLY")] ParentalControlListenOnly = 1,
[pbr::OriginalName("VOICE_MUTE_REASON_REQUESTED")] Requested = 2,
[pbr::OriginalName("VOICE_MUTE_REASON_SQUELCHED")] Squelched = 3,
}
public enum VoiceProviderVersion {
[pbr::OriginalName("VOICE_PROVIDER_V4")] VoiceProviderV4 = 0,
[pbr::OriginalName("VOICE_PROVIDER_V5")] VoiceProviderV5 = 1,
}
#endregion
#region Messages
public sealed partial class VoiceCredentials : pb::IMessage<VoiceCredentials> {
private static readonly pb::MessageParser<VoiceCredentials> _parser = new pb::MessageParser<VoiceCredentials>(() => new VoiceCredentials());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<VoiceCredentials> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Voice.V1.VoiceTypesReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public VoiceCredentials() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public VoiceCredentials(VoiceCredentials other) : this() {
_hasBits0 = other._hasBits0;
voiceAccountId_ = other.voiceAccountId_;
token_ = other.token_;
url_ = other.url_;
joinType_ = other.joinType_;
muteReason_ = other.muteReason_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public VoiceCredentials Clone() {
return new VoiceCredentials(this);
}
/// <summary>Field number for the "voice_account_id" field.</summary>
public const int VoiceAccountIdFieldNumber = 1;
private readonly static string VoiceAccountIdDefaultValue = "";
private string voiceAccountId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string VoiceAccountId {
get { return voiceAccountId_ ?? VoiceAccountIdDefaultValue; }
set {
voiceAccountId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "voice_account_id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasVoiceAccountId {
get { return voiceAccountId_ != null; }
}
/// <summary>Clears the value of the "voice_account_id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearVoiceAccountId() {
voiceAccountId_ = null;
}
/// <summary>Field number for the "token" field.</summary>
public const int TokenFieldNumber = 2;
private readonly static string TokenDefaultValue = "";
private string token_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Token {
get { return token_ ?? TokenDefaultValue; }
set {
token_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "token" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasToken {
get { return token_ != null; }
}
/// <summary>Clears the value of the "token" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearToken() {
token_ = null;
}
/// <summary>Field number for the "url" field.</summary>
public const int UrlFieldNumber = 3;
private readonly static string UrlDefaultValue = "";
private string url_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Url {
get { return url_ ?? UrlDefaultValue; }
set {
url_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "url" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasUrl {
get { return url_ != null; }
}
/// <summary>Clears the value of the "url" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearUrl() {
url_ = null;
}
/// <summary>Field number for the "join_type" field.</summary>
public const int JoinTypeFieldNumber = 4;
private readonly static uint JoinTypeDefaultValue = 0;
private uint joinType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint JoinType {
get { if ((_hasBits0 & 1) != 0) { return joinType_; } else { return JoinTypeDefaultValue; } }
set {
_hasBits0 |= 1;
joinType_ = value;
}
}
/// <summary>Gets whether the "join_type" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasJoinType {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "join_type" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearJoinType() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "mute_reason" field.</summary>
public const int MuteReasonFieldNumber = 5;
private readonly static uint MuteReasonDefaultValue = 0;
private uint muteReason_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint MuteReason {
get { if ((_hasBits0 & 2) != 0) { return muteReason_; } else { return MuteReasonDefaultValue; } }
set {
_hasBits0 |= 2;
muteReason_ = value;
}
}
/// <summary>Gets whether the "mute_reason" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasMuteReason {
get { return (_hasBits0 & 2) != 0; }
}
/// <summary>Clears the value of the "mute_reason" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearMuteReason() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as VoiceCredentials);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(VoiceCredentials other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (VoiceAccountId != other.VoiceAccountId) return false;
if (Token != other.Token) return false;
if (Url != other.Url) return false;
if (JoinType != other.JoinType) return false;
if (MuteReason != other.MuteReason) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasVoiceAccountId) hash ^= VoiceAccountId.GetHashCode();
if (HasToken) hash ^= Token.GetHashCode();
if (HasUrl) hash ^= Url.GetHashCode();
if (HasJoinType) hash ^= JoinType.GetHashCode();
if (HasMuteReason) hash ^= MuteReason.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 (HasVoiceAccountId) {
output.WriteRawTag(10);
output.WriteString(VoiceAccountId);
}
if (HasToken) {
output.WriteRawTag(18);
output.WriteString(Token);
}
if (HasUrl) {
output.WriteRawTag(26);
output.WriteString(Url);
}
if (HasJoinType) {
output.WriteRawTag(32);
output.WriteUInt32(JoinType);
}
if (HasMuteReason) {
output.WriteRawTag(40);
output.WriteUInt32(MuteReason);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasVoiceAccountId) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(VoiceAccountId);
}
if (HasToken) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Token);
}
if (HasUrl) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Url);
}
if (HasJoinType) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JoinType);
}
if (HasMuteReason) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MuteReason);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(VoiceCredentials other) {
if (other == null) {
return;
}
if (other.HasVoiceAccountId) {
VoiceAccountId = other.VoiceAccountId;
}
if (other.HasToken) {
Token = other.Token;
}
if (other.HasUrl) {
Url = other.Url;
}
if (other.HasJoinType) {
JoinType = other.JoinType;
}
if (other.HasMuteReason) {
MuteReason = other.MuteReason;
}
_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: {
VoiceAccountId = input.ReadString();
break;
}
case 18: {
Token = input.ReadString();
break;
}
case 26: {
Url = input.ReadString();
break;
}
case 32: {
JoinType = input.ReadUInt32();
break;
}
case 40: {
MuteReason = input.ReadUInt32();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
@@ -1,8 +1,8 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/client/v2/attribute_types.proto
// source: bgs/low/pb/client/api/common/v2/attribute_types.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
@@ -11,11 +11,11 @@ using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Bgs.Protocol.V2 {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/client/v2/attribute_types.proto</summary>
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/common/v2/attribute_types.proto</summary>
public static partial class AttributeTypesReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/client/v2/attribute_types.proto</summary>
/// <summary>File descriptor for bgs/low/pb/client/api/common/v2/attribute_types.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
@@ -24,7 +24,7 @@ namespace Bgs.Protocol.V2 {
static AttributeTypesReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjViZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YyL2F0dHJpYnV0ZV90",
"CjViZ3MvbG93L3BiL2NsaWVudC9hcGkvY29tbW9uL3YyL2F0dHJpYnV0ZV90",
"eXBlcy5wcm90bxIPYmdzLnByb3RvY29sLnYyIpcBCgdWYXJpYW50EhQKCmJv",
"b2xfdmFsdWUYASABKAhIABITCglpbnRfdmFsdWUYAiABKANIABIVCgtmbG9h",
"dF92YWx1ZRgDIAEoAUgAEhYKDHN0cmluZ192YWx1ZRgEIAEoCUgAEhQKCmJs",
@@ -0,0 +1,278 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/common/v2/game_account_handle.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.Account.V2 {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/common/v2/game_account_handle.proto</summary>
public static partial class GameAccountHandleReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/common/v2/game_account_handle.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GameAccountHandleReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjliZ3MvbG93L3BiL2NsaWVudC9hcGkvY29tbW9uL3YyL2dhbWVfYWNjb3Vu",
"dF9oYW5kbGUucHJvdG8SF2Jncy5wcm90b2NvbC5hY2NvdW50LnYyGiFiZ3Mv",
"bG93L3BiL2NsaWVudC9ycGNfdHlwZXMucHJvdG8aN2Jncy9sb3cvcGIvY2xp",
"ZW50L2dsb2JhbF9leHRlbnNpb25zL2ZpZWxkX29wdGlvbnMucHJvdG8aOWJn",
"cy9sb3cvcGIvY2xpZW50L2dsb2JhbF9leHRlbnNpb25zL21lc3NhZ2Vfb3B0",
"aW9ucy5wcm90bxo4YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lv",
"bnMvbWV0aG9kX29wdGlvbnMucHJvdG8aOWJncy9sb3cvcGIvY2xpZW50L2ds",
"b2JhbF9leHRlbnNpb25zL3NlcnZpY2Vfb3B0aW9ucy5wcm90byJ0ChFHYW1l",
"QWNjb3VudEhhbmRsZRIUCgJpZBgBIAEoBEIIivkrBBICEAASGgoIdGl0bGVf",
"aWQYAiABKA1CCIr5KwQSAhAAEiUKBnJlZ2lvbhgDIAEoDUIVivkrBhIECgII",
"AYr5KwcSBQoDEP8BOgaC+SsCCAE="));
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.Account.V2.GameAccountHandle), global::Bgs.Protocol.Account.V2.GameAccountHandle.Parser, new[]{ "Id", "TitleId", "Region" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class GameAccountHandle : pb::IMessage<GameAccountHandle> {
private static readonly pb::MessageParser<GameAccountHandle> _parser = new pb::MessageParser<GameAccountHandle>(() => new GameAccountHandle());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<GameAccountHandle> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Account.V2.GameAccountHandleReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GameAccountHandle() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GameAccountHandle(GameAccountHandle other) : this() {
_hasBits0 = other._hasBits0;
id_ = other.id_;
titleId_ = other.titleId_;
region_ = other.region_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GameAccountHandle Clone() {
return new GameAccountHandle(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 "title_id" field.</summary>
public const int TitleIdFieldNumber = 2;
private readonly static uint TitleIdDefaultValue = 0;
private uint titleId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint TitleId {
get { if ((_hasBits0 & 2) != 0) { return titleId_; } else { return TitleIdDefaultValue; } }
set {
_hasBits0 |= 2;
titleId_ = value;
}
}
/// <summary>Gets whether the "title_id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasTitleId {
get { return (_hasBits0 & 2) != 0; }
}
/// <summary>Clears the value of the "title_id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearTitleId() {
_hasBits0 &= ~2;
}
/// <summary>Field number for the "region" field.</summary>
public const int RegionFieldNumber = 3;
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 GameAccountHandle);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GameAccountHandle other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (TitleId != other.TitleId) 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 (HasId) hash ^= Id.GetHashCode();
if (HasTitleId) hash ^= TitleId.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 (HasId) {
output.WriteRawTag(8);
output.WriteUInt64(Id);
}
if (HasTitleId) {
output.WriteRawTag(16);
output.WriteUInt32(TitleId);
}
if (HasRegion) {
output.WriteRawTag(24);
output.WriteUInt32(Region);
}
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 (HasTitleId) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitleId);
}
if (HasRegion) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Region);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GameAccountHandle other) {
if (other == null) {
return;
}
if (other.HasId) {
Id = other.Id;
}
if (other.HasTitleId) {
TitleId = other.TitleId;
}
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: {
Id = input.ReadUInt64();
break;
}
case 16: {
TitleId = input.ReadUInt32();
break;
}
case 24: {
Region = input.ReadUInt32();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code
@@ -0,0 +1,762 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/common/v2/whisper_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.Whisper.V2 {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/common/v2/whisper_types.proto</summary>
public static partial class WhisperTypesReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/common/v2/whisper_types.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static WhisperTypesReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjNiZ3MvbG93L3BiL2NsaWVudC9hcGkvY29tbW9uL3YyL3doaXNwZXJfdHlw",
"ZXMucHJvdG8SF2Jncy5wcm90b2NvbC53aGlzcGVyLnYyGjFiZ3MvbG93L3Bi",
"L2NsaWVudC9hcGkvY29tbW9uL3YxL2VtYmVkX3R5cGVzLnByb3RvGjZiZ3Mv",
"bG93L3BiL2NsaWVudC9hcGkvY29tbW9uL3YxL2V2ZW50X3ZpZXdfdHlwZXMu",
"cHJvdG8aM2Jncy9sb3cvcGIvY2xpZW50L2FwaS9jb21tb24vdjEvbWVzc2Fn",
"ZV90eXBlcy5wcm90bxohYmdzL2xvdy9wYi9jbGllbnQvcnBjX3R5cGVzLnBy",
"b3RvGjdiZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9maWVs",
"ZF9vcHRpb25zLnByb3RvGjliZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0",
"ZW5zaW9ucy9tZXNzYWdlX29wdGlvbnMucHJvdG8aOGJncy9sb3cvcGIvY2xp",
"ZW50L2dsb2JhbF9leHRlbnNpb25zL21ldGhvZF9vcHRpb25zLnByb3RvGjli",
"Z3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9zZXJ2aWNlX29w",
"dGlvbnMucHJvdG8iugEKB1doaXNwZXISKwoKd2hpc3Blcl9pZBgBIAEoCzIX",
"LmJncy5wcm90b2NvbC5NZXNzYWdlSWQSGQoRc2VuZGVyX2FjY291bnRfaWQY",
"AiABKAQSGwoTcmVjZWl2ZXJfYWNjb3VudF9pZBgDIAEoBBIQCgh0aXRsZV9p",
"ZBgEIAEoDRIPCgdjb250ZW50GAUgASgJEicKBmVtYmVkcxgGIAMoCzIXLmJn",
"cy5wcm90b2NvbC5FbWJlZEluZm8iegoLV2hpc3BlclZpZXcSGQoRdGFyZ2V0",
"X2FjY291bnRfaWQYASABKAQSLQoLdmlld19tYXJrZXIYAiABKAsyGC5iZ3Mu",
"cHJvdG9jb2wuVmlld01hcmtlchIhChF0YXJnZXRfYmF0dGxlX3RhZxgDIAEo",
"CUIGgvkrAggBIiUKElNlbmRXaGlzcGVyT3B0aW9ucxIPCgdjb250ZW50GAEg",
"ASgJ"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.EmbedTypesReflection.Descriptor, global::Bgs.Protocol.EventViewTypesReflection.Descriptor, global::Bgs.Protocol.MessageTypesReflection.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.Whisper.V2.Whisper), global::Bgs.Protocol.Whisper.V2.Whisper.Parser, new[]{ "WhisperId", "SenderAccountId", "ReceiverAccountId", "TitleId", "Content", "Embeds" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Whisper.V2.WhisperView), global::Bgs.Protocol.Whisper.V2.WhisperView.Parser, new[]{ "TargetAccountId", "ViewMarker", "TargetBattleTag" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Whisper.V2.SendWhisperOptions), global::Bgs.Protocol.Whisper.V2.SendWhisperOptions.Parser, new[]{ "Content" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class Whisper : pb::IMessage<Whisper> {
private static readonly pb::MessageParser<Whisper> _parser = new pb::MessageParser<Whisper>(() => new Whisper());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<Whisper> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Whisper.V2.WhisperTypesReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Whisper() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Whisper(Whisper other) : this() {
_hasBits0 = other._hasBits0;
whisperId_ = other.HasWhisperId ? other.whisperId_.Clone() : null;
senderAccountId_ = other.senderAccountId_;
receiverAccountId_ = other.receiverAccountId_;
titleId_ = other.titleId_;
content_ = other.content_;
embeds_ = other.embeds_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Whisper Clone() {
return new Whisper(this);
}
/// <summary>Field number for the "whisper_id" field.</summary>
public const int WhisperIdFieldNumber = 1;
private global::Bgs.Protocol.MessageId whisperId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.MessageId WhisperId {
get { return whisperId_; }
set {
whisperId_ = value;
}
}
/// <summary>Gets whether the whisper_id field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasWhisperId {
get { return whisperId_ != null; }
}
/// <summary>Clears the value of the whisper_id field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearWhisperId() {
whisperId_ = null;
}
/// <summary>Field number for the "sender_account_id" field.</summary>
public const int SenderAccountIdFieldNumber = 2;
private readonly static ulong SenderAccountIdDefaultValue = 0UL;
private ulong senderAccountId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong SenderAccountId {
get { if ((_hasBits0 & 1) != 0) { return senderAccountId_; } else { return SenderAccountIdDefaultValue; } }
set {
_hasBits0 |= 1;
senderAccountId_ = value;
}
}
/// <summary>Gets whether the "sender_account_id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasSenderAccountId {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "sender_account_id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearSenderAccountId() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "receiver_account_id" field.</summary>
public const int ReceiverAccountIdFieldNumber = 3;
private readonly static ulong ReceiverAccountIdDefaultValue = 0UL;
private ulong receiverAccountId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong ReceiverAccountId {
get { if ((_hasBits0 & 2) != 0) { return receiverAccountId_; } else { return ReceiverAccountIdDefaultValue; } }
set {
_hasBits0 |= 2;
receiverAccountId_ = value;
}
}
/// <summary>Gets whether the "receiver_account_id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasReceiverAccountId {
get { return (_hasBits0 & 2) != 0; }
}
/// <summary>Clears the value of the "receiver_account_id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearReceiverAccountId() {
_hasBits0 &= ~2;
}
/// <summary>Field number for the "title_id" field.</summary>
public const int TitleIdFieldNumber = 4;
private readonly static uint TitleIdDefaultValue = 0;
private uint titleId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint TitleId {
get { if ((_hasBits0 & 4) != 0) { return titleId_; } else { return TitleIdDefaultValue; } }
set {
_hasBits0 |= 4;
titleId_ = value;
}
}
/// <summary>Gets whether the "title_id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasTitleId {
get { return (_hasBits0 & 4) != 0; }
}
/// <summary>Clears the value of the "title_id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearTitleId() {
_hasBits0 &= ~4;
}
/// <summary>Field number for the "content" field.</summary>
public const int ContentFieldNumber = 5;
private readonly static string ContentDefaultValue = "";
private string content_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Content {
get { return content_ ?? ContentDefaultValue; }
set {
content_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "content" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasContent {
get { return content_ != null; }
}
/// <summary>Clears the value of the "content" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearContent() {
content_ = null;
}
/// <summary>Field number for the "embeds" field.</summary>
public const int EmbedsFieldNumber = 6;
private static readonly pb::FieldCodec<global::Bgs.Protocol.EmbedInfo> _repeated_embeds_codec
= pb::FieldCodec.ForMessage(50, global::Bgs.Protocol.EmbedInfo.Parser);
private readonly pbc::RepeatedField<global::Bgs.Protocol.EmbedInfo> embeds_ = new pbc::RepeatedField<global::Bgs.Protocol.EmbedInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::Bgs.Protocol.EmbedInfo> Embeds {
get { return embeds_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Whisper);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Whisper other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(WhisperId, other.WhisperId)) return false;
if (SenderAccountId != other.SenderAccountId) return false;
if (ReceiverAccountId != other.ReceiverAccountId) return false;
if (TitleId != other.TitleId) return false;
if (Content != other.Content) return false;
if(!embeds_.Equals(other.embeds_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasWhisperId) hash ^= WhisperId.GetHashCode();
if (HasSenderAccountId) hash ^= SenderAccountId.GetHashCode();
if (HasReceiverAccountId) hash ^= ReceiverAccountId.GetHashCode();
if (HasTitleId) hash ^= TitleId.GetHashCode();
if (HasContent) hash ^= Content.GetHashCode();
hash ^= embeds_.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 (HasWhisperId) {
output.WriteRawTag(10);
output.WriteMessage(WhisperId);
}
if (HasSenderAccountId) {
output.WriteRawTag(16);
output.WriteUInt64(SenderAccountId);
}
if (HasReceiverAccountId) {
output.WriteRawTag(24);
output.WriteUInt64(ReceiverAccountId);
}
if (HasTitleId) {
output.WriteRawTag(32);
output.WriteUInt32(TitleId);
}
if (HasContent) {
output.WriteRawTag(42);
output.WriteString(Content);
}
embeds_.WriteTo(output, _repeated_embeds_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasWhisperId) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(WhisperId);
}
if (HasSenderAccountId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(SenderAccountId);
}
if (HasReceiverAccountId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ReceiverAccountId);
}
if (HasTitleId) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TitleId);
}
if (HasContent) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Content);
}
size += embeds_.CalculateSize(_repeated_embeds_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Whisper other) {
if (other == null) {
return;
}
if (other.HasWhisperId) {
if (!HasWhisperId) {
WhisperId = new global::Bgs.Protocol.MessageId();
}
WhisperId.MergeFrom(other.WhisperId);
}
if (other.HasSenderAccountId) {
SenderAccountId = other.SenderAccountId;
}
if (other.HasReceiverAccountId) {
ReceiverAccountId = other.ReceiverAccountId;
}
if (other.HasTitleId) {
TitleId = other.TitleId;
}
if (other.HasContent) {
Content = other.Content;
}
embeds_.Add(other.embeds_);
_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 (!HasWhisperId) {
WhisperId = new global::Bgs.Protocol.MessageId();
}
input.ReadMessage(WhisperId);
break;
}
case 16: {
SenderAccountId = input.ReadUInt64();
break;
}
case 24: {
ReceiverAccountId = input.ReadUInt64();
break;
}
case 32: {
TitleId = input.ReadUInt32();
break;
}
case 42: {
Content = input.ReadString();
break;
}
case 50: {
embeds_.AddEntriesFrom(input, _repeated_embeds_codec);
break;
}
}
}
}
}
public sealed partial class WhisperView : pb::IMessage<WhisperView> {
private static readonly pb::MessageParser<WhisperView> _parser = new pb::MessageParser<WhisperView>(() => new WhisperView());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<WhisperView> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Whisper.V2.WhisperTypesReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public WhisperView() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public WhisperView(WhisperView other) : this() {
_hasBits0 = other._hasBits0;
targetAccountId_ = other.targetAccountId_;
viewMarker_ = other.HasViewMarker ? other.viewMarker_.Clone() : null;
targetBattleTag_ = other.targetBattleTag_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public WhisperView Clone() {
return new WhisperView(this);
}
/// <summary>Field number for the "target_account_id" field.</summary>
public const int TargetAccountIdFieldNumber = 1;
private readonly static ulong TargetAccountIdDefaultValue = 0UL;
private ulong targetAccountId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ulong TargetAccountId {
get { if ((_hasBits0 & 1) != 0) { return targetAccountId_; } else { return TargetAccountIdDefaultValue; } }
set {
_hasBits0 |= 1;
targetAccountId_ = value;
}
}
/// <summary>Gets whether the "target_account_id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasTargetAccountId {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "target_account_id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearTargetAccountId() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "view_marker" field.</summary>
public const int ViewMarkerFieldNumber = 2;
private global::Bgs.Protocol.ViewMarker viewMarker_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.ViewMarker ViewMarker {
get { return viewMarker_; }
set {
viewMarker_ = value;
}
}
/// <summary>Gets whether the view_marker field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasViewMarker {
get { return viewMarker_ != null; }
}
/// <summary>Clears the value of the view_marker field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearViewMarker() {
viewMarker_ = null;
}
/// <summary>Field number for the "target_battle_tag" field.</summary>
public const int TargetBattleTagFieldNumber = 3;
private readonly static string TargetBattleTagDefaultValue = "";
private string targetBattleTag_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string TargetBattleTag {
get { return targetBattleTag_ ?? TargetBattleTagDefaultValue; }
set {
targetBattleTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "target_battle_tag" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasTargetBattleTag {
get { return targetBattleTag_ != null; }
}
/// <summary>Clears the value of the "target_battle_tag" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearTargetBattleTag() {
targetBattleTag_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as WhisperView);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(WhisperView other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (TargetAccountId != other.TargetAccountId) return false;
if (!object.Equals(ViewMarker, other.ViewMarker)) return false;
if (TargetBattleTag != other.TargetBattleTag) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasTargetAccountId) hash ^= TargetAccountId.GetHashCode();
if (HasViewMarker) hash ^= ViewMarker.GetHashCode();
if (HasTargetBattleTag) hash ^= TargetBattleTag.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 (HasTargetAccountId) {
output.WriteRawTag(8);
output.WriteUInt64(TargetAccountId);
}
if (HasViewMarker) {
output.WriteRawTag(18);
output.WriteMessage(ViewMarker);
}
if (HasTargetBattleTag) {
output.WriteRawTag(26);
output.WriteString(TargetBattleTag);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasTargetAccountId) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(TargetAccountId);
}
if (HasViewMarker) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ViewMarker);
}
if (HasTargetBattleTag) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetBattleTag);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(WhisperView other) {
if (other == null) {
return;
}
if (other.HasTargetAccountId) {
TargetAccountId = other.TargetAccountId;
}
if (other.HasViewMarker) {
if (!HasViewMarker) {
ViewMarker = new global::Bgs.Protocol.ViewMarker();
}
ViewMarker.MergeFrom(other.ViewMarker);
}
if (other.HasTargetBattleTag) {
TargetBattleTag = other.TargetBattleTag;
}
_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: {
TargetAccountId = input.ReadUInt64();
break;
}
case 18: {
if (!HasViewMarker) {
ViewMarker = new global::Bgs.Protocol.ViewMarker();
}
input.ReadMessage(ViewMarker);
break;
}
case 26: {
TargetBattleTag = input.ReadString();
break;
}
}
}
}
}
public sealed partial class SendWhisperOptions : pb::IMessage<SendWhisperOptions> {
private static readonly pb::MessageParser<SendWhisperOptions> _parser = new pb::MessageParser<SendWhisperOptions>(() => new SendWhisperOptions());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<SendWhisperOptions> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Whisper.V2.WhisperTypesReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SendWhisperOptions() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SendWhisperOptions(SendWhisperOptions other) : this() {
content_ = other.content_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SendWhisperOptions Clone() {
return new SendWhisperOptions(this);
}
/// <summary>Field number for the "content" field.</summary>
public const int ContentFieldNumber = 1;
private readonly static string ContentDefaultValue = "";
private string content_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Content {
get { return content_ ?? ContentDefaultValue; }
set {
content_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "content" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasContent {
get { return content_ != null; }
}
/// <summary>Clears the value of the "content" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearContent() {
content_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SendWhisperOptions);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SendWhisperOptions other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Content != other.Content) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasContent) hash ^= Content.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 (HasContent) {
output.WriteRawTag(10);
output.WriteString(Content);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasContent) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Content);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SendWhisperOptions other) {
if (other == null) {
return;
}
if (other.HasContent) {
Content = other.Content;
}
_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: {
Content = input.ReadString();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code