blob: ff639b9c96c7ed639ca9e8263b30766239e38848 [file] [log] [blame]
Abhay Kumara2ae5992025-11-10 14:02:24 +00001syntax = "proto2";
2package etcdserverpb;
3
4import "gogoproto/gogo.proto";
5
6option go_package = "go.etcd.io/etcd/api/v3/etcdserverpb";
7
8option (gogoproto.marshaler_all) = true;
9option (gogoproto.sizer_all) = true;
10option (gogoproto.unmarshaler_all) = true;
11option (gogoproto.goproto_getters_all) = false;
12
13message Request {
14 optional uint64 ID = 1 [(gogoproto.nullable) = false];
15 optional string Method = 2 [(gogoproto.nullable) = false];
16 optional string Path = 3 [(gogoproto.nullable) = false];
17 optional string Val = 4 [(gogoproto.nullable) = false];
18 optional bool Dir = 5 [(gogoproto.nullable) = false];
19 optional string PrevValue = 6 [(gogoproto.nullable) = false];
20 optional uint64 PrevIndex = 7 [(gogoproto.nullable) = false];
21 optional bool PrevExist = 8 [(gogoproto.nullable) = true];
22 optional int64 Expiration = 9 [(gogoproto.nullable) = false];
23 optional bool Wait = 10 [(gogoproto.nullable) = false];
24 optional uint64 Since = 11 [(gogoproto.nullable) = false];
25 optional bool Recursive = 12 [(gogoproto.nullable) = false];
26 optional bool Sorted = 13 [(gogoproto.nullable) = false];
27 optional bool Quorum = 14 [(gogoproto.nullable) = false];
28 optional int64 Time = 15 [(gogoproto.nullable) = false];
29 optional bool Stream = 16 [(gogoproto.nullable) = false];
30 optional bool Refresh = 17 [(gogoproto.nullable) = true];
31}
32
33message Metadata {
34 optional uint64 NodeID = 1 [(gogoproto.nullable) = false];
35 optional uint64 ClusterID = 2 [(gogoproto.nullable) = false];
36}