blob: 6287d6cd326d802ff828c8843f0e9fff11aee0bf [file] [log] [blame]
Dongwon Kangdfea0aa2018-07-10 12:42:58 -07001/*
2 * Copyright (C) 2018 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
19option optimize_for = LITE_RUNTIME;
20
21// C++ namespace: android::media:MediaPlayer2Proto:
22package android.media.MediaPlayer2Proto;
23
24option java_package = "android.media";
25option java_outer_classname = "MediaPlayer2Proto";
26
27message Value {
28 // The kind of value.
29 oneof kind {
30 // Represents a boolean value.
31 bool bool_value = 1;
32 // Represents an int32 value.
33 int32 int32_value = 2;
34 // Represents an uint32 value.
35 uint32 uint32_value = 3;
36 // Represents an int64 value.
37 int64 int64_value = 4;
38 // Represents an uint64 value.
39 uint64 uint64_value = 5;
40 // Represents a float value.
41 double float_value = 6;
42 // Represents a double value.
43 double double_value = 7;
44 // Represents a string value.
45 string string_value = 8;
46 // Represents a bytes value.
47 bytes bytes_value = 9;
48 }
49}
50
51message PlayerMessage {
52 repeated Value values = 1;
53}