github.com/imannamdari/v2ray-core/v5@v5.0.5/transport/internet/kcp/config.pb.go (about)

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