unittest_invalid_features.proto 652 B

123456789101112131415161718192021222324
  1. // Protocol Buffers - Google's data interchange format
  2. // Copyright 2023 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. syntax = "proto2";
  8. package pb;
  9. import "google/protobuf/descriptor.proto";
  10. extend google.protobuf.FeatureSet {
  11. optional TestInvalidFeatures test_invalid = 9996;
  12. }
  13. message TestInvalidFeatures {
  14. repeated int32 repeated_feature = 1 [
  15. retention = RETENTION_RUNTIME,
  16. targets = TARGET_TYPE_FIELD,
  17. edition_defaults = { edition: EDITION_2023, value: "3" }
  18. ];
  19. }