1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-23 02:26:49 -05:00
v2fly/common/net/port.pb.go

91 lines
3.2 KiB
Go
Raw Normal View History

2017-01-02 14:52:45 -05:00
package net
2018-09-17 09:12:58 -04:00
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
2017-01-02 14:52:45 -05:00
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
2018-05-25 05:56:01 -04:00
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
2017-01-02 14:52:45 -05:00
// PortRange represents a range of ports.
type PortRange struct {
2017-04-02 08:24:10 -04:00
// The port that this range starts from.
2018-06-26 10:28:54 -04:00
From uint32 `protobuf:"varint,1,opt,name=From,proto3" json:"From,omitempty"`
2017-04-02 08:24:10 -04:00
// The port that this range ends with (inclusive).
2018-06-26 10:28:54 -04:00
To uint32 `protobuf:"varint,2,opt,name=To,proto3" json:"To,omitempty"`
2018-05-25 05:56:01 -04:00
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PortRange) Reset() { *m = PortRange{} }
func (m *PortRange) String() string { return proto.CompactTextString(m) }
func (*PortRange) ProtoMessage() {}
func (*PortRange) Descriptor() ([]byte, []int) {
2018-09-14 05:00:59 -04:00
return fileDescriptor_166067e37a39f913, []int{0}
2018-05-25 05:56:01 -04:00
}
2018-09-30 12:39:28 -04:00
2018-05-25 05:56:01 -04:00
func (m *PortRange) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PortRange.Unmarshal(m, b)
}
func (m *PortRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PortRange.Marshal(b, m, deterministic)
}
2018-09-14 05:00:59 -04:00
func (m *PortRange) XXX_Merge(src proto.Message) {
xxx_messageInfo_PortRange.Merge(m, src)
2018-05-25 05:56:01 -04:00
}
func (m *PortRange) XXX_Size() int {
return xxx_messageInfo_PortRange.Size(m)
}
func (m *PortRange) XXX_DiscardUnknown() {
xxx_messageInfo_PortRange.DiscardUnknown(m)
2017-01-02 14:52:45 -05:00
}
2018-05-25 05:56:01 -04:00
var xxx_messageInfo_PortRange proto.InternalMessageInfo
2017-01-02 14:52:45 -05:00
func (m *PortRange) GetFrom() uint32 {
if m != nil {
return m.From
}
return 0
}
func (m *PortRange) GetTo() uint32 {
if m != nil {
return m.To
}
return 0
}
func init() {
proto.RegisterType((*PortRange)(nil), "v2ray.core.common.net.PortRange")
}
2018-05-25 05:56:01 -04:00
func init() {
2018-09-14 05:00:59 -04:00
proto.RegisterFile("v2ray.com/core/common/net/port.proto", fileDescriptor_166067e37a39f913)
2018-05-25 05:56:01 -04:00
}
2017-01-02 14:52:45 -05:00
2018-09-14 05:00:59 -04:00
var fileDescriptor_166067e37a39f913 = []byte{
2017-02-03 17:15:10 -05:00
// 158 bytes of a gzipped FileDescriptorProto
2017-04-04 06:28:14 -04:00
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x29, 0x33, 0x2a, 0x4a,
2017-01-02 14:52:45 -05:00
0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0xce, 0xcf, 0xcd, 0xcd,
0xcf, 0xd3, 0xcf, 0x4b, 0x2d, 0xd1, 0x2f, 0xc8, 0x2f, 0x2a, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9,
0x17, 0x12, 0x85, 0xa9, 0x2a, 0x4a, 0xd5, 0x83, 0xa8, 0xd0, 0xcb, 0x4b, 0x2d, 0x51, 0xd2, 0xe7,
0xe2, 0x0c, 0xc8, 0x2f, 0x2a, 0x09, 0x4a, 0xcc, 0x4b, 0x4f, 0x15, 0x12, 0xe2, 0x62, 0x71, 0x2b,
0xca, 0xcf, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0d, 0x02, 0xb3, 0x85, 0xf8, 0xb8, 0x98, 0x42,
2017-02-03 17:15:10 -05:00
0xf2, 0x25, 0x98, 0xc0, 0x22, 0x4c, 0x21, 0xf9, 0x4e, 0x56, 0x5c, 0x92, 0xc9, 0xf9, 0xb9, 0x7a,
0x58, 0x4d, 0x0b, 0x60, 0x8c, 0x62, 0xce, 0x4b, 0x2d, 0x59, 0xc5, 0x24, 0x1a, 0x66, 0x14, 0x94,
0x58, 0xa9, 0xe7, 0x0c, 0x92, 0x76, 0x86, 0x48, 0xfb, 0xa5, 0x96, 0x24, 0xb1, 0x81, 0x9d, 0x62,
0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x1a, 0x0f, 0x6a, 0xc0, 0xb2, 0x00, 0x00, 0x00,
2017-01-02 14:52:45 -05:00
}