1syntax = "proto2";
2
3package com.android.dialer.logging;
4option java_package = "com.android.dialer.logging";
5option java_multiple_files = true;
6option optimize_for = LITE_RUNTIME;
7
8message ContactLookupResult {
9  // The different results of a contact lookup done using a phone number.
10  enum Type {
11    UNKNOWN_LOOKUP_RESULT_TYPE = 0;
12
13    // Contact was not found in any of the sources.
14    NOT_FOUND = 1;
15
16    // Contact was found in the local database.
17    LOCAL_CONTACT = 2;
18
19    // Contact was found in Google Dialer's internal phone number cache
20    LOCAL_CACHE = 3;
21
22    // Contact was found via Google Caller ID
23    REMOTE = 4;
24
25    // Phone number was an emergency phone number
26    EMERGENCY = 5;
27
28    // Phone number was the SIM card's voicemail number
29    VOICEMAIL = 6;
30  }
31}
32