mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-14 07:24:48 +01:00
Init commit
This commit is contained in:
382
NTR.Common/protos/AgentSpecialPerformance.cs
Normal file
382
NTR.Common/protos/AgentSpecialPerformance.cs
Normal file
@@ -0,0 +1,382 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: AgentSpecialPerformance.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021, 8981
|
||||
#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 Nova.Client {
|
||||
|
||||
/// <summary>Holder for reflection information generated from AgentSpecialPerformance.proto</summary>
|
||||
public static partial class AgentSpecialPerformanceReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for AgentSpecialPerformance.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static AgentSpecialPerformanceReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ch1BZ2VudFNwZWNpYWxQZXJmb3JtYW5jZS5wcm90byJrChdBZ2VudFNwZWNp",
|
||||
"YWxQZXJmb3JtYW5jZRIKCgJpZBgBIAEoBRIPCgdjaGFyX2lkGAIgAygFEg4K",
|
||||
"BndlaWdodBgDIAEoBRILCgNhdmcYBCABKAkSFgoOYV92X2dfZ3JvdXBfaWQY",
|
||||
"BSABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AgentSpecialPerformance), global::Nova.Client.AgentSpecialPerformance.Parser, new[]{ "Id", "CharId", "Weight", "Avg", "AVGGroupId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class AgentSpecialPerformance : pb::IMessage<AgentSpecialPerformance>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<AgentSpecialPerformance> _parser = new pb::MessageParser<AgentSpecialPerformance>(() => new AgentSpecialPerformance());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<AgentSpecialPerformance> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::Nova.Client.AgentSpecialPerformanceReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AgentSpecialPerformance() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AgentSpecialPerformance(AgentSpecialPerformance other) : this() {
|
||||
id_ = other.id_;
|
||||
charId_ = other.charId_.Clone();
|
||||
weight_ = other.weight_;
|
||||
avg_ = other.avg_;
|
||||
aVGGroupId_ = other.aVGGroupId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public AgentSpecialPerformance Clone() {
|
||||
return new AgentSpecialPerformance(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "id" field.</summary>
|
||||
public const int IdFieldNumber = 1;
|
||||
private int id_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Id {
|
||||
get { return id_; }
|
||||
set {
|
||||
id_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "char_id" field.</summary>
|
||||
public const int CharIdFieldNumber = 2;
|
||||
private static readonly pb::FieldCodec<int> _repeated_charId_codec
|
||||
= pb::FieldCodec.ForInt32(18);
|
||||
private readonly pbc::RepeatedField<int> charId_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> CharId {
|
||||
get { return charId_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "weight" field.</summary>
|
||||
public const int WeightFieldNumber = 3;
|
||||
private int weight_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Weight {
|
||||
get { return weight_; }
|
||||
set {
|
||||
weight_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "avg" field.</summary>
|
||||
public const int AvgFieldNumber = 4;
|
||||
private string avg_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Avg {
|
||||
get { return avg_; }
|
||||
set {
|
||||
avg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "a_v_g_group_id" field.</summary>
|
||||
public const int AVGGroupIdFieldNumber = 5;
|
||||
private string aVGGroupId_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string AVGGroupId {
|
||||
get { return aVGGroupId_; }
|
||||
set {
|
||||
aVGGroupId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as AgentSpecialPerformance);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(AgentSpecialPerformance other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Id != other.Id) return false;
|
||||
if(!charId_.Equals(other.charId_)) return false;
|
||||
if (Weight != other.Weight) return false;
|
||||
if (Avg != other.Avg) return false;
|
||||
if (AVGGroupId != other.AVGGroupId) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (Id != 0) hash ^= Id.GetHashCode();
|
||||
hash ^= charId_.GetHashCode();
|
||||
if (Weight != 0) hash ^= Weight.GetHashCode();
|
||||
if (Avg.Length != 0) hash ^= Avg.GetHashCode();
|
||||
if (AVGGroupId.Length != 0) hash ^= AVGGroupId.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (Id != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(Id);
|
||||
}
|
||||
charId_.WriteTo(output, _repeated_charId_codec);
|
||||
if (Weight != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(Weight);
|
||||
}
|
||||
if (Avg.Length != 0) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteString(Avg);
|
||||
}
|
||||
if (AVGGroupId.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(AVGGroupId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (Id != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(Id);
|
||||
}
|
||||
charId_.WriteTo(ref output, _repeated_charId_codec);
|
||||
if (Weight != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(Weight);
|
||||
}
|
||||
if (Avg.Length != 0) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteString(Avg);
|
||||
}
|
||||
if (AVGGroupId.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(AVGGroupId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (Id != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
|
||||
}
|
||||
size += charId_.CalculateSize(_repeated_charId_codec);
|
||||
if (Weight != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Weight);
|
||||
}
|
||||
if (Avg.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Avg);
|
||||
}
|
||||
if (AVGGroupId.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(AVGGroupId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(AgentSpecialPerformance other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
charId_.Add(other.charId_);
|
||||
if (other.Weight != 0) {
|
||||
Weight = other.Weight;
|
||||
}
|
||||
if (other.Avg.Length != 0) {
|
||||
Avg = other.Avg;
|
||||
}
|
||||
if (other.AVGGroupId.Length != 0) {
|
||||
AVGGroupId = other.AVGGroupId;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
if ((tag & 7) == 4) {
|
||||
// Abort on any end group tag.
|
||||
return;
|
||||
}
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 8: {
|
||||
Id = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 18:
|
||||
case 16: {
|
||||
charId_.AddEntriesFrom(input, _repeated_charId_codec);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
Weight = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
Avg = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
AVGGroupId = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
if ((tag & 7) == 4) {
|
||||
// Abort on any end group tag.
|
||||
return;
|
||||
}
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 8: {
|
||||
Id = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 18:
|
||||
case 16: {
|
||||
charId_.AddEntriesFrom(ref input, _repeated_charId_codec);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
Weight = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
Avg = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
AVGGroupId = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user