Index: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/autofill_specifics.pb.cc |
diff --git a/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/autofill_specifics.pb.cc b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/autofill_specifics.pb.cc |
new file mode 100755 |
index 0000000000000000000000000000000000000000..075f15dac736b2831fa15cc687a7bf5b4cf225e9 |
--- /dev/null |
+++ b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/autofill_specifics.pb.cc |
@@ -0,0 +1,2422 @@ |
+// Generated by the protocol buffer compiler. DO NOT EDIT! |
+ |
+#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION |
+#include "autofill_specifics.pb.h" |
+ |
+#include <algorithm> |
+ |
+#include <google/protobuf/stubs/once.h> |
+#include <google/protobuf/io/coded_stream.h> |
+#include <google/protobuf/wire_format_lite_inl.h> |
+// @@protoc_insertion_point(includes) |
+ |
+namespace sync_pb { |
+ |
+void protobuf_ShutdownFile_autofill_5fspecifics_2eproto() { |
+ delete AutofillProfileSpecifics::default_instance_; |
+ delete AutofillProfile2Specifics::default_instance_; |
+ delete AutofillCreditCardSpecifics::default_instance_; |
+ delete AutofillSpecifics::default_instance_; |
+} |
+ |
+void protobuf_AddDesc_autofill_5fspecifics_2eproto() { |
+ static bool already_here = false; |
+ if (already_here) return; |
+ already_here = true; |
+ GOOGLE_PROTOBUF_VERIFY_VERSION; |
+ |
+ ::sync_pb::protobuf_AddDesc_sync_2eproto(); |
+ AutofillProfileSpecifics::default_instance_ = new AutofillProfileSpecifics(); |
+ AutofillProfile2Specifics::default_instance_ = new AutofillProfile2Specifics(); |
+ AutofillCreditCardSpecifics::default_instance_ = new AutofillCreditCardSpecifics(); |
+ AutofillSpecifics::default_instance_ = new AutofillSpecifics(); |
+ ::google::protobuf::internal::ExtensionSet::RegisterMessageExtension( |
+ &::sync_pb::EntitySpecifics::default_instance(), |
+ 31729, 11, false, false, |
+ &::sync_pb::AutofillSpecifics::default_instance()); |
+ ::google::protobuf::internal::ExtensionSet::RegisterMessageExtension( |
+ &::sync_pb::EntitySpecifics::default_instance(), |
+ 63951, 11, false, false, |
+ &::sync_pb::AutofillProfile2Specifics::default_instance()); |
+ AutofillProfileSpecifics::default_instance_->InitAsDefaultInstance(); |
+ AutofillProfile2Specifics::default_instance_->InitAsDefaultInstance(); |
+ AutofillCreditCardSpecifics::default_instance_->InitAsDefaultInstance(); |
+ AutofillSpecifics::default_instance_->InitAsDefaultInstance(); |
+ ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_autofill_5fspecifics_2eproto); |
+} |
+ |
+// Force AddDescriptors() to be called at static initialization time. |
+struct StaticDescriptorInitializer_autofill_5fspecifics_2eproto { |
+ StaticDescriptorInitializer_autofill_5fspecifics_2eproto() { |
+ protobuf_AddDesc_autofill_5fspecifics_2eproto(); |
+ } |
+} static_descriptor_initializer_autofill_5fspecifics_2eproto_; |
+ |
+ |
+// =================================================================== |
+ |
+const ::std::string AutofillProfileSpecifics::_default_label_; |
+const ::std::string AutofillProfileSpecifics::_default_name_first_; |
+const ::std::string AutofillProfileSpecifics::_default_name_middle_; |
+const ::std::string AutofillProfileSpecifics::_default_name_last_; |
+const ::std::string AutofillProfileSpecifics::_default_email_address_; |
+const ::std::string AutofillProfileSpecifics::_default_company_name_; |
+const ::std::string AutofillProfileSpecifics::_default_address_home_line1_; |
+const ::std::string AutofillProfileSpecifics::_default_address_home_line2_; |
+const ::std::string AutofillProfileSpecifics::_default_address_home_city_; |
+const ::std::string AutofillProfileSpecifics::_default_address_home_state_; |
+const ::std::string AutofillProfileSpecifics::_default_address_home_zip_; |
+const ::std::string AutofillProfileSpecifics::_default_address_home_country_; |
+const ::std::string AutofillProfileSpecifics::_default_phone_home_whole_number_; |
+const ::std::string AutofillProfileSpecifics::_default_phone_fax_whole_number_; |
+#ifndef _MSC_VER |
+const int AutofillProfileSpecifics::kLabelFieldNumber; |
+const int AutofillProfileSpecifics::kNameFirstFieldNumber; |
+const int AutofillProfileSpecifics::kNameMiddleFieldNumber; |
+const int AutofillProfileSpecifics::kNameLastFieldNumber; |
+const int AutofillProfileSpecifics::kEmailAddressFieldNumber; |
+const int AutofillProfileSpecifics::kCompanyNameFieldNumber; |
+const int AutofillProfileSpecifics::kAddressHomeLine1FieldNumber; |
+const int AutofillProfileSpecifics::kAddressHomeLine2FieldNumber; |
+const int AutofillProfileSpecifics::kAddressHomeCityFieldNumber; |
+const int AutofillProfileSpecifics::kAddressHomeStateFieldNumber; |
+const int AutofillProfileSpecifics::kAddressHomeZipFieldNumber; |
+const int AutofillProfileSpecifics::kAddressHomeCountryFieldNumber; |
+const int AutofillProfileSpecifics::kPhoneHomeWholeNumberFieldNumber; |
+const int AutofillProfileSpecifics::kPhoneFaxWholeNumberFieldNumber; |
+#endif // !_MSC_VER |
+ |
+AutofillProfileSpecifics::AutofillProfileSpecifics() |
+ : ::google::protobuf::MessageLite() { |
+ SharedCtor(); |
+} |
+ |
+void AutofillProfileSpecifics::InitAsDefaultInstance() { |
+} |
+ |
+AutofillProfileSpecifics::AutofillProfileSpecifics(const AutofillProfileSpecifics& from) |
+ : ::google::protobuf::MessageLite() { |
+ SharedCtor(); |
+ MergeFrom(from); |
+} |
+ |
+void AutofillProfileSpecifics::SharedCtor() { |
+ _cached_size_ = 0; |
+ label_ = const_cast< ::std::string*>(&_default_label_); |
+ name_first_ = const_cast< ::std::string*>(&_default_name_first_); |
+ name_middle_ = const_cast< ::std::string*>(&_default_name_middle_); |
+ name_last_ = const_cast< ::std::string*>(&_default_name_last_); |
+ email_address_ = const_cast< ::std::string*>(&_default_email_address_); |
+ company_name_ = const_cast< ::std::string*>(&_default_company_name_); |
+ address_home_line1_ = const_cast< ::std::string*>(&_default_address_home_line1_); |
+ address_home_line2_ = const_cast< ::std::string*>(&_default_address_home_line2_); |
+ address_home_city_ = const_cast< ::std::string*>(&_default_address_home_city_); |
+ address_home_state_ = const_cast< ::std::string*>(&_default_address_home_state_); |
+ address_home_zip_ = const_cast< ::std::string*>(&_default_address_home_zip_); |
+ address_home_country_ = const_cast< ::std::string*>(&_default_address_home_country_); |
+ phone_home_whole_number_ = const_cast< ::std::string*>(&_default_phone_home_whole_number_); |
+ phone_fax_whole_number_ = const_cast< ::std::string*>(&_default_phone_fax_whole_number_); |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+} |
+ |
+AutofillProfileSpecifics::~AutofillProfileSpecifics() { |
+ SharedDtor(); |
+} |
+ |
+void AutofillProfileSpecifics::SharedDtor() { |
+ if (label_ != &_default_label_) { |
+ delete label_; |
+ } |
+ if (name_first_ != &_default_name_first_) { |
+ delete name_first_; |
+ } |
+ if (name_middle_ != &_default_name_middle_) { |
+ delete name_middle_; |
+ } |
+ if (name_last_ != &_default_name_last_) { |
+ delete name_last_; |
+ } |
+ if (email_address_ != &_default_email_address_) { |
+ delete email_address_; |
+ } |
+ if (company_name_ != &_default_company_name_) { |
+ delete company_name_; |
+ } |
+ if (address_home_line1_ != &_default_address_home_line1_) { |
+ delete address_home_line1_; |
+ } |
+ if (address_home_line2_ != &_default_address_home_line2_) { |
+ delete address_home_line2_; |
+ } |
+ if (address_home_city_ != &_default_address_home_city_) { |
+ delete address_home_city_; |
+ } |
+ if (address_home_state_ != &_default_address_home_state_) { |
+ delete address_home_state_; |
+ } |
+ if (address_home_zip_ != &_default_address_home_zip_) { |
+ delete address_home_zip_; |
+ } |
+ if (address_home_country_ != &_default_address_home_country_) { |
+ delete address_home_country_; |
+ } |
+ if (phone_home_whole_number_ != &_default_phone_home_whole_number_) { |
+ delete phone_home_whole_number_; |
+ } |
+ if (phone_fax_whole_number_ != &_default_phone_fax_whole_number_) { |
+ delete phone_fax_whole_number_; |
+ } |
+ if (this != default_instance_) { |
+ } |
+} |
+ |
+void AutofillProfileSpecifics::SetCachedSize(int size) const { |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _cached_size_ = size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+} |
+const AutofillProfileSpecifics& AutofillProfileSpecifics::default_instance() { |
+ if (default_instance_ == NULL) protobuf_AddDesc_autofill_5fspecifics_2eproto(); return *default_instance_; |
+} |
+ |
+AutofillProfileSpecifics* AutofillProfileSpecifics::default_instance_ = NULL; |
+ |
+AutofillProfileSpecifics* AutofillProfileSpecifics::New() const { |
+ return new AutofillProfileSpecifics; |
+} |
+ |
+void AutofillProfileSpecifics::Clear() { |
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ if (_has_bit(0)) { |
+ if (label_ != &_default_label_) { |
+ label_->clear(); |
+ } |
+ } |
+ if (_has_bit(1)) { |
+ if (name_first_ != &_default_name_first_) { |
+ name_first_->clear(); |
+ } |
+ } |
+ if (_has_bit(2)) { |
+ if (name_middle_ != &_default_name_middle_) { |
+ name_middle_->clear(); |
+ } |
+ } |
+ if (_has_bit(3)) { |
+ if (name_last_ != &_default_name_last_) { |
+ name_last_->clear(); |
+ } |
+ } |
+ if (_has_bit(4)) { |
+ if (email_address_ != &_default_email_address_) { |
+ email_address_->clear(); |
+ } |
+ } |
+ if (_has_bit(5)) { |
+ if (company_name_ != &_default_company_name_) { |
+ company_name_->clear(); |
+ } |
+ } |
+ if (_has_bit(6)) { |
+ if (address_home_line1_ != &_default_address_home_line1_) { |
+ address_home_line1_->clear(); |
+ } |
+ } |
+ if (_has_bit(7)) { |
+ if (address_home_line2_ != &_default_address_home_line2_) { |
+ address_home_line2_->clear(); |
+ } |
+ } |
+ } |
+ if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { |
+ if (_has_bit(8)) { |
+ if (address_home_city_ != &_default_address_home_city_) { |
+ address_home_city_->clear(); |
+ } |
+ } |
+ if (_has_bit(9)) { |
+ if (address_home_state_ != &_default_address_home_state_) { |
+ address_home_state_->clear(); |
+ } |
+ } |
+ if (_has_bit(10)) { |
+ if (address_home_zip_ != &_default_address_home_zip_) { |
+ address_home_zip_->clear(); |
+ } |
+ } |
+ if (_has_bit(11)) { |
+ if (address_home_country_ != &_default_address_home_country_) { |
+ address_home_country_->clear(); |
+ } |
+ } |
+ if (_has_bit(12)) { |
+ if (phone_home_whole_number_ != &_default_phone_home_whole_number_) { |
+ phone_home_whole_number_->clear(); |
+ } |
+ } |
+ if (_has_bit(13)) { |
+ if (phone_fax_whole_number_ != &_default_phone_fax_whole_number_) { |
+ phone_fax_whole_number_->clear(); |
+ } |
+ } |
+ } |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+ mutable_unknown_fields()->Clear(); |
+} |
+ |
+bool AutofillProfileSpecifics::MergePartialFromCodedStream( |
+ ::google::protobuf::io::CodedInputStream* input) { |
+#define DO_(EXPRESSION) if (!(EXPRESSION)) return false |
+ ::google::protobuf::uint32 tag; |
+ while ((tag = input->ReadTag()) != 0) { |
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
+ // optional string label = 1; |
+ case 1: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_label())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(18)) goto parse_name_first; |
+ break; |
+ } |
+ |
+ // optional string name_first = 2; |
+ case 2: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_name_first: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_name_first())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(26)) goto parse_name_middle; |
+ break; |
+ } |
+ |
+ // optional string name_middle = 3; |
+ case 3: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_name_middle: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_name_middle())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(34)) goto parse_name_last; |
+ break; |
+ } |
+ |
+ // optional string name_last = 4; |
+ case 4: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_name_last: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_name_last())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(42)) goto parse_email_address; |
+ break; |
+ } |
+ |
+ // optional string email_address = 5; |
+ case 5: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_email_address: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_email_address())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(50)) goto parse_company_name; |
+ break; |
+ } |
+ |
+ // optional string company_name = 6; |
+ case 6: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_company_name: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_company_name())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(58)) goto parse_address_home_line1; |
+ break; |
+ } |
+ |
+ // optional string address_home_line1 = 7; |
+ case 7: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_address_home_line1: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_address_home_line1())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(66)) goto parse_address_home_line2; |
+ break; |
+ } |
+ |
+ // optional string address_home_line2 = 8; |
+ case 8: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_address_home_line2: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_address_home_line2())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(74)) goto parse_address_home_city; |
+ break; |
+ } |
+ |
+ // optional string address_home_city = 9; |
+ case 9: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_address_home_city: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_address_home_city())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(82)) goto parse_address_home_state; |
+ break; |
+ } |
+ |
+ // optional string address_home_state = 10; |
+ case 10: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_address_home_state: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_address_home_state())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(90)) goto parse_address_home_zip; |
+ break; |
+ } |
+ |
+ // optional string address_home_zip = 11; |
+ case 11: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_address_home_zip: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_address_home_zip())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(98)) goto parse_address_home_country; |
+ break; |
+ } |
+ |
+ // optional string address_home_country = 12; |
+ case 12: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_address_home_country: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_address_home_country())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(106)) goto parse_phone_home_whole_number; |
+ break; |
+ } |
+ |
+ // optional string phone_home_whole_number = 13; |
+ case 13: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_phone_home_whole_number: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_phone_home_whole_number())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(114)) goto parse_phone_fax_whole_number; |
+ break; |
+ } |
+ |
+ // optional string phone_fax_whole_number = 14; |
+ case 14: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_phone_fax_whole_number: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_phone_fax_whole_number())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectAtEnd()) return true; |
+ break; |
+ } |
+ |
+ default: { |
+ handle_uninterpreted: |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { |
+ return true; |
+ } |
+ DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag, mutable_unknown_fields())); |
+ break; |
+ } |
+ } |
+ } |
+ return true; |
+#undef DO_ |
+} |
+ |
+void AutofillProfileSpecifics::SerializeWithCachedSizes( |
+ ::google::protobuf::io::CodedOutputStream* output) const { |
+ // optional string label = 1; |
+ if (_has_bit(0)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 1, this->label(), output); |
+ } |
+ |
+ // optional string name_first = 2; |
+ if (_has_bit(1)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 2, this->name_first(), output); |
+ } |
+ |
+ // optional string name_middle = 3; |
+ if (_has_bit(2)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 3, this->name_middle(), output); |
+ } |
+ |
+ // optional string name_last = 4; |
+ if (_has_bit(3)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 4, this->name_last(), output); |
+ } |
+ |
+ // optional string email_address = 5; |
+ if (_has_bit(4)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 5, this->email_address(), output); |
+ } |
+ |
+ // optional string company_name = 6; |
+ if (_has_bit(5)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 6, this->company_name(), output); |
+ } |
+ |
+ // optional string address_home_line1 = 7; |
+ if (_has_bit(6)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 7, this->address_home_line1(), output); |
+ } |
+ |
+ // optional string address_home_line2 = 8; |
+ if (_has_bit(7)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 8, this->address_home_line2(), output); |
+ } |
+ |
+ // optional string address_home_city = 9; |
+ if (_has_bit(8)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 9, this->address_home_city(), output); |
+ } |
+ |
+ // optional string address_home_state = 10; |
+ if (_has_bit(9)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 10, this->address_home_state(), output); |
+ } |
+ |
+ // optional string address_home_zip = 11; |
+ if (_has_bit(10)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 11, this->address_home_zip(), output); |
+ } |
+ |
+ // optional string address_home_country = 12; |
+ if (_has_bit(11)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 12, this->address_home_country(), output); |
+ } |
+ |
+ // optional string phone_home_whole_number = 13; |
+ if (_has_bit(12)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 13, this->phone_home_whole_number(), output); |
+ } |
+ |
+ // optional string phone_fax_whole_number = 14; |
+ if (_has_bit(13)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 14, this->phone_fax_whole_number(), output); |
+ } |
+ |
+ if (!unknown_fields().empty()) { |
+ ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields( |
+ unknown_fields(), output); |
+ } |
+} |
+ |
+int AutofillProfileSpecifics::ByteSize() const { |
+ int total_size = 0; |
+ |
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ // optional string label = 1; |
+ if (has_label()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->label()); |
+ } |
+ |
+ // optional string name_first = 2; |
+ if (has_name_first()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->name_first()); |
+ } |
+ |
+ // optional string name_middle = 3; |
+ if (has_name_middle()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->name_middle()); |
+ } |
+ |
+ // optional string name_last = 4; |
+ if (has_name_last()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->name_last()); |
+ } |
+ |
+ // optional string email_address = 5; |
+ if (has_email_address()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->email_address()); |
+ } |
+ |
+ // optional string company_name = 6; |
+ if (has_company_name()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->company_name()); |
+ } |
+ |
+ // optional string address_home_line1 = 7; |
+ if (has_address_home_line1()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->address_home_line1()); |
+ } |
+ |
+ // optional string address_home_line2 = 8; |
+ if (has_address_home_line2()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->address_home_line2()); |
+ } |
+ |
+ } |
+ if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { |
+ // optional string address_home_city = 9; |
+ if (has_address_home_city()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->address_home_city()); |
+ } |
+ |
+ // optional string address_home_state = 10; |
+ if (has_address_home_state()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->address_home_state()); |
+ } |
+ |
+ // optional string address_home_zip = 11; |
+ if (has_address_home_zip()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->address_home_zip()); |
+ } |
+ |
+ // optional string address_home_country = 12; |
+ if (has_address_home_country()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->address_home_country()); |
+ } |
+ |
+ // optional string phone_home_whole_number = 13; |
+ if (has_phone_home_whole_number()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->phone_home_whole_number()); |
+ } |
+ |
+ // optional string phone_fax_whole_number = 14; |
+ if (has_phone_fax_whole_number()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->phone_fax_whole_number()); |
+ } |
+ |
+ } |
+ if (!unknown_fields().empty()) { |
+ total_size += |
+ ::google::protobuf::internal::WireFormatLite::ComputeUnknownFieldsSize( |
+ unknown_fields()); |
+ } |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _cached_size_ = total_size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+ return total_size; |
+} |
+ |
+void AutofillProfileSpecifics::CheckTypeAndMergeFrom( |
+ const ::google::protobuf::MessageLite& from) { |
+ MergeFrom(*::google::protobuf::down_cast<const AutofillProfileSpecifics*>(&from)); |
+} |
+ |
+void AutofillProfileSpecifics::MergeFrom(const AutofillProfileSpecifics& from) { |
+ GOOGLE_CHECK_NE(&from, this); |
+ if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ if (from._has_bit(0)) { |
+ set_label(from.label()); |
+ } |
+ if (from._has_bit(1)) { |
+ set_name_first(from.name_first()); |
+ } |
+ if (from._has_bit(2)) { |
+ set_name_middle(from.name_middle()); |
+ } |
+ if (from._has_bit(3)) { |
+ set_name_last(from.name_last()); |
+ } |
+ if (from._has_bit(4)) { |
+ set_email_address(from.email_address()); |
+ } |
+ if (from._has_bit(5)) { |
+ set_company_name(from.company_name()); |
+ } |
+ if (from._has_bit(6)) { |
+ set_address_home_line1(from.address_home_line1()); |
+ } |
+ if (from._has_bit(7)) { |
+ set_address_home_line2(from.address_home_line2()); |
+ } |
+ } |
+ if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { |
+ if (from._has_bit(8)) { |
+ set_address_home_city(from.address_home_city()); |
+ } |
+ if (from._has_bit(9)) { |
+ set_address_home_state(from.address_home_state()); |
+ } |
+ if (from._has_bit(10)) { |
+ set_address_home_zip(from.address_home_zip()); |
+ } |
+ if (from._has_bit(11)) { |
+ set_address_home_country(from.address_home_country()); |
+ } |
+ if (from._has_bit(12)) { |
+ set_phone_home_whole_number(from.phone_home_whole_number()); |
+ } |
+ if (from._has_bit(13)) { |
+ set_phone_fax_whole_number(from.phone_fax_whole_number()); |
+ } |
+ } |
+ mutable_unknown_fields()->MergeFrom(from.unknown_fields()); |
+} |
+ |
+void AutofillProfileSpecifics::CopyFrom(const AutofillProfileSpecifics& from) { |
+ if (&from == this) return; |
+ Clear(); |
+ MergeFrom(from); |
+} |
+ |
+bool AutofillProfileSpecifics::IsInitialized() const { |
+ |
+ return true; |
+} |
+ |
+void AutofillProfileSpecifics::Swap(AutofillProfileSpecifics* other) { |
+ if (other != this) { |
+ std::swap(label_, other->label_); |
+ std::swap(name_first_, other->name_first_); |
+ std::swap(name_middle_, other->name_middle_); |
+ std::swap(name_last_, other->name_last_); |
+ std::swap(email_address_, other->email_address_); |
+ std::swap(company_name_, other->company_name_); |
+ std::swap(address_home_line1_, other->address_home_line1_); |
+ std::swap(address_home_line2_, other->address_home_line2_); |
+ std::swap(address_home_city_, other->address_home_city_); |
+ std::swap(address_home_state_, other->address_home_state_); |
+ std::swap(address_home_zip_, other->address_home_zip_); |
+ std::swap(address_home_country_, other->address_home_country_); |
+ std::swap(phone_home_whole_number_, other->phone_home_whole_number_); |
+ std::swap(phone_fax_whole_number_, other->phone_fax_whole_number_); |
+ std::swap(_has_bits_[0], other->_has_bits_[0]); |
+ _unknown_fields_.Swap(&other->_unknown_fields_); |
+ std::swap(_cached_size_, other->_cached_size_); |
+ } |
+} |
+ |
+::std::string AutofillProfileSpecifics::GetTypeName() const { |
+ return "sync_pb.AutofillProfileSpecifics"; |
+} |
+ |
+ |
+// =================================================================== |
+ |
+const ::std::string AutofillProfile2Specifics::_default_guid_; |
+const ::std::string AutofillProfile2Specifics::_default_name_first_; |
+const ::std::string AutofillProfile2Specifics::_default_name_middle_; |
+const ::std::string AutofillProfile2Specifics::_default_name_last_; |
+const ::std::string AutofillProfile2Specifics::_default_email_address_; |
+const ::std::string AutofillProfile2Specifics::_default_company_name_; |
+const ::std::string AutofillProfile2Specifics::_default_address_home_line1_; |
+const ::std::string AutofillProfile2Specifics::_default_address_home_line2_; |
+const ::std::string AutofillProfile2Specifics::_default_address_home_city_; |
+const ::std::string AutofillProfile2Specifics::_default_address_home_state_; |
+const ::std::string AutofillProfile2Specifics::_default_address_home_zip_; |
+const ::std::string AutofillProfile2Specifics::_default_address_home_country_; |
+const ::std::string AutofillProfile2Specifics::_default_phone_home_whole_number_; |
+const ::std::string AutofillProfile2Specifics::_default_phone_fax_whole_number_; |
+#ifndef _MSC_VER |
+const int AutofillProfile2Specifics::kGuidFieldNumber; |
+const int AutofillProfile2Specifics::kNameFirstFieldNumber; |
+const int AutofillProfile2Specifics::kNameMiddleFieldNumber; |
+const int AutofillProfile2Specifics::kNameLastFieldNumber; |
+const int AutofillProfile2Specifics::kEmailAddressFieldNumber; |
+const int AutofillProfile2Specifics::kCompanyNameFieldNumber; |
+const int AutofillProfile2Specifics::kAddressHomeLine1FieldNumber; |
+const int AutofillProfile2Specifics::kAddressHomeLine2FieldNumber; |
+const int AutofillProfile2Specifics::kAddressHomeCityFieldNumber; |
+const int AutofillProfile2Specifics::kAddressHomeStateFieldNumber; |
+const int AutofillProfile2Specifics::kAddressHomeZipFieldNumber; |
+const int AutofillProfile2Specifics::kAddressHomeCountryFieldNumber; |
+const int AutofillProfile2Specifics::kPhoneHomeWholeNumberFieldNumber; |
+const int AutofillProfile2Specifics::kPhoneFaxWholeNumberFieldNumber; |
+#endif // !_MSC_VER |
+ |
+AutofillProfile2Specifics::AutofillProfile2Specifics() |
+ : ::google::protobuf::MessageLite() { |
+ SharedCtor(); |
+} |
+ |
+void AutofillProfile2Specifics::InitAsDefaultInstance() { |
+} |
+ |
+AutofillProfile2Specifics::AutofillProfile2Specifics(const AutofillProfile2Specifics& from) |
+ : ::google::protobuf::MessageLite() { |
+ SharedCtor(); |
+ MergeFrom(from); |
+} |
+ |
+void AutofillProfile2Specifics::SharedCtor() { |
+ _cached_size_ = 0; |
+ guid_ = const_cast< ::std::string*>(&_default_guid_); |
+ name_first_ = const_cast< ::std::string*>(&_default_name_first_); |
+ name_middle_ = const_cast< ::std::string*>(&_default_name_middle_); |
+ name_last_ = const_cast< ::std::string*>(&_default_name_last_); |
+ email_address_ = const_cast< ::std::string*>(&_default_email_address_); |
+ company_name_ = const_cast< ::std::string*>(&_default_company_name_); |
+ address_home_line1_ = const_cast< ::std::string*>(&_default_address_home_line1_); |
+ address_home_line2_ = const_cast< ::std::string*>(&_default_address_home_line2_); |
+ address_home_city_ = const_cast< ::std::string*>(&_default_address_home_city_); |
+ address_home_state_ = const_cast< ::std::string*>(&_default_address_home_state_); |
+ address_home_zip_ = const_cast< ::std::string*>(&_default_address_home_zip_); |
+ address_home_country_ = const_cast< ::std::string*>(&_default_address_home_country_); |
+ phone_home_whole_number_ = const_cast< ::std::string*>(&_default_phone_home_whole_number_); |
+ phone_fax_whole_number_ = const_cast< ::std::string*>(&_default_phone_fax_whole_number_); |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+} |
+ |
+AutofillProfile2Specifics::~AutofillProfile2Specifics() { |
+ SharedDtor(); |
+} |
+ |
+void AutofillProfile2Specifics::SharedDtor() { |
+ if (guid_ != &_default_guid_) { |
+ delete guid_; |
+ } |
+ if (name_first_ != &_default_name_first_) { |
+ delete name_first_; |
+ } |
+ if (name_middle_ != &_default_name_middle_) { |
+ delete name_middle_; |
+ } |
+ if (name_last_ != &_default_name_last_) { |
+ delete name_last_; |
+ } |
+ if (email_address_ != &_default_email_address_) { |
+ delete email_address_; |
+ } |
+ if (company_name_ != &_default_company_name_) { |
+ delete company_name_; |
+ } |
+ if (address_home_line1_ != &_default_address_home_line1_) { |
+ delete address_home_line1_; |
+ } |
+ if (address_home_line2_ != &_default_address_home_line2_) { |
+ delete address_home_line2_; |
+ } |
+ if (address_home_city_ != &_default_address_home_city_) { |
+ delete address_home_city_; |
+ } |
+ if (address_home_state_ != &_default_address_home_state_) { |
+ delete address_home_state_; |
+ } |
+ if (address_home_zip_ != &_default_address_home_zip_) { |
+ delete address_home_zip_; |
+ } |
+ if (address_home_country_ != &_default_address_home_country_) { |
+ delete address_home_country_; |
+ } |
+ if (phone_home_whole_number_ != &_default_phone_home_whole_number_) { |
+ delete phone_home_whole_number_; |
+ } |
+ if (phone_fax_whole_number_ != &_default_phone_fax_whole_number_) { |
+ delete phone_fax_whole_number_; |
+ } |
+ if (this != default_instance_) { |
+ } |
+} |
+ |
+void AutofillProfile2Specifics::SetCachedSize(int size) const { |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _cached_size_ = size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+} |
+const AutofillProfile2Specifics& AutofillProfile2Specifics::default_instance() { |
+ if (default_instance_ == NULL) protobuf_AddDesc_autofill_5fspecifics_2eproto(); return *default_instance_; |
+} |
+ |
+AutofillProfile2Specifics* AutofillProfile2Specifics::default_instance_ = NULL; |
+ |
+AutofillProfile2Specifics* AutofillProfile2Specifics::New() const { |
+ return new AutofillProfile2Specifics; |
+} |
+ |
+void AutofillProfile2Specifics::Clear() { |
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ if (_has_bit(0)) { |
+ if (guid_ != &_default_guid_) { |
+ guid_->clear(); |
+ } |
+ } |
+ if (_has_bit(1)) { |
+ if (name_first_ != &_default_name_first_) { |
+ name_first_->clear(); |
+ } |
+ } |
+ if (_has_bit(2)) { |
+ if (name_middle_ != &_default_name_middle_) { |
+ name_middle_->clear(); |
+ } |
+ } |
+ if (_has_bit(3)) { |
+ if (name_last_ != &_default_name_last_) { |
+ name_last_->clear(); |
+ } |
+ } |
+ if (_has_bit(4)) { |
+ if (email_address_ != &_default_email_address_) { |
+ email_address_->clear(); |
+ } |
+ } |
+ if (_has_bit(5)) { |
+ if (company_name_ != &_default_company_name_) { |
+ company_name_->clear(); |
+ } |
+ } |
+ if (_has_bit(6)) { |
+ if (address_home_line1_ != &_default_address_home_line1_) { |
+ address_home_line1_->clear(); |
+ } |
+ } |
+ if (_has_bit(7)) { |
+ if (address_home_line2_ != &_default_address_home_line2_) { |
+ address_home_line2_->clear(); |
+ } |
+ } |
+ } |
+ if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { |
+ if (_has_bit(8)) { |
+ if (address_home_city_ != &_default_address_home_city_) { |
+ address_home_city_->clear(); |
+ } |
+ } |
+ if (_has_bit(9)) { |
+ if (address_home_state_ != &_default_address_home_state_) { |
+ address_home_state_->clear(); |
+ } |
+ } |
+ if (_has_bit(10)) { |
+ if (address_home_zip_ != &_default_address_home_zip_) { |
+ address_home_zip_->clear(); |
+ } |
+ } |
+ if (_has_bit(11)) { |
+ if (address_home_country_ != &_default_address_home_country_) { |
+ address_home_country_->clear(); |
+ } |
+ } |
+ if (_has_bit(12)) { |
+ if (phone_home_whole_number_ != &_default_phone_home_whole_number_) { |
+ phone_home_whole_number_->clear(); |
+ } |
+ } |
+ if (_has_bit(13)) { |
+ if (phone_fax_whole_number_ != &_default_phone_fax_whole_number_) { |
+ phone_fax_whole_number_->clear(); |
+ } |
+ } |
+ } |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+ mutable_unknown_fields()->Clear(); |
+} |
+ |
+bool AutofillProfile2Specifics::MergePartialFromCodedStream( |
+ ::google::protobuf::io::CodedInputStream* input) { |
+#define DO_(EXPRESSION) if (!(EXPRESSION)) return false |
+ ::google::protobuf::uint32 tag; |
+ while ((tag = input->ReadTag()) != 0) { |
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
+ // optional string guid = 1; |
+ case 1: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_guid())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(18)) goto parse_name_first; |
+ break; |
+ } |
+ |
+ // optional string name_first = 2; |
+ case 2: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_name_first: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_name_first())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(26)) goto parse_name_middle; |
+ break; |
+ } |
+ |
+ // optional string name_middle = 3; |
+ case 3: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_name_middle: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_name_middle())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(34)) goto parse_name_last; |
+ break; |
+ } |
+ |
+ // optional string name_last = 4; |
+ case 4: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_name_last: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_name_last())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(42)) goto parse_email_address; |
+ break; |
+ } |
+ |
+ // optional string email_address = 5; |
+ case 5: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_email_address: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_email_address())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(50)) goto parse_company_name; |
+ break; |
+ } |
+ |
+ // optional string company_name = 6; |
+ case 6: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_company_name: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_company_name())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(58)) goto parse_address_home_line1; |
+ break; |
+ } |
+ |
+ // optional string address_home_line1 = 7; |
+ case 7: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_address_home_line1: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_address_home_line1())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(66)) goto parse_address_home_line2; |
+ break; |
+ } |
+ |
+ // optional string address_home_line2 = 8; |
+ case 8: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_address_home_line2: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_address_home_line2())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(74)) goto parse_address_home_city; |
+ break; |
+ } |
+ |
+ // optional string address_home_city = 9; |
+ case 9: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_address_home_city: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_address_home_city())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(82)) goto parse_address_home_state; |
+ break; |
+ } |
+ |
+ // optional string address_home_state = 10; |
+ case 10: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_address_home_state: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_address_home_state())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(90)) goto parse_address_home_zip; |
+ break; |
+ } |
+ |
+ // optional string address_home_zip = 11; |
+ case 11: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_address_home_zip: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_address_home_zip())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(98)) goto parse_address_home_country; |
+ break; |
+ } |
+ |
+ // optional string address_home_country = 12; |
+ case 12: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_address_home_country: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_address_home_country())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(106)) goto parse_phone_home_whole_number; |
+ break; |
+ } |
+ |
+ // optional string phone_home_whole_number = 13; |
+ case 13: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_phone_home_whole_number: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_phone_home_whole_number())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(114)) goto parse_phone_fax_whole_number; |
+ break; |
+ } |
+ |
+ // optional string phone_fax_whole_number = 14; |
+ case 14: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_phone_fax_whole_number: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_phone_fax_whole_number())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectAtEnd()) return true; |
+ break; |
+ } |
+ |
+ default: { |
+ handle_uninterpreted: |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { |
+ return true; |
+ } |
+ DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag, mutable_unknown_fields())); |
+ break; |
+ } |
+ } |
+ } |
+ return true; |
+#undef DO_ |
+} |
+ |
+void AutofillProfile2Specifics::SerializeWithCachedSizes( |
+ ::google::protobuf::io::CodedOutputStream* output) const { |
+ // optional string guid = 1; |
+ if (_has_bit(0)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 1, this->guid(), output); |
+ } |
+ |
+ // optional string name_first = 2; |
+ if (_has_bit(1)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 2, this->name_first(), output); |
+ } |
+ |
+ // optional string name_middle = 3; |
+ if (_has_bit(2)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 3, this->name_middle(), output); |
+ } |
+ |
+ // optional string name_last = 4; |
+ if (_has_bit(3)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 4, this->name_last(), output); |
+ } |
+ |
+ // optional string email_address = 5; |
+ if (_has_bit(4)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 5, this->email_address(), output); |
+ } |
+ |
+ // optional string company_name = 6; |
+ if (_has_bit(5)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 6, this->company_name(), output); |
+ } |
+ |
+ // optional string address_home_line1 = 7; |
+ if (_has_bit(6)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 7, this->address_home_line1(), output); |
+ } |
+ |
+ // optional string address_home_line2 = 8; |
+ if (_has_bit(7)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 8, this->address_home_line2(), output); |
+ } |
+ |
+ // optional string address_home_city = 9; |
+ if (_has_bit(8)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 9, this->address_home_city(), output); |
+ } |
+ |
+ // optional string address_home_state = 10; |
+ if (_has_bit(9)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 10, this->address_home_state(), output); |
+ } |
+ |
+ // optional string address_home_zip = 11; |
+ if (_has_bit(10)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 11, this->address_home_zip(), output); |
+ } |
+ |
+ // optional string address_home_country = 12; |
+ if (_has_bit(11)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 12, this->address_home_country(), output); |
+ } |
+ |
+ // optional string phone_home_whole_number = 13; |
+ if (_has_bit(12)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 13, this->phone_home_whole_number(), output); |
+ } |
+ |
+ // optional string phone_fax_whole_number = 14; |
+ if (_has_bit(13)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 14, this->phone_fax_whole_number(), output); |
+ } |
+ |
+ if (!unknown_fields().empty()) { |
+ ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields( |
+ unknown_fields(), output); |
+ } |
+} |
+ |
+int AutofillProfile2Specifics::ByteSize() const { |
+ int total_size = 0; |
+ |
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ // optional string guid = 1; |
+ if (has_guid()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->guid()); |
+ } |
+ |
+ // optional string name_first = 2; |
+ if (has_name_first()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->name_first()); |
+ } |
+ |
+ // optional string name_middle = 3; |
+ if (has_name_middle()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->name_middle()); |
+ } |
+ |
+ // optional string name_last = 4; |
+ if (has_name_last()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->name_last()); |
+ } |
+ |
+ // optional string email_address = 5; |
+ if (has_email_address()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->email_address()); |
+ } |
+ |
+ // optional string company_name = 6; |
+ if (has_company_name()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->company_name()); |
+ } |
+ |
+ // optional string address_home_line1 = 7; |
+ if (has_address_home_line1()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->address_home_line1()); |
+ } |
+ |
+ // optional string address_home_line2 = 8; |
+ if (has_address_home_line2()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->address_home_line2()); |
+ } |
+ |
+ } |
+ if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { |
+ // optional string address_home_city = 9; |
+ if (has_address_home_city()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->address_home_city()); |
+ } |
+ |
+ // optional string address_home_state = 10; |
+ if (has_address_home_state()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->address_home_state()); |
+ } |
+ |
+ // optional string address_home_zip = 11; |
+ if (has_address_home_zip()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->address_home_zip()); |
+ } |
+ |
+ // optional string address_home_country = 12; |
+ if (has_address_home_country()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->address_home_country()); |
+ } |
+ |
+ // optional string phone_home_whole_number = 13; |
+ if (has_phone_home_whole_number()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->phone_home_whole_number()); |
+ } |
+ |
+ // optional string phone_fax_whole_number = 14; |
+ if (has_phone_fax_whole_number()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->phone_fax_whole_number()); |
+ } |
+ |
+ } |
+ if (!unknown_fields().empty()) { |
+ total_size += |
+ ::google::protobuf::internal::WireFormatLite::ComputeUnknownFieldsSize( |
+ unknown_fields()); |
+ } |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _cached_size_ = total_size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+ return total_size; |
+} |
+ |
+void AutofillProfile2Specifics::CheckTypeAndMergeFrom( |
+ const ::google::protobuf::MessageLite& from) { |
+ MergeFrom(*::google::protobuf::down_cast<const AutofillProfile2Specifics*>(&from)); |
+} |
+ |
+void AutofillProfile2Specifics::MergeFrom(const AutofillProfile2Specifics& from) { |
+ GOOGLE_CHECK_NE(&from, this); |
+ if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ if (from._has_bit(0)) { |
+ set_guid(from.guid()); |
+ } |
+ if (from._has_bit(1)) { |
+ set_name_first(from.name_first()); |
+ } |
+ if (from._has_bit(2)) { |
+ set_name_middle(from.name_middle()); |
+ } |
+ if (from._has_bit(3)) { |
+ set_name_last(from.name_last()); |
+ } |
+ if (from._has_bit(4)) { |
+ set_email_address(from.email_address()); |
+ } |
+ if (from._has_bit(5)) { |
+ set_company_name(from.company_name()); |
+ } |
+ if (from._has_bit(6)) { |
+ set_address_home_line1(from.address_home_line1()); |
+ } |
+ if (from._has_bit(7)) { |
+ set_address_home_line2(from.address_home_line2()); |
+ } |
+ } |
+ if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { |
+ if (from._has_bit(8)) { |
+ set_address_home_city(from.address_home_city()); |
+ } |
+ if (from._has_bit(9)) { |
+ set_address_home_state(from.address_home_state()); |
+ } |
+ if (from._has_bit(10)) { |
+ set_address_home_zip(from.address_home_zip()); |
+ } |
+ if (from._has_bit(11)) { |
+ set_address_home_country(from.address_home_country()); |
+ } |
+ if (from._has_bit(12)) { |
+ set_phone_home_whole_number(from.phone_home_whole_number()); |
+ } |
+ if (from._has_bit(13)) { |
+ set_phone_fax_whole_number(from.phone_fax_whole_number()); |
+ } |
+ } |
+ mutable_unknown_fields()->MergeFrom(from.unknown_fields()); |
+} |
+ |
+void AutofillProfile2Specifics::CopyFrom(const AutofillProfile2Specifics& from) { |
+ if (&from == this) return; |
+ Clear(); |
+ MergeFrom(from); |
+} |
+ |
+bool AutofillProfile2Specifics::IsInitialized() const { |
+ |
+ return true; |
+} |
+ |
+void AutofillProfile2Specifics::Swap(AutofillProfile2Specifics* other) { |
+ if (other != this) { |
+ std::swap(guid_, other->guid_); |
+ std::swap(name_first_, other->name_first_); |
+ std::swap(name_middle_, other->name_middle_); |
+ std::swap(name_last_, other->name_last_); |
+ std::swap(email_address_, other->email_address_); |
+ std::swap(company_name_, other->company_name_); |
+ std::swap(address_home_line1_, other->address_home_line1_); |
+ std::swap(address_home_line2_, other->address_home_line2_); |
+ std::swap(address_home_city_, other->address_home_city_); |
+ std::swap(address_home_state_, other->address_home_state_); |
+ std::swap(address_home_zip_, other->address_home_zip_); |
+ std::swap(address_home_country_, other->address_home_country_); |
+ std::swap(phone_home_whole_number_, other->phone_home_whole_number_); |
+ std::swap(phone_fax_whole_number_, other->phone_fax_whole_number_); |
+ std::swap(_has_bits_[0], other->_has_bits_[0]); |
+ _unknown_fields_.Swap(&other->_unknown_fields_); |
+ std::swap(_cached_size_, other->_cached_size_); |
+ } |
+} |
+ |
+::std::string AutofillProfile2Specifics::GetTypeName() const { |
+ return "sync_pb.AutofillProfile2Specifics"; |
+} |
+ |
+ |
+// =================================================================== |
+ |
+const ::std::string AutofillCreditCardSpecifics::_default_label_; |
+const ::std::string AutofillCreditCardSpecifics::_default_name_on_card_; |
+const ::std::string AutofillCreditCardSpecifics::_default_type_; |
+const ::std::string AutofillCreditCardSpecifics::_default_card_number_; |
+const ::std::string AutofillCreditCardSpecifics::_default_expiration_month_; |
+const ::std::string AutofillCreditCardSpecifics::_default_expiration_year_; |
+const ::std::string AutofillCreditCardSpecifics::_default_verification_code_; |
+const ::std::string AutofillCreditCardSpecifics::_default_billing_address_; |
+const ::std::string AutofillCreditCardSpecifics::_default_shipping_address_; |
+#ifndef _MSC_VER |
+const int AutofillCreditCardSpecifics::kLabelFieldNumber; |
+const int AutofillCreditCardSpecifics::kNameOnCardFieldNumber; |
+const int AutofillCreditCardSpecifics::kTypeFieldNumber; |
+const int AutofillCreditCardSpecifics::kCardNumberFieldNumber; |
+const int AutofillCreditCardSpecifics::kExpirationMonthFieldNumber; |
+const int AutofillCreditCardSpecifics::kExpirationYearFieldNumber; |
+const int AutofillCreditCardSpecifics::kVerificationCodeFieldNumber; |
+const int AutofillCreditCardSpecifics::kBillingAddressFieldNumber; |
+const int AutofillCreditCardSpecifics::kShippingAddressFieldNumber; |
+#endif // !_MSC_VER |
+ |
+AutofillCreditCardSpecifics::AutofillCreditCardSpecifics() |
+ : ::google::protobuf::MessageLite() { |
+ SharedCtor(); |
+} |
+ |
+void AutofillCreditCardSpecifics::InitAsDefaultInstance() { |
+} |
+ |
+AutofillCreditCardSpecifics::AutofillCreditCardSpecifics(const AutofillCreditCardSpecifics& from) |
+ : ::google::protobuf::MessageLite() { |
+ SharedCtor(); |
+ MergeFrom(from); |
+} |
+ |
+void AutofillCreditCardSpecifics::SharedCtor() { |
+ _cached_size_ = 0; |
+ label_ = const_cast< ::std::string*>(&_default_label_); |
+ name_on_card_ = const_cast< ::std::string*>(&_default_name_on_card_); |
+ type_ = const_cast< ::std::string*>(&_default_type_); |
+ card_number_ = const_cast< ::std::string*>(&_default_card_number_); |
+ expiration_month_ = const_cast< ::std::string*>(&_default_expiration_month_); |
+ expiration_year_ = const_cast< ::std::string*>(&_default_expiration_year_); |
+ verification_code_ = const_cast< ::std::string*>(&_default_verification_code_); |
+ billing_address_ = const_cast< ::std::string*>(&_default_billing_address_); |
+ shipping_address_ = const_cast< ::std::string*>(&_default_shipping_address_); |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+} |
+ |
+AutofillCreditCardSpecifics::~AutofillCreditCardSpecifics() { |
+ SharedDtor(); |
+} |
+ |
+void AutofillCreditCardSpecifics::SharedDtor() { |
+ if (label_ != &_default_label_) { |
+ delete label_; |
+ } |
+ if (name_on_card_ != &_default_name_on_card_) { |
+ delete name_on_card_; |
+ } |
+ if (type_ != &_default_type_) { |
+ delete type_; |
+ } |
+ if (card_number_ != &_default_card_number_) { |
+ delete card_number_; |
+ } |
+ if (expiration_month_ != &_default_expiration_month_) { |
+ delete expiration_month_; |
+ } |
+ if (expiration_year_ != &_default_expiration_year_) { |
+ delete expiration_year_; |
+ } |
+ if (verification_code_ != &_default_verification_code_) { |
+ delete verification_code_; |
+ } |
+ if (billing_address_ != &_default_billing_address_) { |
+ delete billing_address_; |
+ } |
+ if (shipping_address_ != &_default_shipping_address_) { |
+ delete shipping_address_; |
+ } |
+ if (this != default_instance_) { |
+ } |
+} |
+ |
+void AutofillCreditCardSpecifics::SetCachedSize(int size) const { |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _cached_size_ = size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+} |
+const AutofillCreditCardSpecifics& AutofillCreditCardSpecifics::default_instance() { |
+ if (default_instance_ == NULL) protobuf_AddDesc_autofill_5fspecifics_2eproto(); return *default_instance_; |
+} |
+ |
+AutofillCreditCardSpecifics* AutofillCreditCardSpecifics::default_instance_ = NULL; |
+ |
+AutofillCreditCardSpecifics* AutofillCreditCardSpecifics::New() const { |
+ return new AutofillCreditCardSpecifics; |
+} |
+ |
+void AutofillCreditCardSpecifics::Clear() { |
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ if (_has_bit(0)) { |
+ if (label_ != &_default_label_) { |
+ label_->clear(); |
+ } |
+ } |
+ if (_has_bit(1)) { |
+ if (name_on_card_ != &_default_name_on_card_) { |
+ name_on_card_->clear(); |
+ } |
+ } |
+ if (_has_bit(2)) { |
+ if (type_ != &_default_type_) { |
+ type_->clear(); |
+ } |
+ } |
+ if (_has_bit(3)) { |
+ if (card_number_ != &_default_card_number_) { |
+ card_number_->clear(); |
+ } |
+ } |
+ if (_has_bit(4)) { |
+ if (expiration_month_ != &_default_expiration_month_) { |
+ expiration_month_->clear(); |
+ } |
+ } |
+ if (_has_bit(5)) { |
+ if (expiration_year_ != &_default_expiration_year_) { |
+ expiration_year_->clear(); |
+ } |
+ } |
+ if (_has_bit(6)) { |
+ if (verification_code_ != &_default_verification_code_) { |
+ verification_code_->clear(); |
+ } |
+ } |
+ if (_has_bit(7)) { |
+ if (billing_address_ != &_default_billing_address_) { |
+ billing_address_->clear(); |
+ } |
+ } |
+ } |
+ if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { |
+ if (_has_bit(8)) { |
+ if (shipping_address_ != &_default_shipping_address_) { |
+ shipping_address_->clear(); |
+ } |
+ } |
+ } |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+ mutable_unknown_fields()->Clear(); |
+} |
+ |
+bool AutofillCreditCardSpecifics::MergePartialFromCodedStream( |
+ ::google::protobuf::io::CodedInputStream* input) { |
+#define DO_(EXPRESSION) if (!(EXPRESSION)) return false |
+ ::google::protobuf::uint32 tag; |
+ while ((tag = input->ReadTag()) != 0) { |
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
+ // optional string label = 1; |
+ case 1: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_label())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(18)) goto parse_name_on_card; |
+ break; |
+ } |
+ |
+ // optional string name_on_card = 2; |
+ case 2: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_name_on_card: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_name_on_card())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(26)) goto parse_type; |
+ break; |
+ } |
+ |
+ // optional string type = 3; |
+ case 3: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_type: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_type())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(34)) goto parse_card_number; |
+ break; |
+ } |
+ |
+ // optional string card_number = 4; |
+ case 4: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_card_number: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_card_number())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(42)) goto parse_expiration_month; |
+ break; |
+ } |
+ |
+ // optional string expiration_month = 5; |
+ case 5: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_expiration_month: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_expiration_month())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(50)) goto parse_expiration_year; |
+ break; |
+ } |
+ |
+ // optional string expiration_year = 6; |
+ case 6: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_expiration_year: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_expiration_year())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(58)) goto parse_verification_code; |
+ break; |
+ } |
+ |
+ // optional string verification_code = 7; |
+ case 7: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_verification_code: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_verification_code())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(66)) goto parse_billing_address; |
+ break; |
+ } |
+ |
+ // optional string billing_address = 8; |
+ case 8: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_billing_address: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_billing_address())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(74)) goto parse_shipping_address; |
+ break; |
+ } |
+ |
+ // optional string shipping_address = 9; |
+ case 9: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_shipping_address: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_shipping_address())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectAtEnd()) return true; |
+ break; |
+ } |
+ |
+ default: { |
+ handle_uninterpreted: |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { |
+ return true; |
+ } |
+ DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag, mutable_unknown_fields())); |
+ break; |
+ } |
+ } |
+ } |
+ return true; |
+#undef DO_ |
+} |
+ |
+void AutofillCreditCardSpecifics::SerializeWithCachedSizes( |
+ ::google::protobuf::io::CodedOutputStream* output) const { |
+ // optional string label = 1; |
+ if (_has_bit(0)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 1, this->label(), output); |
+ } |
+ |
+ // optional string name_on_card = 2; |
+ if (_has_bit(1)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 2, this->name_on_card(), output); |
+ } |
+ |
+ // optional string type = 3; |
+ if (_has_bit(2)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 3, this->type(), output); |
+ } |
+ |
+ // optional string card_number = 4; |
+ if (_has_bit(3)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 4, this->card_number(), output); |
+ } |
+ |
+ // optional string expiration_month = 5; |
+ if (_has_bit(4)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 5, this->expiration_month(), output); |
+ } |
+ |
+ // optional string expiration_year = 6; |
+ if (_has_bit(5)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 6, this->expiration_year(), output); |
+ } |
+ |
+ // optional string verification_code = 7; |
+ if (_has_bit(6)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 7, this->verification_code(), output); |
+ } |
+ |
+ // optional string billing_address = 8; |
+ if (_has_bit(7)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 8, this->billing_address(), output); |
+ } |
+ |
+ // optional string shipping_address = 9; |
+ if (_has_bit(8)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 9, this->shipping_address(), output); |
+ } |
+ |
+ if (!unknown_fields().empty()) { |
+ ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields( |
+ unknown_fields(), output); |
+ } |
+} |
+ |
+int AutofillCreditCardSpecifics::ByteSize() const { |
+ int total_size = 0; |
+ |
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ // optional string label = 1; |
+ if (has_label()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->label()); |
+ } |
+ |
+ // optional string name_on_card = 2; |
+ if (has_name_on_card()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->name_on_card()); |
+ } |
+ |
+ // optional string type = 3; |
+ if (has_type()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->type()); |
+ } |
+ |
+ // optional string card_number = 4; |
+ if (has_card_number()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->card_number()); |
+ } |
+ |
+ // optional string expiration_month = 5; |
+ if (has_expiration_month()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->expiration_month()); |
+ } |
+ |
+ // optional string expiration_year = 6; |
+ if (has_expiration_year()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->expiration_year()); |
+ } |
+ |
+ // optional string verification_code = 7; |
+ if (has_verification_code()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->verification_code()); |
+ } |
+ |
+ // optional string billing_address = 8; |
+ if (has_billing_address()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->billing_address()); |
+ } |
+ |
+ } |
+ if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { |
+ // optional string shipping_address = 9; |
+ if (has_shipping_address()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->shipping_address()); |
+ } |
+ |
+ } |
+ if (!unknown_fields().empty()) { |
+ total_size += |
+ ::google::protobuf::internal::WireFormatLite::ComputeUnknownFieldsSize( |
+ unknown_fields()); |
+ } |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _cached_size_ = total_size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+ return total_size; |
+} |
+ |
+void AutofillCreditCardSpecifics::CheckTypeAndMergeFrom( |
+ const ::google::protobuf::MessageLite& from) { |
+ MergeFrom(*::google::protobuf::down_cast<const AutofillCreditCardSpecifics*>(&from)); |
+} |
+ |
+void AutofillCreditCardSpecifics::MergeFrom(const AutofillCreditCardSpecifics& from) { |
+ GOOGLE_CHECK_NE(&from, this); |
+ if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ if (from._has_bit(0)) { |
+ set_label(from.label()); |
+ } |
+ if (from._has_bit(1)) { |
+ set_name_on_card(from.name_on_card()); |
+ } |
+ if (from._has_bit(2)) { |
+ set_type(from.type()); |
+ } |
+ if (from._has_bit(3)) { |
+ set_card_number(from.card_number()); |
+ } |
+ if (from._has_bit(4)) { |
+ set_expiration_month(from.expiration_month()); |
+ } |
+ if (from._has_bit(5)) { |
+ set_expiration_year(from.expiration_year()); |
+ } |
+ if (from._has_bit(6)) { |
+ set_verification_code(from.verification_code()); |
+ } |
+ if (from._has_bit(7)) { |
+ set_billing_address(from.billing_address()); |
+ } |
+ } |
+ if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { |
+ if (from._has_bit(8)) { |
+ set_shipping_address(from.shipping_address()); |
+ } |
+ } |
+ mutable_unknown_fields()->MergeFrom(from.unknown_fields()); |
+} |
+ |
+void AutofillCreditCardSpecifics::CopyFrom(const AutofillCreditCardSpecifics& from) { |
+ if (&from == this) return; |
+ Clear(); |
+ MergeFrom(from); |
+} |
+ |
+bool AutofillCreditCardSpecifics::IsInitialized() const { |
+ |
+ return true; |
+} |
+ |
+void AutofillCreditCardSpecifics::Swap(AutofillCreditCardSpecifics* other) { |
+ if (other != this) { |
+ std::swap(label_, other->label_); |
+ std::swap(name_on_card_, other->name_on_card_); |
+ std::swap(type_, other->type_); |
+ std::swap(card_number_, other->card_number_); |
+ std::swap(expiration_month_, other->expiration_month_); |
+ std::swap(expiration_year_, other->expiration_year_); |
+ std::swap(verification_code_, other->verification_code_); |
+ std::swap(billing_address_, other->billing_address_); |
+ std::swap(shipping_address_, other->shipping_address_); |
+ std::swap(_has_bits_[0], other->_has_bits_[0]); |
+ _unknown_fields_.Swap(&other->_unknown_fields_); |
+ std::swap(_cached_size_, other->_cached_size_); |
+ } |
+} |
+ |
+::std::string AutofillCreditCardSpecifics::GetTypeName() const { |
+ return "sync_pb.AutofillCreditCardSpecifics"; |
+} |
+ |
+ |
+// =================================================================== |
+ |
+const ::std::string AutofillSpecifics::_default_name_; |
+const ::std::string AutofillSpecifics::_default_value_; |
+const ::std::string AutofillSpecifics::_default_encrypted_credit_card_; |
+#ifndef _MSC_VER |
+const int AutofillSpecifics::kNameFieldNumber; |
+const int AutofillSpecifics::kValueFieldNumber; |
+const int AutofillSpecifics::kUsageTimestampFieldNumber; |
+const int AutofillSpecifics::kProfileFieldNumber; |
+const int AutofillSpecifics::kEncryptedCreditCardFieldNumber; |
+const int AutofillSpecifics::kCreditCardFieldNumber; |
+#endif // !_MSC_VER |
+ |
+AutofillSpecifics::AutofillSpecifics() |
+ : ::google::protobuf::MessageLite() { |
+ SharedCtor(); |
+} |
+ |
+void AutofillSpecifics::InitAsDefaultInstance() { |
+ profile_ = const_cast< ::sync_pb::AutofillProfileSpecifics*>(&::sync_pb::AutofillProfileSpecifics::default_instance()); |
+ credit_card_ = const_cast< ::sync_pb::AutofillCreditCardSpecifics*>(&::sync_pb::AutofillCreditCardSpecifics::default_instance()); |
+} |
+ |
+AutofillSpecifics::AutofillSpecifics(const AutofillSpecifics& from) |
+ : ::google::protobuf::MessageLite() { |
+ SharedCtor(); |
+ MergeFrom(from); |
+} |
+ |
+void AutofillSpecifics::SharedCtor() { |
+ _cached_size_ = 0; |
+ name_ = const_cast< ::std::string*>(&_default_name_); |
+ value_ = const_cast< ::std::string*>(&_default_value_); |
+ profile_ = NULL; |
+ encrypted_credit_card_ = const_cast< ::std::string*>(&_default_encrypted_credit_card_); |
+ credit_card_ = NULL; |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+} |
+ |
+AutofillSpecifics::~AutofillSpecifics() { |
+ SharedDtor(); |
+} |
+ |
+void AutofillSpecifics::SharedDtor() { |
+ if (name_ != &_default_name_) { |
+ delete name_; |
+ } |
+ if (value_ != &_default_value_) { |
+ delete value_; |
+ } |
+ if (encrypted_credit_card_ != &_default_encrypted_credit_card_) { |
+ delete encrypted_credit_card_; |
+ } |
+ if (this != default_instance_) { |
+ delete profile_; |
+ delete credit_card_; |
+ } |
+} |
+ |
+void AutofillSpecifics::SetCachedSize(int size) const { |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _cached_size_ = size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+} |
+const AutofillSpecifics& AutofillSpecifics::default_instance() { |
+ if (default_instance_ == NULL) protobuf_AddDesc_autofill_5fspecifics_2eproto(); return *default_instance_; |
+} |
+ |
+AutofillSpecifics* AutofillSpecifics::default_instance_ = NULL; |
+ |
+AutofillSpecifics* AutofillSpecifics::New() const { |
+ return new AutofillSpecifics; |
+} |
+ |
+void AutofillSpecifics::Clear() { |
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ if (_has_bit(0)) { |
+ if (name_ != &_default_name_) { |
+ name_->clear(); |
+ } |
+ } |
+ if (_has_bit(1)) { |
+ if (value_ != &_default_value_) { |
+ value_->clear(); |
+ } |
+ } |
+ if (_has_bit(3)) { |
+ if (profile_ != NULL) profile_->::sync_pb::AutofillProfileSpecifics::Clear(); |
+ } |
+ if (_has_bit(4)) { |
+ if (encrypted_credit_card_ != &_default_encrypted_credit_card_) { |
+ encrypted_credit_card_->clear(); |
+ } |
+ } |
+ if (_has_bit(5)) { |
+ if (credit_card_ != NULL) credit_card_->::sync_pb::AutofillCreditCardSpecifics::Clear(); |
+ } |
+ } |
+ usage_timestamp_.Clear(); |
+ ::memset(_has_bits_, 0, sizeof(_has_bits_)); |
+ mutable_unknown_fields()->Clear(); |
+} |
+ |
+bool AutofillSpecifics::MergePartialFromCodedStream( |
+ ::google::protobuf::io::CodedInputStream* input) { |
+#define DO_(EXPRESSION) if (!(EXPRESSION)) return false |
+ ::google::protobuf::uint32 tag; |
+ while ((tag = input->ReadTag()) != 0) { |
+ switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
+ // optional string name = 1; |
+ case 1: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_name())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(18)) goto parse_value; |
+ break; |
+ } |
+ |
+ // optional string value = 2; |
+ case 2: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_value: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
+ input, this->mutable_value())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(24)) goto parse_usage_timestamp; |
+ break; |
+ } |
+ |
+ // repeated int64 usage_timestamp = 3; |
+ case 3: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { |
+ parse_usage_timestamp: |
+ DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< |
+ ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
+ 1, 24, input, this->mutable_usage_timestamp()))); |
+ } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) |
+ == ::google::protobuf::internal::WireFormatLite:: |
+ WIRETYPE_LENGTH_DELIMITED) { |
+ DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< |
+ ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
+ input, this->mutable_usage_timestamp()))); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(24)) goto parse_usage_timestamp; |
+ if (input->ExpectTag(34)) goto parse_profile; |
+ break; |
+ } |
+ |
+ // optional .sync_pb.AutofillProfileSpecifics profile = 4; |
+ case 4: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_profile: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( |
+ input, mutable_profile())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(42)) goto parse_encrypted_credit_card; |
+ break; |
+ } |
+ |
+ // optional bytes encrypted_credit_card = 5; |
+ case 5: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_encrypted_credit_card: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( |
+ input, this->mutable_encrypted_credit_card())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectTag(50)) goto parse_credit_card; |
+ break; |
+ } |
+ |
+ // optional .sync_pb.AutofillCreditCardSpecifics credit_card = 6; |
+ case 6: { |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { |
+ parse_credit_card: |
+ DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( |
+ input, mutable_credit_card())); |
+ } else { |
+ goto handle_uninterpreted; |
+ } |
+ if (input->ExpectAtEnd()) return true; |
+ break; |
+ } |
+ |
+ default: { |
+ handle_uninterpreted: |
+ if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
+ ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { |
+ return true; |
+ } |
+ DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag, mutable_unknown_fields())); |
+ break; |
+ } |
+ } |
+ } |
+ return true; |
+#undef DO_ |
+} |
+ |
+void AutofillSpecifics::SerializeWithCachedSizes( |
+ ::google::protobuf::io::CodedOutputStream* output) const { |
+ // optional string name = 1; |
+ if (_has_bit(0)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 1, this->name(), output); |
+ } |
+ |
+ // optional string value = 2; |
+ if (_has_bit(1)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteString( |
+ 2, this->value(), output); |
+ } |
+ |
+ // repeated int64 usage_timestamp = 3; |
+ for (int i = 0; i < this->usage_timestamp_size(); i++) { |
+ ::google::protobuf::internal::WireFormatLite::WriteInt64( |
+ 3, this->usage_timestamp(i), output); |
+ } |
+ |
+ // optional .sync_pb.AutofillProfileSpecifics profile = 4; |
+ if (_has_bit(3)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteMessage( |
+ 4, this->profile(), output); |
+ } |
+ |
+ // optional bytes encrypted_credit_card = 5; |
+ if (_has_bit(4)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteBytes( |
+ 5, this->encrypted_credit_card(), output); |
+ } |
+ |
+ // optional .sync_pb.AutofillCreditCardSpecifics credit_card = 6; |
+ if (_has_bit(5)) { |
+ ::google::protobuf::internal::WireFormatLite::WriteMessage( |
+ 6, this->credit_card(), output); |
+ } |
+ |
+ if (!unknown_fields().empty()) { |
+ ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields( |
+ unknown_fields(), output); |
+ } |
+} |
+ |
+int AutofillSpecifics::ByteSize() const { |
+ int total_size = 0; |
+ |
+ if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ // optional string name = 1; |
+ if (has_name()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->name()); |
+ } |
+ |
+ // optional string value = 2; |
+ if (has_value()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::StringSize( |
+ this->value()); |
+ } |
+ |
+ // optional .sync_pb.AutofillProfileSpecifics profile = 4; |
+ if (has_profile()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( |
+ this->profile()); |
+ } |
+ |
+ // optional bytes encrypted_credit_card = 5; |
+ if (has_encrypted_credit_card()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::BytesSize( |
+ this->encrypted_credit_card()); |
+ } |
+ |
+ // optional .sync_pb.AutofillCreditCardSpecifics credit_card = 6; |
+ if (has_credit_card()) { |
+ total_size += 1 + |
+ ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( |
+ this->credit_card()); |
+ } |
+ |
+ } |
+ // repeated int64 usage_timestamp = 3; |
+ { |
+ int data_size = 0; |
+ for (int i = 0; i < this->usage_timestamp_size(); i++) { |
+ data_size += ::google::protobuf::internal::WireFormatLite:: |
+ Int64Size(this->usage_timestamp(i)); |
+ } |
+ total_size += 1 * this->usage_timestamp_size() + data_size; |
+ } |
+ |
+ if (!unknown_fields().empty()) { |
+ total_size += |
+ ::google::protobuf::internal::WireFormatLite::ComputeUnknownFieldsSize( |
+ unknown_fields()); |
+ } |
+ GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
+ _cached_size_ = total_size; |
+ GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
+ return total_size; |
+} |
+ |
+void AutofillSpecifics::CheckTypeAndMergeFrom( |
+ const ::google::protobuf::MessageLite& from) { |
+ MergeFrom(*::google::protobuf::down_cast<const AutofillSpecifics*>(&from)); |
+} |
+ |
+void AutofillSpecifics::MergeFrom(const AutofillSpecifics& from) { |
+ GOOGLE_CHECK_NE(&from, this); |
+ usage_timestamp_.MergeFrom(from.usage_timestamp_); |
+ if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { |
+ if (from._has_bit(0)) { |
+ set_name(from.name()); |
+ } |
+ if (from._has_bit(1)) { |
+ set_value(from.value()); |
+ } |
+ if (from._has_bit(3)) { |
+ mutable_profile()->::sync_pb::AutofillProfileSpecifics::MergeFrom(from.profile()); |
+ } |
+ if (from._has_bit(4)) { |
+ set_encrypted_credit_card(from.encrypted_credit_card()); |
+ } |
+ if (from._has_bit(5)) { |
+ mutable_credit_card()->::sync_pb::AutofillCreditCardSpecifics::MergeFrom(from.credit_card()); |
+ } |
+ } |
+ mutable_unknown_fields()->MergeFrom(from.unknown_fields()); |
+} |
+ |
+void AutofillSpecifics::CopyFrom(const AutofillSpecifics& from) { |
+ if (&from == this) return; |
+ Clear(); |
+ MergeFrom(from); |
+} |
+ |
+bool AutofillSpecifics::IsInitialized() const { |
+ |
+ return true; |
+} |
+ |
+void AutofillSpecifics::Swap(AutofillSpecifics* other) { |
+ if (other != this) { |
+ std::swap(name_, other->name_); |
+ std::swap(value_, other->value_); |
+ usage_timestamp_.Swap(&other->usage_timestamp_); |
+ std::swap(profile_, other->profile_); |
+ std::swap(encrypted_credit_card_, other->encrypted_credit_card_); |
+ std::swap(credit_card_, other->credit_card_); |
+ std::swap(_has_bits_[0], other->_has_bits_[0]); |
+ _unknown_fields_.Swap(&other->_unknown_fields_); |
+ std::swap(_cached_size_, other->_cached_size_); |
+ } |
+} |
+ |
+::std::string AutofillSpecifics::GetTypeName() const { |
+ return "sync_pb.AutofillSpecifics"; |
+} |
+ |
+::google::protobuf::internal::ExtensionIdentifier< ::sync_pb::EntitySpecifics, |
+ ::google::protobuf::internal::MessageTypeTraits< ::sync_pb::AutofillSpecifics >, 11, false > |
+ autofill(kAutofillFieldNumber, ::sync_pb::AutofillSpecifics::default_instance()); |
+::google::protobuf::internal::ExtensionIdentifier< ::sync_pb::EntitySpecifics, |
+ ::google::protobuf::internal::MessageTypeTraits< ::sync_pb::AutofillProfile2Specifics >, 11, false > |
+ autofill_profile(kAutofillProfileFieldNumber, ::sync_pb::AutofillProfile2Specifics::default_instance()); |
+ |
+// @@protoc_insertion_point(namespace_scope) |
+ |
+} // namespace sync_pb |
+ |
+// @@protoc_insertion_point(global_scope) |