deprecation.proto 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. syntax = "proto3";
  2. package envoy.annotations;
  3. option go_package = "github.com/envoyproxy/go-control-plane/envoy/annotations";
  4. import "google/protobuf/descriptor.proto";
  5. // [#protodoc-title: Deprecation]
  6. // Adds annotations for deprecated fields and enums to allow tagging proto
  7. // fields as fatal by default and the minor version on which the field was
  8. // deprecated. One Envoy release after deprecation, deprecated fields will be
  9. // disallowed by default, a state which is reversible with
  10. // :ref:`runtime overrides <config_runtime_deprecation>`.
  11. // Magic number in this file derived from top 28bit of SHA256 digest of
  12. // "envoy.annotation.disallowed_by_default" and "envoy.annotation.deprecated_at_minor_version"
  13. extend google.protobuf.FieldOptions {
  14. bool disallowed_by_default = 189503207;
  15. // The API major and minor version on which the field was deprecated
  16. // (e.g., "3.5" for major version 3 and minor version 5).
  17. string deprecated_at_minor_version = 157299826;
  18. }
  19. // Magic number in this file derived from top 28bit of SHA256 digest of
  20. // "envoy.annotation.disallowed_by_default_enum" and
  21. // "envoy.annotation.deprecated_at_minor_version_eum"
  22. extend google.protobuf.EnumValueOptions {
  23. bool disallowed_by_default_enum = 70100853;
  24. // The API major and minor version on which the enum value was deprecated
  25. // (e.g., "3.5" for major version 3 and minor version 5).
  26. string deprecated_at_minor_version_enum = 181198657;
  27. }