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