github.com/moqsien/xraycore@v1.8.5/common/log/log.pb.go (about)

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