syntax = "proto3";

enum TestEnum {
    A = 0;
    B = 1;
    C = 2;
}

message TestInner {
    int64 x = 1;
    TestInner r = 2;
}

message TestStruct {
    oneof oneof {
        bytes bytes = 1;
        TestEnum enum = 2;
        TestInner struct = 3;
    }
}