You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
631 B

  1. syntax = "proto3";
  2. package volume_server_pb;
  3. //////////////////////////////////////////////////
  4. service VolumeServer {
  5. //Experts only: takes multiple fid parameters. This function does not propagate deletes to replicas.
  6. rpc BatchDelete (BatchDeleteRequest) returns (BatchDeleteResponse) {
  7. }
  8. }
  9. //////////////////////////////////////////////////
  10. message BatchDeleteRequest {
  11. repeated string file_ids = 1;
  12. }
  13. message BatchDeleteResponse {
  14. repeated DeleteResult results = 1;
  15. }
  16. message DeleteResult {
  17. string file_id = 1;
  18. int32 status = 2;
  19. string error = 3;
  20. uint32 size = 4;
  21. }
  22. message Empty {
  23. }