mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
56 lines
2.5 KiB
Go
56 lines
2.5 KiB
Go
// Code generated by protoc-gen-go.
|
|
// source: v2ray.com/core/common/net/destination.proto
|
|
// DO NOT EDIT!
|
|
|
|
package net
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
type DestinationPB struct {
|
|
Network Network `protobuf:"varint,1,opt,name=network,enum=com.v2ray.core.common.net.Network" json:"network,omitempty"`
|
|
Address *AddressPB `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
|
|
Port uint32 `protobuf:"varint,3,opt,name=port" json:"port,omitempty"`
|
|
}
|
|
|
|
func (m *DestinationPB) Reset() { *m = DestinationPB{} }
|
|
func (m *DestinationPB) String() string { return proto.CompactTextString(m) }
|
|
func (*DestinationPB) ProtoMessage() {}
|
|
func (*DestinationPB) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
|
|
|
func (m *DestinationPB) GetAddress() *AddressPB {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*DestinationPB)(nil), "com.v2ray.core.common.net.DestinationPB")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("v2ray.com/core/common/net/destination.proto", fileDescriptor1) }
|
|
|
|
var fileDescriptor1 = []byte{
|
|
// 199 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xd2, 0x2e, 0x33, 0x2a, 0x4a,
|
|
0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0xce, 0xcf, 0xcd, 0xcd,
|
|
0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