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