github.com/imannamdari/v2ray-core/v5@v5.0.5/common/protoext/testing/test.proto (about) 1 syntax = "proto3"; 2 3 package v2ray.core.common.protoext.testing; 4 option csharp_namespace = "V2Ray.Core.Common.ProtoExt.Testing"; 5 option go_package = "github.com/imannamdari/v2ray-core/common/protoext/testing"; 6 option java_package = "com.v2ray.core.common.protoext.testing"; 7 option java_multiple_files = true; 8 9 import "common/protoext/extensions.proto"; 10 11 message TestingMessage{ 12 option (v2ray.core.common.protoext.message_opt).type = "demo"; 13 option (v2ray.core.common.protoext.message_opt).type = "demo2"; 14 15 string test_field = 1 16 [(v2ray.core.common.protoext.field_opt).allowed_values = "test", 17 (v2ray.core.common.protoext.field_opt).allowed_values = "test2"]; 18 }