github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/transport/internet/domainsocket/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: transport/internet/domainsocket/config.proto 6 7 package domainsocket 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 Config struct { 29 state protoimpl.MessageState 30 sizeCache protoimpl.SizeCache 31 unknownFields protoimpl.UnknownFields 32 33 // Path of the domain socket. This overrides the IP/Port parameter from 34 // upstream caller. 35 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 36 // Abstract speicifies whether to use abstract namespace or not. 37 // Traditionally Unix domain socket is file system based. Abstract domain 38 // socket can be used without acquiring file lock. 39 Abstract bool `protobuf:"varint,2,opt,name=abstract,proto3" json:"abstract,omitempty"` 40 // Some apps, eg. haproxy, use the full length of sockaddr_un.sun_path to 41 // connect(2) or bind(2) when using abstract UDS. 42 Padding bool `protobuf:"varint,3,opt,name=padding,proto3" json:"padding,omitempty"` 43 AcceptProxyProtocol bool `protobuf:"varint,4,opt,name=acceptProxyProtocol,proto3" json:"acceptProxyProtocol,omitempty"` 44 } 45 46 func (x *Config) Reset() { 47 *x = Config{} 48 if protoimpl.UnsafeEnabled { 49 mi := &file_transport_internet_domainsocket_config_proto_msgTypes[0] 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 ms.StoreMessageInfo(mi) 52 } 53 } 54 55 func (x *Config) String() string { 56 return protoimpl.X.MessageStringOf(x) 57 } 58 59 func (*Config) ProtoMessage() {} 60 61 func (x *Config) ProtoReflect() protoreflect.Message { 62 mi := &file_transport_internet_domainsocket_config_proto_msgTypes[0] 63 if protoimpl.UnsafeEnabled && x != nil { 64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 65 if ms.LoadMessageInfo() == nil { 66 ms.StoreMessageInfo(mi) 67 } 68 return ms 69 } 70 return mi.MessageOf(x) 71 } 72 73 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 74 func (*Config) Descriptor() ([]byte, []int) { 75 return file_transport_internet_domainsocket_config_proto_rawDescGZIP(), []int{0} 76 } 77 78 func (x *Config) GetPath() string { 79 if x != nil { 80 return x.Path 81 } 82 return "" 83 } 84 85 func (x *Config) GetAbstract() bool { 86 if x != nil { 87 return x.Abstract 88 } 89 return false 90 } 91 92 func (x *Config) GetPadding() bool { 93 if x != nil { 94 return x.Padding 95 } 96 return false 97 } 98 99 func (x *Config) GetAcceptProxyProtocol() bool { 100 if x != nil { 101 return x.AcceptProxyProtocol 102 } 103 return false 104 } 105 106 var File_transport_internet_domainsocket_config_proto protoreflect.FileDescriptor 107 108 var file_transport_internet_domainsocket_config_proto_rawDesc = []byte{ 109 0x0a, 0x2c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 110 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x6f, 0x63, 0x6b, 0x65, 111 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a, 112 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 113 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x64, 0x6f, 114 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x22, 0x84, 0x01, 0x0a, 0x06, 0x43, 115 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 116 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x62, 0x73, 117 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x62, 0x73, 118 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 119 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x12, 120 0x30, 0x0a, 0x13, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 121 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x63, 122 0x63, 0x65, 0x70, 0x74, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 123 0x6c, 0x42, 0x8f, 0x01, 0x0a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 124 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 125 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x6f, 126 0x63, 0x6b, 0x65, 0x74, 0x50, 0x01, 0x5a, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 127 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 128 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 129 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0xaa, 0x02, 0x2a, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 130 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 131 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x6f, 0x63, 132 0x6b, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 133 } 134 135 var ( 136 file_transport_internet_domainsocket_config_proto_rawDescOnce sync.Once 137 file_transport_internet_domainsocket_config_proto_rawDescData = file_transport_internet_domainsocket_config_proto_rawDesc 138 ) 139 140 func file_transport_internet_domainsocket_config_proto_rawDescGZIP() []byte { 141 file_transport_internet_domainsocket_config_proto_rawDescOnce.Do(func() { 142 file_transport_internet_domainsocket_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_domainsocket_config_proto_rawDescData) 143 }) 144 return file_transport_internet_domainsocket_config_proto_rawDescData 145 } 146 147 var file_transport_internet_domainsocket_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 148 var file_transport_internet_domainsocket_config_proto_goTypes = []interface{}{ 149 (*Config)(nil), // 0: v2ray.core.transport.internet.domainsocket.Config 150 } 151 var file_transport_internet_domainsocket_config_proto_depIdxs = []int32{ 152 0, // [0:0] is the sub-list for method output_type 153 0, // [0:0] is the sub-list for method input_type 154 0, // [0:0] is the sub-list for extension type_name 155 0, // [0:0] is the sub-list for extension extendee 156 0, // [0:0] is the sub-list for field type_name 157 } 158 159 func init() { file_transport_internet_domainsocket_config_proto_init() } 160 func file_transport_internet_domainsocket_config_proto_init() { 161 if File_transport_internet_domainsocket_config_proto != nil { 162 return 163 } 164 if !protoimpl.UnsafeEnabled { 165 file_transport_internet_domainsocket_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 166 switch v := v.(*Config); i { 167 case 0: 168 return &v.state 169 case 1: 170 return &v.sizeCache 171 case 2: 172 return &v.unknownFields 173 default: 174 return nil 175 } 176 } 177 } 178 type x struct{} 179 out := protoimpl.TypeBuilder{ 180 File: protoimpl.DescBuilder{ 181 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 182 RawDescriptor: file_transport_internet_domainsocket_config_proto_rawDesc, 183 NumEnums: 0, 184 NumMessages: 1, 185 NumExtensions: 0, 186 NumServices: 0, 187 }, 188 GoTypes: file_transport_internet_domainsocket_config_proto_goTypes, 189 DependencyIndexes: file_transport_internet_domainsocket_config_proto_depIdxs, 190 MessageInfos: file_transport_internet_domainsocket_config_proto_msgTypes, 191 }.Build() 192 File_transport_internet_domainsocket_config_proto = out.File 193 file_transport_internet_domainsocket_config_proto_rawDesc = nil 194 file_transport_internet_domainsocket_config_proto_goTypes = nil 195 file_transport_internet_domainsocket_config_proto_depIdxs = nil 196 }