config.pb.go 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. package quic
  2. import (
  3. fmt "fmt"
  4. proto "github.com/golang/protobuf/proto"
  5. math "math"
  6. serial "v2ray.com/core/common/serial"
  7. )
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. type Config struct {
  18. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  19. Header *serial.TypedMessage `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"`
  20. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  21. XXX_unrecognized []byte `json:"-"`
  22. XXX_sizecache int32 `json:"-"`
  23. }
  24. func (m *Config) Reset() { *m = Config{} }
  25. func (m *Config) String() string { return proto.CompactTextString(m) }
  26. func (*Config) ProtoMessage() {}
  27. func (*Config) Descriptor() ([]byte, []int) {
  28. return fileDescriptor_462e2eb906061b36, []int{0}
  29. }
  30. func (m *Config) XXX_Unmarshal(b []byte) error {
  31. return xxx_messageInfo_Config.Unmarshal(m, b)
  32. }
  33. func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  34. return xxx_messageInfo_Config.Marshal(b, m, deterministic)
  35. }
  36. func (m *Config) XXX_Merge(src proto.Message) {
  37. xxx_messageInfo_Config.Merge(m, src)
  38. }
  39. func (m *Config) XXX_Size() int {
  40. return xxx_messageInfo_Config.Size(m)
  41. }
  42. func (m *Config) XXX_DiscardUnknown() {
  43. xxx_messageInfo_Config.DiscardUnknown(m)
  44. }
  45. var xxx_messageInfo_Config proto.InternalMessageInfo
  46. func (m *Config) GetKey() string {
  47. if m != nil {
  48. return m.Key
  49. }
  50. return ""
  51. }
  52. func (m *Config) GetHeader() *serial.TypedMessage {
  53. if m != nil {
  54. return m.Header
  55. }
  56. return nil
  57. }
  58. func init() {
  59. proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.quic.Config")
  60. }
  61. func init() {
  62. proto.RegisterFile("v2ray.com/core/transport/internet/quic/config.proto", fileDescriptor_462e2eb906061b36)
  63. }
  64. var fileDescriptor_462e2eb906061b36 = []byte{
  65. // 226 bytes of a gzipped FileDescriptorProto
  66. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x8e, 0xb1, 0x4b, 0x03, 0x31,
  67. 0x14, 0x87, 0x49, 0x95, 0x03, 0xe3, 0x22, 0x37, 0x15, 0xa7, 0x72, 0x43, 0xe9, 0xf4, 0x22, 0xd7,
  68. 0xdd, 0xc1, 0x4e, 0x0e, 0x82, 0x1e, 0xd5, 0xa1, 0x8b, 0xc4, 0xf4, 0x59, 0x83, 0x26, 0xef, 0x7c,
  69. 0x49, 0x85, 0xfc, 0x4b, 0xfe, 0x95, 0x92, 0xc6, 0x3b, 0xc4, 0xa5, 0x53, 0x32, 0xfc, 0xbe, 0xef,
  70. 0x7d, 0x72, 0xf9, 0xd5, 0xb2, 0x4e, 0x60, 0xc8, 0x29, 0x43, 0x8c, 0x2a, 0xb2, 0xf6, 0xa1, 0x27,
  71. 0x8e, 0xca, 0xfa, 0x88, 0xec, 0x31, 0xaa, 0xcf, 0xbd, 0x35, 0xca, 0x90, 0x7f, 0xb5, 0x3b, 0xe8,
  72. 0x99, 0x22, 0xd5, 0xcd, 0x00, 0x31, 0xc2, 0x08, 0xc0, 0x00, 0x40, 0x06, 0x2e, 0xaf, 0xfe, 0x89,
  73. 0x0d, 0x39, 0x47, 0x5e, 0x05, 0x64, 0xab, 0x3f, 0x54, 0x4c, 0x3d, 0x6e, 0x9f, 0x1d, 0x86, 0xa0,
  74. 0x77, 0x58, 0xac, 0xcd, 0x46, 0x56, 0xab, 0xc3, 0x95, 0xfa, 0x42, 0x9e, 0xbc, 0x63, 0x9a, 0x8a,
  75. 0x99, 0x58, 0x9c, 0x75, 0xf9, 0x5b, 0x5f, 0xcb, 0xea, 0x0d, 0xf5, 0x16, 0x79, 0x3a, 0x99, 0x89,
  76. 0xc5, 0x79, 0x3b, 0x87, 0x3f, 0x09, 0x45, 0x0d, 0x45, 0x0d, 0xeb, 0xac, 0xbe, 0x2b, 0xe6, 0xee,
  77. 0x97, 0xba, 0x79, 0x94, 0x73, 0x43, 0x0e, 0x8e, 0x77, 0xdf, 0x8b, 0xcd, 0x69, 0x7e, 0xbf, 0x27,
  78. 0xcd, 0x53, 0xdb, 0xe9, 0x04, 0xab, 0x3c, 0x5e, 0x8f, 0xe3, 0xdb, 0x61, 0xfc, 0xb0, 0xb7, 0xe6,
  79. 0xa5, 0x3a, 0x94, 0x2f, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x9a, 0x6a, 0xd1, 0x56, 0x46, 0x01,
  80. 0x00, 0x00,
  81. }