Get desktop application:
View/edit binary Protocol Buffers messages
The greeting service definition.
Sends a greeting
The request message containing the user's name.
The response message containing the greetings
A simple RPC.
A server-to-client streaming RPC.
A client-to-server streaming RPC.
A Bidirectional streaming RPC.
A simple RPC.
A server-to-client streaming RPC.
引入Message Point
A client-to-server streaming RPC.
A Bidirectional streaming RPC.
Message里每个成员变量都有一个唯一的数字标志( Assigning Tags)
singular, 默认值,表示成员只有0个或者1个
repeated 列表
Enum值
新的对象List
Any对象
定义Map对象
List列表
Used as response type in: RouteGuide.GetFeature, RouteGuide.ListFeatures
Used as field type in:
Not used in the RPC. Instead, this is here for the form serialized to disk.
Used in:
定义Map的value值
Used in:
Used as request type in: RouteGuide.GetFeature, RouteGuide.RecordRoute
Used as field type in:
, ,纬度
经度
定义一个新的对象
Used in:
Used as request type in: HelloStream.bindirectionalStreamRpc, HelloStream.client2ServerRpc, HelloStream.simpleRpc
Used as response type in: HelloStream.bindirectionalStreamRpc
Used as field type in:
,Used as response type in: HelloStream.server2ClientRpc, HelloStream.simpleRpc
Used as field type in:
测试类