Internal change

PiperOrigin-RevId: 601377389
pull/15501/head
Protobuf Team Bot 1 year ago committed by Copybara-Service
parent a8a9bd2e49
commit 5f51020f5d
  1. 6
      src/google/protobuf/editions/codegen_tests/proto2_enum.proto
  2. 6
      src/google/protobuf/editions/codegen_tests/proto3_enum.proto

@ -17,4 +17,10 @@ enum Proto2Enum {
message Proto2EnumMessage {
optional Proto2Enum enum_field = 1;
optional Proto2Enum enum_field_default = 2 [default = BAZ];
enum Proto2NestedEnum {
FOO = 1;
BAT = 2;
}
optional Proto2NestedEnum nested_enum_field = 3;
optional Proto2NestedEnum nested_enum_field_default = 4 [default = BAT];
}

@ -17,4 +17,10 @@ enum Proto3Enum {
message Proto3EnumMessage {
Proto3Enum enum_field = 1;
enum Proto3NestedEnum {
UNKNOWN = 0;
FOO = 1;
BAT = 2;
}
optional Proto3NestedEnum nested_enum_field = 3;
}

Loading…
Cancel
Save