github.com/v2fly/v2ray-core/v4@v4.45.2/transport/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/config.proto
     6  
     7  package transport
     8  
     9  import (
    10  	internet "github.com/v2fly/v2ray-core/v4/transport/internet"
    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  // Global transport settings. This affects all type of connections that go
    25  // through V2Ray. Deprecated. Use each settings in StreamConfig.
    26  //
    27  // Deprecated: Do not use.
    28  type Config struct {
    29  	state         protoimpl.MessageState
    30  	sizeCache     protoimpl.SizeCache
    31  	unknownFields protoimpl.UnknownFields
    32  
    33  	TransportSettings []*internet.TransportConfig `protobuf:"bytes,1,rep,name=transport_settings,json=transportSettings,proto3" json:"transport_settings,omitempty"`
    34  }
    35  
    36  func (x *Config) Reset() {
    37  	*x = Config{}
    38  	if protoimpl.UnsafeEnabled {
    39  		mi := &file_transport_config_proto_msgTypes[0]
    40  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    41  		ms.StoreMessageInfo(mi)
    42  	}
    43  }
    44  
    45  func (x *Config) String() string {
    46  	return protoimpl.X.MessageStringOf(x)
    47  }
    48  
    49  func (*Config) ProtoMessage() {}
    50  
    51  func (x *Config) ProtoReflect() protoreflect.Message {
    52  	mi := &file_transport_config_proto_msgTypes[0]
    53  	if protoimpl.UnsafeEnabled && x != nil {
    54  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    55  		if ms.LoadMessageInfo() == nil {
    56  			ms.StoreMessageInfo(mi)
    57  		}
    58  		return ms
    59  	}
    60  	return mi.MessageOf(x)
    61  }
    62  
    63  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
    64  func (*Config) Descriptor() ([]byte, []int) {
    65  	return file_transport_config_proto_rawDescGZIP(), []int{0}
    66  }
    67  
    68  func (x *Config) GetTransportSettings() []*internet.TransportConfig {
    69  	if x != nil {
    70  		return x.TransportSettings
    71  	}
    72  	return nil
    73  }
    74  
    75  var File_transport_config_proto protoreflect.FileDescriptor
    76  
    77  var file_transport_config_proto_rawDesc = []byte{
    78  	0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66,
    79  	0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
    80  	0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x1a, 0x1f,
    81  	0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
    82  	0x65, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
    83  	0x6b, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5d, 0x0a, 0x12, 0x74, 0x72, 0x61,
    84  	0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18,
    85  	0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
    86  	0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74,
    87  	0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x43,
    88  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
    89  	0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x3a, 0x02, 0x18, 0x01, 0x42, 0x5d, 0x0a, 0x18,
    90  	0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74,
    91  	0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x01, 0x5a, 0x28, 0x67, 0x69, 0x74, 0x68,
    92  	0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72,
    93  	0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73,
    94  	0x70, 0x6f, 0x72, 0x74, 0xaa, 0x02, 0x14, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72,
    95  	0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f,
    96  	0x74, 0x6f, 0x33,
    97  }
    98  
    99  var (
   100  	file_transport_config_proto_rawDescOnce sync.Once
   101  	file_transport_config_proto_rawDescData = file_transport_config_proto_rawDesc
   102  )
   103  
   104  func file_transport_config_proto_rawDescGZIP() []byte {
   105  	file_transport_config_proto_rawDescOnce.Do(func() {
   106  		file_transport_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_config_proto_rawDescData)
   107  	})
   108  	return file_transport_config_proto_rawDescData
   109  }
   110  
   111  var file_transport_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   112  var file_transport_config_proto_goTypes = []interface{}{
   113  	(*Config)(nil),                   // 0: v2ray.core.transport.Config
   114  	(*internet.TransportConfig)(nil), // 1: v2ray.core.transport.internet.TransportConfig
   115  }
   116  var file_transport_config_proto_depIdxs = []int32{
   117  	1, // 0: v2ray.core.transport.Config.transport_settings:type_name -> v2ray.core.transport.internet.TransportConfig
   118  	1, // [1:1] is the sub-list for method output_type
   119  	1, // [1:1] is the sub-list for method input_type
   120  	1, // [1:1] is the sub-list for extension type_name
   121  	1, // [1:1] is the sub-list for extension extendee
   122  	0, // [0:1] is the sub-list for field type_name
   123  }
   124  
   125  func init() { file_transport_config_proto_init() }
   126  func file_transport_config_proto_init() {
   127  	if File_transport_config_proto != nil {
   128  		return
   129  	}
   130  	if !protoimpl.UnsafeEnabled {
   131  		file_transport_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   132  			switch v := v.(*Config); i {
   133  			case 0:
   134  				return &v.state
   135  			case 1:
   136  				return &v.sizeCache
   137  			case 2:
   138  				return &v.unknownFields
   139  			default:
   140  				return nil
   141  			}
   142  		}
   143  	}
   144  	type x struct{}
   145  	out := protoimpl.TypeBuilder{
   146  		File: protoimpl.DescBuilder{
   147  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   148  			RawDescriptor: file_transport_config_proto_rawDesc,
   149  			NumEnums:      0,
   150  			NumMessages:   1,
   151  			NumExtensions: 0,
   152  			NumServices:   0,
   153  		},
   154  		GoTypes:           file_transport_config_proto_goTypes,
   155  		DependencyIndexes: file_transport_config_proto_depIdxs,
   156  		MessageInfos:      file_transport_config_proto_msgTypes,
   157  	}.Build()
   158  	File_transport_config_proto = out.File
   159  	file_transport_config_proto_rawDesc = nil
   160  	file_transport_config_proto_goTypes = nil
   161  	file_transport_config_proto_depIdxs = nil
   162  }