| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.10
- // protoc v6.33.0
- // source: ca.psiphon.psiphond/server_packet.proto
- package psiphond
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- unsafe "unsafe"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type ServerPacket struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- TcpIpv4ApplicationBytesDown *int64 `protobuf:"varint,100,opt,name=tcp_ipv4_application_bytes_down,json=tcpIpv4ApplicationBytesDown,proto3,oneof" json:"tcp_ipv4_application_bytes_down,omitempty"`
- TcpIpv4ApplicationBytesUp *int64 `protobuf:"varint,101,opt,name=tcp_ipv4_application_bytes_up,json=tcpIpv4ApplicationBytesUp,proto3,oneof" json:"tcp_ipv4_application_bytes_up,omitempty"`
- TcpIpv4BytesDown *int64 `protobuf:"varint,102,opt,name=tcp_ipv4_bytes_down,json=tcpIpv4BytesDown,proto3,oneof" json:"tcp_ipv4_bytes_down,omitempty"`
- TcpIpv4BytesUp *int64 `protobuf:"varint,103,opt,name=tcp_ipv4_bytes_up,json=tcpIpv4BytesUp,proto3,oneof" json:"tcp_ipv4_bytes_up,omitempty"`
- TcpIpv4PacketsDown *int64 `protobuf:"varint,104,opt,name=tcp_ipv4_packets_down,json=tcpIpv4PacketsDown,proto3,oneof" json:"tcp_ipv4_packets_down,omitempty"`
- TcpIpv4PacketsUp *int64 `protobuf:"varint,105,opt,name=tcp_ipv4_packets_up,json=tcpIpv4PacketsUp,proto3,oneof" json:"tcp_ipv4_packets_up,omitempty"`
- TcpIpv6ApplicationBytesDown *int64 `protobuf:"varint,106,opt,name=tcp_ipv6_application_bytes_down,json=tcpIpv6ApplicationBytesDown,proto3,oneof" json:"tcp_ipv6_application_bytes_down,omitempty"`
- TcpIpv6ApplicationBytesUp *int64 `protobuf:"varint,107,opt,name=tcp_ipv6_application_bytes_up,json=tcpIpv6ApplicationBytesUp,proto3,oneof" json:"tcp_ipv6_application_bytes_up,omitempty"`
- TcpIpv6BytesDown *int64 `protobuf:"varint,108,opt,name=tcp_ipv6_bytes_down,json=tcpIpv6BytesDown,proto3,oneof" json:"tcp_ipv6_bytes_down,omitempty"`
- TcpIpv6BytesUp *int64 `protobuf:"varint,109,opt,name=tcp_ipv6_bytes_up,json=tcpIpv6BytesUp,proto3,oneof" json:"tcp_ipv6_bytes_up,omitempty"`
- TcpIpv6PacketsDown *int64 `protobuf:"varint,110,opt,name=tcp_ipv6_packets_down,json=tcpIpv6PacketsDown,proto3,oneof" json:"tcp_ipv6_packets_down,omitempty"`
- TcpIpv6PacketsUp *int64 `protobuf:"varint,111,opt,name=tcp_ipv6_packets_up,json=tcpIpv6PacketsUp,proto3,oneof" json:"tcp_ipv6_packets_up,omitempty"`
- UdpIpv4ApplicationBytesDown *int64 `protobuf:"varint,112,opt,name=udp_ipv4_application_bytes_down,json=udpIpv4ApplicationBytesDown,proto3,oneof" json:"udp_ipv4_application_bytes_down,omitempty"`
- UdpIpv4ApplicationBytesUp *int64 `protobuf:"varint,113,opt,name=udp_ipv4_application_bytes_up,json=udpIpv4ApplicationBytesUp,proto3,oneof" json:"udp_ipv4_application_bytes_up,omitempty"`
- UdpIpv4BytesDown *int64 `protobuf:"varint,114,opt,name=udp_ipv4_bytes_down,json=udpIpv4BytesDown,proto3,oneof" json:"udp_ipv4_bytes_down,omitempty"`
- UdpIpv4BytesUp *int64 `protobuf:"varint,115,opt,name=udp_ipv4_bytes_up,json=udpIpv4BytesUp,proto3,oneof" json:"udp_ipv4_bytes_up,omitempty"`
- UdpIpv4PacketsDown *int64 `protobuf:"varint,116,opt,name=udp_ipv4_packets_down,json=udpIpv4PacketsDown,proto3,oneof" json:"udp_ipv4_packets_down,omitempty"`
- UdpIpv4PacketsUp *int64 `protobuf:"varint,117,opt,name=udp_ipv4_packets_up,json=udpIpv4PacketsUp,proto3,oneof" json:"udp_ipv4_packets_up,omitempty"`
- UdpIpv6ApplicationBytesDown *int64 `protobuf:"varint,118,opt,name=udp_ipv6_application_bytes_down,json=udpIpv6ApplicationBytesDown,proto3,oneof" json:"udp_ipv6_application_bytes_down,omitempty"`
- UdpIpv6ApplicationBytesUp *int64 `protobuf:"varint,119,opt,name=udp_ipv6_application_bytes_up,json=udpIpv6ApplicationBytesUp,proto3,oneof" json:"udp_ipv6_application_bytes_up,omitempty"`
- UdpIpv6BytesDown *int64 `protobuf:"varint,120,opt,name=udp_ipv6_bytes_down,json=udpIpv6BytesDown,proto3,oneof" json:"udp_ipv6_bytes_down,omitempty"`
- UdpIpv6BytesUp *int64 `protobuf:"varint,121,opt,name=udp_ipv6_bytes_up,json=udpIpv6BytesUp,proto3,oneof" json:"udp_ipv6_bytes_up,omitempty"`
- UdpIpv6PacketsDown *int64 `protobuf:"varint,122,opt,name=udp_ipv6_packets_down,json=udpIpv6PacketsDown,proto3,oneof" json:"udp_ipv6_packets_down,omitempty"`
- UdpIpv6PacketsUp *int64 `protobuf:"varint,123,opt,name=udp_ipv6_packets_up,json=udpIpv6PacketsUp,proto3,oneof" json:"udp_ipv6_packets_up,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ServerPacket) Reset() {
- *x = ServerPacket{}
- mi := &file_ca_psiphon_psiphond_server_packet_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ServerPacket) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ServerPacket) ProtoMessage() {}
- func (x *ServerPacket) ProtoReflect() protoreflect.Message {
- mi := &file_ca_psiphon_psiphond_server_packet_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ServerPacket.ProtoReflect.Descriptor instead.
- func (*ServerPacket) Descriptor() ([]byte, []int) {
- return file_ca_psiphon_psiphond_server_packet_proto_rawDescGZIP(), []int{0}
- }
- func (x *ServerPacket) GetTcpIpv4ApplicationBytesDown() int64 {
- if x != nil && x.TcpIpv4ApplicationBytesDown != nil {
- return *x.TcpIpv4ApplicationBytesDown
- }
- return 0
- }
- func (x *ServerPacket) GetTcpIpv4ApplicationBytesUp() int64 {
- if x != nil && x.TcpIpv4ApplicationBytesUp != nil {
- return *x.TcpIpv4ApplicationBytesUp
- }
- return 0
- }
- func (x *ServerPacket) GetTcpIpv4BytesDown() int64 {
- if x != nil && x.TcpIpv4BytesDown != nil {
- return *x.TcpIpv4BytesDown
- }
- return 0
- }
- func (x *ServerPacket) GetTcpIpv4BytesUp() int64 {
- if x != nil && x.TcpIpv4BytesUp != nil {
- return *x.TcpIpv4BytesUp
- }
- return 0
- }
- func (x *ServerPacket) GetTcpIpv4PacketsDown() int64 {
- if x != nil && x.TcpIpv4PacketsDown != nil {
- return *x.TcpIpv4PacketsDown
- }
- return 0
- }
- func (x *ServerPacket) GetTcpIpv4PacketsUp() int64 {
- if x != nil && x.TcpIpv4PacketsUp != nil {
- return *x.TcpIpv4PacketsUp
- }
- return 0
- }
- func (x *ServerPacket) GetTcpIpv6ApplicationBytesDown() int64 {
- if x != nil && x.TcpIpv6ApplicationBytesDown != nil {
- return *x.TcpIpv6ApplicationBytesDown
- }
- return 0
- }
- func (x *ServerPacket) GetTcpIpv6ApplicationBytesUp() int64 {
- if x != nil && x.TcpIpv6ApplicationBytesUp != nil {
- return *x.TcpIpv6ApplicationBytesUp
- }
- return 0
- }
- func (x *ServerPacket) GetTcpIpv6BytesDown() int64 {
- if x != nil && x.TcpIpv6BytesDown != nil {
- return *x.TcpIpv6BytesDown
- }
- return 0
- }
- func (x *ServerPacket) GetTcpIpv6BytesUp() int64 {
- if x != nil && x.TcpIpv6BytesUp != nil {
- return *x.TcpIpv6BytesUp
- }
- return 0
- }
- func (x *ServerPacket) GetTcpIpv6PacketsDown() int64 {
- if x != nil && x.TcpIpv6PacketsDown != nil {
- return *x.TcpIpv6PacketsDown
- }
- return 0
- }
- func (x *ServerPacket) GetTcpIpv6PacketsUp() int64 {
- if x != nil && x.TcpIpv6PacketsUp != nil {
- return *x.TcpIpv6PacketsUp
- }
- return 0
- }
- func (x *ServerPacket) GetUdpIpv4ApplicationBytesDown() int64 {
- if x != nil && x.UdpIpv4ApplicationBytesDown != nil {
- return *x.UdpIpv4ApplicationBytesDown
- }
- return 0
- }
- func (x *ServerPacket) GetUdpIpv4ApplicationBytesUp() int64 {
- if x != nil && x.UdpIpv4ApplicationBytesUp != nil {
- return *x.UdpIpv4ApplicationBytesUp
- }
- return 0
- }
- func (x *ServerPacket) GetUdpIpv4BytesDown() int64 {
- if x != nil && x.UdpIpv4BytesDown != nil {
- return *x.UdpIpv4BytesDown
- }
- return 0
- }
- func (x *ServerPacket) GetUdpIpv4BytesUp() int64 {
- if x != nil && x.UdpIpv4BytesUp != nil {
- return *x.UdpIpv4BytesUp
- }
- return 0
- }
- func (x *ServerPacket) GetUdpIpv4PacketsDown() int64 {
- if x != nil && x.UdpIpv4PacketsDown != nil {
- return *x.UdpIpv4PacketsDown
- }
- return 0
- }
- func (x *ServerPacket) GetUdpIpv4PacketsUp() int64 {
- if x != nil && x.UdpIpv4PacketsUp != nil {
- return *x.UdpIpv4PacketsUp
- }
- return 0
- }
- func (x *ServerPacket) GetUdpIpv6ApplicationBytesDown() int64 {
- if x != nil && x.UdpIpv6ApplicationBytesDown != nil {
- return *x.UdpIpv6ApplicationBytesDown
- }
- return 0
- }
- func (x *ServerPacket) GetUdpIpv6ApplicationBytesUp() int64 {
- if x != nil && x.UdpIpv6ApplicationBytesUp != nil {
- return *x.UdpIpv6ApplicationBytesUp
- }
- return 0
- }
- func (x *ServerPacket) GetUdpIpv6BytesDown() int64 {
- if x != nil && x.UdpIpv6BytesDown != nil {
- return *x.UdpIpv6BytesDown
- }
- return 0
- }
- func (x *ServerPacket) GetUdpIpv6BytesUp() int64 {
- if x != nil && x.UdpIpv6BytesUp != nil {
- return *x.UdpIpv6BytesUp
- }
- return 0
- }
- func (x *ServerPacket) GetUdpIpv6PacketsDown() int64 {
- if x != nil && x.UdpIpv6PacketsDown != nil {
- return *x.UdpIpv6PacketsDown
- }
- return 0
- }
- func (x *ServerPacket) GetUdpIpv6PacketsUp() int64 {
- if x != nil && x.UdpIpv6PacketsUp != nil {
- return *x.UdpIpv6PacketsUp
- }
- return 0
- }
- var File_ca_psiphon_psiphond_server_packet_proto protoreflect.FileDescriptor
- const file_ca_psiphon_psiphond_server_packet_proto_rawDesc = "" +
- "\n" +
- "'ca.psiphon.psiphond/server_packet.proto\x12\x13ca.psiphon.psiphond\"\xae\x10\n" +
- "\fServerPacket\x12I\n" +
- "\x1ftcp_ipv4_application_bytes_down\x18d \x01(\x03H\x00R\x1btcpIpv4ApplicationBytesDown\x88\x01\x01\x12E\n" +
- "\x1dtcp_ipv4_application_bytes_up\x18e \x01(\x03H\x01R\x19tcpIpv4ApplicationBytesUp\x88\x01\x01\x122\n" +
- "\x13tcp_ipv4_bytes_down\x18f \x01(\x03H\x02R\x10tcpIpv4BytesDown\x88\x01\x01\x12.\n" +
- "\x11tcp_ipv4_bytes_up\x18g \x01(\x03H\x03R\x0etcpIpv4BytesUp\x88\x01\x01\x126\n" +
- "\x15tcp_ipv4_packets_down\x18h \x01(\x03H\x04R\x12tcpIpv4PacketsDown\x88\x01\x01\x122\n" +
- "\x13tcp_ipv4_packets_up\x18i \x01(\x03H\x05R\x10tcpIpv4PacketsUp\x88\x01\x01\x12I\n" +
- "\x1ftcp_ipv6_application_bytes_down\x18j \x01(\x03H\x06R\x1btcpIpv6ApplicationBytesDown\x88\x01\x01\x12E\n" +
- "\x1dtcp_ipv6_application_bytes_up\x18k \x01(\x03H\aR\x19tcpIpv6ApplicationBytesUp\x88\x01\x01\x122\n" +
- "\x13tcp_ipv6_bytes_down\x18l \x01(\x03H\bR\x10tcpIpv6BytesDown\x88\x01\x01\x12.\n" +
- "\x11tcp_ipv6_bytes_up\x18m \x01(\x03H\tR\x0etcpIpv6BytesUp\x88\x01\x01\x126\n" +
- "\x15tcp_ipv6_packets_down\x18n \x01(\x03H\n" +
- "R\x12tcpIpv6PacketsDown\x88\x01\x01\x122\n" +
- "\x13tcp_ipv6_packets_up\x18o \x01(\x03H\vR\x10tcpIpv6PacketsUp\x88\x01\x01\x12I\n" +
- "\x1fudp_ipv4_application_bytes_down\x18p \x01(\x03H\fR\x1budpIpv4ApplicationBytesDown\x88\x01\x01\x12E\n" +
- "\x1dudp_ipv4_application_bytes_up\x18q \x01(\x03H\rR\x19udpIpv4ApplicationBytesUp\x88\x01\x01\x122\n" +
- "\x13udp_ipv4_bytes_down\x18r \x01(\x03H\x0eR\x10udpIpv4BytesDown\x88\x01\x01\x12.\n" +
- "\x11udp_ipv4_bytes_up\x18s \x01(\x03H\x0fR\x0eudpIpv4BytesUp\x88\x01\x01\x126\n" +
- "\x15udp_ipv4_packets_down\x18t \x01(\x03H\x10R\x12udpIpv4PacketsDown\x88\x01\x01\x122\n" +
- "\x13udp_ipv4_packets_up\x18u \x01(\x03H\x11R\x10udpIpv4PacketsUp\x88\x01\x01\x12I\n" +
- "\x1fudp_ipv6_application_bytes_down\x18v \x01(\x03H\x12R\x1budpIpv6ApplicationBytesDown\x88\x01\x01\x12E\n" +
- "\x1dudp_ipv6_application_bytes_up\x18w \x01(\x03H\x13R\x19udpIpv6ApplicationBytesUp\x88\x01\x01\x122\n" +
- "\x13udp_ipv6_bytes_down\x18x \x01(\x03H\x14R\x10udpIpv6BytesDown\x88\x01\x01\x12.\n" +
- "\x11udp_ipv6_bytes_up\x18y \x01(\x03H\x15R\x0eudpIpv6BytesUp\x88\x01\x01\x126\n" +
- "\x15udp_ipv6_packets_down\x18z \x01(\x03H\x16R\x12udpIpv6PacketsDown\x88\x01\x01\x122\n" +
- "\x13udp_ipv6_packets_up\x18{ \x01(\x03H\x17R\x10udpIpv6PacketsUp\x88\x01\x01B\"\n" +
- " _tcp_ipv4_application_bytes_downB \n" +
- "\x1e_tcp_ipv4_application_bytes_upB\x16\n" +
- "\x14_tcp_ipv4_bytes_downB\x14\n" +
- "\x12_tcp_ipv4_bytes_upB\x18\n" +
- "\x16_tcp_ipv4_packets_downB\x16\n" +
- "\x14_tcp_ipv4_packets_upB\"\n" +
- " _tcp_ipv6_application_bytes_downB \n" +
- "\x1e_tcp_ipv6_application_bytes_upB\x16\n" +
- "\x14_tcp_ipv6_bytes_downB\x14\n" +
- "\x12_tcp_ipv6_bytes_upB\x18\n" +
- "\x16_tcp_ipv6_packets_downB\x16\n" +
- "\x14_tcp_ipv6_packets_upB\"\n" +
- " _udp_ipv4_application_bytes_downB \n" +
- "\x1e_udp_ipv4_application_bytes_upB\x16\n" +
- "\x14_udp_ipv4_bytes_downB\x14\n" +
- "\x12_udp_ipv4_bytes_upB\x18\n" +
- "\x16_udp_ipv4_packets_downB\x16\n" +
- "\x14_udp_ipv4_packets_upB\"\n" +
- " _udp_ipv6_application_bytes_downB \n" +
- "\x1e_udp_ipv6_application_bytes_upB\x16\n" +
- "\x14_udp_ipv6_bytes_downB\x14\n" +
- "\x12_udp_ipv6_bytes_upB\x18\n" +
- "\x16_udp_ipv6_packets_downB\x16\n" +
- "\x14_udp_ipv6_packets_upBHZFgithub.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/server/pb/psiphondb\x06proto3"
- var (
- file_ca_psiphon_psiphond_server_packet_proto_rawDescOnce sync.Once
- file_ca_psiphon_psiphond_server_packet_proto_rawDescData []byte
- )
- func file_ca_psiphon_psiphond_server_packet_proto_rawDescGZIP() []byte {
- file_ca_psiphon_psiphond_server_packet_proto_rawDescOnce.Do(func() {
- file_ca_psiphon_psiphond_server_packet_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ca_psiphon_psiphond_server_packet_proto_rawDesc), len(file_ca_psiphon_psiphond_server_packet_proto_rawDesc)))
- })
- return file_ca_psiphon_psiphond_server_packet_proto_rawDescData
- }
- var file_ca_psiphon_psiphond_server_packet_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
- var file_ca_psiphon_psiphond_server_packet_proto_goTypes = []any{
- (*ServerPacket)(nil), // 0: ca.psiphon.psiphond.ServerPacket
- }
- var file_ca_psiphon_psiphond_server_packet_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
- }
- func init() { file_ca_psiphon_psiphond_server_packet_proto_init() }
- func file_ca_psiphon_psiphond_server_packet_proto_init() {
- if File_ca_psiphon_psiphond_server_packet_proto != nil {
- return
- }
- file_ca_psiphon_psiphond_server_packet_proto_msgTypes[0].OneofWrappers = []any{}
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_ca_psiphon_psiphond_server_packet_proto_rawDesc), len(file_ca_psiphon_psiphond_server_packet_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_ca_psiphon_psiphond_server_packet_proto_goTypes,
- DependencyIndexes: file_ca_psiphon_psiphond_server_packet_proto_depIdxs,
- MessageInfos: file_ca_psiphon_psiphond_server_packet_proto_msgTypes,
- }.Build()
- File_ca_psiphon_psiphond_server_packet_proto = out.File
- file_ca_psiphon_psiphond_server_packet_proto_goTypes = nil
- file_ca_psiphon_psiphond_server_packet_proto_depIdxs = nil
- }
|