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: move classification to database config (#11941)
ecmadaoa7edd184b59a
diff --git a/backend/api/v1/branch_service.go b/backend/api/v1/branch_service.goindex c48f021ef4..cd849beddc 100644--- a/backend/api/v1/branch_service.go+++ b/backend/api/v1/branch_service.go@@ -302,7 +302,9 @@ func (s *BranchService) UpdateBranch(ctx context.Context, request *v1pb.UpdateBrif slices.Contains(request.UpdateMask.Paths, "schema_metadata") {metadata, config := convertV1DatabaseMetadata(request.Branch.GetSchemaMetadata())- sanitizeCommentForSchemaMetadata(metadata)+ if !config.ClassificationFromConfig {+ sanitizeCommentForSchemaMetadata(metadata, model.NewDatabaseConfig(config))+ }reconcileMetadata(metadata, branch.Engine)filteredMetadata := filterDatabaseMetadataByEngine(metadata, branch.Engine)@@ -415,6 +417,10 @@ func (s *BranchService) MergeBranch(ctx context.Context, request *v1pb.MergeBran// Maybe we can support auto-merging in the future.// The first crazy night in 2024.+ sanitizeCommentIfNecessary(headBranch.Base)+ sanitizeCommentIfNecessary(headBranch.Head)+ sanitizeCommentIfNecessary(baseBranch.Head)+adHead, err := tryMerge(headBranch.Base.Metadata, headBranch.Head.Metadata, baseBranch.Head.Metadata)if err != nil {slog.Info("cannot merge branches", log.BBError(err))@@ -473,6 +479,13 @@ func (s *BranchService) MergeBranch(ctx context.Context, request *v1pb.MergeBranreturn v1Branch, nil}+func sanitizeCommentIfNecessary(branchSnapshot *storepb.BranchSnapshot) {+ config := branchSnapshot.DatabaseConfig+ if config != nil && !config.ClassificationFromConfig {+ sanitizeCommentForSchemaMetadata(branchSnapshot.Metadata, model.NewDatabaseConfig(config))+ }+}+// RebaseBranch rebases a branch to the target branch.func (s *BranchService) RebaseBranch(ctx context.Context, request *v1pb.RebaseBranchRequest) (*v1pb.RebaseBranchResponse, error) {baseProjectID, baseBranchID, err := common.GetProjectAndBranchID(request.Name)@@ -530,6 +543,9 @@ func (s *BranchService) RebaseBranch(ctx context.Context, request *v1pb.RebaseBrreturn nil, status.Errorf(codes.InvalidArgument, "failed to convert merged schema to metadata, %v", err)}newHeadConfig = baseBranch.Head.GetDatabaseConfig()+ if !newHeadConfig.ClassificationFromConfig {+ sanitizeCommentForSchemaMetadata(newHeadMetadata, model.NewDatabaseConfig(newHeadConfig))+ }reconcileMetadata(newHeadMetadata, baseBranch.Engine)} else {newHeadMetadata, err = tryMerge(baseBranch.Base.Metadata, baseBranch.Head.Metadata, filteredNewBaseMetadata)@@ -735,12 +751,18 @@ func (*BranchService) DiffMetadata(_ context.Context, request *v1pb.DiffMetadataif request.SourceMetadata == nil || request.TargetMetadata == nil {return nil, status.Errorf(codes.InvalidArgument, "source_metadata and target_metadata are required")}- storeSourceMetadata, _ := convertV1DatabaseMetadata(request.SourceMetadata)- storeTargetMetadata, _ := convertV1DatabaseMetadata(request.TargetMetadata)+ storeSourceMetadata, sourceConfig := convertV1DatabaseMetadata(request.SourceMetadata)+ if !sourceConfig.ClassificationFromConfig {+ sanitizeCommentForSchemaMetadata(storeSourceMetadata, model.NewDatabaseConfig(sourceConfig))+ }++ storeTargetMetadata, targetConfig := convertV1DatabaseMetadata(request.TargetMetadata)if err := checkDatabaseMetadata(storepb.Engine(request.Engine), storeTargetMetadata); err != nil {return nil, status.Errorf(codes.InvalidArgument, "invalid target metadata: %v", err)}- sanitizeCommentForSchemaMetadata(storeTargetMetadata)+ if !targetConfig.ClassificationFromConfig {+ sanitizeCommentForSchemaMetadata(storeTargetMetadata, model.NewDatabaseConfig(targetConfig))+ }storeSourceMetadata, storeTargetMetadata = trimDatabaseMetadata(storeSourceMetadata, storeTargetMetadata)if err := checkDatabaseMetadataColumnType(storepb.Engine(request.Engine), storeTargetMetadata); err != nil {@@ -892,12 +914,15 @@ func (s *BranchService) convertBranchToBranch(ctx context.Context, project *storreturn v1Branch, nil}-func sanitizeCommentForSchemaMetadata(dbSchema *storepb.DatabaseSchemaMetadata) {+func sanitizeCommentForSchemaMetadata(dbSchema *storepb.DatabaseSchemaMetadata, dbModelConfig *model.DatabaseConfig) {for _, schema := range dbSchema.Schemas {+ schemaConfig := dbModelConfig.CreateOrGetSchemaConfig(schema.Name)for _, table := range schema.Tables {- table.Comment = common.GetCommentFromClassificationAndUserComment(table.Classification, table.UserComment)+ tableConfig := schemaConfig.CreateOrGetTableConfig(table.Name)+ table.Comment = common.GetCommentFromClassificationAndUserComment(tableConfig.ClassificationID, table.UserComment)for _, col := range table.Columns {- col.Comment = common.GetCommentFromClassificationAndUserComment(col.Classification, col.UserComment)+ columnConfig := tableConfig.CreateOrGetColumnConfig(col.Name)+ col.Comment = common.GetCommentFromClassificationAndUserComment(columnConfig.ClassificationId, col.UserComment)}}}@@ -915,25 +940,23 @@ func filterDatabaseMetadataByEngine(metadata *storepb.DatabaseSchemaMetadata, en}for _, table := range schema.Tables {filteredTable := &storepb.TableMetadata{- Name: table.Name,- Classification: table.Classification,- Comment: table.Comment,- UserComment: table.UserComment,+ Name: table.Name,+ Comment: table.Comment,+ UserComment: table.UserComment,// For Display only.Collation: table.Collation,Engine: table.Engine,}for _, column := range table.Columns {filteredColumn := &storepb.ColumnMetadata{- Name: column.Name,- OnUpdate: column.OnUpdate,- Comment: column.Comment,- UserComment: column.UserComment,- Classification: column.Classification,- Type: column.Type,- DefaultValue: column.DefaultValue,- Nullable: column.Nullable,- Position: column.Position,+ Name: column.Name,+ OnUpdate: column.OnUpdate,+ Comment: column.Comment,+ UserComment: column.UserComment,+ Type: column.Type,+ DefaultValue: column.DefaultValue,+ Nullable: column.Nullable,+ Position: column.Position,}filteredTable.Columns = append(filteredTable.Columns, filteredColumn)}@@ -1113,9 +1136,6 @@ func equalTable(s, t *storepb.TableMetadata) bool {if s.GetUserComment() != t.GetUserComment() {return false}- if s.GetClassification() != t.GetClassification() {- return false- }for i := 0; i < len(s.GetColumns()); i++ {sc, tc := s.GetColumns()[i], t.GetColumns()[i]if sc.Name != tc.Name {@@ -1130,9 +1150,6 @@ func equalTable(s, t *storepb.TableMetadata) bool {if sc.UserComment != tc.UserComment {return false}- if sc.Classification != tc.Classification {- return false- }if sc.Type != tc.Type {return false}diff --git a/backend/api/v1/database_converter.go b/backend/api/v1/database_converter.goindex df5cd1fd33..41da5fd517 100644--- a/backend/api/v1/database_converter.go+++ b/backend/api/v1/database_converter.go@@ -135,23 +135,23 @@ func convertStoreDatabaseMetadata(metadata *storepb.DatabaseSchemaMetadata, confdatabaseConfig := convertStoreDatabaseConfig(config, filter)if databaseConfig != nil {m.SchemaConfigs = databaseConfig.SchemaConfigs+ m.ClassificationFromConfig = databaseConfig.ClassificationFromConfig}return m}func convertStoreTableMetadata(table *storepb.TableMetadata) *v1pb.TableMetadata {t := &v1pb.TableMetadata{- Name: table.Name,- Engine: table.Engine,- Collation: table.Collation,- RowCount: table.RowCount,- DataSize: table.DataSize,- IndexSize: table.IndexSize,- DataFree: table.DataFree,- CreateOptions: table.CreateOptions,- Comment: table.Comment,- Classification: table.Classification,- UserComment: table.UserComment,+ Name: table.Name,+ Engine: table.Engine,+ Collation: table.Collation,+ RowCount: table.RowCount,+ DataSize: table.DataSize,+ IndexSize: table.IndexSize,+ DataFree: table.DataFree,+ CreateOptions: table.CreateOptions,+ Comment: table.Comment,+ UserComment: table.UserComment,}for _, partition := range table.Partitions {if partition == nil {@@ -254,17 +254,16 @@ func convertStoreTablePartitionMetadata(partition *storepb.TablePartitionMetadatfunc convertStoreColumnMetadata(column *storepb.ColumnMetadata) *v1pb.ColumnMetadata {metadata := &v1pb.ColumnMetadata{- Name: column.Name,- Position: column.Position,- HasDefault: column.DefaultValue != nil,- OnUpdate: column.OnUpdate,- Nullable: column.Nullable,- Type: column.Type,- CharacterSet: column.CharacterSet,- Collation: column.Collation,- Comment: column.Comment,- Classification: column.Classification,- UserComment: column.UserComment,+ Name: column.Name,+ Position: column.Position,+ HasDefault: column.DefaultValue != nil,+ OnUpdate: column.OnUpdate,+ Nullable: column.Nullable,+ Type: column.Type,+ CharacterSet: column.CharacterSet,+ Collation: column.Collation,+ Comment: column.Comment,+ UserComment: column.UserComment,}if metadata.HasDefault {switch value := column.DefaultValue.(type) {@@ -285,7 +284,8 @@ func convertStoreColumnMetadata(column *storepb.ColumnMetadata) *v1pb.ColumnMetafunc convertStoreDatabaseConfig(config *storepb.DatabaseConfig, filter *metadataFilter) *v1pb.DatabaseConfig {databaseConfig := &v1pb.DatabaseConfig{- Name: config.Name,+ Name: config.Name,+ ClassificationFromConfig: config.ClassificationFromConfig,}for _, schema := range config.SchemaConfigs {if schema == nil {@@ -313,7 +313,8 @@ func convertStoreDatabaseConfig(config *storepb.DatabaseConfig, filter *metadatafunc convertStoreTableConfig(table *storepb.TableConfig) *v1pb.TableConfig {t := &v1pb.TableConfig{- Name: table.Name,+ Name: table.Name,+ ClassificationId: table.ClassificationId,}for _, column := range table.ColumnConfigs {if column == nil {@@ -326,14 +327,16 @@ func convertStoreTableConfig(table *storepb.TableConfig) *v1pb.TableConfig {func convertStoreColumnConfig(column *storepb.ColumnConfig) *v1pb.ColumnConfig {return &v1pb.ColumnConfig{- Name: column.Name,- SemanticTypeId: column.SemanticTypeId,- Labels: column.Labels,+ Name: column.Name,+ SemanticTypeId: column.SemanticTypeId,+ Labels: column.Labels,+ ClassificationId: column.ClassificationId,}}func convertV1DatabaseMetadata(metadata *v1pb.DatabaseMetadata) (*storepb.DatabaseSchemaMetadata, *storepb.DatabaseConfig) {m := &storepb.DatabaseSchemaMetadata{+ Name: metadata.Name,CharacterSet: metadata.CharacterSet,Collation: metadata.Collation,}@@ -463,7 +466,9 @@ func convertV1DatabaseMetadata(metadata *v1pb.DatabaseMetadata) (*storepb.DatabadatabaseConfig := convertV1DatabaseConfig(&v1pb.DatabaseConfig{- SchemaConfigs: metadata.SchemaConfigs,+ Name: metadata.Name,+ SchemaConfigs: metadata.SchemaConfigs,+ ClassificationFromConfig: metadata.ClassificationFromConfig,},)return m, databaseConfig@@ -471,17 +476,16 @@ func convertV1DatabaseMetadata(metadata *v1pb.DatabaseMetadata) (*storepb.Databafunc convertV1TableMetadata(table *v1pb.TableMetadata) *storepb.TableMetadata {t := &storepb.TableMetadata{- Name: table.Name,- Engine: table.Engine,- Collation: table.Collation,- RowCount: table.RowCount,- DataSize: table.DataSize,- IndexSize: table.IndexSize,- DataFree: table.DataFree,- CreateOptions: table.CreateOptions,- Comment: table.Comment,- Classification: table.Classification,- UserComment: table.UserComment,+ Name: table.Name,+ Engine: table.Engine,+ Collation: table.Collation,+ RowCount: table.RowCount,+ DataSize: table.DataSize,+ IndexSize: table.IndexSize,+ DataFree: table.DataFree,+ CreateOptions: table.CreateOptions,+ Comment: table.Comment,+ UserComment: table.UserComment,}for _, column := range table.Columns {if column == nil {@@ -567,16 +571,15 @@ func convertV1TablePartitionMetadata(tablePartition *v1pb.TablePartitionMetadatafunc convertV1ColumnMetadata(column *v1pb.ColumnMetadata) *storepb.ColumnMetadata {metadata := &storepb.ColumnMetadata{- Name: column.Name,- Position: column.Position,- Nullable: column.Nullable,- Type: column.Type,- CharacterSet: column.CharacterSet,- Collation: column.Collation,- Comment: column.Comment,- Classification: column.Classification,- UserComment: column.UserComment,- OnUpdate: column.OnUpdate,+ Name: column.Name,+ Position: column.Position,+ Nullable: column.Nullable,+ Type: column.Type,+ CharacterSet: column.CharacterSet,+ Collation: column.Collation,+ Comment: column.Comment,+ UserComment: column.UserComment,+ OnUpdate: column.OnUpdate,}if column.HasDefault {@@ -594,7 +597,8 @@ func convertV1ColumnMetadata(column *v1pb.ColumnMetadata) *storepb.ColumnMetadatfunc convertV1DatabaseConfig(databaseConfig *v1pb.DatabaseConfig) *storepb.DatabaseConfig {config := &storepb.DatabaseConfig{- Name: databaseConfig.Name,+ Name: databaseConfig.Name,+ ClassificationFromConfig: databaseConfig.ClassificationFromConfig,}for _, schema := range databaseConfig.SchemaConfigs {if schema == nil {@@ -618,7 +622,8 @@ func convertV1DatabaseConfig(databaseConfig *v1pb.DatabaseConfig) *storepb.Databfunc convertV1TableConfig(table *v1pb.TableConfig) *storepb.TableConfig {t := &storepb.TableConfig{- Name: table.Name,+ Name: table.Name,+ ClassificationId: table.ClassificationId,}for _, column := range table.ColumnConfigs {if column == nil {@@ -631,8 +636,9 @@ func convertV1TableConfig(table *v1pb.TableConfig) *storepb.TableConfig {func convertV1ColumnConfig(column *v1pb.ColumnConfig) *storepb.ColumnConfig {return &storepb.ColumnConfig{- Name: column.Name,- SemanticTypeId: column.SemanticTypeId,- Labels: column.Labels,+ Name: column.Name,+ SemanticTypeId: column.SemanticTypeId,+ Labels: column.Labels,+ ClassificationId: column.ClassificationId,}}diff --git a/backend/api/v1/database_service.go b/backend/api/v1/database_service.goindex d270651e85..0da06af102 100644--- a/backend/api/v1/database_service.go+++ b/backend/api/v1/database_service.go@@ -700,16 +700,20 @@ func (s *DatabaseService) GetDatabaseMetadata(ctx context.Context, request *v1pb}evaluator := newEmptyMaskingLevelEvaluator().withDataClassificationSetting(dataClassificationSetting).withMaskingRulePolicy(maskingRulePolicy)+ dbModelConfig := dbSchema.GetInternalConfig()for _, schema := range v1pbMetadata.Schemas {if filter.schema != schema.Name {continue}+ schemaConfig := dbModelConfig.CreateOrGetSchemaConfig(schema.Name)for _, table := range schema.Tables {if filter.table != table.Name {continue}+ tableConfig := schemaConfig.CreateOrGetTableConfig(table.Name)for _, column := range table.Columns {- maskingLevel, err := evaluator.evaluateMaskingLevelOfColumn(database, schema.Name, table.Name, column.Name, column.Classification, project.DataClassificationConfigID, maskingPolicyMap, nil /* Exceptions*/)+ colConfig := tableConfig.CreateOrGetColumnConfig(column.Name)+ maskingLevel, err := evaluator.evaluateMaskingLevelOfColumn(database, schema.Name, table.Name, column.Name, colConfig.ClassificationId, project.DataClassificationConfigID, maskingPolicyMap, nil /* Exceptions*/)if err != nil {return nil, status.Errorf(codes.Internal, "failed to evaluate masking level of column %q, error: %v", column.Name, err)}@@ -771,9 +775,11 @@ func (s *DatabaseService) UpdateDatabaseMetadata(ctx context.Context, request *vfor _, path := range request.UpdateMask.Paths {if path == "schema_configs" {+ databaseMetadata := request.GetDatabaseMetadata()databaseConfig := convertV1DatabaseConfig(&v1pb.DatabaseConfig{- Name: databaseName,- SchemaConfigs: request.GetDatabaseMetadata().GetSchemaConfigs(),+ Name: databaseName,+ SchemaConfigs: databaseMetadata.GetSchemaConfigs(),+ ClassificationFromConfig: databaseMetadata.ClassificationFromConfig,})if err := s.store.UpdateDBSchema(ctx, database.UID, &store.UpdateDBSchemaMessage{Config: databaseConfig}, principalID); err != nil {return nil, errdiff --git a/backend/api/v1/query_result_masker.go b/backend/api/v1/query_result_masker.goindex 3e8bdcd9d6..09b68a6d43 100644--- a/backend/api/v1/query_result_masker.go+++ b/backend/api/v1/query_result_masker.go@@ -212,7 +212,7 @@ func (s *QueryResultMasker) getMasterForColumnResource(}}- maskingAlgorithm, maskingLevel, err := m.evaluateMaskingAlgorithmOfColumn(database, sourceColumn.Schema, sourceColumn.Table, sourceColumn.Column, semanticTypeID, meta.Classification, project.DataClassificationConfigID, maskingPolicyMap, maskingExceptionContainsCurrentPrincipal)+ maskingAlgorithm, maskingLevel, err := m.evaluateMaskingAlgorithmOfColumn(database, sourceColumn.Schema, sourceColumn.Table, sourceColumn.Column, semanticTypeID, config.ClassificationId, project.DataClassificationConfigID, maskingPolicyMap, maskingExceptionContainsCurrentPrincipal)if err != nil {return nil, errors.Wrapf(err, "failed to evaluate masking level of database %q, schema %q, table %q, column %q", sourceColumn.Database, sourceColumn.Schema, sourceColumn.Table, sourceColumn.Column)}@@ -261,20 +261,13 @@ func (s *QueryResultMasker) getColumnForColumnResource(ctx context.Context, instcolumnMetadata = columnvar columnConfig *storepb.ColumnConfig- config := dbSchema.GetDatabaseConfig()+ config := dbSchema.GetInternalConfig()if config == nil {return columnMetadata, nil, nil}- schemaConfig := config.GetSchemaConfig(sourceColumn.Schema)- if schemaConfig == nil {- return columnMetadata, nil, nil- }- tableConfig := schemaConfig.GetTableConfig(sourceColumn.Table)- if tableConfig == nil {- return columnMetadata, nil, nil- }-- columnConfig = tableConfig.GetColumnConfig(sourceColumn.Column)+ schemaConfig := config.CreateOrGetSchemaConfig(sourceColumn.Schema)+ tableConfig := schemaConfig.CreateOrGetTableConfig(sourceColumn.Table)+ columnConfig = tableConfig.CreateOrGetColumnConfig(sourceColumn.Column)return columnMetadata, columnConfig, nil}diff --git a/backend/api/v1/schema_design_merge.go b/backend/api/v1/schema_design_merge.goindex 92141083d0..97220e958e 100644--- a/backend/api/v1/schema_design_merge.go+++ b/backend/api/v1/schema_design_merge.go@@ -354,9 +354,6 @@ func (n *metadataDiffTableNode) tryMerge(other *metadataDiffTableNode) (bool, stif n.head.UserComment != other.head.UserComment {return true, fmt.Sprintf("conflict table user comment, one is %s, the other is %s", n.head.UserComment, other.head.UserComment)}- if n.head.Classification != other.head.Classification {- return true, fmt.Sprintf("conflict table classification, one is %s, the other is %s", n.head.Classification, other.head.Classification)- }}if n.action == diffActionUpdate {@@ -381,16 +378,6 @@ func (n *metadataDiffTableNode) tryMerge(other *metadataDiffTableNode) (bool, stn.head.UserComment = other.head.UserComment}}-- if other.base.Classification != other.head.Classification {- if n.base.Classification != n.head.Classification {- if n.head.Classification != other.head.Classification {- return true, fmt.Sprintf("conflict table classification, one is %s, the other is %s", n.head.Classification, other.head.Classification)- }- } else {- n.head.Classification = other.head.Classification- }- }}for _, columnName := range n.columnNames {@@ -492,12 +479,11 @@ func (n *metadataDiffTableNode) applyDiffTo(target *storepb.SchemaMetadata) erroswitch n.action {case diffActionCreate:newTable := &storepb.TableMetadata{- Name: n.name,- Engine: n.head.Engine,- Collation: n.head.Collation,- Comment: n.head.Comment,- UserComment: n.head.UserComment,- Classification: n.head.Classification,+ Name: n.name,+ Engine: n.head.Engine,+ Collation: n.head.Collation,+ Comment: n.head.Comment,+ UserComment: n.head.UserComment,}for _, columnName := range n.columnNames {if columnNode, in := n.columnsMap[columnName]; in {@@ -547,15 +533,14 @@ func (n *metadataDiffTableNode) applyDiffTo(target *storepb.SchemaMetadata) erro// So we do apply column and foreign key diff to target table.if table.Name == n.name {newTable := &storepb.TableMetadata{- Name: n.name,- Engine: n.head.Engine,- Collation: n.head.Collation,- Comment: n.head.Comment,- UserComment: n.head.UserComment,- Classification: n.head.Classification,- Columns: table.Columns,- ForeignKeys: table.ForeignKeys,- Indexes: table.Indexes,+ Name: n.name,+ Engine: n.head.Engine,+ Collation: n.head.Collation,+ Comment: n.head.Comment,+ UserComment: n.head.UserComment,+ Columns: table.Columns,+ ForeignKeys: table.ForeignKeys,+ Indexes: table.Indexes,}for _, columnName := range n.columnNames {if columnNode, in := n.columnsMap[columnName]; in {@@ -636,9 +621,6 @@ func (n *metadataDiffColumnNode) tryMerge(other *metadataDiffColumnNode) (bool,if n.head.UserComment != other.head.UserComment {return true, fmt.Sprintf("conflict column user comment, one is %s, the other is %s", n.head.UserComment, other.head.UserComment)}- if n.head.Classification != other.head.Classification {- return true, fmt.Sprintf("conflict column classification, one is %s, the other is %s", n.head.Classification, other.head.Classification)- }}if n.action == diffActionUpdate {if other.base.Type != other.head.Type {@@ -690,16 +672,6 @@ func (n *metadataDiffColumnNode) tryMerge(other *metadataDiffColumnNode) (bool,n.head.UserComment = other.head.UserComment}}-- if other.base.Classification != other.head.Classification {- if n.base.Classification != n.head.Classification {- if n.head.Classification != other.head.Classification {- return true, fmt.Sprintf("conflict column classification, one is %s, the other is %s", n.head.Classification, other.head.Classification)- }- } else {- n.head.Classification = other.head.Classification- }- }}return false, ""diff --git a/backend/api/v1/setting_service.go b/backend/api/v1/setting_service.goindex 2f547a2266..d6fe7e7d73 100644--- a/backend/api/v1/setting_service.go+++ b/backend/api/v1/setting_service.go@@ -652,8 +652,9 @@ func (s *SettingService) convertToSettingMessage(ctx context.Context, setting *s},}, nilcase api.SettingSchemaTemplate:+ decoder := protojson.UnmarshalOptions{DiscardUnknown: true}value := new(storepb.SchemaTemplateSetting)- if err := protojson.Unmarshal([]byte(setting.Value), value); err != nil {+ if err := decoder.Unmarshal([]byte(setting.Value), value); err != nil {return nil, status.Errorf(codes.Internal, "failed to unmarshal setting value for %s with error: %v", setting.Name, err)}@@ -731,7 +732,8 @@ func (s *SettingService) validateSchemaTemplate(ctx context.Context, schemaTempl}value := new(storepb.SchemaTemplateSetting)- if err := protojson.Unmarshal([]byte(settingValue), value); err != nil {+ decoder := protojson.UnmarshalOptions{DiscardUnknown: true}+ if err := decoder.Unmarshal([]byte(settingValue), value); err != nil {return status.Errorf(codes.Internal, "failed to unmarshal setting value for %s with error: %v", settingName, err)}v1Value := convertSchemaTemplateSetting(value)diff --git a/backend/api/v1/sql_service.go b/backend/api/v1/sql_service.goindex 56741a4cb6..fe449c79fa 100644--- a/backend/api/v1/sql_service.go+++ b/backend/api/v1/sql_service.go@@ -1517,8 +1517,10 @@ func (*SQLService) StringifyMetadata(_ context.Context, request *v1pb.StringifyMif request.Metadata == nil {return nil, status.Errorf(codes.InvalidArgument, "metadata is required")}- storeSchemaMetadata, _ := convertV1DatabaseMetadata(request.Metadata)- sanitizeCommentForSchemaMetadata(storeSchemaMetadata)+ storeSchemaMetadata, config := convertV1DatabaseMetadata(request.Metadata)+ if !config.ClassificationFromConfig {+ sanitizeCommentForSchemaMetadata(storeSchemaMetadata, model.NewDatabaseConfig(config))+ }defaultSchema := extractDefaultSchemaForOracleBranch(storepb.Engine(request.Engine), storeSchemaMetadata)schema, err := schema.GetDesignSchema(storepb.Engine(request.Engine), defaultSchema, "" /* baseline */, storeSchemaMetadata)diff --git a/backend/plugin/parser/mysql/completion.go b/backend/plugin/parser/mysql/completion.goindex fcbf624e72..b004bf1815 100644--- a/backend/plugin/parser/mysql/completion.go+++ b/backend/plugin/parser/mysql/completion.go@@ -1323,9 +1323,6 @@ func (m CompletionMap) insertColumns(c *Completer, databases, tables map[string]definition += ", NOT NULL"}comment := column.UserComment- if len(column.Classification) != 0 {- comment = column.Classification + "\n" + column.UserComment- }m.Insert(base.Candidate{Type: base.CandidateTypeColumn,Text: c.quotedIdentifierIfNeeded(column.Name),diff --git a/backend/plugin/parser/pg/completion.go b/backend/plugin/parser/pg/completion.goindex f723457e67..8643c4d24d 100644--- a/backend/plugin/parser/pg/completion.go+++ b/backend/plugin/parser/pg/completion.go@@ -362,9 +362,6 @@ func (m CompletionMap) insertColumns(c *Completer, schemas, tables map[string]bodefinition += ", NOT NULL"}comment := column.UserComment- if len(column.Classification) != 0 {- comment = column.Classification + "\n" + column.UserComment- }m.Insert(base.Candidate{Type: base.CandidateTypeColumn,Text: c.quotedIdentifierIfNeeded(column.Name),diff --git a/backend/plugin/schema/schema.go b/backend/plugin/schema/schema.goindex 20efd5ebc6..e55cb01c56 100644--- a/backend/plugin/schema/schema.go+++ b/backend/plugin/schema/schema.go@@ -6,7 +6,6 @@ import ("github.com/pkg/errors"- "github.com/bytebase/bytebase/backend/common"storepb "github.com/bytebase/bytebase/proto/generated-go/store")@@ -52,21 +51,9 @@ func ParseToMetadata(engine storepb.Engine, defaultSchemaName, schema string) (*if !ok {return nil, errors.Errorf("engine %s is not supported", engine)}- metadata, err := f(defaultSchemaName, schema)- if err != nil {- return nil, err- }-- for _, schema := range metadata.Schemas {- for _, table := range schema.Tables {- table.Classification, table.UserComment = common.GetClassificationAndUserComment(table.Comment)- for _, col := range table.Columns {- col.Classification, col.UserComment = common.GetClassificationAndUserComment(col.Comment)- }- }- }- return metadata, nil+ return f(defaultSchemaName, schema)}+func RegisterCheckColumnType(engine storepb.Engine, f checkColumnType) {mux.Lock()defer mux.Unlock()diff --git a/backend/runner/schemasync/syncer.go b/backend/runner/schemasync/syncer.goindex 944d62c2c6..1bbc79e0a6 100644--- a/backend/runner/schemasync/syncer.go+++ b/backend/runner/schemasync/syncer.go@@ -336,7 +336,27 @@ func (s *Syncer) SyncDatabaseSchema(ctx context.Context, database *store.Databasif err != nil {return errors.Wrapf(err, "failed to sync database schema for database %q", database.DatabaseName)}- setClassificationAndUserCommentFromComment(databaseMetadata)++ dbSchema, err := s.store.GetDBSchema(ctx, database.UID)+ if err != nil {+ return errors.Wrapf(err, "failed to get database schema for database %q", database.DatabaseName)+ }++ dbModelConfig := model.NewDatabaseConfig(nil)+ if dbSchema != nil {+ dbModelConfig = dbSchema.GetInternalConfig()+ }+ if instance.Engine != storepb.Engine_MYSQL && instance.Engine != storepb.Engine_POSTGRES {+ // Force to disable classification from comment if the engine is not MYSQL or PG.+ dbModelConfig.ClassificationFromConfig = true+ }+ if dbModelConfig.ClassificationFromConfig {+ // Only set the user comment.+ setUserCommentFromComment(databaseMetadata)+ } else {+ // Get classification from the comment.+ setClassificationAndUserCommentFromComment(databaseMetadata, dbModelConfig)+ }syncStatus := api.OKts := time.Now().Unix()@@ -352,10 +372,6 @@ func (s *Syncer) SyncDatabaseSchema(ctx context.Context, database *store.Databasreturn errors.Wrapf(err, "failed to update database %q for instance %q", database.DatabaseName, database.InstanceID)}- dbSchema, err := s.store.GetDBSchema(ctx, database.UID)- if err != nil {- return errors.Wrapf(err, "failed to get database schema for database %q", database.DatabaseName)- }var oldDatabaseMetadata *storepb.DatabaseSchemaMetadatavar rawDump []byteif dbSchema != nil {@@ -376,7 +392,7 @@ func (s *Syncer) SyncDatabaseSchema(ctx context.Context, database *store.Databasif err := s.store.UpsertDBSchema(ctx,database.UID,- model.NewDBSchema(databaseMetadata, rawDump, nil /* config */),+ model.NewDBSchema(databaseMetadata, rawDump, dbModelConfig.BuildDatabaseConfig()),api.SystemBotID,); err != nil {if strings.Contains(err.Error(), "escape sequence") {@@ -546,12 +562,49 @@ func equalDatabaseMetadata(x, y *storepb.DatabaseSchemaMetadata) bool {)}-func setClassificationAndUserCommentFromComment(dbSchema *storepb.DatabaseSchemaMetadata) {+func setClassificationAndUserCommentFromComment(dbSchema *storepb.DatabaseSchemaMetadata, databaseConfig *model.DatabaseConfig) {+ for _, schema := range dbSchema.Schemas {+ schemaConfig := databaseConfig.CreateOrGetSchemaConfig(schema.Name)++ for _, table := range schema.Tables {+ tableConfig := schemaConfig.CreateOrGetTableConfig(table.Name)+ classification, userComment := common.GetClassificationAndUserComment(table.Comment)++ table.UserComment = userComment+ tableConfig.ClassificationID = classification++ for _, col := range table.Columns {+ columnConfig := tableConfig.CreateOrGetColumnConfig(col.Name)+ colClassification, colUserComment := common.GetClassificationAndUserComment(col.Comment)++ col.UserComment = colUserComment+ columnConfig.ClassificationId = colClassification++ if isEmptyColumnConfig(columnConfig) {+ tableConfig.RemoveColumnConfig(col.Name)+ }+ }++ if tableConfig.IsEmpty() {+ schemaConfig.RemoveTableConfig(table.Name)+ }+ }+ if schemaConfig.IsEmpty() {+ databaseConfig.RemoveSchemaConfig(schema.Name)+ }+ }+}++func isEmptyColumnConfig(config *storepb.ColumnConfig) bool {+ return len(config.Labels) == 0 && config.ClassificationId == "" && config.SemanticTypeId == ""+}++func setUserCommentFromComment(dbSchema *storepb.DatabaseSchemaMetadata) {for _, schema := range dbSchema.Schemas {for _, table := range schema.Tables {- table.Classification, table.UserComment = common.GetClassificationAndUserComment(table.Comment)+ table.UserComment = table.Commentfor _, col := range table.Columns {- col.Classification, col.UserComment = common.GetClassificationAndUserComment(col.Comment)+ col.UserComment = col.Comment}}}diff --git a/backend/store/db_schema.go b/backend/store/db_schema.goindex d67db97693..1d38d34fed 100644--- a/backend/store/db_schema.go+++ b/backend/store/db_schema.go@@ -72,6 +72,10 @@ func (s *Store) UpsertDBSchema(ctx context.Context, databaseID int, dbSchema *moif err != nil {return err}+ configBytes, err := protojson.Marshal(dbSchema.GetConfig())+ if err != nil {+ return err+ }query := `INSERT INTO db_schema (@@ -79,12 +83,14 @@ func (s *Store) UpsertDBSchema(ctx context.Context, databaseID int, dbSchema *moupdater_id,database_id,metadata,- raw_dump+ raw_dump,+ config)- VALUES ($1, $2, $3, $4, $5)+ VALUES ($1, $2, $3, $4, $5, $6)ON CONFLICT(database_id) DO UPDATE SETmetadata = EXCLUDED.metadata,raw_dump = EXCLUDED.raw_dump,+ config = EXCLUDED.config,updated_ts = extract(epoch from now())RETURNING metadata, raw_dump, config`@@ -102,6 +108,7 @@ func (s *Store) UpsertDBSchema(ctx context.Context, databaseID int, dbSchema *mometadataBytes,// Convert to string because []byte{} is null which violates db schema constraints.string(dbSchema.GetSchema()),+ configBytes,).Scan(&metadata,&schema,diff --git a/backend/store/model/database.go b/backend/store/model/database.goindex 8c1e109e11..4d97f6de80 100644--- a/backend/store/model/database.go+++ b/backend/store/model/database.go@@ -47,7 +47,7 @@ func (dbs *DBSchema) GetDatabaseMetadata() *DatabaseMetadata {return dbs.metadataInternal}-func (dbs *DBSchema) GetDatabaseConfig() *DatabaseConfig {+func (dbs *DBSchema) GetInternalConfig() *DatabaseConfig {return dbs.configInternal}@@ -172,7 +172,9 @@ func (dbs *DBSchema) FindIndex(schemaName string, tableName string, indexName st// DatabaseConfig is the config for a database.type DatabaseConfig struct {- internal map[string]*SchemaConfig+ name string+ ClassificationFromConfig bool+ internal map[string]*SchemaConfig}// NewDatabaseConfig creates a new database config.@@ -183,13 +185,16 @@ func NewDatabaseConfig(config *storepb.DatabaseConfig) *DatabaseConfig {if config == nil {return databaseConfig}+ databaseConfig.name = config.Name+ databaseConfig.ClassificationFromConfig = config.ClassificationFromConfigfor _, schema := range config.SchemaConfigs {schemaConfig := &SchemaConfig{internal: make(map[string]*TableConfig),}for _, table := range schema.TableConfigs {tableConfig := &TableConfig{- internal: make(map[string]*storepb.ColumnConfig),+ ClassificationID: table.ClassificationId,+ internal: make(map[string]*storepb.ColumnConfig),}for _, column := range table.ColumnConfigs {tableConfig.internal[column.Name] = column@@ -201,31 +206,100 @@ func NewDatabaseConfig(config *storepb.DatabaseConfig) *DatabaseConfig {return databaseConfig}-// GetSchemaConfig gets the schema config by name.-func (d *DatabaseConfig) GetSchemaConfig(name string) *SchemaConfig {+// CreateOrGetSchemaConfig creates or gets a new schema config by name.+func (d *DatabaseConfig) CreateOrGetSchemaConfig(name string) *SchemaConfig {+ if config := d.internal[name]; config != nil {+ return config+ }+ d.internal[name] = &SchemaConfig{+ internal: make(map[string]*TableConfig),+ }return d.internal[name]}+// RemoveSchemaConfig delete the schema config by name.+func (d *DatabaseConfig) RemoveSchemaConfig(name string) {+ delete(d.internal, name)+}++func (d *DatabaseConfig) BuildDatabaseConfig() *storepb.DatabaseConfig {+ config := &storepb.DatabaseConfig{Name: d.name, ClassificationFromConfig: d.ClassificationFromConfig}++ for schemaName, sConfig := range d.internal {+ schemaConfig := &storepb.SchemaConfig{Name: schemaName}++ for tableName, tConfig := range sConfig.internal {+ tableConfig := &storepb.TableConfig{Name: tableName, ClassificationId: tConfig.ClassificationID}++ for colName, colConfig := range tConfig.internal {+ tableConfig.ColumnConfigs = append(tableConfig.ColumnConfigs, &storepb.ColumnConfig{+ Name: colName,+ SemanticTypeId: colConfig.SemanticTypeId,+ Labels: colConfig.Labels,+ ClassificationId: colConfig.ClassificationId,+ })+ }+ schemaConfig.TableConfigs = append(schemaConfig.TableConfigs, tableConfig)+ }+ config.SchemaConfigs = append(config.SchemaConfigs, schemaConfig)+ }++ return config+}+// SchemaConfig is the config for a schema.type SchemaConfig struct {internal map[string]*TableConfig}-// GetTableConfig gets the table config by name.-func (s *SchemaConfig) GetTableConfig(name string) *TableConfig {+// Size returns the table config count for the schema config.+func (s *SchemaConfig) IsEmpty() bool {+ return len(s.internal) == 0+}++// CreateOrGetTableConfig creates or gets the table config by name.+func (s *SchemaConfig) CreateOrGetTableConfig(name string) *TableConfig {+ if config := s.internal[name]; config != nil {+ return config+ }+ s.internal[name] = &TableConfig{+ internal: make(map[string]*storepb.ColumnConfig),+ }return s.internal[name]}+// RemoveTableConfig delete the table config by name.+func (s *SchemaConfig) RemoveTableConfig(name string) {+ delete(s.internal, name)+}+// TableConfig is the config for a table.type TableConfig struct {- internal map[string]*storepb.ColumnConfig+ ClassificationID string+ internal map[string]*storepb.ColumnConfig}-// GetColumnConfig gets the column config by name.-func (t *TableConfig) GetColumnConfig(name string) *storepb.ColumnConfig {+// CreateOrGetColumnConfig creates or gets the column config by name.+func (t *TableConfig) CreateOrGetColumnConfig(name string) *storepb.ColumnConfig {+ if config := t.internal[name]; config != nil {+ return config+ }+ t.internal[name] = &storepb.ColumnConfig{+ Name: name,+ }return t.internal[name]}+// RemoveColumnConfig delete the column config by name.+func (t *TableConfig) RemoveColumnConfig(name string) {+ delete(t.internal, name)+}++// RemoveColumnConfig delete the column config by name.+func (t *TableConfig) IsEmpty() bool {+ return len(t.internal) == 0 && t.ClassificationID == ""+}+// DatabaseMetadata is the metadata for a database.type DatabaseMetadata struct {internal map[string]*SchemaMetadatadiff --git a/backend/utils/database_config_merge.go b/backend/utils/database_config_merge.goindex e740b507b5..335a0e2bd2 100644--- a/backend/utils/database_config_merge.go+++ b/backend/utils/database_config_merge.go@@ -40,7 +40,7 @@ func MergeDatabaseConfig(baseline, head, target *storepb.DatabaseConfig) *storepdelete(currentMap, schemaName)}- result := &storepb.DatabaseConfig{Name: head.Name}+ result := &storepb.DatabaseConfig{Name: head.Name, ClassificationFromConfig: head.ClassificationFromConfig}for _, v := range currentMap {result.SchemaConfigs = append(result.SchemaConfigs, v)}@@ -122,7 +122,7 @@ func mergeTableConfig(target, baseline, current *storepb.TableConfig) *storepb.Tdelete(currentMap, tableName)}- result := &storepb.TableConfig{Name: current.Name}+ result := &storepb.TableConfig{Name: current.Name, ClassificationId: current.ClassificationId}for _, v := range currentMap {result.ColumnConfigs = append(result.ColumnConfigs, v)}@@ -143,6 +143,9 @@ func mergeColumnConfig(target, baseline, current *storepb.ColumnConfig) *storepbif target.SemanticTypeId != baseline.SemanticTypeId {current.SemanticTypeId = target.SemanticTypeId}+ if target.ClassificationId != baseline.ClassificationId {+ current.ClassificationId = target.ClassificationId+ }if !reflect.DeepEqual(target.Labels, baseline.Labels) {current.Labels = target.Labelsdiff --git a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vueindex 6233822a61..b6dfdd0665 100644--- a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue+++ b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue@@ -373,6 +373,7 @@ const generateDiffDDLMap = async (silent: boolean) => {editing,/* !allowEmptyDiffDDLWithConfigChange */ false);+if (result.fatal && !silent) {pushNotification({module: "bytebase",@@ -557,6 +558,9 @@ const confirmCreateIssueWithEmptyStatement = (style: "z-index: 100000",negativeText: t("common.cancel"),positiveText: t("common.continue-anyway"),+ onClose: () => {+ d.resolve(false);+ },onNegativeClick: () => {d.resolve(false);},diff --git a/frontend/src/components/Branch/BranchRolloutView/BranchRolloutView.vue b/frontend/src/components/Branch/BranchRolloutView/BranchRolloutView.vueindex 1914198eac..7334e37915 100644--- a/frontend/src/components/Branch/BranchRolloutView/BranchRolloutView.vue+++ b/frontend/src/components/Branch/BranchRolloutView/BranchRolloutView.vue@@ -312,6 +312,7 @@ const handlePreviewIssue = async () => {if (!target) return;if (!db) return;if (!editor) return;+editor.applySelectedMetadataEdit(db,source,diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/ClassificationCell.vue b/frontend/src/components/ColumnDataTable/ClassificationCell.vuesimilarity index 56%rename from frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/ClassificationCell.vuerename to frontend/src/components/ColumnDataTable/ClassificationCell.vueindex 1db4717909..a8576c036c 100644--- a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/ClassificationCell.vue+++ b/frontend/src/components/ColumnDataTable/ClassificationCell.vue@@ -5,18 +5,29 @@:classification-config="classificationConfig"/><template v-if="!readonly && !disabled">- <MiniActionButton v-if="classification" @click.prevent="$emit('remove')">+ <MiniActionButton+ v-if="classification"+ @click.prevent="removeClassification"+ ><XIcon class="w-3 h-3" /></MiniActionButton>- <MiniActionButton @click.prevent="$emit('edit')">+ <MiniActionButton @click.prevent="openDrawer"><PencilIcon class="w-3 h-3" /></MiniActionButton></template></div>++ <SelectClassificationDrawer+ :show="showClassificationDrawer"+ :classification-config="classificationConfig"+ @dismiss="showClassificationDrawer = false"+ @apply="$emit('apply', $event)"+ /></template><script lang="ts" setup>import { PencilIcon, XIcon } from "lucide-vue-next";+import { ref } from "vue";import ClassificationLevelBadge from "@/components/SchemaTemplate/ClassificationLevelBadge.vue";import { MiniActionButton } from "@/components/v2";import type { DataClassificationSetting_DataClassificationConfig as DataClassificationConfig } from "@/types/proto/v1/setting_service";@@ -27,8 +38,20 @@ defineProps<{disabled?: boolean;classificationConfig: DataClassificationConfig;}>();-defineEmits<{- (event: "edit"): void;- (event: "remove"): void;++const emit = defineEmits<{+ (event: "apply", id: string): void;}>();++const showClassificationDrawer = ref(false);++const openDrawer = (e: MouseEvent) => {+ e.stopPropagation();+ showClassificationDrawer.value = true;+};++const removeClassification = (e: MouseEvent) => {+ e.stopPropagation();+ emit("apply", "");+};</script>diff --git a/frontend/src/components/ColumnDataTable/SemanticTypeCell.vue b/frontend/src/components/ColumnDataTable/SemanticTypeCell.vueindex 284653923f..e70474e72d 100644--- a/frontend/src/components/ColumnDataTable/SemanticTypeCell.vue+++ b/frontend/src/components/ColumnDataTable/SemanticTypeCell.vue@@ -4,7 +4,7 @@<buttonv-if="!readonly && columnSemanticType"class="w-5 h-5 p-0.5 hover:bg-gray-300 rounded cursor-pointer"- @click.prevent="onSemanticTypeRemove()"+ @click.prevent="onSemanticTypeApply('')"><heroicons-outline:x class="w-4 h-4" /></button>@@ -34,12 +34,9 @@</template><script lang="ts" setup>-import { cloneDeep } from "lodash-es";import { computed } from "vue";import { reactive } from "vue";-import { useI18n } from "vue-i18n";import {- pushNotification,useDBSchemaV1Store,useSettingV1Store,useSubscriptionV1Store,@@ -49,12 +46,7 @@ import type {ColumnMetadata,TableMetadata,} from "@/types/proto/v1/database_service";-import {- ColumnConfig,- SchemaConfig,- TableConfig,- DatabaseMetadataView,-} from "@/types/proto/v1/database_service";+import { updateColumnConfig } from "./utils";type LocalState = {showFeatureModal: boolean;@@ -69,7 +61,6 @@ const props = defineProps<{readonly?: boolean;}>();-const { t } = useI18n();const state = reactive<LocalState>({showFeatureModal: false,showSemanticTypesDrawer: false,@@ -96,47 +87,13 @@ const semanticTypeList = computed(() => {);});-const databaseMetadata = computed(() => {- return dbSchemaV1Store.getDatabaseMetadata(+const columnSemanticType = computed(() => {+ const config = dbSchemaV1Store.getColumnConfig(props.database.name,- DatabaseMetadataView.DATABASE_METADATA_VIEW_FULL+ props.schema,+ props.table.name,+ props.column.name);-});--const schemaConfig = computed(() => {- return (- databaseMetadata.value.schemaConfigs.find(- (config) => config.name === props.schema- ) ??- SchemaConfig.fromPartial({- name: props.schema,- tableConfigs: [],- })- );-});--const tableConfig = computed(() => {- return (- schemaConfig.value.tableConfigs.find(- (config) => config.name === props.table.name- ) ??- TableConfig.fromPartial({- name: props.table.name,- columnConfigs: [],- })- );-});--const getColumnConfig = (columnName: string) => {- return (- tableConfig.value.columnConfigs.find(- (config) => config.name === columnName- ) ?? ColumnConfig.fromPartial({})- );-};--const columnSemanticType = computed(() => {- const config = getColumnConfig(props.column.name);if (!config.semanticTypeId) {return;}@@ -155,65 +112,12 @@ const openSemanticTypeDrawer = () => {};const onSemanticTypeApply = async (semanticTypeId: string) => {- await updateColumnConfig(props.column.name, { semanticTypeId });-};--const onSemanticTypeRemove = async () => {- await updateColumnConfig(props.column.name, { semanticTypeId: "" });-};--const updateColumnConfig = async (- column: string,- config: Partial<ColumnConfig>-) => {- const index = tableConfig.value.columnConfigs.findIndex(- (config) => config.name === column- );-- const pendingUpdateTableConfig = cloneDeep(tableConfig.value);- if (index < 0) {- pendingUpdateTableConfig.columnConfigs.push(- ColumnConfig.fromPartial({- name: column,- ...config,- })- );- } else {- pendingUpdateTableConfig.columnConfigs[index] = {- ...pendingUpdateTableConfig.columnConfigs[index],- ...config,- };- }-- const pendingUpdateSchemaConfig = cloneDeep(schemaConfig.value);- const tableIndex = pendingUpdateSchemaConfig.tableConfigs.findIndex(- (config) => config.name === pendingUpdateTableConfig.name- );- if (tableIndex < 0) {- pendingUpdateSchemaConfig.tableConfigs.push(pendingUpdateTableConfig);- } else {- pendingUpdateSchemaConfig.tableConfigs[tableIndex] =- pendingUpdateTableConfig;- }-- const pendingUpdateDatabaseConfig = cloneDeep(databaseMetadata.value);- const schemaIndex = pendingUpdateDatabaseConfig.schemaConfigs.findIndex(- (config) => config.name === pendingUpdateSchemaConfig.name- );- if (schemaIndex < 0) {- pendingUpdateDatabaseConfig.schemaConfigs.push(pendingUpdateSchemaConfig);- } else {- pendingUpdateDatabaseConfig.schemaConfigs[schemaIndex] =- pendingUpdateSchemaConfig;- }-- await dbSchemaV1Store.updateDatabaseSchemaConfigs(- pendingUpdateDatabaseConfig+ await updateColumnConfig(+ props.database.name,+ props.schema,+ props.table.name,+ props.column.name,+ { semanticTypeId });- pushNotification({- module: "bytebase",- style: "SUCCESS",- title: t("common.updated"),- });};</script>diff --git a/frontend/src/components/ColumnDataTable/index.vue b/frontend/src/components/ColumnDataTable/index.vueindex 1c8dfd32f6..97626c8d9c 100644--- a/frontend/src/components/ColumnDataTable/index.vue+++ b/frontend/src/components/ColumnDataTable/index.vue@@ -17,8 +17,11 @@ import { computed } from "vue";import { h } from "vue";import { useI18n } from "vue-i18n";import { getColumnDefaultValuePlaceholder } from "@/components/SchemaEditorV1/utils/columnDefaultValue";-import ClassificationLevelBadge from "@/components/SchemaTemplate/ClassificationLevelBadge.vue";-import { useCurrentUserV1, useSubscriptionV1Store } from "@/store";+import {+ useCurrentUserV1,+ useSubscriptionV1Store,+ useDBSchemaV1Store,+} from "@/store";import type { ComposedDatabase } from "@/types";import { Engine } from "@/types/proto/v1/common";import type {@@ -27,10 +30,16 @@ import type {} from "@/types/proto/v1/database_service";import type { MaskData } from "@/types/proto/v1/org_policy_service";import type { DataClassificationSetting_DataClassificationConfig } from "@/types/proto/v1/setting_service";+import { DataClassificationSetting_DataClassificationConfig as DataClassificationConfig } from "@/types/proto/v1/setting_service";import { hasWorkspacePermissionV2 } from "@/utils";+import ClassificationCell from "./ClassificationCell.vue";import LabelsCell from "./LabelsCell.vue";import MaskingLevelCell from "./MaskingLevelCell.vue";import SemanticTypeCell from "./SemanticTypeCell.vue";+import {+ updateColumnConfig,+ supportSetClassificationFromComment,+} from "./utils";const props = defineProps({database: {@@ -80,6 +89,7 @@ const engine = computed(() => {});const currentUserV1 = useCurrentUserV1();const subscriptionV1Store = useSubscriptionV1Store();+const dbSchemaStore = useDBSchemaV1Store();const hasSensitiveDataFeature = computed(() => {return (@@ -103,14 +113,21 @@ const showSensitiveColumn = computed(() => {);});+const databaseSchemaMetadata = computed(() => {+ return dbSchemaStore.getDatabaseMetadata(props.database.name);+});+const showClassificationColumn = computed(() => {- return (- !props.isExternalTable &&- (engine.value === Engine.MYSQL || engine.value === Engine.POSTGRES) &&- props.classificationConfig- );+ return !props.isExternalTable && props.classificationConfig;});+const setClassificationFromComment = computed(() =>+ supportSetClassificationFromComment(+ engine.value,+ databaseSchemaMetadata.value.classificationFromConfig+ )+);+const showLabelsColumn = computed(() => {return !props.isExternalTable;});@@ -181,11 +198,22 @@ const columns = computed(() => {key: "classification",title: t("database.classification.self"),hide: !showClassificationColumn.value,- width: 140,+ minWidth: 140,+ resizable: true,render: (column) => {- return h(ClassificationLevelBadge, {- classification: column.classification,- classificationConfig: props.classificationConfig,+ const columnConfig = dbSchemaStore.getColumnConfig(+ props.database.name,+ props.schema,+ props.table.name,+ column.name+ );+ return h(ClassificationCell, {+ classification: columnConfig.classificationId,+ classificationConfig:+ props.classificationConfig ??+ DataClassificationConfig.fromPartial({}),+ readonly: setClassificationFromComment.value,+ onApply: (id: string) => onClassificationIdApply(column.name, id),});},},@@ -279,4 +307,17 @@ const filteredColumnList = computed(() => {}return props.columnList;});++const onClassificationIdApply = async (+ column: string,+ classificationId: string+) => {+ await updateColumnConfig(+ props.database.name,+ props.schema,+ props.table.name,+ column,+ { classificationId }+ );+};</script>diff --git a/frontend/src/components/ColumnDataTable/utils.ts b/frontend/src/components/ColumnDataTable/utils.tsnew file mode 100644index 0000000000..db5a6f647a--- /dev/null+++ b/frontend/src/components/ColumnDataTable/utils.ts@@ -0,0 +1,143 @@+import { cloneDeep } from "lodash-es";+import { t } from "@/plugins/i18n";+import { pushNotification, useDBSchemaV1Store } from "@/store";+import { Engine } from "@/types/proto/v1/common";+import {+ ColumnConfig,+ TableConfig,+ DatabaseMetadataView,+} from "@/types/proto/v1/database_service";++export const supportClassificationFromCommentFeature = (engine: Engine) => {+ return engine === Engine.MYSQL || engine === Engine.POSTGRES;+};++export const supportSetClassificationFromComment = (+ engine: Engine,+ classificationFromConfig: boolean+) => {+ if (!supportClassificationFromCommentFeature(engine)) {+ // Only support get classification from comment for MYSQL and PG.+ return false;+ }++ return !classificationFromConfig;+};++export const updateColumnConfig = async (+ database: string,+ schema: string,+ table: string,+ column: string,+ config: Partial<ColumnConfig>+) => {+ const dbSchemaV1Store = useDBSchemaV1Store();+ const databaseMetadata = dbSchemaV1Store.getDatabaseMetadata(+ database,+ DatabaseMetadataView.DATABASE_METADATA_VIEW_FULL+ );++ const tableConfig = dbSchemaV1Store.getTableConfig(database, schema, table);+ const index = tableConfig.columnConfigs.findIndex(+ (config) => config.name === column+ );++ const pendingUpdateTableConfig = cloneDeep(tableConfig);+ if (index < 0) {+ pendingUpdateTableConfig.columnConfigs.push(+ ColumnConfig.fromPartial({+ name: column,+ ...config,+ })+ );+ } else {+ pendingUpdateTableConfig.columnConfigs[index] = {+ ...pendingUpdateTableConfig.columnConfigs[index],+ ...config,+ };+ }++ const schemaConfig = dbSchemaV1Store.getSchemaConfig(database, schema);+ const pendingUpdateSchemaConfig = cloneDeep(schemaConfig);+ const tableIndex = pendingUpdateSchemaConfig.tableConfigs.findIndex(+ (config) => config.name === pendingUpdateTableConfig.name+ );+ if (tableIndex < 0) {+ pendingUpdateSchemaConfig.tableConfigs.push(pendingUpdateTableConfig);+ } else {+ pendingUpdateSchemaConfig.tableConfigs[tableIndex] =+ pendingUpdateTableConfig;+ }++ const pendingUpdateDatabaseConfig = cloneDeep(databaseMetadata);+ const schemaIndex = pendingUpdateDatabaseConfig.schemaConfigs.findIndex(+ (config) => config.name === pendingUpdateSchemaConfig.name+ );+ if (schemaIndex < 0) {+ pendingUpdateDatabaseConfig.schemaConfigs.push(pendingUpdateSchemaConfig);+ } else {+ pendingUpdateDatabaseConfig.schemaConfigs[schemaIndex] =+ pendingUpdateSchemaConfig;+ }++ await dbSchemaV1Store.updateDatabaseSchemaConfigs(+ pendingUpdateDatabaseConfig+ );+ pushNotification({+ module: "bytebase",+ style: "SUCCESS",+ title: t("common.updated"),+ });+};++export const updateTableConfig = async (+ database: string,+ schema: string,+ table: string,+ config: Partial<TableConfig>+) => {+ const dbSchemaV1Store = useDBSchemaV1Store();+ const databaseMetadata = dbSchemaV1Store.getDatabaseMetadata(+ database,+ DatabaseMetadataView.DATABASE_METADATA_VIEW_FULL+ );++ const schemaConfig = dbSchemaV1Store.getSchemaConfig(database, schema);+ const pendingUpdateSchemaConfig = cloneDeep(schemaConfig);+ const tableIndex = pendingUpdateSchemaConfig.tableConfigs.findIndex(+ (config) => config.name === table+ );+ if (tableIndex < 0) {+ pendingUpdateSchemaConfig.tableConfigs.push(+ TableConfig.fromPartial({+ name: table,+ ...config,+ })+ );+ } else {+ pendingUpdateSchemaConfig.tableConfigs[tableIndex] = {+ ...pendingUpdateSchemaConfig.tableConfigs[tableIndex],+ ...config,+ };+ }++ const pendingUpdateDatabaseConfig = cloneDeep(databaseMetadata);+ const schemaIndex = pendingUpdateDatabaseConfig.schemaConfigs.findIndex(+ (config) => config.name === pendingUpdateSchemaConfig.name+ );+ if (schemaIndex < 0) {+ pendingUpdateDatabaseConfig.schemaConfigs.push(pendingUpdateSchemaConfig);+ } else {+ pendingUpdateDatabaseConfig.schemaConfigs[schemaIndex] =+ pendingUpdateSchemaConfig;+ }++ await dbSchemaV1Store.updateDatabaseSchemaConfigs(+ pendingUpdateDatabaseConfig+ );+ pushNotification({+ module: "bytebase",+ style: "SUCCESS",+ title: t("common.updated"),+ });+};diff --git a/frontend/src/components/DatabaseDetail/Settings/DatabaseSettingsPanel.vue b/frontend/src/components/DatabaseDetail/Settings/DatabaseSettingsPanel.vueindex d57ad4952f..f88651a54b 100644--- a/frontend/src/components/DatabaseDetail/Settings/DatabaseSettingsPanel.vue+++ b/frontend/src/components/DatabaseDetail/Settings/DatabaseSettingsPanel.vue@@ -1,16 +1,44 @@<template><div class="flex flex-col divide-y gap-y-7">- <div>- <p class="text-lg font-medium leading-7 text-main">- {{ $t("common.environment") }}- </p>- <EnvironmentSelect- class="mt-1 max-w-md"- :environment="environment?.uid"- :disabled="!allowUpdateDatabase"- :default-environment-name="database.instanceEntity.environment"- @update:environment="handleSelectEnvironmentUID"- />+ <div class="space-y-4">+ <div>+ <p class="text-lg font-medium leading-7 text-main">+ {{ $t("common.environment") }}+ </p>+ <EnvironmentSelect+ class="mt-1 max-w-md"+ :environment="environment?.uid"+ :disabled="!allowUpdateDatabase"+ :default-environment-name="database.instanceEntity.environment"+ @update:environment="handleSelectEnvironmentUID"+ />+ </div>+ <div+ v-if="+ supportClassificationFromCommentFeature(+ database.instanceEntity.engine+ )+ "+ >+ <p class="text-lg font-medium leading-7 text-main">+ {{ $t("database.classification.sync-from-comment") }}+ </p>+ <i18n-t+ class="textinfolabel"+ tag="div"+ keypath="database.classification.sync-from-comment-tip"+ >+ <template #format>+ <span class="font-semibold">{calssification id}-{comment}</span>+ </template>+ </i18n-t>+ <NSwitch+ class="mt-2"+ :value="!databaseMetadata.classificationFromConfig"+ :disabled="!allowUpdateDatabase"+ @update:value="onClassificationConfigChange"+ />+ </div></div><Labels:database="database"@@ -29,11 +57,14 @@<script setup lang="ts">import { cloneDeep } from "lodash-es";+import { NSwitch, useDialog } from "naive-ui";import { computed } from "vue";import { useI18n } from "vue-i18n";+import { supportClassificationFromCommentFeature } from "@/components/ColumnDataTable/utils";import { useDatabaseDetailContext } from "@/components/Database/context";import { EnvironmentSelect } from "@/components/v2";import {+ useDBSchemaV1Store,useDatabaseV1Store,useEnvironmentV1Store,pushNotification,@@ -48,12 +79,18 @@ const props = defineProps<{const databaseStore = useDatabaseV1Store();const envStore = useEnvironmentV1Store();+const dbSchemaV1Store = useDBSchemaV1Store();const { t } = useI18n();+const $dialog = useDialog();const environment = computed(() => {return envStore.getEnvironmentByName(props.database.effectiveEnvironment);});+const databaseMetadata = computed(() =>+ dbSchemaV1Store.getDatabaseMetadata(props.database.name)+);+const {allowUpdateDatabase,allowListSecrets,@@ -78,4 +115,31 @@ const handleSelectEnvironmentUID = async (uid?: string) => {title: t("common.updated"),});};++const onClassificationConfigChange = (on: boolean) => {+ const classificationFromConfig = !on;++ $dialog.warning({+ title: t("common.warning"),+ content: on+ ? t("database.classification.sync-from-comment-enable-warning")+ : t("database.classification.sync-from-comment-disable-warning"),+ style: "z-index: 100000",+ negativeText: t("common.cancel"),+ positiveText: t("common.confirm"),+ onPositiveClick: async () => {+ const pendingUpdateDatabaseConfig = cloneDeep(databaseMetadata.value);+ pendingUpdateDatabaseConfig.classificationFromConfig =+ classificationFromConfig;+ await dbSchemaV1Store.updateDatabaseSchemaConfigs(+ pendingUpdateDatabaseConfig+ );+ pushNotification({+ module: "bytebase",+ style: "SUCCESS",+ title: t("common.updated"),+ });+ },+ });+};</script>diff --git a/frontend/src/components/DatabaseDetail/Settings/components/Labels.vue b/frontend/src/components/DatabaseDetail/Settings/components/Labels.vueindex 145371cb6c..a74bd2c51a 100644--- a/frontend/src/components/DatabaseDetail/Settings/components/Labels.vue+++ b/frontend/src/components/DatabaseDetail/Settings/components/Labels.vue@@ -13,30 +13,23 @@<LabelListEditorref="labelListEditorRef"v-model:kv-list="state.kvList"- :readonly="state.mode === 'view'"+ :readonly="!allowEdit":show-errors="dirty"class="max-w-[30rem]"/></div>- <div class="flex flex-row justify-end items-center gap-x-3">- <template v-if="state.mode === 'view'">- <NButton :disabled="!allowEdit" @click="beginEdit">- {{ $t("common.edit") }}- </NButton>- </template>- <template v-if="state.mode === 'edit'">- <NButton @click="handleCancel">- {{ $t("common.cancel") }}- </NButton>- <NButton- :disabled="!allowSave || state.isUpdating"- :loading="state.isUpdating"- type="primary"- @click="handleSave"- >- {{ $t("common.save") }}- </NButton>- </template>+ <div v-if="dirty" class="flex flex-row justify-end items-center gap-x-3">+ <NButton @click="handleCancel">+ {{ $t("common.revert") }}+ </NButton>+ <NButton+ :disabled="!allowSave || state.isUpdating"+ :loading="state.isUpdating"+ type="primary"+ @click="handleSave"+ >+ {{ $t("common.save") }}+ </NButton></div></div></template>@@ -54,7 +47,6 @@ import { convertKVListToLabels, convertLabelsToKVList } from "@/utils";type LocalState = {kvList: { key: string; value: string }[];- mode: "view" | "edit";isUpdating: boolean;};@@ -67,7 +59,6 @@ const { t } = useI18n();const labelListEditorRef = ref<InstanceType<typeof LabelListEditor>>();const state = reactive<LocalState>({kvList: [],- mode: "view",isUpdating: false,});@@ -87,13 +78,8 @@ const allowSave = computed(() => {return errors.length === 0;});-const beginEdit = () => {- state.mode = "edit";-};-const handleCancel = () => {state.kvList = convert();- state.mode = "view";};const handleSave = async () => {@@ -117,20 +103,11 @@ const handleSave = async () => {style: "SUCCESS",title: t("common.updated"),});- state.mode = "view";} finally {state.isUpdating = false;}};-watch(- () => props.allowEdit,- () => {- state.mode = "view";- },- { immediate: true }-);-watch(() => props.database.labels,() => {diff --git a/frontend/src/components/GeneralSetting/BrandingSetting.vue b/frontend/src/components/GeneralSetting/BrandingSetting.vueindex 96abc6d44e..21d018403d 100644--- a/frontend/src/components/GeneralSetting/BrandingSetting.vue+++ b/frontend/src/components/GeneralSetting/BrandingSetting.vue@@ -58,42 +58,7 @@:support-file-extensions="supportImageExtensions":disabled="!allowEdit"@on-select="onLogoSelect"- >- <svg- class="mx-auto h-12 w-12 text-gray-400 pointer-events-none"- stroke="currentColor"- fill="none"- viewBox="0 0 48 48"- aria-hidden="true"- >- <path- d="M28 8H12a4 4 0 00-4 4v20m32-12v8m0 0v8a4 4 0 01-4 4H12a4 4 0 01-4-4v-4m32-4l-3.172-3.172a4 4 0 00-5.656 0L28 28M8 32l9.172-9.172a4 4 0 015.656 0L28 28m0 0l4 4m4-24h8m-4-4v8m-12 4h.02"- stroke-width="2"- stroke-linecap="round"- stroke-linejoin="round"- />- </svg>- <div- class="text-sm text-gray-600 inline-flex pointer-events-none"- >- <span- class="relative cursor-pointer rounded-md font-medium text-indigo-600 hover:text-indigo-500 focus-within:outline-none focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-indigo-500"- >- {{ $t("settings.general.workspace.select-logo") }}- </span>- <p class="pl-1">- {{ $t("settings.general.workspace.drag-logo") }}- </p>- </div>- <p class="text-xs text-gray-500 pointer-events-none">- {{- $t("settings.general.workspace.logo-upload-tip", {- extension: supportImageExtensions.join(", "),- size: maxFileSizeInMiB,- })- }}- </p>- </SingleFileSelector>+ /></div></template><span class="text-sm text-gray-400 -translate-y-2">diff --git a/frontend/src/components/ProvideDashboardContext.vue b/frontend/src/components/ProvideDashboardContext.vueindex a989fa0f84..52a174a55d 100644--- a/frontend/src/components/ProvideDashboardContext.vue+++ b/frontend/src/components/ProvideDashboardContext.vue@@ -3,7 +3,7 @@</template><script lang="ts" setup>-import { ref, onMounted } from "vue";+import { ref, onMounted, watchEffect } from "vue";import { useRoute, useRouter } from "vue-router";import {useEnvironmentV1Store,@@ -26,7 +26,7 @@ const isLoading = ref<boolean>(true);const policyStore = usePolicyV1Store();const databaseStore = useDatabaseV1Store();-const prepareDatabases = async () => {+watchEffect(async () => {const filters = [`instance = "instances/-"`];// If `projectId` is provided in the route, filter the database list by the project.if (route.params.projectId) {@@ -35,7 +35,7 @@ const prepareDatabases = async () => {await databaseStore.searchDatabases({filter: filters.join(" && "),});-};+});onMounted(async () => {await router.isReady();@@ -56,7 +56,7 @@ onMounted(async () => {useInstanceV1Store().fetchInstanceList(),useProjectV1Store().fetchProjectList(true /* showDeleted */),]);- await Promise.all([prepareDatabases(), useUIStateStore().restoreState()]);+ await Promise.all([useUIStateStore().restoreState()]);isLoading.value = false;});diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vueindex 245fee6868..6455847f9e 100644--- a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/TableColumnEditor.vue@@ -32,14 +32,6 @@@update:expression="handleSelectColumnDefaultValueExpression"/>- <SelectClassificationDrawer- v-if="classificationConfig && state.pendingUpdateColumn"- :show="state.showClassificationDrawer"- :classification-config="classificationConfig"- @dismiss="state.showClassificationDrawer = false"- @apply="onClassificationSelect"- />-<SemanticTypesDrawerv-if="state.pendingUpdateColumn":show="state.showSemanticTypesDrawer"@@ -70,7 +62,7 @@ import type { DataTableColumn, DataTableInst } from "naive-ui";import { NCheckbox, NDataTable } from "naive-ui";import { computed, h, reactive, ref } from "vue";import { useI18n } from "vue-i18n";-import SelectClassificationDrawer from "@/components/SchemaTemplate/SelectClassificationDrawer.vue";+import ClassificationCell from "@/components/ColumnDataTable/ClassificationCell.vue";import SemanticTypesDrawer from "@/components/SensitiveData/components/SemanticTypesDrawer.vue";import { InlineInput } from "@/components/v2";import { useSettingV1Store, useSubscriptionV1Store } from "@/store/modules";@@ -92,7 +84,6 @@ import type { DefaultValueOption } from "../../utils";import { getDefaultValueByKey, isTextOfColumnType } from "../../utils";import { markUUID } from "../common";import {- ClassificationCell,DataTypeCell,ForeignKeyCell,OperationCell,@@ -105,7 +96,6 @@ import LabelsCell from "./components/LabelsCell.vue";interface LocalState {pendingUpdateColumn?: ColumnMetadata;- showClassificationDrawer: boolean;showSemanticTypesDrawer: boolean;showLabelsDrawer: boolean;}@@ -170,13 +160,14 @@ const emit = defineEmits<{}>();const state = reactive<LocalState>({- showClassificationDrawer: false,showSemanticTypesDrawer: false,showLabelsDrawer: false,});const {- resourceType,+ classificationConfig,+ showClassificationColumn,+ showDatabaseConfigColumn,disableDiffColoring,selectionEnabled,markEditStatus,@@ -240,6 +231,7 @@ const markColumnStatus = (}markEditStatus(props.db, metadataForColumn(column), status);};+const configForColumn = (column: ColumnMetadata) => {return (getColumnConfig(props.db, metadataForColumn(column)) ??@@ -252,21 +244,14 @@ const configForColumn = (column: ColumnMetadata) => {const primaryKey = computed(() => {return props.table.indexes.find((idx) => idx.primary);});-const classificationConfig = computed(() => {- if (!props.classificationConfigId) {- return;- }- return settingStore.getProjectClassification(props.classificationConfigId);-});+const semanticTypeList = computed(() => {return (settingStore.getSettingByName("bb.workspace.semantic-types")?.value?.semanticTypeSettingValue?.types ?? []);});-const showDatabaseConfigColumn = computed(- () => resourceType.value === "branch"-);+const showSemanticTypeColumn = computed(() => {return (subscriptionV1Store.hasFeature("bb.feature.sensitive-data") &&@@ -274,6 +259,13 @@ const showSemanticTypeColumn = computed(() => {);});+const showClassification = computed(() => {+ return showClassificationColumn(+ props.engine,+ props.database.classificationFromConfig+ );+});+const columns = computed(() => {const columns: (DataTableColumn<ColumnMetadata> & { hide?: boolean })[] = [{@@ -376,22 +368,22 @@ const columns = computed(() => {{key: "classification",title: t("schema-editor.column.classification"),- hide: !classificationConfig.value,+ hide: !showClassification.value,resizable: true,minWidth: 140,maxWidth: 320,render: (column) => {+ const config = configForColumn(column);return h(ClassificationCell, {- classification: column.classification,+ classification: config.classificationId,readonly: props.readonly,disabled: props.disableChangeTable,classificationConfig:classificationConfig.value ??DataClassificationConfig.fromPartial({}),- onEdit: () => openClassificationDrawer(column),- onRemove: () => {- column.classification = "";- markColumnStatus(column, "updated");+ onApply: (id: string) => {+ state.pendingUpdateColumn = column;+ onClassificationSelect(id);},});},@@ -666,11 +658,6 @@ const handleSelectColumnDefaultValueExpression = (expression: string) => {markColumnStatus(column, "updated");};-const openClassificationDrawer = (column: ColumnMetadata) => {- state.pendingUpdateColumn = column;- state.showClassificationDrawer = true;-};-const openSemanticTypeDrawer = (column: ColumnMetadata) => {state.pendingUpdateColumn = column;state.showSemanticTypesDrawer = true;@@ -685,8 +672,11 @@ const onClassificationSelect = (classificationId: string) => {if (!state.pendingUpdateColumn) {return;}- state.pendingUpdateColumn.classification = classificationId;+markColumnStatus(state.pendingUpdateColumn, "updated");+ updateColumnConfig(state.pendingUpdateColumn, (config) => {+ config.classificationId = classificationId;+ });};const updateColumnConfig = (diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/index.ts b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/index.tsindex a63e8eb751..76148bac83 100644--- a/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/index.ts+++ b/frontend/src/components/SchemaEditorLite/Panels/TableColumnEditor/components/index.ts@@ -1,4 +1,3 @@-import ClassificationCell from "./ClassificationCell.vue";import DataTypeCell from "./DataTypeCell.vue";import DefaultValueCell from "./DefaultValueCell.vue";import ForeignKeyCell from "./ForeignKeyCell.vue";@@ -10,7 +9,6 @@ import SemanticTypeCell from "./SemanticTypeCell.vue";export {ReorderCell,SelectionCell,- ClassificationCell,DataTypeCell,DefaultValueCell,ForeignKeyCell,diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vue b/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vueindex 5d645fb75e..a76e07ef9d 100644--- a/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/TableList/TableList.vue@@ -39,14 +39,6 @@</DrawerContent></Drawer>- <SelectClassificationDrawer- v-if="classificationConfig"- :show="state.showClassificationDrawer"- :classification-config="classificationConfig"- @dismiss="state.showClassificationDrawer = false"- @apply="onClassificationSelect"- />-<FeatureModalfeature="bb.feature.schema-template":open="state.showFeatureModal"@@ -61,21 +53,21 @@ import type { DataTableColumn, DataTableInst } from "naive-ui";import { NCheckbox, NDataTable } from "naive-ui";import { computed, h, reactive, ref } from "vue";import { useI18n } from "vue-i18n";+import ClassificationCell from "@/components/ColumnDataTable/ClassificationCell.vue";import FeatureModal from "@/components/FeatureGuard/FeatureModal.vue";-import SelectClassificationDrawer from "@/components/SchemaTemplate/SelectClassificationDrawer.vue";import { Drawer, DrawerContent, InlineInput } from "@/components/v2";-import { hasFeature, useSettingV1Store } from "@/store";+import { hasFeature } from "@/store";import type { ComposedDatabase } from "@/types";import type {DatabaseMetadata,SchemaMetadata,TableMetadata,} from "@/types/proto/v1/database_service";+import { TableConfig } from "@/types/proto/v1/database_service";import type { SchemaTemplateSetting_TableTemplate } from "@/types/proto/v1/setting_service";import { DataClassificationSetting_DataClassificationConfig as DataClassificationConfig } from "@/types/proto/v1/setting_service";import TableTemplates from "@/views/SchemaTemplate/TableTemplates.vue";import { useSchemaEditorContext } from "../../context";-import ClassificationCell from "../TableColumnEditor/components/ClassificationCell.vue";import { markUUID } from "../common";import { SelectionCell, NameCell, OperationCell } from "./components";@@ -90,13 +82,11 @@ const props = defineProps<{interface LocalState {showFeatureModal: boolean;showSchemaTemplateDrawer: boolean;- showClassificationDrawer: boolean;activeTable?: TableMetadata;}const { t } = useI18n();const {- project,readonly,selectionEnabled,disableDiffColoring,@@ -104,11 +94,14 @@ const {markEditStatus,removeEditStatus,getSchemaStatus,+ getTableConfig,getTableStatus,upsertTableConfig,useConsumePendingScrollToTable,getAllTablesSelectionState,updateAllTablesSelection,+ showClassificationColumn,+ classificationConfig,} = useSchemaEditorContext();const dataTableRef = ref<DataTableInst>();const containerElRef = ref<HTMLElement>();@@ -125,11 +118,9 @@ const tableBodyHeight = computed(() => {});// Use this to avoid unnecessary initial renderingconst layoutReady = computed(() => tableHeaderHeight.value > 0);-const settingStore = useSettingV1Store();const state = reactive<LocalState>({showFeatureModal: false,showSchemaTemplateDrawer: false,- showClassificationDrawer: false,});const filteredTables = computed(() => {const keyword = props.searchPattern?.trim();@@ -141,24 +132,32 @@ const engine = computed(() => {return props.db.instanceEntity.engine;});-const classificationConfig = computed(() => {- if (!project.value.dataClassificationConfigId) {- return;- }- return settingStore.getProjectClassification(- project.value.dataClassificationConfigId+const configForTable = (table: TableMetadata) => {+ return (+ getTableConfig(props.db, { schema: props.schema, table }) ??+ TableConfig.fromPartial({+ name: table.name,+ }));-});--const showClassificationDrawer = (table: TableMetadata) => {- state.activeTable = table;- state.showClassificationDrawer = true;};+const showClassification = computed(() => {+ return showClassificationColumn(+ engine.value,+ props.database.classificationFromConfig+ );+});+const onClassificationSelect = (classificationId: string) => {const table = state.activeTable;if (!table) return;- table.classification = classificationId;++ upsertTableConfig(+ props.db,+ metadataForTable(table),+ (config) => (config.classificationId = classificationId)+ );+state.activeTable = undefined;markEditStatus(props.db, metadataForTable(table), "updated");};@@ -170,6 +169,7 @@ const metadataForTable = (table: TableMetadata) => {table,};};+const statusForTable = (table: TableMetadata) => {return getTableStatus(props.db, metadataForTable(table));};@@ -241,19 +241,19 @@ const columns = computed(() => {resizable: true,minWidth: 140,maxWidth: 320,- hide: !classificationConfig.value,+ hide: !showClassification.value,render: (table) => {+ const config = configForTable(table);return h(ClassificationCell, {- classification: table.classification,+ classification: config.classificationId,readonly: readonly.value,disabled: isDroppedSchema.value || isDroppedTable(table),classificationConfig:classificationConfig.value ??DataClassificationConfig.fromPartial({}),- onEdit: () => showClassificationDrawer(table),- onRemove: () => {- table.classification = "";- markEditStatus(props.db, metadataForTable(table), "updated");+ onApply: (id: string) => {+ state.activeTable = table;+ onClassificationSelect(id);},});},diff --git a/frontend/src/components/SchemaEditorLite/algorithm/apply-selected.ts b/frontend/src/components/SchemaEditorLite/algorithm/apply-selected.tsindex b5e399c395..e860b5a731 100644--- a/frontend/src/components/SchemaEditorLite/algorithm/apply-selected.ts+++ b/frontend/src/components/SchemaEditorLite/algorithm/apply-selected.ts@@ -89,10 +89,10 @@ export const useApplySelectedMetadataEdit = (context: SchemaEditorContext) => {schema: SchemaMetadata,table: TableMetadata,schemaConfig: SchemaConfig,- tableConfig: TableConfig | undefined+ tableConfig: TableConfig) => {const targetTableConfigMap = new Map(- tableConfig?.columnConfigs.map((cc) => [cc.name, cc])+ tableConfig.columnConfigs.map((cc) => [cc.name, cc]));const pickedColumns: ColumnMetadata[] = [];const pickedColumnConfigs: ColumnConfig[] = [];@@ -144,7 +144,7 @@ export const useApplySelectedMetadataEdit = (context: SchemaEditorContext) => {table.columns = pickedColumns;schemaConfig.tableConfigs.push(TableConfig.fromPartial({- name: table.name,+ ...tableConfig,columnConfigs: pickedColumnConfigs,}));@@ -175,9 +175,10 @@ export const useApplySelectedMetadataEdit = (context: SchemaEditorContext) => {} else {// Collect the edited tabletables.push(table);- const tableConfig = targetSchemaConfig?.tableConfigs.find(- (tc) => tc.name === table.name- );+ const tableConfig =+ targetSchemaConfig?.tableConfigs.find(+ (tc) => tc.name === table.name+ ) ?? TableConfig.fromPartial({ name: table.name });// apply column edits for picked table// Together with its tableConfig and columnConfigsapplyTableEdits(schema, table, schemaConfig, tableConfig);diff --git a/frontend/src/components/SchemaEditorLite/algorithm/utils.ts b/frontend/src/components/SchemaEditorLite/algorithm/utils.tsindex bc90e7b215..5cca711471 100644--- a/frontend/src/components/SchemaEditorLite/algorithm/utils.ts+++ b/frontend/src/components/SchemaEditorLite/algorithm/utils.ts@@ -57,7 +57,7 @@ export const cleanupUnusedConfigs = (metadata: DatabaseMetadata) => {});// Cleanup empty table configsschemaConfig.tableConfigs = schemaConfig.tableConfigs.filter(- (tc) => tc.columnConfigs.length > 0+ (tc) => tc.columnConfigs.length > 0 || tc.classificationId);};const cleanupSchemaConfigs = (metadata: DatabaseMetadata) => {diff --git a/frontend/src/components/SchemaEditorLite/context/index.ts b/frontend/src/components/SchemaEditorLite/context/index.tsindex bf5959582b..ee0578b7a4 100644--- a/frontend/src/components/SchemaEditorLite/context/index.ts+++ b/frontend/src/components/SchemaEditorLite/context/index.ts@@ -1,7 +1,10 @@import Emittery from "emittery";import type { Ref } from "vue";-import { inject, provide } from "vue";+import { inject, provide, computed } from "vue";+import { supportSetClassificationFromComment } from "@/components/ColumnDataTable/utils";+import { useSettingV1Store } from "@/store";import type { ComposedProject } from "@/types";+import { Engine } from "@/types/proto/v1/common";import type { RebuildMetadataEditReset } from "../algorithm/rebuild";import type { EditTarget, ResourceType, RolloutObject } from "../types";import { useEditConfigs } from "./config";@@ -30,6 +33,18 @@ export const provideSchemaEditorContext = (params: {disableDiffColoring: Ref<boolean>;}) => {const events = new Emittery() as SchemaEditorEvents;+ const showDatabaseConfigColumn = computed(+ () => params.resourceType.value === "branch"+ );+ const classificationConfig = computed(() => {+ if (!params.project.value.dataClassificationConfigId) {+ return;+ }+ return useSettingV1Store().getProjectClassification(+ params.project.value.dataClassificationConfigId+ );+ });+const context = {events,...params,@@ -38,6 +53,23 @@ export const provideSchemaEditorContext = (params: {...useEditConfigs(params.targets),...useScrollStatus(),...useSelection(params.selectedRolloutObjects, events),+ showDatabaseConfigColumn,+ classificationConfig,+ showClassificationColumn: (+ engine: Engine,+ classificationFromConfig: boolean+ ) => {+ if (!classificationConfig.value) {+ return false;+ }+ if (showDatabaseConfigColumn.value) {+ return true;+ }+ return supportSetClassificationFromComment(+ engine,+ classificationFromConfig+ );+ },};provide(KEY, context);diff --git a/frontend/src/components/SchemaEditorV1/Panels/TableColumnEditor/TableColumnEditor.vue b/frontend/src/components/SchemaEditorV1/Panels/TableColumnEditor/TableColumnEditor.vueindex 7faa6e6428..7d9dd31060 100644--- a/frontend/src/components/SchemaEditorV1/Panels/TableColumnEditor/TableColumnEditor.vue+++ b/frontend/src/components/SchemaEditorV1/Panels/TableColumnEditor/TableColumnEditor.vue@@ -29,14 +29,6 @@@update:expression="handleSelectColumnDefaultValueExpression"/>- <SelectClassificationDrawer- v-if="classificationConfig && state.pendingUpdateColumn"- :show="state.showClassificationDrawer"- :classification-config="classificationConfig"- @dismiss="state.showClassificationDrawer = false"- @apply="onClassificationSelect"- />-<SemanticTypesDrawerv-if="state.pendingUpdateColumn":show="state.showSemanticTypesDrawer"@@ -67,15 +59,11 @@ import type { DataTableColumn } from "naive-ui";import { NCheckbox, NDataTable } from "naive-ui";import { computed, h, reactive, ref } from "vue";import { useI18n } from "vue-i18n";+import ClassificationCell from "@/components/ColumnDataTable/ClassificationCell.vue";import LabelEditorDrawer from "@/components/LabelEditorDrawer.vue";-import SelectClassificationDrawer from "@/components/SchemaTemplate/SelectClassificationDrawer.vue";import SemanticTypesDrawer from "@/components/SensitiveData/components/SemanticTypesDrawer.vue";import { InlineInput } from "@/components/v2";-import {- useSettingV1Store,- useSubscriptionV1Store,- useSchemaEditorV1Store,-} from "@/store/modules";+import { useSettingV1Store, useSubscriptionV1Store } from "@/store/modules";import type { Engine } from "@/types/proto/v1/common";import { ColumnConfig } from "@/types/proto/v1/database_service";import { DataClassificationSetting_DataClassificationConfig as DataClassificationConfig } from "@/types/proto/v1/setting_service";@@ -86,7 +74,6 @@ import {isTextOfColumnType,} from "../../utils/columnDefaultValue";import {- ClassificationCell,DataTypeCell,ForeignKeyCell,OperationCell,@@ -98,7 +85,6 @@ import LabelsCell from "./components/LabelsCell.vue";interface LocalState {pendingUpdateColumn?: Column;- showClassificationDrawer: boolean;showSemanticTypesDrawer: boolean;showLabelsDrawer: boolean;}@@ -143,7 +129,6 @@ const emit = defineEmits<{}>();const state = reactive<LocalState>({- showClassificationDrawer: false,showSemanticTypesDrawer: false,showLabelsDrawer: false,});@@ -170,16 +155,8 @@ const layoutReady = computed(() => tableHeaderHeight.value > 0);const { t } = useI18n();const subscriptionV1Store = useSubscriptionV1Store();const settingStore = useSettingV1Store();-const schemaEditorV1Store = useSchemaEditorV1Store();const editColumnDefaultValueExpressionContext = ref<Column>();-const classificationConfig = computed(() => {- if (!props.classificationConfigId) {- return;- }- return settingStore.getProjectClassification(props.classificationConfigId);-});-const semanticTypeList = computed(() => {return (settingStore.getSettingByName("bb.workspace.semantic-types")?.value@@ -187,15 +164,15 @@ const semanticTypeList = computed(() => {);});-const showDatabaseConfigColumn = computed(- () => schemaEditorV1Store.resourceType === "branch"-);-const showSemanticTypeColumn = computed(() => {- return (- subscriptionV1Store.hasFeature("bb.feature.sensitive-data") &&- showDatabaseConfigColumn.value- );+ return subscriptionV1Store.hasFeature("bb.feature.sensitive-data");+});++const classificationConfig = computed(() => {+ if (!props.classificationConfigId) {+ return;+ }+ return settingStore.getProjectClassification(props.classificationConfigId);});const columns = computed(() => {@@ -221,7 +198,7 @@ const columns = computed(() => {key: "name",title: t("schema-editor.column.name"),resizable: true,- width: 140,+ width: 100,className: "input-cell",render: (column) => {return h(InlineInput, {@@ -263,14 +240,15 @@ const columns = computed(() => {width: 140,render: (column) => {return h(ClassificationCell, {- classification: column.classification,+ classification: column.config.classificationId,readonly: props.readonly,disabled: props.disableChangeTable,classificationConfig:classificationConfig.value ??DataClassificationConfig.fromPartial({}),- onEdit: () => openClassificationDrawer(column),- onRemove: () => (column.classification = ""),+ onApply: (id: string) => {+ column.config.classificationId = id;+ },});},},@@ -384,7 +362,6 @@ const columns = computed(() => {title: t("common.labels"),resizable: true,width: 140,- hide: !showDatabaseConfigColumn.value,render: (column) => {return h(LabelsCell, {column,@@ -491,11 +468,6 @@ const handleSelectColumnDefaultValueExpression = (expression: string) => {column.defaultExpression = expression;};-const openClassificationDrawer = (column: Column) => {- state.pendingUpdateColumn = column;- state.showClassificationDrawer = true;-};-const openSemanticTypeDrawer = (column: Column) => {state.pendingUpdateColumn = column;state.showSemanticTypesDrawer = true;@@ -506,13 +478,6 @@ const openLabelsDrawer = (column: Column) => {state.showLabelsDrawer = true;};-const onClassificationSelect = (classificationId: string) => {- if (!state.pendingUpdateColumn) {- return;- }- state.pendingUpdateColumn.classification = classificationId;-};-const onSemanticTypeApply = async (semanticTypeId: string) => {if (!state.pendingUpdateColumn) {return;diff --git a/frontend/src/components/SchemaEditorV1/Panels/TableColumnEditor/components/ClassificationCell.vue b/frontend/src/components/SchemaEditorV1/Panels/TableColumnEditor/components/ClassificationCell.vuedeleted file mode 100644index 1db4717909..0000000000--- a/frontend/src/components/SchemaEditorV1/Panels/TableColumnEditor/components/ClassificationCell.vue+++ /dev/null@@ -1,34 +0,0 @@-<template>- <div class="flex flex-row items-center">- <ClassificationLevelBadge- :classification="classification"- :classification-config="classificationConfig"- />- <template v-if="!readonly && !disabled">- <MiniActionButton v-if="classification" @click.prevent="$emit('remove')">- <XIcon class="w-3 h-3" />- </MiniActionButton>- <MiniActionButton @click.prevent="$emit('edit')">- <PencilIcon class="w-3 h-3" />- </MiniActionButton>- </template>- </div>-</template>--<script lang="ts" setup>-import { PencilIcon, XIcon } from "lucide-vue-next";-import ClassificationLevelBadge from "@/components/SchemaTemplate/ClassificationLevelBadge.vue";-import { MiniActionButton } from "@/components/v2";-import type { DataClassificationSetting_DataClassificationConfig as DataClassificationConfig } from "@/types/proto/v1/setting_service";--defineProps<{- classification?: string | undefined;- readonly?: boolean;- disabled?: boolean;- classificationConfig: DataClassificationConfig;-}>();-defineEmits<{- (event: "edit"): void;- (event: "remove"): void;-}>();-</script>diff --git a/frontend/src/components/SchemaEditorV1/Panels/TableColumnEditor/components/index.ts b/frontend/src/components/SchemaEditorV1/Panels/TableColumnEditor/components/index.tsindex 68c3da92c7..1c5993ab50 100644--- a/frontend/src/components/SchemaEditorV1/Panels/TableColumnEditor/components/index.ts+++ b/frontend/src/components/SchemaEditorV1/Panels/TableColumnEditor/components/index.ts@@ -1,4 +1,3 @@-import ClassificationCell from "./ClassificationCell.vue";import DataTypeCell from "./DataTypeCell.vue";import DefaultValueCell from "./DefaultValueCell.vue";import ForeignKeyCell from "./ForeignKeyCell.vue";@@ -8,7 +7,6 @@ import SemanticTypeCell from "./SemanticTypeCell.vue";export {ReorderCell,- ClassificationCell,DataTypeCell,DefaultValueCell,ForeignKeyCell,diff --git a/frontend/src/components/SchemaEditorV1/Panels/TableList/TableList.vue b/frontend/src/components/SchemaEditorV1/Panels/TableList/TableList.vueindex c15dfcd7a1..d6d2eb0401 100644--- a/frontend/src/components/SchemaEditorV1/Panels/TableList/TableList.vue+++ b/frontend/src/components/SchemaEditorV1/Panels/TableList/TableList.vue@@ -45,14 +45,6 @@</DrawerContent></Drawer>- <SelectClassificationDrawer- v-if="classificationConfig"- :show="state.showClassificationDrawer"- :classification-config="classificationConfig"- @dismiss="state.showClassificationDrawer = false"- @apply="onClassificationSelect"- />-<FeatureModalfeature="bb.feature.schema-template":open="state.showFeatureModal"@@ -66,8 +58,8 @@ import type { DataTableColumn } from "naive-ui";import { NDataTable } from "naive-ui";import { computed, h, reactive, ref } from "vue";import { useI18n } from "vue-i18n";+import ClassificationCell from "@/components/ColumnDataTable/ClassificationCell.vue";import FeatureModal from "@/components/FeatureGuard/FeatureModal.vue";-import SelectClassificationDrawer from "@/components/SchemaTemplate/SelectClassificationDrawer.vue";import { Drawer, DrawerContent } from "@/components/v2";import {hasFeature,@@ -86,7 +78,6 @@ import { bytesToString } from "@/utils";import TableTemplates from "@/views/SchemaTemplate/TableTemplates.vue";import TableNameModal from "../../Modals/TableNameModal.vue";import { isTableChanged } from "../../utils";-import ClassificationCell from "../TableColumnEditor/components/ClassificationCell.vue";import { NameCell, OperationCell } from "./components";const props = defineProps<{@@ -97,7 +88,6 @@ const props = defineProps<{interface LocalState {showFeatureModal: boolean;showSchemaTemplateDrawer: boolean;- showClassificationDrawer: boolean;tableNameModalContext?: {parentName: string;schemaId: string;@@ -129,7 +119,6 @@ const currentTab = computed(const state = reactive<LocalState>({showFeatureModal: false,showSchemaTemplateDrawer: false,- showClassificationDrawer: false,});const engine = computed(() => {@@ -153,11 +142,6 @@ const classificationConfig = computed(() => {);});-const showClassificationDrawer = (table: Table) => {- state.activeTableId = table.id;- state.showClassificationDrawer = true;-};-const onClassificationSelect = (classificationId: string) => {const table = tableList.value.find((table) => table.id === state.activeTableId@@ -165,7 +149,7 @@ const onClassificationSelect = (classificationId: string) => {if (!table) {return;}- table.classification = classificationId;+ table.config.classificationId = classificationId;state.activeTableId = undefined;};@@ -192,14 +176,16 @@ const columns = computed(() => {hide: !classificationConfig.value,render: (table) => {return h(ClassificationCell, {- classification: table.classification,+ classification: table.config.classificationId,readonly: readonly.value,disabled: !disableChangeTable(table),classificationConfig:classificationConfig.value ??DataClassificationConfig.fromPartial({}),- onEdit: () => showClassificationDrawer(table),- onRemove: () => (table.classification = ""),+ onApply: (id: string) => {+ state.activeTableId = table.id;+ onClassificationSelect(id);+ },});},},diff --git a/frontend/src/components/SchemaEditorV1/utils/columnDefaultValue.ts b/frontend/src/components/SchemaEditorV1/utils/columnDefaultValue.tsindex 335f2ae637..28a50c7c34 100644--- a/frontend/src/components/SchemaEditorV1/utils/columnDefaultValue.ts+++ b/frontend/src/components/SchemaEditorV1/utils/columnDefaultValue.ts@@ -1,5 +1,5 @@import type { DropdownOption } from "naive-ui";-import { useI18n } from "vue-i18n";+import { t } from "@/plugins/i18n";import { Engine } from "@/types/proto/v1/common";import type { ColumnDefaultValue } from "@/types/v1/schemaEditor";@@ -169,7 +169,6 @@ export const getColumnDefaultValueOptions = (engine: Engine,columnType: string): (DefaultValueOption & DropdownOption)[] => {- const { t } = useI18n();return getColumnTypeDefaultValueOptions(engine, columnType).map((option) => {return {...option,diff --git a/frontend/src/components/SchemaEditorV1/utils/metadata.ts b/frontend/src/components/SchemaEditorV1/utils/metadata.tsindex 47d180e8d1..4bb91c930c 100644--- a/frontend/src/components/SchemaEditorV1/utils/metadata.ts+++ b/frontend/src/components/SchemaEditorV1/utils/metadata.ts@@ -2,7 +2,6 @@ import { cloneDeep, isEqual, uniq } from "lodash-es";import type { DatabaseMetadata } from "@/types/proto/v1/database_service";import {ColumnMetadata,- ForeignKeyMetadata,IndexMetadata,SchemaMetadata,TableMetadata,@@ -21,276 +20,7 @@ import {convertSchemaMetadataToSchema,convertTableMetadataToTable,} from "@/types/v1/schemaEditor";-import { keyBy, randomString } from "@/utils";--export const mergeSchemaEditToMetadata = (- schemaEdits: Schema[],- metadata: DatabaseMetadata-): DatabaseMetadata => {- for (const schemaEdit of schemaEdits) {- if (schemaEdit.status === "created") {- // Remove schema if it exists.- metadata.schemas = metadata.schemas.filter(- (item) => item.name !== schemaEdit.name- );- metadata.schemas.push(transformSchemaEditToMetadata(schemaEdit));- } else if (schemaEdit.status === "dropped") {- metadata.schemas = metadata.schemas.filter(- (item) => item.name !== schemaEdit.name- );- } else {- const schema = metadata.schemas.find(- (item) => item.name === schemaEdit.name- );- if (!schema) {- metadata.schemas.push(transformSchemaEditToMetadata(schemaEdit));- continue;- }-- for (const tableEdit of schemaEdit.tableList) {- if (tableEdit.status === "created") {- // Remove table if it exists.- schema.tables = schema.tables.filter(- (item) => item.name !== tableEdit.name- );- schema.tables.push(transformTableEditToMetadata(tableEdit));- } else if (tableEdit.status === "dropped") {- schema.tables = schema.tables.filter(- (item) => item.name !== tableEdit.name- );- } else {- const table = schema.tables.find(- (item) => item.name === tableEdit.name- );- if (!table) {- schema.tables.push(transformTableEditToMetadata(tableEdit));- continue;- }-- for (const columnEdit of tableEdit.columnList) {- if (columnEdit.status === "created") {- // Remove column if it exists.- table.columns = table.columns.filter(- (item) => item.name !== columnEdit.name- );- table.columns.push(transformColumnEditToMetadata(columnEdit));- } else if (columnEdit.status === "dropped") {- table.columns = table.columns.filter(- (item) => item.name !== columnEdit.name- );- } else {- const column = table.columns.find(- (item) => item.name === columnEdit.name- );- if (!column) {- table.columns.push(transformColumnEditToMetadata(columnEdit));- continue;- }-- column.type = columnEdit.type;- column.nullable = columnEdit.nullable;- column.comment = columnEdit.comment;- column.userComment = columnEdit.userComment;- column.classification = columnEdit.classification ?? "";- column.hasDefault = columnEdit.hasDefault;- column.defaultNull = columnEdit.defaultNull;- column.defaultString = columnEdit.defaultString;- column.defaultExpression = columnEdit.defaultExpression;- }- }- for (const column of table.columns) {- const columnEdit = tableEdit.columnList.find(- (item) => item.name === column.name- );- if (!columnEdit) {- table.columns = table.columns.filter(- (item) => item.name !== column.name- );- }- }- if (tableEdit.primaryKey.columnIdList.length > 0) {- const hasPrimaryKey =- table.indexes.find((index) => index.primary) !== undefined;- const primaryIndex =- table.indexes.find((index) => index.primary) ||- IndexMetadata.fromPartial({- // TODO: Maybe we should let user to specify the index name.- name: tableEdit.primaryKey.name || `pk_${tableEdit.name}`,- primary: true,- expressions: [],- });- for (const columnId of tableEdit.primaryKey.columnIdList) {- const column = tableEdit.columnList.find(- (column) => column.id === columnId- );- if (column) {- primaryIndex.expressions.push(column.name);- }- }- primaryIndex.expressions = uniq(primaryIndex.expressions);- if (!hasPrimaryKey) {- table.indexes.push(primaryIndex);- }- } else {- table.indexes = table.indexes.filter((index) => !index.primary);- }- table.comment = tableEdit.comment;- table.userComment = tableEdit.userComment;- table.classification = tableEdit.classification || "";- }- }-- for (const table of schema.tables) {- const tableEdit = schemaEdit.tableList.find(- (item) => item.name === table.name- );- if (!tableEdit) {- schema.tables = schema.tables.filter(- (item) => item.name !== table.name- );- }- }- }- }-- for (const schema of metadata.schemas) {- const schemaEdit = schemaEdits.find((item) => item.name === schema.name);- if (!schemaEdit) {- metadata.schemas = metadata.schemas.filter(- (item) => item.name !== schema.name- );- continue;- }-- // Build foreign keys.- for (const tableEdit of schemaEdit?.tableList ?? []) {- for (const foreignKey of tableEdit.foreignKeyList) {- const schema = metadata.schemas.find(- (schema) => schema.name === schemaEdit.name- );- if (!schema) {- continue;- }- const tableEdit = schemaEdit.tableList.find(- (table) => table.id === foreignKey.tableId- );- const table = schema.tables.find(- (table) => table.name === tableEdit?.name- );- if (!tableEdit || !table) {- continue;- }- const referencedSchema = metadata.schemas.find(- (schema) =>- schema.name ===- schemaEdits.find(- (schemaEdit) => schemaEdit.id === foreignKey.referencedSchemaId- )?.name- );- if (!referencedSchema) {- continue;- }- const referencedTableEdit = schemaEdits- .find((schemaEdit) => schemaEdit.id === foreignKey.referencedSchemaId)- ?.tableList.find(- (table) => table.id === foreignKey.referencedTableId- );- const referencedTable = referencedSchema.tables.find(- (table) => table.name === referencedTableEdit?.name- );- if (!referencedTableEdit || !referencedTable) {- continue;- }-- const foreignKeyName = foreignKey.name- ? foreignKey.name- : `${table.name}-fk-${randomString(8).toLowerCase()}`;- const fk = ForeignKeyMetadata.fromPartial({- name: foreignKeyName,- referencedSchema: referencedSchema.name,- referencedTable: referencedTable.name,- });- if (table.foreignKeys.find((fk) => fk.name === foreignKeyName)) {- continue;- }- if (- foreignKey.columnIdList.length !==- foreignKey.referencedColumnIdList.length- ) {- continue;- }- for (const columnId of foreignKey.columnIdList) {- const column = tableEdit.columnList.find(- (column) => column.id === columnId- );- if (column) {- fk.columns.push(column.name);- }- }- for (const columnId of foreignKey.referencedColumnIdList) {- const column = referencedTableEdit.columnList.find(- (column) => column.id === columnId- );- if (column) {- fk.referencedColumns.push(column.name);- }- }- table.foreignKeys.push(fk);- }- }- }-- metadata.schemaConfigs = schemaEdits.map((schema) =>- SchemaConfig.fromPartial({- name: schema.name,- tableConfigs: schema.tableList.map((table) =>- TableConfig.fromPartial({- name: table.name,- columnConfigs: table.columnList.map((column) =>- ColumnConfig.fromPartial({- ...column.config,- name: column.name,- })- ),- })- ),- })- );-- return metadata;-};--export const initialSchemaConfigToMetadata = (metadata: DatabaseMetadata) => {- metadata.schemaConfigs = metadata.schemas.map((schema) =>- SchemaConfig.fromPartial({- name: schema.name,- tableConfigs: schema.tables.map((table) =>- TableConfig.fromPartial({- name: table.name,- columnConfigs: table.columns.map((column) =>- ColumnConfig.fromPartial({- name: column.name,- })- ),- })- ),- })- );-};--const transformSchemaEditToMetadata = (schemaEdit: Schema): SchemaMetadata => {- const schemaMetadata = SchemaMetadata.fromPartial({- name: schemaEdit.name,- tables: [],- });-- for (const table of schemaEdit.tableList) {- const tableMetadata = transformTableEditToMetadata(table);- schemaMetadata.tables.push(tableMetadata);- }-- return schemaMetadata;-};+import { keyBy } from "@/utils";export const transformTableEditToMetadata = (tableEdit: Table@@ -302,24 +32,10 @@ export const transformTableEditToMetadata = (foreignKeys: [],comment: tableEdit.comment,userComment: tableEdit.userComment,- classification: tableEdit.classification,});for (const column of tableEdit.columnList) {- tableMetadata.columns.push(- ColumnMetadata.fromPartial({- name: column.name,- type: column.type,- nullable: column.nullable,- hasDefault: column.hasDefault,- defaultNull: column.defaultNull,- defaultString: column.defaultString,- defaultExpression: column.defaultExpression,- comment: column.comment,- userComment: column.userComment,- classification: column.classification,- })- );+ tableMetadata.columns.push(transformColumnEditToMetadata(column));}if (tableEdit.primaryKey.columnIdList.length > 0) {@@ -356,7 +72,6 @@ const transformColumnEditToMetadata = (columnEdit: Column): ColumnMetadata => {defaultExpression: columnEdit.defaultExpression,comment: columnEdit.comment,userComment: columnEdit.userComment,- classification: columnEdit.classification,});};@@ -400,17 +115,16 @@ export const rebuildEditableSchemas = (}editableTable.userComment = table.userComment;- editableTable.classification = table.classification;editableTable.comment = table.comment;- const tableConfig =+ editableTable.config =schemaConfig.tableConfigs.find((tableConfig) => tableConfig.name === editableTable.name- ) ?? TableConfig.fromPartial({});+ ) ?? TableConfig.fromPartial({ name: editableTable.name });for (const editableColumn of editableTable.columnList) {editableColumn.config =- tableConfig.columnConfigs.find(+ editableTable.config.columnConfigs.find((columnConfig) => columnConfig.name === editableColumn.name) ?? ColumnConfig.fromPartial({ name: editableColumn.name });@@ -429,7 +143,6 @@ export const rebuildEditableSchemas = (editableColumn.nullable = column.nullable;editableColumn.comment = column.comment;editableColumn.userComment = column.userComment;- editableColumn.classification = column.classification;editableColumn.hasDefault = column.hasDefault;editableColumn.defaultNull = column.defaultNull;editableColumn.defaultString = column.defaultString;@@ -444,7 +157,7 @@ export const rebuildEditableSchemas = (const newColumn = convertColumnMetadataToColumn(column,"created",- tableConfig.columnConfigs.find(+ editableTable.config.columnConfigs.find((columnConfig) => columnConfig.name === column.name));diff --git a/frontend/src/components/SchemaTemplate/ClassificationLevelBadge.vue b/frontend/src/components/SchemaTemplate/ClassificationLevelBadge.vueindex fe44df50c4..44b4d2de7a 100644--- a/frontend/src/components/SchemaTemplate/ClassificationLevelBadge.vue+++ b/frontend/src/components/SchemaTemplate/ClassificationLevelBadge.vue@@ -2,7 +2,7 @@<NPerformantEllipsis v-if="showText" :line-clamp="1">{{ columnClassification?.title || classification || placeholder }}</NPerformantEllipsis>- <span v-if="level" :class="['px-1 py-0.5 rounded text-xs', levelColor]">+ <span v-if="level" :class="['ml-1 px-1 py-0.5 rounded text-xs', levelColor]">{{ level.title }}</span></template>diff --git a/frontend/src/components/SchemaTemplate/FieldTemplateForm.vue b/frontend/src/components/SchemaTemplate/FieldTemplateForm.vueindex 8720983d37..79ae3173ee 100644--- a/frontend/src/components/SchemaTemplate/FieldTemplateForm.vue+++ b/frontend/src/components/SchemaTemplate/FieldTemplateForm.vue@@ -77,13 +77,13 @@</label><div class="flex items-center gap-x-2 mt-3"><ClassificationLevelBadge- :classification="state.column?.classification"+ :classification="state.config?.classificationId":classification-config="classificationConfig"/><div v-if="!readonly" class="flex items-center"><MiniActionButton- v-if="state.column?.classification"- @click.prevent="state.column!.classification = ''"+ v-if="state.config?.classificationId"+ @click.prevent="state.config!.classificationId = ''"><XIcon class="w-4 h-4" /></MiniActionButton>@@ -452,10 +452,10 @@ const submit = async () => {};const onClassificationSelect = (id: string) => {- if (!state.column) {+ if (!state.config) {return;}- state.column.classification = id;+ state.config.classificationId = id;};const handleColumnDefaultChange = (key: string) => {diff --git a/frontend/src/components/SchemaTemplate/FieldTemplateTable.vue b/frontend/src/components/SchemaTemplate/FieldTemplateTable.vueindex 5482d151af..3dffef3ec8 100644--- a/frontend/src/components/SchemaTemplate/FieldTemplateTable.vue+++ b/frontend/src/components/SchemaTemplate/FieldTemplateTable.vue@@ -16,7 +16,7 @@</div><div v-if="classificationConfig" class="bb-grid-cell flex gap-x-1"><ClassificationLevelBadge- :classification="item.column?.classification"+ :classification="item.config?.classificationId":classification-config="classificationConfig"/></div>@@ -26,9 +26,6 @@<div class="bb-grid-cell">{{ getColumnDefaultValuePlaceholder(item.column!) }}</div>- <div class="bb-grid-cell">- {{ item.column?.onUpdate }}- </div><div class="bb-grid-cell">{{ item.column?.userComment }}</div>@@ -117,11 +114,6 @@ const columnList = computed((): BBGridColumn[] => {width: "minmax(min-content, auto)",class: "capitalize",},- {- title: t("schema-template.form.on-update"),- width: "minmax(min-content, auto)",- class: "capitalize",- },{title: t("schema-template.form.comment"),width: "minmax(min-content, auto)",diff --git a/frontend/src/components/SchemaTemplate/TableTemplateForm.vue b/frontend/src/components/SchemaTemplate/TableTemplateForm.vueindex d785875978..a837354b4e 100644--- a/frontend/src/components/SchemaTemplate/TableTemplateForm.vue+++ b/frontend/src/components/SchemaTemplate/TableTemplateForm.vue@@ -1,8 +1,6 @@<template><DrawerContent :title="$t('schema-template.table-template.self')">- <div- class="space-y-6 divide-y divide-block-border w-[calc(100vw-256px)] !max-w-[60rem]"- >+ <div class="space-y-6 divide-y divide-block-border w-[calc(100vw-256px)]"><div class="space-y-6"><!-- category --><div class="sm:col-span-2 sm:col-start-1">@@ -42,13 +40,13 @@</label><div class="flex items-center gap-x-2 mt-1"><ClassificationLevelBadge- :classification="state.table?.classification"+ :classification="state.table?.config.classificationId":classification-config="classificationConfig"/><div v-if="!readonly" class="flex"><MiniActionButton- v-if="state.table?.classification"- @click.prevent="state.table!.classification = ''"+ v-if="state.table?.config.classificationId"+ @click.prevent="state.table!.config.classificationId = ''"><XIcon class="w-4 h-4" /></MiniActionButton>@@ -276,8 +274,12 @@ const onSubmit = async () => {category: state.category,table: transformTableEditToMetadata(state.table),config: TableConfig.fromPartial({+ ...state.table.config,name: state.table.name,- columnConfigs: state.table.columnList.map((col) => col.config),+ columnConfigs: state.table.columnList.map((col) => ({+ ...col.config,+ name: col.name,+ })),}),};const setting = await settingStore.fetchSettingByName(@@ -372,7 +374,7 @@ const handleApplyColumnTemplate = (};const onClassificationSelect = (id: string) => {- state.table.classification = id;+ state.table.config.classificationId = id;};const handleReorderColumn = (column: Column, index: number, delta: -1 | 1) => {diff --git a/frontend/src/components/SchemaTemplate/TableTemplateTable.vue b/frontend/src/components/SchemaTemplate/TableTemplateTable.vueindex 4ba68cae1f..9652d98290 100644--- a/frontend/src/components/SchemaTemplate/TableTemplateTable.vue+++ b/frontend/src/components/SchemaTemplate/TableTemplateTable.vue@@ -16,7 +16,7 @@</div><div v-if="classificationConfig" class="bb-grid-cell flex gap-x-1"><ClassificationLevelBadge- :classification="item.table?.classification"+ :classification="item.config?.classificationId":classification-config="classificationConfig"/></div>diff --git a/frontend/src/components/SensitiveData/ClassificationView.vue b/frontend/src/components/SensitiveData/ClassificationView.vueindex a45c4184ca..2dae1407b2 100644--- a/frontend/src/components/SensitiveData/ClassificationView.vue+++ b/frontend/src/components/SensitiveData/ClassificationView.vue@@ -26,7 +26,25 @@{{ $t("settings.sensitive-data.classification.view-example") }}</span></div>- <NoDataPlaceholder v-if="settingStore.classification.length === 0" />+ <div+ v-if="settingStore.classification.length === 0"+ class="flex justify-center border-2 border-gray-300 border-dashed rounded-md relative h-72"+ >+ <SingleFileSelector+ class="space-y-1 text-center flex flex-col justify-center items-center absolute top-0 bottom-0 left-0 right-0"+ :support-file-extensions="['.json']"+ :max-file-size-in-mi-b="maxFileSizeInMiB"+ :disabled="!hasPermission || !hasSensitiveDataFeature"+ @on-select="onFileSelect"+ >+ <template #image>+ <NoDataPlaceholder+ :border="false"+ :img-attrs="{ class: '!max-h-[10vh]' }"+ />+ </template>+ </SingleFileSelector>+ </div><div v-else class="h-full"><ClassificationTree:classification-config="settingStore.classification[0]"@@ -68,6 +86,7 @@ import { DataClassificationSetting_DataClassificationConfig } from "@/types/protimport { hasWorkspacePermissionV2 } from "@/utils";const uploader = ref<HTMLInputElement | null>(null);+const maxFileSizeInMiB = 10;interface UploadClassificationConfig {title: string;@@ -136,7 +155,20 @@ const onFileChange = () => {return;}const file = files[0];+ if (file.size > maxFileSizeInMiB * 1024 * 1024) {+ pushNotification({+ module: "bytebase",+ style: "CRITICAL",+ title: t("common.file-selector.size-limit", {+ size: maxFileSizeInMiB,+ }),+ });+ return;+ }+ onFileSelect(file);+};+const onFileSelect = (file: File) => {const fr = new FileReader();fr.onload = () => {if (!fr.result) {diff --git a/frontend/src/components/SingleFileSelector.vue b/frontend/src/components/SingleFileSelector.vueindex 1a71f3b83d..e86c4d5da5 100644--- a/frontend/src/components/SingleFileSelector.vue+++ b/frontend/src/components/SingleFileSelector.vue@@ -20,7 +20,42 @@:disabled="disabled"@input="onFileChange"/>- <slot></slot>+ <slot>+ <slot name="image">+ <svg+ class="mx-auto h-12 w-12 text-gray-400 pointer-events-none"+ stroke="currentColor"+ fill="none"+ viewBox="0 0 48 48"+ aria-hidden="true"+ >+ <path+ d="M28 8H12a4 4 0 00-4 4v20m32-12v8m0 0v8a4 4 0 01-4 4H12a4 4 0 01-4-4v-4m32-4l-3.172-3.172a4 4 0 00-5.656 0L28 28M8 32l9.172-9.172a4 4 0 015.656 0L28 28m0 0l4 4m4-24h8m-4-4v8m-12 4h.02"+ stroke-width="2"+ stroke-linecap="round"+ stroke-linejoin="round"+ />+ </svg>+ </slot>+ <div class="text-sm text-gray-600 inline-flex pointer-events-none">+ <span+ class="relative cursor-pointer rounded-md font-medium text-indigo-600 hover:text-indigo-500 focus-within:outline-none focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-indigo-500"+ >+ {{ $t("settings.general.workspace.select-logo") }}+ </span>+ <p class="pl-1">+ {{ $t("settings.general.workspace.drag-logo") }}+ </p>+ </div>+ <p class="text-xs text-gray-500 pointer-events-none">+ {{+ $t("settings.general.workspace.logo-upload-tip", {+ extension: supportFileExtensions.join(", "),+ size: maxFileSizeInMiB,+ })+ }}+ </p>+ </slot></div></template>diff --git a/frontend/src/components/TableDataTable.vue b/frontend/src/components/TableDataTable.vueindex 3dca3f8784..c65c4369a5 100644--- a/frontend/src/components/TableDataTable.vue+++ b/frontend/src/components/TableDataTable.vue@@ -26,11 +26,16 @@ import type { PropType } from "vue";import { computed, reactive, onMounted, h, watch } from "vue";import { useI18n } from "vue-i18n";import { useRoute, useRouter } from "vue-router";-import ClassificationLevelBadge from "@/components/SchemaTemplate/ClassificationLevelBadge.vue";-import { useSettingV1Store } from "@/store/modules";+import ClassificationCell from "@/components/ColumnDataTable/ClassificationCell.vue";+import {+ updateTableConfig,+ supportSetClassificationFromComment,+} from "@/components/ColumnDataTable/utils";+import { useSettingV1Store, useDBSchemaV1Store } from "@/store/modules";import type { ComposedDatabase } from "@/types";import { Engine } from "@/types/proto/v1/common";import type { TableMetadata } from "@/types/proto/v1/database_service";+import { DataClassificationSetting_DataClassificationConfig as DataClassificationConfig } from "@/types/proto/v1/setting_service";import { bytesToString, isGhostTable } from "@/utils";import TableDetailDrawer from "./TableDetailDrawer.vue";@@ -62,6 +67,7 @@ const route = useRoute();const router = useRouter();const state = reactive<LocalState>({});const settingStore = useSettingV1Store();+const dbSchemaStore = useDBSchemaV1Store();onMounted(() => {const table = route.query.table as string;@@ -104,13 +110,21 @@ const hasSchemaProperty = computed(() => {);});+const databaseSchemaMetadata = computed(() => {+ return dbSchemaStore.getDatabaseMetadata(props.database.name);+});+const hasClassificationProperty = computed(() => {- return (- (engine.value === Engine.MYSQL || engine.value === Engine.POSTGRES) &&- classificationConfig.value- );+ return !!classificationConfig.value;});+const setClassificationFromComment = computed(() =>+ supportSetClassificationFromComment(+ engine.value,+ databaseSchemaMetadata.value.classificationFromConfig+ )+);+const hasEngineProperty = computed(() => {return !isPostgres.value;});@@ -157,10 +171,21 @@ const columns = computed(() => {key: "classification",title: t("database.classification.self"),hide: !hasClassificationProperty.value,+ resizable: true,+ minWidth: 140,render: (table) => {- return h(ClassificationLevelBadge, {- classification: table.classification,- classificationConfig: classificationConfig.value,+ const tableConfig = dbSchemaStore.getTableConfig(+ props.database.name,+ props.schemaName,+ table.name+ );+ return h(ClassificationCell, {+ classification: tableConfig.classificationId,+ classificationConfig:+ classificationConfig.value ??+ DataClassificationConfig.fromPartial({}),+ readonly: setClassificationFromComment.value,+ onApply: (id: string) => onClassificationIdApply(table.name, id),});},},@@ -233,4 +258,13 @@ const mixedTableList = computed(() => {}return tableList;});++const onClassificationIdApply = async (+ table: string,+ classificationId: string+) => {+ await updateTableConfig(props.database.name, props.schemaName, table, {+ classificationId,+ });+};</script>diff --git a/frontend/src/components/TableDetailDrawer.vue b/frontend/src/components/TableDetailDrawer.vueindex 82d254cfdf..b45fa1c454 100644--- a/frontend/src/components/TableDetailDrawer.vue+++ b/frontend/src/components/TableDetailDrawer.vue@@ -114,7 +114,7 @@<dt class="text-sm font-medium text-control-light">{{ $t("database.engine") }}</dt>- <dd class="mt-1 text-sm text-main">+ <dd class="mt-1 text-semibold">{{ table.engine }}</dd></div>@@ -123,9 +123,9 @@<dt class="text-sm font-medium text-control-light">{{ $t("database.classification.self") }}</dt>- <dd class="mt-1 text-lg sm:text-xl font-semibold">+ <dd class="mt-1 font-semibold"><ClassificationLevelBadge- :classification="table.classification"+ :classification="tableConfig.classificationId":classification-config="classificationConfig"placeholder="-"/>@@ -136,7 +136,7 @@<dt class="text-sm font-medium text-control-light">{{ $t("database.row-count-estimate") }}</dt>- <dd class="mt-1 text-sm text-main">+ <dd class="mt-1 text-semibold">{{ table.rowCount }}</dd></div>@@ -145,7 +145,7 @@<dt class="text-sm font-medium text-control-light">{{ $t("database.data-size") }}</dt>- <dd class="mt-1 text-sm text-main">+ <dd class="mt-1 text-semibold">{{ bytesToString(table.dataSize.toNumber()) }}</dd></div>@@ -154,7 +154,7 @@<dt class="text-sm font-medium text-control-light">{{ $t("database.index-size") }}</dt>- <dd class="mt-1 text-sm text-main">+ <dd class="mt-1 text-semibold">{{ bytesToString(table.indexSize.toNumber()) }}</dd></div>@@ -164,7 +164,7 @@<dt class="text-sm font-medium text-control-light">{{ $t("db.collation") }}</dt>- <dd class="mt-1 text-sm text-main">+ <dd class="mt-1 text-semibold">{{ table.collation }}</dd></div>@@ -308,6 +308,14 @@ const table = computedAsync(});+const tableConfig = computed(() =>+ dbSchemaStore.getTableConfig(+ props.databaseName,+ props.schemaName,+ props.tableName+ )+);+const database = computed(() => {return databaseV1Store.getDatabaseByName(props.databaseName);});diff --git a/frontend/src/components/misc/NoDataPlaceholder.vue b/frontend/src/components/misc/NoDataPlaceholder.vueindex 169c74d716..a8c1daab57 100644--- a/frontend/src/components/misc/NoDataPlaceholder.vue+++ b/frontend/src/components/misc/NoDataPlaceholder.vue@@ -1,6 +1,9 @@<template><div- class="border-4 border-dashed border-gray-200 rounded-lg flex flex-col justify-center items-center p-4"+ :class="[+ 'flex flex-col justify-center items-center p-4',+ border ? 'border-4 border-dashed border-gray-200 rounded-lg' : '',+ ]"><div class="text-center flex flex-col justify-center items-center"><slot name="image">@@ -18,7 +21,14 @@<script lang="ts" setup>import type { HTMLAttributes } from "vue";-defineProps<{- imgAttrs?: HTMLAttributes;-}>();+withDefaults(+ defineProps<{+ imgAttrs?: HTMLAttributes;+ border?: boolean;+ }>(),+ {+ imgAttrs: undefined,+ border: true,+ }+);</script>diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex e0aaa76728..630845f763 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -1752,7 +1752,11 @@"transfer-database-to": "Transfer databases to target project","transfer-database-from-to": "Transfer database from source project to target project","classification": {- "self": "Classification"+ "self": "Classification",+ "sync-from-comment": "Sync classification from comment",+ "sync-from-comment-tip": "Once enabled, the classification will sync from the table/column comment. The comment should follow \"{format}\" format.",+ "sync-from-comment-enable-warning": "Classification will change with the DDL and sync from the original comment.",+ "sync-from-comment-disable-warning": "Classification won't change with the DDL, you can change it anytime on the database detail page."},"recent": "Recent","partitioned": "Partitioned",diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex eb1f2dbff9..e5af3960cb 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -1752,7 +1752,11 @@"transfer-database-to": "Transferir bases de datos al proyecto de destino","transfer-database-from-to": "Transferir la base de datos del proyecto de origen al proyecto de destino","classification": {- "self": "Clasificación"+ "self": "Clasificación",+ "sync-from-comment": "Sincronizar clasificación desde comentario",+ "sync-from-comment-tip": "Una vez habilitada, la clasificación se sincronizará desde el comentario de tabla/columna. El comentario debe seguir el formato \"{format}\".",+ "sync-from-comment-enable-warning": "La clasificación cambiará con el DDL y se sincronizará con el comentario original.",+ "sync-from-comment-disable-warning": "La clasificación no cambiará con el DDL; puede cambiarla en cualquier momento en la página de detalles de la base de datos."},"recent": "Reciente","partitioned": "Particionado",diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.jsonindex 7ccfaec4f9..dd0c5c4c2c 100644--- a/frontend/src/locales/ja-JP.json+++ b/frontend/src/locales/ja-JP.json@@ -1752,7 +1752,11 @@"transfer-database-to": "データベースをターゲットプロジェクトに転送します","transfer-database-from-to": "データベースをソース プロジェクトからターゲット プロジェクトに転送する","classification": {- "self": "分類と格付け"+ "self": "分類と格付け",+ "sync-from-comment": "コメントからカテゴリと評価を同期する",+ "sync-from-comment-tip": "有効にすると、分類評価がテーブルまたは列のコメントから同期されます。コメントは「{format}」形式に従う必要があります。",+ "sync-from-comment-enable-warning": "分類評価は DDL とともに変更され、元の注釈と同期されます。",+ "sync-from-comment-disable-warning": "分類評価は DDL によって変更されません。データベースの詳細ページでいつでも変更できます。"},"recent": "最近の訪問","partitioned": "パーティション",diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.jsonindex cacd0d4624..c1465886df 100644--- a/frontend/src/locales/vi-VN.json+++ b/frontend/src/locales/vi-VN.json@@ -1752,7 +1752,11 @@"transfer-database-to": "Chuyển cơ sở dữ liệu đến dự án mục tiêu","transfer-database-from-to": "Chuyển cơ sở dữ liệu từ dự án nguồn sang dự án đích","classification": {- "self": "Phân loại"+ "self": "Phân loại",+ "sync-from-comment": "Đồng bộ hóa phân loại từ nhận xét",+ "sync-from-comment-tip": "Sau khi được bật, phân loại sẽ đồng bộ hóa từ nhận xét bảng/cột. Nhận xét phải theo định dạng \"{format}\".",+ "sync-from-comment-enable-warning": "Việc phân loại sẽ thay đổi theo DDL và đồng bộ hóa với nhận xét ban đầu.",+ "sync-from-comment-disable-warning": "Phân loại sẽ không thay đổi với DDL, bạn có thể thay đổi bất cứ lúc nào trên trang chi tiết cơ sở dữ liệu."},"recent": "Gần đây","partitioned": "Đã phân vùng",diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex 16cf053b17..e5cdc49c9e 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -1752,7 +1752,11 @@"transfer-database-to": "将数据库转移到目标项目","transfer-database-from-to": "将数据库从源项目转移到目标项目","classification": {- "self": "分类分级"+ "self": "分类分级",+ "sync-from-comment": "从评论中同步分类分级",+ "sync-from-comment-tip": "启用后,分类分级将从表或列的注释同步。注释应遵循“{format}”格式。",+ "sync-from-comment-enable-warning": "分类分级将随着 DDL 而改变,并与原始注释同步。",+ "sync-from-comment-disable-warning": "分类分级不会随着DDL而改变,您可以在数据库详细信息页面上随时更改它。"},"recent": "最近访问","partitioned": "分区",diff --git a/frontend/src/store/modules/v1/dbSchema.ts b/frontend/src/store/modules/v1/dbSchema.tsindex 961c7facb4..e9bc6b9e69 100644--- a/frontend/src/store/modules/v1/dbSchema.ts+++ b/frontend/src/store/modules/v1/dbSchema.ts@@ -8,6 +8,9 @@ import type { TableMetadata } from "@/types/proto/v1/database_service";import {DatabaseMetadata,DatabaseMetadataView,+ ColumnConfig,+ SchemaConfig,+ TableConfig,} from "@/types/proto/v1/database_service";import { extractDatabaseResourceName } from "@/utils";@@ -193,6 +196,48 @@ export const useDBSchemaV1Store = defineStore("dbSchema_v1", () => {// so we cannot setCache(updated) heremergeCache(metadata, VIEW_FULL, true);};++ const getSchemaConfig = (database: string, schema: string) => {+ const metadata = getDatabaseMetadata(+ database,+ DatabaseMetadataView.DATABASE_METADATA_VIEW_FULL+ );++ return (+ metadata.schemaConfigs.find((config) => config.name === schema) ??+ SchemaConfig.fromPartial({+ name: schema,+ tableConfigs: [],+ })+ );+ };++ const getTableConfig = (database: string, schema: string, table: string) => {+ const schemaConfig = getSchemaConfig(database, schema);++ return (+ schemaConfig.tableConfigs.find((config) => config.name === table) ??+ TableConfig.fromPartial({+ name: table,+ columnConfigs: [],+ })+ );+ };++ const getColumnConfig = (+ database: string,+ schema: string,+ table: string,+ column: string+ ) => {+ const tableConfig = getTableConfig(database, schema, table);++ return (+ tableConfig.columnConfigs.find((config) => config.name === column) ??+ ColumnConfig.fromPartial({})+ );+ };+/**** @param database@@ -440,6 +485,9 @@ export const useDBSchemaV1Store = defineStore("dbSchema_v1", () => {return {updateDatabaseSchemaConfigs,+ getSchemaConfig,+ getTableConfig,+ getColumnConfig,getDatabaseMetadata,getOrFetchDatabaseMetadata,getSchemaList,diff --git a/frontend/src/types/proto/store/database.ts b/frontend/src/types/proto/store/database.tsindex 372369d703..2bfa5d8f2d 100644--- a/frontend/src/types/proto/store/database.ts+++ b/frontend/src/types/proto/store/database.ts@@ -293,8 +293,6 @@ export interface TableMetadata {* classification and user_comment is parsed from the comment.*/comment: string;- /** The classification is the classification of a table parsed from the comment. */- classification: string;/** The user_comment is the user comment of a table parsed from the comment. */userComment: string;/** The foreign_keys is the list of foreign keys in a table. */@@ -486,8 +484,6 @@ export interface ColumnMetadata {* classification and user_comment is parsed from the comment.*/comment: string;- /** The classification is the classification of a table parsed from the comment. */- classification: string;/** The user_comment is the user comment of a table parsed from the comment. */userComment: string;}@@ -635,6 +631,12 @@ export interface DatabaseConfig {name: string;/** The schema_configs is the list of configs for schemas in a database. */schemaConfigs: SchemaConfig[];+ /**+ * If true, we will only store the classification in the config.+ * Otherwise we will get the classification from table/column comment,+ * and write back to the schema metadata.+ */+ classificationFromConfig: boolean;}export interface SchemaConfig {@@ -652,6 +654,7 @@ export interface TableConfig {name: string;/** The column_configs is the ordered list of configs for columns in a table. */columnConfigs: ColumnConfig[];+ classificationId: string;}export interface ColumnConfig {@@ -660,6 +663,7 @@ export interface ColumnConfig {semanticTypeId: string;/** The user labels for a column. */labels: { [key: string]: string };+ classificationId: string;}export interface ColumnConfig_LabelsEntry {@@ -1579,7 +1583,6 @@ function createBaseTableMetadata(): TableMetadata {dataFree: Long.ZERO,createOptions: "",comment: "",- classification: "",userComment: "",foreignKeys: [],partitions: [],@@ -1621,9 +1624,6 @@ export const TableMetadata = {if (message.comment !== "") {writer.uint32(90).string(message.comment);}- if (message.classification !== "") {- writer.uint32(106).string(message.classification);- }if (message.userComment !== "") {writer.uint32(114).string(message.userComment);}@@ -1720,13 +1720,6 @@ export const TableMetadata = {message.comment = reader.string();continue;- case 13:- if (tag !== 106) {- break;- }-- message.classification = reader.string();- continue;case 14:if (tag !== 114) {break;@@ -1774,7 +1767,6 @@ export const TableMetadata = {dataFree: isSet(object.dataFree) ? Long.fromValue(object.dataFree) : Long.ZERO,createOptions: isSet(object.createOptions) ? globalThis.String(object.createOptions) : "",comment: isSet(object.comment) ? globalThis.String(object.comment) : "",- classification: isSet(object.classification) ? globalThis.String(object.classification) : "",userComment: isSet(object.userComment) ? globalThis.String(object.userComment) : "",foreignKeys: globalThis.Array.isArray(object?.foreignKeys)? object.foreignKeys.map((e: any) => ForeignKeyMetadata.fromJSON(e))@@ -1820,9 +1812,6 @@ export const TableMetadata = {if (message.comment !== "") {obj.comment = message.comment;}- if (message.classification !== "") {- obj.classification = message.classification;- }if (message.userComment !== "") {obj.userComment = message.userComment;}@@ -1859,7 +1848,6 @@ export const TableMetadata = {: Long.ZERO;message.createOptions = object.createOptions ?? "";message.comment = object.comment ?? "";- message.classification = object.classification ?? "";message.userComment = object.userComment ?? "";message.foreignKeys = object.foreignKeys?.map((e) => ForeignKeyMetadata.fromPartial(e)) || [];message.partitions = object.partitions?.map((e) => TablePartitionMetadata.fromPartial(e)) || [];@@ -2131,7 +2119,6 @@ function createBaseColumnMetadata(): ColumnMetadata {characterSet: "",collation: "",comment: "",- classification: "",userComment: "",};}@@ -2171,9 +2158,6 @@ export const ColumnMetadata = {if (message.comment !== "") {writer.uint32(82).string(message.comment);}- if (message.classification !== "") {- writer.uint32(90).string(message.classification);- }if (message.userComment !== "") {writer.uint32(98).string(message.userComment);}@@ -2264,13 +2248,6 @@ export const ColumnMetadata = {message.comment = reader.string();continue;- case 11:- if (tag !== 90) {- break;- }-- message.classification = reader.string();- continue;case 12:if (tag !== 98) {break;@@ -2300,7 +2277,6 @@ export const ColumnMetadata = {characterSet: isSet(object.characterSet) ? globalThis.String(object.characterSet) : "",collation: isSet(object.collation) ? globalThis.String(object.collation) : "",comment: isSet(object.comment) ? globalThis.String(object.comment) : "",- classification: isSet(object.classification) ? globalThis.String(object.classification) : "",userComment: isSet(object.userComment) ? globalThis.String(object.userComment) : "",};},@@ -2340,9 +2316,6 @@ export const ColumnMetadata = {if (message.comment !== "") {obj.comment = message.comment;}- if (message.classification !== "") {- obj.classification = message.classification;- }if (message.userComment !== "") {obj.userComment = message.userComment;}@@ -2365,7 +2338,6 @@ export const ColumnMetadata = {message.characterSet = object.characterSet ?? "";message.collation = object.collation ?? "";message.comment = object.comment ?? "";- message.classification = object.classification ?? "";message.userComment = object.userComment ?? "";return message;},@@ -3525,7 +3497,7 @@ export const SecretItem = {};function createBaseDatabaseConfig(): DatabaseConfig {- return { name: "", schemaConfigs: [] };+ return { name: "", schemaConfigs: [], classificationFromConfig: false };}export const DatabaseConfig = {@@ -3536,6 +3508,9 @@ export const DatabaseConfig = {for (const v of message.schemaConfigs) {SchemaConfig.encode(v!, writer.uint32(18).fork()).ldelim();}+ if (message.classificationFromConfig === true) {+ writer.uint32(24).bool(message.classificationFromConfig);+ }return writer;},@@ -3560,6 +3535,13 @@ export const DatabaseConfig = {message.schemaConfigs.push(SchemaConfig.decode(reader, reader.uint32()));continue;+ case 3:+ if (tag !== 24) {+ break;+ }++ message.classificationFromConfig = reader.bool();+ continue;}if ((tag & 7) === 4 || tag === 0) {break;@@ -3575,6 +3557,9 @@ export const DatabaseConfig = {schemaConfigs: globalThis.Array.isArray(object?.schemaConfigs)? object.schemaConfigs.map((e: any) => SchemaConfig.fromJSON(e)): [],+ classificationFromConfig: isSet(object.classificationFromConfig)+ ? globalThis.Boolean(object.classificationFromConfig)+ : false,};},@@ -3586,6 +3571,9 @@ export const DatabaseConfig = {if (message.schemaConfigs?.length) {obj.schemaConfigs = message.schemaConfigs.map((e) => SchemaConfig.toJSON(e));}+ if (message.classificationFromConfig === true) {+ obj.classificationFromConfig = message.classificationFromConfig;+ }return obj;},@@ -3596,6 +3584,7 @@ export const DatabaseConfig = {const message = createBaseDatabaseConfig();message.name = object.name ?? "";message.schemaConfigs = object.schemaConfigs?.map((e) => SchemaConfig.fromPartial(e)) || [];+ message.classificationFromConfig = object.classificationFromConfig ?? false;return message;},};@@ -3677,7 +3666,7 @@ export const SchemaConfig = {};function createBaseTableConfig(): TableConfig {- return { name: "", columnConfigs: [] };+ return { name: "", columnConfigs: [], classificationId: "" };}export const TableConfig = {@@ -3688,6 +3677,9 @@ export const TableConfig = {for (const v of message.columnConfigs) {ColumnConfig.encode(v!, writer.uint32(18).fork()).ldelim();}+ if (message.classificationId !== "") {+ writer.uint32(26).string(message.classificationId);+ }return writer;},@@ -3712,6 +3704,13 @@ export const TableConfig = {message.columnConfigs.push(ColumnConfig.decode(reader, reader.uint32()));continue;+ case 3:+ if (tag !== 26) {+ break;+ }++ message.classificationId = reader.string();+ continue;}if ((tag & 7) === 4 || tag === 0) {break;@@ -3727,6 +3726,7 @@ export const TableConfig = {columnConfigs: globalThis.Array.isArray(object?.columnConfigs)? object.columnConfigs.map((e: any) => ColumnConfig.fromJSON(e)): [],+ classificationId: isSet(object.classificationId) ? globalThis.String(object.classificationId) : "",};},@@ -3738,6 +3738,9 @@ export const TableConfig = {if (message.columnConfigs?.length) {obj.columnConfigs = message.columnConfigs.map((e) => ColumnConfig.toJSON(e));}+ if (message.classificationId !== "") {+ obj.classificationId = message.classificationId;+ }return obj;},@@ -3748,12 +3751,13 @@ export const TableConfig = {const message = createBaseTableConfig();message.name = object.name ?? "";message.columnConfigs = object.columnConfigs?.map((e) => ColumnConfig.fromPartial(e)) || [];+ message.classificationId = object.classificationId ?? "";return message;},};function createBaseColumnConfig(): ColumnConfig {- return { name: "", semanticTypeId: "", labels: {} };+ return { name: "", semanticTypeId: "", labels: {}, classificationId: "" };}export const ColumnConfig = {@@ -3767,6 +3771,9 @@ export const ColumnConfig = {Object.entries(message.labels).forEach(([key, value]) => {ColumnConfig_LabelsEntry.encode({ key: key as any, value }, writer.uint32(26).fork()).ldelim();});+ if (message.classificationId !== "") {+ writer.uint32(34).string(message.classificationId);+ }return writer;},@@ -3801,6 +3808,13 @@ export const ColumnConfig = {message.labels[entry3.key] = entry3.value;}continue;+ case 4:+ if (tag !== 34) {+ break;+ }++ message.classificationId = reader.string();+ continue;}if ((tag & 7) === 4 || tag === 0) {break;@@ -3820,6 +3834,7 @@ export const ColumnConfig = {return acc;}, {}): {},+ classificationId: isSet(object.classificationId) ? globalThis.String(object.classificationId) : "",};},@@ -3840,6 +3855,9 @@ export const ColumnConfig = {});}}+ if (message.classificationId !== "") {+ obj.classificationId = message.classificationId;+ }return obj;},@@ -3856,6 +3874,7 @@ export const ColumnConfig = {}return acc;}, {});+ message.classificationId = object.classificationId ?? "";return message;},};diff --git a/frontend/src/types/proto/v1/database_service.ts b/frontend/src/types/proto/v1/database_service.tsindex 908d8de4b1..7414b02add 100644--- a/frontend/src/types/proto/v1/database_service.ts+++ b/frontend/src/types/proto/v1/database_service.ts@@ -407,6 +407,7 @@ export interface DatabaseMetadata {extensions: ExtensionMetadata[];/** The schema_configs is the list of configs for schemas in a database. */schemaConfigs: SchemaConfig[];+ classificationFromConfig: boolean;}/**@@ -475,8 +476,6 @@ export interface TableMetadata {* classification and user_comment is parsed from the comment.*/comment: string;- /** The classification is the classification of a table parsed from the comment. */- classification: string;/** The user_comment is the user comment of a table parsed from the comment. */userComment: string;/** The foreign_keys is the list of foreign keys in a table. */@@ -657,8 +656,6 @@ export interface ColumnMetadata {* classification and user_comment is parsed from the comment.*/comment: string;- /** The classification is the classification of a column parsed from the comment. */- classification: string;/** The user_comment is the user comment of a column parsed from the comment. */userComment: string;/**@@ -993,6 +990,12 @@ export interface DatabaseConfig {name: string;/** The schema_configs is the list of configs for schemas in a database. */schemaConfigs: SchemaConfig[];+ /**+ * If true, we will only store the classification in the config.+ * Otherwise we will get the classification from table/column comment,+ * and write back to the schema metadata.+ */+ classificationFromConfig: boolean;}export interface SchemaConfig {@@ -1010,6 +1013,7 @@ export interface TableConfig {name: string;/** The column_configs is the ordered list of configs for columns in a table. */columnConfigs: ColumnConfig[];+ classificationId: string;}export interface ColumnConfig {@@ -1018,6 +1022,7 @@ export interface ColumnConfig {semanticTypeId: string;/** The user labels for a column. */labels: { [key: string]: string };+ classificationId: string;}export interface ColumnConfig_LabelsEntry {@@ -3023,7 +3028,15 @@ export const Database_LabelsEntry = {};function createBaseDatabaseMetadata(): DatabaseMetadata {- return { name: "", schemas: [], characterSet: "", collation: "", extensions: [], schemaConfigs: [] };+ return {+ name: "",+ schemas: [],+ characterSet: "",+ collation: "",+ extensions: [],+ schemaConfigs: [],+ classificationFromConfig: false,+ };}export const DatabaseMetadata = {@@ -3046,6 +3059,9 @@ export const DatabaseMetadata = {for (const v of message.schemaConfigs) {SchemaConfig.encode(v!, writer.uint32(50).fork()).ldelim();}+ if (message.classificationFromConfig === true) {+ writer.uint32(56).bool(message.classificationFromConfig);+ }return writer;},@@ -3098,6 +3114,13 @@ export const DatabaseMetadata = {message.schemaConfigs.push(SchemaConfig.decode(reader, reader.uint32()));continue;+ case 7:+ if (tag !== 56) {+ break;+ }++ message.classificationFromConfig = reader.bool();+ continue;}if ((tag & 7) === 4 || tag === 0) {break;@@ -3121,6 +3144,9 @@ export const DatabaseMetadata = {schemaConfigs: globalThis.Array.isArray(object?.schemaConfigs)? object.schemaConfigs.map((e: any) => SchemaConfig.fromJSON(e)): [],+ classificationFromConfig: isSet(object.classificationFromConfig)+ ? globalThis.Boolean(object.classificationFromConfig)+ : false,};},@@ -3144,6 +3170,9 @@ export const DatabaseMetadata = {if (message.schemaConfigs?.length) {obj.schemaConfigs = message.schemaConfigs.map((e) => SchemaConfig.toJSON(e));}+ if (message.classificationFromConfig === true) {+ obj.classificationFromConfig = message.classificationFromConfig;+ }return obj;},@@ -3158,6 +3187,7 @@ export const DatabaseMetadata = {message.collation = object.collation ?? "";message.extensions = object.extensions?.map((e) => ExtensionMetadata.fromPartial(e)) || [];message.schemaConfigs = object.schemaConfigs?.map((e) => SchemaConfig.fromPartial(e)) || [];+ message.classificationFromConfig = object.classificationFromConfig ?? false;return message;},};@@ -3480,7 +3510,6 @@ function createBaseTableMetadata(): TableMetadata {dataFree: Long.ZERO,createOptions: "",comment: "",- classification: "",userComment: "",foreignKeys: [],partitions: [],@@ -3522,9 +3551,6 @@ export const TableMetadata = {if (message.comment !== "") {writer.uint32(90).string(message.comment);}- if (message.classification !== "") {- writer.uint32(106).string(message.classification);- }if (message.userComment !== "") {writer.uint32(114).string(message.userComment);}@@ -3621,13 +3647,6 @@ export const TableMetadata = {message.comment = reader.string();continue;- case 13:- if (tag !== 106) {- break;- }-- message.classification = reader.string();- continue;case 14:if (tag !== 114) {break;@@ -3675,7 +3694,6 @@ export const TableMetadata = {dataFree: isSet(object.dataFree) ? Long.fromValue(object.dataFree) : Long.ZERO,createOptions: isSet(object.createOptions) ? globalThis.String(object.createOptions) : "",comment: isSet(object.comment) ? globalThis.String(object.comment) : "",- classification: isSet(object.classification) ? globalThis.String(object.classification) : "",userComment: isSet(object.userComment) ? globalThis.String(object.userComment) : "",foreignKeys: globalThis.Array.isArray(object?.foreignKeys)? object.foreignKeys.map((e: any) => ForeignKeyMetadata.fromJSON(e))@@ -3721,9 +3739,6 @@ export const TableMetadata = {if (message.comment !== "") {obj.comment = message.comment;}- if (message.classification !== "") {- obj.classification = message.classification;- }if (message.userComment !== "") {obj.userComment = message.userComment;}@@ -3760,7 +3775,6 @@ export const TableMetadata = {: Long.ZERO;message.createOptions = object.createOptions ?? "";message.comment = object.comment ?? "";- message.classification = object.classification ?? "";message.userComment = object.userComment ?? "";message.foreignKeys = object.foreignKeys?.map((e) => ForeignKeyMetadata.fromPartial(e)) || [];message.partitions = object.partitions?.map((e) => TablePartitionMetadata.fromPartial(e)) || [];@@ -3927,7 +3941,6 @@ function createBaseColumnMetadata(): ColumnMetadata {characterSet: "",collation: "",comment: "",- classification: "",userComment: "",effectiveMaskingLevel: MaskingLevel.MASKING_LEVEL_UNSPECIFIED,};@@ -3971,9 +3984,6 @@ export const ColumnMetadata = {if (message.comment !== "") {writer.uint32(90).string(message.comment);}- if (message.classification !== "") {- writer.uint32(98).string(message.classification);- }if (message.userComment !== "") {writer.uint32(106).string(message.userComment);}@@ -4074,13 +4084,6 @@ export const ColumnMetadata = {message.comment = reader.string();continue;- case 12:- if (tag !== 98) {- break;- }-- message.classification = reader.string();- continue;case 13:if (tag !== 106) {break;@@ -4118,7 +4121,6 @@ export const ColumnMetadata = {characterSet: isSet(object.characterSet) ? globalThis.String(object.characterSet) : "",collation: isSet(object.collation) ? globalThis.String(object.collation) : "",comment: isSet(object.comment) ? globalThis.String(object.comment) : "",- classification: isSet(object.classification) ? globalThis.String(object.classification) : "",userComment: isSet(object.userComment) ? globalThis.String(object.userComment) : "",effectiveMaskingLevel: isSet(object.effectiveMaskingLevel)? maskingLevelFromJSON(object.effectiveMaskingLevel)@@ -4164,9 +4166,6 @@ export const ColumnMetadata = {if (message.comment !== "") {obj.comment = message.comment;}- if (message.classification !== "") {- obj.classification = message.classification;- }if (message.userComment !== "") {obj.userComment = message.userComment;}@@ -4193,7 +4192,6 @@ export const ColumnMetadata = {message.characterSet = object.characterSet ?? "";message.collation = object.collation ?? "";message.comment = object.comment ?? "";- message.classification = object.classification ?? "";message.userComment = object.userComment ?? "";message.effectiveMaskingLevel = object.effectiveMaskingLevel ?? MaskingLevel.MASKING_LEVEL_UNSPECIFIED;return message;@@ -5512,7 +5510,7 @@ export const ForeignKeyMetadata = {};function createBaseDatabaseConfig(): DatabaseConfig {- return { name: "", schemaConfigs: [] };+ return { name: "", schemaConfigs: [], classificationFromConfig: false };}export const DatabaseConfig = {@@ -5523,6 +5521,9 @@ export const DatabaseConfig = {for (const v of message.schemaConfigs) {SchemaConfig.encode(v!, writer.uint32(18).fork()).ldelim();}+ if (message.classificationFromConfig === true) {+ writer.uint32(24).bool(message.classificationFromConfig);+ }return writer;},@@ -5547,6 +5548,13 @@ export const DatabaseConfig = {message.schemaConfigs.push(SchemaConfig.decode(reader, reader.uint32()));continue;+ case 3:+ if (tag !== 24) {+ break;+ }++ message.classificationFromConfig = reader.bool();+ continue;}if ((tag & 7) === 4 || tag === 0) {break;@@ -5562,6 +5570,9 @@ export const DatabaseConfig = {schemaConfigs: globalThis.Array.isArray(object?.schemaConfigs)? object.schemaConfigs.map((e: any) => SchemaConfig.fromJSON(e)): [],+ classificationFromConfig: isSet(object.classificationFromConfig)+ ? globalThis.Boolean(object.classificationFromConfig)+ : false,};},@@ -5573,6 +5584,9 @@ export const DatabaseConfig = {if (message.schemaConfigs?.length) {obj.schemaConfigs = message.schemaConfigs.map((e) => SchemaConfig.toJSON(e));}+ if (message.classificationFromConfig === true) {+ obj.classificationFromConfig = message.classificationFromConfig;+ }return obj;},@@ -5583,6 +5597,7 @@ export const DatabaseConfig = {const message = createBaseDatabaseConfig();message.name = object.name ?? "";message.schemaConfigs = object.schemaConfigs?.map((e) => SchemaConfig.fromPartial(e)) || [];+ message.classificationFromConfig = object.classificationFromConfig ?? false;return message;},};@@ -5664,7 +5679,7 @@ export const SchemaConfig = {};function createBaseTableConfig(): TableConfig {- return { name: "", columnConfigs: [] };+ return { name: "", columnConfigs: [], classificationId: "" };}export const TableConfig = {@@ -5675,6 +5690,9 @@ export const TableConfig = {for (const v of message.columnConfigs) {ColumnConfig.encode(v!, writer.uint32(18).fork()).ldelim();}+ if (message.classificationId !== "") {+ writer.uint32(26).string(message.classificationId);+ }return writer;},@@ -5699,6 +5717,13 @@ export const TableConfig = {message.columnConfigs.push(ColumnConfig.decode(reader, reader.uint32()));continue;+ case 3:+ if (tag !== 26) {+ break;+ }++ message.classificationId = reader.string();+ continue;}if ((tag & 7) === 4 || tag === 0) {break;@@ -5714,6 +5739,7 @@ export const TableConfig = {columnConfigs: globalThis.Array.isArray(object?.columnConfigs)? object.columnConfigs.map((e: any) => ColumnConfig.fromJSON(e)): [],+ classificationId: isSet(object.classificationId) ? globalThis.String(object.classificationId) : "",};},@@ -5725,6 +5751,9 @@ export const TableConfig = {if (message.columnConfigs?.length) {obj.columnConfigs = message.columnConfigs.map((e) => ColumnConfig.toJSON(e));}+ if (message.classificationId !== "") {+ obj.classificationId = message.classificationId;+ }return obj;},@@ -5735,12 +5764,13 @@ export const TableConfig = {const message = createBaseTableConfig();message.name = object.name ?? "";message.columnConfigs = object.columnConfigs?.map((e) => ColumnConfig.fromPartial(e)) || [];+ message.classificationId = object.classificationId ?? "";return message;},};function createBaseColumnConfig(): ColumnConfig {- return { name: "", semanticTypeId: "", labels: {} };+ return { name: "", semanticTypeId: "", labels: {}, classificationId: "" };}export const ColumnConfig = {@@ -5754,6 +5784,9 @@ export const ColumnConfig = {Object.entries(message.labels).forEach(([key, value]) => {ColumnConfig_LabelsEntry.encode({ key: key as any, value }, writer.uint32(26).fork()).ldelim();});+ if (message.classificationId !== "") {+ writer.uint32(34).string(message.classificationId);+ }return writer;},@@ -5788,6 +5821,13 @@ export const ColumnConfig = {message.labels[entry3.key] = entry3.value;}continue;+ case 4:+ if (tag !== 34) {+ break;+ }++ message.classificationId = reader.string();+ continue;}if ((tag & 7) === 4 || tag === 0) {break;@@ -5807,6 +5847,7 @@ export const ColumnConfig = {return acc;}, {}): {},+ classificationId: isSet(object.classificationId) ? globalThis.String(object.classificationId) : "",};},@@ -5827,6 +5868,9 @@ export const ColumnConfig = {});}}+ if (message.classificationId !== "") {+ obj.classificationId = message.classificationId;+ }return obj;},@@ -5843,6 +5887,7 @@ export const ColumnConfig = {}return acc;}, {});+ message.classificationId = object.classificationId ?? "";return message;},};diff --git a/frontend/src/types/v1/schemaEditor/atomType.ts b/frontend/src/types/v1/schemaEditor/atomType.tsindex c474043a31..769b686681 100644--- a/frontend/src/types/v1/schemaEditor/atomType.ts+++ b/frontend/src/types/v1/schemaEditor/atomType.ts@@ -28,7 +28,6 @@ export interface Column extends ColumnDefaultValue {comment: string;userComment: string;status: Status;- classification?: string;config: ColumnConfig;}@@ -60,7 +59,7 @@ export interface Table {primaryKey: PrimaryKey;foreignKeyList: ForeignKey[];status: Status;- classification?: string;+ config: TableConfig;}export interface Schema {@@ -87,7 +86,6 @@ export const convertColumnMetadataToColumn = (defaultNull: columnMetadata.defaultNull,defaultString: columnMetadata.defaultString,defaultExpression: columnMetadata.defaultExpression,- classification: columnMetadata.classification,status,config: ColumnConfig.fromPartial({...(config ?? {}),@@ -110,7 +108,6 @@ export const convertTableMetadataToTable = (dataSize: tableMetadata.dataSize,comment: tableMetadata.comment,userComment: tableMetadata.userComment,- classification: tableMetadata.classification,columnList: tableMetadata.columns.map((column) =>convertColumnMetadataToColumn(column,@@ -126,6 +123,10 @@ export const convertTableMetadataToTable = (},foreignKeyList: [],status,+ config: TableConfig.fromPartial({+ ...(config ?? {}),+ name: tableMetadata.name,+ }),};for (const indexMetadata of tableMetadata.indexes) {diff --git a/frontend/src/utils/schemaEditor/filter.ts b/frontend/src/utils/schemaEditor/filter.tsindex 8fadbea119..2e35f6b4a3 100644--- a/frontend/src/utils/schemaEditor/filter.ts+++ b/frontend/src/utils/schemaEditor/filter.ts@@ -35,7 +35,6 @@ export const filterColumnMetadata = (column: ColumnMetadata) => {name: column.name,comment: column.comment,userComment: column.userComment,- classification: column.classification,type: column.type,hasDefault: column.hasDefault,defaultExpression: column.defaultExpression,@@ -86,7 +85,6 @@ export const filterTablePartitionMetadata = (export const filterTableMetadata = (table: TableMetadata) => {return TableMetadata.fromPartial({name: table.name,- classification: table.classification,comment: table.comment,userComment: table.userComment,collation: table.collation,@@ -116,7 +114,6 @@ export const filterFunctionMetadata = (func: FunctionMetadata) => {export const ComparableTableFields: (keyof TableMetadata)[] = ["name",- "classification","comment","userComment","collation",@@ -143,7 +140,6 @@ export const ComparableColumnFields: (keyof ColumnMetadata)[] = ["name","comment","userComment",- "classification","type","hasDefault","defaultExpression",diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex 8706e0fa3b..3fd85634e9 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -8985,6 +8985,8 @@ components:additionalProperties:type: stringdescription: The user labels for a column.+ classificationId:+ type: stringColumnMetadata:type: objectproperties:@@ -9025,9 +9027,6 @@ components:description: |-The comment is the comment of a column.classification and user_comment is parsed from the comment.- classification:- type: string- description: The classification is the classification of a column parsed from the comment.userComment:type: stringdescription: The user_comment is the user comment of a column parsed from the comment.@@ -9385,6 +9384,12 @@ components:items:$ref: '#/components/schemas/SchemaConfig'description: The schema_configs is the list of configs for schemas in a database.+ classificationFromConfig:+ type: boolean+ description: |-+ If true, we will only store the classification in the config.+ Otherwise we will get the classification from table/column comment,+ and write back to the schema metadata.DatabaseGroup:type: objectproperties:@@ -13222,6 +13227,8 @@ components:items:$ref: '#/components/schemas/ColumnConfig'description: The column_configs is the ordered list of configs for columns in a table.+ classificationId:+ type: stringTableMetadata:type: objectproperties:@@ -13264,9 +13271,6 @@ components:description: |-The comment is the comment of a table.classification and user_comment is parsed from the comment.- classification:- type: string- description: The classification is the classification of a table parsed from the comment.userComment:type: stringdescription: The user_comment is the user comment of a table parsed from the comment.diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.mdindex 71c0b1da53..bd56eb6dfb 100644--- a/proto/gen/grpc-doc/store/README.md+++ b/proto/gen/grpc-doc/store/README.md@@ -707,6 +707,7 @@ convert to the expected struct there.| name | [string](#string) | | The name is the name of a column. || semantic_type_id | [string](#string) | | || labels | [ColumnConfig.LabelsEntry](#bytebase-store-ColumnConfig-LabelsEntry) | repeated | The user labels for a column. |+| classification_id | [string](#string) | | |@@ -748,7 +749,6 @@ ColumnMetadata is the metadata for columns.| character_set | [string](#string) | | The character_set is the character_set of a column. || collation | [string](#string) | | The collation is the collation of a column. || comment | [string](#string) | | The comment is the comment of a column. classification and user_comment is parsed from the comment. |-| classification | [string](#string) | | The classification is the classification of a table parsed from the comment. || user_comment | [string](#string) | | The user_comment is the user comment of a table parsed from the comment. |@@ -766,6 +766,7 @@ ColumnMetadata is the metadata for columns.| ----- | ---- | ----- | ----------- || name | [string](#string) | | || schema_configs | [SchemaConfig](#bytebase-store-SchemaConfig) | repeated | The schema_configs is the list of configs for schemas in a database. |+| classification_from_config | [bool](#bool) | | If true, we will only store the classification in the config. Otherwise we will get the classification from table/column comment, and write back to the schema metadata. |@@ -1093,6 +1094,7 @@ This is the concept of schema in Postgres, but it's a no-op for MySQL.| ----- | ---- | ----- | ----------- || name | [string](#string) | | The name is the name of a table. || column_configs | [ColumnConfig](#bytebase-store-ColumnConfig) | repeated | The column_configs is the ordered list of configs for columns in a table. |+| classification_id | [string](#string) | | |@@ -1118,7 +1120,6 @@ TableMetadata is the metadata for tables.| data_free | [int64](#int64) | | The data_free is the estimated free data size of a table. || create_options | [string](#string) | | The create_options is the create option of a table. || comment | [string](#string) | | The comment is the comment of a table. classification and user_comment is parsed from the comment. |-| classification | [string](#string) | | The classification is the classification of a table parsed from the comment. || user_comment | [string](#string) | | The user_comment is the user comment of a table parsed from the comment. || foreign_keys | [ForeignKeyMetadata](#bytebase-store-ForeignKeyMetadata) | repeated | The foreign_keys is the list of foreign keys in a table. || partitions | [TablePartitionMetadata](#bytebase-store-TablePartitionMetadata) | repeated | The partitions is the list of partitions in a table. |diff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.htmlindex 45837d08d0..17e5330201 100644--- a/proto/gen/grpc-doc/store/index.html+++ b/proto/gen/grpc-doc/store/index.html@@ -2185,6 +2185,13 @@ Some fields are omitted because they are too large or contain sensitive informat<td><p>The user labels for a column. </p></td></tr>+ <tr>+ <td>classification_id</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>+</tbody></table>@@ -2312,13 +2319,6 @@ For MySQL like databases, it's only supported for TIMESTAMP columns with CURclassification and user_comment is parsed from the comment. </p></td></tr>- <tr>- <td>classification</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The classification is the classification of a table parsed from the comment. </p></td>- </tr>-<tr><td>user_comment</td><td><a href="#string">string</a></td>@@ -2357,6 +2357,15 @@ classification and user_comment is parsed from the comment. </p></td><td><p>The schema_configs is the list of configs for schemas in a database. </p></td></tr>+ <tr>+ <td>classification_from_config</td>+ <td><a href="#bool">bool</a></td>+ <td></td>+ <td><p>If true, we will only store the classification in the config.+Otherwise we will get the classification from table/column comment,+and write back to the schema metadata. </p></td>+ </tr>+</tbody></table>@@ -3188,6 +3197,13 @@ It is an empty string for databases without such concept such as MySQL. </p></td<td><p>The column_configs is the ordered list of configs for columns in a table. </p></td></tr>+ <tr>+ <td>classification_id</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>+</tbody></table>@@ -3283,13 +3299,6 @@ It is an empty string for databases without such concept such as MySQL. </p></tdclassification and user_comment is parsed from the comment. </p></td></tr>- <tr>- <td>classification</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The classification is the classification of a table parsed from the comment. </p></td>- </tr>-<tr><td>user_comment</td><td><a href="#string">string</a></td>diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 57fa25ebce..52569f3711 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -2266,6 +2266,7 @@ AdviseIndexResponse is the response of advising index.| name | [string](#string) | | The name is the name of a column. || semantic_type_id | [string](#string) | | || labels | [ColumnConfig.LabelsEntry](#bytebase-v1-ColumnConfig-LabelsEntry) | repeated | The user labels for a column. |+| classification_id | [string](#string) | | |@@ -2308,7 +2309,6 @@ ColumnMetadata is the metadata for columns.| character_set | [string](#string) | | The character_set is the character_set of a column. || collation | [string](#string) | | The collation is the collation of a column. || comment | [string](#string) | | The comment is the comment of a column. classification and user_comment is parsed from the comment. |-| classification | [string](#string) | | The classification is the classification of a column parsed from the comment. || user_comment | [string](#string) | | The user_comment is the user comment of a column parsed from the comment. || effective_masking_level | [MaskingLevel](#bytebase-v1-MaskingLevel) | | The effective_masking_level is the effective masking level of the column, evaluate from the column masking data and global masking rules. |@@ -2367,6 +2367,7 @@ ColumnMetadata is the metadata for columns.| ----- | ---- | ----- | ----------- || name | [string](#string) | | || schema_configs | [SchemaConfig](#bytebase-v1-SchemaConfig) | repeated | The schema_configs is the list of configs for schemas in a database. |+| classification_from_config | [bool](#bool) | | If true, we will only store the classification in the config. Otherwise we will get the classification from table/column comment, and write back to the schema metadata. |@@ -2389,6 +2390,7 @@ Format: instances/{instance}/databases/{database}/metadata || collation | [string](#string) | | The collation is the collation of a database. || extensions | [ExtensionMetadata](#bytebase-v1-ExtensionMetadata) | repeated | The extensions is the list of extensions in a database. || schema_configs | [SchemaConfig](#bytebase-v1-SchemaConfig) | repeated | The schema_configs is the list of configs for schemas in a database. |+| classification_from_config | [bool](#bool) | | |@@ -3034,6 +3036,7 @@ SlowQueryStatistics is the statistics of the slow query log.| ----- | ---- | ----- | ----------- || name | [string](#string) | | The name is the name of a table. || column_configs | [ColumnConfig](#bytebase-v1-ColumnConfig) | repeated | The column_configs is the ordered list of configs for columns in a table. |+| classification_id | [string](#string) | | |@@ -3059,7 +3062,6 @@ TableMetadata is the metadata for tables.| data_free | [int64](#int64) | | The data_free is the estimated free data size of a table. || create_options | [string](#string) | | The create_options is the create option of a table. || comment | [string](#string) | | The comment is the comment of a table. classification and user_comment is parsed from the comment. |-| classification | [string](#string) | | The classification is the classification of a table parsed from the comment. || user_comment | [string](#string) | | The user_comment is the user comment of a table parsed from the comment. || foreign_keys | [ForeignKeyMetadata](#bytebase-v1-ForeignKeyMetadata) | repeated | The foreign_keys is the list of foreign keys in a table. || partitions | [TablePartitionMetadata](#bytebase-v1-TablePartitionMetadata) | repeated | The partitions is the list of partitions in a table. |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex bc88fb517c..0465c0bb9e 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -7022,6 +7022,13 @@ Format: projects/{project}/sheets/{sheet} </p></td><td><p>The user labels for a column. </p></td></tr>+ <tr>+ <td>classification_id</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>+</tbody></table>@@ -7156,13 +7163,6 @@ For MySQL like databases, it's only supported for TIMESTAMP columns with CURclassification and user_comment is parsed from the comment. </p></td></tr>- <tr>- <td>classification</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The classification is the classification of a column parsed from the comment. </p></td>- </tr>-<tr><td>user_comment</td><td><a href="#string">string</a></td>@@ -7332,6 +7332,15 @@ Inheritance follows https://cloud.google.com/resource-manager/docs/tags/tags-ove<td><p>The schema_configs is the list of configs for schemas in a database. </p></td></tr>+ <tr>+ <td>classification_from_config</td>+ <td><a href="#bool">bool</a></td>+ <td></td>+ <td><p>If true, we will only store the classification in the config.+Otherwise we will get the classification from table/column comment,+and write back to the schema metadata. </p></td>+ </tr>+</tbody></table>@@ -7393,6 +7402,13 @@ Format: instances/{instance}/databases/{database}/metadata </p></td><td><p>The schema_configs is the list of configs for schemas in a database. </p></td></tr>+ <tr>+ <td>classification_from_config</td>+ <td><a href="#bool">bool</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>+</tbody></table>@@ -9020,6 +9036,13 @@ Format: instances/{instance}/databases/{database} </p></td><td><p>The column_configs is the ordered list of configs for columns in a table. </p></td></tr>+ <tr>+ <td>classification_id</td>+ <td><a href="#string">string</a></td>+ <td></td>+ <td><p> </p></td>+ </tr>+</tbody></table>@@ -9115,13 +9138,6 @@ Format: instances/{instance}/databases/{database} </p></td>classification and user_comment is parsed from the comment. </p></td></tr>- <tr>- <td>classification</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The classification is the classification of a table parsed from the comment. </p></td>- </tr>-<tr><td>user_comment</td><td><a href="#string">string</a></td>diff --git a/proto/generated-go/store/database.pb.go b/proto/generated-go/store/database.pb.goindex 1fe8801ca0..8633dbcf53 100644--- a/proto/generated-go/store/database.pb.go+++ b/proto/generated-go/store/database.pb.go@@ -792,8 +792,6 @@ type TableMetadata struct {// The comment is the comment of a table.// classification and user_comment is parsed from the comment.Comment string `protobuf:"bytes,11,opt,name=comment,proto3" json:"comment,omitempty"`- // The classification is the classification of a table parsed from the comment.- Classification string `protobuf:"bytes,13,opt,name=classification,proto3" json:"classification,omitempty"`// The user_comment is the user comment of a table parsed from the comment.UserComment string `protobuf:"bytes,14,opt,name=user_comment,json=userComment,proto3" json:"user_comment,omitempty"`// The foreign_keys is the list of foreign keys in a table.@@ -911,13 +909,6 @@ func (x *TableMetadata) GetComment() string {return ""}-func (x *TableMetadata) GetClassification() string {- if x != nil {- return x.Classification- }- return ""-}-func (x *TableMetadata) GetUserComment() string {if x != nil {return x.UserComment@@ -1153,8 +1144,6 @@ type ColumnMetadata struct {// The comment is the comment of a column.// classification and user_comment is parsed from the comment.Comment string `protobuf:"bytes,10,opt,name=comment,proto3" json:"comment,omitempty"`- // The classification is the classification of a table parsed from the comment.- Classification string `protobuf:"bytes,11,opt,name=classification,proto3" json:"classification,omitempty"`// The user_comment is the user comment of a table parsed from the comment.UserComment string `protobuf:"bytes,12,opt,name=user_comment,json=userComment,proto3" json:"user_comment,omitempty"`}@@ -1275,13 +1264,6 @@ func (x *ColumnMetadata) GetComment() string {return ""}-func (x *ColumnMetadata) GetClassification() string {- if x != nil {- return x.Classification- }- return ""-}-func (x *ColumnMetadata) GetUserComment() string {if x != nil {return x.UserComment@@ -2141,6 +2123,10 @@ type DatabaseConfig struct {Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`// The schema_configs is the list of configs for schemas in a database.SchemaConfigs []*SchemaConfig `protobuf:"bytes,2,rep,name=schema_configs,json=schemaConfigs,proto3" json:"schema_configs,omitempty"`+ // If true, we will only store the classification in the config.+ // Otherwise we will get the classification from table/column comment,+ // and write back to the schema metadata.+ ClassificationFromConfig bool `protobuf:"varint,3,opt,name=classification_from_config,json=classificationFromConfig,proto3" json:"classification_from_config,omitempty"`}func (x *DatabaseConfig) Reset() {@@ -2189,6 +2175,13 @@ func (x *DatabaseConfig) GetSchemaConfigs() []*SchemaConfig {return nil}+func (x *DatabaseConfig) GetClassificationFromConfig() bool {+ if x != nil {+ return x.ClassificationFromConfig+ }+ return false+}+type SchemaConfig struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -2255,7 +2248,8 @@ type TableConfig struct {// The name is the name of a table.Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`// The column_configs is the ordered list of configs for columns in a table.- ColumnConfigs []*ColumnConfig `protobuf:"bytes,2,rep,name=column_configs,json=columnConfigs,proto3" json:"column_configs,omitempty"`+ ColumnConfigs []*ColumnConfig `protobuf:"bytes,2,rep,name=column_configs,json=columnConfigs,proto3" json:"column_configs,omitempty"`+ ClassificationId string `protobuf:"bytes,3,opt,name=classification_id,json=classificationId,proto3" json:"classification_id,omitempty"`}func (x *TableConfig) Reset() {@@ -2304,6 +2298,13 @@ func (x *TableConfig) GetColumnConfigs() []*ColumnConfig {return nil}+func (x *TableConfig) GetClassificationId() string {+ if x != nil {+ return x.ClassificationId+ }+ return ""+}+type ColumnConfig struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -2313,7 +2314,8 @@ type ColumnConfig struct {Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`SemanticTypeId string `protobuf:"bytes,2,opt,name=semantic_type_id,json=semanticTypeId,proto3" json:"semantic_type_id,omitempty"`// The user labels for a column.- Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`+ Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`+ ClassificationId string `protobuf:"bytes,4,opt,name=classification_id,json=classificationId,proto3" json:"classification_id,omitempty"`}func (x *ColumnConfig) Reset() {@@ -2369,6 +2371,13 @@ func (x *ColumnConfig) GetLabels() map[string]string {return nil}+func (x *ColumnConfig) GetClassificationId() string {+ if x != nil {+ return x.ClassificationId+ }+ return ""+}+var File_store_database_proto protoreflect.FileDescriptorvar file_store_database_proto_rawDesc = []byte{@@ -2496,7 +2505,7 @@ var file_store_database_proto_rawDesc = []byte{0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f,0x44, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x45, 0x4e, 0x44, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02,0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x49, 0x4e, 0x53, 0x45, 0x52, 0x54, 0x5f,- 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x03, 0x22, 0xdd, 0x04, 0x0a, 0x0d, 0x54, 0x61, 0x62, 0x6c, 0x65,+ 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x03, 0x22, 0xb5, 0x04, 0x0a, 0x0d, 0x54, 0x61, 0x62, 0x6c, 0x65,0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x07,0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e,@@ -2520,86 +2529,81 @@ var file_store_database_proto_rawDesc = []byte{0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20,0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e,- 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61,- 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d,- 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72,- 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x65, 0x69,- 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x46,- 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,- 0x61, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x46,- 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x03,- 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,- 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,- 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74,- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x15, 0x45, 0x78, 0x74, 0x65, 0x72,- 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,- 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,- 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x12, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76,- 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e,- 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x07,- 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x43,- 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x63,- 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x9f, 0x03, 0x0a, 0x16, 0x54, 0x61, 0x62, 0x6c, 0x65,- 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,- 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,- 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,- 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74,- 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65,- 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73,- 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72,- 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,- 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b,- 0x75, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x4c, 0x0a,- 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06,- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69,- 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x73, 0x75,- 0x62, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x04,- 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53,- 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x41,- 0x4e, 0x47, 0x45, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x43,- 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54,- 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x4c, 0x49, 0x53, 0x54, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d,- 0x4e, 0x53, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x41, 0x53, 0x48, 0x10, 0x05, 0x12, 0x0f,- 0x0a, 0x0b, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x06, 0x12,- 0x07, 0x0a, 0x03, 0x4b, 0x45, 0x59, 0x10, 0x07, 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x49, 0x4e, 0x45,- 0x41, 0x52, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x08, 0x22, 0xd6, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6c,- 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,- 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,- 0x05, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x07, 0x64,- 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67,- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,- 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x07, 0x64, 0x65,- 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,- 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0b, 0x64,- 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x2f, 0x0a, 0x12, 0x64, 0x65,- 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,- 0x74, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f,- 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,- 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x75, 0x6c, 0x6c,- 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6e, 0x75, 0x6c, 0x6c,- 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72,- 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x0c, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x1c, 0x0a,- 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63,- 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66,- 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63,- 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a,+ 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c,+ 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12,+ 0x45, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18,+ 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65,+ 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x65, 0x69,+ 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,+ 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c,+ 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,+ 0x74, 0x61, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xcd,+ 0x01, 0x0a, 0x15, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65,+ 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14,+ 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x65, 0x78, 0x74, 0x65,+ 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34,+ 0x0a, 0x16, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62,+ 0x61, 0x73, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14,+ 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18,+ 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74,+ 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x9f,+ 0x03, 0x0a, 0x16, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,+ 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a,+ 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x62,+ 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,+ 0x61, 0x74, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e,+ 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14,+ 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,+ 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x61,+ 0x75, 0x6c, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x44, 0x65,+ 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x4c, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72, 0x74,+ 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61,+ 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61,+ 0x64, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,+ 0x6f, 0x6e, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10,+ 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,+ 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x01, 0x12, 0x11, 0x0a,+ 0x0d, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10, 0x02,+ 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x4c, 0x49,+ 0x53, 0x54, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04,+ 0x48, 0x41, 0x53, 0x48, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52,+ 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x4b, 0x45, 0x59, 0x10, 0x07,+ 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x08,+ 0x22, 0xae, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,+ 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74,+ 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74,+ 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x03,+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c,+ 0x75, 0x65, 0x48, 0x00, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a,+ 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x04, 0x20,+ 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x75,+ 0x6c, 0x6c, 0x12, 0x2f, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x78,+ 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,+ 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73,+ 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,+ 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,+ 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01,+ 0x28, 0x08, 0x52, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04,+ 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,+ 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65,+ 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74,+ 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69,+ 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74,+ 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0a,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a,0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0c, 0x20,0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,0x42, 0x0f, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75,@@ -2695,41 +2699,51 @@ var file_store_database_proto_rawDesc = []byte{0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64,0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x69, 0x0a,- 0x0e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,- 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x63, 0x6f,- 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x63, 0x68,- 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d,- 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0x64, 0x0a, 0x0c, 0x53, 0x63, 0x68, 0x65,- 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0d,- 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20,- 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,- 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,- 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0x66,+ 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa7, 0x01,+ 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,+ 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x63,+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x63,+ 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65,+ 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x3c, 0x0a, 0x1a, 0x63, 0x6c, 0x61,+ 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x72, 0x6f, 0x6d,+ 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x63,+ 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72, 0x6f,+ 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x64, 0x0a, 0x0c, 0x53, 0x63, 0x68, 0x65, 0x6d,+ 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0d, 0x74,+ 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03,+ 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,+ 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,+ 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0x93, 0x01,0x0a, 0x0b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a,0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,0x65, 0x12, 0x43, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66,0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65,0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d,0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43,- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0xc9, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6c, 0x75, 0x6d,- 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x73,- 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18,- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54,- 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18,- 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e,- 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,- 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c,- 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,- 0x38, 0x01, 0x42, 0x14, 0x5a, 0x12, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d,- 0x67, 0x6f, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69,+ 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x10, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,+ 0x6e, 0x49, 0x64, 0x22, 0xf6, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f,+ 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x65, 0x6d, 0x61,+ 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65,+ 0x49, 0x64, 0x12, 0x40, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03,+ 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,+ 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,+ 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61,+ 0x62, 0x65, 0x6c, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69,+ 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x10, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49,+ 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,+ 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,+ 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x14, 0x5a, 0x12,+ 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x73, 0x74, 0x6f,+ 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,}var (diff --git a/proto/generated-go/v1/database_service.pb.go b/proto/generated-go/v1/database_service.pb.goindex 9a4511a27d..8cc60e8a92 100644--- a/proto/generated-go/v1/database_service.pb.go+++ b/proto/generated-go/v1/database_service.pb.go@@ -1616,7 +1616,8 @@ type DatabaseMetadata struct {// The extensions is the list of extensions in a database.Extensions []*ExtensionMetadata `protobuf:"bytes,5,rep,name=extensions,proto3" json:"extensions,omitempty"`// The schema_configs is the list of configs for schemas in a database.- SchemaConfigs []*SchemaConfig `protobuf:"bytes,6,rep,name=schema_configs,json=schemaConfigs,proto3" json:"schema_configs,omitempty"`+ SchemaConfigs []*SchemaConfig `protobuf:"bytes,6,rep,name=schema_configs,json=schemaConfigs,proto3" json:"schema_configs,omitempty"`+ ClassificationFromConfig bool `protobuf:"varint,7,opt,name=classification_from_config,json=classificationFromConfig,proto3" json:"classification_from_config,omitempty"`}func (x *DatabaseMetadata) Reset() {@@ -1693,6 +1694,13 @@ func (x *DatabaseMetadata) GetSchemaConfigs() []*SchemaConfig {return nil}+func (x *DatabaseMetadata) GetClassificationFromConfig() bool {+ if x != nil {+ return x.ClassificationFromConfig+ }+ return false+}+// SchemaMetadata is the metadata for schemas.// This is the concept of schema in Postgres, but it's a no-op for MySQL.type SchemaMetadata struct {@@ -1920,8 +1928,6 @@ type TableMetadata struct {// The comment is the comment of a table.// classification and user_comment is parsed from the comment.Comment string `protobuf:"bytes,11,opt,name=comment,proto3" json:"comment,omitempty"`- // The classification is the classification of a table parsed from the comment.- Classification string `protobuf:"bytes,13,opt,name=classification,proto3" json:"classification,omitempty"`// The user_comment is the user comment of a table parsed from the comment.UserComment string `protobuf:"bytes,14,opt,name=user_comment,json=userComment,proto3" json:"user_comment,omitempty"`// The foreign_keys is the list of foreign keys in a table.@@ -2039,13 +2045,6 @@ func (x *TableMetadata) GetComment() string {return ""}-func (x *TableMetadata) GetClassification() string {- if x != nil {- return x.Classification- }- return ""-}-func (x *TableMetadata) GetUserComment() string {if x != nil {return x.UserComment@@ -2207,8 +2206,6 @@ type ColumnMetadata struct {// The comment is the comment of a column.// classification and user_comment is parsed from the comment.Comment string `protobuf:"bytes,11,opt,name=comment,proto3" json:"comment,omitempty"`- // The classification is the classification of a column parsed from the comment.- Classification string `protobuf:"bytes,12,opt,name=classification,proto3" json:"classification,omitempty"`// The user_comment is the user comment of a column parsed from the comment.UserComment string `protobuf:"bytes,13,opt,name=user_comment,json=userComment,proto3" json:"user_comment,omitempty"`// The effective_masking_level is the effective masking level of the column, evaluate from the@@ -2339,13 +2336,6 @@ func (x *ColumnMetadata) GetComment() string {return ""}-func (x *ColumnMetadata) GetClassification() string {- if x != nil {- return x.Classification- }- return ""-}-func (x *ColumnMetadata) GetUserComment() string {if x != nil {return x.UserComment@@ -3280,6 +3270,10 @@ type DatabaseConfig struct {Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`// The schema_configs is the list of configs for schemas in a database.SchemaConfigs []*SchemaConfig `protobuf:"bytes,2,rep,name=schema_configs,json=schemaConfigs,proto3" json:"schema_configs,omitempty"`+ // If true, we will only store the classification in the config.+ // Otherwise we will get the classification from table/column comment,+ // and write back to the schema metadata.+ ClassificationFromConfig bool `protobuf:"varint,3,opt,name=classification_from_config,json=classificationFromConfig,proto3" json:"classification_from_config,omitempty"`}func (x *DatabaseConfig) Reset() {@@ -3328,6 +3322,13 @@ func (x *DatabaseConfig) GetSchemaConfigs() []*SchemaConfig {return nil}+func (x *DatabaseConfig) GetClassificationFromConfig() bool {+ if x != nil {+ return x.ClassificationFromConfig+ }+ return false+}+type SchemaConfig struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -3394,7 +3395,8 @@ type TableConfig struct {// The name is the name of a table.Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`// The column_configs is the ordered list of configs for columns in a table.- ColumnConfigs []*ColumnConfig `protobuf:"bytes,2,rep,name=column_configs,json=columnConfigs,proto3" json:"column_configs,omitempty"`+ ColumnConfigs []*ColumnConfig `protobuf:"bytes,2,rep,name=column_configs,json=columnConfigs,proto3" json:"column_configs,omitempty"`+ ClassificationId string `protobuf:"bytes,3,opt,name=classification_id,json=classificationId,proto3" json:"classification_id,omitempty"`}func (x *TableConfig) Reset() {@@ -3443,6 +3445,13 @@ func (x *TableConfig) GetColumnConfigs() []*ColumnConfig {return nil}+func (x *TableConfig) GetClassificationId() string {+ if x != nil {+ return x.ClassificationId+ }+ return ""+}+type ColumnConfig struct {state protoimpl.MessageStatesizeCache protoimpl.SizeCache@@ -3452,7 +3461,8 @@ type ColumnConfig struct {Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`SemanticTypeId string `protobuf:"bytes,2,opt,name=semantic_type_id,json=semanticTypeId,proto3" json:"semantic_type_id,omitempty"`// The user labels for a column.- Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`+ Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`+ ClassificationId string `protobuf:"bytes,4,opt,name=classification_id,json=classificationId,proto3" json:"classification_id,omitempty"`}func (x *ColumnConfig) Reset() {@@ -3508,6 +3518,13 @@ func (x *ColumnConfig) GetLabels() map[string]string {return nil}+func (x *ColumnConfig) GetClassificationId() string {+ if x != nil {+ return x.ClassificationId+ }+ return ""+}+// DatabaseSchema is the metadata for databases.type DatabaseSchema struct {state protoimpl.MessageState@@ -5303,7 +5320,7 @@ var file_v1_database_service_proto_rawDesc = []byte{0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,- 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa2, 0x02, 0x0a, 0x10, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe0, 0x02, 0x0a, 0x10, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35,0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,@@ -5321,760 +5338,768 @@ var file_v1_database_service_proto_rawDesc = []byte{0x6d, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b,0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x73, 0x63, 0x68,- 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0x91, 0x04, 0x0a, 0x0e, 0x53,- 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a,- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,- 0x65, 0x12, 0x32, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,- 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x06, 0x74,- 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,- 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74,- 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,- 0x74, 0x61, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c,- 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,- 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x69,- 0x65, 0x77, 0x73, 0x12, 0x3b, 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,- 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74,- 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,- 0x12, 0x3e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x18, 0x06,- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x74, 0x61,- 0x64, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73,- 0x12, 0x35, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,- 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07,- 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x2f, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73,- 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,- 0x61, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x54, 0x0a, 0x12, 0x6d, 0x61, 0x74, 0x65,- 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x09,- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56,- 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x11, 0x6d, 0x61, 0x74,- 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77, 0x73, 0x22, 0xca,- 0x01, 0x0a, 0x15, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65,- 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14,- 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x65, 0x78, 0x74, 0x65,- 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34,- 0x0a, 0x16, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14,- 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18,- 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,- 0x74, 0x61, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0xd1, 0x04, 0x0a, 0x0d,- 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a,- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,- 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03,- 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52,- 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65,- 0x78, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74,- 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x16,- 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,- 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74,- 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61,- 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e,- 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e,- 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07,- 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d,- 0x0a, 0x0a, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01,- 0x28, 0x03, 0x52, 0x09, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1b, 0x0a,- 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03,- 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x46, 0x72, 0x65, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x72,- 0x65, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,- 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x63,- 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,- 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d,- 0x65, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43,- 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67,- 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69,- 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x66,- 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x61,- 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62,- 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,- 0x61, 0x74, 0x61, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22,- 0x99, 0x03, 0x0a, 0x16, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,- 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c,- 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65,- 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,- 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a,- 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05,- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,- 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,- 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x44, 0x65, 0x66, 0x61,- 0x75, 0x6c, 0x74, 0x12, 0x49, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,- 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61,- 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52,- 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8a,- 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f,- 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a,- 0x05, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x41, 0x4e, 0x47,- 0x45, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4c,- 0x49, 0x53, 0x54, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x4c, 0x49, 0x53, 0x54, 0x5f, 0x43, 0x4f,- 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x41, 0x53, 0x48, 0x10,- 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x5f, 0x48, 0x41, 0x53, 0x48,- 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x4b, 0x45, 0x59, 0x10, 0x07, 0x12, 0x0e, 0x0a, 0x0a, 0x4c,- 0x49, 0x4e, 0x45, 0x41, 0x52, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x08, 0x22, 0xb3, 0x04, 0x0a, 0x0e,- 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12,- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,- 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,- 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f,- 0x0a, 0x0b, 0x68, 0x61, 0x73, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20,- 0x01, 0x28, 0x08, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12,- 0x23, 0x0a, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18,- 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,- 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x27, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f,- 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d,- 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2f, 0x0a,- 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73,- 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x11, 0x64, 0x65, 0x66,- 0x61, 0x75, 0x6c, 0x74, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b,- 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e,- 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6e,- 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,- 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63,- 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x09, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74,- 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18,- 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6c, 0x61, 0x73,- 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,- 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,- 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d,- 0x65, 0x6e, 0x74, 0x12, 0x51, 0x0a, 0x17, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,- 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0e,- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52,- 0x15, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e,- 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x09, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,- 0x74, 0x22, 0xa7, 0x01, 0x0a, 0x0c, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,- 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69,- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69,- 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,- 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,- 0x12, 0x49, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f,- 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64,- 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x10, 0x64, 0x65, 0x70, 0x65, 0x6e,- 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x57, 0x0a, 0x0f, 0x44,- 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x16,- 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,- 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18,- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06,- 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f,- 0x6c, 0x75, 0x6d, 0x6e, 0x22, 0xb3, 0x01, 0x0a, 0x18, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,- 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,- 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74,- 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e,- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12,- 0x49, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6c,- 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65,- 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x10, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64,- 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x46, 0x0a, 0x10, 0x46, 0x75,- 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12,- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,- 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e,- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69,- 0x6f, 0x6e, 0x22, 0x47, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x4d,- 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64,- 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xfd, 0x02, 0x0a, 0x0c,- 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,+ 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x3c, 0x0a, 0x1a, 0x63, 0x6c,+ 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x72, 0x6f,+ 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18,+ 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72,+ 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x91, 0x04, 0x0a, 0x0e, 0x53, 0x63, 0x68,+ 0x65, 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e,+ 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,+ 0x32, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,+ 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61,+ 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x06, 0x74, 0x61, 0x62,+ 0x6c, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f,+ 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72,+ 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,+ 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73,+ 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,+ 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69,+ 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76, 0x69, 0x65, 0x77,+ 0x73, 0x12, 0x3b, 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,+ 0x61, 0x74, 0x61, 0x52, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3e,+ 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03,+ 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,+ 0x74, 0x61, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x12, 0x35,+ 0x0a, 0x07, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32,+ 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74,+ 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x73, 0x74,+ 0x72, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x2f, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52,+ 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x54, 0x0a, 0x12, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69,+ 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x09, 0x20, 0x03,+ 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65,+ 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x11, 0x6d, 0x61, 0x74, 0x65, 0x72,+ 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77, 0x73, 0x22, 0xca, 0x01, 0x0a,+ 0x15, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65,+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x65, 0x78,+ 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61,+ 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e,+ 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16,+ 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x65, 0x78,+ 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4e, 0x61,+ 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20,+ 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,+ 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0xa9, 0x04, 0x0a, 0x0d, 0x54, 0x61,+ 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e,+ 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,+ 0x35, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,+ 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,+ 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x63,+ 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65,+ 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64,+ 0x61, 0x74, 0x61, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06,+ 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e,+ 0x67, 0x69, 0x6e, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f,+ 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69,+ 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,+ 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,+ 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01,+ 0x28, 0x03, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a,+ 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03,+ 0x52, 0x09, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x64,+ 0x61, 0x74, 0x61, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,+ 0x64, 0x61, 0x74, 0x61, 0x46, 0x72, 0x65, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61,+ 0x74, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,+ 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x73, 0x65,+ 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x0c,+ 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0c, 0x20, 0x03,+ 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64,+ 0x61, 0x74, 0x61, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x73,+ 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0f,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,+ 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69,+ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x99, 0x03, 0x0a, 0x16, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50,+ 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,+ 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d,+ 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79,+ 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69,+ 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x5f,+ 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x75,+ 0x73, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x49, 0x0a, 0x0d, 0x73, 0x75, 0x62,+ 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b,+ 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,+ 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74,+ 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,+ 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a,+ 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,+ 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x01, 0x12, 0x11,+ 0x0a, 0x0d, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10,+ 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x4c,+ 0x49, 0x53, 0x54, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10, 0x04, 0x12, 0x08, 0x0a,+ 0x04, 0x48, 0x41, 0x53, 0x48, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x4c, 0x49, 0x4e, 0x45, 0x41,+ 0x52, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x4b, 0x45, 0x59, 0x10,+ 0x07, 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x5f, 0x4b, 0x45, 0x59, 0x10,+ 0x08, 0x22, 0x8b, 0x04, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61,+ 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69,+ 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69,+ 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x61, 0x73, 0x5f, 0x64, 0x65, 0x66, 0x61,+ 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x44, 0x65,+ 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,+ 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0b, 0x64,+ 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x27, 0x0a, 0x0e, 0x64, 0x65,+ 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01,+ 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x74, 0x72,+ 0x69, 0x6e, 0x67, 0x12, 0x2f, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65,+ 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48,+ 0x00, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73,+ 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74,+ 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74,+ 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20,+ 0x01, 0x28, 0x08, 0x52, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a,+ 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70,+ 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f, 0x73,+ 0x65, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63,+ 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74,+ 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61,+ 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18,+ 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21,+ 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0d,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,+ 0x74, 0x12, 0x51, 0x0a, 0x17, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6d,+ 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0e, 0x20, 0x01,+ 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x15, 0x65,+ 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c,+ 0x65, 0x76, 0x65, 0x6c, 0x42, 0x09, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x22,+ 0xa7, 0x01, 0x0a, 0x0c, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,+ 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69,+ 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69,+ 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18,+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x49,+ 0x0a, 0x11, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75,+ 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e,+ 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x10, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65,+ 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x57, 0x0a, 0x0f, 0x44, 0x65, 0x70,+ 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x16, 0x0a, 0x06,+ 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63,+ 0x68, 0x65, 0x6d, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f,+ 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75,+ 0x6d, 0x6e, 0x22, 0xb3, 0x01, 0x0a, 0x18, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69,+ 0x7a, 0x65, 0x64, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12,+ 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,+ 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f,+ 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74,+ 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x49, 0x0a,+ 0x11, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d,+ 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74,+ 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x10, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e,+ 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x46, 0x0a, 0x10, 0x46, 0x75, 0x6e, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,- 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,- 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,- 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,- 0x12, 0x1c, 0x0a, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x18, 0x05, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x12, 0x1a,- 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x72,- 0x65, 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09,- 0x52, 0x0c, 0x70, 0x72, 0x65, 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x12, 0x35,- 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b,- 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05,- 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,- 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74,- 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f,- 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74,- 0x69, 0x6f, 0x6e, 0x22, 0x46, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11,- 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,- 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41,- 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f,- 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x22, 0x9f, 0x03, 0x0a, 0x0e,- 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12,- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,- 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d,- 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,- 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,- 0x74, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32,- 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74,- 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x79, 0x70,- 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x6c, 0x65,- 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x12, 0x34, 0x0a,- 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,- 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d,- 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f,- 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74,- 0x69, 0x6f, 0x6e, 0x22, 0x2c, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54,- 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,- 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x54, 0x41, 0x10,- 0x01, 0x22, 0x5a, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44,+ 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e,+ 0x22, 0x47, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x74,+ 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66,+ 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64,+ 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xfd, 0x02, 0x0a, 0x0c, 0x54, 0x61,+ 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,+ 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e,+ 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14,+ 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f,+ 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18,+ 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1c,+ 0x0a, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x09, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08,+ 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,+ 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x72, 0x65, 0x64,+ 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c,+ 0x70, 0x72, 0x65, 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x12, 0x35, 0x0a, 0x05,+ 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65,+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74,+ 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,+ 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f,+ 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18,+ 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f,+ 0x6e, 0x22, 0x46, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54,+ 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,+ 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54,+ 0x45, 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x55,+ 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x22, 0x9f, 0x03, 0x0a, 0x0e, 0x53, 0x74,+ 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,+ 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,+ 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12,+ 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65,+ 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52,+ 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x18, 0x06,+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x12, 0x34, 0x0a, 0x04, 0x6d,+ 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65,+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64,+ 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18,+ 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f,+ 0x6e, 0x22, 0x2c, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50,0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,- 0x10, 0x0a, 0x0c, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10,- 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x45, 0x4e, 0x44,- 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f,- 0x49, 0x4e, 0x53, 0x45, 0x52, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x03, 0x22, 0xfe, 0x01,- 0x0a, 0x0d, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12,- 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f,- 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73,- 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6b, 0x65, 0x79, 0x5f, 0x6c, 0x65, 0x6e,- 0x67, 0x74, 0x68, 0x18, 0x09, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x4c, 0x65,- 0x6e, 0x67, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x6e, 0x69, 0x71,- 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65,- 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28,- 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x69,- 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76, 0x69, 0x73,- 0x69, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18,- 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1e,- 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7b,- 0x0a, 0x11, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,- 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d,- 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12,- 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73,- 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,- 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa2, 0x02, 0x0a, 0x12,- 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,- 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,- 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,- 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x73,- 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x66,- 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x29, 0x0a,- 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x62, 0x6c,- 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,- 0x63, 0x65, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x66, 0x65,- 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05,- 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64,- 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x64, 0x65,- 0x6c, 0x65, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x44, 0x65,- 0x6c, 0x65, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,- 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65,- 0x22, 0x66, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66,- 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,- 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68,- 0x65, 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d,- 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0x61, 0x0a, 0x0c, 0x53, 0x63, 0x68, 0x65,- 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0d,- 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20,- 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x74,- 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0x63, 0x0a, 0x0b, 0x54,- 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40,- 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,- 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69,- 0x67, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,- 0x22, 0xc6, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69,- 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69,- 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x0e, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12,- 0x3d, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,- 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f,- 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c,- 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39,- 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,- 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,- 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x28, 0x0a, 0x0e, 0x44, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x73,- 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68,- 0x65, 0x6d, 0x61, 0x22, 0x69, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51,- 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a,- 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2,- 0x41, 0x01, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66,- 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c,- 0x74, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18,- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x22, 0x5c,- 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65,- 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0f, 0x73, 0x6c, 0x6f,- 0x77, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03,- 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x6f, 0x67, 0x52, 0x0d, 0x73,- 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x6f, 0x67, 0x73, 0x22, 0x8c, 0x01, 0x0a,- 0x0c, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x6f, 0x67, 0x12, 0x20, 0x0a,- 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,- 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,- 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x40, 0x0a, 0x0a, 0x73, 0x74, 0x61,- 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x6f, 0x77,- 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52,- 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x22, 0xf6, 0x04, 0x0a, 0x13,- 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74,- 0x69, 0x63, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x71, 0x6c, 0x5f, 0x66, 0x69, 0x6e, 0x67, 0x65,- 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x71,- 0x6c, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05,- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75,- 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x0f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x67,- 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4c,- 0x6f, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x12, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67,- 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01,- 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x61,- 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12,- 0x47, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79,- 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f,- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75,- 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x51,- 0x75, 0x65, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x76, 0x65, 0x72,- 0x61, 0x67, 0x65, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20,- 0x01, 0x28, 0x05, 0x52, 0x0f, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x52, 0x6f, 0x77, 0x73,- 0x53, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f,- 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52,- 0x0f, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x53, 0x65, 0x6e, 0x74,- 0x12, 0x32, 0x0a, 0x15, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x6f, 0x77, 0x73,- 0x5f, 0x65, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52,- 0x13, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x52, 0x6f, 0x77, 0x73, 0x45, 0x78, 0x61, 0x6d,- 0x69, 0x6e, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f,- 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x65, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64, 0x18, 0x09, 0x20,- 0x01, 0x28, 0x05, 0x52, 0x13, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x6f, 0x77, 0x73,- 0x45, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x71, 0x75, 0x65, 0x72,- 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x0a,- 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x71, 0x75, 0x65, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x50,- 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,- 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x63,- 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x07, 0x73,- 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x6f, 0x77, 0x51,- 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x73, 0x61, 0x6d,- 0x70, 0x6c, 0x65, 0x73, 0x22, 0x9c, 0x02, 0x0a, 0x10, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65,- 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61,- 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,- 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74,- 0x54, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0a, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x69,- 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74,- 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x36,- 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,- 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,- 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f,- 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x73,- 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x73, 0x53,- 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x65, 0x78, 0x61, 0x6d,- 0x69, 0x6e, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x6f, 0x77, 0x73,- 0x45, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x71, 0x6c, 0x5f,- 0x74, 0x65, 0x78, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x71, 0x6c, 0x54,- 0x65, 0x78, 0x74, 0x22, 0x6e, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65,- 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x06, 0x70, 0x61, 0x72,- 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52,- 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f,- 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65,- 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b,- 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f,- 0x6b, 0x65, 0x6e, 0x22, 0x6c, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65,- 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x65,- 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,- 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78,- 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,- 0x6e, 0x22, 0xaa, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72,- 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x06, 0x73, 0x65, 0x63,- 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x42, 0x04,- 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x3b, 0x0a, 0x0b,- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28,- 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,- 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c,- 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,- 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x2f,- 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,- 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,- 0xea, 0x01, 0x0a, 0x06, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x04, 0x6e, 0x61,- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04,- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,- 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x63, 0x72,- 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x75, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,- 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,- 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01,- 0x03, 0x52, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a,- 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2,- 0x41, 0x01, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65,- 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x50, 0x0a, 0x12,- 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,- 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x90,- 0x01, 0x0a, 0x13, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65,- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,- 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63,- 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1e, 0x0a, 0x0a, 0x73,- 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x0a, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x16, 0x63,- 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x73, 0x74, 0x61, 0x74,- 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x63, 0x72, 0x65,- 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e,- 0x74, 0x22, 0x89, 0x09, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74,- 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65,- 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61,- 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x04,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x3b, 0x0a,- 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,- 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a,- 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70,- 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,- 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,- 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x6c, 0x65, 0x61,- 0x73, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x0e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,- 0x12, 0x39, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e,- 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x53, 0x6f, 0x75,- 0x72, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x74,- 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69,- 0x73, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,- 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e,- 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61,- 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76,- 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65,- 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,- 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65,- 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74,- 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65,- 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73,- 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x27, 0x0a, 0x0f,- 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18,- 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74,- 0x53, 0x68, 0x65, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18,- 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1f, 0x0a,- 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x16, 0x20, 0x01,- 0x28, 0x03, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1f,- 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x0f, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12,- 0x28, 0x0a, 0x10, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x73,- 0x69, 0x7a, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x76, 0x53,- 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x65, 0x78, 0x65,- 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,- 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,- 0x52, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74,- 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x18, 0x11, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x4a, 0x0a, 0x11, 0x63, 0x68, 0x61,- 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x13,- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,- 0x63, 0x65, 0x73, 0x52, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f,- 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x3e, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,- 0x16, 0x0a, 0x12, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,- 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x55, 0x49, 0x10, 0x01, 0x12,- 0x07, 0x0a, 0x03, 0x56, 0x43, 0x53, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x4c, 0x49, 0x42, 0x52,- 0x41, 0x52, 0x59, 0x10, 0x03, 0x22, 0x71, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a,- 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,- 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x42, 0x41, 0x53, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x10,- 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0f,- 0x0a, 0x0b, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x44, 0x4c, 0x10, 0x03, 0x12,- 0x11, 0x0a, 0x0d, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x47, 0x48, 0x4f, 0x53, 0x54,- 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x52, 0x41, 0x4e, 0x43, 0x48, 0x10, 0x05, 0x12, 0x08,- 0x0a, 0x04, 0x44, 0x41, 0x54, 0x41, 0x10, 0x06, 0x22, 0x43, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74,- 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53,- 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45,- 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10,- 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x22, 0x56, 0x0a,- 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,- 0x73, 0x12, 0x42, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01,- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,- 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x73, 0x22, 0x6b, 0x0a, 0x17, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64,- 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x54, 0x41, 0x10, 0x01, 0x22,+ 0x5a, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f,+ 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a,+ 0x0c, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x01, 0x12,+ 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x45, 0x4e, 0x44, 0x5f, 0x4f,+ 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x49, 0x4e,+ 0x53, 0x45, 0x52, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x03, 0x22, 0xfe, 0x01, 0x0a, 0x0d,+ 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,+ 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,+ 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69,+ 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6b, 0x65, 0x79, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74,+ 0x68, 0x18, 0x09, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x4c, 0x65, 0x6e, 0x67,+ 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65,+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x12, 0x18,+ 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,+ 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x69, 0x73, 0x69,+ 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76, 0x69, 0x73, 0x69, 0x62,+ 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a,+ 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7b, 0x0a, 0x11,+ 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,+ 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18,+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x18, 0x0a,+ 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,+ 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,+ 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,+ 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa2, 0x02, 0x0a, 0x12, 0x46, 0x6f,+ 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18,- 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75,- 0x72, 0x63, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d,- 0x61, 0x73, 0x22, 0x66, 0x0a, 0x15, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73,- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,- 0x39, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,- 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68,- 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, 0x62,- 0x6c, 0x65, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22, 0x2a, 0x0a, 0x14, 0x43, 0x68,- 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, 0x62,- 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc2, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x43,- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65,+ 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18,+ 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x2b,+ 0x0a, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x73, 0x63, 0x68,+ 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72,+ 0x65, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x29, 0x0a, 0x10, 0x72,+ 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18,+ 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,+ 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65,+ 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03,+ 0x28, 0x09, 0x52, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x43, 0x6f,+ 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65,+ 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65,+ 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18,+ 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12,+ 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x54, 0x79, 0x70, 0x65, 0x22, 0xa4,+ 0x01, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,+ 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f,+ 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65,+ 0x6d, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,+ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x3c, 0x0a, 0x1a, 0x63, 0x6c, 0x61, 0x73, 0x73,+ 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x63,+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x63, 0x6c, 0x61,+ 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72, 0x6f, 0x6d, 0x43,+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x61, 0x0a, 0x0c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43,+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x74, 0x61, 0x62,+ 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,+ 0x32, 0x18, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,+ 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c,+ 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0x90, 0x01, 0x0a, 0x0b, 0x54, 0x61, 0x62,+ 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0e,+ 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,+ 0x0d, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x2b,+ 0x0a, 0x11, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,+ 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6c, 0x61, 0x73, 0x73,+ 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xf3, 0x01, 0x0a, 0x0c,+ 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x12, 0x28, 0x0a, 0x10, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70,+ 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x6d, 0x61,+ 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x06, 0x6c, 0x61,+ 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43,+ 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72,+ 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6c, 0x61,+ 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61,+ 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,+ 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,+ 0x01, 0x22, 0x28, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68,+ 0x65, 0x6d, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x69, 0x0a, 0x16, 0x4c,+ 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65,0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18,0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72,- 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65,- 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,- 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12,- 0x32, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e,+ 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6f,+ 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f,+ 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x22, 0x5c, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c,+ 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,+ 0x65, 0x12, 0x41, 0x0a, 0x0f, 0x73, 0x6c, 0x6f, 0x77, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f,+ 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65,+ 0x72, 0x79, 0x4c, 0x6f, 0x67, 0x52, 0x0d, 0x73, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79,+ 0x4c, 0x6f, 0x67, 0x73, 0x22, 0x8c, 0x01, 0x0a, 0x0c, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65,+ 0x72, 0x79, 0x4c, 0x6f, 0x67, 0x12, 0x20, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x08, 0x72,+ 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,+ 0x74, 0x12, 0x40, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18,+ 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61,+ 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74,+ 0x69, 0x63, 0x73, 0x22, 0xf6, 0x04, 0x0a, 0x13, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72,+ 0x79, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73,+ 0x71, 0x6c, 0x5f, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x01,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x71, 0x6c, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70,+ 0x72, 0x69, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20,+ 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x0f, 0x6c, 0x61,+ 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20,+ 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,+ 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x47,+ 0x0a, 0x12, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f,+ 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f,+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72,+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x51, 0x75,+ 0x65, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x69, 0x6d,+ 0x75, 0x6d, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20,+ 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10,+ 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65,+ 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x6f, 0x77, 0x73,+ 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x61, 0x76, 0x65,+ 0x72, 0x61, 0x67, 0x65, 0x52, 0x6f, 0x77, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11,+ 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x73, 0x65, 0x6e,+ 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d,+ 0x52, 0x6f, 0x77, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x76, 0x65, 0x72,+ 0x61, 0x67, 0x65, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x65, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65,+ 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65,+ 0x52, 0x6f, 0x77, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x15,+ 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x65, 0x78, 0x61,+ 0x6d, 0x69, 0x6e, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x6d, 0x61, 0x78,+ 0x69, 0x6d, 0x75, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64,+ 0x12, 0x2c, 0x0a, 0x12, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x70,+ 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x71, 0x75,+ 0x65, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x23,+ 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18,+ 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x63,+ 0x65, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x07, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x0c,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61,+ 0x69, 0x6c, 0x73, 0x52, 0x07, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x22, 0x9c, 0x02, 0x0a,+ 0x10, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,+ 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,+ 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,+ 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0a,+ 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,+ 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,+ 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x71, 0x75, 0x65,+ 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74,+ 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67,+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61,+ 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b,+ 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,+ 0x05, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72,+ 0x6f, 0x77, 0x73, 0x5f, 0x65, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01,+ 0x28, 0x05, 0x52, 0x0c, 0x72, 0x6f, 0x77, 0x73, 0x45, 0x78, 0x61, 0x6d, 0x69, 0x6e, 0x65, 0x64,+ 0x12, 0x19, 0x0a, 0x08, 0x73, 0x71, 0x6c, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x06, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x07, 0x73, 0x71, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x22, 0x6e, 0x0a, 0x12, 0x4c,+ 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x12, 0x1c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12,+ 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a,+ 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x6c, 0x0a, 0x13, 0x4c,+ 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,+ 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20,+ 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74,+ 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,+ 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74,+ 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xaa, 0x01, 0x0a, 0x13, 0x55, 0x70,+ 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x12, 0x31, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x0b, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06, 0x73, 0x65,+ 0x63, 0x72, 0x65, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d,+ 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c,+ 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73,+ 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69,+ 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d,+ 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x22, 0x2f, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,+ 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01,+ 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xea, 0x01, 0x0a, 0x06, 0x53, 0x65, 0x63, 0x72,+ 0x65, 0x74, 0x12, 0x18, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,+ 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x0c,+ 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04,+ 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d,+ 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d,+ 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,+ 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74,+ 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,+ 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c,+ 0x75, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,+ 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,+ 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x50, 0x0a, 0x12, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e,+ 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x06, 0x70, 0x61,+ 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02,+ 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74,+ 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61,+ 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x90, 0x01, 0x0a, 0x13, 0x41, 0x64, 0x76, 0x69, 0x73,+ 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23,+ 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18,+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x6e,+ 0x64, 0x65, 0x78, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f,+ 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74,+ 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x16, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x6e,+ 0x64, 0x65, 0x78, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78,+ 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x89, 0x09, 0x0a, 0x0d, 0x43, 0x68,+ 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e,+ 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,+ 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69,+ 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x75,+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x70,+ 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,+ 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,+ 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69,+ 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d,+ 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,+ 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,+ 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,+ 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73,+ 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72,+ 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73,+ 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75,+ 0x72, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,+ 0x0e, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x54, 0x79,+ 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,+ 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73,+ 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61,+ 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a,+ 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,+ 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a,+ 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,+ 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74,+ 0x53, 0x69, 0x7a, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e,+ 0x74, 0x5f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73,+ 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x68, 0x65, 0x65, 0x74, 0x12, 0x16, 0x0a,+ 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73,+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f,+ 0x73, 0x69, 0x7a, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65,+ 0x6d, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x73,+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65,+ 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x28, 0x0a, 0x10, 0x70, 0x72, 0x65, 0x76, 0x5f,+ 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28,+ 0x03, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x69, 0x7a,+ 0x65, 0x12, 0x48, 0x0a, 0x12, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64,+ 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e,+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,+ 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74,+ 0x69, 0x6f, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x69,+ 0x73, 0x73, 0x75, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x73, 0x73, 0x75,+ 0x65, 0x12, 0x4a, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73,+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67,+ 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x10, 0x63, 0x68, 0x61,+ 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x3e, 0x0a,+ 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x4f, 0x55, 0x52, 0x43,+ 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,+ 0x06, 0x0a, 0x02, 0x55, 0x49, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x56, 0x43, 0x53, 0x10, 0x02,+ 0x12, 0x0b, 0x0a, 0x07, 0x4c, 0x49, 0x42, 0x52, 0x41, 0x52, 0x59, 0x10, 0x03, 0x22, 0x71, 0x0a,+ 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e,+ 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x42,+ 0x41, 0x53, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x49, 0x47,+ 0x52, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54,+ 0x45, 0x5f, 0x53, 0x44, 0x4c, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x49, 0x47, 0x52, 0x41,+ 0x54, 0x45, 0x5f, 0x47, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x52,+ 0x41, 0x4e, 0x43, 0x48, 0x10, 0x05, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x41, 0x10, 0x06,+ 0x22, 0x43, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54,+ 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,+ 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12,+ 0x08, 0x0a, 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49,+ 0x4c, 0x45, 0x44, 0x10, 0x03, 0x22, 0x56, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64,+ 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x64, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67,+ 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x22, 0x6b, 0x0a,+ 0x17, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x07,+ 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e,0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e,- 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76,- 0x69, 0x65, 0x77, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x8c, 0x01, 0x0a, 0x1b,- 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,- 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x63,- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18,- 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d,+ 0x61, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x22, 0x66, 0x0a, 0x15, 0x43, 0x68,+ 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x63, 0x68,+ 0x65, 0x6d, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65,+ 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73,+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c,+ 0x65, 0x73, 0x22, 0x2a, 0x0a, 0x14, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73,+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,+ 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc2,+ 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73,+ 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a,+ 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2,+ 0x41, 0x01, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70,+ 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,+ 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65,+ 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61,+ 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x32, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18,+ 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,- 0x79, 0x52, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69,- 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f,- 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78,- 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9a, 0x01, 0x0a, 0x17, 0x47,- 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x04, 0x76, 0x69,- 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73,- 0x74, 0x6f, 0x72, 0x79, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x12, 0x1d,- 0x0a, 0x0a, 0x73, 0x64, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01,- 0x28, 0x08, 0x52, 0x09, 0x73, 0x64, 0x6c, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a,- 0x07, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,- 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x73, 0x65, 0x2a, 0x81, 0x01, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x56, 0x69, 0x65, 0x77,- 0x12, 0x26, 0x0a, 0x22, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x4d, 0x45, 0x54,- 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,- 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x44, 0x41, 0x54, 0x41,- 0x42, 0x41, 0x53, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x49,- 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x44, 0x41,- 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f,- 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x2a, 0x75, 0x0a, 0x11, 0x43,+ 0x79, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x12, 0x16, 0x0a, 0x06, 0x66,+ 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c,+ 0x74, 0x65, 0x72, 0x22, 0x8c, 0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e,+ 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,+ 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x68, 0x69,+ 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e,+ 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x67,+ 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65,+ 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b,+ 0x65, 0x6e, 0x22, 0x9a, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,+ 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,+ 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,+ 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,+ 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x56, 0x69, 0x65, 0x77,- 0x12, 0x23, 0x0a, 0x1f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f,- 0x52, 0x59, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,- 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f,- 0x48, 0x49, 0x53, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53,- 0x49, 0x43, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48,- 0x49, 0x53, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c,- 0x10, 0x02, 0x32, 0xe5, 0x14, 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53,- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x78, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0x31, 0xda,- 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76,- 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,- 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d,- 0x12, 0xaa, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0xda, 0x41, 0x00, 0x82, 0xd3,- 0xe4, 0x93, 0x02, 0x49, 0x5a, 0x23, 0x12, 0x21, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,- 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b,- 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,- 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x7d, 0x0a,- 0x0f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,- 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,- 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0xda, 0x41, 0x00,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0xa1, 0x01, 0x0a,- 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12,- 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70,- 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0x54, 0xda, 0x41, 0x14, 0x64,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d,- 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x3a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x32, 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,- 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d,- 0x12, 0xa6, 0x01, 0x0a, 0x14, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,- 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x01, 0x2a, 0x22, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b,- 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,- 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x62, 0x61,- 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x0c, 0x53, 0x79,- 0x6e, 0x63, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x44, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x44,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,- 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f,- 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f,- 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73,- 0x79, 0x6e, 0x63, 0x12, 0x92, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x27, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64,- 0x61, 0x74, 0x61, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x76, 0x31,- 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,- 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x6d,- 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x7d, 0x12, 0xbd, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64,- 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64,- 0x61, 0x74, 0x61, 0x12, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,- 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61,- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x58,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x52, 0x3a, 0x11, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x3d, 0x2f, 0x76, 0x31, 0x2f, 0x7b,+ 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x64, 0x6c, 0x5f, 0x66, 0x6f,+ 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x64, 0x6c, 0x46,+ 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x73, 0x65,+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x73, 0x65, 0x2a,+ 0x81, 0x01, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61,+ 0x64, 0x61, 0x74, 0x61, 0x56, 0x69, 0x65, 0x77, 0x12, 0x26, 0x0a, 0x22, 0x44, 0x41, 0x54, 0x41,+ 0x42, 0x41, 0x53, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x49,+ 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,+ 0x12, 0x20, 0x0a, 0x1c, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x4d, 0x45, 0x54,+ 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x43,+ 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x4d,+ 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c,+ 0x4c, 0x10, 0x02, 0x2a, 0x75, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73,+ 0x74, 0x6f, 0x72, 0x79, 0x56, 0x69, 0x65, 0x77, 0x12, 0x23, 0x0a, 0x1f, 0x43, 0x48, 0x41, 0x4e,+ 0x47, 0x45, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f,+ 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a,+ 0x19, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x52, 0x59, 0x5f,+ 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18,+ 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x56,+ 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x32, 0xe5, 0x14, 0x0a, 0x0f, 0x44,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x78,+ 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x1f, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0x31, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3,+ 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,+ 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xaa, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73,+ 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,+ 0x65, 0x22, 0x52, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x49, 0x5a, 0x23, 0x12, 0x21,+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,+ 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x73, 0x12, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69,+ 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x7d, 0x0a, 0x0f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72,+ 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,+ 0x6e, 0x73, 0x65, 0x22, 0x1f, 0xda, 0x41, 0x00, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14,+ 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x73, 0x65,+ 0x61, 0x72, 0x63, 0x68, 0x12, 0xa1, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x22, 0x54, 0xda, 0x41, 0x14, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2c,+ 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02,+ 0x37, 0x3a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x32, 0x2b, 0x2f, 0x76, 0x31,+ 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d,+ 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa6, 0x01, 0x0a, 0x14, 0x42, 0x61, 0x74,+ 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x73, 0x12, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62,+ 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55,+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65,+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x01,+ 0x2a, 0x22, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69,+ 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74,+ 0x65, 0x12, 0x87, 0x01, 0x0a, 0x0c, 0x53, 0x79, 0x6e, 0x63, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52,+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a,+ 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e,+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x79, 0x6e, 0x63, 0x12, 0x92, 0x01, 0x0a, 0x13,+ 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64,+ 0x61, 0x74, 0x61, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74,+ 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62,+ 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x33, 0x82, 0xd3, 0xe4,+ 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69,+ 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62,+ 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x7d,+ 0x12, 0xbd, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62,+ 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65,+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x58, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x52, 0x3a, 0x11,0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,- 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73,- 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x6d,- 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x7d, 0x12, 0x8a, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74,- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x25,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,- 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65,- 0x6d, 0x61, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x76, 0x31, 0x2f,- 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f,- 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x63,- 0x68, 0x65, 0x6d, 0x61, 0x7d, 0x12, 0xcd, 0x01, 0x0a, 0x0a, 0x44, 0x69, 0x66, 0x66, 0x53, 0x63,- 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73,- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x78, 0x3a, 0x01, 0x2a,- 0x5a, 0x44, 0x3a, 0x01, 0x2a, 0x22, 0x3f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,- 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48,- 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x64, 0x69, 0x66, 0x66,- 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,- 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61,- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x64, 0x69, 0x66, 0x66, 0x53,- 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x9f, 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c,- 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77,- 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,- 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,- 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82,- 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,- 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x6c, 0x6f, 0x77,- 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x8f, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74,- 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65,- 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0xda, 0x41, 0x06, 0x70,- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x76, 0x31,- 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,+ 0x61, 0x32, 0x3d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69,+ 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62,+ 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x7d,+ 0x12, 0x8a, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93,+ 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e,+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x7d, 0x12, 0xcd, 0x01,+ 0x0a, 0x0a, 0x44, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1e, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53,+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53,+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7e, 0x82,+ 0xd3, 0xe4, 0x93, 0x02, 0x78, 0x3a, 0x01, 0x2a, 0x5a, 0x44, 0x3a, 0x01, 0x2a, 0x22, 0x3f, 0x2f,+ 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a,- 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x8a, 0x01, 0x0a, 0x0c, 0x55, 0x70,- 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53,- 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65,- 0x74, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x3a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65,- 0x74, 0x32, 0x33, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x6e,- 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f,- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x72,- 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7e, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,- 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65,- 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,- 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x2a, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,- 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f,- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x72,- 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x93, 0x01, 0x0a, 0x0b, 0x41, 0x64, 0x76, 0x69, 0x73,- 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78,- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65,- 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0xda, 0x41, 0x06, 0x70, 0x61,- 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x22, 0x30, 0x2f, 0x76, 0x31, 0x2f,- 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,- 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d,- 0x3a, 0x61, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0xaf, 0x01, 0x0a,- 0x13, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f,- 0x72, 0x69, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73,- 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,- 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52,- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x45, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65,- 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f,- 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63,- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x99,- 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74,- 0x6f, 0x72, 0x79, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f,- 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69,- 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x43, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3,- 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,+ 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73,+ 0x2f, 0x2a, 0x7d, 0x3a, 0x64, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x2d,+ 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,+ 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f,+ 0x2a, 0x7d, 0x3a, 0x64, 0x69, 0x66, 0x66, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x9f, 0x01,+ 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65,+ 0x73, 0x12, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65,+ 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0xda, 0x41,+ 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f,+ 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61,+ 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,+ 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12,+ 0x8f, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12,+ 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,+ 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x1a, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,+ 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,+ 0x73, 0x65, 0x22, 0x3d, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4,+ 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,+ 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74,+ 0x73, 0x12, 0x8a, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72,+ 0x65, 0x74, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02,+ 0x3d, 0x3a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x32, 0x33, 0x2f, 0x76, 0x31, 0x2f, 0x7b,+ 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74,+ 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7e,+ 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x20,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c,+ 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,+ 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e,+ 0x2a, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74,+ 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x93,+ 0x01, 0x0a, 0x0b, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x76,+ 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,+ 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64,+ 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,+ 0x65, 0x22, 0x41, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93,+ 0x02, 0x32, 0x22, 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69,- 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65,- 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70,- 0x72, 0x6f, 0x74, 0x6f, 0x33,+ 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49,+ 0x6e, 0x64, 0x65, 0x78, 0x12, 0xaf, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61,+ 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43,+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69,+ 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,+ 0x45, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36,+ 0x12, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x69, 0x6e,+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73,+ 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x99, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x68,+ 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x24, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61,+ 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x43, 0xda,+ 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x76,+ 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,+ 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f,+ 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f,+ 0x2a, 0x7d, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d,+ 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,}var (diff --git a/proto/store/database.proto b/proto/store/database.protoindex 7bfba01014..aff04d7e96 100644--- a/proto/store/database.proto+++ b/proto/store/database.proto@@ -180,9 +180,6 @@ message TableMetadata {// classification and user_comment is parsed from the comment.string comment = 11;- // The classification is the classification of a table parsed from the comment.- string classification = 13;-// The user_comment is the user comment of a table parsed from the comment.string user_comment = 14;@@ -293,9 +290,6 @@ message ColumnMetadata {// classification and user_comment is parsed from the comment.string comment = 10;- // The classification is the classification of a table parsed from the comment.- string classification = 11;-// The user_comment is the user comment of a table parsed from the comment.string user_comment = 12;}@@ -467,6 +461,11 @@ message DatabaseConfig {// The schema_configs is the list of configs for schemas in a database.repeated SchemaConfig schema_configs = 2;++ // If true, we will only store the classification in the config.+ // Otherwise we will get the classification from table/column comment,+ // and write back to the schema metadata.+ bool classification_from_config = 3;}message SchemaConfig {@@ -484,6 +483,8 @@ message TableConfig {// The column_configs is the ordered list of configs for columns in a table.repeated ColumnConfig column_configs = 2;++ string classification_id = 3;}message ColumnConfig {@@ -494,4 +495,6 @@ message ColumnConfig {// The user labels for a column.map<string, string> labels = 3;++ string classification_id = 4;}diff --git a/proto/v1/database_service.proto b/proto/v1/database_service.protoindex 4d7217ae4a..87d577e2db 100644--- a/proto/v1/database_service.proto+++ b/proto/v1/database_service.proto@@ -367,6 +367,8 @@ message DatabaseMetadata {// The schema_configs is the list of configs for schemas in a database.repeated SchemaConfig schema_configs = 6;++ bool classification_from_config = 7;}// SchemaMetadata is the metadata for schemas.@@ -451,9 +453,6 @@ message TableMetadata {// classification and user_comment is parsed from the comment.string comment = 11;- // The classification is the classification of a table parsed from the comment.- string classification = 13;-// The user_comment is the user comment of a table parsed from the comment.string user_comment = 14;@@ -551,9 +550,6 @@ message ColumnMetadata {// classification and user_comment is parsed from the comment.string comment = 11;- // The classification is the classification of a column parsed from the comment.- string classification = 12;-// The user_comment is the user comment of a column parsed from the comment.string user_comment = 13;@@ -778,6 +774,11 @@ message DatabaseConfig {// The schema_configs is the list of configs for schemas in a database.repeated SchemaConfig schema_configs = 2;++ // If true, we will only store the classification in the config.+ // Otherwise we will get the classification from table/column comment,+ // and write back to the schema metadata.+ bool classification_from_config = 3;}message SchemaConfig {@@ -795,6 +796,8 @@ message TableConfig {// The column_configs is the ordered list of configs for columns in a table.repeated ColumnConfig column_configs = 2;++ string classification_id = 3;}message ColumnConfig {@@ -805,6 +808,8 @@ message ColumnConfig {// The user labels for a column.map<string, string> labels = 3;++ string classification_id = 4;}// DatabaseSchema is the metadata for databases.