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: unused parse to metadata (#15031)
Danny Xu0f801da0862e
diff --git a/backend/api/v1/branch_service.go b/backend/api/v1/branch_service.goindex 78bc3266fc..617272ab83 100644--- a/backend/api/v1/branch_service.go+++ b/backend/api/v1/branch_service.go@@ -24,7 +24,7 @@ func NewBranchService() *BranchService {return &BranchService{}}-func (*BranchService) DiffMetadata(ctx context.Context, request *v1pb.DiffMetadataRequest) (*v1pb.DiffMetadataResponse, error) {+func (*BranchService) DiffMetadata(_ context.Context, request *v1pb.DiffMetadataRequest) (*v1pb.DiffMetadataResponse, error) {switch request.Engine {case v1pb.Engine_MYSQL, v1pb.Engine_POSTGRES, v1pb.Engine_TIDB, v1pb.Engine_ORACLE:default:@@ -38,12 +38,10 @@ func (*BranchService) DiffMetadata(ctx context.Context, request *v1pb.DiffMetadareturn nil, err}sourceConfig := convertV1DatabaseConfig(- ctx,&v1pb.DatabaseConfig{Name: request.SourceMetadata.Name,SchemaConfigs: request.SourceMetadata.SchemaConfigs,},- nil, /* optionalStores */)sanitizeCommentForSchemaMetadata(storeSourceMetadata, model.NewDatabaseConfig(sourceConfig), request.ClassificationFromConfig)@@ -52,12 +50,10 @@ func (*BranchService) DiffMetadata(ctx context.Context, request *v1pb.DiffMetadareturn nil, err}targetConfig := convertV1DatabaseConfig(- ctx,&v1pb.DatabaseConfig{Name: request.TargetMetadata.Name,SchemaConfigs: request.TargetMetadata.SchemaConfigs,},- nil, /* optionalStores */)if err := checkDatabaseMetadata(storepb.Engine(request.Engine), storeTargetMetadata); err != nil {return nil, status.Errorf(codes.InvalidArgument, "invalid target metadata: %v", err)diff --git a/backend/api/v1/database_converter.go b/backend/api/v1/database_converter.goindex 2b72f076af..c960eef72d 100644--- a/backend/api/v1/database_converter.go+++ b/backend/api/v1/database_converter.go@@ -1,12 +1,8 @@package v1import (- "context"-"google.golang.org/protobuf/types/known/wrapperspb"- "github.com/bytebase/bytebase/backend/common"- "github.com/bytebase/bytebase/backend/store"storepb "github.com/bytebase/bytebase/proto/generated-go/store"v1pb "github.com/bytebase/bytebase/proto/generated-go/v1")@@ -479,7 +475,7 @@ func convertStoreGenerationMetadata(generation *storepb.GenerationMetadata) *v1preturn meta}-func convertStoreDatabaseConfig(ctx context.Context, config *storepb.DatabaseConfig, filter *metadataFilter, optionalStores *store.Store) *v1pb.DatabaseConfig {+func convertStoreDatabaseConfig(config *storepb.DatabaseConfig, filter *metadataFilter) *v1pb.DatabaseConfig {databaseConfig := &v1pb.DatabaseConfig{Name: config.Name,}@@ -500,65 +496,17 @@ func convertStoreDatabaseConfig(ctx context.Context, config *storepb.DatabaseConif filter != nil && filter.table != table.Name {continue}- s.TableConfigs = append(s.TableConfigs, convertStoreTableConfig(ctx, table, optionalStores))- }- for _, view := range schema.ViewConfigs {- if view == nil {- continue- }- s.ViewConfigs = append(s.ViewConfigs, convertStoreViewConfig(ctx, view, optionalStores))- }- for _, function := range schema.FunctionConfigs {- if function == nil {- continue- }- s.FunctionConfigs = append(s.FunctionConfigs, convertStoreFunctionConfig(ctx, function, optionalStores))- }- for _, procedure := range schema.ProcedureConfigs {- if procedure == nil {- continue- }- s.ProcedureConfigs = append(s.ProcedureConfigs, convertStoreProcedureConfig(ctx, procedure, optionalStores))+ s.TableConfigs = append(s.TableConfigs, convertStoreTableConfig(table))}databaseConfig.SchemaConfigs = append(databaseConfig.SchemaConfigs, s)}return databaseConfig}-func convertStoreFunctionConfig(ctx context.Context, config *storepb.FunctionConfig, optionalStores *store.Store) *v1pb.FunctionConfig {- return &v1pb.FunctionConfig{- Name: config.Name,- Updater: getUpdaterFromUID(ctx, config.Updater, optionalStores),- SourceBranch: config.SourceBranch,- UpdateTime: config.UpdateTime,- }-}--func convertStoreProcedureConfig(ctx context.Context, config *storepb.ProcedureConfig, optionalStores *store.Store) *v1pb.ProcedureConfig {- return &v1pb.ProcedureConfig{- Name: config.Name,- Updater: getUpdaterFromUID(ctx, config.Updater, optionalStores),- SourceBranch: config.SourceBranch,- UpdateTime: config.UpdateTime,- }-}--func convertStoreViewConfig(ctx context.Context, config *storepb.ViewConfig, optionalStores *store.Store) *v1pb.ViewConfig {- return &v1pb.ViewConfig{- Name: config.Name,- Updater: getUpdaterFromUID(ctx, config.Updater, optionalStores),- SourceBranch: config.SourceBranch,- UpdateTime: config.UpdateTime,- }-}--func convertStoreTableConfig(ctx context.Context, table *storepb.TableCatalog, optionalStores *store.Store) *v1pb.TableConfig {+func convertStoreTableConfig(table *storepb.TableCatalog) *v1pb.TableConfig {t := &v1pb.TableConfig{Name: table.Name,ClassificationId: table.Classification,- Updater: getUpdaterFromUID(ctx, table.Updater, optionalStores),- SourceBranch: table.SourceBranch,- UpdateTime: table.UpdateTime,}for _, column := range table.Columns {if column == nil {@@ -999,7 +947,7 @@ func convertV1GenerationMetadata(generation *v1pb.GenerationMetadata) *storepb.Greturn meta}-func convertV1DatabaseConfig(ctx context.Context, databaseConfig *v1pb.DatabaseConfig, optionalStores *store.Store) *storepb.DatabaseConfig {+func convertV1DatabaseConfig(databaseConfig *v1pb.DatabaseConfig) *storepb.DatabaseConfig {config := &storepb.DatabaseConfig{Name: databaseConfig.Name,}@@ -1015,65 +963,17 @@ func convertV1DatabaseConfig(ctx context.Context, databaseConfig *v1pb.DatabaseCcontinue}- s.Tables = append(s.Tables, convertV1TableConfig(ctx, table, optionalStores))- }- for _, view := range schema.ViewConfigs {- if view == nil {- continue- }- s.ViewConfigs = append(s.ViewConfigs, convertV1ViewConfig(ctx, view, optionalStores))- }- for _, function := range schema.FunctionConfigs {- if function == nil {- continue- }- s.FunctionConfigs = append(s.FunctionConfigs, convertV1FunctionConfig(ctx, function, optionalStores))- }- for _, procedure := range schema.ProcedureConfigs {- if procedure == nil {- continue- }- s.ProcedureConfigs = append(s.ProcedureConfigs, convertV1ProcedureConfig(ctx, procedure, optionalStores))+ s.Tables = append(s.Tables, convertV1TableConfig(table))}config.Schemas = append(config.Schemas, s)}return config}-func convertV1ViewConfig(ctx context.Context, view *v1pb.ViewConfig, optionalStores *store.Store) *storepb.ViewConfig {- return &storepb.ViewConfig{- Name: view.Name,- Updater: getUpdaterFromEmail(ctx, view.Updater, optionalStores),- UpdateTime: view.UpdateTime,- SourceBranch: view.SourceBranch,- }-}--func convertV1FunctionConfig(ctx context.Context, function *v1pb.FunctionConfig, optionalStores *store.Store) *storepb.FunctionConfig {- return &storepb.FunctionConfig{- Name: function.Name,- Updater: getUpdaterFromEmail(ctx, function.Updater, optionalStores),- UpdateTime: function.UpdateTime,- SourceBranch: function.SourceBranch,- }-}--func convertV1ProcedureConfig(ctx context.Context, procedure *v1pb.ProcedureConfig, optionalStores *store.Store) *storepb.ProcedureConfig {- return &storepb.ProcedureConfig{- Name: procedure.Name,- Updater: getUpdaterFromEmail(ctx, procedure.Updater, optionalStores),- UpdateTime: procedure.UpdateTime,- SourceBranch: procedure.SourceBranch,- }-}--func convertV1TableConfig(ctx context.Context, table *v1pb.TableConfig, optionalStores *store.Store) *storepb.TableCatalog {+func convertV1TableConfig(table *v1pb.TableConfig) *storepb.TableCatalog {t := &storepb.TableCatalog{Name: table.Name,Classification: table.ClassificationId,- Updater: getUpdaterFromEmail(ctx, table.Updater, optionalStores),- UpdateTime: table.UpdateTime,- SourceBranch: table.SourceBranch,}for _, column := range table.ColumnConfigs {if column == nil {@@ -1092,33 +992,3 @@ func convertV1ColumnConfig(column *v1pb.ColumnConfig) *storepb.ColumnCatalog {Classification: column.ClassificationId,}}--func getUpdaterFromUID(ctx context.Context, uidURI string, optionalStores *store.Store) string {- if optionalStores == nil {- return ""- }- uid, err := common.GetUserID(uidURI)- if err != nil {- return ""- }- user, err := optionalStores.GetUserByID(ctx, uid)- if err != nil {- return ""- }- return common.FormatUserEmail(user.Email)-}--func getUpdaterFromEmail(ctx context.Context, emailURI string, optionalStores *store.Store) string {- if optionalStores == nil {- return ""- }- email, err := common.GetUserEmail(emailURI)- if err != nil {- return ""- }- user, err := optionalStores.GetUserByEmail(ctx, email)- if err != nil {- return ""- }- return common.FormatUserUID(user.ID)-}diff --git a/backend/api/v1/database_service.go b/backend/api/v1/database_service.goindex 1e31eef585..b9d2bdd30c 100644--- a/backend/api/v1/database_service.go+++ b/backend/api/v1/database_service.go@@ -508,7 +508,7 @@ func (s *DatabaseService) GetDatabaseMetadata(ctx context.Context, request *v1pbif err != nil {return nil, err}- dbConfig := convertStoreDatabaseConfig(ctx, dbSchema.GetConfig(), filter, nil /* optionalStores */)+ dbConfig := convertStoreDatabaseConfig(dbSchema.GetConfig(), filter)if dbConfig != nil {v1pbMetadata.SchemaConfigs = dbConfig.SchemaConfigs}diff --git a/backend/api/v1/plan_service_plan_check.go b/backend/api/v1/plan_service_plan_check.goindex 205e236bb7..efeb3ac17e 100644--- a/backend/api/v1/plan_service_plan_check.go+++ b/backend/api/v1/plan_service_plan_check.go@@ -230,7 +230,7 @@ func getPlanCheckRunsFromChangeDatabaseConfigForDatabase(ctx context.Context, s},})- if config.Type == storepb.PlanConfig_ChangeDatabaseConfig_BASELINE || config.Type == storepb.PlanConfig_ChangeDatabaseConfig_BRANCH {+ if config.Type == storepb.PlanConfig_ChangeDatabaseConfig_BASELINE {return planCheckRuns, nil}diff --git a/backend/api/v1/sheet_service.go b/backend/api/v1/sheet_service.goindex d049f0e97f..67a9fb9602 100644--- a/backend/api/v1/sheet_service.go+++ b/backend/api/v1/sheet_service.go@@ -66,7 +66,7 @@ func (s *SheetService) CreateSheet(ctx context.Context, request *v1pb.CreateSheereturn nil, status.Errorf(codes.NotFound, "project with resource id %q had deleted", projectResourceID)}- storeSheetCreate, err := convertToStoreSheetMessage(ctx, project.UID, principalID, request.Sheet)+ storeSheetCreate, err := convertToStoreSheetMessage(project.UID, principalID, request.Sheet)if err != nil {return nil, status.Errorf(codes.InvalidArgument, "failed to convert sheet: %v", err)}@@ -113,7 +113,7 @@ func (s *SheetService) BatchCreateSheet(ctx context.Context, request *v1pb.Batchreturn nil, status.Errorf(codes.InvalidArgument, "Sheet Parent %q does not match BatchCreateSheetRequest.Parent %q", r.Parent, request.Parent)}- storeSheetCreate, err := convertToStoreSheetMessage(ctx, project.UID, user.ID, r.Sheet)+ storeSheetCreate, err := convertToStoreSheetMessage(project.UID, user.ID, r.Sheet)if err != nil {return nil, status.Errorf(codes.InvalidArgument, "failed to convert sheet: %v", err)}@@ -284,12 +284,6 @@ func (s *SheetService) convertToAPISheetMessage(ctx context.Context, sheet *stor{Start: 0, End: int32(sheet.Size)},}}- if payload := sheet.Payload; payload != nil {- if payload.DatabaseConfig != nil && payload.BaselineDatabaseConfig != nil {- v1SheetPayload.DatabaseConfig = convertStoreDatabaseConfig(ctx, payload.DatabaseConfig, nil /* filter */, nil /* optionalStores */)- v1SheetPayload.BaselineDatabaseConfig = convertStoreDatabaseConfig(ctx, payload.BaselineDatabaseConfig, nil /* filter */, nil /* optionalStores */)- }- }return &v1pb.Sheet{Name: common.FormatSheet(project.ResourceID, sheet.UID),@@ -304,7 +298,7 @@ func (s *SheetService) convertToAPISheetMessage(ctx context.Context, sheet *stor}, nil}-func convertToStoreSheetMessage(ctx context.Context, projectUID int, creatorID int, sheet *v1pb.Sheet) (*store.SheetMessage, error) {+func convertToStoreSheetMessage(projectUID int, creatorID int, sheet *v1pb.Sheet) (*store.SheetMessage, error) {sheetMessage := &store.SheetMessage{ProjectUID: projectUID,CreatorID: creatorID,@@ -313,10 +307,6 @@ func convertToStoreSheetMessage(ctx context.Context, projectUID int, creatorID iPayload: &storepb.SheetPayload{},}sheetMessage.Payload.Engine = convertEngine(sheet.Engine)- if sheet.Payload != nil {- sheetMessage.Payload.DatabaseConfig = convertV1DatabaseConfig(ctx, sheet.Payload.DatabaseConfig, nil /* optionalStores */)- sheetMessage.Payload.BaselineDatabaseConfig = convertV1DatabaseConfig(ctx, sheet.Payload.BaselineDatabaseConfig, nil /* optionalStores */)- }return sheetMessage, nil}diff --git a/backend/api/v1/sql_service.go b/backend/api/v1/sql_service.goindex 1c1174f540..4d088d3d11 100644--- a/backend/api/v1/sql_service.go+++ b/backend/api/v1/sql_service.go@@ -1502,7 +1502,7 @@ func (*SQLService) ParseMyBatisMapper(_ context.Context, request *v1pb.ParseMyBa}// StringifyMetadata returns the stringified schema of the given metadata.-func (*SQLService) StringifyMetadata(ctx context.Context, request *v1pb.StringifyMetadataRequest) (*v1pb.StringifyMetadataResponse, error) {+func (*SQLService) StringifyMetadata(_ context.Context, request *v1pb.StringifyMetadataRequest) (*v1pb.StringifyMetadataResponse, error) {switch request.Engine {case v1pb.Engine_MYSQL, v1pb.Engine_OCEANBASE, v1pb.Engine_POSTGRES, v1pb.Engine_TIDB, v1pb.Engine_ORACLE, v1pb.Engine_REDSHIFT, v1pb.Engine_CLICKHOUSE:default:@@ -1517,12 +1517,10 @@ func (*SQLService) StringifyMetadata(ctx context.Context, request *v1pb.Stringifreturn nil, err}config := convertV1DatabaseConfig(- ctx,&v1pb.DatabaseConfig{Name: request.Metadata.Name,SchemaConfigs: request.Metadata.SchemaConfigs,},- nil, /* optionalStores */)if !request.ClassificationFromConfig {diff --git a/backend/plugin/schema/mysql/parse_to_metadata.go b/backend/plugin/schema/mysql/parse_to_metadata.godeleted file mode 100644index 661b6d1437..0000000000--- a/backend/plugin/schema/mysql/parse_to_metadata.go+++ /dev/null@@ -1,652 +0,0 @@-package mysql--import (- "fmt"- "strconv"- "strings"-- "github.com/antlr4-go/antlr/v4"- "github.com/pkg/errors"-- mysql "github.com/bytebase/mysql-parser"-- mysqlparser "github.com/bytebase/bytebase/backend/plugin/parser/mysql"- "github.com/bytebase/bytebase/backend/plugin/schema"- storepb "github.com/bytebase/bytebase/proto/generated-go/store"-)--func init() {- schema.RegisterParseToMetadatas(storepb.Engine_MYSQL, ParseToMetadata)-}--// ParseToMetadata converts a schema string to database metadata.-func ParseToMetadata(_, schema string) (*storepb.DatabaseSchemaMetadata, error) {- list, err := mysqlparser.ParseMySQL(schema)- if err != nil {- return nil, err- }-- listener := &mysqlTransformer{- state: newDatabaseState(),- }- listener.state.schemas[""] = newSchemaState()-- for _, stmt := range list {- antlr.ParseTreeWalkerDefault.Walk(listener, stmt.Tree)- }-- return listener.state.convertToDatabaseMetadata(), listener.err-}--type mysqlTransformer struct {- *mysql.BaseMySQLParserListener-- state *databaseState- currentTable string- err error-}--// EnterCreateTable is called when production createTable is entered.-func (t *mysqlTransformer) EnterCreateTable(ctx *mysql.CreateTableContext) {- if t.err != nil {- return- }- databaseName, tableName := mysqlparser.NormalizeMySQLTableName(ctx.TableName())- if databaseName != "" {- if t.state.name == "" {- t.state.name = databaseName- } else if t.state.name != databaseName {- t.err = errors.New("multiple database names found: " + t.state.name + ", " + databaseName)- return- }- }-- schema := t.state.schemas[""]- if _, ok := schema.tables[tableName]; ok {- t.err = errors.New("multiple table names found: " + tableName)- return- }-- schema.tables[tableName] = newTableState(len(schema.tables), tableName)- t.currentTable = tableName-}--// ExitCreateTable is called when production createTable is exited.-func (t *mysqlTransformer) ExitCreateTable(_ *mysql.CreateTableContext) {- t.currentTable = ""-}--// EnterCreateTableOption is called when production createTableOption is entered.-func (t *mysqlTransformer) EnterCreateTableOption(ctx *mysql.CreateTableOptionContext) {- if t.err != nil || t.currentTable == "" {- return- }-- if ctx.ENGINE_SYMBOL() != nil {- engineString := ctx.EngineRef().TextOrIdentifier().GetParser().GetTokenStream().GetTextFromRuleContext(ctx.EngineRef().TextOrIdentifier())- schema := t.state.schemas[""]- table, ok := schema.tables[t.currentTable]- if !ok {- // This should never happen.- return- }- table.engine = engineString- }-- if defaultCollation := ctx.DefaultCollation(); defaultCollation != nil {- collationString := defaultCollation.CollationName().GetParser().GetTokenStream().GetTextFromRuleContext(defaultCollation.CollationName())- schema := t.state.schemas[""]- table, ok := schema.tables[t.currentTable]- if !ok {- // This should never happen.- return- }- table.collation = collationString- }-- if ctx.COMMENT_SYMBOL() != nil {- commentString := ctx.TextStringLiteral().GetText()- if len(commentString) > 2 {- quotes := commentString[0]- escape := fmt.Sprintf("%c%c", quotes, quotes)- commentString = strings.ReplaceAll(commentString[1:len(commentString)-1], escape, string(quotes))- }-- schema := t.state.schemas[""]- table, ok := schema.tables[t.currentTable]- if !ok {- // This should never happen.- return- }- table.comment = commentString- }-}--// EnterColumnDefinition is called when production columnDefinition is entered.-func (t *mysqlTransformer) EnterColumnDefinition(ctx *mysql.ColumnDefinitionContext) {- if t.err != nil || t.currentTable == "" {- return- }-- _, _, columnName := mysqlparser.NormalizeMySQLColumnName(ctx.ColumnName())- dataType := getDataTypePlainText(ctx.FieldDefinition().DataType())- table := t.state.schemas[""].tables[t.currentTable]- if _, ok := table.columns[columnName]; ok {- t.err = errors.New("multiple column names found: " + columnName + " in table " + t.currentTable)- return- }- columnState := &columnState{- id: len(table.columns),- name: columnName,- tp: dataType,- defaultValue: nil,- comment: "",- nullable: true,- }-- for _, attribute := range ctx.FieldDefinition().AllColumnAttribute() {- switch {- case attribute.NullLiteral() != nil && attribute.NOT_SYMBOL() != nil:- columnState.nullable = false- case attribute.DEFAULT_SYMBOL() != nil && attribute.SERIAL_SYMBOL() == nil:- defaultValueStart := nextDefaultChannelTokenIndex(ctx.GetParser().GetTokenStream(), attribute.DEFAULT_SYMBOL().GetSymbol().GetTokenIndex())- defaultValue := attribute.GetParser().GetTokenStream().GetTextFromInterval(antlr.Interval{- Start: defaultValueStart,- Stop: attribute.GetStop().GetTokenIndex(),- })- switch {- case strings.EqualFold(defaultValue, "NULL"):- columnState.defaultValue = &defaultValueNull{}- case strings.HasPrefix(defaultValue, "'") && strings.HasSuffix(defaultValue, "'"):- columnState.defaultValue = &defaultValueString{value: strings.ReplaceAll(defaultValue[1:len(defaultValue)-1], "''", "'")}- case strings.HasPrefix(defaultValue, "\"") && strings.HasSuffix(defaultValue, "\""):- columnState.defaultValue = &defaultValueString{value: strings.ReplaceAll(defaultValue[1:len(defaultValue)-1], "\"\"", "\"")}- default:- columnState.defaultValue = &defaultValueExpression{value: defaultValue}- }- case attribute.COMMENT_SYMBOL() != nil:- commentStart := nextDefaultChannelTokenIndex(ctx.GetParser().GetTokenStream(), attribute.COMMENT_SYMBOL().GetSymbol().GetTokenIndex())- comment := attribute.GetParser().GetTokenStream().GetTextFromInterval(antlr.Interval{- Start: commentStart,- Stop: attribute.GetStop().GetTokenIndex(),- })- if comment != `''` && len(comment) > 2 {- columnState.comment = comment[1 : len(comment)-1]- }- // todo(zp): refactor column attribute.- case attribute.AUTO_INCREMENT_SYMBOL() != nil:- defaultValue := autoIncrementSymbol- columnState.defaultValue = &defaultValueExpression{value: defaultValue}- case attribute.ON_SYMBOL() != nil && attribute.UPDATE_SYMBOL() != nil:- onUpdateValue := ""- if attribute.TimeFunctionParameters() != nil && attribute.TimeFunctionParameters().FractionalPrecision() != nil {- onUpdateValue = "CURRENT_TIMESTAMP(" + attribute.TimeFunctionParameters().FractionalPrecision().GetText() + ")"- } else {- onUpdateValue = "CURRENT_TIMESTAMP"- }- columnState.onUpdate = onUpdateValue- }- }-- if columnState.defaultValue == nil && columnState.nullable {- columnState.defaultValue = &defaultValueNull{}- }-- table.columns[columnName] = columnState-}--// EnterTableConstraintDef is called when production tableConstraintDef is entered.-func (t *mysqlTransformer) EnterTableConstraintDef(ctx *mysql.TableConstraintDefContext) {- if t.err != nil || t.currentTable == "" {- return- }-- if ctx.GetType_() != nil {- symbol := strings.ToUpper(ctx.GetType_().GetText())- switch symbol {- case "PRIMARY":- keys, keyLengths := extractKeyListVariants(ctx.KeyListVariants())- table := t.state.schemas[""].tables[t.currentTable]- table.indexes["PRIMARY"] = &indexState{- id: len(table.indexes),- name: "PRIMARY",- keys: keys,- lengths: keyLengths,- primary: true,- unique: true,- }- case "FOREIGN":- var name string- if ctx.ConstraintName() != nil && ctx.ConstraintName().Identifier() != nil {- name = mysqlparser.NormalizeMySQLIdentifier(ctx.ConstraintName().Identifier())- } else if ctx.IndexName() != nil {- name = mysqlparser.NormalizeMySQLIdentifier(ctx.IndexName().Identifier())- }- keys, _ := extractKeyList(ctx.KeyList())- table := t.state.schemas[""].tables[t.currentTable]- if table.foreignKeys[name] != nil {- t.err = errors.New("multiple foreign keys found: " + name)- return- }- referencedTable, referencedColumns := extractReference(ctx.References())- fk := &foreignKeyState{- id: len(table.foreignKeys),- name: name,- columns: keys,- referencedTable: referencedTable,- referencedColumns: referencedColumns,- }- table.foreignKeys[name] = fk- case "FULLTEXT":- var name string- if ctx.IndexName() != nil {- name = mysqlparser.NormalizeMySQLIdentifier(ctx.IndexName().Identifier())- }- keys, keyLengths := extractKeyListVariants(ctx.KeyListVariants())- table := t.state.schemas[""].tables[t.currentTable]- if table.indexes[name] != nil {- t.err = errors.New("multiple indexes found: " + name)- return- }- idx := &indexState{- id: len(table.indexes),- name: name,- keys: keys,- lengths: keyLengths,- primary: false,- unique: false,- tp: symbol,- }- table.indexes[name] = idx- case "SPATIAL":- var name string- if ctx.IndexName() != nil {- name = mysqlparser.NormalizeMySQLIdentifier(ctx.IndexName().Identifier())- }- keys, keyLengths := extractKeyListVariants(ctx.KeyListVariants())- table := t.state.schemas[""].tables[t.currentTable]- if table.indexes[name] != nil {- t.err = errors.New("multiple indexes found: " + name)- return- }- idx := &indexState{- id: len(table.indexes),- name: name,- keys: keys,- lengths: keyLengths,- primary: false,- unique: false,- tp: symbol,- }- table.indexes[name] = idx- case "KEY", "INDEX", "UNIQUE":- var name string- if v := ctx.IndexNameAndType(); v != nil {- name = mysqlparser.NormalizeMySQLIdentifier(v.IndexName().Identifier())- } else {- t.err = errors.New("index name not found")- }- keys, keyLengths := extractKeyListVariants(ctx.KeyListVariants())- table := t.state.schemas[""].tables[t.currentTable]- if table.indexes[name] != nil {- t.err = errors.New("multiple indexes found: " + name)- return- }- tp := "BTREE"- if v := ctx.IndexNameAndType(); v != nil && v.IndexType() != nil {- tp = strings.ToUpper(v.IndexType().GetText())- }- idx := &indexState{- id: len(table.indexes),- name: name,- keys: keys,- lengths: keyLengths,- primary: false,- unique: symbol == "UNIQUE",- tp: tp,- }- table.indexes[name] = idx- }- }-}--func (t *mysqlTransformer) EnterPartitionClause(ctx *mysql.PartitionClauseContext) {- if t.err != nil {- return- }- if _, parentIsCreateTable := ctx.GetParent().(*mysql.CreateTableContext); !parentIsCreateTable {- return- }- if t.currentTable == "" {- return- }- table := t.state.schemas[""].tables[t.currentTable]- if table == nil {- return- }-- parititonInfo := partitionInfo{}-- iTypeDefCtx := ctx.PartitionTypeDef()- if iTypeDefCtx != nil {- switch typeDefCtx := iTypeDefCtx.(type) {- case *mysql.PartitionDefKeyContext:- parititonInfo.tp = storepb.TablePartitionMetadata_KEY- if typeDefCtx.LINEAR_SYMBOL() != nil {- parititonInfo.tp = storepb.TablePartitionMetadata_LINEAR_KEY- }- // TODO(zp): handle the key algorithm- if typeDefCtx.IdentifierList() != nil {- identifiers := extractIdentifierList(typeDefCtx.IdentifierList())- for i, identifier := range identifiers {- identifier := strings.TrimSpace(identifier)- if !strings.HasPrefix(identifier, "`") || !strings.HasSuffix(identifier, "`") {- identifiers[i] = fmt.Sprintf("`%s`", identifier)- }- }- parititonInfo.expr = strings.Join(identifiers, ",")- }- case *mysql.PartitionDefHashContext:- parititonInfo.tp = storepb.TablePartitionMetadata_HASH- if typeDefCtx.LINEAR_SYMBOL() != nil {- parititonInfo.tp = storepb.TablePartitionMetadata_LINEAR_HASH- }- bitExprText := typeDefCtx.GetParser().GetTokenStream().GetTextFromRuleContext(typeDefCtx.BitExpr())- bitExprFields := strings.Split(bitExprText, ",")- for i, bitExprField := range bitExprFields {- bitExprField := strings.TrimSpace(bitExprField)- if !strings.HasPrefix(bitExprField, "`") || !strings.HasSuffix(bitExprField, "`") {- bitExprFields[i] = fmt.Sprintf("`%s`", bitExprField)- }- }- parititonInfo.expr = strings.Join(bitExprFields, ",")- case *mysql.PartitionDefRangeListContext:- if typeDefCtx.RANGE_SYMBOL() != nil {- parititonInfo.tp = storepb.TablePartitionMetadata_RANGE- } else {- parititonInfo.tp = storepb.TablePartitionMetadata_LIST- }- if typeDefCtx.COLUMNS_SYMBOL() != nil {- if parititonInfo.tp == storepb.TablePartitionMetadata_RANGE {- parititonInfo.tp = storepb.TablePartitionMetadata_RANGE_COLUMNS- } else {- parititonInfo.tp = storepb.TablePartitionMetadata_LIST_COLUMNS- }-- identifierList := extractIdentifierList(typeDefCtx.IdentifierList())- for i, identifier := range identifierList {- identifier := strings.TrimSpace(identifier)- if !strings.HasPrefix(identifier, "`") || !strings.HasSuffix(identifier, "`") {- identifierList[i] = fmt.Sprintf("`%s`", identifier)- }- }- parititonInfo.expr = strings.Join(identifierList, ",")- } else {- bitExprText := typeDefCtx.GetParser().GetTokenStream().GetTextFromRuleContext(typeDefCtx.BitExpr())- bitExprFields := strings.Split(bitExprText, ",")- for i, bitExprField := range bitExprFields {- bitExprField := strings.TrimSpace(bitExprField)- if !strings.HasPrefix(bitExprField, "`") || !strings.HasSuffix(bitExprField, "`") {- bitExprFields[i] = fmt.Sprintf("`%s`", bitExprField)- }- }- parititonInfo.expr = strings.Join(bitExprFields, ",")- }- default:- t.err = errors.New("unknown partition type")- return- }- }-- if n := ctx.Real_ulong_number(); n != nil {- number, err := strconv.ParseInt(n.GetText(), 10, 64)- if err != nil {- t.err = errors.Wrap(err, "failed to parse partition number")- return- }- parititonInfo.useDefault = int(number)- }-- var subInfo *partitionInfo- if subPartitionCtx := ctx.SubPartitions(); subPartitionCtx != nil {- subInfo = new(partitionInfo)- if subPartitionCtx.HASH_SYMBOL() != nil {- subInfo.tp = storepb.TablePartitionMetadata_HASH- if subPartitionCtx.LINEAR_SYMBOL() != nil {- subInfo.tp = storepb.TablePartitionMetadata_LINEAR_HASH- }- if bitExprCtx := subPartitionCtx.BitExpr(); bitExprCtx != nil {- bitExprText := bitExprCtx.GetParser().GetTokenStream().GetTextFromRuleContext(bitExprCtx)- bitExprFields := strings.Split(bitExprText, ",")- for i, bitExprField := range bitExprFields {- bitExprField := strings.TrimSpace(bitExprField)- if !strings.HasPrefix(bitExprField, "`") || !strings.HasSuffix(bitExprField, "`") {- bitExprFields[i] = fmt.Sprintf("`%s`", bitExprField)- }- }- subInfo.expr = strings.Join(bitExprFields, ",")- }- } else if subPartitionCtx.KEY_SYMBOL() != nil {- subInfo.tp = storepb.TablePartitionMetadata_KEY- if subPartitionCtx.LINEAR_SYMBOL() != nil {- subInfo.tp = storepb.TablePartitionMetadata_LINEAR_KEY- }- if identifierListParensCtx := subPartitionCtx.IdentifierListWithParentheses(); identifierListParensCtx != nil {- identifiers := extractIdentifierList(identifierListParensCtx.IdentifierList())- for i, identifier := range identifiers {- identifier := strings.TrimSpace(identifier)- if !strings.HasPrefix(identifier, "`") || !strings.HasSuffix(identifier, "`") {- identifiers[i] = fmt.Sprintf("`%s`", identifier)- }- }- subInfo.expr = strings.Join(identifiers, ",")- }- }-- if n := subPartitionCtx.Real_ulong_number(); n != nil {- number, err := strconv.ParseInt(n.GetText(), 10, 64)- if err != nil {- t.err = errors.Wrap(err, "failed to parse sub partition number")- return- }- subInfo.useDefault = int(number)- }- }-- partitionDefinitions := make(map[string]*partitionDefinition)- var allPartDefs []mysql.IPartitionDefinitionContext- if v := ctx.PartitionDefinitions(); v != nil {- allPartDefs = ctx.PartitionDefinitions().AllPartitionDefinition()- }- for i, partDef := range allPartDefs {- pd := &partitionDefinition{- id: i + 1,- name: mysqlparser.NormalizeMySQLIdentifier(partDef.Identifier()),- }- switch parititonInfo.tp {- case storepb.TablePartitionMetadata_RANGE_COLUMNS, storepb.TablePartitionMetadata_RANGE:- if partDef.LESS_SYMBOL() == nil {- t.err = errors.New("RANGE partition but no LESS THAN clause")- return- }- if partDef.PartitionValueItemListParen() != nil {- itemsText := partDef.PartitionValueItemListParen().GetParser().GetTokenStream().GetTextFromInterval(- antlr.NewInterval(- partDef.PartitionValueItemListParen().OPEN_PAR_SYMBOL().GetSymbol().GetTokenIndex()+1,- partDef.PartitionValueItemListParen().CLOSE_PAR_SYMBOL().GetSymbol().GetTokenIndex()-1,- ),- )- itemsTextFields := strings.Split(itemsText, ",")- for i, itemsTextField := range itemsTextFields {- itemsTextField := strings.TrimSpace(itemsTextField)- if strings.HasPrefix(itemsTextField, "`") && strings.HasSuffix(itemsTextField, "`") {- itemsTextField = itemsTextField[1 : len(itemsTextField)-1]- }- itemsTextFields[i] = itemsTextField- }- pd.value = strings.Join(itemsTextFields, ",")- } else {- pd.value = "MAXVALUE"- }- case storepb.TablePartitionMetadata_LIST_COLUMNS, storepb.TablePartitionMetadata_LIST:- if partDef.PartitionValuesIn() == nil {- t.err = errors.New("COLUMNS partition but no partition value item in IN clause")- return- }- var itemsText string- if partDef.PartitionValuesIn().OPEN_PAR_SYMBOL() != nil {- itemsText = partDef.PartitionValuesIn().GetParser().GetTokenStream().GetTextFromInterval(- antlr.NewInterval(- partDef.PartitionValuesIn().OPEN_PAR_SYMBOL().GetSymbol().GetTokenIndex()+1,- partDef.PartitionValuesIn().CLOSE_PAR_SYMBOL().GetSymbol().GetTokenIndex()-1,- ),- )- } else {- itemsText = partDef.PartitionValuesIn().GetParser().GetTokenStream().GetTextFromRuleContext(partDef.PartitionValuesIn().PartitionValueItemListParen(0))- }-- itemsTextFields := strings.Split(itemsText, ",")- for i, itemsTextField := range itemsTextFields {- itemsTextField := strings.TrimSpace(itemsTextField)- if strings.HasPrefix(itemsTextField, "`") && strings.HasSuffix(itemsTextField, "`") {- itemsTextField = itemsTextField[1 : len(itemsTextField)-1]- }- itemsTextFields[i] = itemsTextField- }- pd.value = strings.Join(itemsTextFields, ",")- case storepb.TablePartitionMetadata_HASH, storepb.TablePartitionMetadata_LINEAR_HASH, storepb.TablePartitionMetadata_KEY, storepb.TablePartitionMetadata_LINEAR_KEY:- default:- t.err = errors.New("unknown partition type")- return- }-- if subInfo != nil {- allSubpartitions := partDef.AllSubpartitionDefinition()- if subInfo.tp == storepb.TablePartitionMetadata_TYPE_UNSPECIFIED && len(allSubpartitions) > 0 {- t.err = errors.New("specify subpartition definition but no subpartition type specified")- return- }- subPartitionDefinitions := make(map[string]*partitionDefinition)- for i, sub := range allSubpartitions {- subpd := &partitionDefinition{- id: i + 1,- name: mysqlparser.NormalizeMySQLTextOrIdentifier(sub.TextOrIdentifier()),- }- subPartitionDefinitions[subpd.name] = subpd- }- pd.subpartitions = subPartitionDefinitions- }-- partitionDefinitions[pd.name] = pd- }-- table.partition = &partitionState{- info: parititonInfo,- subInfo: subInfo,- partitions: partitionDefinitions,- }-}--func (t *mysqlTransformer) EnterCreateFunction(ctx *mysql.CreateFunctionContext) {- p := ctx.GetParent()- pCtx, ok := p.(*mysql.CreateStatementContext)- if !ok {- return- }- pp := p.GetParent()- if _, ok := pp.(*mysql.SimpleStatementContext); !ok {- return- }- ppp := pp.GetParent()- if _, ok := ppp.(*mysql.QueryContext); !ok {- return- }-- databaseName, functionName := mysqlparser.NormalizeMySQLFunctionName(ctx.FunctionName())- if databaseName != "" && t.state.name != "" && databaseName != t.state.name {- t.err = errors.New("multiple database names found: " + t.state.name + ", " + databaseName)- return- }-- schema, ok := t.state.schemas[""]- if !ok || schema == nil {- t.state.schemas[""] = newSchemaState()- schema = t.state.schemas[""]- }-- definition := pCtx.GetParser().GetTokenStream().GetTextFromInterval(antlr.Interval{- Start: pCtx.GetStart().GetTokenIndex(),- Stop: pCtx.GetStop().GetTokenIndex(),- })- schema.functions[functionName] = &functionState{- id: len(schema.functions),- name: functionName,- definition: definition,- }-}--func (t *mysqlTransformer) EnterCreateProcedure(ctx *mysql.CreateProcedureContext) {- p := ctx.GetParent()- pCtx, ok := p.(*mysql.CreateStatementContext)- if !ok {- return- }- pp := p.GetParent()- if _, ok := pp.(*mysql.SimpleStatementContext); !ok {- return- }- ppp := pp.GetParent()- if _, ok := ppp.(*mysql.QueryContext); !ok {- return- }-- databaseName, procedureName := mysqlparser.NormalizeMySQLProcedureName(ctx.ProcedureName())- if databaseName != "" && t.state.name != "" && databaseName != t.state.name {- t.err = errors.New("multiple database names found: " + t.state.name + ", " + databaseName)- return- }-- schema, ok := t.state.schemas[""]- if !ok || schema == nil {- t.state.schemas[""] = newSchemaState()- schema = t.state.schemas[""]- }-- definition := pCtx.GetParser().GetTokenStream().GetTextFromInterval(antlr.Interval{- Start: pCtx.GetStart().GetTokenIndex(),- Stop: pCtx.GetStop().GetTokenIndex(),- })- schema.procedures[procedureName] = &procedureState{- id: len(schema.procedures),- name: procedureName,- definition: definition,- }-}--func (t *mysqlTransformer) EnterCreateView(ctx *mysql.CreateViewContext) {- if t.err != nil {- return- }-- databaseName, viewName := mysqlparser.NormalizeMySQLViewName(ctx.ViewName())- if databaseName != "" && t.state.name != "" && databaseName != t.state.name {- t.err = errors.New("multiple database names found: " + t.state.name + ", " + databaseName)- return- }-- schema, ok := t.state.schemas[""]- if !ok || schema == nil {- t.state.schemas[""] = newSchemaState()- schema = t.state.schemas[""]- }-- definition := ctx.GetParser().GetTokenStream().GetTextFromInterval(antlr.Interval{- Start: ctx.ViewTail().ViewSelect().GetStart().GetTokenIndex(),- Stop: ctx.ViewTail().ViewSelect().GetStop().GetTokenIndex(),- })- schema.views[viewName] = &viewState{- id: len(schema.views),- name: viewName,- definition: definition,- }-}diff --git a/backend/plugin/schema/mysql/parse_to_metadata_test.go b/backend/plugin/schema/mysql/parse_to_metadata_test.godeleted file mode 100644index 0af26650f6..0000000000--- a/backend/plugin/schema/mysql/parse_to_metadata_test.go+++ /dev/null@@ -1,88 +0,0 @@-package mysql--import (- "io"- "os"- "testing"-- "github.com/google/go-cmp/cmp"- "github.com/stretchr/testify/require"- "google.golang.org/protobuf/encoding/protojson"- "google.golang.org/protobuf/testing/protocmp"- "gopkg.in/yaml.v3"-- "github.com/bytebase/bytebase/backend/common"- storepb "github.com/bytebase/bytebase/proto/generated-go/store"-)--type transformTest struct {- Schema string- Metadata string-}--func TestParseToMetadata_Routine(t *testing.T) {- filepaths := []string{- "testdata/parse-to-metadata/routine.yaml",- }-- runParseToMetadataTest(t, filepaths, false)-}--func TestParseToMetadata_View(t *testing.T) {- filepaths := []string{- "testdata/parse-to-metadata/view.yaml",- }-- runParseToMetadataTest(t, filepaths, false)-}--func TestParseToMetadata_Partition(t *testing.T) {- filepaths := []string{- "testdata/parse-to-metadata/partition.yaml",- }-- runParseToMetadataTest(t, filepaths, false)-}--func TestParseToMetadata_Standard(t *testing.T) {- filepaths := []string{- "testdata/parse-to-metadata/standard.yaml",- }-- runParseToMetadataTest(t, filepaths, false)-}--func runParseToMetadataTest(t *testing.T, filepaths []string, record bool) {- a := require.New(t)- for _, fp := range filepaths {- yamlFile, err := os.Open(fp)- a.NoError(err)-- tests := []transformTest{}- byteValue, err := io.ReadAll(yamlFile)- a.NoError(yamlFile.Close())- a.NoError(err)- a.NoError(yaml.Unmarshal(byteValue, &tests))-- for i, t := range tests {- result, err := ParseToMetadata("", t.Schema)- a.NoError(err)- if record {- tests[i].Metadata = protojson.MarshalOptions{Multiline: true, Indent: " "}.Format(result)- } else {- want := &storepb.DatabaseSchemaMetadata{}- err = common.ProtojsonUnmarshaler.Unmarshal([]byte(t.Metadata), want)- a.NoError(err)- diff := cmp.Diff(want, result, protocmp.Transform())- a.Empty(diff)- }- }-- if record {- byteValue, err := yaml.Marshal(tests)- a.NoError(err)- err = os.WriteFile(fp, byteValue, 0644)- a.NoError(err)- }- }-}diff --git a/backend/plugin/schema/mysql/state.go b/backend/plugin/schema/mysql/state.goindex 3474eb6179..431bbd5c79 100644--- a/backend/plugin/schema/mysql/state.go+++ b/backend/plugin/schema/mysql/state.go@@ -9,8 +9,6 @@ import ("strconv""strings"- "google.golang.org/protobuf/types/known/wrapperspb"-"github.com/antlr4-go/antlr/v4""github.com/pkg/errors"@@ -18,8 +16,6 @@ import (mysqldb "github.com/bytebase/bytebase/backend/plugin/db/mysql"- mysqlparser "github.com/bytebase/bytebase/backend/plugin/parser/mysql"-storepb "github.com/bytebase/bytebase/proto/generated-go/store")@@ -43,28 +39,7 @@ func convertToDatabaseState(database *storepb.DatabaseSchemaMetadata) *databaseSreturn state}-func (s *databaseState) convertToDatabaseMetadata() *storepb.DatabaseSchemaMetadata {- var schemaStates []*schemaState- for _, schema := range s.schemas {- schemaStates = append(schemaStates, schema)- }- sort.Slice(schemaStates, func(i, j int) bool {- return schemaStates[i].id < schemaStates[j].id- })- var schemas []*storepb.SchemaMetadata- for _, schema := range schemaStates {- schemas = append(schemas, schema.convertToSchemaMetadata())- }- return &storepb.DatabaseSchemaMetadata{- Name: s.name,- Schemas: schemas,- // Unsupported, for tests only.- Extensions: []*storepb.ExtensionMetadata{},- }-}-type schemaState struct {- id intname stringtables map[string]*tableStateviews map[string]*viewState@@ -101,66 +76,6 @@ func convertToSchemaState(schema *storepb.SchemaMetadata) *schemaState {return state}-func (s *schemaState) convertToSchemaMetadata() *storepb.SchemaMetadata {- var tableStates []*tableState- for _, table := range s.tables {- tableStates = append(tableStates, table)- }- sort.Slice(tableStates, func(i, j int) bool {- return tableStates[i].id < tableStates[j].id- })- var viewStates []*viewState- for _, view := range s.views {- viewStates = append(viewStates, view)- }- sort.Slice(viewStates, func(i, j int) bool {- return viewStates[i].id < viewStates[j].id- })- var functionStates []*functionState- for _, function := range s.functions {- functionStates = append(functionStates, function)- }- sort.Slice(functionStates, func(i, j int) bool {- return functionStates[i].id < functionStates[j].id- })- var procedureStates []*procedureState- for _, procedure := range s.procedures {- procedureStates = append(procedureStates, procedure)- }- sort.Slice(procedureStates, func(i, j int) bool {- return procedureStates[i].id < procedureStates[j].id- })-- var tables []*storepb.TableMetadata- for _, table := range tableStates {- tables = append(tables, table.convertToTableMetadata())- }- var views []*storepb.ViewMetadata- for _, view := range viewStates {- views = append(views, view.convertToViewMetadata())- }- var functions []*storepb.FunctionMetadata- for _, function := range functionStates {- functions = append(functions, function.convertToFunctionMetadata())- }- var procedures []*storepb.ProcedureMetadata- for _, procedure := range procedureStates {- procedures = append(procedures, procedure.convertToProcedureMetadata())- }-- return &storepb.SchemaMetadata{- Name: s.name,- Tables: tables,- Views: views,- Functions: functions,- Procedures: procedures,- // Unsupported, for tests only.- Streams: []*storepb.StreamMetadata{},- Tasks: []*storepb.TaskMetadata{},- MaterializedViews: []*storepb.MaterializedViewMetadata{},- }-}-type tableState struct {id intname string@@ -304,65 +219,6 @@ func convertToTableState(id int, table *storepb.TableMetadata) *tableState {return state}-func (t *tableState) convertToTableMetadata() *storepb.TableMetadata {- var columnStates []*columnState- for _, column := range t.columns {- columnStates = append(columnStates, column)- }- sort.Slice(columnStates, func(i, j int) bool {- return columnStates[i].id < columnStates[j].id- })- var columns []*storepb.ColumnMetadata- for _, column := range columnStates {- columns = append(columns, column.convertToColumnMetadata())- }- // Backfill all the column positions.- for i, column := range columns {- column.Position = int32(i + 1)- }-- var indexStates []*indexState- for _, index := range t.indexes {- indexStates = append(indexStates, index)- }- sort.Slice(indexStates, func(i, j int) bool {- return indexStates[i].id < indexStates[j].id- })- var indexes []*storepb.IndexMetadata- for _, index := range indexStates {- indexes = append(indexes, index.convertToIndexMetadata())- }-- var fkStates []*foreignKeyState- for _, fk := range t.foreignKeys {- fkStates = append(fkStates, fk)- }- sort.Slice(fkStates, func(i, j int) bool {- return fkStates[i].id < fkStates[j].id- })- var fks []*storepb.ForeignKeyMetadata- for _, fk := range fkStates {- fks = append(fks, fk.convertToForeignKeyMetadata())- }-- var partitions []*storepb.TablePartitionMetadata- if t.partition != nil {- partitions = t.partition.convertToPartitionMetadata()- }-- return &storepb.TableMetadata{- Name: t.name,- Columns: columns,- Indexes: indexes,- ForeignKeys: fks,- UserComment: t.comment,- Comment: t.comment,- Engine: t.engine,- Collation: t.collation,- Partitions: partitions,- }-}-type foreignKeyState struct {id intname string@@ -371,15 +227,6 @@ type foreignKeyState struct {referencedColumns []string}-func (f *foreignKeyState) convertToForeignKeyMetadata() *storepb.ForeignKeyMetadata {- return &storepb.ForeignKeyMetadata{- Name: f.name,- Columns: f.columns,- ReferencedTable: f.referencedTable,- ReferencedColumns: f.referencedColumns,- }-}-func convertToForeignKeyState(id int, foreignKey *storepb.ForeignKeyMetadata) *foreignKeyState {return &foreignKeyState{id: id,@@ -453,13 +300,6 @@ type viewState struct {definition string}-func (v *viewState) convertToViewMetadata() *storepb.ViewMetadata {- return &storepb.ViewMetadata{- Name: v.name,- Definition: v.definition,- }-}-func convertToViewState(id int, view *storepb.ViewMetadata) *viewState {return &viewState{id: id,@@ -486,13 +326,6 @@ type procedureState struct {definition string}-func (f *procedureState) convertToProcedureMetadata() *storepb.ProcedureMetadata {- return &storepb.ProcedureMetadata{- Name: f.name,- Definition: f.definition,- }-}-func convertToProcedureState(id int, procedure *storepb.ProcedureMetadata) *procedureState {return &procedureState{id: id,@@ -521,13 +354,6 @@ type functionState struct {definition string}-func (f *functionState) convertToFunctionMetadata() *storepb.FunctionMetadata {- return &storepb.FunctionMetadata{- Name: f.name,- Definition: f.definition,- }-}-func convertToFunctionState(id int, function *storepb.FunctionMetadata) *functionState {return &functionState{id: id,@@ -561,20 +387,6 @@ type indexState struct {comment string}-func (i *indexState) convertToIndexMetadata() *storepb.IndexMetadata {- return &storepb.IndexMetadata{- Name: i.name,- Expressions: i.keys,- Primary: i.primary,- Unique: i.unique,- Comment: i.comment,- KeyLength: i.lengths,- // Unsupported, for tests only.- Visible: true,- Type: i.tp,- }-}-func convertToIndexState(id int, index *storepb.IndexMetadata) *indexState {return &indexState{id: id,@@ -697,43 +509,6 @@ type partitionDefinition struct {subpartitions map[string]*partitionDefinition}-func (p *partitionState) isValid() error {- if p.info.useDefault == 0 && len(p.partitions) == 0 {- return errors.New("empty partition list")- }-- if p.info.useDefault != 0 && len(p.partitions) > 0 {- return errors.New("specify partitions clause and use default partition are not allowed at the same time")- }-- if p.info.tp == storepb.TablePartitionMetadata_TYPE_UNSPECIFIED {- return errors.New("invalid partition type")- }-- if p.subInfo != nil {- if p.subInfo.tp == storepb.TablePartitionMetadata_TYPE_UNSPECIFIED {- return errors.New("invalid subpartition type")- }-- anySpecificPartition := len(p.partitions) > 0- if anySpecificPartition {- var anySpecificSubpartition bool- for _, partition := range p.partitions {- if len(partition.subpartitions) > 0 {- anySpecificSubpartition = true- break- }- }-- if anySpecificSubpartition && p.subInfo.useDefault != 0 {- return errors.New("specify subpartitions clause and use default subpartition are not allowed at the same time")- }- }- }-- return nil-}-func convertToPartitionState(partitions []*storepb.TablePartitionMetadata) *partitionState {if len(partitions) == 0 {return nil@@ -785,84 +560,6 @@ func convertToPartitionState(partitions []*storepb.TablePartitionMetadata) *partreturn state}-func (p *partitionState) convertToPartitionMetadata() []*storepb.TablePartitionMetadata {- // There are `useDefault` fields in partitionInfo structure, which may use with empty parititions fields.- // For example, `PARTITION BY HASH (id) PARTITIONS 4 SUBPARTITION BY KEY(id) SUBPARTITIONS 5;` may cause the `partitions` field to be empty.- // To be compatible with our protobuf definition, which requires at least one partition, we need to generate the default partition name. And, value- // is not important, because only the KEY and HASH partition type support PARTITIONS clause.- // TODO(parser-group): recheck the MySQL behavior of generating the default partition name and value.- if err := p.isValid(); err != nil {- slog.Warn(err.Error())- return nil- }- var partitions []*storepb.TablePartitionMetadata- if p.info.useDefault != 0 {- generator := mysqlparser.NewPartitionDefaultNameGenerator("")- for i := 0; i < p.info.useDefault; i++ {- partitions = append(partitions, &storepb.TablePartitionMetadata{- Name: generator.Next(),- Type: p.info.tp,- Expression: p.info.expr,- Value: "",- UseDefault: strconv.Itoa(p.info.useDefault),- })- }- // The reason of we do not consider subUseDefault in this case is that MySQL does not support- // subpartitions for HASH and KEY partitioning, and they are the only partitioning types that support- // the PARTITIONS clause.- } else {- sortedPartitions := make([]*partitionDefinition, 0, len(p.partitions))- for _, partition := range p.partitions {- sortedPartitions = append(sortedPartitions, partition)- }- sort.Slice(sortedPartitions, func(i, j int) bool {- return sortedPartitions[i].id < sortedPartitions[j].id- })- for _, partition := range sortedPartitions {- partitionMetadata := &storepb.TablePartitionMetadata{- Name: partition.name,- Type: p.info.tp,- Expression: p.info.expr,- Value: partition.value,- }- if p.subInfo != nil {- if p.subInfo.useDefault != 0 {- subUseDefault := strconv.Itoa(p.subInfo.useDefault)- generator := mysqlparser.NewPartitionDefaultNameGenerator(partition.name)- for i := 0; i < p.subInfo.useDefault; i++ {- partitionMetadata.Subpartitions = append(partitionMetadata.Subpartitions, &storepb.TablePartitionMetadata{- Name: generator.Next(),- Type: p.subInfo.tp,- Expression: p.subInfo.expr,- UseDefault: subUseDefault,- Value: "",- })- }- } else {- sortedSubpartitions := make([]*partitionDefinition, 0, len(partition.subpartitions))- for _, subPartition := range partition.subpartitions {- sortedSubpartitions = append(sortedSubpartitions, subPartition)- }- sort.Slice(sortedSubpartitions, func(i, j int) bool {- return sortedSubpartitions[i].id < sortedSubpartitions[j].id- })- for _, subPartition := range sortedSubpartitions {- partitionMetadata.Subpartitions = append(partitionMetadata.Subpartitions, &storepb.TablePartitionMetadata{- Name: subPartition.name,- Type: p.subInfo.tp,- Expression: p.subInfo.expr,- Value: subPartition.value,- })- }- }- }- partitions = append(partitions, partitionMetadata)- }- }-- return partitions-}-// toString() writes the partition state as SHOW CREATE TABLE syntax to buf, referencing MySQL source code:// https://sourcegraph.com/github.com/mysql/mysql-server@824e2b4064053f7daf17d7f3f84b7a3ed92e5fb4/-/blob/sql/sql_show.cc?L2528-2550// partitionClauseCtx is use to minimize the difference between the original one and the output, it is safe to pass nil.@@ -1373,31 +1070,6 @@ func (c *columnState) toString(buf io.StringWriter) error {return nil}-func (c *columnState) convertToColumnMetadata() *storepb.ColumnMetadata {- result := &storepb.ColumnMetadata{- Name: c.name,- Type: c.tp,- Nullable: c.nullable,- OnUpdate: c.onUpdate,- Comment: c.comment,- UserComment: c.comment,- }- if c.defaultValue != nil {- switch value := c.defaultValue.(type) {- case *defaultValueNull:- result.DefaultValue = &storepb.ColumnMetadata_DefaultNull{DefaultNull: true}- case *defaultValueString:- result.DefaultValue = &storepb.ColumnMetadata_Default{Default: wrapperspb.String(value.value)}- case *defaultValueExpression:- result.DefaultValue = &storepb.ColumnMetadata_DefaultExpression{DefaultExpression: value.value}- }- }- if result.DefaultValue == nil && c.nullable {- result.DefaultValue = &storepb.ColumnMetadata_DefaultNull{DefaultNull: true}- }- return result-}-func convertToColumnState(id int, column *storepb.ColumnMetadata) *columnState {result := &columnState{id: id,@@ -1455,31 +1127,3 @@ func normalizeOnUpdate(s string) string {// not a current_timestamp family functionreturn s}--// getDataTypePlainText returns the plain text of the data type,-// which excludes the charset candidate.-// For example, for "varchar(10) CHARACTER SET utf8mb4",-// it returns "varchar(10)".-func getDataTypePlainText(typeCtx mysql.IDataTypeContext) string {- begin := typeCtx.GetStart().GetTokenIndex()- end := typeCtx.GetStop().GetTokenIndex()- if typeCtx.CharsetWithOptBinary() != nil {- end = typeCtx.CharsetWithOptBinary().GetStart().GetTokenIndex() - 1- }- // To skip the trailing spaces, we iterate the token stream reversely and find the first default channel token index.- for i := end; i >= begin; i-- {- if typeCtx.GetParser().GetTokenStream().Get(i).GetChannel() == antlr.TokenDefaultChannel {- end = i- break- }- }-- if end < begin {- return ""- }-- return typeCtx.GetParser().GetTokenStream().GetTextFromInterval(antlr.Interval{- Start: begin,- Stop: end,- })-}diff --git a/backend/plugin/schema/mysql/testdata/parse-to-metadata/partition.yaml b/backend/plugin/schema/mysql/testdata/parse-to-metadata/partition.yamldeleted file mode 100644index 70b71bc6f6..0000000000--- a/backend/plugin/schema/mysql/testdata/parse-to-metadata/partition.yaml+++ /dev/null@@ -1,220 +0,0 @@-- schema: |-- CREATE TABLE `range_partition` (- `id` INT,- `name` VARCHAR(45) NOT NULL,- PRIMARY KEY (`id`, `name`)- )- PARTITION BY RANGE COLUMNS(id, name)- SUBPARTITION BY HASH(id) (- PARTITION p0 VALUES LESS THAN (10, 'a') (- SUBPARTITION p0s0,- SUBPARTITION p0s1- ),- PARTITION p1 VALUES LESS THAN (20, 'b') (- SUBPARTITION p1s0,- SUBPARTITION p1s1- ),- PARTITION p2 VALUES LESS THAN (MAXVALUE, MAXVALUE) (- SUBPARTITION p2s0,- SUBPARTITION p2s1- )- );- metadata: |-- {- "schemas": [- {- "tables": [- {- "name": "range_partition",- "columns": [- {- "name": "id",- "position": 1,- "defaultNull": true,- "nullable": true,- "type": "INT"- },- {- "name": "name",- "position": 2,- "type": "VARCHAR(45)"- }- ],- "indexes": [- {- "name": "PRIMARY",- "expressions": [- "id",- "name"- ],- "keyLength": [- "-1",- "-1"- ],- "unique": true,- "primary": true,- "visible": true- }- ],- "partitions": [- {- "name": "p0",- "type": "RANGE_COLUMNS",- "expression": "`id`,`name`",- "value": "10,'a'",- "subpartitions": [- {- "name": "p0s0",- "type": "HASH",- "expression": "`id`"- },- {- "name": "p0s1",- "type": "HASH",- "expression": "`id`"- }- ]- },- {- "name": "p1",- "type": "RANGE_COLUMNS",- "expression": "`id`,`name`",- "value": "20,'b'",- "subpartitions": [- {- "name": "p1s0",- "type": "HASH",- "expression": "`id`"- },- {- "name": "p1s1",- "type": "HASH",- "expression": "`id`"- }- ]- },- {- "name": "p2",- "type": "RANGE_COLUMNS",- "expression": "`id`,`name`",- "value": "MAXVALUE,MAXVALUE",- "subpartitions": [- {- "name": "p2s0",- "type": "HASH",- "expression": "`id`"- },- {- "name": "p2s1",- "type": "HASH",- "expression": "`id`"- }- ]- }- ]- }- ]- }- ]- }-- schema: |-- CREATE TABLE `list_partition` (- `id` INT,- `name` VARCHAR(45) NOT NULL- )- PARTITION BY LIST COLUMNS(id, name)- SUBPARTITION BY KEY(id)- SUBPARTITIONS 2- (- PARTITION p0 VALUES IN (1, 'a'),- PARTITION p1 VALUES IN (2, 'b'),- PARTITION p2 VALUES IN (3, 'c')- );- metadata: |-- {- "schemas": [- {- "tables": [- {- "name": "list_partition",- "columns": [- {- "name": "id",- "position": 1,- "defaultNull": true,- "nullable": true,- "type": "INT"- },- {- "name": "name",- "position": 2,- "type": "VARCHAR(45)"- }- ],- "partitions": [- {- "name": "p0",- "type": "LIST_COLUMNS",- "expression": "`id`,`name`",- "value": "(1,'a')",- "subpartitions": [- {- "name": "p0sp0",- "type": "KEY",- "expression": "`id`",- "useDefault": "2"- },- {- "name": "p0sp1",- "type": "KEY",- "expression": "`id`",- "useDefault": "2"- }- ]- },- {- "name": "p1",- "type": "LIST_COLUMNS",- "expression": "`id`,`name`",- "value": "(2,'b')",- "subpartitions": [- {- "name": "p1sp0",- "type": "KEY",- "expression": "`id`",- "useDefault": "2"- },- {- "name": "p1sp1",- "type": "KEY",- "expression": "`id`",- "useDefault": "2"- }- ]- },- {- "name": "p2",- "type": "LIST_COLUMNS",- "expression": "`id`,`name`",- "value": "(3,'c')",- "subpartitions": [- {- "name": "p2sp0",- "type": "KEY",- "expression": "`id`",- "useDefault": "2"- },- {- "name": "p2sp1",- "type": "KEY",- "expression": "`id`",- "useDefault": "2"- }- ]- }- ]- }- ]- }- ]- }diff --git a/backend/plugin/schema/mysql/testdata/parse-to-metadata/routine.yaml b/backend/plugin/schema/mysql/testdata/parse-to-metadata/routine.yamldeleted file mode 100644index 1e5d77b0b1..0000000000--- a/backend/plugin/schema/mysql/testdata/parse-to-metadata/routine.yaml+++ /dev/null@@ -1,163 +0,0 @@-- schema: |-- SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;- SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;- --- -- Temporary view structure for `v1`- --- CREATE VIEW `v1` AS SELECT- 1 AS `id`;--- --- -- Table structure for `t`- --- CREATE TABLE `t` (- `id` int DEFAULT NULL- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;-- DROP VIEW IF EXISTS `v1`;- --- -- View structure for `v1`- --- CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`%` SQL SECURITY DEFINER VIEW `v1` AS select `t`.`id` AS `id` from `t`;-- --- -- Function structure for `CalcIncome`- --- SET character_set_client = latin1;- SET character_set_results = latin1;- SET collation_connection = latin1_swedish_ci;- SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';- DELIMITER ;;- CREATE DEFINER=`root`@`%` FUNCTION `CalcIncome`( starting_value INT ) RETURNS int(11)- DETERMINISTIC- BEGIN-- DECLARE income INT;-- SET income = 0;-- label1: WHILE income <= 3000 DO- SET income = income + starting_value;- END WHILE label1;-- RETURN income;-- END ;;- DELIMITER ;-- --- -- Function structure for `CalcIncome2`- --- SET character_set_client = latin1;- SET character_set_results = latin1;- SET collation_connection = latin1_swedish_ci;- SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';- DELIMITER ;;- CREATE DEFINER=`root`@`%` FUNCTION `CalcIncome2`( starting_value INT ) RETURNS int(11)- DETERMINISTIC- BEGIN-- DECLARE income INT;-- SET income = 0;-- label1: WHILE income <= 3000 DO- SET income = income + starting_value;- END WHILE label1;-- RETURN income;-- END ;;- DELIMITER ;-- --- -- Function structure for `CalcIncome3`- --- SET character_set_client = latin1;- SET character_set_results = latin1;- SET collation_connection = latin1_swedish_ci;- SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';- DELIMITER ;;- CREATE DEFINER=`root`@`%` FUNCTION `CalcIncome3`( starting_value INT ) RETURNS int(11)- DETERMINISTIC- BEGIN-- DECLARE income INT;-- SET income = 0;-- label1: WHILE income <= 3000 DO- SET income = income + starting_value;- END WHILE label1;-- RETURN income;-- END ;;- DELIMITER ;-- --- -- Procedure structure for `citycount`- --- SET character_set_client = latin1;- SET character_set_results = latin1;- SET collation_connection = latin1_swedish_ci;- SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';- DELIMITER ;;- CREATE DEFINER=`root`@`%` PROCEDURE `citycount`(IN country CHAR(3), OUT cities INT)- BEGIN- SELECT 1000 INTO cities;- END ;;- DELIMITER ;-- SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;- SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;- metadata: |-- {- "schemas": [- {- "tables": [- {- "name": "t",- "columns": [- {- "name": "id",- "position": 1,- "defaultNull": true,- "nullable": true,- "type": "int"- }- ],- "engine": "InnoDB",- "collation": "utf8mb4_0900_ai_ci"- }- ],- "views": [- {- "name": "v1",- "definition": "select `t`.`id` AS `id` from `t`"- }- ],- "functions": [- {- "name": "CalcIncome",- "definition": "CREATE DEFINER=`root`@`%` FUNCTION `CalcIncome`( starting_value INT ) RETURNS int(11)\n DETERMINISTIC\nBEGIN\n\n DECLARE income INT;\n\n SET income = 0;\n\n label1: WHILE income <= 3000 DO\n SET income = income + starting_value;\n END WHILE label1;\n\n RETURN income;\n\nEND"- },- {- "name": "CalcIncome2",- "definition": "CREATE DEFINER=`root`@`%` FUNCTION `CalcIncome2`( starting_value INT ) RETURNS int(11)\n DETERMINISTIC\nBEGIN\n\n DECLARE income INT;\n\n SET income = 0;\n\n label1: WHILE income <= 3000 DO\n SET income = income + starting_value;\n END WHILE label1;\n\n RETURN income;\n\nEND"- },- {- "name": "CalcIncome3",- "definition": "CREATE DEFINER=`root`@`%` FUNCTION `CalcIncome3`( starting_value INT ) RETURNS int(11)\n DETERMINISTIC\nBEGIN\n\n DECLARE income INT;\n\n SET income = 0;\n\n label1: WHILE income <= 3000 DO\n SET income = income + starting_value;\n END WHILE label1;\n\n RETURN income;\n\nEND"- }- ],- "procedures": [- {- "name": "citycount",- "definition": "CREATE DEFINER=`root`@`%` PROCEDURE `citycount`(IN country CHAR(3), OUT cities INT)\nBEGIN\n SELECT 1000 INTO cities;\n END"- }- ]- }- ]- }diff --git a/backend/plugin/schema/mysql/testdata/parse-to-metadata/standard.yaml b/backend/plugin/schema/mysql/testdata/parse-to-metadata/standard.yamldeleted file mode 100644index 566a655eaf..0000000000--- a/backend/plugin/schema/mysql/testdata/parse-to-metadata/standard.yaml+++ /dev/null@@ -1,276 +0,0 @@-- schema: |-- create table t- (- `a` int NOT NULL COMMENT 'this is comment',- `b` VARCHAR(20) NOT NULL,- `c` int NOT NULL,- `d` text NULL,- `t_not_null` text NOT NULL,- `e` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,- `g` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,- PRIMARY KEY (`a`),- UNIQUE KEY `t_c_uniq_idx` (`c` DESC),- UNIQUE KEY `t_c_plus_5_uniq_idx` (((`c` + 5)) DESC),- UNIQUE KEY `t_c_plus_5_t_c_plus_3_uniq_idx` (((`c` + 5)) DESC,((`c` + 3))),- KEY `idx_c` (`c`),- KEY `idx_d` (`d`(10)),- KEY `idx_e` (`e`(10)),- FULLTEXT KEY `t_d_fulltext_idx` (`d`)- ) ENGINE=InnoDB COLLATE=utf8mb4_0900_ai_ci COMMENT 'this is comment with '' escaped';- metadata: |-- {- "schemas": [- {- "tables": [- {- "name": "t",- "columns": [- {- "name": "a",- "position": 1,- "type": "int",- "comment": "this is comment",- "userComment": "this is comment"- },- {- "name": "b",- "position": 2,- "type": "VARCHAR(20)"- },- {- "name": "c",- "position": 3,- "type": "int"- },- {- "name": "d",- "position": 4,- "defaultNull": true,- "nullable": true,- "type": "text"- },- {- "name": "t_not_null",- "position": 5,- "type": "text"- },- {- "name": "e",- "position": 6,- "type": "varchar(20)"- },- {- "name": "g",- "position": 7,- "defaultExpression": "CURRENT_TIMESTAMP",- "onUpdate": "CURRENT_TIMESTAMP",- "type": "TIMESTAMP"- }- ],- "indexes": [- {- "name": "PRIMARY",- "expressions": [- "a"- ],- "keyLength": [- "-1"- ],- "unique": true,- "primary": true,- "visible": true- },- {- "name": "t_c_uniq_idx",- "expressions": [- "c"- ],- "keyLength": [- "-1"- ],- "type": "BTREE",- "unique": true,- "visible": true- },- {- "name": "t_c_plus_5_uniq_idx",- "expressions": [- "((`c` + 5))"- ],- "keyLength": [- "-1"- ],- "type": "BTREE",- "unique": true,- "visible": true- },- {- "name": "t_c_plus_5_t_c_plus_3_uniq_idx",- "expressions": [- "((`c` + 5))",- "((`c` + 3))"- ],- "keyLength": [- "-1",- "-1"- ],- "type": "BTREE",- "unique": true,- "visible": true- },- {- "name": "idx_c",- "expressions": [- "c"- ],- "keyLength": [- "-1"- ],- "type": "BTREE",- "visible": true- },- {- "name": "idx_d",- "expressions": [- "d"- ],- "keyLength": [- "10"- ],- "type": "BTREE",- "visible": true- },- {- "name": "idx_e",- "expressions": [- "e"- ],- "keyLength": [- "10"- ],- "type": "BTREE",- "visible": true- },- {- "name": "t_d_fulltext_idx",- "expressions": [- "d"- ],- "keyLength": [- "-1"- ],- "type": "FULLTEXT",- "visible": true- }- ],- "engine": "InnoDB",- "collation": "utf8mb4_0900_ai_ci",- "comment": "this is comment with ' escaped",- "userComment": "this is comment with ' escaped"- }- ]- }- ]- }-- schema: |- create table t- (- c int auto_increment,- a int default 1 comment 'abcdefg',- b varchar(20) default NULL comment '',- primary key (a, b),- constraint fk1 foreign key (a) references t2 (b)- ) COMMENT 'this is comment with '' escaped';- create table t2(b int NOT NULL default NULL, primary key (b));- metadata: |-- {- "schemas": [- {- "tables": [- {- "name": "t",- "columns": [- {- "name": "c",- "position": 1,- "defaultExpression": "AUTO_INCREMENT",- "nullable": true,- "type": "int"- },- {- "name": "a",- "position": 2,- "defaultExpression": "1",- "nullable": true,- "type": "int",- "comment": "abcdefg",- "userComment": "abcdefg"- },- {- "name": "b",- "position": 3,- "defaultNull": true,- "nullable": true,- "type": "varchar(20)"- }- ],- "indexes": [- {- "name": "PRIMARY",- "expressions": [- "a",- "b"- ],- "keyLength": [- "-1",- "-1"- ],- "unique": true,- "primary": true,- "visible": true- }- ],- "comment": "this is comment with ' escaped",- "userComment": "this is comment with ' escaped",- "foreignKeys": [- {- "name": "fk1",- "columns": [- "a"- ],- "referencedTable": "t2",- "referencedColumns": [- "b"- ]- }- ]- },- {- "name": "t2",- "columns": [- {- "name": "b",- "position": 1,- "defaultNull": true,- "type": "int"- }- ],- "indexes": [- {- "name": "PRIMARY",- "expressions": [- "b"- ],- "keyLength": [- "-1"- ],- "unique": true,- "primary": true,- "visible": true- }- ]- }- ]- }- ]- }diff --git a/backend/plugin/schema/mysql/testdata/parse-to-metadata/view.yaml b/backend/plugin/schema/mysql/testdata/parse-to-metadata/view.yamldeleted file mode 100644index ea9fa93a99..0000000000--- a/backend/plugin/schema/mysql/testdata/parse-to-metadata/view.yaml+++ /dev/null@@ -1,28 +0,0 @@-- schema: CREATE VIEW v1 AS select 1 AS `id`;- metadata: |-- {- "schemas": [- {- "views": [- {- "name": "v1",- "definition": "select 1 AS `id`"- }- ]- }- ]- }-- schema: CREATE VIEW v1 AS select * from t;- metadata: |-- {- "schemas": [- {- "views": [- {- "name": "v1",- "definition": "select * from t"- }- ]- }- ]- }diff --git a/backend/plugin/schema/mysql/utils.go b/backend/plugin/schema/mysql/utils.goindex b787db4045..16e3dbad5b 100644--- a/backend/plugin/schema/mysql/utils.go+++ b/backend/plugin/schema/mysql/utils.go@@ -1,14 +1,5 @@package mysql-import (- "strconv"-- "github.com/antlr4-go/antlr/v4"- mysql "github.com/bytebase/mysql-parser"-- mysqlparser "github.com/bytebase/bytebase/backend/plugin/parser/mysql"-)-const (autoIncrementSymbol = "AUTO_INCREMENT"autoRandSymbol = "AUTO_RANDOM"@@ -48,84 +39,3 @@ var (// "JSON": true,})--func extractReference(ctx mysql.IReferencesContext) (string, []string) {- _, table := mysqlparser.NormalizeMySQLTableRef(ctx.TableRef())- if ctx.IdentifierListWithParentheses() != nil {- columns := extractIdentifierList(ctx.IdentifierListWithParentheses().IdentifierList())- return table, columns- }- return table, nil-}--func extractIdentifierList(ctx mysql.IIdentifierListContext) []string {- var result []string- for _, identifier := range ctx.AllIdentifier() {- result = append(result, mysqlparser.NormalizeMySQLIdentifier(identifier))- }- return result-}--func extractKeyListVariants(ctx mysql.IKeyListVariantsContext) ([]string, []int64) {- if ctx.KeyList() != nil {- return extractKeyList(ctx.KeyList())- }- if ctx.KeyListWithExpression() != nil {- return extractKeyListWithExpression(ctx.KeyListWithExpression())- }- return nil, nil-}--func extractKeyListWithExpression(ctx mysql.IKeyListWithExpressionContext) ([]string, []int64) {- var result []string- var keyLengths []int64- for _, key := range ctx.AllKeyPartOrExpression() {- if key.KeyPart() != nil {- keyText, keyLength := getKeyExpressionAndLengthFromKeyPart(key.KeyPart())- result = append(result, keyText)- keyLengths = append(keyLengths, keyLength)- } else if key.ExprWithParentheses() != nil {- keyText := key.GetParser().GetTokenStream().GetTextFromRuleContext(key.ExprWithParentheses())- result = append(result, keyText)- keyLengths = append(keyLengths, -1)- }- }- return result, keyLengths-}--func extractKeyList(ctx mysql.IKeyListContext) ([]string, []int64) {- var result []string- var keyLengths []int64- for _, key := range ctx.AllKeyPart() {- keyText, keyLength := getKeyExpressionAndLengthFromKeyPart(key)- result = append(result, keyText)- keyLengths = append(keyLengths, keyLength)- }- return result, keyLengths-}--func getKeyExpressionAndLengthFromKeyPart(ctx mysql.IKeyPartContext) (string, int64) {- keyText := mysqlparser.NormalizeMySQLIdentifier(ctx.Identifier())- keyLength := int64(-1)- if ctx.FieldLength() != nil {- l := ctx.FieldLength().GetText()- if len(l) > 2 && l[0] == '(' && l[len(l)-1] == ')' {- l = l[1 : len(l)-1]- }- length, err := strconv.ParseInt(l, 10, 64)- if err != nil {- length = -1- }- keyLength = length- }- return keyText, keyLength-}--func nextDefaultChannelTokenIndex(tokens antlr.TokenStream, currentIndex int) int {- for i := currentIndex + 1; i < tokens.Size(); i++ {- if tokens.Get(i).GetChannel() == antlr.TokenDefaultChannel {- return i- }- }- return 0-}diff --git a/backend/plugin/schema/oracle/get_design_schema.go b/backend/plugin/schema/oracle/get_design_schema.goindex 946622a950..0cfa903f07 100644--- a/backend/plugin/schema/oracle/get_design_schema.go+++ b/backend/plugin/schema/oracle/get_design_schema.go@@ -396,3 +396,18 @@ func isEqualColumnType(ctx *plsqlparser.Column_definitionContext, stateColumn *creturn false}++func getDataTypePlainText(ctx plsqlparser.IDatatypeContext) string {+ if ctx == nil {+ return ""+ }++ if ctx.Native_datatype_element() != nil {+ if ctx.Precision_part() != nil {+ return ctx.GetParser().GetTokenStream().GetTextFromTokens(ctx.GetStart(), ctx.Precision_part().GetStop())+ }+ return ctx.GetParser().GetTokenStream().GetTextFromRuleContext(ctx.Native_datatype_element())+ }++ return ctx.GetParser().GetTokenStream().GetTextFromRuleContext(ctx)+}diff --git a/backend/plugin/schema/oracle/parse_to_metadata.go b/backend/plugin/schema/oracle/parse_to_metadata.godeleted file mode 100644index aaea0e79bd..0000000000--- a/backend/plugin/schema/oracle/parse_to_metadata.go+++ /dev/null@@ -1,239 +0,0 @@-package oracle--import (- "fmt"-- "github.com/pkg/errors"-- "github.com/antlr4-go/antlr/v4"- plsqlparser "github.com/bytebase/plsql-parser"-- "github.com/bytebase/bytebase/backend/plugin/parser/plsql"- "github.com/bytebase/bytebase/backend/plugin/schema"- storepb "github.com/bytebase/bytebase/proto/generated-go/store"-)--func init() {- schema.RegisterParseToMetadatas(storepb.Engine_ORACLE, ParseToMetadata)-}--func ParseToMetadata(defaultSchemaName string, schema string) (*storepb.DatabaseSchemaMetadata, error) {- tree, _, err := plsql.ParsePLSQL(schema)- if err != nil {- return nil, err- }-- transformer := &transformerListener{- state: newDatabaseState(),- defaultSchema: defaultSchemaName,- }-- antlr.ParseTreeWalkerDefault.Walk(transformer, tree)-- return transformer.state.convertToDatabaseMetadata(), transformer.err-}--type transformerListener struct {- *plsqlparser.BasePlSqlParserListener-- state *databaseState- defaultSchema string- err error-}--func (t *transformerListener) EnterCreate_table(ctx *plsqlparser.Create_tableContext) {- if t.err != nil {- return- }-- schemaName := plsql.NormalizeSchemaName(ctx.Schema_name())- tableName := plsql.NormalizeTableName(ctx.Table_name())-- if schemaName == "" {- schemaName = t.defaultSchema- }-- tableDefine := ctx.Relational_table()- if tableDefine == nil {- return- }-- schema := t.state.schemas[schemaName]- if schema == nil {- schema = newSchemaState(len(t.state.schemas), schemaName)- t.state.schemas[schemaName] = schema- }-- if _, ok := schema.tables[tableName]; ok {- t.err = errors.New("multiple table names found: " + tableName)- return- }-- table := newTableState(len(schema.tables), tableName)- schema.tables[tableName] = table-- for _, item := range tableDefine.AllRelational_property() {- switch {- case item.Column_definition() != nil:- column := item.Column_definition()- _, _, columnName := plsql.NormalizeColumnName(column.Column_name())-- if _, ok := table.columns[columnName]; ok {- t.err = errors.New("multiple column names found: " + columnName + " in table: " + tableName)- return- }-- var dataType string- if column.Datatype() != nil {- dataType = getDataTypePlainText(column.Datatype())- } else if column.Regular_id() != nil {- dataType = column.GetParser().GetTokenStream().GetTextFromRuleContext(column.Regular_id())- }-- columnState := &columnState{- id: len(table.columns),- name: columnName,- tp: dataType,- defaultValue: nil,- comment: "",- nullable: true,- }- table.columns[columnName] = columnState-- if column.DEFAULT() != nil && column.Expression() != nil {- columnState.defaultValue = &defaultValueExpression{- value: column.GetParser().GetTokenStream().GetTextFromRuleContext(column.Expression()),- }- }-- for _, constraint := range column.AllInline_constraint() {- if constraint.NULL_() != nil {- columnState.nullable = constraint.NOT() == nil- }- }- case item.Out_of_line_constraint() != nil:- constraint := item.Out_of_line_constraint()- switch {- case constraint.UNIQUE() != nil:- if constraint.CONSTRAINT() == nil {- t.err = errors.New("unique constraint without name")- return- }- _, constraintName := plsql.NormalizeConstraintName(constraint.Constraint_name())- if _, ok := table.indexes[constraintName]; ok {- t.err = errors.New("multiple index names found: " + constraintName + " in table: " + tableName)- return- }-- var keys []string- for _, column := range constraint.AllColumn_name() {- _, _, columnName := plsql.NormalizeColumnName(column)- keys = append(keys, columnName)- }-- index := &indexState{- id: len(table.indexes),- name: constraintName,- keys: keys,- unique: true,- primary: false,- }- table.indexes[constraintName] = index- case constraint.PRIMARY() != nil:- if constraint.CONSTRAINT() == nil {- t.err = errors.New("primary constraint without name")- return- }- _, constraintName := plsql.NormalizeConstraintName(constraint.Constraint_name())- if _, ok := table.indexes[constraintName]; ok {- t.err = errors.New("multiple index names found: " + constraintName + " in table: " + tableName)- return- }-- var keys []string- for _, column := range constraint.AllColumn_name() {- _, _, columnName := plsql.NormalizeColumnName(column)- keys = append(keys, columnName)- }-- index := &indexState{- id: len(table.indexes),- name: constraintName,- keys: keys,- unique: true,- primary: true,- }- table.indexes[constraintName] = index- }- }- }-}--func (t *transformerListener) EnterCreate_index(ctx *plsqlparser.Create_indexContext) {- if t.err != nil {- return- }-- schemaName, indexName := plsql.NormalizeIndexName(ctx.Index_name())- if schemaName == "" {- schemaName = t.defaultSchema- }-- indexDefine := ctx.Table_index_clause()- if indexDefine == nil {- // We only support index on table for now.- return- }-- _, _, tableName := plsql.NormalizeTableViewName("", indexDefine.Tableview_name())-- schema := t.state.schemas[schemaName]- if schema == nil {- // Skip index if schema does not exist.- return- }-- table := schema.tables[tableName]- if table == nil {- // Skip index if table does not exist.- return- }-- if _, ok := table.indexes[indexName]; ok {- t.err = errors.New("multiple index names found: " + indexName + " in table: " + tableName)- return- }-- var keys []string- for _, expr := range indexDefine.AllIndex_expr_option() {- if expr.Index_expr().Column_name() != nil {- _, _, columnName := plsql.NormalizeColumnName(expr.Index_expr().Column_name())- keys = append(keys, fmt.Sprintf("\"%s\"", columnName))- } else if expr.Index_expr().Expression() != nil {- keys = append(keys, ctx.GetParser().GetTokenStream().GetTextFromRuleContext(expr.Index_expr().Expression()))- }- }- index := &indexState{- id: len(table.indexes),- name: indexName,- keys: keys,- unique: ctx.UNIQUE() != nil,- primary: false,- }- table.indexes[indexName] = index-}--func getDataTypePlainText(ctx plsqlparser.IDatatypeContext) string {- if ctx == nil {- return ""- }-- if ctx.Native_datatype_element() != nil {- if ctx.Precision_part() != nil {- return ctx.GetParser().GetTokenStream().GetTextFromTokens(ctx.GetStart(), ctx.Precision_part().GetStop())- }- return ctx.GetParser().GetTokenStream().GetTextFromRuleContext(ctx.Native_datatype_element())- }-- return ctx.GetParser().GetTokenStream().GetTextFromRuleContext(ctx)-}diff --git a/backend/plugin/schema/oracle/parse_to_metadata_test.go b/backend/plugin/schema/oracle/parse_to_metadata_test.godeleted file mode 100644index 38d3c88e99..0000000000--- a/backend/plugin/schema/oracle/parse_to_metadata_test.go+++ /dev/null@@ -1,60 +0,0 @@-package oracle--import (- "io"- "os"- "testing"-- "github.com/google/go-cmp/cmp"- "github.com/stretchr/testify/require"- "google.golang.org/protobuf/encoding/protojson"- "google.golang.org/protobuf/testing/protocmp"- "gopkg.in/yaml.v3"-- "github.com/bytebase/bytebase/backend/common"- storepb "github.com/bytebase/bytebase/proto/generated-go/store"-)--func TestParseToMetadata(t *testing.T) {- type transformTest struct {- Schema string- Metadata string- }- const (- record = false- )- var (- filepath = "testdata/parse_to_metadata.yaml"- )-- a := require.New(t)- yamlFile, err := os.Open(filepath)- a.NoError(err)-- tests := []transformTest{}- byteValue, err := io.ReadAll(yamlFile)- a.NoError(yamlFile.Close())- a.NoError(err)- a.NoError(yaml.Unmarshal(byteValue, &tests))-- for i, t := range tests {- result, err := ParseToMetadata("TEST_SCHEMA", t.Schema)- a.NoError(err)- if record {- tests[i].Metadata = protojson.MarshalOptions{Multiline: true, Indent: " "}.Format(result)- } else {- want := &storepb.DatabaseSchemaMetadata{}- err = common.ProtojsonUnmarshaler.Unmarshal([]byte(t.Metadata), want)- a.NoError(err)- diff := cmp.Diff(want, result, protocmp.Transform())- a.Empty(diff)- }- }-- if record {- byteValue, err := yaml.Marshal(tests)- a.NoError(err)- err = os.WriteFile(filepath, byteValue, 0644)- a.NoError(err)- }-}diff --git a/backend/plugin/schema/oracle/state.go b/backend/plugin/schema/oracle/state.goindex 9a13ff26e7..cc548e1287 100644--- a/backend/plugin/schema/oracle/state.go+++ b/backend/plugin/schema/oracle/state.go@@ -5,8 +5,6 @@ import ("sort""strings"- "google.golang.org/protobuf/types/known/wrapperspb"-storepb "github.com/bytebase/bytebase/proto/generated-go/store")@@ -31,26 +29,6 @@ func convertToDatabaseState(database *storepb.DatabaseSchemaMetadata) *databaseSreturn state}-func (s *databaseState) convertToDatabaseMetadata() *storepb.DatabaseSchemaMetadata {- schemaStates := []*schemaState{}- for _, schema := range s.schemas {- schemaStates = append(schemaStates, schema)- }- sort.Slice(schemaStates, func(i, j int) bool {- return schemaStates[i].id < schemaStates[j].id- })- schemas := []*storepb.SchemaMetadata{}- for _, schema := range schemaStates {- schemas = append(schemas, schema.convertToSchemaMetadata())- }- return &storepb.DatabaseSchemaMetadata{- Name: s.name,- Schemas: schemas,- // Unsupported, for tests only.- Extensions: []*storepb.ExtensionMetadata{},- }-}-type schemaState struct {id intname string@@ -74,30 +52,6 @@ func convertToSchemaState(id int, schema *storepb.SchemaMetadata) *schemaState {return state}-func (s *schemaState) convertToSchemaMetadata() *storepb.SchemaMetadata {- tableStates := []*tableState{}- for _, table := range s.tables {- tableStates = append(tableStates, table)- }- sort.Slice(tableStates, func(i, j int) bool {- return tableStates[i].id < tableStates[j].id- })- tables := []*storepb.TableMetadata{}- for _, table := range tableStates {- tables = append(tables, table.convertToTableMetadata())- }- return &storepb.SchemaMetadata{- Name: s.name,- Tables: tables,- // Unsupported, for tests only.- Views: []*storepb.ViewMetadata{},- Functions: []*storepb.FunctionMetadata{},- Streams: []*storepb.StreamMetadata{},- Tasks: []*storepb.TaskMetadata{},- MaterializedViews: []*storepb.MaterializedViewMetadata{},- }-}-type tableState struct {deleted boolid int@@ -199,40 +153,6 @@ func convertToTableState(id int, table *storepb.TableMetadata) *tableState {return state}-func (t *tableState) convertToTableMetadata() *storepb.TableMetadata {- columnStates := []*columnState{}- for _, column := range t.columns {- columnStates = append(columnStates, column)- }- sort.Slice(columnStates, func(i, j int) bool {- return columnStates[i].id < columnStates[j].id- })- columns := []*storepb.ColumnMetadata{}- for _, column := range columnStates {- columns = append(columns, column.convertToColumnMetadata())- }-- indexStates := []*indexState{}- for _, index := range t.indexes {- indexStates = append(indexStates, index)- }- sort.Slice(indexStates, func(i, j int) bool {- return indexStates[i].id < indexStates[j].id- })- indexes := []*storepb.IndexMetadata{}- for _, index := range indexStates {- indexes = append(indexes, index.convertToIndexMetadata())- }-- return &storepb.TableMetadata{- Name: t.name,- Columns: columns,- Indexes: indexes,- Comment: t.comment,- UserComment: t.comment,- }-}-type defaultValue interface {isDefaultValue()toString() string@@ -305,27 +225,6 @@ func (c *columnState) toString(buf *strings.Builder) error {return nil}-func (c *columnState) convertToColumnMetadata() *storepb.ColumnMetadata {- result := &storepb.ColumnMetadata{- Name: c.name,- Type: c.tp,- Nullable: c.nullable,- Comment: c.comment,- UserComment: c.comment,- }- if c.defaultValue != nil {- switch value := c.defaultValue.(type) {- case *defaultValueNull:- result.DefaultValue = &storepb.ColumnMetadata_DefaultNull{DefaultNull: true}- case *defaultValueString:- result.DefaultValue = &storepb.ColumnMetadata_Default{Default: wrapperspb.String(value.value)}- case *defaultValueExpression:- result.DefaultValue = &storepb.ColumnMetadata_DefaultExpression{DefaultExpression: value.value}- }- }- return result-}-// nolintfunc convertToColumnState(id int, column *storepb.ColumnMetadata) *columnState {result := &columnState{@@ -463,17 +362,6 @@ func (i *indexState) toInlineString(buf *strings.Builder) error {return nil}-func (i *indexState) convertToIndexMetadata() *storepb.IndexMetadata {- return &storepb.IndexMetadata{- Name: i.name,- Expressions: i.keys,- Primary: i.primary,- Unique: i.unique,- // Unsupported, for tests only.- Visible: true,- }-}-// nolintfunc convertToIndexState(id int, index *storepb.IndexMetadata) *indexState {return &indexState{diff --git a/backend/plugin/schema/oracle/testdata/parse_to_metadata.yaml b/backend/plugin/schema/oracle/testdata/parse_to_metadata.yamldeleted file mode 100644index a09e126011..0000000000--- a/backend/plugin/schema/oracle/testdata/parse_to_metadata.yaml+++ /dev/null@@ -1,214 +0,0 @@-- schema: |-- CREATE TABLE "DEPARTMENTS" (- "DEPARTMENT_ID" NUMBER(3) VISIBLE NOT NULL,- "DEPARTMENT_NAME" VARCHAR2(50 BYTE) VISIBLE,- CONSTRAINT "SYS_C006991" PRIMARY KEY ("DEPARTMENT_ID"),- CONSTRAINT "SYS_C006992" UNIQUE ("DEPARTMENT_NAME") NOT DEFERRABLE INITIALLY IMMEDIATE VALIDATE- )- LOGGING- NOCOMPRESS- PCTFREE 10- INITRANS 1- STORAGE (- INITIAL 65536- )- NOCACHE- PARALLEL 1- DISABLE ROW MOVEMENT- ;-- CREATE TABLE "EMPLOYEES" (- "EMPLOYEE_ID" NUMBER(5) VISIBLE NOT NULL,- "FIRST_NAME" VARCHAR2(50 BYTE) VISIBLE,- "LAST_NAME" VARCHAR2(50 BYTE) VISIBLE,- "JOB_TITLE" VARCHAR2(100 BYTE) VISIBLE,- "HIRE_DATE" DATE VISIBLE,- "SALARY" NUMBER(10,2) VISIBLE,- "DEPARTMENT_ID" NUMBER(3) VISIBLE,- CONSTRAINT "FK_EMPLOYEE_DEPARTMENT" FOREIGN KEY ("DEPARTMENT_ID") REFERENCES "BYTEBASE"."DEPARTMENTS" ("DEPARTMENT_ID") NOT DEFERRABLE INITIALLY IMMEDIATE VALIDATE,- CONSTRAINT "SYS_C006993" PRIMARY KEY ("EMPLOYEE_ID")- )- LOGGING- NOCOMPRESS- PCTFREE 10- INITRANS 1- STORAGE (- INITIAL 65536- )- NOCACHE- PARALLEL 1- DISABLE ROW MOVEMENT- ;-- CREATE TABLE "SALARY" (- "EMPLOYEE_ID" NUMBER(5) VISIBLE NOT NULL,- "FIRST_NAME" VARCHAR2(50 BYTE) VISIBLE,- "LAST_NAME" VARCHAR2(50 BYTE) VISIBLE,- "SALARY_AMOUNT" NUMBER(10,2) VISIBLE,- "HIRE_DATE" DATE VISIBLE,- CONSTRAINT "SYS_C006995" PRIMARY KEY ("EMPLOYEE_ID")- )- LOGGING- NOCOMPRESS- PCTFREE 10- INITRANS 1- STORAGE (- INITIAL 65536- )- NOCACHE- PARALLEL 1- DISABLE ROW MOVEMENT- ;-- CREATE INDEX "IDX_EMPLOYEE_NAME_DEPARTMENT" ON "BYTEBASE"."EMPLOYEES" ("LAST_NAME" ASC, "FIRST_NAME" ASC, "DEPARTMENT_ID" ASC)- LOGGING- VISIBLE- PCTFREE 10- INITRANS 2- STORAGE (- INITIAL 65536- )- USABLE- ;- metadata: |-- {- "schemas": [- {- "name": "TEST_SCHEMA",- "tables": [- {- "name": "DEPARTMENTS",- "columns": [- {- "name": "DEPARTMENT_ID",- "type": "NUMBER(3)"- },- {- "name": "DEPARTMENT_NAME",- "nullable": true,- "type": "VARCHAR2(50 BYTE)"- }- ],- "indexes": [- {- "name": "SYS_C006991",- "expressions": [- "DEPARTMENT_ID"- ],- "unique": true,- "primary": true,- "visible": true- },- {- "name": "SYS_C006992",- "expressions": [- "DEPARTMENT_NAME"- ],- "unique": true,- "visible": true- }- ]- },- {- "name": "EMPLOYEES",- "columns": [- {- "name": "EMPLOYEE_ID",- "type": "NUMBER(5)"- },- {- "name": "FIRST_NAME",- "nullable": true,- "type": "VARCHAR2(50 BYTE)"- },- {- "name": "LAST_NAME",- "nullable": true,- "type": "VARCHAR2(50 BYTE)"- },- {- "name": "JOB_TITLE",- "nullable": true,- "type": "VARCHAR2(100 BYTE)"- },- {- "name": "HIRE_DATE",- "nullable": true,- "type": "DATE"- },- {- "name": "SALARY",- "nullable": true,- "type": "NUMBER(10,2)"- },- {- "name": "DEPARTMENT_ID",- "nullable": true,- "type": "NUMBER(3)"- }- ],- "indexes": [- {- "name": "SYS_C006993",- "expressions": [- "EMPLOYEE_ID"- ],- "unique": true,- "primary": true,- "visible": true- },- {- "name": "IDX_EMPLOYEE_NAME_DEPARTMENT",- "expressions": [- "\"LAST_NAME\"",- "\"FIRST_NAME\"",- "\"DEPARTMENT_ID\""- ],- "visible": true- }- ]- },- {- "name": "SALARY",- "columns": [- {- "name": "EMPLOYEE_ID",- "type": "NUMBER(5)"- },- {- "name": "FIRST_NAME",- "nullable": true,- "type": "VARCHAR2(50 BYTE)"- },- {- "name": "LAST_NAME",- "nullable": true,- "type": "VARCHAR2(50 BYTE)"- },- {- "name": "SALARY_AMOUNT",- "nullable": true,- "type": "NUMBER(10,2)"- },- {- "name": "HIRE_DATE",- "nullable": true,- "type": "DATE"- }- ],- "indexes": [- {- "name": "SYS_C006995",- "expressions": [- "EMPLOYEE_ID"- ],- "unique": true,- "primary": true,- "visible": true- }- ]- }- ]- }- ]- }diff --git a/backend/plugin/schema/schema.go b/backend/plugin/schema/schema.goindex 72973417b2..eb888ea67c 100644--- a/backend/plugin/schema/schema.go+++ b/backend/plugin/schema/schema.go@@ -12,13 +12,11 @@ import (var (mux sync.MutexgetDesignSchemas = make(map[storepb.Engine]getDesignSchema)- parseToMetadatas = make(map[storepb.Engine]parseToMetadata)checkColumnTypes = make(map[storepb.Engine]checkColumnType)stringifyTables = make(map[storepb.Engine]stringifyTable))type getDesignSchema func(*storepb.DatabaseSchemaMetadata) (string, error)-type parseToMetadata func(string, string) (*storepb.DatabaseSchemaMetadata, error)type checkColumnType func(string) booltype stringifyTable func(*storepb.TableMetadata) (string, error)@@ -39,23 +37,6 @@ func GetDesignSchema(engine storepb.Engine, to *storepb.DatabaseSchemaMetadata)return f(to)}-func RegisterParseToMetadatas(engine storepb.Engine, f parseToMetadata) {- mux.Lock()- defer mux.Unlock()- if _, dup := parseToMetadatas[engine]; dup {- panic(fmt.Sprintf("Register called twice %s", engine))- }- parseToMetadatas[engine] = f-}--func ParseToMetadata(engine storepb.Engine, defaultSchemaName, schema string) (*storepb.DatabaseSchemaMetadata, error) {- f, ok := parseToMetadatas[engine]- if !ok {- return nil, errors.Errorf("engine %s is not supported", engine)- }- return f(defaultSchemaName, schema)-}-func RegisterCheckColumnType(engine storepb.Engine, f checkColumnType) {mux.Lock()defer mux.Unlock()diff --git a/backend/plugin/schema/tidb/parse_to_metadata.go b/backend/plugin/schema/tidb/parse_to_metadata.godeleted file mode 100644index ada118d2b0..0000000000--- a/backend/plugin/schema/tidb/parse_to_metadata.go+++ /dev/null@@ -1,687 +0,0 @@-package tidb--import (- "fmt"- "regexp"- "strconv"- "strings"-- "github.com/antlr4-go/antlr/v4"- "github.com/pkg/errors"-- tidb "github.com/bytebase/tidb-parser"-- tidbparser "github.com/bytebase/bytebase/backend/plugin/parser/tidb"- "github.com/bytebase/bytebase/backend/plugin/schema"- storepb "github.com/bytebase/bytebase/proto/generated-go/store"-)--func init() {- schema.RegisterParseToMetadatas(storepb.Engine_TIDB, ParseToMetadata)-}--// ParseToMetadata converts a schema string to database metadata.-func ParseToMetadata(_, schema string) (*storepb.DatabaseSchemaMetadata, error) {- list, err := tidbparser.ANTLRParseTiDB(schema)- if err != nil {- return nil, err- }-- listener := &tidbTransformer{- state: newDatabaseState(),- }- listener.state.schemas[""] = newSchemaState()-- for _, stmt := range list {- antlr.ParseTreeWalkerDefault.Walk(listener, stmt.Tree)- }-- return listener.state.convertToDatabaseMetadata(), listener.err-}--type tidbTransformer struct {- *tidb.BaseTiDBParserListener-- state *databaseState- currentTable string- err error-}--// EnterCreateTable is called when production createTable is entered.-func (t *tidbTransformer) EnterCreateTable(ctx *tidb.CreateTableContext) {- if t.err != nil {- return- }- databaseName, tableName := tidbparser.NormalizeTiDBTableName(ctx.TableName())- if databaseName != "" {- if t.state.name == "" {- t.state.name = databaseName- } else if t.state.name != databaseName {- t.err = errors.New("multiple database names found: " + t.state.name + ", " + databaseName)- return- }- }-- schema := t.state.schemas[""]- if _, ok := schema.tables[tableName]; ok {- t.err = errors.New("multiple table names found: " + tableName)- return- }-- schema.tables[tableName] = newTableState(len(schema.tables), tableName)- t.currentTable = tableName-}--// ExitCreateTable is called when production createTable is exited.-func (t *tidbTransformer) ExitCreateTable(_ *tidb.CreateTableContext) {- t.currentTable = ""-}--// EnterCreateTableOption is called when production createTableOption is entered.-func (t *tidbTransformer) EnterCreateTableOption(ctx *tidb.CreateTableOptionContext) {- if t.err != nil || t.currentTable == "" {- return- }-- if ctx.ENGINE_SYMBOL() != nil {- engineString := ctx.EngineRef().TextOrIdentifier().GetParser().GetTokenStream().GetTextFromRuleContext(ctx.EngineRef().TextOrIdentifier())- schema := t.state.schemas[""]- table, ok := schema.tables[t.currentTable]- if !ok {- // This should never happen.- return- }- table.engine = engineString- }-- if defaultCollation := ctx.DefaultCollation(); defaultCollation != nil {- collationString := defaultCollation.CollationName().GetParser().GetTokenStream().GetTextFromRuleContext(defaultCollation.CollationName())- schema := t.state.schemas[""]- table, ok := schema.tables[t.currentTable]- if !ok {- // This should never happen.- return- }- table.collation = collationString- }-- if ctx.COMMENT_SYMBOL() != nil {- commentString := ctx.TextStringLiteral().GetText()- if len(commentString) > 2 {- quotes := commentString[0]- escape := fmt.Sprintf("%c%c", quotes, quotes)- commentString = strings.ReplaceAll(commentString[1:len(commentString)-1], escape, string(quotes))- }-- schema := t.state.schemas[""]- table, ok := schema.tables[t.currentTable]- if !ok {- // This should never happen.- return- }- table.comment = commentString- }-}--// EnterColumnDefinition is called when production columnDefinition is entered.-func (t *tidbTransformer) EnterColumnDef(ctx *tidb.ColumnDefContext) {- if t.err != nil || t.currentTable == "" {- return- }-- _, _, columnName := tidbparser.NormalizeTiDBColumnName(ctx.ColumnName())- dataType := getDataTypePlainText(ctx.DataType())- table := t.state.schemas[""].tables[t.currentTable]- if _, ok := table.columns[columnName]; ok {- t.err = errors.New("multiple column names found: " + columnName + " in table " + t.currentTable)- return- }- columnState := &columnState{- id: len(table.columns),- name: columnName,- tp: dataType,- defaultValue: nil,- comment: "",- nullable: true,- }-- if v := ctx.ColumnOptionList(); v != nil {- for _, attribute := range v.AllColumnOption() {- switch {- case attribute.NULL_SYMBOL() != nil && attribute.NOT_SYMBOL() != nil:- columnState.nullable = false- case attribute.DEFAULT_SYMBOL() != nil && attribute.SERIAL_SYMBOL() == nil:- defaultValueStart := nextDefaultChannelTokenIndex(ctx.GetParser().GetTokenStream(), attribute.DEFAULT_SYMBOL().GetSymbol().GetTokenIndex())- defaultValue := attribute.GetParser().GetTokenStream().GetTextFromInterval(antlr.Interval{- Start: defaultValueStart,- Stop: attribute.GetStop().GetTokenIndex(),- })- switch {- case strings.EqualFold(defaultValue, "NULL"):- columnState.defaultValue = &defaultValueNull{}- case strings.HasPrefix(defaultValue, "'") && strings.HasSuffix(defaultValue, "'"):- columnState.defaultValue = &defaultValueString{value: strings.ReplaceAll(defaultValue[1:len(defaultValue)-1], "''", "'")}- case strings.HasPrefix(defaultValue, "\"") && strings.HasSuffix(defaultValue, "\""):- columnState.defaultValue = &defaultValueString{value: strings.ReplaceAll(defaultValue[1:len(defaultValue)-1], "\"\"", "\"")}- default:- columnState.defaultValue = &defaultValueExpression{value: defaultValue}- }- case attribute.COMMENT_SYMBOL() != nil:- commentStart := nextDefaultChannelTokenIndex(ctx.GetParser().GetTokenStream(), attribute.COMMENT_SYMBOL().GetSymbol().GetTokenIndex())- comment := attribute.GetParser().GetTokenStream().GetTextFromInterval(antlr.Interval{- Start: commentStart,- Stop: attribute.GetStop().GetTokenIndex(),- })- if comment != `''` && len(comment) > 2 {- columnState.comment = comment[1 : len(comment)-1]- }- // todo(zp): refactor column attribute.- case attribute.AUTO_INCREMENT_SYMBOL() != nil:- defaultValue := autoIncrementSymbol- columnState.defaultValue = &defaultValueExpression{value: defaultValue}- case attribute.ON_SYMBOL() != nil && attribute.UPDATE_SYMBOL() != nil:- onUpdateValue := ""- if attribute.TimeFunctionParameters() != nil && attribute.TimeFunctionParameters().FractionalPrecision() != nil {- onUpdateValue = "CURRENT_TIMESTAMP(" + attribute.TimeFunctionParameters().FractionalPrecision().GetText() + ")"- } else {- onUpdateValue = "CURRENT_TIMESTAMP"- }- columnState.onUpdate = onUpdateValue- }- }- }-- if columnState.defaultValue == nil && columnState.nullable {- columnState.defaultValue = &defaultValueNull{}- }-- nextDefaultChannelTokenPos := ctx.GetStop().GetTokenIndex() + 1- for ; nextDefaultChannelTokenPos < ctx.GetParser().GetTokenStream().Size(); nextDefaultChannelTokenPos++ {- if ctx.GetParser().GetTokenStream().Get(nextDefaultChannelTokenPos).GetChannel() == antlr.LexerDefaultTokenChannel {- break- }- }- executableComments := scanTiDBExecutableComment(ctx.GetParser().GetTokenStream(), ctx.GetStart().GetTokenIndex(), nextDefaultChannelTokenPos)- for _, comment := range executableComments {- c := buildTiDBFeatureExecutableComment(comment)- if c == nil {- continue- }- if v, ok := c.(*autoRandomExecutableComment); ok {- defaultValueString := "AUTO_RANDOM"- canonicalShardBit := 5- if v.shardBit != 0 {- canonicalShardBit = v.shardBit- }- canonicalAllocationRange := 64- if v.allocationRange != 0 {- canonicalAllocationRange = v.allocationRange- }- suffix := fmt.Sprintf("(%d", canonicalShardBit)- if canonicalAllocationRange != 64 {- suffix = fmt.Sprintf("%s, %d", suffix, canonicalAllocationRange)- }- suffix = fmt.Sprintf("%s)", suffix)- defaultValueString += suffix- columnState.defaultValue = &defaultValueExpression{- value: defaultValueString,- }- }- }-- table.columns[columnName] = columnState-}--// EnterTableConstraintDef is called when production tableConstraintDef is entered.-func (t *tidbTransformer) EnterTableConstraintDef(ctx *tidb.TableConstraintDefContext) {- if t.err != nil || t.currentTable == "" {- return- }-- if ctx.GetType_() != nil {- symbol := strings.ToUpper(ctx.GetType_().GetText())- switch symbol {- case "PRIMARY":- keys, keyLengths := extractKeyListVariants(ctx.KeyListVariants())- table := t.state.schemas[""].tables[t.currentTable]- table.indexes["PRIMARY"] = &indexState{- id: len(table.indexes),- name: "PRIMARY",- keys: keys,- lengths: keyLengths,- primary: true,- unique: true,- }- case "FOREIGN":- var name string- if ctx.ConstraintName() != nil && ctx.ConstraintName().Identifier() != nil {- name = tidbparser.NormalizeTiDBIdentifier(ctx.ConstraintName().Identifier())- } else if ctx.IndexName() != nil {- name = tidbparser.NormalizeTiDBIdentifier(ctx.IndexName().Identifier())- }- keys, _ := extractKeyList(ctx.KeyList())- table := t.state.schemas[""].tables[t.currentTable]- if table.foreignKeys[name] != nil {- t.err = errors.New("multiple foreign keys found: " + name)- return- }- referencedTable, referencedColumns := extractReference(ctx.References())- fk := &foreignKeyState{- id: len(table.foreignKeys),- name: name,- columns: keys,- referencedTable: referencedTable,- referencedColumns: referencedColumns,- }- table.foreignKeys[name] = fk- case "FULLTEXT":- var name string- if ctx.IndexName() != nil {- name = tidbparser.NormalizeTiDBIdentifier(ctx.IndexName().Identifier())- }- keys, keyLengths := extractKeyListVariants(ctx.KeyListVariants())- table := t.state.schemas[""].tables[t.currentTable]- if table.indexes[name] != nil {- t.err = errors.New("multiple indexes found: " + name)- return- }- idx := &indexState{- id: len(table.indexes),- name: name,- keys: keys,- lengths: keyLengths,- primary: false,- unique: false,- tp: symbol,- }- table.indexes[name] = idx- case "SPATIAL":- var name string- if ctx.IndexName() != nil {- name = tidbparser.NormalizeTiDBIdentifier(ctx.IndexName().Identifier())- }- keys, keyLengths := extractKeyListVariants(ctx.KeyListVariants())- table := t.state.schemas[""].tables[t.currentTable]- if table.indexes[name] != nil {- t.err = errors.New("multiple indexes found: " + name)- return- }- idx := &indexState{- id: len(table.indexes),- name: name,- keys: keys,- lengths: keyLengths,- primary: false,- unique: false,- tp: symbol,- }- table.indexes[name] = idx- case "KEY", "INDEX", "UNIQUE":- var name string- if v := ctx.IndexNameAndType(); v != nil {- name = tidbparser.NormalizeTiDBIdentifier(v.IndexName().Identifier())- } else {- t.err = errors.New("index name not found")- }- keys, keyLengths := extractKeyListVariants(ctx.KeyListVariants())- table := t.state.schemas[""].tables[t.currentTable]- if table.indexes[name] != nil {- t.err = errors.New("multiple indexes found: " + name)- return- }- tp := "BTREE"- if v := ctx.IndexNameAndType(); v != nil && v.IndexType() != nil {- tp = strings.ToUpper(v.IndexType().GetText())- }- idx := &indexState{- id: len(table.indexes),- name: name,- keys: keys,- lengths: keyLengths,- primary: false,- unique: symbol == "UNIQUE",- tp: tp,- }- table.indexes[name] = idx- }- }-}--func (t *tidbTransformer) EnterPartitionClause(ctx *tidb.PartitionClauseContext) {- if t.err != nil {- return- }- if _, parentIsCreateTable := ctx.GetParent().(*tidb.CreateTableContext); !parentIsCreateTable {- return- }- if t.currentTable == "" {- return- }- table := t.state.schemas[""].tables[t.currentTable]- if table == nil {- return- }-- parititonInfo := partitionInfo{}-- iTypeDefCtx := ctx.PartitionTypeDef()- if iTypeDefCtx != nil {- switch typeDefCtx := iTypeDefCtx.(type) {- case *tidb.PartitionDefKeyContext:- parititonInfo.tp = storepb.TablePartitionMetadata_KEY- if typeDefCtx.LINEAR_SYMBOL() != nil {- parititonInfo.tp = storepb.TablePartitionMetadata_LINEAR_KEY- }- // TODO(zp): handle the key algorithm- if typeDefCtx.IdentifierList() != nil {- identifiers := extractIdentifierList(typeDefCtx.IdentifierList())- for i, identifier := range identifiers {- identifier := strings.TrimSpace(identifier)- if !strings.HasPrefix(identifier, "`") || !strings.HasSuffix(identifier, "`") {- identifiers[i] = fmt.Sprintf("`%s`", identifier)- }- }- parititonInfo.expr = strings.Join(identifiers, ",")- }- case *tidb.PartitionDefHashContext:- parititonInfo.tp = storepb.TablePartitionMetadata_HASH- if typeDefCtx.LINEAR_SYMBOL() != nil {- parititonInfo.tp = storepb.TablePartitionMetadata_LINEAR_HASH- }- bitExprText := typeDefCtx.GetParser().GetTokenStream().GetTextFromRuleContext(typeDefCtx.BitExpr())- bitExprFields := strings.Split(bitExprText, ",")- for i, bitExprField := range bitExprFields {- bitExprField := strings.TrimSpace(bitExprField)- if !strings.HasPrefix(bitExprField, "`") || !strings.HasSuffix(bitExprField, "`") {- bitExprFields[i] = fmt.Sprintf("`%s`", bitExprField)- }- }- parititonInfo.expr = strings.Join(bitExprFields, ",")- case *tidb.PartitionDefRangeListContext:- if typeDefCtx.RANGE_SYMBOL() != nil {- parititonInfo.tp = storepb.TablePartitionMetadata_RANGE- } else {- parititonInfo.tp = storepb.TablePartitionMetadata_LIST- }- if typeDefCtx.COLUMNS_SYMBOL() != nil {- if parititonInfo.tp == storepb.TablePartitionMetadata_RANGE {- parititonInfo.tp = storepb.TablePartitionMetadata_RANGE_COLUMNS- } else {- parititonInfo.tp = storepb.TablePartitionMetadata_LIST_COLUMNS- }-- identifierList := extractIdentifierList(typeDefCtx.IdentifierList())- for i, identifier := range identifierList {- identifier := strings.TrimSpace(identifier)- if !strings.HasPrefix(identifier, "`") || !strings.HasSuffix(identifier, "`") {- identifierList[i] = fmt.Sprintf("`%s`", identifier)- }- }- parititonInfo.expr = strings.Join(identifierList, ",")- } else {- bitExprText := typeDefCtx.GetParser().GetTokenStream().GetTextFromRuleContext(typeDefCtx.BitExpr())- bitExprFields := strings.Split(bitExprText, ",")- for i, bitExprField := range bitExprFields {- bitExprField := strings.TrimSpace(bitExprField)- if !strings.HasPrefix(bitExprField, "`") || !strings.HasSuffix(bitExprField, "`") {- bitExprFields[i] = fmt.Sprintf("`%s`", bitExprField)- }- }- parititonInfo.expr = strings.Join(bitExprFields, ",")- }- default:- t.err = errors.New("unknown partition type")- return- }- }-- if n := ctx.Real_ulong_number(); n != nil {- number, err := strconv.ParseInt(n.GetText(), 10, 64)- if err != nil {- t.err = errors.Wrap(err, "failed to parse partition number")- return- }- parititonInfo.useDefault = int(number)- }-- var subInfo *partitionInfo- if subPartitionCtx := ctx.SubPartitions(); subPartitionCtx != nil {- subInfo = new(partitionInfo)- if subPartitionCtx.HASH_SYMBOL() != nil {- subInfo.tp = storepb.TablePartitionMetadata_HASH- if subPartitionCtx.LINEAR_SYMBOL() != nil {- subInfo.tp = storepb.TablePartitionMetadata_LINEAR_HASH- }- if bitExprCtx := subPartitionCtx.BitExpr(); bitExprCtx != nil {- bitExprText := bitExprCtx.GetParser().GetTokenStream().GetTextFromRuleContext(bitExprCtx)- bitExprFields := strings.Split(bitExprText, ",")- for i, bitExprField := range bitExprFields {- bitExprField := strings.TrimSpace(bitExprField)- if !strings.HasPrefix(bitExprField, "`") || !strings.HasSuffix(bitExprField, "`") {- bitExprFields[i] = fmt.Sprintf("`%s`", bitExprField)- }- }- subInfo.expr = strings.Join(bitExprFields, ",")- }- } else if subPartitionCtx.KEY_SYMBOL() != nil {- subInfo.tp = storepb.TablePartitionMetadata_KEY- if subPartitionCtx.LINEAR_SYMBOL() != nil {- subInfo.tp = storepb.TablePartitionMetadata_LINEAR_KEY- }- if identifierListParensCtx := subPartitionCtx.IdentifierListWithParentheses(); identifierListParensCtx != nil {- identifiers := extractIdentifierList(identifierListParensCtx.IdentifierList())- for i, identifier := range identifiers {- identifier := strings.TrimSpace(identifier)- if !strings.HasPrefix(identifier, "`") || !strings.HasSuffix(identifier, "`") {- identifiers[i] = fmt.Sprintf("`%s`", identifier)- }- }- subInfo.expr = strings.Join(identifiers, ",")- }- }-- if n := subPartitionCtx.Real_ulong_number(); n != nil {- number, err := strconv.ParseInt(n.GetText(), 10, 64)- if err != nil {- t.err = errors.Wrap(err, "failed to parse sub partition number")- return- }- subInfo.useDefault = int(number)- }- }-- partitionDefinitions := make(map[string]*partitionDefinition)- var allPartDefs []tidb.IPartitionDefinitionContext- if v := ctx.PartitionDefinitions(); v != nil {- allPartDefs = ctx.PartitionDefinitions().AllPartitionDefinition()- }- for i, partDef := range allPartDefs {- pd := &partitionDefinition{- id: i + 1,- name: tidbparser.NormalizeTiDBIdentifier(partDef.Identifier()),- }- switch parititonInfo.tp {- case storepb.TablePartitionMetadata_RANGE_COLUMNS, storepb.TablePartitionMetadata_RANGE:- if partDef.LESS_SYMBOL() == nil {- t.err = errors.New("RANGE partition but no LESS THAN clause")- return- }- if partDef.PartitionValueItemListParen() != nil {- itemsText := partDef.PartitionValueItemListParen().GetParser().GetTokenStream().GetTextFromInterval(- antlr.NewInterval(- partDef.PartitionValueItemListParen().OPEN_PAR_SYMBOL().GetSymbol().GetTokenIndex()+1,- partDef.PartitionValueItemListParen().CLOSE_PAR_SYMBOL().GetSymbol().GetTokenIndex()-1,- ),- )- itemsTextFields := strings.Split(itemsText, ",")- for i, itemsTextField := range itemsTextFields {- itemsTextField := strings.TrimSpace(itemsTextField)- if strings.HasPrefix(itemsTextField, "`") && strings.HasSuffix(itemsTextField, "`") {- itemsTextField = itemsTextField[1 : len(itemsTextField)-1]- }- itemsTextFields[i] = itemsTextField- }- pd.value = strings.Join(itemsTextFields, ",")- } else {- pd.value = "MAXVALUE"- }- case storepb.TablePartitionMetadata_LIST_COLUMNS, storepb.TablePartitionMetadata_LIST:- if partDef.PartitionValuesIn() == nil {- t.err = errors.New("COLUMNS partition but no partition value item in IN clause")- return- }- var itemsText string- if partDef.PartitionValuesIn().OPEN_PAR_SYMBOL() != nil {- itemsText = partDef.PartitionValuesIn().GetParser().GetTokenStream().GetTextFromInterval(- antlr.NewInterval(- partDef.PartitionValuesIn().OPEN_PAR_SYMBOL().GetSymbol().GetTokenIndex()+1,- partDef.PartitionValuesIn().CLOSE_PAR_SYMBOL().GetSymbol().GetTokenIndex()-1,- ),- )- } else {- itemsText = partDef.PartitionValuesIn().GetParser().GetTokenStream().GetTextFromRuleContext(partDef.PartitionValuesIn().PartitionValueItemListParen(0))- }-- itemsTextFields := strings.Split(itemsText, ",")- for i, itemsTextField := range itemsTextFields {- itemsTextField := strings.TrimSpace(itemsTextField)- if strings.HasPrefix(itemsTextField, "`") && strings.HasSuffix(itemsTextField, "`") {- itemsTextField = itemsTextField[1 : len(itemsTextField)-1]- }- itemsTextFields[i] = itemsTextField- }- pd.value = strings.Join(itemsTextFields, ",")- case storepb.TablePartitionMetadata_HASH, storepb.TablePartitionMetadata_LINEAR_HASH, storepb.TablePartitionMetadata_KEY, storepb.TablePartitionMetadata_LINEAR_KEY:- default:- t.err = errors.New("unknown partition type")- return- }-- if subInfo != nil {- allSubpartitions := partDef.AllSubpartitionDefinition()- if subInfo.tp == storepb.TablePartitionMetadata_TYPE_UNSPECIFIED && len(allSubpartitions) > 0 {- t.err = errors.New("specify subpartition definition but no subpartition type specified")- return- }- subPartitionDefinitions := make(map[string]*partitionDefinition)- for i, sub := range allSubpartitions {- subpd := &partitionDefinition{- id: i + 1,- name: tidbparser.NormalizeTiDBTextOrIdentifier(sub.TextOrIdentifier()),- }- subPartitionDefinitions[subpd.name] = subpd- }- pd.subpartitions = subPartitionDefinitions- }-- partitionDefinitions[pd.name] = pd- }-- table.partition = &partitionState{- info: parititonInfo,- subInfo: subInfo,- partitions: partitionDefinitions,- }-}--func (t *tidbTransformer) EnterCreateView(ctx *tidb.CreateViewContext) {- if t.err != nil {- return- }-- databaseName, viewName := tidbparser.NormalizeTiDBViewName(ctx.ViewName())- if databaseName != "" && t.state.name != "" && databaseName != t.state.name {- t.err = errors.New("multiple database names found: " + t.state.name + ", " + databaseName)- return- }-- schema, ok := t.state.schemas[""]- if !ok || schema == nil {- t.state.schemas[""] = newSchemaState()- schema = t.state.schemas[""]- }-- definition := ctx.GetParser().GetTokenStream().GetTextFromInterval(antlr.Interval{- Start: ctx.ViewTail().ViewSelect().GetStart().GetTokenIndex(),- Stop: ctx.ViewTail().ViewSelect().GetStop().GetTokenIndex(),- })- schema.views[viewName] = &viewState{- id: len(schema.views),- name: viewName,- definition: definition,- }-}--type tidbFeatureExecutableComment interface {- isTiDBFeatureExecutableComment()-}--type autoRandomExecutableComment struct {- shardBit int- allocationRange int-}--func (*autoRandomExecutableComment) isTiDBFeatureExecutableComment() {}--var (- autorandRegexp = regexp.MustCompile(`(?i)\[\s*auto_rand\s*\]\s*auto_random(\(\s*(?P<shardBit>(\d+))?\s*(,\s*(?P<allocationRange>(\d+)))?\s*\))?`)-)--func buildTiDBFeatureExecutableComment(innerText string) tidbFeatureExecutableComment {- // Syntax: [auto_rand] auto_random(5, 32)- innerText = strings.TrimSpace(innerText)- autoRandMatches := autorandRegexp.FindStringSubmatch(innerText)- if autoRandMatches != nil {- result := &autoRandomExecutableComment{}- for i, name := range autorandRegexp.SubexpNames() {- if name == "shardBit" {- if autoRandMatches[i] != "" {- shardBit, err := strconv.ParseInt(autoRandMatches[i], 10, 64)- if err != nil {- return nil- }- result.shardBit = int(shardBit)- }- } else if name == "allocationRange" {- if autoRandMatches[i] != "" {- allocationRange, err := strconv.ParseInt(autoRandMatches[i], 10, 64)- if err != nil {- return nil- }- result.allocationRange = int(allocationRange)- }- }- }- return result- }-- return nil-}--// scanTiDBExecutableComment scans the TiDB executable comment in ts[beginPos:endPos).-func scanTiDBExecutableComment(ts antlr.TokenStream, beginPos int, endPos int) []string {- tssz := ts.Size()- if tssz < beginPos {- return nil- }- if tssz < endPos {- endPos = tssz- }-- var result []string-- for i := beginPos; i < endPos; i++ {- token := ts.Get(i)- if token.GetChannel() != antlr.TokenHiddenChannel {- continue- }- text := token.GetText()- if strings.HasPrefix(text, "/*T!") && strings.HasSuffix(text, "*/") {- trimmedText := text[4:]- trimmedText = trimmedText[:len(trimmedText)-2]- result = append(result, trimmedText)- }- }-- return result-}diff --git a/backend/plugin/schema/tidb/parse_to_metadata_test.go b/backend/plugin/schema/tidb/parse_to_metadata_test.godeleted file mode 100644index 0f2dc1c5bd..0000000000--- a/backend/plugin/schema/tidb/parse_to_metadata_test.go+++ /dev/null@@ -1,95 +0,0 @@-package tidb--import (- "io"- "os"- "testing"-- "github.com/antlr4-go/antlr/v4"- tidbparser "github.com/bytebase/tidb-parser"- "github.com/google/go-cmp/cmp"- "github.com/stretchr/testify/require"- "google.golang.org/protobuf/encoding/protojson"- "google.golang.org/protobuf/testing/protocmp"- "gopkg.in/yaml.v3"-- "github.com/bytebase/bytebase/backend/common"- storepb "github.com/bytebase/bytebase/proto/generated-go/store"-)--type parseToMetadataTest struct {- Schema string- Metadata string-}--func TestParseToMetadata(t *testing.T) {- const (- record = false- )- var (- filepath = "testdata/parse_to_metadata.yaml"- )-- a := require.New(t)- yamlFile, err := os.Open(filepath)- a.NoError(err)-- tests := []parseToMetadataTest{}- byteValue, err := io.ReadAll(yamlFile)- a.NoError(yamlFile.Close())- a.NoError(err)- a.NoError(yaml.Unmarshal(byteValue, &tests))-- for i, t := range tests {- result, err := ParseToMetadata("", t.Schema)- a.NoError(err)- if record {- tests[i].Metadata = protojson.MarshalOptions{Multiline: true, Indent: " "}.Format(result)- } else {- want := &storepb.DatabaseSchemaMetadata{}- err = common.ProtojsonUnmarshaler.Unmarshal([]byte(t.Metadata), want)- a.NoError(err)- diff := cmp.Diff(want, result, protocmp.Transform())- a.Empty(diff)- }- }-- if record {- byteValue, err := yaml.Marshal(tests)- a.NoError(err)- err = os.WriteFile(filepath, byteValue, 0644)- a.NoError(err)- }-}--func TestScanTiDBExecutableComment(t *testing.T) {- testCases := []struct {- statement string- begin *int- end *int- want []string- }{- {- statement: `CREATE TABLE t(id BIGINT NOT NULL /*T![auto_rand] AUTO_RANDOM(10) */ PRIMARY KEY);`,- want: []string{- `[auto_rand] AUTO_RANDOM(10) `,- },- },- }- for _, tc := range testCases {- input := antlr.NewInputStream(tc.statement)- lexer := tidbparser.NewTiDBLexer(input)- stream := antlr.NewCommonTokenStream(lexer, 0)- stream.Fill()- begin := 0- if tc.begin != nil {- begin = *tc.begin- }- end := stream.Size()- if tc.end != nil {- end = *tc.end- }- got := scanTiDBExecutableComment(stream, begin, end)- require.Equal(t, tc.want, got)- }-}diff --git a/backend/plugin/schema/tidb/state.go b/backend/plugin/schema/tidb/state.goindex 9b018e2523..ee350c6969 100644--- a/backend/plugin/schema/tidb/state.go+++ b/backend/plugin/schema/tidb/state.go@@ -9,14 +9,11 @@ import ("strconv""strings"- "google.golang.org/protobuf/types/known/wrapperspb"-"github.com/antlr4-go/antlr/v4"tidbparser "github.com/bytebase/tidb-parser""github.com/pkg/errors""github.com/bytebase/bytebase/backend/plugin/db/tidb"- tidbparserraw "github.com/bytebase/bytebase/backend/plugin/parser/tidb"storepb "github.com/bytebase/bytebase/proto/generated-go/store")@@ -40,28 +37,7 @@ func convertToDatabaseState(database *storepb.DatabaseSchemaMetadata) *databaseSreturn state}-func (s *databaseState) convertToDatabaseMetadata() *storepb.DatabaseSchemaMetadata {- schemaStates := []*schemaState{}- for _, schema := range s.schemas {- schemaStates = append(schemaStates, schema)- }- sort.Slice(schemaStates, func(i, j int) bool {- return schemaStates[i].id < schemaStates[j].id- })- schemas := []*storepb.SchemaMetadata{}- for _, schema := range schemaStates {- schemas = append(schemas, schema.convertToSchemaMetadata())- }- return &storepb.DatabaseSchemaMetadata{- Name: s.name,- Schemas: schemas,- // Unsupported, for tests only.- Extensions: []*storepb.ExtensionMetadata{},- }-}-type schemaState struct {- id intname stringtables map[string]*tableStateviews map[string]*viewState@@ -86,41 +62,6 @@ func convertToSchemaState(schema *storepb.SchemaMetadata) *schemaState {return state}-func (s *schemaState) convertToSchemaMetadata() *storepb.SchemaMetadata {- tableStates := []*tableState{}- for _, table := range s.tables {- tableStates = append(tableStates, table)- }- sort.Slice(tableStates, func(i, j int) bool {- return tableStates[i].id < tableStates[j].id- })- viewStates := []*viewState{}- for _, view := range s.views {- viewStates = append(viewStates, view)- }- sort.Slice(viewStates, func(i, j int) bool {- return viewStates[i].id < viewStates[j].id- })- tables := []*storepb.TableMetadata{}- for _, table := range tableStates {- tables = append(tables, table.convertToTableMetadata())- }- views := []*storepb.ViewMetadata{}- for _, view := range viewStates {- views = append(views, view.convertToViewMetadata())- }- return &storepb.SchemaMetadata{- Name: s.name,- Tables: tables,- Views: views,- // Unsupported, for tests only.- Functions: []*storepb.FunctionMetadata{},- Streams: []*storepb.StreamMetadata{},- Tasks: []*storepb.TaskMetadata{},- MaterializedViews: []*storepb.MaterializedViewMetadata{},- }-}-type tableState struct {id intname string@@ -262,65 +203,6 @@ func convertToTableState(id int, table *storepb.TableMetadata) *tableState {return state}-func (t *tableState) convertToTableMetadata() *storepb.TableMetadata {- columnStates := []*columnState{}- for _, column := range t.columns {- columnStates = append(columnStates, column)- }- sort.Slice(columnStates, func(i, j int) bool {- return columnStates[i].id < columnStates[j].id- })- columns := []*storepb.ColumnMetadata{}- for _, column := range columnStates {- columns = append(columns, column.convertToColumnMetadata())- }- // Backfill the column positions.- for i, column := range columns {- column.Position = int32(i + 1)- }-- indexStates := []*indexState{}- for _, index := range t.indexes {- indexStates = append(indexStates, index)- }- sort.Slice(indexStates, func(i, j int) bool {- return indexStates[i].id < indexStates[j].id- })- indexes := []*storepb.IndexMetadata{}- for _, index := range indexStates {- indexes = append(indexes, index.convertToIndexMetadata())- }-- fkStates := []*foreignKeyState{}- for _, fk := range t.foreignKeys {- fkStates = append(fkStates, fk)- }- sort.Slice(fkStates, func(i, j int) bool {- return fkStates[i].id < fkStates[j].id- })- fks := []*storepb.ForeignKeyMetadata{}- for _, fk := range fkStates {- fks = append(fks, fk.convertToForeignKeyMetadata())- }-- var partitions []*storepb.TablePartitionMetadata- if t.partition != nil {- partitions = t.partition.convertToPartitionMetadata()- }-- return &storepb.TableMetadata{- Name: t.name,- Columns: columns,- Indexes: indexes,- ForeignKeys: fks,- UserComment: t.comment,- Comment: t.comment,- Engine: t.engine,- Collation: t.collation,- Partitions: partitions,- }-}-type foreignKeyState struct {id intname string@@ -329,15 +211,6 @@ type foreignKeyState struct {referencedColumns []string}-func (f *foreignKeyState) convertToForeignKeyMetadata() *storepb.ForeignKeyMetadata {- return &storepb.ForeignKeyMetadata{- Name: f.name,- Columns: f.columns,- ReferencedTable: f.referencedTable,- ReferencedColumns: f.referencedColumns,- }-}-func convertToForeignKeyState(id int, foreignKey *storepb.ForeignKeyMetadata) *foreignKeyState {return &foreignKeyState{id: id,@@ -415,19 +288,6 @@ type indexState struct {tp string}-func (i *indexState) convertToIndexMetadata() *storepb.IndexMetadata {- return &storepb.IndexMetadata{- Name: i.name,- Expressions: i.keys,- KeyLength: i.lengths,- Primary: i.primary,- Unique: i.unique,- // Unsupported, for tests only.- Visible: true,- Type: i.tp,- }-}-func convertToIndexState(id int, index *storepb.IndexMetadata) *indexState {return &indexState{id: id,@@ -527,43 +387,6 @@ type partitionDefinition struct {subpartitions map[string]*partitionDefinition}-func (p *partitionState) isValid() error {- if p.info.useDefault == 0 && len(p.partitions) == 0 {- return errors.New("empty partition list")- }-- if p.info.useDefault != 0 && len(p.partitions) > 0 {- return errors.New("specify partitions clause and use default partition are not allowed at the same time")- }-- if p.info.tp == storepb.TablePartitionMetadata_TYPE_UNSPECIFIED {- return errors.New("invalid partition type")- }-- if p.subInfo != nil {- if p.subInfo.tp == storepb.TablePartitionMetadata_TYPE_UNSPECIFIED {- return errors.New("invalid subpartition type")- }-- anySpecificPartition := len(p.partitions) > 0- if anySpecificPartition {- var anySpecificSubpartition bool- for _, partition := range p.partitions {- if len(partition.subpartitions) > 0 {- anySpecificSubpartition = true- break- }- }-- if anySpecificSubpartition && p.subInfo.useDefault != 0 {- return errors.New("specify subpartitions clause and use default subpartition are not allowed at the same time")- }- }- }-- return nil-}-func convertToPartitionState(partitions []*storepb.TablePartitionMetadata) *partitionState {if len(partitions) == 0 {return nil@@ -615,84 +438,6 @@ func convertToPartitionState(partitions []*storepb.TablePartitionMetadata) *partreturn state}-func (p *partitionState) convertToPartitionMetadata() []*storepb.TablePartitionMetadata {- // There are `useDefault` fields in partitionInfo structure, which may use with empty parititions fields.- // For example, `PARTITION BY HASH (id) PARTITIONS 4 SUBPARTITION BY KEY(id) SUBPARTITIONS 5;` may cause the `partitions` field to be empty.- // To be compatible with our protobuf definition, which requires at least one partition, we need to generate the default partition name. And, value- // is not important, because only the KEY and HASH partition type support PARTITIONS clause.- // TODO(parser-group): recheck the MySQL behavior of generating the default partition name and value.- if err := p.isValid(); err != nil {- slog.Warn(err.Error())- return nil- }- var partitions []*storepb.TablePartitionMetadata- if p.info.useDefault != 0 {- generator := tidbparserraw.NewPartitionDefaultNameGenerator("")- for i := 0; i < p.info.useDefault; i++ {- partitions = append(partitions, &storepb.TablePartitionMetadata{- Name: generator.Next(),- Type: p.info.tp,- Expression: p.info.expr,- Value: "",- UseDefault: strconv.Itoa(p.info.useDefault),- })- }- // The reason of we do not consider subUseDefault in this case is that MySQL does not support- // subpartitions for HASH and KEY partitioning, and they are the only partitioning types that support- // the PARTITIONS clause.- } else {- sortedPartitions := make([]*partitionDefinition, 0, len(p.partitions))- for _, partition := range p.partitions {- sortedPartitions = append(sortedPartitions, partition)- }- sort.Slice(sortedPartitions, func(i, j int) bool {- return sortedPartitions[i].id < sortedPartitions[j].id- })- for _, partition := range sortedPartitions {- partitionMetadata := &storepb.TablePartitionMetadata{- Name: partition.name,- Type: p.info.tp,- Expression: p.info.expr,- Value: partition.value,- }- if p.subInfo != nil {- if p.subInfo.useDefault != 0 {- subUseDefault := strconv.Itoa(p.subInfo.useDefault)- generator := tidbparserraw.NewPartitionDefaultNameGenerator(partition.name)- for i := 0; i < p.subInfo.useDefault; i++ {- partitionMetadata.Subpartitions = append(partitionMetadata.Subpartitions, &storepb.TablePartitionMetadata{- Name: generator.Next(),- Type: p.subInfo.tp,- Expression: p.subInfo.expr,- UseDefault: subUseDefault,- Value: "",- })- }- } else {- sortedSubpartitions := make([]*partitionDefinition, 0, len(partition.subpartitions))- for _, subPartition := range partition.subpartitions {- sortedSubpartitions = append(sortedSubpartitions, subPartition)- }- sort.Slice(sortedSubpartitions, func(i, j int) bool {- return sortedSubpartitions[i].id < sortedSubpartitions[j].id- })- for _, subPartition := range sortedSubpartitions {- partitionMetadata.Subpartitions = append(partitionMetadata.Subpartitions, &storepb.TablePartitionMetadata{- Name: subPartition.name,- Type: p.subInfo.tp,- Expression: p.subInfo.expr,- Value: subPartition.value,- })- }- }- }- partitions = append(partitions, partitionMetadata)- }- }-- return partitions-}-// toString() writes the partition state as SHOW CREATE TABLE syntax to buf, referencing MySQL source code:// https://sourcegraph.com/github.com/mysql/mysql-server@824e2b4064053f7daf17d7f3f84b7a3ed92e5fb4/-/blob/sql/sql_show.cc?L2528-2550// partitionClauseCtx is use to minimize the difference between the original one and the output, it is safe to pass nil.@@ -1215,28 +960,6 @@ func (c *columnState) toString(buf *strings.Builder) error {return nil}-func (c *columnState) convertToColumnMetadata() *storepb.ColumnMetadata {- result := &storepb.ColumnMetadata{- Name: c.name,- Type: c.tp,- Nullable: c.nullable,- OnUpdate: c.onUpdate,- Comment: c.comment,- UserComment: c.comment,- }- if c.defaultValue != nil {- switch value := c.defaultValue.(type) {- case *defaultValueNull:- result.DefaultValue = &storepb.ColumnMetadata_DefaultNull{DefaultNull: true}- case *defaultValueString:- result.DefaultValue = &storepb.ColumnMetadata_Default{Default: wrapperspb.String(value.value)}- case *defaultValueExpression:- result.DefaultValue = &storepb.ColumnMetadata_DefaultExpression{DefaultExpression: value.value}- }- }- return result-}-func convertToColumnState(id int, column *storepb.ColumnMetadata) *columnState {result := &columnState{id: id,@@ -1289,13 +1012,6 @@ type viewState struct {definition string}-func (v *viewState) convertToViewMetadata() *storepb.ViewMetadata {- return &storepb.ViewMetadata{- Name: v.name,- Definition: v.definition,- }-}-func convertToViewState(id int, view *storepb.ViewMetadata) *viewState {return &viewState{id: id,@@ -1315,31 +1031,3 @@ func (v *viewState) toString(buf io.StringWriter) error {}return nil}--// getDataTypePlainText returns the plain text of the data type,-// which excludes the charset candidate.-// For example, for "varchar(10) CHARACTER SET utf8mb4",-// it returns "varchar(10)".-func getDataTypePlainText(typeCtx tidbparser.IDataTypeContext) string {- begin := typeCtx.GetStart().GetTokenIndex()- end := typeCtx.GetStop().GetTokenIndex()- if typeCtx.CharsetWithOptBinary() != nil {- end = typeCtx.CharsetWithOptBinary().GetStart().GetTokenIndex() - 1- }- // To skip the trailing spaces, we iterate the token stream reversely and find the first default channel token index.- for i := end; i >= begin; i-- {- if typeCtx.GetParser().GetTokenStream().Get(i).GetChannel() == antlr.TokenDefaultChannel {- end = i- break- }- }-- if end < begin {- return ""- }-- return typeCtx.GetParser().GetTokenStream().GetTextFromInterval(antlr.Interval{- Start: begin,- Stop: end,- })-}diff --git a/backend/plugin/schema/tidb/testdata/parse_to_metadata.yaml b/backend/plugin/schema/tidb/testdata/parse_to_metadata.yamldeleted file mode 100644index a1f530c2fb..0000000000--- a/backend/plugin/schema/tidb/testdata/parse_to_metadata.yaml+++ /dev/null@@ -1,393 +0,0 @@-- schema: |-- CREATE TABLE `t1` (- `id` bigint(20) NOT NULL /*T![auto_rand] AUTO_RANDOM(10) */,- PRIMARY KEY (`id`) /*T![clustered_index] CLUSTERED */- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin- metadata: |-- {- "schemas": [- {- "tables": [- {- "name": "t1",- "columns": [- {- "name": "id",- "position": 1,- "defaultExpression": "AUTO_RANDOM(10)",- "type": "bigint(20)"- }- ],- "indexes": [- {- "name": "PRIMARY",- "expressions": [- "id"- ],- "keyLength": [- "-1"- ],- "unique": true,- "primary": true,- "visible": true- }- ],- "engine": "InnoDB",- "collation": "utf8mb4_bin"- }- ]- }- ]- }-- schema: |-- create table t- (- `a` int NOT NULL COMMENT 'this is comment',- `b` VARCHAR(20) NOT NULL,- `c` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) ON UPDATE CURRENT_TIMESTAMP(3),- `d` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,- `e` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP() ON UPDATE CURRENT_TIMESTAMP(),- KEY `idx` (((`a` + 20))),- UNIQUE KEY `idx2` (`a`),- KEY `idx_length` (`b`(10)),- PRIMARY KEY (`a`)- ) ENGINE=InnoDB DEFAULT COLLATE=utf8mb4_bin COMMENT 'this is comment with '' escaped';- metadata: |-- {- "schemas": [- {- "tables": [- {- "name": "t",- "columns": [- {- "name": "a",- "position": 1,- "type": "int",- "comment": "this is comment",- "userComment": "this is comment"- },- {- "name": "b",- "position": 2,- "type": "VARCHAR(20)"- },- {- "name": "c",- "position": 3,- "defaultExpression": "CURRENT_TIMESTAMP(3)",- "onUpdate": "CURRENT_TIMESTAMP(3)",- "type": "timestamp(3)"- },- {- "name": "d",- "position": 4,- "defaultExpression": "CURRENT_TIMESTAMP",- "onUpdate": "CURRENT_TIMESTAMP",- "type": "datetime"- },- {- "name": "e",- "position": 5,- "defaultExpression": "CURRENT_TIMESTAMP()",- "onUpdate": "CURRENT_TIMESTAMP",- "type": "datetime"- }- ],- "indexes": [- {- "name": "idx",- "expressions": [- "((`a` + 20))"- ],- "keyLength": [- "-1"- ],- "type": "BTREE",- "visible": true- },- {- "name": "idx2",- "expressions": [- "a"- ],- "keyLength": [- "-1"- ],- "type": "BTREE",- "unique": true,- "visible": true- },- {- "name": "idx_length",- "expressions": [- "b"- ],- "keyLength": [- "10"- ],- "type": "BTREE",- "visible": true- },- {- "name": "PRIMARY",- "expressions": [- "a"- ],- "keyLength": [- "-1"- ],- "unique": true,- "primary": true,- "visible": true- }- ],- "engine": "InnoDB",- "collation": "utf8mb4_bin",- "comment": "this is comment with ' escaped",- "userComment": "this is comment with ' escaped"- }- ]- }- ]- }-- schema: |- create table t- (- c int,- a int default 1 comment 'abcdefg',- b varchar(20) default NULL comment '',- d varbinary(500),- e binary(20),- f blob,- g tinyblob,- h mediumblob,- i longblob,- j text,- k tinytext,- primary key (a, b),- constraint fk1 foreign key (a) references t2 (b)- );- create table t2(b int NOT NULL default NULL, primary key (b));- create table t3(a bigint NOT NULL AUTO_RANDOM, primary key (a));- create table t4(a bigint NOT NULL AUTO_RANDOM(6), primary key (a));- create table t5(a bigint NOT NULL /*T![auto_rand] AUTO_RANDOM(6, 54) */, primary key (a));- metadata: |-- {- "schemas": [- {- "tables": [- {- "name": "t",- "columns": [- {- "name": "c",- "position": 1,- "defaultNull": true,- "nullable": true,- "type": "int"- },- {- "name": "a",- "position": 2,- "defaultExpression": "1",- "nullable": true,- "type": "int",- "comment": "abcdefg",- "userComment": "abcdefg"- },- {- "name": "b",- "position": 3,- "defaultNull": true,- "nullable": true,- "type": "varchar(20)"- },- {- "name": "d",- "position": 4,- "defaultNull": true,- "nullable": true,- "type": "varbinary(500)"- },- {- "name": "e",- "position": 5,- "defaultNull": true,- "nullable": true,- "type": "binary(20)"- },- {- "name": "f",- "position": 6,- "defaultNull": true,- "nullable": true,- "type": "blob"- },- {- "name": "g",- "position": 7,- "defaultNull": true,- "nullable": true,- "type": "tinyblob"- },- {- "name": "h",- "position": 8,- "defaultNull": true,- "nullable": true,- "type": "mediumblob"- },- {- "name": "i",- "position": 9,- "defaultNull": true,- "nullable": true,- "type": "longblob"- },- {- "name": "j",- "position": 10,- "defaultNull": true,- "nullable": true,- "type": "text"- },- {- "name": "k",- "position": 11,- "defaultNull": true,- "nullable": true,- "type": "tinytext"- }- ],- "indexes": [- {- "name": "PRIMARY",- "expressions": [- "a",- "b"- ],- "keyLength": [- "-1",- "-1"- ],- "unique": true,- "primary": true,- "visible": true- }- ],- "foreignKeys": [- {- "name": "fk1",- "columns": [- "a"- ],- "referencedTable": "t2",- "referencedColumns": [- "b"- ]- }- ]- },- {- "name": "t2",- "columns": [- {- "name": "b",- "position": 1,- "defaultNull": true,- "type": "int"- }- ],- "indexes": [- {- "name": "PRIMARY",- "expressions": [- "b"- ],- "keyLength": [- "-1"- ],- "unique": true,- "primary": true,- "visible": true- }- ]- },- {- "name": "t3",- "columns": [- {- "name": "a",- "position": 1,- "type": "bigint"- }- ],- "indexes": [- {- "name": "PRIMARY",- "expressions": [- "a"- ],- "keyLength": [- "-1"- ],- "unique": true,- "primary": true,- "visible": true- }- ]- },- {- "name": "t4",- "columns": [- {- "name": "a",- "position": 1,- "type": "bigint"- }- ],- "indexes": [- {- "name": "PRIMARY",- "expressions": [- "a"- ],- "keyLength": [- "-1"- ],- "unique": true,- "primary": true,- "visible": true- }- ]- },- {- "name": "t5",- "columns": [- {- "name": "a",- "position": 1,- "defaultExpression": "AUTO_RANDOM(6, 54)",- "type": "bigint"- }- ],- "indexes": [- {- "name": "PRIMARY",- "expressions": [- "a"- ],- "keyLength": [- "-1"- ],- "unique": true,- "primary": true,- "visible": true- }- ]- }- ]- }- ]- }diff --git a/backend/plugin/schema/tidb/utils.go b/backend/plugin/schema/tidb/utils.goindex 580ff3c8db..d799635833 100644--- a/backend/plugin/schema/tidb/utils.go+++ b/backend/plugin/schema/tidb/utils.go@@ -1,14 +1,5 @@package tidb-import (- "strconv"-- "github.com/antlr4-go/antlr/v4"- tidb "github.com/bytebase/tidb-parser"-- tidbparser "github.com/bytebase/bytebase/backend/plugin/parser/tidb"-)-const (autoIncrementSymbol = "AUTO_INCREMENT"autoRandSymbol = "AUTO_RANDOM"@@ -48,84 +39,3 @@ var (// "JSON": true,})--func extractReference(ctx tidb.IReferencesContext) (string, []string) {- _, table := tidbparser.NormalizeTiDBTableRef(ctx.TableRef())- if ctx.IdentifierListWithParentheses() != nil {- columns := extractIdentifierList(ctx.IdentifierListWithParentheses().IdentifierList())- return table, columns- }- return table, nil-}--func extractIdentifierList(ctx tidb.IIdentifierListContext) []string {- var result []string- for _, identifier := range ctx.AllIdentifier() {- result = append(result, tidbparser.NormalizeTiDBIdentifier(identifier))- }- return result-}--func extractKeyListVariants(ctx tidb.IKeyListVariantsContext) ([]string, []int64) {- if ctx.KeyList() != nil {- return extractKeyList(ctx.KeyList())- }- if ctx.KeyListWithExpression() != nil {- return extractKeyListWithExpression(ctx.KeyListWithExpression())- }- return nil, nil-}--func extractKeyListWithExpression(ctx tidb.IKeyListWithExpressionContext) ([]string, []int64) {- var result []string- var keyLengths []int64- for _, key := range ctx.AllKeyPartOrExpression() {- if key.KeyPart() != nil {- keyText, keyLength := getKeyExpressionAndLengthFromKeyPart(key.KeyPart())- result = append(result, keyText)- keyLengths = append(keyLengths, keyLength)- } else if key.ExprWithParentheses() != nil {- keyText := key.GetParser().GetTokenStream().GetTextFromRuleContext(key.ExprWithParentheses())- result = append(result, keyText)- keyLengths = append(keyLengths, -1)- }- }- return result, keyLengths-}--func extractKeyList(ctx tidb.IKeyListContext) ([]string, []int64) {- var result []string- var keyLengths []int64- for _, key := range ctx.AllKeyPart() {- keyText, keyLength := getKeyExpressionAndLengthFromKeyPart(key)- result = append(result, keyText)- keyLengths = append(keyLengths, keyLength)- }- return result, keyLengths-}--func getKeyExpressionAndLengthFromKeyPart(ctx tidb.IKeyPartContext) (string, int64) {- keyText := tidbparser.NormalizeTiDBIdentifier(ctx.Identifier())- keyLength := int64(-1)- if ctx.FieldLength() != nil {- l := ctx.FieldLength().GetText()- if len(l) > 2 && l[0] == '(' && l[len(l)-1] == ')' {- l = l[1 : len(l)-1]- }- length, err := strconv.ParseInt(l, 10, 64)- if err != nil {- length = -1- }- keyLength = length- }- return keyText, keyLength-}--func nextDefaultChannelTokenIndex(tokens antlr.TokenStream, currentIndex int) int {- for i := currentIndex + 1; i < tokens.Size(); i++ {- if tokens.Get(i).GetChannel() == antlr.TokenDefaultChannel {- return i- }- }- return 0-}diff --git a/backend/runner/taskrun/executor.go b/backend/runner/taskrun/executor.goindex c4af41a02d..c1dffac027 100644--- a/backend/runner/taskrun/executor.go+++ b/backend/runner/taskrun/executor.go@@ -353,25 +353,6 @@ func postMigration(ctx context.Context, stores *store.Store, mi *db.MigrationInfslog.String("database", database.DatabaseName),)- // Set schema config.- if mc.sheet != nil && mc.task.DatabaseID != nil {- sheet := mc.sheet- if sheet.Payload != nil && (sheet.Payload.DatabaseConfig != nil || sheet.Payload.BaselineDatabaseConfig != nil) {- databaseSchema, err := stores.GetDBSchema(ctx, *mc.task.DatabaseID)- if err != nil {- slog.Error("Failed to get database config from store", slog.Int("sheetID", sheet.UID), slog.Int("databaseUID", *mc.task.DatabaseID), log.BBError(err))- } else {- updatedDatabaseConfig := utils.MergeDatabaseConfig(sheet.Payload.DatabaseConfig, sheet.Payload.BaselineDatabaseConfig, databaseSchema.GetConfig())- err = stores.UpdateDBSchema(ctx, *mc.task.DatabaseID, &store.UpdateDBSchemaMessage{- Config: updatedDatabaseConfig,- }, api.SystemBotID)- if err != nil {- slog.Error("Failed to update database config", slog.Int("sheetID", sheet.UID), slog.Int("databaseUID", *mc.task.DatabaseID), log.BBError(err))- }- }- }- }-// Remove schema drift anomalies.if err := stores.DeleteAnomalyV2(ctx, &store.DeleteAnomalyMessage{DatabaseUID: *(mc.task.DatabaseID),diff --git a/backend/utils/database_config_merge.go b/backend/utils/database_config_merge.godeleted file mode 100644index c11d5e3a4f..0000000000--- a/backend/utils/database_config_merge.go+++ /dev/null@@ -1,291 +0,0 @@-package utils--import (- "reflect"- "sort"-- "google.golang.org/protobuf/types/known/timestamppb"-- storepb "github.com/bytebase/bytebase/proto/generated-go/store"-)--// MergeDatabaseConfig computes the migration from target and baseline, and applies the migration to current databaseConfig.-// Return the merged databaseConfig.-func MergeDatabaseConfig(target, baseline, current *storepb.DatabaseConfig) *storepb.DatabaseConfig {- // Avoid nil values.- if target == nil {- target = &storepb.DatabaseConfig{}- }- if baseline == nil {- baseline = &storepb.DatabaseConfig{}- }- if current == nil {- current = &storepb.DatabaseConfig{}- }-- targetMap, baselineMap, currentMap := buildSchemaMap(target), buildSchemaMap(baseline), buildSchemaMap(current)- for schemaName, targetSchema := range targetMap {- currentSchema, hasCurrent := currentMap[schemaName]- baselineSchema := baselineMap[schemaName]- if hasCurrent {- currentMap[schemaName] = mergeSchemaConfig(targetSchema, baselineSchema, currentSchema)- } else {- currentMap[schemaName] = targetSchema- }- }- for schemaName := range baselineMap {- if _, ok := targetMap[schemaName]; ok {- // Already checked above.- continue- }- // Remove from the current since the change is to delete the schema.- delete(currentMap, schemaName)- }-- result := &storepb.DatabaseConfig{Name: current.Name}- for _, v := range currentMap {- result.Schemas = append(result.Schemas, v)- }- sort.Slice(result.Schemas, func(i, j int) bool {- return result.Schemas[i].Name < result.Schemas[j].Name- })- return result-}--func mergeSchemaConfig(target, baseline, current *storepb.SchemaCatalog) *storepb.SchemaCatalog {- // Avoid nil values.- if target == nil {- target = &storepb.SchemaCatalog{}- }- if baseline == nil {- baseline = &storepb.SchemaCatalog{}- }- if current == nil {- current = &storepb.SchemaCatalog{}- }-- targetMap, baselineMap, currentMap := buildTableMap(target), buildTableMap(baseline), buildTableMap(current)- for tableName, targetTable := range targetMap {- currentTable, hasCurrent := currentMap[tableName]- baselineTable := baselineMap[tableName]- if hasCurrent {- currentMap[tableName] = mergeTableConfig(targetTable, baselineTable, currentTable)- } else {- currentMap[tableName] = targetTable- }- }- for tableName := range baselineMap {- if _, ok := targetMap[tableName]; ok {- // Already checked above.- continue- }- // Remove from the current since the change is to delete the schema..- delete(currentMap, tableName)- }-- targetProcedureMap, baselineProcedureMap, currentProcedureMap := buildProcedureMap(target), buildProcedureMap(baseline), buildProcedureMap(current)- for procedureName, targetProcedure := range targetProcedureMap {- currentProcedure, hasCurrent := currentProcedureMap[procedureName]- baselineProcedure := baselineProcedureMap[procedureName]- if hasCurrent {- currentProcedureMap[procedureName] = mergeProcedureConfig(targetProcedure, baselineProcedure, currentProcedure)- } else {- currentProcedureMap[procedureName] = targetProcedure- }- }-- targetFunctionMap, baselineFunctionMap, currentFunctionMap := buildFunctionMap(target), buildFunctionMap(baseline), buildFunctionMap(current)- for functionName, targetFunction := range targetFunctionMap {- currentFunction, hasCurrent := currentFunctionMap[functionName]- baselineFunction := baselineFunctionMap[functionName]- if hasCurrent {- currentFunctionMap[functionName] = mergeFunctionConfig(targetFunction, baselineFunction, currentFunction)- } else {- currentFunctionMap[functionName] = targetFunction- }- }-- targetViewMap, baselineViewMap, currentViewMap := buildViewMap(target), buildViewMap(baseline), buildViewMap(current)- for viewName, targetView := range targetViewMap {- currentView, hasCurrent := currentViewMap[viewName]- baselineView := baselineViewMap[viewName]- if hasCurrent {- currentViewMap[viewName] = mergeViewConfig(targetView, baselineView, currentView)- } else {- currentViewMap[viewName] = targetView- }- }-- result := &storepb.SchemaCatalog{Name: current.Name}- for _, v := range currentMap {- result.Tables = append(result.Tables, v)- }- for _, v := range currentProcedureMap {- result.ProcedureConfigs = append(result.ProcedureConfigs, v)- }- for _, v := range currentFunctionMap {- result.FunctionConfigs = append(result.FunctionConfigs, v)- }- for _, v := range currentViewMap {- result.ViewConfigs = append(result.ViewConfigs, v)- }- sort.Slice(result.Tables, func(i, j int) bool {- return result.Tables[i].Name < result.Tables[j].Name- })- return result-}--func mergeFunctionConfig(target, baseline, current *storepb.FunctionConfig) *storepb.FunctionConfig {- lastUpdater, lastUpdateTime, sourceBranch := getLastUpdaterAndSourceBranch(target.GetUpdater(), target.GetUpdateTime(), target.GetSourceBranch(), baseline.GetUpdater(), current.GetUpdater(), current.GetUpdateTime(), current.GetSourceBranch())- return &storepb.FunctionConfig{- Name: current.Name,- Updater: lastUpdater,- UpdateTime: lastUpdateTime,- SourceBranch: sourceBranch,- }-}--func mergeProcedureConfig(target, baseline, current *storepb.ProcedureConfig) *storepb.ProcedureConfig {- lastUpdater, lastUpdateTime, sourceBranch := getLastUpdaterAndSourceBranch(target.GetUpdater(), target.GetUpdateTime(), target.GetSourceBranch(), baseline.GetUpdater(), current.GetUpdater(), current.GetUpdateTime(), current.GetSourceBranch())- return &storepb.ProcedureConfig{- Name: current.Name,- Updater: lastUpdater,- UpdateTime: lastUpdateTime,- SourceBranch: sourceBranch,- }-}--func mergeViewConfig(target, baseline, current *storepb.ViewConfig) *storepb.ViewConfig {- lastUpdater, lastUpdateTime, sourceBranch := getLastUpdaterAndSourceBranch(target.GetUpdater(), target.GetUpdateTime(), target.GetSourceBranch(), baseline.GetUpdater(), current.GetUpdater(), current.GetUpdateTime(), current.GetSourceBranch())- return &storepb.ViewConfig{- Name: current.Name,- Updater: lastUpdater,- UpdateTime: lastUpdateTime,- SourceBranch: sourceBranch,- }-}--func mergeTableConfig(target, baseline, current *storepb.TableCatalog) *storepb.TableCatalog {- // Avoid nil values.- if target == nil {- target = &storepb.TableCatalog{}- }- if baseline == nil {- baseline = &storepb.TableCatalog{}- }- if current == nil {- current = &storepb.TableCatalog{}- }-- targetMap, baselineMap, currentMap := buildColumnMap(target), buildColumnMap(baseline), buildColumnMap(current)- for columnName, targetColumn := range targetMap {- currentColumn, hasCurrent := currentMap[columnName]- baselineColumn := baselineMap[columnName]- if hasCurrent {- currentMap[columnName] = mergeColumnConfig(targetColumn, baselineColumn, currentColumn)- } else {- currentMap[columnName] = targetColumn- }- }- for tableName := range baselineMap {- if _, ok := targetMap[tableName]; ok {- // Already checked above.- continue- }- // Remove from the current since the change is to delete the schema..- delete(currentMap, tableName)- }-- result := &storepb.TableCatalog{Name: current.Name, Classification: current.Classification}- lastUpdater, lastUpdateTime, sourceBranch := getLastUpdaterAndSourceBranch(target.GetUpdater(), target.GetUpdateTime(), target.GetSourceBranch(), baseline.GetUpdater(), current.GetUpdater(), current.GetUpdateTime(), current.GetSourceBranch())- result.Updater = lastUpdater- result.UpdateTime = lastUpdateTime- result.SourceBranch = sourceBranch- for _, v := range currentMap {- result.Columns = append(result.Columns, v)- }- sort.Slice(result.Columns, func(i, j int) bool {- return result.Columns[i].Name < result.Columns[j].Name- })- return result-}--func mergeColumnConfig(target, baseline, current *storepb.ColumnCatalog) *storepb.ColumnCatalog {- if baseline == nil {- // Baseline could be nil. When it's nil, we should set the current stale value to target value.- if target == nil {- return current- }- return target- }- // Current is never nil.- // If baseline = A, target = B, current = C, we should set merged value to B.- // If baseline = A, target = A, current = B, we should set merged value to B since there is no change intentially.- if target.SemanticType != baseline.SemanticType {- current.SemanticType = target.SemanticType- }- if target.Classification != baseline.Classification {- current.Classification = target.Classification- }-- if !reflect.DeepEqual(target.Labels, baseline.Labels) {- current.Labels = target.Labels- }-- return current-}--func buildSchemaMap(config *storepb.DatabaseConfig) map[string]*storepb.SchemaCatalog {- m := make(map[string]*storepb.SchemaCatalog)- for _, v := range config.Schemas {- m[v.Name] = v- }- return m-}--func buildTableMap(config *storepb.SchemaCatalog) map[string]*storepb.TableCatalog {- m := make(map[string]*storepb.TableCatalog)- for _, v := range config.Tables {- m[v.Name] = v- }- return m-}--func buildProcedureMap(config *storepb.SchemaCatalog) map[string]*storepb.ProcedureConfig {- m := make(map[string]*storepb.ProcedureConfig)- for _, v := range config.ProcedureConfigs {- m[v.Name] = v- }- return m-}--func buildFunctionMap(config *storepb.SchemaCatalog) map[string]*storepb.FunctionConfig {- m := make(map[string]*storepb.FunctionConfig)- for _, v := range config.FunctionConfigs {- m[v.Name] = v- }- return m-}--func buildViewMap(config *storepb.SchemaCatalog) map[string]*storepb.ViewConfig {- m := make(map[string]*storepb.ViewConfig)- for _, v := range config.ViewConfigs {- m[v.Name] = v- }- return m-}--func buildColumnMap(config *storepb.TableCatalog) map[string]*storepb.ColumnCatalog {- m := make(map[string]*storepb.ColumnCatalog)- for _, v := range config.Columns {- m[v.Name] = v- }- return m-}--func getLastUpdaterAndSourceBranch(target string, targetTime *timestamppb.Timestamp, targetBranch string, baseline string, current string, currentTime *timestamppb.Timestamp, currentBranch string) (string, *timestamppb.Timestamp, string) {- if target == baseline {- return current, currentTime, currentBranch- }- return target, targetTime, targetBranch-}diff --git a/backend/utils/database_config_merge_test.go b/backend/utils/database_config_merge_test.godeleted file mode 100644index dc971d77b3..0000000000--- a/backend/utils/database_config_merge_test.go+++ /dev/null@@ -1,363 +0,0 @@-package utils--import (- "fmt"- "testing"-- "github.com/stretchr/testify/require"- "google.golang.org/protobuf/proto"-- storepb "github.com/bytebase/bytebase/proto/generated-go/store"-)--func TestUpdateDatabaseConfig(t *testing.T) {- type testCase struct {- description string- target *storepb.DatabaseConfig- baseline *storepb.DatabaseConfig- head *storepb.DatabaseConfig- want *storepb.DatabaseConfig- }-- testCases := []testCase{- {- description: "easy change and the target config is the same as the baseline config",- target: &storepb.DatabaseConfig{- Name: "db1",- Schemas: []*storepb.SchemaCatalog{- {- Name: "schema1",- Tables: []*storepb.TableCatalog{- {- Name: "table1",- Columns: []*storepb.ColumnCatalog{- {- Name: "a",- SemanticType: "id_a",- },- {- Name: "b",- SemanticType: "id_b",- Labels: map[string]string{"hello": "world"},- },- },- },- },- },- },- },- baseline: &storepb.DatabaseConfig{- Name: "db1",- Schemas: []*storepb.SchemaCatalog{- {- Name: "schema1",- Tables: []*storepb.TableCatalog{- {- Name: "table1",- Columns: []*storepb.ColumnCatalog{- {- Name: "a",- SemanticType: "id_a",- },- },- },- },- },- },- },- head: &storepb.DatabaseConfig{- Name: "db1",- Schemas: []*storepb.SchemaCatalog{- {- Name: "schema1",- Tables: []*storepb.TableCatalog{- {- Name: "table1",- Columns: []*storepb.ColumnCatalog{- {- Name: "a",- SemanticType: "id_a",- },- },- },- },- },- },- },- want: &storepb.DatabaseConfig{- Name: "db1",- Schemas: []*storepb.SchemaCatalog{- {- Name: "schema1",- Tables: []*storepb.TableCatalog{- {- Name: "table1",- Columns: []*storepb.ColumnCatalog{- {- Name: "a",- SemanticType: "id_a",- },- {- Name: "b",- SemanticType: "id_b",- Labels: map[string]string{"hello": "world"},- },- },- },- },- },- },- },- },- {- description: "if the target config has changed the same column, we should overwrite it",- target: &storepb.DatabaseConfig{- Name: "db1",- Schemas: []*storepb.SchemaCatalog{- {- Name: "schema1",- Tables: []*storepb.TableCatalog{- {- Name: "table1",- Columns: []*storepb.ColumnCatalog{- {- Name: "a",- SemanticType: "id_b",- },- },- },- },- },- },- },- baseline: &storepb.DatabaseConfig{- Name: "db1",- Schemas: []*storepb.SchemaCatalog{- {- Name: "schema1",- Tables: []*storepb.TableCatalog{- {- Name: "table1",- Columns: []*storepb.ColumnCatalog{- {- Name: "a",- SemanticType: "id_a",- },- },- },- },- },- },- },- head: &storepb.DatabaseConfig{- Name: "db1",- Schemas: []*storepb.SchemaCatalog{- {- Name: "schema1",- Tables: []*storepb.TableCatalog{- {- Name: "table1",- Columns: []*storepb.ColumnCatalog{- {- Name: "a",- SemanticType: "id_c",- },- },- },- },- },- },- },- want: &storepb.DatabaseConfig{- Name: "db1",- Schemas: []*storepb.SchemaCatalog{- {- Name: "schema1",- Tables: []*storepb.TableCatalog{- {- Name: "table1",- Columns: []*storepb.ColumnCatalog{- {- Name: "a",- SemanticType: "id_b",- },- },- },- },- },- },- },- },- {- description: "if the target config has changed, we should not overwrite the difference set",- target: &storepb.DatabaseConfig{- Name: "db1",- Schemas: []*storepb.SchemaCatalog{- {- Name: "schema1",- Tables: []*storepb.TableCatalog{- {- Name: "table1",- Columns: []*storepb.ColumnCatalog{- {- // Modify the semantic type id to id_b.- Name: "a",- SemanticType: "id_b",- Labels: map[string]string{"hello": "world"},- },- {- // Do not change.- Name: "b",- SemanticType: "id_b",- },- {- // Add a new column.- Name: "c",- SemanticType: "id_c",- },- },- },- // Delete the table.- // {- // Name: "table2",- // Columns: []*storepb.ColumnCatalog{- // {- // Name: "a",- // SemanticType: "id_a",- // },- // },- // },- // Create a new table.- {- Name: "table3",- Columns: []*storepb.ColumnCatalog{- {- Name: "a",- SemanticType: "id_a",- },- {- Name: "b",- SemanticType: "id_b",- },- },- },- },- },- },- },- baseline: &storepb.DatabaseConfig{- Name: "db1",- Schemas: []*storepb.SchemaCatalog{- {- Name: "schema1",- Tables: []*storepb.TableCatalog{- {- Name: "table1",- Columns: []*storepb.ColumnCatalog{- {- Name: "a",- SemanticType: "id_a",- Labels: map[string]string{"world": "hello"},- },- {- Name: "b",- SemanticType: "id_b",- },- },- },- {- Name: "table2",- Columns: []*storepb.ColumnCatalog{- {- Name: "a",- SemanticType: "id_a",- },- },- },- },- },- },- },- head: &storepb.DatabaseConfig{- Name: "db1",- Schemas: []*storepb.SchemaCatalog{- {- Name: "schema1",- Tables: []*storepb.TableCatalog{- {- Name: "table1",- Columns: []*storepb.ColumnCatalog{- {- Name: "a",- SemanticType: "id_c",- },- {- Name: "b",- SemanticType: "id_c",- },- },- },- {- Name: "table2",- Columns: []*storepb.ColumnCatalog{- {- Name: "b",- SemanticType: "id_b",- },- },- },- },- },- },- },- want: &storepb.DatabaseConfig{- Name: "db1",- Schemas: []*storepb.SchemaCatalog{- {- Name: "schema1",- Tables: []*storepb.TableCatalog{- {- Name: "table1",- Columns: []*storepb.ColumnCatalog{- {- Name: "a",- SemanticType: "id_b",- Labels: map[string]string{"hello": "world"},- },- {- Name: "b",- SemanticType: "id_c",- },- {- Name: "c",- SemanticType: "id_c",- },- },- },- {- Name: "table3",- Columns: []*storepb.ColumnCatalog{- {- Name: "a",- SemanticType: "id_a",- },- {- Name: "b",- SemanticType: "id_b",- },- },- },- },- },- },- },- },- }-- a := require.New(t)- for _, tc := range testCases {- got := MergeDatabaseConfig(tc.target, tc.baseline, tc.head)- equal := proto.Equal(got, tc.want)- a.True(equal, fmt.Sprintf("%s: \ngot:\t%%+v, \nexpected:\t%%+v", tc.description), got, tc.want)- }-}diff --git a/frontend/src/components/SchemaEditorLite/Panels/ViewEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/ViewEditor.vueindex 27201b1af8..9e30eab170 100644--- a/frontend/src/components/SchemaEditorLite/Panels/ViewEditor.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/ViewEditor.vue@@ -24,9 +24,8 @@ import { computed } from "vue";import type { ComposedDatabase } from "@/types";import {DatabaseMetadata,- type ViewMetadata,- type SchemaMetadata,- SchemaConfig,+ ViewMetadata,+ SchemaMetadata,} from "@/types/proto/v1/database_service";import { useSchemaEditorContext } from "../context";import type { EditStatus } from "../types";@@ -90,20 +89,6 @@ const mocked = computed(() => {},],});- const schemaConfig = database.schemaConfigs.find(- (sc) => sc.name === schema.name- );- const viewConfig = schemaConfig?.viewConfigs.find(- (vc) => vc.name === view.name- );- if (schemaConfig && viewConfig) {- mockedDatabase.schemaConfigs = [- SchemaConfig.fromJSON({- name: schemaConfig.name,- tableConfigs: [cloneDeep(viewConfig)],- }),- ];- }return mockedDatabase;});diff --git a/frontend/src/components/SchemaEditorLite/algorithm/utils.ts b/frontend/src/components/SchemaEditorLite/algorithm/utils.tsindex 840ac7a918..e75fd16b6f 100644--- a/frontend/src/components/SchemaEditorLite/algorithm/utils.ts+++ b/frontend/src/components/SchemaEditorLite/algorithm/utils.ts@@ -56,36 +56,6 @@ export const cleanupUnusedConfigs = (metadata: DatabaseMetadata) => {cleanupColumnConfigs(tableMap.get(tc.name)!, tc);})};- const cleanupViewConfigs = (- schema: SchemaMetadata,- schemaConfig: SchemaConfig- ) => {- const viewMap = keyBy(schema.views, (view) => view.name);- // Remove unused view configs- schemaConfig.viewConfigs = schemaConfig.viewConfigs.filter((tc) =>- viewMap.has(tc.name)- );- };- const cleanupFunctionConfigs = (- schema: SchemaMetadata,- schemaConfig: SchemaConfig- ) => {- const functionMap = keyBy(schema.functions, (func) => func.name);- // Remove unused function configs- schemaConfig.functionConfigs = schemaConfig.functionConfigs.filter((tc) =>- functionMap.has(tc.name)- );- };- const cleanupProcedureConfigs = (- schema: SchemaMetadata,- schemaConfig: SchemaConfig- ) => {- const procedureMap = keyBy(schema.procedures, (p) => p.name);- // Remove unused procedure configs- schemaConfig.procedureConfigs = schemaConfig.procedureConfigs.filter((tc) =>- procedureMap.has(tc.name)- );- };const cleanupSchemaConfigs = (metadata: DatabaseMetadata) => {const schemaMap = keyBy(metadata.schemas, (schema) => schema.name);// Remove unused schema configs@@ -96,17 +66,11 @@ export const cleanupUnusedConfigs = (metadata: DatabaseMetadata) => {metadata.schemaConfigs.forEach((sc) => {const schema = schemaMap.get(sc.name)!;cleanupTableConfigs(schema, sc);- cleanupViewConfigs(schema, sc);- cleanupFunctionConfigs(schema, sc);- cleanupProcedureConfigs(schema, sc);});// Cleanup empty schema configsmetadata.schemaConfigs = metadata.schemaConfigs.filter((sc) =>- sc.tableConfigs.length > 0 ||- sc.viewConfigs.length > 0 ||- sc.functionConfigs.length > 0 ||- sc.procedureConfigs.length > 0+ sc.tableConfigs.length > 0);};diff --git a/frontend/src/types/proto/store/database.ts b/frontend/src/types/proto/store/database.tsindex 089819defb..20a165c425 100644--- a/frontend/src/types/proto/store/database.ts+++ b/frontend/src/types/proto/store/database.ts@@ -894,9 +894,6 @@ export interface SchemaCatalog {name: string;/** The table_configs is the list of configs for tables in a schema. */tables: TableCatalog[];- functionConfigs: FunctionConfig[];- procedureConfigs: ProcedureConfig[];- viewConfigs: ViewConfig[];}export interface TableCatalog {@@ -906,18 +903,6 @@ export interface TableCatalog {columns: ColumnCatalog[];objectSchema?: ObjectSchema | undefined;classification: string;- /**- * The last updater of the table in branch.- * Format: users/{userUID}.- */- updater: string;- /**- * The last change come from branch.- * Format: projcets/{project}/branches/{branch}- */- sourceBranch: string;- /** The timestamp when the table is updated in branch. */- updateTime: Timestamp | undefined;}export interface ColumnCatalog {@@ -1040,57 +1025,6 @@ export interface ObjectSchema_ArrayKind {kind: ObjectSchema | undefined;}-export interface FunctionConfig {- /** The name is the name of a function. */- name: string;- /**- * The last updater of the function in branch.- * Format: users/{userUID}.- */- updater: string;- /**- * The last change come from branch.- * Format: projcets/{project}/branches/{branch}- */- sourceBranch: string;- /** The timestamp when the function is updated in branch. */- updateTime: Timestamp | undefined;-}--export interface ProcedureConfig {- /** The name is the name of a procedure. */- name: string;- /**- * The last updater of the procedure in branch.- * Format: users/{userUID}.- */- updater: string;- /**- * The last change come from branch.- * Format: projcets/{project}/branches/{branch}- */- sourceBranch: string;- /** The timestamp when the procedure is updated in branch. */- updateTime: Timestamp | undefined;-}--export interface ViewConfig {- /** The name is the name of a view. */- name: string;- /**- * The last updater of the view in branch.- * Format: users/{userUID}.- */- updater: string;- /**- * The last change come from branch.- * Format: projcets/{project}/branches/{branch}- */- sourceBranch: string;- /** The timestamp when the view is updated in branch. */- updateTime: Timestamp | undefined;-}-function createBaseDatabaseMetadata(): DatabaseMetadata {return { labels: {}, lastSyncTime: undefined, backupAvailable: false };}@@ -5838,7 +5772,7 @@ export const DatabaseConfig: MessageFns<DatabaseConfig> = {};function createBaseSchemaCatalog(): SchemaCatalog {- return { name: "", tables: [], functionConfigs: [], procedureConfigs: [], viewConfigs: [] };+ return { name: "", tables: [] };}export const SchemaCatalog: MessageFns<SchemaCatalog> = {@@ -5849,15 +5783,6 @@ export const SchemaCatalog: MessageFns<SchemaCatalog> = {for (const v of message.tables) {TableCatalog.encode(v!, writer.uint32(18).fork()).join();}- for (const v of message.functionConfigs) {- FunctionConfig.encode(v!, writer.uint32(26).fork()).join();- }- for (const v of message.procedureConfigs) {- ProcedureConfig.encode(v!, writer.uint32(34).fork()).join();- }- for (const v of message.viewConfigs) {- ViewConfig.encode(v!, writer.uint32(42).fork()).join();- }return writer;},@@ -5884,30 +5809,6 @@ export const SchemaCatalog: MessageFns<SchemaCatalog> = {message.tables.push(TableCatalog.decode(reader, reader.uint32()));continue;}- case 3: {- if (tag !== 26) {- break;- }-- message.functionConfigs.push(FunctionConfig.decode(reader, reader.uint32()));- continue;- }- case 4: {- if (tag !== 34) {- break;- }-- message.procedureConfigs.push(ProcedureConfig.decode(reader, reader.uint32()));- continue;- }- case 5: {- if (tag !== 42) {- break;- }-- message.viewConfigs.push(ViewConfig.decode(reader, reader.uint32()));- continue;- }}if ((tag & 7) === 4 || tag === 0) {break;@@ -5921,15 +5822,6 @@ export const SchemaCatalog: MessageFns<SchemaCatalog> = {return {name: isSet(object.name) ? globalThis.String(object.name) : "",tables: globalThis.Array.isArray(object?.tables) ? object.tables.map((e: any) => TableCatalog.fromJSON(e)) : [],- functionConfigs: globalThis.Array.isArray(object?.functionConfigs)- ? object.functionConfigs.map((e: any) => FunctionConfig.fromJSON(e))- : [],- procedureConfigs: globalThis.Array.isArray(object?.procedureConfigs)- ? object.procedureConfigs.map((e: any) => ProcedureConfig.fromJSON(e))- : [],- viewConfigs: globalThis.Array.isArray(object?.viewConfigs)- ? object.viewConfigs.map((e: any) => ViewConfig.fromJSON(e))- : [],};},@@ -5941,15 +5833,6 @@ export const SchemaCatalog: MessageFns<SchemaCatalog> = {if (message.tables?.length) {obj.tables = message.tables.map((e) => TableCatalog.toJSON(e));}- if (message.functionConfigs?.length) {- obj.functionConfigs = message.functionConfigs.map((e) => FunctionConfig.toJSON(e));- }- if (message.procedureConfigs?.length) {- obj.procedureConfigs = message.procedureConfigs.map((e) => ProcedureConfig.toJSON(e));- }- if (message.viewConfigs?.length) {- obj.viewConfigs = message.viewConfigs.map((e) => ViewConfig.toJSON(e));- }return obj;},@@ -5960,23 +5843,12 @@ export const SchemaCatalog: MessageFns<SchemaCatalog> = {const message = createBaseSchemaCatalog();message.name = object.name ?? "";message.tables = object.tables?.map((e) => TableCatalog.fromPartial(e)) || [];- message.functionConfigs = object.functionConfigs?.map((e) => FunctionConfig.fromPartial(e)) || [];- message.procedureConfigs = object.procedureConfigs?.map((e) => ProcedureConfig.fromPartial(e)) || [];- message.viewConfigs = object.viewConfigs?.map((e) => ViewConfig.fromPartial(e)) || [];return message;},};function createBaseTableCatalog(): TableCatalog {- return {- name: "",- columns: [],- objectSchema: undefined,- classification: "",- updater: "",- sourceBranch: "",- updateTime: undefined,- };+ return { name: "", columns: [], objectSchema: undefined, classification: "" };}export const TableCatalog: MessageFns<TableCatalog> = {@@ -5993,15 +5865,6 @@ export const TableCatalog: MessageFns<TableCatalog> = {if (message.classification !== "") {writer.uint32(26).string(message.classification);}- if (message.updater !== "") {- writer.uint32(34).string(message.updater);- }- if (message.sourceBranch !== "") {- writer.uint32(50).string(message.sourceBranch);- }- if (message.updateTime !== undefined) {- Timestamp.encode(message.updateTime, writer.uint32(42).fork()).join();- }return writer;},@@ -6044,30 +5907,6 @@ export const TableCatalog: MessageFns<TableCatalog> = {message.classification = reader.string();continue;}- case 4: {- if (tag !== 34) {- break;- }-- message.updater = reader.string();- continue;- }- case 6: {- if (tag !== 50) {- break;- }-- message.sourceBranch = reader.string();- continue;- }- case 5: {- if (tag !== 42) {- break;- }-- message.updateTime = Timestamp.decode(reader, reader.uint32());- continue;- }}if ((tag & 7) === 4 || tag === 0) {break;@@ -6085,9 +5924,6 @@ export const TableCatalog: MessageFns<TableCatalog> = {: [],objectSchema: isSet(object.objectSchema) ? ObjectSchema.fromJSON(object.objectSchema) : undefined,classification: isSet(object.classification) ? globalThis.String(object.classification) : "",- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",- sourceBranch: isSet(object.sourceBranch) ? globalThis.String(object.sourceBranch) : "",- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,};},@@ -6105,15 +5941,6 @@ export const TableCatalog: MessageFns<TableCatalog> = {if (message.classification !== "") {obj.classification = message.classification;}- if (message.updater !== "") {- obj.updater = message.updater;- }- if (message.sourceBranch !== "") {- obj.sourceBranch = message.sourceBranch;- }- if (message.updateTime !== undefined) {- obj.updateTime = fromTimestamp(message.updateTime).toISOString();- }return obj;},@@ -6128,11 +5955,6 @@ export const TableCatalog: MessageFns<TableCatalog> = {? ObjectSchema.fromPartial(object.objectSchema): undefined;message.classification = object.classification ?? "";- message.updater = object.updater ?? "";- message.sourceBranch = object.sourceBranch ?? "";- message.updateTime = (object.updateTime !== undefined && object.updateTime !== null)- ? Timestamp.fromPartial(object.updateTime)- : undefined;return message;},};@@ -6753,336 +6575,6 @@ export const ObjectSchema_ArrayKind: MessageFns<ObjectSchema_ArrayKind> = {},};-function createBaseFunctionConfig(): FunctionConfig {- return { name: "", updater: "", sourceBranch: "", updateTime: undefined };-}--export const FunctionConfig: MessageFns<FunctionConfig> = {- encode(message: FunctionConfig, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {- if (message.name !== "") {- writer.uint32(10).string(message.name);- }- if (message.updater !== "") {- writer.uint32(18).string(message.updater);- }- if (message.sourceBranch !== "") {- writer.uint32(34).string(message.sourceBranch);- }- if (message.updateTime !== undefined) {- Timestamp.encode(message.updateTime, writer.uint32(26).fork()).join();- }- return writer;- },-- decode(input: BinaryReader | Uint8Array, length?: number): FunctionConfig {- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseFunctionConfig();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1: {- if (tag !== 10) {- break;- }-- message.name = reader.string();- continue;- }- case 2: {- if (tag !== 18) {- break;- }-- message.updater = reader.string();- continue;- }- case 4: {- if (tag !== 34) {- break;- }-- message.sourceBranch = reader.string();- continue;- }- case 3: {- if (tag !== 26) {- break;- }-- message.updateTime = Timestamp.decode(reader, reader.uint32());- continue;- }- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skip(tag & 7);- }- return message;- },-- fromJSON(object: any): FunctionConfig {- return {- name: isSet(object.name) ? globalThis.String(object.name) : "",- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",- sourceBranch: isSet(object.sourceBranch) ? globalThis.String(object.sourceBranch) : "",- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,- };- },-- toJSON(message: FunctionConfig): unknown {- const obj: any = {};- if (message.name !== "") {- obj.name = message.name;- }- if (message.updater !== "") {- obj.updater = message.updater;- }- if (message.sourceBranch !== "") {- obj.sourceBranch = message.sourceBranch;- }- if (message.updateTime !== undefined) {- obj.updateTime = fromTimestamp(message.updateTime).toISOString();- }- return obj;- },-- create(base?: DeepPartial<FunctionConfig>): FunctionConfig {- return FunctionConfig.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<FunctionConfig>): FunctionConfig {- const message = createBaseFunctionConfig();- message.name = object.name ?? "";- message.updater = object.updater ?? "";- message.sourceBranch = object.sourceBranch ?? "";- message.updateTime = (object.updateTime !== undefined && object.updateTime !== null)- ? Timestamp.fromPartial(object.updateTime)- : undefined;- return message;- },-};--function createBaseProcedureConfig(): ProcedureConfig {- return { name: "", updater: "", sourceBranch: "", updateTime: undefined };-}--export const ProcedureConfig: MessageFns<ProcedureConfig> = {- encode(message: ProcedureConfig, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {- if (message.name !== "") {- writer.uint32(10).string(message.name);- }- if (message.updater !== "") {- writer.uint32(18).string(message.updater);- }- if (message.sourceBranch !== "") {- writer.uint32(34).string(message.sourceBranch);- }- if (message.updateTime !== undefined) {- Timestamp.encode(message.updateTime, writer.uint32(26).fork()).join();- }- return writer;- },-- decode(input: BinaryReader | Uint8Array, length?: number): ProcedureConfig {- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseProcedureConfig();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1: {- if (tag !== 10) {- break;- }-- message.name = reader.string();- continue;- }- case 2: {- if (tag !== 18) {- break;- }-- message.updater = reader.string();- continue;- }- case 4: {- if (tag !== 34) {- break;- }-- message.sourceBranch = reader.string();- continue;- }- case 3: {- if (tag !== 26) {- break;- }-- message.updateTime = Timestamp.decode(reader, reader.uint32());- continue;- }- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skip(tag & 7);- }- return message;- },-- fromJSON(object: any): ProcedureConfig {- return {- name: isSet(object.name) ? globalThis.String(object.name) : "",- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",- sourceBranch: isSet(object.sourceBranch) ? globalThis.String(object.sourceBranch) : "",- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,- };- },-- toJSON(message: ProcedureConfig): unknown {- const obj: any = {};- if (message.name !== "") {- obj.name = message.name;- }- if (message.updater !== "") {- obj.updater = message.updater;- }- if (message.sourceBranch !== "") {- obj.sourceBranch = message.sourceBranch;- }- if (message.updateTime !== undefined) {- obj.updateTime = fromTimestamp(message.updateTime).toISOString();- }- return obj;- },-- create(base?: DeepPartial<ProcedureConfig>): ProcedureConfig {- return ProcedureConfig.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<ProcedureConfig>): ProcedureConfig {- const message = createBaseProcedureConfig();- message.name = object.name ?? "";- message.updater = object.updater ?? "";- message.sourceBranch = object.sourceBranch ?? "";- message.updateTime = (object.updateTime !== undefined && object.updateTime !== null)- ? Timestamp.fromPartial(object.updateTime)- : undefined;- return message;- },-};--function createBaseViewConfig(): ViewConfig {- return { name: "", updater: "", sourceBranch: "", updateTime: undefined };-}--export const ViewConfig: MessageFns<ViewConfig> = {- encode(message: ViewConfig, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {- if (message.name !== "") {- writer.uint32(10).string(message.name);- }- if (message.updater !== "") {- writer.uint32(18).string(message.updater);- }- if (message.sourceBranch !== "") {- writer.uint32(34).string(message.sourceBranch);- }- if (message.updateTime !== undefined) {- Timestamp.encode(message.updateTime, writer.uint32(26).fork()).join();- }- return writer;- },-- decode(input: BinaryReader | Uint8Array, length?: number): ViewConfig {- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseViewConfig();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1: {- if (tag !== 10) {- break;- }-- message.name = reader.string();- continue;- }- case 2: {- if (tag !== 18) {- break;- }-- message.updater = reader.string();- continue;- }- case 4: {- if (tag !== 34) {- break;- }-- message.sourceBranch = reader.string();- continue;- }- case 3: {- if (tag !== 26) {- break;- }-- message.updateTime = Timestamp.decode(reader, reader.uint32());- continue;- }- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skip(tag & 7);- }- return message;- },-- fromJSON(object: any): ViewConfig {- return {- name: isSet(object.name) ? globalThis.String(object.name) : "",- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",- sourceBranch: isSet(object.sourceBranch) ? globalThis.String(object.sourceBranch) : "",- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,- };- },-- toJSON(message: ViewConfig): unknown {- const obj: any = {};- if (message.name !== "") {- obj.name = message.name;- }- if (message.updater !== "") {- obj.updater = message.updater;- }- if (message.sourceBranch !== "") {- obj.sourceBranch = message.sourceBranch;- }- if (message.updateTime !== undefined) {- obj.updateTime = fromTimestamp(message.updateTime).toISOString();- }- return obj;- },-- create(base?: DeepPartial<ViewConfig>): ViewConfig {- return ViewConfig.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<ViewConfig>): ViewConfig {- const message = createBaseViewConfig();- message.name = object.name ?? "";- message.updater = object.updater ?? "";- message.sourceBranch = object.sourceBranch ?? "";- message.updateTime = (object.updateTime !== undefined && object.updateTime !== null)- ? Timestamp.fromPartial(object.updateTime)- : undefined;- return message;- },-};-type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;export type DeepPartial<T> = T extends Builtin ? Tdiff --git a/frontend/src/types/proto/store/plan.ts b/frontend/src/types/proto/store/plan.tsindex 02aa6523a0..ffe41f9ac2 100644--- a/frontend/src/types/proto/store/plan.ts+++ b/frontend/src/types/proto/store/plan.ts@@ -135,8 +135,6 @@ export enum PlanConfig_ChangeDatabaseConfig_Type {MIGRATE_SDL = "MIGRATE_SDL",/** MIGRATE_GHOST - Used for DDL changes using gh-ost. */MIGRATE_GHOST = "MIGRATE_GHOST",- /** BRANCH - Used when restoring from a backup (the restored database branched from the original backup). */- BRANCH = "BRANCH",/** DATA - Used for DML change. */DATA = "DATA",UNRECOGNIZED = "UNRECOGNIZED",@@ -159,9 +157,6 @@ export function planConfig_ChangeDatabaseConfig_TypeFromJSON(object: any): PlanCcase 4:case "MIGRATE_GHOST":return PlanConfig_ChangeDatabaseConfig_Type.MIGRATE_GHOST;- case 5:- case "BRANCH":- return PlanConfig_ChangeDatabaseConfig_Type.BRANCH;case 6:case "DATA":return PlanConfig_ChangeDatabaseConfig_Type.DATA;@@ -184,8 +179,6 @@ export function planConfig_ChangeDatabaseConfig_TypeToJSON(object: PlanConfig_Chreturn "MIGRATE_SDL";case PlanConfig_ChangeDatabaseConfig_Type.MIGRATE_GHOST:return "MIGRATE_GHOST";- case PlanConfig_ChangeDatabaseConfig_Type.BRANCH:- return "BRANCH";case PlanConfig_ChangeDatabaseConfig_Type.DATA:return "DATA";case PlanConfig_ChangeDatabaseConfig_Type.UNRECOGNIZED:@@ -206,8 +199,6 @@ export function planConfig_ChangeDatabaseConfig_TypeToNumber(object: PlanConfig_return 3;case PlanConfig_ChangeDatabaseConfig_Type.MIGRATE_GHOST:return 4;- case PlanConfig_ChangeDatabaseConfig_Type.BRANCH:- return 5;case PlanConfig_ChangeDatabaseConfig_Type.DATA:return 6;case PlanConfig_ChangeDatabaseConfig_Type.UNRECOGNIZED:diff --git a/frontend/src/types/proto/store/sheet.ts b/frontend/src/types/proto/store/sheet.tsindex 9243c09c9c..1e76b269d5 100644--- a/frontend/src/types/proto/store/sheet.ts+++ b/frontend/src/types/proto/store/sheet.ts@@ -8,19 +8,10 @@import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";import Long from "long";import { Engine, engineFromJSON, engineToJSON, engineToNumber } from "./common";-import { DatabaseConfig } from "./database";export const protobufPackage = "bytebase.store";export interface SheetPayload {- /** The snapshot of the database config when creating the sheet, be used to compare with the baseline_database_config and apply the diff to the database. */- databaseConfig:- | DatabaseConfig- | undefined;- /** The snapshot of the baseline database config when creating the sheet. */- baselineDatabaseConfig:- | DatabaseConfig- | undefined;/** The SQL dialect. */engine: Engine;/** The start and end position of each command in the sheet statement. */@@ -33,22 +24,11 @@ export interface SheetCommand {}function createBaseSheetPayload(): SheetPayload {- return {- databaseConfig: undefined,- baselineDatabaseConfig: undefined,- engine: Engine.ENGINE_UNSPECIFIED,- commands: [],- };+ return { engine: Engine.ENGINE_UNSPECIFIED, commands: [] };}export const SheetPayload: MessageFns<SheetPayload> = {encode(message: SheetPayload, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {- if (message.databaseConfig !== undefined) {- DatabaseConfig.encode(message.databaseConfig, writer.uint32(10).fork()).join();- }- if (message.baselineDatabaseConfig !== undefined) {- DatabaseConfig.encode(message.baselineDatabaseConfig, writer.uint32(18).fork()).join();- }if (message.engine !== Engine.ENGINE_UNSPECIFIED) {writer.uint32(24).int32(engineToNumber(message.engine));}@@ -65,22 +45,6 @@ export const SheetPayload: MessageFns<SheetPayload> = {while (reader.pos < end) {const tag = reader.uint32();switch (tag >>> 3) {- case 1: {- if (tag !== 10) {- break;- }-- message.databaseConfig = DatabaseConfig.decode(reader, reader.uint32());- continue;- }- case 2: {- if (tag !== 18) {- break;- }-- message.baselineDatabaseConfig = DatabaseConfig.decode(reader, reader.uint32());- continue;- }case 3: {if (tag !== 24) {break;@@ -108,10 +72,6 @@ export const SheetPayload: MessageFns<SheetPayload> = {fromJSON(object: any): SheetPayload {return {- databaseConfig: isSet(object.databaseConfig) ? DatabaseConfig.fromJSON(object.databaseConfig) : undefined,- baselineDatabaseConfig: isSet(object.baselineDatabaseConfig)- ? DatabaseConfig.fromJSON(object.baselineDatabaseConfig)- : undefined,engine: isSet(object.engine) ? engineFromJSON(object.engine) : Engine.ENGINE_UNSPECIFIED,commands: globalThis.Array.isArray(object?.commands)? object.commands.map((e: any) => SheetCommand.fromJSON(e))@@ -121,12 +81,6 @@ export const SheetPayload: MessageFns<SheetPayload> = {toJSON(message: SheetPayload): unknown {const obj: any = {};- if (message.databaseConfig !== undefined) {- obj.databaseConfig = DatabaseConfig.toJSON(message.databaseConfig);- }- if (message.baselineDatabaseConfig !== undefined) {- obj.baselineDatabaseConfig = DatabaseConfig.toJSON(message.baselineDatabaseConfig);- }if (message.engine !== Engine.ENGINE_UNSPECIFIED) {obj.engine = engineToJSON(message.engine);}@@ -141,13 +95,6 @@ export const SheetPayload: MessageFns<SheetPayload> = {},fromPartial(object: DeepPartial<SheetPayload>): SheetPayload {const message = createBaseSheetPayload();- message.databaseConfig = (object.databaseConfig !== undefined && object.databaseConfig !== null)- ? DatabaseConfig.fromPartial(object.databaseConfig)- : undefined;- message.baselineDatabaseConfig =- (object.baselineDatabaseConfig !== undefined && object.baselineDatabaseConfig !== null)- ? DatabaseConfig.fromPartial(object.baselineDatabaseConfig)- : undefined;message.engine = object.engine ?? Engine.ENGINE_UNSPECIFIED;message.commands = object.commands?.map((e) => SheetCommand.fromPartial(e)) || [];return message;diff --git a/frontend/src/types/proto/v1/database_service.ts b/frontend/src/types/proto/v1/database_service.tsindex 8c74b315e5..12c7ea430c 100644--- a/frontend/src/types/proto/v1/database_service.ts+++ b/frontend/src/types/proto/v1/database_service.ts@@ -1206,9 +1206,6 @@ export interface SchemaConfig {name: string;/** The table_configs is the list of configs for tables in a schema. */tableConfigs: TableConfig[];- functionConfigs: FunctionConfig[];- procedureConfigs: ProcedureConfig[];- viewConfigs: ViewConfig[];}export interface TableConfig {@@ -1217,69 +1214,6 @@ export interface TableConfig {/** The column_configs is the ordered list of configs for columns in a table. */columnConfigs: ColumnConfig[];classificationId: string;- /**- * The last updater of the table in branch.- * Format: users/{email}- */- updater: string;- /**- * The last change come from branch.- * Format: projcets/{project}/branches/{branch}- */- sourceBranch: string;- /** The timestamp when the table is updated in branch. */- updateTime: Timestamp | undefined;-}--export interface FunctionConfig {- /** The name is the name of a function. */- name: string;- /**- * The last updater of the function in branch.- * Format: users/{email}- */- updater: string;- /**- * The last change come from branch.- * Format: projcets/{project}/branches/{branch}- */- sourceBranch: string;- /** The timestamp when the function is updated in branch. */- updateTime: Timestamp | undefined;-}--export interface ProcedureConfig {- /** The name is the name of a procedure. */- name: string;- /**- * The last updater of the procedure in branch.- * Format: users/{email}- */- updater: string;- /**- * The last change come from branch.- * Format: projcets/{project}/branches/{branch}- */- sourceBranch: string;- /** The timestamp when the procedure is updated in branch. */- updateTime: Timestamp | undefined;-}--export interface ViewConfig {- /** The name is the name of a view. */- name: string;- /**- * The last updater of the view in branch.- * Format: users/{email}- */- updater: string;- /**- * The last change come from branch.- * Format: projcets/{project}/branches/{branch}- */- sourceBranch: string;- /** The timestamp when the view is updated in branch. */- updateTime: Timestamp | undefined;}export interface ColumnConfig {@@ -7526,7 +7460,7 @@ export const DatabaseConfig: MessageFns<DatabaseConfig> = {};function createBaseSchemaConfig(): SchemaConfig {- return { name: "", tableConfigs: [], functionConfigs: [], procedureConfigs: [], viewConfigs: [] };+ return { name: "", tableConfigs: [] };}export const SchemaConfig: MessageFns<SchemaConfig> = {@@ -7537,15 +7471,6 @@ export const SchemaConfig: MessageFns<SchemaConfig> = {for (const v of message.tableConfigs) {TableConfig.encode(v!, writer.uint32(18).fork()).join();}- for (const v of message.functionConfigs) {- FunctionConfig.encode(v!, writer.uint32(26).fork()).join();- }- for (const v of message.procedureConfigs) {- ProcedureConfig.encode(v!, writer.uint32(34).fork()).join();- }- for (const v of message.viewConfigs) {- ViewConfig.encode(v!, writer.uint32(42).fork()).join();- }return writer;},@@ -7572,30 +7497,6 @@ export const SchemaConfig: MessageFns<SchemaConfig> = {message.tableConfigs.push(TableConfig.decode(reader, reader.uint32()));continue;}- case 3: {- if (tag !== 26) {- break;- }-- message.functionConfigs.push(FunctionConfig.decode(reader, reader.uint32()));- continue;- }- case 4: {- if (tag !== 34) {- break;- }-- message.procedureConfigs.push(ProcedureConfig.decode(reader, reader.uint32()));- continue;- }- case 5: {- if (tag !== 42) {- break;- }-- message.viewConfigs.push(ViewConfig.decode(reader, reader.uint32()));- continue;- }}if ((tag & 7) === 4 || tag === 0) {break;@@ -7611,15 +7512,6 @@ export const SchemaConfig: MessageFns<SchemaConfig> = {tableConfigs: globalThis.Array.isArray(object?.tableConfigs)? object.tableConfigs.map((e: any) => TableConfig.fromJSON(e)): [],- functionConfigs: globalThis.Array.isArray(object?.functionConfigs)- ? object.functionConfigs.map((e: any) => FunctionConfig.fromJSON(e))- : [],- procedureConfigs: globalThis.Array.isArray(object?.procedureConfigs)- ? object.procedureConfigs.map((e: any) => ProcedureConfig.fromJSON(e))- : [],- viewConfigs: globalThis.Array.isArray(object?.viewConfigs)- ? object.viewConfigs.map((e: any) => ViewConfig.fromJSON(e))- : [],};},@@ -7631,15 +7523,6 @@ export const SchemaConfig: MessageFns<SchemaConfig> = {if (message.tableConfigs?.length) {obj.tableConfigs = message.tableConfigs.map((e) => TableConfig.toJSON(e));}- if (message.functionConfigs?.length) {- obj.functionConfigs = message.functionConfigs.map((e) => FunctionConfig.toJSON(e));- }- if (message.procedureConfigs?.length) {- obj.procedureConfigs = message.procedureConfigs.map((e) => ProcedureConfig.toJSON(e));- }- if (message.viewConfigs?.length) {- obj.viewConfigs = message.viewConfigs.map((e) => ViewConfig.toJSON(e));- }return obj;},@@ -7650,15 +7533,12 @@ export const SchemaConfig: MessageFns<SchemaConfig> = {const message = createBaseSchemaConfig();message.name = object.name ?? "";message.tableConfigs = object.tableConfigs?.map((e) => TableConfig.fromPartial(e)) || [];- message.functionConfigs = object.functionConfigs?.map((e) => FunctionConfig.fromPartial(e)) || [];- message.procedureConfigs = object.procedureConfigs?.map((e) => ProcedureConfig.fromPartial(e)) || [];- message.viewConfigs = object.viewConfigs?.map((e) => ViewConfig.fromPartial(e)) || [];return message;},};function createBaseTableConfig(): TableConfig {- return { name: "", columnConfigs: [], classificationId: "", updater: "", sourceBranch: "", updateTime: undefined };+ return { name: "", columnConfigs: [], classificationId: "" };}export const TableConfig: MessageFns<TableConfig> = {@@ -7672,15 +7552,6 @@ export const TableConfig: MessageFns<TableConfig> = {if (message.classificationId !== "") {writer.uint32(26).string(message.classificationId);}- if (message.updater !== "") {- writer.uint32(34).string(message.updater);- }- if (message.sourceBranch !== "") {- writer.uint32(50).string(message.sourceBranch);- }- if (message.updateTime !== undefined) {- Timestamp.encode(message.updateTime, writer.uint32(42).fork()).join();- }return writer;},@@ -7715,30 +7586,6 @@ export const TableConfig: MessageFns<TableConfig> = {message.classificationId = reader.string();continue;}- case 4: {- if (tag !== 34) {- break;- }-- message.updater = reader.string();- continue;- }- case 6: {- if (tag !== 50) {- break;- }-- message.sourceBranch = reader.string();- continue;- }- case 5: {- if (tag !== 42) {- break;- }-- message.updateTime = Timestamp.decode(reader, reader.uint32());- continue;- }}if ((tag & 7) === 4 || tag === 0) {break;@@ -7755,9 +7602,6 @@ export const TableConfig: MessageFns<TableConfig> = {? object.columnConfigs.map((e: any) => ColumnConfig.fromJSON(e)): [],classificationId: isSet(object.classificationId) ? globalThis.String(object.classificationId) : "",- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",- sourceBranch: isSet(object.sourceBranch) ? globalThis.String(object.sourceBranch) : "",- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,};},@@ -7772,15 +7616,6 @@ export const TableConfig: MessageFns<TableConfig> = {if (message.classificationId !== "") {obj.classificationId = message.classificationId;}- if (message.updater !== "") {- obj.updater = message.updater;- }- if (message.sourceBranch !== "") {- obj.sourceBranch = message.sourceBranch;- }- if (message.updateTime !== undefined) {- obj.updateTime = fromTimestamp(message.updateTime).toISOString();- }return obj;},@@ -7792,341 +7627,6 @@ export const TableConfig: MessageFns<TableConfig> = {message.name = object.name ?? "";message.columnConfigs = object.columnConfigs?.map((e) => ColumnConfig.fromPartial(e)) || [];message.classificationId = object.classificationId ?? "";- message.updater = object.updater ?? "";- message.sourceBranch = object.sourceBranch ?? "";- message.updateTime = (object.updateTime !== undefined && object.updateTime !== null)- ? Timestamp.fromPartial(object.updateTime)- : undefined;- return message;- },-};--function createBaseFunctionConfig(): FunctionConfig {- return { name: "", updater: "", sourceBranch: "", updateTime: undefined };-}--export const FunctionConfig: MessageFns<FunctionConfig> = {- encode(message: FunctionConfig, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {- if (message.name !== "") {- writer.uint32(10).string(message.name);- }- if (message.updater !== "") {- writer.uint32(18).string(message.updater);- }- if (message.sourceBranch !== "") {- writer.uint32(34).string(message.sourceBranch);- }- if (message.updateTime !== undefined) {- Timestamp.encode(message.updateTime, writer.uint32(26).fork()).join();- }- return writer;- },-- decode(input: BinaryReader | Uint8Array, length?: number): FunctionConfig {- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseFunctionConfig();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1: {- if (tag !== 10) {- break;- }-- message.name = reader.string();- continue;- }- case 2: {- if (tag !== 18) {- break;- }-- message.updater = reader.string();- continue;- }- case 4: {- if (tag !== 34) {- break;- }-- message.sourceBranch = reader.string();- continue;- }- case 3: {- if (tag !== 26) {- break;- }-- message.updateTime = Timestamp.decode(reader, reader.uint32());- continue;- }- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skip(tag & 7);- }- return message;- },-- fromJSON(object: any): FunctionConfig {- return {- name: isSet(object.name) ? globalThis.String(object.name) : "",- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",- sourceBranch: isSet(object.sourceBranch) ? globalThis.String(object.sourceBranch) : "",- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,- };- },-- toJSON(message: FunctionConfig): unknown {- const obj: any = {};- if (message.name !== "") {- obj.name = message.name;- }- if (message.updater !== "") {- obj.updater = message.updater;- }- if (message.sourceBranch !== "") {- obj.sourceBranch = message.sourceBranch;- }- if (message.updateTime !== undefined) {- obj.updateTime = fromTimestamp(message.updateTime).toISOString();- }- return obj;- },-- create(base?: DeepPartial<FunctionConfig>): FunctionConfig {- return FunctionConfig.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<FunctionConfig>): FunctionConfig {- const message = createBaseFunctionConfig();- message.name = object.name ?? "";- message.updater = object.updater ?? "";- message.sourceBranch = object.sourceBranch ?? "";- message.updateTime = (object.updateTime !== undefined && object.updateTime !== null)- ? Timestamp.fromPartial(object.updateTime)- : undefined;- return message;- },-};--function createBaseProcedureConfig(): ProcedureConfig {- return { name: "", updater: "", sourceBranch: "", updateTime: undefined };-}--export const ProcedureConfig: MessageFns<ProcedureConfig> = {- encode(message: ProcedureConfig, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {- if (message.name !== "") {- writer.uint32(10).string(message.name);- }- if (message.updater !== "") {- writer.uint32(18).string(message.updater);- }- if (message.sourceBranch !== "") {- writer.uint32(34).string(message.sourceBranch);- }- if (message.updateTime !== undefined) {- Timestamp.encode(message.updateTime, writer.uint32(26).fork()).join();- }- return writer;- },-- decode(input: BinaryReader | Uint8Array, length?: number): ProcedureConfig {- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseProcedureConfig();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1: {- if (tag !== 10) {- break;- }-- message.name = reader.string();- continue;- }- case 2: {- if (tag !== 18) {- break;- }-- message.updater = reader.string();- continue;- }- case 4: {- if (tag !== 34) {- break;- }-- message.sourceBranch = reader.string();- continue;- }- case 3: {- if (tag !== 26) {- break;- }-- message.updateTime = Timestamp.decode(reader, reader.uint32());- continue;- }- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skip(tag & 7);- }- return message;- },-- fromJSON(object: any): ProcedureConfig {- return {- name: isSet(object.name) ? globalThis.String(object.name) : "",- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",- sourceBranch: isSet(object.sourceBranch) ? globalThis.String(object.sourceBranch) : "",- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,- };- },-- toJSON(message: ProcedureConfig): unknown {- const obj: any = {};- if (message.name !== "") {- obj.name = message.name;- }- if (message.updater !== "") {- obj.updater = message.updater;- }- if (message.sourceBranch !== "") {- obj.sourceBranch = message.sourceBranch;- }- if (message.updateTime !== undefined) {- obj.updateTime = fromTimestamp(message.updateTime).toISOString();- }- return obj;- },-- create(base?: DeepPartial<ProcedureConfig>): ProcedureConfig {- return ProcedureConfig.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<ProcedureConfig>): ProcedureConfig {- const message = createBaseProcedureConfig();- message.name = object.name ?? "";- message.updater = object.updater ?? "";- message.sourceBranch = object.sourceBranch ?? "";- message.updateTime = (object.updateTime !== undefined && object.updateTime !== null)- ? Timestamp.fromPartial(object.updateTime)- : undefined;- return message;- },-};--function createBaseViewConfig(): ViewConfig {- return { name: "", updater: "", sourceBranch: "", updateTime: undefined };-}--export const ViewConfig: MessageFns<ViewConfig> = {- encode(message: ViewConfig, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {- if (message.name !== "") {- writer.uint32(10).string(message.name);- }- if (message.updater !== "") {- writer.uint32(18).string(message.updater);- }- if (message.sourceBranch !== "") {- writer.uint32(34).string(message.sourceBranch);- }- if (message.updateTime !== undefined) {- Timestamp.encode(message.updateTime, writer.uint32(26).fork()).join();- }- return writer;- },-- decode(input: BinaryReader | Uint8Array, length?: number): ViewConfig {- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);- let end = length === undefined ? reader.len : reader.pos + length;- const message = createBaseViewConfig();- while (reader.pos < end) {- const tag = reader.uint32();- switch (tag >>> 3) {- case 1: {- if (tag !== 10) {- break;- }-- message.name = reader.string();- continue;- }- case 2: {- if (tag !== 18) {- break;- }-- message.updater = reader.string();- continue;- }- case 4: {- if (tag !== 34) {- break;- }-- message.sourceBranch = reader.string();- continue;- }- case 3: {- if (tag !== 26) {- break;- }-- message.updateTime = Timestamp.decode(reader, reader.uint32());- continue;- }- }- if ((tag & 7) === 4 || tag === 0) {- break;- }- reader.skip(tag & 7);- }- return message;- },-- fromJSON(object: any): ViewConfig {- return {- name: isSet(object.name) ? globalThis.String(object.name) : "",- updater: isSet(object.updater) ? globalThis.String(object.updater) : "",- sourceBranch: isSet(object.sourceBranch) ? globalThis.String(object.sourceBranch) : "",- updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined,- };- },-- toJSON(message: ViewConfig): unknown {- const obj: any = {};- if (message.name !== "") {- obj.name = message.name;- }- if (message.updater !== "") {- obj.updater = message.updater;- }- if (message.sourceBranch !== "") {- obj.sourceBranch = message.sourceBranch;- }- if (message.updateTime !== undefined) {- obj.updateTime = fromTimestamp(message.updateTime).toISOString();- }- return obj;- },-- create(base?: DeepPartial<ViewConfig>): ViewConfig {- return ViewConfig.fromPartial(base ?? {});- },- fromPartial(object: DeepPartial<ViewConfig>): ViewConfig {- const message = createBaseViewConfig();- message.name = object.name ?? "";- message.updater = object.updater ?? "";- message.sourceBranch = object.sourceBranch ?? "";- message.updateTime = (object.updateTime !== undefined && object.updateTime !== null)- ? Timestamp.fromPartial(object.updateTime)- : undefined;return message;},};diff --git a/frontend/src/types/proto/v1/sheet_service.ts b/frontend/src/types/proto/v1/sheet_service.tsindex fff0f0c2a3..a34638731c 100644--- a/frontend/src/types/proto/v1/sheet_service.ts+++ b/frontend/src/types/proto/v1/sheet_service.ts@@ -10,7 +10,6 @@ import Long from "long";import { FieldMask } from "../google/protobuf/field_mask";import { Timestamp } from "../google/protobuf/timestamp";import { Engine, engineFromJSON, engineToJSON, engineToNumber } from "./common";-import { DatabaseConfig } from "./database_service";export const protobufPackage = "bytebase.v1";@@ -107,14 +106,6 @@ export interface Sheet {export interface SheetPayload {type: SheetPayload_Type;- /** The snapshot of the database config when creating the sheet, be used to compare with the baseline_database_config and apply the diff to the database. */- databaseConfig:- | DatabaseConfig- | undefined;- /** The snapshot of the baseline database config when creating the sheet. */- baselineDatabaseConfig:- | DatabaseConfig- | undefined;/** The start and end position of each command in the sheet statement. */commands: SheetCommand[];}@@ -741,12 +732,7 @@ export const Sheet: MessageFns<Sheet> = {};function createBaseSheetPayload(): SheetPayload {- return {- type: SheetPayload_Type.TYPE_UNSPECIFIED,- databaseConfig: undefined,- baselineDatabaseConfig: undefined,- commands: [],- };+ return { type: SheetPayload_Type.TYPE_UNSPECIFIED, commands: [] };}export const SheetPayload: MessageFns<SheetPayload> = {@@ -754,12 +740,6 @@ export const SheetPayload: MessageFns<SheetPayload> = {if (message.type !== SheetPayload_Type.TYPE_UNSPECIFIED) {writer.uint32(8).int32(sheetPayload_TypeToNumber(message.type));}- if (message.databaseConfig !== undefined) {- DatabaseConfig.encode(message.databaseConfig, writer.uint32(18).fork()).join();- }- if (message.baselineDatabaseConfig !== undefined) {- DatabaseConfig.encode(message.baselineDatabaseConfig, writer.uint32(26).fork()).join();- }for (const v of message.commands) {SheetCommand.encode(v!, writer.uint32(34).fork()).join();}@@ -781,22 +761,6 @@ export const SheetPayload: MessageFns<SheetPayload> = {message.type = sheetPayload_TypeFromJSON(reader.int32());continue;}- case 2: {- if (tag !== 18) {- break;- }-- message.databaseConfig = DatabaseConfig.decode(reader, reader.uint32());- continue;- }- case 3: {- if (tag !== 26) {- break;- }-- message.baselineDatabaseConfig = DatabaseConfig.decode(reader, reader.uint32());- continue;- }case 4: {if (tag !== 34) {break;@@ -817,10 +781,6 @@ export const SheetPayload: MessageFns<SheetPayload> = {fromJSON(object: any): SheetPayload {return {type: isSet(object.type) ? sheetPayload_TypeFromJSON(object.type) : SheetPayload_Type.TYPE_UNSPECIFIED,- databaseConfig: isSet(object.databaseConfig) ? DatabaseConfig.fromJSON(object.databaseConfig) : undefined,- baselineDatabaseConfig: isSet(object.baselineDatabaseConfig)- ? DatabaseConfig.fromJSON(object.baselineDatabaseConfig)- : undefined,commands: globalThis.Array.isArray(object?.commands)? object.commands.map((e: any) => SheetCommand.fromJSON(e)): [],@@ -832,12 +792,6 @@ export const SheetPayload: MessageFns<SheetPayload> = {if (message.type !== SheetPayload_Type.TYPE_UNSPECIFIED) {obj.type = sheetPayload_TypeToJSON(message.type);}- if (message.databaseConfig !== undefined) {- obj.databaseConfig = DatabaseConfig.toJSON(message.databaseConfig);- }- if (message.baselineDatabaseConfig !== undefined) {- obj.baselineDatabaseConfig = DatabaseConfig.toJSON(message.baselineDatabaseConfig);- }if (message.commands?.length) {obj.commands = message.commands.map((e) => SheetCommand.toJSON(e));}@@ -850,13 +804,6 @@ export const SheetPayload: MessageFns<SheetPayload> = {fromPartial(object: DeepPartial<SheetPayload>): SheetPayload {const message = createBaseSheetPayload();message.type = object.type ?? SheetPayload_Type.TYPE_UNSPECIFIED;- message.databaseConfig = (object.databaseConfig !== undefined && object.databaseConfig !== null)- ? DatabaseConfig.fromPartial(object.databaseConfig)- : undefined;- message.baselineDatabaseConfig =- (object.baselineDatabaseConfig !== undefined && object.baselineDatabaseConfig !== null)- ? DatabaseConfig.fromPartial(object.baselineDatabaseConfig)- : undefined;message.commands = object.commands?.map((e) => SheetCommand.fromPartial(e)) || [];return message;},diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex bd9a6c9b4b..f291d9a161 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -9518,16 +9518,6 @@ components:type: arrayitems:$ref: '#/components/schemas/SchemaCatalog'- DatabaseConfig:- type: object- properties:- name:- type: string- schemas:- type: array- items:- $ref: '#/components/schemas/SchemaCatalog'- description: The schema_configs is the list of configs for schemas in a database.DatabaseGroup:type: objectproperties:@@ -13434,14 +13424,6 @@ components:- SCHEMA_DESIGNtype: stringformat: enum- databaseConfig:- allOf:- - $ref: '#/components/schemas/DatabaseConfig'- description: The snapshot of the database config when creating the sheet, be used to compare with the baseline_database_config and apply the diff to the database.- baselineDatabaseConfig:- allOf:- - $ref: '#/components/schemas/DatabaseConfig'- description: The snapshot of the baseline database config when creating the sheet.commands:type: arrayitems:diff --git a/proto/gen/grpc-doc/store/README.md b/proto/gen/grpc-doc/store/README.mdindex a0d9cc320f..62c3621bbe 100644--- a/proto/gen/grpc-doc/store/README.md+++ b/proto/gen/grpc-doc/store/README.md@@ -89,7 +89,6 @@- [ExtensionMetadata](#bytebase-store-ExtensionMetadata)- [ExternalTableMetadata](#bytebase-store-ExternalTableMetadata)- [ForeignKeyMetadata](#bytebase-store-ForeignKeyMetadata)- - [FunctionConfig](#bytebase-store-FunctionConfig)- [FunctionMetadata](#bytebase-store-FunctionMetadata)- [GenerationMetadata](#bytebase-store-GenerationMetadata)- [IndexMetadata](#bytebase-store-IndexMetadata)@@ -101,7 +100,6 @@- [ObjectSchema.StructKind](#bytebase-store-ObjectSchema-StructKind)- [ObjectSchema.StructKind.PropertiesEntry](#bytebase-store-ObjectSchema-StructKind-PropertiesEntry)- [PackageMetadata](#bytebase-store-PackageMetadata)- - [ProcedureConfig](#bytebase-store-ProcedureConfig)- [ProcedureMetadata](#bytebase-store-ProcedureMetadata)- [SchemaCatalog](#bytebase-store-SchemaCatalog)- [SchemaMetadata](#bytebase-store-SchemaMetadata)@@ -114,7 +112,6 @@- [TablePartitionMetadata](#bytebase-store-TablePartitionMetadata)- [TaskMetadata](#bytebase-store-TaskMetadata)- [TriggerMetadata](#bytebase-store-TriggerMetadata)- - [ViewConfig](#bytebase-store-ViewConfig)- [ViewMetadata](#bytebase-store-ViewMetadata)- [GenerationMetadata.Type](#bytebase-store-GenerationMetadata-Type)@@ -1609,24 +1606,6 @@ ForeignKeyMetadata is the metadata for foreign keys.-<a name="bytebase-store-FunctionConfig"></a>--### FunctionConfig----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name is the name of a function. |-| updater | [string](#string) | | The last updater of the function in branch. Format: users/{userUID}. |-| source_branch | [string](#string) | | The last change come from branch. Format: projcets/{project}/branches/{branch} |-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the function is updated in branch. |------<a name="bytebase-store-FunctionMetadata"></a>### FunctionMetadata@@ -1827,24 +1806,6 @@ PackageMetadata is the metadata for packages.-<a name="bytebase-store-ProcedureConfig"></a>--### ProcedureConfig----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name is the name of a procedure. |-| updater | [string](#string) | | The last updater of the procedure in branch. Format: users/{userUID}. |-| source_branch | [string](#string) | | The last change come from branch. Format: projcets/{project}/branches/{branch} |-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the procedure is updated in branch. |------<a name="bytebase-store-ProcedureMetadata"></a>### ProcedureMetadata@@ -1876,9 +1837,6 @@ ProcedureMetadata is the metadata for procedures.| ----- | ---- | ----- | ----------- || name | [string](#string) | | The name is the schema name. It is an empty string for databases without such concept such as MySQL. || tables | [TableCatalog](#bytebase-store-TableCatalog) | repeated | The table_configs is the list of configs for tables in a schema. |-| function_configs | [FunctionConfig](#bytebase-store-FunctionConfig) | repeated | |-| procedure_configs | [ProcedureConfig](#bytebase-store-ProcedureConfig) | repeated | |-| view_configs | [ViewConfig](#bytebase-store-ViewConfig) | repeated | |@@ -2006,9 +1964,6 @@ This is the concept of schema in Postgres, but it's a no-op for MySQL.| columns | [ColumnCatalog](#bytebase-store-ColumnCatalog) | repeated | The column_configs is the ordered list of configs for columns in a table. || object_schema | [ObjectSchema](#bytebase-store-ObjectSchema) | optional | || classification | [string](#string) | | |-| updater | [string](#string) | | The last updater of the table in branch. Format: users/{userUID}. |-| source_branch | [string](#string) | | The last change come from branch. Format: projcets/{project}/branches/{branch} |-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the table is updated in branch. |@@ -2115,24 +2070,6 @@ TablePartitionMetadata is the metadata for table partitions.-<a name="bytebase-store-ViewConfig"></a>--### ViewConfig----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name is the name of a view. |-| updater | [string](#string) | | The last updater of the view in branch. Format: users/{userUID}. |-| source_branch | [string](#string) | | The last change come from branch. Format: projcets/{project}/branches/{branch} |-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the view is updated in branch. |------<a name="bytebase-store-ViewMetadata"></a>### ViewMetadata@@ -3497,7 +3434,6 @@ Type is the database change type.| MIGRATE | 2 | Used for DDL changes including CREATE DATABASE. || MIGRATE_SDL | 3 | Used for schema changes via state-based schema migration including CREATE DATABASE. || MIGRATE_GHOST | 4 | Used for DDL changes using gh-ost. |-| BRANCH | 5 | Used when restoring from a backup (the restored database branched from the original backup). || DATA | 6 | Used for DML change. |@@ -4841,8 +4777,6 @@ We support three types of SMTP encryption: NONE, STARTTLS, and SSL/TLS.| Field | Type | Label | Description || ----- | ---- | ----- | ----------- |-| database_config | [DatabaseConfig](#bytebase-store-DatabaseConfig) | | The snapshot of the database config when creating the sheet, be used to compare with the baseline_database_config and apply the diff to the database. |-| baseline_database_config | [DatabaseConfig](#bytebase-store-DatabaseConfig) | | The snapshot of the baseline database config when creating the sheet. || engine | [Engine](#bytebase-store-Engine) | | The SQL dialect. || commands | [SheetCommand](#bytebase-store-SheetCommand) | repeated | The start and end position of each command in the sheet statement. |diff --git a/proto/gen/grpc-doc/store/index.html b/proto/gen/grpc-doc/store/index.htmlindex f566373f3b..10cffde4d9 100644--- a/proto/gen/grpc-doc/store/index.html+++ b/proto/gen/grpc-doc/store/index.html@@ -518,10 +518,6 @@<a href="#bytebase.store.ForeignKeyMetadata"><span class="badge">M</span>ForeignKeyMetadata</a></li>- <li>- <a href="#bytebase.store.FunctionConfig"><span class="badge">M</span>FunctionConfig</a>- </li>-<li><a href="#bytebase.store.FunctionMetadata"><span class="badge">M</span>FunctionMetadata</a></li>@@ -566,10 +562,6 @@<a href="#bytebase.store.PackageMetadata"><span class="badge">M</span>PackageMetadata</a></li>- <li>- <a href="#bytebase.store.ProcedureConfig"><span class="badge">M</span>ProcedureConfig</a>- </li>-<li><a href="#bytebase.store.ProcedureMetadata"><span class="badge">M</span>ProcedureMetadata</a></li>@@ -618,10 +610,6 @@<a href="#bytebase.store.TriggerMetadata"><span class="badge">M</span>TriggerMetadata</a></li>- <li>- <a href="#bytebase.store.ViewConfig"><span class="badge">M</span>ViewConfig</a>- </li>-<li><a href="#bytebase.store.ViewMetadata"><span class="badge">M</span>ViewMetadata</a></li>@@ -4677,53 +4665,6 @@ It's empty string for other databases. </p></td>- <h3 id="bytebase.store.FunctionConfig">FunctionConfig</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>name</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The name is the name of a function. </p></td>- </tr>-- <tr>- <td>updater</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last updater of the function in branch.-Format: users/{userUID}. </p></td>- </tr>-- <tr>- <td>source_branch</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last change come from branch.-Format: projcets/{project}/branches/{branch} </p></td>- </tr>-- <tr>- <td>update_time</td>- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>- <td></td>- <td><p>The timestamp when the function is updated in branch. </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.store.FunctionMetadata">FunctionMetadata</h3><p>FunctionMetadata is the metadata for functions.</p>@@ -5239,53 +5180,6 @@ engine. </p></td>- <h3 id="bytebase.store.ProcedureConfig">ProcedureConfig</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>name</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The name is the name of a procedure. </p></td>- </tr>-- <tr>- <td>updater</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last updater of the procedure in branch.-Format: users/{userUID}. </p></td>- </tr>-- <tr>- <td>source_branch</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last change come from branch.-Format: projcets/{project}/branches/{branch} </p></td>- </tr>-- <tr>- <td>update_time</td>- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>- <td></td>- <td><p>The timestamp when the procedure is updated in branch. </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.store.ProcedureMetadata">ProcedureMetadata</h3><p>ProcedureMetadata is the metadata for procedures.</p>@@ -5378,27 +5272,6 @@ It is an empty string for databases without such concept such as MySQL. </p></td<td><p>The table_configs is the list of configs for tables in a schema. </p></td></tr>- <tr>- <td>function_configs</td>- <td><a href="#bytebase.store.FunctionConfig">FunctionConfig</a></td>- <td>repeated</td>- <td><p> </p></td>- </tr>-- <tr>- <td>procedure_configs</td>- <td><a href="#bytebase.store.ProcedureConfig">ProcedureConfig</a></td>- <td>repeated</td>- <td><p> </p></td>- </tr>-- <tr>- <td>view_configs</td>- <td><a href="#bytebase.store.ViewConfig">ViewConfig</a></td>- <td>repeated</td>- <td><p> </p></td>- </tr>-</tbody></table>@@ -5798,29 +5671,6 @@ Snowflake. </p></td><td><p> </p></td></tr>- <tr>- <td>updater</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last updater of the table in branch.-Format: users/{userUID}. </p></td>- </tr>-- <tr>- <td>source_branch</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last change come from branch.-Format: projcets/{project}/branches/{branch} </p></td>- </tr>-- <tr>- <td>update_time</td>- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>- <td></td>- <td><p>The timestamp when the table is updated in branch. </p></td>- </tr>-</tbody></table>@@ -6227,53 +6077,6 @@ TRUNCATE. </p></td>- <h3 id="bytebase.store.ViewConfig">ViewConfig</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>name</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The name is the name of a view. </p></td>- </tr>-- <tr>- <td>updater</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last updater of the view in branch.-Format: users/{userUID}. </p></td>- </tr>-- <tr>- <td>source_branch</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last change come from branch.-Format: projcets/{project}/branches/{branch} </p></td>- </tr>-- <tr>- <td>update_time</td>- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>- <td></td>- <td><p>The timestamp when the view is updated in branch. </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.store.ViewMetadata">ViewMetadata</h3><p>ViewMetadata is the metadata for views.</p>@@ -9298,12 +9101,6 @@ Format: projects/{project-ID}/vcsConnectors/{vcs-connector} </p></td><td><p>Used for DDL changes using gh-ost.</p></td></tr>- <tr>- <td>BRANCH</td>- <td>5</td>- <td><p>Used when restoring from a backup (the restored database branched from the original backup).</p></td>- </tr>-<tr><td>DATA</td><td>6</td>@@ -12108,20 +11905,6 @@ Default to this mode.</p></td></thead><tbody>- <tr>- <td>database_config</td>- <td><a href="#bytebase.store.DatabaseConfig">DatabaseConfig</a></td>- <td></td>- <td><p>The snapshot of the database config when creating the sheet, be used to compare with the baseline_database_config and apply the diff to the database. </p></td>- </tr>-- <tr>- <td>baseline_database_config</td>- <td><a href="#bytebase.store.DatabaseConfig">DatabaseConfig</a></td>- <td></td>- <td><p>The snapshot of the baseline database config when creating the sheet. </p></td>- </tr>-<tr><td>engine</td><td><a href="#bytebase.store.Engine">Engine</a></td>diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.mdindex 22738fe28a..dd5767322c 100644--- a/proto/gen/grpc-doc/v1/README.md+++ b/proto/gen/grpc-doc/v1/README.md@@ -117,7 +117,6 @@- [ExtensionMetadata](#bytebase-v1-ExtensionMetadata)- [ExternalTableMetadata](#bytebase-v1-ExternalTableMetadata)- [ForeignKeyMetadata](#bytebase-v1-ForeignKeyMetadata)- - [FunctionConfig](#bytebase-v1-FunctionConfig)- [FunctionMetadata](#bytebase-v1-FunctionMetadata)- [GenerationMetadata](#bytebase-v1-GenerationMetadata)- [GetChangelogRequest](#bytebase-v1-GetChangelogRequest)@@ -140,7 +139,6 @@- [ListSlowQueriesResponse](#bytebase-v1-ListSlowQueriesResponse)- [MaterializedViewMetadata](#bytebase-v1-MaterializedViewMetadata)- [PackageMetadata](#bytebase-v1-PackageMetadata)- - [ProcedureConfig](#bytebase-v1-ProcedureConfig)- [ProcedureMetadata](#bytebase-v1-ProcedureMetadata)- [Revision](#bytebase-v1-Revision)- [SchemaConfig](#bytebase-v1-SchemaConfig)@@ -160,7 +158,6 @@- [TriggerMetadata](#bytebase-v1-TriggerMetadata)- [UpdateDatabaseRequest](#bytebase-v1-UpdateDatabaseRequest)- [UpdateSecretRequest](#bytebase-v1-UpdateSecretRequest)- - [ViewConfig](#bytebase-v1-ViewConfig)- [ViewMetadata](#bytebase-v1-ViewMetadata)- [Changelog.Status](#bytebase-v1-Changelog-Status)@@ -2454,24 +2451,6 @@ ForeignKeyMetadata is the metadata for foreign keys.-<a name="bytebase-v1-FunctionConfig"></a>--### FunctionConfig----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name is the name of a function. |-| updater | [string](#string) | | The last updater of the function in branch. Format: users/{email} |-| source_branch | [string](#string) | | The last change come from branch. Format: projcets/{project}/branches/{branch} |-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the function is updated in branch. |------<a name="bytebase-v1-FunctionMetadata"></a>### FunctionMetadata@@ -2874,24 +2853,6 @@ PackageMetadata is the metadata for packages.-<a name="bytebase-v1-ProcedureConfig"></a>--### ProcedureConfig----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name is the name of a procedure. |-| updater | [string](#string) | | The last updater of the procedure in branch. Format: users/{email} |-| source_branch | [string](#string) | | The last change come from branch. Format: projcets/{project}/branches/{branch} |-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the procedure is updated in branch. |------<a name="bytebase-v1-ProcedureMetadata"></a>### ProcedureMetadata@@ -2951,9 +2912,6 @@ ProcedureMetadata is the metadata for procedures.| ----- | ---- | ----- | ----------- || name | [string](#string) | | The name is the schema name. It is an empty string for databases without such concept such as MySQL. || table_configs | [TableConfig](#bytebase-v1-TableConfig) | repeated | The table_configs is the list of configs for tables in a schema. |-| function_configs | [FunctionConfig](#bytebase-v1-FunctionConfig) | repeated | |-| procedure_configs | [ProcedureConfig](#bytebase-v1-ProcedureConfig) | repeated | |-| view_configs | [ViewConfig](#bytebase-v1-ViewConfig) | repeated | |@@ -3155,9 +3113,6 @@ 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) | | |-| updater | [string](#string) | | The last updater of the table in branch. Format: users/{email} |-| source_branch | [string](#string) | | The last change come from branch. Format: projcets/{project}/branches/{branch} |-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the table is updated in branch. |@@ -3299,24 +3254,6 @@ The database's `name` field is used to identify the database to update. Form-<a name="bytebase-v1-ViewConfig"></a>--### ViewConfig----| Field | Type | Label | Description |-| ----- | ---- | ----- | ----------- |-| name | [string](#string) | | The name is the name of a view. |-| updater | [string](#string) | | The last updater of the view in branch. Format: users/{email} |-| source_branch | [string](#string) | | The last change come from branch. Format: projcets/{project}/branches/{branch} |-| update_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | The timestamp when the view is updated in branch. |------<a name="bytebase-v1-ViewMetadata"></a>### ViewMetadata@@ -11295,8 +11232,6 @@ Read from `pg_stat_activity`| Field | Type | Label | Description || ----- | ---- | ----- | ----------- || type | [SheetPayload.Type](#bytebase-v1-SheetPayload-Type) | | |-| database_config | [DatabaseConfig](#bytebase-v1-DatabaseConfig) | | The snapshot of the database config when creating the sheet, be used to compare with the baseline_database_config and apply the diff to the database. |-| baseline_database_config | [DatabaseConfig](#bytebase-v1-DatabaseConfig) | | The snapshot of the baseline database config when creating the sheet. || commands | [SheetCommand](#bytebase-v1-SheetCommand) | repeated | The start and end position of each command in the sheet statement. |diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex 9ea02bd190..ac8c69d945 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -617,10 +617,6 @@<a href="#bytebase.v1.ForeignKeyMetadata"><span class="badge">M</span>ForeignKeyMetadata</a></li>- <li>- <a href="#bytebase.v1.FunctionConfig"><span class="badge">M</span>FunctionConfig</a>- </li>-<li><a href="#bytebase.v1.FunctionMetadata"><span class="badge">M</span>FunctionMetadata</a></li>@@ -709,10 +705,6 @@<a href="#bytebase.v1.PackageMetadata"><span class="badge">M</span>PackageMetadata</a></li>- <li>- <a href="#bytebase.v1.ProcedureConfig"><span class="badge">M</span>ProcedureConfig</a>- </li>-<li><a href="#bytebase.v1.ProcedureMetadata"><span class="badge">M</span>ProcedureMetadata</a></li>@@ -789,10 +781,6 @@<a href="#bytebase.v1.UpdateSecretRequest"><span class="badge">M</span>UpdateSecretRequest</a></li>- <li>- <a href="#bytebase.v1.ViewConfig"><span class="badge">M</span>ViewConfig</a>- </li>-<li><a href="#bytebase.v1.ViewMetadata"><span class="badge">M</span>ViewMetadata</a></li>@@ -7449,53 +7437,6 @@ It's empty string for other databases. </p></td>- <h3 id="bytebase.v1.FunctionConfig">FunctionConfig</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>name</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The name is the name of a function. </p></td>- </tr>-- <tr>- <td>updater</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last updater of the function in branch.-Format: users/{email} </p></td>- </tr>-- <tr>- <td>source_branch</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last change come from branch.-Format: projcets/{project}/branches/{branch} </p></td>- </tr>-- <tr>- <td>update_time</td>- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>- <td></td>- <td><p>The timestamp when the function is updated in branch. </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.v1.FunctionMetadata">FunctionMetadata</h3><p>FunctionMetadata is the metadata for functions.</p>@@ -8524,53 +8465,6 @@ view. </p></td>- <h3 id="bytebase.v1.ProcedureConfig">ProcedureConfig</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>name</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The name is the name of a procedure. </p></td>- </tr>-- <tr>- <td>updater</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last updater of the procedure in branch.-Format: users/{email} </p></td>- </tr>-- <tr>- <td>source_branch</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last change come from branch.-Format: projcets/{project}/branches/{branch} </p></td>- </tr>-- <tr>- <td>update_time</td>- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>- <td></td>- <td><p>The timestamp when the procedure is updated in branch. </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.v1.ProcedureMetadata">ProcedureMetadata</h3><p>ProcedureMetadata is the metadata for procedures.</p>@@ -8787,27 +8681,6 @@ It is an empty string for databases without such concept such as MySQL. </p></td<td><p>The table_configs is the list of configs for tables in a schema. </p></td></tr>- <tr>- <td>function_configs</td>- <td><a href="#bytebase.v1.FunctionConfig">FunctionConfig</a></td>- <td>repeated</td>- <td><p> </p></td>- </tr>-- <tr>- <td>procedure_configs</td>- <td><a href="#bytebase.v1.ProcedureConfig">ProcedureConfig</a></td>- <td>repeated</td>- <td><p> </p></td>- </tr>-- <tr>- <td>view_configs</td>- <td><a href="#bytebase.v1.ViewConfig">ViewConfig</a></td>- <td>repeated</td>- <td><p> </p></td>- </tr>-</tbody></table>@@ -9425,29 +9298,6 @@ Format: instances/{instance}/databases/{database} </p></td><td><p> </p></td></tr>- <tr>- <td>updater</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last updater of the table in branch.-Format: users/{email} </p></td>- </tr>-- <tr>- <td>source_branch</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last change come from branch.-Format: projcets/{project}/branches/{branch} </p></td>- </tr>-- <tr>- <td>update_time</td>- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>- <td></td>- <td><p>The timestamp when the table is updated in branch. </p></td>- </tr>-</tbody></table>@@ -9926,53 +9776,6 @@ Format: instances/{instance}/databases/{database} </p></td>- <h3 id="bytebase.v1.ViewConfig">ViewConfig</h3>- <p></p>--- <table class="field-table">- <thead>- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>- </thead>- <tbody>-- <tr>- <td>name</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The name is the name of a view. </p></td>- </tr>-- <tr>- <td>updater</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last updater of the view in branch.-Format: users/{email} </p></td>- </tr>-- <tr>- <td>source_branch</td>- <td><a href="#string">string</a></td>- <td></td>- <td><p>The last change come from branch.-Format: projcets/{project}/branches/{branch} </p></td>- </tr>-- <tr>- <td>update_time</td>- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>- <td></td>- <td><p>The timestamp when the view is updated in branch. </p></td>- </tr>-- </tbody>- </table>-----<h3 id="bytebase.v1.ViewMetadata">ViewMetadata</h3><p>ViewMetadata is the metadata for views.</p>@@ -30979,20 +30782,6 @@ set the `raw` to true in GetSheet request to retrieve the full content. </p></td<td><p> </p></td></tr>- <tr>- <td>database_config</td>- <td><a href="#bytebase.v1.DatabaseConfig">DatabaseConfig</a></td>- <td></td>- <td><p>The snapshot of the database config when creating the sheet, be used to compare with the baseline_database_config and apply the diff to the database. </p></td>- </tr>-- <tr>- <td>baseline_database_config</td>- <td><a href="#bytebase.v1.DatabaseConfig">DatabaseConfig</a></td>- <td></td>- <td><p>The snapshot of the baseline database config when creating the sheet. </p></td>- </tr>-<tr><td>commands</td><td><a href="#bytebase.v1.SheetCommand">SheetCommand</a></td>diff --git a/proto/generated-go/store/database.pb.go b/proto/generated-go/store/database.pb.goindex e7dac62b21..3171604025 100644--- a/proto/generated-go/store/database.pb.go+++ b/proto/generated-go/store/database.pb.go@@ -7,7 +7,6 @@package storeimport (- _ "google.golang.org/genproto/googleapis/api/annotations"protoreflect "google.golang.org/protobuf/reflect/protoreflect"protoimpl "google.golang.org/protobuf/runtime/protoimpl"timestamppb "google.golang.org/protobuf/types/known/timestamppb"@@ -3228,12 +3227,9 @@ type SchemaCatalog struct {// It is an empty string for databases without such concept such as MySQL.Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`// The table_configs is the list of configs for tables in a schema.- Tables []*TableCatalog `protobuf:"bytes,2,rep,name=tables,proto3" json:"tables,omitempty"`- FunctionConfigs []*FunctionConfig `protobuf:"bytes,3,rep,name=function_configs,json=functionConfigs,proto3" json:"function_configs,omitempty"`- ProcedureConfigs []*ProcedureConfig `protobuf:"bytes,4,rep,name=procedure_configs,json=procedureConfigs,proto3" json:"procedure_configs,omitempty"`- ViewConfigs []*ViewConfig `protobuf:"bytes,5,rep,name=view_configs,json=viewConfigs,proto3" json:"view_configs,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ Tables []*TableCatalog `protobuf:"bytes,2,rep,name=tables,proto3" json:"tables,omitempty"`+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache}func (x *SchemaCatalog) Reset() {@@ -3280,27 +3276,6 @@ func (x *SchemaCatalog) GetTables() []*TableCatalog {return nil}-func (x *SchemaCatalog) GetFunctionConfigs() []*FunctionConfig {- if x != nil {- return x.FunctionConfigs- }- return nil-}--func (x *SchemaCatalog) GetProcedureConfigs() []*ProcedureConfig {- if x != nil {- return x.ProcedureConfigs- }- return nil-}--func (x *SchemaCatalog) GetViewConfigs() []*ViewConfig {- if x != nil {- return x.ViewConfigs- }- return nil-}-type TableCatalog struct {state protoimpl.MessageState `protogen:"open.v1"`// The name is the name of a table.@@ -3309,16 +3284,8 @@ type TableCatalog struct {Columns []*ColumnCatalog `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`ObjectSchema *ObjectSchema `protobuf:"bytes,7,opt,name=object_schema,json=objectSchema,proto3,oneof" json:"object_schema,omitempty"`Classification string `protobuf:"bytes,3,opt,name=classification,proto3" json:"classification,omitempty"`- // The last updater of the table in branch.- // Format: users/{userUID}.- Updater string `protobuf:"bytes,4,opt,name=updater,proto3" json:"updater,omitempty"`- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- SourceBranch string `protobuf:"bytes,6,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"`- // The timestamp when the table is updated in branch.- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache}func (x *TableCatalog) Reset() {@@ -3379,27 +3346,6 @@ func (x *TableCatalog) GetClassification() string {return ""}-func (x *TableCatalog) GetUpdater() string {- if x != nil {- return x.Updater- }- return ""-}--func (x *TableCatalog) GetSourceBranch() string {- if x != nil {- return x.SourceBranch- }- return ""-}--func (x *TableCatalog) GetUpdateTime() *timestamppb.Timestamp {- if x != nil {- return x.UpdateTime- }- return nil-}-type ColumnCatalog struct {state protoimpl.MessageState `protogen:"open.v1"`// The name is the name of a column.@@ -3603,228 +3549,6 @@ func (*ObjectSchema_StructKind_) isObjectSchema_Kind() {}func (*ObjectSchema_ArrayKind_) isObjectSchema_Kind() {}-type FunctionConfig struct {- state protoimpl.MessageState `protogen:"open.v1"`- // The name is the name of a function.- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- // The last updater of the function in branch.- // Format: users/{userUID}.- Updater string `protobuf:"bytes,2,opt,name=updater,proto3" json:"updater,omitempty"`- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- SourceBranch string `protobuf:"bytes,4,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"`- // The timestamp when the function is updated in branch.- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *FunctionConfig) Reset() {- *x = FunctionConfig{}- mi := &file_store_database_proto_msgTypes[34]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *FunctionConfig) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*FunctionConfig) ProtoMessage() {}--func (x *FunctionConfig) ProtoReflect() protoreflect.Message {- mi := &file_store_database_proto_msgTypes[34]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use FunctionConfig.ProtoReflect.Descriptor instead.-func (*FunctionConfig) Descriptor() ([]byte, []int) {- return file_store_database_proto_rawDescGZIP(), []int{34}-}--func (x *FunctionConfig) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *FunctionConfig) GetUpdater() string {- if x != nil {- return x.Updater- }- return ""-}--func (x *FunctionConfig) GetSourceBranch() string {- if x != nil {- return x.SourceBranch- }- return ""-}--func (x *FunctionConfig) GetUpdateTime() *timestamppb.Timestamp {- if x != nil {- return x.UpdateTime- }- return nil-}--type ProcedureConfig struct {- state protoimpl.MessageState `protogen:"open.v1"`- // The name is the name of a procedure.- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- // The last updater of the procedure in branch.- // Format: users/{userUID}.- Updater string `protobuf:"bytes,2,opt,name=updater,proto3" json:"updater,omitempty"`- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- SourceBranch string `protobuf:"bytes,4,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"`- // The timestamp when the procedure is updated in branch.- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *ProcedureConfig) Reset() {- *x = ProcedureConfig{}- mi := &file_store_database_proto_msgTypes[35]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *ProcedureConfig) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*ProcedureConfig) ProtoMessage() {}--func (x *ProcedureConfig) ProtoReflect() protoreflect.Message {- mi := &file_store_database_proto_msgTypes[35]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use ProcedureConfig.ProtoReflect.Descriptor instead.-func (*ProcedureConfig) Descriptor() ([]byte, []int) {- return file_store_database_proto_rawDescGZIP(), []int{35}-}--func (x *ProcedureConfig) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *ProcedureConfig) GetUpdater() string {- if x != nil {- return x.Updater- }- return ""-}--func (x *ProcedureConfig) GetSourceBranch() string {- if x != nil {- return x.SourceBranch- }- return ""-}--func (x *ProcedureConfig) GetUpdateTime() *timestamppb.Timestamp {- if x != nil {- return x.UpdateTime- }- return nil-}--type ViewConfig struct {- state protoimpl.MessageState `protogen:"open.v1"`- // The name is the name of a view.- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- // The last updater of the view in branch.- // Format: users/{userUID}.- Updater string `protobuf:"bytes,2,opt,name=updater,proto3" json:"updater,omitempty"`- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- SourceBranch string `protobuf:"bytes,4,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"`- // The timestamp when the view is updated in branch.- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *ViewConfig) Reset() {- *x = ViewConfig{}- mi := &file_store_database_proto_msgTypes[36]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *ViewConfig) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*ViewConfig) ProtoMessage() {}--func (x *ViewConfig) ProtoReflect() protoreflect.Message {- mi := &file_store_database_proto_msgTypes[36]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use ViewConfig.ProtoReflect.Descriptor instead.-func (*ViewConfig) Descriptor() ([]byte, []int) {- return file_store_database_proto_rawDescGZIP(), []int{36}-}--func (x *ViewConfig) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *ViewConfig) GetUpdater() string {- if x != nil {- return x.Updater- }- return ""-}--func (x *ViewConfig) GetSourceBranch() string {- if x != nil {- return x.SourceBranch- }- return ""-}--func (x *ViewConfig) GetUpdateTime() *timestamppb.Timestamp {- if x != nil {- return x.UpdateTime- }- return nil-}-type ObjectSchema_StructKind struct {state protoimpl.MessageState `protogen:"open.v1"`Properties map[string]*ObjectSchema `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`@@ -3834,7 +3558,7 @@ type ObjectSchema_StructKind struct {func (x *ObjectSchema_StructKind) Reset() {*x = ObjectSchema_StructKind{}- mi := &file_store_database_proto_msgTypes[39]+ mi := &file_store_database_proto_msgTypes[36]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3846,7 +3570,7 @@ func (x *ObjectSchema_StructKind) String() string {func (*ObjectSchema_StructKind) ProtoMessage() {}func (x *ObjectSchema_StructKind) ProtoReflect() protoreflect.Message {- mi := &file_store_database_proto_msgTypes[39]+ mi := &file_store_database_proto_msgTypes[36]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3878,7 +3602,7 @@ type ObjectSchema_ArrayKind struct {func (x *ObjectSchema_ArrayKind) Reset() {*x = ObjectSchema_ArrayKind{}- mi := &file_store_database_proto_msgTypes[40]+ mi := &file_store_database_proto_msgTypes[37]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -3890,7 +3614,7 @@ func (x *ObjectSchema_ArrayKind) String() string {func (*ObjectSchema_ArrayKind) ProtoMessage() {}func (x *ObjectSchema_ArrayKind) ProtoReflect() protoreflect.Message {- mi := &file_store_database_proto_msgTypes[40]+ mi := &file_store_database_proto_msgTypes[37]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -3918,435 +3642,409 @@ var File_store_database_proto protoreflect.FileDescriptorvar file_store_database_proto_rawDesc = []byte{0x0a, 0x14, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,- 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,- 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,- 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,- 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65,- 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f,- 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x02, 0x0a,- 0x10, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,- 0x61, 0x12, 0x44, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,- 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,- 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64,- 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,- 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x40, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f,- 0x73, 0x79, 0x6e, 0x63, 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, 0x52, 0x0c, 0x6c, 0x61, 0x73,- 0x74, 0x53, 0x79, 0x6e, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x62, 0x61, 0x63,- 0x6b, 0x75, 0x70, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20,- 0x01, 0x28, 0x08, 0x52, 0x0f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x41, 0x76, 0x61, 0x69, 0x6c,- 0x61, 0x62, 0x6c, 0x65, 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,- 0x96, 0x03, 0x0a, 0x16, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 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, 0x38,- 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,- 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,- 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52,- 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72,- 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x03, 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, 0x04, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0a, 0x65,- 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,- 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,- 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,- 0x74, 0x61, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c,- 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,- 0x08, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c,- 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,- 0x51, 0x0a, 0x10, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x65,- 0x64, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,- 0x61, 0x52, 0x0f, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x5c, 0x0a, 0x16, 0x4c, 0x69, 0x6e, 0x6b,- 0x65, 0x64, 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, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,- 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,- 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x22, 0xb4, 0x06, 0x0a, 0x0e, 0x53, 0x63, 0x68, 0x65, 0x6d,+ 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,+ 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72,+ 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x63,+ 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x02, 0x0a, 0x10,+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,+ 0x12, 0x44, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,+ 0x32, 0x2c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,+ 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,+ 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06,+ 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x40, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73,+ 0x79, 0x6e, 0x63, 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, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74,+ 0x53, 0x79, 0x6e, 0x63, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x62, 0x61, 0x63, 0x6b,+ 0x75, 0x70, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01,+ 0x28, 0x08, 0x52, 0x0f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61,+ 0x62, 0x6c, 0x65, 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, 0x96,+ 0x03, 0x0a, 0x16, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 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, 0x35, 0x0a,- 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54,- 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x06, 0x74, 0x61,- 0x62, 0x6c, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,- 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 0x32, 0x0a, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x04, 0x20,- 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,- 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,- 0x61, 0x52, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x3e, 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63,- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 0x41, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63,- 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 0x38, 0x0a, 0x07, 0x73,- 0x74, 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 0x32, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08,- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,- 0x74, 0x61, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x57, 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, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 0x12, 0x3e, 0x0a, 0x09, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18,- 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x4d,- 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x09, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63,- 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18, 0x0b,- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x74,- 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x12,- 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,- 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18,- 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61,- 0x64, 0x61, 0x74, 0x61, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x0a,- 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b,- 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,- 0x65, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,- 0x74, 0x61, 0x52, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x58, 0x0a,- 0x10, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a,+ 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,+ 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07,+ 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x72, 0x61,+ 0x63, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x03, 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, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0a, 0x65, 0x78,+ 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,+ 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,+ 0x61, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a,+ 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,+ 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73,+ 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x51,+ 0x0a, 0x10, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64,+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,+ 0x52, 0x0f, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,+ 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x5c, 0x0a, 0x16, 0x4c, 0x69, 0x6e, 0x6b, 0x65,+ 0x64, 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, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18,- 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 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, 0x22, 0xe0, 0x01, 0x0a, 0x0d, 0x45, 0x76, 0x65, 0x6e,- 0x74, 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, 0x1b, 0x0a,- 0x09, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x71,- 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x71,- 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74,- 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65,- 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x14, 0x63, 0x6f, 0x6c, 0x6c, 0x61,- 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,- 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,- 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe3, 0x02, 0x0a, 0x10, 0x53,- 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 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, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65,- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65,- 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x76, 0x61,- 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x56, 0x61,- 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x56, 0x61, 0x6c, 0x75, 0x65,- 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14,- 0x0a, 0x05, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x63,- 0x79, 0x63, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x73, 0x69,- 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61, 0x63, 0x68, 0x65, 0x53,- 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75,- 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x56, 0x61, 0x6c,- 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c,- 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x61,- 0x62, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6c,- 0x75, 0x6d, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x77, 0x6e, 0x65, 0x72,- 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,- 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,- 0x22, 0x81, 0x02, 0x0a, 0x0f, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 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, 0x14, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e,- 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x16,- 0x0a, 0x06, 0x74, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,- 0x74, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x05,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x71,- 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x71,- 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74,- 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65,- 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x14, 0x63, 0x6f, 0x6c, 0x6c, 0x61,- 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,- 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,- 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d,- 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x80, 0x03, 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, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,- 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 0xa5, 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, 0x37, 0x0a,- 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x79,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,+ 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,+ 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x04, 0x68, 0x6f, 0x73, 0x74, 0x22, 0xb4, 0x06, 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, 0x35, 0x0a, 0x06,+ 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61,+ 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x06, 0x74, 0x61, 0x62,+ 0x6c, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f,+ 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 0x32, 0x0a, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x04, 0x20, 0x03,+ 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,+ 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,+ 0x52, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x3e, 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74,+ 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 0x41, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65,+ 0x64, 0x75, 0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 0x38, 0x0a, 0x07, 0x73, 0x74,+ 0x72, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79,0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 0x37, 0x0a, 0x04,- 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 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,- 0x9b, 0x06, 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, 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, 0x12,- 0x37, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,- 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,- 0x65, 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, 0x18,- 0x0a, 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 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, 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, 0x12, 0x54, 0x0a, 0x11, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74,- 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x68,- 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x4d, 0x65, 0x74,- 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x73,- 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72,- 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x21, 0x0a,- 0x0c, 0x73, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x13, 0x20,- 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x73,- 0x12, 0x3b, 0x0a, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x14, 0x20, 0x03,- 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,- 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64,- 0x61, 0x74, 0x61, 0x52, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x22, 0x4d, 0x0a,- 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74,+ 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x73, 0x74, 0x72,+ 0x65, 0x61, 0x6d, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20,+ 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,+ 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,+ 0x61, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x57, 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, 0x28, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 0x12, 0x3e, 0x0a, 0x09, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x0a,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x4d, 0x65,+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x09, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65,+ 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18, 0x0b, 0x20,+ 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,+ 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x74, 0x61,+ 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x12, 0x14,+ 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f,+ 0x77, 0x6e, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0e,+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64,+ 0x61, 0x74, 0x61, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x0a, 0x65,+ 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32,+ 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,+ 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,+ 0x61, 0x52, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x58, 0x0a, 0x10,+ 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 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, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02,+ 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 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, 0x22, 0xe0, 0x01, 0x0a, 0x0d, 0x45, 0x76, 0x65, 0x6e, 0x74,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,- 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 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, 0xd8, 0x03, 0x0a,- 0x16, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d,+ 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, 0x1b, 0x0a, 0x09,+ 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x08, 0x74, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x71, 0x6c,+ 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x71, 0x6c,+ 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65,+ 0x72, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x12, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74,+ 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x14, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74,+ 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43,+ 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe3, 0x02, 0x0a, 0x10, 0x53, 0x65,+ 0x71, 0x75, 0x65, 0x6e, 0x63, 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, 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12,+ 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,+ 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x76, 0x61, 0x6c,+ 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x56, 0x61, 0x6c,+ 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,+ 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,+ 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a,+ 0x05, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x63, 0x79,+ 0x63, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x73, 0x69, 0x7a,+ 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61, 0x63, 0x68, 0x65, 0x53, 0x69,+ 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,+ 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75,+ 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65,+ 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x61, 0x62,+ 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6c, 0x75,+ 0x6d, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x43,+ 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,+ 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22,+ 0x81, 0x02, 0x0a, 0x0f, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 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, 0x14, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74,+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a,+ 0x06, 0x74, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74,+ 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x05, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x71, 0x6c,+ 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x71, 0x6c,+ 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65,+ 0x72, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x12, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74,+ 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x14, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74,+ 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43,+ 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d,+ 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d,+ 0x65, 0x6e, 0x74, 0x22, 0x80, 0x03, 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, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18,+ 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 0xa5, 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, 0x37, 0x0a, 0x04,+ 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 0x37, 0x0a, 0x04, 0x6d,+ 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 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, 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, 0x9b,+ 0x06, 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, 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, 0x12, 0x37,+ 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,+ 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,+ 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, 0x18, 0x0a,+ 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,+ 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 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, 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,+ 0x12, 0x54, 0x0a, 0x11, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72,+ 0x61, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x68, 0x65,+ 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61,+ 0x64, 0x61, 0x74, 0x61, 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x73, 0x74,+ 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18,+ 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c,+ 0x73, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x13, 0x20, 0x03,+ 0x28, 0x09, 0x52, 0x0b, 0x73, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x12,+ 0x3b, 0x0a, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28,+ 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,+ 0x72, 0x65, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,+ 0x74, 0x61, 0x52, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x22, 0x4d, 0x0a, 0x17,+ 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 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, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03,- 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,- 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,- 0x61, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 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, 0xf2, 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, 0x12, 0x42, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72,- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x65, 0x6e,- 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52,- 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0f, 0x0a, 0x0d, 0x64,- 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xb2, 0x01, 0x0a,- 0x12, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,- 0x61, 0x74, 0x61, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,- 0x0e, 0x32, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,- 0x72, 0x65, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 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, 0x02,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,- 0x22, 0x3f, 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, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x56, 0x49, 0x52, 0x54, 0x55, 0x41, 0x4c, 0x10, 0x01,- 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x44, 0x10,- 0x02, 0x22, 0xa4, 0x02, 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, 0x4f, 0x0a, 0x12, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x63,- 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x65,- 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x11,- 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,- 0x73, 0x12, 0x38, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03,+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x65,+ 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 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, 0x12, 0x3b, 0x0a, 0x08, 0x74,- 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54,- 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08,- 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x22, 0x58, 0x0a, 0x10, 0x44, 0x65, 0x70, 0x65,- 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 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, 0xaf, 0x02, 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, 0x4f, 0x0a,- 0x12, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75,- 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e,- 0x64, 0x65, 0x6e, 0x63, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x11, 0x64, 0x65, 0x70,- 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3b,- 0x0a, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b,- 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,- 0x65, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,- 0x61, 0x52, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69,- 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x6e,- 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x69, 0x6e, 0x64,- 0x65, 0x78, 0x65, 0x73, 0x22, 0x3f, 0x0a, 0x0f, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e,- 0x63, 0x79, 0x54, 0x61, 0x62, 0x6c, 0x65, 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, 0x22, 0xfb, 0x02, 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, 0x12, 0x1c,- 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x30, 0x0a, 0x14,- 0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6c,- 0x69, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x68, 0x61, 0x72,- 0x61, 0x63, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x31,- 0x0a, 0x14, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x6e,- 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x63, 0x6f,- 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,- 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f,- 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x64,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,- 0x12, 0x19, 0x0a, 0x08, 0x73, 0x71, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x07, 0x73, 0x71, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63,- 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65,- 0x6e, 0x63, 0x79, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b,- 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,- 0x65, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x54, 0x61, 0x62, 0x6c,- 0x65, 0x52, 0x10, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x54, 0x61, 0x62,- 0x6c, 0x65, 0x73, 0x22, 0x94, 0x02, 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,+ 0x74, 0x61, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0xd8, 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,+ 0x12, 0x37, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,+ 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,+ 0x72, 0x65, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,+ 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 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, 0xf2, 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, 0x12, 0x42, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61,+ 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x65, 0x6e, 0x65,+ 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0a,+ 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0f, 0x0a, 0x0d, 0x64, 0x65,+ 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xb2, 0x01, 0x0a, 0x12,+ 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,+ 0x74, 0x61, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,+ 0x32, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,+ 0x65, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 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, 0x02, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22,+ 0x3f, 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, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x56, 0x49, 0x52, 0x54, 0x55, 0x41, 0x4c, 0x10, 0x01, 0x12,+ 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x44, 0x10, 0x02,+ 0x22, 0xa4, 0x02, 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,+ 0x4f, 0x0a, 0x12, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x63, 0x6f,+ 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x65, 0x70,+ 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x11, 0x64,+ 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,+ 0x12, 0x38, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05, 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, 0x12, 0x3b, 0x0a, 0x08, 0x74, 0x72,+ 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72,+ 0x69, 0x67, 0x67, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x74,+ 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x22, 0x58, 0x0a, 0x10, 0x44, 0x65, 0x70, 0x65, 0x6e,+ 0x64, 0x65, 0x6e, 0x63, 0x79, 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, 0xaf, 0x02, 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, 0x4f, 0x0a, 0x12,+ 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d,+ 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64,+ 0x65, 0x6e, 0x63, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x11, 0x64, 0x65, 0x70, 0x65,+ 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3b, 0x0a,+ 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,+ 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,+ 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,+ 0x52, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x6e,+ 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x6e, 0x64,+ 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65,+ 0x78, 0x65, 0x73, 0x22, 0x3f, 0x0a, 0x0f, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63,+ 0x79, 0x54, 0x61, 0x62, 0x6c, 0x65, 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, 0x22, 0xfb, 0x02, 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, 0x12, 0x1c, 0x0a,@@ -4362,235 +4060,202 @@ var file_store_database_proto_rawDesc = []byte{0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x64, 0x61,0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,0x19, 0x0a, 0x08, 0x73, 0x71, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,- 0x09, 0x52, 0x07, 0x73, 0x71, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x45, 0x0a, 0x0f, 0x50, 0x61,- 0x63, 0x6b, 0x61, 0x67, 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, 0xc1, 0x03, 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, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x73, 0x63,- 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65,- 0x73, 0x63, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 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, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64,- 0x65, 0x78, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x63, 0x68, 0x65,- 0x6d, 0x61, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64,- 0x65, 0x78, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70,- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20,- 0x0a, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0d, 0x20,- 0x01, 0x28, 0x03, 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79,- 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e,- 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x73, 0x74,- 0x72, 0x61, 0x69, 0x6e, 0x74, 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, 0x40, 0x0a, 0x14, 0x49, 0x6e, 0x73, 0x74, 0x61,- 0x6e, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12,- 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x22, 0x3b, 0x0a, 0x07, 0x53, 0x65, 0x63,- 0x72, 0x65, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20,- 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,- 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52,- 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x58, 0x0a, 0x0a, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,- 0x49, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x09, 0x52, 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, 0x63, 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, 0x37, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,- 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43,- 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x4a,- 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xb1, 0x02, 0x0a, 0x0d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,- 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x74,- 0x61, 0x62, 0x6c, 0x65, 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, 0x54, 0x61, 0x62,- 0x6c, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65,- 0x73, 0x12, 0x49, 0x0a, 0x10, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f,- 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x46, 0x75, 0x6e,- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0f, 0x66, 0x75, 0x6e,- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x4c, 0x0a, 0x11,- 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,- 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75,- 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64,- 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x76, 0x69,- 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b,- 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,- 0x65, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x76, 0x69,- 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0xeb, 0x02, 0x0a, 0x0c, 0x54, 0x61,- 0x62, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37,- 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,- 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,- 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x07,- 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x46, 0x0a, 0x0d, 0x6f, 0x62, 0x6a, 0x65, 0x63,- 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,- 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x48, 0x00, 0x52, 0x0c,- 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x88, 0x01, 0x01, 0x12,- 0x26, 0x0a, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,- 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66,- 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07,- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63,- 0x65, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04,- 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e,- 0x63, 0x68, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74,- 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x87, 0x04, 0x0a, 0x0d, 0x43, 0x6f, 0x6c, 0x75,- 0x6d, 0x6e, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a,- 0x0d, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79,- 0x70, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03,- 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,- 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f,- 0x67, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c,- 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66,- 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63,- 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a,- 0x0d, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x05,+ 0x09, 0x52, 0x07, 0x73, 0x71, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,+ 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d,+ 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e,+ 0x63, 0x79, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32,+ 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,+ 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x54, 0x61, 0x62, 0x6c, 0x65,+ 0x52, 0x10, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x54, 0x61, 0x62, 0x6c,+ 0x65, 0x73, 0x22, 0x94, 0x02, 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, 0x12, 0x1c, 0x0a, 0x09,+ 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x68,+ 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6c, 0x69, 0x65,+ 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x68, 0x61, 0x72, 0x61, 0x63,+ 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x14,+ 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,+ 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x63, 0x6f, 0x6c, 0x6c,+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12,+ 0x2d, 0x0a, 0x12, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x6c,+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x64, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19,+ 0x0a, 0x08, 0x73, 0x71, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,+ 0x52, 0x07, 0x73, 0x71, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x45, 0x0a, 0x0f, 0x50, 0x61, 0x63,+ 0x6b, 0x61, 0x67, 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, 0xc1, 0x03, 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, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x73, 0x63, 0x65,+ 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x73,+ 0x63, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 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, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65,+ 0x78, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11,+ 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x63, 0x68, 0x65, 0x6d,+ 0x61, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65,+ 0x78, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x61,+ 0x72, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a,+ 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0d, 0x20, 0x01,+ 0x28, 0x03, 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12,+ 0x23, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74,+ 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72,+ 0x61, 0x69, 0x6e, 0x74, 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, 0x40, 0x0a, 0x14, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,+ 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12,+ 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,+ 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x22, 0x3b, 0x0a, 0x07, 0x53, 0x65, 0x63, 0x72,+ 0x65, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03,+ 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,+ 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05,+ 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x58, 0x0a, 0x0a, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49,+ 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x09, 0x52, 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,+ 0x63, 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, 0x37, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73,+ 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x61,+ 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x73, 0x4a, 0x04,+ 0x08, 0x03, 0x10, 0x04, 0x22, 0x59, 0x0a, 0x0d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x43, 0x61,+ 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x74, 0x61, 0x62,+ 0x6c, 0x65, 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, 0x54, 0x61, 0x62, 0x6c, 0x65,+ 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x22,+ 0xdd, 0x01, 0x0a, 0x0c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,+ 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18,+ 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x61, 0x74,+ 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x46, 0x0a,+ 0x0d, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x07,0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65,0x6d, 0x61, 0x48, 0x00, 0x52, 0x0c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65,- 0x6d, 0x61, 0x88, 0x01, 0x01, 0x12, 0x41, 0x0a, 0x0d, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67,- 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x61,- 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0c, 0x6d, 0x61, 0x73, 0x6b,- 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x39, 0x0a, 0x19, 0x66, 0x75, 0x6c, 0x6c,- 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74,- 0x68, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x66, 0x75, 0x6c,- 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68,- 0x6d, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x1c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x6d,- 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d,- 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x19, 0x70, 0x61, 0x72, 0x74, 0x69,- 0x61, 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74,- 0x68, 0x6d, 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,- 0x10, 0x0a, 0x0e, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d,- 0x61, 0x22, 0xe5, 0x04, 0x0a, 0x0c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65,- 0x6d, 0x61, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,- 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72,- 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54,- 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4a, 0x0a, 0x0b, 0x73, 0x74, 0x72,- 0x75, 0x63, 0x74, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27,+ 0x6d, 0x61, 0x88, 0x01, 0x01, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66,+ 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63,+ 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x10, 0x0a,+ 0x0e, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22,+ 0x87, 0x04, 0x0a, 0x0d, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f,+ 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69,+ 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65,+ 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x6c, 0x61,+ 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75,+ 0x6d, 0x6e, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,+ 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x26, 0x0a,+ 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,+ 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63,+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x0d, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f,+ 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x62,+ 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x48, 0x00, 0x52, 0x0c, 0x6f, 0x62,+ 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x88, 0x01, 0x01, 0x12, 0x41, 0x0a,+ 0x0d, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06,+ 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76,+ 0x65, 0x6c, 0x52, 0x0c, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c,+ 0x12, 0x39, 0x0a, 0x19, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67,+ 0x5f, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x16, 0x66, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67,+ 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x1c, 0x70,+ 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x61,+ 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28,+ 0x09, 0x52, 0x19, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x69, 0x6e,+ 0x67, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 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, 0x10, 0x0a, 0x0e, 0x5f, 0x6f, 0x62, 0x6a, 0x65,+ 0x63, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0xe5, 0x04, 0x0a, 0x0c, 0x4f, 0x62,+ 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79,+ 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74,+ 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70,+ 0x65, 0x12, 0x4a, 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f, 0x6b, 0x69, 0x6e, 0x64,+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63,+ 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x48,+ 0x00, 0x52, 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x47, 0x0a,+ 0x0a, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,+ 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,+ 0x72, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e,+ 0x41, 0x72, 0x72, 0x61, 0x79, 0x4b, 0x69, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x09, 0x61, 0x72, 0x72,+ 0x61, 0x79, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74,+ 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73,+ 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x1a, 0xc2, 0x01, 0x0a, 0x0a,+ 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x57, 0x0a, 0x0a, 0x70, 0x72,+ 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37,0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x74, 0x72,- 0x75, 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63,- 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x6b,- 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63,- 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4b, 0x69, 0x6e,- 0x64, 0x48, 0x00, 0x52, 0x09, 0x61, 0x72, 0x72, 0x61, 0x79, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x23,- 0x0a, 0x0d, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,- 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54,- 0x79, 0x70, 0x65, 0x1a, 0xc2, 0x01, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4b, 0x69,- 0x6e, 0x64, 0x12, 0x57, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73,- 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63,- 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x2e,- 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,- 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x0f, 0x50,- 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 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, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,- 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,- 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x05, 0x76,- 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3d, 0x0a, 0x09, 0x41, 0x72, 0x72, 0x61,- 0x79, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20,- 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,- 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d,- 0x61, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x58, 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, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10,- 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0b, 0x0a,- 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x42,- 0x4a, 0x45, 0x43, 0x54, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x52, 0x41, 0x59, 0x10,- 0x05, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0xb2, 0x01, 0x0a, 0x0e, 0x46, 0x75,- 0x6e, 0x63, 0x74, 0x69, 0x6f, 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, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,- 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72,- 0x12, 0x29, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63,- 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0c, 0x73,- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x41, 0x0a, 0x0b, 0x75,- 0x70, 0x64, 0x61, 0x74, 0x65, 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, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xb3,- 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 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, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,- 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,- 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2,- 0x41, 0x01, 0x03, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63,- 0x68, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 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, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,- 0x54, 0x69, 0x6d, 0x65, 0x22, 0xae, 0x01, 0x0a, 0x0a, 0x56, 0x69, 0x65, 0x77, 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, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07,- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63,- 0x65, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04,- 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e,- 0x63, 0x68, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 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, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x54, 0x69, 0x6d, 0x65, 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,+ 0x75, 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69,+ 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,+ 0x69, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65,+ 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, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,+ 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53,+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,+ 0x1a, 0x3d, 0x0a, 0x09, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x30, 0x0a,+ 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x62, 0x6a,+ 0x65, 0x63, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22,+ 0x58, 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, 0x0a, 0x0a,+ 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x55, 0x4d,+ 0x42, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e,+ 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x04, 0x12, 0x09,+ 0x0a, 0x05, 0x41, 0x52, 0x52, 0x41, 0x59, 0x10, 0x05, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e,+ 0x64, 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 (@@ -4606,7 +4271,7 @@ func file_store_database_proto_rawDescGZIP() []byte {}var file_store_database_proto_enumTypes = make([]protoimpl.EnumInfo, 6)-var file_store_database_proto_msgTypes = make([]protoimpl.MessageInfo, 42)+var file_store_database_proto_msgTypes = make([]protoimpl.MessageInfo, 39)var file_store_database_proto_goTypes = []any{(TaskMetadata_State)(0), // 0: bytebase.store.TaskMetadata.State(StreamMetadata_Type)(0), // 1: bytebase.store.StreamMetadata.Type@@ -4648,21 +4313,18 @@ var file_store_database_proto_goTypes = []any{(*TableCatalog)(nil), // 37: bytebase.store.TableCatalog(*ColumnCatalog)(nil), // 38: bytebase.store.ColumnCatalog(*ObjectSchema)(nil), // 39: bytebase.store.ObjectSchema- (*FunctionConfig)(nil), // 40: bytebase.store.FunctionConfig- (*ProcedureConfig)(nil), // 41: bytebase.store.ProcedureConfig- (*ViewConfig)(nil), // 42: bytebase.store.ViewConfig- nil, // 43: bytebase.store.DatabaseMetadata.LabelsEntry- nil, // 44: bytebase.store.ColumnCatalog.LabelsEntry- (*ObjectSchema_StructKind)(nil), // 45: bytebase.store.ObjectSchema.StructKind- (*ObjectSchema_ArrayKind)(nil), // 46: bytebase.store.ObjectSchema.ArrayKind- nil, // 47: bytebase.store.ObjectSchema.StructKind.PropertiesEntry- (*timestamppb.Timestamp)(nil), // 48: google.protobuf.Timestamp- (*wrapperspb.StringValue)(nil), // 49: google.protobuf.StringValue- (MaskingLevel)(0), // 50: bytebase.store.MaskingLevel+ nil, // 40: bytebase.store.DatabaseMetadata.LabelsEntry+ nil, // 41: bytebase.store.ColumnCatalog.LabelsEntry+ (*ObjectSchema_StructKind)(nil), // 42: bytebase.store.ObjectSchema.StructKind+ (*ObjectSchema_ArrayKind)(nil), // 43: bytebase.store.ObjectSchema.ArrayKind+ nil, // 44: bytebase.store.ObjectSchema.StructKind.PropertiesEntry+ (*timestamppb.Timestamp)(nil), // 45: google.protobuf.Timestamp+ (*wrapperspb.StringValue)(nil), // 46: google.protobuf.StringValue+ (MaskingLevel)(0), // 47: bytebase.store.MaskingLevel}var file_store_database_proto_depIdxs = []int32{- 43, // 0: bytebase.store.DatabaseMetadata.labels:type_name -> bytebase.store.DatabaseMetadata.LabelsEntry- 48, // 1: bytebase.store.DatabaseMetadata.last_sync_time:type_name -> google.protobuf.Timestamp+ 40, // 0: bytebase.store.DatabaseMetadata.labels:type_name -> bytebase.store.DatabaseMetadata.LabelsEntry+ 45, // 1: bytebase.store.DatabaseMetadata.last_sync_time:type_name -> google.protobuf.Timestamp9, // 2: bytebase.store.DatabaseSchemaMetadata.schemas:type_name -> bytebase.store.SchemaMetadata30, // 3: bytebase.store.DatabaseSchemaMetadata.extensions:type_name -> bytebase.store.ExtensionMetadata8, // 4: bytebase.store.DatabaseSchemaMetadata.linked_databases:type_name -> bytebase.store.LinkedDatabaseMetadata@@ -4691,7 +4353,7 @@ var file_store_database_proto_depIdxs = []int32{3, // 27: bytebase.store.TablePartitionMetadata.type:type_name -> bytebase.store.TablePartitionMetadata.Type19, // 28: bytebase.store.TablePartitionMetadata.subpartitions:type_name -> bytebase.store.TablePartitionMetadata29, // 29: bytebase.store.TablePartitionMetadata.indexes:type_name -> bytebase.store.IndexMetadata- 49, // 30: bytebase.store.ColumnMetadata.default:type_name -> google.protobuf.StringValue+ 46, // 30: bytebase.store.ColumnMetadata.default:type_name -> google.protobuf.StringValue21, // 31: bytebase.store.ColumnMetadata.generation:type_name -> bytebase.store.GenerationMetadata4, // 32: bytebase.store.GenerationMetadata.type:type_name -> bytebase.store.GenerationMetadata.Type23, // 33: bytebase.store.ViewMetadata.dependency_columns:type_name -> bytebase.store.DependencyColumn@@ -4704,29 +4366,22 @@ var file_store_database_proto_depIdxs = []int32{34, // 40: bytebase.store.Secrets.items:type_name -> bytebase.store.SecretItem36, // 41: bytebase.store.DatabaseConfig.schemas:type_name -> bytebase.store.SchemaCatalog37, // 42: bytebase.store.SchemaCatalog.tables:type_name -> bytebase.store.TableCatalog- 40, // 43: bytebase.store.SchemaCatalog.function_configs:type_name -> bytebase.store.FunctionConfig- 41, // 44: bytebase.store.SchemaCatalog.procedure_configs:type_name -> bytebase.store.ProcedureConfig- 42, // 45: bytebase.store.SchemaCatalog.view_configs:type_name -> bytebase.store.ViewConfig- 38, // 46: bytebase.store.TableCatalog.columns:type_name -> bytebase.store.ColumnCatalog- 39, // 47: bytebase.store.TableCatalog.object_schema:type_name -> bytebase.store.ObjectSchema- 48, // 48: bytebase.store.TableCatalog.update_time:type_name -> google.protobuf.Timestamp- 44, // 49: bytebase.store.ColumnCatalog.labels:type_name -> bytebase.store.ColumnCatalog.LabelsEntry- 39, // 50: bytebase.store.ColumnCatalog.object_schema:type_name -> bytebase.store.ObjectSchema- 50, // 51: bytebase.store.ColumnCatalog.masking_level:type_name -> bytebase.store.MaskingLevel- 5, // 52: bytebase.store.ObjectSchema.type:type_name -> bytebase.store.ObjectSchema.Type- 45, // 53: bytebase.store.ObjectSchema.struct_kind:type_name -> bytebase.store.ObjectSchema.StructKind- 46, // 54: bytebase.store.ObjectSchema.array_kind:type_name -> bytebase.store.ObjectSchema.ArrayKind- 48, // 55: bytebase.store.FunctionConfig.update_time:type_name -> google.protobuf.Timestamp- 48, // 56: bytebase.store.ProcedureConfig.update_time:type_name -> google.protobuf.Timestamp- 48, // 57: bytebase.store.ViewConfig.update_time:type_name -> google.protobuf.Timestamp- 47, // 58: bytebase.store.ObjectSchema.StructKind.properties:type_name -> bytebase.store.ObjectSchema.StructKind.PropertiesEntry- 39, // 59: bytebase.store.ObjectSchema.ArrayKind.kind:type_name -> bytebase.store.ObjectSchema- 39, // 60: bytebase.store.ObjectSchema.StructKind.PropertiesEntry.value:type_name -> bytebase.store.ObjectSchema- 61, // [61:61] is the sub-list for method output_type- 61, // [61:61] is the sub-list for method input_type- 61, // [61:61] is the sub-list for extension type_name- 61, // [61:61] is the sub-list for extension extendee- 0, // [0:61] is the sub-list for field type_name+ 38, // 43: bytebase.store.TableCatalog.columns:type_name -> bytebase.store.ColumnCatalog+ 39, // 44: bytebase.store.TableCatalog.object_schema:type_name -> bytebase.store.ObjectSchema+ 41, // 45: bytebase.store.ColumnCatalog.labels:type_name -> bytebase.store.ColumnCatalog.LabelsEntry+ 39, // 46: bytebase.store.ColumnCatalog.object_schema:type_name -> bytebase.store.ObjectSchema+ 47, // 47: bytebase.store.ColumnCatalog.masking_level:type_name -> bytebase.store.MaskingLevel+ 5, // 48: bytebase.store.ObjectSchema.type:type_name -> bytebase.store.ObjectSchema.Type+ 42, // 49: bytebase.store.ObjectSchema.struct_kind:type_name -> bytebase.store.ObjectSchema.StructKind+ 43, // 50: bytebase.store.ObjectSchema.array_kind:type_name -> bytebase.store.ObjectSchema.ArrayKind+ 44, // 51: bytebase.store.ObjectSchema.StructKind.properties:type_name -> bytebase.store.ObjectSchema.StructKind.PropertiesEntry+ 39, // 52: bytebase.store.ObjectSchema.ArrayKind.kind:type_name -> bytebase.store.ObjectSchema+ 39, // 53: bytebase.store.ObjectSchema.StructKind.PropertiesEntry.value:type_name -> bytebase.store.ObjectSchema+ 54, // [54:54] is the sub-list for method output_type+ 54, // [54:54] is the sub-list for method input_type+ 54, // [54:54] is the sub-list for extension type_name+ 54, // [54:54] is the sub-list for extension extendee+ 0, // [0:54] is the sub-list for field type_name}func init() { file_store_database_proto_init() }@@ -4752,7 +4407,7 @@ func file_store_database_proto_init() {GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_store_database_proto_rawDesc,NumEnums: 6,- NumMessages: 42,+ NumMessages: 39,NumExtensions: 0,NumServices: 0,},diff --git a/proto/generated-go/store/plan.pb.go b/proto/generated-go/store/plan.pb.goindex 8631932195..834c2c3485 100644--- a/proto/generated-go/store/plan.pb.go+++ b/proto/generated-go/store/plan.pb.go@@ -37,8 +37,6 @@ const (PlanConfig_ChangeDatabaseConfig_MIGRATE_SDL PlanConfig_ChangeDatabaseConfig_Type = 3// Used for DDL changes using gh-ost.PlanConfig_ChangeDatabaseConfig_MIGRATE_GHOST PlanConfig_ChangeDatabaseConfig_Type = 4- // Used when restoring from a backup (the restored database branched from the original backup).- PlanConfig_ChangeDatabaseConfig_BRANCH PlanConfig_ChangeDatabaseConfig_Type = 5// Used for DML change.PlanConfig_ChangeDatabaseConfig_DATA PlanConfig_ChangeDatabaseConfig_Type = 6)@@ -51,7 +49,6 @@ var (2: "MIGRATE",3: "MIGRATE_SDL",4: "MIGRATE_GHOST",- 5: "BRANCH",6: "DATA",}PlanConfig_ChangeDatabaseConfig_Type_value = map[string]int32{@@ -60,7 +57,6 @@ var ("MIGRATE": 2,"MIGRATE_SDL": 3,"MIGRATE_GHOST": 4,- "BRANCH": 5,"DATA": 6,})@@ -982,7 +978,7 @@ var file_store_plan_proto_rawDesc = []byte{0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f,0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f,0x74, 0x6f, 0x1a, 0x1a, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x63,- 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6,+ 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9a,0x17, 0x0a, 0x0a, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x35, 0x0a,0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62,0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c,@@ -1072,7 +1068,7 @@ var file_store_plan_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, 0x1a, 0xd7, 0x04, 0x0a, 0x14, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,+ 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xcb, 0x04, 0x0a, 0x14, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16,0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18,@@ -1100,78 +1096,77 @@ var file_store_plan_proto_rawDesc = []byte{0x67, 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, 0x71, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54,+ 0x02, 0x38, 0x01, 0x22, 0x65, 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, 0x42, 0x1b, 0x0a, 0x19, 0x5f, 0x70, 0x72, 0x65, 0x5f, 0x75,- 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x64, 0x65, 0x74,- 0x61, 0x69, 0x6c, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x1a,- 0xa4, 0x01, 0x0a, 0x10, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f,- 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05,- 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x68, 0x65,- 0x65, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01,- 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,- 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74,- 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73,- 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x70, 0x61,- 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70, 0x61,- 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x1a, 0x8e, 0x01, 0x0a, 0x09, 0x56, 0x43, 0x53, 0x53, 0x6f,- 0x75, 0x72, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x08, 0x76, 0x63, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65,- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x43, 0x53, 0x54, 0x79, 0x70, 0x65, 0x52,- 0x07, 0x76, 0x63, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x63, 0x73, 0x5f,- 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,- 0x0c, 0x76, 0x63, 0x73, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x28, 0x0a,- 0x10, 0x70, 0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x75, 0x72,- 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x55, 0x72, 0x6c, 0x1a, 0x44, 0x0a, 0x0d, 0x52, 0x65, 0x6c, 0x65, 0x61,- 0x73, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x6c, 0x65,- 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0xfa, 0x41, 0x16, 0x0a, 0x14,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x6c,- 0x65, 0x61, 0x73, 0x65, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x1a, 0x27, 0x0a,- 0x11, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x6f, 0x75, 0x72,- 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x1a, 0x8e, 0x04, 0x0a, 0x12, 0x44, 0x65, 0x70, 0x6c, 0x6f,- 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x84, 0x01,- 0x0a, 0x1a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e,- 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,- 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x44,+ 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x41, 0x10, 0x06, 0x42, 0x1b, 0x0a, 0x19, 0x5f, 0x70,+ 0x72, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70,+ 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08,+ 0x06, 0x10, 0x07, 0x1a, 0xa4, 0x01, 0x0a, 0x10, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x61,+ 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67,+ 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,+ 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74,+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x6f,+ 0x72, 0x6d, 0x61, 0x74, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1f, 0x0a, 0x08,+ 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,+ 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a,+ 0x09, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x1a, 0x8e, 0x01, 0x0a, 0x09, 0x56,+ 0x43, 0x53, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x08, 0x76, 0x63, 0x73, 0x5f,+ 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x43, 0x53, 0x54,+ 0x79, 0x70, 0x65, 0x52, 0x07, 0x76, 0x63, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d,+ 0x76, 0x63, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x0c, 0x76, 0x63, 0x73, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f,+ 0x72, 0x12, 0x28, 0x0a, 0x10, 0x70, 0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x75, 0x6c,+ 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x55, 0x72, 0x6c, 0x1a, 0x44, 0x0a, 0x0d, 0x52,+ 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x07,+ 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0xfa,+ 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d,+ 0x2f, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73,+ 0x65, 0x1a, 0x27, 0x0a, 0x11, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,+ 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x1a, 0x8e, 0x04, 0x0a, 0x12, 0x44,0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,- 0x74, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66,- 0x69, 0x67, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x18, 0x64, 0x65, 0x70, 0x6c,- 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6e, 0x61, 0x70,- 0x73, 0x68, 0x6f, 0x74, 0x12, 0x7d, 0x0a, 0x18, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73,- 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x74, 0x12, 0x84, 0x01, 0x0a, 0x1a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74,+ 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66,0x69, 0x67, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x6e, 0x61,- 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72,- 0x6f, 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x16, 0x64, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68,- 0x6f, 0x74, 0x73, 0x1a, 0x93, 0x01, 0x0a, 0x18, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65,- 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,- 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x4d, 0x0a, 0x11, 0x64, 0x65,- 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,- 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e,- 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,- 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x5c, 0x0a, 0x15, 0x44, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68,- 0x6f, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67,- 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x64, 0x61,- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 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,+ 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74,+ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x18,+ 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,+ 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x7d, 0x0a, 0x18, 0x64, 0x61, 0x74, 0x61,+ 0x62, 0x61, 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73,+ 0x68, 0x6f, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x6e,+ 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e,+ 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52,+ 0x16, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x6e,+ 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x73, 0x1a, 0x93, 0x01, 0x0a, 0x18, 0x44, 0x65, 0x70, 0x6c,+ 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6e, 0x61, 0x70,+ 0x73, 0x68, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,+ 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c,+ 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x4d,+ 0x0a, 0x11, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e,+ 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f,+ 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x64, 0x65, 0x70,+ 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x5c, 0x0a,+ 0x15, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x6e,+ 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1c, 0x0a,+ 0x09, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,+ 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 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/store/sheet.pb.go b/proto/generated-go/store/sheet.pb.goindex 40b9861592..ba850c32d0 100644--- a/proto/generated-go/store/sheet.pb.go+++ b/proto/generated-go/store/sheet.pb.go@@ -22,10 +22,6 @@ const (type SheetPayload struct {state protoimpl.MessageState `protogen:"open.v1"`- // The snapshot of the database config when creating the sheet, be used to compare with the baseline_database_config and apply the diff to the database.- DatabaseConfig *DatabaseConfig `protobuf:"bytes,1,opt,name=database_config,json=databaseConfig,proto3" json:"database_config,omitempty"`- // The snapshot of the baseline database config when creating the sheet.- BaselineDatabaseConfig *DatabaseConfig `protobuf:"bytes,2,opt,name=baseline_database_config,json=baselineDatabaseConfig,proto3" json:"baseline_database_config,omitempty"`// The SQL dialect.Engine Engine `protobuf:"varint,3,opt,name=engine,proto3,enum=bytebase.store.Engine" json:"engine,omitempty"`// The start and end position of each command in the sheet statement.@@ -64,20 +60,6 @@ func (*SheetPayload) Descriptor() ([]byte, []int) {return file_store_sheet_proto_rawDescGZIP(), []int{0}}-func (x *SheetPayload) GetDatabaseConfig() *DatabaseConfig {- if x != nil {- return x.DatabaseConfig- }- return nil-}--func (x *SheetPayload) GetBaselineDatabaseConfig() *DatabaseConfig {- if x != nil {- return x.BaselineDatabaseConfig- }- return nil-}-func (x *SheetPayload) GetEngine() Engine {if x != nil {return x.Engine@@ -150,32 +132,20 @@ var file_store_sheet_proto_rawDesc = []byte{0x0a, 0x11, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x2e, 0x70, 0x72,0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74,0x6f, 0x72, 0x65, 0x1a, 0x12, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,- 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x64,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x02,- 0x0a, 0x0c, 0x53, 0x68, 0x65, 0x65, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x47,- 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,- 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x58, 0x0a, 0x18, 0x62, 0x61, 0x73, 0x65, 0x6c,- 0x69, 0x6e, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e,- 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x16, 0x62, 0x61, 0x73, 0x65, 0x6c,- 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,- 0x67, 0x12, 0x2e, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,- 0x0e, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f,- 0x72, 0x65, 0x2e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e,- 0x65, 0x12, 0x38, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20,- 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73,- 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x68, 0x65, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,- 0x64, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x22, 0x36, 0x0a, 0x0c, 0x53,- 0x68, 0x65, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73,- 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72,- 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,- 0x65, 0x6e, 0x64, 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,+ 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x0c, 0x53, 0x68, 0x65, 0x65, 0x74,+ 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x2e, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e,+ 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x52,+ 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61,+ 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x68, 0x65, 0x65, 0x74,+ 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,+ 0x73, 0x22, 0x36, 0x0a, 0x0c, 0x53, 0x68, 0x65, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,+ 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,+ 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02,+ 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 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 (@@ -192,21 +162,18 @@ func file_store_sheet_proto_rawDescGZIP() []byte {var file_store_sheet_proto_msgTypes = make([]protoimpl.MessageInfo, 2)var file_store_sheet_proto_goTypes = []any{- (*SheetPayload)(nil), // 0: bytebase.store.SheetPayload- (*SheetCommand)(nil), // 1: bytebase.store.SheetCommand- (*DatabaseConfig)(nil), // 2: bytebase.store.DatabaseConfig- (Engine)(0), // 3: bytebase.store.Engine+ (*SheetPayload)(nil), // 0: bytebase.store.SheetPayload+ (*SheetCommand)(nil), // 1: bytebase.store.SheetCommand+ (Engine)(0), // 2: bytebase.store.Engine}var file_store_sheet_proto_depIdxs = []int32{- 2, // 0: bytebase.store.SheetPayload.database_config:type_name -> bytebase.store.DatabaseConfig- 2, // 1: bytebase.store.SheetPayload.baseline_database_config:type_name -> bytebase.store.DatabaseConfig- 3, // 2: bytebase.store.SheetPayload.engine:type_name -> bytebase.store.Engine- 1, // 3: bytebase.store.SheetPayload.commands:type_name -> bytebase.store.SheetCommand- 4, // [4:4] is the sub-list for method output_type- 4, // [4:4] is the sub-list for method input_type- 4, // [4:4] is the sub-list for extension type_name- 4, // [4:4] is the sub-list for extension extendee- 0, // [0:4] is the sub-list for field type_name+ 2, // 0: bytebase.store.SheetPayload.engine:type_name -> bytebase.store.Engine+ 1, // 1: bytebase.store.SheetPayload.commands:type_name -> bytebase.store.SheetCommand+ 2, // [2:2] is the sub-list for method output_type+ 2, // [2:2] is the sub-list for method input_type+ 2, // [2:2] is the sub-list for extension type_name+ 2, // [2:2] is the sub-list for extension extendee+ 0, // [0:2] is the sub-list for field type_name}func init() { file_store_sheet_proto_init() }@@ -215,7 +182,6 @@ func file_store_sheet_proto_init() {return}file_store_common_proto_init()- file_store_database_proto_init()type x struct{}out := protoimpl.TypeBuilder{File: protoimpl.DescBuilder{diff --git a/proto/generated-go/v1/database_service.pb.go b/proto/generated-go/v1/database_service.pb.goindex f0fc97e72c..c163943a7d 100644--- a/proto/generated-go/v1/database_service.pb.go+++ b/proto/generated-go/v1/database_service.pb.go@@ -449,7 +449,7 @@ func (x Changelog_Status) Number() protoreflect.EnumNumber {// Deprecated: Use Changelog_Status.Descriptor instead.func (Changelog_Status) EnumDescriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{75, 0}+ return file_v1_database_service_proto_rawDescGZIP(), []int{72, 0}}type Changelog_Type int32@@ -507,7 +507,7 @@ func (x Changelog_Type) Number() protoreflect.EnumNumber {// Deprecated: Use Changelog_Type.Descriptor instead.func (Changelog_Type) EnumDescriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{75, 1}+ return file_v1_database_service_proto_rawDescGZIP(), []int{72, 1}}type GetDatabaseRequest struct {@@ -4061,12 +4061,9 @@ type SchemaConfig struct {// It is an empty string for databases without such concept such as MySQL.Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`// The table_configs is the list of configs for tables in a schema.- TableConfigs []*TableConfig `protobuf:"bytes,2,rep,name=table_configs,json=tableConfigs,proto3" json:"table_configs,omitempty"`- FunctionConfigs []*FunctionConfig `protobuf:"bytes,3,rep,name=function_configs,json=functionConfigs,proto3" json:"function_configs,omitempty"`- ProcedureConfigs []*ProcedureConfig `protobuf:"bytes,4,rep,name=procedure_configs,json=procedureConfigs,proto3" json:"procedure_configs,omitempty"`- ViewConfigs []*ViewConfig `protobuf:"bytes,5,rep,name=view_configs,json=viewConfigs,proto3" json:"view_configs,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ TableConfigs []*TableConfig `protobuf:"bytes,2,rep,name=table_configs,json=tableConfigs,proto3" json:"table_configs,omitempty"`+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache}func (x *SchemaConfig) Reset() {@@ -4113,27 +4110,6 @@ func (x *SchemaConfig) GetTableConfigs() []*TableConfig {return nil}-func (x *SchemaConfig) GetFunctionConfigs() []*FunctionConfig {- if x != nil {- return x.FunctionConfigs- }- return nil-}--func (x *SchemaConfig) GetProcedureConfigs() []*ProcedureConfig {- if x != nil {- return x.ProcedureConfigs- }- return nil-}--func (x *SchemaConfig) GetViewConfigs() []*ViewConfig {- if x != nil {- return x.ViewConfigs- }- return nil-}-type TableConfig struct {state protoimpl.MessageState `protogen:"open.v1"`// The name is the name of a table.@@ -4141,16 +4117,8 @@ type TableConfig struct {// 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"`ClassificationId string `protobuf:"bytes,3,opt,name=classification_id,json=classificationId,proto3" json:"classification_id,omitempty"`- // The last updater of the table in branch.- // Format: users/{email}- Updater string `protobuf:"bytes,4,opt,name=updater,proto3" json:"updater,omitempty"`- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- SourceBranch string `protobuf:"bytes,6,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"`- // The timestamp when the table is updated in branch.- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache}func (x *TableConfig) Reset() {@@ -4204,249 +4172,6 @@ func (x *TableConfig) GetClassificationId() string {return ""}-func (x *TableConfig) GetUpdater() string {- if x != nil {- return x.Updater- }- return ""-}--func (x *TableConfig) GetSourceBranch() string {- if x != nil {- return x.SourceBranch- }- return ""-}--func (x *TableConfig) GetUpdateTime() *timestamppb.Timestamp {- if x != nil {- return x.UpdateTime- }- return nil-}--type FunctionConfig struct {- state protoimpl.MessageState `protogen:"open.v1"`- // The name is the name of a function.- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- // The last updater of the function in branch.- // Format: users/{email}- Updater string `protobuf:"bytes,2,opt,name=updater,proto3" json:"updater,omitempty"`- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- SourceBranch string `protobuf:"bytes,4,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"`- // The timestamp when the function is updated in branch.- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *FunctionConfig) Reset() {- *x = FunctionConfig{}- mi := &file_v1_database_service_proto_msgTypes[42]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *FunctionConfig) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*FunctionConfig) ProtoMessage() {}--func (x *FunctionConfig) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[42]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use FunctionConfig.ProtoReflect.Descriptor instead.-func (*FunctionConfig) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{42}-}--func (x *FunctionConfig) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *FunctionConfig) GetUpdater() string {- if x != nil {- return x.Updater- }- return ""-}--func (x *FunctionConfig) GetSourceBranch() string {- if x != nil {- return x.SourceBranch- }- return ""-}--func (x *FunctionConfig) GetUpdateTime() *timestamppb.Timestamp {- if x != nil {- return x.UpdateTime- }- return nil-}--type ProcedureConfig struct {- state protoimpl.MessageState `protogen:"open.v1"`- // The name is the name of a procedure.- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- // The last updater of the procedure in branch.- // Format: users/{email}- Updater string `protobuf:"bytes,2,opt,name=updater,proto3" json:"updater,omitempty"`- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- SourceBranch string `protobuf:"bytes,4,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"`- // The timestamp when the procedure is updated in branch.- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *ProcedureConfig) Reset() {- *x = ProcedureConfig{}- mi := &file_v1_database_service_proto_msgTypes[43]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *ProcedureConfig) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*ProcedureConfig) ProtoMessage() {}--func (x *ProcedureConfig) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[43]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use ProcedureConfig.ProtoReflect.Descriptor instead.-func (*ProcedureConfig) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{43}-}--func (x *ProcedureConfig) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *ProcedureConfig) GetUpdater() string {- if x != nil {- return x.Updater- }- return ""-}--func (x *ProcedureConfig) GetSourceBranch() string {- if x != nil {- return x.SourceBranch- }- return ""-}--func (x *ProcedureConfig) GetUpdateTime() *timestamppb.Timestamp {- if x != nil {- return x.UpdateTime- }- return nil-}--type ViewConfig struct {- state protoimpl.MessageState `protogen:"open.v1"`- // The name is the name of a view.- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`- // The last updater of the view in branch.- // Format: users/{email}- Updater string `protobuf:"bytes,2,opt,name=updater,proto3" json:"updater,omitempty"`- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- SourceBranch string `protobuf:"bytes,4,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"`- // The timestamp when the view is updated in branch.- UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache-}--func (x *ViewConfig) Reset() {- *x = ViewConfig{}- mi := &file_v1_database_service_proto_msgTypes[44]- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- ms.StoreMessageInfo(mi)-}--func (x *ViewConfig) String() string {- return protoimpl.X.MessageStringOf(x)-}--func (*ViewConfig) ProtoMessage() {}--func (x *ViewConfig) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[44]- if x != nil {- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))- if ms.LoadMessageInfo() == nil {- ms.StoreMessageInfo(mi)- }- return ms- }- return mi.MessageOf(x)-}--// Deprecated: Use ViewConfig.ProtoReflect.Descriptor instead.-func (*ViewConfig) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{44}-}--func (x *ViewConfig) GetName() string {- if x != nil {- return x.Name- }- return ""-}--func (x *ViewConfig) GetUpdater() string {- if x != nil {- return x.Updater- }- return ""-}--func (x *ViewConfig) GetSourceBranch() string {- if x != nil {- return x.SourceBranch- }- return ""-}--func (x *ViewConfig) GetUpdateTime() *timestamppb.Timestamp {- if x != nil {- return x.UpdateTime- }- return nil-}-type ColumnConfig struct {state protoimpl.MessageState `protogen:"open.v1"`// The name is the name of a column.@@ -4461,7 +4186,7 @@ type ColumnConfig struct {func (x *ColumnConfig) Reset() {*x = ColumnConfig{}- mi := &file_v1_database_service_proto_msgTypes[45]+ mi := &file_v1_database_service_proto_msgTypes[42]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4473,7 +4198,7 @@ func (x *ColumnConfig) String() string {func (*ColumnConfig) ProtoMessage() {}func (x *ColumnConfig) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[45]+ mi := &file_v1_database_service_proto_msgTypes[42]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4486,7 +4211,7 @@ func (x *ColumnConfig) ProtoReflect() protoreflect.Message {// Deprecated: Use ColumnConfig.ProtoReflect.Descriptor instead.func (*ColumnConfig) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{45}+ return file_v1_database_service_proto_rawDescGZIP(), []int{42}}func (x *ColumnConfig) GetName() string {@@ -4528,7 +4253,7 @@ type DatabaseSchema struct {func (x *DatabaseSchema) Reset() {*x = DatabaseSchema{}- mi := &file_v1_database_service_proto_msgTypes[46]+ mi := &file_v1_database_service_proto_msgTypes[43]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4540,7 +4265,7 @@ func (x *DatabaseSchema) String() string {func (*DatabaseSchema) ProtoMessage() {}func (x *DatabaseSchema) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[46]+ mi := &file_v1_database_service_proto_msgTypes[43]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4553,7 +4278,7 @@ func (x *DatabaseSchema) ProtoReflect() protoreflect.Message {// Deprecated: Use DatabaseSchema.ProtoReflect.Descriptor instead.func (*DatabaseSchema) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{46}+ return file_v1_database_service_proto_rawDescGZIP(), []int{43}}func (x *DatabaseSchema) GetSchema() string {@@ -4596,7 +4321,7 @@ type ListSlowQueriesRequest struct {func (x *ListSlowQueriesRequest) Reset() {*x = ListSlowQueriesRequest{}- mi := &file_v1_database_service_proto_msgTypes[47]+ mi := &file_v1_database_service_proto_msgTypes[44]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4608,7 +4333,7 @@ func (x *ListSlowQueriesRequest) String() string {func (*ListSlowQueriesRequest) ProtoMessage() {}func (x *ListSlowQueriesRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[47]+ mi := &file_v1_database_service_proto_msgTypes[44]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4621,7 +4346,7 @@ func (x *ListSlowQueriesRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ListSlowQueriesRequest.ProtoReflect.Descriptor instead.func (*ListSlowQueriesRequest) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{47}+ return file_v1_database_service_proto_rawDescGZIP(), []int{44}}func (x *ListSlowQueriesRequest) GetParent() string {@@ -4656,7 +4381,7 @@ type ListSlowQueriesResponse struct {func (x *ListSlowQueriesResponse) Reset() {*x = ListSlowQueriesResponse{}- mi := &file_v1_database_service_proto_msgTypes[48]+ mi := &file_v1_database_service_proto_msgTypes[45]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4668,7 +4393,7 @@ func (x *ListSlowQueriesResponse) String() string {func (*ListSlowQueriesResponse) ProtoMessage() {}func (x *ListSlowQueriesResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[48]+ mi := &file_v1_database_service_proto_msgTypes[45]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4681,7 +4406,7 @@ func (x *ListSlowQueriesResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use ListSlowQueriesResponse.ProtoReflect.Descriptor instead.func (*ListSlowQueriesResponse) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{48}+ return file_v1_database_service_proto_rawDescGZIP(), []int{45}}func (x *ListSlowQueriesResponse) GetSlowQueryLogs() []*SlowQueryLog {@@ -4708,7 +4433,7 @@ type SlowQueryLog struct {func (x *SlowQueryLog) Reset() {*x = SlowQueryLog{}- mi := &file_v1_database_service_proto_msgTypes[49]+ mi := &file_v1_database_service_proto_msgTypes[46]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4720,7 +4445,7 @@ func (x *SlowQueryLog) String() string {func (*SlowQueryLog) ProtoMessage() {}func (x *SlowQueryLog) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[49]+ mi := &file_v1_database_service_proto_msgTypes[46]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4733,7 +4458,7 @@ func (x *SlowQueryLog) ProtoReflect() protoreflect.Message {// Deprecated: Use SlowQueryLog.ProtoReflect.Descriptor instead.func (*SlowQueryLog) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{49}+ return file_v1_database_service_proto_rawDescGZIP(), []int{46}}func (x *SlowQueryLog) GetResource() string {@@ -4791,7 +4516,7 @@ type SlowQueryStatistics struct {func (x *SlowQueryStatistics) Reset() {*x = SlowQueryStatistics{}- mi := &file_v1_database_service_proto_msgTypes[50]+ mi := &file_v1_database_service_proto_msgTypes[47]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4803,7 +4528,7 @@ func (x *SlowQueryStatistics) String() string {func (*SlowQueryStatistics) ProtoMessage() {}func (x *SlowQueryStatistics) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[50]+ mi := &file_v1_database_service_proto_msgTypes[47]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4816,7 +4541,7 @@ func (x *SlowQueryStatistics) ProtoReflect() protoreflect.Message {// Deprecated: Use SlowQueryStatistics.ProtoReflect.Descriptor instead.func (*SlowQueryStatistics) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{50}+ return file_v1_database_service_proto_rawDescGZIP(), []int{47}}func (x *SlowQueryStatistics) GetSqlFingerprint() string {@@ -4924,7 +4649,7 @@ type SlowQueryDetails struct {func (x *SlowQueryDetails) Reset() {*x = SlowQueryDetails{}- mi := &file_v1_database_service_proto_msgTypes[51]+ mi := &file_v1_database_service_proto_msgTypes[48]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -4936,7 +4661,7 @@ func (x *SlowQueryDetails) String() string {func (*SlowQueryDetails) ProtoMessage() {}func (x *SlowQueryDetails) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[51]+ mi := &file_v1_database_service_proto_msgTypes[48]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -4949,7 +4674,7 @@ func (x *SlowQueryDetails) ProtoReflect() protoreflect.Message {// Deprecated: Use SlowQueryDetails.ProtoReflect.Descriptor instead.func (*SlowQueryDetails) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{51}+ return file_v1_database_service_proto_rawDescGZIP(), []int{48}}func (x *SlowQueryDetails) GetStartTime() *timestamppb.Timestamp {@@ -5018,7 +4743,7 @@ type ListSecretsRequest struct {func (x *ListSecretsRequest) Reset() {*x = ListSecretsRequest{}- mi := &file_v1_database_service_proto_msgTypes[52]+ mi := &file_v1_database_service_proto_msgTypes[49]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5030,7 +4755,7 @@ func (x *ListSecretsRequest) String() string {func (*ListSecretsRequest) ProtoMessage() {}func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[52]+ mi := &file_v1_database_service_proto_msgTypes[49]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5043,7 +4768,7 @@ func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ListSecretsRequest.ProtoReflect.Descriptor instead.func (*ListSecretsRequest) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{52}+ return file_v1_database_service_proto_rawDescGZIP(), []int{49}}func (x *ListSecretsRequest) GetParent() string {@@ -5080,7 +4805,7 @@ type ListSecretsResponse struct {func (x *ListSecretsResponse) Reset() {*x = ListSecretsResponse{}- mi := &file_v1_database_service_proto_msgTypes[53]+ mi := &file_v1_database_service_proto_msgTypes[50]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5092,7 +4817,7 @@ func (x *ListSecretsResponse) String() string {func (*ListSecretsResponse) ProtoMessage() {}func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[53]+ mi := &file_v1_database_service_proto_msgTypes[50]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5105,7 +4830,7 @@ func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use ListSecretsResponse.ProtoReflect.Descriptor instead.func (*ListSecretsResponse) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{53}+ return file_v1_database_service_proto_rawDescGZIP(), []int{50}}func (x *ListSecretsResponse) GetSecrets() []*Secret {@@ -5136,7 +4861,7 @@ type UpdateSecretRequest struct {func (x *UpdateSecretRequest) Reset() {*x = UpdateSecretRequest{}- mi := &file_v1_database_service_proto_msgTypes[54]+ mi := &file_v1_database_service_proto_msgTypes[51]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5148,7 +4873,7 @@ func (x *UpdateSecretRequest) String() string {func (*UpdateSecretRequest) ProtoMessage() {}func (x *UpdateSecretRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[54]+ mi := &file_v1_database_service_proto_msgTypes[51]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5161,7 +4886,7 @@ func (x *UpdateSecretRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use UpdateSecretRequest.ProtoReflect.Descriptor instead.func (*UpdateSecretRequest) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{54}+ return file_v1_database_service_proto_rawDescGZIP(), []int{51}}func (x *UpdateSecretRequest) GetSecret() *Secret {@@ -5197,7 +4922,7 @@ type DeleteSecretRequest struct {func (x *DeleteSecretRequest) Reset() {*x = DeleteSecretRequest{}- mi := &file_v1_database_service_proto_msgTypes[55]+ mi := &file_v1_database_service_proto_msgTypes[52]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5209,7 +4934,7 @@ func (x *DeleteSecretRequest) String() string {func (*DeleteSecretRequest) ProtoMessage() {}func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[55]+ mi := &file_v1_database_service_proto_msgTypes[52]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5222,7 +4947,7 @@ func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use DeleteSecretRequest.ProtoReflect.Descriptor instead.func (*DeleteSecretRequest) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{55}+ return file_v1_database_service_proto_rawDescGZIP(), []int{52}}func (x *DeleteSecretRequest) GetName() string {@@ -5253,7 +4978,7 @@ type Secret struct {func (x *Secret) Reset() {*x = Secret{}- mi := &file_v1_database_service_proto_msgTypes[56]+ mi := &file_v1_database_service_proto_msgTypes[53]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5265,7 +4990,7 @@ func (x *Secret) String() string {func (*Secret) ProtoMessage() {}func (x *Secret) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[56]+ mi := &file_v1_database_service_proto_msgTypes[53]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5278,7 +5003,7 @@ func (x *Secret) ProtoReflect() protoreflect.Message {// Deprecated: Use Secret.ProtoReflect.Descriptor instead.func (*Secret) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{56}+ return file_v1_database_service_proto_rawDescGZIP(), []int{53}}func (x *Secret) GetName() string {@@ -5329,7 +5054,7 @@ type AdviseIndexRequest struct {func (x *AdviseIndexRequest) Reset() {*x = AdviseIndexRequest{}- mi := &file_v1_database_service_proto_msgTypes[57]+ mi := &file_v1_database_service_proto_msgTypes[54]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5341,7 +5066,7 @@ func (x *AdviseIndexRequest) String() string {func (*AdviseIndexRequest) ProtoMessage() {}func (x *AdviseIndexRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[57]+ mi := &file_v1_database_service_proto_msgTypes[54]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5354,7 +5079,7 @@ func (x *AdviseIndexRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use AdviseIndexRequest.ProtoReflect.Descriptor instead.func (*AdviseIndexRequest) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{57}+ return file_v1_database_service_proto_rawDescGZIP(), []int{54}}func (x *AdviseIndexRequest) GetParent() string {@@ -5386,7 +5111,7 @@ type AdviseIndexResponse struct {func (x *AdviseIndexResponse) Reset() {*x = AdviseIndexResponse{}- mi := &file_v1_database_service_proto_msgTypes[58]+ mi := &file_v1_database_service_proto_msgTypes[55]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5398,7 +5123,7 @@ func (x *AdviseIndexResponse) String() string {func (*AdviseIndexResponse) ProtoMessage() {}func (x *AdviseIndexResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[58]+ mi := &file_v1_database_service_proto_msgTypes[55]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5411,7 +5136,7 @@ func (x *AdviseIndexResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use AdviseIndexResponse.ProtoReflect.Descriptor instead.func (*AdviseIndexResponse) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{58}+ return file_v1_database_service_proto_rawDescGZIP(), []int{55}}func (x *AdviseIndexResponse) GetCurrentIndex() string {@@ -5444,7 +5169,7 @@ type ChangedResources struct {func (x *ChangedResources) Reset() {*x = ChangedResources{}- mi := &file_v1_database_service_proto_msgTypes[59]+ mi := &file_v1_database_service_proto_msgTypes[56]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5456,7 +5181,7 @@ func (x *ChangedResources) String() string {func (*ChangedResources) ProtoMessage() {}func (x *ChangedResources) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[59]+ mi := &file_v1_database_service_proto_msgTypes[56]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5469,7 +5194,7 @@ func (x *ChangedResources) ProtoReflect() protoreflect.Message {// Deprecated: Use ChangedResources.ProtoReflect.Descriptor instead.func (*ChangedResources) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{59}+ return file_v1_database_service_proto_rawDescGZIP(), []int{56}}func (x *ChangedResources) GetDatabases() []*ChangedResourceDatabase {@@ -5489,7 +5214,7 @@ type ChangedResourceDatabase struct {func (x *ChangedResourceDatabase) Reset() {*x = ChangedResourceDatabase{}- mi := &file_v1_database_service_proto_msgTypes[60]+ mi := &file_v1_database_service_proto_msgTypes[57]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5501,7 +5226,7 @@ func (x *ChangedResourceDatabase) String() string {func (*ChangedResourceDatabase) ProtoMessage() {}func (x *ChangedResourceDatabase) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[60]+ mi := &file_v1_database_service_proto_msgTypes[57]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5514,7 +5239,7 @@ func (x *ChangedResourceDatabase) ProtoReflect() protoreflect.Message {// Deprecated: Use ChangedResourceDatabase.ProtoReflect.Descriptor instead.func (*ChangedResourceDatabase) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{60}+ return file_v1_database_service_proto_rawDescGZIP(), []int{57}}func (x *ChangedResourceDatabase) GetName() string {@@ -5544,7 +5269,7 @@ type ChangedResourceSchema struct {func (x *ChangedResourceSchema) Reset() {*x = ChangedResourceSchema{}- mi := &file_v1_database_service_proto_msgTypes[61]+ mi := &file_v1_database_service_proto_msgTypes[58]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5556,7 +5281,7 @@ func (x *ChangedResourceSchema) String() string {func (*ChangedResourceSchema) ProtoMessage() {}func (x *ChangedResourceSchema) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[61]+ mi := &file_v1_database_service_proto_msgTypes[58]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5569,7 +5294,7 @@ func (x *ChangedResourceSchema) ProtoReflect() protoreflect.Message {// Deprecated: Use ChangedResourceSchema.ProtoReflect.Descriptor instead.func (*ChangedResourceSchema) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{61}+ return file_v1_database_service_proto_rawDescGZIP(), []int{58}}func (x *ChangedResourceSchema) GetName() string {@@ -5618,7 +5343,7 @@ type ChangedResourceTable struct {func (x *ChangedResourceTable) Reset() {*x = ChangedResourceTable{}- mi := &file_v1_database_service_proto_msgTypes[62]+ mi := &file_v1_database_service_proto_msgTypes[59]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5630,7 +5355,7 @@ func (x *ChangedResourceTable) String() string {func (*ChangedResourceTable) ProtoMessage() {}func (x *ChangedResourceTable) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[62]+ mi := &file_v1_database_service_proto_msgTypes[59]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5643,7 +5368,7 @@ func (x *ChangedResourceTable) ProtoReflect() protoreflect.Message {// Deprecated: Use ChangedResourceTable.ProtoReflect.Descriptor instead.func (*ChangedResourceTable) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{62}+ return file_v1_database_service_proto_rawDescGZIP(), []int{59}}func (x *ChangedResourceTable) GetName() string {@@ -5671,7 +5396,7 @@ type ChangedResourceView struct {func (x *ChangedResourceView) Reset() {*x = ChangedResourceView{}- mi := &file_v1_database_service_proto_msgTypes[63]+ mi := &file_v1_database_service_proto_msgTypes[60]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5683,7 +5408,7 @@ func (x *ChangedResourceView) String() string {func (*ChangedResourceView) ProtoMessage() {}func (x *ChangedResourceView) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[63]+ mi := &file_v1_database_service_proto_msgTypes[60]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5696,7 +5421,7 @@ func (x *ChangedResourceView) ProtoReflect() protoreflect.Message {// Deprecated: Use ChangedResourceView.ProtoReflect.Descriptor instead.func (*ChangedResourceView) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{63}+ return file_v1_database_service_proto_rawDescGZIP(), []int{60}}func (x *ChangedResourceView) GetName() string {@@ -5724,7 +5449,7 @@ type ChangedResourceFunction struct {func (x *ChangedResourceFunction) Reset() {*x = ChangedResourceFunction{}- mi := &file_v1_database_service_proto_msgTypes[64]+ mi := &file_v1_database_service_proto_msgTypes[61]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5736,7 +5461,7 @@ func (x *ChangedResourceFunction) String() string {func (*ChangedResourceFunction) ProtoMessage() {}func (x *ChangedResourceFunction) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[64]+ mi := &file_v1_database_service_proto_msgTypes[61]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5749,7 +5474,7 @@ func (x *ChangedResourceFunction) ProtoReflect() protoreflect.Message {// Deprecated: Use ChangedResourceFunction.ProtoReflect.Descriptor instead.func (*ChangedResourceFunction) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{64}+ return file_v1_database_service_proto_rawDescGZIP(), []int{61}}func (x *ChangedResourceFunction) GetName() string {@@ -5777,7 +5502,7 @@ type ChangedResourceProcedure struct {func (x *ChangedResourceProcedure) Reset() {*x = ChangedResourceProcedure{}- mi := &file_v1_database_service_proto_msgTypes[65]+ mi := &file_v1_database_service_proto_msgTypes[62]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5789,7 +5514,7 @@ func (x *ChangedResourceProcedure) String() string {func (*ChangedResourceProcedure) ProtoMessage() {}func (x *ChangedResourceProcedure) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[65]+ mi := &file_v1_database_service_proto_msgTypes[62]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5802,7 +5527,7 @@ func (x *ChangedResourceProcedure) ProtoReflect() protoreflect.Message {// Deprecated: Use ChangedResourceProcedure.ProtoReflect.Descriptor instead.func (*ChangedResourceProcedure) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{65}+ return file_v1_database_service_proto_rawDescGZIP(), []int{62}}func (x *ChangedResourceProcedure) GetName() string {@@ -5841,7 +5566,7 @@ type ListRevisionsRequest struct {func (x *ListRevisionsRequest) Reset() {*x = ListRevisionsRequest{}- mi := &file_v1_database_service_proto_msgTypes[66]+ mi := &file_v1_database_service_proto_msgTypes[63]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5853,7 +5578,7 @@ func (x *ListRevisionsRequest) String() string {func (*ListRevisionsRequest) ProtoMessage() {}func (x *ListRevisionsRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[66]+ mi := &file_v1_database_service_proto_msgTypes[63]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5866,7 +5591,7 @@ func (x *ListRevisionsRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ListRevisionsRequest.ProtoReflect.Descriptor instead.func (*ListRevisionsRequest) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{66}+ return file_v1_database_service_proto_rawDescGZIP(), []int{63}}func (x *ListRevisionsRequest) GetParent() string {@@ -5909,7 +5634,7 @@ type ListRevisionsResponse struct {func (x *ListRevisionsResponse) Reset() {*x = ListRevisionsResponse{}- mi := &file_v1_database_service_proto_msgTypes[67]+ mi := &file_v1_database_service_proto_msgTypes[64]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5921,7 +5646,7 @@ func (x *ListRevisionsResponse) String() string {func (*ListRevisionsResponse) ProtoMessage() {}func (x *ListRevisionsResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[67]+ mi := &file_v1_database_service_proto_msgTypes[64]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5934,7 +5659,7 @@ func (x *ListRevisionsResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use ListRevisionsResponse.ProtoReflect.Descriptor instead.func (*ListRevisionsResponse) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{67}+ return file_v1_database_service_proto_rawDescGZIP(), []int{64}}func (x *ListRevisionsResponse) GetRevisions() []*Revision {@@ -5963,7 +5688,7 @@ type CreateRevisionRequest struct {func (x *CreateRevisionRequest) Reset() {*x = CreateRevisionRequest{}- mi := &file_v1_database_service_proto_msgTypes[68]+ mi := &file_v1_database_service_proto_msgTypes[65]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -5975,7 +5700,7 @@ func (x *CreateRevisionRequest) String() string {func (*CreateRevisionRequest) ProtoMessage() {}func (x *CreateRevisionRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[68]+ mi := &file_v1_database_service_proto_msgTypes[65]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -5988,7 +5713,7 @@ func (x *CreateRevisionRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use CreateRevisionRequest.ProtoReflect.Descriptor instead.func (*CreateRevisionRequest) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{68}+ return file_v1_database_service_proto_rawDescGZIP(), []int{65}}func (x *CreateRevisionRequest) GetParent() string {@@ -6016,7 +5741,7 @@ type GetRevisionRequest struct {func (x *GetRevisionRequest) Reset() {*x = GetRevisionRequest{}- mi := &file_v1_database_service_proto_msgTypes[69]+ mi := &file_v1_database_service_proto_msgTypes[66]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -6028,7 +5753,7 @@ func (x *GetRevisionRequest) String() string {func (*GetRevisionRequest) ProtoMessage() {}func (x *GetRevisionRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[69]+ mi := &file_v1_database_service_proto_msgTypes[66]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -6041,7 +5766,7 @@ func (x *GetRevisionRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use GetRevisionRequest.ProtoReflect.Descriptor instead.func (*GetRevisionRequest) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{69}+ return file_v1_database_service_proto_rawDescGZIP(), []int{66}}func (x *GetRevisionRequest) GetName() string {@@ -6062,7 +5787,7 @@ type DeleteRevisionRequest struct {func (x *DeleteRevisionRequest) Reset() {*x = DeleteRevisionRequest{}- mi := &file_v1_database_service_proto_msgTypes[70]+ mi := &file_v1_database_service_proto_msgTypes[67]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -6074,7 +5799,7 @@ func (x *DeleteRevisionRequest) String() string {func (*DeleteRevisionRequest) ProtoMessage() {}func (x *DeleteRevisionRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[70]+ mi := &file_v1_database_service_proto_msgTypes[67]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -6087,7 +5812,7 @@ func (x *DeleteRevisionRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use DeleteRevisionRequest.ProtoReflect.Descriptor instead.func (*DeleteRevisionRequest) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{70}+ return file_v1_database_service_proto_rawDescGZIP(), []int{67}}func (x *DeleteRevisionRequest) GetName() string {@@ -6139,7 +5864,7 @@ type Revision struct {func (x *Revision) Reset() {*x = Revision{}- mi := &file_v1_database_service_proto_msgTypes[71]+ mi := &file_v1_database_service_proto_msgTypes[68]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -6151,7 +5876,7 @@ func (x *Revision) String() string {func (*Revision) ProtoMessage() {}func (x *Revision) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[71]+ mi := &file_v1_database_service_proto_msgTypes[68]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -6164,7 +5889,7 @@ func (x *Revision) ProtoReflect() protoreflect.Message {// Deprecated: Use Revision.ProtoReflect.Descriptor instead.func (*Revision) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{71}+ return file_v1_database_service_proto_rawDescGZIP(), []int{68}}func (x *Revision) GetName() string {@@ -6324,7 +6049,7 @@ type ListChangelogsRequest struct {func (x *ListChangelogsRequest) Reset() {*x = ListChangelogsRequest{}- mi := &file_v1_database_service_proto_msgTypes[72]+ mi := &file_v1_database_service_proto_msgTypes[69]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -6336,7 +6061,7 @@ func (x *ListChangelogsRequest) String() string {func (*ListChangelogsRequest) ProtoMessage() {}func (x *ListChangelogsRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[72]+ mi := &file_v1_database_service_proto_msgTypes[69]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -6349,7 +6074,7 @@ func (x *ListChangelogsRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use ListChangelogsRequest.ProtoReflect.Descriptor instead.func (*ListChangelogsRequest) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{72}+ return file_v1_database_service_proto_rawDescGZIP(), []int{69}}func (x *ListChangelogsRequest) GetParent() string {@@ -6400,7 +6125,7 @@ type ListChangelogsResponse struct {func (x *ListChangelogsResponse) Reset() {*x = ListChangelogsResponse{}- mi := &file_v1_database_service_proto_msgTypes[73]+ mi := &file_v1_database_service_proto_msgTypes[70]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -6412,7 +6137,7 @@ func (x *ListChangelogsResponse) String() string {func (*ListChangelogsResponse) ProtoMessage() {}func (x *ListChangelogsResponse) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[73]+ mi := &file_v1_database_service_proto_msgTypes[70]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -6425,7 +6150,7 @@ func (x *ListChangelogsResponse) ProtoReflect() protoreflect.Message {// Deprecated: Use ListChangelogsResponse.ProtoReflect.Descriptor instead.func (*ListChangelogsResponse) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{73}+ return file_v1_database_service_proto_rawDescGZIP(), []int{70}}func (x *ListChangelogsResponse) GetChangelogs() []*Changelog {@@ -6460,7 +6185,7 @@ type GetChangelogRequest struct {func (x *GetChangelogRequest) Reset() {*x = GetChangelogRequest{}- mi := &file_v1_database_service_proto_msgTypes[74]+ mi := &file_v1_database_service_proto_msgTypes[71]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -6472,7 +6197,7 @@ func (x *GetChangelogRequest) String() string {func (*GetChangelogRequest) ProtoMessage() {}func (x *GetChangelogRequest) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[74]+ mi := &file_v1_database_service_proto_msgTypes[71]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -6485,7 +6210,7 @@ func (x *GetChangelogRequest) ProtoReflect() protoreflect.Message {// Deprecated: Use GetChangelogRequest.ProtoReflect.Descriptor instead.func (*GetChangelogRequest) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{74}+ return file_v1_database_service_proto_rawDescGZIP(), []int{71}}func (x *GetChangelogRequest) GetName() string {@@ -6551,7 +6276,7 @@ type Changelog struct {func (x *Changelog) Reset() {*x = Changelog{}- mi := &file_v1_database_service_proto_msgTypes[75]+ mi := &file_v1_database_service_proto_msgTypes[72]ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))ms.StoreMessageInfo(mi)}@@ -6563,7 +6288,7 @@ func (x *Changelog) String() string {func (*Changelog) ProtoMessage() {}func (x *Changelog) ProtoReflect() protoreflect.Message {- mi := &file_v1_database_service_proto_msgTypes[75]+ mi := &file_v1_database_service_proto_msgTypes[72]if x != nil {ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))if ms.LoadMessageInfo() == nil {@@ -6576,7 +6301,7 @@ func (x *Changelog) ProtoReflect() protoreflect.Message {// Deprecated: Use Changelog.ProtoReflect.Descriptor instead.func (*Changelog) Descriptor() ([]byte, []int) {- return file_v1_database_service_proto_rawDescGZIP(), []int{75}+ return file_v1_database_service_proto_rawDescGZIP(), []int{72}}func (x *Changelog) GetName() string {@@ -7340,26 +7065,13 @@ var file_v1_database_service_proto_rawDesc = []byte{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, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22,- 0xb0, 0x02, 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, 0x12, 0x46, 0x0a, 0x10, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f,- 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x75, 0x6e, 0x63,- 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0f, 0x66, 0x75, 0x6e, 0x63,- 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x49, 0x0a, 0x11, 0x70,- 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,- 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x43, 0x6f,- 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x43,- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x63,- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x43,- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x76, 0x69, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69,- 0x67, 0x73, 0x22, 0x9e, 0x02, 0x0a, 0x0b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66,+ 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,@@ -7368,680 +7080,637 @@ var file_v1_database_service_proto_rawDesc = []byte{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, 0x12, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72,- 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75, 0x70,- 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f,- 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,- 0x01, 0x03, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68,- 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54,- 0x69, 0x6d, 0x65, 0x22, 0xb2, 0x01, 0x0a, 0x0e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,+ 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, 0x1e, 0x0a, 0x07, 0x75, 0x70,- 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01,- 0x03, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x0d, 0x73, 0x6f,- 0x75, 0x72, 0x63, 0x65, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28,- 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42,- 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x41, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 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, 0x0a, 0x75, 0x70,- 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xb3, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x6f,- 0x63, 0x65, 0x64, 0x75, 0x72, 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, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,- 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72,- 0x12, 0x29, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63,- 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0c, 0x73,- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x41, 0x0a, 0x0b, 0x75,- 0x70, 0x64, 0x61, 0x74, 0x65, 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, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xae,- 0x01, 0x0a, 0x0a, 0x56, 0x69, 0x65, 0x77, 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, 0x1e, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01,- 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,- 0x72, 0x12, 0x29, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x62, 0x72, 0x61, 0x6e,- 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0c,- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x41, 0x0a, 0x0b,- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 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, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 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,- 0x82, 0x01, 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, 0x35, 0x0a, 0x06, 0x70, 0x61,- 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xe2, 0x41, 0x01, 0x02,- 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f,- 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 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,- 0x03, 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, 0x03, 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, 0x03, 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, 0x03, 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, 0x03, 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,+ 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, 0x82, 0x01, 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, 0x35, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,+ 0x42, 0x1d, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 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, 0x03, 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, 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, 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, 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, 0x03, 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, 0x03,- 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, 0x88, 0x01, 0x0a, 0x12, 0x4c, 0x69,- 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,- 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x42, 0x1e, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 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,- 0x49, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc8, 0x02, 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, 0x3a, 0x5c, 0xea, 0x41, 0x59, 0x0a, 0x1b, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x3a, 0x69, 0x6e, 0x73, 0x74, 0x61,- 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f,- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x73, 0x65,- 0x63, 0x72, 0x65, 0x74, 0x7d, 0x22, 0x6a, 0x0a, 0x12, 0x41, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49,- 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x06, 0x70,- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xe2, 0x41, 0x01,- 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63,- 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 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, 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,+ 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, 0x03, 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, 0x03, 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, 0x03, 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, 0x03, 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, 0x03, 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, 0x03, 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,+ 0x88, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x17, 0x0a,+ 0x15, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 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, 0x49, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53,+ 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xe2, 0x41, 0x01, 0x02,+ 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f,+ 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x22, 0xc8, 0x02, 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, 0x3a, 0x5c, 0xea,+ 0x41, 0x59, 0x0a, 0x1b, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d,+ 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12,+ 0x3a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74,+ 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f,+ 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65,+ 0x74, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x7d, 0x22, 0x6a, 0x0a, 0x12, 0x41,+ 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x09, 0x42, 0x1e, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 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, 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, 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, 0xa9, 0x02, 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, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,- 0x0b, 0x32, 0x20, 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, 0x56,- 0x69, 0x65, 0x77, 0x52, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x66, 0x75,- 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 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, 0x46, 0x75, 0x6e, 0x63, 0x74,- 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x45,- 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03,- 0x28, 0x0b, 0x32, 0x25, 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,- 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65,- 0x64, 0x75, 0x72, 0x65, 0x73, 0x22, 0x56, 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,+ 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, 0x2a, 0x0a, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,- 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x55, 0x0a,- 0x13, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,- 0x56, 0x69, 0x65, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x61, 0x6e, 0x67,- 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x06, 0x72, 0x61,- 0x6e, 0x67, 0x65, 0x73, 0x22, 0x59, 0x0a, 0x17, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52,- 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12,- 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20,- 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22,- 0x5a, 0x0a, 0x18, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,- 0x63, 0x65, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,- 0x2a, 0x0a, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,- 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x61,- 0x6e, 0x67, 0x65, 0x52, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0xad, 0x01, 0x0a, 0x14,- 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 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, 0x21, 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x77,- 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b,- 0x73, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x74, 0x0a, 0x15, 0x4c,- 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70,- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,- 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x09,- 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 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, 0x88, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69,- 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x06, 0x70,- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xe2, 0x41, 0x01,- 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63,- 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72,- 0x65, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18,- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xe2, 0x41,- 0x01, 0x02, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x48, 0x0a, 0x12,- 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x12, 0x32, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,- 0x42, 0x1e, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4b, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,- 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,- 0x32, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xe2,- 0x41, 0x01, 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x22, 0xab, 0x05, 0x0a, 0x08, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,- 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18,- 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,- 0x52, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x07, 0x63, 0x72, 0x65,- 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03,- 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x63, 0x72, 0x65,- 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 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, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07,- 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64,- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x64,- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c,- 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x18, 0x0a,- 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,- 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74,- 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x42, 0x17, 0xfa, 0x41, 0x14, 0x0a, 0x12, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52,- 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x68, 0x65, 0x65, 0x74, 0x5f,- 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,- 0x01, 0x03, 0x52, 0x0b, 0x73, 0x68, 0x65, 0x65, 0x74, 0x53, 0x68, 0x61, 0x32, 0x35, 0x36, 0x12,- 0x22, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01,- 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d,- 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74,- 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x42, 0x04, 0xe2, 0x41, 0x01,- 0x03, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65,- 0x12, 0x2d, 0x0a, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42,- 0x17, 0xfa, 0x41, 0x14, 0x0a, 0x12, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63,- 0x6f, 0x6d, 0x2f, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12,- 0x34, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28,- 0x09, 0x42, 0x19, 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x52, 0x07, 0x74, 0x61,- 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x3a, 0x5a, 0xea, 0x41, 0x57, 0x0a, 0x15, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f,- 0x6e, 0x12, 0x3e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e,- 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x72, 0x65, 0x76,- 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,- 0x7d, 0x22, 0xd3, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,- 0x6c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x06, 0x70,- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xe2, 0x41, 0x01,- 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63,- 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 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,- 0x2e, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e,+ 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,+ 0xa9, 0x02, 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, 0x6c, 0x6f, 0x67, 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, 0x78, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x43,- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,- 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x18,- 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x52, 0x0a, 0x63,- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 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, 0xbb, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c,- 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d,- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x20,- 0x0a, 0x1e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44,- 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67,- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02,- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 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, 0x22,- 0x96, 0x07, 0x0a, 0x09, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 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, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01,- 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x63,- 0x72, 0x65, 0x61, 0x74, 0x65, 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, 0x0a, 0x63, 0x72,- 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,- 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67,- 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,- 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 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,- 0x06, 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, 0x07, 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, 0x08, 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, 0x09, 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, 0x0a, 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, 0x0b, 0x20, 0x01, 0x28,- 0x03, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x76, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x69, 0x7a,- 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09,- 0x52, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x5f,- 0x72, 0x75, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x52,- 0x75, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20,- 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08,- 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,- 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x6e,- 0x67, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x10, 0x20,- 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65,+ 0x52, 0x06, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x69, 0x65, 0x77,+ 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 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, 0x56, 0x69, 0x65, 0x77, 0x52, 0x05, 0x76, 0x69, 0x65, 0x77, 0x73,+ 0x12, 0x42, 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 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, 0x73, 0x52, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75,- 0x72, 0x63, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x11, 0x20, 0x01,- 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52,- 0x04, 0x74, 0x79, 0x70, 0x65, 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, 0x65, 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, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x41, 0x10,- 0x06, 0x3a, 0x65, 0xea, 0x41, 0x62, 0x0a, 0x1e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74,+ 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72,+ 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 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, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x52,+ 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x22, 0x56, 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, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65,+ 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x06, 0x72, 0x61, 0x6e,+ 0x67, 0x65, 0x73, 0x22, 0x55, 0x0a, 0x13, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65,+ 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x69, 0x65, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,+ 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2a,+ 0x0a, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x61, 0x6e,+ 0x67, 0x65, 0x52, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x59, 0x0a, 0x17, 0x43, 0x68,+ 0x61, 0x6e, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x75, 0x6e,+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x61, 0x6e,+ 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x06, 0x72,+ 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x5a, 0x0a, 0x18, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64,+ 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72,+ 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18,+ 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x06, 0x72, 0x61, 0x6e, 0x67, 0x65,+ 0x73, 0x22, 0xad, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69,+ 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61,+ 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xe2, 0x41, 0x01, 0x02,+ 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f,+ 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 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, 0x21,+ 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x04,+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,+ 0x64, 0x22, 0x74, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f,+ 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x72, 0x65,+ 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69,+ 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 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, 0x88, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61,+ 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x09, 0x42, 0x1e, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x72, 0x65, 0x76,+ 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69,+ 0x6f, 0x6e, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69,+ 0x6f, 0x6e, 0x22, 0x48, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f,+ 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x17, 0x0a,+ 0x15, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65,+ 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4b, 0x0a, 0x15,+ 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65,+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x09, 0x42, 0x1e, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x76, 0x69, 0x73,+ 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xab, 0x05, 0x0a, 0x08, 0x52, 0x65,+ 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65,+ 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0xfa, 0x41, 0x16,+ 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52,+ 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12,+ 0x1e, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,+ 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12,+ 0x41, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04,+ 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, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69,+ 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b,+ 0x64, 0x65, 0x6c, 0x65, 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, 0x42, 0x04, 0xe2,+ 0x41, 0x01, 0x03, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,+ 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66,+ 0x69, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a,+ 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x42, 0x17, 0xfa, 0x41,+ 0x14, 0x0a, 0x12, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,+ 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x12, 0x27, 0x0a, 0x0c,+ 0x73, 0x68, 0x65, 0x65, 0x74, 0x5f, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x18, 0x0a, 0x20, 0x01,+ 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x73, 0x68, 0x65, 0x65, 0x74, 0x53,+ 0x68, 0x61, 0x32, 0x35, 0x36, 0x12, 0x22, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65,+ 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x09,+ 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x0e, 0x73, 0x74, 0x61,+ 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28,+ 0x03, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65,+ 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x18,+ 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x17, 0xfa, 0x41, 0x14, 0x0a, 0x12, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x05,+ 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x72, 0x75,+ 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x52,+ 0x75, 0x6e, 0x52, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x3a, 0x5a, 0xea, 0x41, 0x57,+ 0x0a, 0x15, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52,+ 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,+ 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x64, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65,+ 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x22, 0xd3, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74,+ 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,+ 0x09, 0x42, 0x1e, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,+ 0x65, 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, 0x2e, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20,+ 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 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, 0x78, 0x0a,+ 0x16, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x52,+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67,+ 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,+ 0x6c, 0x6f, 0x67, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 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, 0xbb, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43,+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,+ 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe2,+ 0x41, 0x01, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x68, 0x61,- 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x12, 0x40, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,- 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x64, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x7d, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x63, 0x68,- 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x7d, 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, 0x62, 0x0a, 0x0d,- 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x56, 0x69, 0x65, 0x77, 0x12, 0x1e, 0x0a,- 0x1a, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x4f, 0x47, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f,- 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a,- 0x14, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x4f, 0x47, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f,- 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x48, 0x41, 0x4e, 0x47,- 0x45, 0x4c, 0x4f, 0x47, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02,- 0x32, 0x84, 0x1c, 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72,- 0x76, 0x69, 0x63, 0x65, 0x12, 0x90, 0x01, 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, 0x49, 0xda, 0x41,- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 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, 0xb5, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74,- 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x73, 0x12, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x62,- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49,- 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x45, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30,- 0x10, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x65,- 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 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,- 0xc4, 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, 0x6c, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30,- 0x11, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x6c, 0x69,- 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4a, 0x5a, 0x25, 0x12, 0x23,- 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x77, 0x6f, 0x72, 0x6b,- 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x73, 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, 0xc0, 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, 0x73, 0xda, 0x41, 0x14, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30,- 0x13, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x75, 0x70,- 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 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, 0xc5, 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, 0x58, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e,- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,- 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 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, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x04,+ 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c,+ 0x6f, 0x67, 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, 0x22, 0x96, 0x07, 0x0a, 0x09, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,+ 0x6c, 0x6f, 0x67, 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, 0x72, 0x65, 0x61, 0x74,+ 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f,+ 0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 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, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35,+ 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61,+ 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73,+ 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65,+ 0x6e, 0x74, 0x18, 0x05, 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, 0x06, 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, 0x07, 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, 0x08, 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, 0x09, 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, 0x0a, 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, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x76, 0x53, 0x63, 0x68,+ 0x65, 0x6d, 0x61, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65,+ 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x19, 0x0a,+ 0x08, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52,+ 0x07, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x75, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73,+ 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,+ 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0f,+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4a,+ 0x0a, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,+ 0x63, 0x65, 0x73, 0x18, 0x10, 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, 0x12, 0x2f, 0x0a, 0x04, 0x74, 0x79,+ 0x70, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67,+ 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 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, 0x65, 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, 0x08, 0x0a,+ 0x04, 0x44, 0x41, 0x54, 0x41, 0x10, 0x06, 0x3a, 0x65, 0xea, 0x41, 0x62, 0x0a, 0x1e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62,+ 0x61, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x12, 0x40, 0x69, 0x6e,+ 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,+ 0x65, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f,+ 0x67, 0x73, 0x2f, 0x7b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x7d, 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, 0x62, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x56,+ 0x69, 0x65, 0x77, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x4f, 0x47,+ 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,+ 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x4f, 0x47,+ 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x17, 0x0a,+ 0x13, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x4c, 0x4f, 0x47, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f,+ 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x32, 0x84, 0x1c, 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x62,+ 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x90, 0x01, 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, 0x49, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x10, 0x62,+ 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90,+ 0xea, 0x30, 0x01, 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, 0xb5, 0x01,+ 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,+ 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,+ 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,+ 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x61, 0x74,+ 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x45,+ 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,+ 0x63, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02,+ 0x24, 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, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74,- 0x65, 0x12, 0xa0, 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, 0x4b, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e,- 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x90, 0xea,- 0x30, 0x01, 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, 0xb0, 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, 0x51, 0x8a, 0xea, 0x30, 0x16, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,- 0x90, 0xea, 0x30, 0x01, 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, 0xa8, 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, 0x4f, 0x8a, 0xea, 0x30, 0x16, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,- 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x90, 0xea, 0x30,- 0x01, 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, 0xe1, 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, 0x91, 0x01, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4,- 0x93, 0x02, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x3f, 0x3a, 0x01, 0x2a, 0x22, 0x3a, 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, 0x6c, 0x6f, 0x67, 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, 0xad, 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, 0x4f, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,- 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x73, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69,- 0x65, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02,- 0x25, 0x12, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70,- 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x6c, 0x6f, 0x77, 0x51,- 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xae, 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, 0x5c, 0xda, 0x41, 0x06, 0x70, 0x61,- 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x17, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62,- 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90,- 0xea, 0x30, 0x01, 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, 0xaf, 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,- 0x68, 0x8a, 0xea, 0x30, 0x19, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,- 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea,- 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 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, 0xa3, 0x01, 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, 0x59, 0x8a, 0xea, 0x30, 0x19, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2e, 0x64, 0x65, 0x6c,- 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02,- 0x2e, 0x2a, 0x2c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x69, 0x6e, 0x73,+ 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0xc4, 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, 0x6c,+ 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93,+ 0x02, 0x4a, 0x5a, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,+ 0x74, 0x3d, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 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, 0xc0, 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, 0x73, 0xda, 0x41, 0x14, 0x64,+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d,+ 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea,+ 0x30, 0x01, 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,+ 0xc5, 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, 0x58, 0x8a,+ 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e,+ 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 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, 0xa0, 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, 0x4b, 0x8a,+ 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e,+ 0x73, 0x79, 0x6e, 0x63, 0x90, 0xea, 0x30, 0x01, 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, 0xb0, 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, 0x51, 0x8a, 0xea, 0x30, 0x16,+ 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74,+ 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x90, 0xea, 0x30, 0x01, 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, 0xa8, 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, 0x4f, 0x8a, 0xea, 0x30, 0x16, 0x62, 0x62, 0x2e,+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x53, 0x63, 0x68,+ 0x65, 0x6d, 0x61, 0x90, 0xea, 0x30, 0x01, 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, 0xe1, 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, 0x91, 0x01, 0x8a, 0xea, 0x30, 0x10, 0x62,+ 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90,+ 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x3f, 0x3a, 0x01,+ 0x2a, 0x22, 0x3a, 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, 0x6c, 0x6f, 0x67, 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, 0xad, 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, 0x4f, 0xda, 0x41, 0x06,+ 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x73, 0x6c, 0x6f,+ 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30,+ 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61,+ 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d,+ 0x2f, 0x73, 0x6c, 0x6f, 0x77, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0xae, 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,+ 0x5c, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x17, 0x62, 0x62,+ 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73,+ 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 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, 0xaf, 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, 0x68, 0x8a, 0xea, 0x30, 0x19, 0x62, 0x62, 0x2e, 0x64, 0x61,+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2e, 0x75, 0x70,+ 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 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,- 0xb3, 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, 0x61, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30,- 0x18, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2e, 0x61, 0x64,- 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x90, 0xea, 0x30, 0x01, 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, 0xb0, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,- 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69,- 0x6f, 0x6e, 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, 0x52, 0x65, 0x76,- 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x58,- 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e,- 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea,- 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,+ 0xa3, 0x01, 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, 0x59, 0x8a, 0xea, 0x30, 0x19,+ 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65,+ 0x74, 0x73, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30,+ 0x01, 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, 0xb3, 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, 0x61, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72,+ 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x18, 0x62, 0x62, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,+ 0x73, 0x65, 0x73, 0x2e, 0x61, 0x64, 0x76, 0x69, 0x73, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x90,+ 0xea, 0x30, 0x01, 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, 0xb0, 0x01, 0x0a, 0x0d,+ 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,+ 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 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, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70,+ 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x58, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a,+ 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e,+ 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e,+ 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, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x9c,+ 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f,+ 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,+ 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,+ 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,+ 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x55, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a,+ 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e,+ 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 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, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa8, 0x01,+ 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,+ 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x5b, 0x8a, 0xea, 0x30,+ 0x13, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x63, 0x72,+ 0x65, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x3a, 0x08,+ 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 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, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72,- 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x9c, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74,- 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69,- 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,- 0x22, 0x55, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e,- 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30,- 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 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, 0x72, 0x65, 0x76, 0x69, 0x73,- 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa8, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61,- 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52,- 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76,- 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x5b, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x72, 0x65,- 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x90, 0xea,- 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x3a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69,- 0x6f, 0x6e, 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, 0x2f, 0x64, 0x61, 0x74, 0x61,- 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f,- 0x6e, 0x73, 0x12, 0xa6, 0x01, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x76,- 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,- 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69,- 0x6f, 0x6e, 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, 0x58, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62,- 0x2e, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74,- 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x2a, 0x2e, 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, 0x72,- 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb5, 0x01, 0x0a, 0x0e,- 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x22,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,- 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x52,- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65,- 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c,- 0x6f, 0x67, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93,- 0x02, 0x31, 0x12, 0x2f, 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, 0x6c,- 0x6f, 0x67, 0x73, 0x12, 0xa1, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67,- 0x65, 0x6c, 0x6f, 0x67, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x52,- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x22, 0x57,- 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x11, 0x62, 0x62, 0x2e, 0x63, 0x68,- 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01,- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 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,- 0x6c, 0x6f, 0x67, 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,+ 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xa6, 0x01, 0x0a, 0x0e, 0x44, 0x65, 0x6c,+ 0x65, 0x74, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,+ 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 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, 0x58, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73,+ 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02,+ 0x30, 0x2a, 0x2e, 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, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a,+ 0x7d, 0x12, 0xb5, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,+ 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x22, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,+ 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67,+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67,+ 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0xda,+ 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x8a, 0xea, 0x30, 0x12, 0x62, 0x62, 0x2e, 0x63,+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea,+ 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 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, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0xa1, 0x01, 0x0a, 0x0c, 0x47, 0x65,+ 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74,+ 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e,+ 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x62,+ 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67,+ 0x65, 0x6c, 0x6f, 0x67, 0x22, 0x57, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30,+ 0x11, 0x62, 0x62, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x67,+ 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 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, 0x6c, 0x6f, 0x67, 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 (@@ -8057,7 +7726,7 @@ func file_v1_database_service_proto_rawDescGZIP() []byte {}var file_v1_database_service_proto_enumTypes = make([]protoimpl.EnumInfo, 9)-var file_v1_database_service_proto_msgTypes = make([]protoimpl.MessageInfo, 78)+var file_v1_database_service_proto_msgTypes = make([]protoimpl.MessageInfo, 75)var file_v1_database_service_proto_goTypes = []any{(DatabaseMetadataView)(0), // 0: bytebase.v1.DatabaseMetadataView(ChangelogView)(0), // 1: bytebase.v1.ChangelogView@@ -8110,62 +7779,59 @@ var file_v1_database_service_proto_goTypes = []any{(*DatabaseConfig)(nil), // 48: bytebase.v1.DatabaseConfig(*SchemaConfig)(nil), // 49: bytebase.v1.SchemaConfig(*TableConfig)(nil), // 50: bytebase.v1.TableConfig- (*FunctionConfig)(nil), // 51: bytebase.v1.FunctionConfig- (*ProcedureConfig)(nil), // 52: bytebase.v1.ProcedureConfig- (*ViewConfig)(nil), // 53: bytebase.v1.ViewConfig- (*ColumnConfig)(nil), // 54: bytebase.v1.ColumnConfig- (*DatabaseSchema)(nil), // 55: bytebase.v1.DatabaseSchema- (*ListSlowQueriesRequest)(nil), // 56: bytebase.v1.ListSlowQueriesRequest- (*ListSlowQueriesResponse)(nil), // 57: bytebase.v1.ListSlowQueriesResponse- (*SlowQueryLog)(nil), // 58: bytebase.v1.SlowQueryLog- (*SlowQueryStatistics)(nil), // 59: bytebase.v1.SlowQueryStatistics- (*SlowQueryDetails)(nil), // 60: bytebase.v1.SlowQueryDetails- (*ListSecretsRequest)(nil), // 61: bytebase.v1.ListSecretsRequest- (*ListSecretsResponse)(nil), // 62: bytebase.v1.ListSecretsResponse- (*UpdateSecretRequest)(nil), // 63: bytebase.v1.UpdateSecretRequest- (*DeleteSecretRequest)(nil), // 64: bytebase.v1.DeleteSecretRequest- (*Secret)(nil), // 65: bytebase.v1.Secret- (*AdviseIndexRequest)(nil), // 66: bytebase.v1.AdviseIndexRequest- (*AdviseIndexResponse)(nil), // 67: bytebase.v1.AdviseIndexResponse- (*ChangedResources)(nil), // 68: bytebase.v1.ChangedResources- (*ChangedResourceDatabase)(nil), // 69: bytebase.v1.ChangedResourceDatabase- (*ChangedResourceSchema)(nil), // 70: bytebase.v1.ChangedResourceSchema- (*ChangedResourceTable)(nil), // 71: bytebase.v1.ChangedResourceTable- (*ChangedResourceView)(nil), // 72: bytebase.v1.ChangedResourceView- (*ChangedResourceFunction)(nil), // 73: bytebase.v1.ChangedResourceFunction- (*ChangedResourceProcedure)(nil), // 74: bytebase.v1.ChangedResourceProcedure- (*ListRevisionsRequest)(nil), // 75: bytebase.v1.ListRevisionsRequest- (*ListRevisionsResponse)(nil), // 76: bytebase.v1.ListRevisionsResponse- (*CreateRevisionRequest)(nil), // 77: bytebase.v1.CreateRevisionRequest- (*GetRevisionRequest)(nil), // 78: bytebase.v1.GetRevisionRequest- (*DeleteRevisionRequest)(nil), // 79: bytebase.v1.DeleteRevisionRequest- (*Revision)(nil), // 80: bytebase.v1.Revision- (*ListChangelogsRequest)(nil), // 81: bytebase.v1.ListChangelogsRequest- (*ListChangelogsResponse)(nil), // 82: bytebase.v1.ListChangelogsResponse- (*GetChangelogRequest)(nil), // 83: bytebase.v1.GetChangelogRequest- (*Changelog)(nil), // 84: bytebase.v1.Changelog- nil, // 85: bytebase.v1.Database.LabelsEntry- nil, // 86: bytebase.v1.ColumnConfig.LabelsEntry- (*fieldmaskpb.FieldMask)(nil), // 87: google.protobuf.FieldMask- (State)(0), // 88: bytebase.v1.State- (*timestamppb.Timestamp)(nil), // 89: google.protobuf.Timestamp- (*InstanceResource)(nil), // 90: bytebase.v1.InstanceResource- (*durationpb.Duration)(nil), // 91: google.protobuf.Duration- (*Range)(nil), // 92: bytebase.v1.Range- (*emptypb.Empty)(nil), // 93: google.protobuf.Empty+ (*ColumnConfig)(nil), // 51: bytebase.v1.ColumnConfig+ (*DatabaseSchema)(nil), // 52: bytebase.v1.DatabaseSchema+ (*ListSlowQueriesRequest)(nil), // 53: bytebase.v1.ListSlowQueriesRequest+ (*ListSlowQueriesResponse)(nil), // 54: bytebase.v1.ListSlowQueriesResponse+ (*SlowQueryLog)(nil), // 55: bytebase.v1.SlowQueryLog+ (*SlowQueryStatistics)(nil), // 56: bytebase.v1.SlowQueryStatistics+ (*SlowQueryDetails)(nil), // 57: bytebase.v1.SlowQueryDetails+ (*ListSecretsRequest)(nil), // 58: bytebase.v1.ListSecretsRequest+ (*ListSecretsResponse)(nil), // 59: bytebase.v1.ListSecretsResponse+ (*UpdateSecretRequest)(nil), // 60: bytebase.v1.UpdateSecretRequest+ (*DeleteSecretRequest)(nil), // 61: bytebase.v1.DeleteSecretRequest+ (*Secret)(nil), // 62: bytebase.v1.Secret+ (*AdviseIndexRequest)(nil), // 63: bytebase.v1.AdviseIndexRequest+ (*AdviseIndexResponse)(nil), // 64: bytebase.v1.AdviseIndexResponse+ (*ChangedResources)(nil), // 65: bytebase.v1.ChangedResources+ (*ChangedResourceDatabase)(nil), // 66: bytebase.v1.ChangedResourceDatabase+ (*ChangedResourceSchema)(nil), // 67: bytebase.v1.ChangedResourceSchema+ (*ChangedResourceTable)(nil), // 68: bytebase.v1.ChangedResourceTable+ (*ChangedResourceView)(nil), // 69: bytebase.v1.ChangedResourceView+ (*ChangedResourceFunction)(nil), // 70: bytebase.v1.ChangedResourceFunction+ (*ChangedResourceProcedure)(nil), // 71: bytebase.v1.ChangedResourceProcedure+ (*ListRevisionsRequest)(nil), // 72: bytebase.v1.ListRevisionsRequest+ (*ListRevisionsResponse)(nil), // 73: bytebase.v1.ListRevisionsResponse+ (*CreateRevisionRequest)(nil), // 74: bytebase.v1.CreateRevisionRequest+ (*GetRevisionRequest)(nil), // 75: bytebase.v1.GetRevisionRequest+ (*DeleteRevisionRequest)(nil), // 76: bytebase.v1.DeleteRevisionRequest+ (*Revision)(nil), // 77: bytebase.v1.Revision+ (*ListChangelogsRequest)(nil), // 78: bytebase.v1.ListChangelogsRequest+ (*ListChangelogsResponse)(nil), // 79: bytebase.v1.ListChangelogsResponse+ (*GetChangelogRequest)(nil), // 80: bytebase.v1.GetChangelogRequest+ (*Changelog)(nil), // 81: bytebase.v1.Changelog+ nil, // 82: bytebase.v1.Database.LabelsEntry+ nil, // 83: bytebase.v1.ColumnConfig.LabelsEntry+ (*fieldmaskpb.FieldMask)(nil), // 84: google.protobuf.FieldMask+ (State)(0), // 85: bytebase.v1.State+ (*timestamppb.Timestamp)(nil), // 86: google.protobuf.Timestamp+ (*InstanceResource)(nil), // 87: bytebase.v1.InstanceResource+ (*durationpb.Duration)(nil), // 88: google.protobuf.Duration+ (*Range)(nil), // 89: bytebase.v1.Range+ (*emptypb.Empty)(nil), // 90: google.protobuf.Empty}var file_v1_database_service_proto_depIdxs = []int32{23, // 0: bytebase.v1.ListInstanceDatabasesResponse.databases:type_name -> bytebase.v1.Database23, // 1: bytebase.v1.ListDatabasesResponse.databases:type_name -> bytebase.v1.Database23, // 2: bytebase.v1.UpdateDatabaseRequest.database:type_name -> bytebase.v1.Database- 87, // 3: bytebase.v1.UpdateDatabaseRequest.update_mask:type_name -> google.protobuf.FieldMask+ 84, // 3: bytebase.v1.UpdateDatabaseRequest.update_mask:type_name -> google.protobuf.FieldMask14, // 4: bytebase.v1.BatchUpdateDatabasesRequest.requests:type_name -> bytebase.v1.UpdateDatabaseRequest23, // 5: bytebase.v1.BatchUpdateDatabasesResponse.databases:type_name -> bytebase.v1.Database0, // 6: bytebase.v1.GetDatabaseMetadataRequest.view:type_name -> bytebase.v1.DatabaseMetadataView- 88, // 7: bytebase.v1.Database.sync_state:type_name -> bytebase.v1.State- 89, // 8: bytebase.v1.Database.successful_sync_time:type_name -> google.protobuf.Timestamp- 85, // 9: bytebase.v1.Database.labels:type_name -> bytebase.v1.Database.LabelsEntry- 90, // 10: bytebase.v1.Database.instance_resource:type_name -> bytebase.v1.InstanceResource+ 85, // 7: bytebase.v1.Database.sync_state:type_name -> bytebase.v1.State+ 86, // 8: bytebase.v1.Database.successful_sync_time:type_name -> google.protobuf.Timestamp+ 82, // 9: bytebase.v1.Database.labels:type_name -> bytebase.v1.Database.LabelsEntry+ 87, // 10: bytebase.v1.Database.instance_resource:type_name -> bytebase.v1.InstanceResource25, // 11: bytebase.v1.DatabaseMetadata.schemas:type_name -> bytebase.v1.SchemaMetadata46, // 12: bytebase.v1.DatabaseMetadata.extensions:type_name -> bytebase.v1.ExtensionMetadata49, // 13: bytebase.v1.DatabaseMetadata.schema_configs:type_name -> bytebase.v1.SchemaConfig@@ -8205,95 +7871,88 @@ var file_v1_database_service_proto_depIdxs = []int32{6, // 47: bytebase.v1.StreamMetadata.mode:type_name -> bytebase.v1.StreamMetadata.Mode49, // 48: bytebase.v1.DatabaseConfig.schema_configs:type_name -> bytebase.v1.SchemaConfig50, // 49: bytebase.v1.SchemaConfig.table_configs:type_name -> bytebase.v1.TableConfig- 51, // 50: bytebase.v1.SchemaConfig.function_configs:type_name -> bytebase.v1.FunctionConfig- 52, // 51: bytebase.v1.SchemaConfig.procedure_configs:type_name -> bytebase.v1.ProcedureConfig- 53, // 52: bytebase.v1.SchemaConfig.view_configs:type_name -> bytebase.v1.ViewConfig- 54, // 53: bytebase.v1.TableConfig.column_configs:type_name -> bytebase.v1.ColumnConfig- 89, // 54: bytebase.v1.TableConfig.update_time:type_name -> google.protobuf.Timestamp- 89, // 55: bytebase.v1.FunctionConfig.update_time:type_name -> google.protobuf.Timestamp- 89, // 56: bytebase.v1.ProcedureConfig.update_time:type_name -> google.protobuf.Timestamp- 89, // 57: bytebase.v1.ViewConfig.update_time:type_name -> google.protobuf.Timestamp- 86, // 58: bytebase.v1.ColumnConfig.labels:type_name -> bytebase.v1.ColumnConfig.LabelsEntry- 58, // 59: bytebase.v1.ListSlowQueriesResponse.slow_query_logs:type_name -> bytebase.v1.SlowQueryLog- 59, // 60: bytebase.v1.SlowQueryLog.statistics:type_name -> bytebase.v1.SlowQueryStatistics- 89, // 61: bytebase.v1.SlowQueryStatistics.latest_log_time:type_name -> google.protobuf.Timestamp- 91, // 62: bytebase.v1.SlowQueryStatistics.average_query_time:type_name -> google.protobuf.Duration- 91, // 63: bytebase.v1.SlowQueryStatistics.maximum_query_time:type_name -> google.protobuf.Duration- 60, // 64: bytebase.v1.SlowQueryStatistics.samples:type_name -> bytebase.v1.SlowQueryDetails- 89, // 65: bytebase.v1.SlowQueryDetails.start_time:type_name -> google.protobuf.Timestamp- 91, // 66: bytebase.v1.SlowQueryDetails.query_time:type_name -> google.protobuf.Duration- 91, // 67: bytebase.v1.SlowQueryDetails.lock_time:type_name -> google.protobuf.Duration- 65, // 68: bytebase.v1.ListSecretsResponse.secrets:type_name -> bytebase.v1.Secret- 65, // 69: bytebase.v1.UpdateSecretRequest.secret:type_name -> bytebase.v1.Secret- 87, // 70: bytebase.v1.UpdateSecretRequest.update_mask:type_name -> google.protobuf.FieldMask- 89, // 71: bytebase.v1.Secret.created_time:type_name -> google.protobuf.Timestamp- 89, // 72: bytebase.v1.Secret.updated_time:type_name -> google.protobuf.Timestamp- 69, // 73: bytebase.v1.ChangedResources.databases:type_name -> bytebase.v1.ChangedResourceDatabase- 70, // 74: bytebase.v1.ChangedResourceDatabase.schemas:type_name -> bytebase.v1.ChangedResourceSchema- 71, // 75: bytebase.v1.ChangedResourceSchema.tables:type_name -> bytebase.v1.ChangedResourceTable- 72, // 76: bytebase.v1.ChangedResourceSchema.views:type_name -> bytebase.v1.ChangedResourceView- 73, // 77: bytebase.v1.ChangedResourceSchema.functions:type_name -> bytebase.v1.ChangedResourceFunction- 74, // 78: bytebase.v1.ChangedResourceSchema.procedures:type_name -> bytebase.v1.ChangedResourceProcedure- 92, // 79: bytebase.v1.ChangedResourceTable.ranges:type_name -> bytebase.v1.Range- 92, // 80: bytebase.v1.ChangedResourceView.ranges:type_name -> bytebase.v1.Range- 92, // 81: bytebase.v1.ChangedResourceFunction.ranges:type_name -> bytebase.v1.Range- 92, // 82: bytebase.v1.ChangedResourceProcedure.ranges:type_name -> bytebase.v1.Range- 80, // 83: bytebase.v1.ListRevisionsResponse.revisions:type_name -> bytebase.v1.Revision- 80, // 84: bytebase.v1.CreateRevisionRequest.revision:type_name -> bytebase.v1.Revision- 89, // 85: bytebase.v1.Revision.create_time:type_name -> google.protobuf.Timestamp- 89, // 86: bytebase.v1.Revision.delete_time:type_name -> google.protobuf.Timestamp- 1, // 87: bytebase.v1.ListChangelogsRequest.view:type_name -> bytebase.v1.ChangelogView- 84, // 88: bytebase.v1.ListChangelogsResponse.changelogs:type_name -> bytebase.v1.Changelog- 1, // 89: bytebase.v1.GetChangelogRequest.view:type_name -> bytebase.v1.ChangelogView- 89, // 90: bytebase.v1.Changelog.create_time:type_name -> google.protobuf.Timestamp- 7, // 91: bytebase.v1.Changelog.status:type_name -> bytebase.v1.Changelog.Status- 68, // 92: bytebase.v1.Changelog.changed_resources:type_name -> bytebase.v1.ChangedResources- 8, // 93: bytebase.v1.Changelog.type:type_name -> bytebase.v1.Changelog.Type- 9, // 94: bytebase.v1.DatabaseService.GetDatabase:input_type -> bytebase.v1.GetDatabaseRequest- 10, // 95: bytebase.v1.DatabaseService.ListInstanceDatabases:input_type -> bytebase.v1.ListInstanceDatabasesRequest- 12, // 96: bytebase.v1.DatabaseService.ListDatabases:input_type -> bytebase.v1.ListDatabasesRequest- 14, // 97: bytebase.v1.DatabaseService.UpdateDatabase:input_type -> bytebase.v1.UpdateDatabaseRequest- 15, // 98: bytebase.v1.DatabaseService.BatchUpdateDatabases:input_type -> bytebase.v1.BatchUpdateDatabasesRequest- 17, // 99: bytebase.v1.DatabaseService.SyncDatabase:input_type -> bytebase.v1.SyncDatabaseRequest- 19, // 100: bytebase.v1.DatabaseService.GetDatabaseMetadata:input_type -> bytebase.v1.GetDatabaseMetadataRequest- 20, // 101: bytebase.v1.DatabaseService.GetDatabaseSchema:input_type -> bytebase.v1.GetDatabaseSchemaRequest- 21, // 102: bytebase.v1.DatabaseService.DiffSchema:input_type -> bytebase.v1.DiffSchemaRequest- 56, // 103: bytebase.v1.DatabaseService.ListSlowQueries:input_type -> bytebase.v1.ListSlowQueriesRequest- 61, // 104: bytebase.v1.DatabaseService.ListSecrets:input_type -> bytebase.v1.ListSecretsRequest- 63, // 105: bytebase.v1.DatabaseService.UpdateSecret:input_type -> bytebase.v1.UpdateSecretRequest- 64, // 106: bytebase.v1.DatabaseService.DeleteSecret:input_type -> bytebase.v1.DeleteSecretRequest- 66, // 107: bytebase.v1.DatabaseService.AdviseIndex:input_type -> bytebase.v1.AdviseIndexRequest- 75, // 108: bytebase.v1.DatabaseService.ListRevisions:input_type -> bytebase.v1.ListRevisionsRequest- 78, // 109: bytebase.v1.DatabaseService.GetRevision:input_type -> bytebase.v1.GetRevisionRequest- 77, // 110: bytebase.v1.DatabaseService.CreateRevision:input_type -> bytebase.v1.CreateRevisionRequest- 79, // 111: bytebase.v1.DatabaseService.DeleteRevision:input_type -> bytebase.v1.DeleteRevisionRequest- 81, // 112: bytebase.v1.DatabaseService.ListChangelogs:input_type -> bytebase.v1.ListChangelogsRequest- 83, // 113: bytebase.v1.DatabaseService.GetChangelog:input_type -> bytebase.v1.GetChangelogRequest- 23, // 114: bytebase.v1.DatabaseService.GetDatabase:output_type -> bytebase.v1.Database- 11, // 115: bytebase.v1.DatabaseService.ListInstanceDatabases:output_type -> bytebase.v1.ListInstanceDatabasesResponse- 13, // 116: bytebase.v1.DatabaseService.ListDatabases:output_type -> bytebase.v1.ListDatabasesResponse- 23, // 117: bytebase.v1.DatabaseService.UpdateDatabase:output_type -> bytebase.v1.Database- 16, // 118: bytebase.v1.DatabaseService.BatchUpdateDatabases:output_type -> bytebase.v1.BatchUpdateDatabasesResponse- 18, // 119: bytebase.v1.DatabaseService.SyncDatabase:output_type -> bytebase.v1.SyncDatabaseResponse- 24, // 120: bytebase.v1.DatabaseService.GetDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata- 55, // 121: bytebase.v1.DatabaseService.GetDatabaseSchema:output_type -> bytebase.v1.DatabaseSchema- 22, // 122: bytebase.v1.DatabaseService.DiffSchema:output_type -> bytebase.v1.DiffSchemaResponse- 57, // 123: bytebase.v1.DatabaseService.ListSlowQueries:output_type -> bytebase.v1.ListSlowQueriesResponse- 62, // 124: bytebase.v1.DatabaseService.ListSecrets:output_type -> bytebase.v1.ListSecretsResponse- 65, // 125: bytebase.v1.DatabaseService.UpdateSecret:output_type -> bytebase.v1.Secret- 93, // 126: bytebase.v1.DatabaseService.DeleteSecret:output_type -> google.protobuf.Empty- 67, // 127: bytebase.v1.DatabaseService.AdviseIndex:output_type -> bytebase.v1.AdviseIndexResponse- 76, // 128: bytebase.v1.DatabaseService.ListRevisions:output_type -> bytebase.v1.ListRevisionsResponse- 80, // 129: bytebase.v1.DatabaseService.GetRevision:output_type -> bytebase.v1.Revision- 80, // 130: bytebase.v1.DatabaseService.CreateRevision:output_type -> bytebase.v1.Revision- 93, // 131: bytebase.v1.DatabaseService.DeleteRevision:output_type -> google.protobuf.Empty- 82, // 132: bytebase.v1.DatabaseService.ListChangelogs:output_type -> bytebase.v1.ListChangelogsResponse- 84, // 133: bytebase.v1.DatabaseService.GetChangelog:output_type -> bytebase.v1.Changelog- 114, // [114:134] is the sub-list for method output_type- 94, // [94:114] is the sub-list for method input_type- 94, // [94:94] is the sub-list for extension type_name- 94, // [94:94] is the sub-list for extension extendee- 0, // [0:94] is the sub-list for field type_name+ 51, // 50: bytebase.v1.TableConfig.column_configs:type_name -> bytebase.v1.ColumnConfig+ 83, // 51: bytebase.v1.ColumnConfig.labels:type_name -> bytebase.v1.ColumnConfig.LabelsEntry+ 55, // 52: bytebase.v1.ListSlowQueriesResponse.slow_query_logs:type_name -> bytebase.v1.SlowQueryLog+ 56, // 53: bytebase.v1.SlowQueryLog.statistics:type_name -> bytebase.v1.SlowQueryStatistics+ 86, // 54: bytebase.v1.SlowQueryStatistics.latest_log_time:type_name -> google.protobuf.Timestamp+ 88, // 55: bytebase.v1.SlowQueryStatistics.average_query_time:type_name -> google.protobuf.Duration+ 88, // 56: bytebase.v1.SlowQueryStatistics.maximum_query_time:type_name -> google.protobuf.Duration+ 57, // 57: bytebase.v1.SlowQueryStatistics.samples:type_name -> bytebase.v1.SlowQueryDetails+ 86, // 58: bytebase.v1.SlowQueryDetails.start_time:type_name -> google.protobuf.Timestamp+ 88, // 59: bytebase.v1.SlowQueryDetails.query_time:type_name -> google.protobuf.Duration+ 88, // 60: bytebase.v1.SlowQueryDetails.lock_time:type_name -> google.protobuf.Duration+ 62, // 61: bytebase.v1.ListSecretsResponse.secrets:type_name -> bytebase.v1.Secret+ 62, // 62: bytebase.v1.UpdateSecretRequest.secret:type_name -> bytebase.v1.Secret+ 84, // 63: bytebase.v1.UpdateSecretRequest.update_mask:type_name -> google.protobuf.FieldMask+ 86, // 64: bytebase.v1.Secret.created_time:type_name -> google.protobuf.Timestamp+ 86, // 65: bytebase.v1.Secret.updated_time:type_name -> google.protobuf.Timestamp+ 66, // 66: bytebase.v1.ChangedResources.databases:type_name -> bytebase.v1.ChangedResourceDatabase+ 67, // 67: bytebase.v1.ChangedResourceDatabase.schemas:type_name -> bytebase.v1.ChangedResourceSchema+ 68, // 68: bytebase.v1.ChangedResourceSchema.tables:type_name -> bytebase.v1.ChangedResourceTable+ 69, // 69: bytebase.v1.ChangedResourceSchema.views:type_name -> bytebase.v1.ChangedResourceView+ 70, // 70: bytebase.v1.ChangedResourceSchema.functions:type_name -> bytebase.v1.ChangedResourceFunction+ 71, // 71: bytebase.v1.ChangedResourceSchema.procedures:type_name -> bytebase.v1.ChangedResourceProcedure+ 89, // 72: bytebase.v1.ChangedResourceTable.ranges:type_name -> bytebase.v1.Range+ 89, // 73: bytebase.v1.ChangedResourceView.ranges:type_name -> bytebase.v1.Range+ 89, // 74: bytebase.v1.ChangedResourceFunction.ranges:type_name -> bytebase.v1.Range+ 89, // 75: bytebase.v1.ChangedResourceProcedure.ranges:type_name -> bytebase.v1.Range+ 77, // 76: bytebase.v1.ListRevisionsResponse.revisions:type_name -> bytebase.v1.Revision+ 77, // 77: bytebase.v1.CreateRevisionRequest.revision:type_name -> bytebase.v1.Revision+ 86, // 78: bytebase.v1.Revision.create_time:type_name -> google.protobuf.Timestamp+ 86, // 79: bytebase.v1.Revision.delete_time:type_name -> google.protobuf.Timestamp+ 1, // 80: bytebase.v1.ListChangelogsRequest.view:type_name -> bytebase.v1.ChangelogView+ 81, // 81: bytebase.v1.ListChangelogsResponse.changelogs:type_name -> bytebase.v1.Changelog+ 1, // 82: bytebase.v1.GetChangelogRequest.view:type_name -> bytebase.v1.ChangelogView+ 86, // 83: bytebase.v1.Changelog.create_time:type_name -> google.protobuf.Timestamp+ 7, // 84: bytebase.v1.Changelog.status:type_name -> bytebase.v1.Changelog.Status+ 65, // 85: bytebase.v1.Changelog.changed_resources:type_name -> bytebase.v1.ChangedResources+ 8, // 86: bytebase.v1.Changelog.type:type_name -> bytebase.v1.Changelog.Type+ 9, // 87: bytebase.v1.DatabaseService.GetDatabase:input_type -> bytebase.v1.GetDatabaseRequest+ 10, // 88: bytebase.v1.DatabaseService.ListInstanceDatabases:input_type -> bytebase.v1.ListInstanceDatabasesRequest+ 12, // 89: bytebase.v1.DatabaseService.ListDatabases:input_type -> bytebase.v1.ListDatabasesRequest+ 14, // 90: bytebase.v1.DatabaseService.UpdateDatabase:input_type -> bytebase.v1.UpdateDatabaseRequest+ 15, // 91: bytebase.v1.DatabaseService.BatchUpdateDatabases:input_type -> bytebase.v1.BatchUpdateDatabasesRequest+ 17, // 92: bytebase.v1.DatabaseService.SyncDatabase:input_type -> bytebase.v1.SyncDatabaseRequest+ 19, // 93: bytebase.v1.DatabaseService.GetDatabaseMetadata:input_type -> bytebase.v1.GetDatabaseMetadataRequest+ 20, // 94: bytebase.v1.DatabaseService.GetDatabaseSchema:input_type -> bytebase.v1.GetDatabaseSchemaRequest+ 21, // 95: bytebase.v1.DatabaseService.DiffSchema:input_type -> bytebase.v1.DiffSchemaRequest+ 53, // 96: bytebase.v1.DatabaseService.ListSlowQueries:input_type -> bytebase.v1.ListSlowQueriesRequest+ 58, // 97: bytebase.v1.DatabaseService.ListSecrets:input_type -> bytebase.v1.ListSecretsRequest+ 60, // 98: bytebase.v1.DatabaseService.UpdateSecret:input_type -> bytebase.v1.UpdateSecretRequest+ 61, // 99: bytebase.v1.DatabaseService.DeleteSecret:input_type -> bytebase.v1.DeleteSecretRequest+ 63, // 100: bytebase.v1.DatabaseService.AdviseIndex:input_type -> bytebase.v1.AdviseIndexRequest+ 72, // 101: bytebase.v1.DatabaseService.ListRevisions:input_type -> bytebase.v1.ListRevisionsRequest+ 75, // 102: bytebase.v1.DatabaseService.GetRevision:input_type -> bytebase.v1.GetRevisionRequest+ 74, // 103: bytebase.v1.DatabaseService.CreateRevision:input_type -> bytebase.v1.CreateRevisionRequest+ 76, // 104: bytebase.v1.DatabaseService.DeleteRevision:input_type -> bytebase.v1.DeleteRevisionRequest+ 78, // 105: bytebase.v1.DatabaseService.ListChangelogs:input_type -> bytebase.v1.ListChangelogsRequest+ 80, // 106: bytebase.v1.DatabaseService.GetChangelog:input_type -> bytebase.v1.GetChangelogRequest+ 23, // 107: bytebase.v1.DatabaseService.GetDatabase:output_type -> bytebase.v1.Database+ 11, // 108: bytebase.v1.DatabaseService.ListInstanceDatabases:output_type -> bytebase.v1.ListInstanceDatabasesResponse+ 13, // 109: bytebase.v1.DatabaseService.ListDatabases:output_type -> bytebase.v1.ListDatabasesResponse+ 23, // 110: bytebase.v1.DatabaseService.UpdateDatabase:output_type -> bytebase.v1.Database+ 16, // 111: bytebase.v1.DatabaseService.BatchUpdateDatabases:output_type -> bytebase.v1.BatchUpdateDatabasesResponse+ 18, // 112: bytebase.v1.DatabaseService.SyncDatabase:output_type -> bytebase.v1.SyncDatabaseResponse+ 24, // 113: bytebase.v1.DatabaseService.GetDatabaseMetadata:output_type -> bytebase.v1.DatabaseMetadata+ 52, // 114: bytebase.v1.DatabaseService.GetDatabaseSchema:output_type -> bytebase.v1.DatabaseSchema+ 22, // 115: bytebase.v1.DatabaseService.DiffSchema:output_type -> bytebase.v1.DiffSchemaResponse+ 54, // 116: bytebase.v1.DatabaseService.ListSlowQueries:output_type -> bytebase.v1.ListSlowQueriesResponse+ 59, // 117: bytebase.v1.DatabaseService.ListSecrets:output_type -> bytebase.v1.ListSecretsResponse+ 62, // 118: bytebase.v1.DatabaseService.UpdateSecret:output_type -> bytebase.v1.Secret+ 90, // 119: bytebase.v1.DatabaseService.DeleteSecret:output_type -> google.protobuf.Empty+ 64, // 120: bytebase.v1.DatabaseService.AdviseIndex:output_type -> bytebase.v1.AdviseIndexResponse+ 73, // 121: bytebase.v1.DatabaseService.ListRevisions:output_type -> bytebase.v1.ListRevisionsResponse+ 77, // 122: bytebase.v1.DatabaseService.GetRevision:output_type -> bytebase.v1.Revision+ 77, // 123: bytebase.v1.DatabaseService.CreateRevision:output_type -> bytebase.v1.Revision+ 90, // 124: bytebase.v1.DatabaseService.DeleteRevision:output_type -> google.protobuf.Empty+ 79, // 125: bytebase.v1.DatabaseService.ListChangelogs:output_type -> bytebase.v1.ListChangelogsResponse+ 81, // 126: bytebase.v1.DatabaseService.GetChangelog:output_type -> bytebase.v1.Changelog+ 107, // [107:127] is the sub-list for method output_type+ 87, // [87:107] is the sub-list for method input_type+ 87, // [87:87] is the sub-list for extension type_name+ 87, // [87:87] is the sub-list for extension extendee+ 0, // [0:87] is the sub-list for field type_name}func init() { file_v1_database_service_proto_init() }@@ -8319,7 +7978,7 @@ func file_v1_database_service_proto_init() {GoPackagePath: reflect.TypeOf(x{}).PkgPath(),RawDescriptor: file_v1_database_service_proto_rawDesc,NumEnums: 9,- NumMessages: 78,+ NumMessages: 75,NumExtensions: 0,NumServices: 1,},diff --git a/proto/generated-go/v1/sheet_service.pb.go b/proto/generated-go/v1/sheet_service.pb.goindex f9076edbcc..134fc97fab 100644--- a/proto/generated-go/v1/sheet_service.pb.go+++ b/proto/generated-go/v1/sheet_service.pb.go@@ -464,10 +464,6 @@ func (x *Sheet) GetEngine() Engine {type SheetPayload struct {state protoimpl.MessageState `protogen:"open.v1"`Type SheetPayload_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bytebase.v1.SheetPayload_Type" json:"type,omitempty"`- // The snapshot of the database config when creating the sheet, be used to compare with the baseline_database_config and apply the diff to the database.- DatabaseConfig *DatabaseConfig `protobuf:"bytes,2,opt,name=database_config,json=databaseConfig,proto3" json:"database_config,omitempty"`- // The snapshot of the baseline database config when creating the sheet.- BaselineDatabaseConfig *DatabaseConfig `protobuf:"bytes,3,opt,name=baseline_database_config,json=baselineDatabaseConfig,proto3" json:"baseline_database_config,omitempty"`// The start and end position of each command in the sheet statement.Commands []*SheetCommand `protobuf:"bytes,4,rep,name=commands,proto3" json:"commands,omitempty"`unknownFields protoimpl.UnknownFields@@ -511,20 +507,6 @@ func (x *SheetPayload) GetType() SheetPayload_Type {return SheetPayload_TYPE_UNSPECIFIED}-func (x *SheetPayload) GetDatabaseConfig() *DatabaseConfig {- if x != nil {- return x.DatabaseConfig- }- return nil-}--func (x *SheetPayload) GetBaselineDatabaseConfig() *DatabaseConfig {- if x != nil {- return x.BaselineDatabaseConfig- }- return nil-}-func (x *SheetPayload) GetCommands() []*SheetCommand {if x != nil {return x.Commands@@ -603,139 +585,127 @@ var file_v1_sheet_service_proto_rawDesc = []byte{0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x76, 0x31, 0x2f,0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,0x1a, 0x0f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,- 0x6f, 0x1a, 0x19, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73,- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x12,- 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,- 0x73, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,- 0x28, 0x09, 0x42, 0x1d, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74,- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,- 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x68, 0x65,- 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,+ 0x6f, 0x22, 0x7b, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,+ 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x16,+ 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50,+ 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x2e,+ 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x65, 0x65,+ 0x74, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x22, 0x93,+ 0x01, 0x0a, 0x17, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68,+ 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x70, 0x61,+ 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xe2, 0x41, 0x01, 0x02,+ 0xfa, 0x41, 0x16, 0x0a, 0x14, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f,+ 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,+ 0x74, 0x12, 0x41, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20,+ 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,+ 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71,+ 0x75, 0x65, 0x73, 0x74, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75,+ 0x65, 0x73, 0x74, 0x73, 0x22, 0x46, 0x0a, 0x18, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65,+ 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,+ 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x68, 0x65, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,+ 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,+ 0x68, 0x65, 0x65, 0x74, 0x52, 0x06, 0x73, 0x68, 0x65, 0x65, 0x74, 0x73, 0x22, 0x54, 0x0a, 0x0f,+ 0x47, 0x65, 0x74, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,+ 0x2f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1b, 0xe2,+ 0x41, 0x01, 0x02, 0xfa, 0x41, 0x14, 0x0a, 0x12, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65,+ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,+ 0x12, 0x10, 0x0a, 0x03, 0x72, 0x61, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x72,+ 0x61, 0x77, 0x22, 0x81, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x65,+ 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x68, 0x65,+ 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x65, 0x65, 0x74, 0x42, 0x04, 0xe2, 0x41,- 0x01, 0x02, 0x52, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x22, 0x93, 0x01, 0x0a, 0x17, 0x42, 0x61,- 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x65,- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18,- 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41, 0x16, 0x0a, 0x14,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f,- 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x08,- 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65,- 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42,- 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22,- 0x46, 0x0a, 0x18, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68,- 0x65, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x73,- 0x68, 0x65, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79,- 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52,- 0x06, 0x73, 0x68, 0x65, 0x65, 0x74, 0x73, 0x22, 0x54, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x68,- 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x04, 0x6e, 0x61,- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1b, 0xe2, 0x41, 0x01, 0x02, 0xfa, 0x41,- 0x14, 0x0a, 0x12, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,- 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72,- 0x61, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x72, 0x61, 0x77, 0x22, 0x81, 0x01,- 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71,- 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x18, 0x01, 0x20,- 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x53, 0x68, 0x65, 0x65, 0x74, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x05, 0x73,- 0x68, 0x65, 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, 0x22, 0xd1, 0x03, 0x0a, 0x05, 0x53, 0x68, 0x65, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x04, 0x6e,- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0xe2, 0x41, 0x02, 0x02, 0x05,- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18,- 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x05, 0x74, 0x69, 0x74,- 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20,- 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74,- 0x6f, 0x72, 0x12, 0x41, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,- 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x41, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a, 0x75, 0x70,- 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74,- 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52,- 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74,- 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x42, 0x04,- 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x7a,- 0x65, 0x12, 0x33, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x0d, 0x20, 0x01,- 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x53, 0x68, 0x65, 0x65, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70,- 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x31, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65,- 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x42, 0x04, 0xe2, 0x41, 0x01,- 0x02, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x3a, 0x3a, 0xea, 0x41, 0x37, 0x0a, 0x12,- 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x68, 0x65,- 0x65, 0x74, 0x12, 0x21, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72,- 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x73,- 0x68, 0x65, 0x65, 0x74, 0x7d, 0x22, 0xc7, 0x02, 0x0a, 0x0c, 0x53, 0x68, 0x65, 0x65, 0x74, 0x50,- 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,- 0x76, 0x31, 0x2e, 0x53, 0x68, 0x65, 0x65, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e,- 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x64, 0x61,- 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20,- 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,- 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,- 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,- 0x12, 0x55, 0x0a, 0x18, 0x62, 0x61, 0x73, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x64, 0x61, 0x74,- 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01,- 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,- 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,- 0x16, 0x62, 0x61, 0x73, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,- 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x35, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61,- 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x65, 0x65, 0x74, 0x43, 0x6f, 0x6d,- 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x22, 0x2f,- 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, 0x11, 0x0a, 0x0d,- 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x44, 0x45, 0x53, 0x49, 0x47, 0x4e, 0x10, 0x01, 0x22,- 0x36, 0x0a, 0x0c, 0x53, 0x68, 0x65, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12,- 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,- 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01,- 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x32, 0x83, 0x05, 0x0a, 0x0c, 0x53, 0x68, 0x65, 0x65,- 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x98, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65,- 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x65,- 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65,- 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x65, 0x65, 0x74, 0x22, 0x54, 0xda,- 0x41, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x73, 0x68, 0x65, 0x65, 0x74, 0x8a, 0xea,- 0x30, 0x10, 0x62, 0x62, 0x2e, 0x73, 0x68, 0x65, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61,- 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x3a, 0x05, 0x73, 0x68,- 0x65, 0x65, 0x74, 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,- 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x68, 0x65,- 0x65, 0x74, 0x73, 0x12, 0xae, 0x01, 0x0a, 0x10, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65,- 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74, 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61,- 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25,- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74,- 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x65, 0x73,- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x73, 0x68,- 0x65, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82,- 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x3a, 0x01, 0x2a, 0x22, 0x2a, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70,- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,- 0x7d, 0x2f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72,- 0x65, 0x61, 0x74, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x53, 0x68, 0x65, 0x65,- 0x74, 0x12, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,- 0x47, 0x65, 0x74, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,- 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68,- 0x65, 0x65, 0x74, 0x22, 0x42, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x0d,- 0x62, 0x62, 0x2e, 0x73, 0x68, 0x65, 0x65, 0x74, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30,- 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61,- 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x68,- 0x65, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa3, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61,- 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74, 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,- 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65,- 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,- 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x65, 0x65, 0x74, 0x22, 0x5f, 0xda, 0x41,- 0x11, 0x73, 0x68, 0x65, 0x65, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61,- 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x73, 0x68, 0x65, 0x65, 0x74, 0x73, 0x2e,- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d,- 0x3a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x32, 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x68,- 0x65, 0x65, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,- 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x68, 0x65, 0x65, 0x74, 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,+ 0x01, 0x02, 0x52, 0x05, 0x73, 0x68, 0x65, 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, 0x22, 0xd1, 0x03, 0x0a, 0x05, 0x53, 0x68, 0x65, 0x65, 0x74,+ 0x12, 0x19, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x05,+ 0xe2, 0x41, 0x02, 0x02, 0x05, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x05, 0x74,+ 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02,+ 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74,+ 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x07,+ 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x41, 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, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0a,+ 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x41, 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, 0x42, 0x04, 0xe2, 0x41, 0x01,+ 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a,+ 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x04,+ 0xe2, 0x41, 0x01, 0x02, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a,+ 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20,+ 0x01, 0x28, 0x03, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65,+ 0x6e, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61,+ 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x65, 0x65, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f,+ 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x31, 0x0a, 0x06, 0x65,+ 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x62, 0x79,+ 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65,+ 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x3a, 0x3a,+ 0xea, 0x41, 0x37, 0x0a, 0x12, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f,+ 0x6d, 0x2f, 0x53, 0x68, 0x65, 0x65, 0x74, 0x12, 0x21, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x73, 0x68, 0x65, 0x65,+ 0x74, 0x73, 0x2f, 0x7b, 0x73, 0x68, 0x65, 0x65, 0x74, 0x7d, 0x22, 0xaa, 0x01, 0x0a, 0x0c, 0x53,+ 0x68, 0x65, 0x65, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x32, 0x0a, 0x04, 0x74,+ 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x65, 0x65, 0x74, 0x50, 0x61, 0x79,+ 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,+ 0x35, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,+ 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x53, 0x68, 0x65, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x08, 0x63, 0x6f,+ 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x22, 0x2f, 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, 0x11, 0x0a, 0x0d, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x44,+ 0x45, 0x53, 0x49, 0x47, 0x4e, 0x10, 0x01, 0x22, 0x36, 0x0a, 0x0c, 0x53, 0x68, 0x65, 0x65, 0x74,+ 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74,+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a,+ 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x32,+ 0x83, 0x05, 0x0a, 0x0c, 0x53, 0x68, 0x65, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,+ 0x12, 0x98, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74,+ 0x12, 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,+ 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e,+ 0x53, 0x68, 0x65, 0x65, 0x74, 0x22, 0x54, 0xda, 0x41, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,+ 0x2c, 0x73, 0x68, 0x65, 0x65, 0x74, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x73, 0x68, 0x65,+ 0x65, 0x74, 0x73, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3,+ 0xe4, 0x93, 0x02, 0x27, 0x3a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x22, 0x1e, 0x2f, 0x76, 0x31,+ 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,+ 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x73, 0x12, 0xae, 0x01, 0x0a, 0x10,+ 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74,+ 0x12, 0x24, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42,+ 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52,+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,+ 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0x8a,+ 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x73, 0x68, 0x65, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x72, 0x65,+ 0x61, 0x74, 0x65, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x3a, 0x01, 0x2a,+ 0x22, 0x2a, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,+ 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x73,+ 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x80, 0x01, 0x0a,+ 0x08, 0x47, 0x65, 0x74, 0x53, 0x68, 0x65, 0x65, 0x74, 0x12, 0x1c, 0x2e, 0x62, 0x79, 0x74, 0x65,+ 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x68, 0x65, 0x65, 0x74,+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61,+ 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x65, 0x65, 0x74, 0x22, 0x42, 0xda, 0x41, 0x04,+ 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x0d, 0x62, 0x62, 0x2e, 0x73, 0x68, 0x65, 0x65, 0x74,+ 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12,+ 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,+ 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x68, 0x65, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12,+ 0xa3, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74, 0x12,+ 0x1f, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70,+ 0x64, 0x61, 0x74, 0x65, 0x53, 0x68, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,+ 0x1a, 0x12, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,+ 0x68, 0x65, 0x65, 0x74, 0x22, 0x5f, 0xda, 0x41, 0x11, 0x73, 0x68, 0x65, 0x65, 0x74, 0x2c, 0x75,+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62,+ 0x2e, 0x73, 0x68, 0x65, 0x65, 0x74, 0x73, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x90, 0xea,+ 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x3a, 0x05, 0x73, 0x68, 0x65, 0x65, 0x74, 0x32,+ 0x24, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x68, 0x65, 0x65, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65,+ 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x68, 0x65, 0x65,+ 0x74, 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 (@@ -765,7 +735,6 @@ var file_v1_sheet_service_proto_goTypes = []any{(*fieldmaskpb.FieldMask)(nil), // 9: google.protobuf.FieldMask(*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp(Engine)(0), // 11: bytebase.v1.Engine- (*DatabaseConfig)(nil), // 12: bytebase.v1.DatabaseConfig}var file_v1_sheet_service_proto_depIdxs = []int32{6, // 0: bytebase.v1.CreateSheetRequest.sheet:type_name -> bytebase.v1.Sheet@@ -778,22 +747,20 @@ var file_v1_sheet_service_proto_depIdxs = []int32{7, // 7: bytebase.v1.Sheet.payload:type_name -> bytebase.v1.SheetPayload11, // 8: bytebase.v1.Sheet.engine:type_name -> bytebase.v1.Engine0, // 9: bytebase.v1.SheetPayload.type:type_name -> bytebase.v1.SheetPayload.Type- 12, // 10: bytebase.v1.SheetPayload.database_config:type_name -> bytebase.v1.DatabaseConfig- 12, // 11: bytebase.v1.SheetPayload.baseline_database_config:type_name -> bytebase.v1.DatabaseConfig- 8, // 12: bytebase.v1.SheetPayload.commands:type_name -> bytebase.v1.SheetCommand- 1, // 13: bytebase.v1.SheetService.CreateSheet:input_type -> bytebase.v1.CreateSheetRequest- 2, // 14: bytebase.v1.SheetService.BatchCreateSheet:input_type -> bytebase.v1.BatchCreateSheetRequest- 4, // 15: bytebase.v1.SheetService.GetSheet:input_type -> bytebase.v1.GetSheetRequest- 5, // 16: bytebase.v1.SheetService.UpdateSheet:input_type -> bytebase.v1.UpdateSheetRequest- 6, // 17: bytebase.v1.SheetService.CreateSheet:output_type -> bytebase.v1.Sheet- 3, // 18: bytebase.v1.SheetService.BatchCreateSheet:output_type -> bytebase.v1.BatchCreateSheetResponse- 6, // 19: bytebase.v1.SheetService.GetSheet:output_type -> bytebase.v1.Sheet- 6, // 20: bytebase.v1.SheetService.UpdateSheet:output_type -> bytebase.v1.Sheet- 17, // [17:21] is the sub-list for method output_type- 13, // [13:17] is the sub-list for method input_type- 13, // [13:13] is the sub-list for extension type_name- 13, // [13:13] is the sub-list for extension extendee- 0, // [0:13] is the sub-list for field type_name+ 8, // 10: bytebase.v1.SheetPayload.commands:type_name -> bytebase.v1.SheetCommand+ 1, // 11: bytebase.v1.SheetService.CreateSheet:input_type -> bytebase.v1.CreateSheetRequest+ 2, // 12: bytebase.v1.SheetService.BatchCreateSheet:input_type -> bytebase.v1.BatchCreateSheetRequest+ 4, // 13: bytebase.v1.SheetService.GetSheet:input_type -> bytebase.v1.GetSheetRequest+ 5, // 14: bytebase.v1.SheetService.UpdateSheet:input_type -> bytebase.v1.UpdateSheetRequest+ 6, // 15: bytebase.v1.SheetService.CreateSheet:output_type -> bytebase.v1.Sheet+ 3, // 16: bytebase.v1.SheetService.BatchCreateSheet:output_type -> bytebase.v1.BatchCreateSheetResponse+ 6, // 17: bytebase.v1.SheetService.GetSheet:output_type -> bytebase.v1.Sheet+ 6, // 18: bytebase.v1.SheetService.UpdateSheet:output_type -> bytebase.v1.Sheet+ 15, // [15:19] is the sub-list for method output_type+ 11, // [11:15] is the sub-list for method input_type+ 11, // [11:11] is the sub-list for extension type_name+ 11, // [11:11] is the sub-list for extension extendee+ 0, // [0:11] is the sub-list for field type_name}func init() { file_v1_sheet_service_proto_init() }@@ -803,7 +770,6 @@ func file_v1_sheet_service_proto_init() {}file_v1_annotation_proto_init()file_v1_common_proto_init()- file_v1_database_service_proto_init()type x struct{}out := protoimpl.TypeBuilder{File: protoimpl.DescBuilder{diff --git a/proto/store/database.proto b/proto/store/database.protoindex 8b94f44061..64bd44b583 100644--- a/proto/store/database.proto+++ b/proto/store/database.proto@@ -2,7 +2,6 @@ syntax = "proto3";package bytebase.store;-import "google/api/field_behavior.proto";import "google/protobuf/timestamp.proto";import "google/protobuf/wrappers.proto";import "store/common.proto";@@ -717,12 +716,6 @@ message SchemaCatalog {// The table_configs is the list of configs for tables in a schema.repeated TableCatalog tables = 2;-- repeated FunctionConfig function_configs = 3;-- repeated ProcedureConfig procedure_configs = 4;-- repeated ViewConfig view_configs = 5;}message TableCatalog {@@ -735,17 +728,6 @@ message TableCatalog {optional ObjectSchema object_schema = 7;string classification = 3;-- // The last updater of the table in branch.- // Format: users/{userUID}.- string updater = 4 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- string source_branch = 6 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The timestamp when the table is updated in branch.- google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];}message ColumnCatalog {@@ -793,51 +775,3 @@ message ObjectSchema {string semantic_type = 4;}--message FunctionConfig {- // The name is the name of a function.- string name = 1;-- // The last updater of the function in branch.- // Format: users/{userUID}.- string updater = 2 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- string source_branch = 4 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The timestamp when the function is updated in branch.- google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];-}--message ProcedureConfig {- // The name is the name of a procedure.- string name = 1;-- // The last updater of the procedure in branch.- // Format: users/{userUID}.- string updater = 2 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- string source_branch = 4 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The timestamp when the procedure is updated in branch.- google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];-}--message ViewConfig {- // The name is the name of a view.- string name = 1;-- // The last updater of the view in branch.- // Format: users/{userUID}.- string updater = 2 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- string source_branch = 4 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The timestamp when the view is updated in branch.- google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];-}diff --git a/proto/store/plan.proto b/proto/store/plan.protoindex 14a7a456c0..7921d9b6b3 100644--- a/proto/store/plan.proto+++ b/proto/store/plan.proto@@ -94,8 +94,6 @@ message PlanConfig {MIGRATE_SDL = 3;// Used for DDL changes using gh-ost.MIGRATE_GHOST = 4;- // Used when restoring from a backup (the restored database branched from the original backup).- BRANCH = 5;// Used for DML change.DATA = 6;}diff --git a/proto/store/sheet.proto b/proto/store/sheet.protoindex 3232b02f61..26cfe84720 100644--- a/proto/store/sheet.proto+++ b/proto/store/sheet.proto@@ -3,17 +3,10 @@ syntax = "proto3";package bytebase.store;import "store/common.proto";-import "store/database.proto";option go_package = "generated-go/store";message SheetPayload {- // The snapshot of the database config when creating the sheet, be used to compare with the baseline_database_config and apply the diff to the database.- DatabaseConfig database_config = 1;-- // The snapshot of the baseline database config when creating the sheet.- DatabaseConfig baseline_database_config = 2;-// The SQL dialect.Engine engine = 3;diff --git a/proto/v1/database_service.proto b/proto/v1/database_service.protoindex 4af24788d6..cfe770c52d 100644--- a/proto/v1/database_service.proto+++ b/proto/v1/database_service.proto@@ -1083,12 +1083,6 @@ message SchemaConfig {// The table_configs is the list of configs for tables in a schema.repeated TableConfig table_configs = 2;-- repeated FunctionConfig function_configs = 3;-- repeated ProcedureConfig procedure_configs = 4;-- repeated ViewConfig view_configs = 5;}message TableConfig {@@ -1099,65 +1093,6 @@ message TableConfig {repeated ColumnConfig column_configs = 2;string classification_id = 3;-- // The last updater of the table in branch.- // Format: users/{email}- string updater = 4 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- string source_branch = 6 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The timestamp when the table is updated in branch.- google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];-}--message FunctionConfig {- // The name is the name of a function.- string name = 1;-- // The last updater of the function in branch.- // Format: users/{email}- string updater = 2 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- string source_branch = 4 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The timestamp when the function is updated in branch.- google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];-}--message ProcedureConfig {- // The name is the name of a procedure.- string name = 1;-- // The last updater of the procedure in branch.- // Format: users/{email}- string updater = 2 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- string source_branch = 4 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The timestamp when the procedure is updated in branch.- google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];-}--message ViewConfig {- // The name is the name of a view.- string name = 1;-- // The last updater of the view in branch.- // Format: users/{email}- string updater = 2 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The last change come from branch.- // Format: projcets/{project}/branches/{branch}- string source_branch = 4 [(google.api.field_behavior) = OUTPUT_ONLY];-- // The timestamp when the view is updated in branch.- google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];}message ColumnConfig {diff --git a/proto/v1/sheet_service.proto b/proto/v1/sheet_service.protoindex b1973c2b0d..b1428fc0e1 100644--- a/proto/v1/sheet_service.proto+++ b/proto/v1/sheet_service.proto@@ -10,7 +10,6 @@ import "google/protobuf/field_mask.proto";import "google/protobuf/timestamp.proto";import "v1/annotation.proto";import "v1/common.proto";-import "v1/database_service.proto";option go_package = "generated-go/v1";@@ -156,12 +155,6 @@ message SheetPayload {}Type type = 1;- // The snapshot of the database config when creating the sheet, be used to compare with the baseline_database_config and apply the diff to the database.- DatabaseConfig database_config = 2;-- // The snapshot of the baseline database config when creating the sheet.- DatabaseConfig baseline_database_config = 3;-// The start and end position of each command in the sheet statement.repeated SheetCommand commands = 4;}