18 lines
305 B
Protocol Buffer
18 lines
305 B
Protocol Buffer
syntax="proto3";
|
|
|
|
option csharp_namespace="VizhTalk.Grpc.Learning.Language";
|
|
|
|
package greet;
|
|
import "Proto/Shared.proto";
|
|
|
|
|
|
message CreateLanguageCommand{
|
|
string title = 1;
|
|
bytes icon = 2;
|
|
}
|
|
|
|
message UpdateLanguageCommand{
|
|
Id Id = 1;
|
|
string title = 2;
|
|
optional bytes icon = 3;
|
|
} |