package logger
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
descriptorpb "google.golang.org/protobuf/types/descriptorpb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type Sensitivity int32
const (
Sensitivity_SENSITIVITY_UNSPECIFIED Sensitivity = 0
Sensitivity_SENSITIVITY_PII Sensitivity = 1
Sensitivity_SENSITIVITY_SECRET Sensitivity = 2
)
var (
Sensitivity_name = map[int32]string{
0: "SENSITIVITY_UNSPECIFIED",
1: "SENSITIVITY_PII",
2: "SENSITIVITY_SECRET",
}
Sensitivity_value = map[string]int32{
"SENSITIVITY_UNSPECIFIED": 0,
"SENSITIVITY_PII": 1,
"SENSITIVITY_SECRET": 2,
}
)
func (x Sensitivity) Enum() *Sensitivity {
p := new(Sensitivity)
*p = x
return p
}
func (x Sensitivity) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Sensitivity) Descriptor() protoreflect.EnumDescriptor {
return file_logger_options_proto_enumTypes[0].Descriptor()
}
func (Sensitivity) Type() protoreflect.EnumType {
return &file_logger_options_proto_enumTypes[0]
}
func (x Sensitivity) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
func (Sensitivity) EnumDescriptor() ([]byte, []int) {
return file_logger_options_proto_rawDescGZIP(), []int{0}
}
var file_logger_options_proto_extTypes = []protoimpl.ExtensionInfo{
{
ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: (*string)(nil),
Field: 1286,
Name: "logger.redact_format",
Tag: "bytes,1286,opt,name=redact_format",
Filename: "logger/options.proto",
},
{
ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: (*string)(nil),
Field: 1287,
Name: "logger.name",
Tag: "bytes,1287,opt,name=name",
Filename: "logger/options.proto",
},
{
ExtendedType: (*descriptorpb.FieldOptions)(nil),
ExtensionType: (*Sensitivity)(nil),
Field: 1288,
Name: "logger.sensitivity",
Tag: "varint,1288,opt,name=sensitivity,enum=logger.Sensitivity",
Filename: "logger/options.proto",
},
}
var (
E_RedactFormat = &file_logger_options_proto_extTypes[0]
E_Name = &file_logger_options_proto_extTypes[1]
E_Sensitivity = &file_logger_options_proto_extTypes[2]
)
var File_logger_options_proto protoreflect.FileDescriptor
const file_logger_options_proto_rawDesc = "" +
"\n" +
"\x14logger/options.proto\x12\x06logger\x1a google/protobuf/descriptor.proto*W\n" +
"\vSensitivity\x12\x1b\n" +
"\x17SENSITIVITY_UNSPECIFIED\x10\x00\x12\x13\n" +
"\x0fSENSITIVITY_PII\x10\x01\x12\x16\n" +
"\x12SENSITIVITY_SECRET\x10\x02:C\n" +
"\rredact_format\x12\x1d.google.protobuf.FieldOptions\x18\x86\n" +
" \x01(\tR\fredactFormat:2\n" +
"\x04name\x12\x1d.google.protobuf.FieldOptions\x18\x87\n" +
" \x01(\tR\x04name:U\n" +
"\vsensitivity\x12\x1d.google.protobuf.FieldOptions\x18\x88\n" +
" \x01(\x0e2\x13.logger.SensitivityR\vsensitivityBMZ*github.com/livekit/protocol/livekit/logger\xaa\x02\rLiveKit.Proto\xea\x02\x0eLiveKit::Protob\x06proto3"
var (
file_logger_options_proto_rawDescOnce sync.Once
file_logger_options_proto_rawDescData []byte
)
func file_logger_options_proto_rawDescGZIP() []byte {
file_logger_options_proto_rawDescOnce.Do(func() {
file_logger_options_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_logger_options_proto_rawDesc), len(file_logger_options_proto_rawDesc)))
})
return file_logger_options_proto_rawDescData
}
var file_logger_options_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_logger_options_proto_goTypes = []any{
(Sensitivity)(0), (*descriptorpb.FieldOptions)(nil), }
var file_logger_options_proto_depIdxs = []int32{
1, 1, 1, 0, 4, 4, 3, 0, 0, }
func init() { file_logger_options_proto_init() }
func file_logger_options_proto_init() {
if File_logger_options_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_logger_options_proto_rawDesc), len(file_logger_options_proto_rawDesc)),
NumEnums: 1,
NumMessages: 0,
NumExtensions: 3,
NumServices: 0,
},
GoTypes: file_logger_options_proto_goTypes,
DependencyIndexes: file_logger_options_proto_depIdxs,
EnumInfos: file_logger_options_proto_enumTypes,
ExtensionInfos: file_logger_options_proto_extTypes,
}.Build()
File_logger_options_proto = out.File
file_logger_options_proto_goTypes = nil
file_logger_options_proto_depIdxs = nil
}