暫無描述
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.

api.proto 642B

12345678910111213141516171819202122232425262728293031323334
  1. syntax = "proto3";
  2. package google.protobuf;
  3. import "google/protobuf/source_context.proto";
  4. import "google/protobuf/type.proto";
  5. message Api {
  6. string name = 1;
  7. repeated Method methods = 2;
  8. repeated Option options = 3;
  9. string version = 4;
  10. SourceContext source_context = 5;
  11. repeated Mixin mixins = 6;
  12. Syntax syntax = 7;
  13. }
  14. message Method {
  15. string name = 1;
  16. string request_type_url = 2;
  17. bool request_streaming = 3;
  18. string response_type_url = 4;
  19. bool response_streaming = 5;
  20. repeated Option options = 6;
  21. Syntax syntax = 7;
  22. }
  23. message Mixin {
  24. string name = 1;
  25. string root = 2;
  26. }