config.pb.go 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/proxy/dokodemo/config.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package dokodemo is a generated protocol buffer package.
  6. It is generated from these files:
  7. v2ray.com/core/proxy/dokodemo/config.proto
  8. It has these top-level messages:
  9. Config
  10. */
  11. package dokodemo
  12. import proto "github.com/golang/protobuf/proto"
  13. import fmt "fmt"
  14. import math "math"
  15. import v2ray_core_common_net "v2ray.com/core/common/net"
  16. import v2ray_core_common_net1 "v2ray.com/core/common/net"
  17. // Reference imports to suppress errors if they are not otherwise used.
  18. var _ = proto.Marshal
  19. var _ = fmt.Errorf
  20. var _ = math.Inf
  21. // This is a compile-time assertion to ensure that this generated file
  22. // is compatible with the proto package it is being compiled against.
  23. // A compilation error at this line likely means your copy of the
  24. // proto package needs to be updated.
  25. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  26. type Config struct {
  27. Address *v2ray_core_common_net.IPOrDomain `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
  28. Port uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
  29. NetworkList *v2ray_core_common_net1.NetworkList `protobuf:"bytes,3,opt,name=network_list,json=networkList" json:"network_list,omitempty"`
  30. Timeout uint32 `protobuf:"varint,4,opt,name=timeout" json:"timeout,omitempty"`
  31. FollowRedirect bool `protobuf:"varint,5,opt,name=follow_redirect,json=followRedirect" json:"follow_redirect,omitempty"`
  32. }
  33. func (m *Config) Reset() { *m = Config{} }
  34. func (m *Config) String() string { return proto.CompactTextString(m) }
  35. func (*Config) ProtoMessage() {}
  36. func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  37. func (m *Config) GetAddress() *v2ray_core_common_net.IPOrDomain {
  38. if m != nil {
  39. return m.Address
  40. }
  41. return nil
  42. }
  43. func (m *Config) GetPort() uint32 {
  44. if m != nil {
  45. return m.Port
  46. }
  47. return 0
  48. }
  49. func (m *Config) GetNetworkList() *v2ray_core_common_net1.NetworkList {
  50. if m != nil {
  51. return m.NetworkList
  52. }
  53. return nil
  54. }
  55. func (m *Config) GetTimeout() uint32 {
  56. if m != nil {
  57. return m.Timeout
  58. }
  59. return 0
  60. }
  61. func (m *Config) GetFollowRedirect() bool {
  62. if m != nil {
  63. return m.FollowRedirect
  64. }
  65. return false
  66. }
  67. func init() {
  68. proto.RegisterType((*Config)(nil), "v2ray.core.proxy.dokodemo.Config")
  69. }
  70. func init() { proto.RegisterFile("v2ray.com/core/proxy/dokodemo/config.proto", fileDescriptor0) }
  71. var fileDescriptor0 = []byte{
  72. // 293 bytes of a gzipped FileDescriptorProto
  73. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4b, 0xfb, 0x30,
  74. 0x18, 0xc7, 0xe9, 0x7e, 0xfb, 0x6d, 0x23, 0xf5, 0x0f, 0xe4, 0x94, 0x09, 0x42, 0xdd, 0x65, 0xc5,
  75. 0x43, 0x02, 0xf5, 0xe8, 0x6d, 0x9b, 0x07, 0x41, 0xb4, 0xe4, 0xe0, 0xc1, 0xcb, 0xa8, 0x69, 0x26,
  76. 0x61, 0x4d, 0x9e, 0x92, 0x46, 0x67, 0xdf, 0x92, 0x6f, 0xcb, 0x37, 0x22, 0x4b, 0x5a, 0x14, 0x61,
  77. 0xde, 0xfa, 0x3c, 0xfd, 0x7c, 0x3f, 0x4f, 0xf8, 0xa2, 0xcb, 0xb7, 0xcc, 0x16, 0x2d, 0x15, 0xa0,
  78. 0x99, 0x00, 0x2b, 0x59, 0x6d, 0xe1, 0xbd, 0x65, 0x25, 0x6c, 0xa1, 0x94, 0x1a, 0x98, 0x00, 0xb3,
  79. 0x51, 0x2f, 0xb4, 0xb6, 0xe0, 0x00, 0x4f, 0x7b, 0xd6, 0x4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