| 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 |
// Magic number in this file derived from top 28bit of SHA256 digest of |
| 14 |
// "udpa.annotation.status". |
| 15 |
extend google.protobuf.FileOptions { |
| 16 |
StatusAnnotation file_status = 222707719; |
| 17 |
} |
| 18 |
|
| 19 |
enum PackageVersionStatus { |
| 20 |
// Unknown package version status. |
| 21 |
UNKNOWN = 0; |
| 22 |
|
| 23 |
// This version of the package is frozen. |
| 24 |
FROZEN = 1; |
| 25 |
|
| 26 |
// This version of the package is the active development version. |
| 27 |
ACTIVE = 2; |
| 28 |
|
| 29 |
// This version of the package is the candidate for the next major version. It |
| 30 |
// is typically machine generated from the active development version. |
| 31 |
NEXT_MAJOR_VERSION_CANDIDATE = 3; |
| 32 |
} |
| 33 |
|
| 34 |
message StatusAnnotation { |
| 35 |
// The entity is work-in-progress and subject to breaking changes. |
| 36 |
bool work_in_progress = 1; |
| 37 |
|
| 38 |
// The entity belongs to a package with the given version status. |
| 39 |
PackageVersionStatus package_version_status = 2; |
| 40 |
} |