log.pb.go 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.17.3
  5. // source: common/log/log.proto
  6. package log
  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. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type Severity int32
  20. const (
  21. Severity_Unknown Severity = 0
  22. Severity_Error Severity = 1
  23. Severity_Warning Severity = 2
  24. Severity_Info Severity = 3
  25. Severity_Debug Severity = 4
  26. )
  27. // Enum value maps for Severity.
  28. var (
  29. Severity_name = map[int32]string{
  30. 0: "Unknown",
  31. 1: "Error",
  32. 2: "Warning",
  33. 3: "Info",
  34. 4: "Debug",
  35. }
  36. Severity_value = map[string]int32{
  37. "Unknown": 0,
  38. "Error": 1,
  39. "Warning": 2,
  40. "Info": 3,
  41. "Debug": 4,
  42. }
  43. )
  44. func (x Severity) Enum() *Severity {
  45. p := new(Severity)
  46. *p = x
  47. return p
  48. }
  49. func (x Severity) String() string {
  50. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  51. }
  52. func (Severity) Descriptor() protoreflect.EnumDescriptor {
  53. return file_common_log_log_proto_enumTypes[0].Descriptor()
  54. }
  55. func (Severity) Type() protoreflect.EnumType {
  56. return &file_common_log_log_proto_enumTypes[0]
  57. }
  58. func (x Severity) Number() protoreflect.EnumNumber {
  59. return protoreflect.EnumNumber(x)
  60. }
  61. // Deprecated: Use Severity.Descriptor instead.
  62. func (Severity) EnumDescriptor() ([]byte, []int) {
  63. return file_common_log_log_proto_rawDescGZIP(), []int{0}
  64. }
  65. var File_common_log_log_proto protoreflect.FileDescriptor
  66. var file_common_log_log_proto_rawDesc = []byte{
  67. 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6c, 0x6f, 0x67, 0x2f, 0x6c, 0x6f, 0x67,
  68. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  69. 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6c, 0x6f, 0x67, 0x2a, 0x44, 0x0a,
  70. 0x08, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x6e, 0x6b,
  71. 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10,
  72. 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 0x08,
  73. 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x65, 0x62, 0x75,
  74. 0x67, 0x10, 0x04, 0x42, 0x60, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
  75. 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6c, 0x6f, 0x67,
  76. 0x50, 0x01, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76,
  77. 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f,
  78. 0x76, 0x34, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6c, 0x6f, 0x67, 0xaa, 0x02, 0x15,
  79. 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
  80. 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  81. }
  82. var (
  83. file_common_log_log_proto_rawDescOnce sync.Once
  84. file_common_log_log_proto_rawDescData = file_common_log_log_proto_rawDesc
  85. )
  86. func file_common_log_log_proto_rawDescGZIP() []byte {
  87. file_common_log_log_proto_rawDescOnce.Do(func() {
  88. file_common_log_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_log_log_proto_rawDescData)
  89. })
  90. return file_common_log_log_proto_rawDescData
  91. }
  92. var file_common_log_log_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  93. var file_common_log_log_proto_goTypes = []interface{}{
  94. (Severity)(0), // 0: v2ray.core.common.log.Severity
  95. }
  96. var file_common_log_log_proto_depIdxs = []int32{
  97. 0, // [0:0] is the sub-list for method output_type
  98. 0, // [0:0] is the sub-list for method input_type
  99. 0, // [0:0] is the sub-list for extension type_name
  100. 0, // [0:0] is the sub-list for extension extendee
  101. 0, // [0:0] is the sub-list for field type_name
  102. }
  103. func init() { file_common_log_log_proto_init() }
  104. func file_common_log_log_proto_init() {
  105. if File_common_log_log_proto != nil {
  106. return
  107. }
  108. type x struct{}
  109. out := protoimpl.TypeBuilder{
  110. File: protoimpl.DescBuilder{
  111. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  112. RawDescriptor: file_common_log_log_proto_rawDesc,
  113. NumEnums: 1,
  114. NumMessages: 0,
  115. NumExtensions: 0,
  116. NumServices: 0,
  117. },
  118. GoTypes: file_common_log_log_proto_goTypes,
  119. DependencyIndexes: file_common_log_log_proto_depIdxs,
  120. EnumInfos: file_common_log_log_proto_enumTypes,
  121. }.Build()
  122. File_common_log_log_proto = out.File
  123. file_common_log_log_proto_rawDesc = nil
  124. file_common_log_log_proto_goTypes = nil
  125. file_common_log_log_proto_depIdxs = nil
  126. }