//% descriptor: true
//% symtab: true
edition = "2024";

package buf.test;

import option "google/protobuf/cpp_features.proto";
import option "google/protobuf/java_features.proto";
import option "google/protobuf/go_features.proto";

// If previously relying on edition 2023 default java_outer_classname.
option java_outer_classname = "BarBaz"; // or BarBazOuterClass

option features.(pb.cpp).string_type = STRING;
option features.enforce_naming_style = STYLE_LEGACY;
option features.default_symbol_visibility = EXPORT_ALL;
option features.(pb.cpp).enum_name_uses_string_view = false;
option features.(pb.go).api_level = API_OPEN;

message MyMessage {
  option features.(pb.java).nest_in_file_class = YES;
}

enum MyEnum {
  option features.(pb.java).large_enum = true;
  MY_ENUM_UNSPECIFIED = 0;
  MY_ENUM_VALUE = 1;
}
