2016-12-15 10:51:09 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package v2ray.core.common.serial;
|
2016-12-22 23:24:28 +00:00
|
|
|
option csharp_namespace = "V2Ray.Core.Common.Serial";
|
2016-12-15 10:51:09 +00:00
|
|
|
option go_package = "serial";
|
|
|
|
option java_package = "com.v2ray.core.common.serial";
|
2017-02-03 22:15:10 +00:00
|
|
|
option java_multiple_files = true;
|
2016-12-15 10:51:09 +00:00
|
|
|
|
2017-08-25 13:11:06 +00:00
|
|
|
// TypedMessage is a serialized proto message along with its type name.
|
2016-12-15 10:51:09 +00:00
|
|
|
message TypedMessage {
|
|
|
|
// The name of the message type, retrieved from protobuf API.
|
|
|
|
string type = 1;
|
|
|
|
// Serialized proto message.
|
|
|
|
bytes value = 2;
|
|
|
|
}
|