github.com/eagleql/xray-core@v1.4.4/common/log/log.pb.go (about)

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