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
@@ -2,7 +2,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/global_extensions/field_options.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;
@@ -64,15 +64,18 @@ namespace Bgs.Protocol {
"ZXN0cmljdGlvbi5LaW5kOgNBTlkiZQoES2luZBIHCgNBTlkQABILCgdBQ0NP",
"VU5UEAESEAoMR0FNRV9BQ0NPVU5UEAISGwoXQUNDT1VOVF9PUl9HQU1FX0FD",
"Q09VTlQQAxILCgdTRVJWSUNFEAQSCwoHQ0hBTk5FTBAFIikKF01lc3NhZ2VG",
"aWVsZFJlc3RyaWN0aW9uEg4KBm5lZWRlZBgBIAEoCCogCglMb2dPcHRpb24S",
"CgoGSElEREVOEAESBwoDSEVYEAI6VQoNZmllbGRfb3B0aW9ucxIdLmdvb2ds",
"ZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMYkL8FIAEoCzIdLmJncy5wcm90b2Nv",
"bC5CR1NGaWVsZE9wdGlvbnM6TgoFdmFsaWQSHS5nb29nbGUucHJvdG9idWYu",
"RmllbGRPcHRpb25zGJG/BSABKAsyHi5iZ3MucHJvdG9jb2wuRmllbGRSZXN0",
"cmljdGlvbkIhCgxiZ3MucHJvdG9jb2xCEUZpZWxkT3B0aW9uc1Byb3Rv"));
"aWVsZFJlc3RyaWN0aW9uEg4KBm5lZWRlZBgBIAEoCCIsCg9TREtGaWVsZE9w",
"dGlvbnMSGQoRZGVwcmVjYXRlZF8zMl9iaXQYBCABKAgqIAoJTG9nT3B0aW9u",
"EgoKBkhJRERFThABEgcKA0hFWBACOlUKDWZpZWxkX29wdGlvbnMSHS5nb29n",
"bGUucHJvdG9idWYuRmllbGRPcHRpb25zGJC/BSABKAsyHS5iZ3MucHJvdG9j",
"b2wuQkdTRmllbGRPcHRpb25zOk4KBXZhbGlkEh0uZ29vZ2xlLnByb3RvYnVm",
"LkZpZWxkT3B0aW9ucxiRvwUgASgLMh4uYmdzLnByb3RvY29sLkZpZWxkUmVz",
"dHJpY3Rpb246WQoRc2RrX2ZpZWxkX29wdGlvbnMSHS5nb29nbGUucHJvdG9i",
"dWYuRmllbGRPcHRpb25zGJK/BSABKAsyHS5iZ3MucHJvdG9jb2wuU0RLRmll",
"bGRPcHRpb25zQiEKDGJncy5wcm90b2NvbEIRRmllbGRPcHRpb25zUHJvdG8="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Protobuf.DescriptorReflection.Descriptor, global::Bgs.Protocol.RangeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Bgs.Protocol.LogOption), }, new pb::Extension[] { FieldOptionsExtensions.FieldOptions_, FieldOptionsExtensions.Valid }, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Bgs.Protocol.LogOption), }, new pb::Extension[] { FieldOptionsExtensions.FieldOptions_, FieldOptionsExtensions.Valid, FieldOptionsExtensions.SdkFieldOptions }, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BGSFieldOptions), global::Bgs.Protocol.BGSFieldOptions.Parser, new[]{ "Log", "ShardKey", "FanoutKey", "ClientInstanceKey", "RealizedEnum" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.FieldRestriction), global::Bgs.Protocol.FieldRestriction.Parser, new[]{ "Signed", "Unsigned", "Float", "String", "Repeated", "Message", "EntityId", "Bytes" }, new[]{ "Type" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.RepeatedFieldRestriction), global::Bgs.Protocol.RepeatedFieldRestriction.Parser, new[]{ "Size", "Unique", "Signed", "Unsigned", "Float", "String", "EntityId", "Bytes" }, new[]{ "Type" }, null, null, null),
@@ -81,7 +84,8 @@ namespace Bgs.Protocol {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.FloatFieldRestriction), global::Bgs.Protocol.FloatFieldRestriction.Parser, new[]{ "Limits", "Exclude" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.StringFieldRestriction), global::Bgs.Protocol.StringFieldRestriction.Parser, new[]{ "Size", "Exclude" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.EntityIdRestriction), global::Bgs.Protocol.EntityIdRestriction.Parser, new[]{ "Needed", "Kind" }, null, new[]{ typeof(global::Bgs.Protocol.EntityIdRestriction.Types.Kind) }, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.MessageFieldRestriction), global::Bgs.Protocol.MessageFieldRestriction.Parser, new[]{ "Needed" }, null, null, null, null)
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.MessageFieldRestriction), global::Bgs.Protocol.MessageFieldRestriction.Parser, new[]{ "Needed" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.SDKFieldOptions), global::Bgs.Protocol.SDKFieldOptions.Parser, new[]{ "Deprecated32Bit" }, null, null, null, null)
}));
}
#endregion
@@ -93,6 +97,8 @@ namespace Bgs.Protocol {
new pb::Extension<global::Google.Protobuf.FieldOptions, global::Bgs.Protocol.BGSFieldOptions>(90000, pb::FieldCodec.ForMessage(720002, global::Bgs.Protocol.BGSFieldOptions.Parser));
public static readonly pb::Extension<global::Google.Protobuf.FieldOptions, global::Bgs.Protocol.FieldRestriction> Valid =
new pb::Extension<global::Google.Protobuf.FieldOptions, global::Bgs.Protocol.FieldRestriction>(90001, pb::FieldCodec.ForMessage(720010, global::Bgs.Protocol.FieldRestriction.Parser));
public static readonly pb::Extension<global::Google.Protobuf.FieldOptions, global::Bgs.Protocol.SDKFieldOptions> SdkFieldOptions =
new pb::Extension<global::Google.Protobuf.FieldOptions, global::Bgs.Protocol.SDKFieldOptions>(90002, pb::FieldCodec.ForMessage(720018, global::Bgs.Protocol.SDKFieldOptions.Parser));
}
#region Enums
@@ -2472,6 +2478,150 @@ namespace Bgs.Protocol {
}
public sealed partial class SDKFieldOptions : pb::IMessage<SDKFieldOptions> {
private static readonly pb::MessageParser<SDKFieldOptions> _parser = new pb::MessageParser<SDKFieldOptions>(() => new SDKFieldOptions());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<SDKFieldOptions> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.FieldOptionsReflection.Descriptor.MessageTypes[9]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SDKFieldOptions() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SDKFieldOptions(SDKFieldOptions other) : this() {
_hasBits0 = other._hasBits0;
deprecated32Bit_ = other.deprecated32Bit_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SDKFieldOptions Clone() {
return new SDKFieldOptions(this);
}
/// <summary>Field number for the "deprecated_32_bit" field.</summary>
public const int Deprecated32BitFieldNumber = 4;
private readonly static bool Deprecated32BitDefaultValue = false;
private bool deprecated32Bit_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Deprecated32Bit {
get { if ((_hasBits0 & 1) != 0) { return deprecated32Bit_; } else { return Deprecated32BitDefaultValue; } }
set {
_hasBits0 |= 1;
deprecated32Bit_ = value;
}
}
/// <summary>Gets whether the "deprecated_32_bit" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasDeprecated32Bit {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "deprecated_32_bit" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearDeprecated32Bit() {
_hasBits0 &= ~1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SDKFieldOptions);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SDKFieldOptions other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Deprecated32Bit != other.Deprecated32Bit) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasDeprecated32Bit) hash ^= Deprecated32Bit.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 (HasDeprecated32Bit) {
output.WriteRawTag(32);
output.WriteBool(Deprecated32Bit);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasDeprecated32Bit) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SDKFieldOptions other) {
if (other == null) {
return;
}
if (other.HasDeprecated32Bit) {
Deprecated32Bit = other.Deprecated32Bit;
}
_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 32: {
Deprecated32Bit = input.ReadBool();
break;
}
}
}
}
}
#endregion
}
@@ -2,7 +2,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/global_extensions/message_options.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/global_extensions/method_options.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;
@@ -27,22 +27,27 @@ namespace Bgs.Protocol {
"CjhiZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9tZXRob2Rf",
"b3B0aW9ucy5wcm90bxIMYmdzLnByb3RvY29sGiBnb29nbGUvcHJvdG9idWYv",
"ZGVzY3JpcHRvci5wcm90bxoxYmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4",
"dGVuc2lvbnMvcm91dGluZy5wcm90byLoAgoQQkdTTWV0aG9kT3B0aW9ucxIK",
"CgJpZBgBIAEoDRJqChdjbGllbnRfaWRlbnRpdHlfcm91dGluZxgCIAEoDjIn",
"LmJncy5wcm90b2NvbC5DbGllbnRJZGVudGl0eVJvdXRpbmdUeXBlOiBDTElF",
"TlRfSURFTlRJVFlfUk9VVElOR19ESVNBQkxFRBIVCg1lbmFibGVfZmFub3V0",
"GAMgASgIEiEKGWxlZ2FjeV9mYW5vdXRfcmVwbGFjZW1lbnQYBCABKAkSEwoL",
"Zm9yd2FyZF9rZXkYBSABKAkSEgoKaWRlbXBvdGVudBgGIAEoCBImCh5oYW5k",
"bGVfZGVzdGluYXRpb25fdW5yZWFjaGFibGUYByABKAgSHgoWY3VzdG9tX3Jl",
"Z2lvbl9yZXNvbHZlchgIIAEoCRIfChdleHBsaWNpdF9yZWdpb25fcm91dGlu",
"ZxgJIAEoCBIQCghvYnNvbGV0ZRgKIAEoCDpYCg5tZXRob2Rfb3B0aW9ucxIe",
"Lmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGJC/BSABKAsyHi5iZ3Mu",
"cHJvdG9jb2wuQkdTTWV0aG9kT3B0aW9uc0IiCgxiZ3MucHJvdG9jb2xCEk1l",
"dGhvZE9wdGlvbnNQcm90bw=="));
"dGVuc2lvbnMvcm91dGluZy5wcm90bxo/YmdzL2xvdy9wYi9jbGllbnQvZ2xv",
"YmFsX2V4dGVuc2lvbnMvcmVnaXN0ZXJfbWV0aG9kX3R5cGVzLnByb3RvIoAE",
"ChBCR1NNZXRob2RPcHRpb25zEgoKAmlkGAEgASgNEmoKF2NsaWVudF9pZGVu",
"dGl0eV9yb3V0aW5nGAIgASgOMicuYmdzLnByb3RvY29sLkNsaWVudElkZW50",
"aXR5Um91dGluZ1R5cGU6IENMSUVOVF9JREVOVElUWV9ST1VUSU5HX0RJU0FC",
"TEVEEhUKDWVuYWJsZV9mYW5vdXQYAyABKAgSIQoZbGVnYWN5X2Zhbm91dF9y",
"ZXBsYWNlbWVudBgEIAEoCRITCgtmb3J3YXJkX2tleRgFIAEoCRISCgppZGVt",
"cG90ZW50GAYgASgIEiYKHmhhbmRsZV9kZXN0aW5hdGlvbl91bnJlYWNoYWJs",
"ZRgHIAEoCBIeChZjdXN0b21fcmVnaW9uX3Jlc29sdmVyGAggASgJEh8KF2V4",
"cGxpY2l0X3JlZ2lvbl9yb3V0aW5nGAkgASgIEhAKCG9ic29sZXRlGAogASgI",
"EloKFGNsaWVudF9yZWdpc3Rlcl90eXBlGAsgASgOMiYuYmdzLnByb3RvY29s",
"LkNsaWVudFJlZ2lzdGVyTWV0aG9kVHlwZToUUkVHSVNURVJfQ0xJRU5UX05P",
"TkUSHgoWZm9yd2FyZF9rZXlfcHJvdG9fZmlsZRgMIAEoCRIaChJmb3J3YXJk",
"X3NoYXJkX25hbWUYDSABKAk6WAoObWV0aG9kX29wdGlvbnMSHi5nb29nbGUu",
"cHJvdG9idWYuTWV0aG9kT3B0aW9ucxiQvwUgASgLMh4uYmdzLnByb3RvY29s",
"LkJHU01ldGhvZE9wdGlvbnNCIgoMYmdzLnByb3RvY29sQhJNZXRob2RPcHRp",
"b25zUHJvdG8="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Protobuf.DescriptorReflection.Descriptor, global::Bgs.Protocol.RoutingReflection.Descriptor, },
new pbr::FileDescriptor[] { global::Google.Protobuf.DescriptorReflection.Descriptor, global::Bgs.Protocol.RoutingReflection.Descriptor, global::Bgs.Protocol.RegisterMethodTypesReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pb::Extension[] { MethodOptionsExtensions.MethodOptions_ }, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BGSMethodOptions), global::Bgs.Protocol.BGSMethodOptions.Parser, new[]{ "Id", "ClientIdentityRouting", "EnableFanout", "LegacyFanoutReplacement", "ForwardKey", "Idempotent", "HandleDestinationUnreachable", "CustomRegionResolver", "ExplicitRegionRouting", "Obsolete" }, null, null, null, null)
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BGSMethodOptions), global::Bgs.Protocol.BGSMethodOptions.Parser, new[]{ "Id", "ClientIdentityRouting", "EnableFanout", "LegacyFanoutReplacement", "ForwardKey", "Idempotent", "HandleDestinationUnreachable", "CustomRegionResolver", "ExplicitRegionRouting", "Obsolete", "ClientRegisterType", "ForwardKeyProtoFile", "ForwardShardName" }, null, null, null, null)
}));
}
#endregion
@@ -92,6 +97,9 @@ namespace Bgs.Protocol {
customRegionResolver_ = other.customRegionResolver_;
explicitRegionRouting_ = other.explicitRegionRouting_;
obsolete_ = other.obsolete_;
clientRegisterType_ = other.clientRegisterType_;
forwardKeyProtoFile_ = other.forwardKeyProtoFile_;
forwardShardName_ = other.forwardShardName_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -337,6 +345,76 @@ namespace Bgs.Protocol {
_hasBits0 &= ~64;
}
/// <summary>Field number for the "client_register_type" field.</summary>
public const int ClientRegisterTypeFieldNumber = 11;
private readonly static global::Bgs.Protocol.ClientRegisterMethodType ClientRegisterTypeDefaultValue = global::Bgs.Protocol.ClientRegisterMethodType.RegisterClientNone;
private global::Bgs.Protocol.ClientRegisterMethodType clientRegisterType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.ClientRegisterMethodType ClientRegisterType {
get { if ((_hasBits0 & 128) != 0) { return clientRegisterType_; } else { return ClientRegisterTypeDefaultValue; } }
set {
_hasBits0 |= 128;
clientRegisterType_ = value;
}
}
/// <summary>Gets whether the "client_register_type" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasClientRegisterType {
get { return (_hasBits0 & 128) != 0; }
}
/// <summary>Clears the value of the "client_register_type" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearClientRegisterType() {
_hasBits0 &= ~128;
}
/// <summary>Field number for the "forward_key_proto_file" field.</summary>
public const int ForwardKeyProtoFileFieldNumber = 12;
private readonly static string ForwardKeyProtoFileDefaultValue = "";
private string forwardKeyProtoFile_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string ForwardKeyProtoFile {
get { return forwardKeyProtoFile_ ?? ForwardKeyProtoFileDefaultValue; }
set {
forwardKeyProtoFile_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "forward_key_proto_file" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasForwardKeyProtoFile {
get { return forwardKeyProtoFile_ != null; }
}
/// <summary>Clears the value of the "forward_key_proto_file" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearForwardKeyProtoFile() {
forwardKeyProtoFile_ = null;
}
/// <summary>Field number for the "forward_shard_name" field.</summary>
public const int ForwardShardNameFieldNumber = 13;
private readonly static string ForwardShardNameDefaultValue = "";
private string forwardShardName_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string ForwardShardName {
get { return forwardShardName_ ?? ForwardShardNameDefaultValue; }
set {
forwardShardName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Gets whether the "forward_shard_name" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasForwardShardName {
get { return forwardShardName_ != null; }
}
/// <summary>Clears the value of the "forward_shard_name" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearForwardShardName() {
forwardShardName_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as BGSMethodOptions);
@@ -360,6 +438,9 @@ namespace Bgs.Protocol {
if (CustomRegionResolver != other.CustomRegionResolver) return false;
if (ExplicitRegionRouting != other.ExplicitRegionRouting) return false;
if (Obsolete != other.Obsolete) return false;
if (ClientRegisterType != other.ClientRegisterType) return false;
if (ForwardKeyProtoFile != other.ForwardKeyProtoFile) return false;
if (ForwardShardName != other.ForwardShardName) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -376,6 +457,9 @@ namespace Bgs.Protocol {
if (HasCustomRegionResolver) hash ^= CustomRegionResolver.GetHashCode();
if (HasExplicitRegionRouting) hash ^= ExplicitRegionRouting.GetHashCode();
if (HasObsolete) hash ^= Obsolete.GetHashCode();
if (HasClientRegisterType) hash ^= ClientRegisterType.GetHashCode();
if (HasForwardKeyProtoFile) hash ^= ForwardKeyProtoFile.GetHashCode();
if (HasForwardShardName) hash ^= ForwardShardName.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -429,6 +513,18 @@ namespace Bgs.Protocol {
output.WriteRawTag(80);
output.WriteBool(Obsolete);
}
if (HasClientRegisterType) {
output.WriteRawTag(88);
output.WriteEnum((int) ClientRegisterType);
}
if (HasForwardKeyProtoFile) {
output.WriteRawTag(98);
output.WriteString(ForwardKeyProtoFile);
}
if (HasForwardShardName) {
output.WriteRawTag(106);
output.WriteString(ForwardShardName);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
@@ -467,6 +563,15 @@ namespace Bgs.Protocol {
if (HasObsolete) {
size += 1 + 1;
}
if (HasClientRegisterType) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ClientRegisterType);
}
if (HasForwardKeyProtoFile) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ForwardKeyProtoFile);
}
if (HasForwardShardName) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ForwardShardName);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
@@ -508,6 +613,15 @@ namespace Bgs.Protocol {
if (other.HasObsolete) {
Obsolete = other.Obsolete;
}
if (other.HasClientRegisterType) {
ClientRegisterType = other.ClientRegisterType;
}
if (other.HasForwardKeyProtoFile) {
ForwardKeyProtoFile = other.ForwardKeyProtoFile;
}
if (other.HasForwardShardName) {
ForwardShardName = other.ForwardShardName;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -559,6 +673,18 @@ namespace Bgs.Protocol {
Obsolete = input.ReadBool();
break;
}
case 88: {
ClientRegisterType = (global::Bgs.Protocol.ClientRegisterMethodType) input.ReadEnum();
break;
}
case 98: {
ForwardKeyProtoFile = input.ReadString();
break;
}
case 106: {
ForwardShardName = input.ReadString();
break;
}
}
}
}
@@ -2,7 +2,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/global_extensions/range.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;
@@ -0,0 +1,52 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/global_extensions/register_method_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/global_extensions/register_method_types.proto</summary>
public static partial class RegisterMethodTypesReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/global_extensions/register_method_types.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RegisterMethodTypesReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cj9iZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9ucy9yZWdpc3Rl",
"cl9tZXRob2RfdHlwZXMucHJvdG8SDGJncy5wcm90b2NvbCqlAQoYQ2xpZW50",
"UmVnaXN0ZXJNZXRob2RUeXBlEhgKFFJFR0lTVEVSX0NMSUVOVF9OT05FEAAS",
"HgoaUkVHSVNURVJfQ0xJRU5UX1JFR0lTVEVSRUQQARIgChxSRUdJU1RFUl9D",
"TElFTlRfVU5SRUdJU1RFUkVEEAISLQopUkVHSVNURVJfQ0xJRU5UX1VOUkVH",
"SVNURVJFRF9OT1RJRklDQVRJT04QAw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Bgs.Protocol.ClientRegisterMethodType), }, null, null));
}
#endregion
}
#region Enums
public enum ClientRegisterMethodType {
[pbr::OriginalName("REGISTER_CLIENT_NONE")] RegisterClientNone = 0,
[pbr::OriginalName("REGISTER_CLIENT_REGISTERED")] RegisterClientRegistered = 1,
[pbr::OriginalName("REGISTER_CLIENT_UNREGISTERED")] RegisterClientUnregistered = 2,
[pbr::OriginalName("REGISTER_CLIENT_UNREGISTERED_NOTIFICATION")] RegisterClientUnregisteredNotification = 3,
}
#endregion
}
#endregion Designer generated code
@@ -2,7 +2,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/global_extensions/routing.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/global_extensions/service_options.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;
@@ -34,8 +34,9 @@ namespace Bgs.Protocol {
"IAEoCRIRCglpc19nbG9iYWwYCSABKAgiegoLU2VydmljZVR5cGUSFAoQU0VS",
"VklDRV9UWVBFX1JQQxAAEhsKF1NFUlZJQ0VfVFlQRV9SUENfRElSRUNUEAES",
"FgoSU0VSVklDRV9UWVBFX0VWRU5UEAISIAocU0VSVklDRV9UWVBFX0VWRU5U",
"X0JST0FEQ0FTVBADIk0KEVNES1NlcnZpY2VPcHRpb25zEg8KB2luYm91bmQY",
"X0JST0FEQ0FTVBADInoKEVNES1NlcnZpY2VPcHRpb25zEg8KB2luYm91bmQY",
"ASABKAgSEAoIb3V0Ym91bmQYAiABKAgSFQoNdXNlX2NsaWVudF9pZBgDIAEo",
"CBIZChFkZXByZWNhdGVkXzMyX2JpdBgEIAEoCBIQCghvYnNvbGV0ZRgFIAEo",
"CDpbCg9zZXJ2aWNlX29wdGlvbnMSHy5nb29nbGUucHJvdG9idWYuU2Vydmlj",
"ZU9wdGlvbnMYkL8FIAEoCzIfLmJncy5wcm90b2NvbC5CR1NTZXJ2aWNlT3B0",
"aW9uczpfChNzZGtfc2VydmljZV9vcHRpb25zEh8uZ29vZ2xlLnByb3RvYnVm",
@@ -46,7 +47,7 @@ namespace Bgs.Protocol {
new pbr::FileDescriptor[] { global::Google.Protobuf.DescriptorReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pb::Extension[] { ServiceOptionsExtensions.ServiceOptions_, ServiceOptionsExtensions.SdkServiceOptions }, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.BGSServiceOptions), global::Bgs.Protocol.BGSServiceOptions.Parser, new[]{ "DescriptorName", "Version", "ShardName", "ResolveClientInstance", "Type", "ApiType", "IsGlobal" }, null, new[]{ typeof(global::Bgs.Protocol.BGSServiceOptions.Types.ServiceType) }, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.SDKServiceOptions), global::Bgs.Protocol.SDKServiceOptions.Parser, new[]{ "Inbound", "Outbound", "UseClientId" }, null, null, null, null)
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.SDKServiceOptions), global::Bgs.Protocol.SDKServiceOptions.Parser, new[]{ "Inbound", "Outbound", "UseClientId", "Deprecated32Bit", "Obsolete" }, null, null, null, null)
}));
}
#endregion
@@ -492,6 +493,8 @@ namespace Bgs.Protocol {
inbound_ = other.inbound_;
outbound_ = other.outbound_;
useClientId_ = other.useClientId_;
deprecated32Bit_ = other.deprecated32Bit_;
obsolete_ = other.obsolete_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -572,6 +575,54 @@ namespace Bgs.Protocol {
_hasBits0 &= ~4;
}
/// <summary>Field number for the "deprecated_32_bit" field.</summary>
public const int Deprecated32BitFieldNumber = 4;
private readonly static bool Deprecated32BitDefaultValue = false;
private bool deprecated32Bit_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Deprecated32Bit {
get { if ((_hasBits0 & 8) != 0) { return deprecated32Bit_; } else { return Deprecated32BitDefaultValue; } }
set {
_hasBits0 |= 8;
deprecated32Bit_ = value;
}
}
/// <summary>Gets whether the "deprecated_32_bit" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasDeprecated32Bit {
get { return (_hasBits0 & 8) != 0; }
}
/// <summary>Clears the value of the "deprecated_32_bit" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearDeprecated32Bit() {
_hasBits0 &= ~8;
}
/// <summary>Field number for the "obsolete" field.</summary>
public const int ObsoleteFieldNumber = 5;
private readonly static bool ObsoleteDefaultValue = false;
private bool obsolete_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Obsolete {
get { if ((_hasBits0 & 16) != 0) { return obsolete_; } else { return ObsoleteDefaultValue; } }
set {
_hasBits0 |= 16;
obsolete_ = value;
}
}
/// <summary>Gets whether the "obsolete" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasObsolete {
get { return (_hasBits0 & 16) != 0; }
}
/// <summary>Clears the value of the "obsolete" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearObsolete() {
_hasBits0 &= ~16;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SDKServiceOptions);
@@ -588,6 +639,8 @@ namespace Bgs.Protocol {
if (Inbound != other.Inbound) return false;
if (Outbound != other.Outbound) return false;
if (UseClientId != other.UseClientId) return false;
if (Deprecated32Bit != other.Deprecated32Bit) return false;
if (Obsolete != other.Obsolete) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -597,6 +650,8 @@ namespace Bgs.Protocol {
if (HasInbound) hash ^= Inbound.GetHashCode();
if (HasOutbound) hash ^= Outbound.GetHashCode();
if (HasUseClientId) hash ^= UseClientId.GetHashCode();
if (HasDeprecated32Bit) hash ^= Deprecated32Bit.GetHashCode();
if (HasObsolete) hash ^= Obsolete.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -622,6 +677,14 @@ namespace Bgs.Protocol {
output.WriteRawTag(24);
output.WriteBool(UseClientId);
}
if (HasDeprecated32Bit) {
output.WriteRawTag(32);
output.WriteBool(Deprecated32Bit);
}
if (HasObsolete) {
output.WriteRawTag(40);
output.WriteBool(Obsolete);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
@@ -639,6 +702,12 @@ namespace Bgs.Protocol {
if (HasUseClientId) {
size += 1 + 1;
}
if (HasDeprecated32Bit) {
size += 1 + 1;
}
if (HasObsolete) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
@@ -659,6 +728,12 @@ namespace Bgs.Protocol {
if (other.HasUseClientId) {
UseClientId = other.UseClientId;
}
if (other.HasDeprecated32Bit) {
Deprecated32Bit = other.Deprecated32Bit;
}
if (other.HasObsolete) {
Obsolete = other.Obsolete;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -682,6 +757,14 @@ namespace Bgs.Protocol {
UseClientId = input.ReadBool();
break;
}
case 32: {
Deprecated32Bit = input.ReadBool();
break;
}
case 40: {
Obsolete = input.ReadBool();
break;
}
}
}
}