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