syntax="proto3";packagecom.example.chat;// Request payloadmessageChatMessage{// Each message attribute is strongly typed.// You also must assign a "tag" number.// Each tag number is unique within the message.stringfrom=1;// This defines a strongly typed list of Stringstringmessage=2;// There are many more basics types, like Enum, Map// See https://developers.google.com/protocol-buffers/docs/proto3// for more information.}// Defining a Service, a Service can have multiple RPC operationsserviceChatService{rpcchat(streamChatMessage)returns(streamChatMessage);}