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
5syntax = "proto3";
6
7package udpa.annotations;
8
9import "google/protobuf/descriptor.proto";
10
11option go_package = "github.com/cncf/xds/go/annotations";
12
13extend google.protobuf.MessageOptions {
14  // Magic number derived from 0x78 ('x') 0x44 ('D') 0x53 ('S')
15  VersioningAnnotation versioning = 7881811;
16}
17
18message VersioningAnnotation {
19  // Track the previous message type. E.g. this message might be
20  // udpa.foo.v3alpha.Foo and it was previously udpa.bar.v2.Bar. This
21  // information is consumed by UDPA via proto descriptors.
22  string previous_message_type = 1;
23}
24