MessageProto.proto 359 B

1234567891011121314151617
  1. syntax = "proto3";
  2. package cn.sagacloud.proto;
  3. option optimize_for = SPEED;
  4. //option java_package = "cn.sagacloud.server.proto";
  5. option java_outer_classname = "MessageProto";
  6. //message Message{
  7. // int32 cmd = 1;
  8. // string className = 2;
  9. // string content = 3;
  10. //}
  11. message Message{
  12. string cmd = 1;
  13. int32 taskId = 2;
  14. string content = 3;
  15. }