config.pb.go 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. package dokodemo
  2. import proto "github.com/golang/protobuf/proto"
  3. import fmt "fmt"
  4. import math "math"
  5. import v2ray_core_common_net "v2ray.com/core/common/net"
  6. import v2ray_core_common_net1 "v2ray.com/core/common/net"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. type Config struct {
  17. Address *v2ray_core_common_net.IPOrDomain `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
  18. Port uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
  19. NetworkList *v2ray_core_common_net1.NetworkList `protobuf:"bytes,3,opt,name=network_list,json=networkList" json:"network_list,omitempty"`
  20. Timeout uint32 `protobuf:"varint,4,opt,name=timeout" json:"timeout,omitempty"`
  21. FollowRedirect bool `protobuf:"varint,5,opt,name=follow_redirect,json=followRedirect" json:"follow_redirect,omitempty"`
  22. }
  23. func (m *Config) Reset() { *m = Config{} }
  24. func (m *Config) String() string { return proto.CompactTextString(m) }
  25. func (*Config) ProtoMessage() {}
  26. func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  27. func (m *Config) GetAddress() *v2ray_core_common_net.IPOrDomain {
  28. if m != nil {
  29. return m.Address
  30. }
  31. return nil
  32. }
  33. func (m *Config) GetPort() uint32 {
  34. if m != nil {
  35. return m.Port
  36. }
  37. return 0
  38. }
  39. func (m *Config) GetNetworkList() *v2ray_core_common_net1.NetworkList {
  40. if m != nil {
  41. return m.NetworkList
  42. }
  43. return nil
  44. }
  45. func (m *Config) GetTimeout() uint32 {
  46. if m != nil {
  47. return m.Timeout
  48. }
  49. return 0
  50. }
  51. func (m *Config) GetFollowRedirect() bool {
  52. if m != nil {
  53. return m.FollowRedirect
  54. }
  55. return false
  56. }
  57. func init() {
  58. proto.RegisterType((*Config)(nil), "v2ray.core.proxy.dokodemo.Config")
  59. }
  60. func init() { proto.RegisterFile("v2ray.com/core/proxy/dokodemo/config.proto", fileDescriptor0) }
  61. var fileDescriptor0 = []byte{
  62. // 286 bytes of a gzipped FileDescriptorProto
  63. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4a, 0x03, 0x31,
  64. 0x10, 0x87, 0x49, 0xad, 0x6d, 0x49, 0xfd, 0x03, 0x39, 0xa5, 0x82, 0x50, 0x7b, 0x69, 0xf1, 0x90,
  65. 0x40, 0x3d, 0x7a, 0xb3, 0x15, 0x11, 0x44, 0x97, 0x1c, 0x3c, 0x78, 0x29, 0x6b, 0x36, 0x95, 0xd0,
  66. 0x4d, 0x66, 0x99, 0x8d, 0xd6, 0x7d, 0x25, 0x5f, 0xcb, 0x17, 0x11, 0xb3, 0xbb, 0x28, 0x42, 0xbd,
  67. 0xcd, 0x4c, 0xbe, 0x7c, 0x33, 0xfc, 0xe8, 0xf9, 0xdb, 0x1c, 0xd3, 0x4a, 0x68, 0x70, 0x52, 0x03,
  68. 0x1a, 0x59, 0x20, 0xbc, 0x57, 0x32, 0x83, 0x0d, 0x64, 0xc6, 0x81, 0xd4, 0xe0, 0xd7, 0xf6, 0x45,
  69. 0x14, 0x08, 0x01, 0xd8, 0xa8, 0x65, 0xd1, 0x88, 0xc8, 0x89, 0x96, 0x3b, 0x99, 0xfe, 0xd1, 0x68,
  70. 0x70, 0x0e, 0xbc, 0xf4, 0x26, 0xc8, 0x34, 0xcb, 0xd0, 0x94, 0x65, 0xed, 0xf8, 0x0f, 0xf4, 0x26,
  71. 0x6c, 0x01, 0x37, 0x35, 0x38, 0xf9, 0x24, 0xb4, 0xb7, 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