| Abhay Kumar | 40252eb | 2025-10-13 13:25:53 +0000 | [diff] [blame^] | 1 | syntax = "proto3"; |
| 2 | package versionpb; |
| 3 | |
| 4 | import "gogoproto/gogo.proto"; |
| 5 | import "google/protobuf/descriptor.proto"; |
| 6 | |
| 7 | option go_package = "go.etcd.io/etcd/api/v3/versionpb"; |
| 8 | |
| 9 | option (gogoproto.marshaler_all) = true; |
| 10 | option (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. |
| 13 | extend 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. |
| 18 | extend 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. |
| 23 | extend 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. |
| 28 | extend google.protobuf.EnumValueOptions { |
| 29 | optional string etcd_version_enum_value = 50003; |
| 30 | } |