toolkit/components/downloads/csd.pb.cc

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/components/downloads/csd.pb.cc	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,4309 @@
     1.4 +// Generated by the protocol buffer compiler.  DO NOT EDIT!
     1.5 +
     1.6 +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
     1.7 +#include "csd.pb.h"
     1.8 +
     1.9 +#include <algorithm>
    1.10 +
    1.11 +#include <google/protobuf/stubs/once.h>
    1.12 +#include <google/protobuf/io/coded_stream.h>
    1.13 +#include <google/protobuf/wire_format_lite_inl.h>
    1.14 +// @@protoc_insertion_point(includes)
    1.15 +
    1.16 +namespace safe_browsing {
    1.17 +
    1.18 +void protobuf_ShutdownFile_csd_2eproto() {
    1.19 +  delete ClientPhishingRequest::default_instance_;
    1.20 +  delete ClientPhishingRequest_Feature::default_instance_;
    1.21 +  delete ClientPhishingResponse::default_instance_;
    1.22 +  delete ClientMalwareRequest::default_instance_;
    1.23 +  delete ClientMalwareRequest_Feature::default_instance_;
    1.24 +  delete ClientMalwareResponse::default_instance_;
    1.25 +  delete ClientDownloadRequest::default_instance_;
    1.26 +  delete ClientDownloadRequest_Digests::default_instance_;
    1.27 +  delete ClientDownloadRequest_Resource::default_instance_;
    1.28 +  delete ClientDownloadRequest_CertificateChain::default_instance_;
    1.29 +  delete ClientDownloadRequest_CertificateChain_Element::default_instance_;
    1.30 +  delete ClientDownloadRequest_SignatureInfo::default_instance_;
    1.31 +  delete ClientDownloadResponse::default_instance_;
    1.32 +  delete ClientDownloadResponse_MoreInfo::default_instance_;
    1.33 +  delete ClientDownloadReport::default_instance_;
    1.34 +  delete ClientDownloadReport_UserInformation::default_instance_;
    1.35 +  delete ClientUploadResponse::default_instance_;
    1.36 +}
    1.37 +
    1.38 +void protobuf_AddDesc_csd_2eproto() {
    1.39 +  static bool already_here = false;
    1.40 +  if (already_here) return;
    1.41 +  already_here = true;
    1.42 +  GOOGLE_PROTOBUF_VERIFY_VERSION;
    1.43 +
    1.44 +  ClientPhishingRequest::default_instance_ = new ClientPhishingRequest();
    1.45 +  ClientPhishingRequest_Feature::default_instance_ = new ClientPhishingRequest_Feature();
    1.46 +  ClientPhishingResponse::default_instance_ = new ClientPhishingResponse();
    1.47 +  ClientMalwareRequest::default_instance_ = new ClientMalwareRequest();
    1.48 +  ClientMalwareRequest_Feature::default_instance_ = new ClientMalwareRequest_Feature();
    1.49 +  ClientMalwareResponse::default_instance_ = new ClientMalwareResponse();
    1.50 +  ClientDownloadRequest::default_instance_ = new ClientDownloadRequest();
    1.51 +  ClientDownloadRequest_Digests::default_instance_ = new ClientDownloadRequest_Digests();
    1.52 +  ClientDownloadRequest_Resource::default_instance_ = new ClientDownloadRequest_Resource();
    1.53 +  ClientDownloadRequest_CertificateChain::default_instance_ = new ClientDownloadRequest_CertificateChain();
    1.54 +  ClientDownloadRequest_CertificateChain_Element::default_instance_ = new ClientDownloadRequest_CertificateChain_Element();
    1.55 +  ClientDownloadRequest_SignatureInfo::default_instance_ = new ClientDownloadRequest_SignatureInfo();
    1.56 +  ClientDownloadResponse::default_instance_ = new ClientDownloadResponse();
    1.57 +  ClientDownloadResponse_MoreInfo::default_instance_ = new ClientDownloadResponse_MoreInfo();
    1.58 +  ClientDownloadReport::default_instance_ = new ClientDownloadReport();
    1.59 +  ClientDownloadReport_UserInformation::default_instance_ = new ClientDownloadReport_UserInformation();
    1.60 +  ClientUploadResponse::default_instance_ = new ClientUploadResponse();
    1.61 +  ClientPhishingRequest::default_instance_->InitAsDefaultInstance();
    1.62 +  ClientPhishingRequest_Feature::default_instance_->InitAsDefaultInstance();
    1.63 +  ClientPhishingResponse::default_instance_->InitAsDefaultInstance();
    1.64 +  ClientMalwareRequest::default_instance_->InitAsDefaultInstance();
    1.65 +  ClientMalwareRequest_Feature::default_instance_->InitAsDefaultInstance();
    1.66 +  ClientMalwareResponse::default_instance_->InitAsDefaultInstance();
    1.67 +  ClientDownloadRequest::default_instance_->InitAsDefaultInstance();
    1.68 +  ClientDownloadRequest_Digests::default_instance_->InitAsDefaultInstance();
    1.69 +  ClientDownloadRequest_Resource::default_instance_->InitAsDefaultInstance();
    1.70 +  ClientDownloadRequest_CertificateChain::default_instance_->InitAsDefaultInstance();
    1.71 +  ClientDownloadRequest_CertificateChain_Element::default_instance_->InitAsDefaultInstance();
    1.72 +  ClientDownloadRequest_SignatureInfo::default_instance_->InitAsDefaultInstance();
    1.73 +  ClientDownloadResponse::default_instance_->InitAsDefaultInstance();
    1.74 +  ClientDownloadResponse_MoreInfo::default_instance_->InitAsDefaultInstance();
    1.75 +  ClientDownloadReport::default_instance_->InitAsDefaultInstance();
    1.76 +  ClientDownloadReport_UserInformation::default_instance_->InitAsDefaultInstance();
    1.77 +  ClientUploadResponse::default_instance_->InitAsDefaultInstance();
    1.78 +  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_csd_2eproto);
    1.79 +}
    1.80 +
    1.81 +// Force AddDescriptors() to be called at static initialization time.
    1.82 +struct StaticDescriptorInitializer_csd_2eproto {
    1.83 +  StaticDescriptorInitializer_csd_2eproto() {
    1.84 +    protobuf_AddDesc_csd_2eproto();
    1.85 +  }
    1.86 +} static_descriptor_initializer_csd_2eproto_;
    1.87 +
    1.88 +
    1.89 +// ===================================================================
    1.90 +
    1.91 +#ifndef _MSC_VER
    1.92 +const int ClientPhishingRequest_Feature::kNameFieldNumber;
    1.93 +const int ClientPhishingRequest_Feature::kValueFieldNumber;
    1.94 +#endif  // !_MSC_VER
    1.95 +
    1.96 +ClientPhishingRequest_Feature::ClientPhishingRequest_Feature()
    1.97 +  : ::google::protobuf::MessageLite() {
    1.98 +  SharedCtor();
    1.99 +}
   1.100 +
   1.101 +void ClientPhishingRequest_Feature::InitAsDefaultInstance() {
   1.102 +}
   1.103 +
   1.104 +ClientPhishingRequest_Feature::ClientPhishingRequest_Feature(const ClientPhishingRequest_Feature& from)
   1.105 +  : ::google::protobuf::MessageLite() {
   1.106 +  SharedCtor();
   1.107 +  MergeFrom(from);
   1.108 +}
   1.109 +
   1.110 +void ClientPhishingRequest_Feature::SharedCtor() {
   1.111 +  _cached_size_ = 0;
   1.112 +  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
   1.113 +  value_ = 0;
   1.114 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
   1.115 +}
   1.116 +
   1.117 +ClientPhishingRequest_Feature::~ClientPhishingRequest_Feature() {
   1.118 +  SharedDtor();
   1.119 +}
   1.120 +
   1.121 +void ClientPhishingRequest_Feature::SharedDtor() {
   1.122 +  if (name_ != &::google::protobuf::internal::kEmptyString) {
   1.123 +    delete name_;
   1.124 +  }
   1.125 +  if (this != default_instance_) {
   1.126 +  }
   1.127 +}
   1.128 +
   1.129 +void ClientPhishingRequest_Feature::SetCachedSize(int size) const {
   1.130 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
   1.131 +  _cached_size_ = size;
   1.132 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
   1.133 +}
   1.134 +const ClientPhishingRequest_Feature& ClientPhishingRequest_Feature::default_instance() {
   1.135 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
   1.136 +}
   1.137 +
   1.138 +ClientPhishingRequest_Feature* ClientPhishingRequest_Feature::default_instance_ = NULL;
   1.139 +
   1.140 +ClientPhishingRequest_Feature* ClientPhishingRequest_Feature::New() const {
   1.141 +  return new ClientPhishingRequest_Feature;
   1.142 +}
   1.143 +
   1.144 +void ClientPhishingRequest_Feature::Clear() {
   1.145 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1.146 +    if (has_name()) {
   1.147 +      if (name_ != &::google::protobuf::internal::kEmptyString) {
   1.148 +        name_->clear();
   1.149 +      }
   1.150 +    }
   1.151 +    value_ = 0;
   1.152 +  }
   1.153 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
   1.154 +}
   1.155 +
   1.156 +bool ClientPhishingRequest_Feature::MergePartialFromCodedStream(
   1.157 +    ::google::protobuf::io::CodedInputStream* input) {
   1.158 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
   1.159 +  ::google::protobuf::uint32 tag;
   1.160 +  while ((tag = input->ReadTag()) != 0) {
   1.161 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
   1.162 +      // required string name = 1;
   1.163 +      case 1: {
   1.164 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.165 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
   1.166 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
   1.167 +                input, this->mutable_name()));
   1.168 +        } else {
   1.169 +          goto handle_uninterpreted;
   1.170 +        }
   1.171 +        if (input->ExpectTag(17)) goto parse_value;
   1.172 +        break;
   1.173 +      }
   1.174 +      
   1.175 +      // required double value = 2;
   1.176 +      case 2: {
   1.177 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.178 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
   1.179 +         parse_value:
   1.180 +          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   1.181 +                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
   1.182 +                 input, &value_)));
   1.183 +          set_has_value();
   1.184 +        } else {
   1.185 +          goto handle_uninterpreted;
   1.186 +        }
   1.187 +        if (input->ExpectAtEnd()) return true;
   1.188 +        break;
   1.189 +      }
   1.190 +      
   1.191 +      default: {
   1.192 +      handle_uninterpreted:
   1.193 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.194 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
   1.195 +          return true;
   1.196 +        }
   1.197 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
   1.198 +        break;
   1.199 +      }
   1.200 +    }
   1.201 +  }
   1.202 +  return true;
   1.203 +#undef DO_
   1.204 +}
   1.205 +
   1.206 +void ClientPhishingRequest_Feature::SerializeWithCachedSizes(
   1.207 +    ::google::protobuf::io::CodedOutputStream* output) const {
   1.208 +  // required string name = 1;
   1.209 +  if (has_name()) {
   1.210 +    ::google::protobuf::internal::WireFormatLite::WriteString(
   1.211 +      1, this->name(), output);
   1.212 +  }
   1.213 +  
   1.214 +  // required double value = 2;
   1.215 +  if (has_value()) {
   1.216 +    ::google::protobuf::internal::WireFormatLite::WriteDouble(2, this->value(), output);
   1.217 +  }
   1.218 +  
   1.219 +}
   1.220 +
   1.221 +int ClientPhishingRequest_Feature::ByteSize() const {
   1.222 +  int total_size = 0;
   1.223 +  
   1.224 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1.225 +    // required string name = 1;
   1.226 +    if (has_name()) {
   1.227 +      total_size += 1 +
   1.228 +        ::google::protobuf::internal::WireFormatLite::StringSize(
   1.229 +          this->name());
   1.230 +    }
   1.231 +    
   1.232 +    // required double value = 2;
   1.233 +    if (has_value()) {
   1.234 +      total_size += 1 + 8;
   1.235 +    }
   1.236 +    
   1.237 +  }
   1.238 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
   1.239 +  _cached_size_ = total_size;
   1.240 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
   1.241 +  return total_size;
   1.242 +}
   1.243 +
   1.244 +void ClientPhishingRequest_Feature::CheckTypeAndMergeFrom(
   1.245 +    const ::google::protobuf::MessageLite& from) {
   1.246 +  MergeFrom(*::google::protobuf::down_cast<const ClientPhishingRequest_Feature*>(&from));
   1.247 +}
   1.248 +
   1.249 +void ClientPhishingRequest_Feature::MergeFrom(const ClientPhishingRequest_Feature& from) {
   1.250 +  GOOGLE_CHECK_NE(&from, this);
   1.251 +  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1.252 +    if (from.has_name()) {
   1.253 +      set_name(from.name());
   1.254 +    }
   1.255 +    if (from.has_value()) {
   1.256 +      set_value(from.value());
   1.257 +    }
   1.258 +  }
   1.259 +}
   1.260 +
   1.261 +void ClientPhishingRequest_Feature::CopyFrom(const ClientPhishingRequest_Feature& from) {
   1.262 +  if (&from == this) return;
   1.263 +  Clear();
   1.264 +  MergeFrom(from);
   1.265 +}
   1.266 +
   1.267 +bool ClientPhishingRequest_Feature::IsInitialized() const {
   1.268 +  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
   1.269 +  
   1.270 +  return true;
   1.271 +}
   1.272 +
   1.273 +void ClientPhishingRequest_Feature::Swap(ClientPhishingRequest_Feature* other) {
   1.274 +  if (other != this) {
   1.275 +    std::swap(name_, other->name_);
   1.276 +    std::swap(value_, other->value_);
   1.277 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
   1.278 +    std::swap(_cached_size_, other->_cached_size_);
   1.279 +  }
   1.280 +}
   1.281 +
   1.282 +::std::string ClientPhishingRequest_Feature::GetTypeName() const {
   1.283 +  return "safe_browsing.ClientPhishingRequest.Feature";
   1.284 +}
   1.285 +
   1.286 +
   1.287 +// -------------------------------------------------------------------
   1.288 +
   1.289 +#ifndef _MSC_VER
   1.290 +const int ClientPhishingRequest::kUrlFieldNumber;
   1.291 +const int ClientPhishingRequest::kOBSOLETEHashPrefixFieldNumber;
   1.292 +const int ClientPhishingRequest::kClientScoreFieldNumber;
   1.293 +const int ClientPhishingRequest::kIsPhishingFieldNumber;
   1.294 +const int ClientPhishingRequest::kFeatureMapFieldNumber;
   1.295 +const int ClientPhishingRequest::kModelVersionFieldNumber;
   1.296 +const int ClientPhishingRequest::kNonModelFeatureMapFieldNumber;
   1.297 +const int ClientPhishingRequest::kOBSOLETEReferrerUrlFieldNumber;
   1.298 +#endif  // !_MSC_VER
   1.299 +
   1.300 +ClientPhishingRequest::ClientPhishingRequest()
   1.301 +  : ::google::protobuf::MessageLite() {
   1.302 +  SharedCtor();
   1.303 +}
   1.304 +
   1.305 +void ClientPhishingRequest::InitAsDefaultInstance() {
   1.306 +}
   1.307 +
   1.308 +ClientPhishingRequest::ClientPhishingRequest(const ClientPhishingRequest& from)
   1.309 +  : ::google::protobuf::MessageLite() {
   1.310 +  SharedCtor();
   1.311 +  MergeFrom(from);
   1.312 +}
   1.313 +
   1.314 +void ClientPhishingRequest::SharedCtor() {
   1.315 +  _cached_size_ = 0;
   1.316 +  url_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
   1.317 +  obsolete_hash_prefix_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
   1.318 +  client_score_ = 0;
   1.319 +  is_phishing_ = false;
   1.320 +  model_version_ = 0;
   1.321 +  obsolete_referrer_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
   1.322 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
   1.323 +}
   1.324 +
   1.325 +ClientPhishingRequest::~ClientPhishingRequest() {
   1.326 +  SharedDtor();
   1.327 +}
   1.328 +
   1.329 +void ClientPhishingRequest::SharedDtor() {
   1.330 +  if (url_ != &::google::protobuf::internal::kEmptyString) {
   1.331 +    delete url_;
   1.332 +  }
   1.333 +  if (obsolete_hash_prefix_ != &::google::protobuf::internal::kEmptyString) {
   1.334 +    delete obsolete_hash_prefix_;
   1.335 +  }
   1.336 +  if (obsolete_referrer_url_ != &::google::protobuf::internal::kEmptyString) {
   1.337 +    delete obsolete_referrer_url_;
   1.338 +  }
   1.339 +  if (this != default_instance_) {
   1.340 +  }
   1.341 +}
   1.342 +
   1.343 +void ClientPhishingRequest::SetCachedSize(int size) const {
   1.344 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
   1.345 +  _cached_size_ = size;
   1.346 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
   1.347 +}
   1.348 +const ClientPhishingRequest& ClientPhishingRequest::default_instance() {
   1.349 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
   1.350 +}
   1.351 +
   1.352 +ClientPhishingRequest* ClientPhishingRequest::default_instance_ = NULL;
   1.353 +
   1.354 +ClientPhishingRequest* ClientPhishingRequest::New() const {
   1.355 +  return new ClientPhishingRequest;
   1.356 +}
   1.357 +
   1.358 +void ClientPhishingRequest::Clear() {
   1.359 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1.360 +    if (has_url()) {
   1.361 +      if (url_ != &::google::protobuf::internal::kEmptyString) {
   1.362 +        url_->clear();
   1.363 +      }
   1.364 +    }
   1.365 +    if (has_obsolete_hash_prefix()) {
   1.366 +      if (obsolete_hash_prefix_ != &::google::protobuf::internal::kEmptyString) {
   1.367 +        obsolete_hash_prefix_->clear();
   1.368 +      }
   1.369 +    }
   1.370 +    client_score_ = 0;
   1.371 +    is_phishing_ = false;
   1.372 +    model_version_ = 0;
   1.373 +    if (has_obsolete_referrer_url()) {
   1.374 +      if (obsolete_referrer_url_ != &::google::protobuf::internal::kEmptyString) {
   1.375 +        obsolete_referrer_url_->clear();
   1.376 +      }
   1.377 +    }
   1.378 +  }
   1.379 +  feature_map_.Clear();
   1.380 +  non_model_feature_map_.Clear();
   1.381 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
   1.382 +}
   1.383 +
   1.384 +bool ClientPhishingRequest::MergePartialFromCodedStream(
   1.385 +    ::google::protobuf::io::CodedInputStream* input) {
   1.386 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
   1.387 +  ::google::protobuf::uint32 tag;
   1.388 +  while ((tag = input->ReadTag()) != 0) {
   1.389 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
   1.390 +      // optional string url = 1;
   1.391 +      case 1: {
   1.392 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.393 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
   1.394 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
   1.395 +                input, this->mutable_url()));
   1.396 +        } else {
   1.397 +          goto handle_uninterpreted;
   1.398 +        }
   1.399 +        if (input->ExpectTag(21)) goto parse_client_score;
   1.400 +        break;
   1.401 +      }
   1.402 +      
   1.403 +      // required float client_score = 2;
   1.404 +      case 2: {
   1.405 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.406 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
   1.407 +         parse_client_score:
   1.408 +          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   1.409 +                   float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
   1.410 +                 input, &client_score_)));
   1.411 +          set_has_client_score();
   1.412 +        } else {
   1.413 +          goto handle_uninterpreted;
   1.414 +        }
   1.415 +        if (input->ExpectTag(32)) goto parse_is_phishing;
   1.416 +        break;
   1.417 +      }
   1.418 +      
   1.419 +      // optional bool is_phishing = 4;
   1.420 +      case 4: {
   1.421 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.422 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
   1.423 +         parse_is_phishing:
   1.424 +          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   1.425 +                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
   1.426 +                 input, &is_phishing_)));
   1.427 +          set_has_is_phishing();
   1.428 +        } else {
   1.429 +          goto handle_uninterpreted;
   1.430 +        }
   1.431 +        if (input->ExpectTag(42)) goto parse_feature_map;
   1.432 +        break;
   1.433 +      }
   1.434 +      
   1.435 +      // repeated .safe_browsing.ClientPhishingRequest.Feature feature_map = 5;
   1.436 +      case 5: {
   1.437 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.438 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
   1.439 +         parse_feature_map:
   1.440 +          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
   1.441 +                input, add_feature_map()));
   1.442 +        } else {
   1.443 +          goto handle_uninterpreted;
   1.444 +        }
   1.445 +        if (input->ExpectTag(42)) goto parse_feature_map;
   1.446 +        if (input->ExpectTag(48)) goto parse_model_version;
   1.447 +        break;
   1.448 +      }
   1.449 +      
   1.450 +      // optional int32 model_version = 6;
   1.451 +      case 6: {
   1.452 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.453 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
   1.454 +         parse_model_version:
   1.455 +          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   1.456 +                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
   1.457 +                 input, &model_version_)));
   1.458 +          set_has_model_version();
   1.459 +        } else {
   1.460 +          goto handle_uninterpreted;
   1.461 +        }
   1.462 +        if (input->ExpectTag(66)) goto parse_non_model_feature_map;
   1.463 +        break;
   1.464 +      }
   1.465 +      
   1.466 +      // repeated .safe_browsing.ClientPhishingRequest.Feature non_model_feature_map = 8;
   1.467 +      case 8: {
   1.468 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.469 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
   1.470 +         parse_non_model_feature_map:
   1.471 +          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
   1.472 +                input, add_non_model_feature_map()));
   1.473 +        } else {
   1.474 +          goto handle_uninterpreted;
   1.475 +        }
   1.476 +        if (input->ExpectTag(66)) goto parse_non_model_feature_map;
   1.477 +        if (input->ExpectTag(74)) goto parse_OBSOLETE_referrer_url;
   1.478 +        break;
   1.479 +      }
   1.480 +      
   1.481 +      // optional string OBSOLETE_referrer_url = 9;
   1.482 +      case 9: {
   1.483 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.484 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
   1.485 +         parse_OBSOLETE_referrer_url:
   1.486 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
   1.487 +                input, this->mutable_obsolete_referrer_url()));
   1.488 +        } else {
   1.489 +          goto handle_uninterpreted;
   1.490 +        }
   1.491 +        if (input->ExpectTag(82)) goto parse_OBSOLETE_hash_prefix;
   1.492 +        break;
   1.493 +      }
   1.494 +      
   1.495 +      // optional bytes OBSOLETE_hash_prefix = 10;
   1.496 +      case 10: {
   1.497 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.498 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
   1.499 +         parse_OBSOLETE_hash_prefix:
   1.500 +          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
   1.501 +                input, this->mutable_obsolete_hash_prefix()));
   1.502 +        } else {
   1.503 +          goto handle_uninterpreted;
   1.504 +        }
   1.505 +        if (input->ExpectAtEnd()) return true;
   1.506 +        break;
   1.507 +      }
   1.508 +      
   1.509 +      default: {
   1.510 +      handle_uninterpreted:
   1.511 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.512 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
   1.513 +          return true;
   1.514 +        }
   1.515 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
   1.516 +        break;
   1.517 +      }
   1.518 +    }
   1.519 +  }
   1.520 +  return true;
   1.521 +#undef DO_
   1.522 +}
   1.523 +
   1.524 +void ClientPhishingRequest::SerializeWithCachedSizes(
   1.525 +    ::google::protobuf::io::CodedOutputStream* output) const {
   1.526 +  // optional string url = 1;
   1.527 +  if (has_url()) {
   1.528 +    ::google::protobuf::internal::WireFormatLite::WriteString(
   1.529 +      1, this->url(), output);
   1.530 +  }
   1.531 +  
   1.532 +  // required float client_score = 2;
   1.533 +  if (has_client_score()) {
   1.534 +    ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->client_score(), output);
   1.535 +  }
   1.536 +  
   1.537 +  // optional bool is_phishing = 4;
   1.538 +  if (has_is_phishing()) {
   1.539 +    ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->is_phishing(), output);
   1.540 +  }
   1.541 +  
   1.542 +  // repeated .safe_browsing.ClientPhishingRequest.Feature feature_map = 5;
   1.543 +  for (int i = 0; i < this->feature_map_size(); i++) {
   1.544 +    ::google::protobuf::internal::WireFormatLite::WriteMessage(
   1.545 +      5, this->feature_map(i), output);
   1.546 +  }
   1.547 +  
   1.548 +  // optional int32 model_version = 6;
   1.549 +  if (has_model_version()) {
   1.550 +    ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->model_version(), output);
   1.551 +  }
   1.552 +  
   1.553 +  // repeated .safe_browsing.ClientPhishingRequest.Feature non_model_feature_map = 8;
   1.554 +  for (int i = 0; i < this->non_model_feature_map_size(); i++) {
   1.555 +    ::google::protobuf::internal::WireFormatLite::WriteMessage(
   1.556 +      8, this->non_model_feature_map(i), output);
   1.557 +  }
   1.558 +  
   1.559 +  // optional string OBSOLETE_referrer_url = 9;
   1.560 +  if (has_obsolete_referrer_url()) {
   1.561 +    ::google::protobuf::internal::WireFormatLite::WriteString(
   1.562 +      9, this->obsolete_referrer_url(), output);
   1.563 +  }
   1.564 +  
   1.565 +  // optional bytes OBSOLETE_hash_prefix = 10;
   1.566 +  if (has_obsolete_hash_prefix()) {
   1.567 +    ::google::protobuf::internal::WireFormatLite::WriteBytes(
   1.568 +      10, this->obsolete_hash_prefix(), output);
   1.569 +  }
   1.570 +  
   1.571 +}
   1.572 +
   1.573 +int ClientPhishingRequest::ByteSize() const {
   1.574 +  int total_size = 0;
   1.575 +  
   1.576 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1.577 +    // optional string url = 1;
   1.578 +    if (has_url()) {
   1.579 +      total_size += 1 +
   1.580 +        ::google::protobuf::internal::WireFormatLite::StringSize(
   1.581 +          this->url());
   1.582 +    }
   1.583 +    
   1.584 +    // optional bytes OBSOLETE_hash_prefix = 10;
   1.585 +    if (has_obsolete_hash_prefix()) {
   1.586 +      total_size += 1 +
   1.587 +        ::google::protobuf::internal::WireFormatLite::BytesSize(
   1.588 +          this->obsolete_hash_prefix());
   1.589 +    }
   1.590 +    
   1.591 +    // required float client_score = 2;
   1.592 +    if (has_client_score()) {
   1.593 +      total_size += 1 + 4;
   1.594 +    }
   1.595 +    
   1.596 +    // optional bool is_phishing = 4;
   1.597 +    if (has_is_phishing()) {
   1.598 +      total_size += 1 + 1;
   1.599 +    }
   1.600 +    
   1.601 +    // optional int32 model_version = 6;
   1.602 +    if (has_model_version()) {
   1.603 +      total_size += 1 +
   1.604 +        ::google::protobuf::internal::WireFormatLite::Int32Size(
   1.605 +          this->model_version());
   1.606 +    }
   1.607 +    
   1.608 +    // optional string OBSOLETE_referrer_url = 9;
   1.609 +    if (has_obsolete_referrer_url()) {
   1.610 +      total_size += 1 +
   1.611 +        ::google::protobuf::internal::WireFormatLite::StringSize(
   1.612 +          this->obsolete_referrer_url());
   1.613 +    }
   1.614 +    
   1.615 +  }
   1.616 +  // repeated .safe_browsing.ClientPhishingRequest.Feature feature_map = 5;
   1.617 +  total_size += 1 * this->feature_map_size();
   1.618 +  for (int i = 0; i < this->feature_map_size(); i++) {
   1.619 +    total_size +=
   1.620 +      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
   1.621 +        this->feature_map(i));
   1.622 +  }
   1.623 +  
   1.624 +  // repeated .safe_browsing.ClientPhishingRequest.Feature non_model_feature_map = 8;
   1.625 +  total_size += 1 * this->non_model_feature_map_size();
   1.626 +  for (int i = 0; i < this->non_model_feature_map_size(); i++) {
   1.627 +    total_size +=
   1.628 +      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
   1.629 +        this->non_model_feature_map(i));
   1.630 +  }
   1.631 +  
   1.632 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
   1.633 +  _cached_size_ = total_size;
   1.634 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
   1.635 +  return total_size;
   1.636 +}
   1.637 +
   1.638 +void ClientPhishingRequest::CheckTypeAndMergeFrom(
   1.639 +    const ::google::protobuf::MessageLite& from) {
   1.640 +  MergeFrom(*::google::protobuf::down_cast<const ClientPhishingRequest*>(&from));
   1.641 +}
   1.642 +
   1.643 +void ClientPhishingRequest::MergeFrom(const ClientPhishingRequest& from) {
   1.644 +  GOOGLE_CHECK_NE(&from, this);
   1.645 +  feature_map_.MergeFrom(from.feature_map_);
   1.646 +  non_model_feature_map_.MergeFrom(from.non_model_feature_map_);
   1.647 +  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1.648 +    if (from.has_url()) {
   1.649 +      set_url(from.url());
   1.650 +    }
   1.651 +    if (from.has_obsolete_hash_prefix()) {
   1.652 +      set_obsolete_hash_prefix(from.obsolete_hash_prefix());
   1.653 +    }
   1.654 +    if (from.has_client_score()) {
   1.655 +      set_client_score(from.client_score());
   1.656 +    }
   1.657 +    if (from.has_is_phishing()) {
   1.658 +      set_is_phishing(from.is_phishing());
   1.659 +    }
   1.660 +    if (from.has_model_version()) {
   1.661 +      set_model_version(from.model_version());
   1.662 +    }
   1.663 +    if (from.has_obsolete_referrer_url()) {
   1.664 +      set_obsolete_referrer_url(from.obsolete_referrer_url());
   1.665 +    }
   1.666 +  }
   1.667 +}
   1.668 +
   1.669 +void ClientPhishingRequest::CopyFrom(const ClientPhishingRequest& from) {
   1.670 +  if (&from == this) return;
   1.671 +  Clear();
   1.672 +  MergeFrom(from);
   1.673 +}
   1.674 +
   1.675 +bool ClientPhishingRequest::IsInitialized() const {
   1.676 +  if ((_has_bits_[0] & 0x00000004) != 0x00000004) return false;
   1.677 +  
   1.678 +  for (int i = 0; i < feature_map_size(); i++) {
   1.679 +    if (!this->feature_map(i).IsInitialized()) return false;
   1.680 +  }
   1.681 +  for (int i = 0; i < non_model_feature_map_size(); i++) {
   1.682 +    if (!this->non_model_feature_map(i).IsInitialized()) return false;
   1.683 +  }
   1.684 +  return true;
   1.685 +}
   1.686 +
   1.687 +void ClientPhishingRequest::Swap(ClientPhishingRequest* other) {
   1.688 +  if (other != this) {
   1.689 +    std::swap(url_, other->url_);
   1.690 +    std::swap(obsolete_hash_prefix_, other->obsolete_hash_prefix_);
   1.691 +    std::swap(client_score_, other->client_score_);
   1.692 +    std::swap(is_phishing_, other->is_phishing_);
   1.693 +    feature_map_.Swap(&other->feature_map_);
   1.694 +    std::swap(model_version_, other->model_version_);
   1.695 +    non_model_feature_map_.Swap(&other->non_model_feature_map_);
   1.696 +    std::swap(obsolete_referrer_url_, other->obsolete_referrer_url_);
   1.697 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
   1.698 +    std::swap(_cached_size_, other->_cached_size_);
   1.699 +  }
   1.700 +}
   1.701 +
   1.702 +::std::string ClientPhishingRequest::GetTypeName() const {
   1.703 +  return "safe_browsing.ClientPhishingRequest";
   1.704 +}
   1.705 +
   1.706 +
   1.707 +// ===================================================================
   1.708 +
   1.709 +#ifndef _MSC_VER
   1.710 +const int ClientPhishingResponse::kPhishyFieldNumber;
   1.711 +const int ClientPhishingResponse::kOBSOLETEWhitelistExpressionFieldNumber;
   1.712 +#endif  // !_MSC_VER
   1.713 +
   1.714 +ClientPhishingResponse::ClientPhishingResponse()
   1.715 +  : ::google::protobuf::MessageLite() {
   1.716 +  SharedCtor();
   1.717 +}
   1.718 +
   1.719 +void ClientPhishingResponse::InitAsDefaultInstance() {
   1.720 +}
   1.721 +
   1.722 +ClientPhishingResponse::ClientPhishingResponse(const ClientPhishingResponse& from)
   1.723 +  : ::google::protobuf::MessageLite() {
   1.724 +  SharedCtor();
   1.725 +  MergeFrom(from);
   1.726 +}
   1.727 +
   1.728 +void ClientPhishingResponse::SharedCtor() {
   1.729 +  _cached_size_ = 0;
   1.730 +  phishy_ = false;
   1.731 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
   1.732 +}
   1.733 +
   1.734 +ClientPhishingResponse::~ClientPhishingResponse() {
   1.735 +  SharedDtor();
   1.736 +}
   1.737 +
   1.738 +void ClientPhishingResponse::SharedDtor() {
   1.739 +  if (this != default_instance_) {
   1.740 +  }
   1.741 +}
   1.742 +
   1.743 +void ClientPhishingResponse::SetCachedSize(int size) const {
   1.744 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
   1.745 +  _cached_size_ = size;
   1.746 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
   1.747 +}
   1.748 +const ClientPhishingResponse& ClientPhishingResponse::default_instance() {
   1.749 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
   1.750 +}
   1.751 +
   1.752 +ClientPhishingResponse* ClientPhishingResponse::default_instance_ = NULL;
   1.753 +
   1.754 +ClientPhishingResponse* ClientPhishingResponse::New() const {
   1.755 +  return new ClientPhishingResponse;
   1.756 +}
   1.757 +
   1.758 +void ClientPhishingResponse::Clear() {
   1.759 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1.760 +    phishy_ = false;
   1.761 +  }
   1.762 +  obsolete_whitelist_expression_.Clear();
   1.763 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
   1.764 +}
   1.765 +
   1.766 +bool ClientPhishingResponse::MergePartialFromCodedStream(
   1.767 +    ::google::protobuf::io::CodedInputStream* input) {
   1.768 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
   1.769 +  ::google::protobuf::uint32 tag;
   1.770 +  while ((tag = input->ReadTag()) != 0) {
   1.771 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
   1.772 +      // required bool phishy = 1;
   1.773 +      case 1: {
   1.774 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.775 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
   1.776 +          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   1.777 +                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
   1.778 +                 input, &phishy_)));
   1.779 +          set_has_phishy();
   1.780 +        } else {
   1.781 +          goto handle_uninterpreted;
   1.782 +        }
   1.783 +        if (input->ExpectTag(18)) goto parse_OBSOLETE_whitelist_expression;
   1.784 +        break;
   1.785 +      }
   1.786 +      
   1.787 +      // repeated string OBSOLETE_whitelist_expression = 2;
   1.788 +      case 2: {
   1.789 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.790 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
   1.791 +         parse_OBSOLETE_whitelist_expression:
   1.792 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
   1.793 +                input, this->add_obsolete_whitelist_expression()));
   1.794 +        } else {
   1.795 +          goto handle_uninterpreted;
   1.796 +        }
   1.797 +        if (input->ExpectTag(18)) goto parse_OBSOLETE_whitelist_expression;
   1.798 +        if (input->ExpectAtEnd()) return true;
   1.799 +        break;
   1.800 +      }
   1.801 +      
   1.802 +      default: {
   1.803 +      handle_uninterpreted:
   1.804 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.805 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
   1.806 +          return true;
   1.807 +        }
   1.808 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
   1.809 +        break;
   1.810 +      }
   1.811 +    }
   1.812 +  }
   1.813 +  return true;
   1.814 +#undef DO_
   1.815 +}
   1.816 +
   1.817 +void ClientPhishingResponse::SerializeWithCachedSizes(
   1.818 +    ::google::protobuf::io::CodedOutputStream* output) const {
   1.819 +  // required bool phishy = 1;
   1.820 +  if (has_phishy()) {
   1.821 +    ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->phishy(), output);
   1.822 +  }
   1.823 +  
   1.824 +  // repeated string OBSOLETE_whitelist_expression = 2;
   1.825 +  for (int i = 0; i < this->obsolete_whitelist_expression_size(); i++) {
   1.826 +    ::google::protobuf::internal::WireFormatLite::WriteString(
   1.827 +      2, this->obsolete_whitelist_expression(i), output);
   1.828 +  }
   1.829 +  
   1.830 +}
   1.831 +
   1.832 +int ClientPhishingResponse::ByteSize() const {
   1.833 +  int total_size = 0;
   1.834 +  
   1.835 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1.836 +    // required bool phishy = 1;
   1.837 +    if (has_phishy()) {
   1.838 +      total_size += 1 + 1;
   1.839 +    }
   1.840 +    
   1.841 +  }
   1.842 +  // repeated string OBSOLETE_whitelist_expression = 2;
   1.843 +  total_size += 1 * this->obsolete_whitelist_expression_size();
   1.844 +  for (int i = 0; i < this->obsolete_whitelist_expression_size(); i++) {
   1.845 +    total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
   1.846 +      this->obsolete_whitelist_expression(i));
   1.847 +  }
   1.848 +  
   1.849 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
   1.850 +  _cached_size_ = total_size;
   1.851 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
   1.852 +  return total_size;
   1.853 +}
   1.854 +
   1.855 +void ClientPhishingResponse::CheckTypeAndMergeFrom(
   1.856 +    const ::google::protobuf::MessageLite& from) {
   1.857 +  MergeFrom(*::google::protobuf::down_cast<const ClientPhishingResponse*>(&from));
   1.858 +}
   1.859 +
   1.860 +void ClientPhishingResponse::MergeFrom(const ClientPhishingResponse& from) {
   1.861 +  GOOGLE_CHECK_NE(&from, this);
   1.862 +  obsolete_whitelist_expression_.MergeFrom(from.obsolete_whitelist_expression_);
   1.863 +  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1.864 +    if (from.has_phishy()) {
   1.865 +      set_phishy(from.phishy());
   1.866 +    }
   1.867 +  }
   1.868 +}
   1.869 +
   1.870 +void ClientPhishingResponse::CopyFrom(const ClientPhishingResponse& from) {
   1.871 +  if (&from == this) return;
   1.872 +  Clear();
   1.873 +  MergeFrom(from);
   1.874 +}
   1.875 +
   1.876 +bool ClientPhishingResponse::IsInitialized() const {
   1.877 +  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
   1.878 +  
   1.879 +  return true;
   1.880 +}
   1.881 +
   1.882 +void ClientPhishingResponse::Swap(ClientPhishingResponse* other) {
   1.883 +  if (other != this) {
   1.884 +    std::swap(phishy_, other->phishy_);
   1.885 +    obsolete_whitelist_expression_.Swap(&other->obsolete_whitelist_expression_);
   1.886 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
   1.887 +    std::swap(_cached_size_, other->_cached_size_);
   1.888 +  }
   1.889 +}
   1.890 +
   1.891 +::std::string ClientPhishingResponse::GetTypeName() const {
   1.892 +  return "safe_browsing.ClientPhishingResponse";
   1.893 +}
   1.894 +
   1.895 +
   1.896 +// ===================================================================
   1.897 +
   1.898 +#ifndef _MSC_VER
   1.899 +const int ClientMalwareRequest_Feature::kNameFieldNumber;
   1.900 +const int ClientMalwareRequest_Feature::kValueFieldNumber;
   1.901 +const int ClientMalwareRequest_Feature::kMetainfoFieldNumber;
   1.902 +#endif  // !_MSC_VER
   1.903 +
   1.904 +ClientMalwareRequest_Feature::ClientMalwareRequest_Feature()
   1.905 +  : ::google::protobuf::MessageLite() {
   1.906 +  SharedCtor();
   1.907 +}
   1.908 +
   1.909 +void ClientMalwareRequest_Feature::InitAsDefaultInstance() {
   1.910 +}
   1.911 +
   1.912 +ClientMalwareRequest_Feature::ClientMalwareRequest_Feature(const ClientMalwareRequest_Feature& from)
   1.913 +  : ::google::protobuf::MessageLite() {
   1.914 +  SharedCtor();
   1.915 +  MergeFrom(from);
   1.916 +}
   1.917 +
   1.918 +void ClientMalwareRequest_Feature::SharedCtor() {
   1.919 +  _cached_size_ = 0;
   1.920 +  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
   1.921 +  value_ = 0;
   1.922 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
   1.923 +}
   1.924 +
   1.925 +ClientMalwareRequest_Feature::~ClientMalwareRequest_Feature() {
   1.926 +  SharedDtor();
   1.927 +}
   1.928 +
   1.929 +void ClientMalwareRequest_Feature::SharedDtor() {
   1.930 +  if (name_ != &::google::protobuf::internal::kEmptyString) {
   1.931 +    delete name_;
   1.932 +  }
   1.933 +  if (this != default_instance_) {
   1.934 +  }
   1.935 +}
   1.936 +
   1.937 +void ClientMalwareRequest_Feature::SetCachedSize(int size) const {
   1.938 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
   1.939 +  _cached_size_ = size;
   1.940 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
   1.941 +}
   1.942 +const ClientMalwareRequest_Feature& ClientMalwareRequest_Feature::default_instance() {
   1.943 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
   1.944 +}
   1.945 +
   1.946 +ClientMalwareRequest_Feature* ClientMalwareRequest_Feature::default_instance_ = NULL;
   1.947 +
   1.948 +ClientMalwareRequest_Feature* ClientMalwareRequest_Feature::New() const {
   1.949 +  return new ClientMalwareRequest_Feature;
   1.950 +}
   1.951 +
   1.952 +void ClientMalwareRequest_Feature::Clear() {
   1.953 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1.954 +    if (has_name()) {
   1.955 +      if (name_ != &::google::protobuf::internal::kEmptyString) {
   1.956 +        name_->clear();
   1.957 +      }
   1.958 +    }
   1.959 +    value_ = 0;
   1.960 +  }
   1.961 +  metainfo_.Clear();
   1.962 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
   1.963 +}
   1.964 +
   1.965 +bool ClientMalwareRequest_Feature::MergePartialFromCodedStream(
   1.966 +    ::google::protobuf::io::CodedInputStream* input) {
   1.967 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
   1.968 +  ::google::protobuf::uint32 tag;
   1.969 +  while ((tag = input->ReadTag()) != 0) {
   1.970 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
   1.971 +      // required string name = 1;
   1.972 +      case 1: {
   1.973 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.974 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
   1.975 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
   1.976 +                input, this->mutable_name()));
   1.977 +        } else {
   1.978 +          goto handle_uninterpreted;
   1.979 +        }
   1.980 +        if (input->ExpectTag(17)) goto parse_value;
   1.981 +        break;
   1.982 +      }
   1.983 +      
   1.984 +      // required double value = 2;
   1.985 +      case 2: {
   1.986 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1.987 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) {
   1.988 +         parse_value:
   1.989 +          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   1.990 +                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
   1.991 +                 input, &value_)));
   1.992 +          set_has_value();
   1.993 +        } else {
   1.994 +          goto handle_uninterpreted;
   1.995 +        }
   1.996 +        if (input->ExpectTag(26)) goto parse_metainfo;
   1.997 +        break;
   1.998 +      }
   1.999 +      
  1.1000 +      // repeated string metainfo = 3;
  1.1001 +      case 3: {
  1.1002 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1003 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.1004 +         parse_metainfo:
  1.1005 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1.1006 +                input, this->add_metainfo()));
  1.1007 +        } else {
  1.1008 +          goto handle_uninterpreted;
  1.1009 +        }
  1.1010 +        if (input->ExpectTag(26)) goto parse_metainfo;
  1.1011 +        if (input->ExpectAtEnd()) return true;
  1.1012 +        break;
  1.1013 +      }
  1.1014 +      
  1.1015 +      default: {
  1.1016 +      handle_uninterpreted:
  1.1017 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1018 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1.1019 +          return true;
  1.1020 +        }
  1.1021 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  1.1022 +        break;
  1.1023 +      }
  1.1024 +    }
  1.1025 +  }
  1.1026 +  return true;
  1.1027 +#undef DO_
  1.1028 +}
  1.1029 +
  1.1030 +void ClientMalwareRequest_Feature::SerializeWithCachedSizes(
  1.1031 +    ::google::protobuf::io::CodedOutputStream* output) const {
  1.1032 +  // required string name = 1;
  1.1033 +  if (has_name()) {
  1.1034 +    ::google::protobuf::internal::WireFormatLite::WriteString(
  1.1035 +      1, this->name(), output);
  1.1036 +  }
  1.1037 +  
  1.1038 +  // required double value = 2;
  1.1039 +  if (has_value()) {
  1.1040 +    ::google::protobuf::internal::WireFormatLite::WriteDouble(2, this->value(), output);
  1.1041 +  }
  1.1042 +  
  1.1043 +  // repeated string metainfo = 3;
  1.1044 +  for (int i = 0; i < this->metainfo_size(); i++) {
  1.1045 +    ::google::protobuf::internal::WireFormatLite::WriteString(
  1.1046 +      3, this->metainfo(i), output);
  1.1047 +  }
  1.1048 +  
  1.1049 +}
  1.1050 +
  1.1051 +int ClientMalwareRequest_Feature::ByteSize() const {
  1.1052 +  int total_size = 0;
  1.1053 +  
  1.1054 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.1055 +    // required string name = 1;
  1.1056 +    if (has_name()) {
  1.1057 +      total_size += 1 +
  1.1058 +        ::google::protobuf::internal::WireFormatLite::StringSize(
  1.1059 +          this->name());
  1.1060 +    }
  1.1061 +    
  1.1062 +    // required double value = 2;
  1.1063 +    if (has_value()) {
  1.1064 +      total_size += 1 + 8;
  1.1065 +    }
  1.1066 +    
  1.1067 +  }
  1.1068 +  // repeated string metainfo = 3;
  1.1069 +  total_size += 1 * this->metainfo_size();
  1.1070 +  for (int i = 0; i < this->metainfo_size(); i++) {
  1.1071 +    total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
  1.1072 +      this->metainfo(i));
  1.1073 +  }
  1.1074 +  
  1.1075 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.1076 +  _cached_size_ = total_size;
  1.1077 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.1078 +  return total_size;
  1.1079 +}
  1.1080 +
  1.1081 +void ClientMalwareRequest_Feature::CheckTypeAndMergeFrom(
  1.1082 +    const ::google::protobuf::MessageLite& from) {
  1.1083 +  MergeFrom(*::google::protobuf::down_cast<const ClientMalwareRequest_Feature*>(&from));
  1.1084 +}
  1.1085 +
  1.1086 +void ClientMalwareRequest_Feature::MergeFrom(const ClientMalwareRequest_Feature& from) {
  1.1087 +  GOOGLE_CHECK_NE(&from, this);
  1.1088 +  metainfo_.MergeFrom(from.metainfo_);
  1.1089 +  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.1090 +    if (from.has_name()) {
  1.1091 +      set_name(from.name());
  1.1092 +    }
  1.1093 +    if (from.has_value()) {
  1.1094 +      set_value(from.value());
  1.1095 +    }
  1.1096 +  }
  1.1097 +}
  1.1098 +
  1.1099 +void ClientMalwareRequest_Feature::CopyFrom(const ClientMalwareRequest_Feature& from) {
  1.1100 +  if (&from == this) return;
  1.1101 +  Clear();
  1.1102 +  MergeFrom(from);
  1.1103 +}
  1.1104 +
  1.1105 +bool ClientMalwareRequest_Feature::IsInitialized() const {
  1.1106 +  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
  1.1107 +  
  1.1108 +  return true;
  1.1109 +}
  1.1110 +
  1.1111 +void ClientMalwareRequest_Feature::Swap(ClientMalwareRequest_Feature* other) {
  1.1112 +  if (other != this) {
  1.1113 +    std::swap(name_, other->name_);
  1.1114 +    std::swap(value_, other->value_);
  1.1115 +    metainfo_.Swap(&other->metainfo_);
  1.1116 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
  1.1117 +    std::swap(_cached_size_, other->_cached_size_);
  1.1118 +  }
  1.1119 +}
  1.1120 +
  1.1121 +::std::string ClientMalwareRequest_Feature::GetTypeName() const {
  1.1122 +  return "safe_browsing.ClientMalwareRequest.Feature";
  1.1123 +}
  1.1124 +
  1.1125 +
  1.1126 +// -------------------------------------------------------------------
  1.1127 +
  1.1128 +#ifndef _MSC_VER
  1.1129 +const int ClientMalwareRequest::kUrlFieldNumber;
  1.1130 +const int ClientMalwareRequest::kFeatureMapFieldNumber;
  1.1131 +const int ClientMalwareRequest::kReferrerUrlFieldNumber;
  1.1132 +#endif  // !_MSC_VER
  1.1133 +
  1.1134 +ClientMalwareRequest::ClientMalwareRequest()
  1.1135 +  : ::google::protobuf::MessageLite() {
  1.1136 +  SharedCtor();
  1.1137 +}
  1.1138 +
  1.1139 +void ClientMalwareRequest::InitAsDefaultInstance() {
  1.1140 +}
  1.1141 +
  1.1142 +ClientMalwareRequest::ClientMalwareRequest(const ClientMalwareRequest& from)
  1.1143 +  : ::google::protobuf::MessageLite() {
  1.1144 +  SharedCtor();
  1.1145 +  MergeFrom(from);
  1.1146 +}
  1.1147 +
  1.1148 +void ClientMalwareRequest::SharedCtor() {
  1.1149 +  _cached_size_ = 0;
  1.1150 +  url_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.1151 +  referrer_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.1152 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.1153 +}
  1.1154 +
  1.1155 +ClientMalwareRequest::~ClientMalwareRequest() {
  1.1156 +  SharedDtor();
  1.1157 +}
  1.1158 +
  1.1159 +void ClientMalwareRequest::SharedDtor() {
  1.1160 +  if (url_ != &::google::protobuf::internal::kEmptyString) {
  1.1161 +    delete url_;
  1.1162 +  }
  1.1163 +  if (referrer_url_ != &::google::protobuf::internal::kEmptyString) {
  1.1164 +    delete referrer_url_;
  1.1165 +  }
  1.1166 +  if (this != default_instance_) {
  1.1167 +  }
  1.1168 +}
  1.1169 +
  1.1170 +void ClientMalwareRequest::SetCachedSize(int size) const {
  1.1171 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.1172 +  _cached_size_ = size;
  1.1173 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.1174 +}
  1.1175 +const ClientMalwareRequest& ClientMalwareRequest::default_instance() {
  1.1176 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
  1.1177 +}
  1.1178 +
  1.1179 +ClientMalwareRequest* ClientMalwareRequest::default_instance_ = NULL;
  1.1180 +
  1.1181 +ClientMalwareRequest* ClientMalwareRequest::New() const {
  1.1182 +  return new ClientMalwareRequest;
  1.1183 +}
  1.1184 +
  1.1185 +void ClientMalwareRequest::Clear() {
  1.1186 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.1187 +    if (has_url()) {
  1.1188 +      if (url_ != &::google::protobuf::internal::kEmptyString) {
  1.1189 +        url_->clear();
  1.1190 +      }
  1.1191 +    }
  1.1192 +    if (has_referrer_url()) {
  1.1193 +      if (referrer_url_ != &::google::protobuf::internal::kEmptyString) {
  1.1194 +        referrer_url_->clear();
  1.1195 +      }
  1.1196 +    }
  1.1197 +  }
  1.1198 +  feature_map_.Clear();
  1.1199 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.1200 +}
  1.1201 +
  1.1202 +bool ClientMalwareRequest::MergePartialFromCodedStream(
  1.1203 +    ::google::protobuf::io::CodedInputStream* input) {
  1.1204 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1.1205 +  ::google::protobuf::uint32 tag;
  1.1206 +  while ((tag = input->ReadTag()) != 0) {
  1.1207 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1.1208 +      // required string url = 1;
  1.1209 +      case 1: {
  1.1210 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1211 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.1212 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1.1213 +                input, this->mutable_url()));
  1.1214 +        } else {
  1.1215 +          goto handle_uninterpreted;
  1.1216 +        }
  1.1217 +        if (input->ExpectTag(18)) goto parse_feature_map;
  1.1218 +        break;
  1.1219 +      }
  1.1220 +      
  1.1221 +      // repeated .safe_browsing.ClientMalwareRequest.Feature feature_map = 2;
  1.1222 +      case 2: {
  1.1223 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1224 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.1225 +         parse_feature_map:
  1.1226 +          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1.1227 +                input, add_feature_map()));
  1.1228 +        } else {
  1.1229 +          goto handle_uninterpreted;
  1.1230 +        }
  1.1231 +        if (input->ExpectTag(18)) goto parse_feature_map;
  1.1232 +        if (input->ExpectTag(34)) goto parse_referrer_url;
  1.1233 +        break;
  1.1234 +      }
  1.1235 +      
  1.1236 +      // optional string referrer_url = 4;
  1.1237 +      case 4: {
  1.1238 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1239 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.1240 +         parse_referrer_url:
  1.1241 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1.1242 +                input, this->mutable_referrer_url()));
  1.1243 +        } else {
  1.1244 +          goto handle_uninterpreted;
  1.1245 +        }
  1.1246 +        if (input->ExpectAtEnd()) return true;
  1.1247 +        break;
  1.1248 +      }
  1.1249 +      
  1.1250 +      default: {
  1.1251 +      handle_uninterpreted:
  1.1252 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1253 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1.1254 +          return true;
  1.1255 +        }
  1.1256 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  1.1257 +        break;
  1.1258 +      }
  1.1259 +    }
  1.1260 +  }
  1.1261 +  return true;
  1.1262 +#undef DO_
  1.1263 +}
  1.1264 +
  1.1265 +void ClientMalwareRequest::SerializeWithCachedSizes(
  1.1266 +    ::google::protobuf::io::CodedOutputStream* output) const {
  1.1267 +  // required string url = 1;
  1.1268 +  if (has_url()) {
  1.1269 +    ::google::protobuf::internal::WireFormatLite::WriteString(
  1.1270 +      1, this->url(), output);
  1.1271 +  }
  1.1272 +  
  1.1273 +  // repeated .safe_browsing.ClientMalwareRequest.Feature feature_map = 2;
  1.1274 +  for (int i = 0; i < this->feature_map_size(); i++) {
  1.1275 +    ::google::protobuf::internal::WireFormatLite::WriteMessage(
  1.1276 +      2, this->feature_map(i), output);
  1.1277 +  }
  1.1278 +  
  1.1279 +  // optional string referrer_url = 4;
  1.1280 +  if (has_referrer_url()) {
  1.1281 +    ::google::protobuf::internal::WireFormatLite::WriteString(
  1.1282 +      4, this->referrer_url(), output);
  1.1283 +  }
  1.1284 +  
  1.1285 +}
  1.1286 +
  1.1287 +int ClientMalwareRequest::ByteSize() const {
  1.1288 +  int total_size = 0;
  1.1289 +  
  1.1290 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.1291 +    // required string url = 1;
  1.1292 +    if (has_url()) {
  1.1293 +      total_size += 1 +
  1.1294 +        ::google::protobuf::internal::WireFormatLite::StringSize(
  1.1295 +          this->url());
  1.1296 +    }
  1.1297 +    
  1.1298 +    // optional string referrer_url = 4;
  1.1299 +    if (has_referrer_url()) {
  1.1300 +      total_size += 1 +
  1.1301 +        ::google::protobuf::internal::WireFormatLite::StringSize(
  1.1302 +          this->referrer_url());
  1.1303 +    }
  1.1304 +    
  1.1305 +  }
  1.1306 +  // repeated .safe_browsing.ClientMalwareRequest.Feature feature_map = 2;
  1.1307 +  total_size += 1 * this->feature_map_size();
  1.1308 +  for (int i = 0; i < this->feature_map_size(); i++) {
  1.1309 +    total_size +=
  1.1310 +      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1.1311 +        this->feature_map(i));
  1.1312 +  }
  1.1313 +  
  1.1314 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.1315 +  _cached_size_ = total_size;
  1.1316 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.1317 +  return total_size;
  1.1318 +}
  1.1319 +
  1.1320 +void ClientMalwareRequest::CheckTypeAndMergeFrom(
  1.1321 +    const ::google::protobuf::MessageLite& from) {
  1.1322 +  MergeFrom(*::google::protobuf::down_cast<const ClientMalwareRequest*>(&from));
  1.1323 +}
  1.1324 +
  1.1325 +void ClientMalwareRequest::MergeFrom(const ClientMalwareRequest& from) {
  1.1326 +  GOOGLE_CHECK_NE(&from, this);
  1.1327 +  feature_map_.MergeFrom(from.feature_map_);
  1.1328 +  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.1329 +    if (from.has_url()) {
  1.1330 +      set_url(from.url());
  1.1331 +    }
  1.1332 +    if (from.has_referrer_url()) {
  1.1333 +      set_referrer_url(from.referrer_url());
  1.1334 +    }
  1.1335 +  }
  1.1336 +}
  1.1337 +
  1.1338 +void ClientMalwareRequest::CopyFrom(const ClientMalwareRequest& from) {
  1.1339 +  if (&from == this) return;
  1.1340 +  Clear();
  1.1341 +  MergeFrom(from);
  1.1342 +}
  1.1343 +
  1.1344 +bool ClientMalwareRequest::IsInitialized() const {
  1.1345 +  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
  1.1346 +  
  1.1347 +  for (int i = 0; i < feature_map_size(); i++) {
  1.1348 +    if (!this->feature_map(i).IsInitialized()) return false;
  1.1349 +  }
  1.1350 +  return true;
  1.1351 +}
  1.1352 +
  1.1353 +void ClientMalwareRequest::Swap(ClientMalwareRequest* other) {
  1.1354 +  if (other != this) {
  1.1355 +    std::swap(url_, other->url_);
  1.1356 +    feature_map_.Swap(&other->feature_map_);
  1.1357 +    std::swap(referrer_url_, other->referrer_url_);
  1.1358 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
  1.1359 +    std::swap(_cached_size_, other->_cached_size_);
  1.1360 +  }
  1.1361 +}
  1.1362 +
  1.1363 +::std::string ClientMalwareRequest::GetTypeName() const {
  1.1364 +  return "safe_browsing.ClientMalwareRequest";
  1.1365 +}
  1.1366 +
  1.1367 +
  1.1368 +// ===================================================================
  1.1369 +
  1.1370 +#ifndef _MSC_VER
  1.1371 +const int ClientMalwareResponse::kBlacklistFieldNumber;
  1.1372 +const int ClientMalwareResponse::kBadIpFieldNumber;
  1.1373 +#endif  // !_MSC_VER
  1.1374 +
  1.1375 +ClientMalwareResponse::ClientMalwareResponse()
  1.1376 +  : ::google::protobuf::MessageLite() {
  1.1377 +  SharedCtor();
  1.1378 +}
  1.1379 +
  1.1380 +void ClientMalwareResponse::InitAsDefaultInstance() {
  1.1381 +}
  1.1382 +
  1.1383 +ClientMalwareResponse::ClientMalwareResponse(const ClientMalwareResponse& from)
  1.1384 +  : ::google::protobuf::MessageLite() {
  1.1385 +  SharedCtor();
  1.1386 +  MergeFrom(from);
  1.1387 +}
  1.1388 +
  1.1389 +void ClientMalwareResponse::SharedCtor() {
  1.1390 +  _cached_size_ = 0;
  1.1391 +  blacklist_ = false;
  1.1392 +  bad_ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.1393 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.1394 +}
  1.1395 +
  1.1396 +ClientMalwareResponse::~ClientMalwareResponse() {
  1.1397 +  SharedDtor();
  1.1398 +}
  1.1399 +
  1.1400 +void ClientMalwareResponse::SharedDtor() {
  1.1401 +  if (bad_ip_ != &::google::protobuf::internal::kEmptyString) {
  1.1402 +    delete bad_ip_;
  1.1403 +  }
  1.1404 +  if (this != default_instance_) {
  1.1405 +  }
  1.1406 +}
  1.1407 +
  1.1408 +void ClientMalwareResponse::SetCachedSize(int size) const {
  1.1409 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.1410 +  _cached_size_ = size;
  1.1411 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.1412 +}
  1.1413 +const ClientMalwareResponse& ClientMalwareResponse::default_instance() {
  1.1414 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
  1.1415 +}
  1.1416 +
  1.1417 +ClientMalwareResponse* ClientMalwareResponse::default_instance_ = NULL;
  1.1418 +
  1.1419 +ClientMalwareResponse* ClientMalwareResponse::New() const {
  1.1420 +  return new ClientMalwareResponse;
  1.1421 +}
  1.1422 +
  1.1423 +void ClientMalwareResponse::Clear() {
  1.1424 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.1425 +    blacklist_ = false;
  1.1426 +    if (has_bad_ip()) {
  1.1427 +      if (bad_ip_ != &::google::protobuf::internal::kEmptyString) {
  1.1428 +        bad_ip_->clear();
  1.1429 +      }
  1.1430 +    }
  1.1431 +  }
  1.1432 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.1433 +}
  1.1434 +
  1.1435 +bool ClientMalwareResponse::MergePartialFromCodedStream(
  1.1436 +    ::google::protobuf::io::CodedInputStream* input) {
  1.1437 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1.1438 +  ::google::protobuf::uint32 tag;
  1.1439 +  while ((tag = input->ReadTag()) != 0) {
  1.1440 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1.1441 +      // required bool blacklist = 1;
  1.1442 +      case 1: {
  1.1443 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1444 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1.1445 +          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1.1446 +                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  1.1447 +                 input, &blacklist_)));
  1.1448 +          set_has_blacklist();
  1.1449 +        } else {
  1.1450 +          goto handle_uninterpreted;
  1.1451 +        }
  1.1452 +        if (input->ExpectTag(18)) goto parse_bad_ip;
  1.1453 +        break;
  1.1454 +      }
  1.1455 +      
  1.1456 +      // optional string bad_ip = 2;
  1.1457 +      case 2: {
  1.1458 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1459 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.1460 +         parse_bad_ip:
  1.1461 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1.1462 +                input, this->mutable_bad_ip()));
  1.1463 +        } else {
  1.1464 +          goto handle_uninterpreted;
  1.1465 +        }
  1.1466 +        if (input->ExpectAtEnd()) return true;
  1.1467 +        break;
  1.1468 +      }
  1.1469 +      
  1.1470 +      default: {
  1.1471 +      handle_uninterpreted:
  1.1472 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1473 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1.1474 +          return true;
  1.1475 +        }
  1.1476 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  1.1477 +        break;
  1.1478 +      }
  1.1479 +    }
  1.1480 +  }
  1.1481 +  return true;
  1.1482 +#undef DO_
  1.1483 +}
  1.1484 +
  1.1485 +void ClientMalwareResponse::SerializeWithCachedSizes(
  1.1486 +    ::google::protobuf::io::CodedOutputStream* output) const {
  1.1487 +  // required bool blacklist = 1;
  1.1488 +  if (has_blacklist()) {
  1.1489 +    ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->blacklist(), output);
  1.1490 +  }
  1.1491 +  
  1.1492 +  // optional string bad_ip = 2;
  1.1493 +  if (has_bad_ip()) {
  1.1494 +    ::google::protobuf::internal::WireFormatLite::WriteString(
  1.1495 +      2, this->bad_ip(), output);
  1.1496 +  }
  1.1497 +  
  1.1498 +}
  1.1499 +
  1.1500 +int ClientMalwareResponse::ByteSize() const {
  1.1501 +  int total_size = 0;
  1.1502 +  
  1.1503 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.1504 +    // required bool blacklist = 1;
  1.1505 +    if (has_blacklist()) {
  1.1506 +      total_size += 1 + 1;
  1.1507 +    }
  1.1508 +    
  1.1509 +    // optional string bad_ip = 2;
  1.1510 +    if (has_bad_ip()) {
  1.1511 +      total_size += 1 +
  1.1512 +        ::google::protobuf::internal::WireFormatLite::StringSize(
  1.1513 +          this->bad_ip());
  1.1514 +    }
  1.1515 +    
  1.1516 +  }
  1.1517 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.1518 +  _cached_size_ = total_size;
  1.1519 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.1520 +  return total_size;
  1.1521 +}
  1.1522 +
  1.1523 +void ClientMalwareResponse::CheckTypeAndMergeFrom(
  1.1524 +    const ::google::protobuf::MessageLite& from) {
  1.1525 +  MergeFrom(*::google::protobuf::down_cast<const ClientMalwareResponse*>(&from));
  1.1526 +}
  1.1527 +
  1.1528 +void ClientMalwareResponse::MergeFrom(const ClientMalwareResponse& from) {
  1.1529 +  GOOGLE_CHECK_NE(&from, this);
  1.1530 +  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.1531 +    if (from.has_blacklist()) {
  1.1532 +      set_blacklist(from.blacklist());
  1.1533 +    }
  1.1534 +    if (from.has_bad_ip()) {
  1.1535 +      set_bad_ip(from.bad_ip());
  1.1536 +    }
  1.1537 +  }
  1.1538 +}
  1.1539 +
  1.1540 +void ClientMalwareResponse::CopyFrom(const ClientMalwareResponse& from) {
  1.1541 +  if (&from == this) return;
  1.1542 +  Clear();
  1.1543 +  MergeFrom(from);
  1.1544 +}
  1.1545 +
  1.1546 +bool ClientMalwareResponse::IsInitialized() const {
  1.1547 +  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
  1.1548 +  
  1.1549 +  return true;
  1.1550 +}
  1.1551 +
  1.1552 +void ClientMalwareResponse::Swap(ClientMalwareResponse* other) {
  1.1553 +  if (other != this) {
  1.1554 +    std::swap(blacklist_, other->blacklist_);
  1.1555 +    std::swap(bad_ip_, other->bad_ip_);
  1.1556 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
  1.1557 +    std::swap(_cached_size_, other->_cached_size_);
  1.1558 +  }
  1.1559 +}
  1.1560 +
  1.1561 +::std::string ClientMalwareResponse::GetTypeName() const {
  1.1562 +  return "safe_browsing.ClientMalwareResponse";
  1.1563 +}
  1.1564 +
  1.1565 +
  1.1566 +// ===================================================================
  1.1567 +
  1.1568 +bool ClientDownloadRequest_ResourceType_IsValid(int value) {
  1.1569 +  switch(value) {
  1.1570 +    case 0:
  1.1571 +    case 1:
  1.1572 +    case 2:
  1.1573 +    case 3:
  1.1574 +      return true;
  1.1575 +    default:
  1.1576 +      return false;
  1.1577 +  }
  1.1578 +}
  1.1579 +
  1.1580 +#ifndef _MSC_VER
  1.1581 +const ClientDownloadRequest_ResourceType ClientDownloadRequest::DOWNLOAD_URL;
  1.1582 +const ClientDownloadRequest_ResourceType ClientDownloadRequest::DOWNLOAD_REDIRECT;
  1.1583 +const ClientDownloadRequest_ResourceType ClientDownloadRequest::TAB_URL;
  1.1584 +const ClientDownloadRequest_ResourceType ClientDownloadRequest::TAB_REDIRECT;
  1.1585 +const ClientDownloadRequest_ResourceType ClientDownloadRequest::ResourceType_MIN;
  1.1586 +const ClientDownloadRequest_ResourceType ClientDownloadRequest::ResourceType_MAX;
  1.1587 +const int ClientDownloadRequest::ResourceType_ARRAYSIZE;
  1.1588 +#endif  // _MSC_VER
  1.1589 +bool ClientDownloadRequest_DownloadType_IsValid(int value) {
  1.1590 +  switch(value) {
  1.1591 +    case 0:
  1.1592 +    case 1:
  1.1593 +    case 2:
  1.1594 +    case 3:
  1.1595 +      return true;
  1.1596 +    default:
  1.1597 +      return false;
  1.1598 +  }
  1.1599 +}
  1.1600 +
  1.1601 +#ifndef _MSC_VER
  1.1602 +const ClientDownloadRequest_DownloadType ClientDownloadRequest::WIN_EXECUTABLE;
  1.1603 +const ClientDownloadRequest_DownloadType ClientDownloadRequest::CHROME_EXTENSION;
  1.1604 +const ClientDownloadRequest_DownloadType ClientDownloadRequest::ANDROID_APK;
  1.1605 +const ClientDownloadRequest_DownloadType ClientDownloadRequest::ZIPPED_EXECUTABLE;
  1.1606 +const ClientDownloadRequest_DownloadType ClientDownloadRequest::DownloadType_MIN;
  1.1607 +const ClientDownloadRequest_DownloadType ClientDownloadRequest::DownloadType_MAX;
  1.1608 +const int ClientDownloadRequest::DownloadType_ARRAYSIZE;
  1.1609 +#endif  // _MSC_VER
  1.1610 +#ifndef _MSC_VER
  1.1611 +const int ClientDownloadRequest_Digests::kSha256FieldNumber;
  1.1612 +const int ClientDownloadRequest_Digests::kSha1FieldNumber;
  1.1613 +const int ClientDownloadRequest_Digests::kMd5FieldNumber;
  1.1614 +#endif  // !_MSC_VER
  1.1615 +
  1.1616 +ClientDownloadRequest_Digests::ClientDownloadRequest_Digests()
  1.1617 +  : ::google::protobuf::MessageLite() {
  1.1618 +  SharedCtor();
  1.1619 +}
  1.1620 +
  1.1621 +void ClientDownloadRequest_Digests::InitAsDefaultInstance() {
  1.1622 +}
  1.1623 +
  1.1624 +ClientDownloadRequest_Digests::ClientDownloadRequest_Digests(const ClientDownloadRequest_Digests& from)
  1.1625 +  : ::google::protobuf::MessageLite() {
  1.1626 +  SharedCtor();
  1.1627 +  MergeFrom(from);
  1.1628 +}
  1.1629 +
  1.1630 +void ClientDownloadRequest_Digests::SharedCtor() {
  1.1631 +  _cached_size_ = 0;
  1.1632 +  sha256_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.1633 +  sha1_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.1634 +  md5_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.1635 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.1636 +}
  1.1637 +
  1.1638 +ClientDownloadRequest_Digests::~ClientDownloadRequest_Digests() {
  1.1639 +  SharedDtor();
  1.1640 +}
  1.1641 +
  1.1642 +void ClientDownloadRequest_Digests::SharedDtor() {
  1.1643 +  if (sha256_ != &::google::protobuf::internal::kEmptyString) {
  1.1644 +    delete sha256_;
  1.1645 +  }
  1.1646 +  if (sha1_ != &::google::protobuf::internal::kEmptyString) {
  1.1647 +    delete sha1_;
  1.1648 +  }
  1.1649 +  if (md5_ != &::google::protobuf::internal::kEmptyString) {
  1.1650 +    delete md5_;
  1.1651 +  }
  1.1652 +  if (this != default_instance_) {
  1.1653 +  }
  1.1654 +}
  1.1655 +
  1.1656 +void ClientDownloadRequest_Digests::SetCachedSize(int size) const {
  1.1657 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.1658 +  _cached_size_ = size;
  1.1659 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.1660 +}
  1.1661 +const ClientDownloadRequest_Digests& ClientDownloadRequest_Digests::default_instance() {
  1.1662 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
  1.1663 +}
  1.1664 +
  1.1665 +ClientDownloadRequest_Digests* ClientDownloadRequest_Digests::default_instance_ = NULL;
  1.1666 +
  1.1667 +ClientDownloadRequest_Digests* ClientDownloadRequest_Digests::New() const {
  1.1668 +  return new ClientDownloadRequest_Digests;
  1.1669 +}
  1.1670 +
  1.1671 +void ClientDownloadRequest_Digests::Clear() {
  1.1672 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.1673 +    if (has_sha256()) {
  1.1674 +      if (sha256_ != &::google::protobuf::internal::kEmptyString) {
  1.1675 +        sha256_->clear();
  1.1676 +      }
  1.1677 +    }
  1.1678 +    if (has_sha1()) {
  1.1679 +      if (sha1_ != &::google::protobuf::internal::kEmptyString) {
  1.1680 +        sha1_->clear();
  1.1681 +      }
  1.1682 +    }
  1.1683 +    if (has_md5()) {
  1.1684 +      if (md5_ != &::google::protobuf::internal::kEmptyString) {
  1.1685 +        md5_->clear();
  1.1686 +      }
  1.1687 +    }
  1.1688 +  }
  1.1689 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.1690 +}
  1.1691 +
  1.1692 +bool ClientDownloadRequest_Digests::MergePartialFromCodedStream(
  1.1693 +    ::google::protobuf::io::CodedInputStream* input) {
  1.1694 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1.1695 +  ::google::protobuf::uint32 tag;
  1.1696 +  while ((tag = input->ReadTag()) != 0) {
  1.1697 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1.1698 +      // optional bytes sha256 = 1;
  1.1699 +      case 1: {
  1.1700 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1701 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.1702 +          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  1.1703 +                input, this->mutable_sha256()));
  1.1704 +        } else {
  1.1705 +          goto handle_uninterpreted;
  1.1706 +        }
  1.1707 +        if (input->ExpectTag(18)) goto parse_sha1;
  1.1708 +        break;
  1.1709 +      }
  1.1710 +      
  1.1711 +      // optional bytes sha1 = 2;
  1.1712 +      case 2: {
  1.1713 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1714 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.1715 +         parse_sha1:
  1.1716 +          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  1.1717 +                input, this->mutable_sha1()));
  1.1718 +        } else {
  1.1719 +          goto handle_uninterpreted;
  1.1720 +        }
  1.1721 +        if (input->ExpectTag(26)) goto parse_md5;
  1.1722 +        break;
  1.1723 +      }
  1.1724 +      
  1.1725 +      // optional bytes md5 = 3;
  1.1726 +      case 3: {
  1.1727 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1728 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.1729 +         parse_md5:
  1.1730 +          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  1.1731 +                input, this->mutable_md5()));
  1.1732 +        } else {
  1.1733 +          goto handle_uninterpreted;
  1.1734 +        }
  1.1735 +        if (input->ExpectAtEnd()) return true;
  1.1736 +        break;
  1.1737 +      }
  1.1738 +      
  1.1739 +      default: {
  1.1740 +      handle_uninterpreted:
  1.1741 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1742 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1.1743 +          return true;
  1.1744 +        }
  1.1745 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  1.1746 +        break;
  1.1747 +      }
  1.1748 +    }
  1.1749 +  }
  1.1750 +  return true;
  1.1751 +#undef DO_
  1.1752 +}
  1.1753 +
  1.1754 +void ClientDownloadRequest_Digests::SerializeWithCachedSizes(
  1.1755 +    ::google::protobuf::io::CodedOutputStream* output) const {
  1.1756 +  // optional bytes sha256 = 1;
  1.1757 +  if (has_sha256()) {
  1.1758 +    ::google::protobuf::internal::WireFormatLite::WriteBytes(
  1.1759 +      1, this->sha256(), output);
  1.1760 +  }
  1.1761 +  
  1.1762 +  // optional bytes sha1 = 2;
  1.1763 +  if (has_sha1()) {
  1.1764 +    ::google::protobuf::internal::WireFormatLite::WriteBytes(
  1.1765 +      2, this->sha1(), output);
  1.1766 +  }
  1.1767 +  
  1.1768 +  // optional bytes md5 = 3;
  1.1769 +  if (has_md5()) {
  1.1770 +    ::google::protobuf::internal::WireFormatLite::WriteBytes(
  1.1771 +      3, this->md5(), output);
  1.1772 +  }
  1.1773 +  
  1.1774 +}
  1.1775 +
  1.1776 +int ClientDownloadRequest_Digests::ByteSize() const {
  1.1777 +  int total_size = 0;
  1.1778 +  
  1.1779 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.1780 +    // optional bytes sha256 = 1;
  1.1781 +    if (has_sha256()) {
  1.1782 +      total_size += 1 +
  1.1783 +        ::google::protobuf::internal::WireFormatLite::BytesSize(
  1.1784 +          this->sha256());
  1.1785 +    }
  1.1786 +    
  1.1787 +    // optional bytes sha1 = 2;
  1.1788 +    if (has_sha1()) {
  1.1789 +      total_size += 1 +
  1.1790 +        ::google::protobuf::internal::WireFormatLite::BytesSize(
  1.1791 +          this->sha1());
  1.1792 +    }
  1.1793 +    
  1.1794 +    // optional bytes md5 = 3;
  1.1795 +    if (has_md5()) {
  1.1796 +      total_size += 1 +
  1.1797 +        ::google::protobuf::internal::WireFormatLite::BytesSize(
  1.1798 +          this->md5());
  1.1799 +    }
  1.1800 +    
  1.1801 +  }
  1.1802 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.1803 +  _cached_size_ = total_size;
  1.1804 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.1805 +  return total_size;
  1.1806 +}
  1.1807 +
  1.1808 +void ClientDownloadRequest_Digests::CheckTypeAndMergeFrom(
  1.1809 +    const ::google::protobuf::MessageLite& from) {
  1.1810 +  MergeFrom(*::google::protobuf::down_cast<const ClientDownloadRequest_Digests*>(&from));
  1.1811 +}
  1.1812 +
  1.1813 +void ClientDownloadRequest_Digests::MergeFrom(const ClientDownloadRequest_Digests& from) {
  1.1814 +  GOOGLE_CHECK_NE(&from, this);
  1.1815 +  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.1816 +    if (from.has_sha256()) {
  1.1817 +      set_sha256(from.sha256());
  1.1818 +    }
  1.1819 +    if (from.has_sha1()) {
  1.1820 +      set_sha1(from.sha1());
  1.1821 +    }
  1.1822 +    if (from.has_md5()) {
  1.1823 +      set_md5(from.md5());
  1.1824 +    }
  1.1825 +  }
  1.1826 +}
  1.1827 +
  1.1828 +void ClientDownloadRequest_Digests::CopyFrom(const ClientDownloadRequest_Digests& from) {
  1.1829 +  if (&from == this) return;
  1.1830 +  Clear();
  1.1831 +  MergeFrom(from);
  1.1832 +}
  1.1833 +
  1.1834 +bool ClientDownloadRequest_Digests::IsInitialized() const {
  1.1835 +  
  1.1836 +  return true;
  1.1837 +}
  1.1838 +
  1.1839 +void ClientDownloadRequest_Digests::Swap(ClientDownloadRequest_Digests* other) {
  1.1840 +  if (other != this) {
  1.1841 +    std::swap(sha256_, other->sha256_);
  1.1842 +    std::swap(sha1_, other->sha1_);
  1.1843 +    std::swap(md5_, other->md5_);
  1.1844 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
  1.1845 +    std::swap(_cached_size_, other->_cached_size_);
  1.1846 +  }
  1.1847 +}
  1.1848 +
  1.1849 +::std::string ClientDownloadRequest_Digests::GetTypeName() const {
  1.1850 +  return "safe_browsing.ClientDownloadRequest.Digests";
  1.1851 +}
  1.1852 +
  1.1853 +
  1.1854 +// -------------------------------------------------------------------
  1.1855 +
  1.1856 +#ifndef _MSC_VER
  1.1857 +const int ClientDownloadRequest_Resource::kUrlFieldNumber;
  1.1858 +const int ClientDownloadRequest_Resource::kTypeFieldNumber;
  1.1859 +const int ClientDownloadRequest_Resource::kRemoteIpFieldNumber;
  1.1860 +const int ClientDownloadRequest_Resource::kReferrerFieldNumber;
  1.1861 +#endif  // !_MSC_VER
  1.1862 +
  1.1863 +ClientDownloadRequest_Resource::ClientDownloadRequest_Resource()
  1.1864 +  : ::google::protobuf::MessageLite() {
  1.1865 +  SharedCtor();
  1.1866 +}
  1.1867 +
  1.1868 +void ClientDownloadRequest_Resource::InitAsDefaultInstance() {
  1.1869 +}
  1.1870 +
  1.1871 +ClientDownloadRequest_Resource::ClientDownloadRequest_Resource(const ClientDownloadRequest_Resource& from)
  1.1872 +  : ::google::protobuf::MessageLite() {
  1.1873 +  SharedCtor();
  1.1874 +  MergeFrom(from);
  1.1875 +}
  1.1876 +
  1.1877 +void ClientDownloadRequest_Resource::SharedCtor() {
  1.1878 +  _cached_size_ = 0;
  1.1879 +  url_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.1880 +  type_ = 0;
  1.1881 +  remote_ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.1882 +  referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.1883 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.1884 +}
  1.1885 +
  1.1886 +ClientDownloadRequest_Resource::~ClientDownloadRequest_Resource() {
  1.1887 +  SharedDtor();
  1.1888 +}
  1.1889 +
  1.1890 +void ClientDownloadRequest_Resource::SharedDtor() {
  1.1891 +  if (url_ != &::google::protobuf::internal::kEmptyString) {
  1.1892 +    delete url_;
  1.1893 +  }
  1.1894 +  if (remote_ip_ != &::google::protobuf::internal::kEmptyString) {
  1.1895 +    delete remote_ip_;
  1.1896 +  }
  1.1897 +  if (referrer_ != &::google::protobuf::internal::kEmptyString) {
  1.1898 +    delete referrer_;
  1.1899 +  }
  1.1900 +  if (this != default_instance_) {
  1.1901 +  }
  1.1902 +}
  1.1903 +
  1.1904 +void ClientDownloadRequest_Resource::SetCachedSize(int size) const {
  1.1905 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.1906 +  _cached_size_ = size;
  1.1907 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.1908 +}
  1.1909 +const ClientDownloadRequest_Resource& ClientDownloadRequest_Resource::default_instance() {
  1.1910 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
  1.1911 +}
  1.1912 +
  1.1913 +ClientDownloadRequest_Resource* ClientDownloadRequest_Resource::default_instance_ = NULL;
  1.1914 +
  1.1915 +ClientDownloadRequest_Resource* ClientDownloadRequest_Resource::New() const {
  1.1916 +  return new ClientDownloadRequest_Resource;
  1.1917 +}
  1.1918 +
  1.1919 +void ClientDownloadRequest_Resource::Clear() {
  1.1920 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.1921 +    if (has_url()) {
  1.1922 +      if (url_ != &::google::protobuf::internal::kEmptyString) {
  1.1923 +        url_->clear();
  1.1924 +      }
  1.1925 +    }
  1.1926 +    type_ = 0;
  1.1927 +    if (has_remote_ip()) {
  1.1928 +      if (remote_ip_ != &::google::protobuf::internal::kEmptyString) {
  1.1929 +        remote_ip_->clear();
  1.1930 +      }
  1.1931 +    }
  1.1932 +    if (has_referrer()) {
  1.1933 +      if (referrer_ != &::google::protobuf::internal::kEmptyString) {
  1.1934 +        referrer_->clear();
  1.1935 +      }
  1.1936 +    }
  1.1937 +  }
  1.1938 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.1939 +}
  1.1940 +
  1.1941 +bool ClientDownloadRequest_Resource::MergePartialFromCodedStream(
  1.1942 +    ::google::protobuf::io::CodedInputStream* input) {
  1.1943 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1.1944 +  ::google::protobuf::uint32 tag;
  1.1945 +  while ((tag = input->ReadTag()) != 0) {
  1.1946 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1.1947 +      // required string url = 1;
  1.1948 +      case 1: {
  1.1949 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1950 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.1951 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1.1952 +                input, this->mutable_url()));
  1.1953 +        } else {
  1.1954 +          goto handle_uninterpreted;
  1.1955 +        }
  1.1956 +        if (input->ExpectTag(16)) goto parse_type;
  1.1957 +        break;
  1.1958 +      }
  1.1959 +      
  1.1960 +      // required .safe_browsing.ClientDownloadRequest.ResourceType type = 2;
  1.1961 +      case 2: {
  1.1962 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1963 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1.1964 +         parse_type:
  1.1965 +          int value;
  1.1966 +          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1.1967 +                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1.1968 +                 input, &value)));
  1.1969 +          if (::safe_browsing::ClientDownloadRequest_ResourceType_IsValid(value)) {
  1.1970 +            set_type(static_cast< ::safe_browsing::ClientDownloadRequest_ResourceType >(value));
  1.1971 +          }
  1.1972 +        } else {
  1.1973 +          goto handle_uninterpreted;
  1.1974 +        }
  1.1975 +        if (input->ExpectTag(26)) goto parse_remote_ip;
  1.1976 +        break;
  1.1977 +      }
  1.1978 +      
  1.1979 +      // optional bytes remote_ip = 3;
  1.1980 +      case 3: {
  1.1981 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1982 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.1983 +         parse_remote_ip:
  1.1984 +          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  1.1985 +                input, this->mutable_remote_ip()));
  1.1986 +        } else {
  1.1987 +          goto handle_uninterpreted;
  1.1988 +        }
  1.1989 +        if (input->ExpectTag(34)) goto parse_referrer;
  1.1990 +        break;
  1.1991 +      }
  1.1992 +      
  1.1993 +      // optional string referrer = 4;
  1.1994 +      case 4: {
  1.1995 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.1996 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.1997 +         parse_referrer:
  1.1998 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1.1999 +                input, this->mutable_referrer()));
  1.2000 +        } else {
  1.2001 +          goto handle_uninterpreted;
  1.2002 +        }
  1.2003 +        if (input->ExpectAtEnd()) return true;
  1.2004 +        break;
  1.2005 +      }
  1.2006 +      
  1.2007 +      default: {
  1.2008 +      handle_uninterpreted:
  1.2009 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2010 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1.2011 +          return true;
  1.2012 +        }
  1.2013 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  1.2014 +        break;
  1.2015 +      }
  1.2016 +    }
  1.2017 +  }
  1.2018 +  return true;
  1.2019 +#undef DO_
  1.2020 +}
  1.2021 +
  1.2022 +void ClientDownloadRequest_Resource::SerializeWithCachedSizes(
  1.2023 +    ::google::protobuf::io::CodedOutputStream* output) const {
  1.2024 +  // required string url = 1;
  1.2025 +  if (has_url()) {
  1.2026 +    ::google::protobuf::internal::WireFormatLite::WriteString(
  1.2027 +      1, this->url(), output);
  1.2028 +  }
  1.2029 +  
  1.2030 +  // required .safe_browsing.ClientDownloadRequest.ResourceType type = 2;
  1.2031 +  if (has_type()) {
  1.2032 +    ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1.2033 +      2, this->type(), output);
  1.2034 +  }
  1.2035 +  
  1.2036 +  // optional bytes remote_ip = 3;
  1.2037 +  if (has_remote_ip()) {
  1.2038 +    ::google::protobuf::internal::WireFormatLite::WriteBytes(
  1.2039 +      3, this->remote_ip(), output);
  1.2040 +  }
  1.2041 +  
  1.2042 +  // optional string referrer = 4;
  1.2043 +  if (has_referrer()) {
  1.2044 +    ::google::protobuf::internal::WireFormatLite::WriteString(
  1.2045 +      4, this->referrer(), output);
  1.2046 +  }
  1.2047 +  
  1.2048 +}
  1.2049 +
  1.2050 +int ClientDownloadRequest_Resource::ByteSize() const {
  1.2051 +  int total_size = 0;
  1.2052 +  
  1.2053 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.2054 +    // required string url = 1;
  1.2055 +    if (has_url()) {
  1.2056 +      total_size += 1 +
  1.2057 +        ::google::protobuf::internal::WireFormatLite::StringSize(
  1.2058 +          this->url());
  1.2059 +    }
  1.2060 +    
  1.2061 +    // required .safe_browsing.ClientDownloadRequest.ResourceType type = 2;
  1.2062 +    if (has_type()) {
  1.2063 +      total_size += 1 +
  1.2064 +        ::google::protobuf::internal::WireFormatLite::EnumSize(this->type());
  1.2065 +    }
  1.2066 +    
  1.2067 +    // optional bytes remote_ip = 3;
  1.2068 +    if (has_remote_ip()) {
  1.2069 +      total_size += 1 +
  1.2070 +        ::google::protobuf::internal::WireFormatLite::BytesSize(
  1.2071 +          this->remote_ip());
  1.2072 +    }
  1.2073 +    
  1.2074 +    // optional string referrer = 4;
  1.2075 +    if (has_referrer()) {
  1.2076 +      total_size += 1 +
  1.2077 +        ::google::protobuf::internal::WireFormatLite::StringSize(
  1.2078 +          this->referrer());
  1.2079 +    }
  1.2080 +    
  1.2081 +  }
  1.2082 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.2083 +  _cached_size_ = total_size;
  1.2084 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.2085 +  return total_size;
  1.2086 +}
  1.2087 +
  1.2088 +void ClientDownloadRequest_Resource::CheckTypeAndMergeFrom(
  1.2089 +    const ::google::protobuf::MessageLite& from) {
  1.2090 +  MergeFrom(*::google::protobuf::down_cast<const ClientDownloadRequest_Resource*>(&from));
  1.2091 +}
  1.2092 +
  1.2093 +void ClientDownloadRequest_Resource::MergeFrom(const ClientDownloadRequest_Resource& from) {
  1.2094 +  GOOGLE_CHECK_NE(&from, this);
  1.2095 +  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.2096 +    if (from.has_url()) {
  1.2097 +      set_url(from.url());
  1.2098 +    }
  1.2099 +    if (from.has_type()) {
  1.2100 +      set_type(from.type());
  1.2101 +    }
  1.2102 +    if (from.has_remote_ip()) {
  1.2103 +      set_remote_ip(from.remote_ip());
  1.2104 +    }
  1.2105 +    if (from.has_referrer()) {
  1.2106 +      set_referrer(from.referrer());
  1.2107 +    }
  1.2108 +  }
  1.2109 +}
  1.2110 +
  1.2111 +void ClientDownloadRequest_Resource::CopyFrom(const ClientDownloadRequest_Resource& from) {
  1.2112 +  if (&from == this) return;
  1.2113 +  Clear();
  1.2114 +  MergeFrom(from);
  1.2115 +}
  1.2116 +
  1.2117 +bool ClientDownloadRequest_Resource::IsInitialized() const {
  1.2118 +  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
  1.2119 +  
  1.2120 +  return true;
  1.2121 +}
  1.2122 +
  1.2123 +void ClientDownloadRequest_Resource::Swap(ClientDownloadRequest_Resource* other) {
  1.2124 +  if (other != this) {
  1.2125 +    std::swap(url_, other->url_);
  1.2126 +    std::swap(type_, other->type_);
  1.2127 +    std::swap(remote_ip_, other->remote_ip_);
  1.2128 +    std::swap(referrer_, other->referrer_);
  1.2129 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
  1.2130 +    std::swap(_cached_size_, other->_cached_size_);
  1.2131 +  }
  1.2132 +}
  1.2133 +
  1.2134 +::std::string ClientDownloadRequest_Resource::GetTypeName() const {
  1.2135 +  return "safe_browsing.ClientDownloadRequest.Resource";
  1.2136 +}
  1.2137 +
  1.2138 +
  1.2139 +// -------------------------------------------------------------------
  1.2140 +
  1.2141 +#ifndef _MSC_VER
  1.2142 +const int ClientDownloadRequest_CertificateChain_Element::kCertificateFieldNumber;
  1.2143 +#endif  // !_MSC_VER
  1.2144 +
  1.2145 +ClientDownloadRequest_CertificateChain_Element::ClientDownloadRequest_CertificateChain_Element()
  1.2146 +  : ::google::protobuf::MessageLite() {
  1.2147 +  SharedCtor();
  1.2148 +}
  1.2149 +
  1.2150 +void ClientDownloadRequest_CertificateChain_Element::InitAsDefaultInstance() {
  1.2151 +}
  1.2152 +
  1.2153 +ClientDownloadRequest_CertificateChain_Element::ClientDownloadRequest_CertificateChain_Element(const ClientDownloadRequest_CertificateChain_Element& from)
  1.2154 +  : ::google::protobuf::MessageLite() {
  1.2155 +  SharedCtor();
  1.2156 +  MergeFrom(from);
  1.2157 +}
  1.2158 +
  1.2159 +void ClientDownloadRequest_CertificateChain_Element::SharedCtor() {
  1.2160 +  _cached_size_ = 0;
  1.2161 +  certificate_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.2162 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.2163 +}
  1.2164 +
  1.2165 +ClientDownloadRequest_CertificateChain_Element::~ClientDownloadRequest_CertificateChain_Element() {
  1.2166 +  SharedDtor();
  1.2167 +}
  1.2168 +
  1.2169 +void ClientDownloadRequest_CertificateChain_Element::SharedDtor() {
  1.2170 +  if (certificate_ != &::google::protobuf::internal::kEmptyString) {
  1.2171 +    delete certificate_;
  1.2172 +  }
  1.2173 +  if (this != default_instance_) {
  1.2174 +  }
  1.2175 +}
  1.2176 +
  1.2177 +void ClientDownloadRequest_CertificateChain_Element::SetCachedSize(int size) const {
  1.2178 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.2179 +  _cached_size_ = size;
  1.2180 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.2181 +}
  1.2182 +const ClientDownloadRequest_CertificateChain_Element& ClientDownloadRequest_CertificateChain_Element::default_instance() {
  1.2183 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
  1.2184 +}
  1.2185 +
  1.2186 +ClientDownloadRequest_CertificateChain_Element* ClientDownloadRequest_CertificateChain_Element::default_instance_ = NULL;
  1.2187 +
  1.2188 +ClientDownloadRequest_CertificateChain_Element* ClientDownloadRequest_CertificateChain_Element::New() const {
  1.2189 +  return new ClientDownloadRequest_CertificateChain_Element;
  1.2190 +}
  1.2191 +
  1.2192 +void ClientDownloadRequest_CertificateChain_Element::Clear() {
  1.2193 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.2194 +    if (has_certificate()) {
  1.2195 +      if (certificate_ != &::google::protobuf::internal::kEmptyString) {
  1.2196 +        certificate_->clear();
  1.2197 +      }
  1.2198 +    }
  1.2199 +  }
  1.2200 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.2201 +}
  1.2202 +
  1.2203 +bool ClientDownloadRequest_CertificateChain_Element::MergePartialFromCodedStream(
  1.2204 +    ::google::protobuf::io::CodedInputStream* input) {
  1.2205 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1.2206 +  ::google::protobuf::uint32 tag;
  1.2207 +  while ((tag = input->ReadTag()) != 0) {
  1.2208 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1.2209 +      // optional bytes certificate = 1;
  1.2210 +      case 1: {
  1.2211 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2212 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.2213 +          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  1.2214 +                input, this->mutable_certificate()));
  1.2215 +        } else {
  1.2216 +          goto handle_uninterpreted;
  1.2217 +        }
  1.2218 +        if (input->ExpectAtEnd()) return true;
  1.2219 +        break;
  1.2220 +      }
  1.2221 +      
  1.2222 +      default: {
  1.2223 +      handle_uninterpreted:
  1.2224 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2225 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1.2226 +          return true;
  1.2227 +        }
  1.2228 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  1.2229 +        break;
  1.2230 +      }
  1.2231 +    }
  1.2232 +  }
  1.2233 +  return true;
  1.2234 +#undef DO_
  1.2235 +}
  1.2236 +
  1.2237 +void ClientDownloadRequest_CertificateChain_Element::SerializeWithCachedSizes(
  1.2238 +    ::google::protobuf::io::CodedOutputStream* output) const {
  1.2239 +  // optional bytes certificate = 1;
  1.2240 +  if (has_certificate()) {
  1.2241 +    ::google::protobuf::internal::WireFormatLite::WriteBytes(
  1.2242 +      1, this->certificate(), output);
  1.2243 +  }
  1.2244 +  
  1.2245 +}
  1.2246 +
  1.2247 +int ClientDownloadRequest_CertificateChain_Element::ByteSize() const {
  1.2248 +  int total_size = 0;
  1.2249 +  
  1.2250 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.2251 +    // optional bytes certificate = 1;
  1.2252 +    if (has_certificate()) {
  1.2253 +      total_size += 1 +
  1.2254 +        ::google::protobuf::internal::WireFormatLite::BytesSize(
  1.2255 +          this->certificate());
  1.2256 +    }
  1.2257 +    
  1.2258 +  }
  1.2259 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.2260 +  _cached_size_ = total_size;
  1.2261 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.2262 +  return total_size;
  1.2263 +}
  1.2264 +
  1.2265 +void ClientDownloadRequest_CertificateChain_Element::CheckTypeAndMergeFrom(
  1.2266 +    const ::google::protobuf::MessageLite& from) {
  1.2267 +  MergeFrom(*::google::protobuf::down_cast<const ClientDownloadRequest_CertificateChain_Element*>(&from));
  1.2268 +}
  1.2269 +
  1.2270 +void ClientDownloadRequest_CertificateChain_Element::MergeFrom(const ClientDownloadRequest_CertificateChain_Element& from) {
  1.2271 +  GOOGLE_CHECK_NE(&from, this);
  1.2272 +  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.2273 +    if (from.has_certificate()) {
  1.2274 +      set_certificate(from.certificate());
  1.2275 +    }
  1.2276 +  }
  1.2277 +}
  1.2278 +
  1.2279 +void ClientDownloadRequest_CertificateChain_Element::CopyFrom(const ClientDownloadRequest_CertificateChain_Element& from) {
  1.2280 +  if (&from == this) return;
  1.2281 +  Clear();
  1.2282 +  MergeFrom(from);
  1.2283 +}
  1.2284 +
  1.2285 +bool ClientDownloadRequest_CertificateChain_Element::IsInitialized() const {
  1.2286 +  
  1.2287 +  return true;
  1.2288 +}
  1.2289 +
  1.2290 +void ClientDownloadRequest_CertificateChain_Element::Swap(ClientDownloadRequest_CertificateChain_Element* other) {
  1.2291 +  if (other != this) {
  1.2292 +    std::swap(certificate_, other->certificate_);
  1.2293 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
  1.2294 +    std::swap(_cached_size_, other->_cached_size_);
  1.2295 +  }
  1.2296 +}
  1.2297 +
  1.2298 +::std::string ClientDownloadRequest_CertificateChain_Element::GetTypeName() const {
  1.2299 +  return "safe_browsing.ClientDownloadRequest.CertificateChain.Element";
  1.2300 +}
  1.2301 +
  1.2302 +
  1.2303 +// -------------------------------------------------------------------
  1.2304 +
  1.2305 +#ifndef _MSC_VER
  1.2306 +const int ClientDownloadRequest_CertificateChain::kElementFieldNumber;
  1.2307 +#endif  // !_MSC_VER
  1.2308 +
  1.2309 +ClientDownloadRequest_CertificateChain::ClientDownloadRequest_CertificateChain()
  1.2310 +  : ::google::protobuf::MessageLite() {
  1.2311 +  SharedCtor();
  1.2312 +}
  1.2313 +
  1.2314 +void ClientDownloadRequest_CertificateChain::InitAsDefaultInstance() {
  1.2315 +}
  1.2316 +
  1.2317 +ClientDownloadRequest_CertificateChain::ClientDownloadRequest_CertificateChain(const ClientDownloadRequest_CertificateChain& from)
  1.2318 +  : ::google::protobuf::MessageLite() {
  1.2319 +  SharedCtor();
  1.2320 +  MergeFrom(from);
  1.2321 +}
  1.2322 +
  1.2323 +void ClientDownloadRequest_CertificateChain::SharedCtor() {
  1.2324 +  _cached_size_ = 0;
  1.2325 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.2326 +}
  1.2327 +
  1.2328 +ClientDownloadRequest_CertificateChain::~ClientDownloadRequest_CertificateChain() {
  1.2329 +  SharedDtor();
  1.2330 +}
  1.2331 +
  1.2332 +void ClientDownloadRequest_CertificateChain::SharedDtor() {
  1.2333 +  if (this != default_instance_) {
  1.2334 +  }
  1.2335 +}
  1.2336 +
  1.2337 +void ClientDownloadRequest_CertificateChain::SetCachedSize(int size) const {
  1.2338 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.2339 +  _cached_size_ = size;
  1.2340 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.2341 +}
  1.2342 +const ClientDownloadRequest_CertificateChain& ClientDownloadRequest_CertificateChain::default_instance() {
  1.2343 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
  1.2344 +}
  1.2345 +
  1.2346 +ClientDownloadRequest_CertificateChain* ClientDownloadRequest_CertificateChain::default_instance_ = NULL;
  1.2347 +
  1.2348 +ClientDownloadRequest_CertificateChain* ClientDownloadRequest_CertificateChain::New() const {
  1.2349 +  return new ClientDownloadRequest_CertificateChain;
  1.2350 +}
  1.2351 +
  1.2352 +void ClientDownloadRequest_CertificateChain::Clear() {
  1.2353 +  element_.Clear();
  1.2354 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.2355 +}
  1.2356 +
  1.2357 +bool ClientDownloadRequest_CertificateChain::MergePartialFromCodedStream(
  1.2358 +    ::google::protobuf::io::CodedInputStream* input) {
  1.2359 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1.2360 +  ::google::protobuf::uint32 tag;
  1.2361 +  while ((tag = input->ReadTag()) != 0) {
  1.2362 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1.2363 +      // repeated .safe_browsing.ClientDownloadRequest.CertificateChain.Element element = 1;
  1.2364 +      case 1: {
  1.2365 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2366 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.2367 +         parse_element:
  1.2368 +          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1.2369 +                input, add_element()));
  1.2370 +        } else {
  1.2371 +          goto handle_uninterpreted;
  1.2372 +        }
  1.2373 +        if (input->ExpectTag(10)) goto parse_element;
  1.2374 +        if (input->ExpectAtEnd()) return true;
  1.2375 +        break;
  1.2376 +      }
  1.2377 +      
  1.2378 +      default: {
  1.2379 +      handle_uninterpreted:
  1.2380 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2381 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1.2382 +          return true;
  1.2383 +        }
  1.2384 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  1.2385 +        break;
  1.2386 +      }
  1.2387 +    }
  1.2388 +  }
  1.2389 +  return true;
  1.2390 +#undef DO_
  1.2391 +}
  1.2392 +
  1.2393 +void ClientDownloadRequest_CertificateChain::SerializeWithCachedSizes(
  1.2394 +    ::google::protobuf::io::CodedOutputStream* output) const {
  1.2395 +  // repeated .safe_browsing.ClientDownloadRequest.CertificateChain.Element element = 1;
  1.2396 +  for (int i = 0; i < this->element_size(); i++) {
  1.2397 +    ::google::protobuf::internal::WireFormatLite::WriteMessage(
  1.2398 +      1, this->element(i), output);
  1.2399 +  }
  1.2400 +  
  1.2401 +}
  1.2402 +
  1.2403 +int ClientDownloadRequest_CertificateChain::ByteSize() const {
  1.2404 +  int total_size = 0;
  1.2405 +  
  1.2406 +  // repeated .safe_browsing.ClientDownloadRequest.CertificateChain.Element element = 1;
  1.2407 +  total_size += 1 * this->element_size();
  1.2408 +  for (int i = 0; i < this->element_size(); i++) {
  1.2409 +    total_size +=
  1.2410 +      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1.2411 +        this->element(i));
  1.2412 +  }
  1.2413 +  
  1.2414 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.2415 +  _cached_size_ = total_size;
  1.2416 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.2417 +  return total_size;
  1.2418 +}
  1.2419 +
  1.2420 +void ClientDownloadRequest_CertificateChain::CheckTypeAndMergeFrom(
  1.2421 +    const ::google::protobuf::MessageLite& from) {
  1.2422 +  MergeFrom(*::google::protobuf::down_cast<const ClientDownloadRequest_CertificateChain*>(&from));
  1.2423 +}
  1.2424 +
  1.2425 +void ClientDownloadRequest_CertificateChain::MergeFrom(const ClientDownloadRequest_CertificateChain& from) {
  1.2426 +  GOOGLE_CHECK_NE(&from, this);
  1.2427 +  element_.MergeFrom(from.element_);
  1.2428 +}
  1.2429 +
  1.2430 +void ClientDownloadRequest_CertificateChain::CopyFrom(const ClientDownloadRequest_CertificateChain& from) {
  1.2431 +  if (&from == this) return;
  1.2432 +  Clear();
  1.2433 +  MergeFrom(from);
  1.2434 +}
  1.2435 +
  1.2436 +bool ClientDownloadRequest_CertificateChain::IsInitialized() const {
  1.2437 +  
  1.2438 +  return true;
  1.2439 +}
  1.2440 +
  1.2441 +void ClientDownloadRequest_CertificateChain::Swap(ClientDownloadRequest_CertificateChain* other) {
  1.2442 +  if (other != this) {
  1.2443 +    element_.Swap(&other->element_);
  1.2444 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
  1.2445 +    std::swap(_cached_size_, other->_cached_size_);
  1.2446 +  }
  1.2447 +}
  1.2448 +
  1.2449 +::std::string ClientDownloadRequest_CertificateChain::GetTypeName() const {
  1.2450 +  return "safe_browsing.ClientDownloadRequest.CertificateChain";
  1.2451 +}
  1.2452 +
  1.2453 +
  1.2454 +// -------------------------------------------------------------------
  1.2455 +
  1.2456 +#ifndef _MSC_VER
  1.2457 +const int ClientDownloadRequest_SignatureInfo::kCertificateChainFieldNumber;
  1.2458 +const int ClientDownloadRequest_SignatureInfo::kTrustedFieldNumber;
  1.2459 +#endif  // !_MSC_VER
  1.2460 +
  1.2461 +ClientDownloadRequest_SignatureInfo::ClientDownloadRequest_SignatureInfo()
  1.2462 +  : ::google::protobuf::MessageLite() {
  1.2463 +  SharedCtor();
  1.2464 +}
  1.2465 +
  1.2466 +void ClientDownloadRequest_SignatureInfo::InitAsDefaultInstance() {
  1.2467 +}
  1.2468 +
  1.2469 +ClientDownloadRequest_SignatureInfo::ClientDownloadRequest_SignatureInfo(const ClientDownloadRequest_SignatureInfo& from)
  1.2470 +  : ::google::protobuf::MessageLite() {
  1.2471 +  SharedCtor();
  1.2472 +  MergeFrom(from);
  1.2473 +}
  1.2474 +
  1.2475 +void ClientDownloadRequest_SignatureInfo::SharedCtor() {
  1.2476 +  _cached_size_ = 0;
  1.2477 +  trusted_ = false;
  1.2478 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.2479 +}
  1.2480 +
  1.2481 +ClientDownloadRequest_SignatureInfo::~ClientDownloadRequest_SignatureInfo() {
  1.2482 +  SharedDtor();
  1.2483 +}
  1.2484 +
  1.2485 +void ClientDownloadRequest_SignatureInfo::SharedDtor() {
  1.2486 +  if (this != default_instance_) {
  1.2487 +  }
  1.2488 +}
  1.2489 +
  1.2490 +void ClientDownloadRequest_SignatureInfo::SetCachedSize(int size) const {
  1.2491 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.2492 +  _cached_size_ = size;
  1.2493 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.2494 +}
  1.2495 +const ClientDownloadRequest_SignatureInfo& ClientDownloadRequest_SignatureInfo::default_instance() {
  1.2496 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
  1.2497 +}
  1.2498 +
  1.2499 +ClientDownloadRequest_SignatureInfo* ClientDownloadRequest_SignatureInfo::default_instance_ = NULL;
  1.2500 +
  1.2501 +ClientDownloadRequest_SignatureInfo* ClientDownloadRequest_SignatureInfo::New() const {
  1.2502 +  return new ClientDownloadRequest_SignatureInfo;
  1.2503 +}
  1.2504 +
  1.2505 +void ClientDownloadRequest_SignatureInfo::Clear() {
  1.2506 +  if (_has_bits_[1 / 32] & (0xffu << (1 % 32))) {
  1.2507 +    trusted_ = false;
  1.2508 +  }
  1.2509 +  certificate_chain_.Clear();
  1.2510 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.2511 +}
  1.2512 +
  1.2513 +bool ClientDownloadRequest_SignatureInfo::MergePartialFromCodedStream(
  1.2514 +    ::google::protobuf::io::CodedInputStream* input) {
  1.2515 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1.2516 +  ::google::protobuf::uint32 tag;
  1.2517 +  while ((tag = input->ReadTag()) != 0) {
  1.2518 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1.2519 +      // repeated .safe_browsing.ClientDownloadRequest.CertificateChain certificate_chain = 1;
  1.2520 +      case 1: {
  1.2521 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2522 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.2523 +         parse_certificate_chain:
  1.2524 +          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1.2525 +                input, add_certificate_chain()));
  1.2526 +        } else {
  1.2527 +          goto handle_uninterpreted;
  1.2528 +        }
  1.2529 +        if (input->ExpectTag(10)) goto parse_certificate_chain;
  1.2530 +        if (input->ExpectTag(16)) goto parse_trusted;
  1.2531 +        break;
  1.2532 +      }
  1.2533 +      
  1.2534 +      // optional bool trusted = 2;
  1.2535 +      case 2: {
  1.2536 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2537 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1.2538 +         parse_trusted:
  1.2539 +          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1.2540 +                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  1.2541 +                 input, &trusted_)));
  1.2542 +          set_has_trusted();
  1.2543 +        } else {
  1.2544 +          goto handle_uninterpreted;
  1.2545 +        }
  1.2546 +        if (input->ExpectAtEnd()) return true;
  1.2547 +        break;
  1.2548 +      }
  1.2549 +      
  1.2550 +      default: {
  1.2551 +      handle_uninterpreted:
  1.2552 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2553 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1.2554 +          return true;
  1.2555 +        }
  1.2556 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  1.2557 +        break;
  1.2558 +      }
  1.2559 +    }
  1.2560 +  }
  1.2561 +  return true;
  1.2562 +#undef DO_
  1.2563 +}
  1.2564 +
  1.2565 +void ClientDownloadRequest_SignatureInfo::SerializeWithCachedSizes(
  1.2566 +    ::google::protobuf::io::CodedOutputStream* output) const {
  1.2567 +  // repeated .safe_browsing.ClientDownloadRequest.CertificateChain certificate_chain = 1;
  1.2568 +  for (int i = 0; i < this->certificate_chain_size(); i++) {
  1.2569 +    ::google::protobuf::internal::WireFormatLite::WriteMessage(
  1.2570 +      1, this->certificate_chain(i), output);
  1.2571 +  }
  1.2572 +  
  1.2573 +  // optional bool trusted = 2;
  1.2574 +  if (has_trusted()) {
  1.2575 +    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->trusted(), output);
  1.2576 +  }
  1.2577 +  
  1.2578 +}
  1.2579 +
  1.2580 +int ClientDownloadRequest_SignatureInfo::ByteSize() const {
  1.2581 +  int total_size = 0;
  1.2582 +  
  1.2583 +  if (_has_bits_[1 / 32] & (0xffu << (1 % 32))) {
  1.2584 +    // optional bool trusted = 2;
  1.2585 +    if (has_trusted()) {
  1.2586 +      total_size += 1 + 1;
  1.2587 +    }
  1.2588 +    
  1.2589 +  }
  1.2590 +  // repeated .safe_browsing.ClientDownloadRequest.CertificateChain certificate_chain = 1;
  1.2591 +  total_size += 1 * this->certificate_chain_size();
  1.2592 +  for (int i = 0; i < this->certificate_chain_size(); i++) {
  1.2593 +    total_size +=
  1.2594 +      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1.2595 +        this->certificate_chain(i));
  1.2596 +  }
  1.2597 +  
  1.2598 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.2599 +  _cached_size_ = total_size;
  1.2600 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.2601 +  return total_size;
  1.2602 +}
  1.2603 +
  1.2604 +void ClientDownloadRequest_SignatureInfo::CheckTypeAndMergeFrom(
  1.2605 +    const ::google::protobuf::MessageLite& from) {
  1.2606 +  MergeFrom(*::google::protobuf::down_cast<const ClientDownloadRequest_SignatureInfo*>(&from));
  1.2607 +}
  1.2608 +
  1.2609 +void ClientDownloadRequest_SignatureInfo::MergeFrom(const ClientDownloadRequest_SignatureInfo& from) {
  1.2610 +  GOOGLE_CHECK_NE(&from, this);
  1.2611 +  certificate_chain_.MergeFrom(from.certificate_chain_);
  1.2612 +  if (from._has_bits_[1 / 32] & (0xffu << (1 % 32))) {
  1.2613 +    if (from.has_trusted()) {
  1.2614 +      set_trusted(from.trusted());
  1.2615 +    }
  1.2616 +  }
  1.2617 +}
  1.2618 +
  1.2619 +void ClientDownloadRequest_SignatureInfo::CopyFrom(const ClientDownloadRequest_SignatureInfo& from) {
  1.2620 +  if (&from == this) return;
  1.2621 +  Clear();
  1.2622 +  MergeFrom(from);
  1.2623 +}
  1.2624 +
  1.2625 +bool ClientDownloadRequest_SignatureInfo::IsInitialized() const {
  1.2626 +  
  1.2627 +  return true;
  1.2628 +}
  1.2629 +
  1.2630 +void ClientDownloadRequest_SignatureInfo::Swap(ClientDownloadRequest_SignatureInfo* other) {
  1.2631 +  if (other != this) {
  1.2632 +    certificate_chain_.Swap(&other->certificate_chain_);
  1.2633 +    std::swap(trusted_, other->trusted_);
  1.2634 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
  1.2635 +    std::swap(_cached_size_, other->_cached_size_);
  1.2636 +  }
  1.2637 +}
  1.2638 +
  1.2639 +::std::string ClientDownloadRequest_SignatureInfo::GetTypeName() const {
  1.2640 +  return "safe_browsing.ClientDownloadRequest.SignatureInfo";
  1.2641 +}
  1.2642 +
  1.2643 +
  1.2644 +// -------------------------------------------------------------------
  1.2645 +
  1.2646 +#ifndef _MSC_VER
  1.2647 +const int ClientDownloadRequest::kUrlFieldNumber;
  1.2648 +const int ClientDownloadRequest::kDigestsFieldNumber;
  1.2649 +const int ClientDownloadRequest::kLengthFieldNumber;
  1.2650 +const int ClientDownloadRequest::kResourcesFieldNumber;
  1.2651 +const int ClientDownloadRequest::kSignatureFieldNumber;
  1.2652 +const int ClientDownloadRequest::kUserInitiatedFieldNumber;
  1.2653 +const int ClientDownloadRequest::kFileBasenameFieldNumber;
  1.2654 +const int ClientDownloadRequest::kDownloadTypeFieldNumber;
  1.2655 +const int ClientDownloadRequest::kLocaleFieldNumber;
  1.2656 +#endif  // !_MSC_VER
  1.2657 +
  1.2658 +ClientDownloadRequest::ClientDownloadRequest()
  1.2659 +  : ::google::protobuf::MessageLite() {
  1.2660 +  SharedCtor();
  1.2661 +}
  1.2662 +
  1.2663 +void ClientDownloadRequest::InitAsDefaultInstance() {
  1.2664 +  digests_ = const_cast< ::safe_browsing::ClientDownloadRequest_Digests*>(&::safe_browsing::ClientDownloadRequest_Digests::default_instance());
  1.2665 +  signature_ = const_cast< ::safe_browsing::ClientDownloadRequest_SignatureInfo*>(&::safe_browsing::ClientDownloadRequest_SignatureInfo::default_instance());
  1.2666 +}
  1.2667 +
  1.2668 +ClientDownloadRequest::ClientDownloadRequest(const ClientDownloadRequest& from)
  1.2669 +  : ::google::protobuf::MessageLite() {
  1.2670 +  SharedCtor();
  1.2671 +  MergeFrom(from);
  1.2672 +}
  1.2673 +
  1.2674 +void ClientDownloadRequest::SharedCtor() {
  1.2675 +  _cached_size_ = 0;
  1.2676 +  url_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.2677 +  digests_ = NULL;
  1.2678 +  length_ = GOOGLE_LONGLONG(0);
  1.2679 +  signature_ = NULL;
  1.2680 +  user_initiated_ = false;
  1.2681 +  file_basename_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.2682 +  download_type_ = 0;
  1.2683 +  locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.2684 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.2685 +}
  1.2686 +
  1.2687 +ClientDownloadRequest::~ClientDownloadRequest() {
  1.2688 +  SharedDtor();
  1.2689 +}
  1.2690 +
  1.2691 +void ClientDownloadRequest::SharedDtor() {
  1.2692 +  if (url_ != &::google::protobuf::internal::kEmptyString) {
  1.2693 +    delete url_;
  1.2694 +  }
  1.2695 +  if (file_basename_ != &::google::protobuf::internal::kEmptyString) {
  1.2696 +    delete file_basename_;
  1.2697 +  }
  1.2698 +  if (locale_ != &::google::protobuf::internal::kEmptyString) {
  1.2699 +    delete locale_;
  1.2700 +  }
  1.2701 +  if (this != default_instance_) {
  1.2702 +    delete digests_;
  1.2703 +    delete signature_;
  1.2704 +  }
  1.2705 +}
  1.2706 +
  1.2707 +void ClientDownloadRequest::SetCachedSize(int size) const {
  1.2708 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.2709 +  _cached_size_ = size;
  1.2710 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.2711 +}
  1.2712 +const ClientDownloadRequest& ClientDownloadRequest::default_instance() {
  1.2713 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
  1.2714 +}
  1.2715 +
  1.2716 +ClientDownloadRequest* ClientDownloadRequest::default_instance_ = NULL;
  1.2717 +
  1.2718 +ClientDownloadRequest* ClientDownloadRequest::New() const {
  1.2719 +  return new ClientDownloadRequest;
  1.2720 +}
  1.2721 +
  1.2722 +void ClientDownloadRequest::Clear() {
  1.2723 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.2724 +    if (has_url()) {
  1.2725 +      if (url_ != &::google::protobuf::internal::kEmptyString) {
  1.2726 +        url_->clear();
  1.2727 +      }
  1.2728 +    }
  1.2729 +    if (has_digests()) {
  1.2730 +      if (digests_ != NULL) digests_->::safe_browsing::ClientDownloadRequest_Digests::Clear();
  1.2731 +    }
  1.2732 +    length_ = GOOGLE_LONGLONG(0);
  1.2733 +    if (has_signature()) {
  1.2734 +      if (signature_ != NULL) signature_->::safe_browsing::ClientDownloadRequest_SignatureInfo::Clear();
  1.2735 +    }
  1.2736 +    user_initiated_ = false;
  1.2737 +    if (has_file_basename()) {
  1.2738 +      if (file_basename_ != &::google::protobuf::internal::kEmptyString) {
  1.2739 +        file_basename_->clear();
  1.2740 +      }
  1.2741 +    }
  1.2742 +    download_type_ = 0;
  1.2743 +  }
  1.2744 +  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  1.2745 +    if (has_locale()) {
  1.2746 +      if (locale_ != &::google::protobuf::internal::kEmptyString) {
  1.2747 +        locale_->clear();
  1.2748 +      }
  1.2749 +    }
  1.2750 +  }
  1.2751 +  resources_.Clear();
  1.2752 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.2753 +}
  1.2754 +
  1.2755 +bool ClientDownloadRequest::MergePartialFromCodedStream(
  1.2756 +    ::google::protobuf::io::CodedInputStream* input) {
  1.2757 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1.2758 +  ::google::protobuf::uint32 tag;
  1.2759 +  while ((tag = input->ReadTag()) != 0) {
  1.2760 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1.2761 +      // required string url = 1;
  1.2762 +      case 1: {
  1.2763 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2764 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.2765 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1.2766 +                input, this->mutable_url()));
  1.2767 +        } else {
  1.2768 +          goto handle_uninterpreted;
  1.2769 +        }
  1.2770 +        if (input->ExpectTag(18)) goto parse_digests;
  1.2771 +        break;
  1.2772 +      }
  1.2773 +      
  1.2774 +      // required .safe_browsing.ClientDownloadRequest.Digests digests = 2;
  1.2775 +      case 2: {
  1.2776 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2777 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.2778 +         parse_digests:
  1.2779 +          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1.2780 +               input, mutable_digests()));
  1.2781 +        } else {
  1.2782 +          goto handle_uninterpreted;
  1.2783 +        }
  1.2784 +        if (input->ExpectTag(24)) goto parse_length;
  1.2785 +        break;
  1.2786 +      }
  1.2787 +      
  1.2788 +      // required int64 length = 3;
  1.2789 +      case 3: {
  1.2790 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2791 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1.2792 +         parse_length:
  1.2793 +          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1.2794 +                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
  1.2795 +                 input, &length_)));
  1.2796 +          set_has_length();
  1.2797 +        } else {
  1.2798 +          goto handle_uninterpreted;
  1.2799 +        }
  1.2800 +        if (input->ExpectTag(34)) goto parse_resources;
  1.2801 +        break;
  1.2802 +      }
  1.2803 +      
  1.2804 +      // repeated .safe_browsing.ClientDownloadRequest.Resource resources = 4;
  1.2805 +      case 4: {
  1.2806 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2807 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.2808 +         parse_resources:
  1.2809 +          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1.2810 +                input, add_resources()));
  1.2811 +        } else {
  1.2812 +          goto handle_uninterpreted;
  1.2813 +        }
  1.2814 +        if (input->ExpectTag(34)) goto parse_resources;
  1.2815 +        if (input->ExpectTag(42)) goto parse_signature;
  1.2816 +        break;
  1.2817 +      }
  1.2818 +      
  1.2819 +      // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5;
  1.2820 +      case 5: {
  1.2821 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2822 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.2823 +         parse_signature:
  1.2824 +          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1.2825 +               input, mutable_signature()));
  1.2826 +        } else {
  1.2827 +          goto handle_uninterpreted;
  1.2828 +        }
  1.2829 +        if (input->ExpectTag(48)) goto parse_user_initiated;
  1.2830 +        break;
  1.2831 +      }
  1.2832 +      
  1.2833 +      // optional bool user_initiated = 6;
  1.2834 +      case 6: {
  1.2835 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2836 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1.2837 +         parse_user_initiated:
  1.2838 +          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1.2839 +                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  1.2840 +                 input, &user_initiated_)));
  1.2841 +          set_has_user_initiated();
  1.2842 +        } else {
  1.2843 +          goto handle_uninterpreted;
  1.2844 +        }
  1.2845 +        if (input->ExpectTag(74)) goto parse_file_basename;
  1.2846 +        break;
  1.2847 +      }
  1.2848 +      
  1.2849 +      // optional string file_basename = 9;
  1.2850 +      case 9: {
  1.2851 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2852 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.2853 +         parse_file_basename:
  1.2854 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1.2855 +                input, this->mutable_file_basename()));
  1.2856 +        } else {
  1.2857 +          goto handle_uninterpreted;
  1.2858 +        }
  1.2859 +        if (input->ExpectTag(80)) goto parse_download_type;
  1.2860 +        break;
  1.2861 +      }
  1.2862 +      
  1.2863 +      // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 10 [default = WIN_EXECUTABLE];
  1.2864 +      case 10: {
  1.2865 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2866 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1.2867 +         parse_download_type:
  1.2868 +          int value;
  1.2869 +          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1.2870 +                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1.2871 +                 input, &value)));
  1.2872 +          if (::safe_browsing::ClientDownloadRequest_DownloadType_IsValid(value)) {
  1.2873 +            set_download_type(static_cast< ::safe_browsing::ClientDownloadRequest_DownloadType >(value));
  1.2874 +          }
  1.2875 +        } else {
  1.2876 +          goto handle_uninterpreted;
  1.2877 +        }
  1.2878 +        if (input->ExpectTag(90)) goto parse_locale;
  1.2879 +        break;
  1.2880 +      }
  1.2881 +      
  1.2882 +      // optional string locale = 11;
  1.2883 +      case 11: {
  1.2884 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2885 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.2886 +         parse_locale:
  1.2887 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1.2888 +                input, this->mutable_locale()));
  1.2889 +        } else {
  1.2890 +          goto handle_uninterpreted;
  1.2891 +        }
  1.2892 +        if (input->ExpectAtEnd()) return true;
  1.2893 +        break;
  1.2894 +      }
  1.2895 +      
  1.2896 +      default: {
  1.2897 +      handle_uninterpreted:
  1.2898 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.2899 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1.2900 +          return true;
  1.2901 +        }
  1.2902 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  1.2903 +        break;
  1.2904 +      }
  1.2905 +    }
  1.2906 +  }
  1.2907 +  return true;
  1.2908 +#undef DO_
  1.2909 +}
  1.2910 +
  1.2911 +void ClientDownloadRequest::SerializeWithCachedSizes(
  1.2912 +    ::google::protobuf::io::CodedOutputStream* output) const {
  1.2913 +  // required string url = 1;
  1.2914 +  if (has_url()) {
  1.2915 +    ::google::protobuf::internal::WireFormatLite::WriteString(
  1.2916 +      1, this->url(), output);
  1.2917 +  }
  1.2918 +  
  1.2919 +  // required .safe_browsing.ClientDownloadRequest.Digests digests = 2;
  1.2920 +  if (has_digests()) {
  1.2921 +    ::google::protobuf::internal::WireFormatLite::WriteMessage(
  1.2922 +      2, this->digests(), output);
  1.2923 +  }
  1.2924 +  
  1.2925 +  // required int64 length = 3;
  1.2926 +  if (has_length()) {
  1.2927 +    ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->length(), output);
  1.2928 +  }
  1.2929 +  
  1.2930 +  // repeated .safe_browsing.ClientDownloadRequest.Resource resources = 4;
  1.2931 +  for (int i = 0; i < this->resources_size(); i++) {
  1.2932 +    ::google::protobuf::internal::WireFormatLite::WriteMessage(
  1.2933 +      4, this->resources(i), output);
  1.2934 +  }
  1.2935 +  
  1.2936 +  // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5;
  1.2937 +  if (has_signature()) {
  1.2938 +    ::google::protobuf::internal::WireFormatLite::WriteMessage(
  1.2939 +      5, this->signature(), output);
  1.2940 +  }
  1.2941 +  
  1.2942 +  // optional bool user_initiated = 6;
  1.2943 +  if (has_user_initiated()) {
  1.2944 +    ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->user_initiated(), output);
  1.2945 +  }
  1.2946 +  
  1.2947 +  // optional string file_basename = 9;
  1.2948 +  if (has_file_basename()) {
  1.2949 +    ::google::protobuf::internal::WireFormatLite::WriteString(
  1.2950 +      9, this->file_basename(), output);
  1.2951 +  }
  1.2952 +  
  1.2953 +  // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 10 [default = WIN_EXECUTABLE];
  1.2954 +  if (has_download_type()) {
  1.2955 +    ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1.2956 +      10, this->download_type(), output);
  1.2957 +  }
  1.2958 +  
  1.2959 +  // optional string locale = 11;
  1.2960 +  if (has_locale()) {
  1.2961 +    ::google::protobuf::internal::WireFormatLite::WriteString(
  1.2962 +      11, this->locale(), output);
  1.2963 +  }
  1.2964 +  
  1.2965 +}
  1.2966 +
  1.2967 +int ClientDownloadRequest::ByteSize() const {
  1.2968 +  int total_size = 0;
  1.2969 +  
  1.2970 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.2971 +    // required string url = 1;
  1.2972 +    if (has_url()) {
  1.2973 +      total_size += 1 +
  1.2974 +        ::google::protobuf::internal::WireFormatLite::StringSize(
  1.2975 +          this->url());
  1.2976 +    }
  1.2977 +    
  1.2978 +    // required .safe_browsing.ClientDownloadRequest.Digests digests = 2;
  1.2979 +    if (has_digests()) {
  1.2980 +      total_size += 1 +
  1.2981 +        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1.2982 +          this->digests());
  1.2983 +    }
  1.2984 +    
  1.2985 +    // required int64 length = 3;
  1.2986 +    if (has_length()) {
  1.2987 +      total_size += 1 +
  1.2988 +        ::google::protobuf::internal::WireFormatLite::Int64Size(
  1.2989 +          this->length());
  1.2990 +    }
  1.2991 +    
  1.2992 +    // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5;
  1.2993 +    if (has_signature()) {
  1.2994 +      total_size += 1 +
  1.2995 +        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1.2996 +          this->signature());
  1.2997 +    }
  1.2998 +    
  1.2999 +    // optional bool user_initiated = 6;
  1.3000 +    if (has_user_initiated()) {
  1.3001 +      total_size += 1 + 1;
  1.3002 +    }
  1.3003 +    
  1.3004 +    // optional string file_basename = 9;
  1.3005 +    if (has_file_basename()) {
  1.3006 +      total_size += 1 +
  1.3007 +        ::google::protobuf::internal::WireFormatLite::StringSize(
  1.3008 +          this->file_basename());
  1.3009 +    }
  1.3010 +    
  1.3011 +    // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 10 [default = WIN_EXECUTABLE];
  1.3012 +    if (has_download_type()) {
  1.3013 +      total_size += 1 +
  1.3014 +        ::google::protobuf::internal::WireFormatLite::EnumSize(this->download_type());
  1.3015 +    }
  1.3016 +    
  1.3017 +  }
  1.3018 +  if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  1.3019 +    // optional string locale = 11;
  1.3020 +    if (has_locale()) {
  1.3021 +      total_size += 1 +
  1.3022 +        ::google::protobuf::internal::WireFormatLite::StringSize(
  1.3023 +          this->locale());
  1.3024 +    }
  1.3025 +    
  1.3026 +  }
  1.3027 +  // repeated .safe_browsing.ClientDownloadRequest.Resource resources = 4;
  1.3028 +  total_size += 1 * this->resources_size();
  1.3029 +  for (int i = 0; i < this->resources_size(); i++) {
  1.3030 +    total_size +=
  1.3031 +      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1.3032 +        this->resources(i));
  1.3033 +  }
  1.3034 +  
  1.3035 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.3036 +  _cached_size_ = total_size;
  1.3037 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.3038 +  return total_size;
  1.3039 +}
  1.3040 +
  1.3041 +void ClientDownloadRequest::CheckTypeAndMergeFrom(
  1.3042 +    const ::google::protobuf::MessageLite& from) {
  1.3043 +  MergeFrom(*::google::protobuf::down_cast<const ClientDownloadRequest*>(&from));
  1.3044 +}
  1.3045 +
  1.3046 +void ClientDownloadRequest::MergeFrom(const ClientDownloadRequest& from) {
  1.3047 +  GOOGLE_CHECK_NE(&from, this);
  1.3048 +  resources_.MergeFrom(from.resources_);
  1.3049 +  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.3050 +    if (from.has_url()) {
  1.3051 +      set_url(from.url());
  1.3052 +    }
  1.3053 +    if (from.has_digests()) {
  1.3054 +      mutable_digests()->::safe_browsing::ClientDownloadRequest_Digests::MergeFrom(from.digests());
  1.3055 +    }
  1.3056 +    if (from.has_length()) {
  1.3057 +      set_length(from.length());
  1.3058 +    }
  1.3059 +    if (from.has_signature()) {
  1.3060 +      mutable_signature()->::safe_browsing::ClientDownloadRequest_SignatureInfo::MergeFrom(from.signature());
  1.3061 +    }
  1.3062 +    if (from.has_user_initiated()) {
  1.3063 +      set_user_initiated(from.user_initiated());
  1.3064 +    }
  1.3065 +    if (from.has_file_basename()) {
  1.3066 +      set_file_basename(from.file_basename());
  1.3067 +    }
  1.3068 +    if (from.has_download_type()) {
  1.3069 +      set_download_type(from.download_type());
  1.3070 +    }
  1.3071 +  }
  1.3072 +  if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  1.3073 +    if (from.has_locale()) {
  1.3074 +      set_locale(from.locale());
  1.3075 +    }
  1.3076 +  }
  1.3077 +}
  1.3078 +
  1.3079 +void ClientDownloadRequest::CopyFrom(const ClientDownloadRequest& from) {
  1.3080 +  if (&from == this) return;
  1.3081 +  Clear();
  1.3082 +  MergeFrom(from);
  1.3083 +}
  1.3084 +
  1.3085 +bool ClientDownloadRequest::IsInitialized() const {
  1.3086 +  if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
  1.3087 +  
  1.3088 +  for (int i = 0; i < resources_size(); i++) {
  1.3089 +    if (!this->resources(i).IsInitialized()) return false;
  1.3090 +  }
  1.3091 +  return true;
  1.3092 +}
  1.3093 +
  1.3094 +void ClientDownloadRequest::Swap(ClientDownloadRequest* other) {
  1.3095 +  if (other != this) {
  1.3096 +    std::swap(url_, other->url_);
  1.3097 +    std::swap(digests_, other->digests_);
  1.3098 +    std::swap(length_, other->length_);
  1.3099 +    resources_.Swap(&other->resources_);
  1.3100 +    std::swap(signature_, other->signature_);
  1.3101 +    std::swap(user_initiated_, other->user_initiated_);
  1.3102 +    std::swap(file_basename_, other->file_basename_);
  1.3103 +    std::swap(download_type_, other->download_type_);
  1.3104 +    std::swap(locale_, other->locale_);
  1.3105 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
  1.3106 +    std::swap(_cached_size_, other->_cached_size_);
  1.3107 +  }
  1.3108 +}
  1.3109 +
  1.3110 +::std::string ClientDownloadRequest::GetTypeName() const {
  1.3111 +  return "safe_browsing.ClientDownloadRequest";
  1.3112 +}
  1.3113 +
  1.3114 +
  1.3115 +// ===================================================================
  1.3116 +
  1.3117 +bool ClientDownloadResponse_Verdict_IsValid(int value) {
  1.3118 +  switch(value) {
  1.3119 +    case 0:
  1.3120 +    case 1:
  1.3121 +    case 2:
  1.3122 +    case 3:
  1.3123 +    case 4:
  1.3124 +      return true;
  1.3125 +    default:
  1.3126 +      return false;
  1.3127 +  }
  1.3128 +}
  1.3129 +
  1.3130 +#ifndef _MSC_VER
  1.3131 +const ClientDownloadResponse_Verdict ClientDownloadResponse::SAFE;
  1.3132 +const ClientDownloadResponse_Verdict ClientDownloadResponse::DANGEROUS;
  1.3133 +const ClientDownloadResponse_Verdict ClientDownloadResponse::UNCOMMON;
  1.3134 +const ClientDownloadResponse_Verdict ClientDownloadResponse::POTENTIALLY_UNWANTED;
  1.3135 +const ClientDownloadResponse_Verdict ClientDownloadResponse::DANGEROUS_HOST;
  1.3136 +const ClientDownloadResponse_Verdict ClientDownloadResponse::Verdict_MIN;
  1.3137 +const ClientDownloadResponse_Verdict ClientDownloadResponse::Verdict_MAX;
  1.3138 +const int ClientDownloadResponse::Verdict_ARRAYSIZE;
  1.3139 +#endif  // _MSC_VER
  1.3140 +#ifndef _MSC_VER
  1.3141 +const int ClientDownloadResponse_MoreInfo::kDescriptionFieldNumber;
  1.3142 +const int ClientDownloadResponse_MoreInfo::kUrlFieldNumber;
  1.3143 +#endif  // !_MSC_VER
  1.3144 +
  1.3145 +ClientDownloadResponse_MoreInfo::ClientDownloadResponse_MoreInfo()
  1.3146 +  : ::google::protobuf::MessageLite() {
  1.3147 +  SharedCtor();
  1.3148 +}
  1.3149 +
  1.3150 +void ClientDownloadResponse_MoreInfo::InitAsDefaultInstance() {
  1.3151 +}
  1.3152 +
  1.3153 +ClientDownloadResponse_MoreInfo::ClientDownloadResponse_MoreInfo(const ClientDownloadResponse_MoreInfo& from)
  1.3154 +  : ::google::protobuf::MessageLite() {
  1.3155 +  SharedCtor();
  1.3156 +  MergeFrom(from);
  1.3157 +}
  1.3158 +
  1.3159 +void ClientDownloadResponse_MoreInfo::SharedCtor() {
  1.3160 +  _cached_size_ = 0;
  1.3161 +  description_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.3162 +  url_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.3163 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.3164 +}
  1.3165 +
  1.3166 +ClientDownloadResponse_MoreInfo::~ClientDownloadResponse_MoreInfo() {
  1.3167 +  SharedDtor();
  1.3168 +}
  1.3169 +
  1.3170 +void ClientDownloadResponse_MoreInfo::SharedDtor() {
  1.3171 +  if (description_ != &::google::protobuf::internal::kEmptyString) {
  1.3172 +    delete description_;
  1.3173 +  }
  1.3174 +  if (url_ != &::google::protobuf::internal::kEmptyString) {
  1.3175 +    delete url_;
  1.3176 +  }
  1.3177 +  if (this != default_instance_) {
  1.3178 +  }
  1.3179 +}
  1.3180 +
  1.3181 +void ClientDownloadResponse_MoreInfo::SetCachedSize(int size) const {
  1.3182 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.3183 +  _cached_size_ = size;
  1.3184 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.3185 +}
  1.3186 +const ClientDownloadResponse_MoreInfo& ClientDownloadResponse_MoreInfo::default_instance() {
  1.3187 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
  1.3188 +}
  1.3189 +
  1.3190 +ClientDownloadResponse_MoreInfo* ClientDownloadResponse_MoreInfo::default_instance_ = NULL;
  1.3191 +
  1.3192 +ClientDownloadResponse_MoreInfo* ClientDownloadResponse_MoreInfo::New() const {
  1.3193 +  return new ClientDownloadResponse_MoreInfo;
  1.3194 +}
  1.3195 +
  1.3196 +void ClientDownloadResponse_MoreInfo::Clear() {
  1.3197 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.3198 +    if (has_description()) {
  1.3199 +      if (description_ != &::google::protobuf::internal::kEmptyString) {
  1.3200 +        description_->clear();
  1.3201 +      }
  1.3202 +    }
  1.3203 +    if (has_url()) {
  1.3204 +      if (url_ != &::google::protobuf::internal::kEmptyString) {
  1.3205 +        url_->clear();
  1.3206 +      }
  1.3207 +    }
  1.3208 +  }
  1.3209 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.3210 +}
  1.3211 +
  1.3212 +bool ClientDownloadResponse_MoreInfo::MergePartialFromCodedStream(
  1.3213 +    ::google::protobuf::io::CodedInputStream* input) {
  1.3214 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1.3215 +  ::google::protobuf::uint32 tag;
  1.3216 +  while ((tag = input->ReadTag()) != 0) {
  1.3217 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1.3218 +      // optional string description = 1;
  1.3219 +      case 1: {
  1.3220 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.3221 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.3222 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1.3223 +                input, this->mutable_description()));
  1.3224 +        } else {
  1.3225 +          goto handle_uninterpreted;
  1.3226 +        }
  1.3227 +        if (input->ExpectTag(18)) goto parse_url;
  1.3228 +        break;
  1.3229 +      }
  1.3230 +      
  1.3231 +      // optional string url = 2;
  1.3232 +      case 2: {
  1.3233 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.3234 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.3235 +         parse_url:
  1.3236 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1.3237 +                input, this->mutable_url()));
  1.3238 +        } else {
  1.3239 +          goto handle_uninterpreted;
  1.3240 +        }
  1.3241 +        if (input->ExpectAtEnd()) return true;
  1.3242 +        break;
  1.3243 +      }
  1.3244 +      
  1.3245 +      default: {
  1.3246 +      handle_uninterpreted:
  1.3247 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.3248 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1.3249 +          return true;
  1.3250 +        }
  1.3251 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  1.3252 +        break;
  1.3253 +      }
  1.3254 +    }
  1.3255 +  }
  1.3256 +  return true;
  1.3257 +#undef DO_
  1.3258 +}
  1.3259 +
  1.3260 +void ClientDownloadResponse_MoreInfo::SerializeWithCachedSizes(
  1.3261 +    ::google::protobuf::io::CodedOutputStream* output) const {
  1.3262 +  // optional string description = 1;
  1.3263 +  if (has_description()) {
  1.3264 +    ::google::protobuf::internal::WireFormatLite::WriteString(
  1.3265 +      1, this->description(), output);
  1.3266 +  }
  1.3267 +  
  1.3268 +  // optional string url = 2;
  1.3269 +  if (has_url()) {
  1.3270 +    ::google::protobuf::internal::WireFormatLite::WriteString(
  1.3271 +      2, this->url(), output);
  1.3272 +  }
  1.3273 +  
  1.3274 +}
  1.3275 +
  1.3276 +int ClientDownloadResponse_MoreInfo::ByteSize() const {
  1.3277 +  int total_size = 0;
  1.3278 +  
  1.3279 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.3280 +    // optional string description = 1;
  1.3281 +    if (has_description()) {
  1.3282 +      total_size += 1 +
  1.3283 +        ::google::protobuf::internal::WireFormatLite::StringSize(
  1.3284 +          this->description());
  1.3285 +    }
  1.3286 +    
  1.3287 +    // optional string url = 2;
  1.3288 +    if (has_url()) {
  1.3289 +      total_size += 1 +
  1.3290 +        ::google::protobuf::internal::WireFormatLite::StringSize(
  1.3291 +          this->url());
  1.3292 +    }
  1.3293 +    
  1.3294 +  }
  1.3295 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.3296 +  _cached_size_ = total_size;
  1.3297 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.3298 +  return total_size;
  1.3299 +}
  1.3300 +
  1.3301 +void ClientDownloadResponse_MoreInfo::CheckTypeAndMergeFrom(
  1.3302 +    const ::google::protobuf::MessageLite& from) {
  1.3303 +  MergeFrom(*::google::protobuf::down_cast<const ClientDownloadResponse_MoreInfo*>(&from));
  1.3304 +}
  1.3305 +
  1.3306 +void ClientDownloadResponse_MoreInfo::MergeFrom(const ClientDownloadResponse_MoreInfo& from) {
  1.3307 +  GOOGLE_CHECK_NE(&from, this);
  1.3308 +  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.3309 +    if (from.has_description()) {
  1.3310 +      set_description(from.description());
  1.3311 +    }
  1.3312 +    if (from.has_url()) {
  1.3313 +      set_url(from.url());
  1.3314 +    }
  1.3315 +  }
  1.3316 +}
  1.3317 +
  1.3318 +void ClientDownloadResponse_MoreInfo::CopyFrom(const ClientDownloadResponse_MoreInfo& from) {
  1.3319 +  if (&from == this) return;
  1.3320 +  Clear();
  1.3321 +  MergeFrom(from);
  1.3322 +}
  1.3323 +
  1.3324 +bool ClientDownloadResponse_MoreInfo::IsInitialized() const {
  1.3325 +  
  1.3326 +  return true;
  1.3327 +}
  1.3328 +
  1.3329 +void ClientDownloadResponse_MoreInfo::Swap(ClientDownloadResponse_MoreInfo* other) {
  1.3330 +  if (other != this) {
  1.3331 +    std::swap(description_, other->description_);
  1.3332 +    std::swap(url_, other->url_);
  1.3333 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
  1.3334 +    std::swap(_cached_size_, other->_cached_size_);
  1.3335 +  }
  1.3336 +}
  1.3337 +
  1.3338 +::std::string ClientDownloadResponse_MoreInfo::GetTypeName() const {
  1.3339 +  return "safe_browsing.ClientDownloadResponse.MoreInfo";
  1.3340 +}
  1.3341 +
  1.3342 +
  1.3343 +// -------------------------------------------------------------------
  1.3344 +
  1.3345 +#ifndef _MSC_VER
  1.3346 +const int ClientDownloadResponse::kVerdictFieldNumber;
  1.3347 +const int ClientDownloadResponse::kMoreInfoFieldNumber;
  1.3348 +const int ClientDownloadResponse::kTokenFieldNumber;
  1.3349 +#endif  // !_MSC_VER
  1.3350 +
  1.3351 +ClientDownloadResponse::ClientDownloadResponse()
  1.3352 +  : ::google::protobuf::MessageLite() {
  1.3353 +  SharedCtor();
  1.3354 +}
  1.3355 +
  1.3356 +void ClientDownloadResponse::InitAsDefaultInstance() {
  1.3357 +  more_info_ = const_cast< ::safe_browsing::ClientDownloadResponse_MoreInfo*>(&::safe_browsing::ClientDownloadResponse_MoreInfo::default_instance());
  1.3358 +}
  1.3359 +
  1.3360 +ClientDownloadResponse::ClientDownloadResponse(const ClientDownloadResponse& from)
  1.3361 +  : ::google::protobuf::MessageLite() {
  1.3362 +  SharedCtor();
  1.3363 +  MergeFrom(from);
  1.3364 +}
  1.3365 +
  1.3366 +void ClientDownloadResponse::SharedCtor() {
  1.3367 +  _cached_size_ = 0;
  1.3368 +  verdict_ = 0;
  1.3369 +  more_info_ = NULL;
  1.3370 +  token_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.3371 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.3372 +}
  1.3373 +
  1.3374 +ClientDownloadResponse::~ClientDownloadResponse() {
  1.3375 +  SharedDtor();
  1.3376 +}
  1.3377 +
  1.3378 +void ClientDownloadResponse::SharedDtor() {
  1.3379 +  if (token_ != &::google::protobuf::internal::kEmptyString) {
  1.3380 +    delete token_;
  1.3381 +  }
  1.3382 +  if (this != default_instance_) {
  1.3383 +    delete more_info_;
  1.3384 +  }
  1.3385 +}
  1.3386 +
  1.3387 +void ClientDownloadResponse::SetCachedSize(int size) const {
  1.3388 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.3389 +  _cached_size_ = size;
  1.3390 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.3391 +}
  1.3392 +const ClientDownloadResponse& ClientDownloadResponse::default_instance() {
  1.3393 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
  1.3394 +}
  1.3395 +
  1.3396 +ClientDownloadResponse* ClientDownloadResponse::default_instance_ = NULL;
  1.3397 +
  1.3398 +ClientDownloadResponse* ClientDownloadResponse::New() const {
  1.3399 +  return new ClientDownloadResponse;
  1.3400 +}
  1.3401 +
  1.3402 +void ClientDownloadResponse::Clear() {
  1.3403 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.3404 +    verdict_ = 0;
  1.3405 +    if (has_more_info()) {
  1.3406 +      if (more_info_ != NULL) more_info_->::safe_browsing::ClientDownloadResponse_MoreInfo::Clear();
  1.3407 +    }
  1.3408 +    if (has_token()) {
  1.3409 +      if (token_ != &::google::protobuf::internal::kEmptyString) {
  1.3410 +        token_->clear();
  1.3411 +      }
  1.3412 +    }
  1.3413 +  }
  1.3414 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.3415 +}
  1.3416 +
  1.3417 +bool ClientDownloadResponse::MergePartialFromCodedStream(
  1.3418 +    ::google::protobuf::io::CodedInputStream* input) {
  1.3419 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1.3420 +  ::google::protobuf::uint32 tag;
  1.3421 +  while ((tag = input->ReadTag()) != 0) {
  1.3422 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1.3423 +      // required .safe_browsing.ClientDownloadResponse.Verdict verdict = 1;
  1.3424 +      case 1: {
  1.3425 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.3426 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1.3427 +          int value;
  1.3428 +          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1.3429 +                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1.3430 +                 input, &value)));
  1.3431 +          if (::safe_browsing::ClientDownloadResponse_Verdict_IsValid(value)) {
  1.3432 +            set_verdict(static_cast< ::safe_browsing::ClientDownloadResponse_Verdict >(value));
  1.3433 +          }
  1.3434 +        } else {
  1.3435 +          goto handle_uninterpreted;
  1.3436 +        }
  1.3437 +        if (input->ExpectTag(18)) goto parse_more_info;
  1.3438 +        break;
  1.3439 +      }
  1.3440 +      
  1.3441 +      // optional .safe_browsing.ClientDownloadResponse.MoreInfo more_info = 2;
  1.3442 +      case 2: {
  1.3443 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.3444 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.3445 +         parse_more_info:
  1.3446 +          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1.3447 +               input, mutable_more_info()));
  1.3448 +        } else {
  1.3449 +          goto handle_uninterpreted;
  1.3450 +        }
  1.3451 +        if (input->ExpectTag(26)) goto parse_token;
  1.3452 +        break;
  1.3453 +      }
  1.3454 +      
  1.3455 +      // optional bytes token = 3;
  1.3456 +      case 3: {
  1.3457 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.3458 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.3459 +         parse_token:
  1.3460 +          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  1.3461 +                input, this->mutable_token()));
  1.3462 +        } else {
  1.3463 +          goto handle_uninterpreted;
  1.3464 +        }
  1.3465 +        if (input->ExpectAtEnd()) return true;
  1.3466 +        break;
  1.3467 +      }
  1.3468 +      
  1.3469 +      default: {
  1.3470 +      handle_uninterpreted:
  1.3471 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.3472 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1.3473 +          return true;
  1.3474 +        }
  1.3475 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  1.3476 +        break;
  1.3477 +      }
  1.3478 +    }
  1.3479 +  }
  1.3480 +  return true;
  1.3481 +#undef DO_
  1.3482 +}
  1.3483 +
  1.3484 +void ClientDownloadResponse::SerializeWithCachedSizes(
  1.3485 +    ::google::protobuf::io::CodedOutputStream* output) const {
  1.3486 +  // required .safe_browsing.ClientDownloadResponse.Verdict verdict = 1;
  1.3487 +  if (has_verdict()) {
  1.3488 +    ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1.3489 +      1, this->verdict(), output);
  1.3490 +  }
  1.3491 +  
  1.3492 +  // optional .safe_browsing.ClientDownloadResponse.MoreInfo more_info = 2;
  1.3493 +  if (has_more_info()) {
  1.3494 +    ::google::protobuf::internal::WireFormatLite::WriteMessage(
  1.3495 +      2, this->more_info(), output);
  1.3496 +  }
  1.3497 +  
  1.3498 +  // optional bytes token = 3;
  1.3499 +  if (has_token()) {
  1.3500 +    ::google::protobuf::internal::WireFormatLite::WriteBytes(
  1.3501 +      3, this->token(), output);
  1.3502 +  }
  1.3503 +  
  1.3504 +}
  1.3505 +
  1.3506 +int ClientDownloadResponse::ByteSize() const {
  1.3507 +  int total_size = 0;
  1.3508 +  
  1.3509 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.3510 +    // required .safe_browsing.ClientDownloadResponse.Verdict verdict = 1;
  1.3511 +    if (has_verdict()) {
  1.3512 +      total_size += 1 +
  1.3513 +        ::google::protobuf::internal::WireFormatLite::EnumSize(this->verdict());
  1.3514 +    }
  1.3515 +    
  1.3516 +    // optional .safe_browsing.ClientDownloadResponse.MoreInfo more_info = 2;
  1.3517 +    if (has_more_info()) {
  1.3518 +      total_size += 1 +
  1.3519 +        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1.3520 +          this->more_info());
  1.3521 +    }
  1.3522 +    
  1.3523 +    // optional bytes token = 3;
  1.3524 +    if (has_token()) {
  1.3525 +      total_size += 1 +
  1.3526 +        ::google::protobuf::internal::WireFormatLite::BytesSize(
  1.3527 +          this->token());
  1.3528 +    }
  1.3529 +    
  1.3530 +  }
  1.3531 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.3532 +  _cached_size_ = total_size;
  1.3533 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.3534 +  return total_size;
  1.3535 +}
  1.3536 +
  1.3537 +void ClientDownloadResponse::CheckTypeAndMergeFrom(
  1.3538 +    const ::google::protobuf::MessageLite& from) {
  1.3539 +  MergeFrom(*::google::protobuf::down_cast<const ClientDownloadResponse*>(&from));
  1.3540 +}
  1.3541 +
  1.3542 +void ClientDownloadResponse::MergeFrom(const ClientDownloadResponse& from) {
  1.3543 +  GOOGLE_CHECK_NE(&from, this);
  1.3544 +  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.3545 +    if (from.has_verdict()) {
  1.3546 +      set_verdict(from.verdict());
  1.3547 +    }
  1.3548 +    if (from.has_more_info()) {
  1.3549 +      mutable_more_info()->::safe_browsing::ClientDownloadResponse_MoreInfo::MergeFrom(from.more_info());
  1.3550 +    }
  1.3551 +    if (from.has_token()) {
  1.3552 +      set_token(from.token());
  1.3553 +    }
  1.3554 +  }
  1.3555 +}
  1.3556 +
  1.3557 +void ClientDownloadResponse::CopyFrom(const ClientDownloadResponse& from) {
  1.3558 +  if (&from == this) return;
  1.3559 +  Clear();
  1.3560 +  MergeFrom(from);
  1.3561 +}
  1.3562 +
  1.3563 +bool ClientDownloadResponse::IsInitialized() const {
  1.3564 +  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
  1.3565 +  
  1.3566 +  return true;
  1.3567 +}
  1.3568 +
  1.3569 +void ClientDownloadResponse::Swap(ClientDownloadResponse* other) {
  1.3570 +  if (other != this) {
  1.3571 +    std::swap(verdict_, other->verdict_);
  1.3572 +    std::swap(more_info_, other->more_info_);
  1.3573 +    std::swap(token_, other->token_);
  1.3574 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
  1.3575 +    std::swap(_cached_size_, other->_cached_size_);
  1.3576 +  }
  1.3577 +}
  1.3578 +
  1.3579 +::std::string ClientDownloadResponse::GetTypeName() const {
  1.3580 +  return "safe_browsing.ClientDownloadResponse";
  1.3581 +}
  1.3582 +
  1.3583 +
  1.3584 +// ===================================================================
  1.3585 +
  1.3586 +bool ClientDownloadReport_Reason_IsValid(int value) {
  1.3587 +  switch(value) {
  1.3588 +    case 0:
  1.3589 +    case 1:
  1.3590 +    case 2:
  1.3591 +      return true;
  1.3592 +    default:
  1.3593 +      return false;
  1.3594 +  }
  1.3595 +}
  1.3596 +
  1.3597 +#ifndef _MSC_VER
  1.3598 +const ClientDownloadReport_Reason ClientDownloadReport::SHARE;
  1.3599 +const ClientDownloadReport_Reason ClientDownloadReport::FALSE_POSITIVE;
  1.3600 +const ClientDownloadReport_Reason ClientDownloadReport::APPEAL;
  1.3601 +const ClientDownloadReport_Reason ClientDownloadReport::Reason_MIN;
  1.3602 +const ClientDownloadReport_Reason ClientDownloadReport::Reason_MAX;
  1.3603 +const int ClientDownloadReport::Reason_ARRAYSIZE;
  1.3604 +#endif  // _MSC_VER
  1.3605 +#ifndef _MSC_VER
  1.3606 +const int ClientDownloadReport_UserInformation::kEmailFieldNumber;
  1.3607 +#endif  // !_MSC_VER
  1.3608 +
  1.3609 +ClientDownloadReport_UserInformation::ClientDownloadReport_UserInformation()
  1.3610 +  : ::google::protobuf::MessageLite() {
  1.3611 +  SharedCtor();
  1.3612 +}
  1.3613 +
  1.3614 +void ClientDownloadReport_UserInformation::InitAsDefaultInstance() {
  1.3615 +}
  1.3616 +
  1.3617 +ClientDownloadReport_UserInformation::ClientDownloadReport_UserInformation(const ClientDownloadReport_UserInformation& from)
  1.3618 +  : ::google::protobuf::MessageLite() {
  1.3619 +  SharedCtor();
  1.3620 +  MergeFrom(from);
  1.3621 +}
  1.3622 +
  1.3623 +void ClientDownloadReport_UserInformation::SharedCtor() {
  1.3624 +  _cached_size_ = 0;
  1.3625 +  email_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.3626 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.3627 +}
  1.3628 +
  1.3629 +ClientDownloadReport_UserInformation::~ClientDownloadReport_UserInformation() {
  1.3630 +  SharedDtor();
  1.3631 +}
  1.3632 +
  1.3633 +void ClientDownloadReport_UserInformation::SharedDtor() {
  1.3634 +  if (email_ != &::google::protobuf::internal::kEmptyString) {
  1.3635 +    delete email_;
  1.3636 +  }
  1.3637 +  if (this != default_instance_) {
  1.3638 +  }
  1.3639 +}
  1.3640 +
  1.3641 +void ClientDownloadReport_UserInformation::SetCachedSize(int size) const {
  1.3642 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.3643 +  _cached_size_ = size;
  1.3644 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.3645 +}
  1.3646 +const ClientDownloadReport_UserInformation& ClientDownloadReport_UserInformation::default_instance() {
  1.3647 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
  1.3648 +}
  1.3649 +
  1.3650 +ClientDownloadReport_UserInformation* ClientDownloadReport_UserInformation::default_instance_ = NULL;
  1.3651 +
  1.3652 +ClientDownloadReport_UserInformation* ClientDownloadReport_UserInformation::New() const {
  1.3653 +  return new ClientDownloadReport_UserInformation;
  1.3654 +}
  1.3655 +
  1.3656 +void ClientDownloadReport_UserInformation::Clear() {
  1.3657 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.3658 +    if (has_email()) {
  1.3659 +      if (email_ != &::google::protobuf::internal::kEmptyString) {
  1.3660 +        email_->clear();
  1.3661 +      }
  1.3662 +    }
  1.3663 +  }
  1.3664 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.3665 +}
  1.3666 +
  1.3667 +bool ClientDownloadReport_UserInformation::MergePartialFromCodedStream(
  1.3668 +    ::google::protobuf::io::CodedInputStream* input) {
  1.3669 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1.3670 +  ::google::protobuf::uint32 tag;
  1.3671 +  while ((tag = input->ReadTag()) != 0) {
  1.3672 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1.3673 +      // optional string email = 1;
  1.3674 +      case 1: {
  1.3675 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.3676 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.3677 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1.3678 +                input, this->mutable_email()));
  1.3679 +        } else {
  1.3680 +          goto handle_uninterpreted;
  1.3681 +        }
  1.3682 +        if (input->ExpectAtEnd()) return true;
  1.3683 +        break;
  1.3684 +      }
  1.3685 +      
  1.3686 +      default: {
  1.3687 +      handle_uninterpreted:
  1.3688 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.3689 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1.3690 +          return true;
  1.3691 +        }
  1.3692 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  1.3693 +        break;
  1.3694 +      }
  1.3695 +    }
  1.3696 +  }
  1.3697 +  return true;
  1.3698 +#undef DO_
  1.3699 +}
  1.3700 +
  1.3701 +void ClientDownloadReport_UserInformation::SerializeWithCachedSizes(
  1.3702 +    ::google::protobuf::io::CodedOutputStream* output) const {
  1.3703 +  // optional string email = 1;
  1.3704 +  if (has_email()) {
  1.3705 +    ::google::protobuf::internal::WireFormatLite::WriteString(
  1.3706 +      1, this->email(), output);
  1.3707 +  }
  1.3708 +  
  1.3709 +}
  1.3710 +
  1.3711 +int ClientDownloadReport_UserInformation::ByteSize() const {
  1.3712 +  int total_size = 0;
  1.3713 +  
  1.3714 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.3715 +    // optional string email = 1;
  1.3716 +    if (has_email()) {
  1.3717 +      total_size += 1 +
  1.3718 +        ::google::protobuf::internal::WireFormatLite::StringSize(
  1.3719 +          this->email());
  1.3720 +    }
  1.3721 +    
  1.3722 +  }
  1.3723 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.3724 +  _cached_size_ = total_size;
  1.3725 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.3726 +  return total_size;
  1.3727 +}
  1.3728 +
  1.3729 +void ClientDownloadReport_UserInformation::CheckTypeAndMergeFrom(
  1.3730 +    const ::google::protobuf::MessageLite& from) {
  1.3731 +  MergeFrom(*::google::protobuf::down_cast<const ClientDownloadReport_UserInformation*>(&from));
  1.3732 +}
  1.3733 +
  1.3734 +void ClientDownloadReport_UserInformation::MergeFrom(const ClientDownloadReport_UserInformation& from) {
  1.3735 +  GOOGLE_CHECK_NE(&from, this);
  1.3736 +  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.3737 +    if (from.has_email()) {
  1.3738 +      set_email(from.email());
  1.3739 +    }
  1.3740 +  }
  1.3741 +}
  1.3742 +
  1.3743 +void ClientDownloadReport_UserInformation::CopyFrom(const ClientDownloadReport_UserInformation& from) {
  1.3744 +  if (&from == this) return;
  1.3745 +  Clear();
  1.3746 +  MergeFrom(from);
  1.3747 +}
  1.3748 +
  1.3749 +bool ClientDownloadReport_UserInformation::IsInitialized() const {
  1.3750 +  
  1.3751 +  return true;
  1.3752 +}
  1.3753 +
  1.3754 +void ClientDownloadReport_UserInformation::Swap(ClientDownloadReport_UserInformation* other) {
  1.3755 +  if (other != this) {
  1.3756 +    std::swap(email_, other->email_);
  1.3757 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
  1.3758 +    std::swap(_cached_size_, other->_cached_size_);
  1.3759 +  }
  1.3760 +}
  1.3761 +
  1.3762 +::std::string ClientDownloadReport_UserInformation::GetTypeName() const {
  1.3763 +  return "safe_browsing.ClientDownloadReport.UserInformation";
  1.3764 +}
  1.3765 +
  1.3766 +
  1.3767 +// -------------------------------------------------------------------
  1.3768 +
  1.3769 +#ifndef _MSC_VER
  1.3770 +const int ClientDownloadReport::kReasonFieldNumber;
  1.3771 +const int ClientDownloadReport::kDownloadRequestFieldNumber;
  1.3772 +const int ClientDownloadReport::kUserInformationFieldNumber;
  1.3773 +const int ClientDownloadReport::kCommentFieldNumber;
  1.3774 +const int ClientDownloadReport::kDownloadResponseFieldNumber;
  1.3775 +#endif  // !_MSC_VER
  1.3776 +
  1.3777 +ClientDownloadReport::ClientDownloadReport()
  1.3778 +  : ::google::protobuf::MessageLite() {
  1.3779 +  SharedCtor();
  1.3780 +}
  1.3781 +
  1.3782 +void ClientDownloadReport::InitAsDefaultInstance() {
  1.3783 +  download_request_ = const_cast< ::safe_browsing::ClientDownloadRequest*>(&::safe_browsing::ClientDownloadRequest::default_instance());
  1.3784 +  user_information_ = const_cast< ::safe_browsing::ClientDownloadReport_UserInformation*>(&::safe_browsing::ClientDownloadReport_UserInformation::default_instance());
  1.3785 +  download_response_ = const_cast< ::safe_browsing::ClientDownloadResponse*>(&::safe_browsing::ClientDownloadResponse::default_instance());
  1.3786 +}
  1.3787 +
  1.3788 +ClientDownloadReport::ClientDownloadReport(const ClientDownloadReport& from)
  1.3789 +  : ::google::protobuf::MessageLite() {
  1.3790 +  SharedCtor();
  1.3791 +  MergeFrom(from);
  1.3792 +}
  1.3793 +
  1.3794 +void ClientDownloadReport::SharedCtor() {
  1.3795 +  _cached_size_ = 0;
  1.3796 +  reason_ = 0;
  1.3797 +  download_request_ = NULL;
  1.3798 +  user_information_ = NULL;
  1.3799 +  comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.3800 +  download_response_ = NULL;
  1.3801 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.3802 +}
  1.3803 +
  1.3804 +ClientDownloadReport::~ClientDownloadReport() {
  1.3805 +  SharedDtor();
  1.3806 +}
  1.3807 +
  1.3808 +void ClientDownloadReport::SharedDtor() {
  1.3809 +  if (comment_ != &::google::protobuf::internal::kEmptyString) {
  1.3810 +    delete comment_;
  1.3811 +  }
  1.3812 +  if (this != default_instance_) {
  1.3813 +    delete download_request_;
  1.3814 +    delete user_information_;
  1.3815 +    delete download_response_;
  1.3816 +  }
  1.3817 +}
  1.3818 +
  1.3819 +void ClientDownloadReport::SetCachedSize(int size) const {
  1.3820 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.3821 +  _cached_size_ = size;
  1.3822 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.3823 +}
  1.3824 +const ClientDownloadReport& ClientDownloadReport::default_instance() {
  1.3825 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
  1.3826 +}
  1.3827 +
  1.3828 +ClientDownloadReport* ClientDownloadReport::default_instance_ = NULL;
  1.3829 +
  1.3830 +ClientDownloadReport* ClientDownloadReport::New() const {
  1.3831 +  return new ClientDownloadReport;
  1.3832 +}
  1.3833 +
  1.3834 +void ClientDownloadReport::Clear() {
  1.3835 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.3836 +    reason_ = 0;
  1.3837 +    if (has_download_request()) {
  1.3838 +      if (download_request_ != NULL) download_request_->::safe_browsing::ClientDownloadRequest::Clear();
  1.3839 +    }
  1.3840 +    if (has_user_information()) {
  1.3841 +      if (user_information_ != NULL) user_information_->::safe_browsing::ClientDownloadReport_UserInformation::Clear();
  1.3842 +    }
  1.3843 +    if (has_comment()) {
  1.3844 +      if (comment_ != &::google::protobuf::internal::kEmptyString) {
  1.3845 +        comment_->clear();
  1.3846 +      }
  1.3847 +    }
  1.3848 +    if (has_download_response()) {
  1.3849 +      if (download_response_ != NULL) download_response_->::safe_browsing::ClientDownloadResponse::Clear();
  1.3850 +    }
  1.3851 +  }
  1.3852 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.3853 +}
  1.3854 +
  1.3855 +bool ClientDownloadReport::MergePartialFromCodedStream(
  1.3856 +    ::google::protobuf::io::CodedInputStream* input) {
  1.3857 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1.3858 +  ::google::protobuf::uint32 tag;
  1.3859 +  while ((tag = input->ReadTag()) != 0) {
  1.3860 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1.3861 +      // optional .safe_browsing.ClientDownloadReport.Reason reason = 1;
  1.3862 +      case 1: {
  1.3863 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.3864 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1.3865 +          int value;
  1.3866 +          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1.3867 +                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1.3868 +                 input, &value)));
  1.3869 +          if (::safe_browsing::ClientDownloadReport_Reason_IsValid(value)) {
  1.3870 +            set_reason(static_cast< ::safe_browsing::ClientDownloadReport_Reason >(value));
  1.3871 +          }
  1.3872 +        } else {
  1.3873 +          goto handle_uninterpreted;
  1.3874 +        }
  1.3875 +        if (input->ExpectTag(18)) goto parse_download_request;
  1.3876 +        break;
  1.3877 +      }
  1.3878 +      
  1.3879 +      // optional .safe_browsing.ClientDownloadRequest download_request = 2;
  1.3880 +      case 2: {
  1.3881 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.3882 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.3883 +         parse_download_request:
  1.3884 +          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1.3885 +               input, mutable_download_request()));
  1.3886 +        } else {
  1.3887 +          goto handle_uninterpreted;
  1.3888 +        }
  1.3889 +        if (input->ExpectTag(26)) goto parse_user_information;
  1.3890 +        break;
  1.3891 +      }
  1.3892 +      
  1.3893 +      // optional .safe_browsing.ClientDownloadReport.UserInformation user_information = 3;
  1.3894 +      case 3: {
  1.3895 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.3896 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.3897 +         parse_user_information:
  1.3898 +          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1.3899 +               input, mutable_user_information()));
  1.3900 +        } else {
  1.3901 +          goto handle_uninterpreted;
  1.3902 +        }
  1.3903 +        if (input->ExpectTag(34)) goto parse_comment;
  1.3904 +        break;
  1.3905 +      }
  1.3906 +      
  1.3907 +      // optional bytes comment = 4;
  1.3908 +      case 4: {
  1.3909 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.3910 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.3911 +         parse_comment:
  1.3912 +          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
  1.3913 +                input, this->mutable_comment()));
  1.3914 +        } else {
  1.3915 +          goto handle_uninterpreted;
  1.3916 +        }
  1.3917 +        if (input->ExpectTag(42)) goto parse_download_response;
  1.3918 +        break;
  1.3919 +      }
  1.3920 +      
  1.3921 +      // optional .safe_browsing.ClientDownloadResponse download_response = 5;
  1.3922 +      case 5: {
  1.3923 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.3924 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.3925 +         parse_download_response:
  1.3926 +          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1.3927 +               input, mutable_download_response()));
  1.3928 +        } else {
  1.3929 +          goto handle_uninterpreted;
  1.3930 +        }
  1.3931 +        if (input->ExpectAtEnd()) return true;
  1.3932 +        break;
  1.3933 +      }
  1.3934 +      
  1.3935 +      default: {
  1.3936 +      handle_uninterpreted:
  1.3937 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.3938 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1.3939 +          return true;
  1.3940 +        }
  1.3941 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  1.3942 +        break;
  1.3943 +      }
  1.3944 +    }
  1.3945 +  }
  1.3946 +  return true;
  1.3947 +#undef DO_
  1.3948 +}
  1.3949 +
  1.3950 +void ClientDownloadReport::SerializeWithCachedSizes(
  1.3951 +    ::google::protobuf::io::CodedOutputStream* output) const {
  1.3952 +  // optional .safe_browsing.ClientDownloadReport.Reason reason = 1;
  1.3953 +  if (has_reason()) {
  1.3954 +    ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1.3955 +      1, this->reason(), output);
  1.3956 +  }
  1.3957 +  
  1.3958 +  // optional .safe_browsing.ClientDownloadRequest download_request = 2;
  1.3959 +  if (has_download_request()) {
  1.3960 +    ::google::protobuf::internal::WireFormatLite::WriteMessage(
  1.3961 +      2, this->download_request(), output);
  1.3962 +  }
  1.3963 +  
  1.3964 +  // optional .safe_browsing.ClientDownloadReport.UserInformation user_information = 3;
  1.3965 +  if (has_user_information()) {
  1.3966 +    ::google::protobuf::internal::WireFormatLite::WriteMessage(
  1.3967 +      3, this->user_information(), output);
  1.3968 +  }
  1.3969 +  
  1.3970 +  // optional bytes comment = 4;
  1.3971 +  if (has_comment()) {
  1.3972 +    ::google::protobuf::internal::WireFormatLite::WriteBytes(
  1.3973 +      4, this->comment(), output);
  1.3974 +  }
  1.3975 +  
  1.3976 +  // optional .safe_browsing.ClientDownloadResponse download_response = 5;
  1.3977 +  if (has_download_response()) {
  1.3978 +    ::google::protobuf::internal::WireFormatLite::WriteMessage(
  1.3979 +      5, this->download_response(), output);
  1.3980 +  }
  1.3981 +  
  1.3982 +}
  1.3983 +
  1.3984 +int ClientDownloadReport::ByteSize() const {
  1.3985 +  int total_size = 0;
  1.3986 +  
  1.3987 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.3988 +    // optional .safe_browsing.ClientDownloadReport.Reason reason = 1;
  1.3989 +    if (has_reason()) {
  1.3990 +      total_size += 1 +
  1.3991 +        ::google::protobuf::internal::WireFormatLite::EnumSize(this->reason());
  1.3992 +    }
  1.3993 +    
  1.3994 +    // optional .safe_browsing.ClientDownloadRequest download_request = 2;
  1.3995 +    if (has_download_request()) {
  1.3996 +      total_size += 1 +
  1.3997 +        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1.3998 +          this->download_request());
  1.3999 +    }
  1.4000 +    
  1.4001 +    // optional .safe_browsing.ClientDownloadReport.UserInformation user_information = 3;
  1.4002 +    if (has_user_information()) {
  1.4003 +      total_size += 1 +
  1.4004 +        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1.4005 +          this->user_information());
  1.4006 +    }
  1.4007 +    
  1.4008 +    // optional bytes comment = 4;
  1.4009 +    if (has_comment()) {
  1.4010 +      total_size += 1 +
  1.4011 +        ::google::protobuf::internal::WireFormatLite::BytesSize(
  1.4012 +          this->comment());
  1.4013 +    }
  1.4014 +    
  1.4015 +    // optional .safe_browsing.ClientDownloadResponse download_response = 5;
  1.4016 +    if (has_download_response()) {
  1.4017 +      total_size += 1 +
  1.4018 +        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1.4019 +          this->download_response());
  1.4020 +    }
  1.4021 +    
  1.4022 +  }
  1.4023 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.4024 +  _cached_size_ = total_size;
  1.4025 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.4026 +  return total_size;
  1.4027 +}
  1.4028 +
  1.4029 +void ClientDownloadReport::CheckTypeAndMergeFrom(
  1.4030 +    const ::google::protobuf::MessageLite& from) {
  1.4031 +  MergeFrom(*::google::protobuf::down_cast<const ClientDownloadReport*>(&from));
  1.4032 +}
  1.4033 +
  1.4034 +void ClientDownloadReport::MergeFrom(const ClientDownloadReport& from) {
  1.4035 +  GOOGLE_CHECK_NE(&from, this);
  1.4036 +  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.4037 +    if (from.has_reason()) {
  1.4038 +      set_reason(from.reason());
  1.4039 +    }
  1.4040 +    if (from.has_download_request()) {
  1.4041 +      mutable_download_request()->::safe_browsing::ClientDownloadRequest::MergeFrom(from.download_request());
  1.4042 +    }
  1.4043 +    if (from.has_user_information()) {
  1.4044 +      mutable_user_information()->::safe_browsing::ClientDownloadReport_UserInformation::MergeFrom(from.user_information());
  1.4045 +    }
  1.4046 +    if (from.has_comment()) {
  1.4047 +      set_comment(from.comment());
  1.4048 +    }
  1.4049 +    if (from.has_download_response()) {
  1.4050 +      mutable_download_response()->::safe_browsing::ClientDownloadResponse::MergeFrom(from.download_response());
  1.4051 +    }
  1.4052 +  }
  1.4053 +}
  1.4054 +
  1.4055 +void ClientDownloadReport::CopyFrom(const ClientDownloadReport& from) {
  1.4056 +  if (&from == this) return;
  1.4057 +  Clear();
  1.4058 +  MergeFrom(from);
  1.4059 +}
  1.4060 +
  1.4061 +bool ClientDownloadReport::IsInitialized() const {
  1.4062 +  
  1.4063 +  if (has_download_request()) {
  1.4064 +    if (!this->download_request().IsInitialized()) return false;
  1.4065 +  }
  1.4066 +  if (has_download_response()) {
  1.4067 +    if (!this->download_response().IsInitialized()) return false;
  1.4068 +  }
  1.4069 +  return true;
  1.4070 +}
  1.4071 +
  1.4072 +void ClientDownloadReport::Swap(ClientDownloadReport* other) {
  1.4073 +  if (other != this) {
  1.4074 +    std::swap(reason_, other->reason_);
  1.4075 +    std::swap(download_request_, other->download_request_);
  1.4076 +    std::swap(user_information_, other->user_information_);
  1.4077 +    std::swap(comment_, other->comment_);
  1.4078 +    std::swap(download_response_, other->download_response_);
  1.4079 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
  1.4080 +    std::swap(_cached_size_, other->_cached_size_);
  1.4081 +  }
  1.4082 +}
  1.4083 +
  1.4084 +::std::string ClientDownloadReport::GetTypeName() const {
  1.4085 +  return "safe_browsing.ClientDownloadReport";
  1.4086 +}
  1.4087 +
  1.4088 +
  1.4089 +// ===================================================================
  1.4090 +
  1.4091 +bool ClientUploadResponse_UploadStatus_IsValid(int value) {
  1.4092 +  switch(value) {
  1.4093 +    case 0:
  1.4094 +    case 1:
  1.4095 +      return true;
  1.4096 +    default:
  1.4097 +      return false;
  1.4098 +  }
  1.4099 +}
  1.4100 +
  1.4101 +#ifndef _MSC_VER
  1.4102 +const ClientUploadResponse_UploadStatus ClientUploadResponse::SUCCESS;
  1.4103 +const ClientUploadResponse_UploadStatus ClientUploadResponse::UPLOAD_FAILURE;
  1.4104 +const ClientUploadResponse_UploadStatus ClientUploadResponse::UploadStatus_MIN;
  1.4105 +const ClientUploadResponse_UploadStatus ClientUploadResponse::UploadStatus_MAX;
  1.4106 +const int ClientUploadResponse::UploadStatus_ARRAYSIZE;
  1.4107 +#endif  // _MSC_VER
  1.4108 +#ifndef _MSC_VER
  1.4109 +const int ClientUploadResponse::kStatusFieldNumber;
  1.4110 +const int ClientUploadResponse::kPermalinkFieldNumber;
  1.4111 +#endif  // !_MSC_VER
  1.4112 +
  1.4113 +ClientUploadResponse::ClientUploadResponse()
  1.4114 +  : ::google::protobuf::MessageLite() {
  1.4115 +  SharedCtor();
  1.4116 +}
  1.4117 +
  1.4118 +void ClientUploadResponse::InitAsDefaultInstance() {
  1.4119 +}
  1.4120 +
  1.4121 +ClientUploadResponse::ClientUploadResponse(const ClientUploadResponse& from)
  1.4122 +  : ::google::protobuf::MessageLite() {
  1.4123 +  SharedCtor();
  1.4124 +  MergeFrom(from);
  1.4125 +}
  1.4126 +
  1.4127 +void ClientUploadResponse::SharedCtor() {
  1.4128 +  _cached_size_ = 0;
  1.4129 +  status_ = 0;
  1.4130 +  permalink_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1.4131 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.4132 +}
  1.4133 +
  1.4134 +ClientUploadResponse::~ClientUploadResponse() {
  1.4135 +  SharedDtor();
  1.4136 +}
  1.4137 +
  1.4138 +void ClientUploadResponse::SharedDtor() {
  1.4139 +  if (permalink_ != &::google::protobuf::internal::kEmptyString) {
  1.4140 +    delete permalink_;
  1.4141 +  }
  1.4142 +  if (this != default_instance_) {
  1.4143 +  }
  1.4144 +}
  1.4145 +
  1.4146 +void ClientUploadResponse::SetCachedSize(int size) const {
  1.4147 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.4148 +  _cached_size_ = size;
  1.4149 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.4150 +}
  1.4151 +const ClientUploadResponse& ClientUploadResponse::default_instance() {
  1.4152 +  if (default_instance_ == NULL) protobuf_AddDesc_csd_2eproto();  return *default_instance_;
  1.4153 +}
  1.4154 +
  1.4155 +ClientUploadResponse* ClientUploadResponse::default_instance_ = NULL;
  1.4156 +
  1.4157 +ClientUploadResponse* ClientUploadResponse::New() const {
  1.4158 +  return new ClientUploadResponse;
  1.4159 +}
  1.4160 +
  1.4161 +void ClientUploadResponse::Clear() {
  1.4162 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.4163 +    status_ = 0;
  1.4164 +    if (has_permalink()) {
  1.4165 +      if (permalink_ != &::google::protobuf::internal::kEmptyString) {
  1.4166 +        permalink_->clear();
  1.4167 +      }
  1.4168 +    }
  1.4169 +  }
  1.4170 +  ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1.4171 +}
  1.4172 +
  1.4173 +bool ClientUploadResponse::MergePartialFromCodedStream(
  1.4174 +    ::google::protobuf::io::CodedInputStream* input) {
  1.4175 +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1.4176 +  ::google::protobuf::uint32 tag;
  1.4177 +  while ((tag = input->ReadTag()) != 0) {
  1.4178 +    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1.4179 +      // optional .safe_browsing.ClientUploadResponse.UploadStatus status = 1;
  1.4180 +      case 1: {
  1.4181 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.4182 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1.4183 +          int value;
  1.4184 +          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1.4185 +                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1.4186 +                 input, &value)));
  1.4187 +          if (::safe_browsing::ClientUploadResponse_UploadStatus_IsValid(value)) {
  1.4188 +            set_status(static_cast< ::safe_browsing::ClientUploadResponse_UploadStatus >(value));
  1.4189 +          }
  1.4190 +        } else {
  1.4191 +          goto handle_uninterpreted;
  1.4192 +        }
  1.4193 +        if (input->ExpectTag(18)) goto parse_permalink;
  1.4194 +        break;
  1.4195 +      }
  1.4196 +      
  1.4197 +      // optional string permalink = 2;
  1.4198 +      case 2: {
  1.4199 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.4200 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1.4201 +         parse_permalink:
  1.4202 +          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1.4203 +                input, this->mutable_permalink()));
  1.4204 +        } else {
  1.4205 +          goto handle_uninterpreted;
  1.4206 +        }
  1.4207 +        if (input->ExpectAtEnd()) return true;
  1.4208 +        break;
  1.4209 +      }
  1.4210 +      
  1.4211 +      default: {
  1.4212 +      handle_uninterpreted:
  1.4213 +        if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1.4214 +            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1.4215 +          return true;
  1.4216 +        }
  1.4217 +        DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
  1.4218 +        break;
  1.4219 +      }
  1.4220 +    }
  1.4221 +  }
  1.4222 +  return true;
  1.4223 +#undef DO_
  1.4224 +}
  1.4225 +
  1.4226 +void ClientUploadResponse::SerializeWithCachedSizes(
  1.4227 +    ::google::protobuf::io::CodedOutputStream* output) const {
  1.4228 +  // optional .safe_browsing.ClientUploadResponse.UploadStatus status = 1;
  1.4229 +  if (has_status()) {
  1.4230 +    ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1.4231 +      1, this->status(), output);
  1.4232 +  }
  1.4233 +  
  1.4234 +  // optional string permalink = 2;
  1.4235 +  if (has_permalink()) {
  1.4236 +    ::google::protobuf::internal::WireFormatLite::WriteString(
  1.4237 +      2, this->permalink(), output);
  1.4238 +  }
  1.4239 +  
  1.4240 +}
  1.4241 +
  1.4242 +int ClientUploadResponse::ByteSize() const {
  1.4243 +  int total_size = 0;
  1.4244 +  
  1.4245 +  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.4246 +    // optional .safe_browsing.ClientUploadResponse.UploadStatus status = 1;
  1.4247 +    if (has_status()) {
  1.4248 +      total_size += 1 +
  1.4249 +        ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
  1.4250 +    }
  1.4251 +    
  1.4252 +    // optional string permalink = 2;
  1.4253 +    if (has_permalink()) {
  1.4254 +      total_size += 1 +
  1.4255 +        ::google::protobuf::internal::WireFormatLite::StringSize(
  1.4256 +          this->permalink());
  1.4257 +    }
  1.4258 +    
  1.4259 +  }
  1.4260 +  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1.4261 +  _cached_size_ = total_size;
  1.4262 +  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1.4263 +  return total_size;
  1.4264 +}
  1.4265 +
  1.4266 +void ClientUploadResponse::CheckTypeAndMergeFrom(
  1.4267 +    const ::google::protobuf::MessageLite& from) {
  1.4268 +  MergeFrom(*::google::protobuf::down_cast<const ClientUploadResponse*>(&from));
  1.4269 +}
  1.4270 +
  1.4271 +void ClientUploadResponse::MergeFrom(const ClientUploadResponse& from) {
  1.4272 +  GOOGLE_CHECK_NE(&from, this);
  1.4273 +  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1.4274 +    if (from.has_status()) {
  1.4275 +      set_status(from.status());
  1.4276 +    }
  1.4277 +    if (from.has_permalink()) {
  1.4278 +      set_permalink(from.permalink());
  1.4279 +    }
  1.4280 +  }
  1.4281 +}
  1.4282 +
  1.4283 +void ClientUploadResponse::CopyFrom(const ClientUploadResponse& from) {
  1.4284 +  if (&from == this) return;
  1.4285 +  Clear();
  1.4286 +  MergeFrom(from);
  1.4287 +}
  1.4288 +
  1.4289 +bool ClientUploadResponse::IsInitialized() const {
  1.4290 +  
  1.4291 +  return true;
  1.4292 +}
  1.4293 +
  1.4294 +void ClientUploadResponse::Swap(ClientUploadResponse* other) {
  1.4295 +  if (other != this) {
  1.4296 +    std::swap(status_, other->status_);
  1.4297 +    std::swap(permalink_, other->permalink_);
  1.4298 +    std::swap(_has_bits_[0], other->_has_bits_[0]);
  1.4299 +    std::swap(_cached_size_, other->_cached_size_);
  1.4300 +  }
  1.4301 +}
  1.4302 +
  1.4303 +::std::string ClientUploadResponse::GetTypeName() const {
  1.4304 +  return "safe_browsing.ClientUploadResponse";
  1.4305 +}
  1.4306 +
  1.4307 +
  1.4308 +// @@protoc_insertion_point(namespace_scope)
  1.4309 +
  1.4310 +}  // namespace safe_browsing
  1.4311 +
  1.4312 +// @@protoc_insertion_point(global_scope)

mercurial