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