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