// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: JobFile.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 JobFile.proto
public static partial class JobFileReflection {
#region Descriptor
/// File descriptor for JobFile.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static JobFileReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg1Kb2JGaWxlLnByb3RvEhFUYW5nby5QTVIuRXhwb3J0cxoUSm9iRmlsZVNl",
"Z21lbnQucHJvdG8i5AQKB0pvYkZpbGUSDAoETmFtZRgBIAEoCRITCgtEZXNj",
"cmlwdGlvbhgCIAEoCRIaChJFbmFibGVJbnRlclNlZ21lbnQYAyABKAgSGgoS",
"SW50ZXJTZWdtZW50TGVuZ3RoGAQgASgBEg8KB1JtbEd1aWQYBSABKAkSGQoR",
"V2luZGluZ01ldGhvZEd1aWQYBiABKAkSFQoNU3Bvb2xUeXBlR3VpZBgHIAEo",
"CRIZChFFbmFibGVMdWJyaWNhdGlvbhgIIAEoCBIZChFIYXNFbWJyb2lkZXJ5",
"RmlsZRgJIAEoCBIaChJFbWJyb2lkZXJ5RmlsZURhdGEYCiABKAwSGgoSRW1i",
"cm9pZGVyeUZpbGVOYW1lGAsgASgJEhYKDkVtYnJvaWRlcnlKcGVnGAwgASgM",
"EhYKDkNvbG9yU3BhY2VHdWlkGA0gASgJEhUKDU51bWJlck9mVW5pdHMYDiAB",
"KAUSDAoEVHlwZRgPIAEoBRIQCghDdXN0b21lchgQIAEoCRIaChJTcG9vbHNE",
"aXN0cmlidXRpb24YESABKAUSFQoNTnVtYmVyT2ZIZWFkcxgSIAEoBRIbChNT",
"YW1wbGVVbml0c09yTWV0ZXJzGBMgASgFEh4KFkxlbmd0aFBlcmNlbnRhZ2VG",
"YWN0b3IYFCABKAESMwoIU2VnbWVudHMYFSADKAsyIS5UYW5nby5QTVIuRXhw",
"b3J0cy5Kb2JGaWxlU2VnbWVudBIYChBDb2xvckNhdGFsb2dHdWlkGBYgASgJ",
"Eg8KB1ZlcnNpb24YFyABKAUSFgoOTnVtYmVyT2ZTcG9vbHMYGCABKAVCHQob",
"Y29tLnR3aW5lLnRhbmdvLnBtci5leHBvcnRzYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Tango.PMR.Exports.JobFileSegmentReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Exports.JobFile), global::Tango.PMR.Exports.JobFile.Parser, new[]{ "Name", "Description", "EnableInterSegment", "InterSegmentLength", "RmlGuid", "WindingMethodGuid", "SpoolTypeGuid", "EnableLubrication", "HasEmbroideryFile", "EmbroideryFileData", "EmbroideryFileName", "EmbroideryJpeg", "ColorSpaceGuid", "NumberOfUnits", "Type", "Customer", "SpoolsDistribution", "NumberOfHeads", "SampleUnitsOrMeters", "LengthPercentageFactor", "Segments", "ColorCatalogGuid", "Version", "NumberOfSpools" }, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class JobFile : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new JobFile());
[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.JobFileReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public JobFile() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public JobFile(JobFile other) : this() {
name_ = other.name_;
description_ = other.description_;
enableInterSegment_ = other.enableInterSegment_;
interSegmentLength_ = other.interSegmentLength_;
rmlGuid_ = other.rmlGuid_;
windingMethodGuid_ = other.windingMethodGuid_;
spoolTypeGuid_ = other.spoolTypeGuid_;
enableLubrication_ = other.enableLubrication_;
hasEmbroideryFile_ = other.hasEmbroideryFile_;
embroideryFileData_ = other.embroideryFileData_;
embroideryFileName_ = other.embroideryFileName_;
embroideryJpeg_ = other.embroideryJpeg_;
colorSpaceGuid_ = other.colorSpaceGuid_;
numberOfUnits_ = other.numberOfUnits_;
type_ = other.type_;
customer_ = other.customer_;
spoolsDistribution_ = other.spoolsDistribution_;
numberOfHeads_ = other.numberOfHeads_;
sampleUnitsOrMeters_ = other.sampleUnitsOrMeters_;
lengthPercentageFactor_ = other.lengthPercentageFactor_;
segments_ = other.segments_.Clone();
colorCatalogGuid_ = other.colorCatalogGuid_;
version_ = other.version_;
numberOfSpools_ = other.numberOfSpools_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public JobFile Clone() {
return new JobFile(this);
}
/// Field number for the "Name" field.
public const int NameFieldNumber = 1;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "Description" field.
public const int DescriptionFieldNumber = 2;
private string description_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Description {
get { return description_; }
set {
description_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "EnableInterSegment" field.
public const int EnableInterSegmentFieldNumber = 3;
private bool enableInterSegment_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool EnableInterSegment {
get { return enableInterSegment_; }
set {
enableInterSegment_ = value;
}
}
/// Field number for the "InterSegmentLength" field.
public const int InterSegmentLengthFieldNumber = 4;
private double interSegmentLength_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double InterSegmentLength {
get { return interSegmentLength_; }
set {
interSegmentLength_ = value;
}
}
/// Field number for the "RmlGuid" field.
public const int RmlGuidFieldNumber = 5;
private string rmlGuid_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string RmlGuid {
get { return rmlGuid_; }
set {
rmlGuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "WindingMethodGuid" field.
public const int WindingMethodGuidFieldNumber = 6;
private string windingMethodGuid_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string WindingMethodGuid {
get { return windingMethodGuid_; }
set {
windingMethodGuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "SpoolTypeGuid" field.
public const int SpoolTypeGuidFieldNumber = 7;
private string spoolTypeGuid_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string SpoolTypeGuid {
get { return spoolTypeGuid_; }
set {
spoolTypeGuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "EnableLubrication" field.
public const int EnableLubricationFieldNumber = 8;
private bool enableLubrication_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool EnableLubrication {
get { return enableLubrication_; }
set {
enableLubrication_ = value;
}
}
/// Field number for the "HasEmbroideryFile" field.
public const int HasEmbroideryFileFieldNumber = 9;
private bool hasEmbroideryFile_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasEmbroideryFile {
get { return hasEmbroideryFile_; }
set {
hasEmbroideryFile_ = value;
}
}
/// Field number for the "EmbroideryFileData" field.
public const int EmbroideryFileDataFieldNumber = 10;
private pb::ByteString embroideryFileData_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString EmbroideryFileData {
get { return embroideryFileData_; }
set {
embroideryFileData_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "EmbroideryFileName" field.
public const int EmbroideryFileNameFieldNumber = 11;
private string embroideryFileName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string EmbroideryFileName {
get { return embroideryFileName_; }
set {
embroideryFileName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "EmbroideryJpeg" field.
public const int EmbroideryJpegFieldNumber = 12;
private pb::ByteString embroideryJpeg_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pb::ByteString EmbroideryJpeg {
get { return embroideryJpeg_; }
set {
embroideryJpeg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "ColorSpaceGuid" field.
public const int ColorSpaceGuidFieldNumber = 13;
private string colorSpaceGuid_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string ColorSpaceGuid {
get { return colorSpaceGuid_; }
set {
colorSpaceGuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "NumberOfUnits" field.
public const int NumberOfUnitsFieldNumber = 14;
private int numberOfUnits_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int NumberOfUnits {
get { return numberOfUnits_; }
set {
numberOfUnits_ = value;
}
}
/// Field number for the "Type" field.
public const int TypeFieldNumber = 15;
private int type_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Type {
get { return type_; }
set {
type_ = value;
}
}
/// Field number for the "Customer" field.
public const int CustomerFieldNumber = 16;
private string customer_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string Customer {
get { return customer_; }
set {
customer_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "SpoolsDistribution" field.
public const int SpoolsDistributionFieldNumber = 17;
private int spoolsDistribution_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int SpoolsDistribution {
get { return spoolsDistribution_; }
set {
spoolsDistribution_ = value;
}
}
/// Field number for the "NumberOfHeads" field.
public const int NumberOfHeadsFieldNumber = 18;
private int numberOfHeads_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int NumberOfHeads {
get { return numberOfHeads_; }
set {
numberOfHeads_ = value;
}
}
/// Field number for the "SampleUnitsOrMeters" field.
public const int SampleUnitsOrMetersFieldNumber = 19;
private int sampleUnitsOrMeters_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int SampleUnitsOrMeters {
get { return sampleUnitsOrMeters_; }
set {
sampleUnitsOrMeters_ = value;
}
}
/// Field number for the "LengthPercentageFactor" field.
public const int LengthPercentageFactorFieldNumber = 20;
private double lengthPercentageFactor_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double LengthPercentageFactor {
get { return lengthPercentageFactor_; }
set {
lengthPercentageFactor_ = value;
}
}
/// Field number for the "Segments" field.
public const int SegmentsFieldNumber = 21;
private static readonly pb::FieldCodec _repeated_segments_codec
= pb::FieldCodec.ForMessage(170, global::Tango.PMR.Exports.JobFileSegment.Parser);
private readonly pbc::RepeatedField segments_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField Segments {
get { return segments_; }
}
/// Field number for the "ColorCatalogGuid" field.
public const int ColorCatalogGuidFieldNumber = 22;
private string colorCatalogGuid_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public string ColorCatalogGuid {
get { return colorCatalogGuid_; }
set {
colorCatalogGuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "Version" field.
public const int VersionFieldNumber = 23;
private int version_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Version {
get { return version_; }
set {
version_ = value;
}
}
/// Field number for the "NumberOfSpools" field.
public const int NumberOfSpoolsFieldNumber = 24;
private int numberOfSpools_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int NumberOfSpools {
get { return numberOfSpools_; }
set {
numberOfSpools_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as JobFile);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(JobFile other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Name != other.Name) return false;
if (Description != other.Description) return false;
if (EnableInterSegment != other.EnableInterSegment) return false;
if (InterSegmentLength != other.InterSegmentLength) return false;
if (RmlGuid != other.RmlGuid) return false;
if (WindingMethodGuid != other.WindingMethodGuid) return false;
if (SpoolTypeGuid != other.SpoolTypeGuid) return false;
if (EnableLubrication != other.EnableLubrication) return false;
if (HasEmbroideryFile != other.HasEmbroideryFile) return false;
if (EmbroideryFileData != other.EmbroideryFileData) return false;
if (EmbroideryFileName != other.EmbroideryFileName) return false;
if (EmbroideryJpeg != other.EmbroideryJpeg) return false;
if (ColorSpaceGuid != other.ColorSpaceGuid) return false;
if (NumberOfUnits != other.NumberOfUnits) return false;
if (Type != other.Type) return false;
if (Customer != other.Customer) return false;
if (SpoolsDistribution != other.SpoolsDistribution) return false;
if (NumberOfHeads != other.NumberOfHeads) return false;
if (SampleUnitsOrMeters != other.SampleUnitsOrMeters) return false;
if (LengthPercentageFactor != other.LengthPercentageFactor) return false;
if(!segments_.Equals(other.segments_)) return false;
if (ColorCatalogGuid != other.ColorCatalogGuid) return false;
if (Version != other.Version) return false;
if (NumberOfSpools != other.NumberOfSpools) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (Description.Length != 0) hash ^= Description.GetHashCode();
if (EnableInterSegment != false) hash ^= EnableInterSegment.GetHashCode();
if (InterSegmentLength != 0D) hash ^= InterSegmentLength.GetHashCode();
if (RmlGuid.Length != 0) hash ^= RmlGuid.GetHashCode();
if (WindingMethodGuid.Length != 0) hash ^= WindingMethodGuid.GetHashCode();
if (SpoolTypeGuid.Length != 0) hash ^= SpoolTypeGuid.GetHashCode();
if (EnableLubrication != false) hash ^= EnableLubrication.GetHashCode();
if (HasEmbroideryFile != false) hash ^= HasEmbroideryFile.GetHashCode();
if (EmbroideryFileData.Length != 0) hash ^= EmbroideryFileData.GetHashCode();
if (EmbroideryFileName.Length != 0) hash ^= EmbroideryFileName.GetHashCode();
if (EmbroideryJpeg.Length != 0) hash ^= EmbroideryJpeg.GetHashCode();
if (ColorSpaceGuid.Length != 0) hash ^= ColorSpaceGuid.GetHashCode();
if (NumberOfUnits != 0) hash ^= NumberOfUnits.GetHashCode();
if (Type != 0) hash ^= Type.GetHashCode();
if (Customer.Length != 0) hash ^= Customer.GetHashCode();
if (SpoolsDistribution != 0) hash ^= SpoolsDistribution.GetHashCode();
if (NumberOfHeads != 0) hash ^= NumberOfHeads.GetHashCode();
if (SampleUnitsOrMeters != 0) hash ^= SampleUnitsOrMeters.GetHashCode();
if (LengthPercentageFactor != 0D) hash ^= LengthPercentageFactor.GetHashCode();
hash ^= segments_.GetHashCode();
if (ColorCatalogGuid.Length != 0) hash ^= ColorCatalogGuid.GetHashCode();
if (Version != 0) hash ^= Version.GetHashCode();
if (NumberOfSpools != 0) hash ^= NumberOfSpools.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 (Name.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Name);
}
if (Description.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Description);
}
if (EnableInterSegment != false) {
output.WriteRawTag(24);
output.WriteBool(EnableInterSegment);
}
if (InterSegmentLength != 0D) {
output.WriteRawTag(33);
output.WriteDouble(InterSegmentLength);
}
if (RmlGuid.Length != 0) {
output.WriteRawTag(42);
output.WriteString(RmlGuid);
}
if (WindingMethodGuid.Length != 0) {
output.WriteRawTag(50);
output.WriteString(WindingMethodGuid);
}
if (SpoolTypeGuid.Length != 0) {
output.WriteRawTag(58);
output.WriteString(SpoolTypeGuid);
}
if (EnableLubrication != false) {
output.WriteRawTag(64);
output.WriteBool(EnableLubrication);
}
if (HasEmbroideryFile != false) {
output.WriteRawTag(72);
output.WriteBool(HasEmbroideryFile);
}
if (EmbroideryFileData.Length != 0) {
output.WriteRawTag(82);
output.WriteBytes(EmbroideryFileData);
}
if (EmbroideryFileName.Length != 0) {
output.WriteRawTag(90);
output.WriteString(EmbroideryFileName);
}
if (EmbroideryJpeg.Length != 0) {
output.WriteRawTag(98);
output.WriteBytes(EmbroideryJpeg);
}
if (ColorSpaceGuid.Length != 0) {
output.WriteRawTag(106);
output.WriteString(ColorSpaceGuid);
}
if (NumberOfUnits != 0) {
output.WriteRawTag(112);
output.WriteInt32(NumberOfUnits);
}
if (Type != 0) {
output.WriteRawTag(120);
output.WriteInt32(Type);
}
if (Customer.Length != 0) {
output.WriteRawTag(130, 1);
output.WriteString(Customer);
}
if (SpoolsDistribution != 0) {
output.WriteRawTag(136, 1);
output.WriteInt32(SpoolsDistribution);
}
if (NumberOfHeads != 0) {
output.WriteRawTag(144, 1);
output.WriteInt32(NumberOfHeads);
}
if (SampleUnitsOrMeters != 0) {
output.WriteRawTag(152, 1);
output.WriteInt32(SampleUnitsOrMeters);
}
if (LengthPercentageFactor != 0D) {
output.WriteRawTag(161, 1);
output.WriteDouble(LengthPercentageFactor);
}
segments_.WriteTo(output, _repeated_segments_codec);
if (ColorCatalogGuid.Length != 0) {
output.WriteRawTag(178, 1);
output.WriteString(ColorCatalogGuid);
}
if (Version != 0) {
output.WriteRawTag(184, 1);
output.WriteInt32(Version);
}
if (NumberOfSpools != 0) {
output.WriteRawTag(192, 1);
output.WriteInt32(NumberOfSpools);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (Description.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Description);
}
if (EnableInterSegment != false) {
size += 1 + 1;
}
if (InterSegmentLength != 0D) {
size += 1 + 8;
}
if (RmlGuid.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RmlGuid);
}
if (WindingMethodGuid.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(WindingMethodGuid);
}
if (SpoolTypeGuid.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SpoolTypeGuid);
}
if (EnableLubrication != false) {
size += 1 + 1;
}
if (HasEmbroideryFile != false) {
size += 1 + 1;
}
if (EmbroideryFileData.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(EmbroideryFileData);
}
if (EmbroideryFileName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(EmbroideryFileName);
}
if (EmbroideryJpeg.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(EmbroideryJpeg);
}
if (ColorSpaceGuid.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ColorSpaceGuid);
}
if (NumberOfUnits != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumberOfUnits);
}
if (Type != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type);
}
if (Customer.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(Customer);
}
if (SpoolsDistribution != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(SpoolsDistribution);
}
if (NumberOfHeads != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(NumberOfHeads);
}
if (SampleUnitsOrMeters != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(SampleUnitsOrMeters);
}
if (LengthPercentageFactor != 0D) {
size += 2 + 8;
}
size += segments_.CalculateSize(_repeated_segments_codec);
if (ColorCatalogGuid.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(ColorCatalogGuid);
}
if (Version != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(Version);
}
if (NumberOfSpools != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(NumberOfSpools);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(JobFile other) {
if (other == null) {
return;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.Description.Length != 0) {
Description = other.Description;
}
if (other.EnableInterSegment != false) {
EnableInterSegment = other.EnableInterSegment;
}
if (other.InterSegmentLength != 0D) {
InterSegmentLength = other.InterSegmentLength;
}
if (other.RmlGuid.Length != 0) {
RmlGuid = other.RmlGuid;
}
if (other.WindingMethodGuid.Length != 0) {
WindingMethodGuid = other.WindingMethodGuid;
}
if (other.SpoolTypeGuid.Length != 0) {
SpoolTypeGuid = other.SpoolTypeGuid;
}
if (other.EnableLubrication != false) {
EnableLubrication = other.EnableLubrication;
}
if (other.HasEmbroideryFile != false) {
HasEmbroideryFile = other.HasEmbroideryFile;
}
if (other.EmbroideryFileData.Length != 0) {
EmbroideryFileData = other.EmbroideryFileData;
}
if (other.EmbroideryFileName.Length != 0) {
EmbroideryFileName = other.EmbroideryFileName;
}
if (other.EmbroideryJpeg.Length != 0) {
EmbroideryJpeg = other.EmbroideryJpeg;
}
if (other.ColorSpaceGuid.Length != 0) {
ColorSpaceGuid = other.ColorSpaceGuid;
}
if (other.NumberOfUnits != 0) {
NumberOfUnits = other.NumberOfUnits;
}
if (other.Type != 0) {
Type = other.Type;
}
if (other.Customer.Length != 0) {
Customer = other.Customer;
}
if (other.SpoolsDistribution != 0) {
SpoolsDistribution = other.SpoolsDistribution;
}
if (other.NumberOfHeads != 0) {
NumberOfHeads = other.NumberOfHeads;
}
if (other.SampleUnitsOrMeters != 0) {
SampleUnitsOrMeters = other.SampleUnitsOrMeters;
}
if (other.LengthPercentageFactor != 0D) {
LengthPercentageFactor = other.LengthPercentageFactor;
}
segments_.Add(other.segments_);
if (other.ColorCatalogGuid.Length != 0) {
ColorCatalogGuid = other.ColorCatalogGuid;
}
if (other.Version != 0) {
Version = other.Version;
}
if (other.NumberOfSpools != 0) {
NumberOfSpools = other.NumberOfSpools;
}
}
[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: {
Name = input.ReadString();
break;
}
case 18: {
Description = input.ReadString();
break;
}
case 24: {
EnableInterSegment = input.ReadBool();
break;
}
case 33: {
InterSegmentLength = input.ReadDouble();
break;
}
case 42: {
RmlGuid = input.ReadString();
break;
}
case 50: {
WindingMethodGuid = input.ReadString();
break;
}
case 58: {
SpoolTypeGuid = input.ReadString();
break;
}
case 64: {
EnableLubrication = input.ReadBool();
break;
}
case 72: {
HasEmbroideryFile = input.ReadBool();
break;
}
case 82: {
EmbroideryFileData = input.ReadBytes();
break;
}
case 90: {
EmbroideryFileName = input.ReadString();
break;
}
case 98: {
EmbroideryJpeg = input.ReadBytes();
break;
}
case 106: {
ColorSpaceGuid = input.ReadString();
break;
}
case 112: {
NumberOfUnits = input.ReadInt32();
break;
}
case 120: {
Type = input.ReadInt32();
break;
}
case 130: {
Customer = input.ReadString();
break;
}
case 136: {
SpoolsDistribution = input.ReadInt32();
break;
}
case 144: {
NumberOfHeads = input.ReadInt32();
break;
}
case 152: {
SampleUnitsOrMeters = input.ReadInt32();
break;
}
case 161: {
LengthPercentageFactor = input.ReadDouble();
break;
}
case 170: {
segments_.AddEntriesFrom(input, _repeated_segments_codec);
break;
}
case 178: {
ColorCatalogGuid = input.ReadString();
break;
}
case 184: {
Version = input.ReadInt32();
break;
}
case 192: {
NumberOfSpools = input.ReadInt32();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code