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 8syntax = "proto2"; 9 10package upb.test; 11 12message TestMessage { 13 optional int32 i32 = 1 [default = 5]; 14 repeated int32 r_i32 = 2; 15 optional string str = 3 [default = "abc"]; 16 repeated string r_str = 4; 17 optional TestMessage msg = 5; 18 repeated TestMessage r_msg = 6; 19} 20