1syntax = "proto2";
2
3option java_package = "com.android.dialer.glidephotomanager";
4option java_multiple_files = true;
5option optimize_for = LITE_RUNTIME;
6
7
8package com.android.dialer.glidephotomanager;
9
10// Contains information associated with a number, which is used to create the
11// photo.
12// Next ID: 13
13message PhotoInfo {
14  // The display name of the number.
15  optional string name = 1;
16
17  // The number presented to the user.
18  optional string formatted_number = 2;
19
20  // The URI of the photo.
21  optional string photo_uri = 3;
22
23  // Value of android.provider.ContactsContract.CommonDataKinds.Photo#_ID
24  optional int64 photo_id = 4;
25
26  // The Contacts Provider lookup URI for the contact associated with the
27  // number.
28  optional string lookup_uri = 5;
29
30  // Whether a business icon should be displayed.
31  optional bool is_business = 6;
32
33  // Whether a voicemail icon should be displayed.
34  optional bool is_voicemail = 7;
35
36  // Whether a "blocked" icon should be displayed.
37  optional bool is_blocked = 8;
38
39  // Whether a "spam" icon should be displayed.
40  optional bool is_spam = 9;
41
42  // Whether the photo should be badged as video call.
43  optional bool is_video = 10;
44
45  // Whether the photo should be badged as RTT call.
46  optional bool is_rtt = 11;
47
48  // Whether to show conference call icon instead of contact icon.
49  optional bool is_conference = 12;
50}
51