1/*
2 * Copyright (C) 2019 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17syntax = "proto2";
18
19package android.stats.intelligence;
20option java_outer_classname = "IntelligenceStatsEnums";
21
22enum Status {
23  // The value wasn't set.
24  // protoc requires enum values to be unique by package rather than enum type.
25  // This forces us to prefix the enum values.
26  STATUS_UNKNOWN = 0;
27  // The event succeeded.
28  STATUS_SUCCEEDED = 1;
29  // The event had an error.
30  STATUS_FAILED = 2;
31}
32
33enum EventType {
34  // The value wasn't set.
35  EVENT_UNKNOWN = 0;
36  // ContentSuggestionsService classifyContentSelections call.
37  EVENT_CONTENT_SUGGESTIONS_CLASSIFY_CONTENT_CALL = 1;
38  // ContentSuggestionsService suggestContentSelections call.
39  EVENT_CONTENT_SUGGESTIONS_SUGGEST_CONTENT_CALL = 2;
40}
41