github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/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.13.0
     5  // source: transport/internet/kcp/config.proto
     6  
     7  package kcp
     8  
     9  import (
    10  	proto "github.com/golang/protobuf/proto"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  	serial "v2ray.com/core/common/serial"
    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, 0x21, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
   529  	0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65,
   530  	0x72, 0x6e, 0x65, 0x74, 0x2e, 0x6b, 0x63, 0x70, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
   531  	0x2f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65,
   532  	0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1b, 0x0a, 0x03, 0x4d,
   533  	0x54, 0x55, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
   534  	0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x1b, 0x0a, 0x03, 0x54, 0x54, 0x49, 0x12,
   535  	0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05,
   536  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x26, 0x0a, 0x0e, 0x55, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x43,
   537  	0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
   538  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x28, 0x0a,
   539  	0x10, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74,
   540  	0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
   541  	0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x21, 0x0a, 0x0b, 0x57, 0x72, 0x69, 0x74, 0x65,
   542  	0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01,
   543  	0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x20, 0x0a, 0x0a, 0x52, 0x65,
   544  	0x61, 0x64, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65,
   545  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x29, 0x0a, 0x0f,
   546  	0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x75, 0x73, 0x65, 0x12,
   547  	0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
   548  	0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x24, 0x0a, 0x0e, 0x45, 0x6e, 0x63, 0x72, 0x79,
   549  	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x65,
   550  	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x65, 0x65, 0x64, 0x22, 0x97, 0x05,
   551  	0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x38, 0x0a, 0x03, 0x6d, 0x74, 0x75, 0x18,
   552  	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
   553  	0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74,
   554  	0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x6b, 0x63, 0x70, 0x2e, 0x4d, 0x54, 0x55, 0x52, 0x03, 0x6d,
   555  	0x74, 0x75, 0x12, 0x38, 0x0a, 0x03, 0x74, 0x74, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
   556  	0x26, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61,
   557  	0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e,
   558  	0x6b, 0x63, 0x70, 0x2e, 0x54, 0x54, 0x49, 0x52, 0x03, 0x74, 0x74, 0x69, 0x12, 0x5a, 0x0a, 0x0f,
   559  	0x75, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18,
   560  	0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
   561  	0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74,
   562  	0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x6b, 0x63, 0x70, 0x2e, 0x55, 0x70, 0x6c, 0x69, 0x6e, 0x6b,
   563  	0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x52, 0x0e, 0x75, 0x70, 0x6c, 0x69, 0x6e, 0x6b,
   564  	0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x60, 0x0a, 0x11, 0x64, 0x6f, 0x77, 0x6e,
   565  	0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20,
   566  	0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65,
   567  	0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
   568  	0x6e, 0x65, 0x74, 0x2e, 0x6b, 0x63, 0x70, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b,
   569  	0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x52, 0x10, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x69,
   570  	0x6e, 0x6b, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f,
   571  	0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a,
   572  	0x63, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x0c, 0x77, 0x72,
   573  	0x69, 0x74, 0x65, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
   574  	0x32, 0x2e, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72,
   575  	0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74,
   576  	0x2e, 0x6b, 0x63, 0x70, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72,
   577  	0x52, 0x0b, 0x77, 0x72, 0x69, 0x74, 0x65, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x12, 0x4e, 0x0a,
   578  	0x0b, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01,
   579  	0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
   580  	0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
   581  	0x65, 0x74, 0x2e, 0x6b, 0x63, 0x70, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x42, 0x75, 0x66, 0x66, 0x65,
   582  	0x72, 0x52, 0x0a, 0x72, 0x65, 0x61, 0x64, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x12, 0x4b, 0x0a,
   583  	0x0d, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x08,
   584  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
   585  	0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e,
   586  	0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0c, 0x68, 0x65,
   587  	0x61, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x45, 0x0a, 0x04, 0x73, 0x65,
   588  	0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
   589  	0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
   590  	0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x6b, 0x63, 0x70, 0x2e, 0x45, 0x6e, 0x63,
   591  	0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x65, 0x64, 0x52, 0x04, 0x73, 0x65, 0x65,
   592  	0x64, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x42, 0x74, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2e, 0x76,
   593  	0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
   594  	0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x6b, 0x63, 0x70,
   595  	0x50, 0x01, 0x5a, 0x25, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f,
   596  	0x72, 0x65, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74,
   597  	0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x6b, 0x63, 0x70, 0xaa, 0x02, 0x21, 0x56, 0x32, 0x52, 0x61,
   598  	0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
   599  	0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x4b, 0x63, 0x70, 0x62, 0x06, 0x70,
   600  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   601  }
   602  
   603  var (
   604  	file_transport_internet_kcp_config_proto_rawDescOnce sync.Once
   605  	file_transport_internet_kcp_config_proto_rawDescData = file_transport_internet_kcp_config_proto_rawDesc
   606  )
   607  
   608  func file_transport_internet_kcp_config_proto_rawDescGZIP() []byte {
   609  	file_transport_internet_kcp_config_proto_rawDescOnce.Do(func() {
   610  		file_transport_internet_kcp_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_kcp_config_proto_rawDescData)
   611  	})
   612  	return file_transport_internet_kcp_config_proto_rawDescData
   613  }
   614  
   615  var file_transport_internet_kcp_config_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
   616  var file_transport_internet_kcp_config_proto_goTypes = []interface{}{
   617  	(*MTU)(nil),                 // 0: v2ray.core.transport.internet.kcp.MTU
   618  	(*TTI)(nil),                 // 1: v2ray.core.transport.internet.kcp.TTI
   619  	(*UplinkCapacity)(nil),      // 2: v2ray.core.transport.internet.kcp.UplinkCapacity
   620  	(*DownlinkCapacity)(nil),    // 3: v2ray.core.transport.internet.kcp.DownlinkCapacity
   621  	(*WriteBuffer)(nil),         // 4: v2ray.core.transport.internet.kcp.WriteBuffer
   622  	(*ReadBuffer)(nil),          // 5: v2ray.core.transport.internet.kcp.ReadBuffer
   623  	(*ConnectionReuse)(nil),     // 6: v2ray.core.transport.internet.kcp.ConnectionReuse
   624  	(*EncryptionSeed)(nil),      // 7: v2ray.core.transport.internet.kcp.EncryptionSeed
   625  	(*Config)(nil),              // 8: v2ray.core.transport.internet.kcp.Config
   626  	(*serial.TypedMessage)(nil), // 9: v2ray.core.common.serial.TypedMessage
   627  }
   628  var file_transport_internet_kcp_config_proto_depIdxs = []int32{
   629  	0, // 0: v2ray.core.transport.internet.kcp.Config.mtu:type_name -> v2ray.core.transport.internet.kcp.MTU
   630  	1, // 1: v2ray.core.transport.internet.kcp.Config.tti:type_name -> v2ray.core.transport.internet.kcp.TTI
   631  	2, // 2: v2ray.core.transport.internet.kcp.Config.uplink_capacity:type_name -> v2ray.core.transport.internet.kcp.UplinkCapacity
   632  	3, // 3: v2ray.core.transport.internet.kcp.Config.downlink_capacity:type_name -> v2ray.core.transport.internet.kcp.DownlinkCapacity
   633  	4, // 4: v2ray.core.transport.internet.kcp.Config.write_buffer:type_name -> v2ray.core.transport.internet.kcp.WriteBuffer
   634  	5, // 5: v2ray.core.transport.internet.kcp.Config.read_buffer:type_name -> v2ray.core.transport.internet.kcp.ReadBuffer
   635  	9, // 6: v2ray.core.transport.internet.kcp.Config.header_config:type_name -> v2ray.core.common.serial.TypedMessage
   636  	7, // 7: v2ray.core.transport.internet.kcp.Config.seed:type_name -> v2ray.core.transport.internet.kcp.EncryptionSeed
   637  	8, // [8:8] is the sub-list for method output_type
   638  	8, // [8:8] is the sub-list for method input_type
   639  	8, // [8:8] is the sub-list for extension type_name
   640  	8, // [8:8] is the sub-list for extension extendee
   641  	0, // [0:8] is the sub-list for field type_name
   642  }
   643  
   644  func init() { file_transport_internet_kcp_config_proto_init() }
   645  func file_transport_internet_kcp_config_proto_init() {
   646  	if File_transport_internet_kcp_config_proto != nil {
   647  		return
   648  	}
   649  	if !protoimpl.UnsafeEnabled {
   650  		file_transport_internet_kcp_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   651  			switch v := v.(*MTU); i {
   652  			case 0:
   653  				return &v.state
   654  			case 1:
   655  				return &v.sizeCache
   656  			case 2:
   657  				return &v.unknownFields
   658  			default:
   659  				return nil
   660  			}
   661  		}
   662  		file_transport_internet_kcp_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   663  			switch v := v.(*TTI); i {
   664  			case 0:
   665  				return &v.state
   666  			case 1:
   667  				return &v.sizeCache
   668  			case 2:
   669  				return &v.unknownFields
   670  			default:
   671  				return nil
   672  			}
   673  		}
   674  		file_transport_internet_kcp_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   675  			switch v := v.(*UplinkCapacity); i {
   676  			case 0:
   677  				return &v.state
   678  			case 1:
   679  				return &v.sizeCache
   680  			case 2:
   681  				return &v.unknownFields
   682  			default:
   683  				return nil
   684  			}
   685  		}
   686  		file_transport_internet_kcp_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   687  			switch v := v.(*DownlinkCapacity); i {
   688  			case 0:
   689  				return &v.state
   690  			case 1:
   691  				return &v.sizeCache
   692  			case 2:
   693  				return &v.unknownFields
   694  			default:
   695  				return nil
   696  			}
   697  		}
   698  		file_transport_internet_kcp_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   699  			switch v := v.(*WriteBuffer); i {
   700  			case 0:
   701  				return &v.state
   702  			case 1:
   703  				return &v.sizeCache
   704  			case 2:
   705  				return &v.unknownFields
   706  			default:
   707  				return nil
   708  			}
   709  		}
   710  		file_transport_internet_kcp_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   711  			switch v := v.(*ReadBuffer); i {
   712  			case 0:
   713  				return &v.state
   714  			case 1:
   715  				return &v.sizeCache
   716  			case 2:
   717  				return &v.unknownFields
   718  			default:
   719  				return nil
   720  			}
   721  		}
   722  		file_transport_internet_kcp_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   723  			switch v := v.(*ConnectionReuse); i {
   724  			case 0:
   725  				return &v.state
   726  			case 1:
   727  				return &v.sizeCache
   728  			case 2:
   729  				return &v.unknownFields
   730  			default:
   731  				return nil
   732  			}
   733  		}
   734  		file_transport_internet_kcp_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
   735  			switch v := v.(*EncryptionSeed); i {
   736  			case 0:
   737  				return &v.state
   738  			case 1:
   739  				return &v.sizeCache
   740  			case 2:
   741  				return &v.unknownFields
   742  			default:
   743  				return nil
   744  			}
   745  		}
   746  		file_transport_internet_kcp_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
   747  			switch v := v.(*Config); i {
   748  			case 0:
   749  				return &v.state
   750  			case 1:
   751  				return &v.sizeCache
   752  			case 2:
   753  				return &v.unknownFields
   754  			default:
   755  				return nil
   756  			}
   757  		}
   758  	}
   759  	type x struct{}
   760  	out := protoimpl.TypeBuilder{
   761  		File: protoimpl.DescBuilder{
   762  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   763  			RawDescriptor: file_transport_internet_kcp_config_proto_rawDesc,
   764  			NumEnums:      0,
   765  			NumMessages:   9,
   766  			NumExtensions: 0,
   767  			NumServices:   0,
   768  		},
   769  		GoTypes:           file_transport_internet_kcp_config_proto_goTypes,
   770  		DependencyIndexes: file_transport_internet_kcp_config_proto_depIdxs,
   771  		MessageInfos:      file_transport_internet_kcp_config_proto_msgTypes,
   772  	}.Build()
   773  	File_transport_internet_kcp_config_proto = out.File
   774  	file_transport_internet_kcp_config_proto_rawDesc = nil
   775  	file_transport_internet_kcp_config_proto_goTypes = nil
   776  	file_transport_internet_kcp_config_proto_depIdxs = nil
   777  }