1syntax = "proto2";
2
3option java_package = "com.android.dialer.dialercontact";
4option java_multiple_files = true;
5option optimize_for = LITE_RUNTIME;
6
7
8package com.android.dialer.dialercontact;
9
10message DialerContact {
11  optional fixed64 photo_id = 1;
12  optional string photo_uri = 2;
13  optional string contact_uri = 3;
14  optional string name_or_number = 4;
15
16  // Contact's phone number. Should not contain post dial digits.
17  optional string number = 6;
18  optional string display_number = 7;
19  optional string number_label = 8;
20  optional int32 contact_type = 9;
21  optional SimDetails sim_details = 10;
22
23  // {@link CallLog.Calls#POST_DIAL_DIGITS}.
24  optional string post_dial_digits = 11;
25}
26
27message SimDetails {
28  // Human readable netwrork name displayed to user where relevant
29  optional string network = 1;
30  // This value represents a hex representation of a color (i.e. #ffffff)
31  optional int32 color = 2;
32}
33