| Index: chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/nigori_specifics.pb.cc
|
| diff --git a/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/nigori_specifics.pb.cc b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/nigori_specifics.pb.cc
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..4ccffcdc5c4acd8e9b63b7b9ff5a3eee1986b41d
|
| --- /dev/null
|
| +++ b/chrome/browser/sync/protocol/Debug/obj/global_intermediate/protoc_out/chrome/browser/sync/protocol/nigori_specifics.pb.cc
|
| @@ -0,0 +1,696 @@
|
| +// Generated by the protocol buffer compiler. DO NOT EDIT!
|
| +
|
| +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
|
| +#include "nigori_specifics.pb.h"
|
| +
|
| +#include <algorithm>
|
| +
|
| +#include <google/protobuf/stubs/once.h>
|
| +#include <google/protobuf/io/coded_stream.h>
|
| +#include <google/protobuf/wire_format_lite_inl.h>
|
| +// @@protoc_insertion_point(includes)
|
| +
|
| +namespace sync_pb {
|
| +
|
| +void protobuf_ShutdownFile_nigori_5fspecifics_2eproto() {
|
| + delete NigoriKey::default_instance_;
|
| + delete NigoriKeyBag::default_instance_;
|
| + delete NigoriSpecifics::default_instance_;
|
| +}
|
| +
|
| +void protobuf_AddDesc_nigori_5fspecifics_2eproto() {
|
| + static bool already_here = false;
|
| + if (already_here) return;
|
| + already_here = true;
|
| + GOOGLE_PROTOBUF_VERIFY_VERSION;
|
| +
|
| + ::sync_pb::protobuf_AddDesc_encryption_2eproto();
|
| + ::sync_pb::protobuf_AddDesc_sync_2eproto();
|
| + NigoriKey::default_instance_ = new NigoriKey();
|
| + NigoriKeyBag::default_instance_ = new NigoriKeyBag();
|
| + NigoriSpecifics::default_instance_ = new NigoriSpecifics();
|
| + ::google::protobuf::internal::ExtensionSet::RegisterMessageExtension(
|
| + &::sync_pb::EntitySpecifics::default_instance(),
|
| + 47745, 11, false, false,
|
| + &::sync_pb::NigoriSpecifics::default_instance());
|
| + NigoriKey::default_instance_->InitAsDefaultInstance();
|
| + NigoriKeyBag::default_instance_->InitAsDefaultInstance();
|
| + NigoriSpecifics::default_instance_->InitAsDefaultInstance();
|
| + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_nigori_5fspecifics_2eproto);
|
| +}
|
| +
|
| +// Force AddDescriptors() to be called at static initialization time.
|
| +struct StaticDescriptorInitializer_nigori_5fspecifics_2eproto {
|
| + StaticDescriptorInitializer_nigori_5fspecifics_2eproto() {
|
| + protobuf_AddDesc_nigori_5fspecifics_2eproto();
|
| + }
|
| +} static_descriptor_initializer_nigori_5fspecifics_2eproto_;
|
| +
|
| +
|
| +// ===================================================================
|
| +
|
| +const ::std::string NigoriKey::_default_name_;
|
| +const ::std::string NigoriKey::_default_user_key_;
|
| +const ::std::string NigoriKey::_default_encryption_key_;
|
| +const ::std::string NigoriKey::_default_mac_key_;
|
| +#ifndef _MSC_VER
|
| +const int NigoriKey::kNameFieldNumber;
|
| +const int NigoriKey::kUserKeyFieldNumber;
|
| +const int NigoriKey::kEncryptionKeyFieldNumber;
|
| +const int NigoriKey::kMacKeyFieldNumber;
|
| +#endif // !_MSC_VER
|
| +
|
| +NigoriKey::NigoriKey()
|
| + : ::google::protobuf::MessageLite() {
|
| + SharedCtor();
|
| +}
|
| +
|
| +void NigoriKey::InitAsDefaultInstance() {
|
| +}
|
| +
|
| +NigoriKey::NigoriKey(const NigoriKey& from)
|
| + : ::google::protobuf::MessageLite() {
|
| + SharedCtor();
|
| + MergeFrom(from);
|
| +}
|
| +
|
| +void NigoriKey::SharedCtor() {
|
| + _cached_size_ = 0;
|
| + name_ = const_cast< ::std::string*>(&_default_name_);
|
| + user_key_ = const_cast< ::std::string*>(&_default_user_key_);
|
| + encryption_key_ = const_cast< ::std::string*>(&_default_encryption_key_);
|
| + mac_key_ = const_cast< ::std::string*>(&_default_mac_key_);
|
| + ::memset(_has_bits_, 0, sizeof(_has_bits_));
|
| +}
|
| +
|
| +NigoriKey::~NigoriKey() {
|
| + SharedDtor();
|
| +}
|
| +
|
| +void NigoriKey::SharedDtor() {
|
| + if (name_ != &_default_name_) {
|
| + delete name_;
|
| + }
|
| + if (user_key_ != &_default_user_key_) {
|
| + delete user_key_;
|
| + }
|
| + if (encryption_key_ != &_default_encryption_key_) {
|
| + delete encryption_key_;
|
| + }
|
| + if (mac_key_ != &_default_mac_key_) {
|
| + delete mac_key_;
|
| + }
|
| + if (this != default_instance_) {
|
| + }
|
| +}
|
| +
|
| +void NigoriKey::SetCachedSize(int size) const {
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
| + _cached_size_ = size;
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
| +}
|
| +const NigoriKey& NigoriKey::default_instance() {
|
| + if (default_instance_ == NULL) protobuf_AddDesc_nigori_5fspecifics_2eproto(); return *default_instance_;
|
| +}
|
| +
|
| +NigoriKey* NigoriKey::default_instance_ = NULL;
|
| +
|
| +NigoriKey* NigoriKey::New() const {
|
| + return new NigoriKey;
|
| +}
|
| +
|
| +void NigoriKey::Clear() {
|
| + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
| + if (_has_bit(0)) {
|
| + if (name_ != &_default_name_) {
|
| + name_->clear();
|
| + }
|
| + }
|
| + if (_has_bit(1)) {
|
| + if (user_key_ != &_default_user_key_) {
|
| + user_key_->clear();
|
| + }
|
| + }
|
| + if (_has_bit(2)) {
|
| + if (encryption_key_ != &_default_encryption_key_) {
|
| + encryption_key_->clear();
|
| + }
|
| + }
|
| + if (_has_bit(3)) {
|
| + if (mac_key_ != &_default_mac_key_) {
|
| + mac_key_->clear();
|
| + }
|
| + }
|
| + }
|
| + ::memset(_has_bits_, 0, sizeof(_has_bits_));
|
| + mutable_unknown_fields()->Clear();
|
| +}
|
| +
|
| +bool NigoriKey::MergePartialFromCodedStream(
|
| + ::google::protobuf::io::CodedInputStream* input) {
|
| +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
|
| + ::google::protobuf::uint32 tag;
|
| + while ((tag = input->ReadTag()) != 0) {
|
| + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
| + // optional string name = 1;
|
| + case 1: {
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
|
| + DO_(::google::protobuf::internal::WireFormatLite::ReadString(
|
| + input, this->mutable_name()));
|
| + } else {
|
| + goto handle_uninterpreted;
|
| + }
|
| + if (input->ExpectTag(18)) goto parse_user_key;
|
| + break;
|
| + }
|
| +
|
| + // optional bytes user_key = 2;
|
| + case 2: {
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
|
| + parse_user_key:
|
| + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
|
| + input, this->mutable_user_key()));
|
| + } else {
|
| + goto handle_uninterpreted;
|
| + }
|
| + if (input->ExpectTag(26)) goto parse_encryption_key;
|
| + break;
|
| + }
|
| +
|
| + // optional bytes encryption_key = 3;
|
| + case 3: {
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
|
| + parse_encryption_key:
|
| + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
|
| + input, this->mutable_encryption_key()));
|
| + } else {
|
| + goto handle_uninterpreted;
|
| + }
|
| + if (input->ExpectTag(34)) goto parse_mac_key;
|
| + break;
|
| + }
|
| +
|
| + // optional bytes mac_key = 4;
|
| + case 4: {
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
|
| + parse_mac_key:
|
| + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
|
| + input, this->mutable_mac_key()));
|
| + } else {
|
| + goto handle_uninterpreted;
|
| + }
|
| + if (input->ExpectAtEnd()) return true;
|
| + break;
|
| + }
|
| +
|
| + default: {
|
| + handle_uninterpreted:
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
| + return true;
|
| + }
|
| + DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag, mutable_unknown_fields()));
|
| + break;
|
| + }
|
| + }
|
| + }
|
| + return true;
|
| +#undef DO_
|
| +}
|
| +
|
| +void NigoriKey::SerializeWithCachedSizes(
|
| + ::google::protobuf::io::CodedOutputStream* output) const {
|
| + // optional string name = 1;
|
| + if (_has_bit(0)) {
|
| + ::google::protobuf::internal::WireFormatLite::WriteString(
|
| + 1, this->name(), output);
|
| + }
|
| +
|
| + // optional bytes user_key = 2;
|
| + if (_has_bit(1)) {
|
| + ::google::protobuf::internal::WireFormatLite::WriteBytes(
|
| + 2, this->user_key(), output);
|
| + }
|
| +
|
| + // optional bytes encryption_key = 3;
|
| + if (_has_bit(2)) {
|
| + ::google::protobuf::internal::WireFormatLite::WriteBytes(
|
| + 3, this->encryption_key(), output);
|
| + }
|
| +
|
| + // optional bytes mac_key = 4;
|
| + if (_has_bit(3)) {
|
| + ::google::protobuf::internal::WireFormatLite::WriteBytes(
|
| + 4, this->mac_key(), output);
|
| + }
|
| +
|
| + if (!unknown_fields().empty()) {
|
| + ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields(
|
| + unknown_fields(), output);
|
| + }
|
| +}
|
| +
|
| +int NigoriKey::ByteSize() const {
|
| + int total_size = 0;
|
| +
|
| + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
| + // optional string name = 1;
|
| + if (has_name()) {
|
| + total_size += 1 +
|
| + ::google::protobuf::internal::WireFormatLite::StringSize(
|
| + this->name());
|
| + }
|
| +
|
| + // optional bytes user_key = 2;
|
| + if (has_user_key()) {
|
| + total_size += 1 +
|
| + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
| + this->user_key());
|
| + }
|
| +
|
| + // optional bytes encryption_key = 3;
|
| + if (has_encryption_key()) {
|
| + total_size += 1 +
|
| + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
| + this->encryption_key());
|
| + }
|
| +
|
| + // optional bytes mac_key = 4;
|
| + if (has_mac_key()) {
|
| + total_size += 1 +
|
| + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
| + this->mac_key());
|
| + }
|
| +
|
| + }
|
| + if (!unknown_fields().empty()) {
|
| + total_size +=
|
| + ::google::protobuf::internal::WireFormatLite::ComputeUnknownFieldsSize(
|
| + unknown_fields());
|
| + }
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
| + _cached_size_ = total_size;
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
| + return total_size;
|
| +}
|
| +
|
| +void NigoriKey::CheckTypeAndMergeFrom(
|
| + const ::google::protobuf::MessageLite& from) {
|
| + MergeFrom(*::google::protobuf::down_cast<const NigoriKey*>(&from));
|
| +}
|
| +
|
| +void NigoriKey::MergeFrom(const NigoriKey& from) {
|
| + GOOGLE_CHECK_NE(&from, this);
|
| + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
| + if (from._has_bit(0)) {
|
| + set_name(from.name());
|
| + }
|
| + if (from._has_bit(1)) {
|
| + set_user_key(from.user_key());
|
| + }
|
| + if (from._has_bit(2)) {
|
| + set_encryption_key(from.encryption_key());
|
| + }
|
| + if (from._has_bit(3)) {
|
| + set_mac_key(from.mac_key());
|
| + }
|
| + }
|
| + mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
| +}
|
| +
|
| +void NigoriKey::CopyFrom(const NigoriKey& from) {
|
| + if (&from == this) return;
|
| + Clear();
|
| + MergeFrom(from);
|
| +}
|
| +
|
| +bool NigoriKey::IsInitialized() const {
|
| +
|
| + return true;
|
| +}
|
| +
|
| +void NigoriKey::Swap(NigoriKey* other) {
|
| + if (other != this) {
|
| + std::swap(name_, other->name_);
|
| + std::swap(user_key_, other->user_key_);
|
| + std::swap(encryption_key_, other->encryption_key_);
|
| + std::swap(mac_key_, other->mac_key_);
|
| + std::swap(_has_bits_[0], other->_has_bits_[0]);
|
| + _unknown_fields_.Swap(&other->_unknown_fields_);
|
| + std::swap(_cached_size_, other->_cached_size_);
|
| + }
|
| +}
|
| +
|
| +::std::string NigoriKey::GetTypeName() const {
|
| + return "sync_pb.NigoriKey";
|
| +}
|
| +
|
| +
|
| +// ===================================================================
|
| +
|
| +#ifndef _MSC_VER
|
| +const int NigoriKeyBag::kKeyFieldNumber;
|
| +#endif // !_MSC_VER
|
| +
|
| +NigoriKeyBag::NigoriKeyBag()
|
| + : ::google::protobuf::MessageLite() {
|
| + SharedCtor();
|
| +}
|
| +
|
| +void NigoriKeyBag::InitAsDefaultInstance() {
|
| +}
|
| +
|
| +NigoriKeyBag::NigoriKeyBag(const NigoriKeyBag& from)
|
| + : ::google::protobuf::MessageLite() {
|
| + SharedCtor();
|
| + MergeFrom(from);
|
| +}
|
| +
|
| +void NigoriKeyBag::SharedCtor() {
|
| + _cached_size_ = 0;
|
| + ::memset(_has_bits_, 0, sizeof(_has_bits_));
|
| +}
|
| +
|
| +NigoriKeyBag::~NigoriKeyBag() {
|
| + SharedDtor();
|
| +}
|
| +
|
| +void NigoriKeyBag::SharedDtor() {
|
| + if (this != default_instance_) {
|
| + }
|
| +}
|
| +
|
| +void NigoriKeyBag::SetCachedSize(int size) const {
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
| + _cached_size_ = size;
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
| +}
|
| +const NigoriKeyBag& NigoriKeyBag::default_instance() {
|
| + if (default_instance_ == NULL) protobuf_AddDesc_nigori_5fspecifics_2eproto(); return *default_instance_;
|
| +}
|
| +
|
| +NigoriKeyBag* NigoriKeyBag::default_instance_ = NULL;
|
| +
|
| +NigoriKeyBag* NigoriKeyBag::New() const {
|
| + return new NigoriKeyBag;
|
| +}
|
| +
|
| +void NigoriKeyBag::Clear() {
|
| + key_.Clear();
|
| + ::memset(_has_bits_, 0, sizeof(_has_bits_));
|
| + mutable_unknown_fields()->Clear();
|
| +}
|
| +
|
| +bool NigoriKeyBag::MergePartialFromCodedStream(
|
| + ::google::protobuf::io::CodedInputStream* input) {
|
| +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
|
| + ::google::protobuf::uint32 tag;
|
| + while ((tag = input->ReadTag()) != 0) {
|
| + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
| + // repeated .sync_pb.NigoriKey key = 2;
|
| + case 2: {
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
|
| + parse_key:
|
| + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
| + input, add_key()));
|
| + } else {
|
| + goto handle_uninterpreted;
|
| + }
|
| + if (input->ExpectTag(18)) goto parse_key;
|
| + if (input->ExpectAtEnd()) return true;
|
| + break;
|
| + }
|
| +
|
| + default: {
|
| + handle_uninterpreted:
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
| + return true;
|
| + }
|
| + DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag, mutable_unknown_fields()));
|
| + break;
|
| + }
|
| + }
|
| + }
|
| + return true;
|
| +#undef DO_
|
| +}
|
| +
|
| +void NigoriKeyBag::SerializeWithCachedSizes(
|
| + ::google::protobuf::io::CodedOutputStream* output) const {
|
| + // repeated .sync_pb.NigoriKey key = 2;
|
| + for (int i = 0; i < this->key_size(); i++) {
|
| + ::google::protobuf::internal::WireFormatLite::WriteMessage(
|
| + 2, this->key(i), output);
|
| + }
|
| +
|
| + if (!unknown_fields().empty()) {
|
| + ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields(
|
| + unknown_fields(), output);
|
| + }
|
| +}
|
| +
|
| +int NigoriKeyBag::ByteSize() const {
|
| + int total_size = 0;
|
| +
|
| + // repeated .sync_pb.NigoriKey key = 2;
|
| + total_size += 1 * this->key_size();
|
| + for (int i = 0; i < this->key_size(); i++) {
|
| + total_size +=
|
| + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
| + this->key(i));
|
| + }
|
| +
|
| + if (!unknown_fields().empty()) {
|
| + total_size +=
|
| + ::google::protobuf::internal::WireFormatLite::ComputeUnknownFieldsSize(
|
| + unknown_fields());
|
| + }
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
| + _cached_size_ = total_size;
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
| + return total_size;
|
| +}
|
| +
|
| +void NigoriKeyBag::CheckTypeAndMergeFrom(
|
| + const ::google::protobuf::MessageLite& from) {
|
| + MergeFrom(*::google::protobuf::down_cast<const NigoriKeyBag*>(&from));
|
| +}
|
| +
|
| +void NigoriKeyBag::MergeFrom(const NigoriKeyBag& from) {
|
| + GOOGLE_CHECK_NE(&from, this);
|
| + key_.MergeFrom(from.key_);
|
| + mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
| +}
|
| +
|
| +void NigoriKeyBag::CopyFrom(const NigoriKeyBag& from) {
|
| + if (&from == this) return;
|
| + Clear();
|
| + MergeFrom(from);
|
| +}
|
| +
|
| +bool NigoriKeyBag::IsInitialized() const {
|
| +
|
| + return true;
|
| +}
|
| +
|
| +void NigoriKeyBag::Swap(NigoriKeyBag* other) {
|
| + if (other != this) {
|
| + key_.Swap(&other->key_);
|
| + std::swap(_has_bits_[0], other->_has_bits_[0]);
|
| + _unknown_fields_.Swap(&other->_unknown_fields_);
|
| + std::swap(_cached_size_, other->_cached_size_);
|
| + }
|
| +}
|
| +
|
| +::std::string NigoriKeyBag::GetTypeName() const {
|
| + return "sync_pb.NigoriKeyBag";
|
| +}
|
| +
|
| +
|
| +// ===================================================================
|
| +
|
| +#ifndef _MSC_VER
|
| +const int NigoriSpecifics::kEncryptedFieldNumber;
|
| +#endif // !_MSC_VER
|
| +
|
| +NigoriSpecifics::NigoriSpecifics()
|
| + : ::google::protobuf::MessageLite() {
|
| + SharedCtor();
|
| +}
|
| +
|
| +void NigoriSpecifics::InitAsDefaultInstance() {
|
| + encrypted_ = const_cast< ::sync_pb::EncryptedData*>(&::sync_pb::EncryptedData::default_instance());
|
| +}
|
| +
|
| +NigoriSpecifics::NigoriSpecifics(const NigoriSpecifics& from)
|
| + : ::google::protobuf::MessageLite() {
|
| + SharedCtor();
|
| + MergeFrom(from);
|
| +}
|
| +
|
| +void NigoriSpecifics::SharedCtor() {
|
| + _cached_size_ = 0;
|
| + encrypted_ = NULL;
|
| + ::memset(_has_bits_, 0, sizeof(_has_bits_));
|
| +}
|
| +
|
| +NigoriSpecifics::~NigoriSpecifics() {
|
| + SharedDtor();
|
| +}
|
| +
|
| +void NigoriSpecifics::SharedDtor() {
|
| + if (this != default_instance_) {
|
| + delete encrypted_;
|
| + }
|
| +}
|
| +
|
| +void NigoriSpecifics::SetCachedSize(int size) const {
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
| + _cached_size_ = size;
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
| +}
|
| +const NigoriSpecifics& NigoriSpecifics::default_instance() {
|
| + if (default_instance_ == NULL) protobuf_AddDesc_nigori_5fspecifics_2eproto(); return *default_instance_;
|
| +}
|
| +
|
| +NigoriSpecifics* NigoriSpecifics::default_instance_ = NULL;
|
| +
|
| +NigoriSpecifics* NigoriSpecifics::New() const {
|
| + return new NigoriSpecifics;
|
| +}
|
| +
|
| +void NigoriSpecifics::Clear() {
|
| + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
| + if (_has_bit(0)) {
|
| + if (encrypted_ != NULL) encrypted_->::sync_pb::EncryptedData::Clear();
|
| + }
|
| + }
|
| + ::memset(_has_bits_, 0, sizeof(_has_bits_));
|
| + mutable_unknown_fields()->Clear();
|
| +}
|
| +
|
| +bool NigoriSpecifics::MergePartialFromCodedStream(
|
| + ::google::protobuf::io::CodedInputStream* input) {
|
| +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
|
| + ::google::protobuf::uint32 tag;
|
| + while ((tag = input->ReadTag()) != 0) {
|
| + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
| + // optional .sync_pb.EncryptedData encrypted = 1;
|
| + case 1: {
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
|
| + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
|
| + input, mutable_encrypted()));
|
| + } else {
|
| + goto handle_uninterpreted;
|
| + }
|
| + if (input->ExpectAtEnd()) return true;
|
| + break;
|
| + }
|
| +
|
| + default: {
|
| + handle_uninterpreted:
|
| + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
|
| + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
|
| + return true;
|
| + }
|
| + DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag, mutable_unknown_fields()));
|
| + break;
|
| + }
|
| + }
|
| + }
|
| + return true;
|
| +#undef DO_
|
| +}
|
| +
|
| +void NigoriSpecifics::SerializeWithCachedSizes(
|
| + ::google::protobuf::io::CodedOutputStream* output) const {
|
| + // optional .sync_pb.EncryptedData encrypted = 1;
|
| + if (_has_bit(0)) {
|
| + ::google::protobuf::internal::WireFormatLite::WriteMessage(
|
| + 1, this->encrypted(), output);
|
| + }
|
| +
|
| + if (!unknown_fields().empty()) {
|
| + ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields(
|
| + unknown_fields(), output);
|
| + }
|
| +}
|
| +
|
| +int NigoriSpecifics::ByteSize() const {
|
| + int total_size = 0;
|
| +
|
| + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
| + // optional .sync_pb.EncryptedData encrypted = 1;
|
| + if (has_encrypted()) {
|
| + total_size += 1 +
|
| + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
|
| + this->encrypted());
|
| + }
|
| +
|
| + }
|
| + if (!unknown_fields().empty()) {
|
| + total_size +=
|
| + ::google::protobuf::internal::WireFormatLite::ComputeUnknownFieldsSize(
|
| + unknown_fields());
|
| + }
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
|
| + _cached_size_ = total_size;
|
| + GOOGLE_SAFE_CONCURRENT_WRITES_END();
|
| + return total_size;
|
| +}
|
| +
|
| +void NigoriSpecifics::CheckTypeAndMergeFrom(
|
| + const ::google::protobuf::MessageLite& from) {
|
| + MergeFrom(*::google::protobuf::down_cast<const NigoriSpecifics*>(&from));
|
| +}
|
| +
|
| +void NigoriSpecifics::MergeFrom(const NigoriSpecifics& from) {
|
| + GOOGLE_CHECK_NE(&from, this);
|
| + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
|
| + if (from._has_bit(0)) {
|
| + mutable_encrypted()->::sync_pb::EncryptedData::MergeFrom(from.encrypted());
|
| + }
|
| + }
|
| + mutable_unknown_fields()->MergeFrom(from.unknown_fields());
|
| +}
|
| +
|
| +void NigoriSpecifics::CopyFrom(const NigoriSpecifics& from) {
|
| + if (&from == this) return;
|
| + Clear();
|
| + MergeFrom(from);
|
| +}
|
| +
|
| +bool NigoriSpecifics::IsInitialized() const {
|
| +
|
| + return true;
|
| +}
|
| +
|
| +void NigoriSpecifics::Swap(NigoriSpecifics* other) {
|
| + if (other != this) {
|
| + std::swap(encrypted_, other->encrypted_);
|
| + std::swap(_has_bits_[0], other->_has_bits_[0]);
|
| + _unknown_fields_.Swap(&other->_unknown_fields_);
|
| + std::swap(_cached_size_, other->_cached_size_);
|
| + }
|
| +}
|
| +
|
| +::std::string NigoriSpecifics::GetTypeName() const {
|
| + return "sync_pb.NigoriSpecifics";
|
| +}
|
| +
|
| +::google::protobuf::internal::ExtensionIdentifier< ::sync_pb::EntitySpecifics,
|
| + ::google::protobuf::internal::MessageTypeTraits< ::sync_pb::NigoriSpecifics >, 11, false >
|
| + nigori(kNigoriFieldNumber, ::sync_pb::NigoriSpecifics::default_instance());
|
| +
|
| +// @@protoc_insertion_point(namespace_scope)
|
| +
|
| +} // namespace sync_pb
|
| +
|
| +// @@protoc_insertion_point(global_scope)
|
|
|