blob: c81b2f58a44d4b317ad6ceb5d9645810949096bd [file] [log] [blame]
Abhay Kumar40252eb2025-10-13 13:25:53 +00001syntax = "proto3";
2package versionpb;
3
4import "gogoproto/gogo.proto";
5import "google/protobuf/descriptor.proto";
6
7option go_package = "go.etcd.io/etcd/api/v3/versionpb";
8
9option (gogoproto.marshaler_all) = true;
10option (gogoproto.unmarshaler_all) = true;
11
12// Indicates etcd version that introduced the message, used to determine minimal etcd version required to interpret wal that includes this message.
13extend google.protobuf.MessageOptions {
14 optional string etcd_version_msg = 50000;
15}
16
17// Indicates etcd version that introduced the field, used to determine minimal etcd version required to interpret wal that sets this field.
18extend google.protobuf.FieldOptions {
19 optional string etcd_version_field = 50001;
20}
21
22// Indicates etcd version that introduced the enum, used to determine minimal etcd version required to interpret wal that uses this enum.
23extend google.protobuf.EnumOptions {
24 optional string etcd_version_enum = 50002;
25}
26
27// Indicates etcd version that introduced the enum value, used to determine minimal etcd version required to interpret wal that sets this enum value.
28extend google.protobuf.EnumValueOptions {
29 optional string etcd_version_enum_value = 50003;
30}