// Generated by the protocol buffer compiler. DO NOT EDIT! // source: web.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "web.pb.h" #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) namespace userfeedback { class WebDataDefaultTypeInternal : public ::google::protobuf::internal::ExplicitlyConstructed { } _WebData_default_instance_; class ExtensionDetailsDefaultTypeInternal : public ::google::protobuf::internal::ExplicitlyConstructed { } _ExtensionDetails_default_instance_; class InternalWebDataDefaultTypeInternal : public ::google::protobuf::internal::ExplicitlyConstructed { } _InternalWebData_default_instance_; class ProductSpecificDataDefaultTypeInternal : public ::google::protobuf::internal::ExplicitlyConstructed { } _ProductSpecificData_default_instance_; class ProductSpecificBinaryDataDefaultTypeInternal : public ::google::protobuf::internal::ExplicitlyConstructed { } _ProductSpecificBinaryData_default_instance_; namespace protobuf_web_2eproto { PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTableField const TableStruct::entries[] = { {0, 0, 0, ::google::protobuf::internal::kInvalidMask, 0, 0}, }; PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::AuxillaryParseTableField const TableStruct::aux[] = { ::google::protobuf::internal::AuxillaryParseTableField(), }; PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTable const TableStruct::schema[] = { { NULL, NULL, 0, -1, -1, false }, { NULL, NULL, 0, -1, -1, false }, { NULL, NULL, 0, -1, -1, false }, { NULL, NULL, 0, -1, -1, false }, { NULL, NULL, 0, -1, -1, false }, }; void TableStruct::Shutdown() { _WebData_default_instance_.Shutdown(); _ExtensionDetails_default_instance_.Shutdown(); _InternalWebData_default_instance_.Shutdown(); _ProductSpecificData_default_instance_.Shutdown(); _ProductSpecificBinaryData_default_instance_.Shutdown(); } void TableStruct::InitDefaultsImpl() { GOOGLE_PROTOBUF_VERIFY_VERSION; ::google::protobuf::internal::InitProtobufDefaults(); ::userfeedback::protobuf_annotations_2eproto::InitDefaults(); ::userfeedback::protobuf_dom_2eproto::InitDefaults(); _WebData_default_instance_.DefaultConstruct(); _ExtensionDetails_default_instance_.DefaultConstruct(); _InternalWebData_default_instance_.DefaultConstruct(); _ProductSpecificData_default_instance_.DefaultConstruct(); _ProductSpecificBinaryData_default_instance_.DefaultConstruct(); _WebData_default_instance_.get_mutable()->navigator_ = const_cast< ::userfeedback::Navigator*>( ::userfeedback::Navigator::internal_default_instance()); _WebData_default_instance_.get_mutable()->extension_details_ = const_cast< ::userfeedback::ExtensionDetails*>( ::userfeedback::ExtensionDetails::internal_default_instance()); } void InitDefaults() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &TableStruct::InitDefaultsImpl); } void AddDescriptorsImpl() { InitDefaults(); ::userfeedback::protobuf_annotations_2eproto::AddDescriptors(); ::userfeedback::protobuf_dom_2eproto::AddDescriptors(); ::google::protobuf::internal::OnShutdown(&TableStruct::Shutdown); } void AddDescriptors() { static GOOGLE_PROTOBUF_DECLARE_ONCE(once); ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl); } } // namespace protobuf_web_2eproto // =================================================================== #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int WebData::kNavigatorFieldNumber; const int WebData::kExtensionDetailsFieldNumber; const int WebData::kUrlFieldNumber; const int WebData::kAnnotationFieldNumber; const int WebData::kSuggestionIdFieldNumber; const int WebData::kProductSpecificDataFieldNumber; const int WebData::kProductSpecificBinaryDataNameFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 WebData::WebData() : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { protobuf_web_2eproto::InitDefaults(); } SharedCtor(); // @@protoc_insertion_point(constructor:userfeedback.WebData) } WebData::WebData(const WebData& from) : ::google::protobuf::MessageLite(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0), annotation_(from.annotation_), product_specific_data_(from.product_specific_data_), product_specific_binary_data_name_(from.product_specific_binary_data_name_) { _internal_metadata_.MergeFrom(from._internal_metadata_); url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_url()) { url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.url_); } suggestion_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_suggestion_id()) { suggestion_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.suggestion_id_); } if (from.has_navigator()) { navigator_ = new ::userfeedback::Navigator(*from.navigator_); } else { navigator_ = NULL; } if (from.has_extension_details()) { extension_details_ = new ::userfeedback::ExtensionDetails(*from.extension_details_); } else { extension_details_ = NULL; } // @@protoc_insertion_point(copy_constructor:userfeedback.WebData) } void WebData::SharedCtor() { _cached_size_ = 0; url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); suggestion_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&navigator_, 0, static_cast( reinterpret_cast(&extension_details_) - reinterpret_cast(&navigator_)) + sizeof(extension_details_)); } WebData::~WebData() { // @@protoc_insertion_point(destructor:userfeedback.WebData) SharedDtor(); } void WebData::SharedDtor() { url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); suggestion_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) { delete navigator_; } if (this != internal_default_instance()) { delete extension_details_; } } void WebData::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const WebData& WebData::default_instance() { protobuf_web_2eproto::InitDefaults(); return *internal_default_instance(); } WebData* WebData::New(::google::protobuf::Arena* arena) const { WebData* n = new WebData; if (arena != NULL) { arena->Own(n); } return n; } void WebData::Clear() { // @@protoc_insertion_point(message_clear_start:userfeedback.WebData) annotation_.Clear(); product_specific_data_.Clear(); product_specific_binary_data_name_.Clear(); if (_has_bits_[0 / 32] & 15u) { if (has_url()) { GOOGLE_DCHECK(!url_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*url_.UnsafeRawStringPointer())->clear(); } if (has_suggestion_id()) { GOOGLE_DCHECK(!suggestion_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*suggestion_id_.UnsafeRawStringPointer())->clear(); } if (has_navigator()) { GOOGLE_DCHECK(navigator_ != NULL); navigator_->::userfeedback::Navigator::Clear(); } if (has_extension_details()) { GOOGLE_DCHECK(extension_details_ != NULL); extension_details_->::userfeedback::ExtensionDetails::Clear(); } } _has_bits_.Clear(); _internal_metadata_.Clear(); } bool WebData::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; ::google::protobuf::io::LazyStringOutputStream unknown_fields_string( ::google::protobuf::NewPermanentCallback(&_internal_metadata_, &::google::protobuf::internal::InternalMetadataWithArenaLite:: mutable_unknown_fields)); ::google::protobuf::io::CodedOutputStream unknown_fields_stream( &unknown_fields_string, false); // @@protoc_insertion_point(parse_start:userfeedback.WebData) 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)) { // optional .userfeedback.Navigator navigator = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(10u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_navigator())); } else { goto handle_unusual; } break; } // optional .userfeedback.ExtensionDetails extension_details = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(18u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_extension_details())); } else { goto handle_unusual; } break; } // optional string url = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(26u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_url())); } else { goto handle_unusual; } break; } // repeated .userfeedback.Annotation annotation = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(34u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_annotation())); } else { goto handle_unusual; } break; } // optional string suggestion_id = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(42u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_suggestion_id())); } else { goto handle_unusual; } break; } // repeated .userfeedback.ProductSpecificData product_specific_data = 6; case 6: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(50u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_product_specific_data())); } else { goto handle_unusual; } break; } // repeated string product_specific_binary_data_name = 7; case 7: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(58u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->add_product_specific_binary_data_name())); } else { goto handle_unusual; } break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormatLite::SkipField( input, tag, &unknown_fields_stream)); break; } } } success: // @@protoc_insertion_point(parse_success:userfeedback.WebData) return true; failure: // @@protoc_insertion_point(parse_failure:userfeedback.WebData) return false; #undef DO_ } void WebData::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:userfeedback.WebData) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // optional .userfeedback.Navigator navigator = 1; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 1, *this->navigator_, output); } // optional .userfeedback.ExtensionDetails extension_details = 2; if (cached_has_bits & 0x00000008u) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 2, *this->extension_details_, output); } // optional string url = 3; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->url(), output); } // repeated .userfeedback.Annotation annotation = 4; for (unsigned int i = 0, n = static_cast(this->annotation_size()); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 4, this->annotation(static_cast(i)), output); } // optional string suggestion_id = 5; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 5, this->suggestion_id(), output); } // repeated .userfeedback.ProductSpecificData product_specific_data = 6; for (unsigned int i = 0, n = static_cast(this->product_specific_data_size()); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 6, this->product_specific_data(static_cast(i)), output); } // repeated string product_specific_binary_data_name = 7; for (int i = 0, n = this->product_specific_binary_data_name_size(); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteString( 7, this->product_specific_binary_data_name(i), output); } output->WriteRaw(unknown_fields().data(), static_cast(unknown_fields().size())); // @@protoc_insertion_point(serialize_end:userfeedback.WebData) } size_t WebData::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:userfeedback.WebData) size_t total_size = 0; total_size += unknown_fields().size(); // repeated .userfeedback.Annotation annotation = 4; { unsigned int count = static_cast(this->annotation_size()); total_size += 1UL * count; for (unsigned int i = 0; i < count; i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->annotation(static_cast(i))); } } // repeated .userfeedback.ProductSpecificData product_specific_data = 6; { unsigned int count = static_cast(this->product_specific_data_size()); total_size += 1UL * count; for (unsigned int i = 0; i < count; i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->product_specific_data(static_cast(i))); } } // repeated string product_specific_binary_data_name = 7; total_size += 1 * ::google::protobuf::internal::FromIntSize(this->product_specific_binary_data_name_size()); for (int i = 0, n = this->product_specific_binary_data_name_size(); i < n; i++) { total_size += ::google::protobuf::internal::WireFormatLite::StringSize( this->product_specific_binary_data_name(i)); } if (_has_bits_[0 / 32] & 15u) { // optional string url = 3; if (has_url()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->url()); } // optional string suggestion_id = 5; if (has_suggestion_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->suggestion_id()); } // optional .userfeedback.Navigator navigator = 1; if (has_navigator()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( *this->navigator_); } // optional .userfeedback.ExtensionDetails extension_details = 2; if (has_extension_details()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( *this->extension_details_); } } 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 WebData::CheckTypeAndMergeFrom( const ::google::protobuf::MessageLite& from) { MergeFrom(*::google::protobuf::down_cast(&from)); } void WebData::MergeFrom(const WebData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:userfeedback.WebData) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; annotation_.MergeFrom(from.annotation_); product_specific_data_.MergeFrom(from.product_specific_data_); product_specific_binary_data_name_.MergeFrom(from.product_specific_binary_data_name_); cached_has_bits = from._has_bits_[0]; if (cached_has_bits & 15u) { if (cached_has_bits & 0x00000001u) { set_has_url(); url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.url_); } if (cached_has_bits & 0x00000002u) { set_has_suggestion_id(); suggestion_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.suggestion_id_); } if (cached_has_bits & 0x00000004u) { mutable_navigator()->::userfeedback::Navigator::MergeFrom(from.navigator()); } if (cached_has_bits & 0x00000008u) { mutable_extension_details()->::userfeedback::ExtensionDetails::MergeFrom(from.extension_details()); } } } void WebData::CopyFrom(const WebData& from) { // @@protoc_insertion_point(class_specific_copy_from_start:userfeedback.WebData) if (&from == this) return; Clear(); MergeFrom(from); } bool WebData::IsInitialized() const { if (!::google::protobuf::internal::AllAreInitialized(this->annotation())) return false; if (!::google::protobuf::internal::AllAreInitialized(this->product_specific_data())) return false; if (has_extension_details()) { if (!this->extension_details_->IsInitialized()) return false; } return true; } void WebData::Swap(WebData* other) { if (other == this) return; InternalSwap(other); } void WebData::InternalSwap(WebData* other) { annotation_.InternalSwap(&other->annotation_); product_specific_data_.InternalSwap(&other->product_specific_data_); product_specific_binary_data_name_.InternalSwap(&other->product_specific_binary_data_name_); url_.Swap(&other->url_); suggestion_id_.Swap(&other->suggestion_id_); std::swap(navigator_, other->navigator_); std::swap(extension_details_, other->extension_details_); std::swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); std::swap(_cached_size_, other->_cached_size_); } ::std::string WebData::GetTypeName() const { return "userfeedback.WebData"; } #if PROTOBUF_INLINE_NOT_IN_HEADERS // WebData // optional .userfeedback.Navigator navigator = 1; bool WebData::has_navigator() const { return (_has_bits_[0] & 0x00000004u) != 0; } void WebData::set_has_navigator() { _has_bits_[0] |= 0x00000004u; } void WebData::clear_has_navigator() { _has_bits_[0] &= ~0x00000004u; } void WebData::clear_navigator() { if (navigator_ != NULL) navigator_->::userfeedback::Navigator::Clear(); clear_has_navigator(); } const ::userfeedback::Navigator& WebData::navigator() const { // @@protoc_insertion_point(field_get:userfeedback.WebData.navigator) return navigator_ != NULL ? *navigator_ : *::userfeedback::Navigator::internal_default_instance(); } ::userfeedback::Navigator* WebData::mutable_navigator() { set_has_navigator(); if (navigator_ == NULL) { navigator_ = new ::userfeedback::Navigator; } // @@protoc_insertion_point(field_mutable:userfeedback.WebData.navigator) return navigator_; } ::userfeedback::Navigator* WebData::release_navigator() { // @@protoc_insertion_point(field_release:userfeedback.WebData.navigator) clear_has_navigator(); ::userfeedback::Navigator* temp = navigator_; navigator_ = NULL; return temp; } void WebData::set_allocated_navigator(::userfeedback::Navigator* navigator) { delete navigator_; navigator_ = navigator; if (navigator) { set_has_navigator(); } else { clear_has_navigator(); } // @@protoc_insertion_point(field_set_allocated:userfeedback.WebData.navigator) } // optional .userfeedback.ExtensionDetails extension_details = 2; bool WebData::has_extension_details() const { return (_has_bits_[0] & 0x00000008u) != 0; } void WebData::set_has_extension_details() { _has_bits_[0] |= 0x00000008u; } void WebData::clear_has_extension_details() { _has_bits_[0] &= ~0x00000008u; } void WebData::clear_extension_details() { if (extension_details_ != NULL) extension_details_->::userfeedback::ExtensionDetails::Clear(); clear_has_extension_details(); } const ::userfeedback::ExtensionDetails& WebData::extension_details() const { // @@protoc_insertion_point(field_get:userfeedback.WebData.extension_details) return extension_details_ != NULL ? *extension_details_ : *::userfeedback::ExtensionDetails::internal_default_instance(); } ::userfeedback::ExtensionDetails* WebData::mutable_extension_details() { set_has_extension_details(); if (extension_details_ == NULL) { extension_details_ = new ::userfeedback::ExtensionDetails; } // @@protoc_insertion_point(field_mutable:userfeedback.WebData.extension_details) return extension_details_; } ::userfeedback::ExtensionDetails* WebData::release_extension_details() { // @@protoc_insertion_point(field_release:userfeedback.WebData.extension_details) clear_has_extension_details(); ::userfeedback::ExtensionDetails* temp = extension_details_; extension_details_ = NULL; return temp; } void WebData::set_allocated_extension_details(::userfeedback::ExtensionDetails* extension_details) { delete extension_details_; extension_details_ = extension_details; if (extension_details) { set_has_extension_details(); } else { clear_has_extension_details(); } // @@protoc_insertion_point(field_set_allocated:userfeedback.WebData.extension_details) } // optional string url = 3; bool WebData::has_url() const { return (_has_bits_[0] & 0x00000001u) != 0; } void WebData::set_has_url() { _has_bits_[0] |= 0x00000001u; } void WebData::clear_has_url() { _has_bits_[0] &= ~0x00000001u; } void WebData::clear_url() { url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_url(); } const ::std::string& WebData::url() const { // @@protoc_insertion_point(field_get:userfeedback.WebData.url) return url_.GetNoArena(); } void WebData::set_url(const ::std::string& value) { set_has_url(); url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:userfeedback.WebData.url) } #if LANG_CXX11 void WebData::set_url(::std::string&& value) { set_has_url(); url_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:userfeedback.WebData.url) } #endif void WebData::set_url(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_url(); url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:userfeedback.WebData.url) } void WebData::set_url(const char* value, size_t size) { set_has_url(); url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:userfeedback.WebData.url) } ::std::string* WebData::mutable_url() { set_has_url(); // @@protoc_insertion_point(field_mutable:userfeedback.WebData.url) return url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } ::std::string* WebData::release_url() { // @@protoc_insertion_point(field_release:userfeedback.WebData.url) clear_has_url(); return url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void WebData::set_allocated_url(::std::string* url) { if (url != NULL) { set_has_url(); } else { clear_has_url(); } url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), url); // @@protoc_insertion_point(field_set_allocated:userfeedback.WebData.url) } // repeated .userfeedback.Annotation annotation = 4; int WebData::annotation_size() const { return annotation_.size(); } void WebData::clear_annotation() { annotation_.Clear(); } const ::userfeedback::Annotation& WebData::annotation(int index) const { // @@protoc_insertion_point(field_get:userfeedback.WebData.annotation) return annotation_.Get(index); } ::userfeedback::Annotation* WebData::mutable_annotation(int index) { // @@protoc_insertion_point(field_mutable:userfeedback.WebData.annotation) return annotation_.Mutable(index); } ::userfeedback::Annotation* WebData::add_annotation() { // @@protoc_insertion_point(field_add:userfeedback.WebData.annotation) return annotation_.Add(); } ::google::protobuf::RepeatedPtrField< ::userfeedback::Annotation >* WebData::mutable_annotation() { // @@protoc_insertion_point(field_mutable_list:userfeedback.WebData.annotation) return &annotation_; } const ::google::protobuf::RepeatedPtrField< ::userfeedback::Annotation >& WebData::annotation() const { // @@protoc_insertion_point(field_list:userfeedback.WebData.annotation) return annotation_; } // optional string suggestion_id = 5; bool WebData::has_suggestion_id() const { return (_has_bits_[0] & 0x00000002u) != 0; } void WebData::set_has_suggestion_id() { _has_bits_[0] |= 0x00000002u; } void WebData::clear_has_suggestion_id() { _has_bits_[0] &= ~0x00000002u; } void WebData::clear_suggestion_id() { suggestion_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_suggestion_id(); } const ::std::string& WebData::suggestion_id() const { // @@protoc_insertion_point(field_get:userfeedback.WebData.suggestion_id) return suggestion_id_.GetNoArena(); } void WebData::set_suggestion_id(const ::std::string& value) { set_has_suggestion_id(); suggestion_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:userfeedback.WebData.suggestion_id) } #if LANG_CXX11 void WebData::set_suggestion_id(::std::string&& value) { set_has_suggestion_id(); suggestion_id_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:userfeedback.WebData.suggestion_id) } #endif void WebData::set_suggestion_id(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_suggestion_id(); suggestion_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:userfeedback.WebData.suggestion_id) } void WebData::set_suggestion_id(const char* value, size_t size) { set_has_suggestion_id(); suggestion_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:userfeedback.WebData.suggestion_id) } ::std::string* WebData::mutable_suggestion_id() { set_has_suggestion_id(); // @@protoc_insertion_point(field_mutable:userfeedback.WebData.suggestion_id) return suggestion_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } ::std::string* WebData::release_suggestion_id() { // @@protoc_insertion_point(field_release:userfeedback.WebData.suggestion_id) clear_has_suggestion_id(); return suggestion_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void WebData::set_allocated_suggestion_id(::std::string* suggestion_id) { if (suggestion_id != NULL) { set_has_suggestion_id(); } else { clear_has_suggestion_id(); } suggestion_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), suggestion_id); // @@protoc_insertion_point(field_set_allocated:userfeedback.WebData.suggestion_id) } // repeated .userfeedback.ProductSpecificData product_specific_data = 6; int WebData::product_specific_data_size() const { return product_specific_data_.size(); } void WebData::clear_product_specific_data() { product_specific_data_.Clear(); } const ::userfeedback::ProductSpecificData& WebData::product_specific_data(int index) const { // @@protoc_insertion_point(field_get:userfeedback.WebData.product_specific_data) return product_specific_data_.Get(index); } ::userfeedback::ProductSpecificData* WebData::mutable_product_specific_data(int index) { // @@protoc_insertion_point(field_mutable:userfeedback.WebData.product_specific_data) return product_specific_data_.Mutable(index); } ::userfeedback::ProductSpecificData* WebData::add_product_specific_data() { // @@protoc_insertion_point(field_add:userfeedback.WebData.product_specific_data) return product_specific_data_.Add(); } ::google::protobuf::RepeatedPtrField< ::userfeedback::ProductSpecificData >* WebData::mutable_product_specific_data() { // @@protoc_insertion_point(field_mutable_list:userfeedback.WebData.product_specific_data) return &product_specific_data_; } const ::google::protobuf::RepeatedPtrField< ::userfeedback::ProductSpecificData >& WebData::product_specific_data() const { // @@protoc_insertion_point(field_list:userfeedback.WebData.product_specific_data) return product_specific_data_; } // repeated string product_specific_binary_data_name = 7; int WebData::product_specific_binary_data_name_size() const { return product_specific_binary_data_name_.size(); } void WebData::clear_product_specific_binary_data_name() { product_specific_binary_data_name_.Clear(); } const ::std::string& WebData::product_specific_binary_data_name(int index) const { // @@protoc_insertion_point(field_get:userfeedback.WebData.product_specific_binary_data_name) return product_specific_binary_data_name_.Get(index); } ::std::string* WebData::mutable_product_specific_binary_data_name(int index) { // @@protoc_insertion_point(field_mutable:userfeedback.WebData.product_specific_binary_data_name) return product_specific_binary_data_name_.Mutable(index); } void WebData::set_product_specific_binary_data_name(int index, const ::std::string& value) { // @@protoc_insertion_point(field_set:userfeedback.WebData.product_specific_binary_data_name) product_specific_binary_data_name_.Mutable(index)->assign(value); } #if LANG_CXX11 void WebData::set_product_specific_binary_data_name(int index, ::std::string&& value) { // @@protoc_insertion_point(field_set:userfeedback.WebData.product_specific_binary_data_name) product_specific_binary_data_name_.Mutable(index)->assign(std::move(value)); } #endif void WebData::set_product_specific_binary_data_name(int index, const char* value) { GOOGLE_DCHECK(value != NULL); product_specific_binary_data_name_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:userfeedback.WebData.product_specific_binary_data_name) } void WebData::set_product_specific_binary_data_name(int index, const char* value, size_t size) { product_specific_binary_data_name_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:userfeedback.WebData.product_specific_binary_data_name) } ::std::string* WebData::add_product_specific_binary_data_name() { // @@protoc_insertion_point(field_add_mutable:userfeedback.WebData.product_specific_binary_data_name) return product_specific_binary_data_name_.Add(); } void WebData::add_product_specific_binary_data_name(const ::std::string& value) { product_specific_binary_data_name_.Add()->assign(value); // @@protoc_insertion_point(field_add:userfeedback.WebData.product_specific_binary_data_name) } #if LANG_CXX11 void WebData::add_product_specific_binary_data_name(::std::string&& value) { product_specific_binary_data_name_.Add(std::move(value)); // @@protoc_insertion_point(field_add:userfeedback.WebData.product_specific_binary_data_name) } #endif void WebData::add_product_specific_binary_data_name(const char* value) { GOOGLE_DCHECK(value != NULL); product_specific_binary_data_name_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:userfeedback.WebData.product_specific_binary_data_name) } void WebData::add_product_specific_binary_data_name(const char* value, size_t size) { product_specific_binary_data_name_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:userfeedback.WebData.product_specific_binary_data_name) } const ::google::protobuf::RepeatedPtrField< ::std::string>& WebData::product_specific_binary_data_name() const { // @@protoc_insertion_point(field_list:userfeedback.WebData.product_specific_binary_data_name) return product_specific_binary_data_name_; } ::google::protobuf::RepeatedPtrField< ::std::string>* WebData::mutable_product_specific_binary_data_name() { // @@protoc_insertion_point(field_mutable_list:userfeedback.WebData.product_specific_binary_data_name) return &product_specific_binary_data_name_; } #endif // PROTOBUF_INLINE_NOT_IN_HEADERS // =================================================================== #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int ExtensionDetails::kExtensionVersionFieldNumber; const int ExtensionDetails::kProtocolVersionFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 ExtensionDetails::ExtensionDetails() : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { protobuf_web_2eproto::InitDefaults(); } SharedCtor(); // @@protoc_insertion_point(constructor:userfeedback.ExtensionDetails) } ExtensionDetails::ExtensionDetails(const ExtensionDetails& from) : ::google::protobuf::MessageLite(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); extension_version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_extension_version()) { extension_version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.extension_version_); } protocol_version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_protocol_version()) { protocol_version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.protocol_version_); } // @@protoc_insertion_point(copy_constructor:userfeedback.ExtensionDetails) } void ExtensionDetails::SharedCtor() { _cached_size_ = 0; extension_version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); protocol_version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } ExtensionDetails::~ExtensionDetails() { // @@protoc_insertion_point(destructor:userfeedback.ExtensionDetails) SharedDtor(); } void ExtensionDetails::SharedDtor() { extension_version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); protocol_version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void ExtensionDetails::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ExtensionDetails& ExtensionDetails::default_instance() { protobuf_web_2eproto::InitDefaults(); return *internal_default_instance(); } ExtensionDetails* ExtensionDetails::New(::google::protobuf::Arena* arena) const { ExtensionDetails* n = new ExtensionDetails; if (arena != NULL) { arena->Own(n); } return n; } void ExtensionDetails::Clear() { // @@protoc_insertion_point(message_clear_start:userfeedback.ExtensionDetails) if (_has_bits_[0 / 32] & 3u) { if (has_extension_version()) { GOOGLE_DCHECK(!extension_version_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*extension_version_.UnsafeRawStringPointer())->clear(); } if (has_protocol_version()) { GOOGLE_DCHECK(!protocol_version_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*protocol_version_.UnsafeRawStringPointer())->clear(); } } _has_bits_.Clear(); _internal_metadata_.Clear(); } bool ExtensionDetails::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; ::google::protobuf::io::LazyStringOutputStream unknown_fields_string( ::google::protobuf::NewPermanentCallback(&_internal_metadata_, &::google::protobuf::internal::InternalMetadataWithArenaLite:: mutable_unknown_fields)); ::google::protobuf::io::CodedOutputStream unknown_fields_stream( &unknown_fields_string, false); // @@protoc_insertion_point(parse_start:userfeedback.ExtensionDetails) 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)) { // required string extension_version = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(10u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_extension_version())); } else { goto handle_unusual; } break; } // required string protocol_version = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(18u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_protocol_version())); } else { goto handle_unusual; } break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormatLite::SkipField( input, tag, &unknown_fields_stream)); break; } } } success: // @@protoc_insertion_point(parse_success:userfeedback.ExtensionDetails) return true; failure: // @@protoc_insertion_point(parse_failure:userfeedback.ExtensionDetails) return false; #undef DO_ } void ExtensionDetails::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:userfeedback.ExtensionDetails) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required string extension_version = 1; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 1, this->extension_version(), output); } // required string protocol_version = 2; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->protocol_version(), output); } output->WriteRaw(unknown_fields().data(), static_cast(unknown_fields().size())); // @@protoc_insertion_point(serialize_end:userfeedback.ExtensionDetails) } size_t ExtensionDetails::RequiredFieldsByteSizeFallback() const { // @@protoc_insertion_point(required_fields_byte_size_fallback_start:userfeedback.ExtensionDetails) size_t total_size = 0; if (has_extension_version()) { // required string extension_version = 1; total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->extension_version()); } if (has_protocol_version()) { // required string protocol_version = 2; total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->protocol_version()); } return total_size; } size_t ExtensionDetails::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:userfeedback.ExtensionDetails) size_t total_size = 0; total_size += unknown_fields().size(); if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required string extension_version = 1; total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->extension_version()); // required string protocol_version = 2; total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->protocol_version()); } else { total_size += RequiredFieldsByteSizeFallback(); } 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 ExtensionDetails::CheckTypeAndMergeFrom( const ::google::protobuf::MessageLite& from) { MergeFrom(*::google::protobuf::down_cast(&from)); } void ExtensionDetails::MergeFrom(const ExtensionDetails& from) { // @@protoc_insertion_point(class_specific_merge_from_start:userfeedback.ExtensionDetails) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { set_has_extension_version(); extension_version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.extension_version_); } if (cached_has_bits & 0x00000002u) { set_has_protocol_version(); protocol_version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.protocol_version_); } } } void ExtensionDetails::CopyFrom(const ExtensionDetails& from) { // @@protoc_insertion_point(class_specific_copy_from_start:userfeedback.ExtensionDetails) if (&from == this) return; Clear(); MergeFrom(from); } bool ExtensionDetails::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; return true; } void ExtensionDetails::Swap(ExtensionDetails* other) { if (other == this) return; InternalSwap(other); } void ExtensionDetails::InternalSwap(ExtensionDetails* other) { extension_version_.Swap(&other->extension_version_); protocol_version_.Swap(&other->protocol_version_); std::swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); std::swap(_cached_size_, other->_cached_size_); } ::std::string ExtensionDetails::GetTypeName() const { return "userfeedback.ExtensionDetails"; } #if PROTOBUF_INLINE_NOT_IN_HEADERS // ExtensionDetails // required string extension_version = 1; bool ExtensionDetails::has_extension_version() const { return (_has_bits_[0] & 0x00000001u) != 0; } void ExtensionDetails::set_has_extension_version() { _has_bits_[0] |= 0x00000001u; } void ExtensionDetails::clear_has_extension_version() { _has_bits_[0] &= ~0x00000001u; } void ExtensionDetails::clear_extension_version() { extension_version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_extension_version(); } const ::std::string& ExtensionDetails::extension_version() const { // @@protoc_insertion_point(field_get:userfeedback.ExtensionDetails.extension_version) return extension_version_.GetNoArena(); } void ExtensionDetails::set_extension_version(const ::std::string& value) { set_has_extension_version(); extension_version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:userfeedback.ExtensionDetails.extension_version) } #if LANG_CXX11 void ExtensionDetails::set_extension_version(::std::string&& value) { set_has_extension_version(); extension_version_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:userfeedback.ExtensionDetails.extension_version) } #endif void ExtensionDetails::set_extension_version(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_extension_version(); extension_version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:userfeedback.ExtensionDetails.extension_version) } void ExtensionDetails::set_extension_version(const char* value, size_t size) { set_has_extension_version(); extension_version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:userfeedback.ExtensionDetails.extension_version) } ::std::string* ExtensionDetails::mutable_extension_version() { set_has_extension_version(); // @@protoc_insertion_point(field_mutable:userfeedback.ExtensionDetails.extension_version) return extension_version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } ::std::string* ExtensionDetails::release_extension_version() { // @@protoc_insertion_point(field_release:userfeedback.ExtensionDetails.extension_version) clear_has_extension_version(); return extension_version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void ExtensionDetails::set_allocated_extension_version(::std::string* extension_version) { if (extension_version != NULL) { set_has_extension_version(); } else { clear_has_extension_version(); } extension_version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), extension_version); // @@protoc_insertion_point(field_set_allocated:userfeedback.ExtensionDetails.extension_version) } // required string protocol_version = 2; bool ExtensionDetails::has_protocol_version() const { return (_has_bits_[0] & 0x00000002u) != 0; } void ExtensionDetails::set_has_protocol_version() { _has_bits_[0] |= 0x00000002u; } void ExtensionDetails::clear_has_protocol_version() { _has_bits_[0] &= ~0x00000002u; } void ExtensionDetails::clear_protocol_version() { protocol_version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_protocol_version(); } const ::std::string& ExtensionDetails::protocol_version() const { // @@protoc_insertion_point(field_get:userfeedback.ExtensionDetails.protocol_version) return protocol_version_.GetNoArena(); } void ExtensionDetails::set_protocol_version(const ::std::string& value) { set_has_protocol_version(); protocol_version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:userfeedback.ExtensionDetails.protocol_version) } #if LANG_CXX11 void ExtensionDetails::set_protocol_version(::std::string&& value) { set_has_protocol_version(); protocol_version_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:userfeedback.ExtensionDetails.protocol_version) } #endif void ExtensionDetails::set_protocol_version(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_protocol_version(); protocol_version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:userfeedback.ExtensionDetails.protocol_version) } void ExtensionDetails::set_protocol_version(const char* value, size_t size) { set_has_protocol_version(); protocol_version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:userfeedback.ExtensionDetails.protocol_version) } ::std::string* ExtensionDetails::mutable_protocol_version() { set_has_protocol_version(); // @@protoc_insertion_point(field_mutable:userfeedback.ExtensionDetails.protocol_version) return protocol_version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } ::std::string* ExtensionDetails::release_protocol_version() { // @@protoc_insertion_point(field_release:userfeedback.ExtensionDetails.protocol_version) clear_has_protocol_version(); return protocol_version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void ExtensionDetails::set_allocated_protocol_version(::std::string* protocol_version) { if (protocol_version != NULL) { set_has_protocol_version(); } else { clear_has_protocol_version(); } protocol_version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), protocol_version); // @@protoc_insertion_point(field_set_allocated:userfeedback.ExtensionDetails.protocol_version) } #endif // PROTOBUF_INLINE_NOT_IN_HEADERS // =================================================================== #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int InternalWebData::kEmailReceiverFieldNumber; const int InternalWebData::kSubjectFieldNumber; const int InternalWebData::kDEPRECATEDUrgentFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 InternalWebData::InternalWebData() : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { protobuf_web_2eproto::InitDefaults(); } SharedCtor(); // @@protoc_insertion_point(constructor:userfeedback.InternalWebData) } InternalWebData::InternalWebData(const InternalWebData& from) : ::google::protobuf::MessageLite(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0), email_receiver_(from.email_receiver_) { _internal_metadata_.MergeFrom(from._internal_metadata_); subject_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_subject()) { subject_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.subject_); } deprecated_urgent_ = from.deprecated_urgent_; // @@protoc_insertion_point(copy_constructor:userfeedback.InternalWebData) } void InternalWebData::SharedCtor() { _cached_size_ = 0; subject_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); deprecated_urgent_ = false; } InternalWebData::~InternalWebData() { // @@protoc_insertion_point(destructor:userfeedback.InternalWebData) SharedDtor(); } void InternalWebData::SharedDtor() { subject_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void InternalWebData::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const InternalWebData& InternalWebData::default_instance() { protobuf_web_2eproto::InitDefaults(); return *internal_default_instance(); } InternalWebData* InternalWebData::New(::google::protobuf::Arena* arena) const { InternalWebData* n = new InternalWebData; if (arena != NULL) { arena->Own(n); } return n; } void InternalWebData::Clear() { // @@protoc_insertion_point(message_clear_start:userfeedback.InternalWebData) email_receiver_.Clear(); if (has_subject()) { GOOGLE_DCHECK(!subject_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*subject_.UnsafeRawStringPointer())->clear(); } deprecated_urgent_ = false; _has_bits_.Clear(); _internal_metadata_.Clear(); } bool InternalWebData::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; ::google::protobuf::io::LazyStringOutputStream unknown_fields_string( ::google::protobuf::NewPermanentCallback(&_internal_metadata_, &::google::protobuf::internal::InternalMetadataWithArenaLite:: mutable_unknown_fields)); ::google::protobuf::io::CodedOutputStream unknown_fields_stream( &unknown_fields_string, false); // @@protoc_insertion_point(parse_start:userfeedback.InternalWebData) 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)) { // repeated string email_receiver = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(10u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->add_email_receiver())); } else { goto handle_unusual; } break; } // optional string subject = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(18u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_subject())); } else { goto handle_unusual; } break; } // optional bool DEPRECATED_urgent = 3 [default = false]; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(24u)) { set_has_deprecated_urgent(); DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &deprecated_urgent_))); } else { goto handle_unusual; } break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormatLite::SkipField( input, tag, &unknown_fields_stream)); break; } } } success: // @@protoc_insertion_point(parse_success:userfeedback.InternalWebData) return true; failure: // @@protoc_insertion_point(parse_failure:userfeedback.InternalWebData) return false; #undef DO_ } void InternalWebData::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:userfeedback.InternalWebData) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // repeated string email_receiver = 1; for (int i = 0, n = this->email_receiver_size(); i < n; i++) { ::google::protobuf::internal::WireFormatLite::WriteString( 1, this->email_receiver(i), output); } cached_has_bits = _has_bits_[0]; // optional string subject = 2; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->subject(), output); } // optional bool DEPRECATED_urgent = 3 [default = false]; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->deprecated_urgent(), output); } output->WriteRaw(unknown_fields().data(), static_cast(unknown_fields().size())); // @@protoc_insertion_point(serialize_end:userfeedback.InternalWebData) } size_t InternalWebData::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:userfeedback.InternalWebData) size_t total_size = 0; total_size += unknown_fields().size(); // repeated string email_receiver = 1; total_size += 1 * ::google::protobuf::internal::FromIntSize(this->email_receiver_size()); for (int i = 0, n = this->email_receiver_size(); i < n; i++) { total_size += ::google::protobuf::internal::WireFormatLite::StringSize( this->email_receiver(i)); } if (_has_bits_[0 / 32] & 3u) { // optional string subject = 2; if (has_subject()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->subject()); } // optional bool DEPRECATED_urgent = 3 [default = false]; if (has_deprecated_urgent()) { 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 InternalWebData::CheckTypeAndMergeFrom( const ::google::protobuf::MessageLite& from) { MergeFrom(*::google::protobuf::down_cast(&from)); } void InternalWebData::MergeFrom(const InternalWebData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:userfeedback.InternalWebData) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; email_receiver_.MergeFrom(from.email_receiver_); cached_has_bits = from._has_bits_[0]; if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { set_has_subject(); subject_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.subject_); } if (cached_has_bits & 0x00000002u) { deprecated_urgent_ = from.deprecated_urgent_; } _has_bits_[0] |= cached_has_bits; } } void InternalWebData::CopyFrom(const InternalWebData& from) { // @@protoc_insertion_point(class_specific_copy_from_start:userfeedback.InternalWebData) if (&from == this) return; Clear(); MergeFrom(from); } bool InternalWebData::IsInitialized() const { return true; } void InternalWebData::Swap(InternalWebData* other) { if (other == this) return; InternalSwap(other); } void InternalWebData::InternalSwap(InternalWebData* other) { email_receiver_.InternalSwap(&other->email_receiver_); subject_.Swap(&other->subject_); std::swap(deprecated_urgent_, other->deprecated_urgent_); std::swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); std::swap(_cached_size_, other->_cached_size_); } ::std::string InternalWebData::GetTypeName() const { return "userfeedback.InternalWebData"; } #if PROTOBUF_INLINE_NOT_IN_HEADERS // InternalWebData // repeated string email_receiver = 1; int InternalWebData::email_receiver_size() const { return email_receiver_.size(); } void InternalWebData::clear_email_receiver() { email_receiver_.Clear(); } const ::std::string& InternalWebData::email_receiver(int index) const { // @@protoc_insertion_point(field_get:userfeedback.InternalWebData.email_receiver) return email_receiver_.Get(index); } ::std::string* InternalWebData::mutable_email_receiver(int index) { // @@protoc_insertion_point(field_mutable:userfeedback.InternalWebData.email_receiver) return email_receiver_.Mutable(index); } void InternalWebData::set_email_receiver(int index, const ::std::string& value) { // @@protoc_insertion_point(field_set:userfeedback.InternalWebData.email_receiver) email_receiver_.Mutable(index)->assign(value); } #if LANG_CXX11 void InternalWebData::set_email_receiver(int index, ::std::string&& value) { // @@protoc_insertion_point(field_set:userfeedback.InternalWebData.email_receiver) email_receiver_.Mutable(index)->assign(std::move(value)); } #endif void InternalWebData::set_email_receiver(int index, const char* value) { GOOGLE_DCHECK(value != NULL); email_receiver_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:userfeedback.InternalWebData.email_receiver) } void InternalWebData::set_email_receiver(int index, const char* value, size_t size) { email_receiver_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:userfeedback.InternalWebData.email_receiver) } ::std::string* InternalWebData::add_email_receiver() { // @@protoc_insertion_point(field_add_mutable:userfeedback.InternalWebData.email_receiver) return email_receiver_.Add(); } void InternalWebData::add_email_receiver(const ::std::string& value) { email_receiver_.Add()->assign(value); // @@protoc_insertion_point(field_add:userfeedback.InternalWebData.email_receiver) } #if LANG_CXX11 void InternalWebData::add_email_receiver(::std::string&& value) { email_receiver_.Add(std::move(value)); // @@protoc_insertion_point(field_add:userfeedback.InternalWebData.email_receiver) } #endif void InternalWebData::add_email_receiver(const char* value) { GOOGLE_DCHECK(value != NULL); email_receiver_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:userfeedback.InternalWebData.email_receiver) } void InternalWebData::add_email_receiver(const char* value, size_t size) { email_receiver_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:userfeedback.InternalWebData.email_receiver) } const ::google::protobuf::RepeatedPtrField< ::std::string>& InternalWebData::email_receiver() const { // @@protoc_insertion_point(field_list:userfeedback.InternalWebData.email_receiver) return email_receiver_; } ::google::protobuf::RepeatedPtrField< ::std::string>* InternalWebData::mutable_email_receiver() { // @@protoc_insertion_point(field_mutable_list:userfeedback.InternalWebData.email_receiver) return &email_receiver_; } // optional string subject = 2; bool InternalWebData::has_subject() const { return (_has_bits_[0] & 0x00000001u) != 0; } void InternalWebData::set_has_subject() { _has_bits_[0] |= 0x00000001u; } void InternalWebData::clear_has_subject() { _has_bits_[0] &= ~0x00000001u; } void InternalWebData::clear_subject() { subject_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_subject(); } const ::std::string& InternalWebData::subject() const { // @@protoc_insertion_point(field_get:userfeedback.InternalWebData.subject) return subject_.GetNoArena(); } void InternalWebData::set_subject(const ::std::string& value) { set_has_subject(); subject_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:userfeedback.InternalWebData.subject) } #if LANG_CXX11 void InternalWebData::set_subject(::std::string&& value) { set_has_subject(); subject_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:userfeedback.InternalWebData.subject) } #endif void InternalWebData::set_subject(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_subject(); subject_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:userfeedback.InternalWebData.subject) } void InternalWebData::set_subject(const char* value, size_t size) { set_has_subject(); subject_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:userfeedback.InternalWebData.subject) } ::std::string* InternalWebData::mutable_subject() { set_has_subject(); // @@protoc_insertion_point(field_mutable:userfeedback.InternalWebData.subject) return subject_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } ::std::string* InternalWebData::release_subject() { // @@protoc_insertion_point(field_release:userfeedback.InternalWebData.subject) clear_has_subject(); return subject_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void InternalWebData::set_allocated_subject(::std::string* subject) { if (subject != NULL) { set_has_subject(); } else { clear_has_subject(); } subject_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), subject); // @@protoc_insertion_point(field_set_allocated:userfeedback.InternalWebData.subject) } // optional bool DEPRECATED_urgent = 3 [default = false]; bool InternalWebData::has_deprecated_urgent() const { return (_has_bits_[0] & 0x00000002u) != 0; } void InternalWebData::set_has_deprecated_urgent() { _has_bits_[0] |= 0x00000002u; } void InternalWebData::clear_has_deprecated_urgent() { _has_bits_[0] &= ~0x00000002u; } void InternalWebData::clear_deprecated_urgent() { deprecated_urgent_ = false; clear_has_deprecated_urgent(); } bool InternalWebData::deprecated_urgent() const { // @@protoc_insertion_point(field_get:userfeedback.InternalWebData.DEPRECATED_urgent) return deprecated_urgent_; } void InternalWebData::set_deprecated_urgent(bool value) { set_has_deprecated_urgent(); deprecated_urgent_ = value; // @@protoc_insertion_point(field_set:userfeedback.InternalWebData.DEPRECATED_urgent) } #endif // PROTOBUF_INLINE_NOT_IN_HEADERS // =================================================================== #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int ProductSpecificData::kKeyFieldNumber; const int ProductSpecificData::kValueFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 ProductSpecificData::ProductSpecificData() : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { protobuf_web_2eproto::InitDefaults(); } SharedCtor(); // @@protoc_insertion_point(constructor:userfeedback.ProductSpecificData) } ProductSpecificData::ProductSpecificData(const ProductSpecificData& from) : ::google::protobuf::MessageLite(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_key()) { key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); } value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_value()) { value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); } // @@protoc_insertion_point(copy_constructor:userfeedback.ProductSpecificData) } void ProductSpecificData::SharedCtor() { _cached_size_ = 0; key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } ProductSpecificData::~ProductSpecificData() { // @@protoc_insertion_point(destructor:userfeedback.ProductSpecificData) SharedDtor(); } void ProductSpecificData::SharedDtor() { key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void ProductSpecificData::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ProductSpecificData& ProductSpecificData::default_instance() { protobuf_web_2eproto::InitDefaults(); return *internal_default_instance(); } ProductSpecificData* ProductSpecificData::New(::google::protobuf::Arena* arena) const { ProductSpecificData* n = new ProductSpecificData; if (arena != NULL) { arena->Own(n); } return n; } void ProductSpecificData::Clear() { // @@protoc_insertion_point(message_clear_start:userfeedback.ProductSpecificData) if (_has_bits_[0 / 32] & 3u) { if (has_key()) { GOOGLE_DCHECK(!key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*key_.UnsafeRawStringPointer())->clear(); } if (has_value()) { GOOGLE_DCHECK(!value_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*value_.UnsafeRawStringPointer())->clear(); } } _has_bits_.Clear(); _internal_metadata_.Clear(); } bool ProductSpecificData::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; ::google::protobuf::io::LazyStringOutputStream unknown_fields_string( ::google::protobuf::NewPermanentCallback(&_internal_metadata_, &::google::protobuf::internal::InternalMetadataWithArenaLite:: mutable_unknown_fields)); ::google::protobuf::io::CodedOutputStream unknown_fields_stream( &unknown_fields_string, false); // @@protoc_insertion_point(parse_start:userfeedback.ProductSpecificData) 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)) { // required string key = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(10u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_key())); } else { goto handle_unusual; } break; } // optional string value = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(18u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_value())); } else { goto handle_unusual; } break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormatLite::SkipField( input, tag, &unknown_fields_stream)); break; } } } success: // @@protoc_insertion_point(parse_success:userfeedback.ProductSpecificData) return true; failure: // @@protoc_insertion_point(parse_failure:userfeedback.ProductSpecificData) return false; #undef DO_ } void ProductSpecificData::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:userfeedback.ProductSpecificData) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required string key = 1; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 1, this->key(), output); } // optional string value = 2; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->value(), output); } output->WriteRaw(unknown_fields().data(), static_cast(unknown_fields().size())); // @@protoc_insertion_point(serialize_end:userfeedback.ProductSpecificData) } size_t ProductSpecificData::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:userfeedback.ProductSpecificData) size_t total_size = 0; total_size += unknown_fields().size(); // required string key = 1; if (has_key()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->key()); } // optional string value = 2; if (has_value()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->value()); } 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 ProductSpecificData::CheckTypeAndMergeFrom( const ::google::protobuf::MessageLite& from) { MergeFrom(*::google::protobuf::down_cast(&from)); } void ProductSpecificData::MergeFrom(const ProductSpecificData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:userfeedback.ProductSpecificData) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; if (cached_has_bits & 3u) { if (cached_has_bits & 0x00000001u) { set_has_key(); key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); } if (cached_has_bits & 0x00000002u) { set_has_value(); value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); } } } void ProductSpecificData::CopyFrom(const ProductSpecificData& from) { // @@protoc_insertion_point(class_specific_copy_from_start:userfeedback.ProductSpecificData) if (&from == this) return; Clear(); MergeFrom(from); } bool ProductSpecificData::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void ProductSpecificData::Swap(ProductSpecificData* other) { if (other == this) return; InternalSwap(other); } void ProductSpecificData::InternalSwap(ProductSpecificData* other) { key_.Swap(&other->key_); value_.Swap(&other->value_); std::swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); std::swap(_cached_size_, other->_cached_size_); } ::std::string ProductSpecificData::GetTypeName() const { return "userfeedback.ProductSpecificData"; } #if PROTOBUF_INLINE_NOT_IN_HEADERS // ProductSpecificData // required string key = 1; bool ProductSpecificData::has_key() const { return (_has_bits_[0] & 0x00000001u) != 0; } void ProductSpecificData::set_has_key() { _has_bits_[0] |= 0x00000001u; } void ProductSpecificData::clear_has_key() { _has_bits_[0] &= ~0x00000001u; } void ProductSpecificData::clear_key() { key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_key(); } const ::std::string& ProductSpecificData::key() const { // @@protoc_insertion_point(field_get:userfeedback.ProductSpecificData.key) return key_.GetNoArena(); } void ProductSpecificData::set_key(const ::std::string& value) { set_has_key(); key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:userfeedback.ProductSpecificData.key) } #if LANG_CXX11 void ProductSpecificData::set_key(::std::string&& value) { set_has_key(); key_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:userfeedback.ProductSpecificData.key) } #endif void ProductSpecificData::set_key(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_key(); key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:userfeedback.ProductSpecificData.key) } void ProductSpecificData::set_key(const char* value, size_t size) { set_has_key(); key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:userfeedback.ProductSpecificData.key) } ::std::string* ProductSpecificData::mutable_key() { set_has_key(); // @@protoc_insertion_point(field_mutable:userfeedback.ProductSpecificData.key) return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } ::std::string* ProductSpecificData::release_key() { // @@protoc_insertion_point(field_release:userfeedback.ProductSpecificData.key) clear_has_key(); return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void ProductSpecificData::set_allocated_key(::std::string* key) { if (key != NULL) { set_has_key(); } else { clear_has_key(); } key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); // @@protoc_insertion_point(field_set_allocated:userfeedback.ProductSpecificData.key) } // optional string value = 2; bool ProductSpecificData::has_value() const { return (_has_bits_[0] & 0x00000002u) != 0; } void ProductSpecificData::set_has_value() { _has_bits_[0] |= 0x00000002u; } void ProductSpecificData::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } void ProductSpecificData::clear_value() { value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_value(); } const ::std::string& ProductSpecificData::value() const { // @@protoc_insertion_point(field_get:userfeedback.ProductSpecificData.value) return value_.GetNoArena(); } void ProductSpecificData::set_value(const ::std::string& value) { set_has_value(); value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:userfeedback.ProductSpecificData.value) } #if LANG_CXX11 void ProductSpecificData::set_value(::std::string&& value) { set_has_value(); value_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:userfeedback.ProductSpecificData.value) } #endif void ProductSpecificData::set_value(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_value(); value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:userfeedback.ProductSpecificData.value) } void ProductSpecificData::set_value(const char* value, size_t size) { set_has_value(); value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:userfeedback.ProductSpecificData.value) } ::std::string* ProductSpecificData::mutable_value() { set_has_value(); // @@protoc_insertion_point(field_mutable:userfeedback.ProductSpecificData.value) return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } ::std::string* ProductSpecificData::release_value() { // @@protoc_insertion_point(field_release:userfeedback.ProductSpecificData.value) clear_has_value(); return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void ProductSpecificData::set_allocated_value(::std::string* value) { if (value != NULL) { set_has_value(); } else { clear_has_value(); } value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set_allocated:userfeedback.ProductSpecificData.value) } #endif // PROTOBUF_INLINE_NOT_IN_HEADERS // =================================================================== #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int ProductSpecificBinaryData::kNameFieldNumber; const int ProductSpecificBinaryData::kMimeTypeFieldNumber; const int ProductSpecificBinaryData::kDataFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 ProductSpecificBinaryData::ProductSpecificBinaryData() : ::google::protobuf::MessageLite(), _internal_metadata_(NULL) { if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) { protobuf_web_2eproto::InitDefaults(); } SharedCtor(); // @@protoc_insertion_point(constructor:userfeedback.ProductSpecificBinaryData) } ProductSpecificBinaryData::ProductSpecificBinaryData(const ProductSpecificBinaryData& from) : ::google::protobuf::MessageLite(), _internal_metadata_(NULL), _has_bits_(from._has_bits_), _cached_size_(0) { _internal_metadata_.MergeFrom(from._internal_metadata_); name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_name()) { name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); } mime_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_mime_type()) { mime_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.mime_type_); } data_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.has_data()) { data_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.data_); } // @@protoc_insertion_point(copy_constructor:userfeedback.ProductSpecificBinaryData) } void ProductSpecificBinaryData::SharedCtor() { _cached_size_ = 0; name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); mime_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); data_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } ProductSpecificBinaryData::~ProductSpecificBinaryData() { // @@protoc_insertion_point(destructor:userfeedback.ProductSpecificBinaryData) SharedDtor(); } void ProductSpecificBinaryData::SharedDtor() { name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); mime_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); data_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void ProductSpecificBinaryData::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ProductSpecificBinaryData& ProductSpecificBinaryData::default_instance() { protobuf_web_2eproto::InitDefaults(); return *internal_default_instance(); } ProductSpecificBinaryData* ProductSpecificBinaryData::New(::google::protobuf::Arena* arena) const { ProductSpecificBinaryData* n = new ProductSpecificBinaryData; if (arena != NULL) { arena->Own(n); } return n; } void ProductSpecificBinaryData::Clear() { // @@protoc_insertion_point(message_clear_start:userfeedback.ProductSpecificBinaryData) if (_has_bits_[0 / 32] & 7u) { if (has_name()) { GOOGLE_DCHECK(!name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*name_.UnsafeRawStringPointer())->clear(); } if (has_mime_type()) { GOOGLE_DCHECK(!mime_type_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*mime_type_.UnsafeRawStringPointer())->clear(); } if (has_data()) { GOOGLE_DCHECK(!data_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited())); (*data_.UnsafeRawStringPointer())->clear(); } } _has_bits_.Clear(); _internal_metadata_.Clear(); } bool ProductSpecificBinaryData::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; ::google::protobuf::io::LazyStringOutputStream unknown_fields_string( ::google::protobuf::NewPermanentCallback(&_internal_metadata_, &::google::protobuf::internal::InternalMetadataWithArenaLite:: mutable_unknown_fields)); ::google::protobuf::io::CodedOutputStream unknown_fields_stream( &unknown_fields_string, false); // @@protoc_insertion_point(parse_start:userfeedback.ProductSpecificBinaryData) 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)) { // required string name = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(10u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_name())); } else { goto handle_unusual; } break; } // optional string mime_type = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(18u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_mime_type())); } else { goto handle_unusual; } break; } // optional bytes data = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == static_cast< ::google::protobuf::uint8>(26u)) { DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_data())); } else { goto handle_unusual; } break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormatLite::SkipField( input, tag, &unknown_fields_stream)); break; } } } success: // @@protoc_insertion_point(parse_success:userfeedback.ProductSpecificBinaryData) return true; failure: // @@protoc_insertion_point(parse_failure:userfeedback.ProductSpecificBinaryData) return false; #undef DO_ } void ProductSpecificBinaryData::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:userfeedback.ProductSpecificBinaryData) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required string name = 1; if (cached_has_bits & 0x00000001u) { ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 1, this->name(), output); } // optional string mime_type = 2; if (cached_has_bits & 0x00000002u) { ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->mime_type(), output); } // optional bytes data = 3; if (cached_has_bits & 0x00000004u) { ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( 3, this->data(), output); } output->WriteRaw(unknown_fields().data(), static_cast(unknown_fields().size())); // @@protoc_insertion_point(serialize_end:userfeedback.ProductSpecificBinaryData) } size_t ProductSpecificBinaryData::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:userfeedback.ProductSpecificBinaryData) size_t total_size = 0; total_size += unknown_fields().size(); // required string name = 1; if (has_name()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->name()); } if (_has_bits_[0 / 32] & 6u) { // optional string mime_type = 2; if (has_mime_type()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->mime_type()); } // optional bytes data = 3; if (has_data()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->data()); } } 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 ProductSpecificBinaryData::CheckTypeAndMergeFrom( const ::google::protobuf::MessageLite& from) { MergeFrom(*::google::protobuf::down_cast(&from)); } void ProductSpecificBinaryData::MergeFrom(const ProductSpecificBinaryData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:userfeedback.ProductSpecificBinaryData) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; if (cached_has_bits & 7u) { if (cached_has_bits & 0x00000001u) { set_has_name(); name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); } if (cached_has_bits & 0x00000002u) { set_has_mime_type(); mime_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.mime_type_); } if (cached_has_bits & 0x00000004u) { set_has_data(); data_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.data_); } } } void ProductSpecificBinaryData::CopyFrom(const ProductSpecificBinaryData& from) { // @@protoc_insertion_point(class_specific_copy_from_start:userfeedback.ProductSpecificBinaryData) if (&from == this) return; Clear(); MergeFrom(from); } bool ProductSpecificBinaryData::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; return true; } void ProductSpecificBinaryData::Swap(ProductSpecificBinaryData* other) { if (other == this) return; InternalSwap(other); } void ProductSpecificBinaryData::InternalSwap(ProductSpecificBinaryData* other) { name_.Swap(&other->name_); mime_type_.Swap(&other->mime_type_); data_.Swap(&other->data_); std::swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); std::swap(_cached_size_, other->_cached_size_); } ::std::string ProductSpecificBinaryData::GetTypeName() const { return "userfeedback.ProductSpecificBinaryData"; } #if PROTOBUF_INLINE_NOT_IN_HEADERS // ProductSpecificBinaryData // required string name = 1; bool ProductSpecificBinaryData::has_name() const { return (_has_bits_[0] & 0x00000001u) != 0; } void ProductSpecificBinaryData::set_has_name() { _has_bits_[0] |= 0x00000001u; } void ProductSpecificBinaryData::clear_has_name() { _has_bits_[0] &= ~0x00000001u; } void ProductSpecificBinaryData::clear_name() { name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_name(); } const ::std::string& ProductSpecificBinaryData::name() const { // @@protoc_insertion_point(field_get:userfeedback.ProductSpecificBinaryData.name) return name_.GetNoArena(); } void ProductSpecificBinaryData::set_name(const ::std::string& value) { set_has_name(); name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:userfeedback.ProductSpecificBinaryData.name) } #if LANG_CXX11 void ProductSpecificBinaryData::set_name(::std::string&& value) { set_has_name(); name_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:userfeedback.ProductSpecificBinaryData.name) } #endif void ProductSpecificBinaryData::set_name(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_name(); name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:userfeedback.ProductSpecificBinaryData.name) } void ProductSpecificBinaryData::set_name(const char* value, size_t size) { set_has_name(); name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:userfeedback.ProductSpecificBinaryData.name) } ::std::string* ProductSpecificBinaryData::mutable_name() { set_has_name(); // @@protoc_insertion_point(field_mutable:userfeedback.ProductSpecificBinaryData.name) return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } ::std::string* ProductSpecificBinaryData::release_name() { // @@protoc_insertion_point(field_release:userfeedback.ProductSpecificBinaryData.name) clear_has_name(); return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void ProductSpecificBinaryData::set_allocated_name(::std::string* name) { if (name != NULL) { set_has_name(); } else { clear_has_name(); } name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); // @@protoc_insertion_point(field_set_allocated:userfeedback.ProductSpecificBinaryData.name) } // optional string mime_type = 2; bool ProductSpecificBinaryData::has_mime_type() const { return (_has_bits_[0] & 0x00000002u) != 0; } void ProductSpecificBinaryData::set_has_mime_type() { _has_bits_[0] |= 0x00000002u; } void ProductSpecificBinaryData::clear_has_mime_type() { _has_bits_[0] &= ~0x00000002u; } void ProductSpecificBinaryData::clear_mime_type() { mime_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_mime_type(); } const ::std::string& ProductSpecificBinaryData::mime_type() const { // @@protoc_insertion_point(field_get:userfeedback.ProductSpecificBinaryData.mime_type) return mime_type_.GetNoArena(); } void ProductSpecificBinaryData::set_mime_type(const ::std::string& value) { set_has_mime_type(); mime_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:userfeedback.ProductSpecificBinaryData.mime_type) } #if LANG_CXX11 void ProductSpecificBinaryData::set_mime_type(::std::string&& value) { set_has_mime_type(); mime_type_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:userfeedback.ProductSpecificBinaryData.mime_type) } #endif void ProductSpecificBinaryData::set_mime_type(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_mime_type(); mime_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:userfeedback.ProductSpecificBinaryData.mime_type) } void ProductSpecificBinaryData::set_mime_type(const char* value, size_t size) { set_has_mime_type(); mime_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:userfeedback.ProductSpecificBinaryData.mime_type) } ::std::string* ProductSpecificBinaryData::mutable_mime_type() { set_has_mime_type(); // @@protoc_insertion_point(field_mutable:userfeedback.ProductSpecificBinaryData.mime_type) return mime_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } ::std::string* ProductSpecificBinaryData::release_mime_type() { // @@protoc_insertion_point(field_release:userfeedback.ProductSpecificBinaryData.mime_type) clear_has_mime_type(); return mime_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void ProductSpecificBinaryData::set_allocated_mime_type(::std::string* mime_type) { if (mime_type != NULL) { set_has_mime_type(); } else { clear_has_mime_type(); } mime_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), mime_type); // @@protoc_insertion_point(field_set_allocated:userfeedback.ProductSpecificBinaryData.mime_type) } // optional bytes data = 3; bool ProductSpecificBinaryData::has_data() const { return (_has_bits_[0] & 0x00000004u) != 0; } void ProductSpecificBinaryData::set_has_data() { _has_bits_[0] |= 0x00000004u; } void ProductSpecificBinaryData::clear_has_data() { _has_bits_[0] &= ~0x00000004u; } void ProductSpecificBinaryData::clear_data() { data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_data(); } const ::std::string& ProductSpecificBinaryData::data() const { // @@protoc_insertion_point(field_get:userfeedback.ProductSpecificBinaryData.data) return data_.GetNoArena(); } void ProductSpecificBinaryData::set_data(const ::std::string& value) { set_has_data(); data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set:userfeedback.ProductSpecificBinaryData.data) } #if LANG_CXX11 void ProductSpecificBinaryData::set_data(::std::string&& value) { set_has_data(); data_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:userfeedback.ProductSpecificBinaryData.data) } #endif void ProductSpecificBinaryData::set_data(const char* value) { GOOGLE_DCHECK(value != NULL); set_has_data(); data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:userfeedback.ProductSpecificBinaryData.data) } void ProductSpecificBinaryData::set_data(const void* value, size_t size) { set_has_data(); data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:userfeedback.ProductSpecificBinaryData.data) } ::std::string* ProductSpecificBinaryData::mutable_data() { set_has_data(); // @@protoc_insertion_point(field_mutable:userfeedback.ProductSpecificBinaryData.data) return data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } ::std::string* ProductSpecificBinaryData::release_data() { // @@protoc_insertion_point(field_release:userfeedback.ProductSpecificBinaryData.data) clear_has_data(); return data_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void ProductSpecificBinaryData::set_allocated_data(::std::string* data) { if (data != NULL) { set_has_data(); } else { clear_has_data(); } data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data); // @@protoc_insertion_point(field_set_allocated:userfeedback.ProductSpecificBinaryData.data) } #endif // PROTOBUF_INLINE_NOT_IN_HEADERS // @@protoc_insertion_point(namespace_scope) } // namespace userfeedback // @@protoc_insertion_point(global_scope)