github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/transport/internet/httpupgrade/config.pb.go (about) 1 package httpupgrade 2 3 import ( 4 _ "github.com/v2fly/v2ray-core/v5/common/protoext" 5 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 6 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 7 reflect "reflect" 8 sync "sync" 9 ) 10 11 const ( 12 // Verify that this generated code is sufficiently up-to-date. 13 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 14 // Verify that runtime/protoimpl is sufficiently up-to-date. 15 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 16 ) 17 18 type Config struct { 19 state protoimpl.MessageState 20 sizeCache protoimpl.SizeCache 21 unknownFields protoimpl.UnknownFields 22 23 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 24 Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` 25 } 26 27 func (x *Config) Reset() { 28 *x = Config{} 29 if protoimpl.UnsafeEnabled { 30 mi := &file_transport_internet_httpupgrade_config_proto_msgTypes[0] 31 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 32 ms.StoreMessageInfo(mi) 33 } 34 } 35 36 func (x *Config) String() string { 37 return protoimpl.X.MessageStringOf(x) 38 } 39 40 func (*Config) ProtoMessage() {} 41 42 func (x *Config) ProtoReflect() protoreflect.Message { 43 mi := &file_transport_internet_httpupgrade_config_proto_msgTypes[0] 44 if protoimpl.UnsafeEnabled && x != nil { 45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 46 if ms.LoadMessageInfo() == nil { 47 ms.StoreMessageInfo(mi) 48 } 49 return ms 50 } 51 return mi.MessageOf(x) 52 } 53 54 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 55 func (*Config) Descriptor() ([]byte, []int) { 56 return file_transport_internet_httpupgrade_config_proto_rawDescGZIP(), []int{0} 57 } 58 59 func (x *Config) GetPath() string { 60 if x != nil { 61 return x.Path 62 } 63 return "" 64 } 65 66 func (x *Config) GetHost() string { 67 if x != nil { 68 return x.Host 69 } 70 return "" 71 } 72 73 var File_transport_internet_httpupgrade_config_proto protoreflect.FileDescriptor 74 75 var file_transport_internet_httpupgrade_config_proto_rawDesc = []byte{ 76 0x0a, 0x2b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 77 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 78 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x31, 0x76, 79 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 80 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x72, 0x65, 0x71, 81 0x75, 0x65, 0x73, 0x74, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 82 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 83 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 84 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 85 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 86 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 87 0x68, 0x6f, 0x73, 0x74, 0x3a, 0x20, 0x82, 0xb5, 0x18, 0x1c, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 88 0x73, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x75, 0x70, 0x67, 0x72, 0x61, 89 0x64, 0x65, 0x90, 0xff, 0x29, 0x01, 0x42, 0x9c, 0x01, 0x0a, 0x2d, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 90 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 91 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x74, 0x74, 92 0x70, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 93 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 94 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 95 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x74, 96 0x74, 0x70, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0xaa, 0x02, 0x29, 0x56, 0x32, 0x52, 0x61, 97 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 98 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x55, 0x70, 99 0x67, 0x72, 0x61, 0x64, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 100 } 101 102 var ( 103 file_transport_internet_httpupgrade_config_proto_rawDescOnce sync.Once 104 file_transport_internet_httpupgrade_config_proto_rawDescData = file_transport_internet_httpupgrade_config_proto_rawDesc 105 ) 106 107 func file_transport_internet_httpupgrade_config_proto_rawDescGZIP() []byte { 108 file_transport_internet_httpupgrade_config_proto_rawDescOnce.Do(func() { 109 file_transport_internet_httpupgrade_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_httpupgrade_config_proto_rawDescData) 110 }) 111 return file_transport_internet_httpupgrade_config_proto_rawDescData 112 } 113 114 var file_transport_internet_httpupgrade_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 115 var file_transport_internet_httpupgrade_config_proto_goTypes = []interface{}{ 116 (*Config)(nil), // 0: v2ray.core.transport.internet.request.httpupgrade.Config 117 } 118 var file_transport_internet_httpupgrade_config_proto_depIdxs = []int32{ 119 0, // [0:0] is the sub-list for method output_type 120 0, // [0:0] is the sub-list for method input_type 121 0, // [0:0] is the sub-list for extension type_name 122 0, // [0:0] is the sub-list for extension extendee 123 0, // [0:0] is the sub-list for field type_name 124 } 125 126 func init() { file_transport_internet_httpupgrade_config_proto_init() } 127 func file_transport_internet_httpupgrade_config_proto_init() { 128 if File_transport_internet_httpupgrade_config_proto != nil { 129 return 130 } 131 if !protoimpl.UnsafeEnabled { 132 file_transport_internet_httpupgrade_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 133 switch v := v.(*Config); i { 134 case 0: 135 return &v.state 136 case 1: 137 return &v.sizeCache 138 case 2: 139 return &v.unknownFields 140 default: 141 return nil 142 } 143 } 144 } 145 type x struct{} 146 out := protoimpl.TypeBuilder{ 147 File: protoimpl.DescBuilder{ 148 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 149 RawDescriptor: file_transport_internet_httpupgrade_config_proto_rawDesc, 150 NumEnums: 0, 151 NumMessages: 1, 152 NumExtensions: 0, 153 NumServices: 0, 154 }, 155 GoTypes: file_transport_internet_httpupgrade_config_proto_goTypes, 156 DependencyIndexes: file_transport_internet_httpupgrade_config_proto_depIdxs, 157 MessageInfos: file_transport_internet_httpupgrade_config_proto_msgTypes, 158 }.Build() 159 File_transport_internet_httpupgrade_config_proto = out.File 160 file_transport_internet_httpupgrade_config_proto_rawDesc = nil 161 file_transport_internet_httpupgrade_config_proto_goTypes = nil 162 file_transport_internet_httpupgrade_config_proto_depIdxs = nil 163 }