mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-12 14:34:38 +01:00
640 lines
22 KiB
C#
640 lines
22 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: star_tower_build_whether_save.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 Proto {
|
|
|
|
/// <summary>Holder for reflection information generated from star_tower_build_whether_save.proto</summary>
|
|
public static partial class StarTowerBuildWhetherSaveReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for star_tower_build_whether_save.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static StarTowerBuildWhetherSaveReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CiNzdGFyX3Rvd2VyX2J1aWxkX3doZXRoZXJfc2F2ZS5wcm90bxIFcHJvdG8a",
|
|
"F3B1YmxpY19zdGFyX3Rvd2VyLnByb3RvInkKHFN0YXJUb3dlckJ1aWxkV2hl",
|
|
"dGhlclNhdmVSZXESDgoGRGVsZXRlGAEgASgIEgwKBExvY2sYAiABKAgSEgoK",
|
|
"UHJlZmVyZW5jZRgDIAEoCBIRCglCdWlsZE5hbWUYBCABKAkSFAoLTmV4dFBh",
|
|
"Y2thZ2UY/w8gASgMIlgKHVN0YXJUb3dlckJ1aWxkV2hldGhlclNhdmVSZXNw",
|
|
"EiEKBkNoYW5nZRgBIAEoCzIRLnByb3RvLkNoYW5nZUluZm8SFAoLTmV4dFBh",
|
|
"Y2thZ2UY/w8gASgMUABiBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::Proto.PublicStarTowerReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBuildWhetherSaveReq), global::Proto.StarTowerBuildWhetherSaveReq.Parser, new[]{ "Delete", "Lock", "Preference", "BuildName", "NextPackage" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StarTowerBuildWhetherSaveResp), global::Proto.StarTowerBuildWhetherSaveResp.Parser, new[]{ "Change", "NextPackage" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class StarTowerBuildWhetherSaveReq : pb::IMessage<StarTowerBuildWhetherSaveReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<StarTowerBuildWhetherSaveReq> _parser = new pb::MessageParser<StarTowerBuildWhetherSaveReq>(() => new StarTowerBuildWhetherSaveReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<StarTowerBuildWhetherSaveReq> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Proto.StarTowerBuildWhetherSaveReflection.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 StarTowerBuildWhetherSaveReq() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StarTowerBuildWhetherSaveReq(StarTowerBuildWhetherSaveReq other) : this() {
|
|
delete_ = other.delete_;
|
|
lock_ = other.lock_;
|
|
preference_ = other.preference_;
|
|
buildName_ = other.buildName_;
|
|
nextPackage_ = other.nextPackage_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StarTowerBuildWhetherSaveReq Clone() {
|
|
return new StarTowerBuildWhetherSaveReq(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "Delete" field.</summary>
|
|
public const int DeleteFieldNumber = 1;
|
|
private bool delete_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Delete {
|
|
get { return delete_; }
|
|
set {
|
|
delete_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Lock" field.</summary>
|
|
public const int LockFieldNumber = 2;
|
|
private bool lock_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Lock {
|
|
get { return lock_; }
|
|
set {
|
|
lock_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Preference" field.</summary>
|
|
public const int PreferenceFieldNumber = 3;
|
|
private bool preference_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Preference {
|
|
get { return preference_; }
|
|
set {
|
|
preference_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "BuildName" field.</summary>
|
|
public const int BuildNameFieldNumber = 4;
|
|
private string buildName_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string BuildName {
|
|
get { return buildName_; }
|
|
set {
|
|
buildName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "NextPackage" field.</summary>
|
|
public const int NextPackageFieldNumber = 2047;
|
|
private pb::ByteString nextPackage_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pb::ByteString NextPackage {
|
|
get { return nextPackage_; }
|
|
set {
|
|
nextPackage_ = 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 StarTowerBuildWhetherSaveReq);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(StarTowerBuildWhetherSaveReq other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Delete != other.Delete) return false;
|
|
if (Lock != other.Lock) return false;
|
|
if (Preference != other.Preference) return false;
|
|
if (BuildName != other.BuildName) return false;
|
|
if (NextPackage != other.NextPackage) 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 (Delete != false) hash ^= Delete.GetHashCode();
|
|
if (Lock != false) hash ^= Lock.GetHashCode();
|
|
if (Preference != false) hash ^= Preference.GetHashCode();
|
|
if (BuildName.Length != 0) hash ^= BuildName.GetHashCode();
|
|
if (NextPackage.Length != 0) hash ^= NextPackage.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 (Delete != false) {
|
|
output.WriteRawTag(8);
|
|
output.WriteBool(Delete);
|
|
}
|
|
if (Lock != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(Lock);
|
|
}
|
|
if (Preference != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(Preference);
|
|
}
|
|
if (BuildName.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(BuildName);
|
|
}
|
|
if (NextPackage.Length != 0) {
|
|
output.WriteRawTag(250, 127);
|
|
output.WriteBytes(NextPackage);
|
|
}
|
|
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 (Delete != false) {
|
|
output.WriteRawTag(8);
|
|
output.WriteBool(Delete);
|
|
}
|
|
if (Lock != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(Lock);
|
|
}
|
|
if (Preference != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(Preference);
|
|
}
|
|
if (BuildName.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(BuildName);
|
|
}
|
|
if (NextPackage.Length != 0) {
|
|
output.WriteRawTag(250, 127);
|
|
output.WriteBytes(NextPackage);
|
|
}
|
|
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 (Delete != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (Lock != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (Preference != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (BuildName.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(BuildName);
|
|
}
|
|
if (NextPackage.Length != 0) {
|
|
size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(StarTowerBuildWhetherSaveReq other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Delete != false) {
|
|
Delete = other.Delete;
|
|
}
|
|
if (other.Lock != false) {
|
|
Lock = other.Lock;
|
|
}
|
|
if (other.Preference != false) {
|
|
Preference = other.Preference;
|
|
}
|
|
if (other.BuildName.Length != 0) {
|
|
BuildName = other.BuildName;
|
|
}
|
|
if (other.NextPackage.Length != 0) {
|
|
NextPackage = other.NextPackage;
|
|
}
|
|
_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: {
|
|
Delete = input.ReadBool();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Lock = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Preference = input.ReadBool();
|
|
break;
|
|
}
|
|
case 34: {
|
|
BuildName = input.ReadString();
|
|
break;
|
|
}
|
|
case 16378: {
|
|
NextPackage = input.ReadBytes();
|
|
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: {
|
|
Delete = input.ReadBool();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Lock = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Preference = input.ReadBool();
|
|
break;
|
|
}
|
|
case 34: {
|
|
BuildName = input.ReadString();
|
|
break;
|
|
}
|
|
case 16378: {
|
|
NextPackage = input.ReadBytes();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class StarTowerBuildWhetherSaveResp : pb::IMessage<StarTowerBuildWhetherSaveResp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<StarTowerBuildWhetherSaveResp> _parser = new pb::MessageParser<StarTowerBuildWhetherSaveResp>(() => new StarTowerBuildWhetherSaveResp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<StarTowerBuildWhetherSaveResp> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Proto.StarTowerBuildWhetherSaveReflection.Descriptor.MessageTypes[1]; }
|
|
}
|
|
|
|
[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 StarTowerBuildWhetherSaveResp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StarTowerBuildWhetherSaveResp(StarTowerBuildWhetherSaveResp other) : this() {
|
|
change_ = other.change_ != null ? other.change_.Clone() : null;
|
|
nextPackage_ = other.nextPackage_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StarTowerBuildWhetherSaveResp Clone() {
|
|
return new StarTowerBuildWhetherSaveResp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "Change" field.</summary>
|
|
public const int ChangeFieldNumber = 1;
|
|
private global::Proto.ChangeInfo change_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::Proto.ChangeInfo Change {
|
|
get { return change_; }
|
|
set {
|
|
change_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "NextPackage" field.</summary>
|
|
public const int NextPackageFieldNumber = 2047;
|
|
private pb::ByteString nextPackage_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pb::ByteString NextPackage {
|
|
get { return nextPackage_; }
|
|
set {
|
|
nextPackage_ = 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 StarTowerBuildWhetherSaveResp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(StarTowerBuildWhetherSaveResp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(Change, other.Change)) return false;
|
|
if (NextPackage != other.NextPackage) 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 (change_ != null) hash ^= Change.GetHashCode();
|
|
if (NextPackage.Length != 0) hash ^= NextPackage.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 (change_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(Change);
|
|
}
|
|
if (NextPackage.Length != 0) {
|
|
output.WriteRawTag(250, 127);
|
|
output.WriteBytes(NextPackage);
|
|
}
|
|
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 (change_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(Change);
|
|
}
|
|
if (NextPackage.Length != 0) {
|
|
output.WriteRawTag(250, 127);
|
|
output.WriteBytes(NextPackage);
|
|
}
|
|
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 (change_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Change);
|
|
}
|
|
if (NextPackage.Length != 0) {
|
|
size += 2 + pb::CodedOutputStream.ComputeBytesSize(NextPackage);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(StarTowerBuildWhetherSaveResp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.change_ != null) {
|
|
if (change_ == null) {
|
|
Change = new global::Proto.ChangeInfo();
|
|
}
|
|
Change.MergeFrom(other.Change);
|
|
}
|
|
if (other.NextPackage.Length != 0) {
|
|
NextPackage = other.NextPackage;
|
|
}
|
|
_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 10: {
|
|
if (change_ == null) {
|
|
Change = new global::Proto.ChangeInfo();
|
|
}
|
|
input.ReadMessage(Change);
|
|
break;
|
|
}
|
|
case 16378: {
|
|
NextPackage = input.ReadBytes();
|
|
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 10: {
|
|
if (change_ == null) {
|
|
Change = new global::Proto.ChangeInfo();
|
|
}
|
|
input.ReadMessage(Change);
|
|
break;
|
|
}
|
|
case 16378: {
|
|
NextPackage = input.ReadBytes();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|