Debian Codegraph @

udpa/annotations/versioning.proto

raw
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
5 syntax = "proto3";
6
7 package udpa.annotations;
8
9 import "google/protobuf/descriptor.proto";
10
11 option go_package = "github.com/cncf/xds/go/udpa/annotations";
12
13 extend google.protobuf.MessageOptions {
14 // Magic number derived from 0x78 ('x') 0x44 ('D') 0x53 ('S')
15 VersioningAnnotation versioning = 7881811;
16 }
17
18 message 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 }