config.pb.go 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. package quic
  2. import (
  3. fmt "fmt"
  4. proto "github.com/golang/protobuf/proto"
  5. math "math"
  6. protocol "v2ray.com/core/common/protocol"
  7. serial "v2ray.com/core/common/serial"
  8. )
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  18. type Config struct {
  19. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  20. Security *protocol.SecurityConfig `protobuf:"bytes,2,opt,name=security,proto3" json:"security,omitempty"`
  21. Header *serial.TypedMessage `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"`
  22. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  23. XXX_unrecognized []byte `json:"-"`
  24. XXX_sizecache int32 `json:"-"`
  25. }
  26. func (m *Config) Reset() { *m = Config{} }
  27. func (m *Config) String() string { return proto.CompactTextString(m) }
  28. func (*Config) ProtoMessage() {}
  29. func (*Config) Descriptor() ([]byte, []int) {
  30. return fileDescriptor_462e2eb906061b36, []int{0}
  31. }
  32. func (m *Config) XXX_Unmarshal(b []byte) error {
  33. return xxx_messageInfo_Config.Unmarshal(m, b)
  34. }
  35. func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  36. return xxx_messageInfo_Config.Marshal(b, m, deterministic)
  37. }
  38. func (m *Config) XXX_Merge(src proto.Message) {
  39. xxx_messageInfo_Config.Merge(m, src)
  40. }
  41. func (m *Config) XXX_Size() int {
  42. return xxx_messageInfo_Config.Size(m)
  43. }
  44. func (m *Config) XXX_DiscardUnknown() {
  45. xxx_messageInfo_Config.DiscardUnknown(m)
  46. }
  47. var xxx_messageInfo_Config proto.InternalMessageInfo
  48. func (m *Config) GetKey() string {
  49. if m != nil {
  50. return m.Key
  51. }
  52. return ""
  53. }
  54. func (m *Config) GetSecurity() *protocol.SecurityConfig {
  55. if m != nil {
  56. return m.Security
  57. }
  58. return nil
  59. }
  60. func (m *Config) GetHeader() *serial.TypedMessage {
  61. if m != nil {
  62. return m.Header
  63. }
  64. return nil
  65. }
  66. func init() {
  67. proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.quic.Config")
  68. }
  69. func init() {
  70. proto.RegisterFile("v2ray.com/core/transport/internet/quic/config.proto", fileDescriptor_462e2eb906061b36)
  71. }
  72. var fileDescriptor_462e2eb906061b36 = []byte{
  73. // 269 bytes of a gzipped FileDescriptorProto
  74. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4b, 0xc3, 0x30,
  75. 0x14, 0xc6, 0xe9, 0x26, 0x45, 0xe3, 0x45, 0x7a, 0x2a, 0x3b, 0x8d, 0x1e, 0xc6, 0x10, 0x79, 0x91,
  76. 0xee, 0xee, 0xc1, 0x81, 0xe0, 0x41, 0xd0, 0x3a, 0x3d, 0x78, 0x91, 0x98, 0x3d, 0x67, 0x70, 0xed,
  77. 0xab, 0x2f, 0xa9, 0xd0, 0x7f, 0xc7, 0xa3, 0x7f, 0xa5, 0xa4, 0x59, 0x8b, 0xc8, 0xc0, 0x53, 0x0b,
  78. 0xf9, 0x7e, 0xbf, 0x7c, 0x5f, 0xc4, 0xe2, 0x33, 0x67, 0xd5, 0x82, 0xa6, 0x52, 0x6a, 0x62, 0x94,
  79. 0x8e, 0x55, 0x65, 0x6b, 0x62, 0x27, 0x4d, 0xe5, 0x90, 0x2b, 0x74, 0xf2, 0xa3, 0x31, 0x5a, 0x6a,
  80. 0xaa, 0x5e, 0xcd, 0x06, 0x6a, 0x26, 0x47, 0x49, 0xd6, 0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