config.pb.go 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.11
  4. // protoc v6.33.5
  5. // source: transport/internet/udp/config.proto
  6. package udp
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. unsafe "unsafe"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type Config struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. unknownFields protoimpl.UnknownFields
  23. sizeCache protoimpl.SizeCache
  24. }
  25. func (x *Config) Reset() {
  26. *x = Config{}
  27. mi := &file_transport_internet_udp_config_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. func (x *Config) String() string {
  32. return protoimpl.X.MessageStringOf(x)
  33. }
  34. func (*Config) ProtoMessage() {}
  35. func (x *Config) ProtoReflect() protoreflect.Message {
  36. mi := &file_transport_internet_udp_config_proto_msgTypes[0]
  37. if x != nil {
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. if ms.LoadMessageInfo() == nil {
  40. ms.StoreMessageInfo(mi)
  41. }
  42. return ms
  43. }
  44. return mi.MessageOf(x)
  45. }
  46. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  47. func (*Config) Descriptor() ([]byte, []int) {
  48. return file_transport_internet_udp_config_proto_rawDescGZIP(), []int{0}
  49. }
  50. var File_transport_internet_udp_config_proto protoreflect.FileDescriptor
  51. const file_transport_internet_udp_config_proto_rawDesc = "" +
  52. "\n" +
  53. "#transport/internet/udp/config.proto\x12\x1bxray.transport.internet.udp\"\b\n" +
  54. "\x06ConfigBs\n" +
  55. "\x1fcom.xray.transport.internet.udpP\x01Z0github.com/xtls/xray-core/transport/internet/udp\xaa\x02\x1bXray.Transport.Internet.Udpb\x06proto3"
  56. var (
  57. file_transport_internet_udp_config_proto_rawDescOnce sync.Once
  58. file_transport_internet_udp_config_proto_rawDescData []byte
  59. )
  60. func file_transport_internet_udp_config_proto_rawDescGZIP() []byte {
  61. file_transport_internet_udp_config_proto_rawDescOnce.Do(func() {
  62. file_transport_internet_udp_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_transport_internet_udp_config_proto_rawDesc), len(file_transport_internet_udp_config_proto_rawDesc)))
  63. })
  64. return file_transport_internet_udp_config_proto_rawDescData
  65. }
  66. var file_transport_internet_udp_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  67. var file_transport_internet_udp_config_proto_goTypes = []any{
  68. (*Config)(nil), // 0: xray.transport.internet.udp.Config
  69. }
  70. var file_transport_internet_udp_config_proto_depIdxs = []int32{
  71. 0, // [0:0] is the sub-list for method output_type
  72. 0, // [0:0] is the sub-list for method input_type
  73. 0, // [0:0] is the sub-list for extension type_name
  74. 0, // [0:0] is the sub-list for extension extendee
  75. 0, // [0:0] is the sub-list for field type_name
  76. }
  77. func init() { file_transport_internet_udp_config_proto_init() }
  78. func file_transport_internet_udp_config_proto_init() {
  79. if File_transport_internet_udp_config_proto != nil {
  80. return
  81. }
  82. type x struct{}
  83. out := protoimpl.TypeBuilder{
  84. File: protoimpl.DescBuilder{
  85. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  86. RawDescriptor: unsafe.Slice(unsafe.StringData(file_transport_internet_udp_config_proto_rawDesc), len(file_transport_internet_udp_config_proto_rawDesc)),
  87. NumEnums: 0,
  88. NumMessages: 1,
  89. NumExtensions: 0,
  90. NumServices: 0,
  91. },
  92. GoTypes: file_transport_internet_udp_config_proto_goTypes,
  93. DependencyIndexes: file_transport_internet_udp_config_proto_depIdxs,
  94. MessageInfos: file_transport_internet_udp_config_proto_msgTypes,
  95. }.Build()
  96. File_transport_internet_udp_config_proto = out.File
  97. file_transport_internet_udp_config_proto_goTypes = nil
  98. file_transport_internet_udp_config_proto_depIdxs = nil
  99. }