network.pb.go 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. // Code generated by protoc-gen-go.
  2. // source: v2ray.com/core/common/net/network.proto
  3. // DO NOT EDIT!
  4. package net
  5. import proto "github.com/golang/protobuf/proto"
  6. import fmt "fmt"
  7. import math "math"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. type Network int32
  13. const (
  14. Network_Unknown Network = 0
  15. Network_RawTCP Network = 1
  16. Network_TCP Network = 2
  17. Network_UDP Network = 3
  18. Network_KCP Network = 4
  19. Network_WebSocket Network = 5
  20. )
  21. var Network_name = map[int32]string{
  22. 0: "Unknown",
  23. 1: "RawTCP",
  24. 2: "TCP",
  25. 3: "UDP",
  26. 4: "KCP",
  27. 5: "WebSocket",
  28. }
  29. var Network_value = map[string]int32{
  30. "Unknown": 0,
  31. "RawTCP": 1,
  32. "TCP": 2,
  33. "UDP": 3,
  34. "KCP": 4,
  35. "WebSocket": 5,
  36. }
  37. func (x Network) String() string {
  38. return proto.EnumName(Network_name, int32(x))
  39. }
  40. func (Network) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
  41. func init() {
  42. proto.RegisterEnum("com.v2ray.core.common.net.Network", Network_name, Network_value)
  43. }
  44. func init() { proto.RegisterFile("v2ray.com/core/common/net/network.proto", fileDescriptor2) }
  45. var fileDescriptor2 = []byte{
  46. // 159 bytes of a gzipped FileDescriptorProto
  47. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x52, 0x2f, 0x33, 0x2a, 0x4a,
  48. 0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0xce, 0xcf, 0xcd, 0xcd,
  49. 0xcf, 0xd3, 0xcf, 0x4b, 0x2d, 0x01, 0xe1, 0xf2, 0xfc, 0xa2, 0x6c, 0xbd, 0x82, 0xa2, 0xfc, 0x92,
  50. 0x7c, 0x21, 0xc9, 0xe4, 0xfc, 0x5c, 0x3d, 0x98, 0xe2, 0xa2, 0x54, 0x3d, 0x88, 0x42, 0xbd, 0xbc,
  51. 0xd4, 0x12, 0x2d, 0x1f, 0x2e, 0x76, 0x3f, 0x88, 0x5a, 0x21, 0x6e, 0x2e, 0xf6, 0xd0, 0xbc, 0xec,
  52. 0xbc, 0xfc, 0xf2, 0x3c, 0x01, 0x06, 0x21, 0x2e, 0x2e, 0xb6, 0xa0, 0xc4, 0xf2, 0x10, 0xe7, 0x00,
  53. 0x01, 0x46, 0x21, 0x76, 0x2e, 0x66, 0x10, 0x83, 0x09, 0xc4, 0x08, 0x75, 0x09, 0x10, 0x60, 0x06,
  54. 0x31, 0xbc, 0x9d, 0x03, 0x04, 0x58, 0x84, 0x78, 0xb9, 0x38, 0xc3, 0x53, 0x93, 0x82, 0xf3, 0x93,
  55. 0xb3, 0x53, 0x4b, 0x04, 0x58, 0x9d, 0x58, 0xa3, 0x98, 0xf3, 0x52, 0x4b, 0x92, 0xd8, 0xc0, 0xd6,
  56. 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x83, 0xa9, 0x75, 0xb3, 0xa1, 0x00, 0x00, 0x00,
  57. }