aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/JobDispenser.pb.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Native/Tango.ProtoTest/PMR/JobDispenser.pb.cc')
-rw-r--r--Software/Visual_Studio/Native/Tango.ProtoTest/PMR/JobDispenser.pb.cc811
1 files changed, 811 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/JobDispenser.pb.cc b/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/JobDispenser.pb.cc
new file mode 100644
index 000000000..c67c184a1
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/JobDispenser.pb.cc
@@ -0,0 +1,811 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: JobDispenser.proto
+
+#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
+#include "JobDispenser.pb.h"
+
+#include <algorithm>
+
+#include <google/protobuf/stubs/common.h>
+#include <google/protobuf/stubs/port.h>
+#include <google/protobuf/stubs/once.h>
+#include <google/protobuf/io/coded_stream.h>
+#include <google/protobuf/wire_format_lite_inl.h>
+#include <google/protobuf/descriptor.h>
+#include <google/protobuf/generated_message_reflection.h>
+#include <google/protobuf/reflection_ops.h>
+#include <google/protobuf/wire_format.h>
+// @@protoc_insertion_point(includes)
+
+namespace Tango {
+namespace PMR {
+namespace Printing {
+class JobDispenserDefaultTypeInternal {
+public:
+ ::google::protobuf::internal::ExplicitlyConstructed<JobDispenser>
+ _instance;
+} _JobDispenser_default_instance_;
+
+namespace protobuf_JobDispenser_2eproto {
+
+
+namespace {
+
+::google::protobuf::Metadata file_level_metadata[1];
+
+} // namespace
+
+PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTableField
+ const TableStruct::entries[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
+ {0, 0, 0, ::google::protobuf::internal::kInvalidMask, 0, 0},
+};
+
+PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::AuxillaryParseTableField
+ const TableStruct::aux[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
+ ::google::protobuf::internal::AuxillaryParseTableField(),
+};
+PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTable const
+ TableStruct::schema[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
+ { NULL, NULL, 0, -1, -1, -1, -1, NULL, false },
+};
+
+const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
+ ~0u, // no _has_bits_
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JobDispenser, _internal_metadata_),
+ ~0u, // no _extensions_
+ ~0u, // no _oneof_case_
+ ~0u, // no _weak_field_map_
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JobDispenser, index_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JobDispenser, volume_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JobDispenser, dispenserstepdivision_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JobDispenser, nanolitterpersecond_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JobDispenser, nanoliterpercentimeter_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JobDispenser, pulsepersecond_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JobDispenser, dispenserliquidtype_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JobDispenser, liquidmaxnanoliterpercentimeter_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(JobDispenser, nanoliterperpulse_),
+};
+static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
+ { 0, -1, sizeof(JobDispenser)},
+};
+
+static ::google::protobuf::Message const * const file_default_instances[] = {
+ reinterpret_cast<const ::google::protobuf::Message*>(&_JobDispenser_default_instance_),
+};
+
+namespace {
+
+void protobuf_AssignDescriptors() {
+ AddDescriptors();
+ ::google::protobuf::MessageFactory* factory = NULL;
+ AssignDescriptors(
+ "JobDispenser.proto", schemas, file_default_instances, TableStruct::offsets, factory,
+ file_level_metadata, NULL, NULL);
+}
+
+void protobuf_AssignDescriptorsOnce() {
+ static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
+ ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
+}
+
+void protobuf_RegisterTypes(const ::std::string&) GOOGLE_ATTRIBUTE_COLD;
+void protobuf_RegisterTypes(const ::std::string&) {
+ protobuf_AssignDescriptorsOnce();
+ ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 1);
+}
+
+} // namespace
+void TableStruct::InitDefaultsImpl() {
+ GOOGLE_PROTOBUF_VERIFY_VERSION;
+
+ ::google::protobuf::internal::InitProtobufDefaults();
+ ::Tango::PMR::Printing::protobuf_DispenserStepDivision_2eproto::InitDefaults();
+ ::Tango::PMR::Printing::protobuf_DispenserLiquidType_2eproto::InitDefaults();
+ _JobDispenser_default_instance_._instance.DefaultConstruct();
+ ::google::protobuf::internal::OnShutdownDestroyMessage(
+ &_JobDispenser_default_instance_);}
+
+void InitDefaults() {
+ static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
+ ::google::protobuf::GoogleOnceInit(&once, &TableStruct::InitDefaultsImpl);
+}
+namespace {
+void AddDescriptorsImpl() {
+ InitDefaults();
+ static const char descriptor[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
+ "\n\022JobDispenser.proto\022\022Tango.PMR.Printing"
+ "\032\033DispenserStepDivision.proto\032\031Dispenser"
+ "LiquidType.proto\"\326\002\n\014JobDispenser\022\r\n\005Ind"
+ "ex\030\001 \001(\005\022\016\n\006Volume\030\002 \001(\001\022H\n\025DispenserSte"
+ "pDivision\030\003 \001(\0162).Tango.PMR.Printing.Dis"
+ "penserStepDivision\022\033\n\023NanolitterPerSecon"
+ "d\030\004 \001(\001\022\036\n\026NanoliterPerCentimeter\030\005 \001(\001\022"
+ "\026\n\016PulsePerSecond\030\006 \001(\001\022D\n\023DispenserLiqu"
+ "idType\030\007 \001(\0162\'.Tango.PMR.Printing.Dispen"
+ "serLiquidType\022\'\n\037LiquidMaxNanoliterPerCe"
+ "ntimeter\030\010 \001(\001\022\031\n\021NanoliterPerPulse\030\t \001("
+ "\001B\036\n\034com.twine.tango.pmr.printingb\006proto"
+ "3"
+ };
+ ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
+ descriptor, 481);
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
+ "JobDispenser.proto", &protobuf_RegisterTypes);
+ ::Tango::PMR::Printing::protobuf_DispenserStepDivision_2eproto::AddDescriptors();
+ ::Tango::PMR::Printing::protobuf_DispenserLiquidType_2eproto::AddDescriptors();
+}
+} // anonymous namespace
+
+void AddDescriptors() {
+ static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
+ ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
+}
+// Force AddDescriptors() to be called at dynamic initialization time.
+struct StaticDescriptorInitializer {
+ StaticDescriptorInitializer() {
+ AddDescriptors();
+ }
+} static_descriptor_initializer;
+
+} // namespace protobuf_JobDispenser_2eproto
+
+
+// ===================================================================
+
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
+const int JobDispenser::kIndexFieldNumber;
+const int JobDispenser::kVolumeFieldNumber;
+const int JobDispenser::kDispenserStepDivisionFieldNumber;
+const int JobDispenser::kNanolitterPerSecondFieldNumber;
+const int JobDispenser::kNanoliterPerCentimeterFieldNumber;
+const int JobDispenser::kPulsePerSecondFieldNumber;
+const int JobDispenser::kDispenserLiquidTypeFieldNumber;
+const int JobDispenser::kLiquidMaxNanoliterPerCentimeterFieldNumber;
+const int JobDispenser::kNanoliterPerPulseFieldNumber;
+#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
+
+JobDispenser::JobDispenser()
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) {
+ if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
+ protobuf_JobDispenser_2eproto::InitDefaults();
+ }
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:Tango.PMR.Printing.JobDispenser)
+}
+JobDispenser::JobDispenser(const JobDispenser& from)
+ : ::google::protobuf::Message(),
+ _internal_metadata_(NULL),
+ _cached_size_(0) {
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
+ ::memcpy(&volume_, &from.volume_,
+ static_cast<size_t>(reinterpret_cast<char*>(&dispenserliquidtype_) -
+ reinterpret_cast<char*>(&volume_)) + sizeof(dispenserliquidtype_));
+ // @@protoc_insertion_point(copy_constructor:Tango.PMR.Printing.JobDispenser)
+}
+
+void JobDispenser::SharedCtor() {
+ ::memset(&volume_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&dispenserliquidtype_) -
+ reinterpret_cast<char*>(&volume_)) + sizeof(dispenserliquidtype_));
+ _cached_size_ = 0;
+}
+
+JobDispenser::~JobDispenser() {
+ // @@protoc_insertion_point(destructor:Tango.PMR.Printing.JobDispenser)
+ SharedDtor();
+}
+
+void JobDispenser::SharedDtor() {
+}
+
+void JobDispenser::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* JobDispenser::descriptor() {
+ protobuf_JobDispenser_2eproto::protobuf_AssignDescriptorsOnce();
+ return protobuf_JobDispenser_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
+}
+
+const JobDispenser& JobDispenser::default_instance() {
+ protobuf_JobDispenser_2eproto::InitDefaults();
+ return *internal_default_instance();
+}
+
+JobDispenser* JobDispenser::New(::google::protobuf::Arena* arena) const {
+ JobDispenser* n = new JobDispenser;
+ if (arena != NULL) {
+ arena->Own(n);
+ }
+ return n;
+}
+
+void JobDispenser::Clear() {
+// @@protoc_insertion_point(message_clear_start:Tango.PMR.Printing.JobDispenser)
+ ::google::protobuf::uint32 cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ ::memset(&volume_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&dispenserliquidtype_) -
+ reinterpret_cast<char*>(&volume_)) + sizeof(dispenserliquidtype_));
+ _internal_metadata_.Clear();
+}
+
+bool JobDispenser::MergePartialFromCodedStream(
+ ::google::protobuf::io::CodedInputStream* input) {
+#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
+ ::google::protobuf::uint32 tag;
+ // @@protoc_insertion_point(parse_start:Tango.PMR.Printing.JobDispenser)
+ for (;;) {
+ ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
+ tag = p.first;
+ if (!p.second) goto handle_unusual;
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
+ // int32 Index = 1;
+ case 1: {
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
+ static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
+
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
+ input, &index_)));
+ } else {
+ goto handle_unusual;
+ }
+ break;
+ }
+
+ // double Volume = 2;
+ case 2: {
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
+ static_cast< ::google::protobuf::uint8>(17u /* 17 & 0xFF */)) {
+
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
+ input, &volume_)));
+ } else {
+ goto handle_unusual;
+ }
+ break;
+ }
+
+ // .Tango.PMR.Printing.DispenserStepDivision DispenserStepDivision = 3;
+ case 3: {
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
+ static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
+ int value;
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
+ input, &value)));
+ set_dispenserstepdivision(static_cast< ::Tango::PMR::Printing::DispenserStepDivision >(value));
+ } else {
+ goto handle_unusual;
+ }
+ break;
+ }
+
+ // double NanolitterPerSecond = 4;
+ case 4: {
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
+ static_cast< ::google::protobuf::uint8>(33u /* 33 & 0xFF */)) {
+
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
+ input, &nanolitterpersecond_)));
+ } else {
+ goto handle_unusual;
+ }
+ break;
+ }
+
+ // double NanoliterPerCentimeter = 5;
+ case 5: {
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
+ static_cast< ::google::protobuf::uint8>(41u /* 41 & 0xFF */)) {
+
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
+ input, &nanoliterpercentimeter_)));
+ } else {
+ goto handle_unusual;
+ }
+ break;
+ }
+
+ // double PulsePerSecond = 6;
+ case 6: {
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
+ static_cast< ::google::protobuf::uint8>(49u /* 49 & 0xFF */)) {
+
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
+ input, &pulsepersecond_)));
+ } else {
+ goto handle_unusual;
+ }
+ break;
+ }
+
+ // .Tango.PMR.Printing.DispenserLiquidType DispenserLiquidType = 7;
+ case 7: {
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
+ static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
+ int value;
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
+ input, &value)));
+ set_dispenserliquidtype(static_cast< ::Tango::PMR::Printing::DispenserLiquidType >(value));
+ } else {
+ goto handle_unusual;
+ }
+ break;
+ }
+
+ // double LiquidMaxNanoliterPerCentimeter = 8;
+ case 8: {
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
+ static_cast< ::google::protobuf::uint8>(65u /* 65 & 0xFF */)) {
+
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
+ input, &liquidmaxnanoliterpercentimeter_)));
+ } else {
+ goto handle_unusual;
+ }
+ break;
+ }
+
+ // double NanoliterPerPulse = 9;
+ case 9: {
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
+ static_cast< ::google::protobuf::uint8>(73u /* 73 & 0xFF */)) {
+
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
+ input, &nanoliterperpulse_)));
+ } else {
+ goto handle_unusual;
+ }
+ break;
+ }
+
+ default: {
+ handle_unusual:
+ if (tag == 0) {
+ goto success;
+ }
+ DO_(::google::protobuf::internal::WireFormat::SkipField(
+ input, tag, _internal_metadata_.mutable_unknown_fields()));
+ break;
+ }
+ }
+ }
+success:
+ // @@protoc_insertion_point(parse_success:Tango.PMR.Printing.JobDispenser)
+ return true;
+failure:
+ // @@protoc_insertion_point(parse_failure:Tango.PMR.Printing.JobDispenser)
+ return false;
+#undef DO_
+}
+
+void JobDispenser::SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const {
+ // @@protoc_insertion_point(serialize_start:Tango.PMR.Printing.JobDispenser)
+ ::google::protobuf::uint32 cached_has_bits = 0;
+ (void) cached_has_bits;
+
+ // int32 Index = 1;
+ if (this->index() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->index(), output);
+ }
+
+ // double Volume = 2;
+ if (this->volume() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteDouble(2, this->volume(), output);
+ }
+
+ // .Tango.PMR.Printing.DispenserStepDivision DispenserStepDivision = 3;
+ if (this->dispenserstepdivision() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteEnum(
+ 3, this->dispenserstepdivision(), output);
+ }
+
+ // double NanolitterPerSecond = 4;
+ if (this->nanolitterpersecond() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteDouble(4, this->nanolitterpersecond(), output);
+ }
+
+ // double NanoliterPerCentimeter = 5;
+ if (this->nanoliterpercentimeter() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteDouble(5, this->nanoliterpercentimeter(), output);
+ }
+
+ // double PulsePerSecond = 6;
+ if (this->pulsepersecond() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteDouble(6, this->pulsepersecond(), output);
+ }
+
+ // .Tango.PMR.Printing.DispenserLiquidType DispenserLiquidType = 7;
+ if (this->dispenserliquidtype() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteEnum(
+ 7, this->dispenserliquidtype(), output);
+ }
+
+ // double LiquidMaxNanoliterPerCentimeter = 8;
+ if (this->liquidmaxnanoliterpercentimeter() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteDouble(8, this->liquidmaxnanoliterpercentimeter(), output);
+ }
+
+ // double NanoliterPerPulse = 9;
+ if (this->nanoliterperpulse() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteDouble(9, this->nanoliterperpulse(), output);
+ }
+
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
+ ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
+ }
+ // @@protoc_insertion_point(serialize_end:Tango.PMR.Printing.JobDispenser)
+}
+
+::google::protobuf::uint8* JobDispenser::InternalSerializeWithCachedSizesToArray(
+ bool deterministic, ::google::protobuf::uint8* target) const {
+ (void)deterministic; // Unused
+ // @@protoc_insertion_point(serialize_to_array_start:Tango.PMR.Printing.JobDispenser)
+ ::google::protobuf::uint32 cached_has_bits = 0;
+ (void) cached_has_bits;
+
+ // int32 Index = 1;
+ if (this->index() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->index(), target);
+ }
+
+ // double Volume = 2;
+ if (this->volume() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(2, this->volume(), target);
+ }
+
+ // .Tango.PMR.Printing.DispenserStepDivision DispenserStepDivision = 3;
+ if (this->dispenserstepdivision() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
+ 3, this->dispenserstepdivision(), target);
+ }
+
+ // double NanolitterPerSecond = 4;
+ if (this->nanolitterpersecond() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(4, this->nanolitterpersecond(), target);
+ }
+
+ // double NanoliterPerCentimeter = 5;
+ if (this->nanoliterpercentimeter() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(5, this->nanoliterpercentimeter(), target);
+ }
+
+ // double PulsePerSecond = 6;
+ if (this->pulsepersecond() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(6, this->pulsepersecond(), target);
+ }
+
+ // .Tango.PMR.Printing.DispenserLiquidType DispenserLiquidType = 7;
+ if (this->dispenserliquidtype() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
+ 7, this->dispenserliquidtype(), target);
+ }
+
+ // double LiquidMaxNanoliterPerCentimeter = 8;
+ if (this->liquidmaxnanoliterpercentimeter() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(8, this->liquidmaxnanoliterpercentimeter(), target);
+ }
+
+ // double NanoliterPerPulse = 9;
+ if (this->nanoliterperpulse() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(9, this->nanoliterperpulse(), target);
+ }
+
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
+ target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
+ }
+ // @@protoc_insertion_point(serialize_to_array_end:Tango.PMR.Printing.JobDispenser)
+ return target;
+}
+
+size_t JobDispenser::ByteSizeLong() const {
+// @@protoc_insertion_point(message_byte_size_start:Tango.PMR.Printing.JobDispenser)
+ size_t total_size = 0;
+
+ if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
+ total_size +=
+ ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
+ (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
+ }
+ // double Volume = 2;
+ if (this->volume() != 0) {
+ total_size += 1 + 8;
+ }
+
+ // int32 Index = 1;
+ if (this->index() != 0) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::Int32Size(
+ this->index());
+ }
+
+ // .Tango.PMR.Printing.DispenserStepDivision DispenserStepDivision = 3;
+ if (this->dispenserstepdivision() != 0) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispenserstepdivision());
+ }
+
+ // double NanolitterPerSecond = 4;
+ if (this->nanolitterpersecond() != 0) {
+ total_size += 1 + 8;
+ }
+
+ // double NanoliterPerCentimeter = 5;
+ if (this->nanoliterpercentimeter() != 0) {
+ total_size += 1 + 8;
+ }
+
+ // double PulsePerSecond = 6;
+ if (this->pulsepersecond() != 0) {
+ total_size += 1 + 8;
+ }
+
+ // double LiquidMaxNanoliterPerCentimeter = 8;
+ if (this->liquidmaxnanoliterpercentimeter() != 0) {
+ total_size += 1 + 8;
+ }
+
+ // double NanoliterPerPulse = 9;
+ if (this->nanoliterperpulse() != 0) {
+ total_size += 1 + 8;
+ }
+
+ // .Tango.PMR.Printing.DispenserLiquidType DispenserLiquidType = 7;
+ if (this->dispenserliquidtype() != 0) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::EnumSize(this->dispenserliquidtype());
+ }
+
+ int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = cached_size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+ return total_size;
+}
+
+void JobDispenser::MergeFrom(const ::google::protobuf::Message& from) {
+// @@protoc_insertion_point(generalized_merge_from_start:Tango.PMR.Printing.JobDispenser)
+ GOOGLE_DCHECK_NE(&from, this);
+ const JobDispenser* source =
+ ::google::protobuf::internal::DynamicCastToGenerated<const JobDispenser>(
+ &from);
+ if (source == NULL) {
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:Tango.PMR.Printing.JobDispenser)
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
+ } else {
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:Tango.PMR.Printing.JobDispenser)
+ MergeFrom(*source);
+ }
+}
+
+void JobDispenser::MergeFrom(const JobDispenser& from) {
+// @@protoc_insertion_point(class_specific_merge_from_start:Tango.PMR.Printing.JobDispenser)
+ GOOGLE_DCHECK_NE(&from, this);
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
+ ::google::protobuf::uint32 cached_has_bits = 0;
+ (void) cached_has_bits;
+
+ if (from.volume() != 0) {
+ set_volume(from.volume());
+ }
+ if (from.index() != 0) {
+ set_index(from.index());
+ }
+ if (from.dispenserstepdivision() != 0) {
+ set_dispenserstepdivision(from.dispenserstepdivision());
+ }
+ if (from.nanolitterpersecond() != 0) {
+ set_nanolitterpersecond(from.nanolitterpersecond());
+ }
+ if (from.nanoliterpercentimeter() != 0) {
+ set_nanoliterpercentimeter(from.nanoliterpercentimeter());
+ }
+ if (from.pulsepersecond() != 0) {
+ set_pulsepersecond(from.pulsepersecond());
+ }
+ if (from.liquidmaxnanoliterpercentimeter() != 0) {
+ set_liquidmaxnanoliterpercentimeter(from.liquidmaxnanoliterpercentimeter());
+ }
+ if (from.nanoliterperpulse() != 0) {
+ set_nanoliterperpulse(from.nanoliterperpulse());
+ }
+ if (from.dispenserliquidtype() != 0) {
+ set_dispenserliquidtype(from.dispenserliquidtype());
+ }
+}
+
+void JobDispenser::CopyFrom(const ::google::protobuf::Message& from) {
+// @@protoc_insertion_point(generalized_copy_from_start:Tango.PMR.Printing.JobDispenser)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+void JobDispenser::CopyFrom(const JobDispenser& from) {
+// @@protoc_insertion_point(class_specific_copy_from_start:Tango.PMR.Printing.JobDispenser)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+bool JobDispenser::IsInitialized() const {
+ return true;
+}
+
+void JobDispenser::Swap(JobDispenser* other) {
+ if (other == this) return;
+ InternalSwap(other);
+}
+void JobDispenser::InternalSwap(JobDispenser* other) {
+ using std::swap;
+ swap(volume_, other->volume_);
+ swap(index_, other->index_);
+ swap(dispenserstepdivision_, other->dispenserstepdivision_);
+ swap(nanolitterpersecond_, other->nanolitterpersecond_);
+ swap(nanoliterpercentimeter_, other->nanoliterpercentimeter_);
+ swap(pulsepersecond_, other->pulsepersecond_);
+ swap(liquidmaxnanoliterpercentimeter_, other->liquidmaxnanoliterpercentimeter_);
+ swap(nanoliterperpulse_, other->nanoliterperpulse_);
+ swap(dispenserliquidtype_, other->dispenserliquidtype_);
+ _internal_metadata_.Swap(&other->_internal_metadata_);
+ swap(_cached_size_, other->_cached_size_);
+}
+
+::google::protobuf::Metadata JobDispenser::GetMetadata() const {
+ protobuf_JobDispenser_2eproto::protobuf_AssignDescriptorsOnce();
+ return protobuf_JobDispenser_2eproto::file_level_metadata[kIndexInFileMessages];
+}
+
+#if PROTOBUF_INLINE_NOT_IN_HEADERS
+// JobDispenser
+
+// int32 Index = 1;
+void JobDispenser::clear_index() {
+ index_ = 0;
+}
+::google::protobuf::int32 JobDispenser::index() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobDispenser.Index)
+ return index_;
+}
+void JobDispenser::set_index(::google::protobuf::int32 value) {
+
+ index_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Printing.JobDispenser.Index)
+}
+
+// double Volume = 2;
+void JobDispenser::clear_volume() {
+ volume_ = 0;
+}
+double JobDispenser::volume() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobDispenser.Volume)
+ return volume_;
+}
+void JobDispenser::set_volume(double value) {
+
+ volume_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Printing.JobDispenser.Volume)
+}
+
+// .Tango.PMR.Printing.DispenserStepDivision DispenserStepDivision = 3;
+void JobDispenser::clear_dispenserstepdivision() {
+ dispenserstepdivision_ = 0;
+}
+::Tango::PMR::Printing::DispenserStepDivision JobDispenser::dispenserstepdivision() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobDispenser.DispenserStepDivision)
+ return static_cast< ::Tango::PMR::Printing::DispenserStepDivision >(dispenserstepdivision_);
+}
+void JobDispenser::set_dispenserstepdivision(::Tango::PMR::Printing::DispenserStepDivision value) {
+
+ dispenserstepdivision_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Printing.JobDispenser.DispenserStepDivision)
+}
+
+// double NanolitterPerSecond = 4;
+void JobDispenser::clear_nanolitterpersecond() {
+ nanolitterpersecond_ = 0;
+}
+double JobDispenser::nanolitterpersecond() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobDispenser.NanolitterPerSecond)
+ return nanolitterpersecond_;
+}
+void JobDispenser::set_nanolitterpersecond(double value) {
+
+ nanolitterpersecond_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Printing.JobDispenser.NanolitterPerSecond)
+}
+
+// double NanoliterPerCentimeter = 5;
+void JobDispenser::clear_nanoliterpercentimeter() {
+ nanoliterpercentimeter_ = 0;
+}
+double JobDispenser::nanoliterpercentimeter() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobDispenser.NanoliterPerCentimeter)
+ return nanoliterpercentimeter_;
+}
+void JobDispenser::set_nanoliterpercentimeter(double value) {
+
+ nanoliterpercentimeter_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Printing.JobDispenser.NanoliterPerCentimeter)
+}
+
+// double PulsePerSecond = 6;
+void JobDispenser::clear_pulsepersecond() {
+ pulsepersecond_ = 0;
+}
+double JobDispenser::pulsepersecond() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobDispenser.PulsePerSecond)
+ return pulsepersecond_;
+}
+void JobDispenser::set_pulsepersecond(double value) {
+
+ pulsepersecond_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Printing.JobDispenser.PulsePerSecond)
+}
+
+// .Tango.PMR.Printing.DispenserLiquidType DispenserLiquidType = 7;
+void JobDispenser::clear_dispenserliquidtype() {
+ dispenserliquidtype_ = 0;
+}
+::Tango::PMR::Printing::DispenserLiquidType JobDispenser::dispenserliquidtype() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobDispenser.DispenserLiquidType)
+ return static_cast< ::Tango::PMR::Printing::DispenserLiquidType >(dispenserliquidtype_);
+}
+void JobDispenser::set_dispenserliquidtype(::Tango::PMR::Printing::DispenserLiquidType value) {
+
+ dispenserliquidtype_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Printing.JobDispenser.DispenserLiquidType)
+}
+
+// double LiquidMaxNanoliterPerCentimeter = 8;
+void JobDispenser::clear_liquidmaxnanoliterpercentimeter() {
+ liquidmaxnanoliterpercentimeter_ = 0;
+}
+double JobDispenser::liquidmaxnanoliterpercentimeter() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobDispenser.LiquidMaxNanoliterPerCentimeter)
+ return liquidmaxnanoliterpercentimeter_;
+}
+void JobDispenser::set_liquidmaxnanoliterpercentimeter(double value) {
+
+ liquidmaxnanoliterpercentimeter_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Printing.JobDispenser.LiquidMaxNanoliterPerCentimeter)
+}
+
+// double NanoliterPerPulse = 9;
+void JobDispenser::clear_nanoliterperpulse() {
+ nanoliterperpulse_ = 0;
+}
+double JobDispenser::nanoliterperpulse() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Printing.JobDispenser.NanoliterPerPulse)
+ return nanoliterperpulse_;
+}
+void JobDispenser::set_nanoliterperpulse(double value) {
+
+ nanoliterperpulse_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Printing.JobDispenser.NanoliterPerPulse)
+}
+
+#endif // PROTOBUF_INLINE_NOT_IN_HEADERS
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace Printing
+} // namespace PMR
+} // namespace Tango
+
+// @@protoc_insertion_point(global_scope)