1syntax = "proto3";
2
3package udpa.annotations;
4
5import "google/protobuf/descriptor.proto";
6
7extend google.protobuf.MessageOptions {
8  // Magic number derived from 0x78 ('x') 0x44 ('D') 0x53 ('S')
9  VersioningAnnotation versioning = 7881811;
10}
11
12message 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}
18