github.com/EagleQL/Xray-core@v1.4.3/transport/internet/kcp/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/internet/kcp/config.proto
     6  
     7  package kcp
     8  
     9  import (
    10  	proto "github.com/golang/protobuf/proto"
    11  	serial "github.com/xtls/xray-core/common/serial"
    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  // Maximum Transmission Unit, in bytes.
    30  type MTU struct {
    31  	state         protoimpl.MessageState
    32  	sizeCache     protoimpl.SizeCache
    33  	unknownFields protoimpl.UnknownFields
    34  
    35  	Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
    36  }
    37  
    38  func (x *MTU) Reset() {
    39  	*x = MTU{}
    40  	if protoimpl.UnsafeEnabled {
    41  		mi := &file_transport_internet_kcp_config_proto_msgTypes[0]
    42  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    43  		ms.StoreMessageInfo(mi)
    44  	}
    45  }
    46  
    47  func (x *MTU) String() string {
    48  	return protoimpl.X.MessageStringOf(x)
    49  }
    50  
    51  func (*MTU) ProtoMessage() {}
    52  
    53  func (x *MTU) ProtoReflect() protoreflect.Message {
    54  	mi := &file_transport_internet_kcp_config_proto_msgTypes[0]
    55  	if protoimpl.UnsafeEnabled && x != nil {
    56  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    57  		if ms.LoadMessageInfo() == nil {
    58  			ms.StoreMessageInfo(mi)
    59  		}
    60  		return ms
    61  	}
    62  	return mi.MessageOf(x)
    63  }
    64  
    65  // Deprecated: Use MTU.ProtoReflect.Descriptor instead.
    66  func (*MTU) Descriptor() ([]byte, []int) {
    67  	return file_transport_internet_kcp_config_proto_rawDescGZIP(), []int{0}
    68  }
    69  
    70  func (x *MTU) GetValue() uint32 {
    71  	if x != nil {
    72  		return x.Value
    73  	}
    74  	return 0
    75  }
    76  
    77  // Transmission Time Interview, in milli-sec.
    78  type TTI struct {
    79  	state         protoimpl.MessageState
    80  	sizeCache     protoimpl.SizeCache
    81  	unknownFields protoimpl.UnknownFields
    82  
    83  	Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
    84  }
    85  
    86  func (x *TTI) Reset() {
    87  	*x = TTI{}
    88  	if protoimpl.UnsafeEnabled {
    89  		mi := &file_transport_internet_kcp_config_proto_msgTypes[1]
    90  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    91  		ms.StoreMessageInfo(mi)
    92  	}
    93  }
    94  
    95  func (x *TTI) String() string {
    96  	return protoimpl.X.MessageStringOf(x)
    97  }
    98  
    99  func (*TTI) ProtoMessage() {}
   100  
   101  func (x *TTI) ProtoReflect() protoreflect.Message {
   102  	mi := &file_transport_internet_kcp_config_proto_msgTypes[1]
   103  	if protoimpl.UnsafeEnabled && x != nil {
   104  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   105  		if ms.LoadMessageInfo() == nil {
   106  			ms.StoreMessageInfo(mi)
   107  		}
   108  		return ms
   109  	}
   110  	return mi.MessageOf(x)
   111  }
   112  
   113  // Deprecated: Use TTI.ProtoReflect.Descriptor instead.
   114  func (*TTI) Descriptor() ([]byte, []int) {
   115  	return file_transport_internet_kcp_config_proto_rawDescGZIP(), []int{1}
   116  }
   117  
   118  func (x *TTI) GetValue() uint32 {
   119  	if x != nil {
   120  		return x.Value
   121  	}
   122  	return 0
   123  }
   124  
   125  // Uplink capacity, in MB.
   126  type UplinkCapacity struct {
   127  	state         protoimpl.MessageState
   128  	sizeCache     protoimpl.SizeCache
   129  	unknownFields protoimpl.UnknownFields
   130  
   131  	Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
   132  }
   133  
   134  func (x *UplinkCapacity) Reset() {
   135  	*x = UplinkCapacity{}
   136  	if protoimpl.UnsafeEnabled {
   137  		mi := &file_transport_internet_kcp_config_proto_msgTypes[2]
   138  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   139  		ms.StoreMessageInfo(mi)
   140  	}
   141  }
   142  
   143  func (x *UplinkCapacity) String() string {
   144  	return protoimpl.X.MessageStringOf(x)
   145  }
   146  
   147  func (*UplinkCapacity) ProtoMessage() {}
   148  
   149  func (x *UplinkCapacity) ProtoReflect() protoreflect.Message {
   150  	mi := &file_transport_internet_kcp_config_proto_msgTypes[2]
   151  	if protoimpl.UnsafeEnabled && x != nil {
   152  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   153  		if ms.LoadMessageInfo() == nil {
   154  			ms.StoreMessageInfo(mi)
   155  		}
   156  		return ms
   157  	}
   158  	return mi.MessageOf(x)
   159  }
   160  
   161  // Deprecated: Use UplinkCapacity.ProtoReflect.Descriptor instead.
   162  func (*UplinkCapacity) Descriptor() ([]byte, []int) {
   163  	return file_transport_internet_kcp_config_proto_rawDescGZIP(), []int{2}
   164  }
   165  
   166  func (x *UplinkCapacity) GetValue() uint32 {
   167  	if x != nil {
   168  		return x.Value
   169  	}
   170  	return 0
   171  }
   172  
   173  // Downlink capacity, in MB.
   174  type DownlinkCapacity struct {
   175  	state         protoimpl.MessageState
   176  	sizeCache     protoimpl.SizeCache
   177  	unknownFields protoimpl.UnknownFields
   178  
   179  	Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
   180  }
   181  
   182  func (x *DownlinkCapacity) Reset() {
   183  	*x = DownlinkCapacity{}
   184  	if protoimpl.UnsafeEnabled {
   185  		mi := &file_transport_internet_kcp_config_proto_msgTypes[3]
   186  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   187  		ms.StoreMessageInfo(mi)
   188  	}
   189  }
   190  
   191  func (x *DownlinkCapacity) String() string {
   192  	return protoimpl.X.MessageStringOf(x)
   193  }
   194  
   195  func (*DownlinkCapacity) ProtoMessage() {}
   196  
   197  func (x *DownlinkCapacity) ProtoReflect() protoreflect.Message {
   198  	mi := &file_transport_internet_kcp_config_proto_msgTypes[3]
   199  	if protoimpl.UnsafeEnabled && x != nil {
   200  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   201  		if ms.LoadMessageInfo() == nil {
   202  			ms.StoreMessageInfo(mi)
   203  		}
   204  		return ms
   205  	}
   206  	return mi.MessageOf(x)
   207  }
   208  
   209  // Deprecated: Use DownlinkCapacity.ProtoReflect.Descriptor instead.
   210  func (*DownlinkCapacity) Descriptor() ([]byte, []int) {
   211  	return file_transport_internet_kcp_config_proto_rawDescGZIP(), []int{3}
   212  }
   213  
   214  func (x *DownlinkCapacity) GetValue() uint32 {
   215  	if x != nil {
   216  		return x.Value
   217  	}
   218  	return 0
   219  }
   220  
   221  type WriteBuffer struct {
   222  	state         protoimpl.MessageState
   223  	sizeCache     protoimpl.SizeCache
   224  	unknownFields protoimpl.UnknownFields
   225  
   226  	// Buffer size in bytes.
   227  	Size uint32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
   228  }
   229  
   230  func (x *WriteBuffer) Reset() {
   231  	*x = WriteBuffer{}
   232  	if protoimpl.UnsafeEnabled {
   233  		mi := &file_transport_internet_kcp_config_proto_msgTypes[4]
   234  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   235  		ms.StoreMessageInfo(mi)
   236  	}
   237  }
   238  
   239  func (x *WriteBuffer) String() string {
   240  	return protoimpl.X.MessageStringOf(x)
   241  }
   242  
   243  func (*WriteBuffer) ProtoMessage() {}
   244  
   245  func (x *WriteBuffer) ProtoReflect() protoreflect.Message {
   246  	mi := &file_transport_internet_kcp_config_proto_msgTypes[4]
   247  	if protoimpl.UnsafeEnabled && x != nil {
   248  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   249  		if ms.LoadMessageInfo() == nil {
   250  			ms.StoreMessageInfo(mi)
   251  		}
   252  		return ms
   253  	}
   254  	return mi.MessageOf(x)
   255  }
   256  
   257  // Deprecated: Use WriteBuffer.ProtoReflect.Descriptor instead.
   258  func (*WriteBuffer) Descriptor() ([]byte, []int) {
   259  	return file_transport_internet_kcp_config_proto_rawDescGZIP(), []int{4}
   260  }
   261  
   262  func (x *WriteBuffer) GetSize() uint32 {
   263  	if x != nil {
   264  		return x.Size
   265  	}
   266  	return 0
   267  }
   268  
   269  type ReadBuffer struct {
   270  	state         protoimpl.MessageState
   271  	sizeCache     protoimpl.SizeCache
   272  	unknownFields protoimpl.UnknownFields
   273  
   274  	// Buffer size in bytes.
   275  	Size uint32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
   276  }
   277  
   278  func (x *ReadBuffer) Reset() {
   279  	*x = ReadBuffer{}
   280  	if protoimpl.UnsafeEnabled {
   281  		mi := &file_transport_internet_kcp_config_proto_msgTypes[5]
   282  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   283  		ms.StoreMessageInfo(mi)
   284  	}
   285  }
   286  
   287  func (x *ReadBuffer) String() string {
   288  	return protoimpl.X.MessageStringOf(x)
   289  }
   290  
   291  func (*ReadBuffer) ProtoMessage() {}
   292  
   293  func (x *ReadBuffer) ProtoReflect() protoreflect.Message {
   294  	mi := &file_transport_internet_kcp_config_proto_msgTypes[5]
   295  	if protoimpl.UnsafeEnabled && x != nil {
   296  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   297  		if ms.LoadMessageInfo() == nil {
   298  			ms.StoreMessageInfo(mi)
   299  		}
   300  		return ms
   301  	}
   302  	return mi.MessageOf(x)
   303  }
   304  
   305  // Deprecated: Use ReadBuffer.ProtoReflect.Descriptor instead.
   306  func (*ReadBuffer) Descriptor() ([]byte, []int) {
   307  	return file_transport_internet_kcp_config_proto_rawDescGZIP(), []int{5}
   308  }
   309  
   310  func (x *ReadBuffer) GetSize() uint32 {
   311  	if x != nil {
   312  		return x.Size
   313  	}
   314  	return 0
   315  }
   316  
   317  type ConnectionReuse struct {
   318  	state         protoimpl.MessageState
   319  	sizeCache     protoimpl.SizeCache
   320  	unknownFields protoimpl.UnknownFields
   321  
   322  	Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
   323  }
   324  
   325  func (x *ConnectionReuse) Reset() {
   326  	*x = ConnectionReuse{}
   327  	if protoimpl.UnsafeEnabled {
   328  		mi := &file_transport_internet_kcp_config_proto_msgTypes[6]
   329  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   330  		ms.StoreMessageInfo(mi)
   331  	}
   332  }
   333  
   334  func (x *ConnectionReuse) String() string {
   335  	return protoimpl.X.MessageStringOf(x)
   336  }
   337  
   338  func (*ConnectionReuse) ProtoMessage() {}
   339  
   340  func (x *ConnectionReuse) ProtoReflect() protoreflect.Message {
   341  	mi := &file_transport_internet_kcp_config_proto_msgTypes[6]
   342  	if protoimpl.UnsafeEnabled && x != nil {
   343  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   344  		if ms.LoadMessageInfo() == nil {
   345  			ms.StoreMessageInfo(mi)
   346  		}
   347  		return ms
   348  	}
   349  	return mi.MessageOf(x)
   350  }
   351  
   352  // Deprecated: Use ConnectionReuse.ProtoReflect.Descriptor instead.
   353  func (*ConnectionReuse) Descriptor() ([]byte, []int) {
   354  	return file_transport_internet_kcp_config_proto_rawDescGZIP(), []int{6}
   355  }
   356  
   357  func (x *ConnectionReuse) GetEnable() bool {
   358  	if x != nil {
   359  		return x.Enable
   360  	}
   361  	return false
   362  }
   363  
   364  // Maximum Transmission Unit, in bytes.
   365  type EncryptionSeed struct {
   366  	state         protoimpl.MessageState
   367  	sizeCache     protoimpl.SizeCache
   368  	unknownFields protoimpl.UnknownFields
   369  
   370  	Seed string `protobuf:"bytes,1,opt,name=seed,proto3" json:"seed,omitempty"`
   371  }
   372  
   373  func (x *EncryptionSeed) Reset() {
   374  	*x = EncryptionSeed{}
   375  	if protoimpl.UnsafeEnabled {
   376  		mi := &file_transport_internet_kcp_config_proto_msgTypes[7]
   377  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   378  		ms.StoreMessageInfo(mi)
   379  	}
   380  }
   381  
   382  func (x *EncryptionSeed) String() string {
   383  	return protoimpl.X.MessageStringOf(x)
   384  }
   385  
   386  func (*EncryptionSeed) ProtoMessage() {}
   387  
   388  func (x *EncryptionSeed) ProtoReflect() protoreflect.Message {
   389  	mi := &file_transport_internet_kcp_config_proto_msgTypes[7]
   390  	if protoimpl.UnsafeEnabled && x != nil {
   391  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   392  		if ms.LoadMessageInfo() == nil {
   393  			ms.StoreMessageInfo(mi)
   394  		}
   395  		return ms
   396  	}
   397  	return mi.MessageOf(x)
   398  }
   399  
   400  // Deprecated: Use EncryptionSeed.ProtoReflect.Descriptor instead.
   401  func (*EncryptionSeed) Descriptor() ([]byte, []int) {
   402  	return file_transport_internet_kcp_config_proto_rawDescGZIP(), []int{7}
   403  }
   404  
   405  func (x *EncryptionSeed) GetSeed() string {
   406  	if x != nil {
   407  		return x.Seed
   408  	}
   409  	return ""
   410  }
   411  
   412  type Config struct {
   413  	state         protoimpl.MessageState
   414  	sizeCache     protoimpl.SizeCache
   415  	unknownFields protoimpl.UnknownFields
   416  
   417  	Mtu              *MTU                 `protobuf:"bytes,1,opt,name=mtu,proto3" json:"mtu,omitempty"`
   418  	Tti              *TTI                 `protobuf:"bytes,2,opt,name=tti,proto3" json:"tti,omitempty"`
   419  	UplinkCapacity   *UplinkCapacity      `protobuf:"bytes,3,opt,name=uplink_capacity,json=uplinkCapacity,proto3" json:"uplink_capacity,omitempty"`
   420  	DownlinkCapacity *DownlinkCapacity    `protobuf:"bytes,4,opt,name=downlink_capacity,json=downlinkCapacity,proto3" json:"downlink_capacity,omitempty"`
   421  	Congestion       bool                 `protobuf:"varint,5,opt,name=congestion,proto3" json:"congestion,omitempty"`
   422  	WriteBuffer      *WriteBuffer         `protobuf:"bytes,6,opt,name=write_buffer,json=writeBuffer,proto3" json:"write_buffer,omitempty"`
   423  	ReadBuffer       *ReadBuffer          `protobuf:"bytes,7,opt,name=read_buffer,json=readBuffer,proto3" json:"read_buffer,omitempty"`
   424  	HeaderConfig     *serial.TypedMessage `protobuf:"bytes,8,opt,name=header_config,json=headerConfig,proto3" json:"header_config,omitempty"`
   425  	Seed             *EncryptionSeed      `protobuf:"bytes,10,opt,name=seed,proto3" json:"seed,omitempty"`
   426  }
   427  
   428  func (x *Config) Reset() {
   429  	*x = Config{}
   430  	if protoimpl.UnsafeEnabled {
   431  		mi := &file_transport_internet_kcp_config_proto_msgTypes[8]
   432  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   433  		ms.StoreMessageInfo(mi)
   434  	}
   435  }
   436  
   437  func (x *Config) String() string {
   438  	return protoimpl.X.MessageStringOf(x)
   439  }
   440  
   441  func (*Config) ProtoMessage() {}
   442  
   443  func (x *Config) ProtoReflect() protoreflect.Message {
   444  	mi := &file_transport_internet_kcp_config_proto_msgTypes[8]
   445  	if protoimpl.UnsafeEnabled && x != nil {
   446  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   447  		if ms.LoadMessageInfo() == nil {
   448  			ms.StoreMessageInfo(mi)
   449  		}
   450  		return ms
   451  	}
   452  	return mi.MessageOf(x)
   453  }
   454  
   455  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
   456  func (*Config) Descriptor() ([]byte, []int) {
   457  	return file_transport_internet_kcp_config_proto_rawDescGZIP(), []int{8}
   458  }
   459  
   460  func (x *Config) GetMtu() *MTU {
   461  	if x != nil {
   462  		return x.Mtu
   463  	}
   464  	return nil
   465  }
   466  
   467  func (x *Config) GetTti() *TTI {
   468  	if x != nil {
   469  		return x.Tti
   470  	}
   471  	return nil
   472  }
   473  
   474  func (x *Config) GetUplinkCapacity() *UplinkCapacity {
   475  	if x != nil {
   476  		return x.UplinkCapacity
   477  	}
   478  	return nil
   479  }
   480  
   481  func (x *Config) GetDownlinkCapacity() *DownlinkCapacity {
   482  	if x != nil {
   483  		return x.DownlinkCapacity
   484  	}
   485  	return nil
   486  }
   487  
   488  func (x *Config) GetCongestion() bool {
   489  	if x != nil {
   490  		return x.Congestion
   491  	}
   492  	return false
   493  }
   494  
   495  func (x *Config) GetWriteBuffer() *WriteBuffer {
   496  	if x != nil {
   497  		return x.WriteBuffer
   498  	}
   499  	return nil
   500  }
   501  
   502  func (x *Config) GetReadBuffer() *ReadBuffer {
   503  	if x != nil {
   504  		return x.ReadBuffer
   505  	}
   506  	return nil
   507  }
   508  
   509  func (x *Config) GetHeaderConfig() *serial.TypedMessage {
   510  	if x != nil {
   511  		return x.HeaderConfig
   512  	}
   513  	return nil
   514  }
   515  
   516  func (x *Config) GetSeed() *EncryptionSeed {
   517  	if x != nil {
   518  		return x.Seed
   519  	}
   520  	return nil
   521  }
   522  
   523  var File_transport_internet_kcp_config_proto protoreflect.FileDescriptor
   524  
   525  var file_transport_internet_kcp_config_proto_rawDesc = []byte{
   526  	0x0a, 0x23, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
   527  	0x72, 0x6e, 0x65, 0x74, 0x2f, 0x6b, 0x63, 0x70, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
   528  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e,
   529  	0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x6b,
   530  	0x63, 0x70, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x69, 0x61,
   531  	0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e,
   532  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1b, 0x0a, 0x03, 0x4d, 0x54, 0x55, 0x12, 0x14, 0x0a, 0x05,
   533  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c,
   534  	0x75, 0x65, 0x22, 0x1b, 0x0a, 0x03, 0x54, 0x54, 0x49, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
   535  	0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
   536  	0x26, 0x0a, 0x0e, 0x55, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74,
   537  	0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
   538  	0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x28, 0x0a, 0x10, 0x44, 0x6f, 0x77, 0x6e, 0x6c,
   539  	0x69, 0x6e, 0x6b, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
   540  	0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
   541  	0x65, 0x22, 0x21, 0x0a, 0x0b, 0x57, 0x72, 0x69, 0x74, 0x65, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72,
   542  	0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04,
   543  	0x73, 0x69, 0x7a, 0x65, 0x22, 0x20, 0x0a, 0x0a, 0x52, 0x65, 0x61, 0x64, 0x42, 0x75, 0x66, 0x66,
   544  	0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
   545  	0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x29, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
   546  	0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x75, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61,
   547  	0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c,
   548  	0x65, 0x22, 0x24, 0x0a, 0x0e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53,
   549  	0x65, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
   550  	0x09, 0x52, 0x04, 0x73, 0x65, 0x65, 0x64, 0x22, 0xe7, 0x04, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66,
   551  	0x69, 0x67, 0x12, 0x32, 0x0a, 0x03, 0x6d, 0x74, 0x75, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
   552  	0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
   553  	0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x6b, 0x63, 0x70, 0x2e, 0x4d, 0x54,
   554  	0x55, 0x52, 0x03, 0x6d, 0x74, 0x75, 0x12, 0x32, 0x0a, 0x03, 0x74, 0x74, 0x69, 0x18, 0x02, 0x20,
   555  	0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
   556  	0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x6b, 0x63,
   557  	0x70, 0x2e, 0x54, 0x54, 0x49, 0x52, 0x03, 0x74, 0x74, 0x69, 0x12, 0x54, 0x0a, 0x0f, 0x75, 0x70,
   558  	0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20,
   559  	0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
   560  	0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x6b, 0x63,
   561  	0x70, 0x2e, 0x55, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79,
   562  	0x52, 0x0e, 0x75, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79,
   563  	0x12, 0x5a, 0x0a, 0x11, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x63, 0x61, 0x70,
   564  	0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x78, 0x72,
   565  	0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74,
   566  	0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x6b, 0x63, 0x70, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x69,
   567  	0x6e, 0x6b, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x52, 0x10, 0x64, 0x6f, 0x77, 0x6e,
   568  	0x6c, 0x69, 0x6e, 0x6b, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x1e, 0x0a, 0x0a,
   569  	0x63, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
   570  	0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 0x0c,
   571  	0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01,
   572  	0x28, 0x0b, 0x32, 0x28, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
   573  	0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x6b, 0x63, 0x70,
   574  	0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x52, 0x0b, 0x77, 0x72,
   575  	0x69, 0x74, 0x65, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x12, 0x48, 0x0a, 0x0b, 0x72, 0x65, 0x61,
   576  	0x64, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27,
   577  	0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
   578  	0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x6b, 0x63, 0x70, 0x2e, 0x52, 0x65, 0x61,
   579  	0x64, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x52, 0x0a, 0x72, 0x65, 0x61, 0x64, 0x42, 0x75, 0x66,
   580  	0x66, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f,
   581  	0x6e, 0x66, 0x69, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61,
   582  	0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e,
   583  	0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0c, 0x68, 0x65,
   584  	0x61, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3f, 0x0a, 0x04, 0x73, 0x65,
   585  	0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e,
   586  	0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
   587  	0x65, 0x74, 0x2e, 0x6b, 0x63, 0x70, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f,
   588  	0x6e, 0x53, 0x65, 0x65, 0x64, 0x52, 0x04, 0x73, 0x65, 0x65, 0x64, 0x4a, 0x04, 0x08, 0x09, 0x10,
   589  	0x0a, 0x42, 0x73, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72,
   590  	0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74,
   591  	0x2e, 0x6b, 0x63, 0x70, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
   592  	0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72,
   593  	0x65, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
   594  	0x72, 0x6e, 0x65, 0x74, 0x2f, 0x6b, 0x63, 0x70, 0xaa, 0x02, 0x1b, 0x58, 0x72, 0x61, 0x79, 0x2e,
   595  	0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e,
   596  	0x65, 0x74, 0x2e, 0x4b, 0x63, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   597  }
   598  
   599  var (
   600  	file_transport_internet_kcp_config_proto_rawDescOnce sync.Once
   601  	file_transport_internet_kcp_config_proto_rawDescData = file_transport_internet_kcp_config_proto_rawDesc
   602  )
   603  
   604  func file_transport_internet_kcp_config_proto_rawDescGZIP() []byte {
   605  	file_transport_internet_kcp_config_proto_rawDescOnce.Do(func() {
   606  		file_transport_internet_kcp_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_kcp_config_proto_rawDescData)
   607  	})
   608  	return file_transport_internet_kcp_config_proto_rawDescData
   609  }
   610  
   611  var file_transport_internet_kcp_config_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
   612  var file_transport_internet_kcp_config_proto_goTypes = []interface{}{
   613  	(*MTU)(nil),                 // 0: xray.transport.internet.kcp.MTU
   614  	(*TTI)(nil),                 // 1: xray.transport.internet.kcp.TTI
   615  	(*UplinkCapacity)(nil),      // 2: xray.transport.internet.kcp.UplinkCapacity
   616  	(*DownlinkCapacity)(nil),    // 3: xray.transport.internet.kcp.DownlinkCapacity
   617  	(*WriteBuffer)(nil),         // 4: xray.transport.internet.kcp.WriteBuffer
   618  	(*ReadBuffer)(nil),          // 5: xray.transport.internet.kcp.ReadBuffer
   619  	(*ConnectionReuse)(nil),     // 6: xray.transport.internet.kcp.ConnectionReuse
   620  	(*EncryptionSeed)(nil),      // 7: xray.transport.internet.kcp.EncryptionSeed
   621  	(*Config)(nil),              // 8: xray.transport.internet.kcp.Config
   622  	(*serial.TypedMessage)(nil), // 9: xray.common.serial.TypedMessage
   623  }
   624  var file_transport_internet_kcp_config_proto_depIdxs = []int32{
   625  	0, // 0: xray.transport.internet.kcp.Config.mtu:type_name -> xray.transport.internet.kcp.MTU
   626  	1, // 1: xray.transport.internet.kcp.Config.tti:type_name -> xray.transport.internet.kcp.TTI
   627  	2, // 2: xray.transport.internet.kcp.Config.uplink_capacity:type_name -> xray.transport.internet.kcp.UplinkCapacity
   628  	3, // 3: xray.transport.internet.kcp.Config.downlink_capacity:type_name -> xray.transport.internet.kcp.DownlinkCapacity
   629  	4, // 4: xray.transport.internet.kcp.Config.write_buffer:type_name -> xray.transport.internet.kcp.WriteBuffer
   630  	5, // 5: xray.transport.internet.kcp.Config.read_buffer:type_name -> xray.transport.internet.kcp.ReadBuffer
   631  	9, // 6: xray.transport.internet.kcp.Config.header_config:type_name -> xray.common.serial.TypedMessage
   632  	7, // 7: xray.transport.internet.kcp.Config.seed:type_name -> xray.transport.internet.kcp.EncryptionSeed
   633  	8, // [8:8] is the sub-list for method output_type
   634  	8, // [8:8] is the sub-list for method input_type
   635  	8, // [8:8] is the sub-list for extension type_name
   636  	8, // [8:8] is the sub-list for extension extendee
   637  	0, // [0:8] is the sub-list for field type_name
   638  }
   639  
   640  func init() { file_transport_internet_kcp_config_proto_init() }
   641  func file_transport_internet_kcp_config_proto_init() {
   642  	if File_transport_internet_kcp_config_proto != nil {
   643  		return
   644  	}
   645  	if !protoimpl.UnsafeEnabled {
   646  		file_transport_internet_kcp_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   647  			switch v := v.(*MTU); i {
   648  			case 0:
   649  				return &v.state
   650  			case 1:
   651  				return &v.sizeCache
   652  			case 2:
   653  				return &v.unknownFields
   654  			default:
   655  				return nil
   656  			}
   657  		}
   658  		file_transport_internet_kcp_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   659  			switch v := v.(*TTI); i {
   660  			case 0:
   661  				return &v.state
   662  			case 1:
   663  				return &v.sizeCache
   664  			case 2:
   665  				return &v.unknownFields
   666  			default:
   667  				return nil
   668  			}
   669  		}
   670  		file_transport_internet_kcp_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   671  			switch v := v.(*UplinkCapacity); i {
   672  			case 0:
   673  				return &v.state
   674  			case 1:
   675  				return &v.sizeCache
   676  			case 2:
   677  				return &v.unknownFields
   678  			default:
   679  				return nil
   680  			}
   681  		}
   682  		file_transport_internet_kcp_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   683  			switch v := v.(*DownlinkCapacity); i {
   684  			case 0:
   685  				return &v.state
   686  			case 1:
   687  				return &v.sizeCache
   688  			case 2:
   689  				return &v.unknownFields
   690  			default:
   691  				return nil
   692  			}
   693  		}
   694  		file_transport_internet_kcp_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   695  			switch v := v.(*WriteBuffer); i {
   696  			case 0:
   697  				return &v.state
   698  			case 1:
   699  				return &v.sizeCache
   700  			case 2:
   701  				return &v.unknownFields
   702  			default:
   703  				return nil
   704  			}
   705  		}
   706  		file_transport_internet_kcp_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   707  			switch v := v.(*ReadBuffer); i {
   708  			case 0:
   709  				return &v.state
   710  			case 1:
   711  				return &v.sizeCache
   712  			case 2:
   713  				return &v.unknownFields
   714  			default:
   715  				return nil
   716  			}
   717  		}
   718  		file_transport_internet_kcp_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   719  			switch v := v.(*ConnectionReuse); i {
   720  			case 0:
   721  				return &v.state
   722  			case 1:
   723  				return &v.sizeCache
   724  			case 2:
   725  				return &v.unknownFields
   726  			default:
   727  				return nil
   728  			}
   729  		}
   730  		file_transport_internet_kcp_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
   731  			switch v := v.(*EncryptionSeed); i {
   732  			case 0:
   733  				return &v.state
   734  			case 1:
   735  				return &v.sizeCache
   736  			case 2:
   737  				return &v.unknownFields
   738  			default:
   739  				return nil
   740  			}
   741  		}
   742  		file_transport_internet_kcp_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
   743  			switch v := v.(*Config); i {
   744  			case 0:
   745  				return &v.state
   746  			case 1:
   747  				return &v.sizeCache
   748  			case 2:
   749  				return &v.unknownFields
   750  			default:
   751  				return nil
   752  			}
   753  		}
   754  	}
   755  	type x struct{}
   756  	out := protoimpl.TypeBuilder{
   757  		File: protoimpl.DescBuilder{
   758  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   759  			RawDescriptor: file_transport_internet_kcp_config_proto_rawDesc,
   760  			NumEnums:      0,
   761  			NumMessages:   9,
   762  			NumExtensions: 0,
   763  			NumServices:   0,
   764  		},
   765  		GoTypes:           file_transport_internet_kcp_config_proto_goTypes,
   766  		DependencyIndexes: file_transport_internet_kcp_config_proto_depIdxs,
   767  		MessageInfos:      file_transport_internet_kcp_config_proto_msgTypes,
   768  	}.Build()
   769  	File_transport_internet_kcp_config_proto = out.File
   770  	file_transport_internet_kcp_config_proto_rawDesc = nil
   771  	file_transport_internet_kcp_config_proto_goTypes = nil
   772  	file_transport_internet_kcp_config_proto_depIdxs = nil
   773  }