aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubCartridgeReadResponse.pb.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubCartridgeReadResponse.pb.cc')
-rw-r--r--Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubCartridgeReadResponse.pb.cc654
1 files changed, 654 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubCartridgeReadResponse.pb.cc b/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubCartridgeReadResponse.pb.cc
new file mode 100644
index 000000000..2f88e00ee
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ProtoTest/PMR/StubCartridgeReadResponse.pb.cc
@@ -0,0 +1,654 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: StubCartridgeReadResponse.proto
+
+#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
+#include "StubCartridgeReadResponse.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 Stubs {
+class StubCartridgeReadResponseDefaultTypeInternal {
+public:
+ ::google::protobuf::internal::ExplicitlyConstructed<StubCartridgeReadResponse>
+ _instance;
+} _StubCartridgeReadResponse_default_instance_;
+
+namespace protobuf_StubCartridgeReadResponse_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(StubCartridgeReadResponse, _internal_metadata_),
+ ~0u, // no _extensions_
+ ~0u, // no _oneof_case_
+ ~0u, // no _weak_field_map_
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubCartridgeReadResponse, cartridgeid_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubCartridgeReadResponse, cartridgecolor_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubCartridgeReadResponse, cartridgeversion_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubCartridgeReadResponse, cartridgedata_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubCartridgeReadResponse, cartridgeused_),
+ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubCartridgeReadResponse, status_),
+};
+static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
+ { 0, -1, sizeof(StubCartridgeReadResponse)},
+};
+
+static ::google::protobuf::Message const * const file_default_instances[] = {
+ reinterpret_cast<const ::google::protobuf::Message*>(&_StubCartridgeReadResponse_default_instance_),
+};
+
+namespace {
+
+void protobuf_AssignDescriptors() {
+ AddDescriptors();
+ ::google::protobuf::MessageFactory* factory = NULL;
+ AssignDescriptors(
+ "StubCartridgeReadResponse.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();
+ _StubCartridgeReadResponse_default_instance_._instance.DefaultConstruct();
+ ::google::protobuf::internal::OnShutdownDestroyMessage(
+ &_StubCartridgeReadResponse_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\037StubCartridgeReadResponse.proto\022\017Tango"
+ ".PMR.Stubs\"\240\001\n\031StubCartridgeReadResponse"
+ "\022\023\n\013CartridgeId\030\001 \001(\r\022\026\n\016CartridgeColor\030"
+ "\003 \001(\r\022\030\n\020CartridgeVersion\030\004 \001(\r\022\025\n\rCartr"
+ "idgeData\030\005 \001(\005\022\025\n\rCartridgeUsed\030\006 \001(\010\022\016\n"
+ "\006Status\030\010 \001(\rB\033\n\031com.twine.tango.pmr.stu"
+ "bsb\006proto3"
+ };
+ ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
+ descriptor, 250);
+ ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
+ "StubCartridgeReadResponse.proto", &protobuf_RegisterTypes);
+}
+} // 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_StubCartridgeReadResponse_2eproto
+
+
+// ===================================================================
+
+#if !defined(_MSC_VER) || _MSC_VER >= 1900
+const int StubCartridgeReadResponse::kCartridgeIdFieldNumber;
+const int StubCartridgeReadResponse::kCartridgeColorFieldNumber;
+const int StubCartridgeReadResponse::kCartridgeVersionFieldNumber;
+const int StubCartridgeReadResponse::kCartridgeDataFieldNumber;
+const int StubCartridgeReadResponse::kCartridgeUsedFieldNumber;
+const int StubCartridgeReadResponse::kStatusFieldNumber;
+#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
+
+StubCartridgeReadResponse::StubCartridgeReadResponse()
+ : ::google::protobuf::Message(), _internal_metadata_(NULL) {
+ if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
+ protobuf_StubCartridgeReadResponse_2eproto::InitDefaults();
+ }
+ SharedCtor();
+ // @@protoc_insertion_point(constructor:Tango.PMR.Stubs.StubCartridgeReadResponse)
+}
+StubCartridgeReadResponse::StubCartridgeReadResponse(const StubCartridgeReadResponse& from)
+ : ::google::protobuf::Message(),
+ _internal_metadata_(NULL),
+ _cached_size_(0) {
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
+ ::memcpy(&cartridgeid_, &from.cartridgeid_,
+ static_cast<size_t>(reinterpret_cast<char*>(&status_) -
+ reinterpret_cast<char*>(&cartridgeid_)) + sizeof(status_));
+ // @@protoc_insertion_point(copy_constructor:Tango.PMR.Stubs.StubCartridgeReadResponse)
+}
+
+void StubCartridgeReadResponse::SharedCtor() {
+ ::memset(&cartridgeid_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&status_) -
+ reinterpret_cast<char*>(&cartridgeid_)) + sizeof(status_));
+ _cached_size_ = 0;
+}
+
+StubCartridgeReadResponse::~StubCartridgeReadResponse() {
+ // @@protoc_insertion_point(destructor:Tango.PMR.Stubs.StubCartridgeReadResponse)
+ SharedDtor();
+}
+
+void StubCartridgeReadResponse::SharedDtor() {
+}
+
+void StubCartridgeReadResponse::SetCachedSize(int size) const {
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
+ _cached_size_ = size;
+ GOOGLE_SAFE_CONCURRENT_WRITES_END();
+}
+const ::google::protobuf::Descriptor* StubCartridgeReadResponse::descriptor() {
+ protobuf_StubCartridgeReadResponse_2eproto::protobuf_AssignDescriptorsOnce();
+ return protobuf_StubCartridgeReadResponse_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
+}
+
+const StubCartridgeReadResponse& StubCartridgeReadResponse::default_instance() {
+ protobuf_StubCartridgeReadResponse_2eproto::InitDefaults();
+ return *internal_default_instance();
+}
+
+StubCartridgeReadResponse* StubCartridgeReadResponse::New(::google::protobuf::Arena* arena) const {
+ StubCartridgeReadResponse* n = new StubCartridgeReadResponse;
+ if (arena != NULL) {
+ arena->Own(n);
+ }
+ return n;
+}
+
+void StubCartridgeReadResponse::Clear() {
+// @@protoc_insertion_point(message_clear_start:Tango.PMR.Stubs.StubCartridgeReadResponse)
+ ::google::protobuf::uint32 cached_has_bits = 0;
+ // Prevent compiler warnings about cached_has_bits being unused
+ (void) cached_has_bits;
+
+ ::memset(&cartridgeid_, 0, static_cast<size_t>(
+ reinterpret_cast<char*>(&status_) -
+ reinterpret_cast<char*>(&cartridgeid_)) + sizeof(status_));
+ _internal_metadata_.Clear();
+}
+
+bool StubCartridgeReadResponse::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.Stubs.StubCartridgeReadResponse)
+ 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)) {
+ // uint32 CartridgeId = 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::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
+ input, &cartridgeid_)));
+ } else {
+ goto handle_unusual;
+ }
+ break;
+ }
+
+ // uint32 CartridgeColor = 3;
+ case 3: {
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
+ static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
+
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
+ input, &cartridgecolor_)));
+ } else {
+ goto handle_unusual;
+ }
+ break;
+ }
+
+ // uint32 CartridgeVersion = 4;
+ case 4: {
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
+ static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
+
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
+ input, &cartridgeversion_)));
+ } else {
+ goto handle_unusual;
+ }
+ break;
+ }
+
+ // int32 CartridgeData = 5;
+ case 5: {
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
+ static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
+
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
+ input, &cartridgedata_)));
+ } else {
+ goto handle_unusual;
+ }
+ break;
+ }
+
+ // bool CartridgeUsed = 6;
+ case 6: {
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
+ static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
+
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
+ input, &cartridgeused_)));
+ } else {
+ goto handle_unusual;
+ }
+ break;
+ }
+
+ // uint32 Status = 8;
+ case 8: {
+ if (static_cast< ::google::protobuf::uint8>(tag) ==
+ static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
+
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
+ ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
+ input, &status_)));
+ } 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.Stubs.StubCartridgeReadResponse)
+ return true;
+failure:
+ // @@protoc_insertion_point(parse_failure:Tango.PMR.Stubs.StubCartridgeReadResponse)
+ return false;
+#undef DO_
+}
+
+void StubCartridgeReadResponse::SerializeWithCachedSizes(
+ ::google::protobuf::io::CodedOutputStream* output) const {
+ // @@protoc_insertion_point(serialize_start:Tango.PMR.Stubs.StubCartridgeReadResponse)
+ ::google::protobuf::uint32 cached_has_bits = 0;
+ (void) cached_has_bits;
+
+ // uint32 CartridgeId = 1;
+ if (this->cartridgeid() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->cartridgeid(), output);
+ }
+
+ // uint32 CartridgeColor = 3;
+ if (this->cartridgecolor() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->cartridgecolor(), output);
+ }
+
+ // uint32 CartridgeVersion = 4;
+ if (this->cartridgeversion() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->cartridgeversion(), output);
+ }
+
+ // int32 CartridgeData = 5;
+ if (this->cartridgedata() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->cartridgedata(), output);
+ }
+
+ // bool CartridgeUsed = 6;
+ if (this->cartridgeused() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->cartridgeused(), output);
+ }
+
+ // uint32 Status = 8;
+ if (this->status() != 0) {
+ ::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->status(), 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.Stubs.StubCartridgeReadResponse)
+}
+
+::google::protobuf::uint8* StubCartridgeReadResponse::InternalSerializeWithCachedSizesToArray(
+ bool deterministic, ::google::protobuf::uint8* target) const {
+ (void)deterministic; // Unused
+ // @@protoc_insertion_point(serialize_to_array_start:Tango.PMR.Stubs.StubCartridgeReadResponse)
+ ::google::protobuf::uint32 cached_has_bits = 0;
+ (void) cached_has_bits;
+
+ // uint32 CartridgeId = 1;
+ if (this->cartridgeid() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->cartridgeid(), target);
+ }
+
+ // uint32 CartridgeColor = 3;
+ if (this->cartridgecolor() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->cartridgecolor(), target);
+ }
+
+ // uint32 CartridgeVersion = 4;
+ if (this->cartridgeversion() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->cartridgeversion(), target);
+ }
+
+ // int32 CartridgeData = 5;
+ if (this->cartridgedata() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->cartridgedata(), target);
+ }
+
+ // bool CartridgeUsed = 6;
+ if (this->cartridgeused() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->cartridgeused(), target);
+ }
+
+ // uint32 Status = 8;
+ if (this->status() != 0) {
+ target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(8, this->status(), 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.Stubs.StubCartridgeReadResponse)
+ return target;
+}
+
+size_t StubCartridgeReadResponse::ByteSizeLong() const {
+// @@protoc_insertion_point(message_byte_size_start:Tango.PMR.Stubs.StubCartridgeReadResponse)
+ 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()));
+ }
+ // uint32 CartridgeId = 1;
+ if (this->cartridgeid() != 0) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::UInt32Size(
+ this->cartridgeid());
+ }
+
+ // uint32 CartridgeColor = 3;
+ if (this->cartridgecolor() != 0) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::UInt32Size(
+ this->cartridgecolor());
+ }
+
+ // uint32 CartridgeVersion = 4;
+ if (this->cartridgeversion() != 0) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::UInt32Size(
+ this->cartridgeversion());
+ }
+
+ // int32 CartridgeData = 5;
+ if (this->cartridgedata() != 0) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::Int32Size(
+ this->cartridgedata());
+ }
+
+ // bool CartridgeUsed = 6;
+ if (this->cartridgeused() != 0) {
+ total_size += 1 + 1;
+ }
+
+ // uint32 Status = 8;
+ if (this->status() != 0) {
+ total_size += 1 +
+ ::google::protobuf::internal::WireFormatLite::UInt32Size(
+ this->status());
+ }
+
+ 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 StubCartridgeReadResponse::MergeFrom(const ::google::protobuf::Message& from) {
+// @@protoc_insertion_point(generalized_merge_from_start:Tango.PMR.Stubs.StubCartridgeReadResponse)
+ GOOGLE_DCHECK_NE(&from, this);
+ const StubCartridgeReadResponse* source =
+ ::google::protobuf::internal::DynamicCastToGenerated<const StubCartridgeReadResponse>(
+ &from);
+ if (source == NULL) {
+ // @@protoc_insertion_point(generalized_merge_from_cast_fail:Tango.PMR.Stubs.StubCartridgeReadResponse)
+ ::google::protobuf::internal::ReflectionOps::Merge(from, this);
+ } else {
+ // @@protoc_insertion_point(generalized_merge_from_cast_success:Tango.PMR.Stubs.StubCartridgeReadResponse)
+ MergeFrom(*source);
+ }
+}
+
+void StubCartridgeReadResponse::MergeFrom(const StubCartridgeReadResponse& from) {
+// @@protoc_insertion_point(class_specific_merge_from_start:Tango.PMR.Stubs.StubCartridgeReadResponse)
+ GOOGLE_DCHECK_NE(&from, this);
+ _internal_metadata_.MergeFrom(from._internal_metadata_);
+ ::google::protobuf::uint32 cached_has_bits = 0;
+ (void) cached_has_bits;
+
+ if (from.cartridgeid() != 0) {
+ set_cartridgeid(from.cartridgeid());
+ }
+ if (from.cartridgecolor() != 0) {
+ set_cartridgecolor(from.cartridgecolor());
+ }
+ if (from.cartridgeversion() != 0) {
+ set_cartridgeversion(from.cartridgeversion());
+ }
+ if (from.cartridgedata() != 0) {
+ set_cartridgedata(from.cartridgedata());
+ }
+ if (from.cartridgeused() != 0) {
+ set_cartridgeused(from.cartridgeused());
+ }
+ if (from.status() != 0) {
+ set_status(from.status());
+ }
+}
+
+void StubCartridgeReadResponse::CopyFrom(const ::google::protobuf::Message& from) {
+// @@protoc_insertion_point(generalized_copy_from_start:Tango.PMR.Stubs.StubCartridgeReadResponse)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+void StubCartridgeReadResponse::CopyFrom(const StubCartridgeReadResponse& from) {
+// @@protoc_insertion_point(class_specific_copy_from_start:Tango.PMR.Stubs.StubCartridgeReadResponse)
+ if (&from == this) return;
+ Clear();
+ MergeFrom(from);
+}
+
+bool StubCartridgeReadResponse::IsInitialized() const {
+ return true;
+}
+
+void StubCartridgeReadResponse::Swap(StubCartridgeReadResponse* other) {
+ if (other == this) return;
+ InternalSwap(other);
+}
+void StubCartridgeReadResponse::InternalSwap(StubCartridgeReadResponse* other) {
+ using std::swap;
+ swap(cartridgeid_, other->cartridgeid_);
+ swap(cartridgecolor_, other->cartridgecolor_);
+ swap(cartridgeversion_, other->cartridgeversion_);
+ swap(cartridgedata_, other->cartridgedata_);
+ swap(cartridgeused_, other->cartridgeused_);
+ swap(status_, other->status_);
+ _internal_metadata_.Swap(&other->_internal_metadata_);
+ swap(_cached_size_, other->_cached_size_);
+}
+
+::google::protobuf::Metadata StubCartridgeReadResponse::GetMetadata() const {
+ protobuf_StubCartridgeReadResponse_2eproto::protobuf_AssignDescriptorsOnce();
+ return protobuf_StubCartridgeReadResponse_2eproto::file_level_metadata[kIndexInFileMessages];
+}
+
+#if PROTOBUF_INLINE_NOT_IN_HEADERS
+// StubCartridgeReadResponse
+
+// uint32 CartridgeId = 1;
+void StubCartridgeReadResponse::clear_cartridgeid() {
+ cartridgeid_ = 0u;
+}
+::google::protobuf::uint32 StubCartridgeReadResponse::cartridgeid() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubCartridgeReadResponse.CartridgeId)
+ return cartridgeid_;
+}
+void StubCartridgeReadResponse::set_cartridgeid(::google::protobuf::uint32 value) {
+
+ cartridgeid_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubCartridgeReadResponse.CartridgeId)
+}
+
+// uint32 CartridgeColor = 3;
+void StubCartridgeReadResponse::clear_cartridgecolor() {
+ cartridgecolor_ = 0u;
+}
+::google::protobuf::uint32 StubCartridgeReadResponse::cartridgecolor() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubCartridgeReadResponse.CartridgeColor)
+ return cartridgecolor_;
+}
+void StubCartridgeReadResponse::set_cartridgecolor(::google::protobuf::uint32 value) {
+
+ cartridgecolor_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubCartridgeReadResponse.CartridgeColor)
+}
+
+// uint32 CartridgeVersion = 4;
+void StubCartridgeReadResponse::clear_cartridgeversion() {
+ cartridgeversion_ = 0u;
+}
+::google::protobuf::uint32 StubCartridgeReadResponse::cartridgeversion() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubCartridgeReadResponse.CartridgeVersion)
+ return cartridgeversion_;
+}
+void StubCartridgeReadResponse::set_cartridgeversion(::google::protobuf::uint32 value) {
+
+ cartridgeversion_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubCartridgeReadResponse.CartridgeVersion)
+}
+
+// int32 CartridgeData = 5;
+void StubCartridgeReadResponse::clear_cartridgedata() {
+ cartridgedata_ = 0;
+}
+::google::protobuf::int32 StubCartridgeReadResponse::cartridgedata() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubCartridgeReadResponse.CartridgeData)
+ return cartridgedata_;
+}
+void StubCartridgeReadResponse::set_cartridgedata(::google::protobuf::int32 value) {
+
+ cartridgedata_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubCartridgeReadResponse.CartridgeData)
+}
+
+// bool CartridgeUsed = 6;
+void StubCartridgeReadResponse::clear_cartridgeused() {
+ cartridgeused_ = false;
+}
+bool StubCartridgeReadResponse::cartridgeused() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubCartridgeReadResponse.CartridgeUsed)
+ return cartridgeused_;
+}
+void StubCartridgeReadResponse::set_cartridgeused(bool value) {
+
+ cartridgeused_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubCartridgeReadResponse.CartridgeUsed)
+}
+
+// uint32 Status = 8;
+void StubCartridgeReadResponse::clear_status() {
+ status_ = 0u;
+}
+::google::protobuf::uint32 StubCartridgeReadResponse::status() const {
+ // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubCartridgeReadResponse.Status)
+ return status_;
+}
+void StubCartridgeReadResponse::set_status(::google::protobuf::uint32 value) {
+
+ status_ = value;
+ // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubCartridgeReadResponse.Status)
+}
+
+#endif // PROTOBUF_INLINE_NOT_IN_HEADERS
+
+// @@protoc_insertion_point(namespace_scope)
+
+} // namespace Stubs
+} // namespace PMR
+} // namespace Tango
+
+// @@protoc_insertion_point(global_scope)