github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/transport/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.13.0 5 // source: transport/config.proto 6 7 package transport 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 internet "v2ray.com/core/transport/internet" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 // This is a compile-time assertion that a sufficiently up-to-date version 26 // of the legacy proto package is being used. 27 const _ = proto.ProtoPackageIsVersion4 28 29 // Global transport settings. This affects all type of connections that go 30 // through V2Ray. Deprecated. Use each settings in StreamConfig. 31 type Config struct { 32 state protoimpl.MessageState 33 sizeCache protoimpl.SizeCache 34 unknownFields protoimpl.UnknownFields 35 36 TransportSettings []*internet.TransportConfig `protobuf:"bytes,1,rep,name=transport_settings,json=transportSettings,proto3" json:"transport_settings,omitempty"` 37 } 38 39 func (x *Config) Reset() { 40 *x = Config{} 41 if protoimpl.UnsafeEnabled { 42 mi := &file_transport_config_proto_msgTypes[0] 43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 44 ms.StoreMessageInfo(mi) 45 } 46 } 47 48 func (x *Config) String() string { 49 return protoimpl.X.MessageStringOf(x) 50 } 51 52 func (*Config) ProtoMessage() {} 53 54 func (x *Config) ProtoReflect() protoreflect.Message { 55 mi := &file_transport_config_proto_msgTypes[0] 56 if protoimpl.UnsafeEnabled && x != nil { 57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 58 if ms.LoadMessageInfo() == nil { 59 ms.StoreMessageInfo(mi) 60 } 61 return ms 62 } 63 return mi.MessageOf(x) 64 } 65 66 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 67 func (*Config) Descriptor() ([]byte, []int) { 68 return file_transport_config_proto_rawDescGZIP(), []int{0} 69 } 70 71 func (x *Config) GetTransportSettings() []*internet.TransportConfig { 72 if x != nil { 73 return x.TransportSettings 74 } 75 return nil 76 } 77 78 var File_transport_config_proto protoreflect.FileDescriptor 79 80 var file_transport_config_proto_rawDesc = []byte{ 81 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 82 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 83 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x1a, 0x1f, 84 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 85 0x65, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 86 0x67, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5d, 0x0a, 0x12, 0x74, 0x72, 0x61, 87 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 88 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 89 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 90 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x43, 91 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 92 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x4d, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 93 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 94 0x70, 0x6f, 0x72, 0x74, 0x50, 0x01, 0x5a, 0x18, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 95 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 96 0xaa, 0x02, 0x14, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 97 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 98 } 99 100 var ( 101 file_transport_config_proto_rawDescOnce sync.Once 102 file_transport_config_proto_rawDescData = file_transport_config_proto_rawDesc 103 ) 104 105 func file_transport_config_proto_rawDescGZIP() []byte { 106 file_transport_config_proto_rawDescOnce.Do(func() { 107 file_transport_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_config_proto_rawDescData) 108 }) 109 return file_transport_config_proto_rawDescData 110 } 111 112 var file_transport_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 113 var file_transport_config_proto_goTypes = []interface{}{ 114 (*Config)(nil), // 0: v2ray.core.transport.Config 115 (*internet.TransportConfig)(nil), // 1: v2ray.core.transport.internet.TransportConfig 116 } 117 var file_transport_config_proto_depIdxs = []int32{ 118 1, // 0: v2ray.core.transport.Config.transport_settings:type_name -> v2ray.core.transport.internet.TransportConfig 119 1, // [1:1] is the sub-list for method output_type 120 1, // [1:1] is the sub-list for method input_type 121 1, // [1:1] is the sub-list for extension type_name 122 1, // [1:1] is the sub-list for extension extendee 123 0, // [0:1] is the sub-list for field type_name 124 } 125 126 func init() { file_transport_config_proto_init() } 127 func file_transport_config_proto_init() { 128 if File_transport_config_proto != nil { 129 return 130 } 131 if !protoimpl.UnsafeEnabled { 132 file_transport_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_config_proto_rawDesc, 150 NumEnums: 0, 151 NumMessages: 1, 152 NumExtensions: 0, 153 NumServices: 0, 154 }, 155 GoTypes: file_transport_config_proto_goTypes, 156 DependencyIndexes: file_transport_config_proto_depIdxs, 157 MessageInfos: file_transport_config_proto_msgTypes, 158 }.Build() 159 File_transport_config_proto = out.File 160 file_transport_config_proto_rawDesc = nil 161 file_transport_config_proto_goTypes = nil 162 file_transport_config_proto_depIdxs = nil 163 }