blob: 0fa5695334a3027e03718e0e69a47417323894db [file] [log] [blame]
Stephan Herhut3f026d32017-08-07 14:58:13 +02001// Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
2// // for details. All rights reserved. Use of this source code is governed by a
3// // BSD-style license that can be found in the LICENSE file.
4syntax = "proto2";
5package enumproto;
6
7option java_outer_classname = "GeneratedEnumProto";
8
9message Enum {
10 required int32 id = 1;
11 enum DaEnum {
12 UNKOWN = 0;
13 KNOWN = 1;
14 BELIEF = 2;
15 }
16 optional DaEnum enum = 2;
17 enum OtherEnum {
18 BLACK = 0;
19 RED = 1;
20 GREEN = 2;
21 OKALALALA = 3;
22 }
23 optional OtherEnum other = 3;
24}
25