// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: story_sett.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 Proto { /// Holder for reflection information generated from story_sett.proto public static partial class StorySettReflection { #region Descriptor /// File descriptor for story_sett.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static StorySettReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChBzdG9yeV9zZXR0LnByb3RvEgVwcm90bxoMcHVibGljLnByb3RvIn4KC1N0", "b3J5U2V0dGxlEgsKA0lkeBgBIAEoDRIiCgVNYWpvchgCIAMoCzITLnByb3Rv", "LlN0b3J5T3B0aW9ucxIoCgtQZXJzb25hbGl0eRgDIAMoCzITLnByb3RvLlN0", "b3J5T3B0aW9ucxIUCgtOZXh0UGFja2FnZRj/DyABKAwiWwoOU3RvcnlTZXR0", "bGVSZXESIAoETGlzdBgBIAMoCzISLnByb3RvLlN0b3J5U2V0dGxlEhEKCUV2", "aWRlbmNlcxgPIAMoDRIUCgtOZXh0UGFja2FnZRj/DyABKAwiUwoMU3RvcnlP", "cHRpb25zEg0KBUdyb3VwGAEgASgNEg4KBkNob2ljZRgCIAEoDRIOCgZGYWN0", "b3IYAyABKA0SFAoLTmV4dFBhY2thZ2UY/w8gASgMUABiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Proto.PublicReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StorySettle), global::Proto.StorySettle.Parser, new[]{ "Idx", "Major", "Personality", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StorySettleReq), global::Proto.StorySettleReq.Parser, new[]{ "List", "Evidences", "NextPackage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Proto.StoryOptions), global::Proto.StoryOptions.Parser, new[]{ "Group", "Choice", "Factor", "NextPackage" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class StorySettle : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StorySettle()); 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::Proto.StorySettReflection.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 StorySettle() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StorySettle(StorySettle other) : this() { idx_ = other.idx_; major_ = other.major_.Clone(); personality_ = other.personality_.Clone(); nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StorySettle Clone() { return new StorySettle(this); } /// Field number for the "Idx" field. public const int IdxFieldNumber = 1; private uint idx_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Idx { get { return idx_; } set { idx_ = value; } } /// Field number for the "Major" field. public const int MajorFieldNumber = 2; private static readonly pb::FieldCodec _repeated_major_codec = pb::FieldCodec.ForMessage(18, global::Proto.StoryOptions.Parser); private readonly pbc::RepeatedField major_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Major { get { return major_; } } /// Field number for the "Personality" field. public const int PersonalityFieldNumber = 3; private static readonly pb::FieldCodec _repeated_personality_codec = pb::FieldCodec.ForMessage(26, global::Proto.StoryOptions.Parser); private readonly pbc::RepeatedField personality_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Personality { get { return personality_; } } /// Field number for the "NextPackage" field. 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 StorySettle); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(StorySettle other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Idx != other.Idx) return false; if(!major_.Equals(other.major_)) return false; if(!personality_.Equals(other.personality_)) 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 (Idx != 0) hash ^= Idx.GetHashCode(); hash ^= major_.GetHashCode(); hash ^= personality_.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 (Idx != 0) { output.WriteRawTag(8); output.WriteUInt32(Idx); } major_.WriteTo(output, _repeated_major_codec); personality_.WriteTo(output, _repeated_personality_codec); 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 (Idx != 0) { output.WriteRawTag(8); output.WriteUInt32(Idx); } major_.WriteTo(ref output, _repeated_major_codec); personality_.WriteTo(ref output, _repeated_personality_codec); 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 (Idx != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Idx); } size += major_.CalculateSize(_repeated_major_codec); size += personality_.CalculateSize(_repeated_personality_codec); 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(StorySettle other) { if (other == null) { return; } if (other.Idx != 0) { Idx = other.Idx; } major_.Add(other.major_); personality_.Add(other.personality_); 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: { Idx = input.ReadUInt32(); break; } case 18: { major_.AddEntriesFrom(input, _repeated_major_codec); break; } case 26: { personality_.AddEntriesFrom(input, _repeated_personality_codec); 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: { Idx = input.ReadUInt32(); break; } case 18: { major_.AddEntriesFrom(ref input, _repeated_major_codec); break; } case 26: { personality_.AddEntriesFrom(ref input, _repeated_personality_codec); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class StorySettleReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StorySettleReq()); 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::Proto.StorySettReflection.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 StorySettleReq() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StorySettleReq(StorySettleReq other) : this() { list_ = other.list_.Clone(); evidences_ = other.evidences_.Clone(); nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StorySettleReq Clone() { return new StorySettleReq(this); } /// Field number for the "List" field. public const int ListFieldNumber = 1; private static readonly pb::FieldCodec _repeated_list_codec = pb::FieldCodec.ForMessage(10, global::Proto.StorySettle.Parser); private readonly pbc::RepeatedField list_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField List { get { return list_; } } /// Field number for the "Evidences" field. public const int EvidencesFieldNumber = 15; private static readonly pb::FieldCodec _repeated_evidences_codec = pb::FieldCodec.ForUInt32(122); private readonly pbc::RepeatedField evidences_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Evidences { get { return evidences_; } } /// Field number for the "NextPackage" field. 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 StorySettleReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(StorySettleReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!list_.Equals(other.list_)) return false; if(!evidences_.Equals(other.evidences_)) 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; hash ^= list_.GetHashCode(); hash ^= evidences_.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 list_.WriteTo(output, _repeated_list_codec); evidences_.WriteTo(output, _repeated_evidences_codec); 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) { list_.WriteTo(ref output, _repeated_list_codec); evidences_.WriteTo(ref output, _repeated_evidences_codec); 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; size += list_.CalculateSize(_repeated_list_codec); size += evidences_.CalculateSize(_repeated_evidences_codec); 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(StorySettleReq other) { if (other == null) { return; } list_.Add(other.list_); evidences_.Add(other.evidences_); 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: { list_.AddEntriesFrom(input, _repeated_list_codec); break; } case 122: case 120: { evidences_.AddEntriesFrom(input, _repeated_evidences_codec); 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: { list_.AddEntriesFrom(ref input, _repeated_list_codec); break; } case 122: case 120: { evidences_.AddEntriesFrom(ref input, _repeated_evidences_codec); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class StoryOptions : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StoryOptions()); 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::Proto.StorySettReflection.Descriptor.MessageTypes[2]; } } [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 StoryOptions() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StoryOptions(StoryOptions other) : this() { group_ = other.group_; choice_ = other.choice_; factor_ = other.factor_; nextPackage_ = other.nextPackage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StoryOptions Clone() { return new StoryOptions(this); } /// Field number for the "Group" field. public const int GroupFieldNumber = 1; private uint group_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Group { get { return group_; } set { group_ = value; } } /// Field number for the "Choice" field. public const int ChoiceFieldNumber = 2; private uint choice_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Choice { get { return choice_; } set { choice_ = value; } } /// Field number for the "Factor" field. public const int FactorFieldNumber = 3; private uint factor_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Factor { get { return factor_; } set { factor_ = value; } } /// Field number for the "NextPackage" field. 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 StoryOptions); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(StoryOptions other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Group != other.Group) return false; if (Choice != other.Choice) return false; if (Factor != other.Factor) 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 (Group != 0) hash ^= Group.GetHashCode(); if (Choice != 0) hash ^= Choice.GetHashCode(); if (Factor != 0) hash ^= Factor.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 (Group != 0) { output.WriteRawTag(8); output.WriteUInt32(Group); } if (Choice != 0) { output.WriteRawTag(16); output.WriteUInt32(Choice); } if (Factor != 0) { output.WriteRawTag(24); output.WriteUInt32(Factor); } 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 (Group != 0) { output.WriteRawTag(8); output.WriteUInt32(Group); } if (Choice != 0) { output.WriteRawTag(16); output.WriteUInt32(Choice); } if (Factor != 0) { output.WriteRawTag(24); output.WriteUInt32(Factor); } 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 (Group != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Group); } if (Choice != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Choice); } if (Factor != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Factor); } 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(StoryOptions other) { if (other == null) { return; } if (other.Group != 0) { Group = other.Group; } if (other.Choice != 0) { Choice = other.Choice; } if (other.Factor != 0) { Factor = other.Factor; } 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: { Group = input.ReadUInt32(); break; } case 16: { Choice = input.ReadUInt32(); break; } case 24: { Factor = input.ReadUInt32(); 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: { Group = input.ReadUInt32(); break; } case 16: { Choice = input.ReadUInt32(); break; } case 24: { Factor = input.ReadUInt32(); break; } case 16378: { NextPackage = input.ReadBytes(); break; } } } } #endif } #endregion } #endregion Designer generated code