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 8edition = "2023"; 9 10package protobuf_editions_test; 11 12// This file tests the default features in the absence of any dependencies. 13 14enum EditionsDefaultEnum { 15 EDITIONS_DEFAULT_ENUM_UNKNOWN = 0; 16 EDITIONS_DEFAULT_ENUM_VALUE1 = 1; 17} 18 19message EditionsDefaultMessage { 20 int32 int32_field = 1; 21 string string_field = 2; 22 EditionsDefaultEnum enum_field = 3; 23 24 repeated int32 repeated_int32_field = 4; 25 26 message SubMessage { 27 int32 nested_int32_field = 1; 28 } 29 SubMessage sub_message_field = 6; 30} 31