Lines Matching defs:response
410 sync_pb::CommitResponse::ResponseType response = server_entry.response_type();
411 if (!sync_pb::CommitResponse::ResponseType_IsValid(response)) {
412 LOG(ERROR) << "Commit response has unknown response type! Possibly out "
416 if (sync_pb::CommitResponse::TRANSIENT_ERROR == response) {
421 if (sync_pb::CommitResponse::INVALID_MESSAGE == response) {
424 return response;
426 if (sync_pb::CommitResponse::CONFLICT == response) {
428 return response;
430 if (sync_pb::CommitResponse::RETRY == response) {
432 return response;
434 if (sync_pb::CommitResponse::OVER_QUOTA == response) {
436 return response;
439 LOG(ERROR) << "Commit response has no id";
444 DCHECK_EQ(sync_pb::CommitResponse::SUCCESS, response) << response;
446 // it as an error response and retry later.
461 LOG(WARNING) << "Server returned a zero version on a commit response.";
466 return response;