var File_common_net_proto protoreflect.FileDescriptor
type IPAddress struct { // Types that are assignable to Ip: // // *IPAddress_Ipv4 // *IPAddress_Ipv6 Ip isIPAddress_Ip `protobuf_oneof:"ip"` // contains filtered or unexported fields }
func (*IPAddress) Descriptor() ([]byte, []int)
Deprecated: Use IPAddress.ProtoReflect.Descriptor instead.
func (m *IPAddress) GetIp() isIPAddress_Ip
func (x *IPAddress) GetIpv4() uint32
func (x *IPAddress) GetIpv6() *IPv6
func (*IPAddress) ProtoMessage()
func (x *IPAddress) ProtoReflect() protoreflect.Message
func (x *IPAddress) Reset()
func (x *IPAddress) String() string
type IPAddress_Ipv4 struct { Ipv4 uint32 `protobuf:"fixed32,1,opt,name=ipv4,proto3,oneof"` }
type IPAddress_Ipv6 struct { Ipv6 *IPv6 `protobuf:"bytes,2,opt,name=ipv6,proto3,oneof"` }
type IPv6 struct { First uint64 `protobuf:"fixed64,1,opt,name=first,proto3" json:"first,omitempty"` // hextets 1-4 Last uint64 `protobuf:"fixed64,2,opt,name=last,proto3" json:"last,omitempty"` // hextets 5-8 // contains filtered or unexported fields }
func (*IPv6) Descriptor() ([]byte, []int)
Deprecated: Use IPv6.ProtoReflect.Descriptor instead.
func (x *IPv6) GetFirst() uint64
func (x *IPv6) GetLast() uint64
func (*IPv6) ProtoMessage()
func (x *IPv6) ProtoReflect() protoreflect.Message
func (x *IPv6) Reset()
func (x *IPv6) String() string
type TcpAddress struct { Ip *IPAddress `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*TcpAddress) Descriptor() ([]byte, []int)
Deprecated: Use TcpAddress.ProtoReflect.Descriptor instead.
func (x *TcpAddress) GetIp() *IPAddress
func (x *TcpAddress) GetPort() uint32
func (*TcpAddress) ProtoMessage()
func (x *TcpAddress) ProtoReflect() protoreflect.Message
func (x *TcpAddress) Reset()
func (x *TcpAddress) String() string