// Generated by the protocol buffer compiler. DO NOT EDIT! // source: JobFileLiquidVolume.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.Exports { /// Holder for reflection information generated from JobFileLiquidVolume.proto public static partial class JobFileLiquidVolumeReflection { #region Descriptor /// File descriptor for JobFileLiquidVolume.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static JobFileLiquidVolumeReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChlKb2JGaWxlTGlxdWlkVm9sdW1lLnByb3RvEhFUYW5nby5QTVIuRXhwb3J0", "cyI9ChNKb2JGaWxlTGlxdWlkVm9sdW1lEhYKDkxpcXVpZFR5cGVOYW1lGAEg", "ASgJEg4KBlZvbHVtZRgCIAEoAUIdChtjb20udHdpbmUudGFuZ28ucG1yLmV4", "cG9ydHNiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Exports.JobFileLiquidVolume), global::Tango.PMR.Exports.JobFileLiquidVolume.Parser, new[]{ "LiquidTypeName", "Volume" }, null, null, null) })); } #endregion } #region Messages public sealed partial class JobFileLiquidVolume : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new JobFileLiquidVolume()); [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.Exports.JobFileLiquidVolumeReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public JobFileLiquidVolume() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public JobFileLiquidVolume(JobFileLiquidVolume other) : this() { liquidTypeName_ = other.liquidTypeName_; volume_ = other.volume_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public JobFileLiquidVolume Clone() { return new JobFileLiquidVolume(this); } /// Field number for the "LiquidTypeName" field. public const int LiquidTypeNameFieldNumber = 1; private string liquidTypeName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string LiquidTypeName { get { return liquidTypeName_; } set { liquidTypeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "Volume" field. public const int VolumeFieldNumber = 2; private double volume_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double Volume { get { return volume_; } set { volume_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as JobFileLiquidVolume); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(JobFileLiquidVolume other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (LiquidTypeName != other.LiquidTypeName) return false; if (Volume != other.Volume) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (LiquidTypeName.Length != 0) hash ^= LiquidTypeName.GetHashCode(); if (Volume != 0D) hash ^= Volume.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 (LiquidTypeName.Length != 0) { output.WriteRawTag(10); output.WriteString(LiquidTypeName); } if (Volume != 0D) { output.WriteRawTag(17); output.WriteDouble(Volume); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (LiquidTypeName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(LiquidTypeName); } if (Volume != 0D) { size += 1 + 8; } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(JobFileLiquidVolume other) { if (other == null) { return; } if (other.LiquidTypeName.Length != 0) { LiquidTypeName = other.LiquidTypeName; } if (other.Volume != 0D) { Volume = other.Volume; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 10: { LiquidTypeName = input.ReadString(); break; } case 17: { Volume = input.ReadDouble(); break; } } } } } #endregion } #endregion Designer generated code