1// Protocol Buffers - Google's data interchange format 2// Copyright 2023 Google Inc. All rights reserved. 3// 4// Use of this source code is governed by a BSD-style 5// license that can be found in the LICENSE file or at 6// https://developers.google.com/open-source/licenses/bsd 7 8syntax = "proto3"; 9 10package protobuf_editions_test.proto3; 11 12enum Proto3Enum { 13 UNKNOWN = 0; 14 BAR = 1; 15 BAZ = 2; 16} 17 18message Proto3EnumMessage { 19 Proto3Enum enum_field = 1; 20 enum Proto3NestedEnum { 21 UNKNOWN = 0; 22 FOO = 1; 23 BAT = 2; 24 } 25 optional Proto3NestedEnum nested_enum_field = 3; 26} 27