unittest_extension_set.proto 792 B

12345678910111213141516171819202122232425262728
  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. // Author: kenton@google.com (Kenton Varda)
  8. // Based on original Protocol Buffers design by
  9. // Sanjay Ghemawat, Jeff Dean, and others.
  10. //
  11. // This file contains messages for testing extensions.
  12. syntax = "proto2";
  13. package protobuf_unittest;
  14. option optimize_for = SPEED;
  15. option csharp_namespace = "Google.ProtocolBuffers.TestProtos";
  16. // A message with message_set_wire_format.
  17. message TestExtensionSet {
  18. extensions 4 to max;
  19. }
  20. message TestExtensionSetContainer {
  21. optional TestExtensionSet extension = 1;
  22. }