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