Index: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/autofill_specifics.pb.h |
diff --git a/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/autofill_specifics.pb.h b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/autofill_specifics.pb.h |
new file mode 100755 |
index 0000000000000000000000000000000000000000..c5778d1a5a58471da0d03160f31735f30fee3690 |
--- /dev/null |
+++ b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/autofill_specifics.pb.h |
@@ -0,0 +1,2635 @@ |
+// Generated by the protocol buffer compiler. DO NOT EDIT! |
+// source: autofill_specifics.proto |
+ |
+#ifndef PROTOBUF_autofill_5fspecifics_2eproto__INCLUDED |
+#define PROTOBUF_autofill_5fspecifics_2eproto__INCLUDED |
+ |
+#include <string> |
+ |
+#include <google/protobuf/stubs/common.h> |
+ |
+#if GOOGLE_PROTOBUF_VERSION < 2003000 |
+#error This file was generated by a newer version of protoc which is |
+#error incompatible with your Protocol Buffer headers. Please update |
+#error your headers. |
+#endif |
+#if 2003001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
+#error This file was generated by an older version of protoc which is |
+#error incompatible with your Protocol Buffer headers. Please |
+#error regenerate this file with a newer version of protoc. |
+#endif |
+ |
+#include <google/protobuf/generated_message_util.h> |
+#include <google/protobuf/repeated_field.h> |
+#include <google/protobuf/extension_set.h> |
+#include <google/protobuf/unknown_field_set.h> |
+#include "sync.pb.h" |
+// @@protoc_insertion_point(includes) |
+ |
+namespace sync_pb { |
+ |
+// Internal implementation detail -- do not call these. |
+void protobuf_AddDesc_autofill_5fspecifics_2eproto(); |
+void protobuf_AssignDesc_autofill_5fspecifics_2eproto(); |
+void protobuf_ShutdownFile_autofill_5fspecifics_2eproto(); |
+ |
+class AutofillProfileSpecifics; |
+class AutofillProfile2Specifics; |
+class AutofillCreditCardSpecifics; |
+class AutofillSpecifics; |
+ |
+// =================================================================== |
+ |
+class AutofillProfileSpecifics : public ::google::protobuf::MessageLite { |
+ public: |
+ AutofillProfileSpecifics(); |
+ virtual ~AutofillProfileSpecifics(); |
+ |
+ AutofillProfileSpecifics(const AutofillProfileSpecifics& from); |
+ |
+ inline AutofillProfileSpecifics& operator=(const AutofillProfileSpecifics& from) { |
+ CopyFrom(from); |
+ return *this; |
+ } |
+ |
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
+ return _unknown_fields_; |
+ } |
+ |
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
+ return &_unknown_fields_; |
+ } |
+ |
+ static const AutofillProfileSpecifics& default_instance(); |
+ |
+ void Swap(AutofillProfileSpecifics* other); |
+ |
+ // implements Message ---------------------------------------------- |
+ |
+ AutofillProfileSpecifics* New() const; |
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); |
+ void CopyFrom(const AutofillProfileSpecifics& from); |
+ void MergeFrom(const AutofillProfileSpecifics& from); |
+ void Clear(); |
+ bool IsInitialized() const; |
+ |
+ int ByteSize() const; |
+ bool MergePartialFromCodedStream( |
+ ::google::protobuf::io::CodedInputStream* input); |
+ void SerializeWithCachedSizes( |
+ ::google::protobuf::io::CodedOutputStream* output) const; |
+ int GetCachedSize() const { return _cached_size_; } |
+ private: |
+ void SharedCtor(); |
+ void SharedDtor(); |
+ void SetCachedSize(int size) const; |
+ public: |
+ |
+ ::std::string GetTypeName() const; |
+ |
+ // nested types ---------------------------------------------------- |
+ |
+ // accessors ------------------------------------------------------- |
+ |
+ // optional string label = 1; |
+ inline bool has_label() const; |
+ inline void clear_label(); |
+ static const int kLabelFieldNumber = 1; |
+ inline const ::std::string& label() const; |
+ inline void set_label(const ::std::string& value); |
+ inline void set_label(const char* value); |
+ inline void set_label(const char* value, size_t size); |
+ inline ::std::string* mutable_label(); |
+ |
+ // optional string name_first = 2; |
+ inline bool has_name_first() const; |
+ inline void clear_name_first(); |
+ static const int kNameFirstFieldNumber = 2; |
+ inline const ::std::string& name_first() const; |
+ inline void set_name_first(const ::std::string& value); |
+ inline void set_name_first(const char* value); |
+ inline void set_name_first(const char* value, size_t size); |
+ inline ::std::string* mutable_name_first(); |
+ |
+ // optional string name_middle = 3; |
+ inline bool has_name_middle() const; |
+ inline void clear_name_middle(); |
+ static const int kNameMiddleFieldNumber = 3; |
+ inline const ::std::string& name_middle() const; |
+ inline void set_name_middle(const ::std::string& value); |
+ inline void set_name_middle(const char* value); |
+ inline void set_name_middle(const char* value, size_t size); |
+ inline ::std::string* mutable_name_middle(); |
+ |
+ // optional string name_last = 4; |
+ inline bool has_name_last() const; |
+ inline void clear_name_last(); |
+ static const int kNameLastFieldNumber = 4; |
+ inline const ::std::string& name_last() const; |
+ inline void set_name_last(const ::std::string& value); |
+ inline void set_name_last(const char* value); |
+ inline void set_name_last(const char* value, size_t size); |
+ inline ::std::string* mutable_name_last(); |
+ |
+ // optional string email_address = 5; |
+ inline bool has_email_address() const; |
+ inline void clear_email_address(); |
+ static const int kEmailAddressFieldNumber = 5; |
+ inline const ::std::string& email_address() const; |
+ inline void set_email_address(const ::std::string& value); |
+ inline void set_email_address(const char* value); |
+ inline void set_email_address(const char* value, size_t size); |
+ inline ::std::string* mutable_email_address(); |
+ |
+ // optional string company_name = 6; |
+ inline bool has_company_name() const; |
+ inline void clear_company_name(); |
+ static const int kCompanyNameFieldNumber = 6; |
+ inline const ::std::string& company_name() const; |
+ inline void set_company_name(const ::std::string& value); |
+ inline void set_company_name(const char* value); |
+ inline void set_company_name(const char* value, size_t size); |
+ inline ::std::string* mutable_company_name(); |
+ |
+ // optional string address_home_line1 = 7; |
+ inline bool has_address_home_line1() const; |
+ inline void clear_address_home_line1(); |
+ static const int kAddressHomeLine1FieldNumber = 7; |
+ inline const ::std::string& address_home_line1() const; |
+ inline void set_address_home_line1(const ::std::string& value); |
+ inline void set_address_home_line1(const char* value); |
+ inline void set_address_home_line1(const char* value, size_t size); |
+ inline ::std::string* mutable_address_home_line1(); |
+ |
+ // optional string address_home_line2 = 8; |
+ inline bool has_address_home_line2() const; |
+ inline void clear_address_home_line2(); |
+ static const int kAddressHomeLine2FieldNumber = 8; |
+ inline const ::std::string& address_home_line2() const; |
+ inline void set_address_home_line2(const ::std::string& value); |
+ inline void set_address_home_line2(const char* value); |
+ inline void set_address_home_line2(const char* value, size_t size); |
+ inline ::std::string* mutable_address_home_line2(); |
+ |
+ // optional string address_home_city = 9; |
+ inline bool has_address_home_city() const; |
+ inline void clear_address_home_city(); |
+ static const int kAddressHomeCityFieldNumber = 9; |
+ inline const ::std::string& address_home_city() const; |
+ inline void set_address_home_city(const ::std::string& value); |
+ inline void set_address_home_city(const char* value); |
+ inline void set_address_home_city(const char* value, size_t size); |
+ inline ::std::string* mutable_address_home_city(); |
+ |
+ // optional string address_home_state = 10; |
+ inline bool has_address_home_state() const; |
+ inline void clear_address_home_state(); |
+ static const int kAddressHomeStateFieldNumber = 10; |
+ inline const ::std::string& address_home_state() const; |
+ inline void set_address_home_state(const ::std::string& value); |
+ inline void set_address_home_state(const char* value); |
+ inline void set_address_home_state(const char* value, size_t size); |
+ inline ::std::string* mutable_address_home_state(); |
+ |
+ // optional string address_home_zip = 11; |
+ inline bool has_address_home_zip() const; |
+ inline void clear_address_home_zip(); |
+ static const int kAddressHomeZipFieldNumber = 11; |
+ inline const ::std::string& address_home_zip() const; |
+ inline void set_address_home_zip(const ::std::string& value); |
+ inline void set_address_home_zip(const char* value); |
+ inline void set_address_home_zip(const char* value, size_t size); |
+ inline ::std::string* mutable_address_home_zip(); |
+ |
+ // optional string address_home_country = 12; |
+ inline bool has_address_home_country() const; |
+ inline void clear_address_home_country(); |
+ static const int kAddressHomeCountryFieldNumber = 12; |
+ inline const ::std::string& address_home_country() const; |
+ inline void set_address_home_country(const ::std::string& value); |
+ inline void set_address_home_country(const char* value); |
+ inline void set_address_home_country(const char* value, size_t size); |
+ inline ::std::string* mutable_address_home_country(); |
+ |
+ // optional string phone_home_whole_number = 13; |
+ inline bool has_phone_home_whole_number() const; |
+ inline void clear_phone_home_whole_number(); |
+ static const int kPhoneHomeWholeNumberFieldNumber = 13; |
+ inline const ::std::string& phone_home_whole_number() const; |
+ inline void set_phone_home_whole_number(const ::std::string& value); |
+ inline void set_phone_home_whole_number(const char* value); |
+ inline void set_phone_home_whole_number(const char* value, size_t size); |
+ inline ::std::string* mutable_phone_home_whole_number(); |
+ |
+ // optional string phone_fax_whole_number = 14; |
+ inline bool has_phone_fax_whole_number() const; |
+ inline void clear_phone_fax_whole_number(); |
+ static const int kPhoneFaxWholeNumberFieldNumber = 14; |
+ inline const ::std::string& phone_fax_whole_number() const; |
+ inline void set_phone_fax_whole_number(const ::std::string& value); |
+ inline void set_phone_fax_whole_number(const char* value); |
+ inline void set_phone_fax_whole_number(const char* value, size_t size); |
+ inline ::std::string* mutable_phone_fax_whole_number(); |
+ |
+ // @@protoc_insertion_point(class_scope:sync_pb.AutofillProfileSpecifics) |
+ private: |
+ ::google::protobuf::UnknownFieldSet _unknown_fields_; |
+ mutable int _cached_size_; |
+ |
+ ::std::string* label_; |
+ static const ::std::string _default_label_; |
+ ::std::string* name_first_; |
+ static const ::std::string _default_name_first_; |
+ ::std::string* name_middle_; |
+ static const ::std::string _default_name_middle_; |
+ ::std::string* name_last_; |
+ static const ::std::string _default_name_last_; |
+ ::std::string* email_address_; |
+ static const ::std::string _default_email_address_; |
+ ::std::string* company_name_; |
+ static const ::std::string _default_company_name_; |
+ ::std::string* address_home_line1_; |
+ static const ::std::string _default_address_home_line1_; |
+ ::std::string* address_home_line2_; |
+ static const ::std::string _default_address_home_line2_; |
+ ::std::string* address_home_city_; |
+ static const ::std::string _default_address_home_city_; |
+ ::std::string* address_home_state_; |
+ static const ::std::string _default_address_home_state_; |
+ ::std::string* address_home_zip_; |
+ static const ::std::string _default_address_home_zip_; |
+ ::std::string* address_home_country_; |
+ static const ::std::string _default_address_home_country_; |
+ ::std::string* phone_home_whole_number_; |
+ static const ::std::string _default_phone_home_whole_number_; |
+ ::std::string* phone_fax_whole_number_; |
+ static const ::std::string _default_phone_fax_whole_number_; |
+ friend void protobuf_AddDesc_autofill_5fspecifics_2eproto(); |
+ friend void protobuf_AssignDesc_autofill_5fspecifics_2eproto(); |
+ friend void protobuf_ShutdownFile_autofill_5fspecifics_2eproto(); |
+ |
+ ::google::protobuf::uint32 _has_bits_[(14 + 31) / 32]; |
+ |
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? |
+ inline bool _has_bit(int index) const { |
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; |
+ } |
+ inline void _set_bit(int index) { |
+ _has_bits_[index / 32] |= (1u << (index % 32)); |
+ } |
+ inline void _clear_bit(int index) { |
+ _has_bits_[index / 32] &= ~(1u << (index % 32)); |
+ } |
+ |
+ void InitAsDefaultInstance(); |
+ static AutofillProfileSpecifics* default_instance_; |
+}; |
+// ------------------------------------------------------------------- |
+ |
+class AutofillProfile2Specifics : public ::google::protobuf::MessageLite { |
+ public: |
+ AutofillProfile2Specifics(); |
+ virtual ~AutofillProfile2Specifics(); |
+ |
+ AutofillProfile2Specifics(const AutofillProfile2Specifics& from); |
+ |
+ inline AutofillProfile2Specifics& operator=(const AutofillProfile2Specifics& from) { |
+ CopyFrom(from); |
+ return *this; |
+ } |
+ |
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
+ return _unknown_fields_; |
+ } |
+ |
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
+ return &_unknown_fields_; |
+ } |
+ |
+ static const AutofillProfile2Specifics& default_instance(); |
+ |
+ void Swap(AutofillProfile2Specifics* other); |
+ |
+ // implements Message ---------------------------------------------- |
+ |
+ AutofillProfile2Specifics* New() const; |
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); |
+ void CopyFrom(const AutofillProfile2Specifics& from); |
+ void MergeFrom(const AutofillProfile2Specifics& from); |
+ void Clear(); |
+ bool IsInitialized() const; |
+ |
+ int ByteSize() const; |
+ bool MergePartialFromCodedStream( |
+ ::google::protobuf::io::CodedInputStream* input); |
+ void SerializeWithCachedSizes( |
+ ::google::protobuf::io::CodedOutputStream* output) const; |
+ int GetCachedSize() const { return _cached_size_; } |
+ private: |
+ void SharedCtor(); |
+ void SharedDtor(); |
+ void SetCachedSize(int size) const; |
+ public: |
+ |
+ ::std::string GetTypeName() const; |
+ |
+ // nested types ---------------------------------------------------- |
+ |
+ // accessors ------------------------------------------------------- |
+ |
+ // optional string guid = 1; |
+ inline bool has_guid() const; |
+ inline void clear_guid(); |
+ static const int kGuidFieldNumber = 1; |
+ inline const ::std::string& guid() const; |
+ inline void set_guid(const ::std::string& value); |
+ inline void set_guid(const char* value); |
+ inline void set_guid(const char* value, size_t size); |
+ inline ::std::string* mutable_guid(); |
+ |
+ // optional string name_first = 2; |
+ inline bool has_name_first() const; |
+ inline void clear_name_first(); |
+ static const int kNameFirstFieldNumber = 2; |
+ inline const ::std::string& name_first() const; |
+ inline void set_name_first(const ::std::string& value); |
+ inline void set_name_first(const char* value); |
+ inline void set_name_first(const char* value, size_t size); |
+ inline ::std::string* mutable_name_first(); |
+ |
+ // optional string name_middle = 3; |
+ inline bool has_name_middle() const; |
+ inline void clear_name_middle(); |
+ static const int kNameMiddleFieldNumber = 3; |
+ inline const ::std::string& name_middle() const; |
+ inline void set_name_middle(const ::std::string& value); |
+ inline void set_name_middle(const char* value); |
+ inline void set_name_middle(const char* value, size_t size); |
+ inline ::std::string* mutable_name_middle(); |
+ |
+ // optional string name_last = 4; |
+ inline bool has_name_last() const; |
+ inline void clear_name_last(); |
+ static const int kNameLastFieldNumber = 4; |
+ inline const ::std::string& name_last() const; |
+ inline void set_name_last(const ::std::string& value); |
+ inline void set_name_last(const char* value); |
+ inline void set_name_last(const char* value, size_t size); |
+ inline ::std::string* mutable_name_last(); |
+ |
+ // optional string email_address = 5; |
+ inline bool has_email_address() const; |
+ inline void clear_email_address(); |
+ static const int kEmailAddressFieldNumber = 5; |
+ inline const ::std::string& email_address() const; |
+ inline void set_email_address(const ::std::string& value); |
+ inline void set_email_address(const char* value); |
+ inline void set_email_address(const char* value, size_t size); |
+ inline ::std::string* mutable_email_address(); |
+ |
+ // optional string company_name = 6; |
+ inline bool has_company_name() const; |
+ inline void clear_company_name(); |
+ static const int kCompanyNameFieldNumber = 6; |
+ inline const ::std::string& company_name() const; |
+ inline void set_company_name(const ::std::string& value); |
+ inline void set_company_name(const char* value); |
+ inline void set_company_name(const char* value, size_t size); |
+ inline ::std::string* mutable_company_name(); |
+ |
+ // optional string address_home_line1 = 7; |
+ inline bool has_address_home_line1() const; |
+ inline void clear_address_home_line1(); |
+ static const int kAddressHomeLine1FieldNumber = 7; |
+ inline const ::std::string& address_home_line1() const; |
+ inline void set_address_home_line1(const ::std::string& value); |
+ inline void set_address_home_line1(const char* value); |
+ inline void set_address_home_line1(const char* value, size_t size); |
+ inline ::std::string* mutable_address_home_line1(); |
+ |
+ // optional string address_home_line2 = 8; |
+ inline bool has_address_home_line2() const; |
+ inline void clear_address_home_line2(); |
+ static const int kAddressHomeLine2FieldNumber = 8; |
+ inline const ::std::string& address_home_line2() const; |
+ inline void set_address_home_line2(const ::std::string& value); |
+ inline void set_address_home_line2(const char* value); |
+ inline void set_address_home_line2(const char* value, size_t size); |
+ inline ::std::string* mutable_address_home_line2(); |
+ |
+ // optional string address_home_city = 9; |
+ inline bool has_address_home_city() const; |
+ inline void clear_address_home_city(); |
+ static const int kAddressHomeCityFieldNumber = 9; |
+ inline const ::std::string& address_home_city() const; |
+ inline void set_address_home_city(const ::std::string& value); |
+ inline void set_address_home_city(const char* value); |
+ inline void set_address_home_city(const char* value, size_t size); |
+ inline ::std::string* mutable_address_home_city(); |
+ |
+ // optional string address_home_state = 10; |
+ inline bool has_address_home_state() const; |
+ inline void clear_address_home_state(); |
+ static const int kAddressHomeStateFieldNumber = 10; |
+ inline const ::std::string& address_home_state() const; |
+ inline void set_address_home_state(const ::std::string& value); |
+ inline void set_address_home_state(const char* value); |
+ inline void set_address_home_state(const char* value, size_t size); |
+ inline ::std::string* mutable_address_home_state(); |
+ |
+ // optional string address_home_zip = 11; |
+ inline bool has_address_home_zip() const; |
+ inline void clear_address_home_zip(); |
+ static const int kAddressHomeZipFieldNumber = 11; |
+ inline const ::std::string& address_home_zip() const; |
+ inline void set_address_home_zip(const ::std::string& value); |
+ inline void set_address_home_zip(const char* value); |
+ inline void set_address_home_zip(const char* value, size_t size); |
+ inline ::std::string* mutable_address_home_zip(); |
+ |
+ // optional string address_home_country = 12; |
+ inline bool has_address_home_country() const; |
+ inline void clear_address_home_country(); |
+ static const int kAddressHomeCountryFieldNumber = 12; |
+ inline const ::std::string& address_home_country() const; |
+ inline void set_address_home_country(const ::std::string& value); |
+ inline void set_address_home_country(const char* value); |
+ inline void set_address_home_country(const char* value, size_t size); |
+ inline ::std::string* mutable_address_home_country(); |
+ |
+ // optional string phone_home_whole_number = 13; |
+ inline bool has_phone_home_whole_number() const; |
+ inline void clear_phone_home_whole_number(); |
+ static const int kPhoneHomeWholeNumberFieldNumber = 13; |
+ inline const ::std::string& phone_home_whole_number() const; |
+ inline void set_phone_home_whole_number(const ::std::string& value); |
+ inline void set_phone_home_whole_number(const char* value); |
+ inline void set_phone_home_whole_number(const char* value, size_t size); |
+ inline ::std::string* mutable_phone_home_whole_number(); |
+ |
+ // optional string phone_fax_whole_number = 14; |
+ inline bool has_phone_fax_whole_number() const; |
+ inline void clear_phone_fax_whole_number(); |
+ static const int kPhoneFaxWholeNumberFieldNumber = 14; |
+ inline const ::std::string& phone_fax_whole_number() const; |
+ inline void set_phone_fax_whole_number(const ::std::string& value); |
+ inline void set_phone_fax_whole_number(const char* value); |
+ inline void set_phone_fax_whole_number(const char* value, size_t size); |
+ inline ::std::string* mutable_phone_fax_whole_number(); |
+ |
+ // @@protoc_insertion_point(class_scope:sync_pb.AutofillProfile2Specifics) |
+ private: |
+ ::google::protobuf::UnknownFieldSet _unknown_fields_; |
+ mutable int _cached_size_; |
+ |
+ ::std::string* guid_; |
+ static const ::std::string _default_guid_; |
+ ::std::string* name_first_; |
+ static const ::std::string _default_name_first_; |
+ ::std::string* name_middle_; |
+ static const ::std::string _default_name_middle_; |
+ ::std::string* name_last_; |
+ static const ::std::string _default_name_last_; |
+ ::std::string* email_address_; |
+ static const ::std::string _default_email_address_; |
+ ::std::string* company_name_; |
+ static const ::std::string _default_company_name_; |
+ ::std::string* address_home_line1_; |
+ static const ::std::string _default_address_home_line1_; |
+ ::std::string* address_home_line2_; |
+ static const ::std::string _default_address_home_line2_; |
+ ::std::string* address_home_city_; |
+ static const ::std::string _default_address_home_city_; |
+ ::std::string* address_home_state_; |
+ static const ::std::string _default_address_home_state_; |
+ ::std::string* address_home_zip_; |
+ static const ::std::string _default_address_home_zip_; |
+ ::std::string* address_home_country_; |
+ static const ::std::string _default_address_home_country_; |
+ ::std::string* phone_home_whole_number_; |
+ static const ::std::string _default_phone_home_whole_number_; |
+ ::std::string* phone_fax_whole_number_; |
+ static const ::std::string _default_phone_fax_whole_number_; |
+ friend void protobuf_AddDesc_autofill_5fspecifics_2eproto(); |
+ friend void protobuf_AssignDesc_autofill_5fspecifics_2eproto(); |
+ friend void protobuf_ShutdownFile_autofill_5fspecifics_2eproto(); |
+ |
+ ::google::protobuf::uint32 _has_bits_[(14 + 31) / 32]; |
+ |
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? |
+ inline bool _has_bit(int index) const { |
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; |
+ } |
+ inline void _set_bit(int index) { |
+ _has_bits_[index / 32] |= (1u << (index % 32)); |
+ } |
+ inline void _clear_bit(int index) { |
+ _has_bits_[index / 32] &= ~(1u << (index % 32)); |
+ } |
+ |
+ void InitAsDefaultInstance(); |
+ static AutofillProfile2Specifics* default_instance_; |
+}; |
+// ------------------------------------------------------------------- |
+ |
+class AutofillCreditCardSpecifics : public ::google::protobuf::MessageLite { |
+ public: |
+ AutofillCreditCardSpecifics(); |
+ virtual ~AutofillCreditCardSpecifics(); |
+ |
+ AutofillCreditCardSpecifics(const AutofillCreditCardSpecifics& from); |
+ |
+ inline AutofillCreditCardSpecifics& operator=(const AutofillCreditCardSpecifics& from) { |
+ CopyFrom(from); |
+ return *this; |
+ } |
+ |
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
+ return _unknown_fields_; |
+ } |
+ |
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
+ return &_unknown_fields_; |
+ } |
+ |
+ static const AutofillCreditCardSpecifics& default_instance(); |
+ |
+ void Swap(AutofillCreditCardSpecifics* other); |
+ |
+ // implements Message ---------------------------------------------- |
+ |
+ AutofillCreditCardSpecifics* New() const; |
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); |
+ void CopyFrom(const AutofillCreditCardSpecifics& from); |
+ void MergeFrom(const AutofillCreditCardSpecifics& from); |
+ void Clear(); |
+ bool IsInitialized() const; |
+ |
+ int ByteSize() const; |
+ bool MergePartialFromCodedStream( |
+ ::google::protobuf::io::CodedInputStream* input); |
+ void SerializeWithCachedSizes( |
+ ::google::protobuf::io::CodedOutputStream* output) const; |
+ int GetCachedSize() const { return _cached_size_; } |
+ private: |
+ void SharedCtor(); |
+ void SharedDtor(); |
+ void SetCachedSize(int size) const; |
+ public: |
+ |
+ ::std::string GetTypeName() const; |
+ |
+ // nested types ---------------------------------------------------- |
+ |
+ // accessors ------------------------------------------------------- |
+ |
+ // optional string label = 1; |
+ inline bool has_label() const; |
+ inline void clear_label(); |
+ static const int kLabelFieldNumber = 1; |
+ inline const ::std::string& label() const; |
+ inline void set_label(const ::std::string& value); |
+ inline void set_label(const char* value); |
+ inline void set_label(const char* value, size_t size); |
+ inline ::std::string* mutable_label(); |
+ |
+ // optional string name_on_card = 2; |
+ inline bool has_name_on_card() const; |
+ inline void clear_name_on_card(); |
+ static const int kNameOnCardFieldNumber = 2; |
+ inline const ::std::string& name_on_card() const; |
+ inline void set_name_on_card(const ::std::string& value); |
+ inline void set_name_on_card(const char* value); |
+ inline void set_name_on_card(const char* value, size_t size); |
+ inline ::std::string* mutable_name_on_card(); |
+ |
+ // optional string type = 3; |
+ inline bool has_type() const; |
+ inline void clear_type(); |
+ static const int kTypeFieldNumber = 3; |
+ inline const ::std::string& type() const; |
+ inline void set_type(const ::std::string& value); |
+ inline void set_type(const char* value); |
+ inline void set_type(const char* value, size_t size); |
+ inline ::std::string* mutable_type(); |
+ |
+ // optional string card_number = 4; |
+ inline bool has_card_number() const; |
+ inline void clear_card_number(); |
+ static const int kCardNumberFieldNumber = 4; |
+ inline const ::std::string& card_number() const; |
+ inline void set_card_number(const ::std::string& value); |
+ inline void set_card_number(const char* value); |
+ inline void set_card_number(const char* value, size_t size); |
+ inline ::std::string* mutable_card_number(); |
+ |
+ // optional string expiration_month = 5; |
+ inline bool has_expiration_month() const; |
+ inline void clear_expiration_month(); |
+ static const int kExpirationMonthFieldNumber = 5; |
+ inline const ::std::string& expiration_month() const; |
+ inline void set_expiration_month(const ::std::string& value); |
+ inline void set_expiration_month(const char* value); |
+ inline void set_expiration_month(const char* value, size_t size); |
+ inline ::std::string* mutable_expiration_month(); |
+ |
+ // optional string expiration_year = 6; |
+ inline bool has_expiration_year() const; |
+ inline void clear_expiration_year(); |
+ static const int kExpirationYearFieldNumber = 6; |
+ inline const ::std::string& expiration_year() const; |
+ inline void set_expiration_year(const ::std::string& value); |
+ inline void set_expiration_year(const char* value); |
+ inline void set_expiration_year(const char* value, size_t size); |
+ inline ::std::string* mutable_expiration_year(); |
+ |
+ // optional string verification_code = 7; |
+ inline bool has_verification_code() const; |
+ inline void clear_verification_code(); |
+ static const int kVerificationCodeFieldNumber = 7; |
+ inline const ::std::string& verification_code() const; |
+ inline void set_verification_code(const ::std::string& value); |
+ inline void set_verification_code(const char* value); |
+ inline void set_verification_code(const char* value, size_t size); |
+ inline ::std::string* mutable_verification_code(); |
+ |
+ // optional string billing_address = 8; |
+ inline bool has_billing_address() const; |
+ inline void clear_billing_address(); |
+ static const int kBillingAddressFieldNumber = 8; |
+ inline const ::std::string& billing_address() const; |
+ inline void set_billing_address(const ::std::string& value); |
+ inline void set_billing_address(const char* value); |
+ inline void set_billing_address(const char* value, size_t size); |
+ inline ::std::string* mutable_billing_address(); |
+ |
+ // optional string shipping_address = 9; |
+ inline bool has_shipping_address() const; |
+ inline void clear_shipping_address(); |
+ static const int kShippingAddressFieldNumber = 9; |
+ inline const ::std::string& shipping_address() const; |
+ inline void set_shipping_address(const ::std::string& value); |
+ inline void set_shipping_address(const char* value); |
+ inline void set_shipping_address(const char* value, size_t size); |
+ inline ::std::string* mutable_shipping_address(); |
+ |
+ // @@protoc_insertion_point(class_scope:sync_pb.AutofillCreditCardSpecifics) |
+ private: |
+ ::google::protobuf::UnknownFieldSet _unknown_fields_; |
+ mutable int _cached_size_; |
+ |
+ ::std::string* label_; |
+ static const ::std::string _default_label_; |
+ ::std::string* name_on_card_; |
+ static const ::std::string _default_name_on_card_; |
+ ::std::string* type_; |
+ static const ::std::string _default_type_; |
+ ::std::string* card_number_; |
+ static const ::std::string _default_card_number_; |
+ ::std::string* expiration_month_; |
+ static const ::std::string _default_expiration_month_; |
+ ::std::string* expiration_year_; |
+ static const ::std::string _default_expiration_year_; |
+ ::std::string* verification_code_; |
+ static const ::std::string _default_verification_code_; |
+ ::std::string* billing_address_; |
+ static const ::std::string _default_billing_address_; |
+ ::std::string* shipping_address_; |
+ static const ::std::string _default_shipping_address_; |
+ friend void protobuf_AddDesc_autofill_5fspecifics_2eproto(); |
+ friend void protobuf_AssignDesc_autofill_5fspecifics_2eproto(); |
+ friend void protobuf_ShutdownFile_autofill_5fspecifics_2eproto(); |
+ |
+ ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32]; |
+ |
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? |
+ inline bool _has_bit(int index) const { |
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; |
+ } |
+ inline void _set_bit(int index) { |
+ _has_bits_[index / 32] |= (1u << (index % 32)); |
+ } |
+ inline void _clear_bit(int index) { |
+ _has_bits_[index / 32] &= ~(1u << (index % 32)); |
+ } |
+ |
+ void InitAsDefaultInstance(); |
+ static AutofillCreditCardSpecifics* default_instance_; |
+}; |
+// ------------------------------------------------------------------- |
+ |
+class AutofillSpecifics : public ::google::protobuf::MessageLite { |
+ public: |
+ AutofillSpecifics(); |
+ virtual ~AutofillSpecifics(); |
+ |
+ AutofillSpecifics(const AutofillSpecifics& from); |
+ |
+ inline AutofillSpecifics& operator=(const AutofillSpecifics& from) { |
+ CopyFrom(from); |
+ return *this; |
+ } |
+ |
+ inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
+ return _unknown_fields_; |
+ } |
+ |
+ inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
+ return &_unknown_fields_; |
+ } |
+ |
+ static const AutofillSpecifics& default_instance(); |
+ |
+ void Swap(AutofillSpecifics* other); |
+ |
+ // implements Message ---------------------------------------------- |
+ |
+ AutofillSpecifics* New() const; |
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); |
+ void CopyFrom(const AutofillSpecifics& from); |
+ void MergeFrom(const AutofillSpecifics& from); |
+ void Clear(); |
+ bool IsInitialized() const; |
+ |
+ int ByteSize() const; |
+ bool MergePartialFromCodedStream( |
+ ::google::protobuf::io::CodedInputStream* input); |
+ void SerializeWithCachedSizes( |
+ ::google::protobuf::io::CodedOutputStream* output) const; |
+ int GetCachedSize() const { return _cached_size_; } |
+ private: |
+ void SharedCtor(); |
+ void SharedDtor(); |
+ void SetCachedSize(int size) const; |
+ public: |
+ |
+ ::std::string GetTypeName() const; |
+ |
+ // nested types ---------------------------------------------------- |
+ |
+ // accessors ------------------------------------------------------- |
+ |
+ // optional string name = 1; |
+ inline bool has_name() const; |
+ inline void clear_name(); |
+ static const int kNameFieldNumber = 1; |
+ inline const ::std::string& name() const; |
+ inline void set_name(const ::std::string& value); |
+ inline void set_name(const char* value); |
+ inline void set_name(const char* value, size_t size); |
+ inline ::std::string* mutable_name(); |
+ |
+ // optional string value = 2; |
+ inline bool has_value() const; |
+ inline void clear_value(); |
+ static const int kValueFieldNumber = 2; |
+ inline const ::std::string& value() const; |
+ inline void set_value(const ::std::string& value); |
+ inline void set_value(const char* value); |
+ inline void set_value(const char* value, size_t size); |
+ inline ::std::string* mutable_value(); |
+ |
+ // repeated int64 usage_timestamp = 3; |
+ inline int usage_timestamp_size() const; |
+ inline void clear_usage_timestamp(); |
+ static const int kUsageTimestampFieldNumber = 3; |
+ inline ::google::protobuf::int64 usage_timestamp(int index) const; |
+ inline void set_usage_timestamp(int index, ::google::protobuf::int64 value); |
+ inline void add_usage_timestamp(::google::protobuf::int64 value); |
+ inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >& |
+ usage_timestamp() const; |
+ inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >* |
+ mutable_usage_timestamp(); |
+ |
+ // optional .sync_pb.AutofillProfileSpecifics profile = 4; |
+ inline bool has_profile() const; |
+ inline void clear_profile(); |
+ static const int kProfileFieldNumber = 4; |
+ inline const ::sync_pb::AutofillProfileSpecifics& profile() const; |
+ inline ::sync_pb::AutofillProfileSpecifics* mutable_profile(); |
+ |
+ // optional bytes encrypted_credit_card = 5; |
+ inline bool has_encrypted_credit_card() const; |
+ inline void clear_encrypted_credit_card(); |
+ static const int kEncryptedCreditCardFieldNumber = 5; |
+ inline const ::std::string& encrypted_credit_card() const; |
+ inline void set_encrypted_credit_card(const ::std::string& value); |
+ inline void set_encrypted_credit_card(const char* value); |
+ inline void set_encrypted_credit_card(const void* value, size_t size); |
+ inline ::std::string* mutable_encrypted_credit_card(); |
+ |
+ // optional .sync_pb.AutofillCreditCardSpecifics credit_card = 6; |
+ inline bool has_credit_card() const; |
+ inline void clear_credit_card(); |
+ static const int kCreditCardFieldNumber = 6; |
+ inline const ::sync_pb::AutofillCreditCardSpecifics& credit_card() const; |
+ inline ::sync_pb::AutofillCreditCardSpecifics* mutable_credit_card(); |
+ |
+ // @@protoc_insertion_point(class_scope:sync_pb.AutofillSpecifics) |
+ private: |
+ ::google::protobuf::UnknownFieldSet _unknown_fields_; |
+ mutable int _cached_size_; |
+ |
+ ::std::string* name_; |
+ static const ::std::string _default_name_; |
+ ::std::string* value_; |
+ static const ::std::string _default_value_; |
+ ::google::protobuf::RepeatedField< ::google::protobuf::int64 > usage_timestamp_; |
+ ::sync_pb::AutofillProfileSpecifics* profile_; |
+ ::std::string* encrypted_credit_card_; |
+ static const ::std::string _default_encrypted_credit_card_; |
+ ::sync_pb::AutofillCreditCardSpecifics* credit_card_; |
+ friend void protobuf_AddDesc_autofill_5fspecifics_2eproto(); |
+ friend void protobuf_AssignDesc_autofill_5fspecifics_2eproto(); |
+ friend void protobuf_ShutdownFile_autofill_5fspecifics_2eproto(); |
+ |
+ ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; |
+ |
+ // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? |
+ inline bool _has_bit(int index) const { |
+ return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; |
+ } |
+ inline void _set_bit(int index) { |
+ _has_bits_[index / 32] |= (1u << (index % 32)); |
+ } |
+ inline void _clear_bit(int index) { |
+ _has_bits_[index / 32] &= ~(1u << (index % 32)); |
+ } |
+ |
+ void InitAsDefaultInstance(); |
+ static AutofillSpecifics* default_instance_; |
+}; |
+// =================================================================== |
+ |
+static const int kAutofillFieldNumber = 31729; |
+extern ::google::protobuf::internal::ExtensionIdentifier< ::sync_pb::EntitySpecifics, |
+ ::google::protobuf::internal::MessageTypeTraits< ::sync_pb::AutofillSpecifics >, 11, false > |
+ autofill; |
+static const int kAutofillProfileFieldNumber = 63951; |
+extern ::google::protobuf::internal::ExtensionIdentifier< ::sync_pb::EntitySpecifics, |
+ ::google::protobuf::internal::MessageTypeTraits< ::sync_pb::AutofillProfile2Specifics >, 11, false > |
+ autofill_profile; |
+ |
+// =================================================================== |
+ |
+// AutofillProfileSpecifics |
+ |
+// optional string label = 1; |
+inline bool AutofillProfileSpecifics::has_label() const { |
+ return _has_bit(0); |
+} |
+inline void AutofillProfileSpecifics::clear_label() { |
+ if (label_ != &_default_label_) { |
+ label_->clear(); |
+ } |
+ _clear_bit(0); |
+} |
+inline const ::std::string& AutofillProfileSpecifics::label() const { |
+ return *label_; |
+} |
+inline void AutofillProfileSpecifics::set_label(const ::std::string& value) { |
+ _set_bit(0); |
+ if (label_ == &_default_label_) { |
+ label_ = new ::std::string; |
+ } |
+ label_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_label(const char* value) { |
+ _set_bit(0); |
+ if (label_ == &_default_label_) { |
+ label_ = new ::std::string; |
+ } |
+ label_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_label(const char* value, size_t size) { |
+ _set_bit(0); |
+ if (label_ == &_default_label_) { |
+ label_ = new ::std::string; |
+ } |
+ label_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfileSpecifics::mutable_label() { |
+ _set_bit(0); |
+ if (label_ == &_default_label_) { |
+ label_ = new ::std::string; |
+ } |
+ return label_; |
+} |
+ |
+// optional string name_first = 2; |
+inline bool AutofillProfileSpecifics::has_name_first() const { |
+ return _has_bit(1); |
+} |
+inline void AutofillProfileSpecifics::clear_name_first() { |
+ if (name_first_ != &_default_name_first_) { |
+ name_first_->clear(); |
+ } |
+ _clear_bit(1); |
+} |
+inline const ::std::string& AutofillProfileSpecifics::name_first() const { |
+ return *name_first_; |
+} |
+inline void AutofillProfileSpecifics::set_name_first(const ::std::string& value) { |
+ _set_bit(1); |
+ if (name_first_ == &_default_name_first_) { |
+ name_first_ = new ::std::string; |
+ } |
+ name_first_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_name_first(const char* value) { |
+ _set_bit(1); |
+ if (name_first_ == &_default_name_first_) { |
+ name_first_ = new ::std::string; |
+ } |
+ name_first_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_name_first(const char* value, size_t size) { |
+ _set_bit(1); |
+ if (name_first_ == &_default_name_first_) { |
+ name_first_ = new ::std::string; |
+ } |
+ name_first_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfileSpecifics::mutable_name_first() { |
+ _set_bit(1); |
+ if (name_first_ == &_default_name_first_) { |
+ name_first_ = new ::std::string; |
+ } |
+ return name_first_; |
+} |
+ |
+// optional string name_middle = 3; |
+inline bool AutofillProfileSpecifics::has_name_middle() const { |
+ return _has_bit(2); |
+} |
+inline void AutofillProfileSpecifics::clear_name_middle() { |
+ if (name_middle_ != &_default_name_middle_) { |
+ name_middle_->clear(); |
+ } |
+ _clear_bit(2); |
+} |
+inline const ::std::string& AutofillProfileSpecifics::name_middle() const { |
+ return *name_middle_; |
+} |
+inline void AutofillProfileSpecifics::set_name_middle(const ::std::string& value) { |
+ _set_bit(2); |
+ if (name_middle_ == &_default_name_middle_) { |
+ name_middle_ = new ::std::string; |
+ } |
+ name_middle_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_name_middle(const char* value) { |
+ _set_bit(2); |
+ if (name_middle_ == &_default_name_middle_) { |
+ name_middle_ = new ::std::string; |
+ } |
+ name_middle_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_name_middle(const char* value, size_t size) { |
+ _set_bit(2); |
+ if (name_middle_ == &_default_name_middle_) { |
+ name_middle_ = new ::std::string; |
+ } |
+ name_middle_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfileSpecifics::mutable_name_middle() { |
+ _set_bit(2); |
+ if (name_middle_ == &_default_name_middle_) { |
+ name_middle_ = new ::std::string; |
+ } |
+ return name_middle_; |
+} |
+ |
+// optional string name_last = 4; |
+inline bool AutofillProfileSpecifics::has_name_last() const { |
+ return _has_bit(3); |
+} |
+inline void AutofillProfileSpecifics::clear_name_last() { |
+ if (name_last_ != &_default_name_last_) { |
+ name_last_->clear(); |
+ } |
+ _clear_bit(3); |
+} |
+inline const ::std::string& AutofillProfileSpecifics::name_last() const { |
+ return *name_last_; |
+} |
+inline void AutofillProfileSpecifics::set_name_last(const ::std::string& value) { |
+ _set_bit(3); |
+ if (name_last_ == &_default_name_last_) { |
+ name_last_ = new ::std::string; |
+ } |
+ name_last_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_name_last(const char* value) { |
+ _set_bit(3); |
+ if (name_last_ == &_default_name_last_) { |
+ name_last_ = new ::std::string; |
+ } |
+ name_last_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_name_last(const char* value, size_t size) { |
+ _set_bit(3); |
+ if (name_last_ == &_default_name_last_) { |
+ name_last_ = new ::std::string; |
+ } |
+ name_last_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfileSpecifics::mutable_name_last() { |
+ _set_bit(3); |
+ if (name_last_ == &_default_name_last_) { |
+ name_last_ = new ::std::string; |
+ } |
+ return name_last_; |
+} |
+ |
+// optional string email_address = 5; |
+inline bool AutofillProfileSpecifics::has_email_address() const { |
+ return _has_bit(4); |
+} |
+inline void AutofillProfileSpecifics::clear_email_address() { |
+ if (email_address_ != &_default_email_address_) { |
+ email_address_->clear(); |
+ } |
+ _clear_bit(4); |
+} |
+inline const ::std::string& AutofillProfileSpecifics::email_address() const { |
+ return *email_address_; |
+} |
+inline void AutofillProfileSpecifics::set_email_address(const ::std::string& value) { |
+ _set_bit(4); |
+ if (email_address_ == &_default_email_address_) { |
+ email_address_ = new ::std::string; |
+ } |
+ email_address_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_email_address(const char* value) { |
+ _set_bit(4); |
+ if (email_address_ == &_default_email_address_) { |
+ email_address_ = new ::std::string; |
+ } |
+ email_address_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_email_address(const char* value, size_t size) { |
+ _set_bit(4); |
+ if (email_address_ == &_default_email_address_) { |
+ email_address_ = new ::std::string; |
+ } |
+ email_address_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfileSpecifics::mutable_email_address() { |
+ _set_bit(4); |
+ if (email_address_ == &_default_email_address_) { |
+ email_address_ = new ::std::string; |
+ } |
+ return email_address_; |
+} |
+ |
+// optional string company_name = 6; |
+inline bool AutofillProfileSpecifics::has_company_name() const { |
+ return _has_bit(5); |
+} |
+inline void AutofillProfileSpecifics::clear_company_name() { |
+ if (company_name_ != &_default_company_name_) { |
+ company_name_->clear(); |
+ } |
+ _clear_bit(5); |
+} |
+inline const ::std::string& AutofillProfileSpecifics::company_name() const { |
+ return *company_name_; |
+} |
+inline void AutofillProfileSpecifics::set_company_name(const ::std::string& value) { |
+ _set_bit(5); |
+ if (company_name_ == &_default_company_name_) { |
+ company_name_ = new ::std::string; |
+ } |
+ company_name_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_company_name(const char* value) { |
+ _set_bit(5); |
+ if (company_name_ == &_default_company_name_) { |
+ company_name_ = new ::std::string; |
+ } |
+ company_name_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_company_name(const char* value, size_t size) { |
+ _set_bit(5); |
+ if (company_name_ == &_default_company_name_) { |
+ company_name_ = new ::std::string; |
+ } |
+ company_name_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfileSpecifics::mutable_company_name() { |
+ _set_bit(5); |
+ if (company_name_ == &_default_company_name_) { |
+ company_name_ = new ::std::string; |
+ } |
+ return company_name_; |
+} |
+ |
+// optional string address_home_line1 = 7; |
+inline bool AutofillProfileSpecifics::has_address_home_line1() const { |
+ return _has_bit(6); |
+} |
+inline void AutofillProfileSpecifics::clear_address_home_line1() { |
+ if (address_home_line1_ != &_default_address_home_line1_) { |
+ address_home_line1_->clear(); |
+ } |
+ _clear_bit(6); |
+} |
+inline const ::std::string& AutofillProfileSpecifics::address_home_line1() const { |
+ return *address_home_line1_; |
+} |
+inline void AutofillProfileSpecifics::set_address_home_line1(const ::std::string& value) { |
+ _set_bit(6); |
+ if (address_home_line1_ == &_default_address_home_line1_) { |
+ address_home_line1_ = new ::std::string; |
+ } |
+ address_home_line1_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_address_home_line1(const char* value) { |
+ _set_bit(6); |
+ if (address_home_line1_ == &_default_address_home_line1_) { |
+ address_home_line1_ = new ::std::string; |
+ } |
+ address_home_line1_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_address_home_line1(const char* value, size_t size) { |
+ _set_bit(6); |
+ if (address_home_line1_ == &_default_address_home_line1_) { |
+ address_home_line1_ = new ::std::string; |
+ } |
+ address_home_line1_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfileSpecifics::mutable_address_home_line1() { |
+ _set_bit(6); |
+ if (address_home_line1_ == &_default_address_home_line1_) { |
+ address_home_line1_ = new ::std::string; |
+ } |
+ return address_home_line1_; |
+} |
+ |
+// optional string address_home_line2 = 8; |
+inline bool AutofillProfileSpecifics::has_address_home_line2() const { |
+ return _has_bit(7); |
+} |
+inline void AutofillProfileSpecifics::clear_address_home_line2() { |
+ if (address_home_line2_ != &_default_address_home_line2_) { |
+ address_home_line2_->clear(); |
+ } |
+ _clear_bit(7); |
+} |
+inline const ::std::string& AutofillProfileSpecifics::address_home_line2() const { |
+ return *address_home_line2_; |
+} |
+inline void AutofillProfileSpecifics::set_address_home_line2(const ::std::string& value) { |
+ _set_bit(7); |
+ if (address_home_line2_ == &_default_address_home_line2_) { |
+ address_home_line2_ = new ::std::string; |
+ } |
+ address_home_line2_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_address_home_line2(const char* value) { |
+ _set_bit(7); |
+ if (address_home_line2_ == &_default_address_home_line2_) { |
+ address_home_line2_ = new ::std::string; |
+ } |
+ address_home_line2_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_address_home_line2(const char* value, size_t size) { |
+ _set_bit(7); |
+ if (address_home_line2_ == &_default_address_home_line2_) { |
+ address_home_line2_ = new ::std::string; |
+ } |
+ address_home_line2_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfileSpecifics::mutable_address_home_line2() { |
+ _set_bit(7); |
+ if (address_home_line2_ == &_default_address_home_line2_) { |
+ address_home_line2_ = new ::std::string; |
+ } |
+ return address_home_line2_; |
+} |
+ |
+// optional string address_home_city = 9; |
+inline bool AutofillProfileSpecifics::has_address_home_city() const { |
+ return _has_bit(8); |
+} |
+inline void AutofillProfileSpecifics::clear_address_home_city() { |
+ if (address_home_city_ != &_default_address_home_city_) { |
+ address_home_city_->clear(); |
+ } |
+ _clear_bit(8); |
+} |
+inline const ::std::string& AutofillProfileSpecifics::address_home_city() const { |
+ return *address_home_city_; |
+} |
+inline void AutofillProfileSpecifics::set_address_home_city(const ::std::string& value) { |
+ _set_bit(8); |
+ if (address_home_city_ == &_default_address_home_city_) { |
+ address_home_city_ = new ::std::string; |
+ } |
+ address_home_city_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_address_home_city(const char* value) { |
+ _set_bit(8); |
+ if (address_home_city_ == &_default_address_home_city_) { |
+ address_home_city_ = new ::std::string; |
+ } |
+ address_home_city_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_address_home_city(const char* value, size_t size) { |
+ _set_bit(8); |
+ if (address_home_city_ == &_default_address_home_city_) { |
+ address_home_city_ = new ::std::string; |
+ } |
+ address_home_city_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfileSpecifics::mutable_address_home_city() { |
+ _set_bit(8); |
+ if (address_home_city_ == &_default_address_home_city_) { |
+ address_home_city_ = new ::std::string; |
+ } |
+ return address_home_city_; |
+} |
+ |
+// optional string address_home_state = 10; |
+inline bool AutofillProfileSpecifics::has_address_home_state() const { |
+ return _has_bit(9); |
+} |
+inline void AutofillProfileSpecifics::clear_address_home_state() { |
+ if (address_home_state_ != &_default_address_home_state_) { |
+ address_home_state_->clear(); |
+ } |
+ _clear_bit(9); |
+} |
+inline const ::std::string& AutofillProfileSpecifics::address_home_state() const { |
+ return *address_home_state_; |
+} |
+inline void AutofillProfileSpecifics::set_address_home_state(const ::std::string& value) { |
+ _set_bit(9); |
+ if (address_home_state_ == &_default_address_home_state_) { |
+ address_home_state_ = new ::std::string; |
+ } |
+ address_home_state_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_address_home_state(const char* value) { |
+ _set_bit(9); |
+ if (address_home_state_ == &_default_address_home_state_) { |
+ address_home_state_ = new ::std::string; |
+ } |
+ address_home_state_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_address_home_state(const char* value, size_t size) { |
+ _set_bit(9); |
+ if (address_home_state_ == &_default_address_home_state_) { |
+ address_home_state_ = new ::std::string; |
+ } |
+ address_home_state_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfileSpecifics::mutable_address_home_state() { |
+ _set_bit(9); |
+ if (address_home_state_ == &_default_address_home_state_) { |
+ address_home_state_ = new ::std::string; |
+ } |
+ return address_home_state_; |
+} |
+ |
+// optional string address_home_zip = 11; |
+inline bool AutofillProfileSpecifics::has_address_home_zip() const { |
+ return _has_bit(10); |
+} |
+inline void AutofillProfileSpecifics::clear_address_home_zip() { |
+ if (address_home_zip_ != &_default_address_home_zip_) { |
+ address_home_zip_->clear(); |
+ } |
+ _clear_bit(10); |
+} |
+inline const ::std::string& AutofillProfileSpecifics::address_home_zip() const { |
+ return *address_home_zip_; |
+} |
+inline void AutofillProfileSpecifics::set_address_home_zip(const ::std::string& value) { |
+ _set_bit(10); |
+ if (address_home_zip_ == &_default_address_home_zip_) { |
+ address_home_zip_ = new ::std::string; |
+ } |
+ address_home_zip_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_address_home_zip(const char* value) { |
+ _set_bit(10); |
+ if (address_home_zip_ == &_default_address_home_zip_) { |
+ address_home_zip_ = new ::std::string; |
+ } |
+ address_home_zip_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_address_home_zip(const char* value, size_t size) { |
+ _set_bit(10); |
+ if (address_home_zip_ == &_default_address_home_zip_) { |
+ address_home_zip_ = new ::std::string; |
+ } |
+ address_home_zip_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfileSpecifics::mutable_address_home_zip() { |
+ _set_bit(10); |
+ if (address_home_zip_ == &_default_address_home_zip_) { |
+ address_home_zip_ = new ::std::string; |
+ } |
+ return address_home_zip_; |
+} |
+ |
+// optional string address_home_country = 12; |
+inline bool AutofillProfileSpecifics::has_address_home_country() const { |
+ return _has_bit(11); |
+} |
+inline void AutofillProfileSpecifics::clear_address_home_country() { |
+ if (address_home_country_ != &_default_address_home_country_) { |
+ address_home_country_->clear(); |
+ } |
+ _clear_bit(11); |
+} |
+inline const ::std::string& AutofillProfileSpecifics::address_home_country() const { |
+ return *address_home_country_; |
+} |
+inline void AutofillProfileSpecifics::set_address_home_country(const ::std::string& value) { |
+ _set_bit(11); |
+ if (address_home_country_ == &_default_address_home_country_) { |
+ address_home_country_ = new ::std::string; |
+ } |
+ address_home_country_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_address_home_country(const char* value) { |
+ _set_bit(11); |
+ if (address_home_country_ == &_default_address_home_country_) { |
+ address_home_country_ = new ::std::string; |
+ } |
+ address_home_country_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_address_home_country(const char* value, size_t size) { |
+ _set_bit(11); |
+ if (address_home_country_ == &_default_address_home_country_) { |
+ address_home_country_ = new ::std::string; |
+ } |
+ address_home_country_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfileSpecifics::mutable_address_home_country() { |
+ _set_bit(11); |
+ if (address_home_country_ == &_default_address_home_country_) { |
+ address_home_country_ = new ::std::string; |
+ } |
+ return address_home_country_; |
+} |
+ |
+// optional string phone_home_whole_number = 13; |
+inline bool AutofillProfileSpecifics::has_phone_home_whole_number() const { |
+ return _has_bit(12); |
+} |
+inline void AutofillProfileSpecifics::clear_phone_home_whole_number() { |
+ if (phone_home_whole_number_ != &_default_phone_home_whole_number_) { |
+ phone_home_whole_number_->clear(); |
+ } |
+ _clear_bit(12); |
+} |
+inline const ::std::string& AutofillProfileSpecifics::phone_home_whole_number() const { |
+ return *phone_home_whole_number_; |
+} |
+inline void AutofillProfileSpecifics::set_phone_home_whole_number(const ::std::string& value) { |
+ _set_bit(12); |
+ if (phone_home_whole_number_ == &_default_phone_home_whole_number_) { |
+ phone_home_whole_number_ = new ::std::string; |
+ } |
+ phone_home_whole_number_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_phone_home_whole_number(const char* value) { |
+ _set_bit(12); |
+ if (phone_home_whole_number_ == &_default_phone_home_whole_number_) { |
+ phone_home_whole_number_ = new ::std::string; |
+ } |
+ phone_home_whole_number_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_phone_home_whole_number(const char* value, size_t size) { |
+ _set_bit(12); |
+ if (phone_home_whole_number_ == &_default_phone_home_whole_number_) { |
+ phone_home_whole_number_ = new ::std::string; |
+ } |
+ phone_home_whole_number_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfileSpecifics::mutable_phone_home_whole_number() { |
+ _set_bit(12); |
+ if (phone_home_whole_number_ == &_default_phone_home_whole_number_) { |
+ phone_home_whole_number_ = new ::std::string; |
+ } |
+ return phone_home_whole_number_; |
+} |
+ |
+// optional string phone_fax_whole_number = 14; |
+inline bool AutofillProfileSpecifics::has_phone_fax_whole_number() const { |
+ return _has_bit(13); |
+} |
+inline void AutofillProfileSpecifics::clear_phone_fax_whole_number() { |
+ if (phone_fax_whole_number_ != &_default_phone_fax_whole_number_) { |
+ phone_fax_whole_number_->clear(); |
+ } |
+ _clear_bit(13); |
+} |
+inline const ::std::string& AutofillProfileSpecifics::phone_fax_whole_number() const { |
+ return *phone_fax_whole_number_; |
+} |
+inline void AutofillProfileSpecifics::set_phone_fax_whole_number(const ::std::string& value) { |
+ _set_bit(13); |
+ if (phone_fax_whole_number_ == &_default_phone_fax_whole_number_) { |
+ phone_fax_whole_number_ = new ::std::string; |
+ } |
+ phone_fax_whole_number_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_phone_fax_whole_number(const char* value) { |
+ _set_bit(13); |
+ if (phone_fax_whole_number_ == &_default_phone_fax_whole_number_) { |
+ phone_fax_whole_number_ = new ::std::string; |
+ } |
+ phone_fax_whole_number_->assign(value); |
+} |
+inline void AutofillProfileSpecifics::set_phone_fax_whole_number(const char* value, size_t size) { |
+ _set_bit(13); |
+ if (phone_fax_whole_number_ == &_default_phone_fax_whole_number_) { |
+ phone_fax_whole_number_ = new ::std::string; |
+ } |
+ phone_fax_whole_number_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfileSpecifics::mutable_phone_fax_whole_number() { |
+ _set_bit(13); |
+ if (phone_fax_whole_number_ == &_default_phone_fax_whole_number_) { |
+ phone_fax_whole_number_ = new ::std::string; |
+ } |
+ return phone_fax_whole_number_; |
+} |
+ |
+// ------------------------------------------------------------------- |
+ |
+// AutofillProfile2Specifics |
+ |
+// optional string guid = 1; |
+inline bool AutofillProfile2Specifics::has_guid() const { |
+ return _has_bit(0); |
+} |
+inline void AutofillProfile2Specifics::clear_guid() { |
+ if (guid_ != &_default_guid_) { |
+ guid_->clear(); |
+ } |
+ _clear_bit(0); |
+} |
+inline const ::std::string& AutofillProfile2Specifics::guid() const { |
+ return *guid_; |
+} |
+inline void AutofillProfile2Specifics::set_guid(const ::std::string& value) { |
+ _set_bit(0); |
+ if (guid_ == &_default_guid_) { |
+ guid_ = new ::std::string; |
+ } |
+ guid_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_guid(const char* value) { |
+ _set_bit(0); |
+ if (guid_ == &_default_guid_) { |
+ guid_ = new ::std::string; |
+ } |
+ guid_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_guid(const char* value, size_t size) { |
+ _set_bit(0); |
+ if (guid_ == &_default_guid_) { |
+ guid_ = new ::std::string; |
+ } |
+ guid_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfile2Specifics::mutable_guid() { |
+ _set_bit(0); |
+ if (guid_ == &_default_guid_) { |
+ guid_ = new ::std::string; |
+ } |
+ return guid_; |
+} |
+ |
+// optional string name_first = 2; |
+inline bool AutofillProfile2Specifics::has_name_first() const { |
+ return _has_bit(1); |
+} |
+inline void AutofillProfile2Specifics::clear_name_first() { |
+ if (name_first_ != &_default_name_first_) { |
+ name_first_->clear(); |
+ } |
+ _clear_bit(1); |
+} |
+inline const ::std::string& AutofillProfile2Specifics::name_first() const { |
+ return *name_first_; |
+} |
+inline void AutofillProfile2Specifics::set_name_first(const ::std::string& value) { |
+ _set_bit(1); |
+ if (name_first_ == &_default_name_first_) { |
+ name_first_ = new ::std::string; |
+ } |
+ name_first_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_name_first(const char* value) { |
+ _set_bit(1); |
+ if (name_first_ == &_default_name_first_) { |
+ name_first_ = new ::std::string; |
+ } |
+ name_first_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_name_first(const char* value, size_t size) { |
+ _set_bit(1); |
+ if (name_first_ == &_default_name_first_) { |
+ name_first_ = new ::std::string; |
+ } |
+ name_first_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfile2Specifics::mutable_name_first() { |
+ _set_bit(1); |
+ if (name_first_ == &_default_name_first_) { |
+ name_first_ = new ::std::string; |
+ } |
+ return name_first_; |
+} |
+ |
+// optional string name_middle = 3; |
+inline bool AutofillProfile2Specifics::has_name_middle() const { |
+ return _has_bit(2); |
+} |
+inline void AutofillProfile2Specifics::clear_name_middle() { |
+ if (name_middle_ != &_default_name_middle_) { |
+ name_middle_->clear(); |
+ } |
+ _clear_bit(2); |
+} |
+inline const ::std::string& AutofillProfile2Specifics::name_middle() const { |
+ return *name_middle_; |
+} |
+inline void AutofillProfile2Specifics::set_name_middle(const ::std::string& value) { |
+ _set_bit(2); |
+ if (name_middle_ == &_default_name_middle_) { |
+ name_middle_ = new ::std::string; |
+ } |
+ name_middle_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_name_middle(const char* value) { |
+ _set_bit(2); |
+ if (name_middle_ == &_default_name_middle_) { |
+ name_middle_ = new ::std::string; |
+ } |
+ name_middle_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_name_middle(const char* value, size_t size) { |
+ _set_bit(2); |
+ if (name_middle_ == &_default_name_middle_) { |
+ name_middle_ = new ::std::string; |
+ } |
+ name_middle_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfile2Specifics::mutable_name_middle() { |
+ _set_bit(2); |
+ if (name_middle_ == &_default_name_middle_) { |
+ name_middle_ = new ::std::string; |
+ } |
+ return name_middle_; |
+} |
+ |
+// optional string name_last = 4; |
+inline bool AutofillProfile2Specifics::has_name_last() const { |
+ return _has_bit(3); |
+} |
+inline void AutofillProfile2Specifics::clear_name_last() { |
+ if (name_last_ != &_default_name_last_) { |
+ name_last_->clear(); |
+ } |
+ _clear_bit(3); |
+} |
+inline const ::std::string& AutofillProfile2Specifics::name_last() const { |
+ return *name_last_; |
+} |
+inline void AutofillProfile2Specifics::set_name_last(const ::std::string& value) { |
+ _set_bit(3); |
+ if (name_last_ == &_default_name_last_) { |
+ name_last_ = new ::std::string; |
+ } |
+ name_last_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_name_last(const char* value) { |
+ _set_bit(3); |
+ if (name_last_ == &_default_name_last_) { |
+ name_last_ = new ::std::string; |
+ } |
+ name_last_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_name_last(const char* value, size_t size) { |
+ _set_bit(3); |
+ if (name_last_ == &_default_name_last_) { |
+ name_last_ = new ::std::string; |
+ } |
+ name_last_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfile2Specifics::mutable_name_last() { |
+ _set_bit(3); |
+ if (name_last_ == &_default_name_last_) { |
+ name_last_ = new ::std::string; |
+ } |
+ return name_last_; |
+} |
+ |
+// optional string email_address = 5; |
+inline bool AutofillProfile2Specifics::has_email_address() const { |
+ return _has_bit(4); |
+} |
+inline void AutofillProfile2Specifics::clear_email_address() { |
+ if (email_address_ != &_default_email_address_) { |
+ email_address_->clear(); |
+ } |
+ _clear_bit(4); |
+} |
+inline const ::std::string& AutofillProfile2Specifics::email_address() const { |
+ return *email_address_; |
+} |
+inline void AutofillProfile2Specifics::set_email_address(const ::std::string& value) { |
+ _set_bit(4); |
+ if (email_address_ == &_default_email_address_) { |
+ email_address_ = new ::std::string; |
+ } |
+ email_address_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_email_address(const char* value) { |
+ _set_bit(4); |
+ if (email_address_ == &_default_email_address_) { |
+ email_address_ = new ::std::string; |
+ } |
+ email_address_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_email_address(const char* value, size_t size) { |
+ _set_bit(4); |
+ if (email_address_ == &_default_email_address_) { |
+ email_address_ = new ::std::string; |
+ } |
+ email_address_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfile2Specifics::mutable_email_address() { |
+ _set_bit(4); |
+ if (email_address_ == &_default_email_address_) { |
+ email_address_ = new ::std::string; |
+ } |
+ return email_address_; |
+} |
+ |
+// optional string company_name = 6; |
+inline bool AutofillProfile2Specifics::has_company_name() const { |
+ return _has_bit(5); |
+} |
+inline void AutofillProfile2Specifics::clear_company_name() { |
+ if (company_name_ != &_default_company_name_) { |
+ company_name_->clear(); |
+ } |
+ _clear_bit(5); |
+} |
+inline const ::std::string& AutofillProfile2Specifics::company_name() const { |
+ return *company_name_; |
+} |
+inline void AutofillProfile2Specifics::set_company_name(const ::std::string& value) { |
+ _set_bit(5); |
+ if (company_name_ == &_default_company_name_) { |
+ company_name_ = new ::std::string; |
+ } |
+ company_name_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_company_name(const char* value) { |
+ _set_bit(5); |
+ if (company_name_ == &_default_company_name_) { |
+ company_name_ = new ::std::string; |
+ } |
+ company_name_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_company_name(const char* value, size_t size) { |
+ _set_bit(5); |
+ if (company_name_ == &_default_company_name_) { |
+ company_name_ = new ::std::string; |
+ } |
+ company_name_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfile2Specifics::mutable_company_name() { |
+ _set_bit(5); |
+ if (company_name_ == &_default_company_name_) { |
+ company_name_ = new ::std::string; |
+ } |
+ return company_name_; |
+} |
+ |
+// optional string address_home_line1 = 7; |
+inline bool AutofillProfile2Specifics::has_address_home_line1() const { |
+ return _has_bit(6); |
+} |
+inline void AutofillProfile2Specifics::clear_address_home_line1() { |
+ if (address_home_line1_ != &_default_address_home_line1_) { |
+ address_home_line1_->clear(); |
+ } |
+ _clear_bit(6); |
+} |
+inline const ::std::string& AutofillProfile2Specifics::address_home_line1() const { |
+ return *address_home_line1_; |
+} |
+inline void AutofillProfile2Specifics::set_address_home_line1(const ::std::string& value) { |
+ _set_bit(6); |
+ if (address_home_line1_ == &_default_address_home_line1_) { |
+ address_home_line1_ = new ::std::string; |
+ } |
+ address_home_line1_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_address_home_line1(const char* value) { |
+ _set_bit(6); |
+ if (address_home_line1_ == &_default_address_home_line1_) { |
+ address_home_line1_ = new ::std::string; |
+ } |
+ address_home_line1_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_address_home_line1(const char* value, size_t size) { |
+ _set_bit(6); |
+ if (address_home_line1_ == &_default_address_home_line1_) { |
+ address_home_line1_ = new ::std::string; |
+ } |
+ address_home_line1_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfile2Specifics::mutable_address_home_line1() { |
+ _set_bit(6); |
+ if (address_home_line1_ == &_default_address_home_line1_) { |
+ address_home_line1_ = new ::std::string; |
+ } |
+ return address_home_line1_; |
+} |
+ |
+// optional string address_home_line2 = 8; |
+inline bool AutofillProfile2Specifics::has_address_home_line2() const { |
+ return _has_bit(7); |
+} |
+inline void AutofillProfile2Specifics::clear_address_home_line2() { |
+ if (address_home_line2_ != &_default_address_home_line2_) { |
+ address_home_line2_->clear(); |
+ } |
+ _clear_bit(7); |
+} |
+inline const ::std::string& AutofillProfile2Specifics::address_home_line2() const { |
+ return *address_home_line2_; |
+} |
+inline void AutofillProfile2Specifics::set_address_home_line2(const ::std::string& value) { |
+ _set_bit(7); |
+ if (address_home_line2_ == &_default_address_home_line2_) { |
+ address_home_line2_ = new ::std::string; |
+ } |
+ address_home_line2_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_address_home_line2(const char* value) { |
+ _set_bit(7); |
+ if (address_home_line2_ == &_default_address_home_line2_) { |
+ address_home_line2_ = new ::std::string; |
+ } |
+ address_home_line2_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_address_home_line2(const char* value, size_t size) { |
+ _set_bit(7); |
+ if (address_home_line2_ == &_default_address_home_line2_) { |
+ address_home_line2_ = new ::std::string; |
+ } |
+ address_home_line2_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfile2Specifics::mutable_address_home_line2() { |
+ _set_bit(7); |
+ if (address_home_line2_ == &_default_address_home_line2_) { |
+ address_home_line2_ = new ::std::string; |
+ } |
+ return address_home_line2_; |
+} |
+ |
+// optional string address_home_city = 9; |
+inline bool AutofillProfile2Specifics::has_address_home_city() const { |
+ return _has_bit(8); |
+} |
+inline void AutofillProfile2Specifics::clear_address_home_city() { |
+ if (address_home_city_ != &_default_address_home_city_) { |
+ address_home_city_->clear(); |
+ } |
+ _clear_bit(8); |
+} |
+inline const ::std::string& AutofillProfile2Specifics::address_home_city() const { |
+ return *address_home_city_; |
+} |
+inline void AutofillProfile2Specifics::set_address_home_city(const ::std::string& value) { |
+ _set_bit(8); |
+ if (address_home_city_ == &_default_address_home_city_) { |
+ address_home_city_ = new ::std::string; |
+ } |
+ address_home_city_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_address_home_city(const char* value) { |
+ _set_bit(8); |
+ if (address_home_city_ == &_default_address_home_city_) { |
+ address_home_city_ = new ::std::string; |
+ } |
+ address_home_city_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_address_home_city(const char* value, size_t size) { |
+ _set_bit(8); |
+ if (address_home_city_ == &_default_address_home_city_) { |
+ address_home_city_ = new ::std::string; |
+ } |
+ address_home_city_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfile2Specifics::mutable_address_home_city() { |
+ _set_bit(8); |
+ if (address_home_city_ == &_default_address_home_city_) { |
+ address_home_city_ = new ::std::string; |
+ } |
+ return address_home_city_; |
+} |
+ |
+// optional string address_home_state = 10; |
+inline bool AutofillProfile2Specifics::has_address_home_state() const { |
+ return _has_bit(9); |
+} |
+inline void AutofillProfile2Specifics::clear_address_home_state() { |
+ if (address_home_state_ != &_default_address_home_state_) { |
+ address_home_state_->clear(); |
+ } |
+ _clear_bit(9); |
+} |
+inline const ::std::string& AutofillProfile2Specifics::address_home_state() const { |
+ return *address_home_state_; |
+} |
+inline void AutofillProfile2Specifics::set_address_home_state(const ::std::string& value) { |
+ _set_bit(9); |
+ if (address_home_state_ == &_default_address_home_state_) { |
+ address_home_state_ = new ::std::string; |
+ } |
+ address_home_state_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_address_home_state(const char* value) { |
+ _set_bit(9); |
+ if (address_home_state_ == &_default_address_home_state_) { |
+ address_home_state_ = new ::std::string; |
+ } |
+ address_home_state_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_address_home_state(const char* value, size_t size) { |
+ _set_bit(9); |
+ if (address_home_state_ == &_default_address_home_state_) { |
+ address_home_state_ = new ::std::string; |
+ } |
+ address_home_state_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfile2Specifics::mutable_address_home_state() { |
+ _set_bit(9); |
+ if (address_home_state_ == &_default_address_home_state_) { |
+ address_home_state_ = new ::std::string; |
+ } |
+ return address_home_state_; |
+} |
+ |
+// optional string address_home_zip = 11; |
+inline bool AutofillProfile2Specifics::has_address_home_zip() const { |
+ return _has_bit(10); |
+} |
+inline void AutofillProfile2Specifics::clear_address_home_zip() { |
+ if (address_home_zip_ != &_default_address_home_zip_) { |
+ address_home_zip_->clear(); |
+ } |
+ _clear_bit(10); |
+} |
+inline const ::std::string& AutofillProfile2Specifics::address_home_zip() const { |
+ return *address_home_zip_; |
+} |
+inline void AutofillProfile2Specifics::set_address_home_zip(const ::std::string& value) { |
+ _set_bit(10); |
+ if (address_home_zip_ == &_default_address_home_zip_) { |
+ address_home_zip_ = new ::std::string; |
+ } |
+ address_home_zip_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_address_home_zip(const char* value) { |
+ _set_bit(10); |
+ if (address_home_zip_ == &_default_address_home_zip_) { |
+ address_home_zip_ = new ::std::string; |
+ } |
+ address_home_zip_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_address_home_zip(const char* value, size_t size) { |
+ _set_bit(10); |
+ if (address_home_zip_ == &_default_address_home_zip_) { |
+ address_home_zip_ = new ::std::string; |
+ } |
+ address_home_zip_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfile2Specifics::mutable_address_home_zip() { |
+ _set_bit(10); |
+ if (address_home_zip_ == &_default_address_home_zip_) { |
+ address_home_zip_ = new ::std::string; |
+ } |
+ return address_home_zip_; |
+} |
+ |
+// optional string address_home_country = 12; |
+inline bool AutofillProfile2Specifics::has_address_home_country() const { |
+ return _has_bit(11); |
+} |
+inline void AutofillProfile2Specifics::clear_address_home_country() { |
+ if (address_home_country_ != &_default_address_home_country_) { |
+ address_home_country_->clear(); |
+ } |
+ _clear_bit(11); |
+} |
+inline const ::std::string& AutofillProfile2Specifics::address_home_country() const { |
+ return *address_home_country_; |
+} |
+inline void AutofillProfile2Specifics::set_address_home_country(const ::std::string& value) { |
+ _set_bit(11); |
+ if (address_home_country_ == &_default_address_home_country_) { |
+ address_home_country_ = new ::std::string; |
+ } |
+ address_home_country_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_address_home_country(const char* value) { |
+ _set_bit(11); |
+ if (address_home_country_ == &_default_address_home_country_) { |
+ address_home_country_ = new ::std::string; |
+ } |
+ address_home_country_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_address_home_country(const char* value, size_t size) { |
+ _set_bit(11); |
+ if (address_home_country_ == &_default_address_home_country_) { |
+ address_home_country_ = new ::std::string; |
+ } |
+ address_home_country_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfile2Specifics::mutable_address_home_country() { |
+ _set_bit(11); |
+ if (address_home_country_ == &_default_address_home_country_) { |
+ address_home_country_ = new ::std::string; |
+ } |
+ return address_home_country_; |
+} |
+ |
+// optional string phone_home_whole_number = 13; |
+inline bool AutofillProfile2Specifics::has_phone_home_whole_number() const { |
+ return _has_bit(12); |
+} |
+inline void AutofillProfile2Specifics::clear_phone_home_whole_number() { |
+ if (phone_home_whole_number_ != &_default_phone_home_whole_number_) { |
+ phone_home_whole_number_->clear(); |
+ } |
+ _clear_bit(12); |
+} |
+inline const ::std::string& AutofillProfile2Specifics::phone_home_whole_number() const { |
+ return *phone_home_whole_number_; |
+} |
+inline void AutofillProfile2Specifics::set_phone_home_whole_number(const ::std::string& value) { |
+ _set_bit(12); |
+ if (phone_home_whole_number_ == &_default_phone_home_whole_number_) { |
+ phone_home_whole_number_ = new ::std::string; |
+ } |
+ phone_home_whole_number_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_phone_home_whole_number(const char* value) { |
+ _set_bit(12); |
+ if (phone_home_whole_number_ == &_default_phone_home_whole_number_) { |
+ phone_home_whole_number_ = new ::std::string; |
+ } |
+ phone_home_whole_number_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_phone_home_whole_number(const char* value, size_t size) { |
+ _set_bit(12); |
+ if (phone_home_whole_number_ == &_default_phone_home_whole_number_) { |
+ phone_home_whole_number_ = new ::std::string; |
+ } |
+ phone_home_whole_number_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfile2Specifics::mutable_phone_home_whole_number() { |
+ _set_bit(12); |
+ if (phone_home_whole_number_ == &_default_phone_home_whole_number_) { |
+ phone_home_whole_number_ = new ::std::string; |
+ } |
+ return phone_home_whole_number_; |
+} |
+ |
+// optional string phone_fax_whole_number = 14; |
+inline bool AutofillProfile2Specifics::has_phone_fax_whole_number() const { |
+ return _has_bit(13); |
+} |
+inline void AutofillProfile2Specifics::clear_phone_fax_whole_number() { |
+ if (phone_fax_whole_number_ != &_default_phone_fax_whole_number_) { |
+ phone_fax_whole_number_->clear(); |
+ } |
+ _clear_bit(13); |
+} |
+inline const ::std::string& AutofillProfile2Specifics::phone_fax_whole_number() const { |
+ return *phone_fax_whole_number_; |
+} |
+inline void AutofillProfile2Specifics::set_phone_fax_whole_number(const ::std::string& value) { |
+ _set_bit(13); |
+ if (phone_fax_whole_number_ == &_default_phone_fax_whole_number_) { |
+ phone_fax_whole_number_ = new ::std::string; |
+ } |
+ phone_fax_whole_number_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_phone_fax_whole_number(const char* value) { |
+ _set_bit(13); |
+ if (phone_fax_whole_number_ == &_default_phone_fax_whole_number_) { |
+ phone_fax_whole_number_ = new ::std::string; |
+ } |
+ phone_fax_whole_number_->assign(value); |
+} |
+inline void AutofillProfile2Specifics::set_phone_fax_whole_number(const char* value, size_t size) { |
+ _set_bit(13); |
+ if (phone_fax_whole_number_ == &_default_phone_fax_whole_number_) { |
+ phone_fax_whole_number_ = new ::std::string; |
+ } |
+ phone_fax_whole_number_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillProfile2Specifics::mutable_phone_fax_whole_number() { |
+ _set_bit(13); |
+ if (phone_fax_whole_number_ == &_default_phone_fax_whole_number_) { |
+ phone_fax_whole_number_ = new ::std::string; |
+ } |
+ return phone_fax_whole_number_; |
+} |
+ |
+// ------------------------------------------------------------------- |
+ |
+// AutofillCreditCardSpecifics |
+ |
+// optional string label = 1; |
+inline bool AutofillCreditCardSpecifics::has_label() const { |
+ return _has_bit(0); |
+} |
+inline void AutofillCreditCardSpecifics::clear_label() { |
+ if (label_ != &_default_label_) { |
+ label_->clear(); |
+ } |
+ _clear_bit(0); |
+} |
+inline const ::std::string& AutofillCreditCardSpecifics::label() const { |
+ return *label_; |
+} |
+inline void AutofillCreditCardSpecifics::set_label(const ::std::string& value) { |
+ _set_bit(0); |
+ if (label_ == &_default_label_) { |
+ label_ = new ::std::string; |
+ } |
+ label_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_label(const char* value) { |
+ _set_bit(0); |
+ if (label_ == &_default_label_) { |
+ label_ = new ::std::string; |
+ } |
+ label_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_label(const char* value, size_t size) { |
+ _set_bit(0); |
+ if (label_ == &_default_label_) { |
+ label_ = new ::std::string; |
+ } |
+ label_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillCreditCardSpecifics::mutable_label() { |
+ _set_bit(0); |
+ if (label_ == &_default_label_) { |
+ label_ = new ::std::string; |
+ } |
+ return label_; |
+} |
+ |
+// optional string name_on_card = 2; |
+inline bool AutofillCreditCardSpecifics::has_name_on_card() const { |
+ return _has_bit(1); |
+} |
+inline void AutofillCreditCardSpecifics::clear_name_on_card() { |
+ if (name_on_card_ != &_default_name_on_card_) { |
+ name_on_card_->clear(); |
+ } |
+ _clear_bit(1); |
+} |
+inline const ::std::string& AutofillCreditCardSpecifics::name_on_card() const { |
+ return *name_on_card_; |
+} |
+inline void AutofillCreditCardSpecifics::set_name_on_card(const ::std::string& value) { |
+ _set_bit(1); |
+ if (name_on_card_ == &_default_name_on_card_) { |
+ name_on_card_ = new ::std::string; |
+ } |
+ name_on_card_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_name_on_card(const char* value) { |
+ _set_bit(1); |
+ if (name_on_card_ == &_default_name_on_card_) { |
+ name_on_card_ = new ::std::string; |
+ } |
+ name_on_card_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_name_on_card(const char* value, size_t size) { |
+ _set_bit(1); |
+ if (name_on_card_ == &_default_name_on_card_) { |
+ name_on_card_ = new ::std::string; |
+ } |
+ name_on_card_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillCreditCardSpecifics::mutable_name_on_card() { |
+ _set_bit(1); |
+ if (name_on_card_ == &_default_name_on_card_) { |
+ name_on_card_ = new ::std::string; |
+ } |
+ return name_on_card_; |
+} |
+ |
+// optional string type = 3; |
+inline bool AutofillCreditCardSpecifics::has_type() const { |
+ return _has_bit(2); |
+} |
+inline void AutofillCreditCardSpecifics::clear_type() { |
+ if (type_ != &_default_type_) { |
+ type_->clear(); |
+ } |
+ _clear_bit(2); |
+} |
+inline const ::std::string& AutofillCreditCardSpecifics::type() const { |
+ return *type_; |
+} |
+inline void AutofillCreditCardSpecifics::set_type(const ::std::string& value) { |
+ _set_bit(2); |
+ if (type_ == &_default_type_) { |
+ type_ = new ::std::string; |
+ } |
+ type_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_type(const char* value) { |
+ _set_bit(2); |
+ if (type_ == &_default_type_) { |
+ type_ = new ::std::string; |
+ } |
+ type_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_type(const char* value, size_t size) { |
+ _set_bit(2); |
+ if (type_ == &_default_type_) { |
+ type_ = new ::std::string; |
+ } |
+ type_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillCreditCardSpecifics::mutable_type() { |
+ _set_bit(2); |
+ if (type_ == &_default_type_) { |
+ type_ = new ::std::string; |
+ } |
+ return type_; |
+} |
+ |
+// optional string card_number = 4; |
+inline bool AutofillCreditCardSpecifics::has_card_number() const { |
+ return _has_bit(3); |
+} |
+inline void AutofillCreditCardSpecifics::clear_card_number() { |
+ if (card_number_ != &_default_card_number_) { |
+ card_number_->clear(); |
+ } |
+ _clear_bit(3); |
+} |
+inline const ::std::string& AutofillCreditCardSpecifics::card_number() const { |
+ return *card_number_; |
+} |
+inline void AutofillCreditCardSpecifics::set_card_number(const ::std::string& value) { |
+ _set_bit(3); |
+ if (card_number_ == &_default_card_number_) { |
+ card_number_ = new ::std::string; |
+ } |
+ card_number_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_card_number(const char* value) { |
+ _set_bit(3); |
+ if (card_number_ == &_default_card_number_) { |
+ card_number_ = new ::std::string; |
+ } |
+ card_number_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_card_number(const char* value, size_t size) { |
+ _set_bit(3); |
+ if (card_number_ == &_default_card_number_) { |
+ card_number_ = new ::std::string; |
+ } |
+ card_number_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillCreditCardSpecifics::mutable_card_number() { |
+ _set_bit(3); |
+ if (card_number_ == &_default_card_number_) { |
+ card_number_ = new ::std::string; |
+ } |
+ return card_number_; |
+} |
+ |
+// optional string expiration_month = 5; |
+inline bool AutofillCreditCardSpecifics::has_expiration_month() const { |
+ return _has_bit(4); |
+} |
+inline void AutofillCreditCardSpecifics::clear_expiration_month() { |
+ if (expiration_month_ != &_default_expiration_month_) { |
+ expiration_month_->clear(); |
+ } |
+ _clear_bit(4); |
+} |
+inline const ::std::string& AutofillCreditCardSpecifics::expiration_month() const { |
+ return *expiration_month_; |
+} |
+inline void AutofillCreditCardSpecifics::set_expiration_month(const ::std::string& value) { |
+ _set_bit(4); |
+ if (expiration_month_ == &_default_expiration_month_) { |
+ expiration_month_ = new ::std::string; |
+ } |
+ expiration_month_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_expiration_month(const char* value) { |
+ _set_bit(4); |
+ if (expiration_month_ == &_default_expiration_month_) { |
+ expiration_month_ = new ::std::string; |
+ } |
+ expiration_month_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_expiration_month(const char* value, size_t size) { |
+ _set_bit(4); |
+ if (expiration_month_ == &_default_expiration_month_) { |
+ expiration_month_ = new ::std::string; |
+ } |
+ expiration_month_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillCreditCardSpecifics::mutable_expiration_month() { |
+ _set_bit(4); |
+ if (expiration_month_ == &_default_expiration_month_) { |
+ expiration_month_ = new ::std::string; |
+ } |
+ return expiration_month_; |
+} |
+ |
+// optional string expiration_year = 6; |
+inline bool AutofillCreditCardSpecifics::has_expiration_year() const { |
+ return _has_bit(5); |
+} |
+inline void AutofillCreditCardSpecifics::clear_expiration_year() { |
+ if (expiration_year_ != &_default_expiration_year_) { |
+ expiration_year_->clear(); |
+ } |
+ _clear_bit(5); |
+} |
+inline const ::std::string& AutofillCreditCardSpecifics::expiration_year() const { |
+ return *expiration_year_; |
+} |
+inline void AutofillCreditCardSpecifics::set_expiration_year(const ::std::string& value) { |
+ _set_bit(5); |
+ if (expiration_year_ == &_default_expiration_year_) { |
+ expiration_year_ = new ::std::string; |
+ } |
+ expiration_year_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_expiration_year(const char* value) { |
+ _set_bit(5); |
+ if (expiration_year_ == &_default_expiration_year_) { |
+ expiration_year_ = new ::std::string; |
+ } |
+ expiration_year_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_expiration_year(const char* value, size_t size) { |
+ _set_bit(5); |
+ if (expiration_year_ == &_default_expiration_year_) { |
+ expiration_year_ = new ::std::string; |
+ } |
+ expiration_year_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillCreditCardSpecifics::mutable_expiration_year() { |
+ _set_bit(5); |
+ if (expiration_year_ == &_default_expiration_year_) { |
+ expiration_year_ = new ::std::string; |
+ } |
+ return expiration_year_; |
+} |
+ |
+// optional string verification_code = 7; |
+inline bool AutofillCreditCardSpecifics::has_verification_code() const { |
+ return _has_bit(6); |
+} |
+inline void AutofillCreditCardSpecifics::clear_verification_code() { |
+ if (verification_code_ != &_default_verification_code_) { |
+ verification_code_->clear(); |
+ } |
+ _clear_bit(6); |
+} |
+inline const ::std::string& AutofillCreditCardSpecifics::verification_code() const { |
+ return *verification_code_; |
+} |
+inline void AutofillCreditCardSpecifics::set_verification_code(const ::std::string& value) { |
+ _set_bit(6); |
+ if (verification_code_ == &_default_verification_code_) { |
+ verification_code_ = new ::std::string; |
+ } |
+ verification_code_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_verification_code(const char* value) { |
+ _set_bit(6); |
+ if (verification_code_ == &_default_verification_code_) { |
+ verification_code_ = new ::std::string; |
+ } |
+ verification_code_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_verification_code(const char* value, size_t size) { |
+ _set_bit(6); |
+ if (verification_code_ == &_default_verification_code_) { |
+ verification_code_ = new ::std::string; |
+ } |
+ verification_code_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillCreditCardSpecifics::mutable_verification_code() { |
+ _set_bit(6); |
+ if (verification_code_ == &_default_verification_code_) { |
+ verification_code_ = new ::std::string; |
+ } |
+ return verification_code_; |
+} |
+ |
+// optional string billing_address = 8; |
+inline bool AutofillCreditCardSpecifics::has_billing_address() const { |
+ return _has_bit(7); |
+} |
+inline void AutofillCreditCardSpecifics::clear_billing_address() { |
+ if (billing_address_ != &_default_billing_address_) { |
+ billing_address_->clear(); |
+ } |
+ _clear_bit(7); |
+} |
+inline const ::std::string& AutofillCreditCardSpecifics::billing_address() const { |
+ return *billing_address_; |
+} |
+inline void AutofillCreditCardSpecifics::set_billing_address(const ::std::string& value) { |
+ _set_bit(7); |
+ if (billing_address_ == &_default_billing_address_) { |
+ billing_address_ = new ::std::string; |
+ } |
+ billing_address_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_billing_address(const char* value) { |
+ _set_bit(7); |
+ if (billing_address_ == &_default_billing_address_) { |
+ billing_address_ = new ::std::string; |
+ } |
+ billing_address_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_billing_address(const char* value, size_t size) { |
+ _set_bit(7); |
+ if (billing_address_ == &_default_billing_address_) { |
+ billing_address_ = new ::std::string; |
+ } |
+ billing_address_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillCreditCardSpecifics::mutable_billing_address() { |
+ _set_bit(7); |
+ if (billing_address_ == &_default_billing_address_) { |
+ billing_address_ = new ::std::string; |
+ } |
+ return billing_address_; |
+} |
+ |
+// optional string shipping_address = 9; |
+inline bool AutofillCreditCardSpecifics::has_shipping_address() const { |
+ return _has_bit(8); |
+} |
+inline void AutofillCreditCardSpecifics::clear_shipping_address() { |
+ if (shipping_address_ != &_default_shipping_address_) { |
+ shipping_address_->clear(); |
+ } |
+ _clear_bit(8); |
+} |
+inline const ::std::string& AutofillCreditCardSpecifics::shipping_address() const { |
+ return *shipping_address_; |
+} |
+inline void AutofillCreditCardSpecifics::set_shipping_address(const ::std::string& value) { |
+ _set_bit(8); |
+ if (shipping_address_ == &_default_shipping_address_) { |
+ shipping_address_ = new ::std::string; |
+ } |
+ shipping_address_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_shipping_address(const char* value) { |
+ _set_bit(8); |
+ if (shipping_address_ == &_default_shipping_address_) { |
+ shipping_address_ = new ::std::string; |
+ } |
+ shipping_address_->assign(value); |
+} |
+inline void AutofillCreditCardSpecifics::set_shipping_address(const char* value, size_t size) { |
+ _set_bit(8); |
+ if (shipping_address_ == &_default_shipping_address_) { |
+ shipping_address_ = new ::std::string; |
+ } |
+ shipping_address_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillCreditCardSpecifics::mutable_shipping_address() { |
+ _set_bit(8); |
+ if (shipping_address_ == &_default_shipping_address_) { |
+ shipping_address_ = new ::std::string; |
+ } |
+ return shipping_address_; |
+} |
+ |
+// ------------------------------------------------------------------- |
+ |
+// AutofillSpecifics |
+ |
+// optional string name = 1; |
+inline bool AutofillSpecifics::has_name() const { |
+ return _has_bit(0); |
+} |
+inline void AutofillSpecifics::clear_name() { |
+ if (name_ != &_default_name_) { |
+ name_->clear(); |
+ } |
+ _clear_bit(0); |
+} |
+inline const ::std::string& AutofillSpecifics::name() const { |
+ return *name_; |
+} |
+inline void AutofillSpecifics::set_name(const ::std::string& value) { |
+ _set_bit(0); |
+ if (name_ == &_default_name_) { |
+ name_ = new ::std::string; |
+ } |
+ name_->assign(value); |
+} |
+inline void AutofillSpecifics::set_name(const char* value) { |
+ _set_bit(0); |
+ if (name_ == &_default_name_) { |
+ name_ = new ::std::string; |
+ } |
+ name_->assign(value); |
+} |
+inline void AutofillSpecifics::set_name(const char* value, size_t size) { |
+ _set_bit(0); |
+ if (name_ == &_default_name_) { |
+ name_ = new ::std::string; |
+ } |
+ name_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillSpecifics::mutable_name() { |
+ _set_bit(0); |
+ if (name_ == &_default_name_) { |
+ name_ = new ::std::string; |
+ } |
+ return name_; |
+} |
+ |
+// optional string value = 2; |
+inline bool AutofillSpecifics::has_value() const { |
+ return _has_bit(1); |
+} |
+inline void AutofillSpecifics::clear_value() { |
+ if (value_ != &_default_value_) { |
+ value_->clear(); |
+ } |
+ _clear_bit(1); |
+} |
+inline const ::std::string& AutofillSpecifics::value() const { |
+ return *value_; |
+} |
+inline void AutofillSpecifics::set_value(const ::std::string& value) { |
+ _set_bit(1); |
+ if (value_ == &_default_value_) { |
+ value_ = new ::std::string; |
+ } |
+ value_->assign(value); |
+} |
+inline void AutofillSpecifics::set_value(const char* value) { |
+ _set_bit(1); |
+ if (value_ == &_default_value_) { |
+ value_ = new ::std::string; |
+ } |
+ value_->assign(value); |
+} |
+inline void AutofillSpecifics::set_value(const char* value, size_t size) { |
+ _set_bit(1); |
+ if (value_ == &_default_value_) { |
+ value_ = new ::std::string; |
+ } |
+ value_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillSpecifics::mutable_value() { |
+ _set_bit(1); |
+ if (value_ == &_default_value_) { |
+ value_ = new ::std::string; |
+ } |
+ return value_; |
+} |
+ |
+// repeated int64 usage_timestamp = 3; |
+inline int AutofillSpecifics::usage_timestamp_size() const { |
+ return usage_timestamp_.size(); |
+} |
+inline void AutofillSpecifics::clear_usage_timestamp() { |
+ usage_timestamp_.Clear(); |
+} |
+inline ::google::protobuf::int64 AutofillSpecifics::usage_timestamp(int index) const { |
+ return usage_timestamp_.Get(index); |
+} |
+inline void AutofillSpecifics::set_usage_timestamp(int index, ::google::protobuf::int64 value) { |
+ usage_timestamp_.Set(index, value); |
+} |
+inline void AutofillSpecifics::add_usage_timestamp(::google::protobuf::int64 value) { |
+ usage_timestamp_.Add(value); |
+} |
+inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >& |
+AutofillSpecifics::usage_timestamp() const { |
+ return usage_timestamp_; |
+} |
+inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >* |
+AutofillSpecifics::mutable_usage_timestamp() { |
+ return &usage_timestamp_; |
+} |
+ |
+// optional .sync_pb.AutofillProfileSpecifics profile = 4; |
+inline bool AutofillSpecifics::has_profile() const { |
+ return _has_bit(3); |
+} |
+inline void AutofillSpecifics::clear_profile() { |
+ if (profile_ != NULL) profile_->::sync_pb::AutofillProfileSpecifics::Clear(); |
+ _clear_bit(3); |
+} |
+inline const ::sync_pb::AutofillProfileSpecifics& AutofillSpecifics::profile() const { |
+ return profile_ != NULL ? *profile_ : *default_instance_->profile_; |
+} |
+inline ::sync_pb::AutofillProfileSpecifics* AutofillSpecifics::mutable_profile() { |
+ _set_bit(3); |
+ if (profile_ == NULL) profile_ = new ::sync_pb::AutofillProfileSpecifics; |
+ return profile_; |
+} |
+ |
+// optional bytes encrypted_credit_card = 5; |
+inline bool AutofillSpecifics::has_encrypted_credit_card() const { |
+ return _has_bit(4); |
+} |
+inline void AutofillSpecifics::clear_encrypted_credit_card() { |
+ if (encrypted_credit_card_ != &_default_encrypted_credit_card_) { |
+ encrypted_credit_card_->clear(); |
+ } |
+ _clear_bit(4); |
+} |
+inline const ::std::string& AutofillSpecifics::encrypted_credit_card() const { |
+ return *encrypted_credit_card_; |
+} |
+inline void AutofillSpecifics::set_encrypted_credit_card(const ::std::string& value) { |
+ _set_bit(4); |
+ if (encrypted_credit_card_ == &_default_encrypted_credit_card_) { |
+ encrypted_credit_card_ = new ::std::string; |
+ } |
+ encrypted_credit_card_->assign(value); |
+} |
+inline void AutofillSpecifics::set_encrypted_credit_card(const char* value) { |
+ _set_bit(4); |
+ if (encrypted_credit_card_ == &_default_encrypted_credit_card_) { |
+ encrypted_credit_card_ = new ::std::string; |
+ } |
+ encrypted_credit_card_->assign(value); |
+} |
+inline void AutofillSpecifics::set_encrypted_credit_card(const void* value, size_t size) { |
+ _set_bit(4); |
+ if (encrypted_credit_card_ == &_default_encrypted_credit_card_) { |
+ encrypted_credit_card_ = new ::std::string; |
+ } |
+ encrypted_credit_card_->assign(reinterpret_cast<const char*>(value), size); |
+} |
+inline ::std::string* AutofillSpecifics::mutable_encrypted_credit_card() { |
+ _set_bit(4); |
+ if (encrypted_credit_card_ == &_default_encrypted_credit_card_) { |
+ encrypted_credit_card_ = new ::std::string; |
+ } |
+ return encrypted_credit_card_; |
+} |
+ |
+// optional .sync_pb.AutofillCreditCardSpecifics credit_card = 6; |
+inline bool AutofillSpecifics::has_credit_card() const { |
+ return _has_bit(5); |
+} |
+inline void AutofillSpecifics::clear_credit_card() { |
+ if (credit_card_ != NULL) credit_card_->::sync_pb::AutofillCreditCardSpecifics::Clear(); |
+ _clear_bit(5); |
+} |
+inline const ::sync_pb::AutofillCreditCardSpecifics& AutofillSpecifics::credit_card() const { |
+ return credit_card_ != NULL ? *credit_card_ : *default_instance_->credit_card_; |
+} |
+inline ::sync_pb::AutofillCreditCardSpecifics* AutofillSpecifics::mutable_credit_card() { |
+ _set_bit(5); |
+ if (credit_card_ == NULL) credit_card_ = new ::sync_pb::AutofillCreditCardSpecifics; |
+ return credit_card_; |
+} |
+ |
+ |
+// @@protoc_insertion_point(namespace_scope) |
+ |
+} // namespace sync_pb |
+ |
+// @@protoc_insertion_point(global_scope) |
+ |
+#endif // PROTOBUF_autofill_5fspecifics_2eproto__INCLUDED |