llnwLDS.proto 947 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. syntax = "proto3";
  2. package llnwApi.Delivery.LDS;
  3. option java_multiple_files = true;
  4. option java_package = "io.grpc.llnw.delivery.LDS";
  5. service LogDeliveryService {
  6. rpc CreateLDS(CreateLDSRequest)returns(CreateLDSResponse){};
  7. rpc DeleteLDS(DeleteLDSRequest)returns(DeleteLDSResponse){};
  8. rpc ListLDS(ListLDSRequest)returns(ListLDSResponse){};
  9. }
  10. message Base{
  11. string username = 1;
  12. string key = 2;
  13. }
  14. message CreateLDSRequest{
  15. Base base = 1;
  16. string shortName = 2;
  17. string accessKey = 3;
  18. string bucketName = 4;
  19. string location = 5;
  20. string path = 6;
  21. string region = 7;
  22. string secretKey = 8;
  23. string name = 9;
  24. }
  25. message CreateLDSResponse{
  26. bool isSuccess = 1;
  27. }
  28. message DeleteLDSRequest{
  29. Base base = 1;
  30. string shortName = 2;
  31. string uuid = 3;
  32. }
  33. message DeleteLDSResponse{
  34. bool isSuccess = 1;
  35. }
  36. message ListLDSRequest{
  37. Base base = 1;
  38. string shortName = 2;
  39. }
  40. message ListLDSResponse{
  41. repeated string uuids = 1;
  42. }