go.etcd.io/etcd@v3.3.27+incompatible/etcdserver/etcdserverpb/etcdserver.proto (about) 1 syntax = "proto2"; 2 package etcdserverpb; 3 4 import "gogoproto/gogo.proto"; 5 6 option (gogoproto.marshaler_all) = true; 7 option (gogoproto.sizer_all) = true; 8 option (gogoproto.unmarshaler_all) = true; 9 option (gogoproto.goproto_getters_all) = false; 10 11 message 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 31 message Metadata { 32 optional uint64 NodeID = 1 [(gogoproto.nullable) = false]; 33 optional uint64 ClusterID = 2 [(gogoproto.nullable) = false]; 34 }