config.pb.go 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. package utp
  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. Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
  19. }
  20. func (x *Config) Reset() {
  21. *x = Config{}
  22. if protoimpl.UnsafeEnabled {
  23. mi := &file_transport_internet_headers_utp_config_proto_msgTypes[0]
  24. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  25. ms.StoreMessageInfo(mi)
  26. }
  27. }
  28. func (x *Config) String() string {
  29. return protoimpl.X.MessageStringOf(x)
  30. }
  31. func (*Config) ProtoMessage() {}
  32. func (x *Config) ProtoReflect() protoreflect.Message {
  33. mi := &file_transport_internet_headers_utp_config_proto_msgTypes[0]
  34. if protoimpl.UnsafeEnabled && x != nil {
  35. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  36. if ms.LoadMessageInfo() == nil {
  37. ms.StoreMessageInfo(mi)
  38. }
  39. return ms
  40. }
  41. return mi.MessageOf(x)
  42. }
  43. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  44. func (*Config) Descriptor() ([]byte, []int) {
  45. return file_transport_internet_headers_utp_config_proto_rawDescGZIP(), []int{0}
  46. }
  47. func (x *Config) GetVersion() uint32 {
  48. if x != nil {
  49. return x.Version
  50. }
  51. return 0
  52. }
  53. var File_transport_internet_headers_utp_config_proto protoreflect.FileDescriptor
  54. var file_transport_internet_headers_utp_config_proto_rawDesc = []byte{
  55. 0x0a, 0x2b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
  56. 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x75, 0x74, 0x70,
  57. 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x29, 0x76,
  58. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
  59. 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61,
  60. 0x64, 0x65, 0x72, 0x73, 0x2e, 0x75, 0x74, 0x70, 0x22, 0x22, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66,
  61. 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
  62. 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x9c, 0x01, 0x0a,
  63. 0x2d, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  64. 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
  65. 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x75, 0x74, 0x70, 0x50, 0x01,
  66. 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66,
  67. 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35,
  68. 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
  69. 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x75, 0x74, 0x70, 0xaa,
  70. 0x02, 0x29, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61,
  71. 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e,
  72. 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x55, 0x74, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f,
  73. 0x74, 0x6f, 0x33,
  74. }
  75. var (
  76. file_transport_internet_headers_utp_config_proto_rawDescOnce sync.Once
  77. file_transport_internet_headers_utp_config_proto_rawDescData = file_transport_internet_headers_utp_config_proto_rawDesc
  78. )
  79. func file_transport_internet_headers_utp_config_proto_rawDescGZIP() []byte {
  80. file_transport_internet_headers_utp_config_proto_rawDescOnce.Do(func() {
  81. file_transport_internet_headers_utp_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_headers_utp_config_proto_rawDescData)
  82. })
  83. return file_transport_internet_headers_utp_config_proto_rawDescData
  84. }
  85. var file_transport_internet_headers_utp_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  86. var file_transport_internet_headers_utp_config_proto_goTypes = []interface{}{
  87. (*Config)(nil), // 0: v2ray.core.transport.internet.headers.utp.Config
  88. }
  89. var file_transport_internet_headers_utp_config_proto_depIdxs = []int32{
  90. 0, // [0:0] is the sub-list for method output_type
  91. 0, // [0:0] is the sub-list for method input_type
  92. 0, // [0:0] is the sub-list for extension type_name
  93. 0, // [0:0] is the sub-list for extension extendee
  94. 0, // [0:0] is the sub-list for field type_name
  95. }
  96. func init() { file_transport_internet_headers_utp_config_proto_init() }
  97. func file_transport_internet_headers_utp_config_proto_init() {
  98. if File_transport_internet_headers_utp_config_proto != nil {
  99. return
  100. }
  101. if !protoimpl.UnsafeEnabled {
  102. file_transport_internet_headers_utp_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  103. switch v := v.(*Config); i {
  104. case 0:
  105. return &v.state
  106. case 1:
  107. return &v.sizeCache
  108. case 2:
  109. return &v.unknownFields
  110. default:
  111. return nil
  112. }
  113. }
  114. }
  115. type x struct{}
  116. out := protoimpl.TypeBuilder{
  117. File: protoimpl.DescBuilder{
  118. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  119. RawDescriptor: file_transport_internet_headers_utp_config_proto_rawDesc,
  120. NumEnums: 0,
  121. NumMessages: 1,
  122. NumExtensions: 0,
  123. NumServices: 0,
  124. },
  125. GoTypes: file_transport_internet_headers_utp_config_proto_goTypes,
  126. DependencyIndexes: file_transport_internet_headers_utp_config_proto_depIdxs,
  127. MessageInfos: file_transport_internet_headers_utp_config_proto_msgTypes,
  128. }.Build()
  129. File_transport_internet_headers_utp_config_proto = out.File
  130. file_transport_internet_headers_utp_config_proto_rawDesc = nil
  131. file_transport_internet_headers_utp_config_proto_goTypes = nil
  132. file_transport_internet_headers_utp_config_proto_depIdxs = nil
  133. }