//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RegionInfo.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 EggLink.DanhengServer.Proto {
/// Holder for reflection information generated from RegionInfo.proto
public static partial class RegionInfoReflection {
#region Descriptor
/// File descriptor for RegionInfo.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RegionInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChBSZWdpb25JbmZvLnByb3RvInQKClJlZ2lvbkluZm8SDAoEbmFtZRgBIAEo",
"CRINCgV0aXRsZRgCIAEoCRIUCgxkaXNwYXRjaF91cmwYAyABKAkSEAoIZW52",
"X3R5cGUYBCABKAkSFAoMZGlzcGxheV9uYW1lGAUgASgJEgsKA21zZxgGIAEo",
"CUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RegionInfo), global::EggLink.DanhengServer.Proto.RegionInfo.Parser, new[]{ "Name", "Title", "DispatchUrl", "EnvType", "DisplayName", "Msg" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RegionInfo : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RegionInfo());
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::EggLink.DanhengServer.Proto.RegionInfoReflection.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 RegionInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RegionInfo(RegionInfo other) : this() {
name_ = other.name_;
title_ = other.title_;
dispatchUrl_ = other.dispatchUrl_;
envType_ = other.envType_;
displayName_ = other.displayName_;
msg_ = other.msg_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RegionInfo Clone() {
return new RegionInfo(this);
}
/// Field number for the "name" field.
public const int NameFieldNumber = 1;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "title" field.
public const int TitleFieldNumber = 2;
private string title_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Title {
get { return title_; }
set {
title_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "dispatch_url" field.
public const int DispatchUrlFieldNumber = 3;
private string dispatchUrl_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string DispatchUrl {
get { return dispatchUrl_; }
set {
dispatchUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "env_type" field.
public const int EnvTypeFieldNumber = 4;
private string envType_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string EnvType {
get { return envType_; }
set {
envType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "display_name" field.
public const int DisplayNameFieldNumber = 5;
private string displayName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string DisplayName {
get { return displayName_; }
set {
displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "msg" field.
public const int MsgFieldNumber = 6;
private string msg_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Msg {
get { return msg_; }
set {
msg_ = 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 RegionInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RegionInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Name != other.Name) return false;
if (Title != other.Title) return false;
if (DispatchUrl != other.DispatchUrl) return false;
if (EnvType != other.EnvType) return false;
if (DisplayName != other.DisplayName) return false;
if (Msg != other.Msg) 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 (Name.Length != 0) hash ^= Name.GetHashCode();
if (Title.Length != 0) hash ^= Title.GetHashCode();
if (DispatchUrl.Length != 0) hash ^= DispatchUrl.GetHashCode();
if (EnvType.Length != 0) hash ^= EnvType.GetHashCode();
if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode();
if (Msg.Length != 0) hash ^= Msg.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 (Name.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Name);
}
if (Title.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Title);
}
if (DispatchUrl.Length != 0) {
output.WriteRawTag(26);
output.WriteString(DispatchUrl);
}
if (EnvType.Length != 0) {
output.WriteRawTag(34);
output.WriteString(EnvType);
}
if (DisplayName.Length != 0) {
output.WriteRawTag(42);
output.WriteString(DisplayName);
}
if (Msg.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Msg);
}
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 (Name.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Name);
}
if (Title.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Title);
}
if (DispatchUrl.Length != 0) {
output.WriteRawTag(26);
output.WriteString(DispatchUrl);
}
if (EnvType.Length != 0) {
output.WriteRawTag(34);
output.WriteString(EnvType);
}
if (DisplayName.Length != 0) {
output.WriteRawTag(42);
output.WriteString(DisplayName);
}
if (Msg.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Msg);
}
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 (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (Title.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Title);
}
if (DispatchUrl.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(DispatchUrl);
}
if (EnvType.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(EnvType);
}
if (DisplayName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName);
}
if (Msg.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Msg);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RegionInfo other) {
if (other == null) {
return;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.Title.Length != 0) {
Title = other.Title;
}
if (other.DispatchUrl.Length != 0) {
DispatchUrl = other.DispatchUrl;
}
if (other.EnvType.Length != 0) {
EnvType = other.EnvType;
}
if (other.DisplayName.Length != 0) {
DisplayName = other.DisplayName;
}
if (other.Msg.Length != 0) {
Msg = other.Msg;
}
_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) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Name = input.ReadString();
break;
}
case 18: {
Title = input.ReadString();
break;
}
case 26: {
DispatchUrl = input.ReadString();
break;
}
case 34: {
EnvType = input.ReadString();
break;
}
case 42: {
DisplayName = input.ReadString();
break;
}
case 50: {
Msg = 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) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
Name = input.ReadString();
break;
}
case 18: {
Title = input.ReadString();
break;
}
case 26: {
DispatchUrl = input.ReadString();
break;
}
case 34: {
EnvType = input.ReadString();
break;
}
case 42: {
DisplayName = input.ReadString();
break;
}
case 50: {
Msg = input.ReadString();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code