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