config.pb.go 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. package udp
  2. import (
  3. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  4. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  5. reflect "reflect"
  6. sync "sync"
  7. )
  8. const (
  9. // Verify that this generated code is sufficiently up-to-date.
  10. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  11. // Verify that runtime/protoimpl is sufficiently up-to-date.
  12. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  13. )
  14. type Config struct {
  15. state protoimpl.MessageState
  16. sizeCache protoimpl.SizeCache
  17. unknownFields protoimpl.UnknownFields
  18. }
  19. func (x *Config) Reset() {
  20. *x = Config{}
  21. if protoimpl.UnsafeEnabled {
  22. mi := &file_transport_internet_udp_config_proto_msgTypes[0]
  23. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  24. ms.StoreMessageInfo(mi)
  25. }
  26. }
  27. func (x *Config) String() string {
  28. return protoimpl.X.MessageStringOf(x)
  29. }
  30. func (*Config) ProtoMessage() {}
  31. func (x *Config) ProtoReflect() protoreflect.Message {
  32. mi := &file_transport_internet_udp_config_proto_msgTypes[0]
  33. if protoimpl.UnsafeEnabled && x != nil {
  34. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  35. if ms.LoadMessageInfo() == nil {
  36. ms.StoreMessageInfo(mi)
  37. }
  38. return ms
  39. }
  40. return mi.MessageOf(x)
  41. }
  42. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  43. func (*Config) Descriptor() ([]byte, []int) {
  44. return file_transport_internet_udp_config_proto_rawDescGZIP(), []int{0}
  45. }
  46. var File_transport_internet_udp_config_proto protoreflect.FileDescriptor
  47. var file_transport_internet_udp_config_proto_rawDesc = []byte{
  48. 0x0a, 0x23, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
  49. 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x75, 0x64, 0x70, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
  50. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
  51. 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65,
  52. 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x75, 0x64, 0x70, 0x22, 0x08, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66,
  53. 0x69, 0x67, 0x42, 0x84, 0x01, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
  54. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
  55. 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x75, 0x64, 0x70, 0x50, 0x01, 0x5a, 0x35,
  56. 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79,
  57. 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x74,
  58. 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65,
  59. 0x74, 0x2f, 0x75, 0x64, 0x70, 0xaa, 0x02, 0x21, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f,
  60. 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74,
  61. 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x55, 0x64, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  62. 0x33,
  63. }
  64. var (
  65. file_transport_internet_udp_config_proto_rawDescOnce sync.Once
  66. file_transport_internet_udp_config_proto_rawDescData = file_transport_internet_udp_config_proto_rawDesc
  67. )
  68. func file_transport_internet_udp_config_proto_rawDescGZIP() []byte {
  69. file_transport_internet_udp_config_proto_rawDescOnce.Do(func() {
  70. file_transport_internet_udp_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_udp_config_proto_rawDescData)
  71. })
  72. return file_transport_internet_udp_config_proto_rawDescData
  73. }
  74. var file_transport_internet_udp_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  75. var file_transport_internet_udp_config_proto_goTypes = []interface{}{
  76. (*Config)(nil), // 0: v2ray.core.transport.internet.udp.Config
  77. }
  78. var file_transport_internet_udp_config_proto_depIdxs = []int32{
  79. 0, // [0:0] is the sub-list for method output_type
  80. 0, // [0:0] is the sub-list for method input_type
  81. 0, // [0:0] is the sub-list for extension type_name
  82. 0, // [0:0] is the sub-list for extension extendee
  83. 0, // [0:0] is the sub-list for field type_name
  84. }
  85. func init() { file_transport_internet_udp_config_proto_init() }
  86. func file_transport_internet_udp_config_proto_init() {
  87. if File_transport_internet_udp_config_proto != nil {
  88. return
  89. }
  90. if !protoimpl.UnsafeEnabled {
  91. file_transport_internet_udp_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  92. switch v := v.(*Config); i {
  93. case 0:
  94. return &v.state
  95. case 1:
  96. return &v.sizeCache
  97. case 2:
  98. return &v.unknownFields
  99. default:
  100. return nil
  101. }
  102. }
  103. }
  104. type x struct{}
  105. out := protoimpl.TypeBuilder{
  106. File: protoimpl.DescBuilder{
  107. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  108. RawDescriptor: file_transport_internet_udp_config_proto_rawDesc,
  109. NumEnums: 0,
  110. NumMessages: 1,
  111. NumExtensions: 0,
  112. NumServices: 0,
  113. },
  114. GoTypes: file_transport_internet_udp_config_proto_goTypes,
  115. DependencyIndexes: file_transport_internet_udp_config_proto_depIdxs,
  116. MessageInfos: file_transport_internet_udp_config_proto_msgTypes,
  117. }.Build()
  118. File_transport_internet_udp_config_proto = out.File
  119. file_transport_internet_udp_config_proto_rawDesc = nil
  120. file_transport_internet_udp_config_proto_goTypes = nil
  121. file_transport_internet_udp_config_proto_depIdxs = nil
  122. }