server_packet.pb.go 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.10
  4. // protoc v6.33.0
  5. // source: ca.psiphon.psiphond/server_packet.proto
  6. package psiphond
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. unsafe "unsafe"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type ServerPacket struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. TcpIpv4ApplicationBytesDown *int64 `protobuf:"varint,100,opt,name=tcp_ipv4_application_bytes_down,json=tcpIpv4ApplicationBytesDown,proto3,oneof" json:"tcp_ipv4_application_bytes_down,omitempty"`
  23. TcpIpv4ApplicationBytesUp *int64 `protobuf:"varint,101,opt,name=tcp_ipv4_application_bytes_up,json=tcpIpv4ApplicationBytesUp,proto3,oneof" json:"tcp_ipv4_application_bytes_up,omitempty"`
  24. TcpIpv4BytesDown *int64 `protobuf:"varint,102,opt,name=tcp_ipv4_bytes_down,json=tcpIpv4BytesDown,proto3,oneof" json:"tcp_ipv4_bytes_down,omitempty"`
  25. TcpIpv4BytesUp *int64 `protobuf:"varint,103,opt,name=tcp_ipv4_bytes_up,json=tcpIpv4BytesUp,proto3,oneof" json:"tcp_ipv4_bytes_up,omitempty"`
  26. TcpIpv4PacketsDown *int64 `protobuf:"varint,104,opt,name=tcp_ipv4_packets_down,json=tcpIpv4PacketsDown,proto3,oneof" json:"tcp_ipv4_packets_down,omitempty"`
  27. TcpIpv4PacketsUp *int64 `protobuf:"varint,105,opt,name=tcp_ipv4_packets_up,json=tcpIpv4PacketsUp,proto3,oneof" json:"tcp_ipv4_packets_up,omitempty"`
  28. TcpIpv6ApplicationBytesDown *int64 `protobuf:"varint,106,opt,name=tcp_ipv6_application_bytes_down,json=tcpIpv6ApplicationBytesDown,proto3,oneof" json:"tcp_ipv6_application_bytes_down,omitempty"`
  29. TcpIpv6ApplicationBytesUp *int64 `protobuf:"varint,107,opt,name=tcp_ipv6_application_bytes_up,json=tcpIpv6ApplicationBytesUp,proto3,oneof" json:"tcp_ipv6_application_bytes_up,omitempty"`
  30. TcpIpv6BytesDown *int64 `protobuf:"varint,108,opt,name=tcp_ipv6_bytes_down,json=tcpIpv6BytesDown,proto3,oneof" json:"tcp_ipv6_bytes_down,omitempty"`
  31. TcpIpv6BytesUp *int64 `protobuf:"varint,109,opt,name=tcp_ipv6_bytes_up,json=tcpIpv6BytesUp,proto3,oneof" json:"tcp_ipv6_bytes_up,omitempty"`
  32. TcpIpv6PacketsDown *int64 `protobuf:"varint,110,opt,name=tcp_ipv6_packets_down,json=tcpIpv6PacketsDown,proto3,oneof" json:"tcp_ipv6_packets_down,omitempty"`
  33. TcpIpv6PacketsUp *int64 `protobuf:"varint,111,opt,name=tcp_ipv6_packets_up,json=tcpIpv6PacketsUp,proto3,oneof" json:"tcp_ipv6_packets_up,omitempty"`
  34. UdpIpv4ApplicationBytesDown *int64 `protobuf:"varint,112,opt,name=udp_ipv4_application_bytes_down,json=udpIpv4ApplicationBytesDown,proto3,oneof" json:"udp_ipv4_application_bytes_down,omitempty"`
  35. UdpIpv4ApplicationBytesUp *int64 `protobuf:"varint,113,opt,name=udp_ipv4_application_bytes_up,json=udpIpv4ApplicationBytesUp,proto3,oneof" json:"udp_ipv4_application_bytes_up,omitempty"`
  36. UdpIpv4BytesDown *int64 `protobuf:"varint,114,opt,name=udp_ipv4_bytes_down,json=udpIpv4BytesDown,proto3,oneof" json:"udp_ipv4_bytes_down,omitempty"`
  37. UdpIpv4BytesUp *int64 `protobuf:"varint,115,opt,name=udp_ipv4_bytes_up,json=udpIpv4BytesUp,proto3,oneof" json:"udp_ipv4_bytes_up,omitempty"`
  38. UdpIpv4PacketsDown *int64 `protobuf:"varint,116,opt,name=udp_ipv4_packets_down,json=udpIpv4PacketsDown,proto3,oneof" json:"udp_ipv4_packets_down,omitempty"`
  39. UdpIpv4PacketsUp *int64 `protobuf:"varint,117,opt,name=udp_ipv4_packets_up,json=udpIpv4PacketsUp,proto3,oneof" json:"udp_ipv4_packets_up,omitempty"`
  40. UdpIpv6ApplicationBytesDown *int64 `protobuf:"varint,118,opt,name=udp_ipv6_application_bytes_down,json=udpIpv6ApplicationBytesDown,proto3,oneof" json:"udp_ipv6_application_bytes_down,omitempty"`
  41. UdpIpv6ApplicationBytesUp *int64 `protobuf:"varint,119,opt,name=udp_ipv6_application_bytes_up,json=udpIpv6ApplicationBytesUp,proto3,oneof" json:"udp_ipv6_application_bytes_up,omitempty"`
  42. UdpIpv6BytesDown *int64 `protobuf:"varint,120,opt,name=udp_ipv6_bytes_down,json=udpIpv6BytesDown,proto3,oneof" json:"udp_ipv6_bytes_down,omitempty"`
  43. UdpIpv6BytesUp *int64 `protobuf:"varint,121,opt,name=udp_ipv6_bytes_up,json=udpIpv6BytesUp,proto3,oneof" json:"udp_ipv6_bytes_up,omitempty"`
  44. UdpIpv6PacketsDown *int64 `protobuf:"varint,122,opt,name=udp_ipv6_packets_down,json=udpIpv6PacketsDown,proto3,oneof" json:"udp_ipv6_packets_down,omitempty"`
  45. UdpIpv6PacketsUp *int64 `protobuf:"varint,123,opt,name=udp_ipv6_packets_up,json=udpIpv6PacketsUp,proto3,oneof" json:"udp_ipv6_packets_up,omitempty"`
  46. unknownFields protoimpl.UnknownFields
  47. sizeCache protoimpl.SizeCache
  48. }
  49. func (x *ServerPacket) Reset() {
  50. *x = ServerPacket{}
  51. mi := &file_ca_psiphon_psiphond_server_packet_proto_msgTypes[0]
  52. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  53. ms.StoreMessageInfo(mi)
  54. }
  55. func (x *ServerPacket) String() string {
  56. return protoimpl.X.MessageStringOf(x)
  57. }
  58. func (*ServerPacket) ProtoMessage() {}
  59. func (x *ServerPacket) ProtoReflect() protoreflect.Message {
  60. mi := &file_ca_psiphon_psiphond_server_packet_proto_msgTypes[0]
  61. if x != nil {
  62. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  63. if ms.LoadMessageInfo() == nil {
  64. ms.StoreMessageInfo(mi)
  65. }
  66. return ms
  67. }
  68. return mi.MessageOf(x)
  69. }
  70. // Deprecated: Use ServerPacket.ProtoReflect.Descriptor instead.
  71. func (*ServerPacket) Descriptor() ([]byte, []int) {
  72. return file_ca_psiphon_psiphond_server_packet_proto_rawDescGZIP(), []int{0}
  73. }
  74. func (x *ServerPacket) GetTcpIpv4ApplicationBytesDown() int64 {
  75. if x != nil && x.TcpIpv4ApplicationBytesDown != nil {
  76. return *x.TcpIpv4ApplicationBytesDown
  77. }
  78. return 0
  79. }
  80. func (x *ServerPacket) GetTcpIpv4ApplicationBytesUp() int64 {
  81. if x != nil && x.TcpIpv4ApplicationBytesUp != nil {
  82. return *x.TcpIpv4ApplicationBytesUp
  83. }
  84. return 0
  85. }
  86. func (x *ServerPacket) GetTcpIpv4BytesDown() int64 {
  87. if x != nil && x.TcpIpv4BytesDown != nil {
  88. return *x.TcpIpv4BytesDown
  89. }
  90. return 0
  91. }
  92. func (x *ServerPacket) GetTcpIpv4BytesUp() int64 {
  93. if x != nil && x.TcpIpv4BytesUp != nil {
  94. return *x.TcpIpv4BytesUp
  95. }
  96. return 0
  97. }
  98. func (x *ServerPacket) GetTcpIpv4PacketsDown() int64 {
  99. if x != nil && x.TcpIpv4PacketsDown != nil {
  100. return *x.TcpIpv4PacketsDown
  101. }
  102. return 0
  103. }
  104. func (x *ServerPacket) GetTcpIpv4PacketsUp() int64 {
  105. if x != nil && x.TcpIpv4PacketsUp != nil {
  106. return *x.TcpIpv4PacketsUp
  107. }
  108. return 0
  109. }
  110. func (x *ServerPacket) GetTcpIpv6ApplicationBytesDown() int64 {
  111. if x != nil && x.TcpIpv6ApplicationBytesDown != nil {
  112. return *x.TcpIpv6ApplicationBytesDown
  113. }
  114. return 0
  115. }
  116. func (x *ServerPacket) GetTcpIpv6ApplicationBytesUp() int64 {
  117. if x != nil && x.TcpIpv6ApplicationBytesUp != nil {
  118. return *x.TcpIpv6ApplicationBytesUp
  119. }
  120. return 0
  121. }
  122. func (x *ServerPacket) GetTcpIpv6BytesDown() int64 {
  123. if x != nil && x.TcpIpv6BytesDown != nil {
  124. return *x.TcpIpv6BytesDown
  125. }
  126. return 0
  127. }
  128. func (x *ServerPacket) GetTcpIpv6BytesUp() int64 {
  129. if x != nil && x.TcpIpv6BytesUp != nil {
  130. return *x.TcpIpv6BytesUp
  131. }
  132. return 0
  133. }
  134. func (x *ServerPacket) GetTcpIpv6PacketsDown() int64 {
  135. if x != nil && x.TcpIpv6PacketsDown != nil {
  136. return *x.TcpIpv6PacketsDown
  137. }
  138. return 0
  139. }
  140. func (x *ServerPacket) GetTcpIpv6PacketsUp() int64 {
  141. if x != nil && x.TcpIpv6PacketsUp != nil {
  142. return *x.TcpIpv6PacketsUp
  143. }
  144. return 0
  145. }
  146. func (x *ServerPacket) GetUdpIpv4ApplicationBytesDown() int64 {
  147. if x != nil && x.UdpIpv4ApplicationBytesDown != nil {
  148. return *x.UdpIpv4ApplicationBytesDown
  149. }
  150. return 0
  151. }
  152. func (x *ServerPacket) GetUdpIpv4ApplicationBytesUp() int64 {
  153. if x != nil && x.UdpIpv4ApplicationBytesUp != nil {
  154. return *x.UdpIpv4ApplicationBytesUp
  155. }
  156. return 0
  157. }
  158. func (x *ServerPacket) GetUdpIpv4BytesDown() int64 {
  159. if x != nil && x.UdpIpv4BytesDown != nil {
  160. return *x.UdpIpv4BytesDown
  161. }
  162. return 0
  163. }
  164. func (x *ServerPacket) GetUdpIpv4BytesUp() int64 {
  165. if x != nil && x.UdpIpv4BytesUp != nil {
  166. return *x.UdpIpv4BytesUp
  167. }
  168. return 0
  169. }
  170. func (x *ServerPacket) GetUdpIpv4PacketsDown() int64 {
  171. if x != nil && x.UdpIpv4PacketsDown != nil {
  172. return *x.UdpIpv4PacketsDown
  173. }
  174. return 0
  175. }
  176. func (x *ServerPacket) GetUdpIpv4PacketsUp() int64 {
  177. if x != nil && x.UdpIpv4PacketsUp != nil {
  178. return *x.UdpIpv4PacketsUp
  179. }
  180. return 0
  181. }
  182. func (x *ServerPacket) GetUdpIpv6ApplicationBytesDown() int64 {
  183. if x != nil && x.UdpIpv6ApplicationBytesDown != nil {
  184. return *x.UdpIpv6ApplicationBytesDown
  185. }
  186. return 0
  187. }
  188. func (x *ServerPacket) GetUdpIpv6ApplicationBytesUp() int64 {
  189. if x != nil && x.UdpIpv6ApplicationBytesUp != nil {
  190. return *x.UdpIpv6ApplicationBytesUp
  191. }
  192. return 0
  193. }
  194. func (x *ServerPacket) GetUdpIpv6BytesDown() int64 {
  195. if x != nil && x.UdpIpv6BytesDown != nil {
  196. return *x.UdpIpv6BytesDown
  197. }
  198. return 0
  199. }
  200. func (x *ServerPacket) GetUdpIpv6BytesUp() int64 {
  201. if x != nil && x.UdpIpv6BytesUp != nil {
  202. return *x.UdpIpv6BytesUp
  203. }
  204. return 0
  205. }
  206. func (x *ServerPacket) GetUdpIpv6PacketsDown() int64 {
  207. if x != nil && x.UdpIpv6PacketsDown != nil {
  208. return *x.UdpIpv6PacketsDown
  209. }
  210. return 0
  211. }
  212. func (x *ServerPacket) GetUdpIpv6PacketsUp() int64 {
  213. if x != nil && x.UdpIpv6PacketsUp != nil {
  214. return *x.UdpIpv6PacketsUp
  215. }
  216. return 0
  217. }
  218. var File_ca_psiphon_psiphond_server_packet_proto protoreflect.FileDescriptor
  219. const file_ca_psiphon_psiphond_server_packet_proto_rawDesc = "" +
  220. "\n" +
  221. "'ca.psiphon.psiphond/server_packet.proto\x12\x13ca.psiphon.psiphond\"\xae\x10\n" +
  222. "\fServerPacket\x12I\n" +
  223. "\x1ftcp_ipv4_application_bytes_down\x18d \x01(\x03H\x00R\x1btcpIpv4ApplicationBytesDown\x88\x01\x01\x12E\n" +
  224. "\x1dtcp_ipv4_application_bytes_up\x18e \x01(\x03H\x01R\x19tcpIpv4ApplicationBytesUp\x88\x01\x01\x122\n" +
  225. "\x13tcp_ipv4_bytes_down\x18f \x01(\x03H\x02R\x10tcpIpv4BytesDown\x88\x01\x01\x12.\n" +
  226. "\x11tcp_ipv4_bytes_up\x18g \x01(\x03H\x03R\x0etcpIpv4BytesUp\x88\x01\x01\x126\n" +
  227. "\x15tcp_ipv4_packets_down\x18h \x01(\x03H\x04R\x12tcpIpv4PacketsDown\x88\x01\x01\x122\n" +
  228. "\x13tcp_ipv4_packets_up\x18i \x01(\x03H\x05R\x10tcpIpv4PacketsUp\x88\x01\x01\x12I\n" +
  229. "\x1ftcp_ipv6_application_bytes_down\x18j \x01(\x03H\x06R\x1btcpIpv6ApplicationBytesDown\x88\x01\x01\x12E\n" +
  230. "\x1dtcp_ipv6_application_bytes_up\x18k \x01(\x03H\aR\x19tcpIpv6ApplicationBytesUp\x88\x01\x01\x122\n" +
  231. "\x13tcp_ipv6_bytes_down\x18l \x01(\x03H\bR\x10tcpIpv6BytesDown\x88\x01\x01\x12.\n" +
  232. "\x11tcp_ipv6_bytes_up\x18m \x01(\x03H\tR\x0etcpIpv6BytesUp\x88\x01\x01\x126\n" +
  233. "\x15tcp_ipv6_packets_down\x18n \x01(\x03H\n" +
  234. "R\x12tcpIpv6PacketsDown\x88\x01\x01\x122\n" +
  235. "\x13tcp_ipv6_packets_up\x18o \x01(\x03H\vR\x10tcpIpv6PacketsUp\x88\x01\x01\x12I\n" +
  236. "\x1fudp_ipv4_application_bytes_down\x18p \x01(\x03H\fR\x1budpIpv4ApplicationBytesDown\x88\x01\x01\x12E\n" +
  237. "\x1dudp_ipv4_application_bytes_up\x18q \x01(\x03H\rR\x19udpIpv4ApplicationBytesUp\x88\x01\x01\x122\n" +
  238. "\x13udp_ipv4_bytes_down\x18r \x01(\x03H\x0eR\x10udpIpv4BytesDown\x88\x01\x01\x12.\n" +
  239. "\x11udp_ipv4_bytes_up\x18s \x01(\x03H\x0fR\x0eudpIpv4BytesUp\x88\x01\x01\x126\n" +
  240. "\x15udp_ipv4_packets_down\x18t \x01(\x03H\x10R\x12udpIpv4PacketsDown\x88\x01\x01\x122\n" +
  241. "\x13udp_ipv4_packets_up\x18u \x01(\x03H\x11R\x10udpIpv4PacketsUp\x88\x01\x01\x12I\n" +
  242. "\x1fudp_ipv6_application_bytes_down\x18v \x01(\x03H\x12R\x1budpIpv6ApplicationBytesDown\x88\x01\x01\x12E\n" +
  243. "\x1dudp_ipv6_application_bytes_up\x18w \x01(\x03H\x13R\x19udpIpv6ApplicationBytesUp\x88\x01\x01\x122\n" +
  244. "\x13udp_ipv6_bytes_down\x18x \x01(\x03H\x14R\x10udpIpv6BytesDown\x88\x01\x01\x12.\n" +
  245. "\x11udp_ipv6_bytes_up\x18y \x01(\x03H\x15R\x0eudpIpv6BytesUp\x88\x01\x01\x126\n" +
  246. "\x15udp_ipv6_packets_down\x18z \x01(\x03H\x16R\x12udpIpv6PacketsDown\x88\x01\x01\x122\n" +
  247. "\x13udp_ipv6_packets_up\x18{ \x01(\x03H\x17R\x10udpIpv6PacketsUp\x88\x01\x01B\"\n" +
  248. " _tcp_ipv4_application_bytes_downB \n" +
  249. "\x1e_tcp_ipv4_application_bytes_upB\x16\n" +
  250. "\x14_tcp_ipv4_bytes_downB\x14\n" +
  251. "\x12_tcp_ipv4_bytes_upB\x18\n" +
  252. "\x16_tcp_ipv4_packets_downB\x16\n" +
  253. "\x14_tcp_ipv4_packets_upB\"\n" +
  254. " _tcp_ipv6_application_bytes_downB \n" +
  255. "\x1e_tcp_ipv6_application_bytes_upB\x16\n" +
  256. "\x14_tcp_ipv6_bytes_downB\x14\n" +
  257. "\x12_tcp_ipv6_bytes_upB\x18\n" +
  258. "\x16_tcp_ipv6_packets_downB\x16\n" +
  259. "\x14_tcp_ipv6_packets_upB\"\n" +
  260. " _udp_ipv4_application_bytes_downB \n" +
  261. "\x1e_udp_ipv4_application_bytes_upB\x16\n" +
  262. "\x14_udp_ipv4_bytes_downB\x14\n" +
  263. "\x12_udp_ipv4_bytes_upB\x18\n" +
  264. "\x16_udp_ipv4_packets_downB\x16\n" +
  265. "\x14_udp_ipv4_packets_upB\"\n" +
  266. " _udp_ipv6_application_bytes_downB \n" +
  267. "\x1e_udp_ipv6_application_bytes_upB\x16\n" +
  268. "\x14_udp_ipv6_bytes_downB\x14\n" +
  269. "\x12_udp_ipv6_bytes_upB\x18\n" +
  270. "\x16_udp_ipv6_packets_downB\x16\n" +
  271. "\x14_udp_ipv6_packets_upBHZFgithub.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/server/pb/psiphondb\x06proto3"
  272. var (
  273. file_ca_psiphon_psiphond_server_packet_proto_rawDescOnce sync.Once
  274. file_ca_psiphon_psiphond_server_packet_proto_rawDescData []byte
  275. )
  276. func file_ca_psiphon_psiphond_server_packet_proto_rawDescGZIP() []byte {
  277. file_ca_psiphon_psiphond_server_packet_proto_rawDescOnce.Do(func() {
  278. 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)))
  279. })
  280. return file_ca_psiphon_psiphond_server_packet_proto_rawDescData
  281. }
  282. var file_ca_psiphon_psiphond_server_packet_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  283. var file_ca_psiphon_psiphond_server_packet_proto_goTypes = []any{
  284. (*ServerPacket)(nil), // 0: ca.psiphon.psiphond.ServerPacket
  285. }
  286. var file_ca_psiphon_psiphond_server_packet_proto_depIdxs = []int32{
  287. 0, // [0:0] is the sub-list for method output_type
  288. 0, // [0:0] is the sub-list for method input_type
  289. 0, // [0:0] is the sub-list for extension type_name
  290. 0, // [0:0] is the sub-list for extension extendee
  291. 0, // [0:0] is the sub-list for field type_name
  292. }
  293. func init() { file_ca_psiphon_psiphond_server_packet_proto_init() }
  294. func file_ca_psiphon_psiphond_server_packet_proto_init() {
  295. if File_ca_psiphon_psiphond_server_packet_proto != nil {
  296. return
  297. }
  298. file_ca_psiphon_psiphond_server_packet_proto_msgTypes[0].OneofWrappers = []any{}
  299. type x struct{}
  300. out := protoimpl.TypeBuilder{
  301. File: protoimpl.DescBuilder{
  302. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  303. RawDescriptor: unsafe.Slice(unsafe.StringData(file_ca_psiphon_psiphond_server_packet_proto_rawDesc), len(file_ca_psiphon_psiphond_server_packet_proto_rawDesc)),
  304. NumEnums: 0,
  305. NumMessages: 1,
  306. NumExtensions: 0,
  307. NumServices: 0,
  308. },
  309. GoTypes: file_ca_psiphon_psiphond_server_packet_proto_goTypes,
  310. DependencyIndexes: file_ca_psiphon_psiphond_server_packet_proto_depIdxs,
  311. MessageInfos: file_ca_psiphon_psiphond_server_packet_proto_msgTypes,
  312. }.Build()
  313. File_ca_psiphon_psiphond_server_packet_proto = out.File
  314. file_ca_psiphon_psiphond_server_packet_proto_goTypes = nil
  315. file_ca_psiphon_psiphond_server_packet_proto_depIdxs = nil
  316. }