// Copyright (c) 2016, the R8 project authors. Please see the AUTHORS file | |
// // for details. All rights reserved. Use of this source code is governed by a | |
// // BSD-style license that can be found in the LICENSE file. | |
syntax = "proto2"; | |
package oneofproto; | |
option java_outer_classname = "GeneratedOneOfProto"; | |
message Oneof { | |
required int32 id = 1; | |
oneof otherfields { | |
float floatField = 2; | |
bool boolField = 3; | |
string stringField = 4; | |
} | |
} | |