• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Protocol Buffers - Google's data interchange format
2// Copyright 2023 Google LLC.  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 upb.test_2023;
11
12message EditionsMessage {
13  int32 plain_field = 1;
14  int32 implicit_presence_field = 2 [features.field_presence = IMPLICIT];
15  int32 required_field = 3 [features.field_presence = LEGACY_REQUIRED];
16  EditionsMessage delimited_field = 4 [features.message_encoding = DELIMITED];
17  EditionsEnum enum_field = 5;
18  repeated int32 unpacked_field = 6
19      [features.repeated_field_encoding = EXPANDED];
20}
21
22enum EditionsEnum {
23  option features.enum_type = CLOSED;
24
25  ONE = 1;
26}
27