config.pb.go 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. package tcp
  2. import proto "github.com/golang/protobuf/proto"
  3. import fmt "fmt"
  4. import math "math"
  5. import v2ray_core_common_serial "v2ray.com/core/common/serial"
  6. // Reference imports to suppress errors if they are not otherwise used.
  7. var _ = proto.Marshal
  8. var _ = fmt.Errorf
  9. var _ = math.Inf
  10. // This is a compile-time assertion to ensure that this generated file
  11. // is compatible with the proto package it is being compiled against.
  12. // A compilation error at this line likely means your copy of the
  13. // proto package needs to be updated.
  14. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  15. type ConnectionReuse struct {
  16. Enable bool `protobuf:"varint,1,opt,name=enable" json:"enable,omitempty"`
  17. }
  18. func (m *ConnectionReuse) Reset() { *m = ConnectionReuse{} }
  19. func (m *ConnectionReuse) String() string { return proto.CompactTextString(m) }
  20. func (*ConnectionReuse) ProtoMessage() {}
  21. func (*ConnectionReuse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  22. func (m *ConnectionReuse) GetEnable() bool {
  23. if m != nil {
  24. return m.Enable
  25. }
  26. return false
  27. }
  28. type Config struct {
  29. ConnectionReuse *ConnectionReuse `protobuf:"bytes,1,opt,name=connection_reuse,json=connectionReuse" json:"connection_reuse,omitempty"`
  30. HeaderSettings *v2ray_core_common_serial.TypedMessage `protobuf:"bytes,2,opt,name=header_settings,json=headerSettings" json:"header_settings,omitempty"`
  31. }
  32. func (m *Config) Reset() { *m = Config{} }
  33. func (m *Config) String() string { return proto.CompactTextString(m) }
  34. func (*Config) ProtoMessage() {}
  35. func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  36. func (m *Config) GetConnectionReuse() *ConnectionReuse {
  37. if m != nil {
  38. return m.ConnectionReuse
  39. }
  40. return nil
  41. }
  42. func (m *Config) GetHeaderSettings() *v2ray_core_common_serial.TypedMessage {
  43. if m != nil {
  44. return m.HeaderSettings
  45. }
  46. return nil
  47. }
  48. func init() {
  49. proto.RegisterType((*ConnectionReuse)(nil), "v2ray.core.transport.internet.tcp.ConnectionReuse")
  50. proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.tcp.Config")
  51. }
  52. func init() { proto.RegisterFile("v2ray.com/core/transport/internet/tcp/config.proto", fileDescriptor0) }
  53. var fileDescriptor0 = []byte{
  54. // 273 bytes of a gzipped FileDescriptorProto
  55. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0xf4, 0x30,
  56. 0x14, 0x85, 0xe9, 0xfc, 0x50, 0x7e, 0x22, 0x58, 0xe9, 0x42, 0x06, 0x57, 0xce, 0x80, 0xa2, 0x9b,
  57. 0x44, 0xea, 0x1b, 0xd8, 0x95, 0x0b, 0x51, 0x62, 0x71, 0x21, 0x48, 0xc9, 0xdc, 0xb9, 0xd6, 0xc2,
  58. 0x34, 0x37, 0x24, 0x57, 0xa1, 0xaf, 0xe4, 0x13, 0xf8, 0x78, 0xd2, 0x76, 0x5a, 0xa4, 0x9b, 0x59,
  59. 0x06, 0xbe, 0xef, 0xe4, 0x9c, 0x2b, 0xb2, 0xaf, 0xcc, 0x9b, 0x56, 0x02, 0x35, 0x0a, 0xc8, 0xa3,
  60. 0x62, 0x6f, 0x6c, 0x70, 0xe4, 0x59, 0xd5, 0x96, 0xd1, 0x5b, 0x64, 0xc5, 0xe0, 0x14, 0x90, 0x7d,
  61. 0xaf, 0x2b, 0xe9, 0x3c, 0x31, 0xa5, 0xab, 0xd1, 0xf1, 0x28, 0x27, 0x5e, 0x8e, 0xbc, 0x64, 0x70,
  62. 0x67, 0x37, 0xb3, 0x58, 0xa0, 0xa6, 0x21, 0xab, 0x02, 0xfa, 0xda, 0xec, 0x14, 0xb7, 0x0e, 0xb7,
  63. 0x65, 0x83, 0x21, 0x98, 0x0a, 0x87, 0xd0, 0xf5, 0xb5, 0x48, 0x72, 0x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