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