github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/app/dispatcher/config.pb.go (about) 1 package dispatcher 2 3 import ( 4 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 5 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 6 reflect "reflect" 7 sync "sync" 8 ) 9 10 const ( 11 // Verify that this generated code is sufficiently up-to-date. 12 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 13 // Verify that runtime/protoimpl is sufficiently up-to-date. 14 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 15 ) 16 17 type SessionConfig struct { 18 state protoimpl.MessageState 19 sizeCache protoimpl.SizeCache 20 unknownFields protoimpl.UnknownFields 21 } 22 23 func (x *SessionConfig) Reset() { 24 *x = SessionConfig{} 25 if protoimpl.UnsafeEnabled { 26 mi := &file_app_dispatcher_config_proto_msgTypes[0] 27 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 28 ms.StoreMessageInfo(mi) 29 } 30 } 31 32 func (x *SessionConfig) String() string { 33 return protoimpl.X.MessageStringOf(x) 34 } 35 36 func (*SessionConfig) ProtoMessage() {} 37 38 func (x *SessionConfig) ProtoReflect() protoreflect.Message { 39 mi := &file_app_dispatcher_config_proto_msgTypes[0] 40 if protoimpl.UnsafeEnabled && x != nil { 41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 42 if ms.LoadMessageInfo() == nil { 43 ms.StoreMessageInfo(mi) 44 } 45 return ms 46 } 47 return mi.MessageOf(x) 48 } 49 50 // Deprecated: Use SessionConfig.ProtoReflect.Descriptor instead. 51 func (*SessionConfig) Descriptor() ([]byte, []int) { 52 return file_app_dispatcher_config_proto_rawDescGZIP(), []int{0} 53 } 54 55 type Config struct { 56 state protoimpl.MessageState 57 sizeCache protoimpl.SizeCache 58 unknownFields protoimpl.UnknownFields 59 60 Settings *SessionConfig `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` 61 } 62 63 func (x *Config) Reset() { 64 *x = Config{} 65 if protoimpl.UnsafeEnabled { 66 mi := &file_app_dispatcher_config_proto_msgTypes[1] 67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 68 ms.StoreMessageInfo(mi) 69 } 70 } 71 72 func (x *Config) String() string { 73 return protoimpl.X.MessageStringOf(x) 74 } 75 76 func (*Config) ProtoMessage() {} 77 78 func (x *Config) ProtoReflect() protoreflect.Message { 79 mi := &file_app_dispatcher_config_proto_msgTypes[1] 80 if protoimpl.UnsafeEnabled && x != nil { 81 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 82 if ms.LoadMessageInfo() == nil { 83 ms.StoreMessageInfo(mi) 84 } 85 return ms 86 } 87 return mi.MessageOf(x) 88 } 89 90 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 91 func (*Config) Descriptor() ([]byte, []int) { 92 return file_app_dispatcher_config_proto_rawDescGZIP(), []int{1} 93 } 94 95 func (x *Config) GetSettings() *SessionConfig { 96 if x != nil { 97 return x.Settings 98 } 99 return nil 100 } 101 102 var File_app_dispatcher_config_proto protoreflect.FileDescriptor 103 104 var file_app_dispatcher_config_proto_rawDesc = []byte{ 105 0x0a, 0x1b, 0x61, 0x70, 0x70, 0x2f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 106 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x76, 107 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x69, 108 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x22, 0x15, 0x0a, 0x0d, 0x53, 0x65, 0x73, 0x73, 109 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 110 0x4e, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x44, 0x0a, 0x08, 0x73, 0x65, 0x74, 111 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x32, 112 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x69, 0x73, 113 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 114 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 115 0x6c, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 116 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 117 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 118 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 119 0x76, 0x35, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 120 0x72, 0xaa, 0x02, 0x19, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 121 0x70, 0x70, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x62, 0x06, 0x70, 122 0x72, 0x6f, 0x74, 0x6f, 0x33, 123 } 124 125 var ( 126 file_app_dispatcher_config_proto_rawDescOnce sync.Once 127 file_app_dispatcher_config_proto_rawDescData = file_app_dispatcher_config_proto_rawDesc 128 ) 129 130 func file_app_dispatcher_config_proto_rawDescGZIP() []byte { 131 file_app_dispatcher_config_proto_rawDescOnce.Do(func() { 132 file_app_dispatcher_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_dispatcher_config_proto_rawDescData) 133 }) 134 return file_app_dispatcher_config_proto_rawDescData 135 } 136 137 var file_app_dispatcher_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 138 var file_app_dispatcher_config_proto_goTypes = []interface{}{ 139 (*SessionConfig)(nil), // 0: v2ray.core.app.dispatcher.SessionConfig 140 (*Config)(nil), // 1: v2ray.core.app.dispatcher.Config 141 } 142 var file_app_dispatcher_config_proto_depIdxs = []int32{ 143 0, // 0: v2ray.core.app.dispatcher.Config.settings:type_name -> v2ray.core.app.dispatcher.SessionConfig 144 1, // [1:1] is the sub-list for method output_type 145 1, // [1:1] is the sub-list for method input_type 146 1, // [1:1] is the sub-list for extension type_name 147 1, // [1:1] is the sub-list for extension extendee 148 0, // [0:1] is the sub-list for field type_name 149 } 150 151 func init() { file_app_dispatcher_config_proto_init() } 152 func file_app_dispatcher_config_proto_init() { 153 if File_app_dispatcher_config_proto != nil { 154 return 155 } 156 if !protoimpl.UnsafeEnabled { 157 file_app_dispatcher_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 158 switch v := v.(*SessionConfig); i { 159 case 0: 160 return &v.state 161 case 1: 162 return &v.sizeCache 163 case 2: 164 return &v.unknownFields 165 default: 166 return nil 167 } 168 } 169 file_app_dispatcher_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 170 switch v := v.(*Config); i { 171 case 0: 172 return &v.state 173 case 1: 174 return &v.sizeCache 175 case 2: 176 return &v.unknownFields 177 default: 178 return nil 179 } 180 } 181 } 182 type x struct{} 183 out := protoimpl.TypeBuilder{ 184 File: protoimpl.DescBuilder{ 185 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 186 RawDescriptor: file_app_dispatcher_config_proto_rawDesc, 187 NumEnums: 0, 188 NumMessages: 2, 189 NumExtensions: 0, 190 NumServices: 0, 191 }, 192 GoTypes: file_app_dispatcher_config_proto_goTypes, 193 DependencyIndexes: file_app_dispatcher_config_proto_depIdxs, 194 MessageInfos: file_app_dispatcher_config_proto_msgTypes, 195 }.Build() 196 File_app_dispatcher_config_proto = out.File 197 file_app_dispatcher_config_proto_rawDesc = nil 198 file_app_dispatcher_config_proto_goTypes = nil 199 file_app_dispatcher_config_proto_depIdxs = nil 200 }