Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: cleanup agent url (#16589)
Danny Xu57dd84107dd6
diff --git a/backend/api/v1/setting_service.go b/backend/api/v1/setting_service.goindex b55196ec1f..292e342f6d 100644--- a/backend/api/v1/setting_service.go+++ b/backend/api/v1/setting_service.go@@ -315,17 +315,6 @@ func (s *SettingService) UpdateSetting(ctx context.Context, request *connect.Reqreturn nil, connect.NewError(connect.CodePermissionDenied, err)}storeSettingValue = request.Msg.Setting.Value.GetStringValue()- case storepb.SettingName_PLUGIN_AGENT:- payload := new(storepb.AgentPluginSetting)- if err := convertProtoToProto(request.Msg.Setting.Value.GetAgentPluginSettingValue(), payload); err != nil {- return nil, connect.NewError(connect.CodeInternal, errors.Errorf("failed to unmarshal setting value for %s with error: %v", apiSettingName, err))- }-- bytes, err := protojson.Marshal(payload)- if err != nil {- return nil, connect.NewError(connect.CodeInternal, errors.Errorf("failed to marshal setting for %s with error: %v", apiSettingName, err))- }- storeSettingValue = string(bytes)case storepb.SettingName_APP_IM:payload := new(storepb.AppIMSetting)@@ -650,19 +639,6 @@ func convertToSettingMessage(setting *store.SettingMessage) (*v1pb.Setting, erro},},}, nil- case storepb.SettingName_PLUGIN_AGENT:- v1Value := new(v1pb.AgentPluginSetting)- if err := common.ProtojsonUnmarshaler.Unmarshal([]byte(setting.Value), v1Value); err != nil {- return nil, connect.NewError(connect.CodeInternal, errors.Errorf("failed to unmarshal setting value for %s with error: %v", setting.Name, err))- }- return &v1pb.Setting{- Name: settingName,- Value: &v1pb.Value{- Value: &v1pb.Value_AgentPluginSettingValue{- AgentPluginSettingValue: v1Value,- },- },- }, nilcase storepb.SettingName_WORKSPACE_PROFILE:v1Value := new(v1pb.WorkspaceProfileSetting)if err := common.ProtojsonUnmarshaler.Unmarshal([]byte(setting.Value), v1Value); err != nil {@@ -953,8 +929,6 @@ func convertStoreSettingNameToV1(storeName storepb.SettingName) v1pb.Setting_Setreturn v1pb.Setting_WATERMARKcase storepb.SettingName_AI:return v1pb.Setting_AI- case storepb.SettingName_PLUGIN_AGENT:- return v1pb.Setting_PLUGIN_AGENTcase storepb.SettingName_SCHEMA_TEMPLATE:return v1pb.Setting_SCHEMA_TEMPLATEcase storepb.SettingName_DATA_CLASSIFICATION:@@ -999,8 +973,6 @@ func convertV1SettingNameToStore(v1Name v1pb.Setting_SettingName) storepb.Settinreturn storepb.SettingName_WATERMARKcase v1pb.Setting_AI:return storepb.SettingName_AI- case v1pb.Setting_PLUGIN_AGENT:- return storepb.SettingName_PLUGIN_AGENTcase v1pb.Setting_SCHEMA_TEMPLATE:return storepb.SettingName_SCHEMA_TEMPLATEcase v1pb.Setting_DATA_CLASSIFICATION:diff --git a/backend/component/config/profile.go b/backend/component/config/profile.goindex 23a7595983..aefef6ffb0 100644--- a/backend/component/config/profile.go+++ b/backend/component/config/profile.go@@ -64,7 +64,6 @@ func (prof *Profile) UseEmbedDB() bool {}var saasFeatureControlMap = map[string]bool{- storepb.SettingName_PLUGIN_AGENT.String(): true,storepb.SettingName_WORKSPACE_ID.String(): true,}diff --git a/backend/enterprise/plugin/hub/hub.go b/backend/enterprise/plugin/hub/hub.goindex 8f52cea983..fdea01f32f 100644--- a/backend/enterprise/plugin/hub/hub.go+++ b/backend/enterprise/plugin/hub/hub.go@@ -23,9 +23,8 @@ var _ plugin.LicenseProvider = (*Provider)(nil)// Provider is the Bytebase Hub license provider.type Provider struct {- config *config.Config- store *store.Store- remoteProvider *remoteLicenseProvider+ config *config.Config+ store *store.Store}// claims creates a struct that will be encoded to a JWT.@@ -69,9 +68,8 @@ func NewProvider(providerConfig *plugin.ProviderConfig) (plugin.LicenseProvider,}return &Provider{- store: providerConfig.Store,- config: config,- remoteProvider: newRemoteLicenseProvider(config, providerConfig.Store),+ store: providerConfig.Store,+ config: config,}, nil}@@ -99,12 +97,6 @@ func (p *Provider) LoadSubscription(ctx context.Context) *v1pb.Subscription {slog.Debug("failed to load enterprise license", log.BBError(err))}- if license == nil {- license, err = p.fetchAndStoreLicense(ctx)- if err != nil {- slog.Debug("failed to fetch license", log.BBError(err))- }- }if license == nil {return nil}@@ -116,29 +108,6 @@ func (p *Provider) LoadSubscription(ctx context.Context) *v1pb.Subscription {return license}-func (p *Provider) fetchAndStoreLicense(ctx context.Context) (*v1pb.Subscription, error) {- license, err := p.remoteProvider.FetchLicense(ctx)- if err != nil {- return nil, err- }- if license == "" {- return nil, nil- }- result, err := p.parseLicense(ctx, license)- if err != nil {- return nil, err- }-- if _, err := p.store.UpsertSettingV2(ctx, &store.SetSettingMessage{- Name: storepb.SettingName_ENTERPRISE_LICENSE,- Value: license,- }); err != nil {- return nil, errors.Wrapf(err, "failed to store the license")- }-- return result, nil-}-func (p *Provider) parseLicense(ctx context.Context, license string) (*v1pb.Subscription, error) {claim := &claims{}if err := parseJWTToken(license, p.config.Version, p.config.PublicKey, claim); err != nil {@@ -217,3 +186,32 @@ func (p *Provider) parseClaims(ctx context.Context, claim *claims) (*v1pb.Subscrreturn license, nil}++func parseJWTToken(tokenString, expectVersion, publicKey string, claims jwt.Claims) error {+ token, err := jwt.ParseWithClaims(tokenString, claims, func(token *jwt.Token) (any, error) {+ if _, ok := token.Method.(*jwt.SigningMethodRSA); !ok {+ return nil, common.Errorf(common.Invalid, "unexpected signing method: %v", token.Header["alg"])+ }++ kid, ok := token.Header["kid"].(string)+ if !ok || kid != expectVersion {+ return nil, common.Errorf(common.Invalid, "version '%v' is not valid. expect %s", token.Header["kid"], expectVersion)+ }++ key, err := jwt.ParseRSAPublicKeyFromPEM([]byte(publicKey))+ if err != nil {+ return nil, common.Wrap(err, common.Invalid)+ }++ return key, nil+ })+ if err != nil {+ return common.Wrap(err, common.Invalid)+ }++ if !token.Valid {+ return common.Errorf(common.Invalid, "invalid token")+ }++ return nil+}diff --git a/backend/enterprise/plugin/hub/remote_provider.go b/backend/enterprise/plugin/hub/remote_provider.godeleted file mode 100644index 7dd9b657a8..0000000000--- a/backend/enterprise/plugin/hub/remote_provider.go+++ /dev/null@@ -1,125 +0,0 @@-package hub--import (- "context"- "encoding/json"- "fmt"- "io"- "log/slog"- "net/http"- "time"-- "github.com/golang-jwt/jwt/v5"- "github.com/pkg/errors"-- "github.com/bytebase/bytebase/backend/common"- "github.com/bytebase/bytebase/backend/enterprise/config"- "github.com/bytebase/bytebase/backend/store"- storepb "github.com/bytebase/bytebase/proto/generated-go/store"-)--const (- fetchLicenseInterval = time.Duration(1) * time.Minute-)--// getLicenseResponse is the API message for getting license response from the hub.-type getLicenseResponse struct {- License string `json:"license"`-}--// internalTokenClaims is the token claims for internal API call.-type internalTokenClaims struct {- PrincipalID int64 `json:"principalId"`- OrgID string `json:"orgId"`- WorkspaceID string `json:"workspaceId"`- jwt.RegisteredClaims-}--// remoteLicenseProvider is the service to fetch license from the hub.-type remoteLicenseProvider struct {- config *config.Config- store *store.Store- client *http.Client- lastFetchTime int64-}--// newRemoteLicenseProvider will create a new license provider.-func newRemoteLicenseProvider(config *config.Config, store *store.Store) *remoteLicenseProvider {- return &remoteLicenseProvider{- store: store,- config: config,- client: &http.Client{- Timeout: 30 * time.Second,- },- lastFetchTime: 0,- }-}--// FetchLicense will fetch the license from the hub.-func (p *remoteLicenseProvider) FetchLicense(ctx context.Context) (string, error) {- nextFetchTime := p.lastFetchTime + int64(fetchLicenseInterval.Seconds())- if time.Now().Unix() < nextFetchTime {- slog.Debug(fmt.Sprintf("skip fetching license until %d", nextFetchTime))- return "", nil- }-- setting, err := p.store.GetSettingV2(ctx, storepb.SettingName_PLUGIN_AGENT)- if err != nil {- return "", errors.Wrapf(err, "failed to find the hub token from settings")- }- if setting == nil || setting.Value == "" {- return "", errors.Wrapf(err, "agent not found")- }- payload := new(storepb.AgentPluginSetting)- if err := common.ProtojsonUnmarshaler.Unmarshal([]byte(setting.Value), payload); err != nil {- return "", errors.Wrapf(err, "failed to parse agent")- }- if _, err := p.parseJWTToken(payload.Token); err != nil {- return "", errors.Wrapf(err, "invalid internal token")- }-- defer func() {- p.lastFetchTime = time.Now().Unix()- }()-- return p.requestLicense(ctx, payload.Url, payload.Token)-}--func (p *remoteLicenseProvider) requestLicense(ctx context.Context, agentURL, agentToken string) (string, error) {- req, err := http.NewRequestWithContext(ctx, http.MethodGet, agentURL, nil)- if err != nil {- return "", errors.Wrapf(err, "construct GET %s", agentURL)- }- req.Header.Set("Content-Type", "application/json")- req.Header.Set("Authorization", fmt.Sprintf("Bearer %s", agentToken))- resp, err := p.client.Do(req)- if err != nil {- return "", errors.Wrapf(err, "GET %s", agentURL)- }-- b, err := io.ReadAll(resp.Body)- if err != nil {- return "", errors.Wrapf(err, "read body of GET %s", agentURL)- }- defer resp.Body.Close()-- if resp.StatusCode != http.StatusOK {- return "", errors.Errorf("non-200 GET status code %d with body %q", resp.StatusCode, b)- }-- var response getLicenseResponse- if err := json.Unmarshal(b, &response); err != nil {- return "", errors.Wrapf(err, "unmarshal body from GET %s", agentURL)- }-- return response.License, nil-}--func (p *remoteLicenseProvider) parseJWTToken(tokenStr string) (*internalTokenClaims, error) {- claims := &internalTokenClaims{}- if err := parseJWTToken(tokenStr, p.config.Version, p.config.PublicKey, claims); err != nil {- return nil, common.Wrap(err, common.Invalid)- }-- return claims, nil-}diff --git a/backend/enterprise/plugin/hub/utils.go b/backend/enterprise/plugin/hub/utils.godeleted file mode 100644index b3e6b9bdbc..0000000000--- a/backend/enterprise/plugin/hub/utils.go+++ /dev/null@@ -1,36 +0,0 @@-package hub--import (- "github.com/golang-jwt/jwt/v5"-- "github.com/bytebase/bytebase/backend/common"-)--func parseJWTToken(tokenString, expectVersion, publicKey string, claims jwt.Claims) error {- token, err := jwt.ParseWithClaims(tokenString, claims, func(token *jwt.Token) (any, error) {- if _, ok := token.Method.(*jwt.SigningMethodRSA); !ok {- return nil, common.Errorf(common.Invalid, "unexpected signing method: %v", token.Header["alg"])- }-- kid, ok := token.Header["kid"].(string)- if !ok || kid != expectVersion {- return nil, common.Errorf(common.Invalid, "version '%v' is not valid. expect %s", token.Header["kid"], expectVersion)- }-- key, err := jwt.ParseRSAPublicKeyFromPEM([]byte(publicKey))- if err != nil {- return nil, common.Wrap(err, common.Invalid)- }-- return key, nil- })- if err != nil {- return common.Wrap(err, common.Invalid)- }-- if !token.Valid {- return common.Errorf(common.Invalid, "invalid token")- }-- return nil-}diff --git a/backend/migrator/migration/3.7/0026##remove_plugin_agent_setting.sql b/backend/migrator/migration/3.7/0026##remove_plugin_agent_setting.sqlnew file mode 100644index 0000000000..3387354cc5--- /dev/null+++ b/backend/migrator/migration/3.7/0026##remove_plugin_agent_setting.sql@@ -0,0 +1,2 @@+-- Remove PLUGIN_AGENT setting data as this feature has been removed+DELETE FROM setting WHERE name = 'PLUGIN_AGENT';\ No newline at end of filediff --git a/backend/migrator/migrator_test.go b/backend/migrator/migrator_test.goindex 66992f260e..172560b5d0 100644--- a/backend/migrator/migrator_test.go+++ b/backend/migrator/migrator_test.go@@ -12,7 +12,7 @@ import (func TestLatestVersion(t *testing.T) {files, err := getSortedVersionedFiles()require.NoError(t, err)- require.Equal(t, semver.MustParse("3.7.25"), *files[len(files)-1].version)+ require.Equal(t, semver.MustParse("3.7.26"), *files[len(files)-1].version)}func TestVersionUnique(t *testing.T) {diff --git a/frontend/src/types/proto-es/v1/setting_service_pb.d.ts b/frontend/src/types/proto-es/v1/setting_service_pb.d.tsindex 28a39958b6..5f5b0fb1bb 100644--- a/frontend/src/types/proto-es/v1/setting_service_pb.d.ts+++ b/frontend/src/types/proto-es/v1/setting_service_pb.d.ts@@ -241,11 +241,6 @@ export enum Setting_SettingName {*/AI = 10,- /**- * @generated from enum value: PLUGIN_AGENT = 11;- */- PLUGIN_AGENT = 11,-/*** @generated from enum value: SCHEMA_TEMPLATE = 13;*/@@ -314,12 +309,8 @@ export declare type Value = Message<"bytebase.v1.Value"> & {case: "appImSettingValue";} | {/**- * @generated from field: bytebase.v1.AgentPluginSetting agent_plugin_setting_value = 4;- */- value: AgentPluginSetting;- case: "agentPluginSettingValue";- } | {- /**+ * reserved 4; // was AgentPluginSetting agent_plugin_setting_value+ ** @generated from field: bytebase.v1.WorkspaceProfileSetting workspace_profile_setting_value = 5;*/value: WorkspaceProfileSetting;@@ -558,31 +549,6 @@ export declare type AppIMSetting_DingTalk = Message<"bytebase.v1.AppIMSetting.Di*/export declare const AppIMSetting_DingTalkSchema: GenMessage<AppIMSetting_DingTalk>;-/**- * @generated from message bytebase.v1.AgentPluginSetting- */-export declare type AgentPluginSetting = Message<"bytebase.v1.AgentPluginSetting"> & {- /**- * The URL for the agent API.- *- * @generated from field: string url = 1;- */- url: string;-- /**- * The token for the agent.- *- * @generated from field: string token = 2;- */- token: string;-};--/**- * Describes the message bytebase.v1.AgentPluginSetting.- * Use `create(AgentPluginSettingSchema)` to create a new message.- */-export declare const AgentPluginSettingSchema: GenMessage<AgentPluginSetting>;-/*** @generated from message bytebase.v1.WorkspaceProfileSetting*/diff --git a/frontend/src/types/proto-es/v1/setting_service_pb.js b/frontend/src/types/proto-es/v1/setting_service_pb.jsindex 9318bc2686..edfe6441b8 100644--- a/frontend/src/types/proto-es/v1/setting_service_pb.js+++ b/frontend/src/types/proto-es/v1/setting_service_pb.js@@ -19,7 +19,7 @@ import { file_v1_issue_service } from "./issue_service_pb";* Describes the file v1/setting_service.proto.*/export const file_v1_setting_service = /*@__PURE__*/- fileDesc("Chh2MS9zZXR0aW5nX3NlcnZpY2UucHJvdG8SC2J5dGViYXNlLnYxIjwKE0xpc3RTZXR0aW5nc1JlcXVlc3QSEQoJcGFnZV9zaXplGAEgASgFEhIKCnBhZ2VfdG9rZW4YAiABKAkiVwoUTGlzdFNldHRpbmdzUmVzcG9uc2USJgoIc2V0dGluZ3MYASADKAsyFC5ieXRlYmFzZS52MS5TZXR0aW5nEhcKD25leHRfcGFnZV90b2tlbhgCIAEoCSJAChFHZXRTZXR0aW5nUmVxdWVzdBIrCgRu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XRlYmFzZS52MS5MaXN0U2V0dGluZ3NSZXF1ZXN0GiEuYnl0ZWJhc2UudjEuTGlzdFNldHRpbmdzUmVzcG9uc2UiL9pBAIrqMBBiYi5zZXR0aW5ncy5saXN0kOowAYLT5JMCDhIML3YxL3NldHRpbmdzEn8KCkdldFNldHRpbmcSHi5ieXRlYmFzZS52MS5HZXRTZXR0aW5nUmVxdWVzdBoULmJ5dGViYXNlLnYxLlNldHRpbmciO9pBBG5hbWWK6jAPYmIuc2V0dGluZ3MuZ2V0kOowAYLT5JMCFxIVL3YxL3tuYW1lPXNldHRpbmdzLyp9EpMBCg1VcGRhdGVTZXR0aW5nEiEuYnl0ZWJhc2UudjEuVXBkYXRlU2V0dGluZ1JlcXVlc3QaFC5ieXRlYmFzZS52MS5TZXR0aW5nIkmK6jAPYmIuc2V0dGluZ3Muc2V0kOowAZjqMAGC0+STAig6B3NldHRpbmcyHS92MS97c2V0dGluZy5uYW1lPXNldHRpbmdzLyp9QjRaMmdpdGh1Yi5jb20vYnl0ZWJhc2UvYnl0ZWJhc2UvcHJvdG8vZ2VuZXJhdGVkLWdvL3YxYgZwcm90bzM", [file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_duration, file_google_protobuf_field_mask, file_google_type_expr, file_v1_annotation, file_v1_common, file_v1_database_catalog_service, file_v1_database_service, file_v1_issue_service]);+ fileDesc("Chh2MS9zZXR0aW5nX3NlcnZpY2UucHJvdG8SC2J5dGViYXNlLnYxIjwKE0xpc3RTZXR0aW5nc1JlcXVlc3QSEQoJcGFnZV9zaXplGAEgASgFEhIKCnBhZ2VfdG9rZW4YAiABKAkiVwoUTGlzdFNldHRpbmdzUmVzcG9uc2USJgoIc2V0dGluZ3MYASADKAsyFC5ieXRlYmFzZS52MS5TZXR0aW5nEhcKD25leHRfcGFnZV90b2tlbhgCIAEoCSJAChFHZXRTZXR0aW5nUmVxdWVzdBIrCgRuYW1lGAEgASgJQh3iQQEC+kEWChRieXRl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y5nZXSQ6jABgtPkkwIXEhUvdjEve25hbWU9c2V0dGluZ3MvKn0SkwEKDVVwZGF0ZVNldHRpbmcSIS5ieXRlYmFzZS52MS5VcGRhdGVTZXR0aW5nUmVxdWVzdBoULmJ5dGViYXNlLnYxLlNldHRpbmciSYrqMA9iYi5zZXR0aW5ncy5zZXSQ6jABmOowAYLT5JMCKDoHc2V0dGluZzIdL3YxL3tzZXR0aW5nLm5hbWU9c2V0dGluZ3MvKn1CNFoyZ2l0aHViLmNvbS9ieXRlYmFzZS9ieXRlYmFzZS9wcm90by9nZW5lcmF0ZWQtZ28vdjFiBnByb3RvMw", [file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_duration, file_google_protobuf_field_mask, file_google_type_expr, file_v1_annotation, file_v1_common, file_v1_database_catalog_service, file_v1_database_service, file_v1_issue_service]);/*** Describes the message bytebase.v1.ListSettingsRequest.@@ -124,32 +124,25 @@ export const AppIMSetting_LarkSchema = /*@__PURE__*/export const AppIMSetting_DingTalkSchema = /*@__PURE__*/messageDesc(file_v1_setting_service, 7, 4);-/**- * Describes the message bytebase.v1.AgentPluginSetting.- * Use `create(AgentPluginSettingSchema)` to create a new message.- */-export const AgentPluginSettingSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 8);-/*** Describes the message bytebase.v1.WorkspaceProfileSetting.* Use `create(WorkspaceProfileSettingSchema)` to create a new message.*/export const WorkspaceProfileSettingSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 9);+ messageDesc(file_v1_setting_service, 8);/*** Describes the message bytebase.v1.Announcement.* Use `create(AnnouncementSchema)` to create a new message.*/export const AnnouncementSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 10);+ messageDesc(file_v1_setting_service, 9);/*** Describes the enum bytebase.v1.Announcement.AlertLevel.*/export const Announcement_AlertLevelSchema = /*@__PURE__*/- enumDesc(file_v1_setting_service, 10, 0);+ enumDesc(file_v1_setting_service, 9, 0);/*** We support three levels of AlertLevel: INFO, WARNING, and ERROR.@@ -164,132 +157,132 @@ export const Announcement_AlertLevel = /*@__PURE__*/* Use `create(WorkspaceApprovalSettingSchema)` to create a new message.*/export const WorkspaceApprovalSettingSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 11);+ messageDesc(file_v1_setting_service, 10);/*** Describes the message bytebase.v1.WorkspaceApprovalSetting.Rule.* Use `create(WorkspaceApprovalSetting_RuleSchema)` to create a new message.*/export const WorkspaceApprovalSetting_RuleSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 11, 0);+ messageDesc(file_v1_setting_service, 10, 0);/*** Describes the message bytebase.v1.SchemaTemplateSetting.* Use `create(SchemaTemplateSettingSchema)` to create a new message.*/export const SchemaTemplateSettingSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 12);+ messageDesc(file_v1_setting_service, 11);/*** Describes the message bytebase.v1.SchemaTemplateSetting.FieldTemplate.* Use `create(SchemaTemplateSetting_FieldTemplateSchema)` to create a new message.*/export const SchemaTemplateSetting_FieldTemplateSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 12, 0);+ messageDesc(file_v1_setting_service, 11, 0);/*** Describes the message bytebase.v1.SchemaTemplateSetting.ColumnType.* Use `create(SchemaTemplateSetting_ColumnTypeSchema)` to create a new message.*/export const SchemaTemplateSetting_ColumnTypeSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 12, 1);+ messageDesc(file_v1_setting_service, 11, 1);/*** Describes the message bytebase.v1.SchemaTemplateSetting.TableTemplate.* Use `create(SchemaTemplateSetting_TableTemplateSchema)` to create a new message.*/export const SchemaTemplateSetting_TableTemplateSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 12, 2);+ messageDesc(file_v1_setting_service, 11, 2);/*** Describes the message bytebase.v1.DataClassificationSetting.* Use `create(DataClassificationSettingSchema)` to create a new message.*/export const DataClassificationSettingSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 13);+ messageDesc(file_v1_setting_service, 12);/*** Describes the message bytebase.v1.DataClassificationSetting.DataClassificationConfig.* Use `create(DataClassificationSetting_DataClassificationConfigSchema)` to create a new message.*/export const DataClassificationSetting_DataClassificationConfigSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 13, 0);+ messageDesc(file_v1_setting_service, 12, 0);/*** Describes the message bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level.* Use `create(DataClassificationSetting_DataClassificationConfig_LevelSchema)` to create a new message.*/export const DataClassificationSetting_DataClassificationConfig_LevelSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 13, 0, 0);+ messageDesc(file_v1_setting_service, 12, 0, 0);/*** Describes the message bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification.* Use `create(DataClassificationSetting_DataClassificationConfig_DataClassificationSchema)` to create a new message.*/export const DataClassificationSetting_DataClassificationConfig_DataClassificationSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 13, 0, 1);+ messageDesc(file_v1_setting_service, 12, 0, 1);/*** Describes the message bytebase.v1.SemanticTypeSetting.* Use `create(SemanticTypeSettingSchema)` to create a new message.*/export const SemanticTypeSettingSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 14);+ messageDesc(file_v1_setting_service, 13);/*** Describes the message bytebase.v1.SemanticTypeSetting.SemanticType.* Use `create(SemanticTypeSetting_SemanticTypeSchema)` to create a new message.*/export const SemanticTypeSetting_SemanticTypeSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 14, 0);+ messageDesc(file_v1_setting_service, 13, 0);/*** Describes the message bytebase.v1.Algorithm.* Use `create(AlgorithmSchema)` to create a new message.*/export const AlgorithmSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 15);+ messageDesc(file_v1_setting_service, 14);/*** Describes the message bytebase.v1.Algorithm.FullMask.* Use `create(Algorithm_FullMaskSchema)` to create a new message.*/export const Algorithm_FullMaskSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 15, 0);+ messageDesc(file_v1_setting_service, 14, 0);/*** Describes the message bytebase.v1.Algorithm.RangeMask.* Use `create(Algorithm_RangeMaskSchema)` to create a new message.*/export const Algorithm_RangeMaskSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 15, 1);+ messageDesc(file_v1_setting_service, 14, 1);/*** Describes the message bytebase.v1.Algorithm.RangeMask.Slice.* Use `create(Algorithm_RangeMask_SliceSchema)` to create a new message.*/export const Algorithm_RangeMask_SliceSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 15, 1, 0);+ messageDesc(file_v1_setting_service, 14, 1, 0);/*** Describes the message bytebase.v1.Algorithm.MD5Mask.* Use `create(Algorithm_MD5MaskSchema)` to create a new message.*/export const Algorithm_MD5MaskSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 15, 2);+ messageDesc(file_v1_setting_service, 14, 2);/*** Describes the message bytebase.v1.Algorithm.InnerOuterMask.* Use `create(Algorithm_InnerOuterMaskSchema)` to create a new message.*/export const Algorithm_InnerOuterMaskSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 15, 3);+ messageDesc(file_v1_setting_service, 14, 3);/*** Describes the enum bytebase.v1.Algorithm.InnerOuterMask.MaskType.*/export const Algorithm_InnerOuterMask_MaskTypeSchema = /*@__PURE__*/- enumDesc(file_v1_setting_service, 15, 3, 0);+ enumDesc(file_v1_setting_service, 14, 3, 0);/*** @generated from enum bytebase.v1.Algorithm.InnerOuterMask.MaskType@@ -302,34 +295,34 @@ export const Algorithm_InnerOuterMask_MaskType = /*@__PURE__*/* Use `create(MaximumSQLResultSizeSettingSchema)` to create a new message.*/export const MaximumSQLResultSizeSettingSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 16);+ messageDesc(file_v1_setting_service, 15);/*** Describes the message bytebase.v1.SCIMSetting.* Use `create(SCIMSettingSchema)` to create a new message.*/export const SCIMSettingSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 17);+ messageDesc(file_v1_setting_service, 16);/*** Describes the message bytebase.v1.PasswordRestrictionSetting.* Use `create(PasswordRestrictionSettingSchema)` to create a new message.*/export const PasswordRestrictionSettingSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 18);+ messageDesc(file_v1_setting_service, 17);/*** Describes the message bytebase.v1.AISetting.* Use `create(AISettingSchema)` to create a new message.*/export const AISettingSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 19);+ messageDesc(file_v1_setting_service, 18);/*** Describes the enum bytebase.v1.AISetting.Provider.*/export const AISetting_ProviderSchema = /*@__PURE__*/- enumDesc(file_v1_setting_service, 19, 0);+ enumDesc(file_v1_setting_service, 18, 0);/*** @generated from enum bytebase.v1.AISetting.Provider@@ -342,14 +335,14 @@ export const AISetting_Provider = /*@__PURE__*/* Use `create(EnvironmentSettingSchema)` to create a new message.*/export const EnvironmentSettingSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 20);+ messageDesc(file_v1_setting_service, 19);/*** Describes the message bytebase.v1.EnvironmentSetting.Environment.* Use `create(EnvironmentSetting_EnvironmentSchema)` to create a new message.*/export const EnvironmentSetting_EnvironmentSchema = /*@__PURE__*/- messageDesc(file_v1_setting_service, 20, 0);+ messageDesc(file_v1_setting_service, 19, 0);/*** Describes the enum bytebase.v1.DatabaseChangeMode.diff --git a/frontend/src/types/proto/v1/setting_service.ts b/frontend/src/types/proto/v1/setting_service.tsindex 6ca72929c9..7ab5902a7d 100644--- a/frontend/src/types/proto/v1/setting_service.ts+++ b/frontend/src/types/proto/v1/setting_service.ts@@ -156,7 +156,6 @@ export enum Setting_SettingName {APP_IM = "APP_IM",WATERMARK = "WATERMARK",AI = "AI",- PLUGIN_AGENT = "PLUGIN_AGENT",SCHEMA_TEMPLATE = "SCHEMA_TEMPLATE",DATA_CLASSIFICATION = "DATA_CLASSIFICATION",SEMANTIC_TYPES = "SEMANTIC_TYPES",@@ -202,9 +201,6 @@ export function setting_SettingNameFromJSON(object: any): Setting_SettingName {case 10:case "AI":return Setting_SettingName.AI;- case 11:- case "PLUGIN_AGENT":- return Setting_SettingName.PLUGIN_AGENT;case 13:case "SCHEMA_TEMPLATE":return Setting_SettingName.SCHEMA_TEMPLATE;@@ -257,8 +253,6 @@ export function setting_SettingNameToJSON(object: Setting_SettingName): string {return "WATERMARK";case Setting_SettingName.AI:return "AI";- case Setting_SettingName.PLUGIN_AGENT:- return "PLUGIN_AGENT";case Setting_SettingName.SCHEMA_TEMPLATE:return "SCHEMA_TEMPLATE";case Setting_SettingName.DATA_CLASSIFICATION:@@ -303,8 +297,6 @@ export function setting_SettingNameToNumber(object: Setting_SettingName): numberreturn 9;case Setting_SettingName.AI:return 10;- case Setting_SettingName.PLUGIN_AGENT:- return 11;case Setting_SettingName.SCHEMA_TEMPLATE:return 13;case Setting_SettingName.DATA_CLASSIFICATION:@@ -329,8 +321,10 @@ export function setting_SettingNameToNumber(object: Setting_SettingName): numberexport interface Value {/** Defines this value as being a string value. */stringValue?: string | undefined;- appImSettingValue?: AppIMSetting | undefined;- agentPluginSettingValue?: AgentPluginSetting | undefined;+ appImSettingValue?:+ | AppIMSetting+ | undefined;+ /** reserved 4; // was AgentPluginSetting agent_plugin_setting_value */workspaceProfileSettingValue?: WorkspaceProfileSetting | undefined;workspaceApprovalSettingValue?: WorkspaceApprovalSetting | undefined;schemaTemplateSettingValue?: SchemaTemplateSetting | undefined;@@ -382,13 +376,6 @@ export interface AppIMSetting_DingTalk {robotCode: string;}-export interface AgentPluginSetting {- /** The URL for the agent API. */- url: string;- /** The token for the agent. */- token: string;-}-export interface WorkspaceProfileSetting {/** The external URL is used for sso authentication callback. */externalUrl: string;@@ -1290,7 +1277,6 @@ function createBaseValue(): Value {return {stringValue: undefined,appImSettingValue: undefined,- agentPluginSettingValue: undefined,workspaceProfileSettingValue: undefined,workspaceApprovalSettingValue: undefined,schemaTemplateSettingValue: undefined,@@ -1312,9 +1298,6 @@ export const Value: MessageFns<Value> = {if (message.appImSettingValue !== undefined) {AppIMSetting.encode(message.appImSettingValue, writer.uint32(26).fork()).join();}- if (message.agentPluginSettingValue !== undefined) {- AgentPluginSetting.encode(message.agentPluginSettingValue, writer.uint32(34).fork()).join();- }if (message.workspaceProfileSettingValue !== undefined) {WorkspaceProfileSetting.encode(message.workspaceProfileSettingValue, writer.uint32(42).fork()).join();}@@ -1371,14 +1354,6 @@ export const Value: MessageFns<Value> = {message.appImSettingValue = AppIMSetting.decode(reader, reader.uint32());continue;}- case 4: {- if (tag !== 34) {- break;- }-- message.agentPluginSettingValue = AgentPluginSetting.decode(reader, reader.uint32());- continue;- }case 5: {if (tag !== 42) {break;@@ -1472,9 +1447,6 @@ export const Value: MessageFns<Value> = {return {stringValue: isSet(object.stringValue) ? globalThis.String(object.stringValue) : undefined,appImSettingValue: isSet(object.appImSettingValue) ? AppIMSetting.fromJSON(object.appImSettingValue) : undefined,- agentPluginSettingValue: isSet(object.agentPluginSettingValue)- ? AgentPluginSetting.fromJSON(object.agentPluginSettingValue)- : undefined,workspaceProfileSettingValue: isSet(object.workspaceProfileSettingValue)? WorkspaceProfileSetting.fromJSON(object.workspaceProfileSettingValue): undefined,@@ -1512,9 +1484,6 @@ export const Value: MessageFns<Value> = {if (message.appImSettingValue !== undefined) {obj.appImSettingValue = AppIMSetting.toJSON(message.appImSettingValue);}- if (message.agentPluginSettingValue !== undefined) {- obj.agentPluginSettingValue = AgentPluginSetting.toJSON(message.agentPluginSettingValue);- }if (message.workspaceProfileSettingValue !== undefined) {obj.workspaceProfileSettingValue = WorkspaceProfileSetting.toJSON(message.workspaceProfileSettingValue);}@@ -1557,10 +1526,6 @@ export const Value: MessageFns<Value> = {message.appImSettingValue = (object.appImSettingValue !== undefined && object.appImSettingValue !== null)? AppIMSetting.fromPartial(object.appImSettingValue): undefined;- message.agentPluginSettingValue =- (object.agentPluginSettingValue !== undefined && object.agentPluginSettingValue !== null)- ? AgentPluginSetting.fromPartial(object.agentPluginSettingValue)- : undefined;message.workspaceProfileSettingValue =(object.workspaceProfileSettingValue !== undefined && object.workspaceProfileSettingValue !== null)? WorkspaceProfileSetting.fromPartial(object.workspaceProfileSettingValue)@@ -2212,82 +2177,6 @@ export const AppIMSetting_DingTalk: MessageFns<AppIMSetting_DingTalk> = {},};-function createBaseAgentPluginSetting(): AgentPluginSetting {- return { url: "", token: "" };-}--export const AgentPluginSetting: MessageFns<AgentPluginSetting> = {- encode(message: AgentPluginSetting, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {- if (message.url !== "") {- writer.uint32(10).string(message.url);- }- if (message.token !== "") {- writer.uint32(18).string(message.token);- }- return writer;- },-- decode(input: BinaryReader | Uint8Array, length?: number): AgentPluginSetting {- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseAgentPluginSetting();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1: {- if (tag !== 10) {- break;- }-- message.url = reader.string();- continue;- }- case 2: {- if (tag !== 18) {- break;- }-- message.token = reader.string();- continue;- }- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skip(tag & 7);- }- return message;- },-- fromJSON(object: any): AgentPluginSetting {- return {- url: isSet(object.url) ? globalThis.String(object.url) : "",- token: isSet(object.token) ? globalThis.String(object.token) : "",- };- },-- toJSON(message: AgentPluginSetting): unknown {- const obj: any = {};- if (message.url !== "") {- obj.url = message.url;- }- if (message.token !== "") {- obj.token = message.token;- }- return obj;- },-- create(base?: DeepPartial<AgentPluginSetting>): AgentPluginSetting {- return AgentPluginSetting.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<AgentPluginSetting>): AgentPluginSetting {- const message = createBaseAgentPluginSetting();- message.url = object.url ?? "";- message.token = object.token ?? "";- return message;- },-};-function createBaseWorkspaceProfileSetting(): WorkspaceProfileSetting {return {externalUrl: "",diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex ec8073c115..6e1e137f41 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -8037,15 +8037,6 @@ components:TODO: use range instead.endPosition:$ref: '#/components/schemas/Position'- AgentPluginSetting:- type: object- properties:- url:- type: string- description: The URL for the agent API.- token:- type: string- description: The token for the agent.Algorithm:type: objectproperties:@@ -13928,10 +13919,10 @@ components:description: Defines this value as being a string value.appImSettingValue:$ref: '#/components/schemas/AppIMSetting'- agentPluginSettingValue:- $ref: '#/components/schemas/AgentPluginSetting'workspaceProfileSettingValue:- $ref: '#/components/schemas/WorkspaceProfileSetting'+ allOf:+ - $ref: '#/components/schemas/WorkspaceProfileSetting'+ description: reserved 4; // was AgentPluginSetting agent_plugin_setting_valueworkspaceApprovalSettingValue:$ref: '#/components/schemas/WorkspaceApprovalSetting'schemaTemplateSettingValue:diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.mdindex 3ffd16bfe1..b1ff701c72 100644--- a/proto/gen/grpc-doc/store/README.md+++ b/proto/gen/grpc-doc/store/README.md@@ -247,7 +247,6 @@- [store/setting.proto](#store_setting-proto)- [AISetting](#bytebase-store-AISetting)- - [AgentPluginSetting](#bytebase-store-AgentPluginSetting)- [Algorithm](#bytebase-store-Algorithm)- [Algorithm.FullMask](#bytebase-store-Algorithm-FullMask)- [Algorithm.InnerOuterMask](#bytebase-store-Algorithm-InnerOuterMask)@@ -3889,22 +3888,6 @@ RestrictIssueCreationForSQLReviewPolicy is the policy configuration for restrict-<a name="bytebase-store-AgentPluginSetting"></a>--### AgentPluginSetting----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| url | [string](#string) | | The URL for the agent API. |-| token | [string](#string) | | The token for the agent. |------<a name="bytebase-store-Algorithm"></a>### Algorithm@@ -4546,7 +4529,6 @@ We support three levels of AlertLevel: INFO, WARNING, and ERROR.| APP_IM | 8 | || WATERMARK | 9 | || AI | 10 | |-| PLUGIN_AGENT | 11 | || SCHEMA_TEMPLATE | 13 | || DATA_CLASSIFICATION | 14 | || SEMANTIC_TYPES | 15 | |diff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.htmlindex 10b36496fa..1c89cdaf64 100644--- a/proto/gen/grpc-doc/store/index.html+++ b/proto/gen/grpc-doc/store/index.html@@ -1172,10 +1172,6 @@<a href="#bytebase.store.AISetting"><span class="badge">M</span>AISetting</a></li>- <li>- <a href="#bytebase.store.AgentPluginSetting"><span class="badge">M</span>AgentPluginSetting</a>- </li>-<li><a href="#bytebase.store.Algorithm"><span class="badge">M</span>Algorithm</a></li>@@ -10236,37 +10232,6 @@ Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRu- <h3 id="bytebase.store.AgentPluginSetting">AgentPluginSetting</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>url</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The URL for the agent API. </p></td>- </tr>-- <tr>- <td>token</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The token for the agent. </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.store.Algorithm">Algorithm</h3><p></p>@@ -11777,12 +11742,6 @@ Default to this mode.</p></td><td><p></p></td></tr>- <tr>- <td>PLUGIN_AGENT</td>- <td>11</td>- <td><p></p></td>- </tr>-<tr><td>SCHEMA_TEMPLATE</td><td>13</td>diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 0d9caf7f8e..bee91ad3a3 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -207,7 +207,6 @@- [v1/setting_service.proto](#v1_setting_service-proto)- [AISetting](#bytebase-v1-AISetting)- - [AgentPluginSetting](#bytebase-v1-AgentPluginSetting)- [Algorithm](#bytebase-v1-Algorithm)- [Algorithm.FullMask](#bytebase-v1-Algorithm-FullMask)- [Algorithm.InnerOuterMask](#bytebase-v1-Algorithm-InnerOuterMask)@@ -3939,22 +3938,6 @@ ANY means approving any node will proceed.-<a name="bytebase-v1-AgentPluginSetting"></a>--### AgentPluginSetting----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| url | [string](#string) | | The URL for the agent API. |-| token | [string](#string) | | The token for the agent. |------<a name="bytebase-v1-Algorithm"></a>### Algorithm@@ -4576,8 +4559,7 @@ The data in setting value.| ----- | ---- | ----- | ----------- || string_value | [string](#string) | | Defines this value as being a string value. || app_im_setting_value | [AppIMSetting](#bytebase-v1-AppIMSetting) | | |-| agent_plugin_setting_value | [AgentPluginSetting](#bytebase-v1-AgentPluginSetting) | | |-| workspace_profile_setting_value | [WorkspaceProfileSetting](#bytebase-v1-WorkspaceProfileSetting) | | |+| workspace_profile_setting_value | [WorkspaceProfileSetting](#bytebase-v1-WorkspaceProfileSetting) | | reserved 4; // was AgentPluginSetting agent_plugin_setting_value || workspace_approval_setting_value | [WorkspaceApprovalSetting](#bytebase-v1-WorkspaceApprovalSetting) | | || schema_template_setting_value | [SchemaTemplateSetting](#bytebase-v1-SchemaTemplateSetting) | | || data_classification_setting_value | [DataClassificationSetting](#bytebase-v1-DataClassificationSetting) | | |@@ -4727,7 +4709,6 @@ We support three levels of AlertLevel: INFO, WARNING, and ERROR.| APP_IM | 8 | || WATERMARK | 9 | || AI | 10 | |-| PLUGIN_AGENT | 11 | || SCHEMA_TEMPLATE | 13 | || DATA_CLASSIFICATION | 14 | || SEMANTIC_TYPES | 15 | |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex 6d6203f04f..66b8dbc2cb 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -967,10 +967,6 @@<a href="#bytebase.v1.AISetting"><span class="badge">M</span>AISetting</a></li>- <li>- <a href="#bytebase.v1.AgentPluginSetting"><span class="badge">M</span>AgentPluginSetting</a>- </li>-<li><a href="#bytebase.v1.Algorithm"><span class="badge">M</span>Algorithm</a></li>@@ -11862,37 +11858,6 @@ The access is based on approval flow.</p></td>- <h3 id="bytebase.v1.AgentPluginSetting">AgentPluginSetting</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>url</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The URL for the agent API. </p></td>- </tr>-- <tr>- <td>token</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The token for the agent. </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.v1.Algorithm">Algorithm</h3><p></p>@@ -13275,18 +13240,11 @@ server would not persist the setting value if it is true. </p></td><td><p> </p></td></tr>- <tr>- <td>agent_plugin_setting_value</td>- <td><a href="#bytebase.v1.AgentPluginSetting">AgentPluginSetting</a></td>- <td></td>- <td><p> </p></td>- </tr>-<tr><td>workspace_profile_setting_value</td><td><a href="#bytebase.v1.WorkspaceProfileSetting">WorkspaceProfileSetting</a></td><td></td>- <td><p> </p></td>+ <td><p>reserved 4; // was AgentPluginSetting agent_plugin_setting_value </p></td></tr><tr>@@ -13720,12 +13678,6 @@ Default to this mode.</p></td><td><p></p></td></tr>- <tr>- <td>PLUGIN_AGENT</td>- <td>11</td>- <td><p></p></td>- </tr>-<tr><td>SCHEMA_TEMPLATE</td><td>13</td>diff --git a/proto/generated-go/store/setting.pb.go b/proto/generated-go/store/setting.pb.goindex 8fe7ef1f57..7dcd733c56 100644--- a/proto/generated-go/store/setting.pb.go+++ b/proto/generated-go/store/setting.pb.go@@ -38,7 +38,6 @@ const (SettingName_APP_IM SettingName = 8SettingName_WATERMARK SettingName = 9SettingName_AI SettingName = 10- SettingName_PLUGIN_AGENT SettingName = 11SettingName_SCHEMA_TEMPLATE SettingName = 13SettingName_DATA_CLASSIFICATION SettingName = 14SettingName_SEMANTIC_TYPES SettingName = 15@@ -62,7 +61,6 @@ var (8: "APP_IM",9: "WATERMARK",10: "AI",- 11: "PLUGIN_AGENT",13: "SCHEMA_TEMPLATE",14: "DATA_CLASSIFICATION",15: "SEMANTIC_TYPES",@@ -83,7 +81,6 @@ var ("APP_IM": 8,"WATERMARK": 9,"AI": 10,- "PLUGIN_AGENT": 11,"SCHEMA_TEMPLATE": 13,"DATA_CLASSIFICATION": 14,"SEMANTIC_TYPES": 15,@@ -272,7 +269,7 @@ func (x Algorithm_InnerOuterMask_MaskType) Number() protoreflect.EnumNumber {// Deprecated: Use Algorithm_InnerOuterMask_MaskType.Descriptor instead.func (Algorithm_InnerOuterMask_MaskType) EnumDescriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{7, 3, 0}+ return file_store_setting_proto_rawDescGZIP(), []int{6, 3, 0}}type AISetting_Provider int32@@ -327,7 +324,7 @@ func (x AISetting_Provider) Number() protoreflect.EnumNumber {// Deprecated: Use AISetting_Provider.Descriptor instead.func (AISetting_Provider) EnumDescriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{12, 0}+ return file_store_setting_proto_rawDescGZIP(), []int{11, 0}}type WorkspaceProfileSetting struct {@@ -519,60 +516,6 @@ func (x *Announcement) GetLink() string {return ""}-type AgentPluginSetting struct {- state protoimpl.MessageState `protogen:"open.v1"`- // The URL for the agent API.- Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`- // The token for the agent.- Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *AgentPluginSetting) Reset() {- *x = AgentPluginSetting{}- mi := &file_store_setting_proto_msgTypes[2]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *AgentPluginSetting) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*AgentPluginSetting) ProtoMessage() {}--func (x *AgentPluginSetting) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_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 AgentPluginSetting.ProtoReflect.Descriptor instead.-func (*AgentPluginSetting) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{2}-}--func (x *AgentPluginSetting) GetUrl() string {- if x != nil {- return x.Url- }- return ""-}--func (x *AgentPluginSetting) GetToken() string {- if x != nil {- return x.Token- }- return ""-}-type WorkspaceApprovalSetting struct {state protoimpl.MessageState `protogen:"open.v1"`Rules []*WorkspaceApprovalSetting_Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`@@ -582,7 +525,7 @@ type WorkspaceApprovalSetting struct {func (x *WorkspaceApprovalSetting) Reset() {*x = WorkspaceApprovalSetting{}- mi := &file_store_setting_proto_msgTypes[3]+ mi := &file_store_setting_proto_msgTypes[2]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -594,7 +537,7 @@ func (x *WorkspaceApprovalSetting) String() string {func (*WorkspaceApprovalSetting) ProtoMessage() {}func (x *WorkspaceApprovalSetting) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[3]+ mi := &file_store_setting_proto_msgTypes[2]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -607,7 +550,7 @@ func (x *WorkspaceApprovalSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use WorkspaceApprovalSetting.ProtoReflect.Descriptor instead.func (*WorkspaceApprovalSetting) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{3}+ return file_store_setting_proto_rawDescGZIP(), []int{2}}func (x *WorkspaceApprovalSetting) GetRules() []*WorkspaceApprovalSetting_Rule {@@ -628,7 +571,7 @@ type SchemaTemplateSetting struct {func (x *SchemaTemplateSetting) Reset() {*x = SchemaTemplateSetting{}- mi := &file_store_setting_proto_msgTypes[4]+ mi := &file_store_setting_proto_msgTypes[3]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -640,7 +583,7 @@ func (x *SchemaTemplateSetting) String() string {func (*SchemaTemplateSetting) ProtoMessage() {}func (x *SchemaTemplateSetting) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[4]+ mi := &file_store_setting_proto_msgTypes[3]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -653,7 +596,7 @@ func (x *SchemaTemplateSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use SchemaTemplateSetting.ProtoReflect.Descriptor instead.func (*SchemaTemplateSetting) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{4}+ return file_store_setting_proto_rawDescGZIP(), []int{3}}func (x *SchemaTemplateSetting) GetFieldTemplates() []*SchemaTemplateSetting_FieldTemplate {@@ -686,7 +629,7 @@ type DataClassificationSetting struct {func (x *DataClassificationSetting) Reset() {*x = DataClassificationSetting{}- mi := &file_store_setting_proto_msgTypes[5]+ mi := &file_store_setting_proto_msgTypes[4]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -698,7 +641,7 @@ func (x *DataClassificationSetting) String() string {func (*DataClassificationSetting) ProtoMessage() {}func (x *DataClassificationSetting) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[5]+ mi := &file_store_setting_proto_msgTypes[4]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -711,7 +654,7 @@ func (x *DataClassificationSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use DataClassificationSetting.ProtoReflect.Descriptor instead.func (*DataClassificationSetting) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{5}+ return file_store_setting_proto_rawDescGZIP(), []int{4}}func (x *DataClassificationSetting) GetConfigs() []*DataClassificationSetting_DataClassificationConfig {@@ -730,7 +673,7 @@ type SemanticTypeSetting struct {func (x *SemanticTypeSetting) Reset() {*x = SemanticTypeSetting{}- mi := &file_store_setting_proto_msgTypes[6]+ mi := &file_store_setting_proto_msgTypes[5]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -742,7 +685,7 @@ func (x *SemanticTypeSetting) String() string {func (*SemanticTypeSetting) ProtoMessage() {}func (x *SemanticTypeSetting) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[6]+ mi := &file_store_setting_proto_msgTypes[5]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -755,7 +698,7 @@ func (x *SemanticTypeSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use SemanticTypeSetting.ProtoReflect.Descriptor instead.func (*SemanticTypeSetting) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{6}+ return file_store_setting_proto_rawDescGZIP(), []int{5}}func (x *SemanticTypeSetting) GetTypes() []*SemanticTypeSetting_SemanticType {@@ -780,7 +723,7 @@ type Algorithm struct {func (x *Algorithm) Reset() {*x = Algorithm{}- mi := &file_store_setting_proto_msgTypes[7]+ mi := &file_store_setting_proto_msgTypes[6]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -792,7 +735,7 @@ func (x *Algorithm) String() string {func (*Algorithm) ProtoMessage() {}func (x *Algorithm) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[7]+ mi := &file_store_setting_proto_msgTypes[6]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -805,7 +748,7 @@ func (x *Algorithm) ProtoReflect() protoreflect.Message {// Deprecated: Use Algorithm.ProtoReflect.Descriptor instead.func (*Algorithm) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{7}+ return file_store_setting_proto_rawDescGZIP(), []int{6}}func (x *Algorithm) GetMask() isAlgorithm_Mask {@@ -892,7 +835,7 @@ type AppIMSetting struct {func (x *AppIMSetting) Reset() {*x = AppIMSetting{}- mi := &file_store_setting_proto_msgTypes[8]+ mi := &file_store_setting_proto_msgTypes[7]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -904,7 +847,7 @@ func (x *AppIMSetting) String() string {func (*AppIMSetting) ProtoMessage() {}func (x *AppIMSetting) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[8]+ mi := &file_store_setting_proto_msgTypes[7]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -917,7 +860,7 @@ func (x *AppIMSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use AppIMSetting.ProtoReflect.Descriptor instead.func (*AppIMSetting) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{8}+ return file_store_setting_proto_rawDescGZIP(), []int{7}}func (x *AppIMSetting) GetSlack() *AppIMSetting_Slack {@@ -966,7 +909,7 @@ type MaximumSQLResultSizeSetting struct {func (x *MaximumSQLResultSizeSetting) Reset() {*x = MaximumSQLResultSizeSetting{}- mi := &file_store_setting_proto_msgTypes[9]+ mi := &file_store_setting_proto_msgTypes[8]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -978,7 +921,7 @@ func (x *MaximumSQLResultSizeSetting) String() string {func (*MaximumSQLResultSizeSetting) ProtoMessage() {}func (x *MaximumSQLResultSizeSetting) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[9]+ mi := &file_store_setting_proto_msgTypes[8]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -991,7 +934,7 @@ func (x *MaximumSQLResultSizeSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use MaximumSQLResultSizeSetting.ProtoReflect.Descriptor instead.func (*MaximumSQLResultSizeSetting) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{9}+ return file_store_setting_proto_rawDescGZIP(), []int{8}}func (x *MaximumSQLResultSizeSetting) GetLimit() int64 {@@ -1010,7 +953,7 @@ type SCIMSetting struct {func (x *SCIMSetting) Reset() {*x = SCIMSetting{}- mi := &file_store_setting_proto_msgTypes[10]+ mi := &file_store_setting_proto_msgTypes[9]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1022,7 +965,7 @@ func (x *SCIMSetting) String() string {func (*SCIMSetting) ProtoMessage() {}func (x *SCIMSetting) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[10]+ mi := &file_store_setting_proto_msgTypes[9]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1035,7 +978,7 @@ func (x *SCIMSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use SCIMSetting.ProtoReflect.Descriptor instead.func (*SCIMSetting) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{10}+ return file_store_setting_proto_rawDescGZIP(), []int{9}}func (x *SCIMSetting) GetToken() string {@@ -1067,7 +1010,7 @@ type PasswordRestrictionSetting struct {func (x *PasswordRestrictionSetting) Reset() {*x = PasswordRestrictionSetting{}- mi := &file_store_setting_proto_msgTypes[11]+ mi := &file_store_setting_proto_msgTypes[10]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1079,7 +1022,7 @@ func (x *PasswordRestrictionSetting) String() string {func (*PasswordRestrictionSetting) ProtoMessage() {}func (x *PasswordRestrictionSetting) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[11]+ mi := &file_store_setting_proto_msgTypes[10]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1092,7 +1035,7 @@ func (x *PasswordRestrictionSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use PasswordRestrictionSetting.ProtoReflect.Descriptor instead.func (*PasswordRestrictionSetting) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{11}+ return file_store_setting_proto_rawDescGZIP(), []int{10}}func (x *PasswordRestrictionSetting) GetMinLength() int32 {@@ -1158,7 +1101,7 @@ type AISetting struct {func (x *AISetting) Reset() {*x = AISetting{}- mi := &file_store_setting_proto_msgTypes[12]+ mi := &file_store_setting_proto_msgTypes[11]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1170,7 +1113,7 @@ func (x *AISetting) String() string {func (*AISetting) ProtoMessage() {}func (x *AISetting) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[12]+ mi := &file_store_setting_proto_msgTypes[11]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1183,7 +1126,7 @@ func (x *AISetting) ProtoReflect() protoreflect.Message {// Deprecated: Use AISetting.ProtoReflect.Descriptor instead.func (*AISetting) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{12}+ return file_store_setting_proto_rawDescGZIP(), []int{11}}func (x *AISetting) GetEnabled() bool {@@ -1237,7 +1180,7 @@ type EnvironmentSetting struct {func (x *EnvironmentSetting) Reset() {*x = EnvironmentSetting{}- mi := &file_store_setting_proto_msgTypes[13]+ mi := &file_store_setting_proto_msgTypes[12]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1249,7 +1192,7 @@ func (x *EnvironmentSetting) String() string {func (*EnvironmentSetting) ProtoMessage() {}func (x *EnvironmentSetting) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[13]+ mi := &file_store_setting_proto_msgTypes[12]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1262,7 +1205,7 @@ func (x *EnvironmentSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use EnvironmentSetting.ProtoReflect.Descriptor instead.func (*EnvironmentSetting) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{13}+ return file_store_setting_proto_rawDescGZIP(), []int{12}}func (x *EnvironmentSetting) GetEnvironments() []*EnvironmentSetting_Environment {@@ -1283,7 +1226,7 @@ type WorkspaceApprovalSetting_Rule struct {func (x *WorkspaceApprovalSetting_Rule) Reset() {*x = WorkspaceApprovalSetting_Rule{}- mi := &file_store_setting_proto_msgTypes[14]+ mi := &file_store_setting_proto_msgTypes[13]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1295,7 +1238,7 @@ func (x *WorkspaceApprovalSetting_Rule) String() string {func (*WorkspaceApprovalSetting_Rule) ProtoMessage() {}func (x *WorkspaceApprovalSetting_Rule) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[14]+ mi := &file_store_setting_proto_msgTypes[13]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1308,7 +1251,7 @@ func (x *WorkspaceApprovalSetting_Rule) ProtoReflect() protoreflect.Message {// Deprecated: Use WorkspaceApprovalSetting_Rule.ProtoReflect.Descriptor instead.func (*WorkspaceApprovalSetting_Rule) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{3, 0}+ return file_store_setting_proto_rawDescGZIP(), []int{2, 0}}func (x *WorkspaceApprovalSetting_Rule) GetExpression() *v1alpha1.Expr {@@ -1345,7 +1288,7 @@ type SchemaTemplateSetting_FieldTemplate struct {func (x *SchemaTemplateSetting_FieldTemplate) Reset() {*x = SchemaTemplateSetting_FieldTemplate{}- mi := &file_store_setting_proto_msgTypes[15]+ mi := &file_store_setting_proto_msgTypes[14]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1357,7 +1300,7 @@ func (x *SchemaTemplateSetting_FieldTemplate) String() string {func (*SchemaTemplateSetting_FieldTemplate) ProtoMessage() {}func (x *SchemaTemplateSetting_FieldTemplate) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[15]+ mi := &file_store_setting_proto_msgTypes[14]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1370,7 +1313,7 @@ func (x *SchemaTemplateSetting_FieldTemplate) ProtoReflect() protoreflect.Messag// Deprecated: Use SchemaTemplateSetting_FieldTemplate.ProtoReflect.Descriptor instead.func (*SchemaTemplateSetting_FieldTemplate) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{4, 0}+ return file_store_setting_proto_rawDescGZIP(), []int{3, 0}}func (x *SchemaTemplateSetting_FieldTemplate) GetId() string {@@ -1419,7 +1362,7 @@ type SchemaTemplateSetting_ColumnType struct {func (x *SchemaTemplateSetting_ColumnType) Reset() {*x = SchemaTemplateSetting_ColumnType{}- mi := &file_store_setting_proto_msgTypes[16]+ mi := &file_store_setting_proto_msgTypes[15]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1431,7 +1374,7 @@ func (x *SchemaTemplateSetting_ColumnType) String() string {func (*SchemaTemplateSetting_ColumnType) ProtoMessage() {}func (x *SchemaTemplateSetting_ColumnType) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[16]+ mi := &file_store_setting_proto_msgTypes[15]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1444,7 +1387,7 @@ func (x *SchemaTemplateSetting_ColumnType) ProtoReflect() protoreflect.Message {// Deprecated: Use SchemaTemplateSetting_ColumnType.ProtoReflect.Descriptor instead.func (*SchemaTemplateSetting_ColumnType) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{4, 1}+ return file_store_setting_proto_rawDescGZIP(), []int{3, 1}}func (x *SchemaTemplateSetting_ColumnType) GetEngine() Engine {@@ -1481,7 +1424,7 @@ type SchemaTemplateSetting_TableTemplate struct {func (x *SchemaTemplateSetting_TableTemplate) Reset() {*x = SchemaTemplateSetting_TableTemplate{}- mi := &file_store_setting_proto_msgTypes[17]+ mi := &file_store_setting_proto_msgTypes[16]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1493,7 +1436,7 @@ func (x *SchemaTemplateSetting_TableTemplate) String() string {func (*SchemaTemplateSetting_TableTemplate) ProtoMessage() {}func (x *SchemaTemplateSetting_TableTemplate) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[17]+ mi := &file_store_setting_proto_msgTypes[16]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1506,7 +1449,7 @@ func (x *SchemaTemplateSetting_TableTemplate) ProtoReflect() protoreflect.Messag// Deprecated: Use SchemaTemplateSetting_TableTemplate.ProtoReflect.Descriptor instead.func (*SchemaTemplateSetting_TableTemplate) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{4, 2}+ return file_store_setting_proto_rawDescGZIP(), []int{3, 2}}func (x *SchemaTemplateSetting_TableTemplate) GetId() string {@@ -1566,7 +1509,7 @@ type DataClassificationSetting_DataClassificationConfig struct {func (x *DataClassificationSetting_DataClassificationConfig) Reset() {*x = DataClassificationSetting_DataClassificationConfig{}- mi := &file_store_setting_proto_msgTypes[18]+ mi := &file_store_setting_proto_msgTypes[17]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1578,7 +1521,7 @@ func (x *DataClassificationSetting_DataClassificationConfig) String() string {func (*DataClassificationSetting_DataClassificationConfig) ProtoMessage() {}func (x *DataClassificationSetting_DataClassificationConfig) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[18]+ mi := &file_store_setting_proto_msgTypes[17]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1591,7 +1534,7 @@ func (x *DataClassificationSetting_DataClassificationConfig) ProtoReflect() prot// Deprecated: Use DataClassificationSetting_DataClassificationConfig.ProtoReflect.Descriptor instead.func (*DataClassificationSetting_DataClassificationConfig) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{5, 0}+ return file_store_setting_proto_rawDescGZIP(), []int{4, 0}}func (x *DataClassificationSetting_DataClassificationConfig) GetId() string {@@ -1640,7 +1583,7 @@ type DataClassificationSetting_DataClassificationConfig_Level struct {func (x *DataClassificationSetting_DataClassificationConfig_Level) Reset() {*x = DataClassificationSetting_DataClassificationConfig_Level{}- mi := &file_store_setting_proto_msgTypes[19]+ mi := &file_store_setting_proto_msgTypes[18]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1652,7 +1595,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_Level) String() strifunc (*DataClassificationSetting_DataClassificationConfig_Level) ProtoMessage() {}func (x *DataClassificationSetting_DataClassificationConfig_Level) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[19]+ mi := &file_store_setting_proto_msgTypes[18]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1665,7 +1608,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_Level) ProtoReflect(// Deprecated: Use DataClassificationSetting_DataClassificationConfig_Level.ProtoReflect.Descriptor instead.func (*DataClassificationSetting_DataClassificationConfig_Level) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{5, 0, 0}+ return file_store_setting_proto_rawDescGZIP(), []int{4, 0, 0}}func (x *DataClassificationSetting_DataClassificationConfig_Level) GetId() string {@@ -1702,7 +1645,7 @@ type DataClassificationSetting_DataClassificationConfig_DataClassification strucfunc (x *DataClassificationSetting_DataClassificationConfig_DataClassification) Reset() {*x = DataClassificationSetting_DataClassificationConfig_DataClassification{}- mi := &file_store_setting_proto_msgTypes[20]+ mi := &file_store_setting_proto_msgTypes[19]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1714,7 +1657,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_DataClassification)func (*DataClassificationSetting_DataClassificationConfig_DataClassification) ProtoMessage() {}func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[20]+ mi := &file_store_setting_proto_msgTypes[19]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1727,7 +1670,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_DataClassification)// Deprecated: Use DataClassificationSetting_DataClassificationConfig_DataClassification.ProtoReflect.Descriptor instead.func (*DataClassificationSetting_DataClassificationConfig_DataClassification) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{5, 0, 1}+ return file_store_setting_proto_rawDescGZIP(), []int{4, 0, 1}}func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) GetId() string {@@ -1773,7 +1716,7 @@ type SemanticTypeSetting_SemanticType struct {func (x *SemanticTypeSetting_SemanticType) Reset() {*x = SemanticTypeSetting_SemanticType{}- mi := &file_store_setting_proto_msgTypes[22]+ mi := &file_store_setting_proto_msgTypes[21]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1785,7 +1728,7 @@ func (x *SemanticTypeSetting_SemanticType) String() string {func (*SemanticTypeSetting_SemanticType) ProtoMessage() {}func (x *SemanticTypeSetting_SemanticType) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[22]+ mi := &file_store_setting_proto_msgTypes[21]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1798,7 +1741,7 @@ func (x *SemanticTypeSetting_SemanticType) ProtoReflect() protoreflect.Message {// Deprecated: Use SemanticTypeSetting_SemanticType.ProtoReflect.Descriptor instead.func (*SemanticTypeSetting_SemanticType) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{6, 0}+ return file_store_setting_proto_rawDescGZIP(), []int{5, 0}}func (x *SemanticTypeSetting_SemanticType) GetId() string {@@ -1840,7 +1783,7 @@ type Algorithm_FullMask struct {func (x *Algorithm_FullMask) Reset() {*x = Algorithm_FullMask{}- mi := &file_store_setting_proto_msgTypes[23]+ mi := &file_store_setting_proto_msgTypes[22]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1852,7 +1795,7 @@ func (x *Algorithm_FullMask) String() string {func (*Algorithm_FullMask) ProtoMessage() {}func (x *Algorithm_FullMask) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[23]+ mi := &file_store_setting_proto_msgTypes[22]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1865,7 +1808,7 @@ func (x *Algorithm_FullMask) ProtoReflect() protoreflect.Message {// Deprecated: Use Algorithm_FullMask.ProtoReflect.Descriptor instead.func (*Algorithm_FullMask) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{7, 0}+ return file_store_setting_proto_rawDescGZIP(), []int{6, 0}}func (x *Algorithm_FullMask) GetSubstitution() string {@@ -1886,7 +1829,7 @@ type Algorithm_RangeMask struct {func (x *Algorithm_RangeMask) Reset() {*x = Algorithm_RangeMask{}- mi := &file_store_setting_proto_msgTypes[24]+ mi := &file_store_setting_proto_msgTypes[23]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1898,7 +1841,7 @@ func (x *Algorithm_RangeMask) String() string {func (*Algorithm_RangeMask) ProtoMessage() {}func (x *Algorithm_RangeMask) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[24]+ mi := &file_store_setting_proto_msgTypes[23]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1911,7 +1854,7 @@ func (x *Algorithm_RangeMask) ProtoReflect() protoreflect.Message {// Deprecated: Use Algorithm_RangeMask.ProtoReflect.Descriptor instead.func (*Algorithm_RangeMask) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{7, 1}+ return file_store_setting_proto_rawDescGZIP(), []int{6, 1}}func (x *Algorithm_RangeMask) GetSlices() []*Algorithm_RangeMask_Slice {@@ -1931,7 +1874,7 @@ type Algorithm_MD5Mask struct {func (x *Algorithm_MD5Mask) Reset() {*x = Algorithm_MD5Mask{}- mi := &file_store_setting_proto_msgTypes[25]+ mi := &file_store_setting_proto_msgTypes[24]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1943,7 +1886,7 @@ func (x *Algorithm_MD5Mask) String() string {func (*Algorithm_MD5Mask) ProtoMessage() {}func (x *Algorithm_MD5Mask) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[25]+ mi := &file_store_setting_proto_msgTypes[24]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1956,7 +1899,7 @@ func (x *Algorithm_MD5Mask) ProtoReflect() protoreflect.Message {// Deprecated: Use Algorithm_MD5Mask.ProtoReflect.Descriptor instead.func (*Algorithm_MD5Mask) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{7, 2}+ return file_store_setting_proto_rawDescGZIP(), []int{6, 2}}func (x *Algorithm_MD5Mask) GetSalt() string {@@ -1978,7 +1921,7 @@ type Algorithm_InnerOuterMask struct {func (x *Algorithm_InnerOuterMask) Reset() {*x = Algorithm_InnerOuterMask{}- mi := &file_store_setting_proto_msgTypes[26]+ mi := &file_store_setting_proto_msgTypes[25]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1990,7 +1933,7 @@ func (x *Algorithm_InnerOuterMask) String() string {func (*Algorithm_InnerOuterMask) ProtoMessage() {}func (x *Algorithm_InnerOuterMask) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[26]+ mi := &file_store_setting_proto_msgTypes[25]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2003,7 +1946,7 @@ func (x *Algorithm_InnerOuterMask) ProtoReflect() protoreflect.Message {// Deprecated: Use Algorithm_InnerOuterMask.ProtoReflect.Descriptor instead.func (*Algorithm_InnerOuterMask) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{7, 3}+ return file_store_setting_proto_rawDescGZIP(), []int{6, 3}}func (x *Algorithm_InnerOuterMask) GetPrefixLen() int32 {@@ -2048,7 +1991,7 @@ type Algorithm_RangeMask_Slice struct {func (x *Algorithm_RangeMask_Slice) Reset() {*x = Algorithm_RangeMask_Slice{}- mi := &file_store_setting_proto_msgTypes[27]+ mi := &file_store_setting_proto_msgTypes[26]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2060,7 +2003,7 @@ func (x *Algorithm_RangeMask_Slice) String() string {func (*Algorithm_RangeMask_Slice) ProtoMessage() {}func (x *Algorithm_RangeMask_Slice) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[27]+ mi := &file_store_setting_proto_msgTypes[26]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2073,7 +2016,7 @@ func (x *Algorithm_RangeMask_Slice) ProtoReflect() protoreflect.Message {// Deprecated: Use Algorithm_RangeMask_Slice.ProtoReflect.Descriptor instead.func (*Algorithm_RangeMask_Slice) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{7, 1, 0}+ return file_store_setting_proto_rawDescGZIP(), []int{6, 1, 0}}func (x *Algorithm_RangeMask_Slice) GetStart() int32 {@@ -2107,7 +2050,7 @@ type AppIMSetting_Slack struct {func (x *AppIMSetting_Slack) Reset() {*x = AppIMSetting_Slack{}- mi := &file_store_setting_proto_msgTypes[28]+ mi := &file_store_setting_proto_msgTypes[27]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2119,7 +2062,7 @@ func (x *AppIMSetting_Slack) String() string {func (*AppIMSetting_Slack) ProtoMessage() {}func (x *AppIMSetting_Slack) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[28]+ mi := &file_store_setting_proto_msgTypes[27]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2132,7 +2075,7 @@ func (x *AppIMSetting_Slack) ProtoReflect() protoreflect.Message {// Deprecated: Use AppIMSetting_Slack.ProtoReflect.Descriptor instead.func (*AppIMSetting_Slack) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{8, 0}+ return file_store_setting_proto_rawDescGZIP(), []int{7, 0}}func (x *AppIMSetting_Slack) GetEnabled() bool {@@ -2160,7 +2103,7 @@ type AppIMSetting_Feishu struct {func (x *AppIMSetting_Feishu) Reset() {*x = AppIMSetting_Feishu{}- mi := &file_store_setting_proto_msgTypes[29]+ mi := &file_store_setting_proto_msgTypes[28]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2172,7 +2115,7 @@ func (x *AppIMSetting_Feishu) String() string {func (*AppIMSetting_Feishu) ProtoMessage() {}func (x *AppIMSetting_Feishu) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[29]+ mi := &file_store_setting_proto_msgTypes[28]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2185,7 +2128,7 @@ func (x *AppIMSetting_Feishu) ProtoReflect() protoreflect.Message {// Deprecated: Use AppIMSetting_Feishu.ProtoReflect.Descriptor instead.func (*AppIMSetting_Feishu) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{8, 1}+ return file_store_setting_proto_rawDescGZIP(), []int{7, 1}}func (x *AppIMSetting_Feishu) GetEnabled() bool {@@ -2221,7 +2164,7 @@ type AppIMSetting_Wecom struct {func (x *AppIMSetting_Wecom) Reset() {*x = AppIMSetting_Wecom{}- mi := &file_store_setting_proto_msgTypes[30]+ mi := &file_store_setting_proto_msgTypes[29]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2233,7 +2176,7 @@ func (x *AppIMSetting_Wecom) String() string {func (*AppIMSetting_Wecom) ProtoMessage() {}func (x *AppIMSetting_Wecom) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[30]+ mi := &file_store_setting_proto_msgTypes[29]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2246,7 +2189,7 @@ func (x *AppIMSetting_Wecom) ProtoReflect() protoreflect.Message {// Deprecated: Use AppIMSetting_Wecom.ProtoReflect.Descriptor instead.func (*AppIMSetting_Wecom) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{8, 2}+ return file_store_setting_proto_rawDescGZIP(), []int{7, 2}}func (x *AppIMSetting_Wecom) GetEnabled() bool {@@ -2288,7 +2231,7 @@ type AppIMSetting_Lark struct {func (x *AppIMSetting_Lark) Reset() {*x = AppIMSetting_Lark{}- mi := &file_store_setting_proto_msgTypes[31]+ mi := &file_store_setting_proto_msgTypes[30]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2300,7 +2243,7 @@ func (x *AppIMSetting_Lark) String() string {func (*AppIMSetting_Lark) ProtoMessage() {}func (x *AppIMSetting_Lark) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[31]+ mi := &file_store_setting_proto_msgTypes[30]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2313,7 +2256,7 @@ func (x *AppIMSetting_Lark) ProtoReflect() protoreflect.Message {// Deprecated: Use AppIMSetting_Lark.ProtoReflect.Descriptor instead.func (*AppIMSetting_Lark) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{8, 3}+ return file_store_setting_proto_rawDescGZIP(), []int{7, 3}}func (x *AppIMSetting_Lark) GetEnabled() bool {@@ -2349,7 +2292,7 @@ type AppIMSetting_DingTalk struct {func (x *AppIMSetting_DingTalk) Reset() {*x = AppIMSetting_DingTalk{}- mi := &file_store_setting_proto_msgTypes[32]+ mi := &file_store_setting_proto_msgTypes[31]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2361,7 +2304,7 @@ func (x *AppIMSetting_DingTalk) String() string {func (*AppIMSetting_DingTalk) ProtoMessage() {}func (x *AppIMSetting_DingTalk) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[32]+ mi := &file_store_setting_proto_msgTypes[31]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2374,7 +2317,7 @@ func (x *AppIMSetting_DingTalk) ProtoReflect() protoreflect.Message {// Deprecated: Use AppIMSetting_DingTalk.ProtoReflect.Descriptor instead.func (*AppIMSetting_DingTalk) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{8, 4}+ return file_store_setting_proto_rawDescGZIP(), []int{7, 4}}func (x *AppIMSetting_DingTalk) GetEnabled() bool {@@ -2421,7 +2364,7 @@ type EnvironmentSetting_Environment struct {func (x *EnvironmentSetting_Environment) Reset() {*x = EnvironmentSetting_Environment{}- mi := &file_store_setting_proto_msgTypes[33]+ mi := &file_store_setting_proto_msgTypes[32]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2433,7 +2376,7 @@ func (x *EnvironmentSetting_Environment) String() string {func (*EnvironmentSetting_Environment) ProtoMessage() {}func (x *EnvironmentSetting_Environment) ProtoReflect() protoreflect.Message {- mi := &file_store_setting_proto_msgTypes[33]+ mi := &file_store_setting_proto_msgTypes[32]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2446,7 +2389,7 @@ func (x *EnvironmentSetting_Environment) ProtoReflect() protoreflect.Message {// Deprecated: Use EnvironmentSetting_Environment.ProtoReflect.Descriptor instead.func (*EnvironmentSetting_Environment) Descriptor() ([]byte, []int) {- return file_store_setting_proto_rawDescGZIP(), []int{13, 0}+ return file_store_setting_proto_rawDescGZIP(), []int{12, 0}}func (x *EnvironmentSetting_Environment) GetId() string {@@ -2504,10 +2447,7 @@ const file_store_setting_proto_rawDesc = "" +"\x17ALERT_LEVEL_UNSPECIFIED\x10\x00\x12\x14\n" +"\x10ALERT_LEVEL_INFO\x10\x01\x12\x17\n" +"\x13ALERT_LEVEL_WARNING\x10\x02\x12\x18\n" +- "\x14ALERT_LEVEL_CRITICAL\x10\x03\"<\n" +- "\x12AgentPluginSetting\x12\x10\n" +- "\x03url\x18\x01 \x01(\tR\x03url\x12\x14\n" +- "\x05token\x18\x02 \x01(\tR\x05token\"\x97\x02\n" ++ "\x14ALERT_LEVEL_CRITICAL\x10\x03\"\x97\x02\n" +"\x18WorkspaceApprovalSetting\x12C\n" +"\x05rules\x18\x01 \x03(\v2-.bytebase.store.WorkspaceApprovalSetting.RuleR\x05rules\x1a\xb5\x01\n" +"\x04Rule\x12>\n" +@@ -2660,7 +2600,7 @@ const file_store_setting_proto_rawDesc = "" +"\x05color\x18\x04 \x01(\tR\x05color\x1a7\n" +"\tTagsEntry\x12\x10\n" +"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +- "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01*\x90\x03\n" ++ "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01*\xfe\x02\n" +"\vSettingName\x12\x1c\n" +"\x18SETTING_NAME_UNSPECIFIED\x10\x00\x12\x0f\n" +"\vAUTH_SECRET\x10\x01\x12\x11\n" +@@ -2674,8 +2614,7 @@ const file_store_setting_proto_rawDesc = "" +"\x06APP_IM\x10\b\x12\r\n" +"\tWATERMARK\x10\t\x12\x06\n" +"\x02AI\x10\n" +- "\x12\x10\n" +- "\fPLUGIN_AGENT\x10\v\x12\x13\n" ++ "\x12\x13\n" +"\x0fSCHEMA_TEMPLATE\x10\r\x12\x17\n" +"\x13DATA_CLASSIFICATION\x10\x0e\x12\x12\n" +"\x0eSEMANTIC_TYPES\x10\x0f\x12\x19\n" +@@ -2702,7 +2641,7 @@ func file_store_setting_proto_rawDescGZIP() []byte {}var file_store_setting_proto_enumTypes = make([]protoimpl.EnumInfo, 5)-var file_store_setting_proto_msgTypes = make([]protoimpl.MessageInfo, 35)+var file_store_setting_proto_msgTypes = make([]protoimpl.MessageInfo, 34)var file_store_setting_proto_goTypes = []any{(SettingName)(0), // 0: bytebase.store.SettingName(DatabaseChangeMode)(0), // 1: bytebase.store.DatabaseChangeMode@@ -2711,90 +2650,89 @@ var file_store_setting_proto_goTypes = []any{(AISetting_Provider)(0), // 4: bytebase.store.AISetting.Provider(*WorkspaceProfileSetting)(nil), // 5: bytebase.store.WorkspaceProfileSetting(*Announcement)(nil), // 6: bytebase.store.Announcement- (*AgentPluginSetting)(nil), // 7: bytebase.store.AgentPluginSetting- (*WorkspaceApprovalSetting)(nil), // 8: bytebase.store.WorkspaceApprovalSetting- (*SchemaTemplateSetting)(nil), // 9: bytebase.store.SchemaTemplateSetting- (*DataClassificationSetting)(nil), // 10: bytebase.store.DataClassificationSetting- (*SemanticTypeSetting)(nil), // 11: bytebase.store.SemanticTypeSetting- (*Algorithm)(nil), // 12: bytebase.store.Algorithm- (*AppIMSetting)(nil), // 13: bytebase.store.AppIMSetting- (*MaximumSQLResultSizeSetting)(nil), // 14: bytebase.store.MaximumSQLResultSizeSetting- (*SCIMSetting)(nil), // 15: bytebase.store.SCIMSetting- (*PasswordRestrictionSetting)(nil), // 16: bytebase.store.PasswordRestrictionSetting- (*AISetting)(nil), // 17: bytebase.store.AISetting- (*EnvironmentSetting)(nil), // 18: bytebase.store.EnvironmentSetting- (*WorkspaceApprovalSetting_Rule)(nil), // 19: bytebase.store.WorkspaceApprovalSetting.Rule- (*SchemaTemplateSetting_FieldTemplate)(nil), // 20: bytebase.store.SchemaTemplateSetting.FieldTemplate- (*SchemaTemplateSetting_ColumnType)(nil), // 21: bytebase.store.SchemaTemplateSetting.ColumnType- (*SchemaTemplateSetting_TableTemplate)(nil), // 22: bytebase.store.SchemaTemplateSetting.TableTemplate- (*DataClassificationSetting_DataClassificationConfig)(nil), // 23: bytebase.store.DataClassificationSetting.DataClassificationConfig- (*DataClassificationSetting_DataClassificationConfig_Level)(nil), // 24: bytebase.store.DataClassificationSetting.DataClassificationConfig.Level- (*DataClassificationSetting_DataClassificationConfig_DataClassification)(nil), // 25: bytebase.store.DataClassificationSetting.DataClassificationConfig.DataClassification- nil, // 26: bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry- (*SemanticTypeSetting_SemanticType)(nil), // 27: bytebase.store.SemanticTypeSetting.SemanticType- (*Algorithm_FullMask)(nil), // 28: bytebase.store.Algorithm.FullMask- (*Algorithm_RangeMask)(nil), // 29: bytebase.store.Algorithm.RangeMask- (*Algorithm_MD5Mask)(nil), // 30: bytebase.store.Algorithm.MD5Mask- (*Algorithm_InnerOuterMask)(nil), // 31: bytebase.store.Algorithm.InnerOuterMask- (*Algorithm_RangeMask_Slice)(nil), // 32: bytebase.store.Algorithm.RangeMask.Slice- (*AppIMSetting_Slack)(nil), // 33: bytebase.store.AppIMSetting.Slack- (*AppIMSetting_Feishu)(nil), // 34: bytebase.store.AppIMSetting.Feishu- (*AppIMSetting_Wecom)(nil), // 35: bytebase.store.AppIMSetting.Wecom- (*AppIMSetting_Lark)(nil), // 36: bytebase.store.AppIMSetting.Lark- (*AppIMSetting_DingTalk)(nil), // 37: bytebase.store.AppIMSetting.DingTalk- (*EnvironmentSetting_Environment)(nil), // 38: bytebase.store.EnvironmentSetting.Environment- nil, // 39: bytebase.store.EnvironmentSetting.Environment.TagsEntry- (*durationpb.Duration)(nil), // 40: google.protobuf.Duration- (*v1alpha1.Expr)(nil), // 41: google.api.expr.v1alpha1.Expr- (*ApprovalTemplate)(nil), // 42: bytebase.store.ApprovalTemplate- (*expr.Expr)(nil), // 43: google.type.Expr- (Engine)(0), // 44: bytebase.store.Engine- (*ColumnMetadata)(nil), // 45: bytebase.store.ColumnMetadata- (*ColumnCatalog)(nil), // 46: bytebase.store.ColumnCatalog- (*TableMetadata)(nil), // 47: bytebase.store.TableMetadata- (*TableCatalog)(nil), // 48: bytebase.store.TableCatalog+ (*WorkspaceApprovalSetting)(nil), // 7: bytebase.store.WorkspaceApprovalSetting+ (*SchemaTemplateSetting)(nil), // 8: bytebase.store.SchemaTemplateSetting+ (*DataClassificationSetting)(nil), // 9: bytebase.store.DataClassificationSetting+ (*SemanticTypeSetting)(nil), // 10: bytebase.store.SemanticTypeSetting+ (*Algorithm)(nil), // 11: bytebase.store.Algorithm+ (*AppIMSetting)(nil), // 12: bytebase.store.AppIMSetting+ (*MaximumSQLResultSizeSetting)(nil), // 13: bytebase.store.MaximumSQLResultSizeSetting+ (*SCIMSetting)(nil), // 14: bytebase.store.SCIMSetting+ (*PasswordRestrictionSetting)(nil), // 15: bytebase.store.PasswordRestrictionSetting+ (*AISetting)(nil), // 16: bytebase.store.AISetting+ (*EnvironmentSetting)(nil), // 17: bytebase.store.EnvironmentSetting+ (*WorkspaceApprovalSetting_Rule)(nil), // 18: bytebase.store.WorkspaceApprovalSetting.Rule+ (*SchemaTemplateSetting_FieldTemplate)(nil), // 19: bytebase.store.SchemaTemplateSetting.FieldTemplate+ (*SchemaTemplateSetting_ColumnType)(nil), // 20: bytebase.store.SchemaTemplateSetting.ColumnType+ (*SchemaTemplateSetting_TableTemplate)(nil), // 21: bytebase.store.SchemaTemplateSetting.TableTemplate+ (*DataClassificationSetting_DataClassificationConfig)(nil), // 22: bytebase.store.DataClassificationSetting.DataClassificationConfig+ (*DataClassificationSetting_DataClassificationConfig_Level)(nil), // 23: bytebase.store.DataClassificationSetting.DataClassificationConfig.Level+ (*DataClassificationSetting_DataClassificationConfig_DataClassification)(nil), // 24: bytebase.store.DataClassificationSetting.DataClassificationConfig.DataClassification+ nil, // 25: bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry+ (*SemanticTypeSetting_SemanticType)(nil), // 26: bytebase.store.SemanticTypeSetting.SemanticType+ (*Algorithm_FullMask)(nil), // 27: bytebase.store.Algorithm.FullMask+ (*Algorithm_RangeMask)(nil), // 28: bytebase.store.Algorithm.RangeMask+ (*Algorithm_MD5Mask)(nil), // 29: bytebase.store.Algorithm.MD5Mask+ (*Algorithm_InnerOuterMask)(nil), // 30: bytebase.store.Algorithm.InnerOuterMask+ (*Algorithm_RangeMask_Slice)(nil), // 31: bytebase.store.Algorithm.RangeMask.Slice+ (*AppIMSetting_Slack)(nil), // 32: bytebase.store.AppIMSetting.Slack+ (*AppIMSetting_Feishu)(nil), // 33: bytebase.store.AppIMSetting.Feishu+ (*AppIMSetting_Wecom)(nil), // 34: bytebase.store.AppIMSetting.Wecom+ (*AppIMSetting_Lark)(nil), // 35: bytebase.store.AppIMSetting.Lark+ (*AppIMSetting_DingTalk)(nil), // 36: bytebase.store.AppIMSetting.DingTalk+ (*EnvironmentSetting_Environment)(nil), // 37: bytebase.store.EnvironmentSetting.Environment+ nil, // 38: bytebase.store.EnvironmentSetting.Environment.TagsEntry+ (*durationpb.Duration)(nil), // 39: google.protobuf.Duration+ (*v1alpha1.Expr)(nil), // 40: google.api.expr.v1alpha1.Expr+ (*ApprovalTemplate)(nil), // 41: bytebase.store.ApprovalTemplate+ (*expr.Expr)(nil), // 42: google.type.Expr+ (Engine)(0), // 43: bytebase.store.Engine+ (*ColumnMetadata)(nil), // 44: bytebase.store.ColumnMetadata+ (*ColumnCatalog)(nil), // 45: bytebase.store.ColumnCatalog+ (*TableMetadata)(nil), // 46: bytebase.store.TableMetadata+ (*TableCatalog)(nil), // 47: bytebase.store.TableCatalog}var file_store_setting_proto_depIdxs = []int32{- 40, // 0: bytebase.store.WorkspaceProfileSetting.token_duration:type_name -> google.protobuf.Duration+ 39, // 0: bytebase.store.WorkspaceProfileSetting.token_duration:type_name -> google.protobuf.Duration6, // 1: bytebase.store.WorkspaceProfileSetting.announcement:type_name -> bytebase.store.Announcement- 40, // 2: bytebase.store.WorkspaceProfileSetting.maximum_role_expiration:type_name -> google.protobuf.Duration+ 39, // 2: bytebase.store.WorkspaceProfileSetting.maximum_role_expiration:type_name -> google.protobuf.Duration1, // 3: bytebase.store.WorkspaceProfileSetting.database_change_mode:type_name -> bytebase.store.DatabaseChangeMode2, // 4: bytebase.store.Announcement.level:type_name -> bytebase.store.Announcement.AlertLevel- 19, // 5: bytebase.store.WorkspaceApprovalSetting.rules:type_name -> bytebase.store.WorkspaceApprovalSetting.Rule- 20, // 6: bytebase.store.SchemaTemplateSetting.field_templates:type_name -> bytebase.store.SchemaTemplateSetting.FieldTemplate- 21, // 7: bytebase.store.SchemaTemplateSetting.column_types:type_name -> bytebase.store.SchemaTemplateSetting.ColumnType- 22, // 8: bytebase.store.SchemaTemplateSetting.table_templates:type_name -> bytebase.store.SchemaTemplateSetting.TableTemplate- 23, // 9: bytebase.store.DataClassificationSetting.configs:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig- 27, // 10: bytebase.store.SemanticTypeSetting.types:type_name -> bytebase.store.SemanticTypeSetting.SemanticType- 28, // 11: bytebase.store.Algorithm.full_mask:type_name -> bytebase.store.Algorithm.FullMask- 29, // 12: bytebase.store.Algorithm.range_mask:type_name -> bytebase.store.Algorithm.RangeMask- 30, // 13: bytebase.store.Algorithm.md5_mask:type_name -> bytebase.store.Algorithm.MD5Mask- 31, // 14: bytebase.store.Algorithm.inner_outer_mask:type_name -> bytebase.store.Algorithm.InnerOuterMask- 33, // 15: bytebase.store.AppIMSetting.slack:type_name -> bytebase.store.AppIMSetting.Slack- 34, // 16: bytebase.store.AppIMSetting.feishu:type_name -> bytebase.store.AppIMSetting.Feishu- 35, // 17: bytebase.store.AppIMSetting.wecom:type_name -> bytebase.store.AppIMSetting.Wecom- 36, // 18: bytebase.store.AppIMSetting.lark:type_name -> bytebase.store.AppIMSetting.Lark- 37, // 19: bytebase.store.AppIMSetting.dingtalk:type_name -> bytebase.store.AppIMSetting.DingTalk- 40, // 20: bytebase.store.PasswordRestrictionSetting.password_rotation:type_name -> google.protobuf.Duration+ 18, // 5: bytebase.store.WorkspaceApprovalSetting.rules:type_name -> bytebase.store.WorkspaceApprovalSetting.Rule+ 19, // 6: bytebase.store.SchemaTemplateSetting.field_templates:type_name -> bytebase.store.SchemaTemplateSetting.FieldTemplate+ 20, // 7: bytebase.store.SchemaTemplateSetting.column_types:type_name -> bytebase.store.SchemaTemplateSetting.ColumnType+ 21, // 8: bytebase.store.SchemaTemplateSetting.table_templates:type_name -> bytebase.store.SchemaTemplateSetting.TableTemplate+ 22, // 9: bytebase.store.DataClassificationSetting.configs:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig+ 26, // 10: bytebase.store.SemanticTypeSetting.types:type_name -> bytebase.store.SemanticTypeSetting.SemanticType+ 27, // 11: bytebase.store.Algorithm.full_mask:type_name -> bytebase.store.Algorithm.FullMask+ 28, // 12: bytebase.store.Algorithm.range_mask:type_name -> bytebase.store.Algorithm.RangeMask+ 29, // 13: bytebase.store.Algorithm.md5_mask:type_name -> bytebase.store.Algorithm.MD5Mask+ 30, // 14: bytebase.store.Algorithm.inner_outer_mask:type_name -> bytebase.store.Algorithm.InnerOuterMask+ 32, // 15: bytebase.store.AppIMSetting.slack:type_name -> bytebase.store.AppIMSetting.Slack+ 33, // 16: bytebase.store.AppIMSetting.feishu:type_name -> bytebase.store.AppIMSetting.Feishu+ 34, // 17: bytebase.store.AppIMSetting.wecom:type_name -> bytebase.store.AppIMSetting.Wecom+ 35, // 18: bytebase.store.AppIMSetting.lark:type_name -> bytebase.store.AppIMSetting.Lark+ 36, // 19: bytebase.store.AppIMSetting.dingtalk:type_name -> bytebase.store.AppIMSetting.DingTalk+ 39, // 20: bytebase.store.PasswordRestrictionSetting.password_rotation:type_name -> google.protobuf.Duration4, // 21: bytebase.store.AISetting.provider:type_name -> bytebase.store.AISetting.Provider- 38, // 22: bytebase.store.EnvironmentSetting.environments:type_name -> bytebase.store.EnvironmentSetting.Environment- 41, // 23: bytebase.store.WorkspaceApprovalSetting.Rule.expression:type_name -> google.api.expr.v1alpha1.Expr- 42, // 24: bytebase.store.WorkspaceApprovalSetting.Rule.template:type_name -> bytebase.store.ApprovalTemplate- 43, // 25: bytebase.store.WorkspaceApprovalSetting.Rule.condition:type_name -> google.type.Expr- 44, // 26: bytebase.store.SchemaTemplateSetting.FieldTemplate.engine:type_name -> bytebase.store.Engine- 45, // 27: bytebase.store.SchemaTemplateSetting.FieldTemplate.column:type_name -> bytebase.store.ColumnMetadata- 46, // 28: bytebase.store.SchemaTemplateSetting.FieldTemplate.catalog:type_name -> bytebase.store.ColumnCatalog- 44, // 29: bytebase.store.SchemaTemplateSetting.ColumnType.engine:type_name -> bytebase.store.Engine- 44, // 30: bytebase.store.SchemaTemplateSetting.TableTemplate.engine:type_name -> bytebase.store.Engine- 47, // 31: bytebase.store.SchemaTemplateSetting.TableTemplate.table:type_name -> bytebase.store.TableMetadata- 48, // 32: bytebase.store.SchemaTemplateSetting.TableTemplate.catalog:type_name -> bytebase.store.TableCatalog- 24, // 33: bytebase.store.DataClassificationSetting.DataClassificationConfig.levels:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.Level- 26, // 34: bytebase.store.DataClassificationSetting.DataClassificationConfig.classification:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry- 25, // 35: bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry.value:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.DataClassification- 12, // 36: bytebase.store.SemanticTypeSetting.SemanticType.algorithm:type_name -> bytebase.store.Algorithm- 32, // 37: bytebase.store.Algorithm.RangeMask.slices:type_name -> bytebase.store.Algorithm.RangeMask.Slice+ 37, // 22: bytebase.store.EnvironmentSetting.environments:type_name -> bytebase.store.EnvironmentSetting.Environment+ 40, // 23: bytebase.store.WorkspaceApprovalSetting.Rule.expression:type_name -> google.api.expr.v1alpha1.Expr+ 41, // 24: bytebase.store.WorkspaceApprovalSetting.Rule.template:type_name -> bytebase.store.ApprovalTemplate+ 42, // 25: bytebase.store.WorkspaceApprovalSetting.Rule.condition:type_name -> google.type.Expr+ 43, // 26: bytebase.store.SchemaTemplateSetting.FieldTemplate.engine:type_name -> bytebase.store.Engine+ 44, // 27: bytebase.store.SchemaTemplateSetting.FieldTemplate.column:type_name -> bytebase.store.ColumnMetadata+ 45, // 28: bytebase.store.SchemaTemplateSetting.FieldTemplate.catalog:type_name -> bytebase.store.ColumnCatalog+ 43, // 29: bytebase.store.SchemaTemplateSetting.ColumnType.engine:type_name -> bytebase.store.Engine+ 43, // 30: bytebase.store.SchemaTemplateSetting.TableTemplate.engine:type_name -> bytebase.store.Engine+ 46, // 31: bytebase.store.SchemaTemplateSetting.TableTemplate.table:type_name -> bytebase.store.TableMetadata+ 47, // 32: bytebase.store.SchemaTemplateSetting.TableTemplate.catalog:type_name -> bytebase.store.TableCatalog+ 23, // 33: bytebase.store.DataClassificationSetting.DataClassificationConfig.levels:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.Level+ 25, // 34: bytebase.store.DataClassificationSetting.DataClassificationConfig.classification:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry+ 24, // 35: bytebase.store.DataClassificationSetting.DataClassificationConfig.ClassificationEntry.value:type_name -> bytebase.store.DataClassificationSetting.DataClassificationConfig.DataClassification+ 11, // 36: bytebase.store.SemanticTypeSetting.SemanticType.algorithm:type_name -> bytebase.store.Algorithm+ 31, // 37: bytebase.store.Algorithm.RangeMask.slices:type_name -> bytebase.store.Algorithm.RangeMask.Slice3, // 38: bytebase.store.Algorithm.InnerOuterMask.type:type_name -> bytebase.store.Algorithm.InnerOuterMask.MaskType- 39, // 39: bytebase.store.EnvironmentSetting.Environment.tags:type_name -> bytebase.store.EnvironmentSetting.Environment.TagsEntry+ 38, // 39: bytebase.store.EnvironmentSetting.Environment.tags:type_name -> bytebase.store.EnvironmentSetting.Environment.TagsEntry40, // [40:40] is the sub-list for method output_type40, // [40:40] is the sub-list for method input_type40, // [40:40] is the sub-list for extension type_name@@ -2810,20 +2748,20 @@ func file_store_setting_proto_init() {file_store_approval_proto_init()file_store_common_proto_init()file_store_database_proto_init()- file_store_setting_proto_msgTypes[7].OneofWrappers = []any{+ file_store_setting_proto_msgTypes[6].OneofWrappers = []any{(*Algorithm_FullMask_)(nil),(*Algorithm_RangeMask_)(nil),(*Algorithm_Md5Mask)(nil),(*Algorithm_InnerOuterMask_)(nil),}- file_store_setting_proto_msgTypes[20].OneofWrappers = []any{}+ file_store_setting_proto_msgTypes[19].OneofWrappers = []any{}type x struct{}out := protoimpl.TypeBuilder{File: protoimpl.DescBuilder{GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: unsafe.Slice(unsafe.StringData(file_store_setting_proto_rawDesc), len(file_store_setting_proto_rawDesc)),NumEnums: 5,- NumMessages: 35,+ NumMessages: 34,NumExtensions: 0,NumServices: 0,},diff --git a/proto/generated-go/v1/setting_service.pb.go b/proto/generated-go/v1/setting_service.pb.goindex 9d4444a493..68350cacce 100644--- a/proto/generated-go/v1/setting_service.pb.go+++ b/proto/generated-go/v1/setting_service.pb.go@@ -91,7 +91,6 @@ const (Setting_APP_IM Setting_SettingName = 8Setting_WATERMARK Setting_SettingName = 9Setting_AI Setting_SettingName = 10- Setting_PLUGIN_AGENT Setting_SettingName = 11Setting_SCHEMA_TEMPLATE Setting_SettingName = 13Setting_DATA_CLASSIFICATION Setting_SettingName = 14Setting_SEMANTIC_TYPES Setting_SettingName = 15@@ -115,7 +114,6 @@ var (8: "APP_IM",9: "WATERMARK",10: "AI",- 11: "PLUGIN_AGENT",13: "SCHEMA_TEMPLATE",14: "DATA_CLASSIFICATION",15: "SEMANTIC_TYPES",@@ -136,7 +134,6 @@ var ("APP_IM": 8,"WATERMARK": 9,"AI": 10,- "PLUGIN_AGENT": 11,"SCHEMA_TEMPLATE": 13,"DATA_CLASSIFICATION": 14,"SEMANTIC_TYPES": 15,@@ -224,7 +221,7 @@ func (x Announcement_AlertLevel) Number() protoreflect.EnumNumber {// Deprecated: Use Announcement_AlertLevel.Descriptor instead.func (Announcement_AlertLevel) EnumDescriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{10, 0}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{9, 0}}type Algorithm_InnerOuterMask_MaskType int32@@ -273,7 +270,7 @@ func (x Algorithm_InnerOuterMask_MaskType) Number() protoreflect.EnumNumber {// Deprecated: Use Algorithm_InnerOuterMask_MaskType.Descriptor instead.func (Algorithm_InnerOuterMask_MaskType) EnumDescriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 3, 0}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{14, 3, 0}}type AISetting_Provider int32@@ -328,7 +325,7 @@ func (x AISetting_Provider) Number() protoreflect.EnumNumber {// Deprecated: Use AISetting_Provider.Descriptor instead.func (AISetting_Provider) EnumDescriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{19, 0}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{18, 0}}type ListSettingsRequest struct {@@ -679,7 +676,6 @@ type Value struct {//// *Value_StringValue// *Value_AppImSettingValue- // *Value_AgentPluginSettingValue// *Value_WorkspaceProfileSettingValue// *Value_WorkspaceApprovalSettingValue// *Value_SchemaTemplateSettingValue@@ -750,15 +746,6 @@ func (x *Value) GetAppImSettingValue() *AppIMSetting {return nil}-func (x *Value) GetAgentPluginSettingValue() *AgentPluginSetting {- if x != nil {- if x, ok := x.Value.(*Value_AgentPluginSettingValue); ok {- return x.AgentPluginSettingValue- }- }- return nil-}-func (x *Value) GetWorkspaceProfileSettingValue() *WorkspaceProfileSetting {if x != nil {if x, ok := x.Value.(*Value_WorkspaceProfileSettingValue); ok {@@ -862,11 +849,8 @@ type Value_AppImSettingValue struct {AppImSettingValue *AppIMSetting `protobuf:"bytes,3,opt,name=app_im_setting_value,json=appImSettingValue,proto3,oneof"`}-type Value_AgentPluginSettingValue struct {- AgentPluginSettingValue *AgentPluginSetting `protobuf:"bytes,4,opt,name=agent_plugin_setting_value,json=agentPluginSettingValue,proto3,oneof"`-}-type Value_WorkspaceProfileSettingValue struct {+ // reserved 4; // was AgentPluginSetting agent_plugin_setting_valueWorkspaceProfileSettingValue *WorkspaceProfileSetting `protobuf:"bytes,5,opt,name=workspace_profile_setting_value,json=workspaceProfileSettingValue,proto3,oneof"`}@@ -910,8 +894,6 @@ func (*Value_StringValue) isValue_Value() {}func (*Value_AppImSettingValue) isValue_Value() {}-func (*Value_AgentPluginSettingValue) isValue_Value() {}-func (*Value_WorkspaceProfileSettingValue) isValue_Value() {}func (*Value_WorkspaceApprovalSettingValue) isValue_Value() {}@@ -1008,60 +990,6 @@ func (x *AppIMSetting) GetDingtalk() *AppIMSetting_DingTalk {return nil}-type AgentPluginSetting struct {- state protoimpl.MessageState `protogen:"open.v1"`- // The URL for the agent API.- Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`- // The token for the agent.- Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *AgentPluginSetting) Reset() {- *x = AgentPluginSetting{}- mi := &file_v1_setting_service_proto_msgTypes[8]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *AgentPluginSetting) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*AgentPluginSetting) ProtoMessage() {}--func (x *AgentPluginSetting) 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 AgentPluginSetting.ProtoReflect.Descriptor instead.-func (*AgentPluginSetting) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{8}-}--func (x *AgentPluginSetting) GetUrl() string {- if x != nil {- return x.Url- }- return ""-}--func (x *AgentPluginSetting) GetToken() string {- if x != nil {- return x.Token- }- return ""-}-type WorkspaceProfileSetting struct {state protoimpl.MessageState `protogen:"open.v1"`// The external URL is used for sso authentication callback.@@ -1090,7 +1018,7 @@ type WorkspaceProfileSetting struct {func (x *WorkspaceProfileSetting) Reset() {*x = WorkspaceProfileSetting{}- mi := &file_v1_setting_service_proto_msgTypes[9]+ mi := &file_v1_setting_service_proto_msgTypes[8]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1102,7 +1030,7 @@ func (x *WorkspaceProfileSetting) String() string {func (*WorkspaceProfileSetting) ProtoMessage() {}func (x *WorkspaceProfileSetting) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[9]+ mi := &file_v1_setting_service_proto_msgTypes[8]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1115,7 +1043,7 @@ func (x *WorkspaceProfileSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use WorkspaceProfileSetting.ProtoReflect.Descriptor instead.func (*WorkspaceProfileSetting) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{9}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{8}}func (x *WorkspaceProfileSetting) GetExternalUrl() string {@@ -1202,7 +1130,7 @@ type Announcement struct {func (x *Announcement) Reset() {*x = Announcement{}- mi := &file_v1_setting_service_proto_msgTypes[10]+ mi := &file_v1_setting_service_proto_msgTypes[9]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1214,7 +1142,7 @@ func (x *Announcement) String() string {func (*Announcement) ProtoMessage() {}func (x *Announcement) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[10]+ mi := &file_v1_setting_service_proto_msgTypes[9]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1227,7 +1155,7 @@ func (x *Announcement) ProtoReflect() protoreflect.Message {// Deprecated: Use Announcement.ProtoReflect.Descriptor instead.func (*Announcement) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{10}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{9}}func (x *Announcement) GetLevel() Announcement_AlertLevel {@@ -1260,7 +1188,7 @@ type WorkspaceApprovalSetting struct {func (x *WorkspaceApprovalSetting) Reset() {*x = WorkspaceApprovalSetting{}- mi := &file_v1_setting_service_proto_msgTypes[11]+ mi := &file_v1_setting_service_proto_msgTypes[10]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1272,7 +1200,7 @@ func (x *WorkspaceApprovalSetting) String() string {func (*WorkspaceApprovalSetting) ProtoMessage() {}func (x *WorkspaceApprovalSetting) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[11]+ mi := &file_v1_setting_service_proto_msgTypes[10]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1285,7 +1213,7 @@ func (x *WorkspaceApprovalSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use WorkspaceApprovalSetting.ProtoReflect.Descriptor instead.func (*WorkspaceApprovalSetting) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{11}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{10}}func (x *WorkspaceApprovalSetting) GetRules() []*WorkspaceApprovalSetting_Rule {@@ -1306,7 +1234,7 @@ type SchemaTemplateSetting struct {func (x *SchemaTemplateSetting) Reset() {*x = SchemaTemplateSetting{}- mi := &file_v1_setting_service_proto_msgTypes[12]+ mi := &file_v1_setting_service_proto_msgTypes[11]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1318,7 +1246,7 @@ func (x *SchemaTemplateSetting) String() string {func (*SchemaTemplateSetting) ProtoMessage() {}func (x *SchemaTemplateSetting) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[12]+ mi := &file_v1_setting_service_proto_msgTypes[11]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1331,7 +1259,7 @@ func (x *SchemaTemplateSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use SchemaTemplateSetting.ProtoReflect.Descriptor instead.func (*SchemaTemplateSetting) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{12}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{11}}func (x *SchemaTemplateSetting) GetFieldTemplates() []*SchemaTemplateSetting_FieldTemplate {@@ -1364,7 +1292,7 @@ type DataClassificationSetting struct {func (x *DataClassificationSetting) Reset() {*x = DataClassificationSetting{}- mi := &file_v1_setting_service_proto_msgTypes[13]+ mi := &file_v1_setting_service_proto_msgTypes[12]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1376,7 +1304,7 @@ func (x *DataClassificationSetting) String() string {func (*DataClassificationSetting) ProtoMessage() {}func (x *DataClassificationSetting) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[13]+ mi := &file_v1_setting_service_proto_msgTypes[12]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1389,7 +1317,7 @@ func (x *DataClassificationSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use DataClassificationSetting.ProtoReflect.Descriptor instead.func (*DataClassificationSetting) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{13}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{12}}func (x *DataClassificationSetting) GetConfigs() []*DataClassificationSetting_DataClassificationConfig {@@ -1408,7 +1336,7 @@ type SemanticTypeSetting struct {func (x *SemanticTypeSetting) Reset() {*x = SemanticTypeSetting{}- mi := &file_v1_setting_service_proto_msgTypes[14]+ mi := &file_v1_setting_service_proto_msgTypes[13]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1420,7 +1348,7 @@ func (x *SemanticTypeSetting) String() string {func (*SemanticTypeSetting) ProtoMessage() {}func (x *SemanticTypeSetting) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[14]+ mi := &file_v1_setting_service_proto_msgTypes[13]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1433,7 +1361,7 @@ func (x *SemanticTypeSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use SemanticTypeSetting.ProtoReflect.Descriptor instead.func (*SemanticTypeSetting) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{14}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{13}}func (x *SemanticTypeSetting) GetTypes() []*SemanticTypeSetting_SemanticType {@@ -1458,7 +1386,7 @@ type Algorithm struct {func (x *Algorithm) Reset() {*x = Algorithm{}- mi := &file_v1_setting_service_proto_msgTypes[15]+ mi := &file_v1_setting_service_proto_msgTypes[14]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1470,7 +1398,7 @@ func (x *Algorithm) String() string {func (*Algorithm) ProtoMessage() {}func (x *Algorithm) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[15]+ mi := &file_v1_setting_service_proto_msgTypes[14]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1483,7 +1411,7 @@ func (x *Algorithm) ProtoReflect() protoreflect.Message {// Deprecated: Use Algorithm.ProtoReflect.Descriptor instead.func (*Algorithm) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{15}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{14}}func (x *Algorithm) GetMask() isAlgorithm_Mask {@@ -1568,7 +1496,7 @@ type MaximumSQLResultSizeSetting struct {func (x *MaximumSQLResultSizeSetting) Reset() {*x = MaximumSQLResultSizeSetting{}- mi := &file_v1_setting_service_proto_msgTypes[16]+ mi := &file_v1_setting_service_proto_msgTypes[15]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1580,7 +1508,7 @@ func (x *MaximumSQLResultSizeSetting) String() string {func (*MaximumSQLResultSizeSetting) ProtoMessage() {}func (x *MaximumSQLResultSizeSetting) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[16]+ mi := &file_v1_setting_service_proto_msgTypes[15]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1593,7 +1521,7 @@ func (x *MaximumSQLResultSizeSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use MaximumSQLResultSizeSetting.ProtoReflect.Descriptor instead.func (*MaximumSQLResultSizeSetting) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{16}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{15}}func (x *MaximumSQLResultSizeSetting) GetLimit() int64 {@@ -1612,7 +1540,7 @@ type SCIMSetting struct {func (x *SCIMSetting) Reset() {*x = SCIMSetting{}- mi := &file_v1_setting_service_proto_msgTypes[17]+ mi := &file_v1_setting_service_proto_msgTypes[16]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1624,7 +1552,7 @@ func (x *SCIMSetting) String() string {func (*SCIMSetting) ProtoMessage() {}func (x *SCIMSetting) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[17]+ mi := &file_v1_setting_service_proto_msgTypes[16]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1637,7 +1565,7 @@ func (x *SCIMSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use SCIMSetting.ProtoReflect.Descriptor instead.func (*SCIMSetting) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{17}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{16}}func (x *SCIMSetting) GetToken() string {@@ -1669,7 +1597,7 @@ type PasswordRestrictionSetting struct {func (x *PasswordRestrictionSetting) Reset() {*x = PasswordRestrictionSetting{}- mi := &file_v1_setting_service_proto_msgTypes[18]+ mi := &file_v1_setting_service_proto_msgTypes[17]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1681,7 +1609,7 @@ func (x *PasswordRestrictionSetting) String() string {func (*PasswordRestrictionSetting) ProtoMessage() {}func (x *PasswordRestrictionSetting) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[18]+ mi := &file_v1_setting_service_proto_msgTypes[17]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1694,7 +1622,7 @@ func (x *PasswordRestrictionSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use PasswordRestrictionSetting.ProtoReflect.Descriptor instead.func (*PasswordRestrictionSetting) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{18}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{17}}func (x *PasswordRestrictionSetting) GetMinLength() int32 {@@ -1760,7 +1688,7 @@ type AISetting struct {func (x *AISetting) Reset() {*x = AISetting{}- mi := &file_v1_setting_service_proto_msgTypes[19]+ mi := &file_v1_setting_service_proto_msgTypes[18]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1772,7 +1700,7 @@ func (x *AISetting) String() string {func (*AISetting) ProtoMessage() {}func (x *AISetting) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[19]+ mi := &file_v1_setting_service_proto_msgTypes[18]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1785,7 +1713,7 @@ func (x *AISetting) ProtoReflect() protoreflect.Message {// Deprecated: Use AISetting.ProtoReflect.Descriptor instead.func (*AISetting) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{19}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{18}}func (x *AISetting) GetEnabled() bool {@@ -1839,7 +1767,7 @@ type EnvironmentSetting struct {func (x *EnvironmentSetting) Reset() {*x = EnvironmentSetting{}- mi := &file_v1_setting_service_proto_msgTypes[20]+ mi := &file_v1_setting_service_proto_msgTypes[19]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1851,7 +1779,7 @@ func (x *EnvironmentSetting) String() string {func (*EnvironmentSetting) ProtoMessage() {}func (x *EnvironmentSetting) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[20]+ mi := &file_v1_setting_service_proto_msgTypes[19]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1864,7 +1792,7 @@ func (x *EnvironmentSetting) ProtoReflect() protoreflect.Message {// Deprecated: Use EnvironmentSetting.ProtoReflect.Descriptor instead.func (*EnvironmentSetting) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{20}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{19}}func (x *EnvironmentSetting) GetEnvironments() []*EnvironmentSetting_Environment {@@ -1884,7 +1812,7 @@ type AppIMSetting_Slack struct {func (x *AppIMSetting_Slack) Reset() {*x = AppIMSetting_Slack{}- mi := &file_v1_setting_service_proto_msgTypes[21]+ mi := &file_v1_setting_service_proto_msgTypes[20]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1896,7 +1824,7 @@ func (x *AppIMSetting_Slack) String() string {func (*AppIMSetting_Slack) ProtoMessage() {}func (x *AppIMSetting_Slack) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[21]+ mi := &file_v1_setting_service_proto_msgTypes[20]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1937,7 +1865,7 @@ type AppIMSetting_Feishu struct {func (x *AppIMSetting_Feishu) Reset() {*x = AppIMSetting_Feishu{}- mi := &file_v1_setting_service_proto_msgTypes[22]+ mi := &file_v1_setting_service_proto_msgTypes[21]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -1949,7 +1877,7 @@ func (x *AppIMSetting_Feishu) String() string {func (*AppIMSetting_Feishu) ProtoMessage() {}func (x *AppIMSetting_Feishu) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[22]+ mi := &file_v1_setting_service_proto_msgTypes[21]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -1998,7 +1926,7 @@ type AppIMSetting_Wecom struct {func (x *AppIMSetting_Wecom) Reset() {*x = AppIMSetting_Wecom{}- mi := &file_v1_setting_service_proto_msgTypes[23]+ mi := &file_v1_setting_service_proto_msgTypes[22]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2010,7 +1938,7 @@ func (x *AppIMSetting_Wecom) String() string {func (*AppIMSetting_Wecom) ProtoMessage() {}func (x *AppIMSetting_Wecom) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[23]+ mi := &file_v1_setting_service_proto_msgTypes[22]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2065,7 +1993,7 @@ type AppIMSetting_Lark struct {func (x *AppIMSetting_Lark) Reset() {*x = AppIMSetting_Lark{}- mi := &file_v1_setting_service_proto_msgTypes[24]+ mi := &file_v1_setting_service_proto_msgTypes[23]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2077,7 +2005,7 @@ func (x *AppIMSetting_Lark) String() string {func (*AppIMSetting_Lark) ProtoMessage() {}func (x *AppIMSetting_Lark) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[24]+ mi := &file_v1_setting_service_proto_msgTypes[23]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2126,7 +2054,7 @@ type AppIMSetting_DingTalk struct {func (x *AppIMSetting_DingTalk) Reset() {*x = AppIMSetting_DingTalk{}- mi := &file_v1_setting_service_proto_msgTypes[25]+ mi := &file_v1_setting_service_proto_msgTypes[24]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2138,7 +2066,7 @@ func (x *AppIMSetting_DingTalk) String() string {func (*AppIMSetting_DingTalk) ProtoMessage() {}func (x *AppIMSetting_DingTalk) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[25]+ mi := &file_v1_setting_service_proto_msgTypes[24]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2201,7 +2129,7 @@ type WorkspaceApprovalSetting_Rule struct {func (x *WorkspaceApprovalSetting_Rule) Reset() {*x = WorkspaceApprovalSetting_Rule{}- mi := &file_v1_setting_service_proto_msgTypes[26]+ mi := &file_v1_setting_service_proto_msgTypes[25]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2213,7 +2141,7 @@ func (x *WorkspaceApprovalSetting_Rule) String() string {func (*WorkspaceApprovalSetting_Rule) ProtoMessage() {}func (x *WorkspaceApprovalSetting_Rule) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[26]+ mi := &file_v1_setting_service_proto_msgTypes[25]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2226,7 +2154,7 @@ func (x *WorkspaceApprovalSetting_Rule) ProtoReflect() protoreflect.Message {// Deprecated: Use WorkspaceApprovalSetting_Rule.ProtoReflect.Descriptor instead.func (*WorkspaceApprovalSetting_Rule) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{11, 0}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{10, 0}}func (x *WorkspaceApprovalSetting_Rule) GetTemplate() *ApprovalTemplate {@@ -2256,7 +2184,7 @@ type SchemaTemplateSetting_FieldTemplate struct {func (x *SchemaTemplateSetting_FieldTemplate) Reset() {*x = SchemaTemplateSetting_FieldTemplate{}- mi := &file_v1_setting_service_proto_msgTypes[27]+ mi := &file_v1_setting_service_proto_msgTypes[26]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2268,7 +2196,7 @@ func (x *SchemaTemplateSetting_FieldTemplate) String() string {func (*SchemaTemplateSetting_FieldTemplate) ProtoMessage() {}func (x *SchemaTemplateSetting_FieldTemplate) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[27]+ mi := &file_v1_setting_service_proto_msgTypes[26]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2281,7 +2209,7 @@ func (x *SchemaTemplateSetting_FieldTemplate) ProtoReflect() protoreflect.Messag// Deprecated: Use SchemaTemplateSetting_FieldTemplate.ProtoReflect.Descriptor instead.func (*SchemaTemplateSetting_FieldTemplate) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{12, 0}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{11, 0}}func (x *SchemaTemplateSetting_FieldTemplate) GetId() string {@@ -2330,7 +2258,7 @@ type SchemaTemplateSetting_ColumnType struct {func (x *SchemaTemplateSetting_ColumnType) Reset() {*x = SchemaTemplateSetting_ColumnType{}- mi := &file_v1_setting_service_proto_msgTypes[28]+ mi := &file_v1_setting_service_proto_msgTypes[27]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2342,7 +2270,7 @@ func (x *SchemaTemplateSetting_ColumnType) String() string {func (*SchemaTemplateSetting_ColumnType) ProtoMessage() {}func (x *SchemaTemplateSetting_ColumnType) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[28]+ mi := &file_v1_setting_service_proto_msgTypes[27]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2355,7 +2283,7 @@ func (x *SchemaTemplateSetting_ColumnType) ProtoReflect() protoreflect.Message {// Deprecated: Use SchemaTemplateSetting_ColumnType.ProtoReflect.Descriptor instead.func (*SchemaTemplateSetting_ColumnType) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{12, 1}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{11, 1}}func (x *SchemaTemplateSetting_ColumnType) GetEngine() Engine {@@ -2392,7 +2320,7 @@ type SchemaTemplateSetting_TableTemplate struct {func (x *SchemaTemplateSetting_TableTemplate) Reset() {*x = SchemaTemplateSetting_TableTemplate{}- mi := &file_v1_setting_service_proto_msgTypes[29]+ mi := &file_v1_setting_service_proto_msgTypes[28]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2404,7 +2332,7 @@ func (x *SchemaTemplateSetting_TableTemplate) String() string {func (*SchemaTemplateSetting_TableTemplate) ProtoMessage() {}func (x *SchemaTemplateSetting_TableTemplate) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[29]+ mi := &file_v1_setting_service_proto_msgTypes[28]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2417,7 +2345,7 @@ func (x *SchemaTemplateSetting_TableTemplate) ProtoReflect() protoreflect.Messag// Deprecated: Use SchemaTemplateSetting_TableTemplate.ProtoReflect.Descriptor instead.func (*SchemaTemplateSetting_TableTemplate) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{12, 2}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{11, 2}}func (x *SchemaTemplateSetting_TableTemplate) GetId() string {@@ -2476,7 +2404,7 @@ type DataClassificationSetting_DataClassificationConfig struct {func (x *DataClassificationSetting_DataClassificationConfig) Reset() {*x = DataClassificationSetting_DataClassificationConfig{}- mi := &file_v1_setting_service_proto_msgTypes[30]+ mi := &file_v1_setting_service_proto_msgTypes[29]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2488,7 +2416,7 @@ func (x *DataClassificationSetting_DataClassificationConfig) String() string {func (*DataClassificationSetting_DataClassificationConfig) ProtoMessage() {}func (x *DataClassificationSetting_DataClassificationConfig) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[30]+ mi := &file_v1_setting_service_proto_msgTypes[29]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2501,7 +2429,7 @@ func (x *DataClassificationSetting_DataClassificationConfig) ProtoReflect() prot// Deprecated: Use DataClassificationSetting_DataClassificationConfig.ProtoReflect.Descriptor instead.func (*DataClassificationSetting_DataClassificationConfig) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{13, 0}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{12, 0}}func (x *DataClassificationSetting_DataClassificationConfig) GetId() string {@@ -2550,7 +2478,7 @@ type DataClassificationSetting_DataClassificationConfig_Level struct {func (x *DataClassificationSetting_DataClassificationConfig_Level) Reset() {*x = DataClassificationSetting_DataClassificationConfig_Level{}- mi := &file_v1_setting_service_proto_msgTypes[31]+ mi := &file_v1_setting_service_proto_msgTypes[30]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2562,7 +2490,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_Level) String() strifunc (*DataClassificationSetting_DataClassificationConfig_Level) ProtoMessage() {}func (x *DataClassificationSetting_DataClassificationConfig_Level) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[31]+ mi := &file_v1_setting_service_proto_msgTypes[30]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2575,7 +2503,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_Level) ProtoReflect(// Deprecated: Use DataClassificationSetting_DataClassificationConfig_Level.ProtoReflect.Descriptor instead.func (*DataClassificationSetting_DataClassificationConfig_Level) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{13, 0, 0}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{12, 0, 0}}func (x *DataClassificationSetting_DataClassificationConfig_Level) GetId() string {@@ -2612,7 +2540,7 @@ type DataClassificationSetting_DataClassificationConfig_DataClassification strucfunc (x *DataClassificationSetting_DataClassificationConfig_DataClassification) Reset() {*x = DataClassificationSetting_DataClassificationConfig_DataClassification{}- mi := &file_v1_setting_service_proto_msgTypes[32]+ mi := &file_v1_setting_service_proto_msgTypes[31]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2624,7 +2552,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_DataClassification)func (*DataClassificationSetting_DataClassificationConfig_DataClassification) ProtoMessage() {}func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[32]+ mi := &file_v1_setting_service_proto_msgTypes[31]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2637,7 +2565,7 @@ func (x *DataClassificationSetting_DataClassificationConfig_DataClassification)// Deprecated: Use DataClassificationSetting_DataClassificationConfig_DataClassification.ProtoReflect.Descriptor instead.func (*DataClassificationSetting_DataClassificationConfig_DataClassification) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{13, 0, 1}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{12, 0, 1}}func (x *DataClassificationSetting_DataClassificationConfig_DataClassification) GetId() string {@@ -2683,7 +2611,7 @@ type SemanticTypeSetting_SemanticType struct {func (x *SemanticTypeSetting_SemanticType) Reset() {*x = SemanticTypeSetting_SemanticType{}- mi := &file_v1_setting_service_proto_msgTypes[34]+ mi := &file_v1_setting_service_proto_msgTypes[33]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2695,7 +2623,7 @@ func (x *SemanticTypeSetting_SemanticType) String() string {func (*SemanticTypeSetting_SemanticType) ProtoMessage() {}func (x *SemanticTypeSetting_SemanticType) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[34]+ mi := &file_v1_setting_service_proto_msgTypes[33]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2708,7 +2636,7 @@ func (x *SemanticTypeSetting_SemanticType) ProtoReflect() protoreflect.Message {// Deprecated: Use SemanticTypeSetting_SemanticType.ProtoReflect.Descriptor instead.func (*SemanticTypeSetting_SemanticType) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{14, 0}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{13, 0}}func (x *SemanticTypeSetting_SemanticType) GetId() string {@@ -2750,7 +2678,7 @@ type Algorithm_FullMask struct {func (x *Algorithm_FullMask) Reset() {*x = Algorithm_FullMask{}- mi := &file_v1_setting_service_proto_msgTypes[35]+ mi := &file_v1_setting_service_proto_msgTypes[34]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2762,7 +2690,7 @@ func (x *Algorithm_FullMask) String() string {func (*Algorithm_FullMask) ProtoMessage() {}func (x *Algorithm_FullMask) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[35]+ mi := &file_v1_setting_service_proto_msgTypes[34]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2775,7 +2703,7 @@ func (x *Algorithm_FullMask) ProtoReflect() protoreflect.Message {// Deprecated: Use Algorithm_FullMask.ProtoReflect.Descriptor instead.func (*Algorithm_FullMask) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 0}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{14, 0}}func (x *Algorithm_FullMask) GetSubstitution() string {@@ -2796,7 +2724,7 @@ type Algorithm_RangeMask struct {func (x *Algorithm_RangeMask) Reset() {*x = Algorithm_RangeMask{}- mi := &file_v1_setting_service_proto_msgTypes[36]+ mi := &file_v1_setting_service_proto_msgTypes[35]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2808,7 +2736,7 @@ func (x *Algorithm_RangeMask) String() string {func (*Algorithm_RangeMask) ProtoMessage() {}func (x *Algorithm_RangeMask) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[36]+ mi := &file_v1_setting_service_proto_msgTypes[35]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2821,7 +2749,7 @@ func (x *Algorithm_RangeMask) ProtoReflect() protoreflect.Message {// Deprecated: Use Algorithm_RangeMask.ProtoReflect.Descriptor instead.func (*Algorithm_RangeMask) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 1}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{14, 1}}func (x *Algorithm_RangeMask) GetSlices() []*Algorithm_RangeMask_Slice {@@ -2841,7 +2769,7 @@ type Algorithm_MD5Mask struct {func (x *Algorithm_MD5Mask) Reset() {*x = Algorithm_MD5Mask{}- mi := &file_v1_setting_service_proto_msgTypes[37]+ mi := &file_v1_setting_service_proto_msgTypes[36]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2853,7 +2781,7 @@ func (x *Algorithm_MD5Mask) String() string {func (*Algorithm_MD5Mask) ProtoMessage() {}func (x *Algorithm_MD5Mask) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[37]+ mi := &file_v1_setting_service_proto_msgTypes[36]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2866,7 +2794,7 @@ func (x *Algorithm_MD5Mask) ProtoReflect() protoreflect.Message {// Deprecated: Use Algorithm_MD5Mask.ProtoReflect.Descriptor instead.func (*Algorithm_MD5Mask) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 2}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{14, 2}}func (x *Algorithm_MD5Mask) GetSalt() string {@@ -2888,7 +2816,7 @@ type Algorithm_InnerOuterMask struct {func (x *Algorithm_InnerOuterMask) Reset() {*x = Algorithm_InnerOuterMask{}- mi := &file_v1_setting_service_proto_msgTypes[38]+ mi := &file_v1_setting_service_proto_msgTypes[37]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2900,7 +2828,7 @@ func (x *Algorithm_InnerOuterMask) String() string {func (*Algorithm_InnerOuterMask) ProtoMessage() {}func (x *Algorithm_InnerOuterMask) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[38]+ mi := &file_v1_setting_service_proto_msgTypes[37]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2913,7 +2841,7 @@ func (x *Algorithm_InnerOuterMask) ProtoReflect() protoreflect.Message {// Deprecated: Use Algorithm_InnerOuterMask.ProtoReflect.Descriptor instead.func (*Algorithm_InnerOuterMask) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 3}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{14, 3}}func (x *Algorithm_InnerOuterMask) GetPrefixLen() int32 {@@ -2958,7 +2886,7 @@ type Algorithm_RangeMask_Slice struct {func (x *Algorithm_RangeMask_Slice) Reset() {*x = Algorithm_RangeMask_Slice{}- mi := &file_v1_setting_service_proto_msgTypes[39]+ mi := &file_v1_setting_service_proto_msgTypes[38]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -2970,7 +2898,7 @@ func (x *Algorithm_RangeMask_Slice) String() string {func (*Algorithm_RangeMask_Slice) ProtoMessage() {}func (x *Algorithm_RangeMask_Slice) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[39]+ mi := &file_v1_setting_service_proto_msgTypes[38]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -2983,7 +2911,7 @@ func (x *Algorithm_RangeMask_Slice) ProtoReflect() protoreflect.Message {// Deprecated: Use Algorithm_RangeMask_Slice.ProtoReflect.Descriptor instead.func (*Algorithm_RangeMask_Slice) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{15, 1, 0}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{14, 1, 0}}func (x *Algorithm_RangeMask_Slice) GetStart() int32 {@@ -3027,7 +2955,7 @@ type EnvironmentSetting_Environment struct {func (x *EnvironmentSetting_Environment) Reset() {*x = EnvironmentSetting_Environment{}- mi := &file_v1_setting_service_proto_msgTypes[40]+ mi := &file_v1_setting_service_proto_msgTypes[39]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3039,7 +2967,7 @@ func (x *EnvironmentSetting_Environment) String() string {func (*EnvironmentSetting_Environment) ProtoMessage() {}func (x *EnvironmentSetting_Environment) ProtoReflect() protoreflect.Message {- mi := &file_v1_setting_service_proto_msgTypes[40]+ mi := &file_v1_setting_service_proto_msgTypes[39]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3052,7 +2980,7 @@ func (x *EnvironmentSetting_Environment) ProtoReflect() protoreflect.Message {// Deprecated: Use EnvironmentSetting_Environment.ProtoReflect.Descriptor instead.func (*EnvironmentSetting_Environment) Descriptor() ([]byte, []int) {- return file_v1_setting_service_proto_rawDescGZIP(), []int{20, 0}+ return file_v1_setting_service_proto_rawDescGZIP(), []int{19, 0}}func (x *EnvironmentSetting_Environment) GetName() string {@@ -3112,10 +3040,10 @@ const file_v1_setting_service_proto_rawDesc = "" +"\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\"\x89\x04\n" ++ "updateMask\"\xf7\x03\n" +"\aSetting\x12\x12\n" +"\x04name\x18\x01 \x01(\tR\x04name\x12(\n" +- "\x05value\x18\x02 \x01(\v2\x12.bytebase.v1.ValueR\x05value\"\x90\x03\n" ++ "\x05value\x18\x02 \x01(\v2\x12.bytebase.v1.ValueR\x05value\"\xfe\x02\n" +"\vSettingName\x12\x1c\n" +"\x18SETTING_NAME_UNSPECIFIED\x10\x00\x12\x0f\n" +"\vAUTH_SECRET\x10\x01\x12\x11\n" +@@ -3129,8 +3057,7 @@ const file_v1_setting_service_proto_rawDesc = "" +"\x06APP_IM\x10\b\x12\r\n" +"\tWATERMARK\x10\t\x12\x06\n" +"\x02AI\x10\n" +- "\x12\x10\n" +- "\fPLUGIN_AGENT\x10\v\x12\x13\n" ++ "\x12\x13\n" +"\x0fSCHEMA_TEMPLATE\x10\r\x12\x17\n" +"\x13DATA_CLASSIFICATION\x10\x0e\x12\x12\n" +"\x0eSEMANTIC_TYPES\x10\x0f\x12\x19\n" +@@ -3138,11 +3065,10 @@ const file_v1_setting_service_proto_rawDesc = "" +"\x04SCIM\x10\x11\x12\x18\n" +"\x14PASSWORD_RESTRICTION\x10\x12\x12\x0f\n" +"\vENVIRONMENT\x10\x13:-\xeaA*\n" +- "\x14bytebase.com/Setting\x12\x12settings/{setting}\"\xb0\t\n" ++ "\x14bytebase.com/Setting\x12\x12settings/{setting}\"\xd0\b\n" +"\x05Value\x12#\n" +"\fstring_value\x18\x01 \x01(\tH\x00R\vstringValue\x12L\n" +- "\x14app_im_setting_value\x18\x03 \x01(\v2\x19.bytebase.v1.AppIMSettingH\x00R\x11appImSettingValue\x12^\n" +- "\x1aagent_plugin_setting_value\x18\x04 \x01(\v2\x1f.bytebase.v1.AgentPluginSettingH\x00R\x17agentPluginSettingValue\x12m\n" ++ "\x14app_im_setting_value\x18\x03 \x01(\v2\x19.bytebase.v1.AppIMSettingH\x00R\x11appImSettingValue\x12m\n" +"\x1fworkspace_profile_setting_value\x18\x05 \x01(\v2$.bytebase.v1.WorkspaceProfileSettingH\x00R\x1cworkspaceProfileSettingValue\x12p\n" +" workspace_approval_setting_value\x18\x06 \x01(\v2%.bytebase.v1.WorkspaceApprovalSettingH\x00R\x1dworkspaceApprovalSettingValue\x12g\n" +"\x1dschema_template_setting_value\x18\t \x01(\v2\".bytebase.v1.SchemaTemplateSettingH\x00R\x1aschemaTemplateSettingValue\x12s\n" +@@ -3185,10 +3111,7 @@ const file_v1_setting_service_proto_rawDesc = "" +"\tclient_id\x18\x02 \x01(\tB\x04\xe2A\x01\x04R\bclientId\x12)\n" +"\rclient_secret\x18\x03 \x01(\tB\x04\xe2A\x01\x04R\fclientSecret\x12#\n" +"\n" +- "robot_code\x18\x04 \x01(\tB\x04\xe2A\x01\x04R\trobotCode\"<\n" +- "\x12AgentPluginSetting\x12\x10\n" +- "\x03url\x18\x01 \x01(\tR\x03url\x12\x14\n" +- "\x05token\x18\x02 \x01(\tR\x05token\"\xb9\x04\n" ++ "robot_code\x18\x04 \x01(\tB\x04\xe2A\x01\x04R\trobotCode\"\xb9\x04\n" +"\x17WorkspaceProfileSetting\x12!\n" +"\fexternal_url\x18\x01 \x01(\tR\vexternalUrl\x12'\n" +"\x0fdisallow_signup\x18\x02 \x01(\bR\x0edisallowSignup\x12\x1f\n" +@@ -3357,7 +3280,7 @@ func file_v1_setting_service_proto_rawDescGZIP() []byte {}var file_v1_setting_service_proto_enumTypes = make([]protoimpl.EnumInfo, 5)-var file_v1_setting_service_proto_msgTypes = make([]protoimpl.MessageInfo, 42)+var file_v1_setting_service_proto_msgTypes = make([]protoimpl.MessageInfo, 41)var file_v1_setting_service_proto_goTypes = []any{(DatabaseChangeMode)(0), // 0: bytebase.v1.DatabaseChangeMode(Setting_SettingName)(0), // 1: bytebase.v1.Setting.SettingName@@ -3372,118 +3295,116 @@ var file_v1_setting_service_proto_goTypes = []any{(*Setting)(nil), // 10: bytebase.v1.Setting(*Value)(nil), // 11: bytebase.v1.Value(*AppIMSetting)(nil), // 12: bytebase.v1.AppIMSetting- (*AgentPluginSetting)(nil), // 13: bytebase.v1.AgentPluginSetting- (*WorkspaceProfileSetting)(nil), // 14: bytebase.v1.WorkspaceProfileSetting- (*Announcement)(nil), // 15: bytebase.v1.Announcement- (*WorkspaceApprovalSetting)(nil), // 16: bytebase.v1.WorkspaceApprovalSetting- (*SchemaTemplateSetting)(nil), // 17: bytebase.v1.SchemaTemplateSetting- (*DataClassificationSetting)(nil), // 18: bytebase.v1.DataClassificationSetting- (*SemanticTypeSetting)(nil), // 19: bytebase.v1.SemanticTypeSetting- (*Algorithm)(nil), // 20: bytebase.v1.Algorithm- (*MaximumSQLResultSizeSetting)(nil), // 21: bytebase.v1.MaximumSQLResultSizeSetting- (*SCIMSetting)(nil), // 22: bytebase.v1.SCIMSetting- (*PasswordRestrictionSetting)(nil), // 23: bytebase.v1.PasswordRestrictionSetting- (*AISetting)(nil), // 24: bytebase.v1.AISetting- (*EnvironmentSetting)(nil), // 25: bytebase.v1.EnvironmentSetting- (*AppIMSetting_Slack)(nil), // 26: bytebase.v1.AppIMSetting.Slack- (*AppIMSetting_Feishu)(nil), // 27: bytebase.v1.AppIMSetting.Feishu- (*AppIMSetting_Wecom)(nil), // 28: bytebase.v1.AppIMSetting.Wecom- (*AppIMSetting_Lark)(nil), // 29: bytebase.v1.AppIMSetting.Lark- (*AppIMSetting_DingTalk)(nil), // 30: bytebase.v1.AppIMSetting.DingTalk- (*WorkspaceApprovalSetting_Rule)(nil), // 31: bytebase.v1.WorkspaceApprovalSetting.Rule- (*SchemaTemplateSetting_FieldTemplate)(nil), // 32: bytebase.v1.SchemaTemplateSetting.FieldTemplate- (*SchemaTemplateSetting_ColumnType)(nil), // 33: bytebase.v1.SchemaTemplateSetting.ColumnType- (*SchemaTemplateSetting_TableTemplate)(nil), // 34: bytebase.v1.SchemaTemplateSetting.TableTemplate- (*DataClassificationSetting_DataClassificationConfig)(nil), // 35: bytebase.v1.DataClassificationSetting.DataClassificationConfig- (*DataClassificationSetting_DataClassificationConfig_Level)(nil), // 36: bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level- (*DataClassificationSetting_DataClassificationConfig_DataClassification)(nil), // 37: bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification- nil, // 38: bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry- (*SemanticTypeSetting_SemanticType)(nil), // 39: bytebase.v1.SemanticTypeSetting.SemanticType- (*Algorithm_FullMask)(nil), // 40: bytebase.v1.Algorithm.FullMask- (*Algorithm_RangeMask)(nil), // 41: bytebase.v1.Algorithm.RangeMask- (*Algorithm_MD5Mask)(nil), // 42: bytebase.v1.Algorithm.MD5Mask- (*Algorithm_InnerOuterMask)(nil), // 43: bytebase.v1.Algorithm.InnerOuterMask- (*Algorithm_RangeMask_Slice)(nil), // 44: bytebase.v1.Algorithm.RangeMask.Slice- (*EnvironmentSetting_Environment)(nil), // 45: bytebase.v1.EnvironmentSetting.Environment- nil, // 46: bytebase.v1.EnvironmentSetting.Environment.TagsEntry- (*fieldmaskpb.FieldMask)(nil), // 47: google.protobuf.FieldMask- (*durationpb.Duration)(nil), // 48: google.protobuf.Duration- (*ApprovalTemplate)(nil), // 49: bytebase.v1.ApprovalTemplate- (*expr.Expr)(nil), // 50: google.type.Expr- (Engine)(0), // 51: bytebase.v1.Engine- (*ColumnMetadata)(nil), // 52: bytebase.v1.ColumnMetadata- (*ColumnCatalog)(nil), // 53: bytebase.v1.ColumnCatalog- (*TableMetadata)(nil), // 54: bytebase.v1.TableMetadata- (*TableCatalog)(nil), // 55: bytebase.v1.TableCatalog+ (*WorkspaceProfileSetting)(nil), // 13: bytebase.v1.WorkspaceProfileSetting+ (*Announcement)(nil), // 14: bytebase.v1.Announcement+ (*WorkspaceApprovalSetting)(nil), // 15: bytebase.v1.WorkspaceApprovalSetting+ (*SchemaTemplateSetting)(nil), // 16: bytebase.v1.SchemaTemplateSetting+ (*DataClassificationSetting)(nil), // 17: bytebase.v1.DataClassificationSetting+ (*SemanticTypeSetting)(nil), // 18: bytebase.v1.SemanticTypeSetting+ (*Algorithm)(nil), // 19: bytebase.v1.Algorithm+ (*MaximumSQLResultSizeSetting)(nil), // 20: bytebase.v1.MaximumSQLResultSizeSetting+ (*SCIMSetting)(nil), // 21: bytebase.v1.SCIMSetting+ (*PasswordRestrictionSetting)(nil), // 22: bytebase.v1.PasswordRestrictionSetting+ (*AISetting)(nil), // 23: bytebase.v1.AISetting+ (*EnvironmentSetting)(nil), // 24: bytebase.v1.EnvironmentSetting+ (*AppIMSetting_Slack)(nil), // 25: bytebase.v1.AppIMSetting.Slack+ (*AppIMSetting_Feishu)(nil), // 26: bytebase.v1.AppIMSetting.Feishu+ (*AppIMSetting_Wecom)(nil), // 27: bytebase.v1.AppIMSetting.Wecom+ (*AppIMSetting_Lark)(nil), // 28: bytebase.v1.AppIMSetting.Lark+ (*AppIMSetting_DingTalk)(nil), // 29: bytebase.v1.AppIMSetting.DingTalk+ (*WorkspaceApprovalSetting_Rule)(nil), // 30: bytebase.v1.WorkspaceApprovalSetting.Rule+ (*SchemaTemplateSetting_FieldTemplate)(nil), // 31: bytebase.v1.SchemaTemplateSetting.FieldTemplate+ (*SchemaTemplateSetting_ColumnType)(nil), // 32: bytebase.v1.SchemaTemplateSetting.ColumnType+ (*SchemaTemplateSetting_TableTemplate)(nil), // 33: bytebase.v1.SchemaTemplateSetting.TableTemplate+ (*DataClassificationSetting_DataClassificationConfig)(nil), // 34: bytebase.v1.DataClassificationSetting.DataClassificationConfig+ (*DataClassificationSetting_DataClassificationConfig_Level)(nil), // 35: bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level+ (*DataClassificationSetting_DataClassificationConfig_DataClassification)(nil), // 36: bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification+ nil, // 37: bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry+ (*SemanticTypeSetting_SemanticType)(nil), // 38: bytebase.v1.SemanticTypeSetting.SemanticType+ (*Algorithm_FullMask)(nil), // 39: bytebase.v1.Algorithm.FullMask+ (*Algorithm_RangeMask)(nil), // 40: bytebase.v1.Algorithm.RangeMask+ (*Algorithm_MD5Mask)(nil), // 41: bytebase.v1.Algorithm.MD5Mask+ (*Algorithm_InnerOuterMask)(nil), // 42: bytebase.v1.Algorithm.InnerOuterMask+ (*Algorithm_RangeMask_Slice)(nil), // 43: bytebase.v1.Algorithm.RangeMask.Slice+ (*EnvironmentSetting_Environment)(nil), // 44: bytebase.v1.EnvironmentSetting.Environment+ nil, // 45: bytebase.v1.EnvironmentSetting.Environment.TagsEntry+ (*fieldmaskpb.FieldMask)(nil), // 46: google.protobuf.FieldMask+ (*durationpb.Duration)(nil), // 47: google.protobuf.Duration+ (*ApprovalTemplate)(nil), // 48: bytebase.v1.ApprovalTemplate+ (*expr.Expr)(nil), // 49: google.type.Expr+ (Engine)(0), // 50: bytebase.v1.Engine+ (*ColumnMetadata)(nil), // 51: bytebase.v1.ColumnMetadata+ (*ColumnCatalog)(nil), // 52: bytebase.v1.ColumnCatalog+ (*TableMetadata)(nil), // 53: bytebase.v1.TableMetadata+ (*TableCatalog)(nil), // 54: bytebase.v1.TableCatalog}var file_v1_setting_service_proto_depIdxs = []int32{10, // 0: bytebase.v1.ListSettingsResponse.settings:type_name -> bytebase.v1.Setting10, // 1: bytebase.v1.GetSettingResponse.setting:type_name -> bytebase.v1.Setting10, // 2: bytebase.v1.UpdateSettingRequest.setting:type_name -> bytebase.v1.Setting- 47, // 3: bytebase.v1.UpdateSettingRequest.update_mask:type_name -> google.protobuf.FieldMask+ 46, // 3: bytebase.v1.UpdateSettingRequest.update_mask:type_name -> google.protobuf.FieldMask11, // 4: bytebase.v1.Setting.value:type_name -> bytebase.v1.Value12, // 5: bytebase.v1.Value.app_im_setting_value:type_name -> bytebase.v1.AppIMSetting- 13, // 6: bytebase.v1.Value.agent_plugin_setting_value:type_name -> bytebase.v1.AgentPluginSetting- 14, // 7: bytebase.v1.Value.workspace_profile_setting_value:type_name -> bytebase.v1.WorkspaceProfileSetting- 16, // 8: bytebase.v1.Value.workspace_approval_setting_value:type_name -> bytebase.v1.WorkspaceApprovalSetting- 17, // 9: bytebase.v1.Value.schema_template_setting_value:type_name -> bytebase.v1.SchemaTemplateSetting- 18, // 10: bytebase.v1.Value.data_classification_setting_value:type_name -> bytebase.v1.DataClassificationSetting- 19, // 11: bytebase.v1.Value.semantic_type_setting_value:type_name -> bytebase.v1.SemanticTypeSetting- 21, // 12: bytebase.v1.Value.maximum_sql_result_size_setting:type_name -> bytebase.v1.MaximumSQLResultSizeSetting- 22, // 13: bytebase.v1.Value.scim_setting:type_name -> bytebase.v1.SCIMSetting- 23, // 14: bytebase.v1.Value.password_restriction_setting:type_name -> bytebase.v1.PasswordRestrictionSetting- 24, // 15: bytebase.v1.Value.ai_setting:type_name -> bytebase.v1.AISetting- 25, // 16: bytebase.v1.Value.environment_setting:type_name -> bytebase.v1.EnvironmentSetting- 26, // 17: bytebase.v1.AppIMSetting.slack:type_name -> bytebase.v1.AppIMSetting.Slack- 27, // 18: bytebase.v1.AppIMSetting.feishu:type_name -> bytebase.v1.AppIMSetting.Feishu- 28, // 19: bytebase.v1.AppIMSetting.wecom:type_name -> bytebase.v1.AppIMSetting.Wecom- 29, // 20: bytebase.v1.AppIMSetting.lark:type_name -> bytebase.v1.AppIMSetting.Lark- 30, // 21: bytebase.v1.AppIMSetting.dingtalk:type_name -> bytebase.v1.AppIMSetting.DingTalk- 48, // 22: bytebase.v1.WorkspaceProfileSetting.token_duration:type_name -> google.protobuf.Duration- 15, // 23: bytebase.v1.WorkspaceProfileSetting.announcement:type_name -> bytebase.v1.Announcement- 48, // 24: bytebase.v1.WorkspaceProfileSetting.maximum_role_expiration:type_name -> google.protobuf.Duration- 0, // 25: bytebase.v1.WorkspaceProfileSetting.database_change_mode:type_name -> bytebase.v1.DatabaseChangeMode- 2, // 26: bytebase.v1.Announcement.level:type_name -> bytebase.v1.Announcement.AlertLevel- 31, // 27: bytebase.v1.WorkspaceApprovalSetting.rules:type_name -> bytebase.v1.WorkspaceApprovalSetting.Rule- 32, // 28: bytebase.v1.SchemaTemplateSetting.field_templates:type_name -> bytebase.v1.SchemaTemplateSetting.FieldTemplate- 33, // 29: bytebase.v1.SchemaTemplateSetting.column_types:type_name -> bytebase.v1.SchemaTemplateSetting.ColumnType- 34, // 30: bytebase.v1.SchemaTemplateSetting.table_templates:type_name -> bytebase.v1.SchemaTemplateSetting.TableTemplate- 35, // 31: bytebase.v1.DataClassificationSetting.configs:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig- 39, // 32: bytebase.v1.SemanticTypeSetting.types:type_name -> bytebase.v1.SemanticTypeSetting.SemanticType- 40, // 33: bytebase.v1.Algorithm.full_mask:type_name -> bytebase.v1.Algorithm.FullMask- 41, // 34: bytebase.v1.Algorithm.range_mask:type_name -> bytebase.v1.Algorithm.RangeMask- 42, // 35: bytebase.v1.Algorithm.md5_mask:type_name -> bytebase.v1.Algorithm.MD5Mask- 43, // 36: bytebase.v1.Algorithm.inner_outer_mask:type_name -> bytebase.v1.Algorithm.InnerOuterMask- 48, // 37: bytebase.v1.PasswordRestrictionSetting.password_rotation:type_name -> google.protobuf.Duration- 4, // 38: bytebase.v1.AISetting.provider:type_name -> bytebase.v1.AISetting.Provider- 45, // 39: bytebase.v1.EnvironmentSetting.environments:type_name -> bytebase.v1.EnvironmentSetting.Environment- 49, // 40: bytebase.v1.WorkspaceApprovalSetting.Rule.template:type_name -> bytebase.v1.ApprovalTemplate- 50, // 41: bytebase.v1.WorkspaceApprovalSetting.Rule.condition:type_name -> google.type.Expr- 51, // 42: bytebase.v1.SchemaTemplateSetting.FieldTemplate.engine:type_name -> bytebase.v1.Engine- 52, // 43: bytebase.v1.SchemaTemplateSetting.FieldTemplate.column:type_name -> bytebase.v1.ColumnMetadata- 53, // 44: bytebase.v1.SchemaTemplateSetting.FieldTemplate.catalog:type_name -> bytebase.v1.ColumnCatalog- 51, // 45: bytebase.v1.SchemaTemplateSetting.ColumnType.engine:type_name -> bytebase.v1.Engine- 51, // 46: bytebase.v1.SchemaTemplateSetting.TableTemplate.engine:type_name -> bytebase.v1.Engine- 54, // 47: bytebase.v1.SchemaTemplateSetting.TableTemplate.table:type_name -> bytebase.v1.TableMetadata- 55, // 48: bytebase.v1.SchemaTemplateSetting.TableTemplate.catalog:type_name -> bytebase.v1.TableCatalog- 36, // 49: bytebase.v1.DataClassificationSetting.DataClassificationConfig.levels:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level- 38, // 50: bytebase.v1.DataClassificationSetting.DataClassificationConfig.classification:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry- 37, // 51: bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry.value:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification- 20, // 52: bytebase.v1.SemanticTypeSetting.SemanticType.algorithm:type_name -> bytebase.v1.Algorithm- 44, // 53: bytebase.v1.Algorithm.RangeMask.slices:type_name -> bytebase.v1.Algorithm.RangeMask.Slice- 3, // 54: bytebase.v1.Algorithm.InnerOuterMask.type:type_name -> bytebase.v1.Algorithm.InnerOuterMask.MaskType- 46, // 55: bytebase.v1.EnvironmentSetting.Environment.tags:type_name -> bytebase.v1.EnvironmentSetting.Environment.TagsEntry- 5, // 56: bytebase.v1.SettingService.ListSettings:input_type -> bytebase.v1.ListSettingsRequest- 7, // 57: bytebase.v1.SettingService.GetSetting:input_type -> bytebase.v1.GetSettingRequest- 9, // 58: bytebase.v1.SettingService.UpdateSetting:input_type -> bytebase.v1.UpdateSettingRequest- 6, // 59: bytebase.v1.SettingService.ListSettings:output_type -> bytebase.v1.ListSettingsResponse- 10, // 60: bytebase.v1.SettingService.GetSetting:output_type -> bytebase.v1.Setting- 10, // 61: bytebase.v1.SettingService.UpdateSetting:output_type -> bytebase.v1.Setting- 59, // [59:62] is the sub-list for method output_type- 56, // [56:59] is the sub-list for method input_type- 56, // [56:56] is the sub-list for extension type_name- 56, // [56:56] is the sub-list for extension extendee- 0, // [0:56] is the sub-list for field type_name+ 13, // 6: bytebase.v1.Value.workspace_profile_setting_value:type_name -> bytebase.v1.WorkspaceProfileSetting+ 15, // 7: bytebase.v1.Value.workspace_approval_setting_value:type_name -> bytebase.v1.WorkspaceApprovalSetting+ 16, // 8: bytebase.v1.Value.schema_template_setting_value:type_name -> bytebase.v1.SchemaTemplateSetting+ 17, // 9: bytebase.v1.Value.data_classification_setting_value:type_name -> bytebase.v1.DataClassificationSetting+ 18, // 10: bytebase.v1.Value.semantic_type_setting_value:type_name -> bytebase.v1.SemanticTypeSetting+ 20, // 11: bytebase.v1.Value.maximum_sql_result_size_setting:type_name -> bytebase.v1.MaximumSQLResultSizeSetting+ 21, // 12: bytebase.v1.Value.scim_setting:type_name -> bytebase.v1.SCIMSetting+ 22, // 13: bytebase.v1.Value.password_restriction_setting:type_name -> bytebase.v1.PasswordRestrictionSetting+ 23, // 14: bytebase.v1.Value.ai_setting:type_name -> bytebase.v1.AISetting+ 24, // 15: bytebase.v1.Value.environment_setting:type_name -> bytebase.v1.EnvironmentSetting+ 25, // 16: bytebase.v1.AppIMSetting.slack:type_name -> bytebase.v1.AppIMSetting.Slack+ 26, // 17: bytebase.v1.AppIMSetting.feishu:type_name -> bytebase.v1.AppIMSetting.Feishu+ 27, // 18: bytebase.v1.AppIMSetting.wecom:type_name -> bytebase.v1.AppIMSetting.Wecom+ 28, // 19: bytebase.v1.AppIMSetting.lark:type_name -> bytebase.v1.AppIMSetting.Lark+ 29, // 20: bytebase.v1.AppIMSetting.dingtalk:type_name -> bytebase.v1.AppIMSetting.DingTalk+ 47, // 21: bytebase.v1.WorkspaceProfileSetting.token_duration:type_name -> google.protobuf.Duration+ 14, // 22: bytebase.v1.WorkspaceProfileSetting.announcement:type_name -> bytebase.v1.Announcement+ 47, // 23: bytebase.v1.WorkspaceProfileSetting.maximum_role_expiration:type_name -> google.protobuf.Duration+ 0, // 24: bytebase.v1.WorkspaceProfileSetting.database_change_mode:type_name -> bytebase.v1.DatabaseChangeMode+ 2, // 25: bytebase.v1.Announcement.level:type_name -> bytebase.v1.Announcement.AlertLevel+ 30, // 26: bytebase.v1.WorkspaceApprovalSetting.rules:type_name -> bytebase.v1.WorkspaceApprovalSetting.Rule+ 31, // 27: bytebase.v1.SchemaTemplateSetting.field_templates:type_name -> bytebase.v1.SchemaTemplateSetting.FieldTemplate+ 32, // 28: bytebase.v1.SchemaTemplateSetting.column_types:type_name -> bytebase.v1.SchemaTemplateSetting.ColumnType+ 33, // 29: bytebase.v1.SchemaTemplateSetting.table_templates:type_name -> bytebase.v1.SchemaTemplateSetting.TableTemplate+ 34, // 30: bytebase.v1.DataClassificationSetting.configs:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig+ 38, // 31: bytebase.v1.SemanticTypeSetting.types:type_name -> bytebase.v1.SemanticTypeSetting.SemanticType+ 39, // 32: bytebase.v1.Algorithm.full_mask:type_name -> bytebase.v1.Algorithm.FullMask+ 40, // 33: bytebase.v1.Algorithm.range_mask:type_name -> bytebase.v1.Algorithm.RangeMask+ 41, // 34: bytebase.v1.Algorithm.md5_mask:type_name -> bytebase.v1.Algorithm.MD5Mask+ 42, // 35: bytebase.v1.Algorithm.inner_outer_mask:type_name -> bytebase.v1.Algorithm.InnerOuterMask+ 47, // 36: bytebase.v1.PasswordRestrictionSetting.password_rotation:type_name -> google.protobuf.Duration+ 4, // 37: bytebase.v1.AISetting.provider:type_name -> bytebase.v1.AISetting.Provider+ 44, // 38: bytebase.v1.EnvironmentSetting.environments:type_name -> bytebase.v1.EnvironmentSetting.Environment+ 48, // 39: bytebase.v1.WorkspaceApprovalSetting.Rule.template:type_name -> bytebase.v1.ApprovalTemplate+ 49, // 40: bytebase.v1.WorkspaceApprovalSetting.Rule.condition:type_name -> google.type.Expr+ 50, // 41: bytebase.v1.SchemaTemplateSetting.FieldTemplate.engine:type_name -> bytebase.v1.Engine+ 51, // 42: bytebase.v1.SchemaTemplateSetting.FieldTemplate.column:type_name -> bytebase.v1.ColumnMetadata+ 52, // 43: bytebase.v1.SchemaTemplateSetting.FieldTemplate.catalog:type_name -> bytebase.v1.ColumnCatalog+ 50, // 44: bytebase.v1.SchemaTemplateSetting.ColumnType.engine:type_name -> bytebase.v1.Engine+ 50, // 45: bytebase.v1.SchemaTemplateSetting.TableTemplate.engine:type_name -> bytebase.v1.Engine+ 53, // 46: bytebase.v1.SchemaTemplateSetting.TableTemplate.table:type_name -> bytebase.v1.TableMetadata+ 54, // 47: bytebase.v1.SchemaTemplateSetting.TableTemplate.catalog:type_name -> bytebase.v1.TableCatalog+ 35, // 48: bytebase.v1.DataClassificationSetting.DataClassificationConfig.levels:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig.Level+ 37, // 49: bytebase.v1.DataClassificationSetting.DataClassificationConfig.classification:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry+ 36, // 50: bytebase.v1.DataClassificationSetting.DataClassificationConfig.ClassificationEntry.value:type_name -> bytebase.v1.DataClassificationSetting.DataClassificationConfig.DataClassification+ 19, // 51: bytebase.v1.SemanticTypeSetting.SemanticType.algorithm:type_name -> bytebase.v1.Algorithm+ 43, // 52: bytebase.v1.Algorithm.RangeMask.slices:type_name -> bytebase.v1.Algorithm.RangeMask.Slice+ 3, // 53: bytebase.v1.Algorithm.InnerOuterMask.type:type_name -> bytebase.v1.Algorithm.InnerOuterMask.MaskType+ 45, // 54: bytebase.v1.EnvironmentSetting.Environment.tags:type_name -> bytebase.v1.EnvironmentSetting.Environment.TagsEntry+ 5, // 55: bytebase.v1.SettingService.ListSettings:input_type -> bytebase.v1.ListSettingsRequest+ 7, // 56: bytebase.v1.SettingService.GetSetting:input_type -> bytebase.v1.GetSettingRequest+ 9, // 57: bytebase.v1.SettingService.UpdateSetting:input_type -> bytebase.v1.UpdateSettingRequest+ 6, // 58: bytebase.v1.SettingService.ListSettings:output_type -> bytebase.v1.ListSettingsResponse+ 10, // 59: bytebase.v1.SettingService.GetSetting:output_type -> bytebase.v1.Setting+ 10, // 60: bytebase.v1.SettingService.UpdateSetting:output_type -> bytebase.v1.Setting+ 58, // [58:61] is the sub-list for method output_type+ 55, // [55:58] is the sub-list for method input_type+ 55, // [55:55] is the sub-list for extension type_name+ 55, // [55:55] is the sub-list for extension extendee+ 0, // [0:55] is the sub-list for field type_name}func init() { file_v1_setting_service_proto_init() }@@ -3499,7 +3420,6 @@ func file_v1_setting_service_proto_init() {file_v1_setting_service_proto_msgTypes[6].OneofWrappers = []any{(*Value_StringValue)(nil),(*Value_AppImSettingValue)(nil),- (*Value_AgentPluginSettingValue)(nil),(*Value_WorkspaceProfileSettingValue)(nil),(*Value_WorkspaceApprovalSettingValue)(nil),(*Value_SchemaTemplateSettingValue)(nil),@@ -3511,20 +3431,20 @@ func file_v1_setting_service_proto_init() {(*Value_AiSetting)(nil),(*Value_EnvironmentSetting)(nil),}- file_v1_setting_service_proto_msgTypes[15].OneofWrappers = []any{+ file_v1_setting_service_proto_msgTypes[14].OneofWrappers = []any{(*Algorithm_FullMask_)(nil),(*Algorithm_RangeMask_)(nil),(*Algorithm_Md5Mask)(nil),(*Algorithm_InnerOuterMask_)(nil),}- file_v1_setting_service_proto_msgTypes[32].OneofWrappers = []any{}+ file_v1_setting_service_proto_msgTypes[31].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: 5,- NumMessages: 42,+ NumMessages: 41,NumExtensions: 0,NumServices: 1,},diff --git a/proto/store/store/setting.proto b/proto/store/store/setting.protoindex e593dc004c..d11f85515f 100644--- a/proto/store/store/setting.proto+++ b/proto/store/store/setting.proto@@ -23,7 +23,6 @@ enum SettingName {APP_IM = 8;WATERMARK = 9;AI = 10;- PLUGIN_AGENT = 11;SCHEMA_TEMPLATE = 13;DATA_CLASSIFICATION = 14;SEMANTIC_TYPES = 15;@@ -84,14 +83,6 @@ message Announcement {string link = 3;}-message AgentPluginSetting {- // The URL for the agent API.- string url = 1;-- // The token for the agent.- string token = 2;-}-message WorkspaceApprovalSetting {message Rule {google.api.expr.v1alpha1.Expr expression = 1;diff --git a/proto/v1/v1/setting_service.proto b/proto/v1/v1/setting_service.protoindex 72019f02f8..601986f98f 100644--- a/proto/v1/v1/setting_service.proto+++ b/proto/v1/v1/setting_service.proto@@ -116,7 +116,6 @@ message Setting {APP_IM = 8;WATERMARK = 9;AI = 10;- PLUGIN_AGENT = 11;SCHEMA_TEMPLATE = 13;DATA_CLASSIFICATION = 14;SEMANTIC_TYPES = 15;@@ -143,7 +142,7 @@ message Value {// Defines this value as being a string value.string string_value = 1;AppIMSetting app_im_setting_value = 3;- AgentPluginSetting agent_plugin_setting_value = 4;+ // reserved 4; // was AgentPluginSetting agent_plugin_setting_valueWorkspaceProfileSetting workspace_profile_setting_value = 5;WorkspaceApprovalSetting workspace_approval_setting_value = 6;SchemaTemplateSetting schema_template_setting_value = 9;@@ -192,14 +191,6 @@ message AppIMSetting {DingTalk dingtalk = 5;}-message AgentPluginSetting {- // The URL for the agent API.- string url = 1;-- // The token for the agent.- string token = 2;-}-message WorkspaceProfileSetting {// The external URL is used for sso authentication callback.string external_url = 1;