config.pb.go 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/transport/internet/kcp/config.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package kcp is a generated protocol buffer package.
  6. It is generated from these files:
  7. v2ray.com/core/transport/internet/kcp/config.proto
  8. It has these top-level messages:
  9. MTU
  10. TTI
  11. UplinkCapacity
  12. DownlinkCapacity
  13. WriteBuffer
  14. ReadBuffer
  15. Config
  16. */
  17. package kcp
  18. import proto "github.com/golang/protobuf/proto"
  19. import fmt "fmt"
  20. import math "math"
  21. import com_v2ray_core_transport_internet "v2ray.com/core/transport/internet"
  22. // Reference imports to suppress errors if they are not otherwise used.
  23. var _ = proto.Marshal
  24. var _ = fmt.Errorf
  25. var _ = math.Inf
  26. // This is a compile-time assertion to ensure that this generated file
  27. // is compatible with the proto package it is being compiled against.
  28. // A compilation error at this line likely means your copy of the
  29. // proto package needs to be updated.
  30. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  31. type MTU struct {
  32. Value uint32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
  33. }
  34. func (m *MTU) Reset() { *m = MTU{} }
  35. func (m *MTU) String() string { return proto.CompactTextString(m) }
  36. func (*MTU) ProtoMessage() {}
  37. func (*MTU) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  38. type TTI struct {
  39. Value uint32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
  40. }
  41. func (m *TTI) Reset() { *m = TTI{} }
  42. func (m *TTI) String() string { return proto.CompactTextString(m) }
  43. func (*TTI) ProtoMessage() {}
  44. func (*TTI) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  45. type UplinkCapacity struct {
  46. Value uint32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
  47. }
  48. func (m *UplinkCapacity) Reset() { *m = UplinkCapacity{} }
  49. func (m *UplinkCapacity) String() string { return proto.CompactTextString(m) }
  50. func (*UplinkCapacity) ProtoMessage() {}
  51. func (*UplinkCapacity) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
  52. type DownlinkCapacity struct {
  53. Value uint32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
  54. }
  55. func (m *DownlinkCapacity) Reset() { *m = DownlinkCapacity{} }
  56. func (m *DownlinkCapacity) String() string { return proto.CompactTextString(m) }
  57. func (*DownlinkCapacity) ProtoMessage() {}
  58. func (*DownlinkCapacity) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
  59. type WriteBuffer struct {
  60. Size uint32 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`
  61. }
  62. func (m *WriteBuffer) Reset() { *m = WriteBuffer{} }
  63. func (m *WriteBuffer) String() string { return proto.CompactTextString(m) }
  64. func (*WriteBuffer) ProtoMessage() {}
  65. func (*WriteBuffer) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
  66. type ReadBuffer struct {
  67. Size uint32 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`
  68. }
  69. func (m *ReadBuffer) Reset() { *m = ReadBuffer{} }
  70. func (m *ReadBuffer) String() string { return proto.CompactTextString(m) }
  71. func (*ReadBuffer) ProtoMessage() {}
  72. func (*ReadBuffer) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
  73. type Config struct {
  74. Mtu *MTU `protobuf:"bytes,1,opt,name=mtu" json:"mtu,omitempty"`
  75. Tti *TTI `protobuf:"bytes,2,opt,name=tti" json:"tti,omitempty"`
  76. UplinkCapacity *UplinkCapacity `protobuf:"bytes,3,opt,name=uplink_capacity,json=uplinkCapacity" json:"uplink_capacity,omitempty"`
  77. DownlinkCapacity *DownlinkCapacity `protobuf:"bytes,4,opt,name=downlink_capacity,json=downlinkCapacity" json:"downlink_capacity,omitempty"`
  78. Congestion bool `protobuf:"varint,5,opt,name=congestion" json:"congestion,omitempty"`
  79. WriteBuffer *WriteBuffer `protobuf:"bytes,6,opt,name=write_buffer,json=writeBuffer" json:"write_buffer,omitempty"`
  80. ReadBuffer *ReadBuffer `protobuf:"bytes,7,opt,name=read_buffer,json=readBuffer" json:"read_buffer,omitempty"`
  81. HeaderConfig *com_v2ray_core_transport_internet.AuthenticatorConfig `protobuf:"bytes,8,opt,name=header_config,json=headerConfig" json:"header_config,omitempty"`
  82. }
  83. func (m *Config) Reset() { *m = Config{} }
  84. func (m *Config) String() string { return proto.CompactTextString(m) }
  85. func (*Config) ProtoMessage() {}
  86. func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
  87. func (m *Config) GetMtu() *MTU {
  88. if m != nil {
  89. return m.Mtu
  90. }
  91. return nil
  92. }
  93. func (m *Config) GetTti() *TTI {
  94. if m != nil {
  95. return m.Tti
  96. }
  97. return nil
  98. }
  99. func (m *Config) GetUplinkCapacity() *UplinkCapacity {
  100. if m != nil {
  101. return m.UplinkCapacity
  102. }
  103. return nil
  104. }
  105. func (m *Config) GetDownlinkCapacity() *DownlinkCapacity {
  106. if m != nil {
  107. return m.DownlinkCapacity
  108. }
  109. return nil
  110. }
  111. func (m *Config) GetWriteBuffer() *WriteBuffer {
  112. if m != nil {
  113. return m.WriteBuffer
  114. }
  115. return nil
  116. }
  117. func (m *Config) GetReadBuffer() *ReadBuffer {
  118. if m != nil {
  119. return m.ReadBuffer
  120. }
  121. return nil
  122. }
  123. func (m *Config) GetHeaderConfig() *com_v2ray_core_transport_internet.AuthenticatorConfig {
  124. if m != nil {
  125. return m.HeaderConfig
  126. }
  127. return nil
  128. }
  129. func init() {
  130. proto.RegisterType((*MTU)(nil), "com.v2ray.core.transport.internet.kcp.MTU")
  131. proto.RegisterType((*TTI)(nil), "com.v2ray.core.transport.internet.kcp.TTI")
  132. proto.RegisterType((*UplinkCapacity)(nil), "com.v2ray.core.transport.internet.kcp.UplinkCapacity")
  133. proto.RegisterType((*DownlinkCapacity)(nil), "com.v2ray.core.transport.internet.kcp.DownlinkCapacity")
  134. proto.RegisterType((*WriteBuffer)(nil), "com.v2ray.core.transport.internet.kcp.WriteBuffer")
  135. proto.RegisterType((*ReadBuffer)(nil), "com.v2ray.core.transport.internet.kcp.ReadBuffer")
  136. proto.RegisterType((*Config)(nil), "com.v2ray.core.transport.internet.kcp.Config")
  137. }
  138. func init() { proto.RegisterFile("v2ray.com/core/transport/internet/kcp/config.proto", fileDescriptor0) }
  139. var fileDescriptor0 = []byte{
  140. // 404 bytes of a gzipped FileDescriptorProto
  141. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x94, 0x93, 0xd1, 0xab, 0xda, 0x30,
  142. 0x14, 0xc6, 0x71, 0x55, 0x27, 0xa7, 0xea, 0x5c, 0xd9, 0x43, 0xd9, 0x60, 0x38, 0x61, 0x43, 0xf6,
  143. 0x90, 0xb2, 0x0e, 0xb7, 0x97, 0xbd, 0x4c, 0xf7, 0xe2, 0x83, 0x2f, 0xa1, 0x65, 0xb0, 0xc1, 0x24,
  144. 0xa6, 0x51, 0x43, 0x35, 0x29, 0x31, 0x55, 0xdc, 0x9f, 0x7d, 0xff, 0x82, 0x4b, 0x53, 0x7b, 0xad,
  145. 0x82, 0xf7, 0xf6, 0xbe, 0x19, 0x73, 0xbe, 0xdf, 0x49, 0xbf, 0xef, 0x1c, 0xf0, 0xf7, 0xbe, 0x22,
  146. 0x47, 0x44, 0xe5, 0xd6, 0xa3, 0x52, 0x31, 0x4f, 0x2b, 0x22, 0x76, 0x89, 0x54, 0xda, 0xe3, 0x42,
  147. 0x33, 0x25, 0x98, 0xf6, 0x62, 0x9a, 0x78, 0x54, 0x8a, 0x25, 0x5f, 0xa1, 0x44, 0x49, 0x2d, 0x9d,
  148. 0x8f, 0x54, 0x6e, 0x51, 0xa1, 0x53, 0x0c, 0x3d, 0x68, 0x50, 0xa1, 0x41, 0x31, 0x4d, 0xde, 0x8e,
  149. 0x9e, 0x46, 0x93, 0x54, 0xaf, 0x99, 0xd0, 0x9c, 0x12, 0x2d, 0x55, 0x4e, 0x1f, 0xbc, 0x03, 0x6b,
  150. 0x16, 0x84, 0xce, 0x1b, 0x68, 0xec, 0xc9, 0x26, 0x65, 0x6e, 0xad, 0x5f, 0x1b, 0x76, 0x70, 0x7e,
  151. 0xc8, 0x2e, 0x83, 0x60, 0x7a, 0xe3, 0xf2, 0x13, 0x74, 0xc3, 0x64, 0xc3, 0x45, 0x3c, 0x21, 0x09,
  152. 0xa1, 0x5c, 0x1f, 0x6f, 0xd4, 0x0d, 0xa1, 0xf7, 0x4b, 0x1e, 0x44, 0x85, 0xca, 0x0f, 0x60, 0xff,
  153. 0x56, 0x5c, 0xb3, 0x71, 0xba, 0x5c, 0x32, 0xe5, 0x38, 0x50, 0xdf, 0xf1, 0xff, 0x45, 0x8d, 0xf9,
  154. 0x3d, 0xe8, 0x03, 0x60, 0x46, 0xa2, 0x47, 0x2a, 0xee, 0xea, 0xd0, 0x9c, 0x18, 0xff, 0x9c, 0x1f,
  155. 0x60, 0x6d, 0x75, 0x6a, 0x6e, 0x6d, 0xff, 0x33, 0xaa, 0xe4, 0x23, 0x9a, 0x05, 0x21, 0xce, 0x64,
  156. 0x99, 0x5a, 0x6b, 0xee, 0xbe, 0x78, 0x96, 0x3a, 0x08, 0xa6, 0x38, 0x93, 0x39, 0xff, 0xe0, 0x55,
  157. 0x6a, 0xdc, 0x99, 0xd3, 0xd3, 0x47, 0xbb, 0x96, 0x21, 0x8d, 0x2a, 0x92, 0x2e, 0xbd, 0xc5, 0xdd,
  158. 0xf4, 0xd2, 0xeb, 0x08, 0x5e, 0x47, 0x27, 0x57, 0xcf, 0x1d, 0xea, 0xa6, 0xc3, 0xf7, 0x8a, 0x1d,
  159. 0xae, 0x53, 0xc1, 0xbd, 0xe8, 0x3a, 0xa7, 0xf7, 0x00, 0x54, 0x8a, 0x15, 0xdb, 0x69, 0x2e, 0x85,
  160. 0xdb, 0xe8, 0xd7, 0x86, 0x2d, 0x5c, 0xfa, 0xc7, 0x09, 0xa1, 0x7d, 0xc8, 0x12, 0x9b, 0x2f, 0x4c,
  161. 0x20, 0x6e, 0xd3, 0x3c, 0xc0, 0xaf, 0xf8, 0x80, 0x52, 0xd8, 0xd8, 0x3e, 0x94, 0x92, 0xc7, 0x60,
  162. 0x2b, 0x46, 0xa2, 0x82, 0xfa, 0xd2, 0x50, 0xbf, 0x54, 0xa4, 0x9e, 0xe7, 0x03, 0x83, 0x3a, 0xcf,
  163. 0xca, 0x5f, 0xe8, 0xac, 0x19, 0x89, 0x98, 0x9a, 0xe7, 0xdb, 0xe5, 0xb6, 0x0c, 0xf5, 0x5b, 0x05,
  164. 0xea, 0xcf, 0xf2, 0xde, 0xe4, 0xb3, 0x85, 0xdb, 0x39, 0x2c, 0x3f, 0x8d, 0x1b, 0x7f, 0xac, 0x98,
  165. 0x26, 0x8b, 0xa6, 0xd9, 0xa9, 0xaf, 0xf7, 0x01, 0x00, 0x00, 0xff, 0xff, 0x29, 0x6b, 0x1b, 0xbd,
  166. 0xe7, 0x03, 0x00, 0x00,
  167. }