// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: mediapipe/framework/packet_factory.proto // #pragma warning disable 1591, 0612, 3021 #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 Mediapipe { /// Holder for reflection information generated from mediapipe/framework/packet_factory.proto public static partial class PacketFactoryReflection { #region Descriptor /// File descriptor for mediapipe/framework/packet_factory.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static PacketFactoryReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CihtZWRpYXBpcGUvZnJhbWV3b3JrL3BhY2tldF9mYWN0b3J5LnByb3RvEglt", "ZWRpYXBpcGUiIgoUUGFja2V0RmFjdG9yeU9wdGlvbnMqCgignAEQgICAgAIi", "lQEKE1BhY2tldEZhY3RvcnlDb25maWcSFgoOcGFja2V0X2ZhY3RvcnkYASAB", "KAkSGgoSb3V0cHV0X3NpZGVfcGFja2V0GAIgASgJEhgKD2V4dGVybmFsX291", "dHB1dBjqByABKAkSMAoHb3B0aW9ucxgDIAEoCzIfLm1lZGlhcGlwZS5QYWNr", "ZXRGYWN0b3J5T3B0aW9ucyJFChNQYWNrZXRNYW5hZ2VyQ29uZmlnEi4KBnBh", "Y2tldBgBIAMoCzIeLm1lZGlhcGlwZS5QYWNrZXRGYWN0b3J5Q29uZmlnQjAK", "GmNvbS5nb29nbGUubWVkaWFwaXBlLnByb3RvQhJQYWNrZXRGYWN0b3J5UHJv", "dG8=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Mediapipe.PacketFactoryOptions), global::Mediapipe.PacketFactoryOptions.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Mediapipe.PacketFactoryConfig), global::Mediapipe.PacketFactoryConfig.Parser, new[]{ "PacketFactory", "OutputSidePacket", "ExternalOutput", "Options" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Mediapipe.PacketManagerConfig), global::Mediapipe.PacketManagerConfig.Parser, new[]{ "Packet" }, null, null, null, null) })); } #endregion } #region Messages /// /// Options used by a PacketFactory to create the Packet. /// public sealed partial class PacketFactoryOptions : pb::IExtendableMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PacketFactoryOptions()); private pb::UnknownFieldSet _unknownFields; private pb::ExtensionSet _extensions; private pb::ExtensionSet _Extensions { get { return _extensions; } } [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::Mediapipe.PacketFactoryReflection.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 PacketFactoryOptions() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PacketFactoryOptions(PacketFactoryOptions other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); _extensions = pb::ExtensionSet.Clone(other._extensions); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PacketFactoryOptions Clone() { return new PacketFactoryOptions(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PacketFactoryOptions); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PacketFactoryOptions other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!Equals(_extensions, other._extensions)) { 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 (_extensions != null) { hash ^= _extensions.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 (_extensions != null) { _extensions.WriteTo(output); } 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 (_extensions != null) { _extensions.WriteTo(ref output); } 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 (_extensions != null) { size += _extensions.CalculateSize(); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PacketFactoryOptions other) { if (other == null) { return; } pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions); _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: if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); } 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: if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); } break; } } } #endif public TValue GetExtension(pb::Extension extension) { return pb::ExtensionSet.Get(ref _extensions, extension); } public pbc::RepeatedField GetExtension(pb::RepeatedExtension extension) { return pb::ExtensionSet.Get(ref _extensions, extension); } public pbc::RepeatedField GetOrInitializeExtension(pb::RepeatedExtension extension) { return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension); } public void SetExtension(pb::Extension extension, TValue value) { pb::ExtensionSet.Set(ref _extensions, extension, value); } public bool HasExtension(pb::Extension extension) { return pb::ExtensionSet.Has(ref _extensions, extension); } public void ClearExtension(pb::Extension extension) { pb::ExtensionSet.Clear(ref _extensions, extension); } public void ClearExtension(pb::RepeatedExtension extension) { pb::ExtensionSet.Clear(ref _extensions, extension); } } /// /// A PacketFactory creates a side packet. /// public sealed partial class PacketFactoryConfig : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PacketFactoryConfig()); 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::Mediapipe.PacketFactoryReflection.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 PacketFactoryConfig() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PacketFactoryConfig(PacketFactoryConfig other) : this() { packetFactory_ = other.packetFactory_; outputSidePacket_ = other.outputSidePacket_; externalOutput_ = other.externalOutput_; options_ = other.options_ != null ? other.options_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PacketFactoryConfig Clone() { return new PacketFactoryConfig(this); } /// Field number for the "packet_factory" field. public const int PacketFactoryFieldNumber = 1; private readonly static string PacketFactoryDefaultValue = ""; private string packetFactory_; /// /// The name of the registered packet factory class. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string PacketFactory { get { return packetFactory_ ?? PacketFactoryDefaultValue; } set { packetFactory_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "packet_factory" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasPacketFactory { get { return packetFactory_ != null; } } /// Clears the value of the "packet_factory" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearPacketFactory() { packetFactory_ = null; } /// Field number for the "output_side_packet" field. public const int OutputSidePacketFieldNumber = 2; private readonly static string OutputSidePacketDefaultValue = ""; private string outputSidePacket_; /// /// The name of the output side packet that this packet factory creates. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string OutputSidePacket { get { return outputSidePacket_ ?? OutputSidePacketDefaultValue; } set { outputSidePacket_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "output_side_packet" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasOutputSidePacket { get { return outputSidePacket_ != null; } } /// Clears the value of the "output_side_packet" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearOutputSidePacket() { outputSidePacket_ = null; } /// Field number for the "external_output" field. public const int ExternalOutputFieldNumber = 1002; private readonly static string ExternalOutputDefaultValue = ""; private string externalOutput_; /// /// DEPRECATED: The old name for output_side_packet. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ExternalOutput { get { return externalOutput_ ?? ExternalOutputDefaultValue; } set { externalOutput_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "external_output" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasExternalOutput { get { return externalOutput_ != null; } } /// Clears the value of the "external_output" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearExternalOutput() { externalOutput_ = null; } /// Field number for the "options" field. public const int OptionsFieldNumber = 3; private global::Mediapipe.PacketFactoryOptions options_; /// /// The options for the packet factory. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Mediapipe.PacketFactoryOptions Options { get { return options_; } set { options_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PacketFactoryConfig); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PacketFactoryConfig other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (PacketFactory != other.PacketFactory) return false; if (OutputSidePacket != other.OutputSidePacket) return false; if (ExternalOutput != other.ExternalOutput) return false; if (!object.Equals(Options, other.Options)) 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 (HasPacketFactory) hash ^= PacketFactory.GetHashCode(); if (HasOutputSidePacket) hash ^= OutputSidePacket.GetHashCode(); if (HasExternalOutput) hash ^= ExternalOutput.GetHashCode(); if (options_ != null) hash ^= Options.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 (HasPacketFactory) { output.WriteRawTag(10); output.WriteString(PacketFactory); } if (HasOutputSidePacket) { output.WriteRawTag(18); output.WriteString(OutputSidePacket); } if (options_ != null) { output.WriteRawTag(26); output.WriteMessage(Options); } if (HasExternalOutput) { output.WriteRawTag(210, 62); output.WriteString(ExternalOutput); } 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 (HasPacketFactory) { output.WriteRawTag(10); output.WriteString(PacketFactory); } if (HasOutputSidePacket) { output.WriteRawTag(18); output.WriteString(OutputSidePacket); } if (options_ != null) { output.WriteRawTag(26); output.WriteMessage(Options); } if (HasExternalOutput) { output.WriteRawTag(210, 62); output.WriteString(ExternalOutput); } 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 (HasPacketFactory) { size += 1 + pb::CodedOutputStream.ComputeStringSize(PacketFactory); } if (HasOutputSidePacket) { size += 1 + pb::CodedOutputStream.ComputeStringSize(OutputSidePacket); } if (HasExternalOutput) { size += 2 + pb::CodedOutputStream.ComputeStringSize(ExternalOutput); } if (options_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PacketFactoryConfig other) { if (other == null) { return; } if (other.HasPacketFactory) { PacketFactory = other.PacketFactory; } if (other.HasOutputSidePacket) { OutputSidePacket = other.OutputSidePacket; } if (other.HasExternalOutput) { ExternalOutput = other.ExternalOutput; } if (other.options_ != null) { if (options_ == null) { Options = new global::Mediapipe.PacketFactoryOptions(); } Options.MergeFrom(other.Options); } _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: { PacketFactory = input.ReadString(); break; } case 18: { OutputSidePacket = input.ReadString(); break; } case 26: { if (options_ == null) { Options = new global::Mediapipe.PacketFactoryOptions(); } input.ReadMessage(Options); break; } case 8018: { ExternalOutput = 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: { PacketFactory = input.ReadString(); break; } case 18: { OutputSidePacket = input.ReadString(); break; } case 26: { if (options_ == null) { Options = new global::Mediapipe.PacketFactoryOptions(); } input.ReadMessage(Options); break; } case 8018: { ExternalOutput = input.ReadString(); break; } } } } #endif } /// /// The configuration for a PacketManager. /// public sealed partial class PacketManagerConfig : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PacketManagerConfig()); 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::Mediapipe.PacketFactoryReflection.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 PacketManagerConfig() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PacketManagerConfig(PacketManagerConfig other) : this() { packet_ = other.packet_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PacketManagerConfig Clone() { return new PacketManagerConfig(this); } /// Field number for the "packet" field. public const int PacketFieldNumber = 1; private static readonly pb::FieldCodec _repeated_packet_codec = pb::FieldCodec.ForMessage(10, global::Mediapipe.PacketFactoryConfig.Parser); private readonly pbc::RepeatedField packet_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Packet { get { return packet_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PacketManagerConfig); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PacketManagerConfig other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!packet_.Equals(other.packet_)) 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 ^= packet_.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 packet_.WriteTo(output, _repeated_packet_codec); 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) { packet_.WriteTo(ref output, _repeated_packet_codec); 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 += packet_.CalculateSize(_repeated_packet_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PacketManagerConfig other) { if (other == null) { return; } packet_.Add(other.packet_); _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: { packet_.AddEntriesFrom(input, _repeated_packet_codec); 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: { packet_.AddEntriesFrom(ref input, _repeated_packet_codec); break; } } } } #endif } #endregion } #endregion Designer generated code