1syntax = "proto2"; 2 3option java_package = "com.android.dialer.blockreportspam"; 4option java_multiple_files = true; 5option optimize_for = LITE_RUNTIME; 6 7 8package com.android.dialer.blockreportspam; 9 10import "java/com/android/dialer/logging/contact_source.proto"; 11import "java/com/android/dialer/logging/reporting_location.proto"; 12 13// Contains information needed in dialogs that allow a user to block a number 14// and/or report it as spam/not spam. 15// Next ID: 6 16message BlockReportSpamDialogInfo { 17 // A dialer-normalized version of the number used in the dialogs. 18 // See DialerPhoneNumber#normalized_number. 19 optional string normalized_number = 1; 20 21 // The ISO 3166-1 two letters country code of the number. 22 optional string country_iso = 2; 23 24 // Type of the call to/from the number, as defined in 25 // android.provider.CallLog.Calls 26 optional int32 call_type = 3; 27 28 // The location where the number is reported. 29 optional com.android.dialer.logging.ReportingLocation.Type 30 reporting_location = 4; 31 32 // The source where contact info is associated with the number. 33 optional com.android.dialer.logging.ContactSource.Type contact_source = 5; 34}