// Generated by the protocol buffer compiler. DO NOT EDIT! // source: StubF3Gpo01WriteRequest.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "StubF3Gpo01WriteRequest.pb.h" #include #include #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) namespace Tango { namespace PMR { namespace Stubs { class StubF3Gpo01WriteRequestDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _StubF3Gpo01WriteRequest_default_instance_; namespace protobuf_StubF3Gpo01WriteRequest_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(StubF3Gpo01WriteRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubF3Gpo01WriteRequest, f3_gpo_led4_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubF3Gpo01WriteRequest, write_f3_gpo_led4_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubF3Gpo01WriteRequest, f3_gpo_led3_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubF3Gpo01WriteRequest, write_f3_gpo_led3_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubF3Gpo01WriteRequest, f3_gpo_led2_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubF3Gpo01WriteRequest, write_f3_gpo_led2_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubF3Gpo01WriteRequest, f3_gpo_led1_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubF3Gpo01WriteRequest, write_f3_gpo_led1_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubF3Gpo01WriteRequest, f3_gpo_extwinder_ssr11_ctrl_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubF3Gpo01WriteRequest, write_f3_gpo_extwinder_ssr11_ctrl_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubF3Gpo01WriteRequest, f3_gpo_buzzer_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubF3Gpo01WriteRequest, write_f3_gpo_buzzer_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(StubF3Gpo01WriteRequest)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&_StubF3Gpo01WriteRequest_default_instance_), }; namespace { void protobuf_AssignDescriptors() { AddDescriptors(); ::google::protobuf::MessageFactory* factory = NULL; AssignDescriptors( "StubF3Gpo01WriteRequest.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(); _StubF3Gpo01WriteRequest_default_instance_._instance.DefaultConstruct(); ::google::protobuf::internal::OnShutdownDestroyMessage( &_StubF3Gpo01WriteRequest_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\035StubF3Gpo01WriteRequest.proto\022\017Tango.P" "MR.Stubs\"\335\002\n\027StubF3Gpo01WriteRequest\022\023\n\013" "F3_GPO_LED4\030\001 \001(\010\022\031\n\021Write_F3_GPO_LED4\030\002" " \001(\010\022\023\n\013F3_GPO_LED3\030\003 \001(\010\022\031\n\021Write_F3_GP" "O_LED3\030\004 \001(\010\022\023\n\013F3_GPO_LED2\030\005 \001(\010\022\031\n\021Wri" "te_F3_GPO_LED2\030\006 \001(\010\022\023\n\013F3_GPO_LED1\030\007 \001(" "\010\022\031\n\021Write_F3_GPO_LED1\030\010 \001(\010\022#\n\033F3_GPO_E" "XTWINDER_SSR11_CTRL\030\t \001(\010\022)\n!Write_F3_GP" "O_EXTWINDER_SSR11_CTRL\030\n \001(\010\022\025\n\rF3_GPO_B" "UZZER\030\013 \001(\010\022\033\n\023Write_F3_GPO_BUZZER\030\014 \001(\010" "B\033\n\031com.twine.tango.pmr.stubsb\006proto3" }; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( descriptor, 437); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "StubF3Gpo01WriteRequest.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_StubF3Gpo01WriteRequest_2eproto // =================================================================== #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int StubF3Gpo01WriteRequest::kF3GPOLED4FieldNumber; const int StubF3Gpo01WriteRequest::kWriteF3GPOLED4FieldNumber; const int StubF3Gpo01WriteRequest::kF3GPOLED3FieldNumber; const int StubF3Gpo01WriteRequest::kWriteF3GPOLED3FieldNumber; const int StubF3Gpo01WriteRequest::kF3GPOLED2FieldNumber; const int StubF3Gpo01WriteRequest::kWriteF3GPOLED2FieldNumber; const int StubF3Gpo01WriteRequest::kF3GPOLED1FieldNumber; const int StubF3Gpo01WriteRequest::kWriteF3GPOLED1FieldNumber; const int StubF3Gpo01WriteRequest::kF3GPOEXTWINDERSSR11CTRLFieldNumber; const int StubF3Gpo01WriteRequest::kWriteF3GPOEXTWINDERSSR11CTRLFieldNumber; const int StubF3Gpo01WriteRequest::kF3GPOBUZZERFieldNumber; const int StubF3Gpo01WriteRequest::kWriteF3GPOBUZZERFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 StubF3Gpo01WriteRequest::StubF3Gpo01WriteRequest() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { protobuf_StubF3Gpo01WriteRequest_2eproto::InitDefaults(); } SharedCtor(); // @@protoc_insertion_point(constructor:Tango.PMR.Stubs.StubF3Gpo01WriteRequest) } StubF3Gpo01WriteRequest::StubF3Gpo01WriteRequest(const StubF3Gpo01WriteRequest& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); ::memcpy(&f3_gpo_led4_, &from.f3_gpo_led4_, static_cast(reinterpret_cast(&write_f3_gpo_buzzer_) - reinterpret_cast(&f3_gpo_led4_)) + sizeof(write_f3_gpo_buzzer_)); // @@protoc_insertion_point(copy_constructor:Tango.PMR.Stubs.StubF3Gpo01WriteRequest) } void StubF3Gpo01WriteRequest::SharedCtor() { ::memset(&f3_gpo_led4_, 0, static_cast( reinterpret_cast(&write_f3_gpo_buzzer_) - reinterpret_cast(&f3_gpo_led4_)) + sizeof(write_f3_gpo_buzzer_)); _cached_size_ = 0; } StubF3Gpo01WriteRequest::~StubF3Gpo01WriteRequest() { // @@protoc_insertion_point(destructor:Tango.PMR.Stubs.StubF3Gpo01WriteRequest) SharedDtor(); } void StubF3Gpo01WriteRequest::SharedDtor() { } void StubF3Gpo01WriteRequest::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* StubF3Gpo01WriteRequest::descriptor() { protobuf_StubF3Gpo01WriteRequest_2eproto::protobuf_AssignDescriptorsOnce(); return protobuf_StubF3Gpo01WriteRequest_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const StubF3Gpo01WriteRequest& StubF3Gpo01WriteRequest::default_instance() { protobuf_StubF3Gpo01WriteRequest_2eproto::InitDefaults(); return *internal_default_instance(); } StubF3Gpo01WriteRequest* StubF3Gpo01WriteRequest::New(::google::protobuf::Arena* arena) const { StubF3Gpo01WriteRequest* n = new StubF3Gpo01WriteRequest; if (arena != NULL) { arena->Own(n); } return n; } void StubF3Gpo01WriteRequest::Clear() { // @@protoc_insertion_point(message_clear_start:Tango.PMR.Stubs.StubF3Gpo01WriteRequest) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&f3_gpo_led4_, 0, static_cast( reinterpret_cast(&write_f3_gpo_buzzer_) - reinterpret_cast(&f3_gpo_led4_)) + sizeof(write_f3_gpo_buzzer_)); _internal_metadata_.Clear(); } bool StubF3Gpo01WriteRequest::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.StubF3Gpo01WriteRequest) 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)) { // bool F3_GPO_LED4 = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &f3_gpo_led4_))); } else { goto handle_unusual; } break; } // bool Write_F3_GPO_LED4 = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &write_f3_gpo_led4_))); } else { goto handle_unusual; } break; } // bool F3_GPO_LED3 = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &f3_gpo_led3_))); } else { goto handle_unusual; } break; } // bool Write_F3_GPO_LED3 = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &write_f3_gpo_led3_))); } else { goto handle_unusual; } break; } // bool F3_GPO_LED2 = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &f3_gpo_led2_))); } else { goto handle_unusual; } break; } // bool Write_F3_GPO_LED2 = 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, &write_f3_gpo_led2_))); } else { goto handle_unusual; } break; } // bool F3_GPO_LED1 = 7; case 7: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &f3_gpo_led1_))); } else { goto handle_unusual; } break; } // bool Write_F3_GPO_LED1 = 8; case 8: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &write_f3_gpo_led1_))); } else { goto handle_unusual; } break; } // bool F3_GPO_EXTWINDER_SSR11_CTRL = 9; case 9: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &f3_gpo_extwinder_ssr11_ctrl_))); } else { goto handle_unusual; } break; } // bool Write_F3_GPO_EXTWINDER_SSR11_CTRL = 10; case 10: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &write_f3_gpo_extwinder_ssr11_ctrl_))); } else { goto handle_unusual; } break; } // bool F3_GPO_BUZZER = 11; case 11: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &f3_gpo_buzzer_))); } else { goto handle_unusual; } break; } // bool Write_F3_GPO_BUZZER = 12; case 12: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &write_f3_gpo_buzzer_))); } 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.StubF3Gpo01WriteRequest) return true; failure: // @@protoc_insertion_point(parse_failure:Tango.PMR.Stubs.StubF3Gpo01WriteRequest) return false; #undef DO_ } void StubF3Gpo01WriteRequest::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:Tango.PMR.Stubs.StubF3Gpo01WriteRequest) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // bool F3_GPO_LED4 = 1; if (this->f3_gpo_led4() != 0) { ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->f3_gpo_led4(), output); } // bool Write_F3_GPO_LED4 = 2; if (this->write_f3_gpo_led4() != 0) { ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->write_f3_gpo_led4(), output); } // bool F3_GPO_LED3 = 3; if (this->f3_gpo_led3() != 0) { ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->f3_gpo_led3(), output); } // bool Write_F3_GPO_LED3 = 4; if (this->write_f3_gpo_led3() != 0) { ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->write_f3_gpo_led3(), output); } // bool F3_GPO_LED2 = 5; if (this->f3_gpo_led2() != 0) { ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->f3_gpo_led2(), output); } // bool Write_F3_GPO_LED2 = 6; if (this->write_f3_gpo_led2() != 0) { ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->write_f3_gpo_led2(), output); } // bool F3_GPO_LED1 = 7; if (this->f3_gpo_led1() != 0) { ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->f3_gpo_led1(), output); } // bool Write_F3_GPO_LED1 = 8; if (this->write_f3_gpo_led1() != 0) { ::google::protobuf::internal::WireFormatLite::WriteBool(8, this->write_f3_gpo_led1(), output); } // bool F3_GPO_EXTWINDER_SSR11_CTRL = 9; if (this->f3_gpo_extwinder_ssr11_ctrl() != 0) { ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->f3_gpo_extwinder_ssr11_ctrl(), output); } // bool Write_F3_GPO_EXTWINDER_SSR11_CTRL = 10; if (this->write_f3_gpo_extwinder_ssr11_ctrl() != 0) { ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->write_f3_gpo_extwinder_ssr11_ctrl(), output); } // bool F3_GPO_BUZZER = 11; if (this->f3_gpo_buzzer() != 0) { ::google::protobuf::internal::WireFormatLite::WriteBool(11, this->f3_gpo_buzzer(), output); } // bool Write_F3_GPO_BUZZER = 12; if (this->write_f3_gpo_buzzer() != 0) { ::google::protobuf::internal::WireFormatLite::WriteBool(12, this->write_f3_gpo_buzzer(), 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.StubF3Gpo01WriteRequest) } ::google::protobuf::uint8* StubF3Gpo01WriteRequest::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:Tango.PMR.Stubs.StubF3Gpo01WriteRequest) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // bool F3_GPO_LED4 = 1; if (this->f3_gpo_led4() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->f3_gpo_led4(), target); } // bool Write_F3_GPO_LED4 = 2; if (this->write_f3_gpo_led4() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->write_f3_gpo_led4(), target); } // bool F3_GPO_LED3 = 3; if (this->f3_gpo_led3() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->f3_gpo_led3(), target); } // bool Write_F3_GPO_LED3 = 4; if (this->write_f3_gpo_led3() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->write_f3_gpo_led3(), target); } // bool F3_GPO_LED2 = 5; if (this->f3_gpo_led2() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->f3_gpo_led2(), target); } // bool Write_F3_GPO_LED2 = 6; if (this->write_f3_gpo_led2() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->write_f3_gpo_led2(), target); } // bool F3_GPO_LED1 = 7; if (this->f3_gpo_led1() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->f3_gpo_led1(), target); } // bool Write_F3_GPO_LED1 = 8; if (this->write_f3_gpo_led1() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(8, this->write_f3_gpo_led1(), target); } // bool F3_GPO_EXTWINDER_SSR11_CTRL = 9; if (this->f3_gpo_extwinder_ssr11_ctrl() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(9, this->f3_gpo_extwinder_ssr11_ctrl(), target); } // bool Write_F3_GPO_EXTWINDER_SSR11_CTRL = 10; if (this->write_f3_gpo_extwinder_ssr11_ctrl() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->write_f3_gpo_extwinder_ssr11_ctrl(), target); } // bool F3_GPO_BUZZER = 11; if (this->f3_gpo_buzzer() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(11, this->f3_gpo_buzzer(), target); } // bool Write_F3_GPO_BUZZER = 12; if (this->write_f3_gpo_buzzer() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(12, this->write_f3_gpo_buzzer(), 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.StubF3Gpo01WriteRequest) return target; } size_t StubF3Gpo01WriteRequest::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:Tango.PMR.Stubs.StubF3Gpo01WriteRequest) 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())); } // bool F3_GPO_LED4 = 1; if (this->f3_gpo_led4() != 0) { total_size += 1 + 1; } // bool Write_F3_GPO_LED4 = 2; if (this->write_f3_gpo_led4() != 0) { total_size += 1 + 1; } // bool F3_GPO_LED3 = 3; if (this->f3_gpo_led3() != 0) { total_size += 1 + 1; } // bool Write_F3_GPO_LED3 = 4; if (this->write_f3_gpo_led3() != 0) { total_size += 1 + 1; } // bool F3_GPO_LED2 = 5; if (this->f3_gpo_led2() != 0) { total_size += 1 + 1; } // bool Write_F3_GPO_LED2 = 6; if (this->write_f3_gpo_led2() != 0) { total_size += 1 + 1; } // bool F3_GPO_LED1 = 7; if (this->f3_gpo_led1() != 0) { total_size += 1 + 1; } // bool Write_F3_GPO_LED1 = 8; if (this->write_f3_gpo_led1() != 0) { total_size += 1 + 1; } // bool F3_GPO_EXTWINDER_SSR11_CTRL = 9; if (this->f3_gpo_extwinder_ssr11_ctrl() != 0) { total_size += 1 + 1; } // bool Write_F3_GPO_EXTWINDER_SSR11_CTRL = 10; if (this->write_f3_gpo_extwinder_ssr11_ctrl() != 0) { total_size += 1 + 1; } // bool F3_GPO_BUZZER = 11; if (this->f3_gpo_buzzer() != 0) { total_size += 1 + 1; } // bool Write_F3_GPO_BUZZER = 12; if (this->write_f3_gpo_buzzer() != 0) { total_size += 1 + 1; } 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 StubF3Gpo01WriteRequest::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:Tango.PMR.Stubs.StubF3Gpo01WriteRequest) GOOGLE_DCHECK_NE(&from, this); const StubF3Gpo01WriteRequest* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:Tango.PMR.Stubs.StubF3Gpo01WriteRequest) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:Tango.PMR.Stubs.StubF3Gpo01WriteRequest) MergeFrom(*source); } } void StubF3Gpo01WriteRequest::MergeFrom(const StubF3Gpo01WriteRequest& from) { // @@protoc_insertion_point(class_specific_merge_from_start:Tango.PMR.Stubs.StubF3Gpo01WriteRequest) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.f3_gpo_led4() != 0) { set_f3_gpo_led4(from.f3_gpo_led4()); } if (from.write_f3_gpo_led4() != 0) { set_write_f3_gpo_led4(from.write_f3_gpo_led4()); } if (from.f3_gpo_led3() != 0) { set_f3_gpo_led3(from.f3_gpo_led3()); } if (from.write_f3_gpo_led3() != 0) { set_write_f3_gpo_led3(from.write_f3_gpo_led3()); } if (from.f3_gpo_led2() != 0) { set_f3_gpo_led2(from.f3_gpo_led2()); } if (from.write_f3_gpo_led2() != 0) { set_write_f3_gpo_led2(from.write_f3_gpo_led2()); } if (from.f3_gpo_led1() != 0) { set_f3_gpo_led1(from.f3_gpo_led1()); } if (from.write_f3_gpo_led1() != 0) { set_write_f3_gpo_led1(from.write_f3_gpo_led1()); } if (from.f3_gpo_extwinder_ssr11_ctrl() != 0) { set_f3_gpo_extwinder_ssr11_ctrl(from.f3_gpo_extwinder_ssr11_ctrl()); } if (from.write_f3_gpo_extwinder_ssr11_ctrl() != 0) { set_write_f3_gpo_extwinder_ssr11_ctrl(from.write_f3_gpo_extwinder_ssr11_ctrl()); } if (from.f3_gpo_buzzer() != 0) { set_f3_gpo_buzzer(from.f3_gpo_buzzer()); } if (from.write_f3_gpo_buzzer() != 0) { set_write_f3_gpo_buzzer(from.write_f3_gpo_buzzer()); } } void StubF3Gpo01WriteRequest::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:Tango.PMR.Stubs.StubF3Gpo01WriteRequest) if (&from == this) return; Clear(); MergeFrom(from); } void StubF3Gpo01WriteRequest::CopyFrom(const StubF3Gpo01WriteRequest& from) { // @@protoc_insertion_point(class_specific_copy_from_start:Tango.PMR.Stubs.StubF3Gpo01WriteRequest) if (&from == this) return; Clear(); MergeFrom(from); } bool StubF3Gpo01WriteRequest::IsInitialized() const { return true; } void StubF3Gpo01WriteRequest::Swap(StubF3Gpo01WriteRequest* other) { if (other == this) return; InternalSwap(other); } void StubF3Gpo01WriteRequest::InternalSwap(StubF3Gpo01WriteRequest* other) { using std::swap; swap(f3_gpo_led4_, other->f3_gpo_led4_); swap(write_f3_gpo_led4_, other->write_f3_gpo_led4_); swap(f3_gpo_led3_, other->f3_gpo_led3_); swap(write_f3_gpo_led3_, other->write_f3_gpo_led3_); swap(f3_gpo_led2_, other->f3_gpo_led2_); swap(write_f3_gpo_led2_, other->write_f3_gpo_led2_); swap(f3_gpo_led1_, other->f3_gpo_led1_); swap(write_f3_gpo_led1_, other->write_f3_gpo_led1_); swap(f3_gpo_extwinder_ssr11_ctrl_, other->f3_gpo_extwinder_ssr11_ctrl_); swap(write_f3_gpo_extwinder_ssr11_ctrl_, other->write_f3_gpo_extwinder_ssr11_ctrl_); swap(f3_gpo_buzzer_, other->f3_gpo_buzzer_); swap(write_f3_gpo_buzzer_, other->write_f3_gpo_buzzer_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata StubF3Gpo01WriteRequest::GetMetadata() const { protobuf_StubF3Gpo01WriteRequest_2eproto::protobuf_AssignDescriptorsOnce(); return protobuf_StubF3Gpo01WriteRequest_2eproto::file_level_metadata[kIndexInFileMessages]; } #if PROTOBUF_INLINE_NOT_IN_HEADERS // StubF3Gpo01WriteRequest // bool F3_GPO_LED4 = 1; void StubF3Gpo01WriteRequest::clear_f3_gpo_led4() { f3_gpo_led4_ = false; } bool StubF3Gpo01WriteRequest::f3_gpo_led4() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.F3_GPO_LED4) return f3_gpo_led4_; } void StubF3Gpo01WriteRequest::set_f3_gpo_led4(bool value) { f3_gpo_led4_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.F3_GPO_LED4) } // bool Write_F3_GPO_LED4 = 2; void StubF3Gpo01WriteRequest::clear_write_f3_gpo_led4() { write_f3_gpo_led4_ = false; } bool StubF3Gpo01WriteRequest::write_f3_gpo_led4() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.Write_F3_GPO_LED4) return write_f3_gpo_led4_; } void StubF3Gpo01WriteRequest::set_write_f3_gpo_led4(bool value) { write_f3_gpo_led4_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.Write_F3_GPO_LED4) } // bool F3_GPO_LED3 = 3; void StubF3Gpo01WriteRequest::clear_f3_gpo_led3() { f3_gpo_led3_ = false; } bool StubF3Gpo01WriteRequest::f3_gpo_led3() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.F3_GPO_LED3) return f3_gpo_led3_; } void StubF3Gpo01WriteRequest::set_f3_gpo_led3(bool value) { f3_gpo_led3_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.F3_GPO_LED3) } // bool Write_F3_GPO_LED3 = 4; void StubF3Gpo01WriteRequest::clear_write_f3_gpo_led3() { write_f3_gpo_led3_ = false; } bool StubF3Gpo01WriteRequest::write_f3_gpo_led3() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.Write_F3_GPO_LED3) return write_f3_gpo_led3_; } void StubF3Gpo01WriteRequest::set_write_f3_gpo_led3(bool value) { write_f3_gpo_led3_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.Write_F3_GPO_LED3) } // bool F3_GPO_LED2 = 5; void StubF3Gpo01WriteRequest::clear_f3_gpo_led2() { f3_gpo_led2_ = false; } bool StubF3Gpo01WriteRequest::f3_gpo_led2() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.F3_GPO_LED2) return f3_gpo_led2_; } void StubF3Gpo01WriteRequest::set_f3_gpo_led2(bool value) { f3_gpo_led2_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.F3_GPO_LED2) } // bool Write_F3_GPO_LED2 = 6; void StubF3Gpo01WriteRequest::clear_write_f3_gpo_led2() { write_f3_gpo_led2_ = false; } bool StubF3Gpo01WriteRequest::write_f3_gpo_led2() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.Write_F3_GPO_LED2) return write_f3_gpo_led2_; } void StubF3Gpo01WriteRequest::set_write_f3_gpo_led2(bool value) { write_f3_gpo_led2_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.Write_F3_GPO_LED2) } // bool F3_GPO_LED1 = 7; void StubF3Gpo01WriteRequest::clear_f3_gpo_led1() { f3_gpo_led1_ = false; } bool StubF3Gpo01WriteRequest::f3_gpo_led1() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.F3_GPO_LED1) return f3_gpo_led1_; } void StubF3Gpo01WriteRequest::set_f3_gpo_led1(bool value) { f3_gpo_led1_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.F3_GPO_LED1) } // bool Write_F3_GPO_LED1 = 8; void StubF3Gpo01WriteRequest::clear_write_f3_gpo_led1() { write_f3_gpo_led1_ = false; } bool StubF3Gpo01WriteRequest::write_f3_gpo_led1() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.Write_F3_GPO_LED1) return write_f3_gpo_led1_; } void StubF3Gpo01WriteRequest::set_write_f3_gpo_led1(bool value) { write_f3_gpo_led1_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.Write_F3_GPO_LED1) } // bool F3_GPO_EXTWINDER_SSR11_CTRL = 9; void StubF3Gpo01WriteRequest::clear_f3_gpo_extwinder_ssr11_ctrl() { f3_gpo_extwinder_ssr11_ctrl_ = false; } bool StubF3Gpo01WriteRequest::f3_gpo_extwinder_ssr11_ctrl() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.F3_GPO_EXTWINDER_SSR11_CTRL) return f3_gpo_extwinder_ssr11_ctrl_; } void StubF3Gpo01WriteRequest::set_f3_gpo_extwinder_ssr11_ctrl(bool value) { f3_gpo_extwinder_ssr11_ctrl_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.F3_GPO_EXTWINDER_SSR11_CTRL) } // bool Write_F3_GPO_EXTWINDER_SSR11_CTRL = 10; void StubF3Gpo01WriteRequest::clear_write_f3_gpo_extwinder_ssr11_ctrl() { write_f3_gpo_extwinder_ssr11_ctrl_ = false; } bool StubF3Gpo01WriteRequest::write_f3_gpo_extwinder_ssr11_ctrl() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.Write_F3_GPO_EXTWINDER_SSR11_CTRL) return write_f3_gpo_extwinder_ssr11_ctrl_; } void StubF3Gpo01WriteRequest::set_write_f3_gpo_extwinder_ssr11_ctrl(bool value) { write_f3_gpo_extwinder_ssr11_ctrl_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.Write_F3_GPO_EXTWINDER_SSR11_CTRL) } // bool F3_GPO_BUZZER = 11; void StubF3Gpo01WriteRequest::clear_f3_gpo_buzzer() { f3_gpo_buzzer_ = false; } bool StubF3Gpo01WriteRequest::f3_gpo_buzzer() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.F3_GPO_BUZZER) return f3_gpo_buzzer_; } void StubF3Gpo01WriteRequest::set_f3_gpo_buzzer(bool value) { f3_gpo_buzzer_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.F3_GPO_BUZZER) } // bool Write_F3_GPO_BUZZER = 12; void StubF3Gpo01WriteRequest::clear_write_f3_gpo_buzzer() { write_f3_gpo_buzzer_ = false; } bool StubF3Gpo01WriteRequest::write_f3_gpo_buzzer() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.Write_F3_GPO_BUZZER) return write_f3_gpo_buzzer_; } void StubF3Gpo01WriteRequest::set_write_f3_gpo_buzzer(bool value) { write_f3_gpo_buzzer_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubF3Gpo01WriteRequest.Write_F3_GPO_BUZZER) } #endif // PROTOBUF_INLINE_NOT_IN_HEADERS // @@protoc_insertion_point(namespace_scope) } // namespace Stubs } // namespace PMR } // namespace Tango // @@protoc_insertion_point(global_scope)