1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00
v2fly/common/protoext/extensions.proto
2021-09-04 11:13:31 +01:00

28 lines
684 B
Protocol Buffer

syntax = "proto3";
package v2ray.core.common.protoext;
option csharp_namespace = "V2Ray.Core.Common.ProtoExt";
option go_package = "github.com/v2fly/v2ray-core/v4/common/protoext";
option java_package = "com.v2ray.core.common.protoext";
option java_multiple_files = true;
import "google/protobuf/descriptor.proto";
extend google.protobuf.MessageOptions {
MessageOpt message_opt = 50000;
}
extend google.protobuf.FieldOptions {
FieldOpt field_opt = 50000;
}
message MessageOpt{
repeated string type = 1;
repeated string short_name = 2;
}
message FieldOpt{
repeated string any_wants = 1;
repeated string allowed_values = 2;
repeated string allowed_value_types = 3;
}