v2fly/common/serial/typed_message.proto

19 lines
624 B
Protocol Buffer

syntax = "proto3";
// Use Well-Known Identifier to make use of library assisted parsing
package google.protobuf;
option csharp_namespace = "Google.Protobuf.WellKnownTypes";
option go_package = "google.golang.org/protobuf/types/known/anypb";
option java_package = "com.google.protobuf";
option java_outer_classname = "AnyProto";
option java_multiple_files = true;
option objc_class_prefix = "GPB";
// TypedMessage is a serialized proto message along with its type name.
message Any {
// The name of the message type, retrieved from protobuf API.
string type_url = 1;
// Serialized proto message.
bytes value = 2;
}