// Generated by the protocol buffer compiler. DO NOT EDIT! // source: StubReadEmbeddedVersionResponse.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 Tango.PMR.Stubs { /// Holder for reflection information generated from StubReadEmbeddedVersionResponse.proto public static partial class StubReadEmbeddedVersionResponseReflection { #region Descriptor /// File descriptor for StubReadEmbeddedVersionResponse.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static StubReadEmbeddedVersionResponseReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiVTdHViUmVhZEVtYmVkZGVkVmVyc2lvblJlc3BvbnNlLnByb3RvEg9UYW5n", "by5QTVIuU3R1YnMiegofU3R1YlJlYWRFbWJlZGRlZFZlcnNpb25SZXNwb25z", "ZRIQCghWZXJNYWpvchgBIAEoDRIQCghWZXJNaW5vchgCIAEoDRIQCghWZXJQ", "YXRjaBgDIAEoDRIQCghWZXJCdWlsZBgEIAEoDRIPCgdWZXJzaW9uGAUgASgJ", "QhsKGWNvbS50d2luZS50YW5nby5wbXIuc3R1YnNiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubReadEmbeddedVersionResponse), global::Tango.PMR.Stubs.StubReadEmbeddedVersionResponse.Parser, new[]{ "VerMajor", "VerMinor", "VerPatch", "VerBuild", "Version" }, null, null, null) })); } #endregion } #region Messages public sealed partial class StubReadEmbeddedVersionResponse : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StubReadEmbeddedVersionResponse()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Tango.PMR.Stubs.StubReadEmbeddedVersionResponseReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StubReadEmbeddedVersionResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StubReadEmbeddedVersionResponse(StubReadEmbeddedVersionResponse other) : this() { verMajor_ = other.verMajor_; verMinor_ = other.verMinor_; verPatch_ = other.verPatch_; verBuild_ = other.verBuild_; version_ = other.version_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StubReadEmbeddedVersionResponse Clone() { return new StubReadEmbeddedVersionResponse(this); } /// Field number for the "VerMajor" field. public const int VerMajorFieldNumber = 1; private uint verMajor_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint VerMajor { get { return verMajor_; } set { verMajor_ = value; } } /// Field number for the "VerMinor" field. public const int VerMinorFieldNumber = 2; private uint verMinor_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint VerMinor { get { return verMinor_; } set { verMinor_ = value; } } /// Field number for the "VerPatch" field. public const int VerPatchFieldNumber = 3; private uint verPatch_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint VerPatch { get { return verPatch_; } set { verPatch_ = value; } } /// Field number for the "VerBuild" field. public const int VerBuildFieldNumber = 4; private uint verBuild_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public uint VerBuild { get { return verBuild_; } set { verBuild_ = value; } } /// Field number for the "Version" field. public const int VersionFieldNumber = 5; private string version_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string Version { get { return version_; } set { version_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as StubReadEmbeddedVersionResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(StubReadEmbeddedVersionResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (VerMajor != other.VerMajor) return false; if (VerMinor != other.VerMinor) return false; if (VerPatch != other.VerPatch) return false; if (VerBuild != other.VerBuild) return false; if (Version != other.Version) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (VerMajor != 0) hash ^= VerMajor.GetHashCode(); if (VerMinor != 0) hash ^= VerMinor.GetHashCode(); if (VerPatch != 0) hash ^= VerPatch.GetHashCode(); if (VerBuild != 0) hash ^= VerBuild.GetHashCode(); if (Version.Length != 0) hash ^= Version.GetHashCode(); return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { if (VerMajor != 0) { output.WriteRawTag(8); output.WriteUInt32(VerMajor); } if (VerMinor != 0) { output.WriteRawTag(16); output.WriteUInt32(VerMinor); } if (VerPatch != 0) { output.WriteRawTag(24); output.WriteUInt32(VerPatch); } if (VerBuild != 0) { output.WriteRawTag(32); output.WriteUInt32(VerBuild); } if (Version.Length != 0) { output.WriteRawTag(42); output.WriteString(Version); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (VerMajor != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(VerMajor); } if (VerMinor != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(VerMinor); } if (VerPatch != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(VerPatch); } if (VerBuild != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(VerBuild); } if (Version.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Version); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(StubReadEmbeddedVersionResponse other) { if (other == null) { return; } if (other.VerMajor != 0) { VerMajor = other.VerMajor; } if (other.VerMinor != 0) { VerMinor = other.VerMinor; } if (other.VerPatch != 0) { VerPatch = other.VerPatch; } if (other.VerBuild != 0) { VerBuild = other.VerBuild; } if (other.Version.Length != 0) { Version = other.Version; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 8: { VerMajor = input.ReadUInt32(); break; } case 16: { VerMinor = input.ReadUInt32(); break; } case 24: { VerPatch = input.ReadUInt32(); break; } case 32: { VerBuild = input.ReadUInt32(); break; } case 42: { Version = input.ReadString(); break; } } } } } #endregion } #endregion Designer generated code