Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

143 KB
Raw Blame
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.12
// 	protoc        (unknown)
// source: v1/setting_service.proto

package v1

import (
	_ "google.golang.org/genproto/googleapis/api/annotations"
	color "google.golang.org/genproto/googleapis/type/color"
	expr "google.golang.org/genproto/googleapis/type/expr"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	durationpb "google.golang.org/protobuf/types/known/durationpb"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type DatabaseChangeMode int32

const (
	DatabaseChangeMode_DATABASE_CHANGE_MODE_UNSPECIFIED DatabaseChangeMode = 0
	// A more advanced database change process, including custom approval workflows and other advanced features.
	// Default to this mode.
	DatabaseChangeMode_PIPELINE DatabaseChangeMode = 1
	// A simple database change process in SQL editor. Users can execute SQL directly.
	DatabaseChangeMode_EDITOR DatabaseChangeMode = 2
)

// Enum value maps for DatabaseChangeMode.
var (
	DatabaseChangeMode_name = map[int32]string{
		0: "DATABASE_CHANGE_MODE_UNSPECIFIED",
		1: "PIPELINE",
		2: "EDITOR",
	}
	DatabaseChangeMode_value = map[string]int32{
		"DATABASE_CHANGE_MODE_UNSPECIFIED": 0,
		"PIPELINE":                         1,
		"EDITOR":                           2,
	}
)

func (x DatabaseChangeMode) Enum() *DatabaseChangeMode {
	p := new(DatabaseChangeMode)
	*p = x
	return p
}

func (x DatabaseChangeMode) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (DatabaseChangeMode) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_setting_service_proto_enumTypes[0].Descriptor()
}

func (DatabaseChangeMode) Type() protoreflect.EnumType {
	return &file_v1_setting_service_proto_enumTypes[0]
}

func (x DatabaseChangeMode) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use DatabaseChangeMode.Descriptor instead.
func (DatabaseChangeMode) EnumDescriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{0}
}

type Setting_SettingName int32

const (
	Setting_SETTING_NAME_UNSPECIFIED Setting_SettingName = 0
	Setting_WORKSPACE_PROFILE        Setting_SettingName = 1
	Setting_WORKSPACE_APPROVAL       Setting_SettingName = 2
	Setting_APP_IM                   Setting_SettingName = 3
	Setting_AI                       Setting_SettingName = 4
	Setting_DATA_CLASSIFICATION      Setting_SettingName = 5
	Setting_SEMANTIC_TYPES           Setting_SettingName = 6
	Setting_ENVIRONMENT              Setting_SettingName = 7
	Setting_EMAIL                    Setting_SettingName = 8
	Setting_MCP                      Setting_SettingName = 9
	Setting_EXPORT                   Setting_SettingName = 10
)

// Enum value maps for Setting_SettingName.
var (
	Setting_SettingName_name = map[int32]string{
		0:  "SETTING_NAME_UNSPECIFIED",
		1:  "WORKSPACE_PROFILE",
		2:  "WORKSPACE_APPROVAL",
		3:  "APP_IM",
		4:  "AI",
		5:  "DATA_CLASSIFICATION",
		6:  "SEMANTIC_TYPES",
		7:  "ENVIRONMENT",
		8:  "EMAIL",
		9:  "MCP",
		10: "EXPORT",
	}
	Setting_SettingName_value = map[string]int32{
		"SETTING_NAME_UNSPECIFIED": 0,
		"WORKSPACE_PROFILE":        1,
		"WORKSPACE_APPROVAL":       2,
		"APP_IM":                   3,
		"AI":                       4,
		"DATA_CLASSIFICATION":      5,
		"SEMANTIC_TYPES":           6,
		"ENVIRONMENT":              7,
		"EMAIL":                    8,
		"MCP":                      9,
		"EXPORT":                   10,
	}
)

func (x Setting_SettingName) Enum() *Setting_SettingName {
	p := new(Setting_SettingName)
	*p = x
	return p
}

func (x Setting_SettingName) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Setting_SettingName) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_setting_service_proto_enumTypes[1].Descriptor()
}

func (Setting_SettingName) Type() protoreflect.EnumType {
	return &file_v1_setting_service_proto_enumTypes[1]
}

func (x Setting_SettingName) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Setting_SettingName.Descriptor instead.
func (Setting_SettingName) EnumDescriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{5, 0}
}

// Capability is the ceiling: a session runs at this level or lower.
// Writing CAPABILITY_UNSPECIFIED, explicitly or by leaving
// value.mcp.capability out of the update mask, is rejected.
type MCPSetting_Capability int32

const (
	MCPSetting_CAPABILITY_UNSPECIFIED MCPSetting_Capability = 0
	// MCP connections are rejected.
	MCPSetting_DISABLED MCPSetting_Capability = 1
	// MCP may inspect metadata and run read-only queries. A session opens, and
	// what it may do is decided per method by the capability gate and per
	// statement by the SQL clamp: a request holding a statement that is not a
	// read is refused whole, and where the engine's driver has one the
	// database session is opened read-only as well.
	MCPSetting_READ_ONLY MCPSetting_Capability = 3
	// MCP may perform mutations, still bounded by the user's RBAC.
	MCPSetting_READ_WRITE MCPSetting_Capability = 4
)

// Enum value maps for MCPSetting_Capability.
var (
	MCPSetting_Capability_name = map[int32]string{
		0: "CAPABILITY_UNSPECIFIED",
		1: "DISABLED",
		3: "READ_ONLY",
		4: "READ_WRITE",
	}
	MCPSetting_Capability_value = map[string]int32{
		"CAPABILITY_UNSPECIFIED": 0,
		"DISABLED":               1,
		"READ_ONLY":              3,
		"READ_WRITE":             4,
	}
)

func (x MCPSetting_Capability) Enum() *MCPSetting_Capability {
	p := new(MCPSetting_Capability)
	*p = x
	return p
}

func (x MCPSetting_Capability) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (MCPSetting_Capability) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_setting_service_proto_enumTypes[2].Descriptor()
}

func (MCPSetting_Capability) Type() protoreflect.EnumType {
	return &file_v1_setting_service_proto_enumTypes[2]
}

func (x MCPSetting_Capability) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use MCPSetting_Capability.Descriptor instead.
func (MCPSetting_Capability) EnumDescriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{11, 0}
}

type WorkspaceApprovalSetting_Rule_Source int32

const (
	WorkspaceApprovalSetting_Rule_SOURCE_UNSPECIFIED WorkspaceApprovalSetting_Rule_Source = 0
	WorkspaceApprovalSetting_Rule_CHANGE_DATABASE    WorkspaceApprovalSetting_Rule_Source = 1
	WorkspaceApprovalSetting_Rule_CREATE_DATABASE    WorkspaceApprovalSetting_Rule_Source = 2
	WorkspaceApprovalSetting_Rule_REQUEST_ROLE       WorkspaceApprovalSetting_Rule_Source = 4
	WorkspaceApprovalSetting_Rule_REQUEST_ACCESS     WorkspaceApprovalSetting_Rule_Source = 5
)

// Enum value maps for WorkspaceApprovalSetting_Rule_Source.
var (
	WorkspaceApprovalSetting_Rule_Source_name = map[int32]string{
		0: "SOURCE_UNSPECIFIED",
		1: "CHANGE_DATABASE",
		2: "CREATE_DATABASE",
		4: "REQUEST_ROLE",
		5: "REQUEST_ACCESS",
	}
	WorkspaceApprovalSetting_Rule_Source_value = map[string]int32{
		"SOURCE_UNSPECIFIED": 0,
		"CHANGE_DATABASE":    1,
		"CREATE_DATABASE":    2,
		"REQUEST_ROLE":       4,
		"REQUEST_ACCESS":     5,
	}
)

func (x WorkspaceApprovalSetting_Rule_Source) Enum() *WorkspaceApprovalSetting_Rule_Source {
	p := new(WorkspaceApprovalSetting_Rule_Source)
	*p = x
	return p
}

func (x WorkspaceApprovalSetting_Rule_Source) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (WorkspaceApprovalSetting_Rule_Source) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_setting_service_proto_enumTypes[3].Descriptor()
}

func (WorkspaceApprovalSetting_Rule_Source) Type() protoreflect.EnumType {
	return &file_v1_setting_service_proto_enumTypes[3]
}

func (x WorkspaceApprovalSetting_Rule_Source) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use WorkspaceApprovalSetting_Rule_Source.Descriptor instead.
func (WorkspaceApprovalSetting_Rule_Source) EnumDescriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{14, 0, 0}
}

type Algorithm_InnerOuterMask_MaskType int32

const (
	Algorithm_InnerOuterMask_MASK_TYPE_UNSPECIFIED Algorithm_InnerOuterMask_MaskType = 0
	Algorithm_InnerOuterMask_INNER                 Algorithm_InnerOuterMask_MaskType = 1
	Algorithm_InnerOuterMask_OUTER                 Algorithm_InnerOuterMask_MaskType = 2
)

// Enum value maps for Algorithm_InnerOuterMask_MaskType.
var (
	Algorithm_InnerOuterMask_MaskType_name = map[int32]string{
		0: "MASK_TYPE_UNSPECIFIED",
		1: "INNER",
		2: "OUTER",
	}
	Algorithm_InnerOuterMask_MaskType_value = map[string]int32{
		"MASK_TYPE_UNSPECIFIED": 0,
		"INNER":                 1,
		"OUTER":                 2,
	}
)

func (x Algorithm_InnerOuterMask_MaskType) Enum() *Algorithm_InnerOuterMask_MaskType {
	p := new(Algorithm_InnerOuterMask_MaskType)
	*p = x
	return p
}

func (x Algorithm_InnerOuterMask_MaskType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Algorithm_InnerOuterMask_MaskType) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_setting_service_proto_enumTypes[4].Descriptor()
}

func (Algorithm_InnerOuterMask_MaskType) Type() protoreflect.EnumType {
	return &file_v1_setting_service_proto_enumTypes[4]
}

func (x Algorithm_InnerOuterMask_MaskType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Algorithm_InnerOuterMask_MaskType.Descriptor instead.
func (Algorithm_InnerOuterMask_MaskType) EnumDescriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{17, 3, 0}
}

type AISetting_Provider int32

const (
	AISetting_PROVIDER_UNSPECIFIED AISetting_Provider = 0
	AISetting_OPEN_AI              AISetting_Provider = 1
	AISetting_CLAUDE               AISetting_Provider = 2
	AISetting_GEMINI               AISetting_Provider = 3
	AISetting_AZURE_OPENAI         AISetting_Provider = 4
)

// Enum value maps for AISetting_Provider.
var (
	AISetting_Provider_name = map[int32]string{
		0: "PROVIDER_UNSPECIFIED",
		1: "OPEN_AI",
		2: "CLAUDE",
		3: "GEMINI",
		4: "AZURE_OPENAI",
	}
	AISetting_Provider_value = map[string]int32{
		"PROVIDER_UNSPECIFIED": 0,
		"OPEN_AI":              1,
		"CLAUDE":               2,
		"GEMINI":               3,
		"AZURE_OPENAI":         4,
	}
)

func (x AISetting_Provider) Enum() *AISetting_Provider {
	p := new(AISetting_Provider)
	*p = x
	return p
}

func (x AISetting_Provider) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AISetting_Provider) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_setting_service_proto_enumTypes[5].Descriptor()
}

func (AISetting_Provider) Type() protoreflect.EnumType {
	return &file_v1_setting_service_proto_enumTypes[5]
}

func (x AISetting_Provider) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AISetting_Provider.Descriptor instead.
func (AISetting_Provider) EnumDescriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{18, 0}
}

type EmailSetting_Type int32

const (
	EmailSetting_TYPE_UNSPECIFIED EmailSetting_Type = 0
	EmailSetting_SMTP             EmailSetting_Type = 1
)

// Enum value maps for EmailSetting_Type.
var (
	EmailSetting_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "SMTP",
	}
	EmailSetting_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"SMTP":             1,
	}
)

func (x EmailSetting_Type) Enum() *EmailSetting_Type {
	p := new(EmailSetting_Type)
	*p = x
	return p
}

func (x EmailSetting_Type) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (EmailSetting_Type) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_setting_service_proto_enumTypes[6].Descriptor()
}

func (EmailSetting_Type) Type() protoreflect.EnumType {
	return &file_v1_setting_service_proto_enumTypes[6]
}

func (x EmailSetting_Type) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use EmailSetting_Type.Descriptor instead.
func (EmailSetting_Type) EnumDescriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{20, 0}
}

type EmailSetting_SMTPConfig_Encryption int32

const (
	EmailSetting_SMTPConfig_ENCRYPTION_UNSPECIFIED EmailSetting_SMTPConfig_Encryption = 0
	EmailSetting_SMTPConfig_ENCRYPTION_NONE        EmailSetting_SMTPConfig_Encryption = 1
	EmailSetting_SMTPConfig_STARTTLS               EmailSetting_SMTPConfig_Encryption = 2
	EmailSetting_SMTPConfig_SSL_TLS                EmailSetting_SMTPConfig_Encryption = 3
)

// Enum value maps for EmailSetting_SMTPConfig_Encryption.
var (
	EmailSetting_SMTPConfig_Encryption_name = map[int32]string{
		0: "ENCRYPTION_UNSPECIFIED",
		1: "ENCRYPTION_NONE",
		2: "STARTTLS",
		3: "SSL_TLS",
	}
	EmailSetting_SMTPConfig_Encryption_value = map[string]int32{
		"ENCRYPTION_UNSPECIFIED": 0,
		"ENCRYPTION_NONE":        1,
		"STARTTLS":               2,
		"SSL_TLS":                3,
	}
)

func (x EmailSetting_SMTPConfig_Encryption) Enum() *EmailSetting_SMTPConfig_Encryption {
	p := new(EmailSetting_SMTPConfig_Encryption)
	*p = x
	return p
}

func (x EmailSetting_SMTPConfig_Encryption) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (EmailSetting_SMTPConfig_Encryption) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_setting_service_proto_enumTypes[7].Descriptor()
}

func (EmailSetting_SMTPConfig_Encryption) Type() protoreflect.EnumType {
	return &file_v1_setting_service_proto_enumTypes[7]
}

func (x EmailSetting_SMTPConfig_Encryption) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use EmailSetting_SMTPConfig_Encryption.Descriptor instead.
func (EmailSetting_SMTPConfig_Encryption) EnumDescriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{20, 0, 0}
}

type EmailSetting_SMTPConfig_Authentication int32

const (
	EmailSetting_SMTPConfig_AUTHENTICATION_UNSPECIFIED EmailSetting_SMTPConfig_Authentication = 0
	EmailSetting_SMTPConfig_AUTHENTICATION_NONE        EmailSetting_SMTPConfig_Authentication = 1
	EmailSetting_SMTPConfig_PLAIN                      EmailSetting_SMTPConfig_Authentication = 2
	EmailSetting_SMTPConfig_LOGIN                      EmailSetting_SMTPConfig_Authentication = 3
	EmailSetting_SMTPConfig_CRAM_MD5                   EmailSetting_SMTPConfig_Authentication = 4
)

// Enum value maps for EmailSetting_SMTPConfig_Authentication.
var (
	EmailSetting_SMTPConfig_Authentication_name = map[int32]string{
		0: "AUTHENTICATION_UNSPECIFIED",
		1: "AUTHENTICATION_NONE",
		2: "PLAIN",
		3: "LOGIN",
		4: "CRAM_MD5",
	}
	EmailSetting_SMTPConfig_Authentication_value = map[string]int32{
		"AUTHENTICATION_UNSPECIFIED": 0,
		"AUTHENTICATION_NONE":        1,
		"PLAIN":                      2,
		"LOGIN":                      3,
		"CRAM_MD5":                   4,
	}
)

func (x EmailSetting_SMTPConfig_Authentication) Enum() *EmailSetting_SMTPConfig_Authentication {
	p := new(EmailSetting_SMTPConfig_Authentication)
	*p = x
	return p
}

func (x EmailSetting_SMTPConfig_Authentication) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (EmailSetting_SMTPConfig_Authentication) Descriptor() protoreflect.EnumDescriptor {
	return file_v1_setting_service_proto_enumTypes[8].Descriptor()
}

func (EmailSetting_SMTPConfig_Authentication) Type() protoreflect.EnumType {
	return &file_v1_setting_service_proto_enumTypes[8]
}

func (x EmailSetting_SMTPConfig_Authentication) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use EmailSetting_SMTPConfig_Authentication.Descriptor instead.
func (EmailSetting_SMTPConfig_Authentication) EnumDescriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{20, 0, 1}
}

type ListSettingsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListSettingsRequest) Reset() {
	*x = ListSettingsRequest{}
	mi := &file_v1_setting_service_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListSettingsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListSettingsRequest) ProtoMessage() {}

func (x *ListSettingsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListSettingsRequest.ProtoReflect.Descriptor instead.
func (*ListSettingsRequest) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{0}
}

type ListSettingsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The settings from the specified request.
	Settings      []*Setting `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListSettingsResponse) Reset() {
	*x = ListSettingsResponse{}
	mi := &file_v1_setting_service_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListSettingsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListSettingsResponse) ProtoMessage() {}

func (x *ListSettingsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListSettingsResponse.ProtoReflect.Descriptor instead.
func (*ListSettingsResponse) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{1}
}

func (x *ListSettingsResponse) GetSettings() []*Setting {
	if x != nil {
		return x.Settings
	}
	return nil
}

// The request message for getting a setting.
type GetSettingRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The resource name of the setting.
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetSettingRequest) Reset() {
	*x = GetSettingRequest{}
	mi := &file_v1_setting_service_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetSettingRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetSettingRequest) ProtoMessage() {}

func (x *GetSettingRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetSettingRequest.ProtoReflect.Descriptor instead.
func (*GetSettingRequest) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{2}
}

func (x *GetSettingRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

// The response message for getting a setting.
type GetSettingResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Setting       *Setting               `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetSettingResponse) Reset() {
	*x = GetSettingResponse{}
	mi := &file_v1_setting_service_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetSettingResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetSettingResponse) ProtoMessage() {}

func (x *GetSettingResponse) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetSettingResponse.ProtoReflect.Descriptor instead.
func (*GetSettingResponse) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{3}
}

func (x *GetSettingResponse) GetSetting() *Setting {
	if x != nil {
		return x.Setting
	}
	return nil
}

// The request message for updating or creating a setting.
type UpdateSettingRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The setting to update.
	Setting *Setting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"`
	// validate_only is a flag to indicate whether to validate the setting value,
	// server would not persist the setting value if it is true.
	ValidateOnly  bool                   `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	AllowMissing  bool                   `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	UpdateMask    *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateSettingRequest) Reset() {
	*x = UpdateSettingRequest{}
	mi := &file_v1_setting_service_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UpdateSettingRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UpdateSettingRequest) ProtoMessage() {}

func (x *UpdateSettingRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use UpdateSettingRequest.ProtoReflect.Descriptor instead.
func (*UpdateSettingRequest) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{4}
}

func (x *UpdateSettingRequest) GetSetting() *Setting {
	if x != nil {
		return x.Setting
	}
	return nil
}

func (x *UpdateSettingRequest) GetValidateOnly() bool {
	if x != nil {
		return x.ValidateOnly
	}
	return false
}

func (x *UpdateSettingRequest) GetAllowMissing() bool {
	if x != nil {
		return x.AllowMissing
	}
	return false
}

func (x *UpdateSettingRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

// The schema of setting.
type Setting struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The resource name of the setting.
	// Format: settings/{setting}
	// Example: "settings/SEMANTIC_TYPES"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The configuration value of the setting.
	Value         *SettingValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Setting) Reset() {
	*x = Setting{}
	mi := &file_v1_setting_service_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Setting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Setting) ProtoMessage() {}

func (x *Setting) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Setting.ProtoReflect.Descriptor instead.
func (*Setting) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{5}
}

func (x *Setting) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *Setting) GetValue() *SettingValue {
	if x != nil {
		return x.Value
	}
	return nil
}

// The data in setting value.
type SettingValue struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Value:
	//
	//	*SettingValue_AppIm
	//	*SettingValue_WorkspaceProfile
	//	*SettingValue_WorkspaceApproval
	//	*SettingValue_DataClassification
	//	*SettingValue_SemanticType
	//	*SettingValue_Ai
	//	*SettingValue_Environment
	//	*SettingValue_Email
	//	*SettingValue_Mcp
	//	*SettingValue_Export
	Value         isSettingValue_Value `protobuf_oneof:"value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SettingValue) Reset() {
	*x = SettingValue{}
	mi := &file_v1_setting_service_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SettingValue) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SettingValue) ProtoMessage() {}

func (x *SettingValue) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[6]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SettingValue.ProtoReflect.Descriptor instead.
func (*SettingValue) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{6}
}

func (x *SettingValue) GetValue() isSettingValue_Value {
	if x != nil {
		return x.Value
	}
	return nil
}

func (x *SettingValue) GetAppIm() *AppIMSetting {
	if x != nil {
		if x, ok := x.Value.(*SettingValue_AppIm); ok {
			return x.AppIm
		}
	}
	return nil
}

func (x *SettingValue) GetWorkspaceProfile() *WorkspaceProfileSetting {
	if x != nil {
		if x, ok := x.Value.(*SettingValue_WorkspaceProfile); ok {
			return x.WorkspaceProfile
		}
	}
	return nil
}

func (x *SettingValue) GetWorkspaceApproval() *WorkspaceApprovalSetting {
	if x != nil {
		if x, ok := x.Value.(*SettingValue_WorkspaceApproval); ok {
			return x.WorkspaceApproval
		}
	}
	return nil
}

func (x *SettingValue) GetDataClassification() *DataClassificationSetting {
	if x != nil {
		if x, ok := x.Value.(*SettingValue_DataClassification); ok {
			return x.DataClassification
		}
	}
	return nil
}

func (x *SettingValue) GetSemanticType() *SemanticTypeSetting {
	if x != nil {
		if x, ok := x.Value.(*SettingValue_SemanticType); ok {
			return x.SemanticType
		}
	}
	return nil
}

func (x *SettingValue) GetAi() *AISetting {
	if x != nil {
		if x, ok := x.Value.(*SettingValue_Ai); ok {
			return x.Ai
		}
	}
	return nil
}

func (x *SettingValue) GetEnvironment() *EnvironmentSetting {
	if x != nil {
		if x, ok := x.Value.(*SettingValue_Environment); ok {
			return x.Environment
		}
	}
	return nil
}

func (x *SettingValue) GetEmail() *EmailSetting {
	if x != nil {
		if x, ok := x.Value.(*SettingValue_Email); ok {
			return x.Email
		}
	}
	return nil
}

func (x *SettingValue) GetMcp() *MCPSetting {
	if x != nil {
		if x, ok := x.Value.(*SettingValue_Mcp); ok {
			return x.Mcp
		}
	}
	return nil
}

func (x *SettingValue) GetExport() *ExportSetting {
	if x != nil {
		if x, ok := x.Value.(*SettingValue_Export); ok {
			return x.Export
		}
	}
	return nil
}

type isSettingValue_Value interface {
	isSettingValue_Value()
}

type SettingValue_AppIm struct {
	AppIm *AppIMSetting `protobuf:"bytes,1,opt,name=app_im,json=appIm,proto3,oneof"`
}

type SettingValue_WorkspaceProfile struct {
	WorkspaceProfile *WorkspaceProfileSetting `protobuf:"bytes,2,opt,name=workspace_profile,json=workspaceProfile,proto3,oneof"`
}

type SettingValue_WorkspaceApproval struct {
	WorkspaceApproval *WorkspaceApprovalSetting `protobuf:"bytes,3,opt,name=workspace_approval,json=workspaceApproval,proto3,oneof"`
}

type SettingValue_DataClassification struct {
	DataClassification *DataClassificationSetting `protobuf:"bytes,4,opt,name=data_classification,json=dataClassification,proto3,oneof"`
}

type SettingValue_SemanticType struct {
	SemanticType *SemanticTypeSetting `protobuf:"bytes,5,opt,name=semantic_type,json=semanticType,proto3,oneof"`
}

type SettingValue_Ai struct {
	Ai *AISetting `protobuf:"bytes,6,opt,name=ai,proto3,oneof"`
}

type SettingValue_Environment struct {
	Environment *EnvironmentSetting `protobuf:"bytes,7,opt,name=environment,proto3,oneof"`
}

type SettingValue_Email struct {
	Email *EmailSetting `protobuf:"bytes,8,opt,name=email,proto3,oneof"`
}

type SettingValue_Mcp struct {
	Mcp *MCPSetting `protobuf:"bytes,9,opt,name=mcp,proto3,oneof"`
}

type SettingValue_Export struct {
	Export *ExportSetting `protobuf:"bytes,10,opt,name=export,proto3,oneof"`
}

func (*SettingValue_AppIm) isSettingValue_Value() {}

func (*SettingValue_WorkspaceProfile) isSettingValue_Value() {}

func (*SettingValue_WorkspaceApproval) isSettingValue_Value() {}

func (*SettingValue_DataClassification) isSettingValue_Value() {}

func (*SettingValue_SemanticType) isSettingValue_Value() {}

func (*SettingValue_Ai) isSettingValue_Value() {}

func (*SettingValue_Environment) isSettingValue_Value() {}

func (*SettingValue_Email) isSettingValue_Value() {}

func (*SettingValue_Mcp) isSettingValue_Value() {}

func (*SettingValue_Export) isSettingValue_Value() {}

// ExportSetting holds each export destination provider's credentials.
type ExportSetting struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Unset when SharePoint is not configured.
	Sharepoint    *SharePointSetting `protobuf:"bytes,1,opt,name=sharepoint,proto3" json:"sharepoint,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ExportSetting) Reset() {
	*x = ExportSetting{}
	mi := &file_v1_setting_service_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ExportSetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ExportSetting) ProtoMessage() {}

func (x *ExportSetting) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[7]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ExportSetting.ProtoReflect.Descriptor instead.
func (*ExportSetting) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{7}
}

func (x *ExportSetting) GetSharepoint() *SharePointSetting {
	if x != nil {
		return x.Sharepoint
	}
	return nil
}

// SharePointSetting is the Microsoft Entra application that uploads exports to
// SharePoint. It is granted access per library by the customer's SharePoint
// administrators.
type SharePointSetting struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The Microsoft Entra tenant (directory) ID.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// The application (client) ID.
	ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// The client secret. It is never returned.
	ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// Whether a client secret is stored.
	ClientSecretSet bool `protobuf:"varint,4,opt,name=client_secret_set,json=clientSecretSet,proto3" json:"client_secret_set,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *SharePointSetting) Reset() {
	*x = SharePointSetting{}
	mi := &file_v1_setting_service_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SharePointSetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SharePointSetting) ProtoMessage() {}

func (x *SharePointSetting) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[8]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SharePointSetting.ProtoReflect.Descriptor instead.
func (*SharePointSetting) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{8}
}

func (x *SharePointSetting) GetTenantId() string {
	if x != nil {
		return x.TenantId
	}
	return ""
}

func (x *SharePointSetting) GetClientId() string {
	if x != nil {
		return x.ClientId
	}
	return ""
}

func (x *SharePointSetting) GetClientSecret() string {
	if x != nil {
		return x.ClientSecret
	}
	return ""
}

func (x *SharePointSetting) GetClientSecretSet() bool {
	if x != nil {
		return x.ClientSecretSet
	}
	return false
}

type AppIMSetting struct {
	state         protoimpl.MessageState    `protogen:"open.v1"`
	Settings      []*AppIMSetting_IMSetting `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AppIMSetting) Reset() {
	*x = AppIMSetting{}
	mi := &file_v1_setting_service_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AppIMSetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AppIMSetting) ProtoMessage() {}

func (x *AppIMSetting) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[9]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AppIMSetting.ProtoReflect.Descriptor instead.
func (*AppIMSetting) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{9}
}

func (x *AppIMSetting) GetSettings() []*AppIMSetting_IMSetting {
	if x != nil {
		return x.Settings
	}
	return nil
}

type WorkspaceProfileSetting struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The external URL is used for sso authentication callback.
	ExternalUrl string `protobuf:"bytes,1,opt,name=external_url,json=externalUrl,proto3" json:"external_url,omitempty"`
	// Disallow self-service signup, users can only be invited by the owner.
	DisallowSignup bool `protobuf:"varint,2,opt,name=disallow_signup,json=disallowSignup,proto3" json:"disallow_signup,omitempty"`
	// Require MFA for all users.
	RequireMfa bool `protobuf:"varint,3,opt,name=require_mfa,json=requireMfa,proto3" json:"require_mfa,omitempty"`
	// The duration for refresh token. Default is 7 days.
	RefreshTokenDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=refresh_token_duration,json=refreshTokenDuration,proto3" json:"refresh_token_duration,omitempty"`
	// The setting of custom announcement
	Announcement *Announcement `protobuf:"bytes,5,opt,name=announcement,proto3" json:"announcement,omitempty"`
	// The max expiration duration for data access requests.
	MaximumRequestExpiration *durationpb.Duration `protobuf:"bytes,6,opt,name=maximum_request_expiration,json=maximumRequestExpiration,proto3" json:"maximum_request_expiration,omitempty"`
	// The workspace domain, e.g., bytebase.com.
	Domains []string `protobuf:"bytes,7,rep,name=domains,proto3" json:"domains,omitempty"`
	// Only user and group from the domains can be created and login.
	EnforceIdentityDomain bool `protobuf:"varint,8,opt,name=enforce_identity_domain,json=enforceIdentityDomain,proto3" json:"enforce_identity_domain,omitempty"`
	// The workspace database change mode.
	DatabaseChangeMode DatabaseChangeMode `protobuf:"varint,9,opt,name=database_change_mode,json=databaseChangeMode,proto3,enum=bytebase.v1.DatabaseChangeMode" json:"database_change_mode,omitempty"`
	// Whether password sign-in is disabled for all end users.
	DisallowPasswordSignin bool `protobuf:"varint,10,opt,name=disallow_password_signin,json=disallowPasswordSignin,proto3" json:"disallow_password_signin,omitempty"`
	// Whether to enable metric collection for the workspace.
	EnableMetricCollection bool `protobuf:"varint,11,opt,name=enable_metric_collection,json=enableMetricCollection,proto3" json:"enable_metric_collection,omitempty"`
	// The session expiration time if not activity detected for the user. Value <= 0 means no limit.
	InactiveSessionTimeout *durationpb.Duration `protobuf:"bytes,12,opt,name=inactive_session_timeout,json=inactiveSessionTimeout,proto3" json:"inactive_session_timeout,omitempty"`
	// Whether to enable audit logging to stdout in structured JSON format.
	// Requires TEAM or ENTERPRISE license.
	EnableAuditLogStdout bool `protobuf:"varint,13,opt,name=enable_audit_log_stdout,json=enableAuditLogStdout,proto3" json:"enable_audit_log_stdout,omitempty"`
	// Whether to display watermark on pages.
	// Requires ENTERPRISE license.
	Watermark bool `protobuf:"varint,14,opt,name=watermark,proto3" json:"watermark,omitempty"`
	// Password restriction settings.
	PasswordRestriction *WorkspaceProfileSetting_PasswordRestriction `protobuf:"bytes,17,opt,name=password_restriction,json=passwordRestriction,proto3" json:"password_restriction,omitempty"`
	// The duration for access token. Default is 1 hour.
	AccessTokenDuration *durationpb.Duration `protobuf:"bytes,18,opt,name=access_token_duration,json=accessTokenDuration,proto3" json:"access_token_duration,omitempty"`
	// Whether debug mode is enabled.
	EnableDebug bool `protobuf:"varint,19,opt,name=enable_debug,json=enableDebug,proto3" json:"enable_debug,omitempty"`
	// The maximum result size limit in bytes for query and export, works for the SQL Editor and Export Center.
	// The default value is 100MB, we will use the default value if the setting not exists, or the limit <= 0.
	SqlResultSize int64 `protobuf:"varint,20,opt,name=sql_result_size,json=sqlResultSize,proto3" json:"sql_result_size,omitempty"`
	// The query timeout duration for query and export, works for the SQL Editor and Export Center.
	QueryTimeout *durationpb.Duration `protobuf:"bytes,21,opt,name=query_timeout,json=queryTimeout,proto3" json:"query_timeout,omitempty"`
	// Allow signin/signup using email + a 6-digit one-time verification code.
	// Requires the EMAIL setting to be configured on the workspace.
	AllowEmailCodeSignin bool `protobuf:"varint,22,opt,name=allow_email_code_signin,json=allowEmailCodeSignin,proto3" json:"allow_email_code_signin,omitempty"`
	// Enforced SQL Editor theme id: OPAQUE — a frontend-resolved built-in preset id
	// OR a custom theme's uuid. Empty ⇒ default light.
	SqlEditorThemeId string `protobuf:"bytes,23,opt,name=sql_editor_theme_id,json=sqlEditorThemeId,proto3" json:"sql_editor_theme_id,omitempty"`
	// The enforced CUSTOM theme's full definition — present ONLY when
	// sql_editor_theme_id is a custom uuid. tokens is always complete.
	SqlEditorCustomTheme *SQLEditorThemeSetting `protobuf:"bytes,24,opt,name=sql_editor_custom_theme,json=sqlEditorCustomTheme,proto3" json:"sql_editor_custom_theme,omitempty"`
	// The max expiration duration for request role.
	// Deprecated: use just-in-time access request flows instead.
	MaximumRoleExpiration *durationpb.Duration `protobuf:"bytes,25,opt,name=maximum_role_expiration,json=maximumRoleExpiration,proto3" json:"maximum_role_expiration,omitempty"`
	// Whether a directory sync token has been generated for this workspace.
	// The token itself is never returned; this only lets the UI decide between
	// offering "generate" and "regenerate".
	DirectorySyncTokenConfigured bool `protobuf:"varint,27,opt,name=directory_sync_token_configured,json=directorySyncTokenConfigured,proto3" json:"directory_sync_token_configured,omitempty"`
	unknownFields                protoimpl.UnknownFields
	sizeCache                    protoimpl.SizeCache
}

func (x *WorkspaceProfileSetting) Reset() {
	*x = WorkspaceProfileSetting{}
	mi := &file_v1_setting_service_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *WorkspaceProfileSetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WorkspaceProfileSetting) ProtoMessage() {}

func (x *WorkspaceProfileSetting) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[10]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WorkspaceProfileSetting.ProtoReflect.Descriptor instead.
func (*WorkspaceProfileSetting) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{10}
}

func (x *WorkspaceProfileSetting) GetExternalUrl() string {
	if x != nil {
		return x.ExternalUrl
	}
	return ""
}

func (x *WorkspaceProfileSetting) GetDisallowSignup() bool {
	if x != nil {
		return x.DisallowSignup
	}
	return false
}

func (x *WorkspaceProfileSetting) GetRequireMfa() bool {
	if x != nil {
		return x.RequireMfa
	}
	return false
}

func (x *WorkspaceProfileSetting) GetRefreshTokenDuration() *durationpb.Duration {
	if x != nil {
		return x.RefreshTokenDuration
	}
	return nil
}

func (x *WorkspaceProfileSetting) GetAnnouncement() *Announcement {
	if x != nil {
		return x.Announcement
	}
	return nil
}

func (x *WorkspaceProfileSetting) GetMaximumRequestExpiration() *durationpb.Duration {
	if x != nil {
		return x.MaximumRequestExpiration
	}
	return nil
}

func (x *WorkspaceProfileSetting) GetDomains() []string {
	if x != nil {
		return x.Domains
	}
	return nil
}

func (x *WorkspaceProfileSetting) GetEnforceIdentityDomain() bool {
	if x != nil {
		return x.EnforceIdentityDomain
	}
	return false
}

func (x *WorkspaceProfileSetting) GetDatabaseChangeMode() DatabaseChangeMode {
	if x != nil {
		return x.DatabaseChangeMode
	}
	return DatabaseChangeMode_DATABASE_CHANGE_MODE_UNSPECIFIED
}

func (x *WorkspaceProfileSetting) GetDisallowPasswordSignin() bool {
	if x != nil {
		return x.DisallowPasswordSignin
	}
	return false
}

func (x *WorkspaceProfileSetting) GetEnableMetricCollection() bool {
	if x != nil {
		return x.EnableMetricCollection
	}
	return false
}

func (x *WorkspaceProfileSetting) GetInactiveSessionTimeout() *durationpb.Duration {
	if x != nil {
		return x.InactiveSessionTimeout
	}
	return nil
}

func (x *WorkspaceProfileSetting) GetEnableAuditLogStdout() bool {
	if x != nil {
		return x.EnableAuditLogStdout
	}
	return false
}

func (x *WorkspaceProfileSetting) GetWatermark() bool {
	if x != nil {
		return x.Watermark
	}
	return false
}

func (x *WorkspaceProfileSetting) GetPasswordRestriction() *WorkspaceProfileSetting_PasswordRestriction {
	if x != nil {
		return x.PasswordRestriction
	}
	return nil
}

func (x *WorkspaceProfileSetting) GetAccessTokenDuration() *durationpb.Duration {
	if x != nil {
		return x.AccessTokenDuration
	}
	return nil
}

func (x *WorkspaceProfileSetting) GetEnableDebug() bool {
	if x != nil {
		return x.EnableDebug
	}
	return false
}

func (x *WorkspaceProfileSetting) GetSqlResultSize() int64 {
	if x != nil {
		return x.SqlResultSize
	}
	return 0
}

func (x *WorkspaceProfileSetting) GetQueryTimeout() *durationpb.Duration {
	if x != nil {
		return x.QueryTimeout
	}
	return nil
}

func (x *WorkspaceProfileSetting) GetAllowEmailCodeSignin() bool {
	if x != nil {
		return x.AllowEmailCodeSignin
	}
	return false
}

func (x *WorkspaceProfileSetting) GetSqlEditorThemeId() string {
	if x != nil {
		return x.SqlEditorThemeId
	}
	return ""
}

func (x *WorkspaceProfileSetting) GetSqlEditorCustomTheme() *SQLEditorThemeSetting {
	if x != nil {
		return x.SqlEditorCustomTheme
	}
	return nil
}

func (x *WorkspaceProfileSetting) GetMaximumRoleExpiration() *durationpb.Duration {
	if x != nil {
		return x.MaximumRoleExpiration
	}
	return nil
}

func (x *WorkspaceProfileSetting) GetDirectorySyncTokenConfigured() bool {
	if x != nil {
		return x.DirectorySyncTokenConfigured
	}
	return false
}

// MCPSetting is what an MCP (Model Context Protocol) session may do in this
// workspace.
type MCPSetting struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The maximum capability available to MCP sessions in this workspace, acting
	// as an admin-set ceiling. Enforced server-side at three points: the /mcp
	// endpoint decides whether a connection is admitted at all, the ceiling gate
	// on the internal MCP chain decides, per request, which method classes are
	// served, and under READ_ONLY the SQL clamp decides, per statement, whether
	// it only reads.
	Capability    MCPSetting_Capability `protobuf:"varint,1,opt,name=capability,proto3,enum=bytebase.v1.MCPSetting_Capability" json:"capability,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *MCPSetting) Reset() {
	*x = MCPSetting{}
	mi := &file_v1_setting_service_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *MCPSetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*MCPSetting) ProtoMessage() {}

func (x *MCPSetting) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[11]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use MCPSetting.ProtoReflect.Descriptor instead.
func (*MCPSetting) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{11}
}

func (x *MCPSetting) GetCapability() MCPSetting_Capability {
	if x != nil {
		return x.Capability
	}
	return MCPSetting_CAPABILITY_UNSPECIFIED
}

type SQLEditorThemeSetting struct {
	state      protoimpl.MessageState `protogen:"open.v1"`
	Id         string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name       string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	MonacoBase string                 `protobuf:"bytes,3,opt,name=monaco_base,json=monacoBase,proto3" json:"monaco_base,omitempty"`
	// CSS token colors.
	Tokens        map[string]*color.Color `protobuf:"bytes,4,rep,name=tokens,proto3" json:"tokens,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SQLEditorThemeSetting) Reset() {
	*x = SQLEditorThemeSetting{}
	mi := &file_v1_setting_service_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SQLEditorThemeSetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SQLEditorThemeSetting) ProtoMessage() {}

func (x *SQLEditorThemeSetting) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[12]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SQLEditorThemeSetting.ProtoReflect.Descriptor instead.
func (*SQLEditorThemeSetting) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{12}
}

func (x *SQLEditorThemeSetting) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *SQLEditorThemeSetting) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *SQLEditorThemeSetting) GetMonacoBase() string {
	if x != nil {
		return x.MonacoBase
	}
	return ""
}

func (x *SQLEditorThemeSetting) GetTokens() map[string]*color.Color {
	if x != nil {
		return x.Tokens
	}
	return nil
}

type Announcement struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The text of announcement
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// The optional link, user can follow the link to check extra details
	Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"`
	// Banner colors. Built-in presets (info/warning/critical) are a
	// frontend-only concept that seeds these colors; the store only holds them.
	Theme         *Announcement_AnnouncementTheme `protobuf:"bytes,4,opt,name=theme,proto3" json:"theme,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Announcement) Reset() {
	*x = Announcement{}
	mi := &file_v1_setting_service_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Announcement) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Announcement) ProtoMessage() {}

func (x *Announcement) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[13]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Announcement.ProtoReflect.Descriptor instead.
func (*Announcement) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{13}
}

func (x *Announcement) GetText() string {
	if x != nil {
		return x.Text
	}
	return ""
}

func (x *Announcement) GetLink() string {
	if x != nil {
		return x.Link
	}
	return ""
}

func (x *Announcement) GetTheme() *Announcement_AnnouncementTheme {
	if x != nil {
		return x.Theme
	}
	return nil
}

type WorkspaceApprovalSetting struct {
	state         protoimpl.MessageState           `protogen:"open.v1"`
	Rules         []*WorkspaceApprovalSetting_Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *WorkspaceApprovalSetting) Reset() {
	*x = WorkspaceApprovalSetting{}
	mi := &file_v1_setting_service_proto_msgTypes[14]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *WorkspaceApprovalSetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WorkspaceApprovalSetting) ProtoMessage() {}

func (x *WorkspaceApprovalSetting) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[14]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WorkspaceApprovalSetting.ProtoReflect.Descriptor instead.
func (*WorkspaceApprovalSetting) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{14}
}

func (x *WorkspaceApprovalSetting) GetRules() []*WorkspaceApprovalSetting_Rule {
	if x != nil {
		return x.Rules
	}
	return nil
}

type DataClassificationSetting struct {
	state         protoimpl.MessageState                                `protogen:"open.v1"`
	Configs       []*DataClassificationSetting_DataClassificationConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DataClassificationSetting) Reset() {
	*x = DataClassificationSetting{}
	mi := &file_v1_setting_service_proto_msgTypes[15]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DataClassificationSetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DataClassificationSetting) ProtoMessage() {}

func (x *DataClassificationSetting) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[15]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DataClassificationSetting.ProtoReflect.Descriptor instead.
func (*DataClassificationSetting) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{15}
}

func (x *DataClassificationSetting) GetConfigs() []*DataClassificationSetting_DataClassificationConfig {
	if x != nil {
		return x.Configs
	}
	return nil
}

type SemanticTypeSetting struct {
	state         protoimpl.MessageState              `protogen:"open.v1"`
	Types         []*SemanticTypeSetting_SemanticType `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SemanticTypeSetting) Reset() {
	*x = SemanticTypeSetting{}
	mi := &file_v1_setting_service_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SemanticTypeSetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SemanticTypeSetting) ProtoMessage() {}

func (x *SemanticTypeSetting) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[16]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SemanticTypeSetting.ProtoReflect.Descriptor instead.
func (*SemanticTypeSetting) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{16}
}

func (x *SemanticTypeSetting) GetTypes() []*SemanticTypeSetting_SemanticType {
	if x != nil {
		return x.Types
	}
	return nil
}

type Algorithm struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Mask:
	//
	//	*Algorithm_FullMask_
	//	*Algorithm_RangeMask_
	//	*Algorithm_Md5Mask
	//	*Algorithm_InnerOuterMask_
	Mask          isAlgorithm_Mask `protobuf_oneof:"mask"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Algorithm) Reset() {
	*x = Algorithm{}
	mi := &file_v1_setting_service_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Algorithm) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Algorithm) ProtoMessage() {}

func (x *Algorithm) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[17]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Algorithm.ProtoReflect.Descriptor instead.
func (*Algorithm) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{17}
}

func (x *Algorithm) GetMask() isAlgorithm_Mask {
	if x != nil {
		return x.Mask
	}
	return nil
}

func (x *Algorithm) GetFullMask() *Algorithm_FullMask {
	if x != nil {
		if x, ok := x.Mask.(*Algorithm_FullMask_); ok {
			return x.FullMask
		}
	}
	return nil
}

func (x *Algorithm) GetRangeMask() *Algorithm_RangeMask {
	if x != nil {
		if x, ok := x.Mask.(*Algorithm_RangeMask_); ok {
			return x.RangeMask
		}
	}
	return nil
}

func (x *Algorithm) GetMd5Mask() *Algorithm_MD5Mask {
	if x != nil {
		if x, ok := x.Mask.(*Algorithm_Md5Mask); ok {
			return x.Md5Mask
		}
	}
	return nil
}

func (x *Algorithm) GetInnerOuterMask() *Algorithm_InnerOuterMask {
	if x != nil {
		if x, ok := x.Mask.(*Algorithm_InnerOuterMask_); ok {
			return x.InnerOuterMask
		}
	}
	return nil
}

type isAlgorithm_Mask interface {
	isAlgorithm_Mask()
}

type Algorithm_FullMask_ struct {
	FullMask *Algorithm_FullMask `protobuf:"bytes,1,opt,name=full_mask,json=fullMask,proto3,oneof"`
}

type Algorithm_RangeMask_ struct {
	RangeMask *Algorithm_RangeMask `protobuf:"bytes,2,opt,name=range_mask,json=rangeMask,proto3,oneof"`
}

type Algorithm_Md5Mask struct {
	Md5Mask *Algorithm_MD5Mask `protobuf:"bytes,3,opt,name=md5_mask,json=md5Mask,proto3,oneof"`
}

type Algorithm_InnerOuterMask_ struct {
	InnerOuterMask *Algorithm_InnerOuterMask `protobuf:"bytes,4,opt,name=inner_outer_mask,json=innerOuterMask,proto3,oneof"`
}

func (*Algorithm_FullMask_) isAlgorithm_Mask() {}

func (*Algorithm_RangeMask_) isAlgorithm_Mask() {}

func (*Algorithm_Md5Mask) isAlgorithm_Mask() {}

func (*Algorithm_InnerOuterMask_) isAlgorithm_Mask() {}

type AISetting struct {
	state    protoimpl.MessageState `protogen:"open.v1"`
	Enabled  bool                   `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Provider AISetting_Provider     `protobuf:"varint,2,opt,name=provider,proto3,enum=bytebase.v1.AISetting_Provider" json:"provider,omitempty"`
	Endpoint string                 `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	ApiKey   string                 `protobuf:"bytes,4,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	Model    string                 `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"`
	Version  string                 `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	// Whether the AI SQL review may run. It is off by default and is a consent
	// of its own beside `enabled`: a review sends the statements of a change to
	// the provider, and can send the schema of its target databases and their
	// table statistics.
	SqlReviewEnabled bool `protobuf:"varint,7,opt,name=sql_review_enabled,json=sqlReviewEnabled,proto3" json:"sql_review_enabled,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *AISetting) Reset() {
	*x = AISetting{}
	mi := &file_v1_setting_service_proto_msgTypes[18]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AISetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AISetting) ProtoMessage() {}

func (x *AISetting) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[18]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AISetting.ProtoReflect.Descriptor instead.
func (*AISetting) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{18}
}

func (x *AISetting) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *AISetting) GetProvider() AISetting_Provider {
	if x != nil {
		return x.Provider
	}
	return AISetting_PROVIDER_UNSPECIFIED
}

func (x *AISetting) GetEndpoint() string {
	if x != nil {
		return x.Endpoint
	}
	return ""
}

func (x *AISetting) GetApiKey() string {
	if x != nil {
		return x.ApiKey
	}
	return ""
}

func (x *AISetting) GetModel() string {
	if x != nil {
		return x.Model
	}
	return ""
}

func (x *AISetting) GetVersion() string {
	if x != nil {
		return x.Version
	}
	return ""
}

func (x *AISetting) GetSqlReviewEnabled() bool {
	if x != nil {
		return x.SqlReviewEnabled
	}
	return false
}

type EnvironmentSetting struct {
	state         protoimpl.MessageState            `protogen:"open.v1"`
	Environments  []*EnvironmentSetting_Environment `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *EnvironmentSetting) Reset() {
	*x = EnvironmentSetting{}
	mi := &file_v1_setting_service_proto_msgTypes[19]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *EnvironmentSetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*EnvironmentSetting) ProtoMessage() {}

func (x *EnvironmentSetting) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[19]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use EnvironmentSetting.ProtoReflect.Descriptor instead.
func (*EnvironmentSetting) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{19}
}

func (x *EnvironmentSetting) GetEnvironments() []*EnvironmentSetting_Environment {
	if x != nil {
		return x.Environments
	}
	return nil
}

type EmailSetting struct {
	state    protoimpl.MessageState `protogen:"open.v1"`
	From     string                 `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	FromName string                 `protobuf:"bytes,2,opt,name=from_name,json=fromName,proto3" json:"from_name,omitempty"`
	Type     EmailSetting_Type      `protobuf:"varint,3,opt,name=type,proto3,enum=bytebase.v1.EmailSetting_Type" json:"type,omitempty"`
	// Types that are valid to be assigned to Config:
	//
	//	*EmailSetting_Smtp
	Config        isEmailSetting_Config `protobuf_oneof:"config"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *EmailSetting) Reset() {
	*x = EmailSetting{}
	mi := &file_v1_setting_service_proto_msgTypes[20]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *EmailSetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*EmailSetting) ProtoMessage() {}

func (x *EmailSetting) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[20]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use EmailSetting.ProtoReflect.Descriptor instead.
func (*EmailSetting) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{20}
}

func (x *EmailSetting) GetFrom() string {
	if x != nil {
		return x.From
	}
	return ""
}

func (x *EmailSetting) GetFromName() string {
	if x != nil {
		return x.FromName
	}
	return ""
}

func (x *EmailSetting) GetType() EmailSetting_Type {
	if x != nil {
		return x.Type
	}
	return EmailSetting_TYPE_UNSPECIFIED
}

func (x *EmailSetting) GetConfig() isEmailSetting_Config {
	if x != nil {
		return x.Config
	}
	return nil
}

func (x *EmailSetting) GetSmtp() *EmailSetting_SMTPConfig {
	if x != nil {
		if x, ok := x.Config.(*EmailSetting_Smtp); ok {
			return x.Smtp
		}
	}
	return nil
}

type isEmailSetting_Config interface {
	isEmailSetting_Config()
}

type EmailSetting_Smtp struct {
	Smtp *EmailSetting_SMTPConfig `protobuf:"bytes,4,opt,name=smtp,proto3,oneof"`
}

func (*EmailSetting_Smtp) isEmailSetting_Config() {}

type TestEmailSettingRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Parent        string                 `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	EmailSetting  *EmailSetting          `protobuf:"bytes,2,opt,name=email_setting,json=emailSetting,proto3" json:"email_setting,omitempty"`
	To            string                 `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *TestEmailSettingRequest) Reset() {
	*x = TestEmailSettingRequest{}
	mi := &file_v1_setting_service_proto_msgTypes[21]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TestEmailSettingRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TestEmailSettingRequest) ProtoMessage() {}

func (x *TestEmailSettingRequest) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[21]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TestEmailSettingRequest.ProtoReflect.Descriptor instead.
func (*TestEmailSettingRequest) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{21}
}

func (x *TestEmailSettingRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *TestEmailSettingRequest) GetEmailSetting() *EmailSetting {
	if x != nil {
		return x.EmailSetting
	}
	return nil
}

func (x *TestEmailSettingRequest) GetTo() string {
	if x != nil {
		return x.To
	}
	return ""
}

type TestEmailSettingResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Success       bool                   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Error         string                 `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *TestEmailSettingResponse) Reset() {
	*x = TestEmailSettingResponse{}
	mi := &file_v1_setting_service_proto_msgTypes[22]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TestEmailSettingResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TestEmailSettingResponse) ProtoMessage() {}

func (x *TestEmailSettingResponse) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[22]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TestEmailSettingResponse.ProtoReflect.Descriptor instead.
func (*TestEmailSettingResponse) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{22}
}

func (x *TestEmailSettingResponse) GetSuccess() bool {
	if x != nil {
		return x.Success
	}
	return false
}

func (x *TestEmailSettingResponse) GetError() string {
	if x != nil {
		return x.Error
	}
	return ""
}

type AppIMSetting_Slack struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Token         string                 `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AppIMSetting_Slack) Reset() {
	*x = AppIMSetting_Slack{}
	mi := &file_v1_setting_service_proto_msgTypes[23]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AppIMSetting_Slack) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AppIMSetting_Slack) ProtoMessage() {}

func (x *AppIMSetting_Slack) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[23]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AppIMSetting_Slack.ProtoReflect.Descriptor instead.
func (*AppIMSetting_Slack) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 0}
}

func (x *AppIMSetting_Slack) GetToken() string {
	if x != nil {
		return x.Token
	}
	return ""
}

type AppIMSetting_Feishu struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AppId         string                 `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	AppSecret     string                 `protobuf:"bytes,2,opt,name=app_secret,json=appSecret,proto3" json:"app_secret,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AppIMSetting_Feishu) Reset() {
	*x = AppIMSetting_Feishu{}
	mi := &file_v1_setting_service_proto_msgTypes[24]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AppIMSetting_Feishu) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AppIMSetting_Feishu) ProtoMessage() {}

func (x *AppIMSetting_Feishu) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[24]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AppIMSetting_Feishu.ProtoReflect.Descriptor instead.
func (*AppIMSetting_Feishu) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 1}
}

func (x *AppIMSetting_Feishu) GetAppId() string {
	if x != nil {
		return x.AppId
	}
	return ""
}

func (x *AppIMSetting_Feishu) GetAppSecret() string {
	if x != nil {
		return x.AppSecret
	}
	return ""
}

type AppIMSetting_Wecom struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	CorpId        string                 `protobuf:"bytes,1,opt,name=corp_id,json=corpId,proto3" json:"corp_id,omitempty"`
	AgentId       string                 `protobuf:"bytes,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	Secret        string                 `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AppIMSetting_Wecom) Reset() {
	*x = AppIMSetting_Wecom{}
	mi := &file_v1_setting_service_proto_msgTypes[25]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AppIMSetting_Wecom) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AppIMSetting_Wecom) ProtoMessage() {}

func (x *AppIMSetting_Wecom) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[25]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AppIMSetting_Wecom.ProtoReflect.Descriptor instead.
func (*AppIMSetting_Wecom) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 2}
}

func (x *AppIMSetting_Wecom) GetCorpId() string {
	if x != nil {
		return x.CorpId
	}
	return ""
}

func (x *AppIMSetting_Wecom) GetAgentId() string {
	if x != nil {
		return x.AgentId
	}
	return ""
}

func (x *AppIMSetting_Wecom) GetSecret() string {
	if x != nil {
		return x.Secret
	}
	return ""
}

type AppIMSetting_Lark struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AppId         string                 `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	AppSecret     string                 `protobuf:"bytes,2,opt,name=app_secret,json=appSecret,proto3" json:"app_secret,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AppIMSetting_Lark) Reset() {
	*x = AppIMSetting_Lark{}
	mi := &file_v1_setting_service_proto_msgTypes[26]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AppIMSetting_Lark) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AppIMSetting_Lark) ProtoMessage() {}

func (x *AppIMSetting_Lark) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[26]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AppIMSetting_Lark.ProtoReflect.Descriptor instead.
func (*AppIMSetting_Lark) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 3}
}

func (x *AppIMSetting_Lark) GetAppId() string {
	if x != nil {
		return x.AppId
	}
	return ""
}

func (x *AppIMSetting_Lark) GetAppSecret() string {
	if x != nil {
		return x.AppSecret
	}
	return ""
}

type AppIMSetting_DingTalk struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ClientId      string                 `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret  string                 `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	RobotCode     string                 `protobuf:"bytes,3,opt,name=robot_code,json=robotCode,proto3" json:"robot_code,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AppIMSetting_DingTalk) Reset() {
	*x = AppIMSetting_DingTalk{}
	mi := &file_v1_setting_service_proto_msgTypes[27]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AppIMSetting_DingTalk) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AppIMSetting_DingTalk) ProtoMessage() {}

func (x *AppIMSetting_DingTalk) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[27]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AppIMSetting_DingTalk.ProtoReflect.Descriptor instead.
func (*AppIMSetting_DingTalk) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 4}
}

func (x *AppIMSetting_DingTalk) GetClientId() string {
	if x != nil {
		return x.ClientId
	}
	return ""
}

func (x *AppIMSetting_DingTalk) GetClientSecret() string {
	if x != nil {
		return x.ClientSecret
	}
	return ""
}

func (x *AppIMSetting_DingTalk) GetRobotCode() string {
	if x != nil {
		return x.RobotCode
	}
	return ""
}

type AppIMSetting_Teams struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Azure AD tenant ID (Directory ID).
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// Azure AD application (client) ID.
	ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// Azure AD client secret.
	ClientSecret  string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AppIMSetting_Teams) Reset() {
	*x = AppIMSetting_Teams{}
	mi := &file_v1_setting_service_proto_msgTypes[28]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AppIMSetting_Teams) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AppIMSetting_Teams) ProtoMessage() {}

func (x *AppIMSetting_Teams) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[28]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AppIMSetting_Teams.ProtoReflect.Descriptor instead.
func (*AppIMSetting_Teams) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 5}
}

func (x *AppIMSetting_Teams) GetTenantId() string {
	if x != nil {
		return x.TenantId
	}
	return ""
}

func (x *AppIMSetting_Teams) GetClientId() string {
	if x != nil {
		return x.ClientId
	}
	return ""
}

func (x *AppIMSetting_Teams) GetClientSecret() string {
	if x != nil {
		return x.ClientSecret
	}
	return ""
}

type AppIMSetting_IMSetting struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	Type  WebhookType            `protobuf:"varint,1,opt,name=type,proto3,enum=bytebase.v1.WebhookType" json:"type,omitempty"`
	// Types that are valid to be assigned to Payload:
	//
	//	*AppIMSetting_IMSetting_Slack
	//	*AppIMSetting_IMSetting_Feishu
	//	*AppIMSetting_IMSetting_Wecom
	//	*AppIMSetting_IMSetting_Lark
	//	*AppIMSetting_IMSetting_Dingtalk
	//	*AppIMSetting_IMSetting_Teams
	Payload       isAppIMSetting_IMSetting_Payload `protobuf_oneof:"payload"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AppIMSetting_IMSetting) Reset() {
	*x = AppIMSetting_IMSetting{}
	mi := &file_v1_setting_service_proto_msgTypes[29]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AppIMSetting_IMSetting) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AppIMSetting_IMSetting) ProtoMessage() {}

func (x *AppIMSetting_IMSetting) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[29]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AppIMSetting_IMSetting.ProtoReflect.Descriptor instead.
func (*AppIMSetting_IMSetting) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 6}
}

func (x *AppIMSetting_IMSetting) GetType() WebhookType {
	if x != nil {
		return x.Type
	}
	return WebhookType_WEBHOOK_TYPE_UNSPECIFIED
}

func (x *AppIMSetting_IMSetting) GetPayload() isAppIMSetting_IMSetting_Payload {
	if x != nil {
		return x.Payload
	}
	return nil
}

func (x *AppIMSetting_IMSetting) GetSlack() *AppIMSetting_Slack {
	if x != nil {
		if x, ok := x.Payload.(*AppIMSetting_IMSetting_Slack); ok {
			return x.Slack
		}
	}
	return nil
}

func (x *AppIMSetting_IMSetting) GetFeishu() *AppIMSetting_Feishu {
	if x != nil {
		if x, ok := x.Payload.(*AppIMSetting_IMSetting_Feishu); ok {
			return x.Feishu
		}
	}
	return nil
}

func (x *AppIMSetting_IMSetting) GetWecom() *AppIMSetting_Wecom {
	if x != nil {
		if x, ok := x.Payload.(*AppIMSetting_IMSetting_Wecom); ok {
			return x.Wecom
		}
	}
	return nil
}

func (x *AppIMSetting_IMSetting) GetLark() *AppIMSetting_Lark {
	if x != nil {
		if x, ok := x.Payload.(*AppIMSetting_IMSetting_Lark); ok {
			return x.Lark
		}
	}
	return nil
}

func (x *AppIMSetting_IMSetting) GetDingtalk() *AppIMSetting_DingTalk {
	if x != nil {
		if x, ok := x.Payload.(*AppIMSetting_IMSetting_Dingtalk); ok {
			return x.Dingtalk
		}
	}
	return nil
}

func (x *AppIMSetting_IMSetting) GetTeams() *AppIMSetting_Teams {
	if x != nil {
		if x, ok := x.Payload.(*AppIMSetting_IMSetting_Teams); ok {
			return x.Teams
		}
	}
	return nil
}

type isAppIMSetting_IMSetting_Payload interface {
	isAppIMSetting_IMSetting_Payload()
}

type AppIMSetting_IMSetting_Slack struct {
	Slack *AppIMSetting_Slack `protobuf:"bytes,2,opt,name=slack,proto3,oneof"`
}

type AppIMSetting_IMSetting_Feishu struct {
	Feishu *AppIMSetting_Feishu `protobuf:"bytes,3,opt,name=feishu,proto3,oneof"`
}

type AppIMSetting_IMSetting_Wecom struct {
	Wecom *AppIMSetting_Wecom `protobuf:"bytes,4,opt,name=wecom,proto3,oneof"`
}

type AppIMSetting_IMSetting_Lark struct {
	Lark *AppIMSetting_Lark `protobuf:"bytes,5,opt,name=lark,proto3,oneof"`
}

type AppIMSetting_IMSetting_Dingtalk struct {
	Dingtalk *AppIMSetting_DingTalk `protobuf:"bytes,6,opt,name=dingtalk,proto3,oneof"`
}

type AppIMSetting_IMSetting_Teams struct {
	Teams *AppIMSetting_Teams `protobuf:"bytes,7,opt,name=teams,proto3,oneof"`
}

func (*AppIMSetting_IMSetting_Slack) isAppIMSetting_IMSetting_Payload() {}

func (*AppIMSetting_IMSetting_Feishu) isAppIMSetting_IMSetting_Payload() {}

func (*AppIMSetting_IMSetting_Wecom) isAppIMSetting_IMSetting_Payload() {}

func (*AppIMSetting_IMSetting_Lark) isAppIMSetting_IMSetting_Payload() {}

func (*AppIMSetting_IMSetting_Dingtalk) isAppIMSetting_IMSetting_Payload() {}

func (*AppIMSetting_IMSetting_Teams) isAppIMSetting_IMSetting_Payload() {}

type WorkspaceProfileSetting_PasswordRestriction struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// min_length is the minimum password length. It must be at least 8.
	MinLength int32 `protobuf:"varint,1,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"`
	// require_number requires the password to contain at least one number.
	RequireNumber bool `protobuf:"varint,2,opt,name=require_number,json=requireNumber,proto3" json:"require_number,omitempty"`
	// require_letter requires the password to contain at least one letter, either uppercase or lowercase.
	RequireLetter bool `protobuf:"varint,3,opt,name=require_letter,json=requireLetter,proto3" json:"require_letter,omitempty"`
	// require_uppercase_letter requires the password to contain at least one uppercase letter.
	RequireUppercaseLetter bool `protobuf:"varint,4,opt,name=require_uppercase_letter,json=requireUppercaseLetter,proto3" json:"require_uppercase_letter,omitempty"`
	// require_special_character requires the password to contain at least one special character.
	RequireSpecialCharacter bool `protobuf:"varint,5,opt,name=require_special_character,json=requireSpecialCharacter,proto3" json:"require_special_character,omitempty"`
	// require_reset_password_for_first_login requires users to change their password after their first login.
	RequireResetPasswordForFirstLogin bool `protobuf:"varint,6,opt,name=require_reset_password_for_first_login,json=requireResetPasswordForFirstLogin,proto3" json:"require_reset_password_for_first_login,omitempty"`
	// password_rotation requires users to change their password after the duration.
	PasswordRotation *durationpb.Duration `protobuf:"bytes,7,opt,name=password_rotation,json=passwordRotation,proto3" json:"password_rotation,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *WorkspaceProfileSetting_PasswordRestriction) Reset() {
	*x = WorkspaceProfileSetting_PasswordRestriction{}
	mi := &file_v1_setting_service_proto_msgTypes[30]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *WorkspaceProfileSetting_PasswordRestriction) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WorkspaceProfileSetting_PasswordRestriction) ProtoMessage() {}

func (x *WorkspaceProfileSetting_PasswordRestriction) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[30]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WorkspaceProfileSetting_PasswordRestriction.ProtoReflect.Descriptor instead.
func (*WorkspaceProfileSetting_PasswordRestriction) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{10, 0}
}

func (x *WorkspaceProfileSetting_PasswordRestriction) GetMinLength() int32 {
	if x != nil {
		return x.MinLength
	}
	return 0
}

func (x *WorkspaceProfileSetting_PasswordRestriction) GetRequireNumber() bool {
	if x != nil {
		return x.RequireNumber
	}
	return false
}

func (x *WorkspaceProfileSetting_PasswordRestriction) GetRequireLetter() bool {
	if x != nil {
		return x.RequireLetter
	}
	return false
}

func (x *WorkspaceProfileSetting_PasswordRestriction) GetRequireUppercaseLetter() bool {
	if x != nil {
		return x.RequireUppercaseLetter
	}
	return false
}

func (x *WorkspaceProfileSetting_PasswordRestriction) GetRequireSpecialCharacter() bool {
	if x != nil {
		return x.RequireSpecialCharacter
	}
	return false
}

func (x *WorkspaceProfileSetting_PasswordRestriction) GetRequireResetPasswordForFirstLogin() bool {
	if x != nil {
		return x.RequireResetPasswordForFirstLogin
	}
	return false
}

func (x *WorkspaceProfileSetting_PasswordRestriction) GetPasswordRotation() *durationpb.Duration {
	if x != nil {
		return x.PasswordRotation
	}
	return nil
}

type Announcement_AnnouncementTheme struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Background    *color.Color           `protobuf:"bytes,1,opt,name=background,proto3" json:"background,omitempty"`
	Text          *color.Color           `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Announcement_AnnouncementTheme) Reset() {
	*x = Announcement_AnnouncementTheme{}
	mi := &file_v1_setting_service_proto_msgTypes[32]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Announcement_AnnouncementTheme) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Announcement_AnnouncementTheme) ProtoMessage() {}

func (x *Announcement_AnnouncementTheme) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[32]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Announcement_AnnouncementTheme.ProtoReflect.Descriptor instead.
func (*Announcement_AnnouncementTheme) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{13, 0}
}

func (x *Announcement_AnnouncementTheme) GetBackground() *color.Color {
	if x != nil {
		return x.Background
	}
	return nil
}

func (x *Announcement_AnnouncementTheme) GetText() *color.Color {
	if x != nil {
		return x.Text
	}
	return nil
}

type WorkspaceApprovalSetting_Rule struct {
	state    protoimpl.MessageState `protogen:"open.v1"`
	Template *ApprovalTemplate      `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
	// The condition that is associated with the rule.
	// The syntax and semantics of CEL are documented at https://github.com/google/cel-spec
	//
	// The `source` field filters which rules apply. The `condition` field then evaluates with full context.
	//
	// All supported variables:
	// statement.affected_rows: affected row count in the DDL/DML, support "==", "!=", "<", "<=", ">", ">=" operations.
	// statement.table_rows: table row count number, support "==", "!=", "<", "<=", ">", ">=" operations.
	// resource.environment_id: the environment resource id, support "==", "!=", "in [xx]", "!(in [xx])" operations.
	// resource.project_id: the project resource id, support "==", "!=", "in [xx]", "!(in [xx])", "contains()", "matches()", "startsWith()", "endsWith()" operations.
	// resource.db_engine: the database engine type, support "==", "!=", "in [xx]", "!(in [xx])" operations. Check the Engine enum for values.
	// statement.sql_type: the SQL type, support "==", "!=", "in [xx]", "!(in [xx])" operations.
	// resource.database_name: the database name, support "==", "!=", "in [xx]", "!(in [xx])", "contains()", "matches()", "startsWith()", "endsWith()" operations.
	// resource.schema_name: the schema name, support "==", "!=", "in [xx]", "!(in [xx])", "contains()", "matches()", "startsWith()", "endsWith()" operations.
	// resource.table_name: the table name, support "==", "!=", "in [xx]", "!(in [xx])", "contains()", "matches()", "startsWith()", "endsWith()" operations.
	// statement.text: the SQL statement, support "contains()", "matches()", "startsWith()", "endsWith()" operations.
	// request.expiration_days: the role expiration days for the request, support "==", "!=", "<", "<=", ">", ">=" operations.
	// request.role: the request role full name, support "==", "!=", "in [xx]", "!(in [xx])", "contains()", "matches()", "startsWith()", "endsWith()" operations.
	//
	// When source is CHANGE_DATABASE, support: statement.*, resource.* (excluding request.*)
	// When source is CREATE_DATABASE, support: resource.environment_id, resource.project_id, resource.db_engine, resource.database_name
	// When source is REQUEST_ROLE, support: resource.project_id, request.expiration_days, request.role
	// When source is REQUEST_ACCESS, support: resource.environment_id, resource.project_id, resource.db_engine, resource.database_name, resource.schema_name, resource.table_name, request.unmask, request.data_export
	//
	// For examples:
	// resource.environment_id == "prod" && statement.affected_rows >= 100
	// resource.table_name.matches("sensitive_.*") && resource.db_engine == "MYSQL"
	Condition     *expr.Expr                           `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"`
	Source        WorkspaceApprovalSetting_Rule_Source `protobuf:"varint,3,opt,name=source,proto3,enum=bytebase.v1.WorkspaceApprovalSetting_Rule_Source" json:"source,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *WorkspaceApprovalSetting_Rule) Reset() {
	*x = WorkspaceApprovalSetting_Rule{}
	mi := &file_v1_setting_service_proto_msgTypes[33]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *WorkspaceApprovalSetting_Rule) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WorkspaceApprovalSetting_Rule) ProtoMessage() {}

func (x *WorkspaceApprovalSetting_Rule) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[33]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WorkspaceApprovalSetting_Rule.ProtoReflect.Descriptor instead.
func (*WorkspaceApprovalSetting_Rule) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{14, 0}
}

func (x *WorkspaceApprovalSetting_Rule) GetTemplate() *ApprovalTemplate {
	if x != nil {
		return x.Template
	}
	return nil
}

func (x *WorkspaceApprovalSetting_Rule) GetCondition() *expr.Expr {
	if x != nil {
		return x.Condition
	}
	return nil
}

func (x *WorkspaceApprovalSetting_Rule) GetSource() WorkspaceApprovalSetting_Rule_Source {
	if x != nil {
		return x.Source
	}
	return WorkspaceApprovalSetting_Rule_SOURCE_UNSPECIFIED
}

type DataClassificationSetting_DataClassificationConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// id is the uuid for classification. Each project can chose one classification config.
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// levels is user defined level list for classification.
	Levels []*DataClassificationSetting_DataClassificationConfig_Level `protobuf:"bytes,3,rep,name=levels,proto3" json:"levels,omitempty"`
	// classification is the id - DataClassification map.
	// The id should in [0-9]+-[0-9]+-[0-9]+ format.
	Classification map[string]*DataClassificationSetting_DataClassificationConfig_DataClassification `protobuf:"bytes,4,rep,name=classification,proto3" json:"classification,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *DataClassificationSetting_DataClassificationConfig) Reset() {
	*x = DataClassificationSetting_DataClassificationConfig{}
	mi := &file_v1_setting_service_proto_msgTypes[34]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DataClassificationSetting_DataClassificationConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DataClassificationSetting_DataClassificationConfig) ProtoMessage() {}

func (x *DataClassificationSetting_DataClassificationConfig) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[34]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DataClassificationSetting_DataClassificationConfig.ProtoReflect.Descriptor instead.
func (*DataClassificationSetting_DataClassificationConfig) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 0}
}

func (x *DataClassificationSetting_DataClassificationConfig) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *DataClassificationSetting_DataClassificationConfig) GetTitle() string {
	if x != nil {
		return x.Title
	}
	return ""
}

func (x *DataClassificationSetting_DataClassificationConfig) GetLevels() []*DataClassificationSetting_DataClassificationConfig_Level {
	if x != nil {
		return x.Levels
	}
	return nil
}

func (x *DataClassificationSetting_DataClassificationConfig) GetClassification() map[string]*DataClassificationSetting_DataClassificationConfig_DataClassification {
	if x != nil {
		return x.Classification
	}
	return nil
}

type DataClassificationSetting_DataClassificationConfig_Level struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	Title string                 `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// The numeric level for ordering. Higher = more sensitive.
	Level         int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DataClassificationSetting_DataClassificationConfig_Level) Reset() {
	*x = DataClassificationSetting_DataClassificationConfig_Level{}
	mi := &file_v1_setting_service_proto_msgTypes[35]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DataClassificationSetting_DataClassificationConfig_Level) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DataClassificationSetting_DataClassificationConfig_Level) ProtoMessage() {}

func (x *DataClassificationSetting_DataClassificationConfig_Level) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[35]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DataClassificationSetting_DataClassificationConfig_Level.ProtoReflect.Descriptor instead.
func (*DataClassificationSetting_DataClassificationConfig_Level) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 0, 0}
}

func (x *DataClassificationSetting_DataClassificationConfig_Level) GetTitle() string {
	if x != nil {
		return x.Title
	}
	return ""
}

func (x *DataClassificationSetting_DataClassificationConfig_Level) GetLevel() int32 {
	if x != nil {
		return x.Level
	}
	return 0
}

type DataClassificationSetting_DataClassificationConfig_DataClassification struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// id is the classification id in [0-9]+-[0-9]+-[0-9]+ format.
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// The sensitivity level. Maps to Level.level.
	Level         *int32 `protobuf:"varint,4,opt,name=level,proto3,oneof" json:"level,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) Reset() {
	*x = DataClassificationSetting_DataClassificationConfig_DataClassification{}
	mi := &file_v1_setting_service_proto_msgTypes[36]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DataClassificationSetting_DataClassificationConfig_DataClassification) ProtoMessage() {}

func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[36]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DataClassificationSetting_DataClassificationConfig_DataClassification.ProtoReflect.Descriptor instead.
func (*DataClassificationSetting_DataClassificationConfig_DataClassification) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 0, 1}
}

func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) GetTitle() string {
	if x != nil {
		return x.Title
	}
	return ""
}

func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) GetLevel() int32 {
	if x != nil && x.Level != nil {
		return *x.Level
	}
	return 0
}

type SemanticTypeSetting_SemanticType struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// id is the uuid for semantic type.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// the title of the semantic type, it should not be empty.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// the description of the semantic type, it can be empty.
	Description string     `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Algorithm   *Algorithm `protobuf:"bytes,6,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
	// icon is the icon for semantic type, it can be emoji or base64 encoded image.
	Icon          string `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SemanticTypeSetting_SemanticType) Reset() {
	*x = SemanticTypeSetting_SemanticType{}
	mi := &file_v1_setting_service_proto_msgTypes[38]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SemanticTypeSetting_SemanticType) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SemanticTypeSetting_SemanticType) ProtoMessage() {}

func (x *SemanticTypeSetting_SemanticType) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[38]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SemanticTypeSetting_SemanticType.ProtoReflect.Descriptor instead.
func (*SemanticTypeSetting_SemanticType) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{16, 0}
}

func (x *SemanticTypeSetting_SemanticType) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *SemanticTypeSetting_SemanticType) GetTitle() string {
	if x != nil {
		return x.Title
	}
	return ""
}

func (x *SemanticTypeSetting_SemanticType) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *SemanticTypeSetting_SemanticType) GetAlgorithm() *Algorithm {
	if x != nil {
		return x.Algorithm
	}
	return nil
}

func (x *SemanticTypeSetting_SemanticType) GetIcon() string {
	if x != nil {
		return x.Icon
	}
	return ""
}

type Algorithm_FullMask struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// substitution is the string used to replace the original value, the
	// max length of the string is 16 bytes.
	Substitution  string `protobuf:"bytes,1,opt,name=substitution,proto3" json:"substitution,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Algorithm_FullMask) Reset() {
	*x = Algorithm_FullMask{}
	mi := &file_v1_setting_service_proto_msgTypes[39]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Algorithm_FullMask) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Algorithm_FullMask) ProtoMessage() {}

func (x *Algorithm_FullMask) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[39]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Algorithm_FullMask.ProtoReflect.Descriptor instead.
func (*Algorithm_FullMask) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{17, 0}
}

func (x *Algorithm_FullMask) GetSubstitution() string {
	if x != nil {
		return x.Substitution
	}
	return ""
}

type Algorithm_RangeMask struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// We store it as a repeated field to face the fact that the original value may have multiple parts should be masked.
	// But frontend can be started with a single rule easily.
	Slices        []*Algorithm_RangeMask_Slice `protobuf:"bytes,1,rep,name=slices,proto3" json:"slices,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Algorithm_RangeMask) Reset() {
	*x = Algorithm_RangeMask{}
	mi := &file_v1_setting_service_proto_msgTypes[40]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Algorithm_RangeMask) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Algorithm_RangeMask) ProtoMessage() {}

func (x *Algorithm_RangeMask) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[40]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Algorithm_RangeMask.ProtoReflect.Descriptor instead.
func (*Algorithm_RangeMask) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{17, 1}
}

func (x *Algorithm_RangeMask) GetSlices() []*Algorithm_RangeMask_Slice {
	if x != nil {
		return x.Slices
	}
	return nil
}

type Algorithm_MD5Mask struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// salt is the salt value to generate a different hash that with the word alone.
	Salt          string `protobuf:"bytes,1,opt,name=salt,proto3" json:"salt,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Algorithm_MD5Mask) Reset() {
	*x = Algorithm_MD5Mask{}
	mi := &file_v1_setting_service_proto_msgTypes[41]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Algorithm_MD5Mask) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Algorithm_MD5Mask) ProtoMessage() {}

func (x *Algorithm_MD5Mask) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[41]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Algorithm_MD5Mask.ProtoReflect.Descriptor instead.
func (*Algorithm_MD5Mask) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{17, 2}
}

func (x *Algorithm_MD5Mask) GetSalt() string {
	if x != nil {
		return x.Salt
	}
	return ""
}

type Algorithm_InnerOuterMask struct {
	state         protoimpl.MessageState            `protogen:"open.v1"`
	PrefixLen     int32                             `protobuf:"varint,1,opt,name=prefix_len,json=prefixLen,proto3" json:"prefix_len,omitempty"`
	SuffixLen     int32                             `protobuf:"varint,2,opt,name=suffix_len,json=suffixLen,proto3" json:"suffix_len,omitempty"`
	Type          Algorithm_InnerOuterMask_MaskType `protobuf:"varint,3,opt,name=type,proto3,enum=bytebase.v1.Algorithm_InnerOuterMask_MaskType" json:"type,omitempty"`
	Substitution  string                            `protobuf:"bytes,4,opt,name=substitution,proto3" json:"substitution,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Algorithm_InnerOuterMask) Reset() {
	*x = Algorithm_InnerOuterMask{}
	mi := &file_v1_setting_service_proto_msgTypes[42]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Algorithm_InnerOuterMask) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Algorithm_InnerOuterMask) ProtoMessage() {}

func (x *Algorithm_InnerOuterMask) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[42]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Algorithm_InnerOuterMask.ProtoReflect.Descriptor instead.
func (*Algorithm_InnerOuterMask) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{17, 3}
}

func (x *Algorithm_InnerOuterMask) GetPrefixLen() int32 {
	if x != nil {
		return x.PrefixLen
	}
	return 0
}

func (x *Algorithm_InnerOuterMask) GetSuffixLen() int32 {
	if x != nil {
		return x.SuffixLen
	}
	return 0
}

func (x *Algorithm_InnerOuterMask) GetType() Algorithm_InnerOuterMask_MaskType {
	if x != nil {
		return x.Type
	}
	return Algorithm_InnerOuterMask_MASK_TYPE_UNSPECIFIED
}

func (x *Algorithm_InnerOuterMask) GetSubstitution() string {
	if x != nil {
		return x.Substitution
	}
	return ""
}

type Algorithm_RangeMask_Slice struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// start is the start character index (0-based) of the original value, should be less than end.
	// Uses character indices (not byte offsets) for display-oriented masking.
	// Example: For "你好world", character index 2 refers to 'w' (the 3rd character).
	Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	// end is the end character index (exclusive) of the original value.
	// Uses character indices (not byte offsets) for display-oriented masking.
	End int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	// substitution is the string used to replace the OriginalValue[start:end).
	Substitution  string `protobuf:"bytes,3,opt,name=substitution,proto3" json:"substitution,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Algorithm_RangeMask_Slice) Reset() {
	*x = Algorithm_RangeMask_Slice{}
	mi := &file_v1_setting_service_proto_msgTypes[43]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Algorithm_RangeMask_Slice) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Algorithm_RangeMask_Slice) ProtoMessage() {}

func (x *Algorithm_RangeMask_Slice) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[43]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Algorithm_RangeMask_Slice.ProtoReflect.Descriptor instead.
func (*Algorithm_RangeMask_Slice) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{17, 1, 0}
}

func (x *Algorithm_RangeMask_Slice) GetStart() int32 {
	if x != nil {
		return x.Start
	}
	return 0
}

func (x *Algorithm_RangeMask_Slice) GetEnd() int32 {
	if x != nil {
		return x.End
	}
	return 0
}

func (x *Algorithm_RangeMask_Slice) GetSubstitution() string {
	if x != nil {
		return x.Substitution
	}
	return ""
}

type EnvironmentSetting_Environment struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The resource name of the environment.
	// Format: environments/{environment}.
	// Output only.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The resource id of the environment.
	// This value should be 4-63 characters, and valid characters
	// are /[a-z][0-9]-/.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// The display name of the environment.
	Title         string            `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Tags          map[string]string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	Color         *color.Color      `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *EnvironmentSetting_Environment) Reset() {
	*x = EnvironmentSetting_Environment{}
	mi := &file_v1_setting_service_proto_msgTypes[44]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *EnvironmentSetting_Environment) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*EnvironmentSetting_Environment) ProtoMessage() {}

func (x *EnvironmentSetting_Environment) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[44]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use EnvironmentSetting_Environment.ProtoReflect.Descriptor instead.
func (*EnvironmentSetting_Environment) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{19, 0}
}

func (x *EnvironmentSetting_Environment) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *EnvironmentSetting_Environment) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *EnvironmentSetting_Environment) GetTitle() string {
	if x != nil {
		return x.Title
	}
	return ""
}

func (x *EnvironmentSetting_Environment) GetTags() map[string]string {
	if x != nil {
		return x.Tags
	}
	return nil
}

func (x *EnvironmentSetting_Environment) GetColor() *color.Color {
	if x != nil {
		return x.Color
	}
	return nil
}

type EmailSetting_SMTPConfig struct {
	state          protoimpl.MessageState                 `protogen:"open.v1"`
	Host           string                                 `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port           int32                                  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Username       string                                 `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Password       string                                 `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	Encryption     EmailSetting_SMTPConfig_Encryption     `protobuf:"varint,5,opt,name=encryption,proto3,enum=bytebase.v1.EmailSetting_SMTPConfig_Encryption" json:"encryption,omitempty"`
	Authentication EmailSetting_SMTPConfig_Authentication `protobuf:"varint,6,opt,name=authentication,proto3,enum=bytebase.v1.EmailSetting_SMTPConfig_Authentication" json:"authentication,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *EmailSetting_SMTPConfig) Reset() {
	*x = EmailSetting_SMTPConfig{}
	mi := &file_v1_setting_service_proto_msgTypes[46]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *EmailSetting_SMTPConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*EmailSetting_SMTPConfig) ProtoMessage() {}

func (x *EmailSetting_SMTPConfig) ProtoReflect() protoreflect.Message {
	mi := &file_v1_setting_service_proto_msgTypes[46]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use EmailSetting_SMTPConfig.ProtoReflect.Descriptor instead.
func (*EmailSetting_SMTPConfig) Descriptor() ([]byte, []int) {
	return file_v1_setting_service_proto_rawDescGZIP(), []int{20, 0}
}

func (x *EmailSetting_SMTPConfig) GetHost() string {
	if x != nil {
		return x.Host
	}
	return ""
}

func (x *EmailSetting_SMTPConfig) GetPort() int32 {
	if x != nil {
		return x.Port
	}
	return 0
}

func (x *EmailSetting_SMTPConfig) GetUsername() string {
	if x != nil {
		return x.Username
	}
	return ""
}

func (x *EmailSetting_SMTPConfig) GetPassword() string {
	if x != nil {
		return x.Password
	}
	return ""
}

func (x *EmailSetting_SMTPConfig) GetEncryption() EmailSetting_SMTPConfig_Encryption {
	if x != nil {
		return x.Encryption
	}
	return EmailSetting_SMTPConfig_ENCRYPTION_UNSPECIFIED
}

func (x *EmailSetting_SMTPConfig) GetAuthentication() EmailSetting_SMTPConfig_Authentication {
	if x != nil {
		return x.Authentication
	}
	return EmailSetting_SMTPConfig_AUTHENTICATION_UNSPECIFIED
}

var File_v1_setting_service_proto protoreflect.FileDescriptor

const file_v1_setting_service_proto_rawDesc = "" +
	"\n" +
	"\x18v1/setting_service.proto\x12\vbytebase.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/type/color.proto\x1a\x16google/type/expr.proto\x1a\x13v1/annotation.proto\x1a\x0fv1/common.proto\x1a\x16v1/issue_service.proto\"\x15\n" +
	"\x13ListSettingsRequest\"H\n" +
	"\x14ListSettingsResponse\x120\n" +
	"\bsettings\x18\x01 \x03(\v2\x14.bytebase.v1.SettingR\bsettings\"E\n" +
	"\x11GetSettingRequest\x120\n" +
	"\x04name\x18\x01 \x01(\tB\x1c\xe0A\x02\xfaA\x16\n" +
	"\x14bytebase.com/SettingR\x04name\"D\n" +
	"\x12GetSettingResponse\x12.\n" +
	"\asetting\x18\x01 \x01(\v2\x14.bytebase.v1.SettingR\asetting\"\xd2\x01\n" +
	"\x14UpdateSettingRequest\x123\n" +
	"\asetting\x18\x01 \x01(\v2\x14.bytebase.v1.SettingB\x03\xe0A\x02R\asetting\x12#\n" +
	"\rvalidate_only\x18\x02 \x01(\bR\fvalidateOnly\x12#\n" +
	"\rallow_missing\x18\x03 \x01(\bR\fallowMissing\x12;\n" +
	"\vupdate_mask\x18\x04 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" +
	"updateMask\"\xd6\x02\n" +
	"\aSetting\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\bR\x04name\x124\n" +
	"\x05value\x18\x02 \x01(\v2\x19.bytebase.v1.SettingValueB\x03\xe0A\x02R\x05value\"\xcc\x01\n" +
	"\vSettingName\x12\x1c\n" +
	"\x18SETTING_NAME_UNSPECIFIED\x10\x00\x12\x15\n" +
	"\x11WORKSPACE_PROFILE\x10\x01\x12\x16\n" +
	"\x12WORKSPACE_APPROVAL\x10\x02\x12\n" +
	"\n" +
	"\x06APP_IM\x10\x03\x12\x06\n" +
	"\x02AI\x10\x04\x12\x17\n" +
	"\x13DATA_CLASSIFICATION\x10\x05\x12\x12\n" +
	"\x0eSEMANTIC_TYPES\x10\x06\x12\x0f\n" +
	"\vENVIRONMENT\x10\a\x12\t\n" +
	"\x05EMAIL\x10\b\x12\a\n" +
	"\x03MCP\x10\t\x12\n" +
	"\n" +
	"\x06EXPORT\x10\n" +
	":-\xeaA*\n" +
	"\x14bytebase.com/Setting\x12\x12settings/{setting}\"\xa1\x05\n" +
	"\fSettingValue\x122\n" +
	"\x06app_im\x18\x01 \x01(\v2\x19.bytebase.v1.AppIMSettingH\x00R\x05appIm\x12S\n" +
	"\x11workspace_profile\x18\x02 \x01(\v2$.bytebase.v1.WorkspaceProfileSettingH\x00R\x10workspaceProfile\x12V\n" +
	"\x12workspace_approval\x18\x03 \x01(\v2%.bytebase.v1.WorkspaceApprovalSettingH\x00R\x11workspaceApproval\x12Y\n" +
	"\x13data_classification\x18\x04 \x01(\v2&.bytebase.v1.DataClassificationSettingH\x00R\x12dataClassification\x12G\n" +
	"\rsemantic_type\x18\x05 \x01(\v2 .bytebase.v1.SemanticTypeSettingH\x00R\fsemanticType\x12(\n" +
	"\x02ai\x18\x06 \x01(\v2\x16.bytebase.v1.AISettingH\x00R\x02ai\x12C\n" +
	"\venvironment\x18\a \x01(\v2\x1f.bytebase.v1.EnvironmentSettingH\x00R\venvironment\x121\n" +
	"\x05email\x18\b \x01(\v2\x19.bytebase.v1.EmailSettingH\x00R\x05email\x12+\n" +
	"\x03mcp\x18\t \x01(\v2\x17.bytebase.v1.MCPSettingH\x00R\x03mcp\x124\n" +
	"\x06export\x18\n" +
	" \x01(\v2\x1a.bytebase.v1.ExportSettingH\x00R\x06exportB\a\n" +
	"\x05value\"O\n" +
	"\rExportSetting\x12>\n" +
	"\n" +
	"sharepoint\x18\x01 \x01(\v2\x1e.bytebase.v1.SharePointSettingR\n" +
	"sharepoint\"\xac\x01\n" +
	"\x11SharePointSetting\x12\x1b\n" +
	"\ttenant_id\x18\x01 \x01(\tR\btenantId\x12\x1b\n" +
	"\tclient_id\x18\x02 \x01(\tR\bclientId\x12,\n" +
	"\rclient_secret\x18\x03 \x01(\tB\a\xe0A\x04\xd0\xea0\x01R\fclientSecret\x12/\n" +
	"\x11client_secret_set\x18\x04 \x01(\bB\x03\xe0A\x03R\x0fclientSecretSet\"\x9a\b\n" +
	"\fAppIMSetting\x12?\n" +
	"\bsettings\x18\x01 \x03(\v2#.bytebase.v1.AppIMSetting.IMSettingR\bsettings\x1a&\n" +
	"\x05Slack\x12\x1d\n" +
	"\x05token\x18\x01 \x01(\tB\a\xe0A\x04\xd0\xea0\x01R\x05token\x1aL\n" +
	"\x06Feishu\x12\x1a\n" +
	"\x06app_id\x18\x01 \x01(\tB\x03\xe0A\x04R\x05appId\x12&\n" +
	"\n" +
	"app_secret\x18\x02 \x01(\tB\a\xe0A\x04\xd0\xea0\x01R\tappSecret\x1af\n" +
	"\x05Wecom\x12\x1c\n" +
	"\acorp_id\x18\x01 \x01(\tB\x03\xe0A\x04R\x06corpId\x12\x1e\n" +
	"\bagent_id\x18\x02 \x01(\tB\x03\xe0A\x04R\aagentId\x12\x1f\n" +
	"\x06secret\x18\x03 \x01(\tB\a\xe0A\x04\xd0\xea0\x01R\x06secret\x1aJ\n" +
	"\x04Lark\x12\x1a\n" +
	"\x06app_id\x18\x01 \x01(\tB\x03\xe0A\x04R\x05appId\x12&\n" +
	"\n" +
	"app_secret\x18\x02 \x01(\tB\a\xe0A\x04\xd0\xea0\x01R\tappSecret\x1a~\n" +
	"\bDingTalk\x12 \n" +
	"\tclient_id\x18\x01 \x01(\tB\x03\xe0A\x04R\bclientId\x12,\n" +
	"\rclient_secret\x18\x02 \x01(\tB\a\xe0A\x04\xd0\xea0\x01R\fclientSecret\x12\"\n" +
	"\n" +
	"robot_code\x18\x03 \x01(\tB\x03\xe0A\x04R\trobotCode\x1ay\n" +
	"\x05Teams\x12 \n" +
	"\ttenant_id\x18\x01 \x01(\tB\x03\xe0A\x04R\btenantId\x12 \n" +
	"\tclient_id\x18\x02 \x01(\tB\x03\xe0A\x04R\bclientId\x12,\n" +
	"\rclient_secret\x18\x03 \x01(\tB\a\xe0A\x04\xd0\xea0\x01R\fclientSecret\x1a\xa3\x03\n" +
	"\tIMSetting\x12,\n" +
	"\x04type\x18\x01 \x01(\x0e2\x18.bytebase.v1.WebhookTypeR\x04type\x127\n" +
	"\x05slack\x18\x02 \x01(\v2\x1f.bytebase.v1.AppIMSetting.SlackH\x00R\x05slack\x12:\n" +
	"\x06feishu\x18\x03 \x01(\v2 .bytebase.v1.AppIMSetting.FeishuH\x00R\x06feishu\x127\n" +
	"\x05wecom\x18\x04 \x01(\v2\x1f.bytebase.v1.AppIMSetting.WecomH\x00R\x05wecom\x124\n" +
	"\x04lark\x18\x05 \x01(\v2\x1e.bytebase.v1.AppIMSetting.LarkH\x00R\x04lark\x12@\n" +
	"\bdingtalk\x18\x06 \x01(\v2\".bytebase.v1.AppIMSetting.DingTalkH\x00R\bdingtalk\x127\n" +
	"\x05teams\x18\a \x01(\v2\x1f.bytebase.v1.AppIMSetting.TeamsH\x00R\x05teamsB\t\n" +
	"\apayload\"\x91\x0f\n" +
	"\x17WorkspaceProfileSetting\x12!\n" +
	"\fexternal_url\x18\x01 \x01(\tR\vexternalUrl\x12'\n" +
	"\x0fdisallow_signup\x18\x02 \x01(\bR\x0edisallowSignup\x12\x1f\n" +
	"\vrequire_mfa\x18\x03 \x01(\bR\n" +
	"requireMfa\x12O\n" +
	"\x16refresh_token_duration\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\x14refreshTokenDuration\x12=\n" +
	"\fannouncement\x18\x05 \x01(\v2\x19.bytebase.v1.AnnouncementR\fannouncement\x12W\n" +
	"\x1amaximum_request_expiration\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x18maximumRequestExpiration\x12\x18\n" +
	"\adomains\x18\a \x03(\tR\adomains\x126\n" +
	"\x17enforce_identity_domain\x18\b \x01(\bR\x15enforceIdentityDomain\x12Q\n" +
	"\x14database_change_mode\x18\t \x01(\x0e2\x1f.bytebase.v1.DatabaseChangeModeR\x12databaseChangeMode\x128\n" +
	"\x18disallow_password_signin\x18\n" +
	" \x01(\bR\x16disallowPasswordSignin\x128\n" +
	"\x18enable_metric_collection\x18\v \x01(\bR\x16enableMetricCollection\x12S\n" +
	"\x18inactive_session_timeout\x18\f \x01(\v2\x19.google.protobuf.DurationR\x16inactiveSessionTimeout\x125\n" +
	"\x17enable_audit_log_stdout\x18\r \x01(\bR\x14enableAuditLogStdout\x12\x1c\n" +
	"\twatermark\x18\x0e \x01(\bR\twatermark\x12k\n" +
	"\x14password_restriction\x18\x11 \x01(\v28.bytebase.v1.WorkspaceProfileSetting.PasswordRestrictionR\x13passwordRestriction\x12M\n" +
	"\x15access_token_duration\x18\x12 \x01(\v2\x19.google.protobuf.DurationR\x13accessTokenDuration\x12!\n" +
	"\fenable_debug\x18\x13 \x01(\bR\venableDebug\x12&\n" +
	"\x0fsql_result_size\x18\x14 \x01(\x03R\rsqlResultSize\x12>\n" +
	"\rquery_timeout\x18\x15 \x01(\v2\x19.google.protobuf.DurationR\fqueryTimeout\x125\n" +
	"\x17allow_email_code_signin\x18\x16 \x01(\bR\x14allowEmailCodeSignin\x12-\n" +
	"\x13sql_editor_theme_id\x18\x17 \x01(\tR\x10sqlEditorThemeId\x12Y\n" +
	"\x17sql_editor_custom_theme\x18\x18 \x01(\v2\".bytebase.v1.SQLEditorThemeSettingR\x14sqlEditorCustomTheme\x12Q\n" +
	"\x17maximum_role_expiration\x18\x19 \x01(\v2\x19.google.protobuf.DurationR\x15maximumRoleExpiration\x12J\n" +
	"\x1fdirectory_sync_token_configured\x18\x1b \x01(\bB\x03\xe0A\x03R\x1cdirectorySyncTokenConfigured\x1a\x93\x03\n" +
	"\x13PasswordRestriction\x12\x1d\n" +
	"\n" +
	"min_length\x18\x01 \x01(\x05R\tminLength\x12%\n" +
	"\x0erequire_number\x18\x02 \x01(\bR\rrequireNumber\x12%\n" +
	"\x0erequire_letter\x18\x03 \x01(\bR\rrequireLetter\x128\n" +
	"\x18require_uppercase_letter\x18\x04 \x01(\bR\x16requireUppercaseLetter\x12:\n" +
	"\x19require_special_character\x18\x05 \x01(\bR\x17requireSpecialCharacter\x12Q\n" +
	"&require_reset_password_for_first_login\x18\x06 \x01(\bR!requireResetPasswordForFirstLogin\x12F\n" +
	"\x11password_rotation\x18\a \x01(\v2\x19.google.protobuf.DurationR\x10passwordRotationJ\x04\b\x0f\x10\x10J\x04\b\x1a\x10\x1bJ\x04\b\x10\x10\x11R\x0emcp_capability\"\xad\x01\n" +
	"\n" +
	"MCPSetting\x12B\n" +
	"\n" +
	"capability\x18\x01 \x01(\x0e2\".bytebase.v1.MCPSetting.CapabilityR\n" +
	"capability\"[\n" +
	"\n" +
	"Capability\x12\x1a\n" +
	"\x16CAPABILITY_UNSPECIFIED\x10\x00\x12\f\n" +
	"\bDISABLED\x10\x01\x12\r\n" +
	"\tREAD_ONLY\x10\x03\x12\x0e\n" +
	"\n" +
	"READ_WRITE\x10\x04\"\x04\b\x02\x10\x02\"\xf3\x01\n" +
	"\x15SQLEditorThemeSetting\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12\x1f\n" +
	"\vmonaco_base\x18\x03 \x01(\tR\n" +
	"monacoBase\x12F\n" +
	"\x06tokens\x18\x04 \x03(\v2..bytebase.v1.SQLEditorThemeSetting.TokensEntryR\x06tokens\x1aM\n" +
	"\vTokensEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12(\n" +
	"\x05value\x18\x02 \x01(\v2\x12.google.type.ColorR\x05value:\x028\x01\"\xf7\x01\n" +
	"\fAnnouncement\x12\x12\n" +
	"\x04text\x18\x02 \x01(\tR\x04text\x12\x12\n" +
	"\x04link\x18\x03 \x01(\tR\x04link\x12A\n" +
	"\x05theme\x18\x04 \x01(\v2+.bytebase.v1.Announcement.AnnouncementThemeR\x05theme\x1ao\n" +
	"\x11AnnouncementTheme\x122\n" +
	"\n" +
	"background\x18\x01 \x01(\v2\x12.google.type.ColorR\n" +
	"background\x12&\n" +
	"\x04text\x18\x02 \x01(\v2\x12.google.type.ColorR\x04textJ\x04\b\x01\x10\x02R\x05level\"\xa2\x03\n" +
	"\x18WorkspaceApprovalSetting\x12@\n" +
	"\x05rules\x18\x01 \x03(\v2*.bytebase.v1.WorkspaceApprovalSetting.RuleR\x05rules\x1a\xc3\x02\n" +
	"\x04Rule\x129\n" +
	"\btemplate\x18\x01 \x01(\v2\x1d.bytebase.v1.ApprovalTemplateR\btemplate\x12/\n" +
	"\tcondition\x18\x02 \x01(\v2\x11.google.type.ExprR\tcondition\x12I\n" +
	"\x06source\x18\x03 \x01(\x0e21.bytebase.v1.WorkspaceApprovalSetting.Rule.SourceR\x06source\"\x83\x01\n" +
	"\x06Source\x12\x16\n" +
	"\x12SOURCE_UNSPECIFIED\x10\x00\x12\x13\n" +
	"\x0fCHANGE_DATABASE\x10\x01\x12\x13\n" +
	"\x0fCREATE_DATABASE\x10\x02\x12\x10\n" +
	"\fREQUEST_ROLE\x10\x04\x12\x12\n" +
	"\x0eREQUEST_ACCESS\x10\x05\"\x04\b\x03\x10\x03*\vEXPORT_DATA\"\xd5\x05\n" +
	"\x19DataClassificationSetting\x12Y\n" +
	"\aconfigs\x18\x01 \x03(\v2?.bytebase.v1.DataClassificationSetting.DataClassificationConfigR\aconfigs\x1a\xdc\x04\n" +
	"\x18DataClassificationConfig\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
	"\x05title\x18\x02 \x01(\tR\x05title\x12]\n" +
	"\x06levels\x18\x03 \x03(\v2E.bytebase.v1.DataClassificationSetting.DataClassificationConfig.LevelR\x06levels\x12{\n" +
	"\x0eclassification\x18\x04 \x03(\v2S.bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntryR\x0eclassification\x1a?\n" +
	"\x05Level\x12\x14\n" +
	"\x05title\x18\x02 \x01(\tR\x05title\x12\x14\n" +
	"\x05level\x18\x04 \x01(\x05R\x05levelJ\x04\b\x01\x10\x02J\x04\b\x03\x10\x04\x1ae\n" +
	"\x12DataClassification\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
	"\x05title\x18\x02 \x01(\tR\x05title\x12\x19\n" +
	"\x05level\x18\x04 \x01(\x05H\x00R\x05level\x88\x01\x01B\b\n" +
	"\x06_levelJ\x04\b\x03\x10\x04\x1a\x95\x01\n" +
	"\x13ClassificationEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12h\n" +
	"\x05value\x18\x02 \x01(\v2R.bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassificationR\x05value:\x028\x01\"\x83\x02\n" +
	"\x13SemanticTypeSetting\x12C\n" +
	"\x05types\x18\x01 \x03(\v2-.bytebase.v1.SemanticTypeSetting.SemanticTypeR\x05types\x1a\xa6\x01\n" +
	"\fSemanticType\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
	"\x05title\x18\x02 \x01(\tR\x05title\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\x124\n" +
	"\talgorithm\x18\x06 \x01(\v2\x16.bytebase.v1.AlgorithmR\talgorithm\x12\x12\n" +
	"\x04icon\x18\a \x01(\tR\x04iconJ\x04\b\x04\x10\x06\"\x8e\x06\n" +
	"\tAlgorithm\x12>\n" +
	"\tfull_mask\x18\x01 \x01(\v2\x1f.bytebase.v1.Algorithm.FullMaskH\x00R\bfullMask\x12A\n" +
	"\n" +
	"range_mask\x18\x02 \x01(\v2 .bytebase.v1.Algorithm.RangeMaskH\x00R\trangeMask\x12;\n" +
	"\bmd5_mask\x18\x03 \x01(\v2\x1e.bytebase.v1.Algorithm.MD5MaskH\x00R\amd5Mask\x12Q\n" +
	"\x10inner_outer_mask\x18\x04 \x01(\v2%.bytebase.v1.Algorithm.InnerOuterMaskH\x00R\x0einnerOuterMask\x1a.\n" +
	"\bFullMask\x12\"\n" +
	"\fsubstitution\x18\x01 \x01(\tR\fsubstitution\x1a\xa0\x01\n" +
	"\tRangeMask\x12>\n" +
	"\x06slices\x18\x01 \x03(\v2&.bytebase.v1.Algorithm.RangeMask.SliceR\x06slices\x1aS\n" +
	"\x05Slice\x12\x14\n" +
	"\x05start\x18\x01 \x01(\x05R\x05start\x12\x10\n" +
	"\x03end\x18\x02 \x01(\x05R\x03end\x12\"\n" +
	"\fsubstitution\x18\x03 \x01(\tR\fsubstitution\x1a\x1d\n" +
	"\aMD5Mask\x12\x12\n" +
	"\x04salt\x18\x01 \x01(\tR\x04salt\x1a\xf3\x01\n" +
	"\x0eInnerOuterMask\x12\x1d\n" +
	"\n" +
	"prefix_len\x18\x01 \x01(\x05R\tprefixLen\x12\x1d\n" +
	"\n" +
	"suffix_len\x18\x02 \x01(\x05R\tsuffixLen\x12B\n" +
	"\x04type\x18\x03 \x01(\x0e2..bytebase.v1.Algorithm.InnerOuterMask.MaskTypeR\x04type\x12\"\n" +
	"\fsubstitution\x18\x04 \x01(\tR\fsubstitution\";\n" +
	"\bMaskType\x12\x19\n" +
	"\x15MASK_TYPE_UNSPECIFIED\x10\x00\x12\t\n" +
	"\x05INNER\x10\x01\x12\t\n" +
	"\x05OUTER\x10\x02B\x06\n" +
	"\x04mask\"\xd8\x02\n" +
	"\tAISetting\x12\x18\n" +
	"\aenabled\x18\x01 \x01(\bR\aenabled\x12;\n" +
	"\bprovider\x18\x02 \x01(\x0e2\x1f.bytebase.v1.AISetting.ProviderR\bprovider\x12\x1a\n" +
	"\bendpoint\x18\x03 \x01(\tR\bendpoint\x12\x1d\n" +
	"\aapi_key\x18\x04 \x01(\tB\x04\xd0\xea0\x01R\x06apiKey\x12\x14\n" +
	"\x05model\x18\x05 \x01(\tR\x05model\x12\x18\n" +
	"\aversion\x18\x06 \x01(\tR\aversion\x12,\n" +
	"\x12sql_review_enabled\x18\a \x01(\bR\x10sqlReviewEnabled\"[\n" +
	"\bProvider\x12\x18\n" +
	"\x14PROVIDER_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aOPEN_AI\x10\x01\x12\n" +
	"\n" +
	"\x06CLAUDE\x10\x02\x12\n" +
	"\n" +
	"\x06GEMINI\x10\x03\x12\x10\n" +
	"\fAZURE_OPENAI\x10\x04\"\xe2\x02\n" +
	"\x12EnvironmentSetting\x12O\n" +
	"\fenvironments\x18\x01 \x03(\v2+.bytebase.v1.EnvironmentSetting.EnvironmentR\fenvironments\x1a\xfa\x01\n" +
	"\vEnvironment\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\x03R\x04name\x12\x0e\n" +
	"\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n" +
	"\x05title\x18\x03 \x01(\tR\x05title\x12I\n" +
	"\x04tags\x18\x04 \x03(\v25.bytebase.v1.EnvironmentSetting.Environment.TagsEntryR\x04tags\x12(\n" +
	"\x05color\x18\x05 \x01(\v2\x12.google.type.ColorR\x05color\x1a7\n" +
	"\tTagsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xd0\x05\n" +
	"\fEmailSetting\x12\x12\n" +
	"\x04from\x18\x01 \x01(\tR\x04from\x12\x1b\n" +
	"\tfrom_name\x18\x02 \x01(\tR\bfromName\x122\n" +
	"\x04type\x18\x03 \x01(\x0e2\x1e.bytebase.v1.EmailSetting.TypeR\x04type\x12:\n" +
	"\x04smtp\x18\x04 \x01(\v2$.bytebase.v1.EmailSetting.SMTPConfigH\x00R\x04smtp\x1a\xec\x03\n" +
	"\n" +
	"SMTPConfig\x12\x12\n" +
	"\x04host\x18\x01 \x01(\tR\x04host\x12\x12\n" +
	"\x04port\x18\x02 \x01(\x05R\x04port\x12\x1a\n" +
	"\busername\x18\x03 \x01(\tR\busername\x12#\n" +
	"\bpassword\x18\x04 \x01(\tB\a\xe0A\x04\xd0\xea0\x01R\bpassword\x12O\n" +
	"\n" +
	"encryption\x18\x05 \x01(\x0e2/.bytebase.v1.EmailSetting.SMTPConfig.EncryptionR\n" +
	"encryption\x12[\n" +
	"\x0eauthentication\x18\x06 \x01(\x0e23.bytebase.v1.EmailSetting.SMTPConfig.AuthenticationR\x0eauthentication\"X\n" +
	"\n" +
	"Encryption\x12\x1a\n" +
	"\x16ENCRYPTION_UNSPECIFIED\x10\x00\x12\x13\n" +
	"\x0fENCRYPTION_NONE\x10\x01\x12\f\n" +
	"\bSTARTTLS\x10\x02\x12\v\n" +
	"\aSSL_TLS\x10\x03\"m\n" +
	"\x0eAuthentication\x12\x1e\n" +
	"\x1aAUTHENTICATION_UNSPECIFIED\x10\x00\x12\x17\n" +
	"\x13AUTHENTICATION_NONE\x10\x01\x12\t\n" +
	"\x05PLAIN\x10\x02\x12\t\n" +
	"\x05LOGIN\x10\x03\x12\f\n" +
	"\bCRAM_MD5\x10\x04\"&\n" +
	"\x04Type\x12\x14\n" +
	"\x10TYPE_UNSPECIFIED\x10\x00\x12\b\n" +
	"\x04SMTP\x10\x01B\b\n" +
	"\x06config\"\x90\x01\n" +
	"\x17TestEmailSettingRequest\x12\x1b\n" +
	"\x06parent\x18\x01 \x01(\tB\x03\xe0A\x02R\x06parent\x12C\n" +
	"\remail_setting\x18\x02 \x01(\v2\x19.bytebase.v1.EmailSettingB\x03\xe0A\x02R\femailSetting\x12\x13\n" +
	"\x02to\x18\x03 \x01(\tB\x03\xe0A\x02R\x02to\"J\n" +
	"\x18TestEmailSettingResponse\x12\x18\n" +
	"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x14\n" +
	"\x05error\x18\x02 \x01(\tR\x05error*T\n" +
	"\x12DatabaseChangeMode\x12$\n" +
	" DATABASE_CHANGE_MODE_UNSPECIFIED\x10\x00\x12\f\n" +
	"\bPIPELINE\x10\x01\x12\n" +
	"\n" +
	"\x06EDITOR\x10\x022\xfe\x04\n" +
	"\x0eSettingService\x12\x8c\x01\n" +
	"\fListSettings\x12 .bytebase.v1.ListSettingsRequest\x1a!.bytebase.v1.ListSettingsResponse\"7\xdaA\x00\x8a\xea0\x10bb.settings.list\x90\xea0\x01\xa0\xea0\x04\xa8\xea0\t\x82\xd3\xe4\x93\x02\x0e\x12\f/v1/settings\x12\x83\x01\n" +
	"\n" +
	"GetSetting\x12\x1e.bytebase.v1.GetSettingRequest\x1a\x14.bytebase.v1.Setting\"?\xdaA\x04name\x8a\xea0\x0fbb.settings.get\x90\xea0\x02\xa0\xea0\x01\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/{name=settings/*}\x12\x9b\x01\n" +
	"\rUpdateSetting\x12!.bytebase.v1.UpdateSettingRequest\x1a\x14.bytebase.v1.Setting\"Q\x8a\xea0\x0fbb.settings.set\x90\xea0\x02\x98\xea0\x01\xa0\xea0\x03\xa8\xea0\a\x82\xd3\xe4\x93\x02(:\asetting2\x1d/v1/{setting.name=settings/*}\x12\xb8\x01\n" +
	"\x10TestEmailSetting\x12$.bytebase.v1.TestEmailSettingRequest\x1a%.bytebase.v1.TestEmailSettingResponse\"W\x8a\xea0\x0fbb.settings.set\x90\xea0\x01\xa0\xea0\x03\xa8\xea0\x06\x82\xd3\xe4\x93\x022:\x01*\"-/v1/{parent=workspaces/*}/settings/EMAIL:testB\xa9\x01\n" +
	"\x0fcom.bytebase.v1B\x13SettingServiceProtoP\x01Z4github.com/bytebase/bytebase/backend/generated-go/v1\xa2\x02\x03BXX\xaa\x02\vBytebase.V1\xca\x02\vBytebase\\V1\xe2\x02\x17Bytebase\\V1\\GPBMetadata\xea\x02\fBytebase::V1b\x06proto3"

var (
	file_v1_setting_service_proto_rawDescOnce sync.Once
	file_v1_setting_service_proto_rawDescData []byte
)

func file_v1_setting_service_proto_rawDescGZIP() []byte {
	file_v1_setting_service_proto_rawDescOnce.Do(func() {
		file_v1_setting_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_v1_setting_service_proto_rawDesc), len(file_v1_setting_service_proto_rawDesc)))
	})
	return file_v1_setting_service_proto_rawDescData
}

var file_v1_setting_service_proto_enumTypes = make([]protoimpl.EnumInfo, 9)
var file_v1_setting_service_proto_msgTypes = make([]protoimpl.MessageInfo, 47)
var file_v1_setting_service_proto_goTypes = []any{
	(DatabaseChangeMode)(0),                             // 0: bytebase.v1.DatabaseChangeMode
	(Setting_SettingName)(0),                            // 1: bytebase.v1.Setting.SettingName
	(MCPSetting_Capability)(0),                          // 2: bytebase.v1.MCPSetting.Capability
	(WorkspaceApprovalSetting_Rule_Source)(0),           // 3: bytebase.v1.WorkspaceApprovalSetting.Rule.Source
	(Algorithm_InnerOuterMask_MaskType)(0),              // 4: bytebase.v1.Algorithm.InnerOuterMask.MaskType
	(AISetting_Provider)(0),                             // 5: bytebase.v1.AISetting.Provider
	(EmailSetting_Type)(0),                              // 6: bytebase.v1.EmailSetting.Type
	(EmailSetting_SMTPConfig_Encryption)(0),             // 7: bytebase.v1.EmailSetting.SMTPConfig.Encryption
	(EmailSetting_SMTPConfig_Authentication)(0),         // 8: bytebase.v1.EmailSetting.SMTPConfig.Authentication
	(*ListSettingsRequest)(nil),                         // 9: bytebase.v1.ListSettingsRequest
	(*ListSettingsResponse)(nil),                        // 10: bytebase.v1.ListSettingsResponse
	(*GetSettingRequest)(nil),                           // 11: bytebase.v1.GetSettingRequest
	(*GetSettingResponse)(nil),                          // 12: bytebase.v1.GetSettingResponse
	(*UpdateSettingRequest)(nil),                        // 13: bytebase.v1.UpdateSettingRequest
	(*Setting)(nil),                                     // 14: bytebase.v1.Setting
	(*SettingValue)(nil),                                // 15: bytebase.v1.SettingValue
	(*ExportSetting)(nil),                               // 16: bytebase.v1.ExportSetting
	(*SharePointSetting)(nil),                           // 17: bytebase.v1.SharePointSetting
	(*AppIMSetting)(nil),                                // 18: bytebase.v1.AppIMSetting
	(*WorkspaceProfileSetting)(nil),                     // 19: bytebase.v1.WorkspaceProfileSetting
	(*MCPSetting)(nil),                                  // 20: bytebase.v1.MCPSetting
	(*SQLEditorThemeSetting)(nil),                       // 21: bytebase.v1.SQLEditorThemeSetting
	(*Announcement)(nil),                                // 22: bytebase.v1.Announcement
	(*WorkspaceApprovalSetting)(nil),                    // 23: bytebase.v1.WorkspaceApprovalSetting
	(*DataClassificationSetting)(nil),                   // 24: bytebase.v1.DataClassificationSetting
	(*SemanticTypeSetting)(nil),                         // 25: bytebase.v1.SemanticTypeSetting
	(*Algorithm)(nil),                                   // 26: bytebase.v1.Algorithm
	(*AISetting)(nil),                                   // 27: bytebase.v1.AISetting
	(*EnvironmentSetting)(nil),                          // 28: bytebase.v1.EnvironmentSetting
	(*EmailSetting)(nil),                                // 29: bytebase.v1.EmailSetting
	(*TestEmailSettingRequest)(nil),                     // 30: bytebase.v1.TestEmailSettingRequest
	(*TestEmailSettingResponse)(nil),                    // 31: bytebase.v1.TestEmailSettingResponse
	(*AppIMSetting_Slack)(nil),                          // 32: bytebase.v1.AppIMSetting.Slack
	(*AppIMSetting_Feishu)(nil),                         // 33: bytebase.v1.AppIMSetting.Feishu
	(*AppIMSetting_Wecom)(nil),                          // 34: bytebase.v1.AppIMSetting.Wecom
	(*AppIMSetting_Lark)(nil),                           // 35: bytebase.v1.AppIMSetting.Lark
	(*AppIMSetting_DingTalk)(nil),                       // 36: bytebase.v1.AppIMSetting.DingTalk
	(*AppIMSetting_Teams)(nil),                          // 37: bytebase.v1.AppIMSetting.Teams
	(*AppIMSetting_IMSetting)(nil),                      // 38: bytebase.v1.AppIMSetting.IMSetting
	(*WorkspaceProfileSetting_PasswordRestriction)(nil), // 39: bytebase.v1.WorkspaceProfileSetting.PasswordRestriction
	nil,                                    // 40: bytebase.v1.SQLEditorThemeSetting.TokensEntry
	(*Announcement_AnnouncementTheme)(nil), // 41: bytebase.v1.Announcement.AnnouncementTheme
	(*WorkspaceApprovalSetting_Rule)(nil),  // 42: bytebase.v1.WorkspaceApprovalSetting.Rule
	(*DataClassificationSetting_DataClassificationConfig)(nil),                    // 43: bytebase.v1.DataClassificationSetting.DataClassificationConfig
	(*DataClassificationSetting_DataClassificationConfig_Level)(nil),              // 44: bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level
	(*DataClassificationSetting_DataClassificationConfig_DataClassification)(nil), // 45: bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification
	nil,                                      // 46: bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry
	(*SemanticTypeSetting_SemanticType)(nil), // 47: bytebase.v1.SemanticTypeSetting.SemanticType
	(*Algorithm_FullMask)(nil),               // 48: bytebase.v1.Algorithm.FullMask
	(*Algorithm_RangeMask)(nil),              // 49: bytebase.v1.Algorithm.RangeMask
	(*Algorithm_MD5Mask)(nil),                // 50: bytebase.v1.Algorithm.MD5Mask
	(*Algorithm_InnerOuterMask)(nil),         // 51: bytebase.v1.Algorithm.InnerOuterMask
	(*Algorithm_RangeMask_Slice)(nil),        // 52: bytebase.v1.Algorithm.RangeMask.Slice
	(*EnvironmentSetting_Environment)(nil),   // 53: bytebase.v1.EnvironmentSetting.Environment
	nil,                                      // 54: bytebase.v1.EnvironmentSetting.Environment.TagsEntry
	(*EmailSetting_SMTPConfig)(nil),          // 55: bytebase.v1.EmailSetting.SMTPConfig
	(*fieldmaskpb.FieldMask)(nil),            // 56: google.protobuf.FieldMask
	(*durationpb.Duration)(nil),              // 57: google.protobuf.Duration
	(WebhookType)(0),                         // 58: bytebase.v1.WebhookType
	(*color.Color)(nil),                      // 59: google.type.Color
	(*ApprovalTemplate)(nil),                 // 60: bytebase.v1.ApprovalTemplate
	(*expr.Expr)(nil),                        // 61: google.type.Expr
}
var file_v1_setting_service_proto_depIdxs = []int32{
	14, // 0: bytebase.v1.ListSettingsResponse.settings:type_name -> bytebase.v1.Setting
	14, // 1: bytebase.v1.GetSettingResponse.setting:type_name -> bytebase.v1.Setting
	14, // 2: bytebase.v1.UpdateSettingRequest.setting:type_name -> bytebase.v1.Setting
	56, // 3: bytebase.v1.UpdateSettingRequest.update_mask:type_name -> google.protobuf.FieldMask
	15, // 4: bytebase.v1.Setting.value:type_name -> bytebase.v1.SettingValue
	18, // 5: bytebase.v1.SettingValue.app_im:type_name -> bytebase.v1.AppIMSetting
	19, // 6: bytebase.v1.SettingValue.workspace_profile:type_name -> bytebase.v1.WorkspaceProfileSetting
	23, // 7: bytebase.v1.SettingValue.workspace_approval:type_name -> bytebase.v1.WorkspaceApprovalSetting
	24, // 8: bytebase.v1.SettingValue.data_classification:type_name -> bytebase.v1.DataClassificationSetting
	25, // 9: bytebase.v1.SettingValue.semantic_type:type_name -> bytebase.v1.SemanticTypeSetting
	27, // 10: bytebase.v1.SettingValue.ai:type_name -> bytebase.v1.AISetting
	28, // 11: bytebase.v1.SettingValue.environment:type_name -> bytebase.v1.EnvironmentSetting
	29, // 12: bytebase.v1.SettingValue.email:type_name -> bytebase.v1.EmailSetting
	20, // 13: bytebase.v1.SettingValue.mcp:type_name -> bytebase.v1.MCPSetting
	16, // 14: bytebase.v1.SettingValue.export:type_name -> bytebase.v1.ExportSetting
	17, // 15: bytebase.v1.ExportSetting.sharepoint:type_name -> bytebase.v1.SharePointSetting
	38, // 16: bytebase.v1.AppIMSetting.settings:type_name -> bytebase.v1.AppIMSetting.IMSetting
	57, // 17: bytebase.v1.WorkspaceProfileSetting.refresh_token_duration:type_name -> google.protobuf.Duration
	22, // 18: bytebase.v1.WorkspaceProfileSetting.announcement:type_name -> bytebase.v1.Announcement
	57, // 19: bytebase.v1.WorkspaceProfileSetting.maximum_request_expiration:type_name -> google.protobuf.Duration
	0,  // 20: bytebase.v1.WorkspaceProfileSetting.database_change_mode:type_name -> bytebase.v1.DatabaseChangeMode
	57, // 21: bytebase.v1.WorkspaceProfileSetting.inactive_session_timeout:type_name -> google.protobuf.Duration
	39, // 22: bytebase.v1.WorkspaceProfileSetting.password_restriction:type_name -> bytebase.v1.WorkspaceProfileSetting.PasswordRestriction
	57, // 23: bytebase.v1.WorkspaceProfileSetting.access_token_duration:type_name -> google.protobuf.Duration
	57, // 24: bytebase.v1.WorkspaceProfileSetting.query_timeout:type_name -> google.protobuf.Duration
	21, // 25: bytebase.v1.WorkspaceProfileSetting.sql_editor_custom_theme:type_name -> bytebase.v1.SQLEditorThemeSetting
	57, // 26: bytebase.v1.WorkspaceProfileSetting.maximum_role_expiration:type_name -> google.protobuf.Duration
	2,  // 27: bytebase.v1.MCPSetting.capability:type_name -> bytebase.v1.MCPSetting.Capability
	40, // 28: bytebase.v1.SQLEditorThemeSetting.tokens:type_name -> bytebase.v1.SQLEditorThemeSetting.TokensEntry
	41, // 29: bytebase.v1.Announcement.theme:type_name -> bytebase.v1.Announcement.AnnouncementTheme
	42, // 30: bytebase.v1.WorkspaceApprovalSetting.rules:type_name -> bytebase.v1.WorkspaceApprovalSetting.Rule
	43, // 31: bytebase.v1.DataClassificationSetting.configs:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig
	47, // 32: bytebase.v1.SemanticTypeSetting.types:type_name -> bytebase.v1.SemanticTypeSetting.SemanticType
	48, // 33: bytebase.v1.Algorithm.full_mask:type_name -> bytebase.v1.Algorithm.FullMask
	49, // 34: bytebase.v1.Algorithm.range_mask:type_name -> bytebase.v1.Algorithm.RangeMask
	50, // 35: bytebase.v1.Algorithm.md5_mask:type_name -> bytebase.v1.Algorithm.MD5Mask
	51, // 36: bytebase.v1.Algorithm.inner_outer_mask:type_name -> bytebase.v1.Algorithm.InnerOuterMask
	5,  // 37: bytebase.v1.AISetting.provider:type_name -> bytebase.v1.AISetting.Provider
	53, // 38: bytebase.v1.EnvironmentSetting.environments:type_name -> bytebase.v1.EnvironmentSetting.Environment
	6,  // 39: bytebase.v1.EmailSetting.type:type_name -> bytebase.v1.EmailSetting.Type
	55, // 40: bytebase.v1.EmailSetting.smtp:type_name -> bytebase.v1.EmailSetting.SMTPConfig
	29, // 41: bytebase.v1.TestEmailSettingRequest.email_setting:type_name -> bytebase.v1.EmailSetting
	58, // 42: bytebase.v1.AppIMSetting.IMSetting.type:type_name -> bytebase.v1.WebhookType
	32, // 43: bytebase.v1.AppIMSetting.IMSetting.slack:type_name -> bytebase.v1.AppIMSetting.Slack
	33, // 44: bytebase.v1.AppIMSetting.IMSetting.feishu:type_name -> bytebase.v1.AppIMSetting.Feishu
	34, // 45: bytebase.v1.AppIMSetting.IMSetting.wecom:type_name -> bytebase.v1.AppIMSetting.Wecom
	35, // 46: bytebase.v1.AppIMSetting.IMSetting.lark:type_name -> bytebase.v1.AppIMSetting.Lark
	36, // 47: bytebase.v1.AppIMSetting.IMSetting.dingtalk:type_name -> bytebase.v1.AppIMSetting.DingTalk
	37, // 48: bytebase.v1.AppIMSetting.IMSetting.teams:type_name -> bytebase.v1.AppIMSetting.Teams
	57, // 49: bytebase.v1.WorkspaceProfileSetting.PasswordRestriction.password_rotation:type_name -> google.protobuf.Duration
	59, // 50: bytebase.v1.SQLEditorThemeSetting.TokensEntry.value:type_name -> google.type.Color
	59, // 51: bytebase.v1.Announcement.AnnouncementTheme.background:type_name -> google.type.Color
	59, // 52: bytebase.v1.Announcement.AnnouncementTheme.text:type_name -> google.type.Color
	60, // 53: bytebase.v1.WorkspaceApprovalSetting.Rule.template:type_name -> bytebase.v1.ApprovalTemplate
	61, // 54: bytebase.v1.WorkspaceApprovalSetting.Rule.condition:type_name -> google.type.Expr
	3,  // 55: bytebase.v1.WorkspaceApprovalSetting.Rule.source:type_name -> bytebase.v1.WorkspaceApprovalSetting.Rule.Source
	44, // 56: bytebase.v1.DataClassificationSetting.DataClassificationConfig.levels:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level
	46, // 57: bytebase.v1.DataClassificationSetting.DataClassificationConfig.classification:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry
	45, // 58: bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry.value:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification
	26, // 59: bytebase.v1.SemanticTypeSetting.SemanticType.algorithm:type_name -> bytebase.v1.Algorithm
	52, // 60: bytebase.v1.Algorithm.RangeMask.slices:type_name -> bytebase.v1.Algorithm.RangeMask.Slice
	4,  // 61: bytebase.v1.Algorithm.InnerOuterMask.type:type_name -> bytebase.v1.Algorithm.InnerOuterMask.MaskType
	54, // 62: bytebase.v1.EnvironmentSetting.Environment.tags:type_name -> bytebase.v1.EnvironmentSetting.Environment.TagsEntry
	59, // 63: bytebase.v1.EnvironmentSetting.Environment.color:type_name -> google.type.Color
	7,  // 64: bytebase.v1.EmailSetting.SMTPConfig.encryption:type_name -> bytebase.v1.EmailSetting.SMTPConfig.Encryption
	8,  // 65: bytebase.v1.EmailSetting.SMTPConfig.authentication:type_name -> bytebase.v1.EmailSetting.SMTPConfig.Authentication
	9,  // 66: bytebase.v1.SettingService.ListSettings:input_type -> bytebase.v1.ListSettingsRequest
	11, // 67: bytebase.v1.SettingService.GetSetting:input_type -> bytebase.v1.GetSettingRequest
	13, // 68: bytebase.v1.SettingService.UpdateSetting:input_type -> bytebase.v1.UpdateSettingRequest
	30, // 69: bytebase.v1.SettingService.TestEmailSetting:input_type -> bytebase.v1.TestEmailSettingRequest
	10, // 70: bytebase.v1.SettingService.ListSettings:output_type -> bytebase.v1.ListSettingsResponse
	14, // 71: bytebase.v1.SettingService.GetSetting:output_type -> bytebase.v1.Setting
	14, // 72: bytebase.v1.SettingService.UpdateSetting:output_type -> bytebase.v1.Setting
	31, // 73: bytebase.v1.SettingService.TestEmailSetting:output_type -> bytebase.v1.TestEmailSettingResponse
	70, // [70:74] is the sub-list for method output_type
	66, // [66:70] is the sub-list for method input_type
	66, // [66:66] is the sub-list for extension type_name
	66, // [66:66] is the sub-list for extension extendee
	0,  // [0:66] is the sub-list for field type_name
}

func init() { file_v1_setting_service_proto_init() }
func file_v1_setting_service_proto_init() {
	if File_v1_setting_service_proto != nil {
		return
	}
	file_v1_annotation_proto_init()
	file_v1_common_proto_init()
	file_v1_issue_service_proto_init()
	file_v1_setting_service_proto_msgTypes[6].OneofWrappers = []any{
		(*SettingValue_AppIm)(nil),
		(*SettingValue_WorkspaceProfile)(nil),
		(*SettingValue_WorkspaceApproval)(nil),
		(*SettingValue_DataClassification)(nil),
		(*SettingValue_SemanticType)(nil),
		(*SettingValue_Ai)(nil),
		(*SettingValue_Environment)(nil),
		(*SettingValue_Email)(nil),
		(*SettingValue_Mcp)(nil),
		(*SettingValue_Export)(nil),
	}
	file_v1_setting_service_proto_msgTypes[17].OneofWrappers = []any{
		(*Algorithm_FullMask_)(nil),
		(*Algorithm_RangeMask_)(nil),
		(*Algorithm_Md5Mask)(nil),
		(*Algorithm_InnerOuterMask_)(nil),
	}
	file_v1_setting_service_proto_msgTypes[20].OneofWrappers = []any{
		(*EmailSetting_Smtp)(nil),
	}
	file_v1_setting_service_proto_msgTypes[29].OneofWrappers = []any{
		(*AppIMSetting_IMSetting_Slack)(nil),
		(*AppIMSetting_IMSetting_Feishu)(nil),
		(*AppIMSetting_IMSetting_Wecom)(nil),
		(*AppIMSetting_IMSetting_Lark)(nil),
		(*AppIMSetting_IMSetting_Dingtalk)(nil),
		(*AppIMSetting_IMSetting_Teams)(nil),
	}
	file_v1_setting_service_proto_msgTypes[36].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_v1_setting_service_proto_rawDesc), len(file_v1_setting_service_proto_rawDesc)),
			NumEnums:      9,
			NumMessages:   47,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_v1_setting_service_proto_goTypes,
		DependencyIndexes: file_v1_setting_service_proto_depIdxs,
		EnumInfos:         file_v1_setting_service_proto_enumTypes,
		MessageInfos:      file_v1_setting_service_proto_msgTypes,
	}.Build()
	File_v1_setting_service_proto = out.File
	file_v1_setting_service_proto_goTypes = nil
	file_v1_setting_service_proto_depIdxs = nil
}