config.pb.go 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. package dispatcher
  2. import proto "github.com/golang/protobuf/proto"
  3. import fmt "fmt"
  4. import math "math"
  5. // Reference imports to suppress errors if they are not otherwise used.
  6. var _ = proto.Marshal
  7. var _ = fmt.Errorf
  8. var _ = math.Inf
  9. // This is a compile-time assertion to ensure that this generated file
  10. // is compatible with the proto package it is being compiled against.
  11. // A compilation error at this line likely means your copy of the
  12. // proto package needs to be updated.
  13. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  14. type SessionConfig struct {
  15. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  16. XXX_unrecognized []byte `json:"-"`
  17. XXX_sizecache int32 `json:"-"`
  18. }
  19. func (m *SessionConfig) Reset() { *m = SessionConfig{} }
  20. func (m *SessionConfig) String() string { return proto.CompactTextString(m) }
  21. func (*SessionConfig) ProtoMessage() {}
  22. func (*SessionConfig) Descriptor() ([]byte, []int) {
  23. return fileDescriptor_config_0cc6435896f4bd54, []int{0}
  24. }
  25. func (m *SessionConfig) XXX_Unmarshal(b []byte) error {
  26. return xxx_messageInfo_SessionConfig.Unmarshal(m, b)
  27. }
  28. func (m *SessionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  29. return xxx_messageInfo_SessionConfig.Marshal(b, m, deterministic)
  30. }
  31. func (dst *SessionConfig) XXX_Merge(src proto.Message) {
  32. xxx_messageInfo_SessionConfig.Merge(dst, src)
  33. }
  34. func (m *SessionConfig) XXX_Size() int {
  35. return xxx_messageInfo_SessionConfig.Size(m)
  36. }
  37. func (m *SessionConfig) XXX_DiscardUnknown() {
  38. xxx_messageInfo_SessionConfig.DiscardUnknown(m)
  39. }
  40. var xxx_messageInfo_SessionConfig proto.InternalMessageInfo
  41. type Config struct {
  42. Settings *SessionConfig `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
  43. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  44. XXX_unrecognized []byte `json:"-"`
  45. XXX_sizecache int32 `json:"-"`
  46. }
  47. func (m *Config) Reset() { *m = Config{} }
  48. func (m *Config) String() string { return proto.CompactTextString(m) }
  49. func (*Config) ProtoMessage() {}
  50. func (*Config) Descriptor() ([]byte, []int) {
  51. return fileDescriptor_config_0cc6435896f4bd54, []int{1}
  52. }
  53. func (m *Config) XXX_Unmarshal(b []byte) error {
  54. return xxx_messageInfo_Config.Unmarshal(m, b)
  55. }
  56. func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  57. return xxx_messageInfo_Config.Marshal(b, m, deterministic)
  58. }
  59. func (dst *Config) XXX_Merge(src proto.Message) {
  60. xxx_messageInfo_Config.Merge(dst, src)
  61. }
  62. func (m *Config) XXX_Size() int {
  63. return xxx_messageInfo_Config.Size(m)
  64. }
  65. func (m *Config) XXX_DiscardUnknown() {
  66. xxx_messageInfo_Config.DiscardUnknown(m)
  67. }
  68. var xxx_messageInfo_Config proto.InternalMessageInfo
  69. func (m *Config) GetSettings() *SessionConfig {
  70. if m != nil {
  71. return m.Settings
  72. }
  73. return nil
  74. }
  75. func init() {
  76. proto.RegisterType((*SessionConfig)(nil), "v2ray.core.app.dispatcher.SessionConfig")
  77. proto.RegisterType((*Config)(nil), "v2ray.core.app.dispatcher.Config")
  78. }
  79. func init() {
  80. proto.RegisterFile("v2ray.com/core/app/dispatcher/config.proto", fileDescriptor_config_0cc6435896f4bd54)
  81. }
  82. var fileDescriptor_config_0cc6435896f4bd54 = []byte{
  83. // 176 bytes of a gzipped FileDescriptorProto
  84. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2a, 0x33, 0x2a, 0x4a,
  85. 0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0x2c, 0x28, 0xd0, 0x4f,
  86. 0xc9, 0x2c, 0x2e, 0x48, 0x2c, 0x49, 0xce, 0x48, 0x2d, 0xd2, 0x4f, 0xce, 0xcf, 0x4b, 0xcb, 0x4c,
  87. 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x84, 0xa9, 0x2d, 0x4a, 0xd5, 0x4b, 0x2c, 0x28,
  88. 0xd0, 0x43, 0xa8, 0x53, 0x12, 0xe5, 0xe2, 0x0d, 0x4e, 0x2d, 0x2e, 0xce, 0xcc, 0xcf, 0x73, 0x06,
  89. 0xeb, 0xf0, 0x62, 0xe1, 0x60, 0x14, 0x60, 0x52, 0xf2, 0xe3, 0x62, 0x83, 0xf0, 0x85, 0x5c, 0xb8,
  90. 0x38, 0x8a, 0x53, 0x4b, 0x4a, 0x32, 0xf3, 0xd2, 0x8b, 0x25, 0x18, 0x15, 0x18, 0x35, 0xb8, 0x8d,
  91. 0x34, 0xf4, 0x70, 0x1a, 0xa7, 0x87, 0x62, 0x56, 0x10, 0x5c, 0xa7, 0x93, 0x27, 0x97, 0x6c, 0x72,
  92. 0x7e, 0x2e, 0x6e, 0x8d, 0x01, 0x8c, 0x51, 0x5c, 0x08, 0xde, 0x2a, 0x26, 0xc9, 0x30, 0xa3, 0xa0,
  93. 0xc4, 0x4a, 0x3d, 0x67, 0x90, 0x4a, 0xc7, 0x82, 0x02, 0x3d, 0x17, 0xb8, 0x5c, 0x12, 0x1b, 0xd8,
  94. 0x4f, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4b, 0x47, 0xc5, 0xd6, 0x01, 0x01, 0x00, 0x00,
  95. }