1syntax = "proto2"; 2 3option java_package = "com.android.dialer.voicemail.model"; 4option java_multiple_files = true; 5option optimize_for = LITE_RUNTIME; 6 7 8package com.android.dialer.voicemail.model; 9 10import "java/com/android/dialer/calllog/database/contract/number_attributes.proto"; 11import "java/com/android/dialer/phonenumberproto/dialer_phone_number.proto"; 12 13// Contains contents of a voicemail entry from the AnnotatedCallLog. 14message VoicemailEntry { 15 // Value in column AnnotatedCallLog._ID 16 optional int64 id = 1; 17 18 // Value in column AnnotatedCallLog.TIMESTAMP 19 optional int64 timestamp = 2; 20 21 // Value in column AnnotatedCallLog.NUMBER 22 optional com.android.dialer.DialerPhoneNumber number = 3; 23 24 // Value in column AnnotatedCallLog.FORMATTED_NUMBER 25 optional string formatted_number = 4; 26 27 // Value in column AnnotatedCallLog.GEOCODED_LOCATION 28 optional string geocoded_location = 5; 29 30 // Value in column AnnotatedCallLog.DURATION 31 optional int64 duration = 6; 32 33 // Value in column AnnotatedCallLog.TRANSCRIPTION 34 optional string transcription = 7; 35 36 // Value in column AnnotatedCallLog.VOICEMAIL_URI 37 optional string voicemail_uri = 8; 38 39 // Value in column AnnotatedCallLog.CALL_TYPE 40 optional int32 call_type = 9; 41 42 // Value in column AnnotatedCallLog.IS_READ 43 optional int32 is_read = 10; 44 45 // Value in column AnnotatedCallLog.NUMBER_ATTRIBUTES 46 optional com.android.dialer.NumberAttributes number_attributes = 11; 47 48 // Value in column AnnotatedCallLog.TRANSCRIPTION_STATE 49 optional int32 transcription_state = 12; 50 51 // Value in column AnnotatedCallLog.PHONE_ACCOUNT_COMPONENT_NAME 52 optional string phone_account_component_name = 13; 53 54 // Value in column AnnotatedCallLog.PHONE_ACCOUNT_ID 55 optional string phone_account_id = 14; 56} 57