2014-08-28 06:03:41 +04:00
|
|
|
package etcdserverpb;
|
2014-08-26 05:39:02 +04:00
|
|
|
|
|
|
|
import "code.google.com/p/gogoprotobuf/gogoproto/gogo.proto";
|
|
|
|
|
|
|
|
option (gogoproto.marshaler_all) = true;
|
|
|
|
option (gogoproto.sizer_all) = true;
|
|
|
|
option (gogoproto.unmarshaler_all) = true;
|
|
|
|
option (gogoproto.goproto_getters_all) = false;
|
|
|
|
|
|
|
|
message Request {
|
2014-10-12 04:35:58 +04:00
|
|
|
required uint64 ID = 1 [(gogoproto.nullable) = false];
|
2014-09-23 21:17:53 +04:00
|
|
|
required string Method = 2 [(gogoproto.nullable) = false];
|
|
|
|
required string Path = 3 [(gogoproto.nullable) = false];
|
|
|
|
required string Val = 4 [(gogoproto.nullable) = false];
|
|
|
|
required bool Dir = 5 [(gogoproto.nullable) = false];
|
|
|
|
required string PrevValue = 6 [(gogoproto.nullable) = false];
|
|
|
|
required uint64 PrevIndex = 7 [(gogoproto.nullable) = false];
|
|
|
|
required bool PrevExist = 8 [(gogoproto.nullable) = true];
|
|
|
|
required int64 Expiration = 9 [(gogoproto.nullable) = false];
|
|
|
|
required bool Wait = 10 [(gogoproto.nullable) = false];
|
|
|
|
required uint64 Since = 11 [(gogoproto.nullable) = false];
|
|
|
|
required bool Recursive = 12 [(gogoproto.nullable) = false];
|
|
|
|
required bool Sorted = 13 [(gogoproto.nullable) = false];
|
|
|
|
required bool Quorum = 14 [(gogoproto.nullable) = false];
|
|
|
|
required int64 Time = 15 [(gogoproto.nullable) = false];
|
|
|
|
required bool Stream = 16 [(gogoproto.nullable) = false];
|
2014-08-26 05:39:02 +04:00
|
|
|
}
|
2014-10-03 04:06:35 +04:00
|
|
|
|
2014-10-11 16:41:00 +04:00
|
|
|
message Metadata {
|
2014-10-11 15:20:14 +04:00
|
|
|
required uint64 NodeID = 1 [(gogoproto.nullable) = false];
|
|
|
|
required uint64 ClusterID = 2 [(gogoproto.nullable) = false];
|
2014-10-03 04:06:35 +04:00
|
|
|
}
|