// Generated by the protocol buffer compiler. DO NOT EDIT! // source: JobDispenser.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.Printing { /// Holder for reflection information generated from JobDispenser.proto public static partial class JobDispenserReflection { #region Descriptor /// File descriptor for JobDispenser.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static JobDispenserReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChJKb2JEaXNwZW5zZXIucHJvdG8SElRhbmdvLlBNUi5QcmludGluZxobRGlz", "cGVuc2VyU3RlcERpdmlzaW9uLnByb3RvGhlEaXNwZW5zZXJMaXF1aWRUeXBl", "LnByb3RvItYCCgxKb2JEaXNwZW5zZXISDQoFSW5kZXgYASABKAUSDgoGVm9s", "dW1lGAIgASgBEkgKFURpc3BlbnNlclN0ZXBEaXZpc2lvbhgDIAEoDjIpLlRh", "bmdvLlBNUi5QcmludGluZy5EaXNwZW5zZXJTdGVwRGl2aXNpb24SGwoTTmFu", "b2xpdHRlclBlclNlY29uZBgEIAEoARIeChZOYW5vbGl0ZXJQZXJDZW50aW1l", "dGVyGAUgASgBEhYKDlB1bHNlUGVyU2Vjb25kGAYgASgBEkQKE0Rpc3BlbnNl", "ckxpcXVpZFR5cGUYByABKA4yJy5UYW5nby5QTVIuUHJpbnRpbmcuRGlzcGVu", "c2VyTGlxdWlkVHlwZRInCh9MaXF1aWRNYXhOYW5vbGl0ZXJQZXJDZW50aW1l", "dGVyGAggASgBEhkKEU5hbm9saXRlclBlclB1bHNlGAkgASgBQh4KHGNvbS50", "d2luZS50YW5nby5wbXIucHJpbnRpbmdiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Tango.PMR.Printing.DispenserStepDivisionReflection.Descriptor, global::Tango.PMR.Printing.DispenserLiquidTypeReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.JobDispenser), global::Tango.PMR.Printing.JobDispenser.Parser, new[]{ "Index", "Volume", "DispenserStepDivision", "NanolitterPerSecond", "NanoliterPerCentimeter", "PulsePerSecond", "DispenserLiquidType", "LiquidMaxNanoliterPerCentimeter", "NanoliterPerPulse" }, null, null, null) })); } #endregion } #region Messages public sealed partial class JobDispenser : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new JobDispenser()); [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.Printing.JobDispenserReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public JobDispenser() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public JobDispenser(JobDispenser other) : this() { index_ = other.index_; volume_ = other.volume_; dispenserStepDivision_ = other.dispenserStepDivision_; nanolitterPerSecond_ = other.nanolitterPerSecond_; nanoliterPerCentimeter_ = other.nanoliterPerCentimeter_; pulsePerSecond_ = other.pulsePerSecond_; dispenserLiquidType_ = other.dispenserLiquidType_; liquidMaxNanoliterPerCentimeter_ = other.liquidMaxNanoliterPerCentimeter_; nanoliterPerPulse_ = other.nanoliterPerPulse_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public JobDispenser Clone() { return new JobDispenser(this); } /// Field number for the "Index" field. public const int IndexFieldNumber = 1; private int index_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int Index { get { return index_; } set { index_ = 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; } } /// Field number for the "DispenserStepDivision" field. public const int DispenserStepDivisionFieldNumber = 3; private global::Tango.PMR.Printing.DispenserStepDivision dispenserStepDivision_ = 0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Tango.PMR.Printing.DispenserStepDivision DispenserStepDivision { get { return dispenserStepDivision_; } set { dispenserStepDivision_ = value; } } /// Field number for the "NanolitterPerSecond" field. public const int NanolitterPerSecondFieldNumber = 4; private double nanolitterPerSecond_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double NanolitterPerSecond { get { return nanolitterPerSecond_; } set { nanolitterPerSecond_ = value; } } /// Field number for the "NanoliterPerCentimeter" field. public const int NanoliterPerCentimeterFieldNumber = 5; private double nanoliterPerCentimeter_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double NanoliterPerCentimeter { get { return nanoliterPerCentimeter_; } set { nanoliterPerCentimeter_ = value; } } /// Field number for the "PulsePerSecond" field. public const int PulsePerSecondFieldNumber = 6; private double pulsePerSecond_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double PulsePerSecond { get { return pulsePerSecond_; } set { pulsePerSecond_ = value; } } /// Field number for the "DispenserLiquidType" field. public const int DispenserLiquidTypeFieldNumber = 7; private global::Tango.PMR.Printing.DispenserLiquidType dispenserLiquidType_ = 0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public global::Tango.PMR.Printing.DispenserLiquidType DispenserLiquidType { get { return dispenserLiquidType_; } set { dispenserLiquidType_ = value; } } /// Field number for the "LiquidMaxNanoliterPerCentimeter" field. public const int LiquidMaxNanoliterPerCentimeterFieldNumber = 8; private double liquidMaxNanoliterPerCentimeter_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double LiquidMaxNanoliterPerCentimeter { get { return liquidMaxNanoliterPerCentimeter_; } set { liquidMaxNanoliterPerCentimeter_ = value; } } /// Field number for the "NanoliterPerPulse" field. public const int NanoliterPerPulseFieldNumber = 9; private double nanoliterPerPulse_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public double NanoliterPerPulse { get { return nanoliterPerPulse_; } set { nanoliterPerPulse_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as JobDispenser); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(JobDispenser other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Index != other.Index) return false; if (Volume != other.Volume) return false; if (DispenserStepDivision != other.DispenserStepDivision) return false; if (NanolitterPerSecond != other.NanolitterPerSecond) return false; if (NanoliterPerCentimeter != other.NanoliterPerCentimeter) return false; if (PulsePerSecond != other.PulsePerSecond) return false; if (DispenserLiquidType != other.DispenserLiquidType) return false; if (LiquidMaxNanoliterPerCentimeter != other.LiquidMaxNanoliterPerCentimeter) return false; if (NanoliterPerPulse != other.NanoliterPerPulse) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (Index != 0) hash ^= Index.GetHashCode(); if (Volume != 0D) hash ^= Volume.GetHashCode(); if (DispenserStepDivision != 0) hash ^= DispenserStepDivision.GetHashCode(); if (NanolitterPerSecond != 0D) hash ^= NanolitterPerSecond.GetHashCode(); if (NanoliterPerCentimeter != 0D) hash ^= NanoliterPerCentimeter.GetHashCode(); if (PulsePerSecond != 0D) hash ^= PulsePerSecond.GetHashCode(); if (DispenserLiquidType != 0) hash ^= DispenserLiquidType.GetHashCode(); if (LiquidMaxNanoliterPerCentimeter != 0D) hash ^= LiquidMaxNanoliterPerCentimeter.GetHashCode(); if (NanoliterPerPulse != 0D) hash ^= NanoliterPerPulse.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 (Index != 0) { output.WriteRawTag(8); output.WriteInt32(Index); } if (Volume != 0D) { output.WriteRawTag(17); output.WriteDouble(Volume); } if (DispenserStepDivision != 0) { output.WriteRawTag(24); output.WriteEnum((int) DispenserStepDivision); } if (NanolitterPerSecond != 0D) { output.WriteRawTag(33); output.WriteDouble(NanolitterPerSecond); } if (NanoliterPerCentimeter != 0D) { output.WriteRawTag(41); output.WriteDouble(NanoliterPerCentimeter); } if (PulsePerSecond != 0D) { output.WriteRawTag(49); output.WriteDouble(PulsePerSecond); } if (DispenserLiquidType != 0) { output.WriteRawTag(56); output.WriteEnum((int) DispenserLiquidType); } if (LiquidMaxNanoliterPerCentimeter != 0D) { output.WriteRawTag(65); output.WriteDouble(LiquidMaxNanoliterPerCentimeter); } if (NanoliterPerPulse != 0D) { output.WriteRawTag(73); output.WriteDouble(NanoliterPerPulse); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (Index != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); } if (Volume != 0D) { size += 1 + 8; } if (DispenserStepDivision != 0) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DispenserStepDivision); } if (NanolitterPerSecond != 0D) { size += 1 + 8; } if (NanoliterPerCentimeter != 0D) { size += 1 + 8; } if (PulsePerSecond != 0D) { size += 1 + 8; } if (DispenserLiquidType != 0) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DispenserLiquidType); } if (LiquidMaxNanoliterPerCentimeter != 0D) { size += 1 + 8; } if (NanoliterPerPulse != 0D) { size += 1 + 8; } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(JobDispenser other) { if (other == null) { return; } if (other.Index != 0) { Index = other.Index; } if (other.Volume != 0D) { Volume = other.Volume; } if (other.DispenserStepDivision != 0) { DispenserStepDivision = other.DispenserStepDivision; } if (other.NanolitterPerSecond != 0D) { NanolitterPerSecond = other.NanolitterPerSecond; } if (other.NanoliterPerCentimeter != 0D) { NanoliterPerCentimeter = other.NanoliterPerCentimeter; } if (other.PulsePerSecond != 0D) { PulsePerSecond = other.PulsePerSecond; } if (other.DispenserLiquidType != 0) { DispenserLiquidType = other.DispenserLiquidType; } if (other.LiquidMaxNanoliterPerCentimeter != 0D) { LiquidMaxNanoliterPerCentimeter = other.LiquidMaxNanoliterPerCentimeter; } if (other.NanoliterPerPulse != 0D) { NanoliterPerPulse = other.NanoliterPerPulse; } } [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: { Index = input.ReadInt32(); break; } case 17: { Volume = input.ReadDouble(); break; } case 24: { dispenserStepDivision_ = (global::Tango.PMR.Printing.DispenserStepDivision) input.ReadEnum(); break; } case 33: { NanolitterPerSecond = input.ReadDouble(); break; } case 41: { NanoliterPerCentimeter = input.ReadDouble(); break; } case 49: { PulsePerSecond = input.ReadDouble(); break; } case 56: { dispenserLiquidType_ = (global::Tango.PMR.Printing.DispenserLiquidType) input.ReadEnum(); break; } case 65: { LiquidMaxNanoliterPerCentimeter = input.ReadDouble(); break; } case 73: { NanoliterPerPulse = input.ReadDouble(); break; } } } } } #endregion } #endregion Designer generated code