summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/enrichedcall/historyquery/proto/history_result.proto
blob: 8efb35cc188c903dbbcf986b49c8f1508633e2f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
syntax = "proto2";

option java_package = "com.android.dialer.enrichedcall.historyquery.proto";
option java_multiple_files = true;
option optimize_for = LITE_RUNTIME;


package com.android.dialer.enrichedcall.historyquery.proto;

// Holds data that was used in an enrichedcall in the past
message HistoryResult {
  optional Type type = 1;
  optional string text = 2;
  optional string image_uri = 4;
  optional string image_content_type = 5;
  optional int64 timestamp = 7;

  enum Type {
    INCOMING_CALL_COMPOSER = 1;
    OUTGOING_CALL_COMPOSER = 2;
    INCOMING_POST_CALL = 3;
    OUTGOING_POST_CALL = 4;
  }
}