config.pb.go 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/proxy/vmess/inbound/config.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package inbound is a generated protocol buffer package.
  6. It is generated from these files:
  7. v2ray.com/core/proxy/vmess/inbound/config.proto
  8. It has these top-level messages:
  9. DetourConfig
  10. DefaultConfig
  11. Config
  12. */
  13. package inbound
  14. import proto "github.com/golang/protobuf/proto"
  15. import fmt "fmt"
  16. import math "math"
  17. import v2ray_core_common_protocol "v2ray.com/core/common/protocol"
  18. // Reference imports to suppress errors if they are not otherwise used.
  19. var _ = proto.Marshal
  20. var _ = fmt.Errorf
  21. var _ = math.Inf
  22. // This is a compile-time assertion to ensure that this generated file
  23. // is compatible with the proto package it is being compiled against.
  24. // A compilation error at this line likely means your copy of the
  25. // proto package needs to be updated.
  26. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  27. type DetourConfig struct {
  28. To string `protobuf:"bytes,1,opt,name=to" json:"to,omitempty"`
  29. }
  30. func (m *DetourConfig) Reset() { *m = DetourConfig{} }
  31. func (m *DetourConfig) String() string { return proto.CompactTextString(m) }
  32. func (*DetourConfig) ProtoMessage() {}
  33. func (*DetourConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  34. type DefaultConfig struct {
  35. AlterId uint32 `protobuf:"varint,1,opt,name=alter_id,json=alterId" json:"alter_id,omitempty"`
  36. Level uint32 `protobuf:"varint,2,opt,name=level" json:"level,omitempty"`
  37. }
  38. func (m *DefaultConfig) Reset() { *m = DefaultConfig{} }
  39. func (m *DefaultConfig) String() string { return proto.CompactTextString(m) }
  40. func (*DefaultConfig) ProtoMessage() {}
  41. func (*DefaultConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
  42. type Config struct {
  43. User []*v2ray_core_common_protocol.User `protobuf:"bytes,1,rep,name=user" json:"user,omitempty"`
  44. Default *DefaultConfig `protobuf:"bytes,2,opt,name=default" json:"default,omitempty"`
  45. Detour *DetourConfig `protobuf:"bytes,3,opt,name=detour" json:"detour,omitempty"`
  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) { return fileDescriptor0, []int{2} }
  51. func (m *Config) GetUser() []*v2ray_core_common_protocol.User {
  52. if m != nil {
  53. return m.User
  54. }
  55. return nil
  56. }
  57. func (m *Config) GetDefault() *DefaultConfig {
  58. if m != nil {
  59. return m.Default
  60. }
  61. return nil
  62. }
  63. func (m *Config) GetDetour() *DetourConfig {
  64. if m != nil {
  65. return m.Detour
  66. }
  67. return nil
  68. }
  69. func init() {
  70. proto.RegisterType((*DetourConfig)(nil), "v2ray.core.proxy.vmess.inbound.DetourConfig")
  71. proto.RegisterType((*DefaultConfig)(nil), "v2ray.core.proxy.vmess.inbound.DefaultConfig")
  72. proto.RegisterType((*Config)(nil), "v2ray.core.proxy.vmess.inbound.Config")
  73. }
  74. func init() { proto.RegisterFile("v2ray.com/core/proxy/vmess/inbound/config.proto", fileDescriptor0) }
  75. var fileDescriptor0 = []byte{
  76. // 283 bytes of a gzipped FileDescriptorProto
  77. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x90, 0x4f, 0x4b, 0xc3, 0x40,
  78. 0x10, 0xc5, 0x49, 0xab, 0x89, 0x4e, 0xac, 0x87, 0xe0, 0x21, 0x7a, 0x28, 0x21, 0xa7, 0x0a, 0xba,
  79. 0x0b, 0xd1, 0x93, 0x27, 0xa9, 0x01, 0xf1, 0x26, 0x01, 0x2f, 0x5e, 0x24, 0xdd, 0x4c, 0x25, 0x90,
  80. 0x64, 0xca, 0x66, 0x13, 0xec, 0x87, 0xf4, 0x3b, 0x49, 0x27, 0x1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