2021-06-23 04:52:33 -04:00
|
|
|
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;
|
|
|
|
|
2021-06-23 09:34:03 -04:00
|
|
|
import "google/protobuf/descriptor.proto";
|
2021-06-23 04:52:33 -04:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|