config.pb.go 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. package tls
  2. import (
  3. proto "github.com/golang/protobuf/proto"
  4. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  5. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  6. reflect "reflect"
  7. sync "sync"
  8. )
  9. const (
  10. // Verify that this generated code is sufficiently up-to-date.
  11. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  12. // Verify that runtime/protoimpl is sufficiently up-to-date.
  13. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  14. )
  15. // This is a compile-time assertion that a sufficiently up-to-date version
  16. // of the legacy proto package is being used.
  17. const _ = proto.ProtoPackageIsVersion4
  18. type PacketConfig struct {
  19. state protoimpl.MessageState
  20. sizeCache protoimpl.SizeCache
  21. unknownFields protoimpl.UnknownFields
  22. }
  23. func (x *PacketConfig) Reset() {
  24. *x = PacketConfig{}
  25. if protoimpl.UnsafeEnabled {
  26. mi := &file_v2ray_com_core_transport_internet_headers_tls_config_proto_msgTypes[0]
  27. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  28. ms.StoreMessageInfo(mi)
  29. }
  30. }
  31. func (x *PacketConfig) String() string {
  32. return protoimpl.X.MessageStringOf(x)
  33. }
  34. func (*PacketConfig) ProtoMessage() {}
  35. func (x *PacketConfig) ProtoReflect() protoreflect.Message {
  36. mi := &file_v2ray_com_core_transport_internet_headers_tls_config_proto_msgTypes[0]
  37. if protoimpl.UnsafeEnabled && 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 PacketConfig.ProtoReflect.Descriptor instead.
  47. func (*PacketConfig) Descriptor() ([]byte, []int) {
  48. return file_v2ray_com_core_transport_internet_headers_tls_config_proto_rawDescGZIP(), []int{0}
  49. }
  50. var File_v2ray_com_core_transport_internet_headers_tls_config_proto protoreflect.FileDescriptor
  51. var file_v2ray_com_core_transport_internet_headers_tls_config_proto_rawDesc = []byte{
  52. 0x0a, 0x3a, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65,
  53. 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
  54. 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x74, 0x6c, 0x73, 0x2f,
  55. 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x29, 0x76, 0x32,
  56. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
  57. 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64,
  58. 0x65, 0x72, 0x73, 0x2e, 0x74, 0x6c, 0x73, 0x22, 0x0e, 0x0a, 0x0c, 0x50, 0x61, 0x63, 0x6b, 0x65,
  59. 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x62, 0x0a, 0x2d, 0x63, 0x6f, 0x6d, 0x2e, 0x76,
  60. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
  61. 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61,
  62. 0x64, 0x65, 0x72, 0x73, 0x2e, 0x74, 0x6c, 0x73, 0x50, 0x01, 0x5a, 0x03, 0x74, 0x6c, 0x73, 0xaa,
  63. 0x02, 0x29, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61,
  64. 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e,
  65. 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x54, 0x6c, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f,
  66. 0x74, 0x6f, 0x33,
  67. }
  68. var (
  69. file_v2ray_com_core_transport_internet_headers_tls_config_proto_rawDescOnce sync.Once
  70. file_v2ray_com_core_transport_internet_headers_tls_config_proto_rawDescData = file_v2ray_com_core_transport_internet_headers_tls_config_proto_rawDesc
  71. )
  72. func file_v2ray_com_core_transport_internet_headers_tls_config_proto_rawDescGZIP() []byte {
  73. file_v2ray_com_core_transport_internet_headers_tls_config_proto_rawDescOnce.Do(func() {
  74. file_v2ray_com_core_transport_internet_headers_tls_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_v2ray_com_core_transport_internet_headers_tls_config_proto_rawDescData)
  75. })
  76. return file_v2ray_com_core_transport_internet_headers_tls_config_proto_rawDescData
  77. }
  78. var file_v2ray_com_core_transport_internet_headers_tls_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  79. var file_v2ray_com_core_transport_internet_headers_tls_config_proto_goTypes = []interface{}{
  80. (*PacketConfig)(nil), // 0: v2ray.core.transport.internet.headers.tls.PacketConfig
  81. }
  82. var file_v2ray_com_core_transport_internet_headers_tls_config_proto_depIdxs = []int32{
  83. 0, // [0:0] is the sub-list for method output_type
  84. 0, // [0:0] is the sub-list for method input_type
  85. 0, // [0:0] is the sub-list for extension type_name
  86. 0, // [0:0] is the sub-list for extension extendee
  87. 0, // [0:0] is the sub-list for field type_name
  88. }
  89. func init() { file_v2ray_com_core_transport_internet_headers_tls_config_proto_init() }
  90. func file_v2ray_com_core_transport_internet_headers_tls_config_proto_init() {
  91. if File_v2ray_com_core_transport_internet_headers_tls_config_proto != nil {
  92. return
  93. }
  94. if !protoimpl.UnsafeEnabled {
  95. file_v2ray_com_core_transport_internet_headers_tls_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  96. switch v := v.(*PacketConfig); i {
  97. case 0:
  98. return &v.state
  99. case 1:
  100. return &v.sizeCache
  101. case 2:
  102. return &v.unknownFields
  103. default:
  104. return nil
  105. }
  106. }
  107. }
  108. type x struct{}
  109. out := protoimpl.TypeBuilder{
  110. File: protoimpl.DescBuilder{
  111. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  112. RawDescriptor: file_v2ray_com_core_transport_internet_headers_tls_config_proto_rawDesc,
  113. NumEnums: 0,
  114. NumMessages: 1,
  115. NumExtensions: 0,
  116. NumServices: 0,
  117. },
  118. GoTypes: file_v2ray_com_core_transport_internet_headers_tls_config_proto_goTypes,
  119. DependencyIndexes: file_v2ray_com_core_transport_internet_headers_tls_config_proto_depIdxs,
  120. MessageInfos: file_v2ray_com_core_transport_internet_headers_tls_config_proto_msgTypes,
  121. }.Build()
  122. File_v2ray_com_core_transport_internet_headers_tls_config_proto = out.File
  123. file_v2ray_com_core_transport_internet_headers_tls_config_proto_rawDesc = nil
  124. file_v2ray_com_core_transport_internet_headers_tls_config_proto_goTypes = nil
  125. file_v2ray_com_core_transport_internet_headers_tls_config_proto_depIdxs = nil
  126. }