mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-13 06:54:48 +01:00
419 lines
14 KiB
C#
419 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: ServerListMeta.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 Pb {
|
|
|
|
/// <summary>Holder for reflection information generated from ServerListMeta.proto</summary>
|
|
public static partial class ServerListMetaReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for ServerListMeta.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ServerListMetaReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChRTZXJ2ZXJMaXN0TWV0YS5wcm90bxoRU2VydmVyQWdlbnQucHJvdG8ijgEK",
|
|
"DlNlcnZlckxpc3RNZXRhEg8KB3ZlcnNpb24YASABKAMSGwoFYWdlbnQYAiAD",
|
|
"KAsyDC5TZXJ2ZXJBZ2VudBIOCgZzdGF0dXMYAyABKAUSDwoHbWVzc2FnZRgE",
|
|
"IAEoCRIUCgxhbm5vdW5jZW1lbnQYBSABKAkSFwoPcmVwb3J0X2VuZHBvaW50",
|
|
"GAYgASgJQgWqAgJQYmIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::Pb.ServerAgentReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Pb.ServerListMeta), global::Pb.ServerListMeta.Parser, new[]{ "Version", "Agent", "Status", "Message", "Announcement", "ReportEndpoint" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ServerListMeta : pb::IMessage<ServerListMeta>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ServerListMeta> _parser = new pb::MessageParser<ServerListMeta>(() => new ServerListMeta());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ServerListMeta> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Pb.ServerListMetaReflection.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 ServerListMeta() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ServerListMeta(ServerListMeta other) : this() {
|
|
version_ = other.version_;
|
|
agent_ = other.agent_.Clone();
|
|
status_ = other.status_;
|
|
message_ = other.message_;
|
|
announcement_ = other.announcement_;
|
|
reportEndpoint_ = other.reportEndpoint_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ServerListMeta Clone() {
|
|
return new ServerListMeta(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "version" field.</summary>
|
|
public const int VersionFieldNumber = 1;
|
|
private long version_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public long Version {
|
|
get { return version_; }
|
|
set {
|
|
version_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "agent" field.</summary>
|
|
public const int AgentFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<global::Pb.ServerAgent> _repeated_agent_codec
|
|
= pb::FieldCodec.ForMessage(18, global::Pb.ServerAgent.Parser);
|
|
private readonly pbc::RepeatedField<global::Pb.ServerAgent> agent_ = new pbc::RepeatedField<global::Pb.ServerAgent>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::Pb.ServerAgent> Agent {
|
|
get { return agent_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "status" field.</summary>
|
|
public const int StatusFieldNumber = 3;
|
|
private int status_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Status {
|
|
get { return status_; }
|
|
set {
|
|
status_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "message" field.</summary>
|
|
public const int MessageFieldNumber = 4;
|
|
private string message_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Message {
|
|
get { return message_; }
|
|
set {
|
|
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "announcement" field.</summary>
|
|
public const int AnnouncementFieldNumber = 5;
|
|
private string announcement_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Announcement {
|
|
get { return announcement_; }
|
|
set {
|
|
announcement_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "report_endpoint" field.</summary>
|
|
public const int ReportEndpointFieldNumber = 6;
|
|
private string reportEndpoint_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string ReportEndpoint {
|
|
get { return reportEndpoint_; }
|
|
set {
|
|
reportEndpoint_ = 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 ServerListMeta);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ServerListMeta other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Version != other.Version) return false;
|
|
if(!agent_.Equals(other.agent_)) return false;
|
|
if (Status != other.Status) return false;
|
|
if (Message != other.Message) return false;
|
|
if (Announcement != other.Announcement) return false;
|
|
if (ReportEndpoint != other.ReportEndpoint) 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 (Version != 0L) hash ^= Version.GetHashCode();
|
|
hash ^= agent_.GetHashCode();
|
|
if (Status != 0) hash ^= Status.GetHashCode();
|
|
if (Message.Length != 0) hash ^= Message.GetHashCode();
|
|
if (Announcement.Length != 0) hash ^= Announcement.GetHashCode();
|
|
if (ReportEndpoint.Length != 0) hash ^= ReportEndpoint.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 (Version != 0L) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt64(Version);
|
|
}
|
|
agent_.WriteTo(output, _repeated_agent_codec);
|
|
if (Status != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(Status);
|
|
}
|
|
if (Message.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Message);
|
|
}
|
|
if (Announcement.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(Announcement);
|
|
}
|
|
if (ReportEndpoint.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(ReportEndpoint);
|
|
}
|
|
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 (Version != 0L) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt64(Version);
|
|
}
|
|
agent_.WriteTo(ref output, _repeated_agent_codec);
|
|
if (Status != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(Status);
|
|
}
|
|
if (Message.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Message);
|
|
}
|
|
if (Announcement.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(Announcement);
|
|
}
|
|
if (ReportEndpoint.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(ReportEndpoint);
|
|
}
|
|
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 (Version != 0L) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Version);
|
|
}
|
|
size += agent_.CalculateSize(_repeated_agent_codec);
|
|
if (Status != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Status);
|
|
}
|
|
if (Message.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
|
|
}
|
|
if (Announcement.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Announcement);
|
|
}
|
|
if (ReportEndpoint.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(ReportEndpoint);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(ServerListMeta other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Version != 0L) {
|
|
Version = other.Version;
|
|
}
|
|
agent_.Add(other.agent_);
|
|
if (other.Status != 0) {
|
|
Status = other.Status;
|
|
}
|
|
if (other.Message.Length != 0) {
|
|
Message = other.Message;
|
|
}
|
|
if (other.Announcement.Length != 0) {
|
|
Announcement = other.Announcement;
|
|
}
|
|
if (other.ReportEndpoint.Length != 0) {
|
|
ReportEndpoint = other.ReportEndpoint;
|
|
}
|
|
_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: {
|
|
Version = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 18: {
|
|
agent_.AddEntriesFrom(input, _repeated_agent_codec);
|
|
break;
|
|
}
|
|
case 24: {
|
|
Status = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Message = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
Announcement = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
ReportEndpoint = 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: {
|
|
Version = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 18: {
|
|
agent_.AddEntriesFrom(ref input, _repeated_agent_codec);
|
|
break;
|
|
}
|
|
case 24: {
|
|
Status = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Message = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
Announcement = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
ReportEndpoint = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|