config.pb.go 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/transport/config.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package transport is a generated protocol buffer package.
  6. It is generated from these files:
  7. v2ray.com/core/transport/config.proto
  8. It has these top-level messages:
  9. Config
  10. */
  11. package transport
  12. import proto "github.com/golang/protobuf/proto"
  13. import fmt "fmt"
  14. import math "math"
  15. import v2ray_core_transport_internet "v2ray.com/core/transport/internet"
  16. // Reference imports to suppress errors if they are not otherwise used.
  17. var _ = proto.Marshal
  18. var _ = fmt.Errorf
  19. var _ = math.Inf
  20. // This is a compile-time assertion to ensure that this generated file
  21. // is compatible with the proto package it is being compiled against.
  22. // A compilation error at this line likely means your copy of the
  23. // proto package needs to be updated.
  24. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  25. // Global transport settings. This affects all type of connections that go through V2Ray.
  26. type Config struct {
  27. NetworkSettings []*v2ray_core_transport_internet.NetworkSettings `protobuf:"bytes,1,rep,name=network_settings,json=networkSettings" json:"network_settings,omitempty"`
  28. }
  29. func (m *Config) Reset() { *m = Config{} }
  30. func (m *Config) String() string { return proto.CompactTextString(m) }
  31. func (*Config) ProtoMessage() {}
  32. func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
  33. func (m *Config) GetNetworkSettings() []*v2ray_core_transport_internet.NetworkSettings {
  34. if m != nil {
  35. return m.NetworkSettings
  36. }
  37. return nil
  38. }
  39. func init() {
  40. proto.RegisterType((*Config)(nil), "v2ray.core.transport.Config")
  41. }
  42. func init() { proto.RegisterFile("v2ray.com/core/transport/config.proto", fileDescriptor0) }
  43. var fileDescriptor0 = []byte{
  44. // 180 bytes of a gzipped FileDescriptorProto
  45. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x52, 0x2d, 0x33, 0x2a, 0x4a,
  46. 0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0x29, 0x4a, 0xcc, 0x2b,
  47. 0x2e, 0xc8, 0x2f, 0x2a, 0xd1, 0x4f, 0xce, 0xcf, 0x4b, 0xcb, 0x4c, 0xd7, 0x2b, 0x28, 0xca, 0x2f,
  48. 0xc9, 0x17, 0x12, 0x81, 0x29, 0x2b, 0x4a, 0xd5, 0x83, 0x2b, 0x91, 0xd2, 0xc3, 0xa9, 0x39, 0x33,
  49. 0xaf, 0x24, 0xb5, 0x28, 0x2f, 0x15, 0xd5, 0x14, 0xa5, 0x64, 0x2e, 0x36, 0x67, 0x30, 0x5f, 0x28,
  50. 0x92, 0x4b, 0x20, 0x2f, 0xb5, 0xa4, 0x3c, 0xbf, 0x28, 0x3b, 0xbe, 0x38, 0xb5, 0xa4, 0x24, 0x33,
  51. 0x2f, 0xbd, 0x58, 0x82, 0x51, 0x81, 0x59, 0x83, 0xdb, 0x48, 0x4f, 0x0f, 0x9b, 0x55, 0x7a, 0x30,
  52. 0x03, 0xf5, 0xfc, 0x20, 0xda, 0x82, 0xa1, 0xba, 0x82, 0xf8, 0xf3, 0x50, 0x05, 0x9c, 0x3c, 0xb9,
  53. 0x24, 0x92, 0xf3, 0x73, 0xb1, 0x9a, 0xe2, 0xc4, 0x0d, 0xb1, 0x3e, 0x00, 0xe4, 0x9a, 0x28, 0x4e,
  54. 0xb8, 0xf8, 0x2a, 0x26, 0x91, 0x30, 0xa3, 0xa0, 0xc4, 0x4a, 0x3d, 0x67, 0x90, 0xf2, 0x10, 0x98,
  55. 0x70, 0x12, 0x1b, 0xd8, 0xd9, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x20, 0xde, 0xf9, 0x7b,
  56. 0x25, 0x01, 0x00, 0x00,
  57. }