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/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
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user