port.pb.go 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/common/net/port.proto
  3. // DO NOT EDIT!
  4. package net
  5. import proto "github.com/golang/protobuf/proto"
  6. import fmt "fmt"
  7. import math "math"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // PortRange represents a range of ports.
  13. type PortRange struct {
  14. From uint32 `protobuf:"varint,1,opt,name=From" json:"From,omitempty"`
  15. To uint32 `protobuf:"varint,2,opt,name=To" json:"To,omitempty"`
  16. }
  17. func (m *PortRange) Reset() { *m = PortRange{} }
  18. func (m *PortRange) String() string { return proto.CompactTextString(m) }
  19. func (*PortRange) ProtoMessage() {}
  20. func (*PortRange) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
  21. func (m *PortRange) GetFrom() uint32 {
  22. if m != nil {
  23. return m.From
  24. }
  25. return 0
  26. }
  27. func (m *PortRange) GetTo() uint32 {
  28. if m != nil {
  29. return m.To
  30. }
  31. return 0
  32. }
  33. func init() {
  34. proto.RegisterType((*PortRange)(nil), "v2ray.core.common.net.PortRange")
  35. }
  36. func init() { proto.RegisterFile("v2ray.com/core/common/net/port.proto", fileDescriptor3) }
  37. var fileDescriptor3 = []byte{
  38. // 163 bytes of a gzipped FileDescriptorProto
  39. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x52, 0x29, 0x33, 0x2a, 0x4a,
  40. 0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0xce, 0xcf, 0xcd, 0xcd,
  41. 0xcf, 0xd3, 0xcf, 0x4b, 0x2d, 0xd1, 0x2f, 0xc8, 0x2f, 0x2a, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9,
  42. 0x17, 0x12, 0x85, 0xa9, 0x2a, 0x4a, 0xd5, 0x83, 0xa8, 0xd0, 0xcb, 0x4b, 0x2d, 0x51, 0xd2, 0xe7,
  43. 0xe2, 0x0c, 0xc8, 0x2f, 0x2a, 0x09, 0x4a, 0xcc, 0x4b, 0x4f, 0x15, 0x12, 0xe2, 0x62, 0x71, 0x2b,
  44. 0xca, 0xcf, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0d, 0x02, 0xb3, 0x85, 0xf8, 0xb8, 0x98, 0x42,
  45. 0xf2, 0x25, 0x98, 0xc0, 0x22, 0x4c, 0x21, 0xf9, 0x4e, 0xce, 0x5c, 0x92, 0xc9, 0xf9, 0xb9, 0x7a,
  46. 0x58, 0x4d, 0x73, 0x02, 0x9b, 0x15, 0x00, 0xb2, 0x2f, 0x8a, 0x39, 0x2f, 0xb5, 0x64, 0x15, 0x93,
  47. 0x68, 0x98, 0x51, 0x50, 0x62, 0xa5, 0x9e, 0x33, 0x48, 0x9d, 0x33, 0x44, 0x9d, 0x5f, 0x6a, 0x49,
  48. 0x12, 0x1b, 0xd8, 0x4d, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x35, 0xed, 0x95, 0xd7, 0xbb,
  49. 0x00, 0x00, 0x00,
  50. }