// Generated by the protocol buffer compiler. DO NOT EDIT! // source: StubDancerPositionResponse.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "StubDancerPositionResponse.pb.h" #include #include #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) namespace Tango { namespace PMR { namespace Stubs { class StubDancerPositionResponseDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _StubDancerPositionResponse_default_instance_; namespace protobuf_StubDancerPositionResponse_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(StubDancerPositionResponse, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubDancerPositionResponse, dancer_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubDancerPositionResponse, position_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubDancerPositionResponse, general_status_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StubDancerPositionResponse, detailed_status_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(StubDancerPositionResponse)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&_StubDancerPositionResponse_default_instance_), }; namespace { void protobuf_AssignDescriptors() { AddDescriptors(); ::google::protobuf::MessageFactory* factory = NULL; AssignDescriptors( "StubDancerPositionResponse.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(); _StubDancerPositionResponse_default_instance_._instance.DefaultConstruct(); ::google::protobuf::internal::OnShutdownDestroyMessage( &_StubDancerPositionResponse_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 StubDancerPositionResponse.proto\022\017Tang" "o.PMR.Stubs\"r\n\032StubDancerPositionRespons" "e\022\021\n\tDancer_ID\030\001 \001(\r\022\020\n\010Position\030\002 \001(\r\022\026" "\n\016General_Status\030\003 \001(\r\022\027\n\017Detailed_Statu" "s\030\004 \001(\rB\033\n\031com.twine.tango.pmr.stubsb\006pr" "oto3" }; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( descriptor, 204); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "StubDancerPositionResponse.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_StubDancerPositionResponse_2eproto // =================================================================== #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int StubDancerPositionResponse::kDancerIDFieldNumber; const int StubDancerPositionResponse::kPositionFieldNumber; const int StubDancerPositionResponse::kGeneralStatusFieldNumber; const int StubDancerPositionResponse::kDetailedStatusFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 StubDancerPositionResponse::StubDancerPositionResponse() : ::google::protobuf::Message(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { protobuf_StubDancerPositionResponse_2eproto::InitDefaults(); } SharedCtor(); // @@protoc_insertion_point(constructor:Tango.PMR.Stubs.StubDancerPositionResponse) } StubDancerPositionResponse::StubDancerPositionResponse(const StubDancerPositionResponse& from) : ::google::protobuf::Message(), _internal_metadata_(NULL), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); ::memcpy(&dancer_id_, &from.dancer_id_, static_cast(reinterpret_cast(&detailed_status_) - reinterpret_cast(&dancer_id_)) + sizeof(detailed_status_)); // @@protoc_insertion_point(copy_constructor:Tango.PMR.Stubs.StubDancerPositionResponse) } void StubDancerPositionResponse::SharedCtor() { ::memset(&dancer_id_, 0, static_cast( reinterpret_cast(&detailed_status_) - reinterpret_cast(&dancer_id_)) + sizeof(detailed_status_)); _cached_size_ = 0; } StubDancerPositionResponse::~StubDancerPositionResponse() { // @@protoc_insertion_point(destructor:Tango.PMR.Stubs.StubDancerPositionResponse) SharedDtor(); } void StubDancerPositionResponse::SharedDtor() { } void StubDancerPositionResponse::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* StubDancerPositionResponse::descriptor() { protobuf_StubDancerPositionResponse_2eproto::protobuf_AssignDescriptorsOnce(); return protobuf_StubDancerPositionResponse_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; } const StubDancerPositionResponse& StubDancerPositionResponse::default_instance() { protobuf_StubDancerPositionResponse_2eproto::InitDefaults(); return *internal_default_instance(); } StubDancerPositionResponse* StubDancerPositionResponse::New(::google::protobuf::Arena* arena) const { StubDancerPositionResponse* n = new StubDancerPositionResponse; if (arena != NULL) { arena->Own(n); } return n; } void StubDancerPositionResponse::Clear() { // @@protoc_insertion_point(message_clear_start:Tango.PMR.Stubs.StubDancerPositionResponse) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&dancer_id_, 0, static_cast( reinterpret_cast(&detailed_status_) - reinterpret_cast(&dancer_id_)) + sizeof(detailed_status_)); _internal_metadata_.Clear(); } bool StubDancerPositionResponse::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.StubDancerPositionResponse) 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 Dancer_ID = 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, &dancer_id_))); } else { goto handle_unusual; } break; } // uint32 Position = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( input, &position_))); } else { goto handle_unusual; } break; } // uint32 General_Status = 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, &general_status_))); } else { goto handle_unusual; } break; } // uint32 Detailed_Status = 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, &detailed_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.StubDancerPositionResponse) return true; failure: // @@protoc_insertion_point(parse_failure:Tango.PMR.Stubs.StubDancerPositionResponse) return false; #undef DO_ } void StubDancerPositionResponse::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:Tango.PMR.Stubs.StubDancerPositionResponse) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 Dancer_ID = 1; if (this->dancer_id() != 0) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->dancer_id(), output); } // uint32 Position = 2; if (this->position() != 0) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->position(), output); } // uint32 General_Status = 3; if (this->general_status() != 0) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->general_status(), output); } // uint32 Detailed_Status = 4; if (this->detailed_status() != 0) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->detailed_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.StubDancerPositionResponse) } ::google::protobuf::uint8* StubDancerPositionResponse::InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const { (void)deterministic; // Unused // @@protoc_insertion_point(serialize_to_array_start:Tango.PMR.Stubs.StubDancerPositionResponse) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // uint32 Dancer_ID = 1; if (this->dancer_id() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->dancer_id(), target); } // uint32 Position = 2; if (this->position() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->position(), target); } // uint32 General_Status = 3; if (this->general_status() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->general_status(), target); } // uint32 Detailed_Status = 4; if (this->detailed_status() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->detailed_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.StubDancerPositionResponse) return target; } size_t StubDancerPositionResponse::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:Tango.PMR.Stubs.StubDancerPositionResponse) 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 Dancer_ID = 1; if (this->dancer_id() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->dancer_id()); } // uint32 Position = 2; if (this->position() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->position()); } // uint32 General_Status = 3; if (this->general_status() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->general_status()); } // uint32 Detailed_Status = 4; if (this->detailed_status() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->detailed_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 StubDancerPositionResponse::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:Tango.PMR.Stubs.StubDancerPositionResponse) GOOGLE_DCHECK_NE(&from, this); const StubDancerPositionResponse* source = ::google::protobuf::internal::DynamicCastToGenerated( &from); if (source == NULL) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:Tango.PMR.Stubs.StubDancerPositionResponse) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:Tango.PMR.Stubs.StubDancerPositionResponse) MergeFrom(*source); } } void StubDancerPositionResponse::MergeFrom(const StubDancerPositionResponse& from) { // @@protoc_insertion_point(class_specific_merge_from_start:Tango.PMR.Stubs.StubDancerPositionResponse) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.dancer_id() != 0) { set_dancer_id(from.dancer_id()); } if (from.position() != 0) { set_position(from.position()); } if (from.general_status() != 0) { set_general_status(from.general_status()); } if (from.detailed_status() != 0) { set_detailed_status(from.detailed_status()); } } void StubDancerPositionResponse::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:Tango.PMR.Stubs.StubDancerPositionResponse) if (&from == this) return; Clear(); MergeFrom(from); } void StubDancerPositionResponse::CopyFrom(const StubDancerPositionResponse& from) { // @@protoc_insertion_point(class_specific_copy_from_start:Tango.PMR.Stubs.StubDancerPositionResponse) if (&from == this) return; Clear(); MergeFrom(from); } bool StubDancerPositionResponse::IsInitialized() const { return true; } void StubDancerPositionResponse::Swap(StubDancerPositionResponse* other) { if (other == this) return; InternalSwap(other); } void StubDancerPositionResponse::InternalSwap(StubDancerPositionResponse* other) { using std::swap; swap(dancer_id_, other->dancer_id_); swap(position_, other->position_); swap(general_status_, other->general_status_); swap(detailed_status_, other->detailed_status_); _internal_metadata_.Swap(&other->_internal_metadata_); swap(_cached_size_, other->_cached_size_); } ::google::protobuf::Metadata StubDancerPositionResponse::GetMetadata() const { protobuf_StubDancerPositionResponse_2eproto::protobuf_AssignDescriptorsOnce(); return protobuf_StubDancerPositionResponse_2eproto::file_level_metadata[kIndexInFileMessages]; } #if PROTOBUF_INLINE_NOT_IN_HEADERS // StubDancerPositionResponse // uint32 Dancer_ID = 1; void StubDancerPositionResponse::clear_dancer_id() { dancer_id_ = 0u; } ::google::protobuf::uint32 StubDancerPositionResponse::dancer_id() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubDancerPositionResponse.Dancer_ID) return dancer_id_; } void StubDancerPositionResponse::set_dancer_id(::google::protobuf::uint32 value) { dancer_id_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubDancerPositionResponse.Dancer_ID) } // uint32 Position = 2; void StubDancerPositionResponse::clear_position() { position_ = 0u; } ::google::protobuf::uint32 StubDancerPositionResponse::position() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubDancerPositionResponse.Position) return position_; } void StubDancerPositionResponse::set_position(::google::protobuf::uint32 value) { position_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubDancerPositionResponse.Position) } // uint32 General_Status = 3; void StubDancerPositionResponse::clear_general_status() { general_status_ = 0u; } ::google::protobuf::uint32 StubDancerPositionResponse::general_status() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubDancerPositionResponse.General_Status) return general_status_; } void StubDancerPositionResponse::set_general_status(::google::protobuf::uint32 value) { general_status_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubDancerPositionResponse.General_Status) } // uint32 Detailed_Status = 4; void StubDancerPositionResponse::clear_detailed_status() { detailed_status_ = 0u; } ::google::protobuf::uint32 StubDancerPositionResponse::detailed_status() const { // @@protoc_insertion_point(field_get:Tango.PMR.Stubs.StubDancerPositionResponse.Detailed_Status) return detailed_status_; } void StubDancerPositionResponse::set_detailed_status(::google::protobuf::uint32 value) { detailed_status_ = value; // @@protoc_insertion_point(field_set:Tango.PMR.Stubs.StubDancerPositionResponse.Detailed_Status) } #endif // PROTOBUF_INLINE_NOT_IN_HEADERS // @@protoc_insertion_point(namespace_scope) } // namespace Stubs } // namespace PMR } // namespace Tango // @@protoc_insertion_point(global_scope)