pluginlib_descriptor_test_import.proto 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // Protos/SwiftProtobufPluginLibraryTests/pluginlib_descriptor_test_import.proto - test proto
  2. //
  3. // This source file is part of the Swift.org open source project
  4. //
  5. // Copyright (c) 2024 Apple Inc. and the Swift project authors
  6. // Licensed under Apache License v2.0 with Runtime Library Exception
  7. //
  8. // See http://swift.org/LICENSE.txt for license information
  9. // See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
  10. //
  11. // -----------------------------------------------------------------------------
  12. ///
  13. /// Test proto for Tests/SwiftProtobufPluginLibraryTests/Test_Descriptor.swift
  14. ///
  15. // -----------------------------------------------------------------------------
  16. syntax = "proto2";
  17. package swift_descriptor_test.import;
  18. message Version {
  19. optional int32 major = 1;
  20. optional int32 minor = 2;
  21. optional int32 patch = 3;
  22. optional string suffix = 4;
  23. }
  24. message ExtendableOne {
  25. message ExtendableTwo {
  26. extensions 1000 to max;
  27. }
  28. optional ExtendableTwo sub_msg_field = 1;
  29. extensions 1000 to max;
  30. }