// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: ServerListMeta.proto // #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 { /// Holder for reflection information generated from ServerListMeta.proto public static partial class ServerListMetaReflection { #region Descriptor /// File descriptor for ServerListMeta.proto 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 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ServerListMeta()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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); } /// Field number for the "version" field. 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; } } /// Field number for the "agent" field. public const int AgentFieldNumber = 2; private static readonly pb::FieldCodec _repeated_agent_codec = pb::FieldCodec.ForMessage(18, global::Pb.ServerAgent.Parser); private readonly pbc::RepeatedField agent_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Agent { get { return agent_; } } /// Field number for the "status" field. 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; } } /// Field number for the "message" field. 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"); } } /// Field number for the "announcement" field. 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"); } } /// Field number for the "report_endpoint" field. 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