snapshot_request.proto 653 B

123456789101112131415161718192021
  1. package protobuf;
  2. import "code.google.com/p/gogoprotobuf/gogoproto/gogo.proto";
  3. option (gogoproto.gostring_all) = true;
  4. option (gogoproto.equal_all) = true;
  5. option (gogoproto.verbose_equal_all) = true;
  6. option (gogoproto.goproto_stringer_all) = false;
  7. option (gogoproto.stringer_all) = true;
  8. option (gogoproto.populate_all) = true;
  9. option (gogoproto.testgen_all) = true;
  10. option (gogoproto.benchgen_all) = true;
  11. option (gogoproto.marshaler_all) = true;
  12. option (gogoproto.sizer_all) = true;
  13. option (gogoproto.unmarshaler_all) = true;
  14. message SnapshotRequest {
  15. required string LeaderName=1;
  16. required uint64 LastIndex=2;
  17. required uint64 LastTerm=3;
  18. }