// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: JobPrepareDispenser.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 JobPrepareDispenser.proto
public static partial class JobPrepareDispenserReflection {
#region Descriptor
/// File descriptor for JobPrepareDispenser.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static JobPrepareDispenserReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChlKb2JQcmVwYXJlRGlzcGVuc2VyLnByb3RvEhJUYW5nby5QTVIuUHJpbnRp",
"bmcaGURpc3BlbnNlckxpcXVpZFR5cGUucHJvdG8ikgEKE0pvYlByZXBhcmVE",
"aXNwZW5zZXISDQoFSW5kZXgYASABKAUSRAoTRGlzcGVuc2VyTGlxdWlkVHlw",
"ZRgCIAEoDjInLlRhbmdvLlBNUi5QcmludGluZy5EaXNwZW5zZXJMaXF1aWRU",
"eXBlEhYKDlRvdGFsTmFub2xpdGVyGAMgASgFEg4KBkFjdGl2ZRgEIAEoCEIe",
"Chxjb20udHdpbmUudGFuZ28ucG1yLnByaW50aW5nYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Tango.PMR.Printing.DispenserLiquidTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Printing.JobPrepareDispenser), global::Tango.PMR.Printing.JobPrepareDispenser.Parser, new[]{ "Index", "DispenserLiquidType", "TotalNanoliter", "Active" }, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class JobPrepareDispenser : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new JobPrepareDispenser());
[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.JobPrepareDispenserReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public JobPrepareDispenser() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public JobPrepareDispenser(JobPrepareDispenser other) : this() {
index_ = other.index_;
dispenserLiquidType_ = other.dispenserLiquidType_;
totalNanoliter_ = other.totalNanoliter_;
active_ = other.active_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public JobPrepareDispenser Clone() {
return new JobPrepareDispenser(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 "DispenserLiquidType" field.
public const int DispenserLiquidTypeFieldNumber = 2;
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 "TotalNanoliter" field.
public const int TotalNanoliterFieldNumber = 3;
private int totalNanoliter_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int TotalNanoliter {
get { return totalNanoliter_; }
set {
totalNanoliter_ = value;
}
}
/// Field number for the "Active" field.
public const int ActiveFieldNumber = 4;
private bool active_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Active {
get { return active_; }
set {
active_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as JobPrepareDispenser);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(JobPrepareDispenser other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Index != other.Index) return false;
if (DispenserLiquidType != other.DispenserLiquidType) return false;
if (TotalNanoliter != other.TotalNanoliter) return false;
if (Active != other.Active) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Index != 0) hash ^= Index.GetHashCode();
if (DispenserLiquidType != 0) hash ^= DispenserLiquidType.GetHashCode();
if (TotalNanoliter != 0) hash ^= TotalNanoliter.GetHashCode();
if (Active != false) hash ^= Active.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 (DispenserLiquidType != 0) {
output.WriteRawTag(16);
output.WriteEnum((int) DispenserLiquidType);
}
if (TotalNanoliter != 0) {
output.WriteRawTag(24);
output.WriteInt32(TotalNanoliter);
}
if (Active != false) {
output.WriteRawTag(32);
output.WriteBool(Active);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Index != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index);
}
if (DispenserLiquidType != 0) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DispenserLiquidType);
}
if (TotalNanoliter != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TotalNanoliter);
}
if (Active != false) {
size += 1 + 1;
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(JobPrepareDispenser other) {
if (other == null) {
return;
}
if (other.Index != 0) {
Index = other.Index;
}
if (other.DispenserLiquidType != 0) {
DispenserLiquidType = other.DispenserLiquidType;
}
if (other.TotalNanoliter != 0) {
TotalNanoliter = other.TotalNanoliter;
}
if (other.Active != false) {
Active = other.Active;
}
}
[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 16: {
dispenserLiquidType_ = (global::Tango.PMR.Printing.DispenserLiquidType) input.ReadEnum();
break;
}
case 24: {
TotalNanoliter = input.ReadInt32();
break;
}
case 32: {
Active = input.ReadBool();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code