github.com/v2fly/v2ray-core/v4@v4.45.2/app/browserforwarder/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/browserforwarder/config.proto 6 7 package browserforwarder 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 // Config is the settings for BrowserForwarder. 24 type Config struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 ListenAddr string `protobuf:"bytes,1,opt,name=listen_addr,json=listenAddr,proto3" json:"listen_addr,omitempty"` 30 ListenPort int32 `protobuf:"varint,2,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"` 31 } 32 33 func (x *Config) Reset() { 34 *x = Config{} 35 if protoimpl.UnsafeEnabled { 36 mi := &file_app_browserforwarder_config_proto_msgTypes[0] 37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 38 ms.StoreMessageInfo(mi) 39 } 40 } 41 42 func (x *Config) String() string { 43 return protoimpl.X.MessageStringOf(x) 44 } 45 46 func (*Config) ProtoMessage() {} 47 48 func (x *Config) ProtoReflect() protoreflect.Message { 49 mi := &file_app_browserforwarder_config_proto_msgTypes[0] 50 if protoimpl.UnsafeEnabled && x != nil { 51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 52 if ms.LoadMessageInfo() == nil { 53 ms.StoreMessageInfo(mi) 54 } 55 return ms 56 } 57 return mi.MessageOf(x) 58 } 59 60 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 61 func (*Config) Descriptor() ([]byte, []int) { 62 return file_app_browserforwarder_config_proto_rawDescGZIP(), []int{0} 63 } 64 65 func (x *Config) GetListenAddr() string { 66 if x != nil { 67 return x.ListenAddr 68 } 69 return "" 70 } 71 72 func (x *Config) GetListenPort() int32 { 73 if x != nil { 74 return x.ListenPort 75 } 76 return 0 77 } 78 79 var File_app_browserforwarder_config_proto protoreflect.FileDescriptor 80 81 var file_app_browserforwarder_config_proto_rawDesc = []byte{ 82 0x0a, 0x21, 0x61, 0x70, 0x70, 0x2f, 0x62, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x66, 0x6f, 0x72, 83 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 84 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 85 0x61, 0x70, 0x70, 0x2e, 0x62, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x77, 0x61, 86 0x72, 0x64, 0x65, 0x72, 0x22, 0x4a, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1f, 87 0x0a, 0x0b, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 88 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x12, 89 0x1f, 0x0a, 0x0b, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 90 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 91 0x42, 0x7e, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 92 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x62, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x66, 0x6f, 93 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 94 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 95 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x62, 0x72, 96 0x6f, 0x77, 0x73, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 0xaa, 0x02, 97 0x1f, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 98 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x72, 99 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 100 } 101 102 var ( 103 file_app_browserforwarder_config_proto_rawDescOnce sync.Once 104 file_app_browserforwarder_config_proto_rawDescData = file_app_browserforwarder_config_proto_rawDesc 105 ) 106 107 func file_app_browserforwarder_config_proto_rawDescGZIP() []byte { 108 file_app_browserforwarder_config_proto_rawDescOnce.Do(func() { 109 file_app_browserforwarder_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_browserforwarder_config_proto_rawDescData) 110 }) 111 return file_app_browserforwarder_config_proto_rawDescData 112 } 113 114 var file_app_browserforwarder_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 115 var file_app_browserforwarder_config_proto_goTypes = []interface{}{ 116 (*Config)(nil), // 0: v2ray.core.app.browserforwarder.Config 117 } 118 var file_app_browserforwarder_config_proto_depIdxs = []int32{ 119 0, // [0:0] is the sub-list for method output_type 120 0, // [0:0] is the sub-list for method input_type 121 0, // [0:0] is the sub-list for extension type_name 122 0, // [0:0] is the sub-list for extension extendee 123 0, // [0:0] is the sub-list for field type_name 124 } 125 126 func init() { file_app_browserforwarder_config_proto_init() } 127 func file_app_browserforwarder_config_proto_init() { 128 if File_app_browserforwarder_config_proto != nil { 129 return 130 } 131 if !protoimpl.UnsafeEnabled { 132 file_app_browserforwarder_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_app_browserforwarder_config_proto_rawDesc, 150 NumEnums: 0, 151 NumMessages: 1, 152 NumExtensions: 0, 153 NumServices: 0, 154 }, 155 GoTypes: file_app_browserforwarder_config_proto_goTypes, 156 DependencyIndexes: file_app_browserforwarder_config_proto_depIdxs, 157 MessageInfos: file_app_browserforwarder_config_proto_msgTypes, 158 }.Build() 159 File_app_browserforwarder_config_proto = out.File 160 file_app_browserforwarder_config_proto_rawDesc = nil 161 file_app_browserforwarder_config_proto_goTypes = nil 162 file_app_browserforwarder_config_proto_depIdxs = nil 163 }