config.pb.go 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. package tcp
  2. import proto "github.com/golang/protobuf/proto"
  3. import fmt "fmt"
  4. import math "math"
  5. import 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 Config struct {
  16. HeaderSettings *serial.TypedMessage `protobuf:"bytes,2,opt,name=header_settings,json=headerSettings" json:"header_settings,omitempty"`
  17. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  18. XXX_unrecognized []byte `json:"-"`
  19. XXX_sizecache int32 `json:"-"`
  20. }
  21. func (m *Config) Reset() { *m = Config{} }
  22. func (m *Config) String() string { return proto.CompactTextString(m) }
  23. func (*Config) ProtoMessage() {}
  24. func (*Config) Descriptor() ([]byte, []int) {
  25. return fileDescriptor_config_61f4b2c61d528fb0, []int{0}
  26. }
  27. func (m *Config) XXX_Unmarshal(b []byte) error {
  28. return xxx_messageInfo_Config.Unmarshal(m, b)
  29. }
  30. func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  31. return xxx_messageInfo_Config.Marshal(b, m, deterministic)
  32. }
  33. func (dst *Config) XXX_Merge(src proto.Message) {
  34. xxx_messageInfo_Config.Merge(dst, src)
  35. }
  36. func (m *Config) XXX_Size() int {
  37. return xxx_messageInfo_Config.Size(m)
  38. }
  39. func (m *Config) XXX_DiscardUnknown() {
  40. xxx_messageInfo_Config.DiscardUnknown(m)
  41. }
  42. var xxx_messageInfo_Config proto.InternalMessageInfo
  43. func (m *Config) GetHeaderSettings() *serial.TypedMessage {
  44. if m != nil {
  45. return m.HeaderSettings
  46. }
  47. return nil
  48. }
  49. func init() {
  50. proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.tcp.Config")
  51. }
  52. func init() {
  53. proto.RegisterFile("v2ray.com/core/transport/internet/tcp/config.proto", fileDescriptor_config_61f4b2c61d528fb0)
  54. }
  55. var fileDescriptor_config_61f4b2c61d528fb0 = []byte{
  56. // 223 bytes of a gzipped FileDescriptorProto
  57. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x8e, 0xc1, 0x4a, 0xc4, 0x30,
  58. 0x10, 0x86, 0x69, 0x95, 0x45, 0x2a, 0xa8, 0xec, 0x49, 0x3c, 0xb9, 0x82, 0xe2, 0x69, 0x22, 0xf1,
  59. 0x0d, 0xdc, 0x93, 0x82, 0x28, 0xb5, 0x78, 0xf0, 0x52, 0xe2, 0xec, 0x58, 0x03, 0x26, 0x13, 0x26,
  60. 0x83, 0xd0, 0x57, 0xf2, 0x29, 0x65, 0x37, 0x76, 0x11, 0x2f, 0xde, 0xbf, 0xef, 0xfb, 0xff, 0xc6,
  61. 0x7e, 0x5a, 0x71, 0x23, 0x20, 0x07, 0x83, 0x2c, 0x64, 0x54, 0x5c, 0xcc, 0x89, 0x45, 0x8d, 0x8f,
  62. 0x4a, 0x12, 0x49, 0x8d, 0x62, 0x32, 0xc8, 0xf1, 0xcd, 0x0f, 0x90, 0x84, 0x95, 0xe7, 0x8b, 0xc9,
  63. 0x11, 0x82, 0x2d, 0x0f, 0x13, 0x0f, 0x8a, 0xe9, 0xe4, 0xea, 0x4f, 0x16, 0x39, 0x04, 0x8e, 0x26,
  64. 0x93, 0x78, 0xf7, 0x61, 0x74, 0x4c, 0xb4, 0xea, 0x03, 0xe5, 0xec, 0x06, 0x2a, 0xd1, 0xb3, 0xbe,
  65. 0x99, 0x2d, 0x37, 0x23, 0xf3, 0x87, 0xe6, 0xf0, 0x9d, 0xdc, 0x8a, 0xa4, 0xcf, 0xa4, 0xea, 0xe3,
  66. 0x90,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