port.pb.go 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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" json:"From,omitempty"`
  15. To uint32 `protobuf:"varint,2,opt,name=To,json=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 fileDescriptor1, []int{0} }
  21. func init() {
  22. proto.RegisterType((*PortRange)(nil), "com.v2ray.core.common.net.PortRange")
  23. }
  24. func init() { proto.RegisterFile("v2ray.com/core/common/net/port.proto", fileDescriptor1) }
  25. var fileDescriptor1 = []byte{
  26. // 137 bytes of a gzipped FileDescriptorProto
  27. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x34, 0xcc, 0xb1, 0x0a, 0xc2, 0x40,
  28. 0x0c, 0x87, 0x71, 0x7a, 0x56, 0xc1, 0x03, 0x1d, 0x6e, 0xaa, 0x9b, 0x88, 0x83, 0x53, 0x02, 0xfa,
  29. 0x06, 0x0e, 0xce, 0x52, 0x9c, 0xdc, 0xea, 0x11, 0x9d, 0x92, 0x7f, 0x09, 0x41, 0xf0, 0xed, 0x85,
  30. 0x8a, 0xeb, 0xc7, 0x8f, 0x2f, 0xef, 0xdf, 0x47, 0x1f, 0x3e, 0x54, 0xa1, 0x5c, 0xe1, 0xc2, 0x15,
  31. 0xaa, 0x30, 0x36, 0x09, 0x1e, 0xe1, 0x41, 0xa3, 0x23, 0x50, 0x36, 0x15, 0x4a, 0x7f, 0xe9, 0x42,
  32. 0x3f, 0x45, 0x26, 0xb1, 0xe3, 0xbc, 0xbc, 0xc2, 0xa3, 0x1f, 0xec, 0x25, 0xa5, 0xe4, 0xf6, 0xe2,
  33. 0xd0, 0xae, 0xd9, 0x36, 0x87, 0x55, 0xdf, 0x3e, 0x1d, 0x5a, 0xd6, 0x39, 0xdd, 0xd0, 0xa5, 0xa9,
  34. 0xa4, 0xc0, 0x79, 0x7e, 0x9f, 0x99, 0xc4, 0x63, 0x31, 0x9d, 0x4f, 0xdf, 0x00, 0x00, 0x00, 0xff,
  35. 0xff, 0xc3, 0x9d, 0x1a, 0x33, 0x81, 0x00, 0x00, 0x00,
  36. }