config.pb.go 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/transport/internet/tcp/config.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package tcp is a generated protocol buffer package.
  6. It is generated from these files:
  7. v2ray.com/core/transport/internet/tcp/config.proto
  8. It has these top-level messages:
  9. ConnectionReuse
  10. Config
  11. */
  12. package tcp
  13. import proto "github.com/golang/protobuf/proto"
  14. import fmt "fmt"
  15. import math "math"
  16. import v2ray_core_common_serial "v2ray.com/core/common/serial"
  17. // Reference imports to suppress errors if they are not otherwise used.
  18. var _ = proto.Marshal
  19. var _ = fmt.Errorf
  20. var _ = math.Inf
  21. // This is a compile-time assertion to ensure that this generated file
  22. // is compatible with the proto package it is being compiled against.
  23. // A compilation error at this line likely means your copy of the
  24. // proto package needs to be updated.
  25. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  26. type ConnectionReuse struct {
  27. Enable bool `protobuf:"varint,1,opt,name=enable" json:"enable,omitempty"`
  28. }
  29. func (m *ConnectionReuse) Reset() { *m = ConnectionReuse{} }
  30. func (m *ConnectionReuse) String() string { return proto.CompactTextString(m) }
  31. func (*ConnectionReuse) ProtoMessage() {}
  32. func (*ConnectionReuse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  33. type Config struct {
  34. ConnectionReuse *ConnectionReuse `protobuf:"bytes,1,opt,name=connection_reuse,json=connectionReuse" json:"connection_reuse,omitempty"`
  35. HeaderSettings *v2ray_core_common_serial.TypedMessage `protobuf:"bytes,2,opt,name=header_settings,json=headerSettings" json:"header_settings,omitempty"`
  36. }
  37. func (m *Config) Reset() { *m = Config{} }
  38. func (m *Config) String() string { return proto.CompactTextString(m) }
  39. func (*Config) ProtoMessage() {}
  40. func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  41. func (m *Config) GetConnectionReuse() *ConnectionReuse {
  42. if m != nil {
  43. return m.ConnectionReuse
  44. }
  45. return nil
  46. }
  47. func (m *Config) GetHeaderSettings() *v2ray_core_common_serial.TypedMessage {
  48. if m != nil {
  49. return m.HeaderSettings
  50. }
  51. return nil
  52. }
  53. func init() {
  54. proto.RegisterType((*ConnectionReuse)(nil), "v2ray.core.transport.internet.tcp.ConnectionReuse")
  55. proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.tcp.Config")
  56. }
  57. func init() { proto.RegisterFile("v2ray.com/core/transport/internet/tcp/config.proto", fileDescriptor0) }
  58. var fileDescriptor0 = []byte{
  59. // 257 bytes of a gzipped FileDescriptorProto
  60. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x90, 0x41, 0x4b, 0xc3, 0x40,
  61. 0x10, 0x85, 0x89, 0x42, 0x90, 0x2d, 0x18, 0xc9, 0x41, 0x8a, 0x27, 0x2d, 0x28, 0x7a, 0xd9, 0x95,
  62. 0x78, 0xf2, 0xda, 0x9e, 0x45, 0x89, 0x9e, 0x04, 0x09, 0xdb, 0xe9, 0x18, 0x03, 0xdd, 0x9d, 0x65,
  63. 0x76, 0x14, 0xfa, 0xcf, 0xfc, 0x79, 0x92, 0x6c, 0x5b, 0x24, 0x97, 0x1e, 0x17, 0xde, 0xf7, 0xf6,
  64. 0x7d, 0xa3, 0xaa, 0x9f, 0x8a, 0xed, 0x46, 0x03, 0x39, 0x03, 0xc4, 0x68, 0x84, 0xad, 0x8f, 0x81,
  65. 0x58, 0x4c, 0xe7, 0x05, 0xd9, 0xa3, 0x18, 0x81, 0x60, 0x80, 0xfc, 0x67, 0xd7, 0xea, 0xc0, 0x24,
  66. 0x54, 0x5e, 0xed, 0x18, 0x46, 0xbd, 0xcf, 0xeb, 0x5d, 0x5e, 0x0b, 0x84, 0x8b, 0xfb, 0x51, 0x2d,
  67. 0x90, 0x73, 0xe4, 0x4d, 0x44, 0xee, 0xec, 0xda, 0xc8, 0x26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