1// Protocol Buffers - Google's data interchange format 2// Copyright 2008 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 8// Author: kenton@google.com (Kenton Varda) 9// Based on original Protocol Buffers design by 10// Sanjay Ghemawat, Jeff Dean, and others. 11// 12// This file contains messages for testing message_set_wire_format. 13 14syntax = "proto2"; 15 16package proto2_wireformat_unittest; 17 18option cc_enable_arenas = true; 19option optimize_for = SPEED; 20option csharp_namespace = "Google.ProtocolBuffers.TestProtos"; 21 22// A message with message_set_wire_format. 23message TestMessageSet { 24 option message_set_wire_format = true; 25 26 extensions 4 to 529999999; 27 28 extensions 530000000 to max 29 [declaration = { 30 number: 1952731290, 31 full_name: ".protobuf_unittest_v1api.TestMessageSetExtension3.message_set_extension", 32 type: ".protobuf_unittest_v1api.TestMessageSetExtension3" 33 }]; 34} 35 36message TestMessageSetWireFormatContainer { 37 optional TestMessageSet message_set = 1; 38} 39