1// Protocol Buffers - Google's data interchange format 2// Copyright 2024 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 = "proto2"; 9 10package google.protobuf.python.internal; 11 12message SelfRecursive { 13 optional SelfRecursive sub = 1; 14 int32 i = 2; 15 SelfRecursive sub_group = 3 [features.message_encoding = DELIMITED]; 16} 17 18message IndirectRecursive { 19 optional IntermediateRecursive intermediate = 1; 20} 21 22message IntermediateRecursive { 23 optional IndirectRecursive indirect = 1; 24} 25