llnwLDS.proto 969 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. string message = 2;
  28. }
  29. message DeleteLDSRequest{
  30. Base base = 1;
  31. string shortName = 2;
  32. string uuid = 3;
  33. }
  34. message DeleteLDSResponse{
  35. bool isSuccess = 1;
  36. }
  37. message ListLDSRequest{
  38. Base base = 1;
  39. string shortName = 2;
  40. }
  41. message ListLDSResponse{
  42. repeated string uuids = 1;
  43. }