versioning.proto 704 B

1234567891011121314151617181920212223
  1. // THIS FILE IS DEPRECATED
  2. // Users should instead use the corresponding proto in the xds tree.
  3. // No new changes will be accepted here.
  4. syntax = "proto3";
  5. package udpa.annotations;
  6. import "google/protobuf/descriptor.proto";
  7. option go_package = "github.com/cncf/xds/go/annotations";
  8. extend google.protobuf.MessageOptions {
  9. // Magic number derived from 0x78 ('x') 0x44 ('D') 0x53 ('S')
  10. VersioningAnnotation versioning = 7881811;
  11. }
  12. message VersioningAnnotation {
  13. // Track the previous message type. E.g. this message might be
  14. // udpa.foo.v3alpha.Foo and it was previously udpa.bar.v2.Bar. This
  15. // information is consumed by UDPA via proto descriptors.
  16. string previous_message_type = 1;
  17. }