Updated Proto files
This commit is contained in:
@@ -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",
|
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25hbWUYDSABKAk6WAoObWV0aG9kX29wdGlvbnMSHi5nb29nbGUu",
|
||||
"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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user