github.com/imannamdari/v2ray-core/v5@v5.0.5/config.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc v3.17.3 5 // source: config.proto 6 7 package core 8 9 import ( 10 transport "github.com/imannamdari/v2ray-core/v5/transport" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 anypb "google.golang.org/protobuf/types/known/anypb" 14 reflect "reflect" 15 sync "sync" 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 // Config is the master config of V2Ray. V2Ray takes this config as input and 26 // functions accordingly. 27 type Config struct { 28 state protoimpl.MessageState 29 sizeCache protoimpl.SizeCache 30 unknownFields protoimpl.UnknownFields 31 32 // Inbound handler configurations. Must have at least one item. 33 Inbound []*InboundHandlerConfig `protobuf:"bytes,1,rep,name=inbound,proto3" json:"inbound,omitempty"` 34 // Outbound handler configurations. Must have at least one item. The first 35 // item is used as default for routing. 36 Outbound []*OutboundHandlerConfig `protobuf:"bytes,2,rep,name=outbound,proto3" json:"outbound,omitempty"` 37 // App is for configurations of all features in V2Ray. A feature must 38 // implement the Feature interface, and its config type must be registered 39 // through common.RegisterConfig. 40 App []*anypb.Any `protobuf:"bytes,4,rep,name=app,proto3" json:"app,omitempty"` 41 // Transport settings. 42 // Deprecated. Each inbound and outbound should choose their own transport 43 // config. Date to remove: 2020-01-13 44 // 45 // Deprecated: Do not use. 46 Transport *transport.Config `protobuf:"bytes,5,opt,name=transport,proto3" json:"transport,omitempty"` 47 // Configuration for extensions. The config may not work if corresponding 48 // extension is not loaded into V2Ray. V2Ray will ignore such config during 49 // initialization. 50 Extension []*anypb.Any `protobuf:"bytes,6,rep,name=extension,proto3" json:"extension,omitempty"` 51 } 52 53 func (x *Config) Reset() { 54 *x = Config{} 55 if protoimpl.UnsafeEnabled { 56 mi := &file_config_proto_msgTypes[0] 57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 58 ms.StoreMessageInfo(mi) 59 } 60 } 61 62 func (x *Config) String() string { 63 return protoimpl.X.MessageStringOf(x) 64 } 65 66 func (*Config) ProtoMessage() {} 67 68 func (x *Config) ProtoReflect() protoreflect.Message { 69 mi := &file_config_proto_msgTypes[0] 70 if protoimpl.UnsafeEnabled && x != nil { 71 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 72 if ms.LoadMessageInfo() == nil { 73 ms.StoreMessageInfo(mi) 74 } 75 return ms 76 } 77 return mi.MessageOf(x) 78 } 79 80 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 81 func (*Config) Descriptor() ([]byte, []int) { 82 return file_config_proto_rawDescGZIP(), []int{0} 83 } 84 85 func (x *Config) GetInbound() []*InboundHandlerConfig { 86 if x != nil { 87 return x.Inbound 88 } 89 return nil 90 } 91 92 func (x *Config) GetOutbound() []*OutboundHandlerConfig { 93 if x != nil { 94 return x.Outbound 95 } 96 return nil 97 } 98 99 func (x *Config) GetApp() []*anypb.Any { 100 if x != nil { 101 return x.App 102 } 103 return nil 104 } 105 106 // Deprecated: Do not use. 107 func (x *Config) GetTransport() *transport.Config { 108 if x != nil { 109 return x.Transport 110 } 111 return nil 112 } 113 114 func (x *Config) GetExtension() []*anypb.Any { 115 if x != nil { 116 return x.Extension 117 } 118 return nil 119 } 120 121 // InboundHandlerConfig is the configuration for inbound handler. 122 type InboundHandlerConfig struct { 123 state protoimpl.MessageState 124 sizeCache protoimpl.SizeCache 125 unknownFields protoimpl.UnknownFields 126 127 // Tag of the inbound handler. The tag must be unique among all inbound 128 // handlers 129 Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` 130 // Settings for how this inbound proxy is handled. 131 ReceiverSettings *anypb.Any `protobuf:"bytes,2,opt,name=receiver_settings,json=receiverSettings,proto3" json:"receiver_settings,omitempty"` 132 // Settings for inbound proxy. Must be one of the inbound proxies. 133 ProxySettings *anypb.Any `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"` 134 } 135 136 func (x *InboundHandlerConfig) Reset() { 137 *x = InboundHandlerConfig{} 138 if protoimpl.UnsafeEnabled { 139 mi := &file_config_proto_msgTypes[1] 140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 141 ms.StoreMessageInfo(mi) 142 } 143 } 144 145 func (x *InboundHandlerConfig) String() string { 146 return protoimpl.X.MessageStringOf(x) 147 } 148 149 func (*InboundHandlerConfig) ProtoMessage() {} 150 151 func (x *InboundHandlerConfig) ProtoReflect() protoreflect.Message { 152 mi := &file_config_proto_msgTypes[1] 153 if protoimpl.UnsafeEnabled && x != nil { 154 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 155 if ms.LoadMessageInfo() == nil { 156 ms.StoreMessageInfo(mi) 157 } 158 return ms 159 } 160 return mi.MessageOf(x) 161 } 162 163 // Deprecated: Use InboundHandlerConfig.ProtoReflect.Descriptor instead. 164 func (*InboundHandlerConfig) Descriptor() ([]byte, []int) { 165 return file_config_proto_rawDescGZIP(), []int{1} 166 } 167 168 func (x *InboundHandlerConfig) GetTag() string { 169 if x != nil { 170 return x.Tag 171 } 172 return "" 173 } 174 175 func (x *InboundHandlerConfig) GetReceiverSettings() *anypb.Any { 176 if x != nil { 177 return x.ReceiverSettings 178 } 179 return nil 180 } 181 182 func (x *InboundHandlerConfig) GetProxySettings() *anypb.Any { 183 if x != nil { 184 return x.ProxySettings 185 } 186 return nil 187 } 188 189 // OutboundHandlerConfig is the configuration for outbound handler. 190 type OutboundHandlerConfig struct { 191 state protoimpl.MessageState 192 sizeCache protoimpl.SizeCache 193 unknownFields protoimpl.UnknownFields 194 195 // Tag of this outbound handler. 196 Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` 197 // Settings for how to dial connection for this outbound handler. 198 SenderSettings *anypb.Any `protobuf:"bytes,2,opt,name=sender_settings,json=senderSettings,proto3" json:"sender_settings,omitempty"` 199 // Settings for this outbound proxy. Must be one of the outbound proxies. 200 ProxySettings *anypb.Any `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"` 201 // If not zero, this outbound will be expired in seconds. Not used for now. 202 Expire int64 `protobuf:"varint,4,opt,name=expire,proto3" json:"expire,omitempty"` 203 // Comment of this outbound handler. Not used for now. 204 Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"` 205 } 206 207 func (x *OutboundHandlerConfig) Reset() { 208 *x = OutboundHandlerConfig{} 209 if protoimpl.UnsafeEnabled { 210 mi := &file_config_proto_msgTypes[2] 211 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 212 ms.StoreMessageInfo(mi) 213 } 214 } 215 216 func (x *OutboundHandlerConfig) String() string { 217 return protoimpl.X.MessageStringOf(x) 218 } 219 220 func (*OutboundHandlerConfig) ProtoMessage() {} 221 222 func (x *OutboundHandlerConfig) ProtoReflect() protoreflect.Message { 223 mi := &file_config_proto_msgTypes[2] 224 if protoimpl.UnsafeEnabled && x != nil { 225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 226 if ms.LoadMessageInfo() == nil { 227 ms.StoreMessageInfo(mi) 228 } 229 return ms 230 } 231 return mi.MessageOf(x) 232 } 233 234 // Deprecated: Use OutboundHandlerConfig.ProtoReflect.Descriptor instead. 235 func (*OutboundHandlerConfig) Descriptor() ([]byte, []int) { 236 return file_config_proto_rawDescGZIP(), []int{2} 237 } 238 239 func (x *OutboundHandlerConfig) GetTag() string { 240 if x != nil { 241 return x.Tag 242 } 243 return "" 244 } 245 246 func (x *OutboundHandlerConfig) GetSenderSettings() *anypb.Any { 247 if x != nil { 248 return x.SenderSettings 249 } 250 return nil 251 } 252 253 func (x *OutboundHandlerConfig) GetProxySettings() *anypb.Any { 254 if x != nil { 255 return x.ProxySettings 256 } 257 return nil 258 } 259 260 func (x *OutboundHandlerConfig) GetExpire() int64 { 261 if x != nil { 262 return x.Expire 263 } 264 return 0 265 } 266 267 func (x *OutboundHandlerConfig) GetComment() string { 268 if x != nil { 269 return x.Comment 270 } 271 return "" 272 } 273 274 var File_config_proto protoreflect.FileDescriptor 275 276 var file_config_proto_rawDesc = []byte{ 277 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 278 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 279 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 280 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 281 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x02, 282 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x07, 0x69, 0x6e, 0x62, 0x6f, 283 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x76, 0x32, 0x72, 0x61, 284 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 285 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x07, 0x69, 0x6e, 0x62, 286 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x3d, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 287 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 288 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 0x64, 289 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x62, 0x6f, 290 0x75, 0x6e, 0x64, 0x12, 0x26, 0x0a, 0x03, 0x61, 0x70, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 291 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 292 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x03, 0x61, 0x70, 0x70, 0x12, 0x3e, 0x0a, 0x09, 0x74, 293 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 294 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 295 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x02, 0x18, 0x01, 296 0x52, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x32, 0x0a, 0x09, 0x65, 297 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 298 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 299 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4a, 300 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xa8, 0x01, 0x0a, 0x14, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 301 0x64, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 302 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 303 0x12, 0x41, 0x0a, 0x11, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 304 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 305 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 306 0x79, 0x52, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 307 0x6e, 0x67, 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 308 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 309 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 310 0x79, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 311 0x22, 0xd7, 0x01, 0x0a, 0x15, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 312 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 313 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x3d, 0x0a, 0x0f, 314 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 315 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 316 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0e, 0x73, 0x65, 0x6e, 317 0x64, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x70, 318 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 319 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 320 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 321 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x69, 322 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 323 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 324 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x44, 0x0a, 0x0e, 0x63, 0x6f, 325 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x50, 0x01, 0x5a, 0x23, 326 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 327 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x3b, 0x63, 328 0x6f, 0x72, 0x65, 0xaa, 0x02, 0x0a, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 329 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 330 } 331 332 var ( 333 file_config_proto_rawDescOnce sync.Once 334 file_config_proto_rawDescData = file_config_proto_rawDesc 335 ) 336 337 func file_config_proto_rawDescGZIP() []byte { 338 file_config_proto_rawDescOnce.Do(func() { 339 file_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_config_proto_rawDescData) 340 }) 341 return file_config_proto_rawDescData 342 } 343 344 var file_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 345 var file_config_proto_goTypes = []interface{}{ 346 (*Config)(nil), // 0: v2ray.core.Config 347 (*InboundHandlerConfig)(nil), // 1: v2ray.core.InboundHandlerConfig 348 (*OutboundHandlerConfig)(nil), // 2: v2ray.core.OutboundHandlerConfig 349 (*anypb.Any)(nil), // 3: google.protobuf.Any 350 (*transport.Config)(nil), // 4: v2ray.core.transport.Config 351 } 352 var file_config_proto_depIdxs = []int32{ 353 1, // 0: v2ray.core.Config.inbound:type_name -> v2ray.core.InboundHandlerConfig 354 2, // 1: v2ray.core.Config.outbound:type_name -> v2ray.core.OutboundHandlerConfig 355 3, // 2: v2ray.core.Config.app:type_name -> google.protobuf.Any 356 4, // 3: v2ray.core.Config.transport:type_name -> v2ray.core.transport.Config 357 3, // 4: v2ray.core.Config.extension:type_name -> google.protobuf.Any 358 3, // 5: v2ray.core.InboundHandlerConfig.receiver_settings:type_name -> google.protobuf.Any 359 3, // 6: v2ray.core.InboundHandlerConfig.proxy_settings:type_name -> google.protobuf.Any 360 3, // 7: v2ray.core.OutboundHandlerConfig.sender_settings:type_name -> google.protobuf.Any 361 3, // 8: v2ray.core.OutboundHandlerConfig.proxy_settings:type_name -> google.protobuf.Any 362 9, // [9:9] is the sub-list for method output_type 363 9, // [9:9] is the sub-list for method input_type 364 9, // [9:9] is the sub-list for extension type_name 365 9, // [9:9] is the sub-list for extension extendee 366 0, // [0:9] is the sub-list for field type_name 367 } 368 369 func init() { file_config_proto_init() } 370 func file_config_proto_init() { 371 if File_config_proto != nil { 372 return 373 } 374 if !protoimpl.UnsafeEnabled { 375 file_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 376 switch v := v.(*Config); i { 377 case 0: 378 return &v.state 379 case 1: 380 return &v.sizeCache 381 case 2: 382 return &v.unknownFields 383 default: 384 return nil 385 } 386 } 387 file_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 388 switch v := v.(*InboundHandlerConfig); i { 389 case 0: 390 return &v.state 391 case 1: 392 return &v.sizeCache 393 case 2: 394 return &v.unknownFields 395 default: 396 return nil 397 } 398 } 399 file_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 400 switch v := v.(*OutboundHandlerConfig); i { 401 case 0: 402 return &v.state 403 case 1: 404 return &v.sizeCache 405 case 2: 406 return &v.unknownFields 407 default: 408 return nil 409 } 410 } 411 } 412 type x struct{} 413 out := protoimpl.TypeBuilder{ 414 File: protoimpl.DescBuilder{ 415 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 416 RawDescriptor: file_config_proto_rawDesc, 417 NumEnums: 0, 418 NumMessages: 3, 419 NumExtensions: 0, 420 NumServices: 0, 421 }, 422 GoTypes: file_config_proto_goTypes, 423 DependencyIndexes: file_config_proto_depIdxs, 424 MessageInfos: file_config_proto_msgTypes, 425 }.Build() 426 File_config_proto = out.File 427 file_config_proto_rawDesc = nil 428 file_config_proto_goTypes = nil 429 file_config_proto_depIdxs = nil 430 }